@keystrokehq/docusign 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/account-custom-fields.mjs +4 -4
  2. package/dist/account-stamps.mjs +11 -11
  3. package/dist/account-tabs.mjs +6 -6
  4. package/dist/account.mjs +18 -18
  5. package/dist/admin.mjs +1 -1
  6. package/dist/auth.mjs +2 -2
  7. package/dist/bcc-archive.mjs +4 -4
  8. package/dist/billing.mjs +16 -16
  9. package/dist/brands.mjs +11 -11
  10. package/dist/bulk-send.d.mts +1 -1
  11. package/dist/bulk-send.mjs +8 -8
  12. package/dist/chunked-uploads.mjs +5 -5
  13. package/dist/click.mjs +1 -1
  14. package/dist/clm.mjs +1 -1
  15. package/dist/cloud-storage.mjs +7 -7
  16. package/dist/connect.mjs +17 -17
  17. package/dist/contacts.mjs +5 -5
  18. package/dist/enote.mjs +3 -3
  19. package/dist/envelope-attachments.mjs +5 -5
  20. package/dist/envelope-custom-fields.mjs +7 -7
  21. package/dist/envelope-documents.mjs +16 -16
  22. package/dist/envelope-email.mjs +4 -4
  23. package/dist/envelope-lock.mjs +4 -4
  24. package/dist/envelope-logs.mjs +9 -9
  25. package/dist/envelope-notifications.mjs +3 -3
  26. package/dist/envelope-recipients.mjs +11 -11
  27. package/dist/envelope-tabs.mjs +3 -3
  28. package/dist/envelope-views.mjs +6 -6
  29. package/dist/envelope-workflow.mjs +14 -14
  30. package/dist/envelopes.d.mts +1 -1
  31. package/dist/envelopes.mjs +13 -13
  32. package/dist/groups.mjs +10 -10
  33. package/dist/monitor.mjs +1 -1
  34. package/dist/notary.mjs +9 -9
  35. package/dist/permission-profiles.mjs +5 -5
  36. package/dist/power-forms.mjs +3 -3
  37. package/dist/rooms.mjs +1 -1
  38. package/dist/schemas/index.d.mts +3 -3
  39. package/dist/signing-groups.mjs +9 -9
  40. package/dist/template-custom-fields.mjs +8 -8
  41. package/dist/template-documents.mjs +8 -8
  42. package/dist/template-lock.mjs +4 -4
  43. package/dist/template-sharing.mjs +8 -8
  44. package/dist/template-workflow.mjs +12 -12
  45. package/dist/templates.mjs +7 -7
  46. package/dist/user-authorizations.mjs +8 -8
  47. package/dist/user-custom-settings.mjs +5 -5
  48. package/dist/user-profile.mjs +7 -7
  49. package/dist/user-signatures.mjs +13 -13
  50. package/dist/users.mjs +6 -6
  51. package/dist/workspaces.mjs +11 -11
  52. package/package.json +2 -2
@@ -14,7 +14,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
14
14
  body: z.string()
15
15
  });
16
16
  const getEnvelope = defineRestOperation({
17
- id: "get_envelope",
17
+ id: "docusign.get-envelope",
18
18
  slug: "DOCUSIGN_GET_ENVELOPE",
19
19
  name: "Get Envelope",
20
20
  description: "Fetch a DocuSign envelope by id, optionally expanding recipients/tabs/custom_fields/documents.",
@@ -32,7 +32,7 @@ const getEnvelope = defineRestOperation({
32
32
  })
33
33
  });
34
34
  const sendEnvelope = defineRestOperation({
35
- id: "send_envelope",
35
+ id: "docusign.send-envelope",
36
36
  slug: "DOCUSIGN_SEND_ENVELOPE",
37
37
  name: "Send Envelope",
38
38
  description: "Create and send an envelope in one call (status=sent) or save it as a draft.",
@@ -44,7 +44,7 @@ const sendEnvelope = defineRestOperation({
44
44
  body: (input) => input
45
45
  });
46
46
  const voidEnvelope = defineRestOperation({
47
- id: "void_envelope",
47
+ id: "docusign.void-envelope",
48
48
  slug: "DOCUSIGN_SEND_ENVELOPE",
49
49
  name: "Void Envelope",
50
50
  description: "Void an in-flight envelope. Modeled as a PUT on the envelope with status=voided + voidedReason.",
@@ -62,7 +62,7 @@ const voidEnvelope = defineRestOperation({
62
62
  })
63
63
  });
64
64
  const createEnvelopeFromTemplate = defineRestOperation({
65
- id: "create_envelope_from_template",
65
+ id: "docusign.create-envelope-from-template",
66
66
  slug: "DOCUSIGN_CREATE_ENVELOPE_FROM_TEMPLATE",
67
67
  name: "Create Envelope From Template",
68
68
  description: "Create a new envelope bound to an existing DocuSign template, filling template roles from input.",
@@ -78,7 +78,7 @@ const createEnvelopeFromTemplate = defineRestOperation({
78
78
  body: (input) => input
79
79
  });
80
80
  const retrieveEnvelopeAuditEvents = defineRestOperation({
81
- id: "retrieve_envelope_audit_events",
81
+ id: "docusign.retrieve-envelope-audit-events",
82
82
  slug: "DOCUSIGN_RETRIEVE_ENVELOPE_AUDIT_EVENTS",
83
83
  name: "Retrieve Envelope Audit Events",
84
84
  description: "Fetch the audit trail for an envelope (send, view, sign, decline, void, etc).",
@@ -88,7 +88,7 @@ const retrieveEnvelopeAuditEvents = defineRestOperation({
88
88
  output: docusignLooseObjectSchema({ auditEvents: z.array(docusignLooseObjectSchema()).optional() })
89
89
  });
90
90
  const republishConnectDataForEnvelope = defineRestOperation({
91
- id: "republish_connect_data_for_envelope",
91
+ id: "docusign.republish-connect-data-for-envelope",
92
92
  slug: "DOCUSIGN_REPUBLISH_CONNECT_DATA_FOR_ENVELOPE",
93
93
  name: "Republish Connect Data For Envelope",
94
94
  description: "Retrigger Connect webhooks for a specific envelope.",
@@ -99,7 +99,7 @@ const republishConnectDataForEnvelope = defineRestOperation({
99
99
  output: docusignGenericObjectSchema
100
100
  });
101
101
  const republishConnectInfoForEnvelopes = defineRestOperation({
102
- id: "republish_connect_info_for_envelopes",
102
+ id: "docusign.republish-connect-info-for-envelopes",
103
103
  slug: "DOCUSIGN_REPUBLISH_CONNECT_INFO_FOR_ENVELOPES",
104
104
  name: "Republish Connect Info For Envelopes",
105
105
  description: "Retrigger Connect webhooks for a set of envelopes by id (bulk version of the single-envelope call).",
@@ -111,7 +111,7 @@ const republishConnectInfoForEnvelopes = defineRestOperation({
111
111
  body: (input) => ({ envelopeIds: input.envelopeIds })
112
112
  });
113
113
  const submitBatchHistoricalEnvelopesToWebhook = defineRestOperation({
114
- id: "submit_batch_historical_envelopes_to_webhook",
114
+ id: "docusign.submit-batch-historical-envelopes-to-webhook",
115
115
  slug: "DOCUSIGN_SUBMIT_BATCH_HISTORICAL_ENVELOPES_TO_WEBHOOK",
116
116
  name: "Submit Batch Historical Envelopes To Webhook",
117
117
  description: "Queue historical envelopes for delivery to a Connect consumer. Requires JWT Grant + admin consent — v1 ships this as a pass-through; production use is plan-gated until JWT is enabled.",
@@ -129,7 +129,7 @@ const submitBatchHistoricalEnvelopesToWebhook = defineRestOperation({
129
129
  })
130
130
  });
131
131
  const retrieveEnvelopeHtmlDefinition = defineRestOperation({
132
- id: "retrieve_envelope_html_definition",
132
+ id: "docusign.retrieve-envelope-html-definition",
133
133
  slug: "DOCUSIGN_RETRIEVE_ENVELOPE_HTML_DEFINITION",
134
134
  name: "Retrieve Envelope HTML Definition",
135
135
  description: "Get the responsive HTML definition for an envelope.",
@@ -139,7 +139,7 @@ const retrieveEnvelopeHtmlDefinition = defineRestOperation({
139
139
  output: docusignGenericObjectSchema
140
140
  });
141
141
  const retrieveHtmlDefinitionForResponsiveDocument = defineRestOperation({
142
- id: "retrieve_html_definition_for_responsive_document",
142
+ id: "docusign.retrieve-html-definition-for-responsive-document",
143
143
  slug: "DOCUSIGN_RETRIEVE_HTMLDEFINITION_FOR_RESPONSIVE_DOCUMENT",
144
144
  name: "Retrieve HTML Definition For Responsive Document",
145
145
  description: "Get the responsive HTML definition for a specific document within an envelope.",
@@ -152,7 +152,7 @@ const retrieveHtmlDefinitionForResponsiveDocument = defineRestOperation({
152
152
  output: docusignGenericObjectSchema
153
153
  });
154
154
  const getPdfTranscriptOfEnvelopeComments = defineBinaryOperation({
155
- id: "get_pdf_transcript_of_envelope_comments",
155
+ id: "docusign.get-pdf-transcript-of-envelope-comments",
156
156
  slug: "DOCUSIGN_GET_PDFTRANSCRIPT_OF_ENVELOPE_COMMENTS",
157
157
  name: "Get PDF Transcript Of Envelope Comments",
158
158
  description: "Download a PDF transcript of the comments thread on an envelope.",
@@ -163,7 +163,7 @@ const getPdfTranscriptOfEnvelopeComments = defineBinaryOperation({
163
163
  output: binaryResponseSchema
164
164
  });
165
165
  const deleteEnvelopeTransferRule = defineRestOperation({
166
- id: "delete_envelope_transfer_rule",
166
+ id: "docusign.delete-envelope-transfer-rule",
167
167
  slug: "DOCUSIGN_DELETE_ENVELOPE_TRANSFER_RULE",
168
168
  name: "Delete Envelope Transfer Rule",
169
169
  description: "Remove a single envelope-transfer rule by id.",
@@ -175,7 +175,7 @@ const deleteEnvelopeTransferRule = defineRestOperation({
175
175
  transformResponse: () => ({ success: true })
176
176
  });
177
177
  const fetchRecipientNamesForEmail = defineRestOperation({
178
- id: "fetch_recipient_names_for_email",
178
+ id: "docusign.fetch-recipient-names-for-email",
179
179
  slug: "DOCUSIGN_FETCH_RECIPIENT_NAMES_FOR_EMAIL",
180
180
  name: "Fetch Recipient Names For Email",
181
181
  description: "Look up known recipient names for a given email address on the account.",
package/dist/groups.mjs CHANGED
@@ -9,7 +9,7 @@ import { z } from "zod";
9
9
  const groupId = z.object({ groupId: z.string().min(1) });
10
10
  const groupBrand = groupId.extend({ brandId: z.string().min(1) });
11
11
  const createGroupsForAccount = defineRestOperation({
12
- id: "create_groups_for_account",
12
+ id: "docusign.create-groups-for-account",
13
13
  slug: "DOCUSIGN_CREATE_GROUPS_FOR_ACCOUNT",
14
14
  name: "Create Groups For Account",
15
15
  description: "Create new groups on the account.",
@@ -21,7 +21,7 @@ const createGroupsForAccount = defineRestOperation({
21
21
  body: (input) => ({ groups: input.groups })
22
22
  });
23
23
  const getGroupsInformationForAccount = defineRestOperation({
24
- id: "get_groups_information_for_account",
24
+ id: "docusign.get-groups-information-for-account",
25
25
  slug: "DOCUSIGN_GET_GROUPS_INFORMATION_FOR_ACCOUNT",
26
26
  name: "Get Groups For Account",
27
27
  description: "List groups on the account.",
@@ -40,7 +40,7 @@ const getGroupsInformationForAccount = defineRestOperation({
40
40
  })
41
41
  });
42
42
  const updateGroupInformation = defineRestOperation({
43
- id: "update_group_information",
43
+ id: "docusign.update-group-information",
44
44
  slug: "DOCUSIGN_UPDATE_GROUP_INFORMATION",
45
45
  name: "Update Group Information",
46
46
  description: "Update information on a group.",
@@ -52,7 +52,7 @@ const updateGroupInformation = defineRestOperation({
52
52
  body: (input) => ({ groups: input.groups })
53
53
  });
54
54
  const deleteUserGroup = defineRestOperation({
55
- id: "delete_user_group",
55
+ id: "docusign.delete-user-group",
56
56
  slug: "DOCUSIGN_DELETE_USER_GROUP",
57
57
  name: "Delete User Group",
58
58
  description: "Delete groups by id.",
@@ -65,7 +65,7 @@ const deleteUserGroup = defineRestOperation({
65
65
  transformResponse: () => ({ success: true })
66
66
  });
67
67
  const addUsersToExistingGroup = defineRestOperation({
68
- id: "add_users_to_existing_group",
68
+ id: "docusign.add-users-to-existing-group",
69
69
  slug: "DOCUSIGN_ADD_USERS_TO_EXISTING_GROUP",
70
70
  name: "Add Users To Existing Group",
71
71
  description: "Add users to an existing group.",
@@ -77,7 +77,7 @@ const addUsersToExistingGroup = defineRestOperation({
77
77
  body: (input) => ({ users: input.users })
78
78
  });
79
79
  const getUsersInGroup = defineRestOperation({
80
- id: "get_users_in_group",
80
+ id: "docusign.get-users-in-group",
81
81
  slug: "DOCUSIGN_GET_USERS_IN_GROUP",
82
82
  name: "Get Users In Group",
83
83
  description: "List users in a group.",
@@ -94,7 +94,7 @@ const getUsersInGroup = defineRestOperation({
94
94
  })
95
95
  });
96
96
  const deleteUsersFromGroup = defineRestOperation({
97
- id: "delete_users_from_group",
97
+ id: "docusign.delete-users-from-group",
98
98
  slug: "DOCUSIGN_DELETE_USERS_FROM_GROUP",
99
99
  name: "Delete Users From Group",
100
100
  description: "Remove users from a group.",
@@ -107,7 +107,7 @@ const deleteUsersFromGroup = defineRestOperation({
107
107
  transformResponse: () => ({ success: true })
108
108
  });
109
109
  const addExistingBrandToGroup = defineRestOperation({
110
- id: "add_existing_brand_to_group",
110
+ id: "docusign.add-existing-brand-to-group",
111
111
  slug: "DOCUSIGN_ADD_EXISTING_BRAND_TO_GROUP",
112
112
  name: "Add Existing Brand To Group",
113
113
  description: "Associate an existing brand with a group.",
@@ -119,7 +119,7 @@ const addExistingBrandToGroup = defineRestOperation({
119
119
  body: (input) => ({ brands: input.brands })
120
120
  });
121
121
  const deleteBrandFromGroup = defineRestOperation({
122
- id: "delete_brand_from_group",
122
+ id: "docusign.delete-brand-from-group",
123
123
  slug: "DOCUSIGN_DELETE_BRAND_FROM_GROUP",
124
124
  name: "Delete Brand From Group",
125
125
  description: "Disassociate a brand from a group.",
@@ -132,7 +132,7 @@ const deleteBrandFromGroup = defineRestOperation({
132
132
  transformResponse: () => ({ success: true })
133
133
  });
134
134
  const getBrandsInformationForGroup = defineRestOperation({
135
- id: "get_brands_information_for_group",
135
+ id: "docusign.get-brands-information-for-group",
136
136
  slug: "DOCUSIGN_GET_BRANDS_INFORMATION_FOR_GROUP",
137
137
  name: "Get Brands For Group",
138
138
  description: "List brands associated with a group.",
package/dist/monitor.mjs CHANGED
@@ -7,7 +7,7 @@ import { z } from "zod";
7
7
  * DocuSign Monitor — plan-gated in v1.
8
8
  */
9
9
  const monitorNotImplemented = definePlanGatedOperation({
10
- id: "monitor_not_implemented",
10
+ id: "docusign.monitor-not-implemented",
11
11
  slug: "DOCUSIGN_MONITOR_NOT_IMPLEMENTED",
12
12
  name: "DocuSign Monitor (not implemented)",
13
13
  description: "Placeholder for DocuSign Monitor (security event stream).",
package/dist/notary.mjs CHANGED
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  */
9
9
  const jurisdictionId = z.object({ jurisdictionId: z.string().min(1) });
10
10
  const registerCurrentUserAsNotary = defineRestOperation({
11
- id: "register_current_user_as_notary",
11
+ id: "docusign.register-current-user-as-notary",
12
12
  slug: "DOCUSIGN_REGISTER_CURRENT_USER_AS_NOTARY",
13
13
  name: "Register Current User As Notary",
14
14
  description: "Register the current user as a notary.",
@@ -21,7 +21,7 @@ const registerCurrentUserAsNotary = defineRestOperation({
21
21
  accountScoped: false
22
22
  });
23
23
  const getNotaryUserSettings = defineRestOperation({
24
- id: "get_notary_user_settings",
24
+ id: "docusign.get-notary-user-settings",
25
25
  slug: "DOCUSIGN_GET_NOTARY_USER_SETTINGS",
26
26
  name: "Get Notary User Settings",
27
27
  description: "Retrieve notary user settings.",
@@ -33,7 +33,7 @@ const getNotaryUserSettings = defineRestOperation({
33
33
  query: (input) => ({ include_jurisdictions: input.includeJurisdictions })
34
34
  });
35
35
  const updateUserNotaryInformation = defineRestOperation({
36
- id: "update_user_notary_information",
36
+ id: "docusign.update-user-notary-information",
37
37
  slug: "DOCUSIGN_UPDATE_USER_NOTARY_INFORMATION",
38
38
  name: "Update Notary User Information",
39
39
  description: "Update notary user information.",
@@ -46,7 +46,7 @@ const updateUserNotaryInformation = defineRestOperation({
46
46
  accountScoped: false
47
47
  });
48
48
  const createNotaryJurisdictionObject = defineRestOperation({
49
- id: "create_notary_jurisdiction_object",
49
+ id: "docusign.create-notary-jurisdiction-object",
50
50
  slug: "DOCUSIGN_CREATE_NOTARY_JURISDICTION_OBJECT",
51
51
  name: "Create Notary Jurisdiction",
52
52
  description: "Add a notary jurisdiction for the current user.",
@@ -59,7 +59,7 @@ const createNotaryJurisdictionObject = defineRestOperation({
59
59
  accountScoped: false
60
60
  });
61
61
  const getNotaryJurisdictionObject = defineRestOperation({
62
- id: "get_notary_jurisdiction_object",
62
+ id: "docusign.get-notary-jurisdiction-object",
63
63
  slug: "DOCUSIGN_GET_NOTARY_JURISDICTION_OBJECT",
64
64
  name: "Get Notary Jurisdiction",
65
65
  description: "Retrieve a notary jurisdiction by id.",
@@ -70,7 +70,7 @@ const getNotaryJurisdictionObject = defineRestOperation({
70
70
  accountScoped: false
71
71
  });
72
72
  const getNotaryJurisdictionsForUser = defineRestOperation({
73
- id: "get_notary_jurisdictions_for_user",
73
+ id: "docusign.get-notary-jurisdictions-for-user",
74
74
  slug: "DOCUSIGN_GET_NOTARY_JURISDICTIONS_FOR_USER",
75
75
  name: "Get Notary Jurisdictions",
76
76
  description: "List notary jurisdictions for the current user.",
@@ -81,7 +81,7 @@ const getNotaryJurisdictionsForUser = defineRestOperation({
81
81
  accountScoped: false
82
82
  });
83
83
  const updateNotaryJurisdictionInfo = defineRestOperation({
84
- id: "update_notary_jurisdiction_info",
84
+ id: "docusign.update-notary-jurisdiction-info",
85
85
  slug: "DOCUSIGN_UPDATE_NOTARY_JURISDICTION_INFO",
86
86
  name: "Update Notary Jurisdiction",
87
87
  description: "Update a notary jurisdiction.",
@@ -94,7 +94,7 @@ const updateNotaryJurisdictionInfo = defineRestOperation({
94
94
  accountScoped: false
95
95
  });
96
96
  const deleteNotaryJurisdiction = defineRestOperation({
97
- id: "delete_notary_jurisdiction",
97
+ id: "docusign.delete-notary-jurisdiction",
98
98
  slug: "DOCUSIGN_DELETE_NOTARY_JURISDICTION",
99
99
  name: "Delete Notary Jurisdiction",
100
100
  description: "Delete a notary jurisdiction.",
@@ -107,7 +107,7 @@ const deleteNotaryJurisdiction = defineRestOperation({
107
107
  transformResponse: () => ({ success: true })
108
108
  });
109
109
  const listRegisteredNotaryJurisdictions = defineRestOperation({
110
- id: "list_registered_notary_jurisdictions",
110
+ id: "docusign.list-registered-notary-jurisdictions",
111
111
  slug: "DOCUSIGN_LIST_REGISTERED_NOTARY_JURISDICTIONS",
112
112
  name: "List Registered Notary Jurisdictions",
113
113
  description: "List jurisdictions that DocuSign supports for notary work.",
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  */
9
9
  const permissionProfileId = z.object({ permissionProfileId: z.string().min(1) });
10
10
  const createNewAccountPermissionProfile = defineRestOperation({
11
- id: "create_new_account_permission_profile",
11
+ id: "docusign.create-new-account-permission-profile",
12
12
  slug: "DOCUSIGN_CREATE_NEW_ACCOUNT_PERMISSION_PROFILE",
13
13
  name: "Create Permission Profile",
14
14
  description: "Create a new permission profile on the account.",
@@ -20,7 +20,7 @@ const createNewAccountPermissionProfile = defineRestOperation({
20
20
  body: (input) => input.profile
21
21
  });
22
22
  const getListOfAccountPermissionProfiles = defineRestOperation({
23
- id: "get_list_of_account_permission_profiles",
23
+ id: "docusign.get-list-of-account-permission-profiles",
24
24
  slug: "DOCUSIGN_GET_LIST_OF_ACCOUNT_PERMISSION_PROFILES",
25
25
  name: "List Permission Profiles",
26
26
  description: "List permission profiles on the account.",
@@ -31,7 +31,7 @@ const getListOfAccountPermissionProfiles = defineRestOperation({
31
31
  query: (input) => ({ include: input.include })
32
32
  });
33
33
  const getPermissionProfileForAccount = defineRestOperation({
34
- id: "get_permission_profile_for_account",
34
+ id: "docusign.get-permission-profile-for-account",
35
35
  slug: "DOCUSIGN_GET_PERMISSION_PROFILE_FOR_ACCOUNT",
36
36
  name: "Get Permission Profile",
37
37
  description: "Retrieve a single permission profile by id.",
@@ -42,7 +42,7 @@ const getPermissionProfileForAccount = defineRestOperation({
42
42
  query: (input) => ({ include: input.include })
43
43
  });
44
44
  const updatePermissionProfileSettings = defineRestOperation({
45
- id: "update_permission_profile_settings",
45
+ id: "docusign.update-permission-profile-settings",
46
46
  slug: "DOCUSIGN_UPDATE_PERMISSION_PROFILE_SETTINGS",
47
47
  name: "Update Permission Profile Settings",
48
48
  description: "Update a permission profile.",
@@ -54,7 +54,7 @@ const updatePermissionProfileSettings = defineRestOperation({
54
54
  body: (input) => input.profile
55
55
  });
56
56
  const deleteAccountPermissionProfile = defineRestOperation({
57
- id: "delete_account_permission_profile",
57
+ id: "docusign.delete-account-permission-profile",
58
58
  slug: "DOCUSIGN_DELETE_ACCOUNT_PERMISSION_PROFILE",
59
59
  name: "Delete Permission Profile",
60
60
  description: "Delete a permission profile.",
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  */
9
9
  const powerFormId = z.object({ powerFormId: z.string().min(1) });
10
10
  const getPowerFormSenders = defineRestOperation({
11
- id: "get_power_form_senders",
11
+ id: "docusign.get-power-form-senders",
12
12
  slug: "DOCUSIGN_GET_POWER_FORM_SENDERS",
13
13
  name: "Get PowerForm Senders",
14
14
  description: "List users authorized to send the configured PowerForms.",
@@ -25,7 +25,7 @@ const getPowerFormSenders = defineRestOperation({
25
25
  })
26
26
  });
27
27
  const retrievePowerFormDataEntries = defineRestOperation({
28
- id: "retrieve_power_form_data_entries",
28
+ id: "docusign.retrieve-power-form-data-entries",
29
29
  slug: "DOCUSIGN_RETRIEVE_POWER_FORM_DATA_ENTRIES",
30
30
  name: "Retrieve PowerForm Data Entries",
31
31
  description: "Retrieve data entries submitted via a PowerForm.",
@@ -46,7 +46,7 @@ const retrievePowerFormDataEntries = defineRestOperation({
46
46
  })
47
47
  });
48
48
  const deletePowerFormById = defineRestOperation({
49
- id: "delete_power_form_by_id",
49
+ id: "docusign.delete-power-form-by-id",
50
50
  slug: "DOCUSIGN_DELETE_POWER_FORM_BY_ID",
51
51
  name: "Delete PowerForm By Id",
52
52
  description: "Delete a single PowerForm.",
package/dist/rooms.mjs CHANGED
@@ -15,7 +15,7 @@ import { z } from "zod";
15
15
  */
16
16
  const genericInput = z.object({}).catchall(z.unknown());
17
17
  const roomsNotImplemented = definePlanGatedOperation({
18
- id: "rooms_not_implemented",
18
+ id: "docusign.rooms-not-implemented",
19
19
  slug: "DOCUSIGN_ROOMS_NOT_IMPLEMENTED",
20
20
  name: "DocuSign Rooms (not implemented)",
21
21
  description: "Placeholder for the DocuSign Rooms API. Ships disabled until Rooms is enabled on the account and the Rooms client wiring lands (follow-up PR).",
@@ -26,15 +26,15 @@ declare const docusignEnvelopeStatusSchema: z.ZodEnum<{
26
26
  any: "any";
27
27
  created: "created";
28
28
  sent: "sent";
29
+ voided: "voided";
30
+ correct: "correct";
29
31
  delivered: "delivered";
30
32
  signed: "signed";
31
33
  completed: "completed";
32
34
  declined: "declined";
33
- voided: "voided";
34
35
  timedout: "timedout";
35
36
  processing: "processing";
36
37
  template: "template";
37
- correct: "correct";
38
38
  deleted: "deleted";
39
39
  "waiting-for-others": "waiting-for-others";
40
40
  transfer: "transfer";
@@ -84,10 +84,10 @@ declare const docusignTabTypeSchema: z.ZodEnum<{
84
84
  commentThreadTabs: "commentThreadTabs";
85
85
  }>;
86
86
  declare const docusignIncludeSchema: z.ZodArray<z.ZodEnum<{
87
+ documents: "documents";
87
88
  recipients: "recipients";
88
89
  tabs: "tabs";
89
90
  custom_fields: "custom_fields";
90
- documents: "documents";
91
91
  attachments: "attachments";
92
92
  extensions: "extensions";
93
93
  powerform: "powerform";
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  */
9
9
  const groupId = z.object({ signingGroupId: z.string().min(1) });
10
10
  const createSigningGroup = defineRestOperation({
11
- id: "create_signing_group",
11
+ id: "docusign.create-signing-group",
12
12
  slug: "DOCUSIGN_CREATE_SIGNING_GROUP",
13
13
  name: "Create Signing Group",
14
14
  description: "Create a new signing group on the account.",
@@ -20,7 +20,7 @@ const createSigningGroup = defineRestOperation({
20
20
  body: (input) => ({ groups: input.groups })
21
21
  });
22
22
  const retrieveAccountSigningGroups = defineRestOperation({
23
- id: "retrieve_account_signing_groups",
23
+ id: "docusign.retrieve-account-signing-groups",
24
24
  slug: "DOCUSIGN_RETRIEVE_ACCOUNT_SIGNING_GROUPS",
25
25
  name: "Retrieve Account Signing Groups",
26
26
  description: "List signing groups on the account.",
@@ -31,7 +31,7 @@ const retrieveAccountSigningGroups = defineRestOperation({
31
31
  query: (input) => ({ group_type: input.groupType })
32
32
  });
33
33
  const getSigningGroupInformation = defineRestOperation({
34
- id: "get_signing_group_information",
34
+ id: "docusign.get-signing-group-information",
35
35
  slug: "DOCUSIGN_GET_SIGNING_GROUP_INFORMATION",
36
36
  name: "Get Signing Group Information",
37
37
  description: "Retrieve a specific signing group.",
@@ -41,7 +41,7 @@ const getSigningGroupInformation = defineRestOperation({
41
41
  output: docusignGenericObjectSchema
42
42
  });
43
43
  const updateSigningGroupDetails = defineRestOperation({
44
- id: "update_signing_group_details",
44
+ id: "docusign.update-signing-group-details",
45
45
  slug: "DOCUSIGN_UPDATE_SIGNING_GROUP_DETAILS",
46
46
  name: "Update Signing Group Details",
47
47
  description: "Update details of a signing group.",
@@ -53,7 +53,7 @@ const updateSigningGroupDetails = defineRestOperation({
53
53
  body: (input) => input.group
54
54
  });
55
55
  const updateSigningGroupNames = defineRestOperation({
56
- id: "update_signing_group_names",
56
+ id: "docusign.update-signing-group-names",
57
57
  slug: "DOCUSIGN_UPDATE_SIGNING_GROUP_NAMES",
58
58
  name: "Update Signing Group Names",
59
59
  description: "Update signing group names in bulk.",
@@ -65,7 +65,7 @@ const updateSigningGroupNames = defineRestOperation({
65
65
  body: (input) => ({ groups: input.groups })
66
66
  });
67
67
  const addMembersToSigningGroup = defineRestOperation({
68
- id: "add_members_to_signing_group",
68
+ id: "docusign.add-members-to-signing-group",
69
69
  slug: "DOCUSIGN_ADD_MEMBERS_TO_SIGNING_GROUP",
70
70
  name: "Add Members To Signing Group",
71
71
  description: "Add users to a signing group.",
@@ -77,7 +77,7 @@ const addMembersToSigningGroup = defineRestOperation({
77
77
  body: (input) => ({ users: input.users })
78
78
  });
79
79
  const getMembersOfASigningGroup = defineRestOperation({
80
- id: "get_members_of_a_signing_group",
80
+ id: "docusign.get-members-of-a-signing-group",
81
81
  slug: "DOCUSIGN_GET_MEMBERS_OF_A_SIGNING_GROUP",
82
82
  name: "Get Signing Group Members",
83
83
  description: "List members of a signing group.",
@@ -87,7 +87,7 @@ const getMembersOfASigningGroup = defineRestOperation({
87
87
  output: docusignGenericObjectSchema
88
88
  });
89
89
  const deleteMembersFromSigningGroup = defineRestOperation({
90
- id: "delete_members_from_signing_group",
90
+ id: "docusign.delete-members-from-signing-group",
91
91
  slug: "DOCUSIGN_DELETE_MEMBERS_FROM_SIGNING_GROUP",
92
92
  name: "Delete Signing Group Members",
93
93
  description: "Remove users from a signing group.",
@@ -100,7 +100,7 @@ const deleteMembersFromSigningGroup = defineRestOperation({
100
100
  transformResponse: () => ({ success: true })
101
101
  });
102
102
  const deleteOneOrMoreSigningGroups = defineRestOperation({
103
- id: "delete_one_or_more_signing_groups",
103
+ id: "docusign.delete-one-or-more-signing-groups",
104
104
  slug: "DOCUSIGN_DELETE_ONE_OR_MORE_SIGNING_GROUPS",
105
105
  name: "Delete One Or More Signing Groups",
106
106
  description: "Delete one or more signing groups by id.",
@@ -9,7 +9,7 @@ import { z } from "zod";
9
9
  const tplId = z.object({ templateId: docusignTemplateIdSchema });
10
10
  const tplDoc = tplId.extend({ documentId: docusignDocumentIdSchema });
11
11
  const createTemplateDocumentCustomFields = defineRestOperation({
12
- id: "create_template_document_custom_fields",
12
+ id: "docusign.create-template-document-custom-fields",
13
13
  slug: "DOCUSIGN_CREATE_TEMPLATE_DOCUMENT_CUSTOM_FIELDS",
14
14
  name: "Create Template Document Custom Fields",
15
15
  description: "Attach custom fields to a template document.",
@@ -21,7 +21,7 @@ const createTemplateDocumentCustomFields = defineRestOperation({
21
21
  body: (input) => ({ documentFields: input.documentFields })
22
22
  });
23
23
  const updateTemplateDocumentCustomFields = defineRestOperation({
24
- id: "update_template_document_custom_fields",
24
+ id: "docusign.update-template-document-custom-fields",
25
25
  slug: "DOCUSIGN_UPDATE_TEMPLATE_DOCUMENT_CUSTOM_FIELDS",
26
26
  name: "Update Template Document Custom Fields",
27
27
  description: "Update custom fields on a template document.",
@@ -33,7 +33,7 @@ const updateTemplateDocumentCustomFields = defineRestOperation({
33
33
  body: (input) => ({ documentFields: input.documentFields })
34
34
  });
35
35
  const deleteCustomDocumentFieldsFromTemplate = defineRestOperation({
36
- id: "delete_custom_document_fields_from_template",
36
+ id: "docusign.delete-custom-document-fields-from-template",
37
37
  slug: "DOCUSIGN_DELETE_CUSTOM_DOCUMENT_FIELDS_FROM_TEMPLATE",
38
38
  name: "Delete Custom Document Fields From Template",
39
39
  description: "Remove custom fields from a template document.",
@@ -46,7 +46,7 @@ const deleteCustomDocumentFieldsFromTemplate = defineRestOperation({
46
46
  transformResponse: () => ({ success: true })
47
47
  });
48
48
  const createCustomFieldsInTemplateDocument = defineRestOperation({
49
- id: "create_custom_fields_in_template_document",
49
+ id: "docusign.create-custom-fields-in-template-document",
50
50
  slug: "DOCUSIGN_CREATE_CUSTOM_FIELDS_IN_TEMPLATE_DOCUMENT",
51
51
  name: "Create Custom Fields In Template Document",
52
52
  description: "Alias for createTemplateDocumentCustomFields — attach custom fields to a template document.",
@@ -58,7 +58,7 @@ const createCustomFieldsInTemplateDocument = defineRestOperation({
58
58
  body: (input) => input.customFields
59
59
  });
60
60
  const retrieveCustomFieldsForTemplate = defineRestOperation({
61
- id: "retrieve_custom_fields_for_template",
61
+ id: "docusign.retrieve-custom-fields-for-template",
62
62
  slug: "DOCUSIGN_RETRIEVE_CUSTOM_FIELDS_FOR_TEMPLATE",
63
63
  name: "Retrieve Custom Fields For Template",
64
64
  description: "Retrieve template-level custom fields.",
@@ -68,7 +68,7 @@ const retrieveCustomFieldsForTemplate = defineRestOperation({
68
68
  output: docusignCustomFieldsResponseSchema
69
69
  });
70
70
  const retrieveTemplateCustomFields = defineRestOperation({
71
- id: "retrieve_template_custom_fields",
71
+ id: "docusign.retrieve-template-custom-fields",
72
72
  slug: "DOCUSIGN_RETRIEVE_TEMPLATE_CUSTOM_FIELDS",
73
73
  name: "Retrieve Template Custom Fields",
74
74
  description: "Retrieve the template custom fields (alias).",
@@ -78,7 +78,7 @@ const retrieveTemplateCustomFields = defineRestOperation({
78
78
  output: docusignCustomFieldsResponseSchema
79
79
  });
80
80
  const updateTemplateCustomFields = defineRestOperation({
81
- id: "update_template_custom_fields",
81
+ id: "docusign.update-template-custom-fields",
82
82
  slug: "DOCUSIGN_UPDATE_TEMPLATE_CUSTOM_FIELDS",
83
83
  name: "Update Template Custom Fields",
84
84
  description: "Update the template-level custom fields.",
@@ -90,7 +90,7 @@ const updateTemplateCustomFields = defineRestOperation({
90
90
  body: (input) => input.customFields
91
91
  });
92
92
  const deleteCustomFieldsInTemplate = defineRestOperation({
93
- id: "delete_custom_fields_in_template",
93
+ id: "docusign.delete-custom-fields-in-template",
94
94
  slug: "DOCUSIGN_DELETE_CUSTOM_FIELDS_IN_TEMPLATE",
95
95
  name: "Delete Custom Fields In Template",
96
96
  description: "Delete template-level custom fields.",
@@ -16,7 +16,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
16
16
  body: z.string()
17
17
  });
18
18
  const getTemplateDocumentHtmlDefinition = defineRestOperation({
19
- id: "get_template_document_html_definition",
19
+ id: "docusign.get-template-document-html-definition",
20
20
  slug: "DOCUSIGN_GET_TEMPLATE_DOCUMENT_HTML_DEFINITION",
21
21
  name: "Get Template Document HTML Definition",
22
22
  description: "Return the responsive HTML definition for a template document.",
@@ -26,7 +26,7 @@ const getTemplateDocumentHtmlDefinition = defineRestOperation({
26
26
  output: docusignGenericObjectSchema
27
27
  });
28
28
  const getOriginalHtmlDefinitionForTemplate = defineRestOperation({
29
- id: "get_original_html_definition_for_template",
29
+ id: "docusign.get-original-html-definition-for-template",
30
30
  slug: "DOCUSIGN_GET_ORIGINAL_HTML_DEFINITION_FOR_TEMPLATE",
31
31
  name: "Get Original Template HTML Definition",
32
32
  description: "Return the original responsive HTML definition for a template.",
@@ -36,7 +36,7 @@ const getOriginalHtmlDefinitionForTemplate = defineRestOperation({
36
36
  output: docusignGenericObjectSchema
37
37
  });
38
38
  const createTemplateResponsiveHtmlPreview = defineRestOperation({
39
- id: "create_template_responsive_html_preview",
39
+ id: "docusign.create-template-responsive-html-preview",
40
40
  slug: "DOCUSIGN_CREATE_TEMPLATE_RESPONSIVE_HTML_PREVIEW",
41
41
  name: "Create Template Responsive HTML Preview",
42
42
  description: "Create a responsive HTML preview for a template.",
@@ -48,7 +48,7 @@ const createTemplateResponsiveHtmlPreview = defineRestOperation({
48
48
  body: (input) => input.options ?? {}
49
49
  });
50
50
  const retrievePdfFromSpecifiedTemplate = defineBinaryOperation({
51
- id: "retrieve_pdf_from_specified_template",
51
+ id: "docusign.retrieve-pdf-from-specified-template",
52
52
  slug: "DOCUSIGN_RETRIEVE_PDF_FROM_SPECIFIED_TEMPLATE",
53
53
  name: "Retrieve PDF From Specified Template",
54
54
  description: "Download the combined PDF of all documents in a template.",
@@ -59,7 +59,7 @@ const retrievePdfFromSpecifiedTemplate = defineBinaryOperation({
59
59
  output: binaryResponseSchema
60
60
  });
61
61
  const retrieveTemplateDocumentPageImages = defineRestOperation({
62
- id: "retrieve_template_document_page_images",
62
+ id: "docusign.retrieve-template-document-page-images",
63
63
  slug: "DOCUSIGN_RETRIEVE_TEMPLATE_DOCUMENT_PAGE_IMAGES",
64
64
  name: "Retrieve Template Document Page Images",
65
65
  description: "List the page images for a template document.",
@@ -69,7 +69,7 @@ const retrieveTemplateDocumentPageImages = defineRestOperation({
69
69
  output: docusignGenericObjectSchema
70
70
  });
71
71
  const retrieveTemplatePageImage = defineBinaryOperation({
72
- id: "retrieve_template_page_image",
72
+ id: "docusign.retrieve-template-page-image",
73
73
  slug: "DOCUSIGN_RETRIEVE_TEMPLATE_PAGE_IMAGE",
74
74
  name: "Retrieve Template Page Image",
75
75
  description: "Download a specific page image from a template document.",
@@ -80,7 +80,7 @@ const retrieveTemplatePageImage = defineBinaryOperation({
80
80
  output: binaryResponseSchema
81
81
  });
82
82
  const rotateTemplatePageImage = defineRestOperation({
83
- id: "rotate_template_page_image",
83
+ id: "docusign.rotate-template-page-image",
84
84
  slug: "DOCUSIGN_ROTATE_TEMPLATE_PAGE_IMAGE",
85
85
  name: "Rotate Template Page Image",
86
86
  description: "Rotate a page image on a template document.",
@@ -93,7 +93,7 @@ const rotateTemplatePageImage = defineRestOperation({
93
93
  transformResponse: () => ({ success: true })
94
94
  });
95
95
  const deletePageFromTemplateDocument = defineRestOperation({
96
- id: "delete_page_from_template_document",
96
+ id: "docusign.delete-page-from-template-document",
97
97
  slug: "DOCUSIGN_DELETE_PAGE_FROM_TEMPLATE_DOCUMENT",
98
98
  name: "Delete Page From Template Document",
99
99
  description: "Delete a page from a template document.",
@@ -10,7 +10,7 @@ import { z } from "zod";
10
10
  const tplId = z.object({ templateId: docusignTemplateIdSchema });
11
11
  const lockPath = (templateId) => `/templates/${encodeDocusignPathSegment(String(templateId))}/lock`;
12
12
  const lockTemplateForEditing = defineRestOperation({
13
- id: "lock_template_for_editing",
13
+ id: "docusign.lock-template-for-editing",
14
14
  slug: "DOCUSIGN_LOCK_TEMPLATE_FOR_EDITING",
15
15
  name: "Lock Template For Editing",
16
16
  description: "Acquire an editing lock on a template.",
@@ -22,7 +22,7 @@ const lockTemplateForEditing = defineRestOperation({
22
22
  body: (input) => input.lock ?? {}
23
23
  });
24
24
  const getTemplateLockInformation = defineRestOperation({
25
- id: "get_template_lock_information",
25
+ id: "docusign.get-template-lock-information",
26
26
  slug: "DOCUSIGN_GET_TEMPLATE_LOCK_INFORMATION",
27
27
  name: "Get Template Lock Information",
28
28
  description: "Return lock metadata for a template.",
@@ -32,7 +32,7 @@ const getTemplateLockInformation = defineRestOperation({
32
32
  output: docusignGenericObjectSchema
33
33
  });
34
34
  const updateTemplateLockInformation = defineRestOperation({
35
- id: "update_template_lock_information",
35
+ id: "docusign.update-template-lock-information",
36
36
  slug: "DOCUSIGN_UPDATE_TEMPLATE_LOCK_INFORMATION",
37
37
  name: "Update Template Lock Information",
38
38
  description: "Update the lock on a template.",
@@ -44,7 +44,7 @@ const updateTemplateLockInformation = defineRestOperation({
44
44
  body: (input) => input.lock
45
45
  });
46
46
  const deleteTemplateLock = defineRestOperation({
47
- id: "delete_template_lock",
47
+ id: "docusign.delete-template-lock",
48
48
  slug: "DOCUSIGN_DELETE_TEMPLATE_LOCK",
49
49
  name: "Delete Template Lock",
50
50
  description: "Release the lock on a template.",