@keystrokehq/signwell 0.1.0 → 0.1.2

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 (101) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-document-from-template.cjs +16 -16
  4. package/dist/actions/create-document-from-template.cjs.map +1 -1
  5. package/dist/actions/create-document-from-template.d.cts +174 -3
  6. package/dist/actions/create-document-from-template.d.cts.map +1 -1
  7. package/dist/actions/create-document-from-template.d.mts +174 -3
  8. package/dist/actions/create-document-from-template.d.mts.map +1 -1
  9. package/dist/actions/create-document-from-template.mjs +16 -16
  10. package/dist/actions/create-document-from-template.mjs.map +1 -1
  11. package/dist/actions/create-document.cjs +13 -13
  12. package/dist/actions/create-document.cjs.map +1 -1
  13. package/dist/actions/create-document.d.cts +86 -3
  14. package/dist/actions/create-document.d.cts.map +1 -1
  15. package/dist/actions/create-document.d.mts +86 -3
  16. package/dist/actions/create-document.d.mts.map +1 -1
  17. package/dist/actions/create-document.mjs +13 -13
  18. package/dist/actions/create-document.mjs.map +1 -1
  19. package/dist/actions/create-webhook.cjs +2 -2
  20. package/dist/actions/create-webhook.cjs.map +1 -1
  21. package/dist/actions/create-webhook.d.cts +12 -3
  22. package/dist/actions/create-webhook.d.cts.map +1 -1
  23. package/dist/actions/create-webhook.d.mts +12 -3
  24. package/dist/actions/create-webhook.d.mts.map +1 -1
  25. package/dist/actions/create-webhook.mjs +2 -2
  26. package/dist/actions/create-webhook.mjs.map +1 -1
  27. package/dist/actions/delete-document.cjs.map +1 -1
  28. package/dist/actions/delete-document.d.cts +10 -3
  29. package/dist/actions/delete-document.d.cts.map +1 -1
  30. package/dist/actions/delete-document.d.mts +10 -3
  31. package/dist/actions/delete-document.d.mts.map +1 -1
  32. package/dist/actions/delete-document.mjs.map +1 -1
  33. package/dist/actions/delete-webhook.cjs.map +1 -1
  34. package/dist/actions/delete-webhook.d.cts +7 -3
  35. package/dist/actions/delete-webhook.d.cts.map +1 -1
  36. package/dist/actions/delete-webhook.d.mts +7 -3
  37. package/dist/actions/delete-webhook.d.mts.map +1 -1
  38. package/dist/actions/delete-webhook.mjs.map +1 -1
  39. package/dist/actions/get-credentials.cjs +14 -14
  40. package/dist/actions/get-credentials.cjs.map +1 -1
  41. package/dist/actions/get-credentials.d.cts +55 -3
  42. package/dist/actions/get-credentials.d.cts.map +1 -1
  43. package/dist/actions/get-credentials.d.mts +55 -3
  44. package/dist/actions/get-credentials.d.mts.map +1 -1
  45. package/dist/actions/get-credentials.mjs +14 -14
  46. package/dist/actions/get-credentials.mjs.map +1 -1
  47. package/dist/actions/get-document.cjs +16 -16
  48. package/dist/actions/get-document.cjs.map +1 -1
  49. package/dist/actions/get-document.d.cts +60 -3
  50. package/dist/actions/get-document.d.cts.map +1 -1
  51. package/dist/actions/get-document.d.mts +60 -3
  52. package/dist/actions/get-document.d.mts.map +1 -1
  53. package/dist/actions/get-document.mjs +16 -16
  54. package/dist/actions/get-document.mjs.map +1 -1
  55. package/dist/actions/list-bulk-sends.cjs +10 -10
  56. package/dist/actions/list-bulk-sends.cjs.map +1 -1
  57. package/dist/actions/list-bulk-sends.d.cts +28 -3
  58. package/dist/actions/list-bulk-sends.d.cts.map +1 -1
  59. package/dist/actions/list-bulk-sends.d.mts +28 -3
  60. package/dist/actions/list-bulk-sends.d.mts.map +1 -1
  61. package/dist/actions/list-bulk-sends.mjs +10 -10
  62. package/dist/actions/list-bulk-sends.mjs.map +1 -1
  63. package/dist/actions/list-webhooks.cjs +2 -2
  64. package/dist/actions/list-webhooks.cjs.map +1 -1
  65. package/dist/actions/list-webhooks.d.cts +10 -3
  66. package/dist/actions/list-webhooks.d.cts.map +1 -1
  67. package/dist/actions/list-webhooks.d.mts +10 -3
  68. package/dist/actions/list-webhooks.d.mts.map +1 -1
  69. package/dist/actions/list-webhooks.mjs +2 -2
  70. package/dist/actions/list-webhooks.mjs.map +1 -1
  71. package/dist/actions/send-reminder.cjs +18 -18
  72. package/dist/actions/send-reminder.cjs.map +1 -1
  73. package/dist/actions/send-reminder.d.cts +75 -3
  74. package/dist/actions/send-reminder.d.cts.map +1 -1
  75. package/dist/actions/send-reminder.d.mts +75 -3
  76. package/dist/actions/send-reminder.d.mts.map +1 -1
  77. package/dist/actions/send-reminder.mjs +18 -18
  78. package/dist/actions/send-reminder.mjs.map +1 -1
  79. package/dist/actions/update-and-send-document.cjs +17 -17
  80. package/dist/actions/update-and-send-document.cjs.map +1 -1
  81. package/dist/actions/update-and-send-document.d.cts +112 -3
  82. package/dist/actions/update-and-send-document.d.cts.map +1 -1
  83. package/dist/actions/update-and-send-document.d.mts +112 -3
  84. package/dist/actions/update-and-send-document.d.mts.map +1 -1
  85. package/dist/actions/update-and-send-document.mjs +17 -17
  86. package/dist/actions/update-and-send-document.mjs.map +1 -1
  87. package/dist/actions/update-template.cjs +16 -16
  88. package/dist/actions/update-template.cjs.map +1 -1
  89. package/dist/actions/update-template.d.cts +83 -3
  90. package/dist/actions/update-template.d.cts.map +1 -1
  91. package/dist/actions/update-template.d.mts +83 -3
  92. package/dist/actions/update-template.d.mts.map +1 -1
  93. package/dist/actions/update-template.mjs +16 -16
  94. package/dist/actions/update-template.mjs.map +1 -1
  95. package/dist/catalog.cjs +7 -1
  96. package/dist/catalog.cjs.map +1 -1
  97. package/dist/catalog.d.cts +8 -0
  98. package/dist/catalog.d.mts +8 -0
  99. package/dist/catalog.mjs +7 -1
  100. package/dist/catalog.mjs.map +1 -1
  101. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellCreateWebhookInput: z.ZodTypeAny = z.object({\n callbackUrl: z.string().describe(\"URL where SignWell will post document event payloads.\"),\n apiApplicationId: z.string().describe(\"UUID of the API Application to associate with this webhook.\").optional(),\n}).describe(\"Request model for registering a webhook callback URL.\");\nexport const SignwellCreateWebhookOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the new webhook.\"),\n callback_url: z.string().describe(\"The registered callback URL.\"),\n}).describe(\"Response model after creating a webhook.\");\n\nexport const signwellCreateWebhook = action(\"SIGNWELL_CREATE_WEBHOOK\", {\n slug: \"signwell-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to register a webhook callback URL. Use when you need to receive document event notifications.\",\n input: SignwellCreateWebhookInput,\n output: SignwellCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAClE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellCreateWebhookInput = z.object({\n callbackUrl: z.string().describe(\"URL where SignWell will post document event payloads.\"),\n apiApplicationId: z.string().describe(\"UUID of the API Application to associate with this webhook.\").optional(),\n}).describe(\"Request model for registering a webhook callback URL.\");\nexport const SignwellCreateWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier of the new webhook.\").nullable(),\n callback_url: z.string().describe(\"The registered callback URL.\").nullable(),\n}).describe(\"Response model after creating a webhook.\");\n\nexport const signwellCreateWebhook = action(\"SIGNWELL_CREATE_WEBHOOK\", {\n slug: \"signwell-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to register a webhook callback URL. Use when you need to receive document event notifications.\",\n input: SignwellCreateWebhookInput,\n output: SignwellCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-webhook.d.ts
4
- declare const SignwellCreateWebhookInput: z.ZodTypeAny;
5
- declare const SignwellCreateWebhookOutput: z.ZodTypeAny;
6
- declare const signwellCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SignwellCreateWebhookInput: z.ZodObject<{
5
+ callbackUrl: z.ZodString;
6
+ apiApplicationId: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SignwellCreateWebhookOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ callback_url: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const signwellCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ callbackUrl: string;
14
+ apiApplicationId?: string | undefined;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { signwellCreateWebhook };
9
18
  //# sourceMappingURL=create-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGyB;AAAA,cACvD,2BAAA,EAA6B,CAAA,CAAE,UAGW;AAAA,cAE1C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-webhook.d.ts
4
- declare const SignwellCreateWebhookInput: z.ZodTypeAny;
5
- declare const SignwellCreateWebhookOutput: z.ZodTypeAny;
6
- declare const signwellCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SignwellCreateWebhookInput: z.ZodObject<{
5
+ callbackUrl: z.ZodString;
6
+ apiApplicationId: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SignwellCreateWebhookOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ callback_url: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const signwellCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ callbackUrl: string;
14
+ apiApplicationId?: string | undefined;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { signwellCreateWebhook };
9
18
  //# sourceMappingURL=create-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGyB;AAAA,cACvD,2BAAA,EAA6B,CAAA,CAAE,UAGW;AAAA,cAE1C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -9,8 +9,8 @@ const signwellCreateWebhook = action("SIGNWELL_CREATE_WEBHOOK", {
9
9
  apiApplicationId: z.string().describe("UUID of the API Application to associate with this webhook.").optional()
10
10
  }).describe("Request model for registering a webhook callback URL."),
11
11
  output: z.object({
12
- id: z.string().describe("Unique identifier of the new webhook."),
13
- callback_url: z.string().describe("The registered callback URL.")
12
+ id: z.string().describe("Unique identifier of the new webhook.").nullable(),
13
+ callback_url: z.string().describe("The registered callback URL.").nullable()
14
14
  }).describe("Response model after creating a webhook.")
15
15
  });
16
16
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellCreateWebhookInput: z.ZodTypeAny = z.object({\n callbackUrl: z.string().describe(\"URL where SignWell will post document event payloads.\"),\n apiApplicationId: z.string().describe(\"UUID of the API Application to associate with this webhook.\").optional(),\n}).describe(\"Request model for registering a webhook callback URL.\");\nexport const SignwellCreateWebhookOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the new webhook.\"),\n callback_url: z.string().describe(\"The registered callback URL.\"),\n}).describe(\"Response model after creating a webhook.\");\n\nexport const signwellCreateWebhook = action(\"SIGNWELL_CREATE_WEBHOOK\", {\n slug: \"signwell-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to register a webhook callback URL. Use when you need to receive document event notifications.\",\n input: SignwellCreateWebhookInput,\n output: SignwellCreateWebhookOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsD,EAAE,OAAO;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAClE,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellCreateWebhookInput = z.object({\n callbackUrl: z.string().describe(\"URL where SignWell will post document event payloads.\"),\n apiApplicationId: z.string().describe(\"UUID of the API Application to associate with this webhook.\").optional(),\n}).describe(\"Request model for registering a webhook callback URL.\");\nexport const SignwellCreateWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier of the new webhook.\").nullable(),\n callback_url: z.string().describe(\"The registered callback URL.\").nullable(),\n}).describe(\"Response model after creating a webhook.\");\n\nexport const signwellCreateWebhook = action(\"SIGNWELL_CREATE_WEBHOOK\", {\n slug: \"signwell-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to register a webhook callback URL. Use when you need to receive document event notifications.\",\n input: SignwellCreateWebhookInput,\n output: SignwellCreateWebhookOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO;EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteDocumentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document to delete. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n}).describe(\"Request model for deleting a document.\");\nexport const SignwellDeleteDocumentOutput: z.ZodTypeAny = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the document was successfully deleted.\").nullable().optional(),\n message: z.string().default(\"Document deleted successfully\").describe(\"Confirmation message describing the result of the deletion.\").nullable().optional(),\n}).describe(\"Response model for document deletion confirmation.\");\n\nexport const signwellDeleteDocument = action(\"SIGNWELL_DELETE_DOCUMENT\", {\n slug: \"signwell-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document (and cancel signing if in progress). Use when you need to remove a document by ID after confirming it.\",\n input: SignwellDeleteDocumentInput,\n output: SignwellDeleteDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EAC9M,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteDocumentInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document to delete. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n}).describe(\"Request model for deleting a document.\");\nexport const SignwellDeleteDocumentOutput = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the document was successfully deleted.\").nullable().optional(),\n message: z.string().default(\"Document deleted successfully\").describe(\"Confirmation message describing the result of the deletion.\").nullable().optional(),\n}).describe(\"Response model for document deletion confirmation.\");\n\nexport const signwellDeleteDocument = action(\"SIGNWELL_DELETE_DOCUMENT\", {\n slug: \"signwell-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document (and cancel signing if in progress). Use when you need to remove a document by ID after confirming it.\",\n input: SignwellDeleteDocumentInput,\n output: SignwellDeleteDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EAC9M,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-document.d.ts
4
- declare const SignwellDeleteDocumentInput: z.ZodTypeAny;
5
- declare const SignwellDeleteDocumentOutput: z.ZodTypeAny;
6
- declare const signwellDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SignwellDeleteDocumentInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SignwellDeleteDocumentOutput: z.ZodObject<{
8
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
10
+ }, z.core.$strip>;
11
+ declare const signwellDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { signwellDeleteDocument };
9
16
  //# sourceMappingURL=delete-document.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.d.cts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAES;AAAA,cACxC,4BAAA,EAA8B,CAAA,CAAE,UAGoB;AAAA,cAEpD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-document.d.cts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-document.d.ts
4
- declare const SignwellDeleteDocumentInput: z.ZodTypeAny;
5
- declare const SignwellDeleteDocumentOutput: z.ZodTypeAny;
6
- declare const signwellDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SignwellDeleteDocumentInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SignwellDeleteDocumentOutput: z.ZodObject<{
8
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
10
+ }, z.core.$strip>;
11
+ declare const signwellDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { signwellDeleteDocument };
9
16
  //# sourceMappingURL=delete-document.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.d.mts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAES;AAAA,cACxC,4BAAA,EAA8B,CAAA,CAAE,UAGoB;AAAA,cAEpD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-document.d.mts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteDocumentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document to delete. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n}).describe(\"Request model for deleting a document.\");\nexport const SignwellDeleteDocumentOutput: z.ZodTypeAny = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the document was successfully deleted.\").nullable().optional(),\n message: z.string().default(\"Document deleted successfully\").describe(\"Confirmation message describing the result of the deletion.\").nullable().optional(),\n}).describe(\"Response model for document deletion confirmation.\");\n\nexport const signwellDeleteDocument = action(\"SIGNWELL_DELETE_DOCUMENT\", {\n slug: \"signwell-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document (and cancel signing if in progress). Use when you need to remove a document by ID after confirming it.\",\n input: SignwellDeleteDocumentInput,\n output: SignwellDeleteDocumentOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuD,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EAC9M,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVwD,EAAE,OAAO;EACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteDocumentInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document to delete. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n}).describe(\"Request model for deleting a document.\");\nexport const SignwellDeleteDocumentOutput = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the document was successfully deleted.\").nullable().optional(),\n message: z.string().default(\"Document deleted successfully\").describe(\"Confirmation message describing the result of the deletion.\").nullable().optional(),\n}).describe(\"Response model for document deletion confirmation.\");\n\nexport const signwellDeleteDocument = action(\"SIGNWELL_DELETE_DOCUMENT\", {\n slug: \"signwell-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document (and cancel signing if in progress). Use when you need to remove a document by ID after confirming it.\",\n input: SignwellDeleteDocumentInput,\n output: SignwellDeleteDocumentOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EAC9M,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteWebhookInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The UUID of the webhook to delete. Obtain this from the list webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const SignwellDeleteWebhookOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response returned after successful deletion (no content).\");\n\nexport const signwellDeleteWebhook = action(\"SIGNWELL_DELETE_WEBHOOK\", {\n slug: \"signwell-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a registered webhook by its ID. Use this to remove webhooks that are no longer needed. Returns no content on success.\",\n input: SignwellDeleteWebhookInput,\n output: SignwellDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,EACzG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAEhJ,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteWebhookInput = z.object({\n id: z.string().describe(\"The UUID of the webhook to delete. Obtain this from the list webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const SignwellDeleteWebhookOutput = z.object({}).describe(\"Empty response returned after successful deletion (no content).\");\n\nexport const signwellDeleteWebhook = action(\"SIGNWELL_DELETE_WEBHOOK\", {\n slug: \"signwell-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a registered webhook by its ID. Use this to remove webhooks that are no longer needed. Returns no content on success.\",\n input: SignwellDeleteWebhookInput,\n output: SignwellDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,EACzG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAElI,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-webhook.d.ts
4
- declare const SignwellDeleteWebhookInput: z.ZodTypeAny;
5
- declare const SignwellDeleteWebhookOutput: z.ZodTypeAny;
6
- declare const signwellDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SignwellDeleteWebhookInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SignwellDeleteWebhookOutput: z.ZodObject<{}, z.core.$strip>;
8
+ declare const signwellDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ id: string;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { signwellDeleteWebhook };
9
13
  //# sourceMappingURL=delete-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAES;AAAA,cACvC,2BAAA,EAA6B,CAAA,CAAE,UAAqG;AAAA,cAEpI,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-webhook.d.ts
4
- declare const SignwellDeleteWebhookInput: z.ZodTypeAny;
5
- declare const SignwellDeleteWebhookOutput: z.ZodTypeAny;
6
- declare const signwellDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SignwellDeleteWebhookInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SignwellDeleteWebhookOutput: z.ZodObject<{}, z.core.$strip>;
8
+ declare const signwellDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ id: string;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { signwellDeleteWebhook };
9
13
  //# sourceMappingURL=delete-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAES;AAAA,cACvC,2BAAA,EAA6B,CAAA,CAAE,UAAqG;AAAA,cAEpI,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteWebhookInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The UUID of the webhook to delete. Obtain this from the list webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const SignwellDeleteWebhookOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response returned after successful deletion (no content).\");\n\nexport const signwellDeleteWebhook = action(\"SIGNWELL_DELETE_WEBHOOK\", {\n slug: \"signwell-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a registered webhook by its ID. Use this to remove webhooks that are no longer needed. Returns no content on success.\",\n input: SignwellDeleteWebhookInput,\n output: SignwellDeleteWebhookOutput,\n});\n"],"mappings":";;AASA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATsD,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,EACzG,CAAC,CAAC,CAAC,SAAS,uCAOH;CACP,QAPuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAOrE;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteWebhookInput = z.object({\n id: z.string().describe(\"The UUID of the webhook to delete. Obtain this from the list webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const SignwellDeleteWebhookOutput = z.object({}).describe(\"Empty response returned after successful deletion (no content).\");\n\nexport const signwellDeleteWebhook = action(\"SIGNWELL_DELETE_WEBHOOK\", {\n slug: \"signwell-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a registered webhook by its ID. Use this to remove webhooks that are no longer needed. Returns no content on success.\",\n input: SignwellDeleteWebhookInput,\n output: SignwellDeleteWebhookOutput,\n});\n"],"mappings":";;AASA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,EACzG,CAAC,CAAC,CAAC,SAAS,uCAOH;CACP,QAPyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAOvD;AACV,CAAC"}
@@ -3,22 +3,22 @@ let zod = require("zod");
3
3
  //#region src/actions/get-credentials.ts
4
4
  const SignwellGetCredentialsInput = zod.z.object({}).describe("Request model for retrieving account information. No parameters required.");
5
5
  const SignwellGetCredentials_UserInfoSchema = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier for the user"),
7
- name: zod.z.string().describe("Full name of the user"),
8
- email: zod.z.string().describe("Email address of the user"),
6
+ id: zod.z.string().describe("Unique identifier for the user").nullable(),
7
+ name: zod.z.string().describe("Full name of the user").nullable(),
8
+ email: zod.z.string().describe("Email address of the user").nullable(),
9
9
  first_name: zod.z.string().describe("First name of the user").nullable().optional(),
10
10
  has_google_registration: zod.z.boolean().default(false).describe("Whether user registered via Google").nullable().optional()
11
11
  }).describe("Current authenticated user information.");
12
12
  const SignwellGetCredentials_ActiveUserSchema = zod.z.object({
13
- id: zod.z.string().describe("Unique identifier for the user"),
14
- name: zod.z.string().describe("Full name of the user"),
15
- email: zod.z.string().describe("Email address of the user"),
13
+ id: zod.z.string().describe("Unique identifier for the user").nullable(),
14
+ name: zod.z.string().describe("Full name of the user").nullable(),
15
+ email: zod.z.string().describe("Email address of the user").nullable(),
16
16
  has_google_registration: zod.z.boolean().default(false).describe("Whether user registered via Google").nullable().optional()
17
17
  }).describe("A user within the account/workspace.");
18
18
  const SignwellGetCredentials_AccountInfoSchema = zod.z.object({
19
- id: zod.z.string().describe("Unique identifier for the account"),
20
- name: zod.z.string().describe("Name of the account"),
21
- plan_tier: zod.z.string().describe("Current plan tier (e.g., 'free', 'pro')"),
19
+ id: zod.z.string().describe("Unique identifier for the account").nullable(),
20
+ name: zod.z.string().describe("Name of the account").nullable(),
21
+ plan_tier: zod.z.string().describe("Current plan tier (e.g., 'free', 'pro')").nullable(),
22
22
  active_users: zod.z.array(SignwellGetCredentials_ActiveUserSchema).describe("List of active users in the account").nullable().optional(),
23
23
  active_templates: zod.z.number().int().default(0).describe("Number of active templates").nullable().optional(),
24
24
  can_create_template: zod.z.boolean().default(true).describe("Whether user can create templates").nullable().optional(),
@@ -26,9 +26,9 @@ const SignwellGetCredentials_AccountInfoSchema = zod.z.object({
26
26
  can_create_completion_document: zod.z.boolean().default(true).describe("Whether user can create completion documents").nullable().optional()
27
27
  }).describe("Account/workspace information.");
28
28
  const SignwellGetCredentials_ContactInfoSchema = zod.z.object({
29
- id: zod.z.string().describe("Unique identifier for the contact"),
30
- name: zod.z.string().describe("Full name"),
31
- email: zod.z.string().describe("Email address"),
29
+ id: zod.z.string().describe("Unique identifier for the contact").nullable(),
30
+ name: zod.z.string().describe("Full name").nullable(),
31
+ email: zod.z.string().describe("Email address").nullable(),
32
32
  website: zod.z.string().describe("Website URL").nullable().optional(),
33
33
  archived: zod.z.boolean().default(false).describe("Whether contact is archived").nullable().optional(),
34
34
  initials: zod.z.string().describe("User initials").nullable().optional(),
@@ -37,8 +37,8 @@ const SignwellGetCredentials_ContactInfoSchema = zod.z.object({
37
37
  alt_phone_number: zod.z.string().describe("Alternative phone number").nullable().optional()
38
38
  }).describe("Contact information for the authenticated user.");
39
39
  const SignwellGetCredentialsOutput = zod.z.object({
40
- id: zod.z.string().describe("Unique membership ID for the user-account relationship"),
41
- role: zod.z.string().describe("User's role in the account (e.g., 'owner', 'admin', 'user')"),
40
+ id: zod.z.string().describe("Unique membership ID for the user-account relationship").nullable(),
41
+ role: zod.z.string().describe("User's role in the account (e.g., 'owner', 'admin', 'user')").nullable(),
42
42
  user: SignwellGetCredentials_UserInfoSchema.nullable(),
43
43
  account: SignwellGetCredentials_AccountInfoSchema.nullable(),
44
44
  contact: SignwellGetCredentials_ContactInfoSchema.nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-credentials.cjs","names":["z","action"],"sources":["../../src/actions/get-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellGetCredentialsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving account information. No parameters required.\");\nconst SignwellGetCredentials_UserInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\"),\n name: z.string().describe(\"Full name of the user\"),\n email: z.string().describe(\"Email address of the user\"),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"Current authenticated user information.\");\nconst SignwellGetCredentials_ActiveUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\"),\n name: z.string().describe(\"Full name of the user\"),\n email: z.string().describe(\"Email address of the user\"),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"A user within the account/workspace.\");\nconst SignwellGetCredentials_AccountInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the account\"),\n name: z.string().describe(\"Name of the account\"),\n plan_tier: z.string().describe(\"Current plan tier (e.g., 'free', 'pro')\"),\n active_users: z.array(SignwellGetCredentials_ActiveUserSchema).describe(\"List of active users in the account\").nullable().optional(),\n active_templates: z.number().int().default(0).describe(\"Number of active templates\").nullable().optional(),\n can_create_template: z.boolean().default(true).describe(\"Whether user can create templates\").nullable().optional(),\n can_create_tracking_document: z.boolean().default(true).describe(\"Whether user can create tracking documents\").nullable().optional(),\n can_create_completion_document: z.boolean().default(true).describe(\"Whether user can create completion documents\").nullable().optional(),\n}).describe(\"Account/workspace information.\");\nconst SignwellGetCredentials_ContactInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact\"),\n name: z.string().describe(\"Full name\"),\n email: z.string().describe(\"Email address\"),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n archived: z.boolean().default(false).describe(\"Whether contact is archived\").nullable().optional(),\n initials: z.string().describe(\"User initials\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n alt_phone_number: z.string().describe(\"Alternative phone number\").nullable().optional(),\n}).describe(\"Contact information for the authenticated user.\");\nexport const SignwellGetCredentialsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique membership ID for the user-account relationship\"),\n role: z.string().describe(\"User's role in the account (e.g., 'owner', 'admin', 'user')\"),\n user: SignwellGetCredentials_UserInfoSchema.nullable(),\n account: SignwellGetCredentials_AccountInfoSchema.nullable(),\n contact: SignwellGetCredentials_ContactInfoSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether membership is archived\").nullable().optional(),\n workspace: SignwellGetCredentials_AccountInfoSchema.nullable(),\n}).describe(\"Account information associated with the current API key.\");\n\nexport const signwellGetCredentials = action(\"SIGNWELL_GET_CREDENTIALS\", {\n slug: \"signwell-get-credentials\",\n name: \"Get Credentials\",\n description: \"Retrieve account information for the authenticated API key. Returns comprehensive details including user profile, account settings, workspace configuration, and contact information. Use this to validate API credentials, check account capabilities (like template creation limits), or get user/account IDs for other API calls.\",\n input: SignwellGetCredentialsInput,\n output: SignwellGetCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC1J,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,0CAAwDA,IAAAA,E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C/D,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-credentials.cjs","names":["z","action"],"sources":["../../src/actions/get-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellGetCredentialsInput = z.object({}).describe(\"Request model for retrieving account information. No parameters required.\");\nconst SignwellGetCredentials_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"Current authenticated user information.\");\nconst SignwellGetCredentials_ActiveUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"A user within the account/workspace.\");\nconst SignwellGetCredentials_AccountInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n plan_tier: z.string().describe(\"Current plan tier (e.g., 'free', 'pro')\").nullable(),\n active_users: z.array(SignwellGetCredentials_ActiveUserSchema).describe(\"List of active users in the account\").nullable().optional(),\n active_templates: z.number().int().default(0).describe(\"Number of active templates\").nullable().optional(),\n can_create_template: z.boolean().default(true).describe(\"Whether user can create templates\").nullable().optional(),\n can_create_tracking_document: z.boolean().default(true).describe(\"Whether user can create tracking documents\").nullable().optional(),\n can_create_completion_document: z.boolean().default(true).describe(\"Whether user can create completion documents\").nullable().optional(),\n}).describe(\"Account/workspace information.\");\nconst SignwellGetCredentials_ContactInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Full name\").nullable(),\n email: z.string().describe(\"Email address\").nullable(),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n archived: z.boolean().default(false).describe(\"Whether contact is archived\").nullable().optional(),\n initials: z.string().describe(\"User initials\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n alt_phone_number: z.string().describe(\"Alternative phone number\").nullable().optional(),\n}).describe(\"Contact information for the authenticated user.\");\nexport const SignwellGetCredentialsOutput = z.object({\n id: z.string().describe(\"Unique membership ID for the user-account relationship\").nullable(),\n role: z.string().describe(\"User's role in the account (e.g., 'owner', 'admin', 'user')\").nullable(),\n user: SignwellGetCredentials_UserInfoSchema.nullable(),\n account: SignwellGetCredentials_AccountInfoSchema.nullable(),\n contact: SignwellGetCredentials_ContactInfoSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether membership is archived\").nullable().optional(),\n workspace: SignwellGetCredentials_AccountInfoSchema.nullable(),\n}).describe(\"Account information associated with the current API key.\");\n\nexport const signwellGetCredentials = action(\"SIGNWELL_GET_CREDENTIALS\", {\n slug: \"signwell-get-credentials\",\n name: \"Get Credentials\",\n description: \"Retrieve account information for the authenticated API key. Returns comprehensive details including user profile, account settings, workspace configuration, and contact information. Use this to validate API credentials, check account capabilities (like template creation limits), or get user/account IDs for other API calls.\",\n input: SignwellGetCredentialsInput,\n output: SignwellGetCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC5I,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAA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,CAAC,CAAC,SAAS;CAC9E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClG,MAAM,sCAAsC,SAAS;CACrD,SAAS,yCAAyC,SAAS;CAC3D,SAAS,yCAAyC,SAAS;CAC3D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,yCAAyC,SAAS;AAC/D,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,61 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-credentials.d.ts
4
- declare const SignwellGetCredentialsInput: z.ZodTypeAny;
5
- declare const SignwellGetCredentialsOutput: z.ZodTypeAny;
6
- declare const signwellGetCredentials: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SignwellGetCredentialsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SignwellGetCredentialsOutput: z.ZodObject<{
6
+ id: z.ZodNullable<z.ZodString>;
7
+ role: z.ZodNullable<z.ZodString>;
8
+ user: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ email: z.ZodNullable<z.ZodString>;
12
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
14
+ }, z.core.$strip>>;
15
+ account: z.ZodNullable<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ name: z.ZodNullable<z.ZodString>;
18
+ plan_tier: z.ZodNullable<z.ZodString>;
19
+ active_users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
+ id: z.ZodNullable<z.ZodString>;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ email: z.ZodNullable<z.ZodString>;
23
+ has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
24
+ }, z.core.$strip>>>>;
25
+ active_templates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
26
+ can_create_template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
27
+ can_create_tracking_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
+ can_create_completion_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
29
+ }, z.core.$strip>>;
30
+ contact: z.ZodNullable<z.ZodObject<{
31
+ id: z.ZodNullable<z.ZodString>;
32
+ name: z.ZodNullable<z.ZodString>;
33
+ email: z.ZodNullable<z.ZodString>;
34
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ archived: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
36
+ initials: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ alt_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ }, z.core.$strip>>;
41
+ archived: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
42
+ workspace: z.ZodNullable<z.ZodObject<{
43
+ id: z.ZodNullable<z.ZodString>;
44
+ name: z.ZodNullable<z.ZodString>;
45
+ plan_tier: z.ZodNullable<z.ZodString>;
46
+ active_users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
47
+ id: z.ZodNullable<z.ZodString>;
48
+ name: z.ZodNullable<z.ZodString>;
49
+ email: z.ZodNullable<z.ZodString>;
50
+ has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
51
+ }, z.core.$strip>>>>;
52
+ active_templates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
53
+ can_create_template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
54
+ can_create_tracking_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
55
+ can_create_completion_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
56
+ }, z.core.$strip>>;
57
+ }, z.core.$strip>;
58
+ declare const signwellGetCredentials: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
59
  //#endregion
8
60
  export { signwellGetCredentials };
9
61
  //# sourceMappingURL=get-credentials.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-credentials.d.cts","names":[],"sources":["../../src/actions/get-credentials.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAA+G;AAAA,cAmC9I,4BAAA,EAA8B,CAAA,CAAE,UAQ0B;AAAA,cAE1D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-credentials.d.cts","names":[],"sources":["../../src/actions/get-credentials.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAU5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,61 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-credentials.d.ts
4
- declare const SignwellGetCredentialsInput: z.ZodTypeAny;
5
- declare const SignwellGetCredentialsOutput: z.ZodTypeAny;
6
- declare const signwellGetCredentials: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SignwellGetCredentialsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SignwellGetCredentialsOutput: z.ZodObject<{
6
+ id: z.ZodNullable<z.ZodString>;
7
+ role: z.ZodNullable<z.ZodString>;
8
+ user: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ email: z.ZodNullable<z.ZodString>;
12
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
14
+ }, z.core.$strip>>;
15
+ account: z.ZodNullable<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ name: z.ZodNullable<z.ZodString>;
18
+ plan_tier: z.ZodNullable<z.ZodString>;
19
+ active_users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
+ id: z.ZodNullable<z.ZodString>;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ email: z.ZodNullable<z.ZodString>;
23
+ has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
24
+ }, z.core.$strip>>>>;
25
+ active_templates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
26
+ can_create_template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
27
+ can_create_tracking_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
+ can_create_completion_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
29
+ }, z.core.$strip>>;
30
+ contact: z.ZodNullable<z.ZodObject<{
31
+ id: z.ZodNullable<z.ZodString>;
32
+ name: z.ZodNullable<z.ZodString>;
33
+ email: z.ZodNullable<z.ZodString>;
34
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ archived: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
36
+ initials: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ alt_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ }, z.core.$strip>>;
41
+ archived: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
42
+ workspace: z.ZodNullable<z.ZodObject<{
43
+ id: z.ZodNullable<z.ZodString>;
44
+ name: z.ZodNullable<z.ZodString>;
45
+ plan_tier: z.ZodNullable<z.ZodString>;
46
+ active_users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
47
+ id: z.ZodNullable<z.ZodString>;
48
+ name: z.ZodNullable<z.ZodString>;
49
+ email: z.ZodNullable<z.ZodString>;
50
+ has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
51
+ }, z.core.$strip>>>>;
52
+ active_templates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
53
+ can_create_template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
54
+ can_create_tracking_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
55
+ can_create_completion_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
56
+ }, z.core.$strip>>;
57
+ }, z.core.$strip>;
58
+ declare const signwellGetCredentials: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
59
  //#endregion
8
60
  export { signwellGetCredentials };
9
61
  //# sourceMappingURL=get-credentials.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-credentials.d.mts","names":[],"sources":["../../src/actions/get-credentials.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAA+G;AAAA,cAmC9I,4BAAA,EAA8B,CAAA,CAAE,UAQ0B;AAAA,cAE1D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-credentials.d.mts","names":[],"sources":["../../src/actions/get-credentials.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAU5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,22 +3,22 @@ import { z } from "zod";
3
3
  //#region src/actions/get-credentials.ts
4
4
  const SignwellGetCredentialsInput = z.object({}).describe("Request model for retrieving account information. No parameters required.");
5
5
  const SignwellGetCredentials_UserInfoSchema = z.object({
6
- id: z.string().describe("Unique identifier for the user"),
7
- name: z.string().describe("Full name of the user"),
8
- email: z.string().describe("Email address of the user"),
6
+ id: z.string().describe("Unique identifier for the user").nullable(),
7
+ name: z.string().describe("Full name of the user").nullable(),
8
+ email: z.string().describe("Email address of the user").nullable(),
9
9
  first_name: z.string().describe("First name of the user").nullable().optional(),
10
10
  has_google_registration: z.boolean().default(false).describe("Whether user registered via Google").nullable().optional()
11
11
  }).describe("Current authenticated user information.");
12
12
  const SignwellGetCredentials_ActiveUserSchema = z.object({
13
- id: z.string().describe("Unique identifier for the user"),
14
- name: z.string().describe("Full name of the user"),
15
- email: z.string().describe("Email address of the user"),
13
+ id: z.string().describe("Unique identifier for the user").nullable(),
14
+ name: z.string().describe("Full name of the user").nullable(),
15
+ email: z.string().describe("Email address of the user").nullable(),
16
16
  has_google_registration: z.boolean().default(false).describe("Whether user registered via Google").nullable().optional()
17
17
  }).describe("A user within the account/workspace.");
18
18
  const SignwellGetCredentials_AccountInfoSchema = z.object({
19
- id: z.string().describe("Unique identifier for the account"),
20
- name: z.string().describe("Name of the account"),
21
- plan_tier: z.string().describe("Current plan tier (e.g., 'free', 'pro')"),
19
+ id: z.string().describe("Unique identifier for the account").nullable(),
20
+ name: z.string().describe("Name of the account").nullable(),
21
+ plan_tier: z.string().describe("Current plan tier (e.g., 'free', 'pro')").nullable(),
22
22
  active_users: z.array(SignwellGetCredentials_ActiveUserSchema).describe("List of active users in the account").nullable().optional(),
23
23
  active_templates: z.number().int().default(0).describe("Number of active templates").nullable().optional(),
24
24
  can_create_template: z.boolean().default(true).describe("Whether user can create templates").nullable().optional(),
@@ -26,9 +26,9 @@ const SignwellGetCredentials_AccountInfoSchema = z.object({
26
26
  can_create_completion_document: z.boolean().default(true).describe("Whether user can create completion documents").nullable().optional()
27
27
  }).describe("Account/workspace information.");
28
28
  const SignwellGetCredentials_ContactInfoSchema = z.object({
29
- id: z.string().describe("Unique identifier for the contact"),
30
- name: z.string().describe("Full name"),
31
- email: z.string().describe("Email address"),
29
+ id: z.string().describe("Unique identifier for the contact").nullable(),
30
+ name: z.string().describe("Full name").nullable(),
31
+ email: z.string().describe("Email address").nullable(),
32
32
  website: z.string().describe("Website URL").nullable().optional(),
33
33
  archived: z.boolean().default(false).describe("Whether contact is archived").nullable().optional(),
34
34
  initials: z.string().describe("User initials").nullable().optional(),
@@ -42,8 +42,8 @@ const signwellGetCredentials = action("SIGNWELL_GET_CREDENTIALS", {
42
42
  description: "Retrieve account information for the authenticated API key. Returns comprehensive details including user profile, account settings, workspace configuration, and contact information. Use this to validate API credentials, check account capabilities (like template creation limits), or get user/account IDs for other API calls.",
43
43
  input: SignwellGetCredentialsInput,
44
44
  output: z.object({
45
- id: z.string().describe("Unique membership ID for the user-account relationship"),
46
- role: z.string().describe("User's role in the account (e.g., 'owner', 'admin', 'user')"),
45
+ id: z.string().describe("Unique membership ID for the user-account relationship").nullable(),
46
+ role: z.string().describe("User's role in the account (e.g., 'owner', 'admin', 'user')").nullable(),
47
47
  user: SignwellGetCredentials_UserInfoSchema.nullable(),
48
48
  account: SignwellGetCredentials_AccountInfoSchema.nullable(),
49
49
  contact: SignwellGetCredentials_ContactInfoSchema.nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-credentials.mjs","names":[],"sources":["../../src/actions/get-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellGetCredentialsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving account information. No parameters required.\");\nconst SignwellGetCredentials_UserInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\"),\n name: z.string().describe(\"Full name of the user\"),\n email: z.string().describe(\"Email address of the user\"),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"Current authenticated user information.\");\nconst SignwellGetCredentials_ActiveUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\"),\n name: z.string().describe(\"Full name of the user\"),\n email: z.string().describe(\"Email address of the user\"),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"A user within the account/workspace.\");\nconst SignwellGetCredentials_AccountInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the account\"),\n name: z.string().describe(\"Name of the account\"),\n plan_tier: z.string().describe(\"Current plan tier (e.g., 'free', 'pro')\"),\n active_users: z.array(SignwellGetCredentials_ActiveUserSchema).describe(\"List of active users in the account\").nullable().optional(),\n active_templates: z.number().int().default(0).describe(\"Number of active templates\").nullable().optional(),\n can_create_template: z.boolean().default(true).describe(\"Whether user can create templates\").nullable().optional(),\n can_create_tracking_document: z.boolean().default(true).describe(\"Whether user can create tracking documents\").nullable().optional(),\n can_create_completion_document: z.boolean().default(true).describe(\"Whether user can create completion documents\").nullable().optional(),\n}).describe(\"Account/workspace information.\");\nconst SignwellGetCredentials_ContactInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact\"),\n name: z.string().describe(\"Full name\"),\n email: z.string().describe(\"Email address\"),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n archived: z.boolean().default(false).describe(\"Whether contact is archived\").nullable().optional(),\n initials: z.string().describe(\"User initials\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n alt_phone_number: z.string().describe(\"Alternative phone number\").nullable().optional(),\n}).describe(\"Contact information for the authenticated user.\");\nexport const SignwellGetCredentialsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique membership ID for the user-account relationship\"),\n role: z.string().describe(\"User's role in the account (e.g., 'owner', 'admin', 'user')\"),\n user: SignwellGetCredentials_UserInfoSchema.nullable(),\n account: SignwellGetCredentials_AccountInfoSchema.nullable(),\n contact: SignwellGetCredentials_ContactInfoSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether membership is archived\").nullable().optional(),\n workspace: SignwellGetCredentials_AccountInfoSchema.nullable(),\n}).describe(\"Account information associated with the current API key.\");\n\nexport const signwellGetCredentials = action(\"SIGNWELL_GET_CREDENTIALS\", {\n slug: \"signwell-get-credentials\",\n name: \"Get Credentials\",\n description: \"Retrieve account information for the authenticated API key. Returns comprehensive details including user profile, account settings, workspace configuration, and contact information. Use this to validate API credentials, check account capabilities (like template creation limits), or get user/account IDs for other API calls.\",\n input: SignwellGetCredentialsInput,\n output: SignwellGetCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC1J,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC3D,M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SAAS,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAW7D,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACvF,MAAM,sCAAsC,SAAS;EACrD,SAAS,yCAAyC,SAAS;EAC3D,SAAS,yCAAyC,SAAS;EAC3D,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,yCAAyC,SAAS;CAC/D,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-credentials.mjs","names":[],"sources":["../../src/actions/get-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellGetCredentialsInput = z.object({}).describe(\"Request model for retrieving account information. No parameters required.\");\nconst SignwellGetCredentials_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"Current authenticated user information.\");\nconst SignwellGetCredentials_ActiveUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"A user within the account/workspace.\");\nconst SignwellGetCredentials_AccountInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n plan_tier: z.string().describe(\"Current plan tier (e.g., 'free', 'pro')\").nullable(),\n active_users: z.array(SignwellGetCredentials_ActiveUserSchema).describe(\"List of active users in the account\").nullable().optional(),\n active_templates: z.number().int().default(0).describe(\"Number of active templates\").nullable().optional(),\n can_create_template: z.boolean().default(true).describe(\"Whether user can create templates\").nullable().optional(),\n can_create_tracking_document: z.boolean().default(true).describe(\"Whether user can create tracking documents\").nullable().optional(),\n can_create_completion_document: z.boolean().default(true).describe(\"Whether user can create completion documents\").nullable().optional(),\n}).describe(\"Account/workspace information.\");\nconst SignwellGetCredentials_ContactInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Full name\").nullable(),\n email: z.string().describe(\"Email address\").nullable(),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n archived: z.boolean().default(false).describe(\"Whether contact is archived\").nullable().optional(),\n initials: z.string().describe(\"User initials\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n alt_phone_number: z.string().describe(\"Alternative phone number\").nullable().optional(),\n}).describe(\"Contact information for the authenticated user.\");\nexport const SignwellGetCredentialsOutput = z.object({\n id: z.string().describe(\"Unique membership ID for the user-account relationship\").nullable(),\n role: z.string().describe(\"User's role in the account (e.g., 'owner', 'admin', 'user')\").nullable(),\n user: SignwellGetCredentials_UserInfoSchema.nullable(),\n account: SignwellGetCredentials_AccountInfoSchema.nullable(),\n contact: SignwellGetCredentials_ContactInfoSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether membership is archived\").nullable().optional(),\n workspace: SignwellGetCredentials_AccountInfoSchema.nullable(),\n}).describe(\"Account information associated with the current API key.\");\n\nexport const signwellGetCredentials = action(\"SIGNWELL_GET_CREDENTIALS\", {\n slug: \"signwell-get-credentials\",\n name: \"Get Credentials\",\n description: \"Retrieve account information for the authenticated API key. Returns comprehensive details including user profile, account settings, workspace configuration, and contact information. Use this to validate API credentials, check account capabilities (like template creation limits), or get user/account IDs for other API calls.\",\n input: SignwellGetCredentialsInput,\n output: SignwellGetCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC5I,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAA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