@keystrokehq/paperform 0.1.5 → 0.1.6
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-space-forms.cjs +1 -0
- package/dist/actions/get-space-forms.cjs.map +1 -1
- package/dist/actions/get-space-forms.d.cts +3 -15
- package/dist/actions/get-space-forms.d.cts.map +1 -1
- package/dist/actions/get-space-forms.d.mts +3 -15
- package/dist/actions/get-space-forms.d.mts.map +1 -1
- package/dist/actions/get-space-forms.mjs +1 -0
- package/dist/actions/get-space-forms.mjs.map +1 -1
- package/dist/actions/get-space.cjs +1 -0
- package/dist/actions/get-space.cjs.map +1 -1
- package/dist/actions/get-space.d.cts +3 -15
- package/dist/actions/get-space.d.cts.map +1 -1
- package/dist/actions/get-space.d.mts +3 -15
- package/dist/actions/get-space.d.mts.map +1 -1
- package/dist/actions/get-space.mjs +1 -0
- package/dist/actions/get-space.mjs.map +1 -1
- package/dist/actions/list-forms.cjs +1 -0
- package/dist/actions/list-forms.cjs.map +1 -1
- package/dist/actions/list-forms.d.cts +3 -16
- package/dist/actions/list-forms.d.cts.map +1 -1
- package/dist/actions/list-forms.d.mts +3 -16
- package/dist/actions/list-forms.d.mts.map +1 -1
- package/dist/actions/list-forms.mjs +1 -0
- package/dist/actions/list-forms.mjs.map +1 -1
- package/dist/actions/list-spaces.cjs +1 -0
- package/dist/actions/list-spaces.cjs.map +1 -1
- package/dist/actions/list-spaces.d.cts +3 -16
- package/dist/actions/list-spaces.d.cts.map +1 -1
- package/dist/actions/list-spaces.d.mts +3 -16
- package/dist/actions/list-spaces.d.mts.map +1 -1
- package/dist/actions/list-spaces.mjs +1 -0
- package/dist/actions/list-spaces.mjs.map +1 -1
- package/dist/actions/list-translations.cjs +1 -0
- package/dist/actions/list-translations.cjs.map +1 -1
- package/dist/actions/list-translations.d.cts +3 -16
- package/dist/actions/list-translations.d.cts.map +1 -1
- package/dist/actions/list-translations.d.mts +3 -16
- package/dist/actions/list-translations.d.mts.map +1 -1
- package/dist/actions/list-translations.mjs +1 -0
- package/dist/actions/list-translations.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["paperform","executePaperformTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof paperform.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,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"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof paperform.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,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.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}).passthrough().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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-space-forms.cjs","names":["z","action"],"sources":["../../src/actions/get-space-forms.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paperform } from \"../app\";\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}).passthrough().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}).passthrough().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}).passthrough().describe(\"Response model for getting forms in a space.\");\n\nexport const paperformGetSpaceForms: AppAction<\n typeof PaperformGetSpaceFormsInput,\n typeof PaperformGetSpaceFormsOutput,\n typeof paperform.credential\n> = 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":";;;;AAMA,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,OAAO;CACvD,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paperform } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-space-forms.d.ts
|
|
@@ -22,21 +24,7 @@ declare const PaperformGetSpaceFormsOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const paperformGetSpaceForms:
|
|
26
|
-
id: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const paperformGetSpaceForms: AppAction<typeof PaperformGetSpaceFormsInput, typeof PaperformGetSpaceFormsOutput, typeof paperform.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { paperformGetSpaceForms };
|
|
42
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":"
|
|
1
|
+
{"version":3,"file":"get-space-forms.d.cts","names":[],"sources":["../../src/actions/get-space-forms.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paperform } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-space-forms.d.ts
|
|
@@ -22,21 +24,7 @@ declare const PaperformGetSpaceFormsOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const paperformGetSpaceForms:
|
|
26
|
-
id: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const paperformGetSpaceForms: AppAction<typeof PaperformGetSpaceFormsInput, typeof PaperformGetSpaceFormsOutput, typeof paperform.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { paperformGetSpaceForms };
|
|
42
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":"
|
|
1
|
+
{"version":3,"file":"get-space-forms.d.mts","names":[],"sources":["../../src/actions/get-space-forms.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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}).passthrough().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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-space-forms.mjs","names":[],"sources":["../../src/actions/get-space-forms.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paperform } from \"../app\";\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}).passthrough().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}).passthrough().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}).passthrough().describe(\"Response model for getting forms in a space.\");\n\nexport const paperformGetSpaceForms: AppAction<\n typeof PaperformGetSpaceFormsInput,\n typeof PaperformGetSpaceFormsOutput,\n typeof paperform.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,4CAA4C,EAAE,OAAO,EACzD,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAU7D,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB0C,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,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-space.cjs","names":["z","action"],"sources":["../../src/actions/get-space.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paperform } from \"../app\";\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}).passthrough().describe(\"Response model for getting a space by ID.\");\n\nexport const paperformGetSpace: AppAction<\n typeof PaperformGetSpaceInput,\n typeof PaperformGetSpaceOutput,\n typeof paperform.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paperform } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-space.d.ts
|
|
@@ -12,21 +14,7 @@ declare const PaperformGetSpaceOutput: z.ZodObject<{
|
|
|
12
14
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
13
15
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const paperformGetSpace:
|
|
16
|
-
id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const paperformGetSpace: AppAction<typeof PaperformGetSpaceInput, typeof PaperformGetSpaceOutput, typeof paperform.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { paperformGetSpace };
|
|
32
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":"
|
|
1
|
+
{"version":3,"file":"get-space.d.cts","names":[],"sources":["../../src/actions/get-space.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cASvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paperform } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-space.d.ts
|
|
@@ -12,21 +14,7 @@ declare const PaperformGetSpaceOutput: z.ZodObject<{
|
|
|
12
14
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
13
15
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const paperformGetSpace:
|
|
16
|
-
id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const paperformGetSpace: AppAction<typeof PaperformGetSpaceInput, typeof PaperformGetSpaceOutput, typeof paperform.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { paperformGetSpace };
|
|
32
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":"
|
|
1
|
+
{"version":3,"file":"get-space.d.mts","names":[],"sources":["../../src/actions/get-space.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cASvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-space.mjs","names":[],"sources":["../../src/actions/get-space.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paperform } from \"../app\";\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}).passthrough().describe(\"Response model for getting a space by ID.\");\n\nexport const paperformGetSpace: AppAction<\n typeof PaperformGetSpaceInput,\n typeof PaperformGetSpaceOutput,\n typeof paperform.credential\n> = 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":";;;AAkBA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBoC,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,0CAkBH;CACP,QAlBqC,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,YAAY,CAAC,CAAC,SAAS,2CAWhB;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.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}).passthrough().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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-forms.cjs","names":["z","action"],"sources":["../../src/actions/list-forms.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paperform } from \"../app\";\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}).passthrough().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}).passthrough().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}).passthrough().describe(\"Response model for listing forms.\");\n\nexport const paperformListForms: AppAction<\n typeof PaperformListFormsInput,\n typeof PaperformListFormsOutput,\n typeof paperform.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,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,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paperform } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-forms.d.ts
|
|
@@ -23,22 +25,7 @@ declare const PaperformListFormsOutput: z.ZodObject<{
|
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const paperformListForms:
|
|
27
|
-
skip?: number | undefined;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const paperformListForms: AppAction<typeof PaperformListFormsInput, typeof PaperformListFormsOutput, typeof paperform.credential>;
|
|
42
29
|
//#endregion
|
|
43
30
|
export { paperformListForms };
|
|
44
31
|
//# sourceMappingURL=list-forms.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-forms.d.cts","names":[],"sources":["../../src/actions/list-forms.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-forms.d.cts","names":[],"sources":["../../src/actions/list-forms.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paperform } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-forms.d.ts
|
|
@@ -23,22 +25,7 @@ declare const PaperformListFormsOutput: z.ZodObject<{
|
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const paperformListForms:
|
|
27
|
-
skip?: number | undefined;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const paperformListForms: AppAction<typeof PaperformListFormsInput, typeof PaperformListFormsOutput, typeof paperform.credential>;
|
|
42
29
|
//#endregion
|
|
43
30
|
export { paperformListForms };
|
|
44
31
|
//# sourceMappingURL=list-forms.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-forms.d.mts","names":[],"sources":["../../src/actions/list-forms.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-forms.d.mts","names":[],"sources":["../../src/actions/list-forms.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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}).passthrough().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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-forms.mjs","names":[],"sources":["../../src/actions/list-forms.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paperform } from \"../app\";\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}).passthrough().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}).passthrough().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}).passthrough().describe(\"Response model for listing forms.\");\n\nexport const paperformListForms: AppAction<\n typeof PaperformListFormsInput,\n typeof PaperformListFormsOutput,\n typeof paperform.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,wCAAwC,EAAE,OAAO,EACrD,OAAO,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAU5D,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBsC,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,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough().describe(\"Model representing a single space.\");\nconst PaperformListSpaces_SpacesResultsSchema = z.object({\n spaces: z.array(PaperformListSpaces_SpaceSchema).describe(\"List of space objects\"),\n}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-spaces.cjs","names":["z","action"],"sources":["../../src/actions/list-spaces.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paperform } from \"../app\";\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}).passthrough().describe(\"Model representing a single space.\");\nconst PaperformListSpaces_SpacesResultsSchema = z.object({\n spaces: z.array(PaperformListSpaces_SpaceSchema).describe(\"List of space objects\"),\n}).passthrough().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}).passthrough().describe(\"Response model for listing spaces.\");\n\nexport const paperformListSpaces: AppAction<\n typeof PaperformListSpacesInput,\n typeof PaperformListSpacesOutput,\n typeof paperform.credential\n> = 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":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,QAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,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,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paperform } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-spaces.d.ts
|
|
@@ -23,22 +25,7 @@ declare const PaperformListSpacesOutput: z.ZodObject<{
|
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const paperformListSpaces:
|
|
27
|
-
skip?: number | undefined;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const paperformListSpaces: AppAction<typeof PaperformListSpacesInput, typeof PaperformListSpacesOutput, typeof paperform.credential>;
|
|
42
29
|
//#endregion
|
|
43
30
|
export { paperformListSpaces };
|
|
44
31
|
//# sourceMappingURL=list-spaces.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-spaces.d.cts","names":[],"sources":["../../src/actions/list-spaces.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-spaces.d.cts","names":[],"sources":["../../src/actions/list-spaces.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cASzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paperform } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-spaces.d.ts
|
|
@@ -23,22 +25,7 @@ declare const PaperformListSpacesOutput: z.ZodObject<{
|
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const paperformListSpaces:
|
|
27
|
-
skip?: number | undefined;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const paperformListSpaces: AppAction<typeof PaperformListSpacesInput, typeof PaperformListSpacesOutput, typeof paperform.credential>;
|
|
42
29
|
//#endregion
|
|
43
30
|
export { paperformListSpaces };
|
|
44
31
|
//# sourceMappingURL=list-spaces.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-spaces.d.mts","names":[],"sources":["../../src/actions/list-spaces.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-spaces.d.mts","names":[],"sources":["../../src/actions/list-spaces.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cASzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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}).passthrough().describe(\"Model representing a single space.\");\nconst PaperformListSpaces_SpacesResultsSchema = z.object({\n spaces: z.array(PaperformListSpaces_SpaceSchema).describe(\"List of space objects\"),\n}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-spaces.mjs","names":[],"sources":["../../src/actions/list-spaces.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paperform } from \"../app\";\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}).passthrough().describe(\"Model representing a single space.\");\nconst PaperformListSpaces_SpacesResultsSchema = z.object({\n spaces: z.array(PaperformListSpaces_SpaceSchema).describe(\"List of space objects\"),\n}).passthrough().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}).passthrough().describe(\"Response model for listing spaces.\");\n\nexport const paperformListSpaces: AppAction<\n typeof PaperformListSpacesInput,\n typeof PaperformListSpacesOutput,\n typeof paperform.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,0CAA0C,EAAE,OAAO,EACvD,QAAQ,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAU5D,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBuC,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,YAAY,CAAC,CAAC,SAAS,oCAWhB;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.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.record(z.string(), z.unknown())).default([]).describe(\"List of translation objects accessible to the authorized user.\").nullable().optional(),\n}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-translations.cjs","names":["z","action"],"sources":["../../src/actions/list-translations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paperform } from \"../app\";\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.record(z.string(), z.unknown())).default([]).describe(\"List of translation objects accessible to the authorized user.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Response model for listing translations.\");\n\nexport const paperformListTranslations: AppAction<\n typeof PaperformListTranslationsInput,\n typeof PaperformListTranslationsOutput,\n typeof paperform.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,qDAAqDA,IAAAA,EAAE,OAAO,EAClE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paperform } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-translations.d.ts
|
|
@@ -15,22 +17,7 @@ declare const PaperformListTranslationsOutput: z.ZodObject<{
|
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const paperformListTranslations:
|
|
19
|
-
skip?: number | undefined;
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const paperformListTranslations: AppAction<typeof PaperformListTranslationsInput, typeof PaperformListTranslationsOutput, typeof paperform.credential>;
|
|
34
21
|
//#endregion
|
|
35
22
|
export { paperformListTranslations };
|
|
36
23
|
//# sourceMappingURL=list-translations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-translations.d.cts","names":[],"sources":["../../src/actions/list-translations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-translations.d.cts","names":[],"sources":["../../src/actions/list-translations.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paperform } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-translations.d.ts
|
|
@@ -15,22 +17,7 @@ declare const PaperformListTranslationsOutput: z.ZodObject<{
|
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
has_more: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const paperformListTranslations:
|
|
19
|
-
skip?: number | undefined;
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paperform", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const paperformListTranslations: AppAction<typeof PaperformListTranslationsInput, typeof PaperformListTranslationsOutput, typeof paperform.credential>;
|
|
34
21
|
//#endregion
|
|
35
22
|
export { paperformListTranslations };
|
|
36
23
|
//# sourceMappingURL=list-translations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-translations.d.mts","names":[],"sources":["../../src/actions/list-translations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-translations.d.mts","names":[],"sources":["../../src/actions/list-translations.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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.record(z.string(), z.unknown())).default([]).describe(\"List of translation objects accessible to the authorized user.\").nullable().optional(),\n}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-translations.mjs","names":[],"sources":["../../src/actions/list-translations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paperform } from \"../app\";\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.record(z.string(), z.unknown())).default([]).describe(\"List of translation objects accessible to the authorized user.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Response model for listing translations.\");\n\nexport const paperformListTranslations: AppAction<\n typeof PaperformListTranslationsInput,\n typeof PaperformListTranslationsOutput,\n typeof paperform.credential\n> = 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":";;;;AAMA,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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAUpE,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB6C,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,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const paperform = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "paperform",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.paperform = paperform;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const paperform = defineApp({\n slug: \"paperform\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const paperform: KeystrokeApp<\"paperform\", typeof credential> = defineApp({\n slug: \"paperform\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAoE;CAC/E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const paperform: KeystrokeApp<"paperform", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { paperform };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const paperform: KeystrokeApp<"paperform", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { paperform };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const paperform = defineApp({\n slug: \"paperform\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const paperform: KeystrokeApp<\"paperform\", typeof credential> = defineApp({\n slug: \"paperform\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,YAA0D,UAAU;CAC/E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { paperform } from "./app.cjs";
|
|
1
2
|
import { paperformGetSpace } from "./actions/get-space.cjs";
|
|
2
3
|
import { paperformGetSpaceForms } from "./actions/get-space-forms.cjs";
|
|
3
4
|
import { paperformListForms } from "./actions/list-forms.cjs";
|
|
4
5
|
import { paperformListSpaces } from "./actions/list-spaces.cjs";
|
|
5
6
|
import { paperformListTranslations } from "./actions/list-translations.cjs";
|
|
6
|
-
import { paperform } from "./app.cjs";
|
|
7
7
|
import { paperformCatalog } from "./catalog.cjs";
|
|
8
8
|
export { paperform, paperformCatalog, paperformGetSpace, paperformGetSpaceForms, paperformListForms, paperformListSpaces, paperformListTranslations };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { paperform } from "./app.mjs";
|
|
1
2
|
import { paperformGetSpace } from "./actions/get-space.mjs";
|
|
2
3
|
import { paperformGetSpaceForms } from "./actions/get-space-forms.mjs";
|
|
3
4
|
import { paperformListForms } from "./actions/list-forms.mjs";
|
|
4
5
|
import { paperformListSpaces } from "./actions/list-spaces.mjs";
|
|
5
6
|
import { paperformListTranslations } from "./actions/list-translations.mjs";
|
|
6
|
-
import { paperform } from "./app.mjs";
|
|
7
7
|
import { paperformCatalog } from "./catalog.mjs";
|
|
8
8
|
export { paperform, paperformCatalog, paperformGetSpace, paperformGetSpaceForms, paperformListForms, paperformListSpaces, paperformListTranslations };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/paperform",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
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.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|