@keystrokehq/oksign 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/briefcase-remove.cjs +19 -0
  7. package/dist/actions/briefcase-remove.cjs.map +1 -0
  8. package/dist/actions/briefcase-remove.d.cts +9 -0
  9. package/dist/actions/briefcase-remove.d.cts.map +1 -0
  10. package/dist/actions/briefcase-remove.d.mts +9 -0
  11. package/dist/actions/briefcase-remove.d.mts.map +1 -0
  12. package/dist/actions/briefcase-remove.mjs +16 -0
  13. package/dist/actions/briefcase-remove.mjs.map +1 -0
  14. package/dist/actions/briefcase-retrieve.cjs +19 -0
  15. package/dist/actions/briefcase-retrieve.cjs.map +1 -0
  16. package/dist/actions/briefcase-retrieve.d.cts +9 -0
  17. package/dist/actions/briefcase-retrieve.d.cts.map +1 -0
  18. package/dist/actions/briefcase-retrieve.d.mts +9 -0
  19. package/dist/actions/briefcase-retrieve.d.mts.map +1 -0
  20. package/dist/actions/briefcase-retrieve.mjs +16 -0
  21. package/dist/actions/briefcase-retrieve.mjs.map +1 -0
  22. package/dist/actions/contacts-remove.cjs +22 -0
  23. package/dist/actions/contacts-remove.cjs.map +1 -0
  24. package/dist/actions/contacts-remove.d.cts +9 -0
  25. package/dist/actions/contacts-remove.d.cts.map +1 -0
  26. package/dist/actions/contacts-remove.d.mts +9 -0
  27. package/dist/actions/contacts-remove.d.mts.map +1 -0
  28. package/dist/actions/contacts-remove.mjs +19 -0
  29. package/dist/actions/contacts-remove.mjs.map +1 -0
  30. package/dist/actions/contacts-retrieve.cjs +29 -0
  31. package/dist/actions/contacts-retrieve.cjs.map +1 -0
  32. package/dist/actions/contacts-retrieve.d.cts +9 -0
  33. package/dist/actions/contacts-retrieve.d.cts.map +1 -0
  34. package/dist/actions/contacts-retrieve.d.mts +9 -0
  35. package/dist/actions/contacts-retrieve.d.mts.map +1 -0
  36. package/dist/actions/contacts-retrieve.mjs +28 -0
  37. package/dist/actions/contacts-retrieve.mjs.map +1 -0
  38. package/dist/actions/contacts-upload.cjs +31 -0
  39. package/dist/actions/contacts-upload.cjs.map +1 -0
  40. package/dist/actions/contacts-upload.d.cts +9 -0
  41. package/dist/actions/contacts-upload.d.cts.map +1 -0
  42. package/dist/actions/contacts-upload.d.mts +9 -0
  43. package/dist/actions/contacts-upload.d.mts.map +1 -0
  44. package/dist/actions/contacts-upload.mjs +28 -0
  45. package/dist/actions/contacts-upload.mjs.map +1 -0
  46. package/dist/actions/credits-retrieve.cjs +22 -0
  47. package/dist/actions/credits-retrieve.cjs.map +1 -0
  48. package/dist/actions/credits-retrieve.d.cts +9 -0
  49. package/dist/actions/credits-retrieve.d.cts.map +1 -0
  50. package/dist/actions/credits-retrieve.d.mts +9 -0
  51. package/dist/actions/credits-retrieve.d.mts.map +1 -0
  52. package/dist/actions/credits-retrieve.mjs +19 -0
  53. package/dist/actions/credits-retrieve.mjs.map +1 -0
  54. package/dist/actions/document-exists.cjs +23 -0
  55. package/dist/actions/document-exists.cjs.map +1 -0
  56. package/dist/actions/document-exists.d.cts +9 -0
  57. package/dist/actions/document-exists.d.cts.map +1 -0
  58. package/dist/actions/document-exists.d.mts +9 -0
  59. package/dist/actions/document-exists.d.mts.map +1 -0
  60. package/dist/actions/document-exists.mjs +22 -0
  61. package/dist/actions/document-exists.mjs.map +1 -0
  62. package/dist/actions/document-remove.cjs +19 -0
  63. package/dist/actions/document-remove.cjs.map +1 -0
  64. package/dist/actions/document-remove.d.cts +9 -0
  65. package/dist/actions/document-remove.d.cts.map +1 -0
  66. package/dist/actions/document-remove.d.mts +9 -0
  67. package/dist/actions/document-remove.d.mts.map +1 -0
  68. package/dist/actions/document-remove.mjs +16 -0
  69. package/dist/actions/document-remove.mjs.map +1 -0
  70. package/dist/actions/document-upload.cjs +26 -0
  71. package/dist/actions/document-upload.cjs.map +1 -0
  72. package/dist/actions/document-upload.d.cts +9 -0
  73. package/dist/actions/document-upload.d.cts.map +1 -0
  74. package/dist/actions/document-upload.d.mts +9 -0
  75. package/dist/actions/document-upload.d.mts.map +1 -0
  76. package/dist/actions/document-upload.mjs +23 -0
  77. package/dist/actions/document-upload.mjs.map +1 -0
  78. package/dist/actions/editorexpress-create.cjs +33 -0
  79. package/dist/actions/editorexpress-create.cjs.map +1 -0
  80. package/dist/actions/editorexpress-create.d.cts +9 -0
  81. package/dist/actions/editorexpress-create.d.cts.map +1 -0
  82. package/dist/actions/editorexpress-create.d.mts +9 -0
  83. package/dist/actions/editorexpress-create.d.mts.map +1 -0
  84. package/dist/actions/editorexpress-create.mjs +32 -0
  85. package/dist/actions/editorexpress-create.mjs.map +1 -0
  86. package/dist/actions/formdesc-upload.cjs +88 -0
  87. package/dist/actions/formdesc-upload.cjs.map +1 -0
  88. package/dist/actions/formdesc-upload.d.cts +9 -0
  89. package/dist/actions/formdesc-upload.d.cts.map +1 -0
  90. package/dist/actions/formdesc-upload.d.mts +9 -0
  91. package/dist/actions/formdesc-upload.d.mts.map +1 -0
  92. package/dist/actions/formdesc-upload.mjs +87 -0
  93. package/dist/actions/formdesc-upload.mjs.map +1 -0
  94. package/dist/actions/get-active-documents.cjs +32 -0
  95. package/dist/actions/get-active-documents.cjs.map +1 -0
  96. package/dist/actions/get-active-documents.d.cts +9 -0
  97. package/dist/actions/get-active-documents.d.cts.map +1 -0
  98. package/dist/actions/get-active-documents.d.mts +9 -0
  99. package/dist/actions/get-active-documents.d.mts.map +1 -0
  100. package/dist/actions/get-active-documents.mjs +31 -0
  101. package/dist/actions/get-active-documents.mjs.map +1 -0
  102. package/dist/actions/index.cjs +35 -0
  103. package/dist/actions/index.d.cts +18 -0
  104. package/dist/actions/index.d.mts +18 -0
  105. package/dist/actions/index.mjs +18 -0
  106. package/dist/actions/linked-list-retrieve.cjs +19 -0
  107. package/dist/actions/linked-list-retrieve.cjs.map +1 -0
  108. package/dist/actions/linked-list-retrieve.d.cts +9 -0
  109. package/dist/actions/linked-list-retrieve.d.cts.map +1 -0
  110. package/dist/actions/linked-list-retrieve.d.mts +9 -0
  111. package/dist/actions/linked-list-retrieve.d.mts.map +1 -0
  112. package/dist/actions/linked-list-retrieve.mjs +16 -0
  113. package/dist/actions/linked-list-retrieve.mjs.map +1 -0
  114. package/dist/actions/notifications-upload.cjs +70 -0
  115. package/dist/actions/notifications-upload.cjs.map +1 -0
  116. package/dist/actions/notifications-upload.d.cts +9 -0
  117. package/dist/actions/notifications-upload.d.cts.map +1 -0
  118. package/dist/actions/notifications-upload.d.mts +9 -0
  119. package/dist/actions/notifications-upload.d.mts.map +1 -0
  120. package/dist/actions/notifications-upload.mjs +67 -0
  121. package/dist/actions/notifications-upload.mjs.map +1 -0
  122. package/dist/actions/org-token-info-update.cjs +23 -0
  123. package/dist/actions/org-token-info-update.cjs.map +1 -0
  124. package/dist/actions/org-token-info-update.d.cts +9 -0
  125. package/dist/actions/org-token-info-update.d.cts.map +1 -0
  126. package/dist/actions/org-token-info-update.d.mts +9 -0
  127. package/dist/actions/org-token-info-update.d.mts.map +1 -0
  128. package/dist/actions/org-token-info-update.mjs +20 -0
  129. package/dist/actions/org-token-info-update.mjs.map +1 -0
  130. package/dist/actions/signexpress-remove.cjs +19 -0
  131. package/dist/actions/signexpress-remove.cjs.map +1 -0
  132. package/dist/actions/signexpress-remove.d.cts +9 -0
  133. package/dist/actions/signexpress-remove.d.cts.map +1 -0
  134. package/dist/actions/signexpress-remove.d.mts +9 -0
  135. package/dist/actions/signexpress-remove.d.mts.map +1 -0
  136. package/dist/actions/signexpress-remove.mjs +16 -0
  137. package/dist/actions/signexpress-remove.mjs.map +1 -0
  138. package/dist/actions/users-retrieve.cjs +31 -0
  139. package/dist/actions/users-retrieve.cjs.map +1 -0
  140. package/dist/actions/users-retrieve.d.cts +9 -0
  141. package/dist/actions/users-retrieve.d.cts.map +1 -0
  142. package/dist/actions/users-retrieve.d.mts +9 -0
  143. package/dist/actions/users-retrieve.d.mts.map +1 -0
  144. package/dist/actions/users-retrieve.mjs +30 -0
  145. package/dist/actions/users-retrieve.mjs.map +1 -0
  146. package/dist/app.cjs +9 -0
  147. package/dist/app.cjs.map +1 -0
  148. package/dist/app.d.cts +5 -0
  149. package/dist/app.d.cts.map +1 -0
  150. package/dist/app.d.mts +5 -0
  151. package/dist/app.d.mts.map +1 -0
  152. package/dist/app.mjs +10 -0
  153. package/dist/app.mjs.map +1 -0
  154. package/dist/catalog.cjs +15 -0
  155. package/dist/catalog.cjs.map +1 -0
  156. package/dist/catalog.d.cts +14 -0
  157. package/dist/catalog.d.cts.map +1 -0
  158. package/dist/catalog.d.mts +14 -0
  159. package/dist/catalog.d.mts.map +1 -0
  160. package/dist/catalog.mjs +15 -0
  161. package/dist/catalog.mjs.map +1 -0
  162. package/dist/execute.cjs +18 -0
  163. package/dist/execute.cjs.map +1 -0
  164. package/dist/execute.mjs +18 -0
  165. package/dist/execute.mjs.map +1 -0
  166. package/dist/index.cjs +40 -0
  167. package/dist/index.d.cts +20 -0
  168. package/dist/index.d.mts +20 -0
  169. package/dist/index.mjs +21 -0
  170. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/credits-retrieve.d.ts
4
+ declare const OksignCreditsRetrieveInput: z.ZodTypeAny;
5
+ declare const OksignCreditsRetrieveOutput: z.ZodTypeAny;
6
+ declare const oksignCreditsRetrieve: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignCreditsRetrieve };
9
+ //# sourceMappingURL=credits-retrieve.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credits-retrieve.d.mts","names":[],"sources":["../../src/actions/credits-retrieve.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAAwI;AAAA,cACtK,2BAAA,EAA6B,CAAA,CAAE,UAM8B;AAAA,cAE7D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const oksignCreditsRetrieve = action("OKSIGN_CREDITS_RETRIEVE", {
4
+ slug: "oksign-credits-retrieve",
5
+ name: "Retrieve Account Credits",
6
+ description: "Tool to retrieve account credit balance and storage information. Use when you need to check available credits or storage capacity.",
7
+ input: z.object({}).describe("Request model for retrieving account credits and storage information.\nNo parameters are required."),
8
+ output: z.object({
9
+ reason: z.unknown().describe("Additional details or error information.").nullable().optional(),
10
+ status: z.string().describe("Operation status - 'OK' or 'FAILED'."),
11
+ storage_limit: z.number().describe("Maximum storage capacity in bytes from X-AccountStorage-Limit header.").nullable().optional(),
12
+ credits_remaining: z.number().describe("Current remaining credit balance from X-AccountCredits-Remaining header.").nullable().optional(),
13
+ storage_remaining: z.number().describe("Available storage space in bytes from X-AccountStorage-Remaining header.").nullable().optional()
14
+ }).describe("Response model for account credits and storage information.")
15
+ });
16
+ //#endregion
17
+ export { oksignCreditsRetrieve };
18
+
19
+ //# sourceMappingURL=credits-retrieve.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credits-retrieve.mjs","names":[],"sources":["../../src/actions/credits-retrieve.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignCreditsRetrieveInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving account credits and storage information.\\nNo parameters are required.\");\nexport const OksignCreditsRetrieveOutput: z.ZodTypeAny = z.object({\n reason: z.unknown().describe(\"Additional details or error information.\").nullable().optional(),\n status: z.string().describe(\"Operation status - 'OK' or 'FAILED'.\"),\n storage_limit: z.number().describe(\"Maximum storage capacity in bytes from X-AccountStorage-Limit header.\").nullable().optional(),\n credits_remaining: z.number().describe(\"Current remaining credit balance from X-AccountCredits-Remaining header.\").nullable().optional(),\n storage_remaining: z.number().describe(\"Available storage space in bytes from X-AccountStorage-Remaining header.\").nullable().optional(),\n}).describe(\"Response model for account credits and storage information.\");\n\nexport const oksignCreditsRetrieve = action(\"OKSIGN_CREDITS_RETRIEVE\", {\n slug: \"oksign-credits-retrieve\",\n name: \"Retrieve Account Credits\",\n description: \"Tool to retrieve account credit balance and storage information. Use when you need to check available credits or storage capacity.\",\n input: OksignCreditsRetrieveInput,\n output: OksignCreditsRetrieveOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oGAarE;CACP,QAbuD,EAAE,OAAO;EAChE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAClE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/document-exists.ts
4
+ const OksignDocumentExistsInput = zod.z.object({ doc_id: zod.z.string().describe("The document ID to check if it exists on OKSign platform. Example: '670816-483B7F54-8591-DDF9-FA77-9042AED3E8FD'") }).describe("Request model for checking if a document exists on OKSign platform.");
5
+ const OksignDocumentExists_DocumentExistsReasonSuccessSchema = zod.z.object({
6
+ filename: zod.z.string().describe("Name of the document file"),
7
+ template: zod.z.boolean().describe("Indicates whether the document functions as a template")
8
+ }).describe("Response reason for successful document existence check.");
9
+ const OksignDocumentExistsOutput = zod.z.object({
10
+ reason: zod.z.union([OksignDocumentExists_DocumentExistsReasonSuccessSchema, zod.z.string()]).nullable().optional(),
11
+ status: zod.z.string().describe("Status of the request. 'OK' on success, 'FAILED' on error")
12
+ }).describe("Response model for document existence check.");
13
+ const oksignDocumentExists = require_action.action("OKSIGN_DOCUMENT_EXISTS", {
14
+ slug: "oksign-document-exists",
15
+ name: "Check Document Exists",
16
+ description: "Tool to check if a signed or unsigned document still exists on the OKSign platform. Use when you need to verify document availability before performing operations.",
17
+ input: OksignDocumentExistsInput,
18
+ output: OksignDocumentExistsOutput
19
+ });
20
+ //#endregion
21
+ exports.oksignDocumentExists = oksignDocumentExists;
22
+
23
+ //# sourceMappingURL=document-exists.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-exists.cjs","names":["z","action"],"sources":["../../src/actions/document-exists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignDocumentExistsInput: z.ZodTypeAny = z.object({\n doc_id: z.string().describe(\"The document ID to check if it exists on OKSign platform. Example: '670816-483B7F54-8591-DDF9-FA77-9042AED3E8FD'\"),\n}).describe(\"Request model for checking if a document exists on OKSign platform.\");\nconst OksignDocumentExists_DocumentExistsReasonSuccessSchema: z.ZodTypeAny = z.object({\n filename: z.string().describe(\"Name of the document file\"),\n template: z.boolean().describe(\"Indicates whether the document functions as a template\"),\n}).describe(\"Response reason for successful document existence check.\");\nexport const OksignDocumentExistsOutput: z.ZodTypeAny = z.object({\n reason: z.union([OksignDocumentExists_DocumentExistsReasonSuccessSchema, z.string()]).nullable().optional(),\n status: z.string().describe(\"Status of the request. 'OK' on success, 'FAILED' on error\"),\n}).describe(\"Response model for document existence check.\");\n\nexport const oksignDocumentExists = action(\"OKSIGN_DOCUMENT_EXISTS\", {\n slug: \"oksign-document-exists\",\n name: \"Check Document Exists\",\n description: \"Tool to check if a signed or unsigned document still exists on the OKSign platform. Use when you need to verify document availability before performing operations.\",\n input: OksignDocumentExistsInput,\n output: OksignDocumentExistsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;AACzF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,MAAM,CAAC,wDAAwDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/document-exists.d.ts
4
+ declare const OksignDocumentExistsInput: z.ZodTypeAny;
5
+ declare const OksignDocumentExistsOutput: z.ZodTypeAny;
6
+ declare const oksignDocumentExists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignDocumentExists };
9
+ //# sourceMappingURL=document-exists.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-exists.d.cts","names":[],"sources":["../../src/actions/document-exists.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEwC;AAAA,cAKrE,0BAAA,EAA4B,CAAA,CAAE,UAGgB;AAAA,cAE9C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/document-exists.d.ts
4
+ declare const OksignDocumentExistsInput: z.ZodTypeAny;
5
+ declare const OksignDocumentExistsOutput: z.ZodTypeAny;
6
+ declare const oksignDocumentExists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignDocumentExists };
9
+ //# sourceMappingURL=document-exists.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-exists.d.mts","names":[],"sources":["../../src/actions/document-exists.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEwC;AAAA,cAKrE,0BAAA,EAA4B,CAAA,CAAE,UAGgB;AAAA,cAE9C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/document-exists.ts
4
+ const OksignDocumentExistsInput = z.object({ doc_id: z.string().describe("The document ID to check if it exists on OKSign platform. Example: '670816-483B7F54-8591-DDF9-FA77-9042AED3E8FD'") }).describe("Request model for checking if a document exists on OKSign platform.");
5
+ const OksignDocumentExists_DocumentExistsReasonSuccessSchema = z.object({
6
+ filename: z.string().describe("Name of the document file"),
7
+ template: z.boolean().describe("Indicates whether the document functions as a template")
8
+ }).describe("Response reason for successful document existence check.");
9
+ const oksignDocumentExists = action("OKSIGN_DOCUMENT_EXISTS", {
10
+ slug: "oksign-document-exists",
11
+ name: "Check Document Exists",
12
+ description: "Tool to check if a signed or unsigned document still exists on the OKSign platform. Use when you need to verify document availability before performing operations.",
13
+ input: OksignDocumentExistsInput,
14
+ output: z.object({
15
+ reason: z.union([OksignDocumentExists_DocumentExistsReasonSuccessSchema, z.string()]).nullable().optional(),
16
+ status: z.string().describe("Status of the request. 'OK' on success, 'FAILED' on error")
17
+ }).describe("Response model for document existence check.")
18
+ });
19
+ //#endregion
20
+ export { oksignDocumentExists };
21
+
22
+ //# sourceMappingURL=document-exists.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-exists.mjs","names":[],"sources":["../../src/actions/document-exists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignDocumentExistsInput: z.ZodTypeAny = z.object({\n doc_id: z.string().describe(\"The document ID to check if it exists on OKSign platform. Example: '670816-483B7F54-8591-DDF9-FA77-9042AED3E8FD'\"),\n}).describe(\"Request model for checking if a document exists on OKSign platform.\");\nconst OksignDocumentExists_DocumentExistsReasonSuccessSchema: z.ZodTypeAny = z.object({\n filename: z.string().describe(\"Name of the document file\"),\n template: z.boolean().describe(\"Indicates whether the document functions as a template\"),\n}).describe(\"Response reason for successful document existence check.\");\nexport const OksignDocumentExistsOutput: z.ZodTypeAny = z.object({\n reason: z.union([OksignDocumentExists_DocumentExistsReasonSuccessSchema, z.string()]).nullable().optional(),\n status: z.string().describe(\"Status of the request. 'OK' on success, 'FAILED' on error\"),\n}).describe(\"Response model for document existence check.\");\n\nexport const oksignDocumentExists = action(\"OKSIGN_DOCUMENT_EXISTS\", {\n slug: \"oksign-document-exists\",\n name: \"Check Document Exists\",\n description: \"Tool to check if a signed or unsigned document still exists on the OKSign platform. Use when you need to verify document availability before performing operations.\",\n input: OksignDocumentExistsInput,\n output: OksignDocumentExistsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,yDAAuE,EAAE,OAAO;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;AACzF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAMtE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,MAAM,CAAC,wDAAwD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/document-remove.ts
4
+ const OksignDocumentRemoveInput = zod.z.object({ doc_id: zod.z.string().describe("The document identifier received from Document.upload. This is the unique identifier for the document to be removed.") }).describe("Request model for removing a document from OKSign.");
5
+ const OksignDocumentRemoveOutput = zod.z.object({
6
+ reason: zod.z.string().describe("Error description if status is FAILED. Common reasons include 'Too soon. Processing still ongoing. Please retry later' when document is removed immediately after signing.").nullable().optional(),
7
+ status: zod.z.string().describe("Status of the operation. 'OK' indicates successful removal, 'FAILED' indicates the operation failed.")
8
+ }).describe("Response model for document removal operation.");
9
+ const oksignDocumentRemove = require_action.action("OKSIGN_DOCUMENT_REMOVE", {
10
+ slug: "oksign-document-remove",
11
+ name: "Remove Document",
12
+ description: "Tool to remove a signed or unsigned document from the OKSign platform. Use when you need to delete a document and its signed copies from storage. Note: If document is removed immediately after signing while platform processes notifications, service may return FAILED status with retry message.",
13
+ input: OksignDocumentRemoveInput,
14
+ output: OksignDocumentRemoveOutput
15
+ });
16
+ //#endregion
17
+ exports.oksignDocumentRemove = oksignDocumentRemove;
18
+
19
+ //# sourceMappingURL=document-remove.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-remove.cjs","names":["z","action"],"sources":["../../src/actions/document-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignDocumentRemoveInput: z.ZodTypeAny = z.object({\n doc_id: z.string().describe(\"The document identifier received from Document.upload. This is the unique identifier for the document to be removed.\"),\n}).describe(\"Request model for removing a document from OKSign.\");\nexport const OksignDocumentRemoveOutput: z.ZodTypeAny = z.object({\n reason: z.string().describe(\"Error description if status is FAILED. Common reasons include 'Too soon. Processing still ongoing. Please retry later' when document is removed immediately after signing.\").nullable().optional(),\n status: z.string().describe(\"Status of the operation. 'OK' indicates successful removal, 'FAILED' indicates the operation failed.\"),\n}).describe(\"Response model for document removal operation.\");\n\nexport const oksignDocumentRemove = action(\"OKSIGN_DOCUMENT_REMOVE\", {\n slug: \"oksign-document-remove\",\n name: \"Remove Document\",\n description: \"Tool to remove a signed or unsigned document from the OKSign platform. Use when you need to delete a document and its signed copies from storage. Note: If document is removed immediately after signing while platform processes notifications, service may return FAILED status with retry message.\",\n input: OksignDocumentRemoveInput,\n output: OksignDocumentRemoveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,EACpJ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9N,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;AACpI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/document-remove.d.ts
4
+ declare const OksignDocumentRemoveInput: z.ZodTypeAny;
5
+ declare const OksignDocumentRemoveOutput: z.ZodTypeAny;
6
+ declare const oksignDocumentRemove: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignDocumentRemove };
9
+ //# sourceMappingURL=document-remove.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-remove.d.cts","names":[],"sources":["../../src/actions/document-remove.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEuB;AAAA,cACpD,0BAAA,EAA4B,CAAA,CAAE,UAGkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/document-remove.d.ts
4
+ declare const OksignDocumentRemoveInput: z.ZodTypeAny;
5
+ declare const OksignDocumentRemoveOutput: z.ZodTypeAny;
6
+ declare const oksignDocumentRemove: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignDocumentRemove };
9
+ //# sourceMappingURL=document-remove.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-remove.d.mts","names":[],"sources":["../../src/actions/document-remove.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEuB;AAAA,cACpD,0BAAA,EAA4B,CAAA,CAAE,UAGkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const oksignDocumentRemove = action("OKSIGN_DOCUMENT_REMOVE", {
4
+ slug: "oksign-document-remove",
5
+ name: "Remove Document",
6
+ description: "Tool to remove a signed or unsigned document from the OKSign platform. Use when you need to delete a document and its signed copies from storage. Note: If document is removed immediately after signing while platform processes notifications, service may return FAILED status with retry message.",
7
+ input: z.object({ doc_id: z.string().describe("The document identifier received from Document.upload. This is the unique identifier for the document to be removed.") }).describe("Request model for removing a document from OKSign."),
8
+ output: z.object({
9
+ reason: z.string().describe("Error description if status is FAILED. Common reasons include 'Too soon. Processing still ongoing. Please retry later' when document is removed immediately after signing.").nullable().optional(),
10
+ status: z.string().describe("Status of the operation. 'OK' indicates successful removal, 'FAILED' indicates the operation failed.")
11
+ }).describe("Response model for document removal operation.")
12
+ });
13
+ //#endregion
14
+ export { oksignDocumentRemove };
15
+
16
+ //# sourceMappingURL=document-remove.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-remove.mjs","names":[],"sources":["../../src/actions/document-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignDocumentRemoveInput: z.ZodTypeAny = z.object({\n doc_id: z.string().describe(\"The document identifier received from Document.upload. This is the unique identifier for the document to be removed.\"),\n}).describe(\"Request model for removing a document from OKSign.\");\nexport const OksignDocumentRemoveOutput: z.ZodTypeAny = z.object({\n reason: z.string().describe(\"Error description if status is FAILED. Common reasons include 'Too soon. Processing still ongoing. Please retry later' when document is removed immediately after signing.\").nullable().optional(),\n status: z.string().describe(\"Status of the operation. 'OK' indicates successful removal, 'FAILED' indicates the operation failed.\"),\n}).describe(\"Response model for document removal operation.\");\n\nexport const oksignDocumentRemove = action(\"OKSIGN_DOCUMENT_REMOVE\", {\n slug: \"oksign-document-remove\",\n name: \"Remove Document\",\n description: \"Tool to remove a signed or unsigned document from the OKSign platform. Use when you need to delete a document and its signed copies from storage. Note: If document is removed immediately after signing while platform processes notifications, service may return FAILED status with retry message.\",\n input: OksignDocumentRemoveInput,\n output: OksignDocumentRemoveOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqD,EAAE,OAAO,EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,EACpJ,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAVsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9N,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACpI,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/document-upload.ts
4
+ const OksignDocumentUploadInput = zod.z.object({ document: zod.z.object({
5
+ name: zod.z.string().describe("The filename that will be used when uploading the file to the destination service"),
6
+ s3key: zod.z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
7
+ mimetype: zod.z.string().describe("The MIME type of the file")
8
+ }).describe("Document file to upload (PDF or Word).") }).describe("Request model for uploading a document to OKSign platform.");
9
+ const OksignDocumentUploadOutput = zod.z.object({
10
+ reason: zod.z.string().describe("Document ID when successful; error message when failed."),
11
+ status: zod.z.string().describe("Status of the upload operation. 'OK' for success, 'FAILED' for failure."),
12
+ account_storage_limit: zod.z.string().describe("Maximum storage available in bytes for the account.").nullable().optional(),
13
+ account_storage_reset: zod.z.string().describe("When storage quota resets, or 'never' if no reset.").nullable().optional(),
14
+ account_storage_remaining: zod.z.string().describe("Remaining storage available in bytes.").nullable().optional()
15
+ }).describe("Response model for document upload operation.");
16
+ const oksignDocumentUpload = require_action.action("OKSIGN_DOCUMENT_UPLOAD", {
17
+ slug: "oksign-document-upload",
18
+ name: "Upload Document",
19
+ description: "Tool to upload a PDF or Word document to OKSign platform for completion and/or signing. Use when you need to add a new document that requires signatures. Maximum file size is 10 MB. Supported formats: PDF, DOC, DOCX.",
20
+ input: OksignDocumentUploadInput,
21
+ output: OksignDocumentUploadOutput
22
+ });
23
+ //#endregion
24
+ exports.oksignDocumentUpload = oksignDocumentUpload;
25
+
26
+ //# sourceMappingURL=document-upload.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-upload.cjs","names":["z","action"],"sources":["../../src/actions/document-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignDocumentUploadInput: z.ZodTypeAny = z.object({\n document: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Document file to upload (PDF or Word).\"),\n}).describe(\"Request model for uploading a document to OKSign platform.\");\nexport const OksignDocumentUploadOutput: z.ZodTypeAny = z.object({\n reason: z.string().describe(\"Document ID when successful; error message when failed.\"),\n status: z.string().describe(\"Status of the upload operation. 'OK' for success, 'FAILED' for failure.\"),\n account_storage_limit: z.string().describe(\"Maximum storage available in bytes for the account.\").nullable().optional(),\n account_storage_reset: z.string().describe(\"When storage quota resets, or 'never' if no reset.\").nullable().optional(),\n account_storage_remaining: z.string().describe(\"Remaining storage available in bytes.\").nullable().optional(),\n}).describe(\"Response model for document upload operation.\");\n\nexport const oksignDocumentUpload = action(\"OKSIGN_DOCUMENT_UPLOAD\", {\n slug: \"oksign-document-upload\",\n name: \"Upload Document\",\n description: \"Tool to upload a PDF or Word document to OKSign platform for completion and/or signing. Use when you need to add a new document that requires signatures. Maximum file size is 10 MB. Supported formats: PDF, DOC, DOCX.\",\n input: OksignDocumentUploadInput,\n output: OksignDocumentUploadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,UAAUA,IAAAA,EAAE,OAAO;CACnB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;CACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AAC3D,CAAC,CAAC,CAAC,SAAS,wCAAwC,EACpD,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/document-upload.d.ts
4
+ declare const OksignDocumentUploadInput: z.ZodTypeAny;
5
+ declare const OksignDocumentUploadOutput: z.ZodTypeAny;
6
+ declare const oksignDocumentUpload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignDocumentUpload };
9
+ //# sourceMappingURL=document-upload.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-upload.d.cts","names":[],"sources":["../../src/actions/document-upload.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAM+B;AAAA,cAC5D,0BAAA,EAA4B,CAAA,CAAE,UAMiB;AAAA,cAE/C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/document-upload.d.ts
4
+ declare const OksignDocumentUploadInput: z.ZodTypeAny;
5
+ declare const OksignDocumentUploadOutput: z.ZodTypeAny;
6
+ declare const oksignDocumentUpload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignDocumentUpload };
9
+ //# sourceMappingURL=document-upload.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-upload.d.mts","names":[],"sources":["../../src/actions/document-upload.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAM+B;AAAA,cAC5D,0BAAA,EAA4B,CAAA,CAAE,UAMiB;AAAA,cAE/C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const oksignDocumentUpload = action("OKSIGN_DOCUMENT_UPLOAD", {
4
+ slug: "oksign-document-upload",
5
+ name: "Upload Document",
6
+ description: "Tool to upload a PDF or Word document to OKSign platform for completion and/or signing. Use when you need to add a new document that requires signatures. Maximum file size is 10 MB. Supported formats: PDF, DOC, DOCX.",
7
+ input: z.object({ document: z.object({
8
+ name: z.string().describe("The filename that will be used when uploading the file to the destination service"),
9
+ s3key: z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
10
+ mimetype: z.string().describe("The MIME type of the file")
11
+ }).describe("Document file to upload (PDF or Word).") }).describe("Request model for uploading a document to OKSign platform."),
12
+ output: z.object({
13
+ reason: z.string().describe("Document ID when successful; error message when failed."),
14
+ status: z.string().describe("Status of the upload operation. 'OK' for success, 'FAILED' for failure."),
15
+ account_storage_limit: z.string().describe("Maximum storage available in bytes for the account.").nullable().optional(),
16
+ account_storage_reset: z.string().describe("When storage quota resets, or 'never' if no reset.").nullable().optional(),
17
+ account_storage_remaining: z.string().describe("Remaining storage available in bytes.").nullable().optional()
18
+ }).describe("Response model for document upload operation.")
19
+ });
20
+ //#endregion
21
+ export { oksignDocumentUpload };
22
+
23
+ //# sourceMappingURL=document-upload.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-upload.mjs","names":[],"sources":["../../src/actions/document-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignDocumentUploadInput: z.ZodTypeAny = z.object({\n document: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Document file to upload (PDF or Word).\"),\n}).describe(\"Request model for uploading a document to OKSign platform.\");\nexport const OksignDocumentUploadOutput: z.ZodTypeAny = z.object({\n reason: z.string().describe(\"Document ID when successful; error message when failed.\"),\n status: z.string().describe(\"Status of the upload operation. 'OK' for success, 'FAILED' for failure.\"),\n account_storage_limit: z.string().describe(\"Maximum storage available in bytes for the account.\").nullable().optional(),\n account_storage_reset: z.string().describe(\"When storage quota resets, or 'never' if no reset.\").nullable().optional(),\n account_storage_remaining: z.string().describe(\"Remaining storage available in bytes.\").nullable().optional(),\n}).describe(\"Response model for document upload operation.\");\n\nexport const oksignDocumentUpload = action(\"OKSIGN_DOCUMENT_UPLOAD\", {\n slug: \"oksign-document-upload\",\n name: \"Upload Document\",\n description: \"Tool to upload a PDF or Word document to OKSign platform for completion and/or signing. Use when you need to add a new document that requires signatures. Maximum file size is 10 MB. Supported formats: PDF, DOC, DOCX.\",\n input: OksignDocumentUploadInput,\n output: OksignDocumentUploadOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBqD,EAAE,OAAO,EAC9D,UAAU,EAAE,OAAO;EACnB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,wCAAwC,EACpD,CAAC,CAAC,CAAC,SAAS,4DAaH;CACP,QAbsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,33 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/editorexpress-create.ts
4
+ const OksignEditorexpressCreateInput = zod.z.object({
5
+ list: zod.z.array(zod.z.string()).describe("Array of document IDs to load in the editor for modification. Each ID should be a valid OKSign document identifier."),
6
+ show_me_signer: zod.z.boolean().describe("Show current user as a signer option in the editor. Set to true to include yourself as a signer.").optional(),
7
+ show_teammembers: zod.z.boolean().describe("Display team members in the editor interface. Set to true to show team members as options.").optional(),
8
+ show_signing_options: zod.z.boolean().describe("Display signing method options in the editor. Set to true to show available signing methods.").optional(),
9
+ show_anonymous_signers: zod.z.boolean().describe("Display anonymous signers as options in the editor. Set to true to enable anonymous signer selection.").optional()
10
+ }).describe("Request model for creating an OKSign Editor Express session.");
11
+ const OksignEditorexpressCreate_EditorExpressDataSchema = zod.z.object({
12
+ url: zod.z.string().describe("URL for accessing the OKSign editor to modify documents."),
13
+ token: zod.z.string().describe("Session token for the editor express session.")
14
+ }).describe("Data model for successful editor express creation.");
15
+ const OksignEditorexpressCreateOutput = zod.z.object({
16
+ reason: zod.z.union([
17
+ OksignEditorexpressCreate_EditorExpressDataSchema,
18
+ zod.z.array(zod.z.string()),
19
+ zod.z.string()
20
+ ]),
21
+ status: zod.z.string().describe("Operation status. 'OK' for success, 'FAILED' for error.")
22
+ }).describe("Response model for editor express creation.");
23
+ const oksignEditorexpressCreate = require_action.action("OKSIGN_EDITOREXPRESS_CREATE", {
24
+ slug: "oksign-editorexpress-create",
25
+ name: "Create Editor Express Session",
26
+ description: "Tool to invoke the OKSign Editor Express for modifying documents and form descriptors. Use when you need to open documents in an interactive editor where users can add signature fields, form fields, and configure signing workflows. The editor URL returned can be embedded or redirected to within your application.",
27
+ input: OksignEditorexpressCreateInput,
28
+ output: OksignEditorexpressCreateOutput
29
+ });
30
+ //#endregion
31
+ exports.oksignEditorexpressCreate = oksignEditorexpressCreate;
32
+
33
+ //# sourceMappingURL=editorexpress-create.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editorexpress-create.cjs","names":["z","action"],"sources":["../../src/actions/editorexpress-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignEditorexpressCreateInput: z.ZodTypeAny = z.object({\n list: z.array(z.string()).describe(\"Array of document IDs to load in the editor for modification. Each ID should be a valid OKSign document identifier.\"),\n show_me_signer: z.boolean().describe(\"Show current user as a signer option in the editor. Set to true to include yourself as a signer.\").optional(),\n show_teammembers: z.boolean().describe(\"Display team members in the editor interface. Set to true to show team members as options.\").optional(),\n show_signing_options: z.boolean().describe(\"Display signing method options in the editor. Set to true to show available signing methods.\").optional(),\n show_anonymous_signers: z.boolean().describe(\"Display anonymous signers as options in the editor. Set to true to enable anonymous signer selection.\").optional(),\n}).describe(\"Request model for creating an OKSign Editor Express session.\");\nconst OksignEditorexpressCreate_EditorExpressDataSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for accessing the OKSign editor to modify documents.\"),\n token: z.string().describe(\"Session token for the editor express session.\"),\n}).describe(\"Data model for successful editor express creation.\");\nexport const OksignEditorexpressCreateOutput: z.ZodTypeAny = z.object({\n reason: z.union([OksignEditorexpressCreate_EditorExpressDataSchema, z.array(z.string()), z.string()]),\n status: z.string().describe(\"Operation status. 'OK' for success, 'FAILED' for error.\"),\n}).describe(\"Response model for editor express creation.\");\n\nexport const oksignEditorexpressCreate = action(\"OKSIGN_EDITOREXPRESS_CREATE\", {\n slug: \"oksign-editorexpress-create\",\n name: \"Create Editor Express Session\",\n description: \"Tool to invoke the OKSign Editor Express for modifying documents and form descriptors. Use when you need to open documents in an interactive editor where users can add signature fields, form fields, and configure signing workflows. The editor URL returned can be embedded or redirected to within your application.\",\n input: OksignEditorexpressCreateInput,\n output: OksignEditorexpressCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH;CACxJ,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC9I,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpJ,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAC5E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,MAAM;EAAC;EAAmDA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AACvF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/editorexpress-create.d.ts
4
+ declare const OksignEditorexpressCreateInput: z.ZodTypeAny;
5
+ declare const OksignEditorexpressCreateOutput: z.ZodTypeAny;
6
+ declare const oksignEditorexpressCreate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignEditorexpressCreate };
9
+ //# sourceMappingURL=editorexpress-create.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editorexpress-create.d.cts","names":[],"sources":["../../src/actions/editorexpress-create.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAM4B;AAAA,cAK9D,+BAAA,EAAiC,CAAA,CAAE,UAGU;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/editorexpress-create.d.ts
4
+ declare const OksignEditorexpressCreateInput: z.ZodTypeAny;
5
+ declare const OksignEditorexpressCreateOutput: z.ZodTypeAny;
6
+ declare const oksignEditorexpressCreate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignEditorexpressCreate };
9
+ //# sourceMappingURL=editorexpress-create.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editorexpress-create.d.mts","names":[],"sources":["../../src/actions/editorexpress-create.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAM4B;AAAA,cAK9D,+BAAA,EAAiC,CAAA,CAAE,UAGU;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,32 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/editorexpress-create.ts
4
+ const OksignEditorexpressCreateInput = z.object({
5
+ list: z.array(z.string()).describe("Array of document IDs to load in the editor for modification. Each ID should be a valid OKSign document identifier."),
6
+ show_me_signer: z.boolean().describe("Show current user as a signer option in the editor. Set to true to include yourself as a signer.").optional(),
7
+ show_teammembers: z.boolean().describe("Display team members in the editor interface. Set to true to show team members as options.").optional(),
8
+ show_signing_options: z.boolean().describe("Display signing method options in the editor. Set to true to show available signing methods.").optional(),
9
+ show_anonymous_signers: z.boolean().describe("Display anonymous signers as options in the editor. Set to true to enable anonymous signer selection.").optional()
10
+ }).describe("Request model for creating an OKSign Editor Express session.");
11
+ const OksignEditorexpressCreate_EditorExpressDataSchema = z.object({
12
+ url: z.string().describe("URL for accessing the OKSign editor to modify documents."),
13
+ token: z.string().describe("Session token for the editor express session.")
14
+ }).describe("Data model for successful editor express creation.");
15
+ const oksignEditorexpressCreate = action("OKSIGN_EDITOREXPRESS_CREATE", {
16
+ slug: "oksign-editorexpress-create",
17
+ name: "Create Editor Express Session",
18
+ description: "Tool to invoke the OKSign Editor Express for modifying documents and form descriptors. Use when you need to open documents in an interactive editor where users can add signature fields, form fields, and configure signing workflows. The editor URL returned can be embedded or redirected to within your application.",
19
+ input: OksignEditorexpressCreateInput,
20
+ output: z.object({
21
+ reason: z.union([
22
+ OksignEditorexpressCreate_EditorExpressDataSchema,
23
+ z.array(z.string()),
24
+ z.string()
25
+ ]),
26
+ status: z.string().describe("Operation status. 'OK' for success, 'FAILED' for error.")
27
+ }).describe("Response model for editor express creation.")
28
+ });
29
+ //#endregion
30
+ export { oksignEditorexpressCreate };
31
+
32
+ //# sourceMappingURL=editorexpress-create.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editorexpress-create.mjs","names":[],"sources":["../../src/actions/editorexpress-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignEditorexpressCreateInput: z.ZodTypeAny = z.object({\n list: z.array(z.string()).describe(\"Array of document IDs to load in the editor for modification. Each ID should be a valid OKSign document identifier.\"),\n show_me_signer: z.boolean().describe(\"Show current user as a signer option in the editor. Set to true to include yourself as a signer.\").optional(),\n show_teammembers: z.boolean().describe(\"Display team members in the editor interface. Set to true to show team members as options.\").optional(),\n show_signing_options: z.boolean().describe(\"Display signing method options in the editor. Set to true to show available signing methods.\").optional(),\n show_anonymous_signers: z.boolean().describe(\"Display anonymous signers as options in the editor. Set to true to enable anonymous signer selection.\").optional(),\n}).describe(\"Request model for creating an OKSign Editor Express session.\");\nconst OksignEditorexpressCreate_EditorExpressDataSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for accessing the OKSign editor to modify documents.\"),\n token: z.string().describe(\"Session token for the editor express session.\"),\n}).describe(\"Data model for successful editor express creation.\");\nexport const OksignEditorexpressCreateOutput: z.ZodTypeAny = z.object({\n reason: z.union([OksignEditorexpressCreate_EditorExpressDataSchema, z.array(z.string()), z.string()]),\n status: z.string().describe(\"Operation status. 'OK' for success, 'FAILED' for error.\"),\n}).describe(\"Response model for editor express creation.\");\n\nexport const oksignEditorexpressCreate = action(\"OKSIGN_EDITOREXPRESS_CREATE\", {\n slug: \"oksign-editorexpress-create\",\n name: \"Create Editor Express Session\",\n description: \"Tool to invoke the OKSign Editor Express for modifying documents and form descriptors. Use when you need to open documents in an interactive editor where users can add signature fields, form fields, and configure signing workflows. The editor URL returned can be embedded or redirected to within your application.\",\n input: OksignEditorexpressCreateInput,\n output: OksignEditorexpressCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH;CACxJ,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC9I,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpJ,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,oDAAkE,EAAE,OAAO;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAC5E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAMhE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,QAAQ,EAAE,MAAM;GAAC;GAAmD,EAAE,MAAM,EAAE,OAAO,CAAC;GAAG,EAAE,OAAO;EAAC,CAAC;EACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACvF,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,88 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/formdesc-upload.ts
4
+ const OksignFormdescUploadInput = zod.z.object({
5
+ logo: zod.z.string().describe("URL of logo displayed during signing").optional(),
6
+ docid: zod.z.string().describe("Document ID from Document.upload service (passed in x-oksign-docid header)"),
7
+ fields: zod.z.array(zod.z.object({
8
+ name: zod.z.string().describe("Unique field identifier"),
9
+ posX: zod.z.number().describe("X coordinate position on page in pixels (required if marker not provided)").optional(),
10
+ posY: zod.z.number().describe("Y coordinate position on page in pixels (required if marker not provided)").optional(),
11
+ value: zod.z.union([zod.z.string(), zod.z.object({})]).optional(),
12
+ width: zod.z.number().describe("Field width in pixels"),
13
+ fnname: zod.z.string().describe("Validation function name (e.g., isValidEmail)").optional(),
14
+ height: zod.z.number().describe("Field height in pixels"),
15
+ marker: zod.z.string().describe("Unique text in PDF marking field position (alternative to pagenbr/posX/posY)").optional(),
16
+ pagenbr: zod.z.number().int().describe("Page number where field appears (required if marker not provided)").optional(),
17
+ fontsize: zod.z.string().describe("Font size for text fields").optional(),
18
+ readonly: zod.z.boolean().describe("Whether signer can modify the field value").optional(),
19
+ required: zod.z.boolean().describe("Whether field must be completed before signing").optional(),
20
+ signerid: zod.z.string().describe("Signer ID for CanvasSIG fields (required for signature fields)").optional(),
21
+ inputtype: zod.z.string().describe("Field type: Text, TextArea, Select, Date, Checkbox, or CanvasSIG for signature fields"),
22
+ signingoptions: zod.z.object({
23
+ eid: zod.z.object({}).describe("Electronic ID signature options (empty dict to enable)").optional(),
24
+ pen: zod.z.object({}).describe("Pen signature options (empty dict to enable)").optional(),
25
+ tan: zod.z.object({}).describe("TAN signature options (empty dict to enable)").optional(),
26
+ itsme: zod.z.object({}).describe("itsme signature options (empty dict to enable)").optional()
27
+ }).describe("Signing options for signature fields.").optional()
28
+ }).describe("Describes a form field including text inputs and signature fields.")).describe("Array of field objects defining form inputs and signature fields"),
29
+ assignto: zod.z.string().describe("Email of assigned user in account").optional(),
30
+ filename: zod.z.string().describe("Document filename (supports non-ASCII characters)").optional(),
31
+ reusable: zod.z.boolean().describe("Whether multiple copies of this document can be signed"),
32
+ signersinfo: zod.z.array(zod.z.object({
33
+ id: zod.z.string().describe("Unique signer identifier in bt_XXXXXXXX format"),
34
+ name: zod.z.string().describe("Signer's full name").optional(),
35
+ email: zod.z.string().describe("Signer's email address").optional(),
36
+ mobile: zod.z.string().describe("Mobile number in E.164 format").optional(),
37
+ actingas: zod.z.string().describe("Signer's role or qualification").optional(),
38
+ readonly: zod.z.boolean().describe("Whether signer can modify their personal information").optional()
39
+ }).describe("Information about a signer.")).describe("Array of signer information objects"),
40
+ sendtomeonly: zod.z.boolean().describe("Send signed document only to account's email").optional(),
41
+ notifications: zod.z.object({
42
+ sms: zod.z.object({
43
+ to: zod.z.array(zod.z.string()).describe("Signer IDs to receive SMS"),
44
+ delay: zod.z.number().int().describe("Hours to delay sending (default: 0)").optional(),
45
+ repeat: zod.z.number().int().describe("Max resend attempts (0-3)").optional(),
46
+ subject: zod.z.string().describe("SMS text (max 95 characters)"),
47
+ language: zod.z.string().describe("Page language code").optional(),
48
+ reminder_days: zod.z.number().int().describe("Days between resends (0-10)").optional()
49
+ }).describe("SMS notification configuration.").optional(),
50
+ smtp: zod.z.object({
51
+ cc: zod.z.array(zod.z.string()).describe("Email addresses in Cc field").optional(),
52
+ to: zod.z.array(zod.z.string()).describe("Signer IDs to receive emails"),
53
+ body: zod.z.string().describe("Email content in HTML format"),
54
+ delay: zod.z.number().int().describe("Hours to delay sending (default: 0)").optional(),
55
+ repeat: zod.z.number().int().describe("Max resend attempts (0-3)").optional(),
56
+ sender: zod.z.string().describe("Sender name displayed in email").optional(),
57
+ subject: zod.z.string().describe("Email subject line"),
58
+ language: zod.z.string().describe("Page language: nl, fr, en, da, de, pl, es, it, pt").optional(),
59
+ reminder_days: zod.z.number().int().describe("Days between resends (0-10)").optional()
60
+ }).describe("Email notification configuration.").optional()
61
+ }).describe("Email and SMS notification configuration.").optional(),
62
+ sendtomeemail: zod.z.string().describe("Alternative email for signed document").optional()
63
+ }).describe("Request model for uploading form descriptor to define signature fields and other field types.");
64
+ const OksignFormdescUpload_SignerUrlSchema = zod.z.object({
65
+ id: zod.z.string().describe("Signer identifier"),
66
+ url: zod.z.string().describe("Signing link to send to signer"),
67
+ name: zod.z.string().describe("Signer name")
68
+ }).describe("Signing URL information for a signer.");
69
+ const OksignFormdescUploadOutput = zod.z.object({
70
+ docid: zod.z.string().describe("Document ID returned on successful upload").nullable().optional(),
71
+ reason: zod.z.union([
72
+ zod.z.array(OksignFormdescUpload_SignerUrlSchema),
73
+ zod.z.array(zod.z.string()),
74
+ zod.z.string()
75
+ ]),
76
+ status: zod.z.string().describe("Operation status: OK or FAILED")
77
+ }).describe("Response model for form descriptor upload.");
78
+ const oksignFormdescUpload = require_action.action("OKSIGN_FORMDESC_UPLOAD", {
79
+ slug: "oksign-formdesc-upload",
80
+ name: "Upload Form Descriptor",
81
+ description: "Tool to upload form descriptor defining signature fields and other field types to a document. Use when you need to add form fields, signature areas, and configure signing workflows for a document.",
82
+ input: OksignFormdescUploadInput,
83
+ output: OksignFormdescUploadOutput
84
+ });
85
+ //#endregion
86
+ exports.oksignFormdescUpload = oksignFormdescUpload;
87
+
88
+ //# sourceMappingURL=formdesc-upload.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formdesc-upload.cjs","names":["z","action"],"sources":["../../src/actions/formdesc-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignFormdescUploadInput: z.ZodTypeAny = z.object({\n logo: z.string().describe(\"URL of logo displayed during signing\").optional(),\n docid: z.string().describe(\"Document ID from Document.upload service (passed in x-oksign-docid header)\"),\n fields: z.array(z.object({\n name: z.string().describe(\"Unique field identifier\"),\n posX: z.number().describe(\"X coordinate position on page in pixels (required if marker not provided)\").optional(),\n posY: z.number().describe(\"Y coordinate position on page in pixels (required if marker not provided)\").optional(),\n value: z.union([z.string(), z.object({})]).optional(),\n width: z.number().describe(\"Field width in pixels\"),\n fnname: z.string().describe(\"Validation function name (e.g., isValidEmail)\").optional(),\n height: z.number().describe(\"Field height in pixels\"),\n marker: z.string().describe(\"Unique text in PDF marking field position (alternative to pagenbr/posX/posY)\").optional(),\n pagenbr: z.number().int().describe(\"Page number where field appears (required if marker not provided)\").optional(),\n fontsize: z.string().describe(\"Font size for text fields\").optional(),\n readonly: z.boolean().describe(\"Whether signer can modify the field value\").optional(),\n required: z.boolean().describe(\"Whether field must be completed before signing\").optional(),\n signerid: z.string().describe(\"Signer ID for CanvasSIG fields (required for signature fields)\").optional(),\n inputtype: z.string().describe(\"Field type: Text, TextArea, Select, Date, Checkbox, or CanvasSIG for signature fields\"),\n signingoptions: z.object({\n eid: z.object({}).describe(\"Electronic ID signature options (empty dict to enable)\").optional(),\n pen: z.object({}).describe(\"Pen signature options (empty dict to enable)\").optional(),\n tan: z.object({}).describe(\"TAN signature options (empty dict to enable)\").optional(),\n itsme: z.object({}).describe(\"itsme signature options (empty dict to enable)\").optional(),\n}).describe(\"Signing options for signature fields.\").optional(),\n}).describe(\"Describes a form field including text inputs and signature fields.\")).describe(\"Array of field objects defining form inputs and signature fields\"),\n assignto: z.string().describe(\"Email of assigned user in account\").optional(),\n filename: z.string().describe(\"Document filename (supports non-ASCII characters)\").optional(),\n reusable: z.boolean().describe(\"Whether multiple copies of this document can be signed\"),\n signersinfo: z.array(z.object({\n id: z.string().describe(\"Unique signer identifier in bt_XXXXXXXX format\"),\n name: z.string().describe(\"Signer's full name\").optional(),\n email: z.string().describe(\"Signer's email address\").optional(),\n mobile: z.string().describe(\"Mobile number in E.164 format\").optional(),\n actingas: z.string().describe(\"Signer's role or qualification\").optional(),\n readonly: z.boolean().describe(\"Whether signer can modify their personal information\").optional(),\n}).describe(\"Information about a signer.\")).describe(\"Array of signer information objects\"),\n sendtomeonly: z.boolean().describe(\"Send signed document only to account's email\").optional(),\n notifications: z.object({\n sms: z.object({\n to: z.array(z.string()).describe(\"Signer IDs to receive SMS\"),\n delay: z.number().int().describe(\"Hours to delay sending (default: 0)\").optional(),\n repeat: z.number().int().describe(\"Max resend attempts (0-3)\").optional(),\n subject: z.string().describe(\"SMS text (max 95 characters)\"),\n language: z.string().describe(\"Page language code\").optional(),\n reminder_days: z.number().int().describe(\"Days between resends (0-10)\").optional(),\n}).describe(\"SMS notification configuration.\").optional(),\n smtp: z.object({\n cc: z.array(z.string()).describe(\"Email addresses in Cc field\").optional(),\n to: z.array(z.string()).describe(\"Signer IDs to receive emails\"),\n body: z.string().describe(\"Email content in HTML format\"),\n delay: z.number().int().describe(\"Hours to delay sending (default: 0)\").optional(),\n repeat: z.number().int().describe(\"Max resend attempts (0-3)\").optional(),\n sender: z.string().describe(\"Sender name displayed in email\").optional(),\n subject: z.string().describe(\"Email subject line\"),\n language: z.string().describe(\"Page language: nl, fr, en, da, de, pl, es, it, pt\").optional(),\n reminder_days: z.number().int().describe(\"Days between resends (0-10)\").optional(),\n}).describe(\"Email notification configuration.\").optional(),\n}).describe(\"Email and SMS notification configuration.\").optional(),\n sendtomeemail: z.string().describe(\"Alternative email for signed document\").optional(),\n}).describe(\"Request model for uploading form descriptor to define signature fields and other field types.\");\nconst OksignFormdescUpload_SignerUrlSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Signer identifier\"),\n url: z.string().describe(\"Signing link to send to signer\"),\n name: z.string().describe(\"Signer name\"),\n}).describe(\"Signing URL information for a signer.\");\nexport const OksignFormdescUploadOutput: z.ZodTypeAny = z.object({\n docid: z.string().describe(\"Document ID returned on successful upload\").nullable().optional(),\n reason: z.union([z.array(OksignFormdescUpload_SignerUrlSchema), z.array(z.string()), z.string()]),\n status: z.string().describe(\"Operation status: OK or FAILED\"),\n}).describe(\"Response model for form descriptor upload.\");\n\nexport const oksignFormdescUpload = action(\"OKSIGN_FORMDESC_UPLOAD\", {\n slug: \"oksign-formdesc-upload\",\n name: \"Upload Form Descriptor\",\n description: \"Tool to upload form descriptor defining signature fields and other field types to a document. Use when you need to add form fields, signature areas, and configure signing workflows for a document.\",\n input: OksignFormdescUploadInput,\n output: OksignFormdescUploadOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/formdesc-upload.d.ts
4
+ declare const OksignFormdescUploadInput: z.ZodTypeAny;
5
+ declare const OksignFormdescUploadOutput: z.ZodTypeAny;
6
+ declare const oksignFormdescUpload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignFormdescUpload };
9
+ //# sourceMappingURL=formdesc-upload.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formdesc-upload.d.cts","names":[],"sources":["../../src/actions/formdesc-upload.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UA2DkE;AAAA,cAM/F,0BAAA,EAA4B,CAAA,CAAE,UAIc;AAAA,cAE5C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/formdesc-upload.d.ts
4
+ declare const OksignFormdescUploadInput: z.ZodTypeAny;
5
+ declare const OksignFormdescUploadOutput: z.ZodTypeAny;
6
+ declare const oksignFormdescUpload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignFormdescUpload };
9
+ //# sourceMappingURL=formdesc-upload.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formdesc-upload.d.mts","names":[],"sources":["../../src/actions/formdesc-upload.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UA2DkE;AAAA,cAM/F,0BAAA,EAA4B,CAAA,CAAE,UAIc;AAAA,cAE5C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}