Skip to content

Commit

Permalink
MSFlow.DS1004.Feb2024 (#3253)
Browse files Browse the repository at this point in the history
* able to output 1 tab

* FLOW-348: List Templates Action for Power Automate
Expose it , so that Microsoft's maker / c2 experience can leverage.

* Fix the meal db connector issue

* no message

* Working code generating output. The body data needs to be added

* Document details are returned

* FLOW-377: c2: Sender/Signer can create an envelope from a template using a variable for the template ID

* Add validation message

* Rewrite request url for /envelopes/createFromTemplateNoRecipients endpoint

* Operation Id updated

* Add the shortform to create array of objects

* Get template documents action added

* Updated the description

* Removed the x-ms-visibility property

* fixed the indendation

* FLOW-374: c2 get document tabs from envelope

* Update the schema for Tab with additional properties

* Recipient tabs test case added

* Add validation statement

* Removing the duplicate code

* UI fix

* Get template document tabs added

* ListEnvelopeDocumentFields custom action added

* Update UI

* FLOW-365: c2: update envelope prefill tabs

* Rename field identifier to match the internal names

* Fix description grammar

* Add a field to indicate whether a tab is prefill or not for the get action

* UI added

* FLOW-346: DocGen - Get merge fields

* UpdateRecipientTabs added

* Removed StaticResponse

* REmoved StaticResponseForTabTypesWithValues

* Remove the ms-visibility

* FLOW-347: DocGen: Update merge fields

* Add a check if the email token exists in the signer objects

* Optimize the if statement

* Bump the build number for C2/R2 release

* Add back the removed Meal DB/Readme.md file

* FLOW-392: Get document id action should return both id and guid

* Expose template id in the output of create envelope using template actions

* Add GetEnvelopeDocumentFields custom method

* Added delivery phone and SMS phone options

* formating the code

* convert template input to a template dropdown

* Rename actions to make it more readable for the user

* Update doc gen action name

* identiti verification added

* Trim method updated to regex

* Add code to support get documents download variations.

* Update the default value of the document id

* remove the default value

* Removed map from the document download implementation

* Update the title of the action

* Fixed a bug related to certificate

* Add support to DocumentId

* UI added

* Updated the text and rearranged the Signature type position

* Add signatureType implementation

* modularize the signatureType block

* Optimized code

* REmoved enum

* recipient events are added to V3 connect

* Fix SMS issue

* Add tooltip

* Fixing DS EU Qualified signature type

* Added support to checkbox and radio button

* Checkbox and radio button code added to trigger

* Enable COC added on selecting Combined option

* rename the sataticSchema definition

* String replace fixed

* Add checkbox and radio button to the tabs output

* zip header added

* Removed statis response for certificate

* Removed Log Information

* Sales copilot custom actions are added

* Update title with lower case

* CRMOrgUrl issue fixed. Displaying records in the descending order. recordId filtering fixed

* recordId and OrgURL is fixed. Descending order of the activities implemented

* renamed activities and documentsRecords to follow camelcase naming pattern

* Recipient names as array. Status to TitleCase. DocumentNLP formatting

* DocumentNaturalLanguage reformatted

* Fix swagger errors. Remove envelope Id from the description

* Update DocumentId to Output Format

* Additional properties fixed. DateTime formatted

* Add reminders code added

* remove ms-test-value

* Add response

* corrected the spelling error

* Lock functionality added

* Removed the text tab lock and added lock to all the tabs

* Add optional property for the tab

* Added recipient Type to the output of the get recipient info

* Modify the default date to older date

* Saleforce support is added to copilot

* Add the error handling

* Increment build number

* Flow-512-b

* Embedded recipient type feature added

* Remove remote option

* convert to string

* string conversion implemented

* label name updated

* remove the AddParam method

* Add entityLogicName

* migrating DocuSign demo connector code to DocuSign connector

* Update swagger file metadata

---------

Co-authored-by: Srihari Padmanabhan <[email protected]>
Co-authored-by: Srihari Padmanabhan <[email protected]>
  • Loading branch information
3 people authored Feb 22, 2024
1 parent b7a04e8 commit 3bdb5e3
Show file tree
Hide file tree
Showing 2 changed files with 458 additions and 26 deletions.
257 changes: 253 additions & 4 deletions certified-connectors/DocuSign/apiDefinition.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@
},
"/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}": {
"get": {
"summary": "Get documents from envelope",
"summary": "DEPRECATED: Get documents from envelope",
"description": "Get documents from envelope",
"operationId": "GetDocuments",
"parameters": [
Expand Down Expand Up @@ -494,6 +494,136 @@
"x-ms-visibility": "advanced"
}
},
"/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/documentsDownload": {
"get": {
"summary": "Get documents from an envelope",
"description": "Get documents from an envelope",
"operationId": "GetDocumentsV2",
"parameters": [
{
"name": "accountId",
"in": "path",
"description": "Account id",
"required": true,
"x-ms-summary": "Account",
"x-ms-test-value": "insert account id",
"x-ms-dynamic-values": {
"operationId": "GetLoginAccounts",
"value-collection": "loginAccounts",
"value-path": "accountIdGuid",
"value-title": "name"
},
"type": "string"
},
{
"name": "envelopeId",
"in": "path",
"description": "Envelope id",
"required": true,
"x-ms-summary": "Envelope",
"x-ms-test-value": "insert envelope id",
"type": "string"
},
{
"name": "documentId",
"in": "path",
"description": "Provide specific document Id or use an output format from the dropdown",
"x-ms-summary": "Output format",
"required": true,
"x-ms-test-value": "insert document id",
"type": "string",
"enum": [
"Archive : Get ZIP archive with documents and COC",
"Certificate : Get only certificate of completion as pdf",
"Combined with COC : Get all documents as single pdf",
"Combined without COC : Get all documents as single pdf",
"Portfolio : Get envelope documents as a PDF Portfolio"
]
}
],
"responses": {
"200": {
"description": "default",
"schema": {
"$ref": "#/definitions/GetDocumentsResponse"
}
}
},
"deprecated": false,
"x-ms-visibility": "advanced"
}
},
"/accounts/{accountId}/envelopes/{envelopeId}/notification": {
"put": {
"summary": "Add reminders for an envelope",
"description": "Add reminders for an envelope",
"operationId": "AddReminders",
"parameters": [
{
"name": "accountId",
"in": "path",
"description": "Account id",
"required": true,
"x-ms-summary": "Account",
"x-ms-test-value": "insert account id",
"x-ms-dynamic-values": {
"operationId": "GetLoginAccounts",
"value-collection": "loginAccounts",
"value-path": "accountIdGuid",
"value-title": "name"
},
"type": "string"
},
{
"name": "envelopeId",
"in": "path",
"description": "Envelope id",
"required": true,
"x-ms-summary": "Envelope",
"x-ms-test-value": "insert envelope id",
"type": "string"
},
{
"name": "reminderEnabled",
"in": "query",
"description": "When set to false the reminders are disabled. Default is false",
"required": true,
"x-ms-summary": "Reminder Enabled",
"x-ms-test-value": false,
"type": "boolean",
"default": false
},
{
"name": "reminderDelay",
"in": "query",
"description": "Add number of days after which recipient receives reminder email.",
"required": true,
"x-ms-summary": "Reminder Delay",
"type": "string",
"default": "0"
},
{
"name": "reminderFrequency",
"in": "query",
"description": "Add number of days between reminder emails.",
"required": true,
"x-ms-summary": "Reminder Frequency",
"type": "string",
"default": "0"
}
],
"responses": {
"200": {
"description": "default",
"schema": {
"$ref": "#/definitions/AddRemindersResponse"
}
}
},
"deprecated": false,
"x-ms-visibility": "advanced"
}
},
"/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs": {
"get": {
"summary": "Get document tabs from envelope",
Expand Down Expand Up @@ -973,7 +1103,8 @@
"description": "CRM type",
"in": "query",
"enum": [
"Dynamics365"
"Dynamics365",
"Salesforce"
],
"type": "string"
},
Expand Down Expand Up @@ -1085,7 +1216,8 @@
"description": "CRM type",
"in": "query",
"enum": [
"Dynamics365"
"Dynamics365",
"Salesforce"
],
"type": "string"
},
Expand Down Expand Up @@ -2297,6 +2429,15 @@
"x-ms-visibility": "advanced",
"type": "string"
},
{
"name": "embeddedRecipientStartURL",
"in": "query",
"description": "A sender-provided URL string for redirecting an embedded recipient.",
"x-ms-summary": "Embedded recipient start URL",
"required": false,
"x-ms-visibility": "advanced",
"type": "string"
},
{
"name": "routingOrder",
"in": "query",
Expand Down Expand Up @@ -2407,6 +2548,20 @@
"x-ms-visibility": "advanced",
"type": "integer"
},
{
"name": "signatureType",
"in": "query",
"description": "DocuSign standards-based-signature (SBS) types.",
"x-ms-summary": "Signature type",
"x-ms-visibility": "advanced",
"type": "string",
"x-ms-dynamic-values": {
"operationId": "StaticResponseForSignatureTypes",
"value-collection": "signatureTypes",
"value-path": "type",
"value-title": "name"
}
},
{
"name": "additionalRecipientParams",
"in": "body",
Expand Down Expand Up @@ -2562,6 +2717,20 @@
"x-ms-summary": "Recipient id",
"type": "string"
},
{
"name": "signatureType",
"in": "query",
"description": "DocuSign standards-based-signature (SBS) types.",
"x-ms-summary": "Signature type",
"x-ms-visibility": "advanced",
"type": "string",
"x-ms-dynamic-values": {
"operationId": "StaticResponseForSignatureTypes",
"value-collection": "signatureTypes",
"value-path": "type",
"value-title": "name"
}
},
{
"name": "recipientType",
"in": "query",
Expand All @@ -2585,6 +2754,15 @@
"x-ms-visibility": "advanced",
"type": "string"
},
{
"name": "embeddedRecipientStartURL",
"in": "query",
"description": "A sender-provided URL string for redirecting an embedded recipient.",
"x-ms-summary": "Embedded recipient start URL",
"required": false,
"x-ms-visibility": "advanced",
"type": "string"
},
{
"name": "routingOrder",
"in": "query",
Expand Down Expand Up @@ -3782,6 +3960,25 @@
"x-ms-visibility": "internal"
}
},
"/signature_types": {
"get": {
"tags": [
"StaticResponse"
],
"description": "Get signature types.",
"operationId": "StaticResponseForSignatureTypes",
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/SignatureTypesResponse"
}
}
},
"deprecated": false,
"x-ms-visibility": "internal"
}
},
"/anchortab_schema": {
"get": {
"tags": [
Expand Down Expand Up @@ -3824,6 +4021,13 @@
"required": true,
"type": "string",
"x-ms-summary": "recipient type"
},
{
"name": "signatureType",
"in": "query",
"required": false,
"type": "string",
"x-ms-summary": "signature type"
}
],
"responses": {
Expand Down Expand Up @@ -4310,7 +4514,10 @@
"envelope-deleted",
"envelope-discard",
"click-agreed",
"click-declined"
"click-declined",
"recipient-autoresponded",
"recipient-authenticationfailed",
"recipient-finish-later"
],
"type": "string",
"x-ms-summary": "Envelope event",
Expand Down Expand Up @@ -4550,6 +4757,17 @@
"x-ms-summary": "File Content",
"x-ms-visibility": "important"
},
"AddRemindersResponse": {
"type":"object",
"properties": {
"reminderEnabled": {
"description": "Reminder enabled",
"type": "string",
"x-ms-summary": "Reminder enabled",
"x-ms-visibility": "important"
}
}
},
"DynamicSigners": {
"description": "An object that represents signers based on a template.",
"type": "object",
Expand All @@ -4576,6 +4794,9 @@
"parameters": {
"recipientType": {
"parameter": "recipientType"
},
"signatureType": {
"parameter": "signatureType"
}
},
"value-path": "Schema"
Expand Down Expand Up @@ -5249,6 +5470,19 @@
}
}
},
"SignatureTypesResponse":{
"type": "object",
"properties": {
"tabTypes": {
"description": "Signature types",
"type": "array",
"items": {
"$ref": "#/definitions/SignatureType"
},
"x-ms-summary": "Signature types"
}
}
},
"FontNamesResponse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -5318,6 +5552,21 @@
}
}
},
"SignatureType": {
"type": "object",
"properties": {
"name": {
"description": "Display name of the signature type.",
"type": "string",
"x-ms-summary": "Name"
},
"type": {
"description": "Type of the signature.",
"type": "string",
"x-ms-summary": "Type"
}
}
},
"FontName": {
"type": "object",
"properties": {
Expand Down
Loading

0 comments on commit 3bdb5e3

Please sign in to comment.