@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
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/oksign
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `oksign`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 17
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { oksignBriefcaseRemove } from "@keystrokehq/oksign/actions";
12
+
13
+ export default defineAgent({
14
+ key: "oksign-agent",
15
+ tools: [oksignBriefcaseRemove],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.oksign.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executeOksignTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["oksign","executeOksignTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { oksign } from \"./app\";\nimport { executeOksignTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return oksign.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeOksignTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { oksign } from "./app.mjs";
2
+ import { executeOksignTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return oksign.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executeOksignTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { oksign } from \"./app\";\nimport { executeOksignTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return oksign.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeOksignTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/briefcase-remove.ts
4
+ const OksignBriefcaseRemoveInput = zod.z.object({ docid: zod.z.string().describe("The briefcase token received when creating a briefcase via the Briefcase.create service. This uniquely identifies the briefcase to be removed.") }).describe("Request parameters to remove a briefcase from OKSign platform.");
5
+ const OksignBriefcaseRemoveOutput = zod.z.object({
6
+ reason: zod.z.string().describe("Error description when status is 'FAILED'. Example: 'Invalid format x-oksign-docid'").nullable().optional(),
7
+ status: zod.z.string().describe("Result status of the API call. 'OK' when briefcase is successfully removed, 'FAILED' when operation fails.")
8
+ }).describe("Response schema for briefcase removal action.");
9
+ const oksignBriefcaseRemove = require_action.action("OKSIGN_BRIEFCASE_REMOVE", {
10
+ slug: "oksign-briefcase-remove",
11
+ name: "Remove Briefcase",
12
+ description: "Tool to remove a previously created briefcase from OKSign platform. Use when you need to delete a briefcase that is no longer needed. The briefcase is identified by the token received when it was created.",
13
+ input: OksignBriefcaseRemoveInput,
14
+ output: OksignBriefcaseRemoveOutput
15
+ });
16
+ //#endregion
17
+ exports.oksignBriefcaseRemove = oksignBriefcaseRemove;
18
+
19
+ //# sourceMappingURL=briefcase-remove.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"briefcase-remove.cjs","names":["z","action"],"sources":["../../src/actions/briefcase-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignBriefcaseRemoveInput: z.ZodTypeAny = z.object({\n docid: z.string().describe(\"The briefcase token received when creating a briefcase via the Briefcase.create service. This uniquely identifies the briefcase to be removed.\"),\n}).describe(\"Request parameters to remove a briefcase from OKSign platform.\");\nexport const OksignBriefcaseRemoveOutput: z.ZodTypeAny = z.object({\n reason: z.string().describe(\"Error description when status is 'FAILED'. Example: 'Invalid format x-oksign-docid'\").nullable().optional(),\n status: z.string().describe(\"Result status of the API call. 'OK' when briefcase is successfully removed, 'FAILED' when operation fails.\"),\n}).describe(\"Response schema for briefcase removal action.\");\n\nexport const oksignBriefcaseRemove = action(\"OKSIGN_BRIEFCASE_REMOVE\", {\n slug: \"oksign-briefcase-remove\",\n name: \"Remove Briefcase\",\n description: \"Tool to remove a previously created briefcase from OKSign platform. Use when you need to delete a briefcase that is no longer needed. The briefcase is identified by the token received when it was created.\",\n input: OksignBriefcaseRemoveInput,\n output: OksignBriefcaseRemoveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,EAC7K,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;AAC1I,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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/briefcase-remove.d.ts
4
+ declare const OksignBriefcaseRemoveInput: z.ZodTypeAny;
5
+ declare const OksignBriefcaseRemoveOutput: z.ZodTypeAny;
6
+ declare const oksignBriefcaseRemove: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignBriefcaseRemove };
9
+ //# sourceMappingURL=briefcase-remove.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"briefcase-remove.d.cts","names":[],"sources":["../../src/actions/briefcase-remove.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEkC;AAAA,cAChE,2BAAA,EAA6B,CAAA,CAAE,UAGgB;AAAA,cAE/C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/briefcase-remove.d.ts
4
+ declare const OksignBriefcaseRemoveInput: z.ZodTypeAny;
5
+ declare const OksignBriefcaseRemoveOutput: z.ZodTypeAny;
6
+ declare const oksignBriefcaseRemove: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignBriefcaseRemove };
9
+ //# sourceMappingURL=briefcase-remove.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"briefcase-remove.d.mts","names":[],"sources":["../../src/actions/briefcase-remove.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEkC;AAAA,cAChE,2BAAA,EAA6B,CAAA,CAAE,UAGgB;AAAA,cAE/C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const oksignBriefcaseRemove = action("OKSIGN_BRIEFCASE_REMOVE", {
4
+ slug: "oksign-briefcase-remove",
5
+ name: "Remove Briefcase",
6
+ description: "Tool to remove a previously created briefcase from OKSign platform. Use when you need to delete a briefcase that is no longer needed. The briefcase is identified by the token received when it was created.",
7
+ input: z.object({ docid: z.string().describe("The briefcase token received when creating a briefcase via the Briefcase.create service. This uniquely identifies the briefcase to be removed.") }).describe("Request parameters to remove a briefcase from OKSign platform."),
8
+ output: z.object({
9
+ reason: z.string().describe("Error description when status is 'FAILED'. Example: 'Invalid format x-oksign-docid'").nullable().optional(),
10
+ status: z.string().describe("Result status of the API call. 'OK' when briefcase is successfully removed, 'FAILED' when operation fails.")
11
+ }).describe("Response schema for briefcase removal action.")
12
+ });
13
+ //#endregion
14
+ export { oksignBriefcaseRemove };
15
+
16
+ //# sourceMappingURL=briefcase-remove.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"briefcase-remove.mjs","names":[],"sources":["../../src/actions/briefcase-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignBriefcaseRemoveInput: z.ZodTypeAny = z.object({\n docid: z.string().describe(\"The briefcase token received when creating a briefcase via the Briefcase.create service. This uniquely identifies the briefcase to be removed.\"),\n}).describe(\"Request parameters to remove a briefcase from OKSign platform.\");\nexport const OksignBriefcaseRemoveOutput: z.ZodTypeAny = z.object({\n reason: z.string().describe(\"Error description when status is 'FAILED'. Example: 'Invalid format x-oksign-docid'\").nullable().optional(),\n status: z.string().describe(\"Result status of the API call. 'OK' when briefcase is successfully removed, 'FAILED' when operation fails.\"),\n}).describe(\"Response schema for briefcase removal action.\");\n\nexport const oksignBriefcaseRemove = action(\"OKSIGN_BRIEFCASE_REMOVE\", {\n slug: \"oksign-briefcase-remove\",\n name: \"Remove Briefcase\",\n description: \"Tool to remove a previously created briefcase from OKSign platform. Use when you need to delete a briefcase that is no longer needed. The briefcase is identified by the token received when it was created.\",\n input: OksignBriefcaseRemoveInput,\n output: OksignBriefcaseRemoveOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsD,EAAE,OAAO,EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,EAC7K,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAVuD,EAAE,OAAO;EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC1I,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/briefcase-retrieve.ts
4
+ const OksignBriefcaseRetrieveInput = zod.z.object({ docid: zod.z.string().describe("The briefcase token received when creating a briefcase via the Briefcase.create service. This uniquely identifies the briefcase to retrieve.") }).describe("Request model for retrieving briefcase tokeninfo.");
5
+ const OksignBriefcaseRetrieveOutput = zod.z.object({
6
+ reason: zod.z.unknown().describe("Contains the briefcase tokeninfo JSONObject when status is OK (including bundled document properties, signer information, and signing URLs), or error message string when status is FAILED").nullable().optional(),
7
+ status: zod.z.string().describe("Status of the request. 'OK' on success, 'FAILED' on error")
8
+ }).describe("Response model for briefcase retrieval.");
9
+ const oksignBriefcaseRetrieve = require_action.action("OKSIGN_BRIEFCASE_RETRIEVE", {
10
+ slug: "oksign-briefcase-retrieve",
11
+ name: "Retrieve Briefcase Information",
12
+ description: "Tool to retrieve a previously uploaded briefcase tokeninfo for consultation. Use when you need to examine bundled document properties and signer requirements without re-creating the briefcase.",
13
+ input: OksignBriefcaseRetrieveInput,
14
+ output: OksignBriefcaseRetrieveOutput
15
+ });
16
+ //#endregion
17
+ exports.oksignBriefcaseRetrieve = oksignBriefcaseRetrieve;
18
+
19
+ //# sourceMappingURL=briefcase-retrieve.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"briefcase-retrieve.cjs","names":["z","action"],"sources":["../../src/actions/briefcase-retrieve.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignBriefcaseRetrieveInput: z.ZodTypeAny = z.object({\n docid: z.string().describe(\"The briefcase token received when creating a briefcase via the Briefcase.create service. This uniquely identifies the briefcase to retrieve.\"),\n}).describe(\"Request model for retrieving briefcase tokeninfo.\");\nexport const OksignBriefcaseRetrieveOutput: z.ZodTypeAny = z.object({\n reason: z.unknown().describe(\"Contains the briefcase tokeninfo JSONObject when status is OK (including bundled document properties, signer information, and signing URLs), or error message string when status is FAILED\").nullable().optional(),\n status: z.string().describe(\"Status of the request. 'OK' on success, 'FAILED' on error\"),\n}).describe(\"Response model for briefcase retrieval.\");\n\nexport const oksignBriefcaseRetrieve = action(\"OKSIGN_BRIEFCASE_RETRIEVE\", {\n slug: \"oksign-briefcase-retrieve\",\n name: \"Retrieve Briefcase Information\",\n description: \"Tool to retrieve a previously uploaded briefcase tokeninfo for consultation. Use when you need to examine bundled document properties and signer requirements without re-creating the briefcase.\",\n input: OksignBriefcaseRetrieveInput,\n output: OksignBriefcaseRetrieveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EAC3K,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/O,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,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/briefcase-retrieve.d.ts
4
+ declare const OksignBriefcaseRetrieveInput: z.ZodTypeAny;
5
+ declare const OksignBriefcaseRetrieveOutput: z.ZodTypeAny;
6
+ declare const oksignBriefcaseRetrieve: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignBriefcaseRetrieve };
9
+ //# sourceMappingURL=briefcase-retrieve.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"briefcase-retrieve.d.cts","names":[],"sources":["../../src/actions/briefcase-retrieve.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEmB;AAAA,cACnD,6BAAA,EAA+B,CAAA,CAAE,UAGQ;AAAA,cAEzC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/briefcase-retrieve.d.ts
4
+ declare const OksignBriefcaseRetrieveInput: z.ZodTypeAny;
5
+ declare const OksignBriefcaseRetrieveOutput: z.ZodTypeAny;
6
+ declare const oksignBriefcaseRetrieve: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignBriefcaseRetrieve };
9
+ //# sourceMappingURL=briefcase-retrieve.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"briefcase-retrieve.d.mts","names":[],"sources":["../../src/actions/briefcase-retrieve.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEmB;AAAA,cACnD,6BAAA,EAA+B,CAAA,CAAE,UAGQ;AAAA,cAEzC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const oksignBriefcaseRetrieve = action("OKSIGN_BRIEFCASE_RETRIEVE", {
4
+ slug: "oksign-briefcase-retrieve",
5
+ name: "Retrieve Briefcase Information",
6
+ description: "Tool to retrieve a previously uploaded briefcase tokeninfo for consultation. Use when you need to examine bundled document properties and signer requirements without re-creating the briefcase.",
7
+ input: z.object({ docid: z.string().describe("The briefcase token received when creating a briefcase via the Briefcase.create service. This uniquely identifies the briefcase to retrieve.") }).describe("Request model for retrieving briefcase tokeninfo."),
8
+ output: z.object({
9
+ reason: z.unknown().describe("Contains the briefcase tokeninfo JSONObject when status is OK (including bundled document properties, signer information, and signing URLs), or error message string when status is FAILED").nullable().optional(),
10
+ status: z.string().describe("Status of the request. 'OK' on success, 'FAILED' on error")
11
+ }).describe("Response model for briefcase retrieval.")
12
+ });
13
+ //#endregion
14
+ export { oksignBriefcaseRetrieve };
15
+
16
+ //# sourceMappingURL=briefcase-retrieve.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"briefcase-retrieve.mjs","names":[],"sources":["../../src/actions/briefcase-retrieve.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignBriefcaseRetrieveInput: z.ZodTypeAny = z.object({\n docid: z.string().describe(\"The briefcase token received when creating a briefcase via the Briefcase.create service. This uniquely identifies the briefcase to retrieve.\"),\n}).describe(\"Request model for retrieving briefcase tokeninfo.\");\nexport const OksignBriefcaseRetrieveOutput: z.ZodTypeAny = z.object({\n reason: z.unknown().describe(\"Contains the briefcase tokeninfo JSONObject when status is OK (including bundled document properties, signer information, and signing URLs), or error message string when status is FAILED\").nullable().optional(),\n status: z.string().describe(\"Status of the request. 'OK' on success, 'FAILED' on error\"),\n}).describe(\"Response model for briefcase retrieval.\");\n\nexport const oksignBriefcaseRetrieve = action(\"OKSIGN_BRIEFCASE_RETRIEVE\", {\n slug: \"oksign-briefcase-retrieve\",\n name: \"Retrieve Briefcase Information\",\n description: \"Tool to retrieve a previously uploaded briefcase tokeninfo for consultation. Use when you need to examine bundled document properties and signer requirements without re-creating the briefcase.\",\n input: OksignBriefcaseRetrieveInput,\n output: OksignBriefcaseRetrieveOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwD,EAAE,OAAO,EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EAC3K,CAAC,CAAC,CAAC,SAAS,mDAUH;CACP,QAVyD,EAAE,OAAO;EAClE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/O,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/contacts-remove.ts
4
+ const OksignContactsRemoveInput = zod.z.object({ contacts: zod.z.array(zod.z.object({
5
+ name: zod.z.string().describe("Full name of the contact to remove."),
6
+ email: zod.z.string().describe("Email address of the contact to remove.")
7
+ }).describe("Contact object to be removed from the account's contact list.")).describe("List of contact objects to remove. Each contact must have a name and email field.") }).describe("Request model for removing contacts from the account's contact list.");
8
+ const OksignContactsRemoveOutput = zod.z.object({
9
+ reason: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
10
+ status: zod.z.string().describe("Status of the operation. 'OK' for success, 'FAILED' for failure.")
11
+ }).describe("Response model for contacts remove operation.");
12
+ const oksignContactsRemove = require_action.action("OKSIGN_CONTACTS_REMOVE", {
13
+ slug: "oksign-contacts-remove",
14
+ name: "Remove Contacts",
15
+ description: "Tool to remove specified contacts from the account's contact list. Use when you need to delete one or more contacts by providing their name and email.",
16
+ input: OksignContactsRemoveInput,
17
+ output: OksignContactsRemoveOutput
18
+ });
19
+ //#endregion
20
+ exports.oksignContactsRemove = oksignContactsRemove;
21
+
22
+ //# sourceMappingURL=contacts-remove.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-remove.cjs","names":["z","action"],"sources":["../../src/actions/contacts-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignContactsRemoveInput: z.ZodTypeAny = z.object({\n contacts: z.array(z.object({\n name: z.string().describe(\"Full name of the contact to remove.\"),\n email: z.string().describe(\"Email address of the contact to remove.\"),\n}).describe(\"Contact object to be removed from the account's contact list.\")).describe(\"List of contact objects to remove. Each contact must have a name and email field.\"),\n}).describe(\"Request model for removing contacts from the account's contact list.\");\nexport const OksignContactsRemoveOutput: z.ZodTypeAny = z.object({\n reason: z.union([z.string(), z.number().int()]).nullable().optional(),\n status: z.string().describe(\"Status of the operation. 'OK' for success, 'FAILED' for failure.\"),\n}).describe(\"Response model for contacts remove operation.\");\n\nexport const oksignContactsRemove = action(\"OKSIGN_CONTACTS_REMOVE\", {\n slug: \"oksign-contacts-remove\",\n name: \"Remove Contacts\",\n description: \"Tool to remove specified contacts from the account's contact list. Use when you need to delete one or more contacts by providing their name and email.\",\n input: OksignContactsRemoveInput,\n output: OksignContactsRemoveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AACtE,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,CAAC,SAAS,mFAAmF,EAC1K,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AAChG,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/contacts-remove.d.ts
4
+ declare const OksignContactsRemoveInput: z.ZodTypeAny;
5
+ declare const OksignContactsRemoveOutput: z.ZodTypeAny;
6
+ declare const oksignContactsRemove: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignContactsRemove };
9
+ //# sourceMappingURL=contacts-remove.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-remove.d.cts","names":[],"sources":["../../src/actions/contacts-remove.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAKyC;AAAA,cACtE,0BAAA,EAA4B,CAAA,CAAE,UAGiB;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/contacts-remove.d.ts
4
+ declare const OksignContactsRemoveInput: z.ZodTypeAny;
5
+ declare const OksignContactsRemoveOutput: z.ZodTypeAny;
6
+ declare const oksignContactsRemove: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignContactsRemove };
9
+ //# sourceMappingURL=contacts-remove.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-remove.d.mts","names":[],"sources":["../../src/actions/contacts-remove.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAKyC;AAAA,cACtE,0BAAA,EAA4B,CAAA,CAAE,UAGiB;AAAA,cAE/C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const oksignContactsRemove = action("OKSIGN_CONTACTS_REMOVE", {
4
+ slug: "oksign-contacts-remove",
5
+ name: "Remove Contacts",
6
+ description: "Tool to remove specified contacts from the account's contact list. Use when you need to delete one or more contacts by providing their name and email.",
7
+ input: z.object({ contacts: z.array(z.object({
8
+ name: z.string().describe("Full name of the contact to remove."),
9
+ email: z.string().describe("Email address of the contact to remove.")
10
+ }).describe("Contact object to be removed from the account's contact list.")).describe("List of contact objects to remove. Each contact must have a name and email field.") }).describe("Request model for removing contacts from the account's contact list."),
11
+ output: z.object({
12
+ reason: z.union([z.string(), z.number().int()]).nullable().optional(),
13
+ status: z.string().describe("Status of the operation. 'OK' for success, 'FAILED' for failure.")
14
+ }).describe("Response model for contacts remove operation.")
15
+ });
16
+ //#endregion
17
+ export { oksignContactsRemove };
18
+
19
+ //# sourceMappingURL=contacts-remove.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-remove.mjs","names":[],"sources":["../../src/actions/contacts-remove.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignContactsRemoveInput: z.ZodTypeAny = z.object({\n contacts: z.array(z.object({\n name: z.string().describe(\"Full name of the contact to remove.\"),\n email: z.string().describe(\"Email address of the contact to remove.\"),\n}).describe(\"Contact object to be removed from the account's contact list.\")).describe(\"List of contact objects to remove. Each contact must have a name and email field.\"),\n}).describe(\"Request model for removing contacts from the account's contact list.\");\nexport const OksignContactsRemoveOutput: z.ZodTypeAny = z.object({\n reason: z.union([z.string(), z.number().int()]).nullable().optional(),\n status: z.string().describe(\"Status of the operation. 'OK' for success, 'FAILED' for failure.\"),\n}).describe(\"Response model for contacts remove operation.\");\n\nexport const oksignContactsRemove = action(\"OKSIGN_CONTACTS_REMOVE\", {\n slug: \"oksign-contacts-remove\",\n name: \"Remove Contacts\",\n description: \"Tool to remove specified contacts from the account's contact list. Use when you need to delete one or more contacts by providing their name and email.\",\n input: OksignContactsRemoveInput,\n output: OksignContactsRemoveOutput,\n});\n"],"mappings":";;AAeA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqD,EAAE,OAAO,EAC9D,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,CAAC,SAAS,mFAAmF,EAC1K,CAAC,CAAC,CAAC,SAAS,sEAUH;CACP,QAVsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAChG,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/contacts-retrieve.ts
4
+ const OksignContactsRetrieveInput = zod.z.object({}).describe("Request model for retrieving contacts. No parameters are required.");
5
+ const OksignContactsRetrieve_ContactSchema = zod.z.object({
6
+ name: zod.z.string().describe("Contact's full name."),
7
+ email: zod.z.string().describe("Contact's email address."),
8
+ group: zod.z.string().default("").describe("Contact's group.").nullable().optional(),
9
+ phone: zod.z.string().default("").describe("Contact's phone number.").nullable().optional(),
10
+ mobile: zod.z.string().default("").describe("Contact's mobile number in E.164 format (e.g., +32495123456).").nullable().optional(),
11
+ address: zod.z.string().describe("Contact's address.").nullable().optional(),
12
+ company: zod.z.string().describe("Contact's company.").nullable().optional(),
13
+ actingas: zod.z.string().default("").describe("Contact's qualification or role.").nullable().optional()
14
+ }).passthrough().describe("Contact object with details.");
15
+ const OksignContactsRetrieveOutput = zod.z.object({
16
+ reason: zod.z.array(OksignContactsRetrieve_ContactSchema).describe("List of contact objects from the account."),
17
+ status: zod.z.string().describe("Status of the request ('OK' or 'FAILED').")
18
+ }).describe("Response model for retrieving contacts.");
19
+ const oksignContactsRetrieve = require_action.action("OKSIGN_CONTACTS_RETRIEVE", {
20
+ slug: "oksign-contacts-retrieve",
21
+ name: "Retrieve Contacts",
22
+ description: "Tool to retrieve the list of contacts stored in the account. Use when you need to access all contacts with their details including name, email, mobile number, and role.",
23
+ input: OksignContactsRetrieveInput,
24
+ output: OksignContactsRetrieveOutput
25
+ });
26
+ //#endregion
27
+ exports.oksignContactsRetrieve = oksignContactsRetrieve;
28
+
29
+ //# sourceMappingURL=contacts-retrieve.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-retrieve.cjs","names":["z","action"],"sources":["../../src/actions/contacts-retrieve.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignContactsRetrieveInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving contacts. No parameters are required.\");\nconst OksignContactsRetrieve_ContactSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Contact's full name.\"),\n email: z.string().describe(\"Contact's email address.\"),\n group: z.string().default(\"\").describe(\"Contact's group.\").nullable().optional(),\n phone: z.string().default(\"\").describe(\"Contact's phone number.\").nullable().optional(),\n mobile: z.string().default(\"\").describe(\"Contact's mobile number in E.164 format (e.g., +32495123456).\").nullable().optional(),\n address: z.string().describe(\"Contact's address.\").nullable().optional(),\n company: z.string().describe(\"Contact's company.\").nullable().optional(),\n actingas: z.string().default(\"\").describe(\"Contact's qualification or role.\").nullable().optional(),\n}).passthrough().describe(\"Contact object with details.\");\nexport const OksignContactsRetrieveOutput: z.ZodTypeAny = z.object({\n reason: z.array(OksignContactsRetrieve_ContactSchema).describe(\"List of contact objects from the account.\"),\n status: z.string().describe(\"Status of the request ('OK' or 'FAILED').\"),\n}).describe(\"Response model for retrieving contacts.\");\n\nexport const oksignContactsRetrieve = action(\"OKSIGN_CONTACTS_RETRIEVE\", {\n slug: \"oksign-contacts-retrieve\",\n name: \"Retrieve Contacts\",\n description: \"Tool to retrieve the list of contacts stored in the account. Use when you need to access all contacts with their details including name, email, mobile number, and role.\",\n input: OksignContactsRetrieveInput,\n output: OksignContactsRetrieveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACnJ,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,2CAA2C;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACzE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,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/contacts-retrieve.d.ts
4
+ declare const OksignContactsRetrieveInput: z.ZodTypeAny;
5
+ declare const OksignContactsRetrieveOutput: z.ZodTypeAny;
6
+ declare const oksignContactsRetrieve: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignContactsRetrieve };
9
+ //# sourceMappingURL=contacts-retrieve.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-retrieve.d.cts","names":[],"sources":["../../src/actions/contacts-retrieve.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAwG;AAAA,cAWvI,4BAAA,EAA8B,CAAA,CAAE,UAGS;AAAA,cAEzC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/contacts-retrieve.d.ts
4
+ declare const OksignContactsRetrieveInput: z.ZodTypeAny;
5
+ declare const OksignContactsRetrieveOutput: z.ZodTypeAny;
6
+ declare const oksignContactsRetrieve: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignContactsRetrieve };
9
+ //# sourceMappingURL=contacts-retrieve.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-retrieve.d.mts","names":[],"sources":["../../src/actions/contacts-retrieve.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAwG;AAAA,cAWvI,4BAAA,EAA8B,CAAA,CAAE,UAGS;AAAA,cAEzC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/contacts-retrieve.ts
4
+ const OksignContactsRetrieveInput = z.object({}).describe("Request model for retrieving contacts. No parameters are required.");
5
+ const OksignContactsRetrieve_ContactSchema = z.object({
6
+ name: z.string().describe("Contact's full name."),
7
+ email: z.string().describe("Contact's email address."),
8
+ group: z.string().default("").describe("Contact's group.").nullable().optional(),
9
+ phone: z.string().default("").describe("Contact's phone number.").nullable().optional(),
10
+ mobile: z.string().default("").describe("Contact's mobile number in E.164 format (e.g., +32495123456).").nullable().optional(),
11
+ address: z.string().describe("Contact's address.").nullable().optional(),
12
+ company: z.string().describe("Contact's company.").nullable().optional(),
13
+ actingas: z.string().default("").describe("Contact's qualification or role.").nullable().optional()
14
+ }).passthrough().describe("Contact object with details.");
15
+ const oksignContactsRetrieve = action("OKSIGN_CONTACTS_RETRIEVE", {
16
+ slug: "oksign-contacts-retrieve",
17
+ name: "Retrieve Contacts",
18
+ description: "Tool to retrieve the list of contacts stored in the account. Use when you need to access all contacts with their details including name, email, mobile number, and role.",
19
+ input: OksignContactsRetrieveInput,
20
+ output: z.object({
21
+ reason: z.array(OksignContactsRetrieve_ContactSchema).describe("List of contact objects from the account."),
22
+ status: z.string().describe("Status of the request ('OK' or 'FAILED').")
23
+ }).describe("Response model for retrieving contacts.")
24
+ });
25
+ //#endregion
26
+ export { oksignContactsRetrieve };
27
+
28
+ //# sourceMappingURL=contacts-retrieve.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-retrieve.mjs","names":[],"sources":["../../src/actions/contacts-retrieve.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignContactsRetrieveInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving contacts. No parameters are required.\");\nconst OksignContactsRetrieve_ContactSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Contact's full name.\"),\n email: z.string().describe(\"Contact's email address.\"),\n group: z.string().default(\"\").describe(\"Contact's group.\").nullable().optional(),\n phone: z.string().default(\"\").describe(\"Contact's phone number.\").nullable().optional(),\n mobile: z.string().default(\"\").describe(\"Contact's mobile number in E.164 format (e.g., +32495123456).\").nullable().optional(),\n address: z.string().describe(\"Contact's address.\").nullable().optional(),\n company: z.string().describe(\"Contact's company.\").nullable().optional(),\n actingas: z.string().default(\"\").describe(\"Contact's qualification or role.\").nullable().optional(),\n}).passthrough().describe(\"Contact object with details.\");\nexport const OksignContactsRetrieveOutput: z.ZodTypeAny = z.object({\n reason: z.array(OksignContactsRetrieve_ContactSchema).describe(\"List of contact objects from the account.\"),\n status: z.string().describe(\"Status of the request ('OK' or 'FAILED').\"),\n}).describe(\"Response model for retrieving contacts.\");\n\nexport const oksignContactsRetrieve = action(\"OKSIGN_CONTACTS_RETRIEVE\", {\n slug: \"oksign-contacts-retrieve\",\n name: \"Retrieve Contacts\",\n description: \"Tool to retrieve the list of contacts stored in the account. Use when you need to access all contacts with their details including name, email, mobile number, and role.\",\n input: OksignContactsRetrieveInput,\n output: OksignContactsRetrieveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACnJ,MAAM,uCAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAMxD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,2CAA2C;EAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/contacts-upload.ts
4
+ const OksignContactsUploadInput = zod.z.object({ contacts: zod.z.array(zod.z.object({
5
+ id: zod.z.string().describe("Unique contact identifier. If provided, will update existing contact with this ID.").optional(),
6
+ name: zod.z.string().describe("Contact's full name.").optional(),
7
+ email: zod.z.string().describe("Email address.").optional(),
8
+ phone: zod.z.string().describe("Telephone number.").optional(),
9
+ mobile: zod.z.string().describe("Mobile number. E.164 format recommended (e.g., +32495123456).").optional(),
10
+ address: zod.z.string().describe("Physical address.").optional(),
11
+ company: zod.z.string().describe("Organization or company name.").optional()
12
+ }).describe("Contact object to be inserted or updated.")).describe("List of contact objects to insert or update in the account's contact list. Each contact can have name, email, phone, mobile, address, company, and id fields (all optional).") }).describe("Request model for uploading contacts.");
13
+ const OksignContactsUploadOutput = zod.z.object({
14
+ reason: zod.z.union([
15
+ zod.z.string(),
16
+ zod.z.number().int(),
17
+ zod.z.array(zod.z.string())
18
+ ]).nullable().optional(),
19
+ status: zod.z.string().describe("Status of the operation. 'OK' for success, 'FAILED' for failure.")
20
+ }).describe("Response model for uploading contacts.");
21
+ const oksignContactsUpload = require_action.action("OKSIGN_CONTACTS_UPLOAD", {
22
+ slug: "oksign-contacts-upload",
23
+ name: "Upload Contacts",
24
+ description: "Tool to insert or update contact information in the account's contact list. Use when you need to add new contacts or update existing ones with details like name, email, phone, mobile, address, company, or identifier.",
25
+ input: OksignContactsUploadInput,
26
+ output: OksignContactsUploadOutput
27
+ });
28
+ //#endregion
29
+ exports.oksignContactsUpload = oksignContactsUpload;
30
+
31
+ //# sourceMappingURL=contacts-upload.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-upload.cjs","names":["z","action"],"sources":["../../src/actions/contacts-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignContactsUploadInput: z.ZodTypeAny = z.object({\n contacts: z.array(z.object({\n id: z.string().describe(\"Unique contact identifier. If provided, will update existing contact with this ID.\").optional(),\n name: z.string().describe(\"Contact's full name.\").optional(),\n email: z.string().describe(\"Email address.\").optional(),\n phone: z.string().describe(\"Telephone number.\").optional(),\n mobile: z.string().describe(\"Mobile number. E.164 format recommended (e.g., +32495123456).\").optional(),\n address: z.string().describe(\"Physical address.\").optional(),\n company: z.string().describe(\"Organization or company name.\").optional(),\n}).describe(\"Contact object to be inserted or updated.\")).describe(\"List of contact objects to insert or update in the account's contact list. Each contact can have name, email, phone, mobile, address, company, and id fields (all optional).\"),\n}).describe(\"Request model for uploading contacts.\");\nexport const OksignContactsUploadOutput: z.ZodTypeAny = z.object({\n reason: z.union([z.string(), z.number().int(), z.array(z.string())]).nullable().optional(),\n status: z.string().describe(\"Status of the operation. 'OK' for success, 'FAILED' for failure.\"),\n}).describe(\"Response model for uploading contacts.\");\n\nexport const oksignContactsUpload = action(\"OKSIGN_CONTACTS_UPLOAD\", {\n slug: \"oksign-contacts-upload\",\n name: \"Upload Contacts\",\n description: \"Tool to insert or update contact information in the account's contact list. Use when you need to add new contacts or update existing ones with details like name, email, phone, mobile, address, company, or identifier.\",\n input: OksignContactsUploadInput,\n output: OksignContactsUploadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,8KAA8K,EACjP,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AAChG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,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/contacts-upload.d.ts
4
+ declare const OksignContactsUploadInput: z.ZodTypeAny;
5
+ declare const OksignContactsUploadOutput: z.ZodTypeAny;
6
+ declare const oksignContactsUpload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignContactsUpload };
9
+ //# sourceMappingURL=contacts-upload.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-upload.d.cts","names":[],"sources":["../../src/actions/contacts-upload.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAUU;AAAA,cACvC,0BAAA,EAA4B,CAAA,CAAE,UAGU;AAAA,cAExC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/contacts-upload.d.ts
4
+ declare const OksignContactsUploadInput: z.ZodTypeAny;
5
+ declare const OksignContactsUploadOutput: z.ZodTypeAny;
6
+ declare const oksignContactsUpload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oksignContactsUpload };
9
+ //# sourceMappingURL=contacts-upload.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-upload.d.mts","names":[],"sources":["../../src/actions/contacts-upload.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAUU;AAAA,cACvC,0BAAA,EAA4B,CAAA,CAAE,UAGU;AAAA,cAExC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const oksignContactsUpload = action("OKSIGN_CONTACTS_UPLOAD", {
4
+ slug: "oksign-contacts-upload",
5
+ name: "Upload Contacts",
6
+ description: "Tool to insert or update contact information in the account's contact list. Use when you need to add new contacts or update existing ones with details like name, email, phone, mobile, address, company, or identifier.",
7
+ input: z.object({ contacts: z.array(z.object({
8
+ id: z.string().describe("Unique contact identifier. If provided, will update existing contact with this ID.").optional(),
9
+ name: z.string().describe("Contact's full name.").optional(),
10
+ email: z.string().describe("Email address.").optional(),
11
+ phone: z.string().describe("Telephone number.").optional(),
12
+ mobile: z.string().describe("Mobile number. E.164 format recommended (e.g., +32495123456).").optional(),
13
+ address: z.string().describe("Physical address.").optional(),
14
+ company: z.string().describe("Organization or company name.").optional()
15
+ }).describe("Contact object to be inserted or updated.")).describe("List of contact objects to insert or update in the account's contact list. Each contact can have name, email, phone, mobile, address, company, and id fields (all optional).") }).describe("Request model for uploading contacts."),
16
+ output: z.object({
17
+ reason: z.union([
18
+ z.string(),
19
+ z.number().int(),
20
+ z.array(z.string())
21
+ ]).nullable().optional(),
22
+ status: z.string().describe("Status of the operation. 'OK' for success, 'FAILED' for failure.")
23
+ }).describe("Response model for uploading contacts.")
24
+ });
25
+ //#endregion
26
+ export { oksignContactsUpload };
27
+
28
+ //# sourceMappingURL=contacts-upload.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contacts-upload.mjs","names":[],"sources":["../../src/actions/contacts-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OksignContactsUploadInput: z.ZodTypeAny = z.object({\n contacts: z.array(z.object({\n id: z.string().describe(\"Unique contact identifier. If provided, will update existing contact with this ID.\").optional(),\n name: z.string().describe(\"Contact's full name.\").optional(),\n email: z.string().describe(\"Email address.\").optional(),\n phone: z.string().describe(\"Telephone number.\").optional(),\n mobile: z.string().describe(\"Mobile number. E.164 format recommended (e.g., +32495123456).\").optional(),\n address: z.string().describe(\"Physical address.\").optional(),\n company: z.string().describe(\"Organization or company name.\").optional(),\n}).describe(\"Contact object to be inserted or updated.\")).describe(\"List of contact objects to insert or update in the account's contact list. Each contact can have name, email, phone, mobile, address, company, and id fields (all optional).\"),\n}).describe(\"Request model for uploading contacts.\");\nexport const OksignContactsUploadOutput: z.ZodTypeAny = z.object({\n reason: z.union([z.string(), z.number().int(), z.array(z.string())]).nullable().optional(),\n status: z.string().describe(\"Status of the operation. 'OK' for success, 'FAILED' for failure.\"),\n}).describe(\"Response model for uploading contacts.\");\n\nexport const oksignContactsUpload = action(\"OKSIGN_CONTACTS_UPLOAD\", {\n slug: \"oksign-contacts-upload\",\n name: \"Upload Contacts\",\n description: \"Tool to insert or update contact information in the account's contact list. Use when you need to add new contacts or update existing ones with details like name, email, phone, mobile, address, company, or identifier.\",\n input: OksignContactsUploadInput,\n output: OksignContactsUploadOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqD,EAAE,OAAO,EAC9D,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACvH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,8KAA8K,EACjP,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAVsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,MAAM,EAAE,OAAO,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAChG,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/credits-retrieve.ts
4
+ const OksignCreditsRetrieveInput = zod.z.object({}).describe("Request model for retrieving account credits and storage information.\nNo parameters are required.");
5
+ const OksignCreditsRetrieveOutput = zod.z.object({
6
+ reason: zod.z.unknown().describe("Additional details or error information.").nullable().optional(),
7
+ status: zod.z.string().describe("Operation status - 'OK' or 'FAILED'."),
8
+ storage_limit: zod.z.number().describe("Maximum storage capacity in bytes from X-AccountStorage-Limit header.").nullable().optional(),
9
+ credits_remaining: zod.z.number().describe("Current remaining credit balance from X-AccountCredits-Remaining header.").nullable().optional(),
10
+ storage_remaining: zod.z.number().describe("Available storage space in bytes from X-AccountStorage-Remaining header.").nullable().optional()
11
+ }).describe("Response model for account credits and storage information.");
12
+ const oksignCreditsRetrieve = require_action.action("OKSIGN_CREDITS_RETRIEVE", {
13
+ slug: "oksign-credits-retrieve",
14
+ name: "Retrieve Account Credits",
15
+ description: "Tool to retrieve account credit balance and storage information. Use when you need to check available credits or storage capacity.",
16
+ input: OksignCreditsRetrieveInput,
17
+ output: OksignCreditsRetrieveOutput
18
+ });
19
+ //#endregion
20
+ exports.oksignCreditsRetrieve = oksignCreditsRetrieve;
21
+
22
+ //# sourceMappingURL=credits-retrieve.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credits-retrieve.cjs","names":["z","action"],"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":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oGAAoG;AAClL,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAClE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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/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.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credits-retrieve.d.cts","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"}