@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
@@ -13,7 +13,7 @@ const tplGroup = tplId.extend({
13
13
  });
14
14
  const tplRecipient = tplId.extend({ recipientId: docusignRecipientIdSchema });
15
15
  const shareTemplateWithGroup = defineRestOperation({
16
- id: "share_template_with_group",
16
+ id: "docusign.share-template-with-group",
17
17
  slug: "DOCUSIGN_SHARE_TEMPLATE_WITH_GROUP",
18
18
  name: "Share Template With Group",
19
19
  description: "Share a template with a group by granting permissions on a template part.",
@@ -24,7 +24,7 @@ const shareTemplateWithGroup = defineRestOperation({
24
24
  output: docusignGenericObjectSchema
25
25
  });
26
26
  const removeGroupSharingPermissionsForTemplate = defineRestOperation({
27
- id: "remove_group_sharing_permissions_for_template",
27
+ id: "docusign.remove-group-sharing-permissions-for-template",
28
28
  slug: "DOCUSIGN_REMOVE_GROUP_SHARING_PERMISSIONS_FOR_TEMPLATE",
29
29
  name: "Remove Group Sharing Permissions For Template",
30
30
  description: "Revoke template-sharing permissions for a group.",
@@ -36,7 +36,7 @@ const removeGroupSharingPermissionsForTemplate = defineRestOperation({
36
36
  transformResponse: () => ({ success: true })
37
37
  });
38
38
  const getTemplateRecipientDocumentVisibility = defineRestOperation({
39
- id: "get_template_recipient_document_visibility",
39
+ id: "docusign.get-template-recipient-document-visibility",
40
40
  slug: "DOCUSIGN_GET_TEMPLATE_RECIPIENT_DOCUMENT_VISIBILITY",
41
41
  name: "Get Template Recipient Document Visibility",
42
42
  description: "Return per-document visibility for a template recipient.",
@@ -46,7 +46,7 @@ const getTemplateRecipientDocumentVisibility = defineRestOperation({
46
46
  output: docusignGenericObjectSchema
47
47
  });
48
48
  const updateTemplateRecipientDocumentVisibility = defineRestOperation({
49
- id: "update_template_recipient_document_visibility",
49
+ id: "docusign.update-template-recipient-document-visibility",
50
50
  slug: "DOCUSIGN_UPDATE_TEMPLATE_RECIPIENT_DOCUMENT_VISIBILITY",
51
51
  name: "Update Template Recipient Document Visibility",
52
52
  description: "Update per-document visibility for a template recipient.",
@@ -58,7 +58,7 @@ const updateTemplateRecipientDocumentVisibility = defineRestOperation({
58
58
  body: (input) => ({ documentVisibility: input.documentVisibility })
59
59
  });
60
60
  const updateTemplateDocVisibility = defineRestOperation({
61
- id: "update_template_doc_visibility",
61
+ id: "docusign.update-template-doc-visibility",
62
62
  slug: "DOCUSIGN_UPDATE_TEMPLATE_DOC_VISIBILITY",
63
63
  name: "Update Template Document Visibility",
64
64
  description: "Update per-recipient document visibility on a template.",
@@ -70,7 +70,7 @@ const updateTemplateDocVisibility = defineRestOperation({
70
70
  body: (input) => ({ documentVisibility: input.documentVisibility })
71
71
  });
72
72
  const getTemplateNotificationInformation = defineRestOperation({
73
- id: "get_template_notification_information",
73
+ id: "docusign.get-template-notification-information",
74
74
  slug: "DOCUSIGN_GET_TEMPLATE_NOTIFICATION_INFORMATION",
75
75
  name: "Get Template Notification Information",
76
76
  description: "Retrieve the notification settings on a template.",
@@ -80,7 +80,7 @@ const getTemplateNotificationInformation = defineRestOperation({
80
80
  output: docusignGenericObjectSchema
81
81
  });
82
82
  const updateTemplateNotificationSettings = defineRestOperation({
83
- id: "update_template_notification_settings",
83
+ id: "docusign.update-template-notification-settings",
84
84
  slug: "DOCUSIGN_UPDATE_TEMPLATE_NOTIFICATION_SETTINGS",
85
85
  name: "Update Template Notification Settings",
86
86
  description: "Update the notification settings on a template.",
@@ -92,7 +92,7 @@ const updateTemplateNotificationSettings = defineRestOperation({
92
92
  body: (input) => input.notification
93
93
  });
94
94
  const createTemplateRecipientPreviewUrl = defineRestOperation({
95
- id: "create_template_recipient_preview_url",
95
+ id: "docusign.create-template-recipient-preview-url",
96
96
  slug: "DOCUSIGN_CREATE_TEMPLATE_RECIPIENT_PREVIEW_URL",
97
97
  name: "Create Template Recipient Preview URL",
98
98
  description: "Create a preview URL that simulates a template recipient signing.",
@@ -12,7 +12,7 @@ const tplStep = tplId.extend({ workflowStepId: z.string().min(1) });
12
12
  const workflow = (templateId) => `/templates/${encodeDocusignPathSegment(String(templateId))}/workflow`;
13
13
  const step = (templateId, stepId) => `${workflow(templateId)}/steps/${encodeDocusignPathSegment(String(stepId))}`;
14
14
  const returnTemplateWorkflowDefinition = defineRestOperation({
15
- id: "return_template_workflow_definition",
15
+ id: "docusign.return-template-workflow-definition",
16
16
  slug: "DOCUSIGN_RETURN_TEMPLATE_WORKFLOW_DEFINITION",
17
17
  name: "Return Template Workflow Definition",
18
18
  description: "Get the workflow definition attached to a template.",
@@ -22,7 +22,7 @@ const returnTemplateWorkflowDefinition = defineRestOperation({
22
22
  output: docusignGenericObjectSchema
23
23
  });
24
24
  const updateTemplateWorkflowDefinition = defineRestOperation({
25
- id: "update_template_workflow_definition",
25
+ id: "docusign.update-template-workflow-definition",
26
26
  slug: "DOCUSIGN_UPDATE_TEMPLATE_WORKFLOW_DEFINITION",
27
27
  name: "Update Template Workflow Definition",
28
28
  description: "Update the workflow definition attached to a template.",
@@ -34,7 +34,7 @@ const updateTemplateWorkflowDefinition = defineRestOperation({
34
34
  body: (input) => input.workflow
35
35
  });
36
36
  const deleteWorkflowDefinitionForTemplate = defineRestOperation({
37
- id: "delete_workflow_definition_for_template",
37
+ id: "docusign.delete-workflow-definition-for-template",
38
38
  slug: "DOCUSIGN_DELETE_WORKFLOW_DEFINITION_FOR_TEMPLATE",
39
39
  name: "Delete Workflow Definition For Template",
40
40
  description: "Delete the workflow definition attached to a template.",
@@ -46,7 +46,7 @@ const deleteWorkflowDefinitionForTemplate = defineRestOperation({
46
46
  transformResponse: () => ({ success: true })
47
47
  });
48
48
  const createTemplateWorkflowStep = defineRestOperation({
49
- id: "create_template_workflow_step",
49
+ id: "docusign.create-template-workflow-step",
50
50
  slug: "DOCUSIGN_CREATE_TEMPLATE_WORKFLOW_STEP",
51
51
  name: "Create Template Workflow Step",
52
52
  description: "Add a new workflow step to a template.",
@@ -58,7 +58,7 @@ const createTemplateWorkflowStep = defineRestOperation({
58
58
  body: (input) => input.step
59
59
  });
60
60
  const retrieveWorkflowStepForTemplate = defineRestOperation({
61
- id: "retrieve_workflow_step_for_template",
61
+ id: "docusign.retrieve-workflow-step-for-template",
62
62
  slug: "DOCUSIGN_RETRIEVE_WORKFLOW_STEP_FOR_TEMPLATE",
63
63
  name: "Retrieve Workflow Step For Template",
64
64
  description: "Get a specific workflow step on a template.",
@@ -68,7 +68,7 @@ const retrieveWorkflowStepForTemplate = defineRestOperation({
68
68
  output: docusignGenericObjectSchema
69
69
  });
70
70
  const updateWorkflowStepForTemplate = defineRestOperation({
71
- id: "update_workflow_step_for_template",
71
+ id: "docusign.update-workflow-step-for-template",
72
72
  slug: "DOCUSIGN_UPDATE_WORKFLOW_STEP_FOR_TEMPLATE",
73
73
  name: "Update Workflow Step For Template",
74
74
  description: "Update a specific workflow step on a template.",
@@ -80,7 +80,7 @@ const updateWorkflowStepForTemplate = defineRestOperation({
80
80
  body: (input) => input.step
81
81
  });
82
82
  const deleteTemplateWorkflowStep = defineRestOperation({
83
- id: "delete_template_workflow_step",
83
+ id: "docusign.delete-template-workflow-step",
84
84
  slug: "DOCUSIGN_DELETE_TEMPLATE_WORKFLOW_STEP",
85
85
  name: "Delete Template Workflow Step",
86
86
  description: "Delete a specific workflow step on a template.",
@@ -92,7 +92,7 @@ const deleteTemplateWorkflowStep = defineRestOperation({
92
92
  transformResponse: () => ({ success: true })
93
93
  });
94
94
  const getTemplateDelayedRoutingRules = defineRestOperation({
95
- id: "get_template_delayed_routing_rules",
95
+ id: "docusign.get-template-delayed-routing-rules",
96
96
  slug: "DOCUSIGN_GET_TEMPLATE_DELAYED_ROUTING_RULES",
97
97
  name: "Get Template Delayed Routing Rules",
98
98
  description: "Get delayed routing rules for a template workflow step.",
@@ -102,7 +102,7 @@ const getTemplateDelayedRoutingRules = defineRestOperation({
102
102
  output: docusignGenericObjectSchema
103
103
  });
104
104
  const updateTemplateDelayedRoutingRules = defineRestOperation({
105
- id: "update_template_delayed_routing_rules",
105
+ id: "docusign.update-template-delayed-routing-rules",
106
106
  slug: "DOCUSIGN_UPDATE_TEMPLATE_DELAYED_ROUTING_RULES",
107
107
  name: "Update Template Delayed Routing Rules",
108
108
  description: "Update delayed routing rules for a template workflow step.",
@@ -114,7 +114,7 @@ const updateTemplateDelayedRoutingRules = defineRestOperation({
114
114
  body: (input) => input.rules
115
115
  });
116
116
  const deleteDelayedRoutingRulesForTemplate = defineRestOperation({
117
- id: "delete_delayed_routing_rules_for_template",
117
+ id: "docusign.delete-delayed-routing-rules-for-template",
118
118
  slug: "DOCUSIGN_DELETE_DELAYED_ROUTING_RULES_FOR_TEMPLATE",
119
119
  name: "Delete Template Delayed Routing Rules",
120
120
  description: "Delete delayed routing rules on a template workflow step.",
@@ -126,7 +126,7 @@ const deleteDelayedRoutingRulesForTemplate = defineRestOperation({
126
126
  transformResponse: () => ({ success: true })
127
127
  });
128
128
  const getTemplateScheduledSendingSettings = defineRestOperation({
129
- id: "get_template_scheduled_sending_settings",
129
+ id: "docusign.get-template-scheduled-sending-settings",
130
130
  slug: "DOCUSIGN_GET_TEMPLATE_SCHEDULED_SENDING_SETTINGS",
131
131
  name: "Get Template Scheduled Sending Settings",
132
132
  description: "Get scheduled sending settings on a template workflow.",
@@ -136,7 +136,7 @@ const getTemplateScheduledSendingSettings = defineRestOperation({
136
136
  output: docusignGenericObjectSchema
137
137
  });
138
138
  const updateTemplateScheduledSendingRules = defineRestOperation({
139
- id: "update_template_scheduled_sending_rules",
139
+ id: "docusign.update-template-scheduled-sending-rules",
140
140
  slug: "DOCUSIGN_UPDATE_TEMPLATE_SCHEDULED_SENDING_RULES",
141
141
  name: "Update Template Scheduled Sending Rules",
142
142
  description: "Update scheduled sending rules on a template workflow.",
@@ -7,7 +7,7 @@ import { z } from "zod";
7
7
  * Template core. Covers PLAN.md § 6.12.
8
8
  */
9
9
  const listAllTemplates = defineRestOperation({
10
- id: "list_all_templates",
10
+ id: "docusign.list-all-templates",
11
11
  slug: "DOCUSIGN_LIST_ALL_TEMPLATES",
12
12
  name: "List All Templates",
13
13
  description: "List templates on the account, optionally filtered by search text and folder.",
@@ -32,7 +32,7 @@ const listAllTemplates = defineRestOperation({
32
32
  })
33
33
  });
34
34
  const getTemplate = defineRestOperation({
35
- id: "get_template",
35
+ id: "docusign.get-template",
36
36
  slug: "DOCUSIGN_GET_TEMPLATE",
37
37
  name: "Get Template",
38
38
  description: "Fetch a DocuSign template by id.",
@@ -46,7 +46,7 @@ const getTemplate = defineRestOperation({
46
46
  query: (input) => ({ include: input.include })
47
47
  });
48
48
  const addTemplatesToEnvelope = defineRestOperation({
49
- id: "add_templates_to_envelope",
49
+ id: "docusign.add-templates-to-envelope",
50
50
  slug: "DOCUSIGN_ADD_TEMPLATES_TO_ENVELOPE",
51
51
  name: "Add Templates To Envelope",
52
52
  description: "Apply templates to an existing envelope.",
@@ -61,7 +61,7 @@ const addTemplatesToEnvelope = defineRestOperation({
61
61
  body: (input) => ({ documentTemplates: input.documentTemplates })
62
62
  });
63
63
  const getTemplatesUsedInEnvelope = defineRestOperation({
64
- id: "get_templates_used_in_envelope",
64
+ id: "docusign.get-templates-used-in-envelope",
65
65
  slug: "DOCUSIGN_GET_TEMPLATES_USED_IN_ENVELOPE",
66
66
  name: "Get Templates Used In Envelope",
67
67
  description: "List the templates applied to an envelope.",
@@ -71,7 +71,7 @@ const getTemplatesUsedInEnvelope = defineRestOperation({
71
71
  output: docusignGenericObjectSchema
72
72
  });
73
73
  const retrieveAccountFavoriteTemplates = defineRestOperation({
74
- id: "retrieve_account_favorite_templates",
74
+ id: "docusign.retrieve-account-favorite-templates",
75
75
  slug: "DOCUSIGN_RETRIEVE_ACCOUNT_FAVORITE_TEMPLATES",
76
76
  name: "Retrieve Account Favorite Templates",
77
77
  description: "List favorite templates on the account.",
@@ -81,7 +81,7 @@ const retrieveAccountFavoriteTemplates = defineRestOperation({
81
81
  output: docusignGenericObjectSchema
82
82
  });
83
83
  const setTemplatesAsAccountFavorites = defineRestOperation({
84
- id: "set_templates_as_account_favorites",
84
+ id: "docusign.set-templates-as-account-favorites",
85
85
  slug: "DOCUSIGN_SET_TEMPLATES_AS_ACCOUNT_FAVORITES",
86
86
  name: "Set Templates As Account Favorites",
87
87
  description: "Mark templates as favorites on the account.",
@@ -93,7 +93,7 @@ const setTemplatesAsAccountFavorites = defineRestOperation({
93
93
  body: (input) => ({ favoriteTemplates: input.favoriteTemplates })
94
94
  });
95
95
  const removeTemplatesFromFavorites = defineRestOperation({
96
- id: "remove_templates_from_favorites",
96
+ id: "docusign.remove-templates-from-favorites",
97
97
  slug: "DOCUSIGN_REMOVE_TEMPLATES_FROM_FAVORITES",
98
98
  name: "Remove Templates From Favorites",
99
99
  description: "Unmark templates as favorites on the account.",
@@ -11,7 +11,7 @@ const userAuth = z.object({
11
11
  authorizationId: z.string().min(1)
12
12
  });
13
13
  const createOrUpdateUserAuthorizations = defineRestOperation({
14
- id: "create_or_update_user_authorizations",
14
+ id: "docusign.create-or-update-user-authorizations",
15
15
  slug: "DOCUSIGN_CREATE_OR_UPDATE_USER_AUTHORIZATIONS",
16
16
  name: "Create Or Update User Authorizations",
17
17
  description: "Create or update authorizations granted to a user.",
@@ -26,7 +26,7 @@ const createOrUpdateUserAuthorizations = defineRestOperation({
26
26
  body: (input) => ({ authorizations: input.authorizations })
27
27
  });
28
28
  const createUserAuthorizationForAgentUser = defineRestOperation({
29
- id: "create_user_authorization_for_agent_user",
29
+ id: "docusign.create-user-authorization-for-agent-user",
30
30
  slug: "DOCUSIGN_CREATE_USER_AUTHORIZATION_FOR_AGENT_USER",
31
31
  name: "Create User Authorization For Agent User",
32
32
  description: "Create a user authorization with agent user context.",
@@ -41,7 +41,7 @@ const createUserAuthorizationForAgentUser = defineRestOperation({
41
41
  body: (input) => input.authorization
42
42
  });
43
43
  const getUserAuthorizationDetails = defineRestOperation({
44
- id: "get_user_authorization_details",
44
+ id: "docusign.get-user-authorization-details",
45
45
  slug: "DOCUSIGN_GET_USER_AUTHORIZATION_DETAILS",
46
46
  name: "Get User Authorization Details",
47
47
  description: "Get details of a specific user authorization.",
@@ -51,7 +51,7 @@ const getUserAuthorizationDetails = defineRestOperation({
51
51
  output: docusignGenericObjectSchema
52
52
  });
53
53
  const getUserAuthorizationsForPrincipal = defineRestOperation({
54
- id: "get_user_authorizations_for_principal",
54
+ id: "docusign.get-user-authorizations-for-principal",
55
55
  slug: "DOCUSIGN_GET_USER_AUTHORIZATIONS_FOR_PRINCIPAL",
56
56
  name: "Get User Authorizations For Principal",
57
57
  description: "List authorizations granted by a principal user.",
@@ -71,7 +71,7 @@ const getUserAuthorizationsForPrincipal = defineRestOperation({
71
71
  })
72
72
  });
73
73
  const getAgentUserAuthorizations = defineRestOperation({
74
- id: "get_agent_user_authorizations",
74
+ id: "docusign.get-agent-user-authorizations",
75
75
  slug: "DOCUSIGN_GET_AGENT_USER_AUTHORIZATIONS",
76
76
  name: "Get Agent User Authorizations",
77
77
  description: "List authorizations granted to an agent user.",
@@ -89,7 +89,7 @@ const getAgentUserAuthorizations = defineRestOperation({
89
89
  })
90
90
  });
91
91
  const updateUserAuthorizationDates = defineRestOperation({
92
- id: "update_user_authorization_dates",
92
+ id: "docusign.update-user-authorization-dates",
93
93
  slug: "DOCUSIGN_UPDATE_USER_AUTHORIZATION_DATES",
94
94
  name: "Update User Authorization Dates",
95
95
  description: "Update the validity window of a user authorization.",
@@ -101,7 +101,7 @@ const updateUserAuthorizationDates = defineRestOperation({
101
101
  body: (input) => input.authorization
102
102
  });
103
103
  const deleteUserAuthorization = defineRestOperation({
104
- id: "delete_user_authorization",
104
+ id: "docusign.delete-user-authorization",
105
105
  slug: "DOCUSIGN_DELETE_USER_AUTHORIZATION",
106
106
  name: "Delete User Authorization",
107
107
  description: "Delete a single user authorization.",
@@ -113,7 +113,7 @@ const deleteUserAuthorization = defineRestOperation({
113
113
  transformResponse: () => ({ success: true })
114
114
  });
115
115
  const deleteUserAuthorizations = defineRestOperation({
116
- id: "delete_user_authorizations",
116
+ id: "docusign.delete-user-authorizations",
117
117
  slug: "DOCUSIGN_DELETE_USER_AUTHORIZATIONS",
118
118
  name: "Delete User Authorizations",
119
119
  description: "Bulk delete user authorizations.",
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  */
9
9
  const userId = z.object({ userId: z.string().min(1) });
10
10
  const addOrUpdateUserCustomSettings = defineRestOperation({
11
- id: "add_or_update_user_custom_settings",
11
+ id: "docusign.add-or-update-user-custom-settings",
12
12
  slug: "DOCUSIGN_ADD_OR_UPDATE_USER_CUSTOM_SETTINGS",
13
13
  name: "Add Or Update User Custom Settings",
14
14
  description: "Add or update custom settings for a user.",
@@ -20,7 +20,7 @@ const addOrUpdateUserCustomSettings = defineRestOperation({
20
20
  body: (input) => input.customSettings
21
21
  });
22
22
  const retrieveCustomUserSettings = defineRestOperation({
23
- id: "retrieve_custom_user_settings",
23
+ id: "docusign.retrieve-custom-user-settings",
24
24
  slug: "DOCUSIGN_RETRIEVE_CUSTOM_USER_SETTINGS",
25
25
  name: "Retrieve Custom User Settings",
26
26
  description: "Retrieve the custom settings on a user.",
@@ -30,7 +30,7 @@ const retrieveCustomUserSettings = defineRestOperation({
30
30
  output: docusignGenericObjectSchema
31
31
  });
32
32
  const deleteCustomUserSettings = defineRestOperation({
33
- id: "delete_custom_user_settings",
33
+ id: "docusign.delete-custom-user-settings",
34
34
  slug: "DOCUSIGN_DELETE_CUSTOM_USER_SETTINGS",
35
35
  name: "Delete Custom User Settings",
36
36
  description: "Delete the custom settings on a user.",
@@ -43,7 +43,7 @@ const deleteCustomUserSettings = defineRestOperation({
43
43
  transformResponse: () => ({ success: true })
44
44
  });
45
45
  const retrieveUserAccountSettings = defineRestOperation({
46
- id: "retrieve_user_account_settings",
46
+ id: "docusign.retrieve-user-account-settings",
47
47
  slug: "DOCUSIGN_RETRIEVE_USER_ACCOUNT_SETTINGS",
48
48
  name: "Retrieve User Account Settings",
49
49
  description: "Retrieve the account-level user settings.",
@@ -53,7 +53,7 @@ const retrieveUserAccountSettings = defineRestOperation({
53
53
  output: docusignGenericObjectSchema
54
54
  });
55
55
  const updateUserAccountSettings = defineRestOperation({
56
- id: "update_user_account_settings",
56
+ id: "docusign.update-user-account-settings",
57
57
  slug: "DOCUSIGN_UPDATE_USER_ACCOUNT_SETTINGS",
58
58
  name: "Update User Account Settings",
59
59
  description: "Update the account-level user settings.",
@@ -14,7 +14,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
14
14
  body: z.string()
15
15
  });
16
16
  const retrieveUserProfileImage = defineBinaryOperation({
17
- id: "retrieve_user_profile_image",
17
+ id: "docusign.retrieve-user-profile-image",
18
18
  slug: "DOCUSIGN_RETRIEVE_USER_PROFILE_IMAGE",
19
19
  name: "Retrieve User Profile Image",
20
20
  description: "Download the user profile image.",
@@ -25,7 +25,7 @@ const retrieveUserProfileImage = defineBinaryOperation({
25
25
  output: binaryResponseSchema
26
26
  });
27
27
  const updateUserProfileImage = defineRestOperation({
28
- id: "update_user_profile_image",
28
+ id: "docusign.update-user-profile-image",
29
29
  slug: "DOCUSIGN_UPDATE_USER_PROFILE_IMAGE",
30
30
  name: "Update User Profile Image",
31
31
  description: "Upload a new user profile image.",
@@ -37,7 +37,7 @@ const updateUserProfileImage = defineRestOperation({
37
37
  body: (input) => ({ image: input.image })
38
38
  });
39
39
  const deleteUserProfileImage = defineRestOperation({
40
- id: "delete_user_profile_image",
40
+ id: "docusign.delete-user-profile-image",
41
41
  slug: "DOCUSIGN_DELETE_USER_PROFILE_IMAGE",
42
42
  name: "Delete User Profile Image",
43
43
  description: "Delete the user profile image.",
@@ -49,7 +49,7 @@ const deleteUserProfileImage = defineRestOperation({
49
49
  transformResponse: () => ({ success: true })
50
50
  });
51
51
  const retrieveUserProfileInformation = defineRestOperation({
52
- id: "retrieve_user_profile_information",
52
+ id: "docusign.retrieve-user-profile-information",
53
53
  slug: "DOCUSIGN_RETRIEVE_USER_PROFILE_INFORMATION",
54
54
  name: "Retrieve User Profile Information",
55
55
  description: "Retrieve the user profile information.",
@@ -59,7 +59,7 @@ const retrieveUserProfileInformation = defineRestOperation({
59
59
  output: docusignGenericObjectSchema
60
60
  });
61
61
  const updateUserProfileInformation = defineRestOperation({
62
- id: "update_user_profile_information",
62
+ id: "docusign.update-user-profile-information",
63
63
  slug: "DOCUSIGN_UPDATE_USER_PROFILE_INFORMATION",
64
64
  name: "Update User Profile Information",
65
65
  description: "Update the user profile information.",
@@ -71,7 +71,7 @@ const updateUserProfileInformation = defineRestOperation({
71
71
  body: (input) => input.profile
72
72
  });
73
73
  const retrieveSharedItemStatusForUsers = defineRestOperation({
74
- id: "retrieve_shared_item_status_for_users",
74
+ id: "docusign.retrieve-shared-item-status-for-users",
75
75
  slug: "DOCUSIGN_RETRIEVE_SHARED_ITEM_STATUS_FOR_USERS",
76
76
  name: "Retrieve Shared Item Status For Users",
77
77
  description: "Retrieve the shared access status for users on the account.",
@@ -90,7 +90,7 @@ const retrieveSharedItemStatusForUsers = defineRestOperation({
90
90
  })
91
91
  });
92
92
  const setSharedAccessForUsersAndTemplates = defineRestOperation({
93
- id: "set_shared_access_for_users_and_templates",
93
+ id: "docusign.set-shared-access-for-users-and-templates",
94
94
  slug: "DOCUSIGN_SET_SHARED_ACCESS_FOR_USERS_AND_TEMPLATES",
95
95
  name: "Set Shared Access For Users And Templates",
96
96
  description: "Update shared access for users across templates.",
@@ -15,7 +15,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
15
15
  body: z.string()
16
16
  });
17
17
  const addOrUpdateUserSignature = defineRestOperation({
18
- id: "add_or_update_user_signature",
18
+ id: "docusign.add-or-update-user-signature",
19
19
  slug: "DOCUSIGN_ADD_OR_UPDATE_USER_SIGNATURE",
20
20
  name: "Add Or Update User Signature",
21
21
  description: "Add or update user signature definitions.",
@@ -27,7 +27,7 @@ const addOrUpdateUserSignature = defineRestOperation({
27
27
  body: (input) => ({ userSignatures: input.userSignatures })
28
28
  });
29
29
  const addUserSignatureAndInitialsImages = defineRestOperation({
30
- id: "add_user_signature_and_initials_images",
30
+ id: "docusign.add-user-signature-and-initials-images",
31
31
  slug: "DOCUSIGN_ADD_USER_SIGNATURE_AND_INITIALS_IMAGES",
32
32
  name: "Add User Signature And Initials Images",
33
33
  description: "Add signature and initials images for a user.",
@@ -39,7 +39,7 @@ const addUserSignatureAndInitialsImages = defineRestOperation({
39
39
  body: (input) => ({ userSignatures: input.userSignatures })
40
40
  });
41
41
  const retrieveUserSignatureDefinitions = defineRestOperation({
42
- id: "retrieve_user_signature_definitions",
42
+ id: "docusign.retrieve-user-signature-definitions",
43
43
  slug: "DOCUSIGN_RETRIEVE_USER_SIGNATURE_DEFINITIONS",
44
44
  name: "Retrieve User Signature Definitions",
45
45
  description: "List signature definitions on a user.",
@@ -49,7 +49,7 @@ const retrieveUserSignatureDefinitions = defineRestOperation({
49
49
  output: docusignGenericObjectSchema
50
50
  });
51
51
  const retrieveUserSignatureInformation = defineRestOperation({
52
- id: "retrieve_user_signature_information",
52
+ id: "docusign.retrieve-user-signature-information",
53
53
  slug: "DOCUSIGN_RETRIEVE_USER_SIGNATURE_INFORMATION",
54
54
  name: "Retrieve User Signature Information",
55
55
  description: "Retrieve information about a specific signature on a user.",
@@ -59,7 +59,7 @@ const retrieveUserSignatureInformation = defineRestOperation({
59
59
  output: docusignGenericObjectSchema
60
60
  });
61
61
  const retrieveUserSignatureImage = defineBinaryOperation({
62
- id: "retrieve_user_signature_image",
62
+ id: "docusign.retrieve-user-signature-image",
63
63
  slug: "DOCUSIGN_RETRIEVE_USER_SIGNATURE_IMAGE",
64
64
  name: "Retrieve User Signature Image",
65
65
  description: "Download the signature image for a user.",
@@ -70,7 +70,7 @@ const retrieveUserSignatureImage = defineBinaryOperation({
70
70
  output: binaryResponseSchema
71
71
  });
72
72
  const setUserSignatureImage = defineRestOperation({
73
- id: "set_user_signature_image",
73
+ id: "docusign.set-user-signature-image",
74
74
  slug: "DOCUSIGN_SET_USER_SIGNATURE_IMAGE",
75
75
  name: "Set User Signature Image",
76
76
  description: "Upload a new signature image for a user.",
@@ -82,7 +82,7 @@ const setUserSignatureImage = defineRestOperation({
82
82
  body: (input) => ({ image: input.image })
83
83
  });
84
84
  const updateUserSignatureById = defineRestOperation({
85
- id: "update_user_signature_by_id",
85
+ id: "docusign.update-user-signature-by-id",
86
86
  slug: "DOCUSIGN_UPDATE_USER_SIGNATURE_BY_ID",
87
87
  name: "Update User Signature By Id",
88
88
  description: "Update a single signature definition on a user.",
@@ -94,7 +94,7 @@ const updateUserSignatureById = defineRestOperation({
94
94
  body: (input) => input.signature
95
95
  });
96
96
  const retrieveUserInitialsImageForEnvelopes = defineBinaryOperation({
97
- id: "retrieve_user_initials_image_for_envelopes",
97
+ id: "docusign.retrieve-user-initials-image-for-envelopes",
98
98
  slug: "DOCUSIGN_RETRIEVE_USER_INITIALS_IMAGE_FOR_ENVELOPES",
99
99
  name: "Retrieve User Initials Image",
100
100
  description: "Download the initials image for a user.",
@@ -105,7 +105,7 @@ const retrieveUserInitialsImageForEnvelopes = defineBinaryOperation({
105
105
  output: binaryResponseSchema
106
106
  });
107
107
  const deleteUserInitialsOrSignatureImage = defineRestOperation({
108
- id: "delete_user_initials_or_signature_image",
108
+ id: "docusign.delete-user-initials-or-signature-image",
109
109
  slug: "DOCUSIGN_DELETE_USER_INITIALS_OR_SIGNATURE_IMAGE",
110
110
  name: "Delete User Initials Or Signature Image",
111
111
  description: "Delete a user signature or initials image.",
@@ -117,7 +117,7 @@ const deleteUserInitialsOrSignatureImage = defineRestOperation({
117
117
  transformResponse: () => ({ success: true })
118
118
  });
119
119
  const removeUserSignatureInformation = defineRestOperation({
120
- id: "remove_user_signature_information",
120
+ id: "docusign.remove-user-signature-information",
121
121
  slug: "DOCUSIGN_REMOVE_USER_SIGNATURE_INFORMATION",
122
122
  name: "Remove User Signature Information",
123
123
  description: "Remove all signature information for a user.",
@@ -129,7 +129,7 @@ const removeUserSignatureInformation = defineRestOperation({
129
129
  transformResponse: () => ({ success: true })
130
130
  });
131
131
  const setInitialsImageForAccountlessSigner = defineRestOperation({
132
- id: "set_initials_image_for_accountless_signer",
132
+ id: "docusign.set-initials-image-for-accountless-signer",
133
133
  slug: "DOCUSIGN_SET_INITIALS_IMAGE_FOR_ACCOUNTLESS_SIGNER",
134
134
  name: "Set Initials For Accountless Signer",
135
135
  description: "Set initials image for an accountless signer (captive recipient).",
@@ -145,7 +145,7 @@ const setInitialsImageForAccountlessSigner = defineRestOperation({
145
145
  body: (input) => ({ image: input.image })
146
146
  });
147
147
  const setSignatureImageForNoAccountSigner = defineRestOperation({
148
- id: "set_signature_image_for_no_account_signer",
148
+ id: "docusign.set-signature-image-for-no-account-signer",
149
149
  slug: "DOCUSIGN_SET_SIGNATURE_IMAGE_FOR_NO_ACCOUNT_SIGNER",
150
150
  name: "Set Signature For No-Account Signer",
151
151
  description: "Set signature image for a captive recipient.",
@@ -161,7 +161,7 @@ const setSignatureImageForNoAccountSigner = defineRestOperation({
161
161
  body: (input) => ({ image: input.image })
162
162
  });
163
163
  const deleteSignatureForCaptiveRecipients = defineRestOperation({
164
- id: "delete_signature_for_captive_recipients",
164
+ id: "docusign.delete-signature-for-captive-recipients",
165
165
  slug: "DOCUSIGN_DELETE_SIGNATURE_FOR_CAPTIVE_RECIPIENTS",
166
166
  name: "Delete Signature For Captive Recipients",
167
167
  description: "Delete signature images for captive recipients on an envelope.",
package/dist/users.mjs CHANGED
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  */
9
9
  const userId = z.object({ userId: z.string().min(1) });
10
10
  const listUsersForAccount = defineRestOperation({
11
- id: "list_users_for_account",
11
+ id: "docusign.list-users-for-account",
12
12
  slug: "DOCUSIGN_LIST_USERS_FOR_ACCOUNT",
13
13
  name: "List Users For Account",
14
14
  description: "List users on the DocuSign account.",
@@ -35,7 +35,7 @@ const listUsersForAccount = defineRestOperation({
35
35
  })
36
36
  });
37
37
  const addNewUsersToASpecifiedAccount = defineRestOperation({
38
- id: "add_new_users_to_a_specified_account",
38
+ id: "docusign.add-new-users-to-a-specified-account",
39
39
  slug: "DOCUSIGN_ADD_NEW_USERS_TO_A_SPECIFIED_ACCOUNT",
40
40
  name: "Add New Users",
41
41
  description: "Invite new users to the account.",
@@ -47,7 +47,7 @@ const addNewUsersToASpecifiedAccount = defineRestOperation({
47
47
  body: (input) => ({ newUsers: input.newUsers })
48
48
  });
49
49
  const getUserInformationById = defineRestOperation({
50
- id: "get_user_information_by_id",
50
+ id: "docusign.get-user-information-by-id",
51
51
  slug: "DOCUSIGN_GET_USER_INFORMATION_BY_ID",
52
52
  name: "Get User Information By Id",
53
53
  description: "Retrieve a single user on the account.",
@@ -58,7 +58,7 @@ const getUserInformationById = defineRestOperation({
58
58
  query: (input) => ({ additional_info: input.additionalInfo })
59
59
  });
60
60
  const updateUserInformationForSpecifiedUser = defineRestOperation({
61
- id: "update_user_information_for_specified_user",
61
+ id: "docusign.update-user-information-for-specified-user",
62
62
  slug: "DOCUSIGN_UPDATE_USER_INFORMATION_FOR_SPECIFIED_USER",
63
63
  name: "Update User Information",
64
64
  description: "Update a single user on the account.",
@@ -70,7 +70,7 @@ const updateUserInformationForSpecifiedUser = defineRestOperation({
70
70
  body: (input) => input.user
71
71
  });
72
72
  const changeUsersInAccount = defineRestOperation({
73
- id: "change_users_in_account",
73
+ id: "docusign.change-users-in-account",
74
74
  slug: "DOCUSIGN_CHANGE_USERS_IN_ACCOUNT",
75
75
  name: "Change Users In Account",
76
76
  description: "Batch update users on the account.",
@@ -82,7 +82,7 @@ const changeUsersInAccount = defineRestOperation({
82
82
  body: (input) => ({ users: input.users })
83
83
  });
84
84
  const closeUsersInAccount = defineRestOperation({
85
- id: "close_users_in_account",
85
+ id: "docusign.close-users-in-account",
86
86
  slug: "DOCUSIGN_CLOSE_USERS_IN_ACCOUNT",
87
87
  name: "Close Users In Account",
88
88
  description: "Close (deactivate) users on the account.",