@keystrokehq/docusign 0.0.15 → 0.0.16-integration-id-canonicalization.1

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-BrMnF4Ok.d.mts +63 -0
  6. package/dist/docusign.credential-set-BloJ2PrK.mjs +51 -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-B0nzxjWT.d.mts +8752 -0
  12. package/dist/void-envelope.operation-CfaS-zI7.mjs +8192 -0
  13. package/package.json +11 -227
  14. package/dist/_official/index.d.mts +0 -75
  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 -48
  19. package/dist/account-custom-fields.mjs +0 -63
  20. package/dist/account-stamps.d.mts +0 -119
  21. package/dist/account-stamps.mjs +0 -144
  22. package/dist/account-tabs.d.mts +0 -65
  23. package/dist/account-tabs.mjs +0 -80
  24. package/dist/account.d.mts +0 -160
  25. package/dist/account.mjs +0 -207
  26. package/dist/admin.d.mts +0 -13
  27. package/dist/admin.mjs +0 -20
  28. package/dist/auth.d.mts +0 -28
  29. package/dist/auth.mjs +0 -64
  30. package/dist/bcc-archive.d.mts +0 -47
  31. package/dist/bcc-archive.mjs +0 -70
  32. package/dist/billing.d.mts +0 -152
  33. package/dist/billing.mjs +0 -208
  34. package/dist/brands.d.mts +0 -147
  35. package/dist/brands.mjs +0 -157
  36. package/dist/bulk-send.d.mts +0 -104
  37. package/dist/bulk-send.mjs +0 -115
  38. package/dist/chunked-uploads.d.mts +0 -57
  39. package/dist/chunked-uploads.mjs +0 -74
  40. package/dist/click.d.mts +0 -13
  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 -13
  45. package/dist/clm.mjs +0 -20
  46. package/dist/cloud-storage.d.mts +0 -93
  47. package/dist/cloud-storage.mjs +0 -115
  48. package/dist/connect.d.mts +0 -183
  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 -59
  53. package/dist/contacts.mjs +0 -79
  54. package/dist/enote.d.mts +0 -31
  55. package/dist/enote.mjs +0 -45
  56. package/dist/envelope-attachments.d.mts +0 -65
  57. package/dist/envelope-attachments.mjs +0 -76
  58. package/dist/envelope-custom-fields.d.mts +0 -137
  59. package/dist/envelope-custom-fields.mjs +0 -92
  60. package/dist/envelope-documents.d.mts +0 -206
  61. package/dist/envelope-documents.mjs +0 -219
  62. package/dist/envelope-email.d.mts +0 -48
  63. package/dist/envelope-email.mjs +0 -60
  64. package/dist/envelope-lock.d.mts +0 -48
  65. package/dist/envelope-lock.mjs +0 -60
  66. package/dist/envelope-logs.d.mts +0 -89
  67. package/dist/envelope-logs.mjs +0 -126
  68. package/dist/envelope-notifications.d.mts +0 -34
  69. package/dist/envelope-notifications.mjs +0 -44
  70. package/dist/envelope-recipients.d.mts +0 -126
  71. package/dist/envelope-recipients.mjs +0 -136
  72. package/dist/envelope-tabs.d.mts +0 -39
  73. package/dist/envelope-tabs.mjs +0 -49
  74. package/dist/envelope-views.d.mts +0 -74
  75. package/dist/envelope-views.mjs +0 -88
  76. package/dist/envelope-workflow.d.mts +0 -151
  77. package/dist/envelope-workflow.mjs +0 -176
  78. package/dist/envelopes.d.mts +0 -377
  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-5kY-Jnda.mjs +0 -8
  85. package/dist/groups.d.mts +0 -150
  86. package/dist/groups.mjs +0 -146
  87. package/dist/integration-H05G5JY8.mjs +0 -112
  88. package/dist/integration-Mk1ScWT6.d.mts +0 -30
  89. package/dist/messaging.d.mts +0 -1
  90. package/dist/messaging.mjs +0 -1
  91. package/dist/monitor.d.mts +0 -13
  92. package/dist/monitor.mjs +0 -20
  93. package/dist/notary.d.mts +0 -92
  94. package/dist/notary.mjs +0 -122
  95. package/dist/operation-helpers-D25WHTo1.mjs +0 -102
  96. package/dist/permission-profiles.d.mts +0 -57
  97. package/dist/permission-profiles.mjs +0 -70
  98. package/dist/power-forms.d.mts +0 -38
  99. package/dist/power-forms.mjs +0 -62
  100. package/dist/rooms.d.mts +0 -13
  101. package/dist/rooms.mjs +0 -28
  102. package/dist/shared-DTUCJayR.mjs +0 -27
  103. package/dist/signing-groups.d.mts +0 -102
  104. package/dist/signing-groups.mjs +0 -117
  105. package/dist/template-custom-fields.d.mts +0 -166
  106. package/dist/template-custom-fields.mjs +0 -107
  107. package/dist/template-documents.d.mts +0 -99
  108. package/dist/template-documents.mjs +0 -109
  109. package/dist/template-lock.d.mts +0 -48
  110. package/dist/template-lock.mjs +0 -60
  111. package/dist/template-sharing.d.mts +0 -96
  112. package/dist/template-sharing.mjs +0 -108
  113. package/dist/template-workflow.d.mts +0 -135
  114. package/dist/template-workflow.mjs +0 -152
  115. package/dist/templates.d.mts +0 -129
  116. package/dist/templates.mjs +0 -110
  117. package/dist/user-authorizations.d.mts +0 -96
  118. package/dist/user-authorizations.mjs +0 -133
  119. package/dist/user-custom-settings.d.mts +0 -60
  120. package/dist/user-custom-settings.mjs +0 -69
  121. package/dist/user-profile.d.mts +0 -80
  122. package/dist/user-profile.mjs +0 -106
  123. package/dist/user-signatures.d.mts +0 -155
  124. package/dist/user-signatures.mjs +0 -180
  125. package/dist/users.d.mts +0 -103
  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 -128
  130. package/dist/workspaces.mjs +0 -143
@@ -1,183 +0,0 @@
1
- import { z } from "zod";
2
- import * as _keystrokehq_core0 from "@keystrokehq/core";
3
-
4
- //#region src/connect.d.ts
5
- declare const createConnectConfigurationForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
6
- configuration: z.ZodObject<{
7
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
8
- }, z.core.$catchall<z.ZodUnknown>>;
9
- }, z.core.$strip>, z.ZodObject<{
10
- connectId: z.ZodOptional<z.ZodString>;
11
- urlToPublishTo: z.ZodOptional<z.ZodString>;
12
- name: z.ZodOptional<z.ZodString>;
13
- configurationType: z.ZodOptional<z.ZodString>;
14
- allowEnvelopePublish: z.ZodOptional<z.ZodString>;
15
- enableLog: z.ZodOptional<z.ZodString>;
16
- envelopeEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
- recipientEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
19
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
20
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
21
- DOCUSIGN_BASE_URI: z.ZodURL;
22
- }, z.core.$strip>>], undefined>;
23
- declare const updateDocusignConnectConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{
24
- configuration: z.ZodObject<{
25
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
26
- }, z.core.$catchall<z.ZodUnknown>>;
27
- }, z.core.$strip>, z.ZodObject<{
28
- connectId: z.ZodOptional<z.ZodString>;
29
- urlToPublishTo: z.ZodOptional<z.ZodString>;
30
- name: z.ZodOptional<z.ZodString>;
31
- configurationType: z.ZodOptional<z.ZodString>;
32
- allowEnvelopePublish: z.ZodOptional<z.ZodString>;
33
- enableLog: z.ZodOptional<z.ZodString>;
34
- envelopeEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
- recipientEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
37
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
38
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
39
- DOCUSIGN_BASE_URI: z.ZodURL;
40
- }, z.core.$strip>>], undefined>;
41
- declare const retrieveConnectConfigurations: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
42
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
43
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
44
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
45
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
46
- DOCUSIGN_BASE_URI: z.ZodURL;
47
- }, z.core.$strip>>], undefined>;
48
- declare const retrieveConnectConfigurationDetails: _keystrokehq_core0.Operation<z.ZodObject<{
49
- connectId: z.ZodString;
50
- }, z.core.$strip>, z.ZodObject<{
51
- connectId: z.ZodOptional<z.ZodString>;
52
- urlToPublishTo: z.ZodOptional<z.ZodString>;
53
- name: z.ZodOptional<z.ZodString>;
54
- configurationType: z.ZodOptional<z.ZodString>;
55
- allowEnvelopePublish: z.ZodOptional<z.ZodString>;
56
- enableLog: z.ZodOptional<z.ZodString>;
57
- envelopeEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
- recipientEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", 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>;
64
- declare const deleteConnectConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{
65
- connectId: z.ZodString;
66
- }, z.core.$strip>, z.ZodObject<{
67
- success: z.ZodBoolean;
68
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
69
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
70
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
71
- DOCUSIGN_BASE_URI: z.ZodURL;
72
- }, z.core.$strip>>], undefined>;
73
- declare const setUpConnectOauthConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{
74
- oauthConfiguration: z.ZodObject<{
75
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
76
- }, z.core.$catchall<z.ZodUnknown>>;
77
- }, z.core.$strip>, z.ZodObject<{
78
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
79
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
80
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
81
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
82
- DOCUSIGN_BASE_URI: z.ZodURL;
83
- }, z.core.$strip>>], undefined>;
84
- declare const retrieveConnectOauthConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
85
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
86
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
87
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
88
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
89
- DOCUSIGN_BASE_URI: z.ZodURL;
90
- }, z.core.$strip>>], undefined>;
91
- declare const updateConnectOauthConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{
92
- oauthConfiguration: z.ZodObject<{
93
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
94
- }, z.core.$catchall<z.ZodUnknown>>;
95
- }, z.core.$strip>, z.ZodObject<{
96
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
97
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
98
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
99
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
100
- DOCUSIGN_BASE_URI: z.ZodURL;
101
- }, z.core.$strip>>], undefined>;
102
- declare const deleteConnectOauthConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
103
- success: z.ZodBoolean;
104
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
105
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
106
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
107
- DOCUSIGN_BASE_URI: z.ZodURL;
108
- }, z.core.$strip>>], undefined>;
109
- declare const retrieveConnectFailureLogs: _keystrokehq_core0.Operation<z.ZodObject<{
110
- fromDate: z.ZodOptional<z.ZodString>;
111
- toDate: z.ZodOptional<z.ZodString>;
112
- }, 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<"keystroke: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>>], undefined>;
119
- declare const deleteConnectFailureLogEntry: _keystrokehq_core0.Operation<z.ZodObject<{
120
- failureId: z.ZodString;
121
- }, z.core.$strip>, z.ZodObject<{
122
- success: z.ZodBoolean;
123
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
124
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
125
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
126
- DOCUSIGN_BASE_URI: z.ZodURL;
127
- }, z.core.$strip>>], undefined>;
128
- declare const retrieveConnectLogs: _keystrokehq_core0.Operation<z.ZodObject<{
129
- fromDate: z.ZodOptional<z.ZodString>;
130
- toDate: z.ZodOptional<z.ZodString>;
131
- }, z.core.$strip>, z.ZodObject<{
132
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
133
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
134
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
135
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
136
- DOCUSIGN_BASE_URI: z.ZodURL;
137
- }, z.core.$strip>>], undefined>;
138
- declare const retrieveConnectLogEntry: _keystrokehq_core0.Operation<z.ZodObject<{
139
- logId: z.ZodString;
140
- }, z.core.$strip>, z.ZodObject<{
141
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
142
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
143
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
144
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
145
- DOCUSIGN_BASE_URI: z.ZodURL;
146
- }, z.core.$strip>>], undefined>;
147
- declare const deleteConnectLogEntries: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
148
- success: z.ZodBoolean;
149
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
150
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
151
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
152
- DOCUSIGN_BASE_URI: z.ZodURL;
153
- }, z.core.$strip>>], undefined>;
154
- declare const deleteSpecificConnectLogEntry: _keystrokehq_core0.Operation<z.ZodObject<{
155
- logId: z.ZodString;
156
- }, z.core.$strip>, z.ZodObject<{
157
- success: z.ZodBoolean;
158
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
159
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
160
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
161
- DOCUSIGN_BASE_URI: z.ZodURL;
162
- }, z.core.$strip>>], undefined>;
163
- declare const returnAllConnectServiceUsers: _keystrokehq_core0.Operation<z.ZodObject<{
164
- connectId: z.ZodString;
165
- }, z.core.$strip>, z.ZodObject<{
166
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
167
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
168
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
169
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
170
- DOCUSIGN_BASE_URI: z.ZodURL;
171
- }, z.core.$strip>>], undefined>;
172
- declare const returnUsersFromConnectService: _keystrokehq_core0.Operation<z.ZodObject<{
173
- connectId: z.ZodString;
174
- userId: z.ZodString;
175
- }, z.core.$strip>, z.ZodObject<{
176
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
177
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", 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>;
182
- //#endregion
183
- export { createConnectConfigurationForAccount, deleteConnectConfiguration, deleteConnectFailureLogEntry, deleteConnectLogEntries, deleteConnectOauthConfiguration, deleteSpecificConnectLogEntry, retrieveConnectConfigurationDetails, retrieveConnectConfigurations, retrieveConnectFailureLogs, retrieveConnectLogEntry, retrieveConnectLogs, retrieveConnectOauthConfiguration, returnAllConnectServiceUsers, returnUsersFromConnectService, setUpConnectOauthConfiguration, updateConnectOauthConfiguration, updateDocusignConnectConfiguration };
package/dist/connect.mjs DELETED
@@ -1,217 +0,0 @@
1
- import { docusignConnectConfigurationSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
3
- import { z } from "zod";
4
-
5
- //#region src/connect.ts
6
- /**
7
- * Connect configurations, OAuth, failure logs, service users. Covers PLAN.md § 6.36.
8
- */
9
- const connectId = z.object({ connectId: z.string().min(1) });
10
- const logId = z.object({ logId: z.string().min(1) });
11
- const failureId = z.object({ failureId: z.string().min(1) });
12
- const connectUser = connectId.extend({ userId: z.string().min(1) });
13
- const createConnectConfigurationForAccount = defineRestOperation({
14
- id: "docusign.create-connect-configuration-for-account",
15
- slug: "DOCUSIGN_CREATE_CONNECT_CONFIGURATION_FOR_ACCOUNT",
16
- name: "Create Connect Configuration",
17
- description: "Create a DocuSign Connect configuration.",
18
- needsApproval: true,
19
- method: "POST",
20
- path: "/connect",
21
- input: z.object({ configuration: docusignLooseObjectSchema() }),
22
- output: docusignConnectConfigurationSchema,
23
- body: (input) => input.configuration
24
- });
25
- const updateDocusignConnectConfiguration = defineRestOperation({
26
- id: "docusign.update-docusign-connect-configuration",
27
- slug: "DOCUSIGN_UPDATE_DOCUSIGN_CONNECT_CONFIGURATION",
28
- name: "Update Connect Configuration",
29
- description: "Update a DocuSign Connect configuration.",
30
- needsApproval: true,
31
- method: "PUT",
32
- path: "/connect",
33
- input: z.object({ configuration: docusignLooseObjectSchema() }),
34
- output: docusignConnectConfigurationSchema,
35
- body: (input) => input.configuration
36
- });
37
- const retrieveConnectConfigurations = defineRestOperation({
38
- id: "docusign.retrieve-connect-configurations",
39
- slug: "DOCUSIGN_RETRIEVE_CONNECT_CONFIGURATIONS",
40
- name: "Retrieve Connect Configurations",
41
- description: "List Connect configurations on the account.",
42
- method: "GET",
43
- path: "/connect",
44
- input: z.object({}),
45
- output: docusignGenericObjectSchema
46
- });
47
- const retrieveConnectConfigurationDetails = defineRestOperation({
48
- id: "docusign.retrieve-connect-configuration-details",
49
- slug: "DOCUSIGN_RETRIEVE_CONNECT_CONFIGURATION_DETAILS",
50
- name: "Retrieve Connect Configuration Details",
51
- description: "Retrieve details for a single Connect configuration.",
52
- method: "GET",
53
- path: (ctx) => `/connect/${ctx.encode(String(ctx.input.connectId))}`,
54
- input: connectId,
55
- output: docusignConnectConfigurationSchema
56
- });
57
- const deleteConnectConfiguration = defineRestOperation({
58
- id: "docusign.delete-connect-configuration",
59
- slug: "DOCUSIGN_DELETE_CONNECT_CONFIGURATION",
60
- name: "Delete Connect Configuration",
61
- description: "Delete a Connect configuration.",
62
- needsApproval: true,
63
- method: "DELETE",
64
- path: (ctx) => `/connect/${ctx.encode(String(ctx.input.connectId))}`,
65
- input: connectId,
66
- output: docusignSuccessSchema,
67
- transformResponse: () => ({ success: true })
68
- });
69
- const setUpConnectOauthConfiguration = defineRestOperation({
70
- id: "docusign.set-up-connect-oauth-configuration",
71
- slug: "DOCUSIGN_SET_UP_CONNECT_OAUTH_CONFIGURATION",
72
- name: "Set Up Connect OAuth Configuration",
73
- description: "Create an OAuth configuration used by Connect to sign webhooks.",
74
- needsApproval: true,
75
- method: "POST",
76
- path: "/connect/oauth",
77
- input: z.object({ oauthConfiguration: docusignLooseObjectSchema() }),
78
- output: docusignGenericObjectSchema,
79
- body: (input) => input.oauthConfiguration
80
- });
81
- const retrieveConnectOauthConfiguration = defineRestOperation({
82
- id: "docusign.retrieve-connect-oauth-configuration",
83
- slug: "DOCUSIGN_RETRIEVE_CONNECT_OAUTH_CONFIGURATION",
84
- name: "Retrieve Connect OAuth Configuration",
85
- description: "Retrieve the Connect OAuth configuration.",
86
- method: "GET",
87
- path: "/connect/oauth",
88
- input: z.object({}),
89
- output: docusignGenericObjectSchema
90
- });
91
- const updateConnectOauthConfiguration = defineRestOperation({
92
- id: "docusign.update-connect-oauth-configuration",
93
- slug: "DOCUSIGN_UPDATE_CONNECT_OAUTH_CONFIGURATION",
94
- name: "Update Connect OAuth Configuration",
95
- description: "Update the Connect OAuth configuration.",
96
- needsApproval: true,
97
- method: "PUT",
98
- path: "/connect/oauth",
99
- input: z.object({ oauthConfiguration: docusignLooseObjectSchema() }),
100
- output: docusignGenericObjectSchema,
101
- body: (input) => input.oauthConfiguration
102
- });
103
- const deleteConnectOauthConfiguration = defineRestOperation({
104
- id: "docusign.delete-connect-oauth-configuration",
105
- slug: "DOCUSIGN_DELETE_CONNECT_OAUTH_CONFIGURATION",
106
- name: "Delete Connect OAuth Configuration",
107
- description: "Delete the Connect OAuth configuration.",
108
- needsApproval: true,
109
- method: "DELETE",
110
- path: "/connect/oauth",
111
- input: z.object({}),
112
- output: docusignSuccessSchema,
113
- transformResponse: () => ({ success: true })
114
- });
115
- const retrieveConnectFailureLogs = defineRestOperation({
116
- id: "docusign.retrieve-connect-failure-logs",
117
- slug: "DOCUSIGN_RETRIEVE_CONNECT_FAILURE_LOGS",
118
- name: "Retrieve Connect Failure Logs",
119
- description: "List Connect delivery failure logs.",
120
- method: "GET",
121
- path: "/connect/failures",
122
- input: z.object({
123
- fromDate: z.string().optional(),
124
- toDate: z.string().optional()
125
- }),
126
- output: docusignGenericObjectSchema,
127
- query: (input) => ({
128
- from_date: input.fromDate,
129
- to_date: input.toDate
130
- })
131
- });
132
- const deleteConnectFailureLogEntry = defineRestOperation({
133
- id: "docusign.delete-connect-failure-log-entry",
134
- slug: "DOCUSIGN_DELETE_CONNECT_FAILURE_LOG_ENTRY",
135
- name: "Delete Connect Failure Log Entry",
136
- description: "Delete a single Connect failure log entry.",
137
- needsApproval: true,
138
- method: "DELETE",
139
- path: (ctx) => `/connect/failures/${ctx.encode(String(ctx.input.failureId))}`,
140
- input: failureId,
141
- output: docusignSuccessSchema,
142
- transformResponse: () => ({ success: true })
143
- });
144
- const retrieveConnectLogs = defineRestOperation({
145
- id: "docusign.retrieve-connect-logs",
146
- slug: "DOCUSIGN_RETRIEVE_CONNECT_LOGS",
147
- name: "Retrieve Connect Logs",
148
- description: "List Connect delivery logs.",
149
- method: "GET",
150
- path: "/connect/logs",
151
- input: z.object({
152
- fromDate: z.string().optional(),
153
- toDate: z.string().optional()
154
- }),
155
- output: docusignGenericObjectSchema,
156
- query: (input) => ({
157
- from_date: input.fromDate,
158
- to_date: input.toDate
159
- })
160
- });
161
- const retrieveConnectLogEntry = defineRestOperation({
162
- id: "docusign.retrieve-connect-log-entry",
163
- slug: "DOCUSIGN_RETRIEVE_CONNECT_LOG_ENTRY",
164
- name: "Retrieve Connect Log Entry",
165
- description: "Retrieve a single Connect log entry.",
166
- method: "GET",
167
- path: (ctx) => `/connect/logs/${ctx.encode(String(ctx.input.logId))}`,
168
- input: logId,
169
- output: docusignGenericObjectSchema
170
- });
171
- const deleteConnectLogEntries = defineRestOperation({
172
- id: "docusign.delete-connect-log-entries",
173
- slug: "DOCUSIGN_DELETE_CONNECT_LOG_ENTRIES",
174
- name: "Delete Connect Log Entries",
175
- description: "Delete all Connect log entries.",
176
- needsApproval: true,
177
- method: "DELETE",
178
- path: "/connect/logs",
179
- input: z.object({}),
180
- output: docusignSuccessSchema,
181
- transformResponse: () => ({ success: true })
182
- });
183
- const deleteSpecificConnectLogEntry = defineRestOperation({
184
- id: "docusign.delete-specific-connect-log-entry",
185
- slug: "DOCUSIGN_DELETE_SPECIFIC_CONNECT_LOG_ENTRY",
186
- name: "Delete Specific Connect Log Entry",
187
- description: "Delete a specific Connect log entry.",
188
- needsApproval: true,
189
- method: "DELETE",
190
- path: (ctx) => `/connect/logs/${ctx.encode(String(ctx.input.logId))}`,
191
- input: logId,
192
- output: docusignSuccessSchema,
193
- transformResponse: () => ({ success: true })
194
- });
195
- const returnAllConnectServiceUsers = defineRestOperation({
196
- id: "docusign.return-all-connect-service-users",
197
- slug: "DOCUSIGN_RETURN_ALL_CONNECT_SERVICE_USERS",
198
- name: "Return All Connect Service Users",
199
- description: "List service users allowed to consume Connect events.",
200
- method: "GET",
201
- path: (ctx) => `/connect/${ctx.encode(String(ctx.input.connectId))}/users`,
202
- input: connectId,
203
- output: docusignGenericObjectSchema
204
- });
205
- const returnUsersFromConnectService = defineRestOperation({
206
- id: "docusign.return-users-from-connect-service",
207
- slug: "DOCUSIGN_RETURN_USERS_FROM_CONNECT_SERVICE",
208
- name: "Return Users From Connect Service",
209
- description: "Fetch a specific user allowed to consume Connect events.",
210
- method: "GET",
211
- path: (ctx) => `/connect/${ctx.encode(String(ctx.input.connectId))}/users/${ctx.encode(String(ctx.input.userId))}`,
212
- input: connectUser,
213
- output: docusignGenericObjectSchema
214
- });
215
-
216
- //#endregion
217
- export { createConnectConfigurationForAccount, deleteConnectConfiguration, deleteConnectFailureLogEntry, deleteConnectLogEntries, deleteConnectOauthConfiguration, deleteSpecificConnectLogEntry, retrieveConnectConfigurationDetails, retrieveConnectConfigurations, retrieveConnectFailureLogs, retrieveConnectLogEntry, retrieveConnectLogs, retrieveConnectOauthConfiguration, returnAllConnectServiceUsers, returnUsersFromConnectService, setUpConnectOauthConfiguration, updateConnectOauthConfiguration, updateDocusignConnectConfiguration };
@@ -1,2 +0,0 @@
1
- import { i as docusignOfficialIntegration, n as docusign, t as DocusignCredentials } from "./integration-Mk1ScWT6.mjs";
2
- export { type DocusignCredentials, docusign, docusignOfficialIntegration };
@@ -1,3 +0,0 @@
1
- import { r as docusignOfficialIntegration, t as docusign } from "./integration-H05G5JY8.mjs";
2
-
3
- export { docusign, docusignOfficialIntegration };
@@ -1,59 +0,0 @@
1
- import { z } from "zod";
2
- import * as _keystrokehq_core0 from "@keystrokehq/core";
3
-
4
- //#region src/contacts.d.ts
5
- declare const getDocusignAccountContacts: _keystrokehq_core0.Operation<z.ZodObject<{
6
- startPosition: z.ZodOptional<z.ZodNumber>;
7
- count: z.ZodOptional<z.ZodNumber>;
8
- cloudProvider: z.ZodOptional<z.ZodString>;
9
- }, z.core.$strip>, z.ZodObject<{
10
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
11
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
12
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
13
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
14
- DOCUSIGN_BASE_URI: z.ZodURL;
15
- }, z.core.$strip>>], undefined>;
16
- declare const addContactsToContactsList: _keystrokehq_core0.Operation<z.ZodObject<{
17
- contactList: z.ZodArray<z.ZodObject<{
18
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
19
- }, z.core.$catchall<z.ZodUnknown>>>;
20
- }, z.core.$strip>, z.ZodObject<{
21
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
22
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
23
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
24
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
25
- DOCUSIGN_BASE_URI: z.ZodURL;
26
- }, z.core.$strip>>], undefined>;
27
- declare const updateContactsInformation: _keystrokehq_core0.Operation<z.ZodObject<{
28
- contactList: z.ZodArray<z.ZodObject<{
29
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
30
- }, z.core.$catchall<z.ZodUnknown>>>;
31
- }, z.core.$strip>, z.ZodObject<{
32
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
33
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", 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>;
38
- declare const deleteContactFromAccount: _keystrokehq_core0.Operation<z.ZodObject<{
39
- contactId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- success: z.ZodBoolean;
42
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", 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>;
47
- declare const deleteMultipleContactsFromAccount: _keystrokehq_core0.Operation<z.ZodObject<{
48
- contactList: z.ZodArray<z.ZodObject<{
49
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
50
- }, z.core.$catchall<z.ZodUnknown>>>;
51
- }, z.core.$strip>, z.ZodObject<{
52
- success: z.ZodBoolean;
53
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
54
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
55
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
56
- DOCUSIGN_BASE_URI: z.ZodURL;
57
- }, z.core.$strip>>], undefined>;
58
- //#endregion
59
- export { addContactsToContactsList, deleteContactFromAccount, deleteMultipleContactsFromAccount, getDocusignAccountContacts, updateContactsInformation };
package/dist/contacts.mjs DELETED
@@ -1,79 +0,0 @@
1
- import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
3
- import { z } from "zod";
4
-
5
- //#region src/contacts.ts
6
- /**
7
- * Account contacts. Covers PLAN.md § 6.21.
8
- */
9
- const getDocusignAccountContacts = defineRestOperation({
10
- id: "docusign.get-docusign-account-contacts",
11
- slug: "DOCUSIGN_GET_DOCUSIGN_ACCOUNT_CONTACTS",
12
- name: "Get Account Contacts",
13
- description: "List contacts stored on the account address book.",
14
- method: "GET",
15
- path: "/contacts",
16
- input: z.object({
17
- startPosition: z.number().int().nonnegative().optional(),
18
- count: z.number().int().positive().optional(),
19
- cloudProvider: z.string().optional()
20
- }),
21
- output: docusignGenericObjectSchema,
22
- query: (input) => ({
23
- start_position: input.startPosition,
24
- count: input.count,
25
- cloud_provider: input.cloudProvider
26
- })
27
- });
28
- const addContactsToContactsList = defineRestOperation({
29
- id: "docusign.add-contacts-to-contacts-list",
30
- slug: "DOCUSIGN_ADD_CONTACTS_TO_CONTACTS_LIST",
31
- name: "Add Contacts To Contacts List",
32
- description: "Add contacts to the account address book.",
33
- needsApproval: true,
34
- method: "POST",
35
- path: "/contacts",
36
- input: z.object({ contactList: z.array(docusignLooseObjectSchema()).min(1) }),
37
- output: docusignGenericObjectSchema,
38
- body: (input) => ({ contactList: input.contactList })
39
- });
40
- const updateContactsInformation = defineRestOperation({
41
- id: "docusign.update-contacts-information",
42
- slug: "DOCUSIGN_UPDATE_CONTACTS_INFORMATION",
43
- name: "Update Contacts Information",
44
- description: "Update contacts in the account address book.",
45
- needsApproval: true,
46
- method: "PUT",
47
- path: "/contacts",
48
- input: z.object({ contactList: z.array(docusignLooseObjectSchema()).min(1) }),
49
- output: docusignGenericObjectSchema,
50
- body: (input) => ({ contactList: input.contactList })
51
- });
52
- const deleteContactFromAccount = defineRestOperation({
53
- id: "docusign.delete-contact-from-account",
54
- slug: "DOCUSIGN_DELETE_CONTACT_FROM_ACCOUNT",
55
- name: "Delete Contact From Account",
56
- description: "Delete a single contact from the account address book.",
57
- needsApproval: true,
58
- method: "DELETE",
59
- path: (ctx) => `/contacts/${ctx.encode(String(ctx.input.contactId))}`,
60
- input: z.object({ contactId: z.string().min(1) }),
61
- output: docusignSuccessSchema,
62
- transformResponse: () => ({ success: true })
63
- });
64
- const deleteMultipleContactsFromAccount = defineRestOperation({
65
- id: "docusign.delete-multiple-contacts-from-account",
66
- slug: "DOCUSIGN_DELETE_MULTIPLE_CONTACTS_FROM_ACCOUNT",
67
- name: "Delete Multiple Contacts From Account",
68
- description: "Delete multiple contacts from the account address book.",
69
- needsApproval: true,
70
- method: "DELETE",
71
- path: "/contacts",
72
- input: z.object({ contactList: z.array(docusignLooseObjectSchema()).min(1) }),
73
- output: docusignSuccessSchema,
74
- body: (input) => ({ contactList: input.contactList }),
75
- transformResponse: () => ({ success: true })
76
- });
77
-
78
- //#endregion
79
- export { addContactsToContactsList, deleteContactFromAccount, deleteMultipleContactsFromAccount, getDocusignAccountContacts, updateContactsInformation };
package/dist/enote.d.mts DELETED
@@ -1,31 +0,0 @@
1
- import { z } from "zod";
2
- import * as _keystrokehq_core0 from "@keystrokehq/core";
3
-
4
- //#region src/enote.d.ts
5
- declare const getEnoteIntegrationSettings: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
6
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
7
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
8
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
9
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
10
- DOCUSIGN_BASE_URI: z.ZodURL;
11
- }, z.core.$strip>>], undefined>;
12
- declare const updateEnoteIntegrationConfig: _keystrokehq_core0.Operation<z.ZodObject<{
13
- configuration: z.ZodObject<{
14
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
15
- }, z.core.$catchall<z.ZodUnknown>>;
16
- }, z.core.$strip>, z.ZodObject<{
17
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
18
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
19
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
20
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
21
- DOCUSIGN_BASE_URI: z.ZodURL;
22
- }, z.core.$strip>>], undefined>;
23
- declare const deleteEnoteConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
24
- success: z.ZodBoolean;
25
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
26
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
27
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
28
- DOCUSIGN_BASE_URI: z.ZodURL;
29
- }, z.core.$strip>>], undefined>;
30
- //#endregion
31
- export { deleteEnoteConfiguration, getEnoteIntegrationSettings, updateEnoteIntegrationConfig };
package/dist/enote.mjs DELETED
@@ -1,45 +0,0 @@
1
- import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
3
- import { z } from "zod";
4
-
5
- //#region src/enote.ts
6
- /**
7
- * eNote integration. Covers PLAN.md § 6.39.
8
- */
9
- const getEnoteIntegrationSettings = defineRestOperation({
10
- id: "docusign.get-enote-integration-settings",
11
- slug: "DOCUSIGN_GET_ENOTE_INTEGRATION_SETTINGS",
12
- name: "Get eNote Integration Settings",
13
- description: "Retrieve eNote integration settings.",
14
- method: "GET",
15
- path: "/settings/enote_configuration",
16
- input: z.object({}),
17
- output: docusignGenericObjectSchema
18
- });
19
- const updateEnoteIntegrationConfig = defineRestOperation({
20
- id: "docusign.update-enote-integration-config",
21
- slug: "DOCUSIGN_UPDATE_ENOTE_INTEGRATION_CONFIG",
22
- name: "Update eNote Integration Config",
23
- description: "Update eNote integration configuration.",
24
- needsApproval: true,
25
- method: "PUT",
26
- path: "/settings/enote_configuration",
27
- input: z.object({ configuration: docusignLooseObjectSchema() }),
28
- output: docusignGenericObjectSchema,
29
- body: (input) => input.configuration
30
- });
31
- const deleteEnoteConfiguration = defineRestOperation({
32
- id: "docusign.delete-enote-configuration",
33
- slug: "DOCUSIGN_DELETE_ENOTE_CONFIGURATION",
34
- name: "Delete eNote Configuration",
35
- description: "Delete the eNote integration configuration.",
36
- needsApproval: true,
37
- method: "DELETE",
38
- path: "/settings/enote_configuration",
39
- input: z.object({}),
40
- output: docusignSuccessSchema,
41
- transformResponse: () => ({ success: true })
42
- });
43
-
44
- //#endregion
45
- export { deleteEnoteConfiguration, getEnoteIntegrationSettings, updateEnoteIntegrationConfig };