@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
@@ -16,7 +16,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
16
16
  body: z.string()
17
17
  });
18
18
  const retrieveEnvelopeDocuments = defineRestOperation({
19
- id: "retrieve_envelope_documents",
19
+ id: "docusign.retrieve-envelope-documents",
20
20
  slug: "DOCUSIGN_RETRIEVE_ENVELOPE_DOCUMENTS",
21
21
  name: "Retrieve Envelope Documents",
22
22
  description: "List the documents attached to an envelope.",
@@ -26,7 +26,7 @@ const retrieveEnvelopeDocuments = defineRestOperation({
26
26
  output: docusignDocumentListSchema
27
27
  });
28
28
  const retrieveEnvelopeDocumentFields = defineRestOperation({
29
- id: "retrieve_envelope_document_fields",
29
+ id: "docusign.retrieve-envelope-document-fields",
30
30
  slug: "DOCUSIGN_RETRIEVE_ENVELOPE_DOCUMENT_FIELDS",
31
31
  name: "Retrieve Envelope Document Fields",
32
32
  description: "Retrieve the custom fields attached to a specific envelope document.",
@@ -36,7 +36,7 @@ const retrieveEnvelopeDocumentFields = defineRestOperation({
36
36
  output: docusignGenericObjectSchema
37
37
  });
38
38
  const getEnvelopeDocumentFields = defineRestOperation({
39
- id: "get_envelope_document_fields",
39
+ id: "docusign.get-envelope-document-fields",
40
40
  slug: "DOCUSIGN_GET_ENVELOPE_DOCUMENT_FIELDS",
41
41
  name: "Get Envelope Document Fields",
42
42
  description: "Get document-level fields (form-fill fields) for an envelope document.",
@@ -46,7 +46,7 @@ const getEnvelopeDocumentFields = defineRestOperation({
46
46
  output: docusignGenericObjectSchema
47
47
  });
48
48
  const createCustomDocumentFieldsInEnvelope = defineRestOperation({
49
- id: "create_custom_document_fields_in_envelope",
49
+ id: "docusign.create-custom-document-fields-in-envelope",
50
50
  slug: "DOCUSIGN_CREATE_CUSTOM_DOCUMENT_FIELDS_IN_ENVELOPE",
51
51
  name: "Create Custom Document Fields In Envelope",
52
52
  description: "Attach new custom fields to a specific document on an envelope.",
@@ -58,7 +58,7 @@ const createCustomDocumentFieldsInEnvelope = defineRestOperation({
58
58
  body: (input) => ({ documentFields: input.documentFields })
59
59
  });
60
60
  const updateCustomFieldsInEnvelopeDocument = defineRestOperation({
61
- id: "update_custom_fields_in_envelope_document",
61
+ id: "docusign.update-custom-fields-in-envelope-document",
62
62
  slug: "DOCUSIGN_UPDATE_CUSTOM_FIELDS_IN_ENVELOPE_DOCUMENT",
63
63
  name: "Update Custom Fields In Envelope Document",
64
64
  description: "Update existing custom fields on an envelope document.",
@@ -70,7 +70,7 @@ const updateCustomFieldsInEnvelopeDocument = defineRestOperation({
70
70
  body: (input) => ({ documentFields: input.documentFields })
71
71
  });
72
72
  const deleteCustomDocumentFields = defineRestOperation({
73
- id: "delete_custom_document_fields",
73
+ id: "docusign.delete-custom-document-fields",
74
74
  slug: "DOCUSIGN_DELETE_CUSTOM_DOCUMENT_FIELDS",
75
75
  name: "Delete Custom Document Fields",
76
76
  description: "Delete custom fields attached to an envelope document.",
@@ -83,7 +83,7 @@ const deleteCustomDocumentFields = defineRestOperation({
83
83
  transformResponse: () => ({ success: true })
84
84
  });
85
85
  const getPageImageFromEnvelope = defineBinaryOperation({
86
- id: "get_page_image_from_envelope",
86
+ id: "docusign.get-page-image-from-envelope",
87
87
  slug: "DOCUSIGN_GET_PAGE_IMAGE_FROM_ENVELOPE",
88
88
  name: "Get Page Image From Envelope",
89
89
  description: "Download a specific page image from an envelope document.",
@@ -94,7 +94,7 @@ const getPageImageFromEnvelope = defineBinaryOperation({
94
94
  output: binaryResponseSchema
95
95
  });
96
96
  const rotatePageImageForEnvelope = defineRestOperation({
97
- id: "rotate_page_image_for_envelope",
97
+ id: "docusign.rotate-page-image-for-envelope",
98
98
  slug: "DOCUSIGN_ROTATE_PAGE_IMAGE_FOR_ENVELOPE",
99
99
  name: "Rotate Page Image For Envelope",
100
100
  description: "Rotate a specific page image in an envelope document.",
@@ -110,7 +110,7 @@ const rotatePageImageForEnvelope = defineRestOperation({
110
110
  transformResponse: () => ({ success: true })
111
111
  });
112
112
  const deletePageFromDocumentInEnvelope = defineRestOperation({
113
- id: "delete_page_from_document_in_envelope",
113
+ id: "docusign.delete-page-from-document-in-envelope",
114
114
  slug: "DOCUSIGN_DELETE_PAGE_FROM_DOCUMENT_IN_ENVELOPE",
115
115
  name: "Delete Page From Document In Envelope",
116
116
  description: "Delete a specific page from a document on an envelope.",
@@ -122,7 +122,7 @@ const deletePageFromDocumentInEnvelope = defineRestOperation({
122
122
  transformResponse: () => ({ success: true })
123
123
  });
124
124
  const returnsDocumentPageImagesBasedOnInput = defineRestOperation({
125
- id: "returns_document_page_images_based_on_input",
125
+ id: "docusign.returns-document-page-images-based-on-input",
126
126
  slug: "DOCUSIGN_RETURNS_DOCUMENT_PAGE_IMAGES_BASED_ON_INPUT",
127
127
  name: "Return Document Page Images",
128
128
  description: "List document page images based on query filters (dpi, max_width, etc.).",
@@ -145,7 +145,7 @@ const returnsDocumentPageImagesBasedOnInput = defineRestOperation({
145
145
  })
146
146
  });
147
147
  const createDocumentResponsiveHtmlPreview = defineRestOperation({
148
- id: "create_document_responsive_html_preview",
148
+ id: "docusign.create-document-responsive-html-preview",
149
149
  slug: "DOCUSIGN_CREATE_DOCUMENT_RESPONSIVE_HTML_PREVIEW",
150
150
  name: "Create Document Responsive HTML Preview",
151
151
  description: "Create a responsive-HTML preview for an envelope document.",
@@ -157,7 +157,7 @@ const createDocumentResponsiveHtmlPreview = defineRestOperation({
157
157
  body: (input) => input.options ?? {}
158
158
  });
159
159
  const createPreviewOfResponsiveHtml = defineRestOperation({
160
- id: "create_preview_of_responsive_html",
160
+ id: "docusign.create-preview-of-responsive-html",
161
161
  slug: "DOCUSIGN_CREATE_PREVIEW_OF_RESPONSIVE_HTML",
162
162
  name: "Create Preview Of Responsive HTML",
163
163
  description: "Create a responsive-HTML preview from raw document input.",
@@ -169,7 +169,7 @@ const createPreviewOfResponsiveHtml = defineRestOperation({
169
169
  body: (input) => input.options
170
170
  });
171
171
  const createPreviewOfResponsiveHtmlInEnvelope = defineRestOperation({
172
- id: "create_preview_of_responsive_html_in_envelope",
172
+ id: "docusign.create-preview-of-responsive-html-in-envelope",
173
173
  slug: "DOCUSIGN_CREATE_PREVIEW_OF_RESPONSIVE_HTML_IN_ENVELOPE",
174
174
  name: "Create Preview Of Responsive HTML In Envelope",
175
175
  description: "Create a responsive-HTML preview scoped to a specific envelope.",
@@ -181,7 +181,7 @@ const createPreviewOfResponsiveHtmlInEnvelope = defineRestOperation({
181
181
  body: (input) => input.options ?? {}
182
182
  });
183
183
  const addTemplatesToDocumentInEnvelope = defineRestOperation({
184
- id: "add_templates_to_document_in_envelope",
184
+ id: "docusign.add-templates-to-document-in-envelope",
185
185
  slug: "DOCUSIGN_ADD_TEMPLATES_TO_DOCUMENT_IN_ENVELOPE",
186
186
  name: "Add Templates To Document In Envelope",
187
187
  description: "Apply existing DocuSign templates to a document already on an envelope.",
@@ -193,7 +193,7 @@ const addTemplatesToDocumentInEnvelope = defineRestOperation({
193
193
  body: (input) => ({ documentTemplates: input.documentTemplates })
194
194
  });
195
195
  const deleteTemplateFromEnvelopeDocument = defineRestOperation({
196
- id: "delete_template_from_envelope_document",
196
+ id: "docusign.delete-template-from-envelope-document",
197
197
  slug: "DOCUSIGN_DELETE_TEMPLATE_FROM_ENVELOPE_DOCUMENT",
198
198
  name: "Delete Template From Envelope Document",
199
199
  description: "Remove a template binding from an envelope document.",
@@ -205,7 +205,7 @@ const deleteTemplateFromEnvelopeDocument = defineRestOperation({
205
205
  transformResponse: () => ({ success: true })
206
206
  });
207
207
  const getTemplatesForEnvelopeDocument = defineRestOperation({
208
- id: "get_templates_for_envelope_document",
208
+ id: "docusign.get-templates-for-envelope-document",
209
209
  slug: "DOCUSIGN_GET_TEMPLATES_FOR_ENVELOPE_DOCUMENT",
210
210
  name: "Get Templates For Envelope Document",
211
211
  description: "List template bindings on an envelope document.",
@@ -10,7 +10,7 @@ import { z } from "zod";
10
10
  const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
11
11
  const emailSettingsPath = (envelopeId) => `/envelopes/${encodeDocusignPathSegment(String(envelopeId))}/email_settings`;
12
12
  const addEmailOverridesToEnvelope = defineRestOperation({
13
- id: "add_email_overrides_to_envelope",
13
+ id: "docusign.add-email-overrides-to-envelope",
14
14
  slug: "DOCUSIGN_ADD_EMAIL_OVERRIDES_TO_ENVELOPE",
15
15
  name: "Add Email Overrides To Envelope",
16
16
  description: "Attach per-envelope email setting overrides.",
@@ -22,7 +22,7 @@ const addEmailOverridesToEnvelope = defineRestOperation({
22
22
  body: (input) => input.emailSettings
23
23
  });
24
24
  const retrieveEnvelopeEmailOverrides = defineRestOperation({
25
- id: "retrieve_envelope_email_overrides",
25
+ id: "docusign.retrieve-envelope-email-overrides",
26
26
  slug: "DOCUSIGN_RETRIEVE_ENVELOPE_EMAIL_OVERRIDES",
27
27
  name: "Retrieve Envelope Email Overrides",
28
28
  description: "Retrieve the email-setting overrides on an envelope.",
@@ -32,7 +32,7 @@ const retrieveEnvelopeEmailOverrides = defineRestOperation({
32
32
  output: docusignGenericObjectSchema
33
33
  });
34
34
  const updateEnvelopeEmailSettings = defineRestOperation({
35
- id: "update_envelope_email_settings",
35
+ id: "docusign.update-envelope-email-settings",
36
36
  slug: "DOCUSIGN_UPDATE_ENVELOPE_EMAIL_SETTINGS",
37
37
  name: "Update Envelope Email Settings",
38
38
  description: "Update the email settings on an envelope.",
@@ -44,7 +44,7 @@ const updateEnvelopeEmailSettings = defineRestOperation({
44
44
  body: (input) => input.emailSettings
45
45
  });
46
46
  const deleteEnvelopeEmailSettings = defineRestOperation({
47
- id: "delete_envelope_email_settings",
47
+ id: "docusign.delete-envelope-email-settings",
48
48
  slug: "DOCUSIGN_DELETE_ENVELOPE_EMAIL_SETTINGS",
49
49
  name: "Delete Envelope Email Settings",
50
50
  description: "Remove the per-envelope email setting overrides.",
@@ -10,7 +10,7 @@ import { z } from "zod";
10
10
  const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
11
11
  const lockPath = (envelopeId) => `/envelopes/${encodeDocusignPathSegment(String(envelopeId))}/lock`;
12
12
  const lockAnEnvelopeForEditing = defineRestOperation({
13
- id: "lock_an_envelope_for_editing",
13
+ id: "docusign.lock-an-envelope-for-editing",
14
14
  slug: "DOCUSIGN_LOCK_AN_ENVELOPE_FOR_EDITING",
15
15
  name: "Lock An Envelope For Editing",
16
16
  description: "Acquire an editing lock on an envelope.",
@@ -22,7 +22,7 @@ const lockAnEnvelopeForEditing = defineRestOperation({
22
22
  body: (input) => input.lock ?? {}
23
23
  });
24
24
  const getEnvelopeLockInformation = defineRestOperation({
25
- id: "get_envelope_lock_information",
25
+ id: "docusign.get-envelope-lock-information",
26
26
  slug: "DOCUSIGN_GET_ENVELOPE_LOCK_INFORMATION",
27
27
  name: "Get Envelope Lock Information",
28
28
  description: "Return lock metadata for an envelope.",
@@ -32,7 +32,7 @@ const getEnvelopeLockInformation = defineRestOperation({
32
32
  output: docusignGenericObjectSchema
33
33
  });
34
34
  const updateLockForEnvelope = defineRestOperation({
35
- id: "update_lock_for_envelope",
35
+ id: "docusign.update-lock-for-envelope",
36
36
  slug: "DOCUSIGN_UPDATE_LOCK_FOR_ENVELOPE",
37
37
  name: "Update Lock For Envelope",
38
38
  description: "Update the lock on an envelope (e.g. extend or refresh).",
@@ -44,7 +44,7 @@ const updateLockForEnvelope = defineRestOperation({
44
44
  body: (input) => input.lock
45
45
  });
46
46
  const deleteEnvelopeLock = defineRestOperation({
47
- id: "delete_envelope_lock",
47
+ id: "docusign.delete-envelope-lock",
48
48
  slug: "DOCUSIGN_DELETE_ENVELOPE_LOCK",
49
49
  name: "Delete Envelope Lock",
50
50
  description: "Release the lock on an envelope.",
@@ -14,7 +14,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
14
14
  body: z.string()
15
15
  });
16
16
  const getDefaultConsumerDisclosure = defineRestOperation({
17
- id: "get_default_consumer_disclosure",
17
+ id: "docusign.get-default-consumer-disclosure",
18
18
  slug: "DOCUSIGN_GET_DEFAULT_CONSUMER_DISCLOSURE",
19
19
  name: "Get Default Consumer Disclosure",
20
20
  description: "Return the default electronic record and signature disclosure.",
@@ -25,7 +25,7 @@ const getDefaultConsumerDisclosure = defineRestOperation({
25
25
  query: (input) => ({ langCode: input.langCode })
26
26
  });
27
27
  const retrieveDefaultDisclosureForEnvelope = defineRestOperation({
28
- id: "retrieve_default_disclosure_for_envelope",
28
+ id: "docusign.retrieve-default-disclosure-for-envelope",
29
29
  slug: "DOCUSIGN_RETRIEVE_DEFAULT_DISCLOSURE_FOR_ENVELOPE",
30
30
  name: "Retrieve Default Disclosure For Envelope",
31
31
  description: "Return the default consumer disclosure as applied to an envelope.",
@@ -36,7 +36,7 @@ const retrieveDefaultDisclosureForEnvelope = defineRestOperation({
36
36
  query: (input) => ({ langCode: input.langCode })
37
37
  });
38
38
  const getElectronicRecordAndSignatureDisclosure = defineRestOperation({
39
- id: "get_electronic_record_and_signature_disclosure",
39
+ id: "docusign.get-electronic-record-and-signature-disclosure",
40
40
  slug: "DOCUSIGN_GET_ELECTRONIC_RECORD_AND_SIGNATURE_DISCLOSURE",
41
41
  name: "Get Electronic Record Disclosure",
42
42
  description: "Return the electronic record and signature disclosure by lang code.",
@@ -46,7 +46,7 @@ const getElectronicRecordAndSignatureDisclosure = defineRestOperation({
46
46
  output: docusignGenericObjectSchema
47
47
  });
48
48
  const updateElectronicRecordDisclosure = defineRestOperation({
49
- id: "update_electronic_record_disclosure",
49
+ id: "docusign.update-electronic-record-disclosure",
50
50
  slug: "DOCUSIGN_UPDATE_ELECTRONIC_RECORD_DISCLOSURE",
51
51
  name: "Update Electronic Record Disclosure",
52
52
  description: "Update the electronic record and signature disclosure.",
@@ -61,7 +61,7 @@ const updateElectronicRecordDisclosure = defineRestOperation({
61
61
  body: (input) => input.disclosure
62
62
  });
63
63
  const getApiRequestLogSettings = defineRestOperation({
64
- id: "get_api_request_log_settings",
64
+ id: "docusign.get-api-request-log-settings",
65
65
  slug: "DOCUSIGN_GET_API_REQUEST_LOG_SETTINGS",
66
66
  name: "Get API Request Log Settings",
67
67
  description: "Return the current API request-log settings on the account.",
@@ -71,7 +71,7 @@ const getApiRequestLogSettings = defineRestOperation({
71
71
  output: docusignGenericObjectSchema
72
72
  });
73
73
  const toggleApiRequestLogging = defineRestOperation({
74
- id: "toggle_api_request_logging",
74
+ id: "docusign.toggle-api-request-logging",
75
75
  slug: "DOCUSIGN_TOGGLE_API_REQUEST_LOGGING",
76
76
  name: "Toggle API Request Logging",
77
77
  description: "Enable or disable per-account API request logging.",
@@ -89,7 +89,7 @@ const toggleApiRequestLogging = defineRestOperation({
89
89
  })
90
90
  });
91
91
  const retrieveApiRequestLogFiles = defineRestOperation({
92
- id: "retrieve_api_request_log_files",
92
+ id: "docusign.retrieve-api-request-log-files",
93
93
  slug: "DOCUSIGN_RETRIEVE_APIREQUEST_LOG_FILES",
94
94
  name: "Retrieve API Request Log Files",
95
95
  description: "Retrieve the list of captured request log files.",
@@ -99,7 +99,7 @@ const retrieveApiRequestLogFiles = defineRestOperation({
99
99
  output: docusignGenericObjectSchema
100
100
  });
101
101
  const getRequestLoggingLogFile = defineBinaryOperation({
102
- id: "get_request_logging_log_file",
102
+ id: "docusign.get-request-logging-log-file",
103
103
  slug: "DOCUSIGN_GET_REQUEST_LOGGING_LOG_FILE",
104
104
  name: "Get Request Logging Log File",
105
105
  description: "Download a single request-log file.",
@@ -110,7 +110,7 @@ const getRequestLoggingLogFile = defineBinaryOperation({
110
110
  accept: "application/json"
111
111
  });
112
112
  const deleteRequestLogFiles = defineRestOperation({
113
- id: "delete_request_log_files",
113
+ id: "docusign.delete-request-log-files",
114
114
  slug: "DOCUSIGN_DELETE_REQUEST_LOG_FILES",
115
115
  name: "Delete Request Log Files",
116
116
  description: "Delete all captured API request log files.",
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  */
9
9
  const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
10
10
  const getEnvelopeNotificationDefaults = defineRestOperation({
11
- id: "get_envelope_notification_defaults",
11
+ id: "docusign.get-envelope-notification-defaults",
12
12
  slug: "DOCUSIGN_GET_ENVELOPE_NOTIFICATION_DEFAULTS",
13
13
  name: "Get Envelope Notification Defaults",
14
14
  description: "Return the default notification config the envelope inherits from the account.",
@@ -18,7 +18,7 @@ const getEnvelopeNotificationDefaults = defineRestOperation({
18
18
  output: docusignGenericObjectSchema
19
19
  });
20
20
  const retrieveEnvelopeNotificationDetails = defineRestOperation({
21
- id: "retrieve_envelope_notification_details",
21
+ id: "docusign.retrieve-envelope-notification-details",
22
22
  slug: "DOCUSIGN_RETRIEVE_ENVELOPE_NOTIFICATION_DETAILS",
23
23
  name: "Retrieve Envelope Notification Details",
24
24
  description: "Return the active notification config for an envelope.",
@@ -28,7 +28,7 @@ const retrieveEnvelopeNotificationDetails = defineRestOperation({
28
28
  output: docusignGenericObjectSchema
29
29
  });
30
30
  const updateEnvelopeNotificationSettings = defineRestOperation({
31
- id: "update_envelope_notification_settings",
31
+ id: "docusign.update-envelope-notification-settings",
32
32
  slug: "DOCUSIGN_UPDATE_ENVELOPE_NOTIFICATION_SETTINGS",
33
33
  name: "Update Envelope Notification Settings",
34
34
  description: "Update the notification config on an envelope.",
@@ -10,7 +10,7 @@ import { z } from "zod";
10
10
  const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
11
11
  const envRecipient = envId.extend({ recipientId: docusignRecipientIdSchema });
12
12
  const getRecipientDocumentVisibility = defineRestOperation({
13
- id: "get_recipient_document_visibility",
13
+ id: "docusign.get-recipient-document-visibility",
14
14
  slug: "DOCUSIGN_GET_RECIPIENT_DOCUMENT_VISIBILITY",
15
15
  name: "Get Recipient Document Visibility",
16
16
  description: "Return which documents are visible to a recipient on an envelope.",
@@ -20,7 +20,7 @@ const getRecipientDocumentVisibility = defineRestOperation({
20
20
  output: docusignGenericObjectSchema
21
21
  });
22
22
  const updateRecipientDocumentVisibility = defineRestOperation({
23
- id: "update_recipient_document_visibility",
23
+ id: "docusign.update-recipient-document-visibility",
24
24
  slug: "DOCUSIGN_UPDATE_RECIPIENT_DOCUMENT_VISIBILITY",
25
25
  name: "Update Recipient Document Visibility",
26
26
  description: "Update per-document visibility flags for a recipient on an envelope.",
@@ -32,7 +32,7 @@ const updateRecipientDocumentVisibility = defineRestOperation({
32
32
  body: (input) => ({ documentVisibility: input.documentVisibility })
33
33
  });
34
34
  const updateDocumentVisibilityRecipients = defineRestOperation({
35
- id: "update_document_visibility_recipients",
35
+ id: "docusign.update-document-visibility-recipients",
36
36
  slug: "DOCUSIGN_UPDATE_DOCUMENT_VISIBILITY_RECIPIENTS",
37
37
  name: "Update Document Visibility For Multiple Recipients",
38
38
  description: "Batch update per-recipient document visibility on an envelope.",
@@ -44,7 +44,7 @@ const updateDocumentVisibilityRecipients = defineRestOperation({
44
44
  body: (input) => ({ documentVisibility: input.documentVisibility })
45
45
  });
46
46
  const createRecipientManualReviewLink = defineRestOperation({
47
- id: "create_recipient_manual_review_link",
47
+ id: "docusign.create-recipient-manual-review-link",
48
48
  slug: "DOCUSIGN_CREATE_RECIPIENT_MANUAL_REVIEW_LINK",
49
49
  name: "Create Recipient Manual Review Link",
50
50
  description: "Create a manual-review URL for a recipient on an envelope.",
@@ -55,7 +55,7 @@ const createRecipientManualReviewLink = defineRestOperation({
55
55
  output: docusignLooseObjectSchema({ url: z.string().optional() })
56
56
  });
57
57
  const createRecipientPreviewForEnvelope = defineRestOperation({
58
- id: "create_recipient_preview_for_envelope",
58
+ id: "docusign.create-recipient-preview-for-envelope",
59
59
  slug: "DOCUSIGN_CREATE_RECIPIENT_PREVIEW_FOR_ENVELOPE",
60
60
  name: "Create Recipient Preview URL",
61
61
  description: "Create a preview URL that simulates a recipient signing experience.",
@@ -67,7 +67,7 @@ const createRecipientPreviewForEnvelope = defineRestOperation({
67
67
  body: (input) => input.preview
68
68
  });
69
69
  const createRecipientViewUrl = defineRestOperation({
70
- id: "create_recipient_view_url",
70
+ id: "docusign.create-recipient-view-url",
71
71
  slug: "DOCUSIGN_CREATE_RECIPIENT_VIEW_URL",
72
72
  name: "Create Recipient View URL",
73
73
  description: "Create an embedded signing URL for a recipient.",
@@ -79,7 +79,7 @@ const createRecipientViewUrl = defineRestOperation({
79
79
  body: (input) => input.view
80
80
  });
81
81
  const generateRecipientSharedViewUrl = defineRestOperation({
82
- id: "generate_recipient_shared_view_url",
82
+ id: "docusign.generate-recipient-shared-view-url",
83
83
  slug: "DOCUSIGN_GENERATE_RECIPIENT_SHARED_VIEW_URL",
84
84
  name: "Generate Recipient Shared View URL",
85
85
  description: "Create a shared view URL scoped to a recipient across multiple envelopes.",
@@ -91,7 +91,7 @@ const generateRecipientSharedViewUrl = defineRestOperation({
91
91
  body: (input) => input.view
92
92
  });
93
93
  const createIdProofResourceTokenForRecipient = defineRestOperation({
94
- id: "create_id_proof_resource_token_for_recipient",
94
+ id: "docusign.create-id-proof-resource-token-for-recipient",
95
95
  slug: "DOCUSIGN_CREATE_IDPROOF_RESOURCE_TOKEN_FOR_RECIPIENT",
96
96
  name: "Create ID-Proof Resource Token",
97
97
  description: "Mint an ID-proof resource token for a recipient.",
@@ -102,7 +102,7 @@ const createIdProofResourceTokenForRecipient = defineRestOperation({
102
102
  output: docusignLooseObjectSchema({ token: z.string().optional() })
103
103
  });
104
104
  const getSignatureInformationForRecipient = defineRestOperation({
105
- id: "get_signature_information_for_recipient",
105
+ id: "docusign.get-signature-information-for-recipient",
106
106
  slug: "DOCUSIGN_GET_SIGNATURE_INFORMATION_FOR_RECIPIENT",
107
107
  name: "Get Signature Information For Recipient",
108
108
  description: "Return signature metadata for a recipient on an envelope.",
@@ -112,7 +112,7 @@ const getSignatureInformationForRecipient = defineRestOperation({
112
112
  output: docusignGenericObjectSchema
113
113
  });
114
114
  const getElectronicDisclosureForRecipient = defineRestOperation({
115
- id: "get_electronic_disclosure_for_recipient",
115
+ id: "docusign.get-electronic-disclosure-for-recipient",
116
116
  slug: "DOCUSIGN_GET_ELECTRONIC_DISCLOSURE_FOR_RECIPIENT",
117
117
  name: "Get Electronic Disclosure For Recipient",
118
118
  description: "Return the consumer disclosure a recipient accepted.",
@@ -122,7 +122,7 @@ const getElectronicDisclosureForRecipient = defineRestOperation({
122
122
  output: docusignGenericObjectSchema
123
123
  });
124
124
  const retrieveSignerSignatureImageInformation = defineRestOperation({
125
- id: "retrieve_signer_signature_image_information",
125
+ id: "docusign.retrieve-signer-signature-image-information",
126
126
  slug: "DOCUSIGN_RETRIEVE_SIGNER_SIGNATURE_IMAGE_INFORMATION",
127
127
  name: "Retrieve Signer Signature Image Information",
128
128
  description: "Return the signer signature image metadata on an envelope.",
@@ -15,7 +15,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
15
15
  body: z.string()
16
16
  });
17
17
  const returnEnvelopeTabDataForExistingEnvelope = defineRestOperation({
18
- id: "return_envelope_tab_data_for_existing_envelope",
18
+ id: "docusign.return-envelope-tab-data-for-existing-envelope",
19
19
  slug: "DOCUSIGN_RETURN_ENVELOPE_TAB_DATA_FOR_EXISTING_ENVELOPE",
20
20
  name: "Return Envelope Tab Data",
21
21
  description: "Return the tab (form field) data captured on an envelope.",
@@ -25,7 +25,7 @@ const returnEnvelopeTabDataForExistingEnvelope = defineRestOperation({
25
25
  output: docusignGenericObjectSchema
26
26
  });
27
27
  const getTabsBlobForEnvelope = defineBinaryOperation({
28
- id: "get_tabs_blob_for_envelope",
28
+ id: "docusign.get-tabs-blob-for-envelope",
29
29
  slug: "DOCUSIGN_GET_TABS_BLOB_FOR_ENVELOPE",
30
30
  name: "Get Tabs Blob For Envelope",
31
31
  description: "Download the raw tabs blob for an envelope.",
@@ -35,7 +35,7 @@ const getTabsBlobForEnvelope = defineBinaryOperation({
35
35
  output: binaryResponseSchema
36
36
  });
37
37
  const deprecatedEndpointForTabBlob = defineBinaryOperation({
38
- id: "deprecated_endpoint_for_tab_blob",
38
+ id: "docusign.deprecated-endpoint-for-tab-blob",
39
39
  slug: "DOCUSIGN_DEPRECATED_ENDPOINT_FOR_TAB_BLOB",
40
40
  name: "Deprecated Endpoint For Tab Blob",
41
41
  description: "Deprecated alias for fetching the envelope tabs blob. Kept exported for slug parity — prefer getTabsBlobForEnvelope.",
@@ -9,7 +9,7 @@ import { z } from "zod";
9
9
  const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
10
10
  const urlResult = docusignLooseObjectSchema({ url: z.string().optional() });
11
11
  const createSenderViewUrlForEnvelope = defineRestOperation({
12
- id: "create_sender_view_url_for_envelope",
12
+ id: "docusign.create-sender-view-url-for-envelope",
13
13
  slug: "DOCUSIGN_CREATE_SENDER_VIEW_URL_FOR_ENVELOPE",
14
14
  name: "Create Sender View URL",
15
15
  description: "Create a sender view URL (Prepare page) for an envelope.",
@@ -21,7 +21,7 @@ const createSenderViewUrlForEnvelope = defineRestOperation({
21
21
  body: (input) => input.view ?? {}
22
22
  });
23
23
  const generateEditViewUrlForEnvelope = defineRestOperation({
24
- id: "generate_edit_view_url_for_envelope",
24
+ id: "docusign.generate-edit-view-url-for-envelope",
25
25
  slug: "DOCUSIGN_GENERATE_EDIT_VIEW_URLFOR_ENVELOPE",
26
26
  name: "Generate Edit View URL",
27
27
  description: "Create an edit view URL for an envelope.",
@@ -33,7 +33,7 @@ const generateEditViewUrlForEnvelope = defineRestOperation({
33
33
  body: (input) => input.view ?? {}
34
34
  });
35
35
  const generateEnvelopeCorrectionUrl = defineRestOperation({
36
- id: "generate_envelope_correction_url",
36
+ id: "docusign.generate-envelope-correction-url",
37
37
  slug: "DOCUSIGN_GENERATE_ENVELOPE_CORRECTION_URL",
38
38
  name: "Generate Envelope Correction URL",
39
39
  description: "Create a correction view URL for an envelope.",
@@ -45,7 +45,7 @@ const generateEnvelopeCorrectionUrl = defineRestOperation({
45
45
  body: (input) => input.view ?? {}
46
46
  });
47
47
  const revokeEnvelopeCorrectionUrl = defineRestOperation({
48
- id: "revoke_envelope_correction_url",
48
+ id: "docusign.revoke-envelope-correction-url",
49
49
  slug: "DOCUSIGN_REVOKE_ENVELOPE_CORRECTION_URL",
50
50
  name: "Revoke Envelope Correction URL",
51
51
  description: "Revoke an outstanding correction view URL.",
@@ -57,7 +57,7 @@ const revokeEnvelopeCorrectionUrl = defineRestOperation({
57
57
  transformResponse: () => ({ success: true })
58
58
  });
59
59
  const getUrlForEmbeddingDocusignUi = defineRestOperation({
60
- id: "get_url_for_embedding_docusign_ui",
60
+ id: "docusign.get-url-for-embedding-docusign-ui",
61
61
  slug: "DOCUSIGN_GET_URLFOR_EMBEDDING_DOCUSIGN_UI",
62
62
  name: "Get Embedding Console URL",
63
63
  description: "Create a console view URL for embedding the DocuSign UI.",
@@ -69,7 +69,7 @@ const getUrlForEmbeddingDocusignUi = defineRestOperation({
69
69
  body: (input) => input.view ?? {}
70
70
  });
71
71
  const createUrlForTemplateEditView = defineRestOperation({
72
- id: "create_url_for_template_edit_view",
72
+ id: "docusign.create-url-for-template-edit-view",
73
73
  slug: "DOCUSIGN_CREATE_URLFOR_TEMPLATE_EDIT_VIEW",
74
74
  name: "Create Template Edit View URL",
75
75
  description: "Create an edit view URL for a template.",
@@ -12,7 +12,7 @@ const envStep = envId.extend({ workflowStepId: z.string().min(1) });
12
12
  const workflowPath = (envelopeId) => `/envelopes/${encodeDocusignPathSegment(String(envelopeId))}/workflow`;
13
13
  const stepPath = (envelopeId, stepId) => `/envelopes/${encodeDocusignPathSegment(String(envelopeId))}/workflow/steps/${encodeDocusignPathSegment(String(stepId))}`;
14
14
  const getEnvelopeWorkflowDefinition = defineRestOperation({
15
- id: "get_envelope_workflow_definition",
15
+ id: "docusign.get-envelope-workflow-definition",
16
16
  slug: "DOCUSIGN_GET_ENVELOPE_WORKFLOW_DEFINITION",
17
17
  name: "Get Envelope Workflow Definition",
18
18
  description: "Retrieve the workflow definition on an envelope.",
@@ -22,7 +22,7 @@ const getEnvelopeWorkflowDefinition = defineRestOperation({
22
22
  output: docusignGenericObjectSchema
23
23
  });
24
24
  const updateEnvelopeWorkflowDefinition = defineRestOperation({
25
- id: "update_envelope_workflow_definition",
25
+ id: "docusign.update-envelope-workflow-definition",
26
26
  slug: "DOCUSIGN_UPDATE_ENVELOPE_WORKFLOW_DEFINITION",
27
27
  name: "Update Envelope Workflow Definition",
28
28
  description: "Update the workflow definition on an envelope.",
@@ -34,7 +34,7 @@ const updateEnvelopeWorkflowDefinition = defineRestOperation({
34
34
  body: (input) => input.workflow
35
35
  });
36
36
  const deleteEnvelopeWorkflowDefinition = defineRestOperation({
37
- id: "delete_envelope_workflow_definition",
37
+ id: "docusign.delete-envelope-workflow-definition",
38
38
  slug: "DOCUSIGN_DELETE_ENVELOPE_WORKFLOW_DEFINITION",
39
39
  name: "Delete Envelope Workflow Definition",
40
40
  description: "Delete the workflow definition on an envelope.",
@@ -46,7 +46,7 @@ const deleteEnvelopeWorkflowDefinition = defineRestOperation({
46
46
  transformResponse: () => ({ success: true })
47
47
  });
48
48
  const addStepToEnvelopeWorkflow = defineRestOperation({
49
- id: "add_step_to_envelope_workflow",
49
+ id: "docusign.add-step-to-envelope-workflow",
50
50
  slug: "DOCUSIGN_ADD_STEP_TO_ENVELOPE_WORKFLOW",
51
51
  name: "Add Step To Envelope Workflow",
52
52
  description: "Append a new step to the envelope workflow.",
@@ -58,7 +58,7 @@ const addStepToEnvelopeWorkflow = defineRestOperation({
58
58
  body: (input) => input.step
59
59
  });
60
60
  const getWorkflowStepForEnvelope = defineRestOperation({
61
- id: "get_workflow_step_for_envelope",
61
+ id: "docusign.get-workflow-step-for-envelope",
62
62
  slug: "DOCUSIGN_GET_WORKFLOW_STEP_FOR_ENVELOPE",
63
63
  name: "Get Envelope Workflow Step",
64
64
  description: "Retrieve a specific workflow step on an envelope.",
@@ -68,7 +68,7 @@ const getWorkflowStepForEnvelope = defineRestOperation({
68
68
  output: docusignGenericObjectSchema
69
69
  });
70
70
  const updateEnvelopeWorkflowStep = defineRestOperation({
71
- id: "update_envelope_workflow_step",
71
+ id: "docusign.update-envelope-workflow-step",
72
72
  slug: "DOCUSIGN_UPDATE_ENVELOPE_WORKFLOW_STEP",
73
73
  name: "Update Envelope Workflow Step",
74
74
  description: "Update a specific workflow step on an envelope.",
@@ -80,7 +80,7 @@ const updateEnvelopeWorkflowStep = defineRestOperation({
80
80
  body: (input) => input.step
81
81
  });
82
82
  const deleteEnvelopeWorkflowStep = defineRestOperation({
83
- id: "delete_envelope_workflow_step",
83
+ id: "docusign.delete-envelope-workflow-step",
84
84
  slug: "DOCUSIGN_DELETE_ENVELOPE_WORKFLOW_STEP",
85
85
  name: "Delete Envelope Workflow Step",
86
86
  description: "Remove a workflow step from an envelope.",
@@ -92,7 +92,7 @@ const deleteEnvelopeWorkflowStep = defineRestOperation({
92
92
  transformResponse: () => ({ success: true })
93
93
  });
94
94
  const getEnvelopeWorkflowDelayedRoutingDefinition = defineRestOperation({
95
- id: "get_envelope_workflow_delayed_routing_definition",
95
+ id: "docusign.get-envelope-workflow-delayed-routing-definition",
96
96
  slug: "DOCUSIGN_GET_ENVELOPE_WORKFLOW_DELAYED_ROUTING_DEFINITION",
97
97
  name: "Get Envelope Delayed Routing",
98
98
  description: "Retrieve the delayed-routing definition for a workflow step.",
@@ -102,7 +102,7 @@ const getEnvelopeWorkflowDelayedRoutingDefinition = defineRestOperation({
102
102
  output: docusignGenericObjectSchema
103
103
  });
104
104
  const updateEnvelopeDelayedRoutingRules = defineRestOperation({
105
- id: "update_envelope_delayed_routing_rules",
105
+ id: "docusign.update-envelope-delayed-routing-rules",
106
106
  slug: "DOCUSIGN_UPDATE_ENVELOPE_DELAYED_ROUTING_RULES",
107
107
  name: "Update Envelope Delayed Routing Rules",
108
108
  description: "Update the delayed-routing rules for a workflow step.",
@@ -114,7 +114,7 @@ const updateEnvelopeDelayedRoutingRules = defineRestOperation({
114
114
  body: (input) => input.rules
115
115
  });
116
116
  const deleteDelayedRoutingRuleForEnvelopeStep = defineRestOperation({
117
- id: "delete_delayed_routing_rule_for_envelope_step",
117
+ id: "docusign.delete-delayed-routing-rule-for-envelope-step",
118
118
  slug: "DOCUSIGN_DELETE_DELAYED_ROUTING_RULE_FOR_ENVELOPE_STEP",
119
119
  name: "Delete Envelope Delayed Routing Rule",
120
120
  description: "Remove the delayed-routing rule for a workflow step.",
@@ -126,7 +126,7 @@ const deleteDelayedRoutingRuleForEnvelopeStep = defineRestOperation({
126
126
  transformResponse: () => ({ success: true })
127
127
  });
128
128
  const returnScheduledSendingRulesForEnvelope = defineRestOperation({
129
- id: "return_scheduled_sending_rules_for_envelope",
129
+ id: "docusign.return-scheduled-sending-rules-for-envelope",
130
130
  slug: "DOCUSIGN_RETURN_SCHEDULED_SENDING_RULES_FOR_ENVELOPE",
131
131
  name: "Return Envelope Scheduled Sending Rules",
132
132
  description: "Return the scheduled-send rules on an envelope.",
@@ -136,7 +136,7 @@ const returnScheduledSendingRulesForEnvelope = defineRestOperation({
136
136
  output: docusignGenericObjectSchema
137
137
  });
138
138
  const updateEnvelopeScheduledSendingRules = defineRestOperation({
139
- id: "update_envelope_scheduled_sending_rules",
139
+ id: "docusign.update-envelope-scheduled-sending-rules",
140
140
  slug: "DOCUSIGN_UPDATE_ENVELOPE_SCHEDULED_SENDING_RULES",
141
141
  name: "Update Envelope Scheduled Sending Rules",
142
142
  description: "Update the scheduled-send rules on an envelope.",
@@ -148,7 +148,7 @@ const updateEnvelopeScheduledSendingRules = defineRestOperation({
148
148
  body: (input) => input.rules
149
149
  });
150
150
  const deleteEnvelopeScheduledSendingRules = defineRestOperation({
151
- id: "delete_envelope_scheduled_sending_rules",
151
+ id: "docusign.delete-envelope-scheduled-sending-rules",
152
152
  slug: "DOCUSIGN_DELETE_ENVELOPE_SCHEDULED_SENDING_RULES",
153
153
  name: "Delete Envelope Scheduled Sending Rules",
154
154
  description: "Delete the scheduled-send rules on an envelope.",
@@ -160,7 +160,7 @@ const deleteEnvelopeScheduledSendingRules = defineRestOperation({
160
160
  transformResponse: () => ({ success: true })
161
161
  });
162
162
  const deleteScheduledSendingRules = defineRestOperation({
163
- id: "delete_scheduled_sending_rules",
163
+ id: "docusign.delete-scheduled-sending-rules",
164
164
  slug: "DOCUSIGN_DELETE_SCHEDULED_SENDING_RULES",
165
165
  name: "Delete Scheduled Sending Rules (account-wide)",
166
166
  description: "Delete account-wide scheduled sending rules.",
@@ -6,10 +6,10 @@ import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential
6
6
  declare const getEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
7
7
  envelopeId: z.ZodString;
8
8
  include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
9
+ documents: "documents";
9
10
  recipients: "recipients";
10
11
  tabs: "tabs";
11
12
  custom_fields: "custom_fields";
12
- documents: "documents";
13
13
  attachments: "attachments";
14
14
  extensions: "extensions";
15
15
  powerform: "powerform";