@keystrokehq/docusign 0.0.11 → 0.0.16-integration-id-canonicalization.0

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 (130) hide show
  1. package/README.md +3 -2
  2. package/dist/credential-sets/index.d.mts +2 -0
  3. package/dist/credential-sets/index.mjs +4 -0
  4. package/dist/docusign-jwt.credential-set-B0sXS-5i.mjs +39 -0
  5. package/dist/docusign-jwt.credential-set-Bz99DTgx.d.mts +90 -0
  6. package/dist/docusign.credential-set-DRhK9ICD.mjs +183 -0
  7. package/dist/index.d.mts +4 -1
  8. package/dist/index.mjs +6 -1
  9. package/dist/operations/index.d.mts +2 -0
  10. package/dist/operations/index.mjs +3 -0
  11. package/dist/void-envelope.operation-Bim49UXq.mjs +8192 -0
  12. package/dist/void-envelope.operation-D-onxqe_.d.mts +18203 -0
  13. package/package.json +9 -225
  14. package/dist/_official/index.d.mts +0 -89
  15. package/dist/_official/index.mjs +0 -3
  16. package/dist/_runtime/index.d.mts +0 -1
  17. package/dist/_runtime/index.mjs +0 -1
  18. package/dist/account-custom-fields.d.mts +0 -65
  19. package/dist/account-custom-fields.mjs +0 -63
  20. package/dist/account-stamps.d.mts +0 -164
  21. package/dist/account-stamps.mjs +0 -144
  22. package/dist/account-tabs.d.mts +0 -90
  23. package/dist/account-tabs.mjs +0 -80
  24. package/dist/account.d.mts +0 -233
  25. package/dist/account.mjs +0 -207
  26. package/dist/admin.d.mts +0 -18
  27. package/dist/admin.mjs +0 -20
  28. package/dist/auth.d.mts +0 -37
  29. package/dist/auth.mjs +0 -53
  30. package/dist/bcc-archive.d.mts +0 -64
  31. package/dist/bcc-archive.mjs +0 -70
  32. package/dist/billing.d.mts +0 -217
  33. package/dist/billing.mjs +0 -208
  34. package/dist/brands.d.mts +0 -192
  35. package/dist/brands.mjs +0 -157
  36. package/dist/bulk-send.d.mts +0 -137
  37. package/dist/bulk-send.mjs +0 -115
  38. package/dist/chunked-uploads.d.mts +0 -78
  39. package/dist/chunked-uploads.mjs +0 -74
  40. package/dist/click.d.mts +0 -18
  41. package/dist/click.mjs +0 -20
  42. package/dist/client.d.mts +0 -47
  43. package/dist/client.mjs +0 -286
  44. package/dist/clm.d.mts +0 -18
  45. package/dist/clm.mjs +0 -20
  46. package/dist/cloud-storage.d.mts +0 -122
  47. package/dist/cloud-storage.mjs +0 -115
  48. package/dist/connect.d.mts +0 -252
  49. package/dist/connect.mjs +0 -217
  50. package/dist/connection.d.mts +0 -2
  51. package/dist/connection.mjs +0 -3
  52. package/dist/contacts.d.mts +0 -80
  53. package/dist/contacts.mjs +0 -79
  54. package/dist/enote.d.mts +0 -44
  55. package/dist/enote.mjs +0 -45
  56. package/dist/envelope-attachments.d.mts +0 -86
  57. package/dist/envelope-attachments.mjs +0 -76
  58. package/dist/envelope-custom-fields.d.mts +0 -166
  59. package/dist/envelope-custom-fields.mjs +0 -92
  60. package/dist/envelope-documents.d.mts +0 -271
  61. package/dist/envelope-documents.mjs +0 -219
  62. package/dist/envelope-email.d.mts +0 -65
  63. package/dist/envelope-email.mjs +0 -60
  64. package/dist/envelope-lock.d.mts +0 -65
  65. package/dist/envelope-lock.mjs +0 -60
  66. package/dist/envelope-logs.d.mts +0 -126
  67. package/dist/envelope-logs.mjs +0 -126
  68. package/dist/envelope-notifications.d.mts +0 -47
  69. package/dist/envelope-notifications.mjs +0 -44
  70. package/dist/envelope-recipients.d.mts +0 -171
  71. package/dist/envelope-recipients.mjs +0 -136
  72. package/dist/envelope-tabs.d.mts +0 -52
  73. package/dist/envelope-tabs.mjs +0 -49
  74. package/dist/envelope-views.d.mts +0 -99
  75. package/dist/envelope-views.mjs +0 -88
  76. package/dist/envelope-workflow.d.mts +0 -208
  77. package/dist/envelope-workflow.mjs +0 -176
  78. package/dist/envelopes.d.mts +0 -430
  79. package/dist/envelopes.mjs +0 -190
  80. package/dist/errors.d.mts +0 -48
  81. package/dist/errors.mjs +0 -76
  82. package/dist/events.d.mts +0 -192
  83. package/dist/events.mjs +0 -146
  84. package/dist/factory-DFejlPDe.mjs +0 -7
  85. package/dist/groups.d.mts +0 -191
  86. package/dist/groups.mjs +0 -146
  87. package/dist/integration-BcEp_dFX.mjs +0 -365
  88. package/dist/integration-CdIRNjCz.d.mts +0 -72
  89. package/dist/messaging.d.mts +0 -1
  90. package/dist/messaging.mjs +0 -1
  91. package/dist/monitor.d.mts +0 -18
  92. package/dist/monitor.mjs +0 -20
  93. package/dist/notary.d.mts +0 -129
  94. package/dist/notary.mjs +0 -122
  95. package/dist/operation-helpers-Bqp7KoLi.mjs +0 -102
  96. package/dist/permission-profiles.d.mts +0 -78
  97. package/dist/permission-profiles.mjs +0 -70
  98. package/dist/power-forms.d.mts +0 -51
  99. package/dist/power-forms.mjs +0 -62
  100. package/dist/rooms.d.mts +0 -18
  101. package/dist/rooms.mjs +0 -28
  102. package/dist/shared-DTUCJayR.mjs +0 -27
  103. package/dist/signing-groups.d.mts +0 -139
  104. package/dist/signing-groups.mjs +0 -117
  105. package/dist/template-custom-fields.d.mts +0 -199
  106. package/dist/template-custom-fields.mjs +0 -107
  107. package/dist/template-documents.d.mts +0 -132
  108. package/dist/template-documents.mjs +0 -109
  109. package/dist/template-lock.d.mts +0 -65
  110. package/dist/template-lock.mjs +0 -60
  111. package/dist/template-sharing.d.mts +0 -129
  112. package/dist/template-sharing.mjs +0 -108
  113. package/dist/template-workflow.d.mts +0 -184
  114. package/dist/template-workflow.mjs +0 -152
  115. package/dist/templates.d.mts +0 -158
  116. package/dist/templates.mjs +0 -110
  117. package/dist/user-authorizations.d.mts +0 -129
  118. package/dist/user-authorizations.mjs +0 -133
  119. package/dist/user-custom-settings.d.mts +0 -81
  120. package/dist/user-custom-settings.mjs +0 -69
  121. package/dist/user-profile.d.mts +0 -109
  122. package/dist/user-profile.mjs +0 -106
  123. package/dist/user-signatures.d.mts +0 -208
  124. package/dist/user-signatures.mjs +0 -180
  125. package/dist/users.d.mts +0 -128
  126. package/dist/users.mjs +0 -98
  127. package/dist/verification.d.mts +0 -19
  128. package/dist/verification.mjs +0 -59
  129. package/dist/workspaces.d.mts +0 -173
  130. package/dist/workspaces.mjs +0 -143
@@ -1,144 +0,0 @@
1
- import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-Bqp7KoLi.mjs";
3
- import { z } from "zod";
4
-
5
- //#region src/account-stamps.ts
6
- /**
7
- * Account stamps + watermark. Covers PLAN.md § 6.34.
8
- */
9
- const stampId = z.object({ stampId: z.string().min(1) });
10
- const binaryResponseSchema = docusignLooseObjectSchema({
11
- contentType: z.string().optional(),
12
- contentDisposition: z.string().optional(),
13
- status: z.number(),
14
- body: z.string()
15
- });
16
- const addOrUpdateAccountStamps = defineRestOperation({
17
- id: "docusign.add-or-update-account-stamps",
18
- slug: "DOCUSIGN_ADD_OR_UPDATE_ACCOUNT_STAMPS",
19
- name: "Add Or Update Account Stamps",
20
- description: "Add or update account stamp configurations.",
21
- needsApproval: true,
22
- method: "PUT",
23
- path: "/stamps",
24
- input: z.object({ stamps: z.array(docusignLooseObjectSchema()).min(1) }),
25
- output: docusignGenericObjectSchema,
26
- body: (input) => ({ stamps: input.stamps })
27
- });
28
- const retrieveAvailableAccountStamps = defineRestOperation({
29
- id: "docusign.retrieve-available-account-stamps",
30
- slug: "DOCUSIGN_RETRIEVE_AVAILABLE_ACCOUNT_STAMPS",
31
- name: "Retrieve Available Account Stamps",
32
- description: "Retrieve the available account stamps.",
33
- method: "GET",
34
- path: "/stamps",
35
- input: z.object({ status: z.string().optional() }),
36
- output: docusignGenericObjectSchema,
37
- query: (input) => ({ status: input.status })
38
- });
39
- const getSpecifiedAccountStampInfo = defineRestOperation({
40
- id: "docusign.get-specified-account-stamp-info",
41
- slug: "DOCUSIGN_GET_SPECIFIED_ACCOUNT_STAMP_INFO",
42
- name: "Get Account Stamp Info",
43
- description: "Retrieve metadata for a specific account stamp.",
44
- method: "GET",
45
- path: (ctx) => `/stamps/${ctx.encode(String(ctx.input.stampId))}`,
46
- input: stampId,
47
- output: docusignGenericObjectSchema
48
- });
49
- const getAccountStampImage = defineBinaryOperation({
50
- id: "docusign.get-account-stamp-image",
51
- slug: "DOCUSIGN_GET_ACCOUNT_STAMP_IMAGE",
52
- name: "Get Account Stamp Image",
53
- description: "Download the image for an account stamp.",
54
- method: "GET",
55
- path: (ctx) => `/stamps/${ctx.encode(String(ctx.input.stampId))}/${ctx.encode(String(ctx.input.stampFormat ?? "image"))}`,
56
- input: stampId.extend({ stampFormat: z.string().optional() }),
57
- accept: "image/png",
58
- output: binaryResponseSchema
59
- });
60
- const updateAccountStampById = defineRestOperation({
61
- id: "docusign.update-account-stamp-by-id",
62
- slug: "DOCUSIGN_UPDATE_ACCOUNT_STAMP_BY_ID",
63
- name: "Update Account Stamp By Id",
64
- description: "Update a specific account stamp.",
65
- needsApproval: true,
66
- method: "PUT",
67
- path: (ctx) => `/stamps/${ctx.encode(String(ctx.input.stampId))}`,
68
- input: stampId.extend({ stamp: docusignLooseObjectSchema() }),
69
- output: docusignGenericObjectSchema,
70
- body: (input) => input.stamp
71
- });
72
- const updateAccountStamps = defineRestOperation({
73
- id: "docusign.update-account-stamps",
74
- slug: "DOCUSIGN_UPDATE_ACCOUNT_STAMPS",
75
- name: "Update Account Stamps",
76
- description: "Batch update account stamps.",
77
- needsApproval: true,
78
- method: "POST",
79
- path: "/stamps",
80
- input: z.object({ stamps: z.array(docusignLooseObjectSchema()).min(1) }),
81
- output: docusignGenericObjectSchema,
82
- body: (input) => ({ stamps: input.stamps })
83
- });
84
- const deleteAccountStamp = defineRestOperation({
85
- id: "docusign.delete-account-stamp",
86
- slug: "DOCUSIGN_DELETE_ACCOUNT_STAMP",
87
- name: "Delete Account Stamp",
88
- description: "Delete a single account stamp.",
89
- needsApproval: true,
90
- method: "DELETE",
91
- path: (ctx) => `/stamps/${ctx.encode(String(ctx.input.stampId))}`,
92
- input: stampId,
93
- output: docusignSuccessSchema,
94
- transformResponse: () => ({ success: true })
95
- });
96
- const deleteStampImageForAccount = defineRestOperation({
97
- id: "docusign.delete-stamp-image-for-account",
98
- slug: "DOCUSIGN_DELETE_STAMP_IMAGE_FOR_ACCOUNT",
99
- name: "Delete Stamp Image",
100
- description: "Delete the image for an account stamp.",
101
- needsApproval: true,
102
- method: "DELETE",
103
- path: (ctx) => `/stamps/${ctx.encode(String(ctx.input.stampId))}/${ctx.encode(String(ctx.input.stampFormat ?? "image"))}`,
104
- input: stampId.extend({ stampFormat: z.string().optional() }),
105
- output: docusignSuccessSchema,
106
- transformResponse: () => ({ success: true })
107
- });
108
- const getWatermarkDetailsForAccount = defineRestOperation({
109
- id: "docusign.get-watermark-details-for-account",
110
- slug: "DOCUSIGN_GET_WATERMARK_DETAILS_FOR_ACCOUNT",
111
- name: "Get Watermark Details",
112
- description: "Retrieve watermark details for the account.",
113
- method: "GET",
114
- path: "/watermark",
115
- input: z.object({}),
116
- output: docusignGenericObjectSchema
117
- });
118
- const updateAccountWatermarkInformation = defineRestOperation({
119
- id: "docusign.update-account-watermark-information",
120
- slug: "DOCUSIGN_UPDATE_ACCOUNT_WATERMARK_INFORMATION",
121
- name: "Update Account Watermark",
122
- description: "Update the account watermark.",
123
- needsApproval: true,
124
- method: "PUT",
125
- path: "/watermark",
126
- input: z.object({ watermark: docusignLooseObjectSchema() }),
127
- output: docusignGenericObjectSchema,
128
- body: (input) => input.watermark
129
- });
130
- const updateAccountWatermarkPreview = defineRestOperation({
131
- id: "docusign.update-account-watermark-preview",
132
- slug: "DOCUSIGN_UPDATE_ACCOUNT_WATERMARK_PREVIEW",
133
- name: "Update Account Watermark Preview",
134
- description: "Preview a watermark update.",
135
- needsApproval: true,
136
- method: "PUT",
137
- path: "/watermark/preview",
138
- input: z.object({ watermark: docusignLooseObjectSchema() }),
139
- output: docusignGenericObjectSchema,
140
- body: (input) => input.watermark
141
- });
142
-
143
- //#endregion
144
- export { addOrUpdateAccountStamps, deleteAccountStamp, deleteStampImageForAccount, getAccountStampImage, getSpecifiedAccountStampInfo, getWatermarkDetailsForAccount, retrieveAvailableAccountStamps, updateAccountStampById, updateAccountStamps, updateAccountWatermarkInformation, updateAccountWatermarkPreview };
@@ -1,90 +0,0 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
- import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
-
5
- //#region src/account-tabs.d.ts
6
- declare const getTabSettingsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
7
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
8
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
9
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
10
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
11
- DOCUSIGN_BASE_URI: z.ZodURL;
12
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
13
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
14
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
15
- DOCUSIGN_BASE_URI: z.ZodURL;
16
- }, z.core.$strip>>[] | undefined>], undefined>;
17
- declare const modifyTabSettingsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
18
- tabSettings: z.ZodObject<{
19
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
20
- }, z.core.$catchall<z.ZodUnknown>>;
21
- }, z.core.$strip>, z.ZodObject<{
22
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
23
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
24
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
25
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
26
- DOCUSIGN_BASE_URI: z.ZodURL;
27
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
28
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
29
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
30
- DOCUSIGN_BASE_URI: z.ZodURL;
31
- }, z.core.$strip>>[] | undefined>], undefined>;
32
- declare const createCustomTabWithProperties: _keystrokehq_core0.Operation<z.ZodObject<{
33
- tab: z.ZodObject<{
34
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
35
- }, z.core.$catchall<z.ZodUnknown>>;
36
- }, z.core.$strip>, z.ZodObject<{
37
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
38
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
39
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
40
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
41
- DOCUSIGN_BASE_URI: z.ZodURL;
42
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
43
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
44
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
45
- DOCUSIGN_BASE_URI: z.ZodURL;
46
- }, z.core.$strip>>[] | undefined>], undefined>;
47
- declare const retrieveCustomTabInformation: _keystrokehq_core0.Operation<z.ZodObject<{
48
- customTabId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
51
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
52
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
53
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
54
- DOCUSIGN_BASE_URI: z.ZodURL;
55
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
56
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
57
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
58
- DOCUSIGN_BASE_URI: z.ZodURL;
59
- }, z.core.$strip>>[] | undefined>], undefined>;
60
- declare const updateCustomTabInformationForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
61
- customTabId: z.ZodString;
62
- tab: z.ZodObject<{
63
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
64
- }, z.core.$catchall<z.ZodUnknown>>;
65
- }, z.core.$strip>, z.ZodObject<{
66
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
67
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
68
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
69
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
70
- DOCUSIGN_BASE_URI: z.ZodURL;
71
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
72
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
73
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
74
- DOCUSIGN_BASE_URI: z.ZodURL;
75
- }, z.core.$strip>>[] | undefined>], undefined>;
76
- declare const deleteCustomTabInformation: _keystrokehq_core0.Operation<z.ZodObject<{
77
- customTabId: z.ZodString;
78
- }, z.core.$strip>, z.ZodObject<{
79
- success: z.ZodBoolean;
80
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
81
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
82
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
83
- DOCUSIGN_BASE_URI: z.ZodURL;
84
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
85
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
86
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
87
- DOCUSIGN_BASE_URI: z.ZodURL;
88
- }, z.core.$strip>>[] | undefined>], undefined>;
89
- //#endregion
90
- export { createCustomTabWithProperties, deleteCustomTabInformation, getTabSettingsForAccount, modifyTabSettingsForAccount, retrieveCustomTabInformation, updateCustomTabInformationForAccount };
@@ -1,80 +0,0 @@
1
- import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
3
- import { z } from "zod";
4
-
5
- //#region src/account-tabs.ts
6
- /**
7
- * Account tabs + custom tabs. Covers PLAN.md § 6.33.
8
- */
9
- const customTabId = z.object({ customTabId: z.string().min(1) });
10
- const getTabSettingsForAccount = defineRestOperation({
11
- id: "docusign.get-tab-settings-for-account",
12
- slug: "DOCUSIGN_GET_TAB_SETTINGS_FOR_ACCOUNT",
13
- name: "Get Tab Settings For Account",
14
- description: "Retrieve tab settings for the account.",
15
- method: "GET",
16
- path: "/settings/tabs",
17
- input: z.object({}),
18
- output: docusignGenericObjectSchema
19
- });
20
- const modifyTabSettingsForAccount = defineRestOperation({
21
- id: "docusign.modify-tab-settings-for-account",
22
- slug: "DOCUSIGN_MODIFY_TAB_SETTINGS_FOR_ACCOUNT",
23
- name: "Modify Tab Settings",
24
- description: "Update tab settings for the account.",
25
- needsApproval: true,
26
- method: "PUT",
27
- path: "/settings/tabs",
28
- input: z.object({ tabSettings: docusignLooseObjectSchema() }),
29
- output: docusignGenericObjectSchema,
30
- body: (input) => input.tabSettings
31
- });
32
- const createCustomTabWithProperties = defineRestOperation({
33
- id: "docusign.create-custom-tab-with-properties",
34
- slug: "DOCUSIGN_CREATE_CUSTOM_TAB_WITH_PROPERTIES",
35
- name: "Create Custom Tab",
36
- description: "Create a custom tab on the account.",
37
- needsApproval: true,
38
- method: "POST",
39
- path: "/tab_definitions",
40
- input: z.object({ tab: docusignLooseObjectSchema() }),
41
- output: docusignGenericObjectSchema,
42
- body: (input) => input.tab
43
- });
44
- const retrieveCustomTabInformation = defineRestOperation({
45
- id: "docusign.retrieve-custom-tab-information",
46
- slug: "DOCUSIGN_RETRIEVE_CUSTOM_TAB_INFORMATION",
47
- name: "Retrieve Custom Tab Information",
48
- description: "Retrieve information for a specific custom tab definition.",
49
- method: "GET",
50
- path: (ctx) => `/tab_definitions/${ctx.encode(String(ctx.input.customTabId))}`,
51
- input: customTabId,
52
- output: docusignGenericObjectSchema
53
- });
54
- const updateCustomTabInformationForAccount = defineRestOperation({
55
- id: "docusign.update-custom-tab-information-for-account",
56
- slug: "DOCUSIGN_UPDATE_CUSTOM_TAB_INFORMATION_FOR_ACCOUNT",
57
- name: "Update Custom Tab Information",
58
- description: "Update a custom tab definition.",
59
- needsApproval: true,
60
- method: "PUT",
61
- path: (ctx) => `/tab_definitions/${ctx.encode(String(ctx.input.customTabId))}`,
62
- input: customTabId.extend({ tab: docusignLooseObjectSchema() }),
63
- output: docusignGenericObjectSchema,
64
- body: (input) => input.tab
65
- });
66
- const deleteCustomTabInformation = defineRestOperation({
67
- id: "docusign.delete-custom-tab-information",
68
- slug: "DOCUSIGN_DELETE_CUSTOM_TAB_INFORMATION",
69
- name: "Delete Custom Tab Information",
70
- description: "Delete a custom tab definition.",
71
- needsApproval: true,
72
- method: "DELETE",
73
- path: (ctx) => `/tab_definitions/${ctx.encode(String(ctx.input.customTabId))}`,
74
- input: customTabId,
75
- output: docusignSuccessSchema,
76
- transformResponse: () => ({ success: true })
77
- });
78
-
79
- //#endregion
80
- export { createCustomTabWithProperties, deleteCustomTabInformation, getTabSettingsForAccount, modifyTabSettingsForAccount, retrieveCustomTabInformation, updateCustomTabInformationForAccount };
@@ -1,233 +0,0 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
- import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
-
5
- //#region src/account.d.ts
6
- declare const retrieveAccountInformationForSpecifiedAccount: _keystrokehq_core0.Operation<z.ZodObject<{
7
- includeAccountSettings: z.ZodOptional<z.ZodBoolean>;
8
- }, z.core.$strip>, z.ZodObject<{
9
- accountIdGuid: z.ZodOptional<z.ZodString>;
10
- accountName: z.ZodOptional<z.ZodString>;
11
- billingPeriodEndDate: z.ZodOptional<z.ZodString>;
12
- billingPeriodEnvelopesAllowed: z.ZodOptional<z.ZodString>;
13
- billingPeriodEnvelopesSent: z.ZodOptional<z.ZodString>;
14
- planClassification: z.ZodOptional<z.ZodString>;
15
- planName: z.ZodOptional<z.ZodString>;
16
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
17
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
18
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
19
- DOCUSIGN_BASE_URI: z.ZodURL;
20
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
21
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
22
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
23
- DOCUSIGN_BASE_URI: z.ZodURL;
24
- }, z.core.$strip>>[] | undefined>], undefined>;
25
- declare const deleteSpecifiedAccount: _keystrokehq_core0.Operation<z.ZodObject<{
26
- redactUserData: z.ZodOptional<z.ZodBoolean>;
27
- }, z.core.$strip>, z.ZodObject<{
28
- success: z.ZodBoolean;
29
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
30
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
31
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
32
- DOCUSIGN_BASE_URI: z.ZodURL;
33
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
34
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
35
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
36
- DOCUSIGN_BASE_URI: z.ZodURL;
37
- }, z.core.$strip>>[] | undefined>], undefined>;
38
- declare const retrieveAccountSettingsInformation: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
39
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
40
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
41
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
42
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
43
- DOCUSIGN_BASE_URI: z.ZodURL;
44
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
45
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
46
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
47
- DOCUSIGN_BASE_URI: z.ZodURL;
48
- }, z.core.$strip>>[] | undefined>], undefined>;
49
- declare const updateAccountSettings: _keystrokehq_core0.Operation<z.ZodObject<{
50
- accountSettings: z.ZodObject<{
51
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
52
- }, z.core.$catchall<z.ZodUnknown>>;
53
- }, z.core.$strip>, z.ZodObject<{
54
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
55
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
56
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
57
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
58
- DOCUSIGN_BASE_URI: z.ZodURL;
59
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
60
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
61
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
62
- DOCUSIGN_BASE_URI: z.ZodURL;
63
- }, z.core.$strip>>[] | undefined>], undefined>;
64
- declare const getAccountPasswordRules: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
65
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
66
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
67
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
68
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
69
- DOCUSIGN_BASE_URI: z.ZodURL;
70
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
71
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
72
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
73
- DOCUSIGN_BASE_URI: z.ZodURL;
74
- }, z.core.$strip>>[] | undefined>], undefined>;
75
- declare const retrieveAccountPasswordRules: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
76
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
77
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
78
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
79
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
80
- DOCUSIGN_BASE_URI: z.ZodURL;
81
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
82
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
83
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
84
- DOCUSIGN_BASE_URI: z.ZodURL;
85
- }, z.core.$strip>>[] | undefined>], undefined>;
86
- declare const updateAccountPasswordRules: _keystrokehq_core0.Operation<z.ZodObject<{
87
- passwordRules: z.ZodObject<{
88
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
89
- }, z.core.$catchall<z.ZodUnknown>>;
90
- }, z.core.$strip>, z.ZodObject<{
91
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
92
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
93
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
94
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
95
- DOCUSIGN_BASE_URI: z.ZodURL;
96
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
97
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
98
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
99
- DOCUSIGN_BASE_URI: z.ZodURL;
100
- }, z.core.$strip>>[] | undefined>], undefined>;
101
- declare const retrieveAccountProvisioningInfo: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
102
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
103
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
104
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
105
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
106
- DOCUSIGN_BASE_URI: z.ZodURL;
107
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
108
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
109
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
110
- DOCUSIGN_BASE_URI: z.ZodURL;
111
- }, z.core.$strip>>[] | undefined>], undefined>;
112
- declare const retrieveAccountSealProviders: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
113
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
114
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
115
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
116
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
117
- DOCUSIGN_BASE_URI: z.ZodURL;
118
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
119
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
120
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
121
- DOCUSIGN_BASE_URI: z.ZodURL;
122
- }, z.core.$strip>>[] | undefined>], undefined>;
123
- declare const retrieveAccountEnvelopePurgeConfig: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
124
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
125
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
126
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
127
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
128
- DOCUSIGN_BASE_URI: z.ZodURL;
129
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
130
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
131
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
132
- DOCUSIGN_BASE_URI: z.ZodURL;
133
- }, z.core.$strip>>[] | undefined>], undefined>;
134
- declare const setEnvelopePurgeConfigForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
135
- config: z.ZodObject<{
136
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
137
- }, z.core.$catchall<z.ZodUnknown>>;
138
- }, z.core.$strip>, z.ZodObject<{
139
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
140
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
141
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
142
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
143
- DOCUSIGN_BASE_URI: z.ZodURL;
144
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
145
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
146
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
147
- DOCUSIGN_BASE_URI: z.ZodURL;
148
- }, z.core.$strip>>[] | undefined>], undefined>;
149
- declare const retrieveAccountVerificationWorkflows: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
150
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
151
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
152
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
153
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
154
- DOCUSIGN_BASE_URI: z.ZodURL;
155
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
156
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
157
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
158
- DOCUSIGN_BASE_URI: z.ZodURL;
159
- }, z.core.$strip>>[] | undefined>], undefined>;
160
- declare const listSignatureProvidersForAccount: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
161
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
162
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
163
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
164
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
165
- DOCUSIGN_BASE_URI: z.ZodURL;
166
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
167
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
168
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
169
- DOCUSIGN_BASE_URI: z.ZodURL;
170
- }, z.core.$strip>>[] | undefined>], undefined>;
171
- declare const getSupportedLanguagesForRecipients: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
172
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
173
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
174
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
175
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
176
- DOCUSIGN_BASE_URI: z.ZodURL;
177
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
178
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
179
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
180
- DOCUSIGN_BASE_URI: z.ZodURL;
181
- }, z.core.$strip>>[] | undefined>], undefined>;
182
- declare const getUnsupportedFileTypesList: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
183
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
184
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
185
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
186
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
187
- DOCUSIGN_BASE_URI: z.ZodURL;
188
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
189
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
190
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
191
- DOCUSIGN_BASE_URI: z.ZodURL;
192
- }, z.core.$strip>>[] | undefined>], undefined>;
193
- declare const modifyAccountNotificationSettings: _keystrokehq_core0.Operation<z.ZodObject<{
194
- notifications: z.ZodObject<{
195
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
196
- }, z.core.$catchall<z.ZodUnknown>>;
197
- }, z.core.$strip>, z.ZodObject<{
198
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
199
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
200
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
201
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
202
- DOCUSIGN_BASE_URI: z.ZodURL;
203
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
204
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
205
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
206
- DOCUSIGN_BASE_URI: z.ZodURL;
207
- }, z.core.$strip>>[] | undefined>], undefined>;
208
- declare const listResourcesForRestVersionSpecified: _keystrokehq_core0.Operation<z.ZodObject<{
209
- version: z.ZodOptional<z.ZodString>;
210
- }, z.core.$strip>, z.ZodObject<{
211
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
212
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
213
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
214
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
215
- DOCUSIGN_BASE_URI: z.ZodURL;
216
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
217
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
218
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
219
- DOCUSIGN_BASE_URI: z.ZodURL;
220
- }, z.core.$strip>>[] | undefined>], undefined>;
221
- declare const retrieveRestApiVersions: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
222
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
223
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
224
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
225
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
226
- DOCUSIGN_BASE_URI: z.ZodURL;
227
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
228
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
229
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
230
- DOCUSIGN_BASE_URI: z.ZodURL;
231
- }, z.core.$strip>>[] | undefined>], undefined>;
232
- //#endregion
233
- export { deleteSpecifiedAccount, getAccountPasswordRules, getSupportedLanguagesForRecipients, getUnsupportedFileTypesList, listResourcesForRestVersionSpecified, listSignatureProvidersForAccount, modifyAccountNotificationSettings, retrieveAccountEnvelopePurgeConfig, retrieveAccountInformationForSpecifiedAccount, retrieveAccountPasswordRules, retrieveAccountProvisioningInfo, retrieveAccountSealProviders, retrieveAccountSettingsInformation, retrieveAccountVerificationWorkflows, retrieveRestApiVersions, setEnvelopePurgeConfigForAccount, updateAccountPasswordRules, updateAccountSettings };