diff --git a/certified-connectors/DocuSign/apiDefinition.swagger.json b/certified-connectors/DocuSign/apiDefinition.swagger.json index 50037d3b5..bb88387d3 100644 --- a/certified-connectors/DocuSign/apiDefinition.swagger.json +++ b/certified-connectors/DocuSign/apiDefinition.swagger.json @@ -2,12 +2,12 @@ "swagger": "2.0", "info": { "version": "1.0", - "title": "DocuSign", + "title": "Docusign", "x-ms-keywords": [ - "DocuSign", - "DocuSigns", - "Docu Sign", - "Docu Signs", + "Docusign", + "Docusigns", + "Docu sign", + "Docu signs", "Document", "Documents", "Doc", @@ -48,7 +48,7 @@ "eNotary", "eNotaries" ], - "description": "DocuSign helps organizations connect and automate how they prepare, sign, act on, and manage agreements.", + "description": "Docusign enables organizations to create, commit to and manage their agreements across the entire agreement lifecycle. Customers can accelerate revenue, reduce risk and unlock value from the agreements that run their business.", "x-ms-deployment-version": "1.0.0", "x-ms-api-annotation": { "status": "Production" @@ -666,7 +666,7 @@ "/accounts/{accountId}/envelopes/{envelopeId}/resendEnvelope": { "put": { "summary": "Resend the envelope", - "description": "Resend the envelope.", + "description": "This action resends a Docusign envelope or sends a reminder to recipients who need to sign a Docusign agreement based on a provided EnvelopeId.", "operationId": "ResendEnvelope", "x-ms-no-generic-test": true, "consumes": [ @@ -706,16 +706,6 @@ "x-ms-summary": "Envelope", "x-ms-test-value": "insert envelope id", "type": "string" - }, - { - "name": "resendEnvelope", - "in": "query", - "description": "Envelope is resent when set to true", - "required": true, - "x-ms-summary": "Resend Envelope", - "x-ms-test-value": false, - "type": "boolean", - "default": false } ], "responses": { @@ -726,6 +716,9 @@ } } }, + "x-ms-openai-data": { + "openai-enabled": true + }, "deprecated": false, "x-ms-visibility": "important" } @@ -1210,8 +1203,8 @@ "tags": [ "DocuSign" ], - "summary": "Sales Copilot: Get related activities", - "description": "Sales Copilot: Get related activities.", + "summary": "Copilot: Get related activities", + "description": "Returns the related activities of the of the CRM sales entities.", "operationId": "scp-get-related-activities", "x-ms-no-generic-test": true, "consumes": [ @@ -1320,10 +1313,7 @@ "$ref": "#/definitions/ApiError" } } - }, - "x-ms-openai-data": { - "openai-enabled": false - } + } } }, "/accounts/salesCopilotAccount/envelopes/getRelatedRecords": { @@ -1331,8 +1321,8 @@ "tags": [ "DocuSign" ], - "summary": "Sales Copilot: Get related records", - "description": "Sales Copilot: Get related records.", + "summary": "Copilot: Get related records", + "description": "Returns the related records of the of the CRM sales entities.", "operationId": "scp-get-related-records", "x-ms-no-generic-test": true, "consumes": [ @@ -1439,10 +1429,7 @@ "$ref": "#/definitions/ApiError" } } - }, - "x-ms-openai-data": { - "openai-enabled": false - } + } } }, "/accounts/copilotAccount/envelopes/listEnvelopes": { @@ -1450,8 +1437,8 @@ "tags": [ "DocuSign" ], - "summary": "List Envelopes", - "description": "This action brings back relevant envelopes based on envelope status, date range, recipient name, recipient email address, envelope title, document name, or envelope custom field value.", + "summary": "Copilot: List envelopes", + "description": "This action brings back relevant Docusign envelopes based on envelope status, date range, recipient name, recipient email address, envelope title, document name, or envelope custom field value. The output is the title, description, Envelope ID, document names, sender names, envelope status, status date, date sent, and a URL of the envelope which can be used as a link to view the envelope in Docusign.", "operationId": "ListEnvelopes", "x-ms-no-generic-test": true, "consumes": [ diff --git a/certified-connectors/DocuSign/script.csx b/certified-connectors/DocuSign/script.csx index 93873abd1..ceefcd6da 100644 --- a/certified-connectors/DocuSign/script.csx +++ b/certified-connectors/DocuSign/script.csx @@ -1231,12 +1231,8 @@ public class Script : ScriptBase var uriBuilder = new UriBuilder(this.Context.Request.RequestUri); uriBuilder.Path = uriBuilder.Path.Replace("/resendEnvelope", ""); - if (query.Get("resendEnvelope").ToString().Equals("true")) - { - query["resend_envelope"] = "true"; - uriBuilder.Query = query.ToString(); - } - + query["resend_envelope"] = "true"; + uriBuilder.Query = query.ToString(); this.Context.Request.RequestUri = uriBuilder.Uri; return body; } diff --git a/certified-connectors/DocuSignDemo/apiDefinition.swagger.json b/certified-connectors/DocuSignDemo/apiDefinition.swagger.json index 8fa204c80..e96bd3878 100644 --- a/certified-connectors/DocuSignDemo/apiDefinition.swagger.json +++ b/certified-connectors/DocuSignDemo/apiDefinition.swagger.json @@ -2,13 +2,13 @@ "swagger": "2.0", "info": { "version": "1.0", - "title": "DocuSign Demo", + "title": "Docusign Demo", "x-ms-keywords": [ - "DocuSign Demo", - "DocuSign", - "DocuSigns", - "Docu Sign", - "Docu Signs", + "Docusign Demo", + "Docusign", + "Docusigns", + "Docu sign", + "Docu signs", "Document", "Documents", "Doc", @@ -49,7 +49,7 @@ "eNotary", "eNotaries" ], - "description": "DocuSign helps organizations connect and automate how they prepare, sign, act on, and manage agreements. The DocuSign Demo connector connects only to DocuSign Demo environments but offers the same functionality as the regular DocuSign connector. Any documents in a DocuSign Demo environment are not legally binding. For all non-demo uses, use the regular DocuSign connector.", + "description": "Docusign enables organizations to create, commit to and manage their agreements across the entire agreement lifecycle. Customers can accelerate revenue, reduce risk and unlock value from the agreements that run their business. The Docusign Demo connector connects only to Docusign demo environments but offers the same functionality as the production DocuSign connector. Any agreements in a Docusign demo environment are not legally binding. For all non-demo uses, use the production Docusign connector.", "x-ms-deployment-version": "1.0.0", "x-ms-api-annotation": { "status": "Preview" @@ -667,7 +667,7 @@ "/accounts/{accountId}/envelopes/{envelopeId}/resendEnvelope": { "put": { "summary": "Resend the envelope", - "description": "Resend the envelope.", + "description": "This action resends a Docusign envelope or sends a reminder to recipients who need to sign a Docusign agreement based on a provided EnvelopeId.", "operationId": "ResendEnvelope", "x-ms-no-generic-test": true, "consumes": [ @@ -707,16 +707,6 @@ "x-ms-summary": "Envelope", "x-ms-test-value": "insert envelope id", "type": "string" - }, - { - "name": "resendEnvelope", - "in": "query", - "description": "Envelope is resent when set to true", - "required": true, - "x-ms-summary": "Resend Envelope", - "x-ms-test-value": false, - "type": "boolean", - "default": false } ], "responses": { @@ -727,6 +717,9 @@ } } }, + "x-ms-openai-data": { + "openai-enabled": true + }, "deprecated": false, "x-ms-visibility": "important" } @@ -1211,8 +1204,8 @@ "tags": [ "DocuSign" ], - "summary": "Sales Copilot: Get related activities", - "description": "Sales Copilot: Get related activities.", + "summary": "Copilot: Get related activities", + "description": "Returns the related activities of the of the CRM sales entities.", "operationId": "scp-get-related-activities", "x-ms-no-generic-test": true, "consumes": [ @@ -1321,10 +1314,7 @@ "$ref": "#/definitions/ApiError" } } - }, - "x-ms-openai-data": { - "openai-enabled": false - } + } } }, "/accounts/salesCopilotAccount/envelopes/getRelatedRecords": { @@ -1332,8 +1322,8 @@ "tags": [ "DocuSign" ], - "summary": "Sales Copilot: Get related records", - "description": "Sales Copilot: Get related records.", + "summary": "Copilot: Get related records", + "description": "Returns the related records of the of the CRM sales entities.", "operationId": "scp-get-related-records", "x-ms-no-generic-test": true, "consumes": [ @@ -1440,10 +1430,7 @@ "$ref": "#/definitions/ApiError" } } - }, - "x-ms-openai-data": { - "openai-enabled": false - } + } } }, "/accounts/copilotAccount/envelopes/listEnvelopes": { @@ -1451,8 +1438,8 @@ "tags": [ "DocuSign" ], - "summary": "List Envelopes", - "description": "This action brings back relevant envelopes based on envelope status, date range, recipient name, recipient email address, envelope title, document name, or envelope custom field value.", + "summary": "Copilot: List envelopes", + "description": "This action brings back relevant Docusign envelopes based on envelope status, date range, recipient name, recipient email address, envelope title, document name, or envelope custom field value. The output is the title, description, Envelope ID, document names, sender names, envelope status, status date, date sent, and a URL of the envelope which can be used as a link to view the envelope in Docusign.", "operationId": "ListEnvelopes", "x-ms-no-generic-test": true, "consumes": [ diff --git a/certified-connectors/DocuSignDemo/script.csx b/certified-connectors/DocuSignDemo/script.csx index a3643e69a..c04f09f1b 100644 --- a/certified-connectors/DocuSignDemo/script.csx +++ b/certified-connectors/DocuSignDemo/script.csx @@ -1231,12 +1231,8 @@ public class Script : ScriptBase var uriBuilder = new UriBuilder(this.Context.Request.RequestUri); uriBuilder.Path = uriBuilder.Path.Replace("/resendEnvelope", ""); - if (query.Get("resendEnvelope").ToString().Equals("true")) - { - query["resend_envelope"] = "true"; - uriBuilder.Query = query.ToString(); - } - + query["resend_envelope"] = "true"; + uriBuilder.Query = query.ToString(); this.Context.Request.RequestUri = uriBuilder.Uri; return body; }