@keystrokehq/docusign 0.0.10 → 0.0.11

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 (109) hide show
  1. package/dist/_official/index.d.mts +2 -2
  2. package/dist/_official/index.mjs +1 -1
  3. package/dist/account-custom-fields.d.mts +5 -5
  4. package/dist/account-custom-fields.mjs +1 -1
  5. package/dist/account-stamps.d.mts +12 -12
  6. package/dist/account-stamps.mjs +1 -1
  7. package/dist/account-tabs.d.mts +7 -7
  8. package/dist/account-tabs.mjs +1 -1
  9. package/dist/account.d.mts +19 -19
  10. package/dist/account.mjs +1 -1
  11. package/dist/admin.d.mts +2 -2
  12. package/dist/admin.mjs +1 -1
  13. package/dist/auth.d.mts +3 -3
  14. package/dist/auth.mjs +2 -2
  15. package/dist/bcc-archive.d.mts +5 -5
  16. package/dist/bcc-archive.mjs +1 -1
  17. package/dist/billing.d.mts +17 -17
  18. package/dist/billing.mjs +1 -1
  19. package/dist/brands.d.mts +12 -12
  20. package/dist/brands.mjs +1 -1
  21. package/dist/bulk-send.d.mts +10 -10
  22. package/dist/bulk-send.mjs +1 -1
  23. package/dist/chunked-uploads.d.mts +6 -6
  24. package/dist/chunked-uploads.mjs +1 -1
  25. package/dist/click.d.mts +2 -2
  26. package/dist/click.mjs +1 -1
  27. package/dist/client.d.mts +1 -1
  28. package/dist/client.mjs +3 -3
  29. package/dist/clm.d.mts +2 -2
  30. package/dist/clm.mjs +1 -1
  31. package/dist/cloud-storage.d.mts +8 -8
  32. package/dist/cloud-storage.mjs +1 -1
  33. package/dist/connect.d.mts +18 -18
  34. package/dist/connect.mjs +1 -1
  35. package/dist/connection.d.mts +1 -1
  36. package/dist/connection.mjs +1 -1
  37. package/dist/contacts.d.mts +6 -6
  38. package/dist/contacts.mjs +1 -1
  39. package/dist/enote.d.mts +4 -4
  40. package/dist/enote.mjs +1 -1
  41. package/dist/envelope-attachments.d.mts +6 -6
  42. package/dist/envelope-attachments.mjs +1 -1
  43. package/dist/envelope-custom-fields.d.mts +8 -8
  44. package/dist/envelope-custom-fields.mjs +1 -1
  45. package/dist/envelope-documents.d.mts +17 -17
  46. package/dist/envelope-documents.mjs +1 -1
  47. package/dist/envelope-email.d.mts +5 -5
  48. package/dist/envelope-email.mjs +1 -1
  49. package/dist/envelope-lock.d.mts +5 -5
  50. package/dist/envelope-lock.mjs +1 -1
  51. package/dist/envelope-logs.d.mts +10 -10
  52. package/dist/envelope-logs.mjs +1 -1
  53. package/dist/envelope-notifications.d.mts +4 -4
  54. package/dist/envelope-notifications.mjs +1 -1
  55. package/dist/envelope-recipients.d.mts +12 -12
  56. package/dist/envelope-recipients.mjs +1 -1
  57. package/dist/envelope-tabs.d.mts +4 -4
  58. package/dist/envelope-tabs.mjs +1 -1
  59. package/dist/envelope-views.d.mts +7 -7
  60. package/dist/envelope-views.mjs +1 -1
  61. package/dist/envelope-workflow.d.mts +15 -15
  62. package/dist/envelope-workflow.mjs +1 -1
  63. package/dist/envelopes.d.mts +15 -15
  64. package/dist/envelopes.mjs +1 -1
  65. package/dist/factory-DFejlPDe.mjs +7 -0
  66. package/dist/groups.d.mts +11 -11
  67. package/dist/groups.mjs +1 -1
  68. package/dist/{integration-BykMcCMC.mjs → integration-BcEp_dFX.mjs} +140 -4
  69. package/dist/{integration-SYThzunD.d.mts → integration-CdIRNjCz.d.mts} +3 -4
  70. package/dist/monitor.d.mts +2 -2
  71. package/dist/monitor.mjs +1 -1
  72. package/dist/notary.d.mts +10 -10
  73. package/dist/notary.mjs +1 -1
  74. package/dist/{operation-helpers-DcsuFcq0.mjs → operation-helpers-Bqp7KoLi.mjs} +1 -1
  75. package/dist/permission-profiles.d.mts +6 -6
  76. package/dist/permission-profiles.mjs +1 -1
  77. package/dist/power-forms.d.mts +4 -4
  78. package/dist/power-forms.mjs +1 -1
  79. package/dist/rooms.d.mts +2 -2
  80. package/dist/rooms.mjs +1 -1
  81. package/dist/schemas/index.d.mts +3 -3
  82. package/dist/signing-groups.d.mts +10 -10
  83. package/dist/signing-groups.mjs +1 -1
  84. package/dist/template-custom-fields.d.mts +9 -9
  85. package/dist/template-custom-fields.mjs +1 -1
  86. package/dist/template-documents.d.mts +9 -9
  87. package/dist/template-documents.mjs +1 -1
  88. package/dist/template-lock.d.mts +5 -5
  89. package/dist/template-lock.mjs +1 -1
  90. package/dist/template-sharing.d.mts +9 -9
  91. package/dist/template-sharing.mjs +1 -1
  92. package/dist/template-workflow.d.mts +13 -13
  93. package/dist/template-workflow.mjs +1 -1
  94. package/dist/templates.d.mts +8 -8
  95. package/dist/templates.mjs +1 -1
  96. package/dist/user-authorizations.d.mts +9 -9
  97. package/dist/user-authorizations.mjs +1 -1
  98. package/dist/user-custom-settings.d.mts +6 -6
  99. package/dist/user-custom-settings.mjs +1 -1
  100. package/dist/user-profile.d.mts +8 -8
  101. package/dist/user-profile.mjs +1 -1
  102. package/dist/user-signatures.d.mts +14 -14
  103. package/dist/user-signatures.mjs +1 -1
  104. package/dist/users.d.mts +7 -7
  105. package/dist/users.mjs +1 -1
  106. package/dist/workspaces.d.mts +12 -12
  107. package/dist/workspaces.mjs +1 -1
  108. package/package.json +5 -5
  109. package/dist/factory-Cj6MzqXn.mjs +0 -8
@@ -1,15 +1,15 @@
1
- import { z } from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import { z } from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
 
5
5
  //#region src/envelopes.d.ts
6
6
  declare const getEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
7
7
  envelopeId: z.ZodString;
8
8
  include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
9
- documents: "documents";
10
9
  recipients: "recipients";
11
10
  tabs: "tabs";
12
11
  custom_fields: "custom_fields";
12
+ documents: "documents";
13
13
  attachments: "attachments";
14
14
  extensions: "extensions";
15
15
  powerform: "powerform";
@@ -53,7 +53,7 @@ declare const getEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
53
53
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
54
54
  }, z.core.$catchall<z.ZodUnknown>>>>;
55
55
  }, z.core.$catchall<z.ZodUnknown>>>;
56
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
56
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
57
57
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
58
58
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
59
59
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -149,7 +149,7 @@ declare const sendEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
149
149
  status: z.ZodOptional<z.ZodString>;
150
150
  statusDateTime: z.ZodOptional<z.ZodString>;
151
151
  uri: z.ZodOptional<z.ZodString>;
152
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
152
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
153
153
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
154
154
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
155
155
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -197,7 +197,7 @@ declare const voidEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
197
197
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
198
198
  }, z.core.$catchall<z.ZodUnknown>>>>;
199
199
  }, z.core.$catchall<z.ZodUnknown>>>;
200
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
200
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
201
201
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
202
202
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
203
203
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -293,7 +293,7 @@ declare const createEnvelopeFromTemplate: _keystrokehq_core0.Operation<z.ZodObje
293
293
  status: z.ZodOptional<z.ZodString>;
294
294
  statusDateTime: z.ZodOptional<z.ZodString>;
295
295
  uri: z.ZodOptional<z.ZodString>;
296
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
296
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
297
297
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
298
298
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
299
299
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -308,7 +308,7 @@ declare const retrieveEnvelopeAuditEvents: _keystrokehq_core0.Operation<z.ZodObj
308
308
  auditEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
309
309
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
310
310
  }, z.core.$catchall<z.ZodUnknown>>>>;
311
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
311
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
312
312
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
313
313
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
314
314
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -321,7 +321,7 @@ declare const republishConnectDataForEnvelope: _keystrokehq_core0.Operation<z.Zo
321
321
  envelopeId: z.ZodString;
322
322
  }, z.core.$strip>, z.ZodObject<{
323
323
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
324
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
324
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
325
325
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
326
326
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
327
327
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -334,7 +334,7 @@ declare const republishConnectInfoForEnvelopes: _keystrokehq_core0.Operation<z.Z
334
334
  envelopeIds: z.ZodArray<z.ZodString>;
335
335
  }, z.core.$strip>, z.ZodObject<{
336
336
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
337
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
337
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
338
338
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
339
339
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
340
340
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -348,7 +348,7 @@ declare const submitBatchHistoricalEnvelopesToWebhook: _keystrokehq_core0.Operat
348
348
  envelopeIds: z.ZodArray<z.ZodString>;
349
349
  }, z.core.$strip>, z.ZodObject<{
350
350
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
351
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
351
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
352
352
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
353
353
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
354
354
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -361,7 +361,7 @@ declare const retrieveEnvelopeHtmlDefinition: _keystrokehq_core0.Operation<z.Zod
361
361
  envelopeId: z.ZodString;
362
362
  }, z.core.$strip>, z.ZodObject<{
363
363
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
364
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
364
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
365
365
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
366
366
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
367
367
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -375,7 +375,7 @@ declare const retrieveHtmlDefinitionForResponsiveDocument: _keystrokehq_core0.Op
375
375
  documentId: z.ZodString;
376
376
  }, z.core.$strip>, z.ZodObject<{
377
377
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
378
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
378
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
379
379
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
380
380
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
381
381
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -391,7 +391,7 @@ declare const getPdfTranscriptOfEnvelopeComments: _keystrokehq_core0.Operation<z
391
391
  contentDisposition: z.ZodOptional<z.ZodString>;
392
392
  status: z.ZodNumber;
393
393
  body: z.ZodString;
394
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
394
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
395
395
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
396
396
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
397
397
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -404,7 +404,7 @@ declare const deleteEnvelopeTransferRule: _keystrokehq_core0.Operation<z.ZodObje
404
404
  transferRuleId: z.ZodString;
405
405
  }, z.core.$strip>, z.ZodObject<{
406
406
  success: z.ZodBoolean;
407
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
407
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
408
408
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
409
409
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
410
410
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -417,7 +417,7 @@ declare const fetchRecipientNamesForEmail: _keystrokehq_core0.Operation<z.ZodObj
417
417
  email: z.ZodEmail;
418
418
  }, z.core.$strip>, z.ZodObject<{
419
419
  recipientNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
420
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
420
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
421
421
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
422
422
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
423
423
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -1,5 +1,5 @@
1
1
  import { docusignEnvelopeCreateInputSchema, docusignEnvelopeIdSchema, docusignEnvelopeSchema, docusignEnvelopeSummarySchema, docusignGenericObjectSchema, docusignIncludeSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
2
+ import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-Bqp7KoLi.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/envelopes.ts
@@ -0,0 +1,7 @@
1
+ import { d as createOfficialOperationFactory, t as docusign } from "./integration-BcEp_dFX.mjs";
2
+
3
+ //#region src/factory.ts
4
+ const docusignOperation = createOfficialOperationFactory(docusign);
5
+
6
+ //#endregion
7
+ export { docusignOperation as t };
package/dist/groups.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { z } from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import { z } from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
 
5
5
  //#region src/groups.d.ts
@@ -20,7 +20,7 @@ declare const createGroupsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
20
20
  groupType: z.ZodOptional<z.ZodString>;
21
21
  permissionProfileId: z.ZodOptional<z.ZodString>;
22
22
  }, z.core.$catchall<z.ZodUnknown>>>>;
23
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
23
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
24
24
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
25
25
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
26
26
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -47,7 +47,7 @@ declare const getGroupsInformationForAccount: _keystrokehq_core0.Operation<z.Zod
47
47
  groupType: z.ZodOptional<z.ZodString>;
48
48
  permissionProfileId: z.ZodOptional<z.ZodString>;
49
49
  }, z.core.$catchall<z.ZodUnknown>>>>;
50
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
50
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
51
51
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
52
52
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
53
53
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -73,7 +73,7 @@ declare const updateGroupInformation: _keystrokehq_core0.Operation<z.ZodObject<{
73
73
  groupType: z.ZodOptional<z.ZodString>;
74
74
  permissionProfileId: z.ZodOptional<z.ZodString>;
75
75
  }, z.core.$catchall<z.ZodUnknown>>>>;
76
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
76
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
77
77
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
78
78
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
79
79
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -88,7 +88,7 @@ declare const deleteUserGroup: _keystrokehq_core0.Operation<z.ZodObject<{
88
88
  }, z.core.$catchall<z.ZodUnknown>>>;
89
89
  }, z.core.$strip>, z.ZodObject<{
90
90
  success: z.ZodBoolean;
91
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
91
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
92
92
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
93
93
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
94
94
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -104,7 +104,7 @@ declare const addUsersToExistingGroup: _keystrokehq_core0.Operation<z.ZodObject<
104
104
  }, z.core.$catchall<z.ZodUnknown>>>;
105
105
  }, z.core.$strip>, z.ZodObject<{
106
106
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
107
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
107
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
108
108
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
109
109
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
110
110
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -119,7 +119,7 @@ declare const getUsersInGroup: _keystrokehq_core0.Operation<z.ZodObject<{
119
119
  count: z.ZodOptional<z.ZodNumber>;
120
120
  }, z.core.$strip>, z.ZodObject<{
121
121
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
122
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
122
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
123
123
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
124
124
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
125
125
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -135,7 +135,7 @@ declare const deleteUsersFromGroup: _keystrokehq_core0.Operation<z.ZodObject<{
135
135
  }, z.core.$catchall<z.ZodUnknown>>>;
136
136
  }, z.core.$strip>, z.ZodObject<{
137
137
  success: z.ZodBoolean;
138
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
138
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
139
139
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
140
140
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
141
141
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -151,7 +151,7 @@ declare const addExistingBrandToGroup: _keystrokehq_core0.Operation<z.ZodObject<
151
151
  }, z.core.$catchall<z.ZodUnknown>>>;
152
152
  }, z.core.$strip>, z.ZodObject<{
153
153
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
154
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
154
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
155
155
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
156
156
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
157
157
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -165,7 +165,7 @@ declare const deleteBrandFromGroup: _keystrokehq_core0.Operation<z.ZodObject<{
165
165
  brandId: z.ZodString;
166
166
  }, z.core.$strip>, z.ZodObject<{
167
167
  success: z.ZodBoolean;
168
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
168
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
169
169
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
170
170
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
171
171
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -178,7 +178,7 @@ declare const getBrandsInformationForGroup: _keystrokehq_core0.Operation<z.ZodOb
178
178
  groupId: z.ZodString;
179
179
  }, z.core.$strip>, z.ZodObject<{
180
180
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
181
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
181
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
182
182
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
183
183
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
184
184
  DOCUSIGN_BASE_URI: z.ZodURL;
package/dist/groups.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { docusignGenericObjectSchema, docusignGroupListSchema, docusignListPaginationInputSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
2
+ import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/groups.ts
@@ -1,8 +1,99 @@
1
- import { defineOfficialIntegration, officialCredentialSetId } from "@keystrokehq/integration-authoring/official";
1
+ import { CredentialSet, Operation } from "@keystrokehq/core";
2
2
  import { z } from "zod";
3
- import { CredentialSet } from "@keystrokehq/core";
4
- import { TokenExchangeError, normalizeOAuthTokens, parseOAuthTokenResponse } from "@keystrokehq/credential-connection";
5
3
 
4
+ //#region ../../packages/integration-authoring/dist/official/runtime.mjs
5
+ const REGISTRY_KEY = "__ks_official_integration_metadata_registry";
6
+ function getRegistry() {
7
+ const globalStore = globalThis;
8
+ if (!globalStore[REGISTRY_KEY]) globalStore[REGISTRY_KEY] = /* @__PURE__ */ new WeakMap();
9
+ return globalStore[REGISTRY_KEY];
10
+ }
11
+ function registerOfficialOperation(operation, metadata) {
12
+ getRegistry().set(operation, Object.freeze({ ...metadata }));
13
+ }
14
+
15
+ //#endregion
16
+ //#region ../../packages/integration-authoring/dist/official/index.mjs
17
+ const OFFICIAL_CREDENTIAL_SET_ID_PREFIX = "keystroke:";
18
+ function officialCredentialSetId(id) {
19
+ return `${OFFICIAL_CREDENTIAL_SET_ID_PREFIX}${id}`;
20
+ }
21
+ function stripOfficialCredentialSetIdPrefix(id) {
22
+ return id.startsWith(OFFICIAL_CREDENTIAL_SET_ID_PREFIX) ? id.slice(10) : id;
23
+ }
24
+ /**
25
+ * Creates a factory for Keystroke-official integration operations.
26
+ *
27
+ * It keeps the same flat `run(input, credentials)` ergonomics as the generic
28
+ * operation factory, while registering official metadata for builder/runtime
29
+ * operation metadata.
30
+ */
31
+ function createOfficialOperationFactory(credentialSet) {
32
+ const integrationId = stripOfficialCredentialSetIdPrefix(credentialSet.id);
33
+ return (config) => {
34
+ const wrappedRun = async (input, ctx) => {
35
+ const creds = ctx.credentials[credentialSet.id];
36
+ return config.run(input, creds);
37
+ };
38
+ const operation = new Operation({
39
+ id: config.id,
40
+ name: config.name,
41
+ description: config.description,
42
+ input: config.input,
43
+ output: config.output,
44
+ credentialSets: [credentialSet],
45
+ ...config.tags !== void 0 ? { tags: config.tags } : {},
46
+ ...config.needsApproval !== void 0 ? { needsApproval: config.needsApproval } : {},
47
+ ...config.requiredOAuthScopes !== void 0 ? { requiredOAuthScopes: config.requiredOAuthScopes } : {},
48
+ ...config.retries !== void 0 ? { retries: config.retries } : {},
49
+ ...config.timeout !== void 0 ? { timeout: config.timeout } : {},
50
+ ...config.maxDurationMs !== void 0 ? { maxDurationMs: config.maxDurationMs } : {},
51
+ run: wrappedRun
52
+ });
53
+ registerOfficialOperation(operation, { integrationId });
54
+ return operation;
55
+ };
56
+ }
57
+ /**
58
+ * Creates an official integration bundle from a single config object.
59
+ *
60
+ * - Creates the public `CredentialSet` internally.
61
+ * - Accepts optional `internal` fields for Keystroke-owned platform credentials.
62
+ */
63
+ function defineOfficialIntegration(config) {
64
+ const internalCredentialSets = config.internal ?? {};
65
+ const allInternalCredentialSets = [
66
+ ...internalCredentialSets.providerApp ? [internalCredentialSets.providerApp] : [],
67
+ ...internalCredentialSets.providerAppVariants ?? [],
68
+ ...internalCredentialSets.webhookVerification ? [internalCredentialSets.webhookVerification] : [],
69
+ ...internalCredentialSets.other ?? []
70
+ ];
71
+ const credentialSet = new CredentialSet({
72
+ id: config.id,
73
+ name: config.name,
74
+ description: config.description,
75
+ auth: config.auth,
76
+ ...config.connections ? { connections: config.connections } : {},
77
+ ...config.proxy ? { proxy: config.proxy } : {},
78
+ ...config.needsRawSecret === true ? { needsRawSecret: true } : {}
79
+ });
80
+ return Object.freeze({
81
+ integration: {
82
+ id: config.id,
83
+ name: config.name,
84
+ ...config.description !== void 0 ? { description: config.description } : {},
85
+ auth: config.auth,
86
+ ...config.proxy ? { proxy: config.proxy } : {},
87
+ ...config.needsRawSecret === true ? { needsRawSecret: true } : {},
88
+ ...config.connections ? { connections: config.connections } : {}
89
+ },
90
+ credentialSet,
91
+ internalCredentialSets,
92
+ allInternalCredentialSets
93
+ });
94
+ }
95
+
96
+ //#endregion
6
97
  //#region src/_official/provider-app.ts
7
98
  /**
8
99
  * Keystroke-owned OAuth client definition for the DocuSign public connection.
@@ -83,6 +174,51 @@ const docusignOfficialProviderSeed = {
83
174
  })
84
175
  };
85
176
 
177
+ //#endregion
178
+ //#region ../../packages/credential-connection/dist/defaults-YE9AvLIc.mjs
179
+ /**
180
+ * Shared OAuth 2.0 token-response plumbing.
181
+ *
182
+ * `parseOAuthTokenResponse` handles the two common wire formats (JSON and
183
+ * form-urlencoded, the latter used by GitHub unless you explicitly ask for
184
+ * JSON). `normalizeOAuthTokens` pulls the standard fields out of the parsed
185
+ * body in both the flat form and Slack's nested `authed_user.access_token`
186
+ * form. These helpers are exposed so integration authors overriding
187
+ * `exchangeCode` / `refreshToken` do not have to re-implement them.
188
+ */
189
+ var TokenExchangeError = class extends Error {
190
+ httpStatus;
191
+ constructor(httpStatus) {
192
+ super(`Token exchange failed: HTTP ${httpStatus}`);
193
+ this.name = "TokenExchangeError";
194
+ this.httpStatus = httpStatus;
195
+ }
196
+ };
197
+ async function parseOAuthTokenResponse(response) {
198
+ const contentType = response.headers.get("content-type")?.toLowerCase() ?? "";
199
+ if (contentType.includes("application/json")) return await response.json();
200
+ const text = await response.text();
201
+ if (!text.trim()) return {};
202
+ if (contentType.includes("application/x-www-form-urlencoded") || text.includes("=")) {
203
+ const params = new URLSearchParams(text);
204
+ return Object.fromEntries(params.entries());
205
+ }
206
+ throw new Error(`Unsupported OAuth token response content type: ${contentType || "unknown"}`);
207
+ }
208
+ function normalizeOAuthTokens(tokenData) {
209
+ const authedUser = tokenData.authed_user;
210
+ const rawAccessToken = tokenData.access_token ?? authedUser?.access_token;
211
+ const rawRefreshToken = tokenData.refresh_token;
212
+ const rawExpiresIn = tokenData.expires_in;
213
+ const rawInstanceUrl = tokenData.instance_url;
214
+ return {
215
+ accessToken: typeof rawAccessToken === "string" ? rawAccessToken : void 0,
216
+ refreshToken: typeof rawRefreshToken === "string" ? rawRefreshToken : void 0,
217
+ expiresIn: typeof rawExpiresIn === "number" ? rawExpiresIn : typeof rawExpiresIn === "string" ? Number(rawExpiresIn) || void 0 : void 0,
218
+ instanceUrl: typeof rawInstanceUrl === "string" ? rawInstanceUrl : void 0
219
+ };
220
+ }
221
+
86
222
  //#endregion
87
223
  //#region src/oauth-connection.ts
88
224
  const DOCUSIGN_OAUTH_HOST = "account.docusign.com";
@@ -226,4 +362,4 @@ const docusignBundle = defineOfficialIntegration({
226
362
  const docusign = docusignBundle.credentialSet;
227
363
 
228
364
  //#endregion
229
- export { fetchDocusignUserinfo as a, docusignJwtCredentialSet as c, DOCUSIGN_USERINFO_URL as i, docusignOfficialProviderSeed as l, docusignBundle as n, docusignAppCredentialSet as o, docusignOfficialIntegration as r, docusignConnectCredentialSet as s, docusign as t, parseHmacSecrets as u };
365
+ export { fetchDocusignUserinfo as a, docusignJwtCredentialSet as c, createOfficialOperationFactory as d, DOCUSIGN_USERINFO_URL as i, docusignOfficialProviderSeed as l, docusignBundle as n, docusignAppCredentialSet as o, docusignOfficialIntegration as r, docusignConnectCredentialSet as s, docusign as t, parseHmacSecrets as u };
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
2
- import { z } from "zod";
3
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import { z } from "zod";
4
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
5
4
  import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
6
5
 
@@ -54,12 +53,12 @@ declare const docusignOfficialIntegration: {
54
53
  id: string;
55
54
  }[];
56
55
  };
57
- declare const docusignBundle: _keystrokehq_integration_authoring_official0.OfficialIntegrationBundle<"docusign", z.ZodObject<{
56
+ declare const docusignBundle: undefined<"docusign", z.ZodObject<{
58
57
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
59
58
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
60
59
  DOCUSIGN_BASE_URI: z.ZodURL;
61
60
  }, z.core.$strip>>;
62
- declare const docusign: _keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
61
+ declare const docusign: _keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
63
62
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
64
63
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
65
64
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -1,11 +1,11 @@
1
- import { z } from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import { z } from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
 
5
5
  //#region src/monitor.d.ts
6
6
  declare const monitorNotImplemented: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
7
7
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
8
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
8
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
9
9
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
10
10
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
11
11
  DOCUSIGN_BASE_URI: z.ZodURL;
package/dist/monitor.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { docusignGenericObjectSchema } from "./schemas/index.mjs";
2
- import { n as definePlanGatedOperation } from "./operation-helpers-DcsuFcq0.mjs";
2
+ import { n as definePlanGatedOperation } from "./operation-helpers-Bqp7KoLi.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/monitor.ts
package/dist/notary.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { z } from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import { z } from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
 
5
5
  //#region src/notary.d.ts
@@ -9,7 +9,7 @@ declare const registerCurrentUserAsNotary: _keystrokehq_core0.Operation<z.ZodObj
9
9
  }, z.core.$catchall<z.ZodUnknown>>;
10
10
  }, z.core.$strip>, z.ZodObject<{
11
11
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
12
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
12
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
13
13
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
14
14
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
15
15
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -22,7 +22,7 @@ declare const getNotaryUserSettings: _keystrokehq_core0.Operation<z.ZodObject<{
22
22
  includeJurisdictions: z.ZodOptional<z.ZodBoolean>;
23
23
  }, z.core.$strip>, z.ZodObject<{
24
24
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
25
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
25
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
26
26
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
27
27
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
28
28
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -37,7 +37,7 @@ declare const updateUserNotaryInformation: _keystrokehq_core0.Operation<z.ZodObj
37
37
  }, z.core.$catchall<z.ZodUnknown>>;
38
38
  }, z.core.$strip>, z.ZodObject<{
39
39
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
40
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
40
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
41
41
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
42
42
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
43
43
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -52,7 +52,7 @@ declare const createNotaryJurisdictionObject: _keystrokehq_core0.Operation<z.Zod
52
52
  }, z.core.$catchall<z.ZodUnknown>>;
53
53
  }, z.core.$strip>, z.ZodObject<{
54
54
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
55
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
55
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
56
56
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
57
57
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
58
58
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -65,7 +65,7 @@ declare const getNotaryJurisdictionObject: _keystrokehq_core0.Operation<z.ZodObj
65
65
  jurisdictionId: z.ZodString;
66
66
  }, z.core.$strip>, z.ZodObject<{
67
67
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
68
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
68
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
69
69
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
70
70
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
71
71
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -76,7 +76,7 @@ declare const getNotaryJurisdictionObject: _keystrokehq_core0.Operation<z.ZodObj
76
76
  }, z.core.$strip>>[] | undefined>], undefined>;
77
77
  declare const getNotaryJurisdictionsForUser: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
78
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<{
79
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
80
80
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
81
81
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
82
82
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -92,7 +92,7 @@ declare const updateNotaryJurisdictionInfo: _keystrokehq_core0.Operation<z.ZodOb
92
92
  }, z.core.$catchall<z.ZodUnknown>>;
93
93
  }, z.core.$strip>, z.ZodObject<{
94
94
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
95
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
95
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
96
96
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
97
97
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
98
98
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -105,7 +105,7 @@ declare const deleteNotaryJurisdiction: _keystrokehq_core0.Operation<z.ZodObject
105
105
  jurisdictionId: z.ZodString;
106
106
  }, z.core.$strip>, z.ZodObject<{
107
107
  success: z.ZodBoolean;
108
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
108
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
109
109
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
110
110
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
111
111
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -116,7 +116,7 @@ declare const deleteNotaryJurisdiction: _keystrokehq_core0.Operation<z.ZodObject
116
116
  }, z.core.$strip>>[] | undefined>], undefined>;
117
117
  declare const listRegisteredNotaryJurisdictions: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
118
118
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
119
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
119
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
120
120
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
121
121
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
122
122
  DOCUSIGN_BASE_URI: z.ZodURL;
package/dist/notary.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
2
+ import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/notary.ts
@@ -1,7 +1,7 @@
1
1
  import { DocusignApiError } from "./errors.mjs";
2
2
  import { n as omitUndefined, t as encodeDocusignPathSegment } from "./shared-DTUCJayR.mjs";
3
3
  import { createDocusignClient } from "./client.mjs";
4
- import { t as docusignOperation } from "./factory-Cj6MzqXn.mjs";
4
+ import { t as docusignOperation } from "./factory-DFejlPDe.mjs";
5
5
 
6
6
  //#region src/operation-helpers.ts
7
7
  function defineRestOperation(config) {
@@ -1,5 +1,5 @@
1
- import { z } from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import { z } from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
 
5
5
  //#region src/permission-profiles.d.ts
@@ -9,7 +9,7 @@ declare const createNewAccountPermissionProfile: _keystrokehq_core0.Operation<z.
9
9
  }, z.core.$catchall<z.ZodUnknown>>;
10
10
  }, z.core.$strip>, z.ZodObject<{
11
11
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
12
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
12
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
13
13
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
14
14
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
15
15
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -22,7 +22,7 @@ declare const getListOfAccountPermissionProfiles: _keystrokehq_core0.Operation<z
22
22
  include: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
23
  }, z.core.$strip>, z.ZodObject<{
24
24
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
25
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
25
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
26
26
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
27
27
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
28
28
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -36,7 +36,7 @@ declare const getPermissionProfileForAccount: _keystrokehq_core0.Operation<z.Zod
36
36
  include: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
37
  }, z.core.$strip>, z.ZodObject<{
38
38
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
39
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
39
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
40
40
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
41
41
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
42
42
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -52,7 +52,7 @@ declare const updatePermissionProfileSettings: _keystrokehq_core0.Operation<z.Zo
52
52
  }, z.core.$catchall<z.ZodUnknown>>;
53
53
  }, z.core.$strip>, z.ZodObject<{
54
54
  [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
55
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
55
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
56
56
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
57
57
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
58
58
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -65,7 +65,7 @@ declare const deleteAccountPermissionProfile: _keystrokehq_core0.Operation<z.Zod
65
65
  permissionProfileId: z.ZodString;
66
66
  }, z.core.$strip>, z.ZodObject<{
67
67
  success: z.ZodBoolean;
68
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
68
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
69
69
  DOCUSIGN_ACCESS_TOKEN: z.ZodString;
70
70
  DOCUSIGN_ACCOUNT_ID: z.ZodString;
71
71
  DOCUSIGN_BASE_URI: z.ZodURL;
@@ -1,5 +1,5 @@
1
1
  import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
2
+ import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/permission-profiles.ts