@keystrokehq/paperform 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-space-forms.cjs.map +1 -1
  4. package/dist/actions/get-space-forms.d.cts +24 -3
  5. package/dist/actions/get-space-forms.d.cts.map +1 -1
  6. package/dist/actions/get-space-forms.d.mts +24 -3
  7. package/dist/actions/get-space-forms.d.mts.map +1 -1
  8. package/dist/actions/get-space-forms.mjs.map +1 -1
  9. package/dist/actions/get-space.cjs +3 -3
  10. package/dist/actions/get-space.cjs.map +1 -1
  11. package/dist/actions/get-space.d.cts +14 -3
  12. package/dist/actions/get-space.d.cts.map +1 -1
  13. package/dist/actions/get-space.d.mts +14 -3
  14. package/dist/actions/get-space.d.mts.map +1 -1
  15. package/dist/actions/get-space.mjs +3 -3
  16. package/dist/actions/get-space.mjs.map +1 -1
  17. package/dist/actions/list-forms.cjs.map +1 -1
  18. package/dist/actions/list-forms.d.cts +26 -3
  19. package/dist/actions/list-forms.d.cts.map +1 -1
  20. package/dist/actions/list-forms.d.mts +26 -3
  21. package/dist/actions/list-forms.d.mts.map +1 -1
  22. package/dist/actions/list-forms.mjs.map +1 -1
  23. package/dist/actions/list-spaces.cjs +9 -9
  24. package/dist/actions/list-spaces.cjs.map +1 -1
  25. package/dist/actions/list-spaces.d.cts +26 -3
  26. package/dist/actions/list-spaces.d.cts.map +1 -1
  27. package/dist/actions/list-spaces.d.mts +26 -3
  28. package/dist/actions/list-spaces.d.mts.map +1 -1
  29. package/dist/actions/list-spaces.mjs +9 -9
  30. package/dist/actions/list-spaces.mjs.map +1 -1
  31. package/dist/actions/list-translations.cjs.map +1 -1
  32. package/dist/actions/list-translations.d.cts +18 -3
  33. package/dist/actions/list-translations.d.cts.map +1 -1
  34. package/dist/actions/list-translations.d.mts +18 -3
  35. package/dist/actions/list-translations.d.mts.map +1 -1
  36. package/dist/actions/list-translations.mjs.map +1 -1
  37. package/dist/catalog.cjs +7 -1
  38. package/dist/catalog.cjs.map +1 -1
  39. package/dist/catalog.d.cts +8 -0
  40. package/dist/catalog.d.mts +8 -0
  41. package/dist/catalog.mjs +7 -1
  42. package/dist/catalog.mjs.map +1 -1
  43. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["paperform","executePaperformTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { paperform } from \"./app\";\nimport { executePaperformTool } 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 paperform.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 executePaperformTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,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,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["paperform","executePaperformTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { paperform } from \"./app\";\nimport { executePaperformTool } 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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return paperform.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePaperformTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,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,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { paperform } from \"./app\";\nimport { executePaperformTool } 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 paperform.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 executePaperformTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { paperform } from \"./app\";\nimport { executePaperformTool } 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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return paperform.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePaperformTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-space-forms.cjs","names":["z","action"],"sources":["../../src/actions/get-space-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformGetSpaceFormsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the space to retrieve forms from.\"),\n}).describe(\"Request model for getting forms in a space.\");\nconst PaperformGetSpaceForms_FormObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the form\").nullable().optional(),\n name: z.string().describe(\"The name of the form\").nullable().optional(),\n slug: z.string().describe(\"The URL slug of the form\").nullable().optional(),\n status: z.string().describe(\"The status of the form\").nullable().optional(),\n space_id: z.string().describe(\"The unique identifier of the space containing this form\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the form was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable().optional(),\n}).describe(\"Represents a form object within a space.\");\nconst PaperformGetSpaceForms_FormsResultsSchema: z.ZodTypeAny = z.object({\n forms: z.array(PaperformGetSpaceForms_FormObjectSchema).describe(\"List of form objects\").nullable().optional(),\n}).describe(\"Results container for forms list.\");\nexport const PaperformGetSpaceFormsOutput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"The number of results to skip\").nullable().optional(),\n limit: z.number().int().describe(\"The limit of results per page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of forms\").nullable().optional(),\n status: z.string().describe(\"The status of the request\").nullable().optional(),\n results: PaperformGetSpaceForms_FormsResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more results\").nullable().optional(),\n}).describe(\"Response model for getting forms in a space.\");\n\nexport const paperformGetSpaceForms = action(\"PAPERFORM_GET_SPACE_FORMS\", {\n slug: \"paperform-get-space-forms\",\n name: \"Get Space Forms\",\n description: \"Tool to retrieve forms in a space from Paperform. Use when you need to list all forms accessible by the authorized user within a specific space. This is a Business API only feature.\",\n input: PaperformGetSpaceFormsInput,\n output: PaperformGetSpaceFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACtF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA0DA,IAAAA,EAAE,OAAO,EACvE,OAAOA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAAS,0CAA0C,SAAS;CAC5D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-space-forms.cjs","names":["z","action"],"sources":["../../src/actions/get-space-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformGetSpaceFormsInput = z.object({\n id: z.string().describe(\"The unique identifier of the space to retrieve forms from.\"),\n}).describe(\"Request model for getting forms in a space.\");\nconst PaperformGetSpaceForms_FormObjectSchema = z.object({\n id: z.string().describe(\"The unique identifier of the form\").nullable().optional(),\n name: z.string().describe(\"The name of the form\").nullable().optional(),\n slug: z.string().describe(\"The URL slug of the form\").nullable().optional(),\n status: z.string().describe(\"The status of the form\").nullable().optional(),\n space_id: z.string().describe(\"The unique identifier of the space containing this form\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the form was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable().optional(),\n}).describe(\"Represents a form object within a space.\");\nconst PaperformGetSpaceForms_FormsResultsSchema = z.object({\n forms: z.array(PaperformGetSpaceForms_FormObjectSchema).describe(\"List of form objects\").nullable().optional(),\n}).describe(\"Results container for forms list.\");\nexport const PaperformGetSpaceFormsOutput = z.object({\n skip: z.number().int().describe(\"The number of results to skip\").nullable().optional(),\n limit: z.number().int().describe(\"The limit of results per page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of forms\").nullable().optional(),\n status: z.string().describe(\"The status of the request\").nullable().optional(),\n results: PaperformGetSpaceForms_FormsResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more results\").nullable().optional(),\n}).describe(\"Response model for getting forms in a space.\");\n\nexport const paperformGetSpaceForms = action(\"PAPERFORM_GET_SPACE_FORMS\", {\n slug: \"paperform-get-space-forms\",\n name: \"Get Space Forms\",\n description: \"Tool to retrieve forms in a space from Paperform. Use when you need to list all forms accessible by the authorized user within a specific space. This is a Business API only feature.\",\n input: PaperformGetSpaceFormsInput,\n output: PaperformGetSpaceFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACtF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,0CAA0CA,IAAAA,EAAE,OA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,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAAS,0CAA0C,SAAS;CAC5D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-space-forms.d.ts
4
- declare const PaperformGetSpaceFormsInput: z.ZodTypeAny;
5
- declare const PaperformGetSpaceFormsOutput: z.ZodTypeAny;
6
- declare const paperformGetSpaceForms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaperformGetSpaceFormsInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PaperformGetSpaceFormsOutput: z.ZodObject<{
8
+ skip: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ results: z.ZodNullable<z.ZodObject<{
13
+ forms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>>;
22
+ }, z.core.$strip>>;
23
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ }, z.core.$strip>;
25
+ declare const paperformGetSpaceForms: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ id: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { paperformGetSpaceForms };
9
30
  //# sourceMappingURL=get-space-forms.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-space-forms.d.cts","names":[],"sources":["../../src/actions/get-space-forms.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEc;AAAA,cAa7C,4BAAA,EAA8B,CAAA,CAAE,UAOc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-space-forms.d.cts","names":[],"sources":["../../src/actions/get-space-forms.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-space-forms.d.ts
4
- declare const PaperformGetSpaceFormsInput: z.ZodTypeAny;
5
- declare const PaperformGetSpaceFormsOutput: z.ZodTypeAny;
6
- declare const paperformGetSpaceForms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaperformGetSpaceFormsInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PaperformGetSpaceFormsOutput: z.ZodObject<{
8
+ skip: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ results: z.ZodNullable<z.ZodObject<{
13
+ forms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>>;
22
+ }, z.core.$strip>>;
23
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ }, z.core.$strip>;
25
+ declare const paperformGetSpaceForms: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ id: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { paperformGetSpaceForms };
9
30
  //# sourceMappingURL=get-space-forms.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-space-forms.d.mts","names":[],"sources":["../../src/actions/get-space-forms.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEc;AAAA,cAa7C,4BAAA,EAA8B,CAAA,CAAE,UAOc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-space-forms.d.mts","names":[],"sources":["../../src/actions/get-space-forms.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS5B,sBAAA,gCAAsB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-space-forms.mjs","names":[],"sources":["../../src/actions/get-space-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformGetSpaceFormsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the space to retrieve forms from.\"),\n}).describe(\"Request model for getting forms in a space.\");\nconst PaperformGetSpaceForms_FormObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the form\").nullable().optional(),\n name: z.string().describe(\"The name of the form\").nullable().optional(),\n slug: z.string().describe(\"The URL slug of the form\").nullable().optional(),\n status: z.string().describe(\"The status of the form\").nullable().optional(),\n space_id: z.string().describe(\"The unique identifier of the space containing this form\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the form was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable().optional(),\n}).describe(\"Represents a form object within a space.\");\nconst PaperformGetSpaceForms_FormsResultsSchema: z.ZodTypeAny = z.object({\n forms: z.array(PaperformGetSpaceForms_FormObjectSchema).describe(\"List of form objects\").nullable().optional(),\n}).describe(\"Results container for forms list.\");\nexport const PaperformGetSpaceFormsOutput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"The number of results to skip\").nullable().optional(),\n limit: z.number().int().describe(\"The limit of results per page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of forms\").nullable().optional(),\n status: z.string().describe(\"The status of the request\").nullable().optional(),\n results: PaperformGetSpaceForms_FormsResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more results\").nullable().optional(),\n}).describe(\"Response model for getting forms in a space.\");\n\nexport const paperformGetSpaceForms = action(\"PAPERFORM_GET_SPACE_FORMS\", {\n slug: \"paperform-get-space-forms\",\n name: \"Get Space Forms\",\n description: \"Tool to retrieve forms in a space from Paperform. Use when you need to list all forms accessible by the authorized user within a specific space. This is a Business API only feature.\",\n input: PaperformGetSpaceFormsInput,\n output: PaperformGetSpaceFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACtF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA0D,EAAE,OAAO,EACvE,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAU/C,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,0CAA0C,SAAS;EAC5D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-space-forms.mjs","names":[],"sources":["../../src/actions/get-space-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformGetSpaceFormsInput = z.object({\n id: z.string().describe(\"The unique identifier of the space to retrieve forms from.\"),\n}).describe(\"Request model for getting forms in a space.\");\nconst PaperformGetSpaceForms_FormObjectSchema = z.object({\n id: z.string().describe(\"The unique identifier of the form\").nullable().optional(),\n name: z.string().describe(\"The name of the form\").nullable().optional(),\n slug: z.string().describe(\"The URL slug of the form\").nullable().optional(),\n status: z.string().describe(\"The status of the form\").nullable().optional(),\n space_id: z.string().describe(\"The unique identifier of the space containing this form\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the form was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable().optional(),\n}).describe(\"Represents a form object within a space.\");\nconst PaperformGetSpaceForms_FormsResultsSchema = z.object({\n forms: z.array(PaperformGetSpaceForms_FormObjectSchema).describe(\"List of form objects\").nullable().optional(),\n}).describe(\"Results container for forms list.\");\nexport const PaperformGetSpaceFormsOutput = z.object({\n skip: z.number().int().describe(\"The number of results to skip\").nullable().optional(),\n limit: z.number().int().describe(\"The limit of results per page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of forms\").nullable().optional(),\n status: z.string().describe(\"The status of the request\").nullable().optional(),\n results: PaperformGetSpaceForms_FormsResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more results\").nullable().optional(),\n}).describe(\"Response model for getting forms in a space.\");\n\nexport const paperformGetSpaceForms = action(\"PAPERFORM_GET_SPACE_FORMS\", {\n slug: \"paperform-get-space-forms\",\n name: \"Get Space Forms\",\n description: \"Tool to retrieve forms in a space from Paperform. Use when you need to list all forms accessible by the authorized user within a specific space. This is a Business API only feature.\",\n input: PaperformGetSpaceFormsInput,\n output: PaperformGetSpaceFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACtF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA4C,EAAE,OAAO,EACzD,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAU/C,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,0CAA0C,SAAS;EAC5D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -4,10 +4,10 @@ let zod = require("zod");
4
4
  const PaperformGetSpaceInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the space to retrieve.") }).describe("Request model for getting a space by ID.");
5
5
  const PaperformGetSpaceOutput = zod.z.object({
6
6
  id: zod.z.union([zod.z.string(), zod.z.number().int()]),
7
- name: zod.z.string().describe("The name of the space"),
7
+ name: zod.z.string().describe("The name of the space").nullable(),
8
8
  owner_id: zod.z.string().describe("The unique identifier of the space owner").nullable().optional(),
9
- created_at: zod.z.string().describe("Timestamp of when the space was created"),
10
- updated_at: zod.z.string().describe("Timestamp of the last update"),
9
+ created_at: zod.z.string().describe("Timestamp of when the space was created").nullable(),
10
+ updated_at: zod.z.string().describe("Timestamp of the last update").nullable(),
11
11
  description: zod.z.string().describe("Description of the space").nullable().optional()
12
12
  }).describe("Response model for getting a space by ID.");
13
13
  const paperformGetSpace = require_action.action("PAPERFORM_GET_SPACE", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-space.cjs","names":["z","action"],"sources":["../../src/actions/get-space.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformGetSpaceInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the space to retrieve.\"),\n}).describe(\"Request model for getting a space by ID.\");\nexport const PaperformGetSpaceOutput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n name: z.string().describe(\"The name of the space\"),\n owner_id: z.string().describe(\"The unique identifier of the space owner\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the space was created\"),\n updated_at: z.string().describe(\"Timestamp of the last update\"),\n description: z.string().describe(\"Description of the space\").nullable().optional(),\n}).describe(\"Response model for getting a space by ID.\");\n\nexport const paperformGetSpace = action(\"PAPERFORM_GET_SPACE\", {\n slug: \"paperform-get-space\",\n name: \"Get Space\",\n description: \"Tool to retrieve a space by ID from Paperform. Use when you need to get detailed information about a specific space.\",\n input: PaperformGetSpaceInput,\n output: PaperformGetSpaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-space.cjs","names":["z","action"],"sources":["../../src/actions/get-space.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformGetSpaceInput = z.object({\n id: z.string().describe(\"The unique identifier of the space to retrieve.\"),\n}).describe(\"Request model for getting a space by ID.\");\nexport const PaperformGetSpaceOutput = z.object({\n id: z.union([z.string(), z.number().int()]),\n name: z.string().describe(\"The name of the space\").nullable(),\n owner_id: z.string().describe(\"The unique identifier of the space owner\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the space was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable(),\n description: z.string().describe(\"Description of the space\").nullable().optional(),\n}).describe(\"Response model for getting a space by ID.\");\n\nexport const paperformGetSpace = action(\"PAPERFORM_GET_SPACE\", {\n slug: \"paperform-get-space\",\n name: \"Get Space\",\n description: \"Tool to retrieve a space by ID from Paperform. Use when you need to get detailed information about a specific space.\",\n input: PaperformGetSpaceInput,\n output: PaperformGetSpaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-space.d.ts
4
- declare const PaperformGetSpaceInput: z.ZodTypeAny;
5
- declare const PaperformGetSpaceOutput: z.ZodTypeAny;
6
- declare const paperformGetSpace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaperformGetSpaceInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PaperformGetSpaceOutput: z.ZodObject<{
8
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ owner_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ created_at: z.ZodNullable<z.ZodString>;
12
+ updated_at: z.ZodNullable<z.ZodString>;
13
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>;
15
+ declare const paperformGetSpace: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ id: string;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { paperformGetSpace };
9
20
  //# sourceMappingURL=get-space.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-space.d.cts","names":[],"sources":["../../src/actions/get-space.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEgB;AAAA,cAC1C,uBAAA,EAAyB,CAAA,CAAE,UAOgB;AAAA,cAE3C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-space.d.cts","names":[],"sources":["../../src/actions/get-space.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cASvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-space.d.ts
4
- declare const PaperformGetSpaceInput: z.ZodTypeAny;
5
- declare const PaperformGetSpaceOutput: z.ZodTypeAny;
6
- declare const paperformGetSpace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaperformGetSpaceInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PaperformGetSpaceOutput: z.ZodObject<{
8
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ owner_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ created_at: z.ZodNullable<z.ZodString>;
12
+ updated_at: z.ZodNullable<z.ZodString>;
13
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>;
15
+ declare const paperformGetSpace: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ id: string;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { paperformGetSpace };
9
20
  //# sourceMappingURL=get-space.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-space.d.mts","names":[],"sources":["../../src/actions/get-space.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEgB;AAAA,cAC1C,uBAAA,EAAyB,CAAA,CAAE,UAOgB;AAAA,cAE3C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-space.d.mts","names":[],"sources":["../../src/actions/get-space.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cASvB,iBAAA,gCAAiB,wBAAA"}
@@ -7,10 +7,10 @@ const paperformGetSpace = action("PAPERFORM_GET_SPACE", {
7
7
  input: z.object({ id: z.string().describe("The unique identifier of the space to retrieve.") }).describe("Request model for getting a space by ID."),
8
8
  output: z.object({
9
9
  id: z.union([z.string(), z.number().int()]),
10
- name: z.string().describe("The name of the space"),
10
+ name: z.string().describe("The name of the space").nullable(),
11
11
  owner_id: z.string().describe("The unique identifier of the space owner").nullable().optional(),
12
- created_at: z.string().describe("Timestamp of when the space was created"),
13
- updated_at: z.string().describe("Timestamp of the last update"),
12
+ created_at: z.string().describe("Timestamp of when the space was created").nullable(),
13
+ updated_at: z.string().describe("Timestamp of the last update").nullable(),
14
14
  description: z.string().describe("Description of the space").nullable().optional()
15
15
  }).describe("Response model for getting a space by ID.")
16
16
  });
@@ -1 +1 @@
1
- {"version":3,"file":"get-space.mjs","names":[],"sources":["../../src/actions/get-space.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformGetSpaceInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the space to retrieve.\"),\n}).describe(\"Request model for getting a space by ID.\");\nexport const PaperformGetSpaceOutput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n name: z.string().describe(\"The name of the space\"),\n owner_id: z.string().describe(\"The unique identifier of the space owner\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the space was created\"),\n updated_at: z.string().describe(\"Timestamp of the last update\"),\n description: z.string().describe(\"Description of the space\").nullable().optional(),\n}).describe(\"Response model for getting a space by ID.\");\n\nexport const paperformGetSpace = action(\"PAPERFORM_GET_SPACE\", {\n slug: \"paperform-get-space\",\n name: \"Get Space\",\n description: \"Tool to retrieve a space by ID from Paperform. Use when you need to get detailed information about a specific space.\",\n input: PaperformGetSpaceInput,\n output: PaperformGetSpaceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkD,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,0CAcH;CACP,QAdmD,EAAE,OAAO;EAC5D,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-space.mjs","names":[],"sources":["../../src/actions/get-space.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformGetSpaceInput = z.object({\n id: z.string().describe(\"The unique identifier of the space to retrieve.\"),\n}).describe(\"Request model for getting a space by ID.\");\nexport const PaperformGetSpaceOutput = z.object({\n id: z.union([z.string(), z.number().int()]),\n name: z.string().describe(\"The name of the space\").nullable(),\n owner_id: z.string().describe(\"The unique identifier of the space owner\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the space was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable(),\n description: z.string().describe(\"Description of the space\").nullable().optional(),\n}).describe(\"Response model for getting a space by ID.\");\n\nexport const paperformGetSpace = action(\"PAPERFORM_GET_SPACE\", {\n slug: \"paperform-get-space\",\n name: \"Get Space\",\n description: \"Tool to retrieve a space by ID from Paperform. Use when you need to get detailed information about a specific space.\",\n input: PaperformGetSpaceInput,\n output: PaperformGetSpaceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,0CAcH;CACP,QAdqC,EAAE,OAAO;EAC9C,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-forms.cjs","names":["z","action"],"sources":["../../src/actions/list-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListFormsInput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of forms to skip for pagination (default: 0)\").optional(),\n limit: z.number().int().describe(\"Maximum number of forms to return per request (default: 20)\").optional(),\n}).describe(\"Request model for listing forms. All parameters are optional.\");\nconst PaperformListForms_FormSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the form\").nullable().optional(),\n slug: z.string().describe(\"The URL slug of the form (subdomain portion, e.g., 'newsletter' from newsletter.paperform.co). Note that custom slugs can change.\").nullable().optional(),\n title: z.string().describe(\"The title/name of the form\").nullable().optional(),\n status: z.string().describe(\"The status of the form\").nullable().optional(),\n space_id: z.string().describe(\"The unique identifier of the space containing this form\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the form was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable().optional(),\n}).describe(\"Model representing a single form.\");\nconst PaperformListForms_FormsResultsSchema: z.ZodTypeAny = z.object({\n forms: z.array(PaperformListForms_FormSchema).describe(\"List of form objects accessible to the authorized user\").nullable().optional(),\n}).describe(\"Model containing the forms list.\");\nexport const PaperformListFormsOutput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of forms skipped\").nullable().optional(),\n limit: z.number().int().describe(\"Limit of forms returned per request\").nullable().optional(),\n total: z.number().int().describe(\"Total number of forms\").nullable().optional(),\n status: z.string().describe(\"Status of the API response\").nullable().optional(),\n results: PaperformListForms_FormsResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more forms available\").nullable().optional(),\n}).describe(\"Response model for listing forms.\");\n\nexport const paperformListForms = action(\"PAPERFORM_LIST_FORMS\", {\n slug: \"paperform-list-forms\",\n name: \"List Forms\",\n description: \"Tool to list all forms accessible by the authorized user. Use when you need to retrieve available forms from Paperform.\",\n input: PaperformListFormsInput,\n output: PaperformListFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,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QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-forms.cjs","names":["z","action"],"sources":["../../src/actions/list-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListFormsInput = z.object({\n skip: z.number().int().describe(\"Number of forms to skip for pagination (default: 0)\").optional(),\n limit: z.number().int().describe(\"Maximum number of forms to return per request (default: 20)\").optional(),\n}).describe(\"Request model for listing forms. All parameters are optional.\");\nconst PaperformListForms_FormSchema = z.object({\n id: z.string().describe(\"The unique identifier of the form\").nullable().optional(),\n slug: z.string().describe(\"The URL slug of the form (subdomain portion, e.g., 'newsletter' from newsletter.paperform.co). Note that custom slugs can change.\").nullable().optional(),\n title: z.string().describe(\"The title/name of the form\").nullable().optional(),\n status: z.string().describe(\"The status of the form\").nullable().optional(),\n space_id: z.string().describe(\"The unique identifier of the space containing this form\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the form was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable().optional(),\n}).describe(\"Model representing a single form.\");\nconst PaperformListForms_FormsResultsSchema = z.object({\n forms: z.array(PaperformListForms_FormSchema).describe(\"List of form objects accessible to the authorized user\").nullable().optional(),\n}).describe(\"Model containing the forms list.\");\nexport const PaperformListFormsOutput = z.object({\n skip: z.number().int().describe(\"Number of forms skipped\").nullable().optional(),\n limit: z.number().int().describe(\"Limit of forms returned per request\").nullable().optional(),\n total: z.number().int().describe(\"Total number of forms\").nullable().optional(),\n status: z.string().describe(\"Status of the API response\").nullable().optional(),\n results: PaperformListForms_FormsResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more forms available\").nullable().optional(),\n}).describe(\"Response model for listing forms.\");\n\nexport const paperformListForms = action(\"PAPERFORM_LIST_FORMS\", {\n slug: \"paperform-list-forms\",\n name: \"List Forms\",\n description: \"Tool to list all forms accessible by the authorized user. Use when you need to retrieve available forms from Paperform.\",\n input: PaperformListFormsInput,\n output: PaperformListFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,wCAAwCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAAS,sCAAsC,SAAS;CACxD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-forms.d.ts
4
- declare const PaperformListFormsInput: z.ZodTypeAny;
5
- declare const PaperformListFormsOutput: z.ZodTypeAny;
6
- declare const paperformListForms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaperformListFormsInput: z.ZodObject<{
5
+ skip: z.ZodOptional<z.ZodNumber>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const PaperformListFormsOutput: z.ZodObject<{
9
+ skip: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ results: z.ZodNullable<z.ZodObject<{
14
+ forms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>>>;
23
+ }, z.core.$strip>>;
24
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
+ }, z.core.$strip>;
26
+ declare const paperformListForms: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ skip?: number | undefined;
28
+ limit?: number | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { paperformListForms };
9
32
  //# sourceMappingURL=list-forms.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-forms.d.cts","names":[],"sources":["../../src/actions/list-forms.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoC;AAAA,cAa/D,wBAAA,EAA0B,CAAA,CAAE,UAOO;AAAA,cAEnC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-forms.d.cts","names":[],"sources":["../../src/actions/list-forms.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cASxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-forms.d.ts
4
- declare const PaperformListFormsInput: z.ZodTypeAny;
5
- declare const PaperformListFormsOutput: z.ZodTypeAny;
6
- declare const paperformListForms: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaperformListFormsInput: z.ZodObject<{
5
+ skip: z.ZodOptional<z.ZodNumber>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const PaperformListFormsOutput: z.ZodObject<{
9
+ skip: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ results: z.ZodNullable<z.ZodObject<{
14
+ forms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>>>;
23
+ }, z.core.$strip>>;
24
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
+ }, z.core.$strip>;
26
+ declare const paperformListForms: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ skip?: number | undefined;
28
+ limit?: number | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { paperformListForms };
9
32
  //# sourceMappingURL=list-forms.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-forms.d.mts","names":[],"sources":["../../src/actions/list-forms.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoC;AAAA,cAa/D,wBAAA,EAA0B,CAAA,CAAE,UAOO;AAAA,cAEnC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-forms.d.mts","names":[],"sources":["../../src/actions/list-forms.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cASxB,kBAAA,gCAAkB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-forms.mjs","names":[],"sources":["../../src/actions/list-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListFormsInput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of forms to skip for pagination (default: 0)\").optional(),\n limit: z.number().int().describe(\"Maximum number of forms to return per request (default: 20)\").optional(),\n}).describe(\"Request model for listing forms. All parameters are optional.\");\nconst PaperformListForms_FormSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the form\").nullable().optional(),\n slug: z.string().describe(\"The URL slug of the form (subdomain portion, e.g., 'newsletter' from newsletter.paperform.co). Note that custom slugs can change.\").nullable().optional(),\n title: z.string().describe(\"The title/name of the form\").nullable().optional(),\n status: z.string().describe(\"The status of the form\").nullable().optional(),\n space_id: z.string().describe(\"The unique identifier of the space containing this form\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the form was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable().optional(),\n}).describe(\"Model representing a single form.\");\nconst PaperformListForms_FormsResultsSchema: z.ZodTypeAny = z.object({\n forms: z.array(PaperformListForms_FormSchema).describe(\"List of form objects accessible to the authorized user\").nullable().optional(),\n}).describe(\"Model containing the forms list.\");\nexport const PaperformListFormsOutput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of forms skipped\").nullable().optional(),\n limit: z.number().int().describe(\"Limit of forms returned per request\").nullable().optional(),\n total: z.number().int().describe(\"Total number of forms\").nullable().optional(),\n status: z.string().describe(\"Status of the API response\").nullable().optional(),\n results: PaperformListForms_FormsResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more forms available\").nullable().optional(),\n}).describe(\"Response model for listing forms.\");\n\nexport const paperformListForms = action(\"PAPERFORM_LIST_FORMS\", {\n slug: \"paperform-list-forms\",\n name: \"List Forms\",\n description: \"Tool to list all forms accessible by the authorized user. Use when you need to retrieve available forms from Paperform.\",\n input: PaperformListFormsInput,\n output: PaperformListFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,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AS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,SAAS,sCAAsC,SAAS;EACxD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-forms.mjs","names":[],"sources":["../../src/actions/list-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListFormsInput = z.object({\n skip: z.number().int().describe(\"Number of forms to skip for pagination (default: 0)\").optional(),\n limit: z.number().int().describe(\"Maximum number of forms to return per request (default: 20)\").optional(),\n}).describe(\"Request model for listing forms. All parameters are optional.\");\nconst PaperformListForms_FormSchema = z.object({\n id: z.string().describe(\"The unique identifier of the form\").nullable().optional(),\n slug: z.string().describe(\"The URL slug of the form (subdomain portion, e.g., 'newsletter' from newsletter.paperform.co). Note that custom slugs can change.\").nullable().optional(),\n title: z.string().describe(\"The title/name of the form\").nullable().optional(),\n status: z.string().describe(\"The status of the form\").nullable().optional(),\n space_id: z.string().describe(\"The unique identifier of the space containing this form\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the form was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable().optional(),\n}).describe(\"Model representing a single form.\");\nconst PaperformListForms_FormsResultsSchema = z.object({\n forms: z.array(PaperformListForms_FormSchema).describe(\"List of form objects accessible to the authorized user\").nullable().optional(),\n}).describe(\"Model containing the forms list.\");\nexport const PaperformListFormsOutput = z.object({\n skip: z.number().int().describe(\"Number of forms skipped\").nullable().optional(),\n limit: z.number().int().describe(\"Limit of forms returned per request\").nullable().optional(),\n total: z.number().int().describe(\"Total number of forms\").nullable().optional(),\n status: z.string().describe(\"Status of the API response\").nullable().optional(),\n results: PaperformListForms_FormsResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more forms available\").nullable().optional(),\n}).describe(\"Response model for listing forms.\");\n\nexport const paperformListForms = action(\"PAPERFORM_LIST_FORMS\", {\n slug: \"paperform-list-forms\",\n name: \"List Forms\",\n description: \"Tool to list all forms accessible by the authorized user. Use when you need to retrieve available forms from Paperform.\",\n input: PaperformListFormsInput,\n output: PaperformListFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,wCAAwC,EAAE,OAAO,EACrD,OAAO,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAU9C,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,SAAS,sCAAsC,SAAS;EACxD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
@@ -6,22 +6,22 @@ const PaperformListSpacesInput = zod.z.object({
6
6
  limit: zod.z.number().int().describe("Maximum number of results to return. Default: 20, max: 100.").optional()
7
7
  }).describe("Request model for listing spaces.");
8
8
  const PaperformListSpaces_SpaceSchema = zod.z.object({
9
- id: zod.z.number().int().describe("The unique identifier of the space"),
10
- name: zod.z.string().describe("The name of the space"),
11
- created_at: zod.z.string().describe("Timestamp of when the space was created"),
12
- updated_at: zod.z.string().describe("Timestamp of the last update"),
9
+ id: zod.z.number().int().describe("The unique identifier of the space").nullable(),
10
+ name: zod.z.string().describe("The name of the space").nullable(),
11
+ created_at: zod.z.string().describe("Timestamp of when the space was created").nullable(),
12
+ updated_at: zod.z.string().describe("Timestamp of the last update").nullable(),
13
13
  created_at_utc: zod.z.string().describe("UTC timestamp of when the space was created").nullable().optional(),
14
14
  updated_at_utc: zod.z.string().describe("UTC timestamp of the last update").nullable().optional(),
15
15
  account_timezone: zod.z.string().describe("The timezone of the account").nullable().optional()
16
16
  }).describe("Model representing a single space.");
17
17
  const PaperformListSpaces_SpacesResultsSchema = zod.z.object({ spaces: zod.z.array(PaperformListSpaces_SpaceSchema).describe("List of space objects") }).describe("Nested model for spaces results.");
18
18
  const PaperformListSpacesOutput = zod.z.object({
19
- skip: zod.z.number().int().describe("Number of spaces skipped"),
20
- limit: zod.z.number().int().describe("The limit of spaces returned"),
21
- total: zod.z.number().int().describe("Total number of spaces"),
22
- status: zod.z.string().describe("The status of the request"),
19
+ skip: zod.z.number().int().describe("Number of spaces skipped").nullable(),
20
+ limit: zod.z.number().int().describe("The limit of spaces returned").nullable(),
21
+ total: zod.z.number().int().describe("Total number of spaces").nullable(),
22
+ status: zod.z.string().describe("The status of the request").nullable(),
23
23
  results: PaperformListSpaces_SpacesResultsSchema.nullable(),
24
- has_more: zod.z.boolean().describe("Whether there are more spaces to fetch")
24
+ has_more: zod.z.boolean().describe("Whether there are more spaces to fetch").nullable()
25
25
  }).describe("Response model for listing spaces.");
26
26
  const paperformListSpaces = require_action.action("PAPERFORM_LIST_SPACES", {
27
27
  slug: "paperform-list-spaces",
@@ -1 +1 @@
1
- {"version":3,"file":"list-spaces.cjs","names":["z","action"],"sources":["../../src/actions/list-spaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListSpacesInput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of results to skip. Default: 0.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Default: 20, max: 100.\").optional(),\n}).describe(\"Request model for listing spaces.\");\nconst PaperformListSpaces_SpaceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the space\"),\n name: z.string().describe(\"The name of the space\"),\n created_at: z.string().describe(\"Timestamp of when the space was created\"),\n updated_at: z.string().describe(\"Timestamp of the last update\"),\n created_at_utc: z.string().describe(\"UTC timestamp of when the space was created\").nullable().optional(),\n updated_at_utc: z.string().describe(\"UTC timestamp of the last update\").nullable().optional(),\n account_timezone: z.string().describe(\"The timezone of the account\").nullable().optional(),\n}).describe(\"Model representing a single space.\");\nconst PaperformListSpaces_SpacesResultsSchema: z.ZodTypeAny = z.object({\n spaces: z.array(PaperformListSpaces_SpaceSchema).describe(\"List of space objects\"),\n}).describe(\"Nested model for spaces results.\");\nexport const PaperformListSpacesOutput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of spaces skipped\"),\n limit: z.number().int().describe(\"The limit of spaces returned\"),\n total: z.number().int().describe(\"Total number of spaces\"),\n status: z.string().describe(\"The status of the request\"),\n results: PaperformListSpaces_SpacesResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more spaces to fetch\"),\n}).describe(\"Response model for listing spaces.\");\n\nexport const paperformListSpaces = action(\"PAPERFORM_LIST_SPACES\", {\n slug: \"paperform-list-spaces\",\n name: \"List Spaces\",\n description: \"Tool to list all spaces accessible by the authorized user. Use when you need to retrieve available spaces from Paperform.\",\n input: PaperformListSpacesInput,\n output: PaperformListSpacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAu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-spaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListSpacesInput = z.object({\n skip: z.number().int().describe(\"Number of results to skip. Default: 0.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Default: 20, max: 100.\").optional(),\n}).describe(\"Request model for listing spaces.\");\nconst PaperformListSpaces_SpaceSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the space\").nullable(),\n name: z.string().describe(\"The name of the space\").nullable(),\n created_at: z.string().describe(\"Timestamp of when the space was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable(),\n created_at_utc: z.string().describe(\"UTC timestamp of when the space was created\").nullable().optional(),\n updated_at_utc: z.string().describe(\"UTC timestamp of the last update\").nullable().optional(),\n account_timezone: z.string().describe(\"The timezone of the account\").nullable().optional(),\n}).describe(\"Model representing a single space.\");\nconst PaperformListSpaces_SpacesResultsSchema = z.object({\n spaces: z.array(PaperformListSpaces_SpaceSchema).describe(\"List of space objects\"),\n}).describe(\"Nested model for spaces results.\");\nexport const PaperformListSpacesOutput = z.object({\n skip: z.number().int().describe(\"Number of spaces skipped\").nullable(),\n limit: z.number().int().describe(\"The limit of spaces returned\").nullable(),\n total: z.number().int().describe(\"Total number of spaces\").nullable(),\n status: z.string().describe(\"The status of the request\").nullable(),\n results: PaperformListSpaces_SpacesResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more spaces to fetch\").nullable(),\n}).describe(\"Response model for listing spaces.\");\n\nexport const paperformListSpaces = action(\"PAPERFORM_LIST_SPACES\", {\n slug: \"paperform-list-spaces\",\n name: \"List Spaces\",\n description: \"Tool to list all spaces accessible by the authorized user. Use when you need to retrieve available spaces from Paperform.\",\n input: PaperformListSpacesInput,\n output: PaperformListSpacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS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C,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,SAAS,wCAAwC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-spaces.d.ts
4
- declare const PaperformListSpacesInput: z.ZodTypeAny;
5
- declare const PaperformListSpacesOutput: z.ZodTypeAny;
6
- declare const paperformListSpaces: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaperformListSpacesInput: z.ZodObject<{
5
+ skip: z.ZodOptional<z.ZodNumber>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const PaperformListSpacesOutput: z.ZodObject<{
9
+ skip: z.ZodNullable<z.ZodNumber>;
10
+ limit: z.ZodNullable<z.ZodNumber>;
11
+ total: z.ZodNullable<z.ZodNumber>;
12
+ status: z.ZodNullable<z.ZodString>;
13
+ results: z.ZodNullable<z.ZodObject<{
14
+ spaces: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodNumber>;
16
+ name: z.ZodNullable<z.ZodString>;
17
+ created_at: z.ZodNullable<z.ZodString>;
18
+ updated_at: z.ZodNullable<z.ZodString>;
19
+ created_at_utc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ updated_at_utc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ account_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>;
23
+ }, z.core.$strip>>;
24
+ has_more: z.ZodNullable<z.ZodBoolean>;
25
+ }, z.core.$strip>;
26
+ declare const paperformListSpaces: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ skip?: number | undefined;
28
+ limit?: number | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { paperformListSpaces };
9
32
  //# sourceMappingURL=list-spaces.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-spaces.d.cts","names":[],"sources":["../../src/actions/list-spaces.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGO;AAAA,cAanC,yBAAA,EAA2B,CAAA,CAAE,UAOO;AAAA,cAEpC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-spaces.d.cts","names":[],"sources":["../../src/actions/list-spaces.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cASzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-spaces.d.ts
4
- declare const PaperformListSpacesInput: z.ZodTypeAny;
5
- declare const PaperformListSpacesOutput: z.ZodTypeAny;
6
- declare const paperformListSpaces: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaperformListSpacesInput: z.ZodObject<{
5
+ skip: z.ZodOptional<z.ZodNumber>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const PaperformListSpacesOutput: z.ZodObject<{
9
+ skip: z.ZodNullable<z.ZodNumber>;
10
+ limit: z.ZodNullable<z.ZodNumber>;
11
+ total: z.ZodNullable<z.ZodNumber>;
12
+ status: z.ZodNullable<z.ZodString>;
13
+ results: z.ZodNullable<z.ZodObject<{
14
+ spaces: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodNumber>;
16
+ name: z.ZodNullable<z.ZodString>;
17
+ created_at: z.ZodNullable<z.ZodString>;
18
+ updated_at: z.ZodNullable<z.ZodString>;
19
+ created_at_utc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ updated_at_utc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ account_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>;
23
+ }, z.core.$strip>>;
24
+ has_more: z.ZodNullable<z.ZodBoolean>;
25
+ }, z.core.$strip>;
26
+ declare const paperformListSpaces: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ skip?: number | undefined;
28
+ limit?: number | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { paperformListSpaces };
9
32
  //# sourceMappingURL=list-spaces.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-spaces.d.mts","names":[],"sources":["../../src/actions/list-spaces.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGO;AAAA,cAanC,yBAAA,EAA2B,CAAA,CAAE,UAOO;AAAA,cAEpC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-spaces.d.mts","names":[],"sources":["../../src/actions/list-spaces.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cASzB,mBAAA,gCAAmB,wBAAA"}
@@ -6,10 +6,10 @@ const PaperformListSpacesInput = z.object({
6
6
  limit: z.number().int().describe("Maximum number of results to return. Default: 20, max: 100.").optional()
7
7
  }).describe("Request model for listing spaces.");
8
8
  const PaperformListSpaces_SpaceSchema = z.object({
9
- id: z.number().int().describe("The unique identifier of the space"),
10
- name: z.string().describe("The name of the space"),
11
- created_at: z.string().describe("Timestamp of when the space was created"),
12
- updated_at: z.string().describe("Timestamp of the last update"),
9
+ id: z.number().int().describe("The unique identifier of the space").nullable(),
10
+ name: z.string().describe("The name of the space").nullable(),
11
+ created_at: z.string().describe("Timestamp of when the space was created").nullable(),
12
+ updated_at: z.string().describe("Timestamp of the last update").nullable(),
13
13
  created_at_utc: z.string().describe("UTC timestamp of when the space was created").nullable().optional(),
14
14
  updated_at_utc: z.string().describe("UTC timestamp of the last update").nullable().optional(),
15
15
  account_timezone: z.string().describe("The timezone of the account").nullable().optional()
@@ -21,12 +21,12 @@ const paperformListSpaces = action("PAPERFORM_LIST_SPACES", {
21
21
  description: "Tool to list all spaces accessible by the authorized user. Use when you need to retrieve available spaces from Paperform.",
22
22
  input: PaperformListSpacesInput,
23
23
  output: z.object({
24
- skip: z.number().int().describe("Number of spaces skipped"),
25
- limit: z.number().int().describe("The limit of spaces returned"),
26
- total: z.number().int().describe("Total number of spaces"),
27
- status: z.string().describe("The status of the request"),
24
+ skip: z.number().int().describe("Number of spaces skipped").nullable(),
25
+ limit: z.number().int().describe("The limit of spaces returned").nullable(),
26
+ total: z.number().int().describe("Total number of spaces").nullable(),
27
+ status: z.string().describe("The status of the request").nullable(),
28
28
  results: PaperformListSpaces_SpacesResultsSchema.nullable(),
29
- has_more: z.boolean().describe("Whether there are more spaces to fetch")
29
+ has_more: z.boolean().describe("Whether there are more spaces to fetch").nullable()
30
30
  }).describe("Response model for listing spaces.")
31
31
  });
32
32
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"list-spaces.mjs","names":[],"sources":["../../src/actions/list-spaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListSpacesInput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of results to skip. Default: 0.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Default: 20, max: 100.\").optional(),\n}).describe(\"Request model for listing spaces.\");\nconst PaperformListSpaces_SpaceSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the space\"),\n name: z.string().describe(\"The name of the space\"),\n created_at: z.string().describe(\"Timestamp of when the space was created\"),\n updated_at: z.string().describe(\"Timestamp of the last update\"),\n created_at_utc: z.string().describe(\"UTC timestamp of when the space was created\").nullable().optional(),\n updated_at_utc: z.string().describe(\"UTC timestamp of the last update\").nullable().optional(),\n account_timezone: z.string().describe(\"The timezone of the account\").nullable().optional(),\n}).describe(\"Model representing a single space.\");\nconst PaperformListSpaces_SpacesResultsSchema: z.ZodTypeAny = z.object({\n spaces: z.array(PaperformListSpaces_SpaceSchema).describe(\"List of space objects\"),\n}).describe(\"Nested model for spaces results.\");\nexport const PaperformListSpacesOutput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of spaces skipped\"),\n limit: z.number().int().describe(\"The limit of spaces returned\"),\n total: z.number().int().describe(\"Total number of spaces\"),\n status: z.string().describe(\"The status of the request\"),\n results: PaperformListSpaces_SpacesResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more spaces to fetch\"),\n}).describe(\"Response model for listing spaces.\");\n\nexport const paperformListSpaces = action(\"PAPERFORM_LIST_SPACES\", {\n slug: \"paperform-list-spaces\",\n name: \"List Spaces\",\n description: \"Tool to list all spaces accessible by the authorized user. Use when you need to retrieve available spaces from Paperform.\",\n input: PaperformListSpacesInput,\n output: PaperformListSpacesOutput,\n});\n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AC,IAAI,CAAC,CAAC,SAAS,wBAAwB;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACvD,SAAS,wCAAwC,SAAS;EAC1D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACzE,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-spaces.mjs","names":[],"sources":["../../src/actions/list-spaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListSpacesInput = z.object({\n skip: z.number().int().describe(\"Number of results to skip. Default: 0.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Default: 20, max: 100.\").optional(),\n}).describe(\"Request model for listing spaces.\");\nconst PaperformListSpaces_SpaceSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the space\").nullable(),\n name: z.string().describe(\"The name of the space\").nullable(),\n created_at: z.string().describe(\"Timestamp of when the space was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp of the last update\").nullable(),\n created_at_utc: z.string().describe(\"UTC timestamp of when the space was created\").nullable().optional(),\n updated_at_utc: z.string().describe(\"UTC timestamp of the last update\").nullable().optional(),\n account_timezone: z.string().describe(\"The timezone of the account\").nullable().optional(),\n}).describe(\"Model representing a single space.\");\nconst PaperformListSpaces_SpacesResultsSchema = z.object({\n spaces: z.array(PaperformListSpaces_SpaceSchema).describe(\"List of space objects\"),\n}).describe(\"Nested model for spaces results.\");\nexport const PaperformListSpacesOutput = z.object({\n skip: z.number().int().describe(\"Number of spaces skipped\").nullable(),\n limit: z.number().int().describe(\"The limit of spaces returned\").nullable(),\n total: z.number().int().describe(\"Total number of spaces\").nullable(),\n status: z.string().describe(\"The status of the request\").nullable(),\n results: PaperformListSpaces_SpacesResultsSchema.nullable(),\n has_more: z.boolean().describe(\"Whether there are more spaces to fetch\").nullable(),\n}).describe(\"Response model for listing spaces.\");\n\nexport const paperformListSpaces = action(\"PAPERFORM_LIST_SPACES\", {\n slug: \"paperform-list-spaces\",\n name: \"List Spaces\",\n description: \"Tool to list all spaces accessible by the authorized user. Use when you need to retrieve available spaces from Paperform.\",\n input: PaperformListSpacesInput,\n output: PaperformListSpacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,0CAA0C,EAAE,OAAO,EACvD,QAAQ,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB,EACnF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAU9C,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAClE,SAAS,wCAAwC,SAAS;EAC1D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-translations.cjs","names":["z","action"],"sources":["../../src/actions/list-translations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListTranslationsInput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of results to skip. Default: 0.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Default: 20, max: 100.\").optional(),\n}).describe(\"Request model for listing translations.\");\nconst PaperformListTranslations_TranslationResultsSchema: z.ZodTypeAny = z.object({\n translations: z.array(z.object({})).default([]).describe(\"List of translation objects accessible to the authorized user.\").nullable().optional(),\n}).describe(\"Model for translation results container.\");\nexport const PaperformListTranslationsOutput: z.ZodTypeAny = z.object({\n skip: z.number().int().default(0).describe(\"Number of results skipped.\").nullable().optional(),\n limit: z.number().int().default(20).describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().default(0).describe(\"Total number of translations.\").nullable().optional(),\n status: z.string().default(\"ok\").describe(\"Status of the response.\").nullable().optional(),\n results: PaperformListTranslations_TranslationResultsSchema.nullable(),\n has_more: z.boolean().default(false).describe(\"Whether there are more results available.\").nullable().optional(),\n}).describe(\"Response model for listing translations.\");\n\nexport const paperformListTranslations = action(\"PAPERFORM_LIST_TRANSLATIONS\", {\n slug: \"paperform-list-translations\",\n name: \"List Translations\",\n description: \"Tool to list all translations accessible by the authorized user. Use when you need to retrieve available translations from Paperform.\",\n input: PaperformListTranslationsInput,\n output: PaperformListTranslationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qDAAmEA,IAAAA,EAAE,OAAO,EAChF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,mDAAmD,SAAS;CACrE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-translations.cjs","names":["z","action"],"sources":["../../src/actions/list-translations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListTranslationsInput = z.object({\n skip: z.number().int().describe(\"Number of results to skip. Default: 0.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Default: 20, max: 100.\").optional(),\n}).describe(\"Request model for listing translations.\");\nconst PaperformListTranslations_TranslationResultsSchema = z.object({\n translations: z.array(z.object({})).default([]).describe(\"List of translation objects accessible to the authorized user.\").nullable().optional(),\n}).describe(\"Model for translation results container.\");\nexport const PaperformListTranslationsOutput = z.object({\n skip: z.number().int().default(0).describe(\"Number of results skipped.\").nullable().optional(),\n limit: z.number().int().default(20).describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().default(0).describe(\"Total number of translations.\").nullable().optional(),\n status: z.string().default(\"ok\").describe(\"Status of the response.\").nullable().optional(),\n results: PaperformListTranslations_TranslationResultsSchema.nullable(),\n has_more: z.boolean().default(false).describe(\"Whether there are more results available.\").nullable().optional(),\n}).describe(\"Response model for listing translations.\");\n\nexport const paperformListTranslations = action(\"PAPERFORM_LIST_TRANSLATIONS\", {\n slug: \"paperform-list-translations\",\n name: \"List Translations\",\n description: \"Tool to list all translations accessible by the authorized user. Use when you need to retrieve available translations from Paperform.\",\n input: Paper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AAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-translations.d.ts
4
- declare const PaperformListTranslationsInput: z.ZodTypeAny;
5
- declare const PaperformListTranslationsOutput: z.ZodTypeAny;
6
- declare const paperformListTranslations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaperformListTranslationsInput: z.ZodObject<{
5
+ skip: z.ZodOptional<z.ZodNumber>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const PaperformListTranslationsOutput: z.ZodObject<{
9
+ skip: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
10
+ limit: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
11
+ total: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
13
+ results: z.ZodNullable<z.ZodObject<{
14
+ translations: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>>;
15
+ }, z.core.$strip>>;
16
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
+ }, z.core.$strip>;
18
+ declare const paperformListTranslations: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ skip?: number | undefined;
20
+ limit?: number | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { paperformListTranslations };
9
24
  //# sourceMappingURL=list-translations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-translations.d.cts","names":[],"sources":["../../src/actions/list-translations.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGO;AAAA,cAIzC,+BAAA,EAAiC,CAAA,CAAE,UAOO;AAAA,cAE1C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-translations.d.cts","names":[],"sources":["../../src/actions/list-translations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-translations.d.ts
4
- declare const PaperformListTranslationsInput: z.ZodTypeAny;
5
- declare const PaperformListTranslationsOutput: z.ZodTypeAny;
6
- declare const paperformListTranslations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaperformListTranslationsInput: z.ZodObject<{
5
+ skip: z.ZodOptional<z.ZodNumber>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const PaperformListTranslationsOutput: z.ZodObject<{
9
+ skip: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
10
+ limit: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
11
+ total: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
13
+ results: z.ZodNullable<z.ZodObject<{
14
+ translations: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>>;
15
+ }, z.core.$strip>>;
16
+ has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
+ }, z.core.$strip>;
18
+ declare const paperformListTranslations: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ skip?: number | undefined;
20
+ limit?: number | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { paperformListTranslations };
9
24
  //# sourceMappingURL=list-translations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-translations.d.mts","names":[],"sources":["../../src/actions/list-translations.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGO;AAAA,cAIzC,+BAAA,EAAiC,CAAA,CAAE,UAOO;AAAA,cAE1C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-translations.d.mts","names":[],"sources":["../../src/actions/list-translations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-translations.mjs","names":[],"sources":["../../src/actions/list-translations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListTranslationsInput: z.ZodTypeAny = z.object({\n skip: z.number().int().describe(\"Number of results to skip. Default: 0.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Default: 20, max: 100.\").optional(),\n}).describe(\"Request model for listing translations.\");\nconst PaperformListTranslations_TranslationResultsSchema: z.ZodTypeAny = z.object({\n translations: z.array(z.object({})).default([]).describe(\"List of translation objects accessible to the authorized user.\").nullable().optional(),\n}).describe(\"Model for translation results container.\");\nexport const PaperformListTranslationsOutput: z.ZodTypeAny = z.object({\n skip: z.number().int().default(0).describe(\"Number of results skipped.\").nullable().optional(),\n limit: z.number().int().default(20).describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().default(0).describe(\"Total number of translations.\").nullable().optional(),\n status: z.string().default(\"ok\").describe(\"Status of the response.\").nullable().optional(),\n results: PaperformListTranslations_TranslationResultsSchema.nullable(),\n has_more: z.boolean().default(false).describe(\"Whether there are more results available.\").nullable().optional(),\n}).describe(\"Response model for listing translations.\");\n\nexport const paperformListTranslations = action(\"PAPERFORM_LIST_TRANSLATIONS\", {\n slug: \"paperform-list-translations\",\n name: \"List Translations\",\n description: \"Tool to list all translations accessible by the authorized user. Use when you need to retrieve available translations from Paperform.\",\n input: PaperformListTranslationsInput,\n output: PaperformListTranslationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qDAAmE,EAAE,OAAO,EAChF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAUtD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,mDAAmD,SAAS;EACrE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-translations.mjs","names":[],"sources":["../../src/actions/list-translations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaperformListTranslationsInput = z.object({\n skip: z.number().int().describe(\"Number of results to skip. Default: 0.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. Default: 20, max: 100.\").optional(),\n}).describe(\"Request model for listing translations.\");\nconst PaperformListTranslations_TranslationResultsSchema = z.object({\n translations: z.array(z.object({})).default([]).describe(\"List of translation objects accessible to the authorized user.\").nullable().optional(),\n}).describe(\"Model for translation results container.\");\nexport const PaperformListTranslationsOutput = z.object({\n skip: z.number().int().default(0).describe(\"Number of results skipped.\").nullable().optional(),\n limit: z.number().int().default(20).describe(\"Number of results per page.\").nullable().optional(),\n total: z.number().int().default(0).describe(\"Total number of translations.\").nullable().optional(),\n status: z.string().default(\"ok\").describe(\"Status of the response.\").nullable().optional(),\n results: PaperformListTranslations_TranslationResultsSchema.nullable(),\n has_more: z.boolean().default(false).describe(\"Whether there are more results available.\").nullable().optional(),\n}).describe(\"Response model for listing translations.\");\n\nexport const paperformListTranslations = action(\"PAPERFORM_LIST_TRANSLATIONS\", {\n slug: \"paperform-list-translations\",\n name: \"List Translations\",\n description: \"Tool to list all translations accessible by the authorized user. Use when you need to retrieve available translations from Paperform.\",\n input: PaperformListTranslationsInput,\n output: PaperformListTranslationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qDAAqD,EAAE,OAAO,EAClE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAUtD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,mDAAmD,SAAS;EACrE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const paperformCatalog = {
7
7
  "category": "Forms & Surveys",
8
8
  "logo": "https://logos.composio.dev/api/paperform",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Navigate to your Paperform account and sign in. Go to \"Account Settings\" > \"Developer\" to generate your API key"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.paperformCatalog = paperformCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const paperformCatalog = {\n \"slug\": \"paperform\",\n \"name\": \"Paperform\",\n \"description\": \"Paperform is a flexible online form builder that combines beautiful design with serious digital smarts\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/paperform\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const paperformCatalog = {\n \"slug\": \"paperform\",\n \"name\": \"Paperform\",\n \"description\": \"Paperform is a flexible online form builder that combines beautiful design with serious digital smarts\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/paperform\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Navigate to your Paperform account and sign in. Go to \\\"Account Settings\\\" > \\\"Developer\\\" to generate your API key\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const paperformCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/paperform";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Navigate to your Paperform account and sign in. Go to \"Account Settings\" > \"Developer\" to generate your API key";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { paperformCatalog };
@@ -8,6 +8,14 @@ declare const paperformCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/paperform";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Navigate to your Paperform account and sign in. Go to \"Account Settings\" > \"Developer\" to generate your API key";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { paperformCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const paperformCatalog = {
7
7
  "category": "Forms & Surveys",
8
8
  "logo": "https://logos.composio.dev/api/paperform",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Navigate to your Paperform account and sign in. Go to \"Account Settings\" > \"Developer\" to generate your API key"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { paperformCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const paperformCatalog = {\n \"slug\": \"paperform\",\n \"name\": \"Paperform\",\n \"description\": \"Paperform is a flexible online form builder that combines beautiful design with serious digital smarts\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/paperform\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const paperformCatalog = {\n \"slug\": \"paperform\",\n \"name\": \"Paperform\",\n \"description\": \"Paperform is a flexible online form builder that combines beautiful design with serious digital smarts\",\n \"category\": \"Forms & Surveys\",\n \"logo\": \"https://logos.composio.dev/api/paperform\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Navigate to your Paperform account and sign in. Go to \\\"Account Settings\\\" > \\\"Developer\\\" to generate your API key\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/paperform",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {