Skip to content

Commit ab4900d

Browse files
harshitav-docusign94farhansaferoombiz
authored
Remove webhook envelope response v3. Replace with response V2 (#2298)
* Partner Center connector - new fields and deal registration actions (#2130) * Update apiDefinition.swagger.json * Latest changes * fix format warning * X-Caller_Id should be optional * Update apiDefinition.swagger.json Review changes - ->Added reg status and sub status fields. ->Update the fields descriptions as per api's details available on Microsoft public site. ->Remove submission related fields. ->Mark registration status field as read only. ->Remove offerId from root. ->Use Enum values in Create deal registration model. ->Create a separate model for update deal registration. Create a separate action for update deal registration. * Update apiDefinition.swagger.json * Update apiDefinition.swagger.json Add deprecate text in Update a referral by Id action * Update apiDefinition.swagger.json Connector status keep as Preview and UpdateReferralById deprecated keep as false but deprecated word in description. * Update apiDefinition.swagger.json update deal registration success message. * Update apiDefinition.swagger.json added title for registration object * Bitskout Connector (#2140) * Bitskout Connector * Requested changes * Add envlope and click events * addressing feedback. Alignement fixed. Comments added on backward compatibility * Remove the duplicate event * Remove WebhookEnvelopeResponseV2 * removed script file changes * changed envelopeEvent to envelopeEvents * Remove space in the script file Co-authored-by: Farhan <103836444+94farhan@users.noreply.github.com> Co-authored-by: saferoombiz <32263053+saferoombiz@users.noreply.github.com>
1 parent 0d38a22 commit ab4900d

File tree

2 files changed

+1
-148
lines changed

2 files changed

+1
-148
lines changed

certified-connectors/DocuSignDemo/apiDefinition.swagger.json

Lines changed: 1 addition & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"x-ms-notification-content": {
169169
"description": "Details for Webhook",
170170
"schema": {
171-
"$ref": "#/definitions/WebhookEnvelopeResponseV3"
171+
"$ref": "#/definitions/WebhookEnvelopeResponseV2"
172172
}
173173
}
174174
},
@@ -2564,152 +2564,6 @@
25642564
}
25652565
}
25662566
},
2567-
"WebhookEnvelopeResponseV3": {
2568-
"type": "object",
2569-
"properties": {
2570-
"data": {
2571-
"type": "object",
2572-
"properties": {
2573-
"envelopeSummary": {
2574-
"type": "object",
2575-
"properties": {
2576-
"customFields": {
2577-
"description": "Key-value pairs representing the custom fields for this envelope (where key is the field name, and value is the field value).",
2578-
"type": "object",
2579-
"additionalProperties": {
2580-
"type": "string"
2581-
},
2582-
"x-ms-visibility": "important",
2583-
"x-ms-summary": "Custom Fields"
2584-
},
2585-
"createdDateTime": {
2586-
"format": "date-time",
2587-
"description": "yyyy-MM-ddTHH:mm:ss.fffZ",
2588-
"type": "string",
2589-
"x-ms-summary": "Envelope Created Date-Time",
2590-
"x-ms-visibility": "advanced"
2591-
},
2592-
"envelopeId": {
2593-
"type": "string",
2594-
"x-ms-summary": "Envelope ID",
2595-
"x-ms-visibility": "important"
2596-
},
2597-
"sentDateTime": {
2598-
"format": "date-time",
2599-
"description": "yyyy-MM-ddTHH:mm:ss.fffZ",
2600-
"type": "string",
2601-
"x-ms-summary": "Envelope Sent Date-Time",
2602-
"x-ms-visibility": "important"
2603-
},
2604-
"status": {
2605-
"type": "string",
2606-
"x-ms-summary": "Envelope Status",
2607-
"x-ms-visibility": "important"
2608-
},
2609-
"emailSubject": {
2610-
"type": "string",
2611-
"x-ms-summary": "Email Subject",
2612-
"x-ms-visibility": "important"
2613-
},
2614-
"sender": {
2615-
"type": "object",
2616-
"properties": {
2617-
"userName": {
2618-
"type": "string",
2619-
"x-ms-summary": "Sender's Name",
2620-
"x-ms-visibility": "important"
2621-
},
2622-
"userId": {
2623-
"type": "string",
2624-
"x-ms-summary": "Sender's User ID",
2625-
"x-ms-visibility": "important"
2626-
},
2627-
"accountId": {
2628-
"type": "string",
2629-
"x-ms-summary": "Sender's Account ID",
2630-
"x-ms-visibility": "important"
2631-
},
2632-
"email": {
2633-
"type": "string",
2634-
"x-ms-summary": "Sender's Email Address",
2635-
"x-ms-visibility": "important"
2636-
}
2637-
}
2638-
},
2639-
"recipients": {
2640-
"type": "object",
2641-
"properties": {
2642-
"signers": {
2643-
"type": "array",
2644-
"items": {
2645-
"type": "object",
2646-
"properties": {
2647-
"tabs": {
2648-
"description": "Key-value pairs representing the tabs for this recipient (where key is the field name, and value is the field value).",
2649-
"type": "object",
2650-
"additionalProperties": {
2651-
"type": "string"
2652-
},
2653-
"x-ms-visibility": "important",
2654-
"x-ms-summary": "Tabs"
2655-
},
2656-
"email": {
2657-
"type": "string",
2658-
"x-ms-summary": "Recipient Email",
2659-
"x-ms-visibility": "important"
2660-
},
2661-
"recipientId": {
2662-
"type": "string",
2663-
"x-ms-summary": "Recipient Id",
2664-
"x-ms-visibility": "advanced"
2665-
},
2666-
"routingOrder": {
2667-
"type": "string",
2668-
"x-ms-summary": "Routing Order",
2669-
"x-ms-visibility": "important"
2670-
},
2671-
"sentDateTime": {
2672-
"format": "date-time",
2673-
"description": "yyyy-MM-ddTHH:mm:ss.fffZ",
2674-
"type": "string",
2675-
"x-ms-summary": "Recipient Sent Date-Time",
2676-
"x-ms-visibility": "advanced"
2677-
},
2678-
"status": {
2679-
"description": "The status of the recipient.",
2680-
"type": "string",
2681-
"x-ms-summary": "Recipient Status",
2682-
"x-ms-visibility": "advanced"
2683-
},
2684-
"recipientType": {
2685-
"description": "The type of recipient.",
2686-
"type": "string",
2687-
"x-ms-summary": "Recipient Type",
2688-
"x-ms-visibility": "advanced"
2689-
},
2690-
"verificationType": {
2691-
"description": "The type of the verification.",
2692-
"type": "string",
2693-
"x-ms-summary": "Verification Type",
2694-
"x-ms-visibility": "important"
2695-
},
2696-
"name": {
2697-
"description": "The name of the recipient.",
2698-
"type": "string",
2699-
"x-ms-summary": "Recipient Name",
2700-
"x-ms-visibility": "important"
2701-
}
2702-
}
2703-
}
2704-
}
2705-
}
2706-
}
2707-
}
2708-
}
2709-
}
2710-
}
2711-
}
2712-
},
27132567
"WebhookRequest": {
27142568
"type": "object",
27152569
"required": [

certified-connectors/DocuSignDemo/script.csx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,6 @@ public class Script : ScriptBase
743743
var uriBuilder = new UriBuilder(this.Context.Request.RequestUri);
744744
uriBuilder.Path = uriBuilder.Path.Replace("connectV2", "connect");
745745
this.Context.Request.RequestUri = uriBuilder.Uri;
746-
747746
return body;
748747
}
749748

0 commit comments

Comments
 (0)