@keystrokehq/placid 0.1.2 → 0.1.3
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/actions/create-collection.cjs +1 -1
- package/dist/actions/create-collection.cjs.map +1 -1
- package/dist/actions/create-collection.d.cts +1 -1
- package/dist/actions/create-collection.d.mts +1 -1
- package/dist/actions/create-collection.mjs +1 -1
- package/dist/actions/create-collection.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -1
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +1 -1
- package/dist/actions/create-template.d.mts +1 -1
- package/dist/actions/create-template.mjs +1 -1
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/delete-collection.cjs +1 -1
- package/dist/actions/delete-collection.cjs.map +1 -1
- package/dist/actions/delete-collection.d.cts +1 -1
- package/dist/actions/delete-collection.d.mts +1 -1
- package/dist/actions/delete-collection.mjs +1 -1
- package/dist/actions/delete-collection.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -1
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +1 -1
- package/dist/actions/delete-template.d.mts +1 -1
- package/dist/actions/delete-template.mjs +1 -1
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/get-collection.cjs +1 -1
- package/dist/actions/get-collection.cjs.map +1 -1
- package/dist/actions/get-collection.d.cts +1 -1
- package/dist/actions/get-collection.d.mts +1 -1
- package/dist/actions/get-collection.mjs +1 -1
- package/dist/actions/get-collection.mjs.map +1 -1
- package/dist/actions/get-collections.cjs +4 -4
- package/dist/actions/get-collections.cjs.map +1 -1
- package/dist/actions/get-collections.d.cts +4 -4
- package/dist/actions/get-collections.d.mts +4 -4
- package/dist/actions/get-collections.mjs +4 -4
- package/dist/actions/get-collections.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -1
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +1 -1
- package/dist/actions/get-template.d.mts +1 -1
- package/dist/actions/get-template.mjs +1 -1
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/list-nl-templates.cjs +3 -3
- package/dist/actions/list-nl-templates.cjs.map +1 -1
- package/dist/actions/list-nl-templates.d.cts +3 -3
- package/dist/actions/list-nl-templates.d.mts +3 -3
- package/dist/actions/list-nl-templates.mjs +3 -3
- package/dist/actions/list-nl-templates.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +4 -4
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +4 -4
- package/dist/actions/list-templates.d.mts +4 -4
- package/dist/actions/list-templates.mjs +4 -4
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/update-collection.cjs +1 -1
- package/dist/actions/update-collection.cjs.map +1 -1
- package/dist/actions/update-collection.d.cts +1 -1
- package/dist/actions/update-collection.d.mts +1 -1
- package/dist/actions/update-collection.mjs +1 -1
- package/dist/actions/update-collection.mjs.map +1 -1
- package/dist/actions/update-template.cjs +1 -1
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +1 -1
- package/dist/actions/update-template.d.mts +1 -1
- package/dist/actions/update-template.mjs +1 -1
- package/dist/actions/update-template.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ const PlacidCreateCollectionOutput = zod.z.object({
|
|
|
11
11
|
title: zod.z.string().describe("Title of the collection").nullable().optional(),
|
|
12
12
|
custom_data: zod.z.string().describe("Custom reference data for the collection (max 255 chars)").nullable().optional(),
|
|
13
13
|
template_uuids: zod.z.array(zod.z.string()).describe("List of template UUIDs included in the collection").nullable().optional()
|
|
14
|
-
}).describe("Response model for a newly created template collection.");
|
|
14
|
+
}).passthrough().describe("Response model for a newly created template collection.");
|
|
15
15
|
const placidCreateCollection = require_action.action("PLACID_CREATE_COLLECTION", {
|
|
16
16
|
slug: "placid-create-collection",
|
|
17
17
|
name: "Create Collection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-collection.cjs","names":["z","action"],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateCollectionInput = z.object({\n title: z.string().describe(\"Title of the collection (max 255 chars)\"),\n custom_data: z.string().describe(\"Custom data to save and forward (max 255 chars)\").optional(),\n template_uuids: z.array(z.string()).describe(\"Array of template UUIDs to include (limited to 500)\").optional(),\n}).describe(\"Request model for creating a new template collection.\");\nexport const PlacidCreateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable().optional(),\n title: z.string().describe(\"Title of the collection\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection (max 255 chars)\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs included in the collection\").nullable().optional(),\n}).describe(\"Response model for a newly created template collection.\");\n\nexport const placidCreateCollection = action(\"PLACID_CREATE_COLLECTION\", {\n slug: \"placid-create-collection\",\n name: \"Create Collection\",\n description: \"Tool to create a new template collection to group multiple templates. Use when organizing templates into collections with custom metadata.\",\n input: PlacidCreateCollectionInput,\n output: PlacidCreateCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"create-collection.cjs","names":["z","action"],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateCollectionInput = z.object({\n title: z.string().describe(\"Title of the collection (max 255 chars)\"),\n custom_data: z.string().describe(\"Custom data to save and forward (max 255 chars)\").optional(),\n template_uuids: z.array(z.string()).describe(\"Array of template UUIDs to include (limited to 500)\").optional(),\n}).describe(\"Request model for creating a new template collection.\");\nexport const PlacidCreateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable().optional(),\n title: z.string().describe(\"Title of the collection\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection (max 255 chars)\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs included in the collection\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created template collection.\");\n\nexport const placidCreateCollection = action(\"PLACID_CREATE_COLLECTION\", {\n slug: \"placid-create-collection\",\n name: \"Create Collection\",\n description: \"Tool to create a new template collection to group multiple templates. Use when organizing templates into collections with custom metadata.\",\n input: PlacidCreateCollectionInput,\n output: PlacidCreateCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const PlacidCreateCollectionOutput: z.ZodObject<{
|
|
|
11
11
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const placidCreateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
title: string;
|
|
17
17
|
custom_data?: string | undefined;
|
|
@@ -11,7 +11,7 @@ declare const PlacidCreateCollectionOutput: z.ZodObject<{
|
|
|
11
11
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const placidCreateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
title: string;
|
|
17
17
|
custom_data?: string | undefined;
|
|
@@ -14,7 +14,7 @@ const placidCreateCollection = action("PLACID_CREATE_COLLECTION", {
|
|
|
14
14
|
title: z.string().describe("Title of the collection").nullable().optional(),
|
|
15
15
|
custom_data: z.string().describe("Custom reference data for the collection (max 255 chars)").nullable().optional(),
|
|
16
16
|
template_uuids: z.array(z.string()).describe("List of template UUIDs included in the collection").nullable().optional()
|
|
17
|
-
}).describe("Response model for a newly created template collection.")
|
|
17
|
+
}).passthrough().describe("Response model for a newly created template collection.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { placidCreateCollection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-collection.mjs","names":[],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateCollectionInput = z.object({\n title: z.string().describe(\"Title of the collection (max 255 chars)\"),\n custom_data: z.string().describe(\"Custom data to save and forward (max 255 chars)\").optional(),\n template_uuids: z.array(z.string()).describe(\"Array of template UUIDs to include (limited to 500)\").optional(),\n}).describe(\"Request model for creating a new template collection.\");\nexport const PlacidCreateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable().optional(),\n title: z.string().describe(\"Title of the collection\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection (max 255 chars)\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs included in the collection\").nullable().optional(),\n}).describe(\"Response model for a newly created template collection.\");\n\nexport const placidCreateCollection = action(\"PLACID_CREATE_COLLECTION\", {\n slug: \"placid-create-collection\",\n name: \"Create Collection\",\n description: \"Tool to create a new template collection to group multiple templates. Use when organizing templates into collections with custom metadata.\",\n input: PlacidCreateCollectionInput,\n output: PlacidCreateCollectionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,uDAYH;CACP,QAZ0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-collection.mjs","names":[],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateCollectionInput = z.object({\n title: z.string().describe(\"Title of the collection (max 255 chars)\"),\n custom_data: z.string().describe(\"Custom data to save and forward (max 255 chars)\").optional(),\n template_uuids: z.array(z.string()).describe(\"Array of template UUIDs to include (limited to 500)\").optional(),\n}).describe(\"Request model for creating a new template collection.\");\nexport const PlacidCreateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable().optional(),\n title: z.string().describe(\"Title of the collection\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection (max 255 chars)\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs included in the collection\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created template collection.\");\n\nexport const placidCreateCollection = action(\"PLACID_CREATE_COLLECTION\", {\n slug: \"placid-create-collection\",\n name: \"Create Collection\",\n description: \"Tool to create a new template collection to group multiple templates. Use when organizing templates into collections with custom metadata.\",\n input: PlacidCreateCollectionInput,\n output: PlacidCreateCollectionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,uDAYH;CACP,QAZ0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ const PlacidCreateTemplateOutput = zod.z.object({
|
|
|
23
23
|
thumbnail: zod.z.string().describe("URL of the template thumbnail preview (may be null during regeneration).").nullable().optional(),
|
|
24
24
|
collections: zod.z.array(zod.z.string()).describe("Collection UUIDs the template belongs to.").nullable().optional(),
|
|
25
25
|
custom_data: zod.z.unknown().describe("Arbitrary custom data (max 255 chars when serialized).").nullable().optional()
|
|
26
|
-
}).describe("Response model for a newly created Placid template.");
|
|
26
|
+
}).passthrough().describe("Response model for a newly created Placid template.");
|
|
27
27
|
const placidCreateTemplate = require_action.action("PLACID_CREATE_TEMPLATE", {
|
|
28
28
|
slug: "placid-create-template",
|
|
29
29
|
name: "Create Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateTemplateInput = z.object({\n url: z.string().describe(\"Optional URL pointing to a PSD or other template source.\").optional(),\n tags: z.array(z.string()).describe(\"Optional list of tags to organize templates.\").optional(),\n title: z.string().describe(\"Name of the template.\"),\n width: z.number().int().describe(\"Width of the template in pixels (must be >= 10).\"),\n height: z.number().int().describe(\"Height of the template in pixels (must be >= 10).\"),\n custom_data: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"Request model for creating a new Placid template.\");\nconst PlacidCreateTemplate_LayerSchema = z.object({\n name: z.string().describe(\"Layer name/identifier.\").nullable(),\n type: z.string().describe(\"Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).\").nullable(),\n}).passthrough().describe(\"Represents a layer within a template.\");\nexport const PlacidCreateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template.\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID).\").nullable(),\n title: z.string().describe(\"Template title.\").nullable(),\n width: z.number().int().describe(\"Template width in pixels.\").nullable(),\n height: z.number().int().describe(\"Template height in pixels.\").nullable(),\n layers: z.array(PlacidCreateTemplate_LayerSchema).describe(\"Array of template layers.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration).\").nullable().optional(),\n collections: z.array(z.string()).describe(\"Collection UUIDs the template belongs to.\").nullable().optional(),\n custom_data: z.unknown().describe(\"Arbitrary custom data (max 255 chars when serialized).\").nullable().optional(),\n}).describe(\"Response model for a newly created Placid template.\");\n\nexport const placidCreateTemplate = action(\"PLACID_CREATE_TEMPLATE\", {\n slug: \"placid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new Placid template. Use when you need a template with specific dimensions and optional tags or custom metadata. Example: \\\"Create a social-media banner.\\\"\",\n input: PlacidCreateTemplateInput,\n output: PlacidCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACrF,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,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qDAAqD;
|
|
1
|
+
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateTemplateInput = z.object({\n url: z.string().describe(\"Optional URL pointing to a PSD or other template source.\").optional(),\n tags: z.array(z.string()).describe(\"Optional list of tags to organize templates.\").optional(),\n title: z.string().describe(\"Name of the template.\"),\n width: z.number().int().describe(\"Width of the template in pixels (must be >= 10).\"),\n height: z.number().int().describe(\"Height of the template in pixels (must be >= 10).\"),\n custom_data: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"Request model for creating a new Placid template.\");\nconst PlacidCreateTemplate_LayerSchema = z.object({\n name: z.string().describe(\"Layer name/identifier.\").nullable(),\n type: z.string().describe(\"Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).\").nullable(),\n}).passthrough().describe(\"Represents a layer within a template.\");\nexport const PlacidCreateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template.\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID).\").nullable(),\n title: z.string().describe(\"Template title.\").nullable(),\n width: z.number().int().describe(\"Template width in pixels.\").nullable(),\n height: z.number().int().describe(\"Template height in pixels.\").nullable(),\n layers: z.array(PlacidCreateTemplate_LayerSchema).describe(\"Array of template layers.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration).\").nullable().optional(),\n collections: z.array(z.string()).describe(\"Collection UUIDs the template belongs to.\").nullable().optional(),\n custom_data: z.unknown().describe(\"Arbitrary custom data (max 255 chars when serialized).\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created Placid template.\");\n\nexport const placidCreateTemplate = action(\"PLACID_CREATE_TEMPLATE\", {\n slug: \"placid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new Placid template. Use when you need a template with specific dimensions and optional tags or custom metadata. Example: \\\"Create a social-media banner.\\\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AAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const PlacidCreateTemplateOutput: z.ZodObject<{
|
|
|
22
22
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
24
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const placidCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
title: string;
|
|
28
28
|
width: number;
|
|
@@ -22,7 +22,7 @@ declare const PlacidCreateTemplateOutput: z.ZodObject<{
|
|
|
22
22
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
24
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const placidCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
title: string;
|
|
28
28
|
width: number;
|
|
@@ -28,7 +28,7 @@ const placidCreateTemplate = action("PLACID_CREATE_TEMPLATE", {
|
|
|
28
28
|
thumbnail: z.string().describe("URL of the template thumbnail preview (may be null during regeneration).").nullable().optional(),
|
|
29
29
|
collections: z.array(z.string()).describe("Collection UUIDs the template belongs to.").nullable().optional(),
|
|
30
30
|
custom_data: z.unknown().describe("Arbitrary custom data (max 255 chars when serialized).").nullable().optional()
|
|
31
|
-
}).describe("Response model for a newly created Placid template.")
|
|
31
|
+
}).passthrough().describe("Response model for a newly created Placid template.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { placidCreateTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateTemplateInput = z.object({\n url: z.string().describe(\"Optional URL pointing to a PSD or other template source.\").optional(),\n tags: z.array(z.string()).describe(\"Optional list of tags to organize templates.\").optional(),\n title: z.string().describe(\"Name of the template.\"),\n width: z.number().int().describe(\"Width of the template in pixels (must be >= 10).\"),\n height: z.number().int().describe(\"Height of the template in pixels (must be >= 10).\"),\n custom_data: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"Request model for creating a new Placid template.\");\nconst PlacidCreateTemplate_LayerSchema = z.object({\n name: z.string().describe(\"Layer name/identifier.\").nullable(),\n type: z.string().describe(\"Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).\").nullable(),\n}).passthrough().describe(\"Represents a layer within a template.\");\nexport const PlacidCreateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template.\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID).\").nullable(),\n title: z.string().describe(\"Template title.\").nullable(),\n width: z.number().int().describe(\"Template width in pixels.\").nullable(),\n height: z.number().int().describe(\"Template height in pixels.\").nullable(),\n layers: z.array(PlacidCreateTemplate_LayerSchema).describe(\"Array of template layers.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration).\").nullable().optional(),\n collections: z.array(z.string()).describe(\"Collection UUIDs the template belongs to.\").nullable().optional(),\n custom_data: z.unknown().describe(\"Arbitrary custom data (max 255 chars when serialized).\").nullable().optional(),\n}).describe(\"Response model for a newly created Placid template.\");\n\nexport const placidCreateTemplate = action(\"PLACID_CREATE_TEMPLATE\", {\n slug: \"placid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new Placid template. Use when you need a template with specific dimensions and optional tags or custom metadata. Example: \\\"Create a social-media banner.\\\"\",\n input: PlacidCreateTemplateInput,\n output: PlacidCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACrF,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG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AAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateTemplateInput = z.object({\n url: z.string().describe(\"Optional URL pointing to a PSD or other template source.\").optional(),\n tags: z.array(z.string()).describe(\"Optional list of tags to organize templates.\").optional(),\n title: z.string().describe(\"Name of the template.\"),\n width: z.number().int().describe(\"Width of the template in pixels (must be >= 10).\"),\n height: z.number().int().describe(\"Height of the template in pixels (must be >= 10).\"),\n custom_data: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"Request model for creating a new Placid template.\");\nconst PlacidCreateTemplate_LayerSchema = z.object({\n name: z.string().describe(\"Layer name/identifier.\").nullable(),\n type: z.string().describe(\"Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).\").nullable(),\n}).passthrough().describe(\"Represents a layer within a template.\");\nexport const PlacidCreateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template.\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID).\").nullable(),\n title: z.string().describe(\"Template title.\").nullable(),\n width: z.number().int().describe(\"Template width in pixels.\").nullable(),\n height: z.number().int().describe(\"Template height in pixels.\").nullable(),\n layers: z.array(PlacidCreateTemplate_LayerSchema).describe(\"Array of template layers.\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration).\").nullable().optional(),\n collections: z.array(z.string()).describe(\"Collection UUIDs the template belongs to.\").nullable().optional(),\n custom_data: z.unknown().describe(\"Arbitrary custom data (max 255 chars when serialized).\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created Placid template.\");\n\nexport const placidCreateTemplate = action(\"PLACID_CREATE_TEMPLATE\", {\n slug: \"placid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new Placid template. Use when you need a template with specific dimensions and optional tags or custom metadata. Example: \\\"Create a social-media banner.\\\"\",\n input: PlacidCreateTemplateInput,\n output: PlacidCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACrF,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAajE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PlacidDeleteCollectionInput = zod.z.object({ collection_id: zod.z.string()
|
|
|
5
5
|
const PlacidDeleteCollectionOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Additional info or error message, if any").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates if deletion was successful").nullable().optional()
|
|
8
|
-
}).describe("Response schema for collection deletion.");
|
|
8
|
+
}).passthrough().describe("Response schema for collection deletion.");
|
|
9
9
|
const placidDeleteCollection = require_action.action("PLACID_DELETE_COLLECTION", {
|
|
10
10
|
slug: "placid-delete-collection",
|
|
11
11
|
name: "Delete Collection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-collection.cjs","names":["z","action"],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID\"),\n}).describe(\"Request parameters for deleting a specific template collection.\");\nexport const PlacidDeleteCollectionOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable().optional(),\n}).describe(\"Response schema for collection deletion.\");\n\nexport const placidDeleteCollection = action(\"PLACID_DELETE_COLLECTION\", {\n slug: \"placid-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to delete a template collection by its ID. Use after confirming the collection is no longer needed. Note: This does not delete the templates within the collection.\",\n input: PlacidDeleteCollectionInput,\n output: PlacidDeleteCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"delete-collection.cjs","names":["z","action"],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID\"),\n}).describe(\"Request parameters for deleting a specific template collection.\");\nexport const PlacidDeleteCollectionOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema for collection deletion.\");\n\nexport const placidDeleteCollection = action(\"PLACID_DELETE_COLLECTION\", {\n slug: \"placid-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to delete a template collection by its ID. Use after confirming the collection is no longer needed. Note: This does not delete the templates within the collection.\",\n input: PlacidDeleteCollectionInput,\n output: PlacidDeleteCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PlacidDeleteCollectionInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlacidDeleteCollectionOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const placidDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
collection_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const PlacidDeleteCollectionInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlacidDeleteCollectionOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const placidDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
collection_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const placidDeleteCollection = action("PLACID_DELETE_COLLECTION", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Additional info or error message, if any").nullable().optional(),
|
|
10
10
|
success: z.boolean().describe("Indicates if deletion was successful").nullable().optional()
|
|
11
|
-
}).describe("Response schema for collection deletion.")
|
|
11
|
+
}).passthrough().describe("Response schema for collection deletion.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { placidDeleteCollection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-collection.mjs","names":[],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID\"),\n}).describe(\"Request parameters for deleting a specific template collection.\");\nexport const PlacidDeleteCollectionOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable().optional(),\n}).describe(\"Response schema for collection deletion.\");\n\nexport const placidDeleteCollection = action(\"PLACID_DELETE_COLLECTION\", {\n slug: \"placid-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to delete a template collection by its ID. Use after confirming the collection is no longer needed. Note: This does not delete the templates within the collection.\",\n input: PlacidDeleteCollectionInput,\n output: PlacidDeleteCollectionOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-collection.mjs","names":[],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID\"),\n}).describe(\"Request parameters for deleting a specific template collection.\");\nexport const PlacidDeleteCollectionOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema for collection deletion.\");\n\nexport const placidDeleteCollection = action(\"PLACID_DELETE_COLLECTION\", {\n slug: \"placid-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to delete a template collection by its ID. Use after confirming the collection is no longer needed. Note: This does not delete the templates within the collection.\",\n input: PlacidDeleteCollectionInput,\n output: PlacidDeleteCollectionOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PlacidDeleteTemplateInput = zod.z.object({ template_uuid: zod.z.string().d
|
|
|
5
5
|
const PlacidDeleteTemplateOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Additional info or error message, if any").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates if deletion was successful").nullable()
|
|
8
|
-
}).describe("Response schema for template deletion.");
|
|
8
|
+
}).passthrough().describe("Response schema for template deletion.");
|
|
9
9
|
const placidDeleteTemplate = require_action.action("PLACID_DELETE_TEMPLATE", {
|
|
10
10
|
slug: "placid-delete-template",
|
|
11
11
|
name: "Delete Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteTemplateInput = z.object({\n template_uuid: z.string().describe(\"UUID of the template to delete\"),\n}).describe(\"Request parameters for deleting a specific template.\");\nexport const PlacidDeleteTemplateOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable(),\n}).describe(\"Response schema for template deletion.\");\n\nexport const placidDeleteTemplate = action(\"PLACID_DELETE_TEMPLATE\", {\n slug: \"placid-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to delete a specific template identified by UUID. Use after confirming the template is no longer needed.\",\n input: PlacidDeleteTemplateInput,\n output: PlacidDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"delete-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteTemplateInput = z.object({\n template_uuid: z.string().describe(\"UUID of the template to delete\"),\n}).describe(\"Request parameters for deleting a specific template.\");\nexport const PlacidDeleteTemplateOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable(),\n}).passthrough().describe(\"Response schema for template deletion.\");\n\nexport const placidDeleteTemplate = action(\"PLACID_DELETE_TEMPLATE\", {\n slug: \"placid-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to delete a specific template identified by UUID. Use after confirming the template is no longer needed.\",\n input: PlacidDeleteTemplateInput,\n output: PlacidDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PlacidDeleteTemplateInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlacidDeleteTemplateOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const placidDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
template_uuid: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const PlacidDeleteTemplateInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlacidDeleteTemplateOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const placidDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
template_uuid: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const placidDeleteTemplate = action("PLACID_DELETE_TEMPLATE", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Additional info or error message, if any").nullable().optional(),
|
|
10
10
|
success: z.boolean().describe("Indicates if deletion was successful").nullable()
|
|
11
|
-
}).describe("Response schema for template deletion.")
|
|
11
|
+
}).passthrough().describe("Response schema for template deletion.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { placidDeleteTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteTemplateInput = z.object({\n template_uuid: z.string().describe(\"UUID of the template to delete\"),\n}).describe(\"Request parameters for deleting a specific template.\");\nexport const PlacidDeleteTemplateOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable(),\n}).describe(\"Response schema for template deletion.\");\n\nexport const placidDeleteTemplate = action(\"PLACID_DELETE_TEMPLATE\", {\n slug: \"placid-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to delete a specific template identified by UUID. Use after confirming the template is no longer needed.\",\n input: PlacidDeleteTemplateInput,\n output: PlacidDeleteTemplateOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteTemplateInput = z.object({\n template_uuid: z.string().describe(\"UUID of the template to delete\"),\n}).describe(\"Request parameters for deleting a specific template.\");\nexport const PlacidDeleteTemplateOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable(),\n}).passthrough().describe(\"Response schema for template deletion.\");\n\nexport const placidDeleteTemplate = action(\"PLACID_DELETE_TEMPLATE\", {\n slug: \"placid-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to delete a specific template identified by UUID. Use after confirming the template is no longer needed.\",\n input: PlacidDeleteTemplateInput,\n output: PlacidDeleteTemplateOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const PlacidGetCollectionOutput = zod.z.object({
|
|
|
7
7
|
title: zod.z.string().describe("Title of the collection").nullable(),
|
|
8
8
|
custom_data: zod.z.string().describe("Custom reference data for the collection").nullable().optional(),
|
|
9
9
|
template_uuids: zod.z.array(zod.z.string()).describe("List of template UUIDs associated with this collection").nullable().optional()
|
|
10
|
-
}).describe("Response model containing a single collection's details.");
|
|
10
|
+
}).passthrough().describe("Response model containing a single collection's details.");
|
|
11
11
|
const placidGetCollection = require_action.action("PLACID_GET_COLLECTION", {
|
|
12
12
|
slug: "placid-get-collection",
|
|
13
13
|
name: "Get Collection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID (UUID format) to retrieve\"),\n}).describe(\"Request model for retrieving a single collection by ID.\");\nexport const PlacidGetCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs associated with this collection\").nullable().optional(),\n}).describe(\"Response model containing a single collection's details.\");\n\nexport const placidGetCollection = action(\"PLACID_GET_COLLECTION\", {\n slug: \"placid-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve a single collection by its ID. Use when you need details about a specific collection including its title, custom data, and associated template UUIDs.\",\n input: PlacidGetCollectionInput,\n output: PlacidGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"get-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID (UUID format) to retrieve\"),\n}).describe(\"Request model for retrieving a single collection by ID.\");\nexport const PlacidGetCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs associated with this collection\").nullable().optional(),\n}).passthrough().describe(\"Response model containing a single collection's details.\");\n\nexport const placidGetCollection = action(\"PLACID_GET_COLLECTION\", {\n slug: \"placid-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve a single collection by its ID. Use when you need details about a specific collection including its title, custom data, and associated template UUIDs.\",\n input: PlacidGetCollectionInput,\n output: PlacidGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const PlacidGetCollectionOutput: z.ZodObject<{
|
|
|
9
9
|
title: z.ZodNullable<z.ZodString>;
|
|
10
10
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const placidGetCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
collection_id: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ declare const PlacidGetCollectionOutput: z.ZodObject<{
|
|
|
9
9
|
title: z.ZodNullable<z.ZodString>;
|
|
10
10
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const placidGetCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
collection_id: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,7 +10,7 @@ const placidGetCollection = action("PLACID_GET_COLLECTION", {
|
|
|
10
10
|
title: z.string().describe("Title of the collection").nullable(),
|
|
11
11
|
custom_data: z.string().describe("Custom reference data for the collection").nullable().optional(),
|
|
12
12
|
template_uuids: z.array(z.string()).describe("List of template UUIDs associated with this collection").nullable().optional()
|
|
13
|
-
}).describe("Response model containing a single collection's details.")
|
|
13
|
+
}).passthrough().describe("Response model containing a single collection's details.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { placidGetCollection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collection.mjs","names":[],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID (UUID format) to retrieve\"),\n}).describe(\"Request model for retrieving a single collection by ID.\");\nexport const PlacidGetCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs associated with this collection\").nullable().optional(),\n}).describe(\"Response model containing a single collection's details.\");\n\nexport const placidGetCollection = action(\"PLACID_GET_COLLECTION\", {\n slug: \"placid-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve a single collection by its ID. Use when you need details about a specific collection including its title, custom data, and associated template UUIDs.\",\n input: PlacidGetCollectionInput,\n output: PlacidGetCollectionOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO,EAC/C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,yDAYH;CACP,QAZuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-collection.mjs","names":[],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID (UUID format) to retrieve\"),\n}).describe(\"Request model for retrieving a single collection by ID.\");\nexport const PlacidGetCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs associated with this collection\").nullable().optional(),\n}).passthrough().describe(\"Response model containing a single collection's details.\");\n\nexport const placidGetCollection = action(\"PLACID_GET_COLLECTION\", {\n slug: \"placid-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve a single collection by its ID. Use when you need details about a specific collection including its title, custom data, and associated template UUIDs.\",\n input: PlacidGetCollectionInput,\n output: PlacidGetCollectionOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO,EAC/C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,yDAYH;CACP,QAZuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -10,22 +10,22 @@ const PlacidGetCollections_CollectionSchema = zod.z.object({
|
|
|
10
10
|
title: zod.z.string().describe("Title of the collection").nullable(),
|
|
11
11
|
templates: zod.z.array(zod.z.unknown()).describe("List of templates associated with this collection (max 500)").nullable().optional(),
|
|
12
12
|
custom_data: zod.z.string().describe("Custom reference data for the collection").nullable().optional()
|
|
13
|
-
}).describe("Representation of a single Placid template collection.");
|
|
13
|
+
}).passthrough().describe("Representation of a single Placid template collection.");
|
|
14
14
|
const PlacidGetCollections_MetaSchema = zod.z.object({
|
|
15
15
|
path: zod.z.string().describe("API endpoint path").nullable().optional(),
|
|
16
16
|
per_page: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional()
|
|
17
|
-
}).describe("Pagination metadata for collections listing.");
|
|
17
|
+
}).passthrough().describe("Pagination metadata for collections listing.");
|
|
18
18
|
const PlacidGetCollections_LinksSchema = zod.z.object({
|
|
19
19
|
last: zod.z.string().describe("URL to the last page").nullable().optional(),
|
|
20
20
|
next: zod.z.string().describe("URL to the next page").nullable().optional(),
|
|
21
21
|
prev: zod.z.string().describe("URL to the previous page").nullable().optional(),
|
|
22
22
|
first: zod.z.string().describe("URL to the first page").nullable().optional()
|
|
23
|
-
}).describe("Pagination links for cursor-based navigation.");
|
|
23
|
+
}).passthrough().describe("Pagination links for cursor-based navigation.");
|
|
24
24
|
const PlacidGetCollectionsOutput = zod.z.object({
|
|
25
25
|
data: zod.z.array(PlacidGetCollections_CollectionSchema).describe("List of template collections").nullable().optional(),
|
|
26
26
|
meta: PlacidGetCollections_MetaSchema.nullable().optional(),
|
|
27
27
|
links: PlacidGetCollections_LinksSchema.nullable().optional()
|
|
28
|
-
}).describe("Response model containing a list of collections and pagination metadata.");
|
|
28
|
+
}).passthrough().describe("Response model containing a list of collections and pagination metadata.");
|
|
29
29
|
const placidGetCollections = require_action.action("PLACID_GET_COLLECTIONS", {
|
|
30
30
|
slug: "placid-get-collections",
|
|
31
31
|
name: "Get Collections",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collections.cjs","names":["z","action"],"sources":["../../src/actions/get-collections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionsInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n per_page: z.number().int().describe(\"Number of collections per page (1-100). Server default is 20 if not specified.\").optional(),\n}).describe(\"Request model for retrieving template collections with optional pagination.\");\nconst PlacidGetCollections_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n templates: z.array(z.unknown()).describe(\"List of templates associated with this collection (max 500)\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n}).describe(\"Representation of a single Placid template collection.\");\nconst PlacidGetCollections_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).describe(\"Pagination metadata for collections listing.\");\nconst PlacidGetCollections_LinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidGetCollectionsOutput = z.object({\n data: z.array(PlacidGetCollections_CollectionSchema).describe(\"List of template collections\").nullable().optional(),\n meta: PlacidGetCollections_MetaSchema.nullable().optional(),\n links: PlacidGetCollections_LinksSchema.nullable().optional(),\n}).describe(\"Response model containing a list of collections and pagination metadata.\");\n\nexport const placidGetCollections = action(\"PLACID_GET_COLLECTIONS\", {\n slug: \"placid-get-collections\",\n name: \"Get Collections\",\n description: \"Tool to retrieve a list of all template collections. Use after authentication to paginate through your Placid collections.\",\n input: PlacidGetCollectionsInput,\n output: PlacidGetCollectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-collections.cjs","names":["z","action"],"sources":["../../src/actions/get-collections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionsInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n per_page: z.number().int().describe(\"Number of collections per page (1-100). Server default is 20 if not specified.\").optional(),\n}).describe(\"Request model for retrieving template collections with optional pagination.\");\nconst PlacidGetCollections_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n templates: z.array(z.unknown()).describe(\"List of templates associated with this collection (max 500)\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template collection.\");\nconst PlacidGetCollections_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for collections listing.\");\nconst PlacidGetCollections_LinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidGetCollectionsOutput = z.object({\n data: z.array(PlacidGetCollections_CollectionSchema).describe(\"List of template collections\").nullable().optional(),\n meta: PlacidGetCollections_MetaSchema.nullable().optional(),\n links: PlacidGetCollections_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of collections and pagination metadata.\");\n\nexport const placidGetCollections = action(\"PLACID_GET_COLLECTIONS\", {\n slug: \"placid-get-collections\",\n name: \"Get Collections\",\n description: \"Tool to retrieve a list of all template collections. Use after authentication to paginate through your Placid collections.\",\n input: PlacidGetCollectionsInput,\n output: PlacidGetCollectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,wCAAwCA,IAAAA,EAA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YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC1D,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,18 +11,18 @@ declare const PlacidGetCollectionsOutput: z.ZodObject<{
|
|
|
11
11
|
title: z.ZodNullable<z.ZodString>;
|
|
12
12
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
13
13
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const placidGetCollections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
cursor?: string | undefined;
|
|
28
28
|
per_page?: number | undefined;
|
|
@@ -11,18 +11,18 @@ declare const PlacidGetCollectionsOutput: z.ZodObject<{
|
|
|
11
11
|
title: z.ZodNullable<z.ZodString>;
|
|
12
12
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
13
13
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const placidGetCollections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
cursor?: string | undefined;
|
|
28
28
|
per_page?: number | undefined;
|
|
@@ -10,17 +10,17 @@ const PlacidGetCollections_CollectionSchema = z.object({
|
|
|
10
10
|
title: z.string().describe("Title of the collection").nullable(),
|
|
11
11
|
templates: z.array(z.unknown()).describe("List of templates associated with this collection (max 500)").nullable().optional(),
|
|
12
12
|
custom_data: z.string().describe("Custom reference data for the collection").nullable().optional()
|
|
13
|
-
}).describe("Representation of a single Placid template collection.");
|
|
13
|
+
}).passthrough().describe("Representation of a single Placid template collection.");
|
|
14
14
|
const PlacidGetCollections_MetaSchema = z.object({
|
|
15
15
|
path: z.string().describe("API endpoint path").nullable().optional(),
|
|
16
16
|
per_page: z.union([z.number().int(), z.string()]).nullable().optional()
|
|
17
|
-
}).describe("Pagination metadata for collections listing.");
|
|
17
|
+
}).passthrough().describe("Pagination metadata for collections listing.");
|
|
18
18
|
const PlacidGetCollections_LinksSchema = z.object({
|
|
19
19
|
last: z.string().describe("URL to the last page").nullable().optional(),
|
|
20
20
|
next: z.string().describe("URL to the next page").nullable().optional(),
|
|
21
21
|
prev: z.string().describe("URL to the previous page").nullable().optional(),
|
|
22
22
|
first: z.string().describe("URL to the first page").nullable().optional()
|
|
23
|
-
}).describe("Pagination links for cursor-based navigation.");
|
|
23
|
+
}).passthrough().describe("Pagination links for cursor-based navigation.");
|
|
24
24
|
const placidGetCollections = action("PLACID_GET_COLLECTIONS", {
|
|
25
25
|
slug: "placid-get-collections",
|
|
26
26
|
name: "Get Collections",
|
|
@@ -30,7 +30,7 @@ const placidGetCollections = action("PLACID_GET_COLLECTIONS", {
|
|
|
30
30
|
data: z.array(PlacidGetCollections_CollectionSchema).describe("List of template collections").nullable().optional(),
|
|
31
31
|
meta: PlacidGetCollections_MetaSchema.nullable().optional(),
|
|
32
32
|
links: PlacidGetCollections_LinksSchema.nullable().optional()
|
|
33
|
-
}).describe("Response model containing a list of collections and pagination metadata.")
|
|
33
|
+
}).passthrough().describe("Response model containing a list of collections and pagination metadata.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { placidGetCollections };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collections.mjs","names":[],"sources":["../../src/actions/get-collections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionsInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n per_page: z.number().int().describe(\"Number of collections per page (1-100). Server default is 20 if not specified.\").optional(),\n}).describe(\"Request model for retrieving template collections with optional pagination.\");\nconst PlacidGetCollections_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n templates: z.array(z.unknown()).describe(\"List of templates associated with this collection (max 500)\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n}).describe(\"Representation of a single Placid template collection.\");\nconst PlacidGetCollections_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).describe(\"Pagination metadata for collections listing.\");\nconst PlacidGetCollections_LinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidGetCollectionsOutput = z.object({\n data: z.array(PlacidGetCollections_CollectionSchema).describe(\"List of template collections\").nullable().optional(),\n meta: PlacidGetCollections_MetaSchema.nullable().optional(),\n links: PlacidGetCollections_LinksSchema.nullable().optional(),\n}).describe(\"Response model containing a list of collections and pagination metadata.\");\n\nexport const placidGetCollections = action(\"PLACID_GET_COLLECTIONS\", {\n slug: \"placid-get-collections\",\n name: \"Get Collections\",\n description: \"Tool to retrieve a list of all template collections. Use after authentication to paginate through your Placid collections.\",\n input: PlacidGetCollectionsInput,\n output: PlacidGetCollectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-collections.mjs","names":[],"sources":["../../src/actions/get-collections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionsInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n per_page: z.number().int().describe(\"Number of collections per page (1-100). Server default is 20 if not specified.\").optional(),\n}).describe(\"Request model for retrieving template collections with optional pagination.\");\nconst PlacidGetCollections_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n templates: z.array(z.unknown()).describe(\"List of templates associated with this collection (max 500)\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template collection.\");\nconst PlacidGetCollections_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for collections listing.\");\nconst PlacidGetCollections_LinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidGetCollectionsOutput = z.object({\n data: z.array(PlacidGetCollections_CollectionSchema).describe(\"List of template collections\").nullable().optional(),\n meta: PlacidGetCollections_MetaSchema.nullable().optional(),\n links: PlacidGetCollections_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of collections and pagination metadata.\");\n\nexport const placidGetCollections = action(\"PLACID_GET_COLLECTIONS\", {\n slug: \"placid-get-collections\",\n name: \"Get Collections\",\n description: \"Tool to retrieve a list of all template collections. Use after authentication to paginate through your Placid collections.\",\n input: PlacidGetCollectionsInput,\n output: PlacidGetCollectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD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describe("Array of template layers").nullable().optional(),
|
|
10
10
|
thumbnail: zod.z.string().describe("URL of the template thumbnail preview (may be null during regeneration)").nullable().optional()
|
|
11
|
-
}).describe("Response schema for a Placid template.");
|
|
11
|
+
}).passthrough().describe("Response schema for a Placid template.");
|
|
12
12
|
const placidGetTemplate = require_action.action("PLACID_GET_TEMPLATE", {
|
|
13
13
|
slug: "placid-get-template",
|
|
14
14
|
name: "Get Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template.cjs","names":["z","action"],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetTemplateInput = z.object({\n template_uuid: z.string().describe(\"Unique template UUID to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific template.\");\nexport const PlacidGetTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration)\").nullable().optional(),\n}).describe(\"Response schema for a Placid template.\");\n\nexport const placidGetTemplate = action(\"PLACID_GET_TEMPLATE\", {\n slug: \"placid-get-template\",\n name: \"Get Template\",\n description: \"Tool to retrieve a template by UUID. Returns template details including title, thumbnail, tags, and layers.\",\n input: PlacidGetTemplateInput,\n output: PlacidGetTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACvE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-template.cjs","names":["z","action"],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetTemplateInput = z.object({\n template_uuid: z.string().describe(\"Unique template UUID to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific template.\");\nexport const PlacidGetTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a Placid template.\");\n\nexport const placidGetTemplate = action(\"PLACID_GET_TEMPLATE\", {\n slug: \"placid-get-template\",\n name: \"Get Template\",\n description: \"Tool to retrieve a template by UUID. Returns template details including title, thumbnail, tags, and layers.\",\n input: PlacidGetTemplateInput,\n output: PlacidGetTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACvE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const PlacidGetTemplateOutput: z.ZodObject<{
|
|
|
10
10
|
title: z.ZodNullable<z.ZodString>;
|
|
11
11
|
layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
12
12
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const placidGetTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
template_uuid: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,7 +10,7 @@ declare const PlacidGetTemplateOutput: z.ZodObject<{
|
|
|
10
10
|
title: z.ZodNullable<z.ZodString>;
|
|
11
11
|
layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
12
12
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const placidGetTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
template_uuid: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ const placidGetTemplate = action("PLACID_GET_TEMPLATE", {
|
|
|
11
11
|
title: z.string().describe("Template title").nullable(),
|
|
12
12
|
layers: z.array(z.unknown()).describe("Array of template layers").nullable().optional(),
|
|
13
13
|
thumbnail: z.string().describe("URL of the template thumbnail preview (may be null during regeneration)").nullable().optional()
|
|
14
|
-
}).describe("Response schema for a Placid template.")
|
|
14
|
+
}).passthrough().describe("Response schema for a Placid template.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { placidGetTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template.mjs","names":[],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetTemplateInput = z.object({\n template_uuid: z.string().describe(\"Unique template UUID to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific template.\");\nexport const PlacidGetTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration)\").nullable().optional(),\n}).describe(\"Response schema for a Placid template.\");\n\nexport const placidGetTemplate = action(\"PLACID_GET_TEMPLATE\", {\n slug: \"placid-get-template\",\n name: \"Get Template\",\n description: \"Tool to retrieve a template by UUID. Returns template details including title, thumbnail, tags, and layers.\",\n input: PlacidGetTemplateInput,\n output: PlacidGetTemplateOutput,\n});\n"],"mappings":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO,EAC7C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACvE,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbqC,EAAE,OAAO;EAC9C,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-template.mjs","names":[],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetTemplateInput = z.object({\n template_uuid: z.string().describe(\"Unique template UUID to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific template.\");\nexport const PlacidGetTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a Placid template.\");\n\nexport const placidGetTemplate = action(\"PLACID_GET_TEMPLATE\", {\n slug: \"placid-get-template\",\n name: \"Get Template\",\n description: \"Tool to retrieve a template by UUID. Returns template details including title, thumbnail, tags, and layers.\",\n input: PlacidGetTemplateInput,\n output: PlacidGetTemplateOutput,\n});\n"],"mappings":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO,EAC7C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACvE,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbqC,EAAE,OAAO;EAC9C,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -5,13 +5,13 @@ const PlacidListNlTemplatesInput = zod.z.object({}).describe("Request model for
|
|
|
5
5
|
const PlacidListNlTemplates_TemplateLayerSchema = zod.z.object({
|
|
6
6
|
name: zod.z.string().describe("Layer identifier name").nullable(),
|
|
7
7
|
type: zod.z.enum(["picture", "text"]).describe("Type of layer - either 'picture' for image/video layers or 'text' for text layers").nullable()
|
|
8
|
-
}).describe("Represents a single layer within a template that can be modified.");
|
|
8
|
+
}).passthrough().describe("Represents a single layer within a template that can be modified.");
|
|
9
9
|
const PlacidListNlTemplates_TemplateSchema = zod.z.object({
|
|
10
10
|
uuid: zod.z.string().describe("Unique template identifier (UUID) used to identify the template across all templates").nullable(),
|
|
11
11
|
title: zod.z.string().describe("User-defined name of the template").nullable(),
|
|
12
12
|
layers: zod.z.array(PlacidListNlTemplates_TemplateLayerSchema).describe("List of dynamic layers that can be modified with text or images").nullable().optional()
|
|
13
|
-
}).describe("Represents a Placid template with layers that can be filled via text and/or image URLs.");
|
|
14
|
-
const PlacidListNlTemplatesOutput = zod.z.object({ data: zod.z.array(PlacidListNlTemplates_TemplateSchema).describe("Array of available Placid templates").nullable().optional() }).describe("Response model containing list of available templates via Natural Language API.");
|
|
13
|
+
}).passthrough().describe("Represents a Placid template with layers that can be filled via text and/or image URLs.");
|
|
14
|
+
const PlacidListNlTemplatesOutput = zod.z.object({ data: zod.z.array(PlacidListNlTemplates_TemplateSchema).describe("Array of available Placid templates").nullable().optional() }).passthrough().describe("Response model containing list of available templates via Natural Language API.");
|
|
15
15
|
const placidListNlTemplates = require_action.action("PLACID_LIST_NL_TEMPLATES", {
|
|
16
16
|
slug: "placid-list-nl-templates",
|
|
17
17
|
name: "List NL Templates",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-nl-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-nl-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListNlTemplatesInput = z.object({}).describe(\"Request model for listing all available templates via Natural Language API.\");\nconst PlacidListNlTemplates_TemplateLayerSchema = z.object({\n name: z.string().describe(\"Layer identifier name\").nullable(),\n type: z.enum([\"picture\", \"text\"]).describe(\"Type of layer - either 'picture' for image/video layers or 'text' for text layers\").nullable(),\n}).describe(\"Represents a single layer within a template that can be modified.\");\nconst PlacidListNlTemplates_TemplateSchema = z.object({\n uuid: z.string().describe(\"Unique template identifier (UUID) used to identify the template across all templates\").nullable(),\n title: z.string().describe(\"User-defined name of the template\").nullable(),\n layers: z.array(PlacidListNlTemplates_TemplateLayerSchema).describe(\"List of dynamic layers that can be modified with text or images\").nullable().optional(),\n}).describe(\"Represents a Placid template with layers that can be filled via text and/or image URLs.\");\nexport const PlacidListNlTemplatesOutput = z.object({\n data: z.array(PlacidListNlTemplates_TemplateSchema).describe(\"Array of available Placid templates\").nullable().optional(),\n}).describe(\"Response model containing list of available templates via Natural Language API.\");\n\nexport const placidListNlTemplates = action(\"PLACID_LIST_NL_TEMPLATES\", {\n slug: \"placid-list-nl-templates\",\n name: \"List NL Templates\",\n description: \"Tool to list all available templates via the Natural Language API. Use when you need to discover available templates for generating images.\",\n input: PlacidListNlTemplatesInput,\n output: PlacidListNlTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC7I,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,MAAM,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,mEAAmE;
|
|
1
|
+
{"version":3,"file":"list-nl-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-nl-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListNlTemplatesInput = z.object({}).describe(\"Request model for listing all available templates via Natural Language API.\");\nconst PlacidListNlTemplates_TemplateLayerSchema = z.object({\n name: z.string().describe(\"Layer identifier name\").nullable(),\n type: z.enum([\"picture\", \"text\"]).describe(\"Type of layer - either 'picture' for image/video layers or 'text' for text layers\").nullable(),\n}).passthrough().describe(\"Represents a single layer within a template that can be modified.\");\nconst PlacidListNlTemplates_TemplateSchema = z.object({\n uuid: z.string().describe(\"Unique template identifier (UUID) used to identify the template across all templates\").nullable(),\n title: z.string().describe(\"User-defined name of the template\").nullable(),\n layers: z.array(PlacidListNlTemplates_TemplateLayerSchema).describe(\"List of dynamic layers that can be modified with text or images\").nullable().optional(),\n}).passthrough().describe(\"Represents a Placid template with layers that can be filled via text and/or image URLs.\");\nexport const PlacidListNlTemplatesOutput = z.object({\n data: z.array(PlacidListNlTemplates_TemplateSchema).describe(\"Array of available Placid templates\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of available templates via Natural Language API.\");\n\nexport const placidListNlTemplates = action(\"PLACID_LIST_NL_TEMPLATES\", {\n slug: \"placid-list-nl-templates\",\n name: \"List NL Templates\",\n description: \"Tool to list all available templates via the Natural Language API. Use when you need to discover available templates for generating images.\",\n input: PlacidListNlTemplatesInput,\n output: PlacidListNlTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC7I,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,MAAM,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAAyF;AACnH,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAAiF;AAE3G,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,9 +12,9 @@ declare const PlacidListNlTemplatesOutput: z.ZodObject<{
|
|
|
12
12
|
picture: "picture";
|
|
13
13
|
text: "text";
|
|
14
14
|
}>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const placidListNlTemplates: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { placidListNlTemplates };
|
|
@@ -12,9 +12,9 @@ declare const PlacidListNlTemplatesOutput: z.ZodObject<{
|
|
|
12
12
|
picture: "picture";
|
|
13
13
|
text: "text";
|
|
14
14
|
}>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const placidListNlTemplates: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { placidListNlTemplates };
|
|
@@ -5,18 +5,18 @@ const PlacidListNlTemplatesInput = z.object({}).describe("Request model for list
|
|
|
5
5
|
const PlacidListNlTemplates_TemplateLayerSchema = z.object({
|
|
6
6
|
name: z.string().describe("Layer identifier name").nullable(),
|
|
7
7
|
type: z.enum(["picture", "text"]).describe("Type of layer - either 'picture' for image/video layers or 'text' for text layers").nullable()
|
|
8
|
-
}).describe("Represents a single layer within a template that can be modified.");
|
|
8
|
+
}).passthrough().describe("Represents a single layer within a template that can be modified.");
|
|
9
9
|
const PlacidListNlTemplates_TemplateSchema = z.object({
|
|
10
10
|
uuid: z.string().describe("Unique template identifier (UUID) used to identify the template across all templates").nullable(),
|
|
11
11
|
title: z.string().describe("User-defined name of the template").nullable(),
|
|
12
12
|
layers: z.array(PlacidListNlTemplates_TemplateLayerSchema).describe("List of dynamic layers that can be modified with text or images").nullable().optional()
|
|
13
|
-
}).describe("Represents a Placid template with layers that can be filled via text and/or image URLs.");
|
|
13
|
+
}).passthrough().describe("Represents a Placid template with layers that can be filled via text and/or image URLs.");
|
|
14
14
|
const placidListNlTemplates = action("PLACID_LIST_NL_TEMPLATES", {
|
|
15
15
|
slug: "placid-list-nl-templates",
|
|
16
16
|
name: "List NL Templates",
|
|
17
17
|
description: "Tool to list all available templates via the Natural Language API. Use when you need to discover available templates for generating images.",
|
|
18
18
|
input: PlacidListNlTemplatesInput,
|
|
19
|
-
output: z.object({ data: z.array(PlacidListNlTemplates_TemplateSchema).describe("Array of available Placid templates").nullable().optional() }).describe("Response model containing list of available templates via Natural Language API.")
|
|
19
|
+
output: z.object({ data: z.array(PlacidListNlTemplates_TemplateSchema).describe("Array of available Placid templates").nullable().optional() }).passthrough().describe("Response model containing list of available templates via Natural Language API.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { placidListNlTemplates };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-nl-templates.mjs","names":[],"sources":["../../src/actions/list-nl-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListNlTemplatesInput = z.object({}).describe(\"Request model for listing all available templates via Natural Language API.\");\nconst PlacidListNlTemplates_TemplateLayerSchema = z.object({\n name: z.string().describe(\"Layer identifier name\").nullable(),\n type: z.enum([\"picture\", \"text\"]).describe(\"Type of layer - either 'picture' for image/video layers or 'text' for text layers\").nullable(),\n}).describe(\"Represents a single layer within a template that can be modified.\");\nconst PlacidListNlTemplates_TemplateSchema = z.object({\n uuid: z.string().describe(\"Unique template identifier (UUID) used to identify the template across all templates\").nullable(),\n title: z.string().describe(\"User-defined name of the template\").nullable(),\n layers: z.array(PlacidListNlTemplates_TemplateLayerSchema).describe(\"List of dynamic layers that can be modified with text or images\").nullable().optional(),\n}).describe(\"Represents a Placid template with layers that can be filled via text and/or image URLs.\");\nexport const PlacidListNlTemplatesOutput = z.object({\n data: z.array(PlacidListNlTemplates_TemplateSchema).describe(\"Array of available Placid templates\").nullable().optional(),\n}).describe(\"Response model containing list of available templates via Natural Language API.\");\n\nexport const placidListNlTemplates = action(\"PLACID_LIST_NL_TEMPLATES\", {\n slug: \"placid-list-nl-templates\",\n name: \"List NL Templates\",\n description: \"Tool to list all available templates via the Natural Language API. Use when you need to discover available templates for generating images.\",\n input: PlacidListNlTemplatesInput,\n output: PlacidListNlTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC7I,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,KAAK,CAAC,WAAW,MAAM,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,mEAAmE;
|
|
1
|
+
{"version":3,"file":"list-nl-templates.mjs","names":[],"sources":["../../src/actions/list-nl-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListNlTemplatesInput = z.object({}).describe(\"Request model for listing all available templates via Natural Language API.\");\nconst PlacidListNlTemplates_TemplateLayerSchema = z.object({\n name: z.string().describe(\"Layer identifier name\").nullable(),\n type: z.enum([\"picture\", \"text\"]).describe(\"Type of layer - either 'picture' for image/video layers or 'text' for text layers\").nullable(),\n}).passthrough().describe(\"Represents a single layer within a template that can be modified.\");\nconst PlacidListNlTemplates_TemplateSchema = z.object({\n uuid: z.string().describe(\"Unique template identifier (UUID) used to identify the template across all templates\").nullable(),\n title: z.string().describe(\"User-defined name of the template\").nullable(),\n layers: z.array(PlacidListNlTemplates_TemplateLayerSchema).describe(\"List of dynamic layers that can be modified with text or images\").nullable().optional(),\n}).passthrough().describe(\"Represents a Placid template with layers that can be filled via text and/or image URLs.\");\nexport const PlacidListNlTemplatesOutput = z.object({\n data: z.array(PlacidListNlTemplates_TemplateSchema).describe(\"Array of available Placid templates\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of available templates via Natural Language API.\");\n\nexport const placidListNlTemplates = action(\"PLACID_LIST_NL_TEMPLATES\", {\n slug: \"placid-list-nl-templates\",\n name: \"List NL Templates\",\n description: \"Tool to list all available templates via the Natural Language API. Use when you need to discover available templates for generating images.\",\n input: PlacidListNlTemplatesInput,\n output: PlacidListNlTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC7I,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,KAAK,CAAC,WAAW,MAAM,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAAyF;AAKnH,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAOhB;AACV,CAAC"}
|
|
@@ -13,20 +13,20 @@ const PlacidListTemplates_TemplateSchema = zod.z.object({
|
|
|
13
13
|
title: zod.z.string().describe("Title of the template").nullable(),
|
|
14
14
|
layers: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of layers in the template").nullable().optional(),
|
|
15
15
|
thumbnail: zod.z.string().describe("URL of the template thumbnail preview").nullable().optional()
|
|
16
|
-
}).describe("Representation of a single Placid template.");
|
|
16
|
+
}).passthrough().describe("Representation of a single Placid template.");
|
|
17
17
|
const PlacidListTemplates_MetaSchema = zod.z.object({
|
|
18
18
|
path: zod.z.string().describe("API endpoint path").nullable().optional(),
|
|
19
19
|
per_page: zod.z.number().int().describe("Number of templates per page").nullable().optional()
|
|
20
|
-
}).describe("Pagination metadata for templates listing.");
|
|
20
|
+
}).passthrough().describe("Pagination metadata for templates listing.");
|
|
21
21
|
const PlacidListTemplates_LinksSchema = zod.z.object({
|
|
22
22
|
next: zod.z.string().describe("URL to the next page").nullable().optional(),
|
|
23
23
|
prev: zod.z.string().describe("URL to the previous page").nullable().optional()
|
|
24
|
-
}).describe("Pagination links for cursor-based navigation.");
|
|
24
|
+
}).passthrough().describe("Pagination links for cursor-based navigation.");
|
|
25
25
|
const PlacidListTemplatesOutput = zod.z.object({
|
|
26
26
|
data: zod.z.array(PlacidListTemplates_TemplateSchema).describe("List of templates").nullable().optional(),
|
|
27
27
|
meta: PlacidListTemplates_MetaSchema.nullable().optional(),
|
|
28
28
|
links: PlacidListTemplates_LinksSchema.nullable().optional()
|
|
29
|
-
}).describe("Response model containing a list of templates and pagination metadata.");
|
|
29
|
+
}).passthrough().describe("Response model containing a list of templates and pagination metadata.");
|
|
30
30
|
const placidListTemplates = require_action.action("PLACID_LIST_TEMPLATES", {
|
|
31
31
|
slug: "placid-list-templates",
|
|
32
32
|
name: "List Templates",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListTemplatesInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n order_by: z.string().describe(\"Sort templates. Format: <field>-<direction>. Fields: created_at, updated_at, title. Directions: asc, desc\").optional(),\n title_filter: z.string().describe(\"Filter templates by title\").optional(),\n collection_id: z.string().describe(\"Filter templates by collection UUID\").optional(),\n}).describe(\"Request model for retrieving templates with optional filtering and pagination.\");\nconst PlacidListTemplates_TemplateSchema = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the template (UUID)\").nullable(),\n title: z.string().describe(\"Title of the template\").nullable(),\n layers: z.array(z.record(z.string(), z.unknown())).describe(\"List of layers in the template\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n}).describe(\"Representation of a single Placid template.\");\nconst PlacidListTemplates_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of templates per page\").nullable().optional(),\n}).describe(\"Pagination metadata for templates listing.\");\nconst PlacidListTemplates_LinksSchema = z.object({\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n}).describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidListTemplatesOutput = z.object({\n data: z.array(PlacidListTemplates_TemplateSchema).describe(\"List of templates\").nullable().optional(),\n meta: PlacidListTemplates_MetaSchema.nullable().optional(),\n links: PlacidListTemplates_LinksSchema.nullable().optional(),\n}).describe(\"Response model containing a list of templates and pagination metadata.\");\n\nexport const placidListTemplates = action(\"PLACID_LIST_TEMPLATES\", {\n slug: \"placid-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from your project. Returns 20 items per page with cursor pagination. Use to browse templates, optionally filtered by collection or title.\",\n input: PlacidListTemplatesInput,\n output: PlacidListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListTemplatesInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n order_by: z.string().describe(\"Sort templates. Format: <field>-<direction>. Fields: created_at, updated_at, title. Directions: asc, desc\").optional(),\n title_filter: z.string().describe(\"Filter templates by title\").optional(),\n collection_id: z.string().describe(\"Filter templates by collection UUID\").optional(),\n}).describe(\"Request model for retrieving templates with optional filtering and pagination.\");\nconst PlacidListTemplates_TemplateSchema = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the template (UUID)\").nullable(),\n title: z.string().describe(\"Title of the template\").nullable(),\n layers: z.array(z.record(z.string(), z.unknown())).describe(\"List of layers in the template\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template.\");\nconst PlacidListTemplates_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of templates per page\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for templates listing.\");\nconst PlacidListTemplates_LinksSchema = z.object({\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidListTemplatesOutput = z.object({\n data: z.array(PlacidListTemplates_TemplateSchema).describe(\"List of templates\").nullable().optional(),\n meta: PlacidListTemplates_MetaSchema.nullable().optional(),\n links: PlacidListTemplates_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of templates and pagination metadata.\");\n\nexport const placidListTemplates = action(\"PLACID_LIST_TEMPLATES\", {\n slug: \"placid-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from your project. Returns 20 items per page with cursor pagination. Use to browse templates, optionally filtered by collection or title.\",\n input: PlacidListTemplatesInput,\n output: PlacidListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CA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AAC,SAAS;CACpG,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;CACzD,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,16 +14,16 @@ declare const PlacidListTemplatesOutput: z.ZodObject<{
|
|
|
14
14
|
title: z.ZodNullable<z.ZodString>;
|
|
15
15
|
layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
16
16
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
19
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
23
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
26
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const placidListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
cursor?: string | undefined;
|
|
29
29
|
order_by?: string | undefined;
|
|
@@ -14,16 +14,16 @@ declare const PlacidListTemplatesOutput: z.ZodObject<{
|
|
|
14
14
|
title: z.ZodNullable<z.ZodString>;
|
|
15
15
|
layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
16
16
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
19
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
23
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
26
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const placidListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
cursor?: string | undefined;
|
|
29
29
|
order_by?: string | undefined;
|
|
@@ -13,15 +13,15 @@ const PlacidListTemplates_TemplateSchema = z.object({
|
|
|
13
13
|
title: z.string().describe("Title of the template").nullable(),
|
|
14
14
|
layers: z.array(z.record(z.string(), z.unknown())).describe("List of layers in the template").nullable().optional(),
|
|
15
15
|
thumbnail: z.string().describe("URL of the template thumbnail preview").nullable().optional()
|
|
16
|
-
}).describe("Representation of a single Placid template.");
|
|
16
|
+
}).passthrough().describe("Representation of a single Placid template.");
|
|
17
17
|
const PlacidListTemplates_MetaSchema = z.object({
|
|
18
18
|
path: z.string().describe("API endpoint path").nullable().optional(),
|
|
19
19
|
per_page: z.number().int().describe("Number of templates per page").nullable().optional()
|
|
20
|
-
}).describe("Pagination metadata for templates listing.");
|
|
20
|
+
}).passthrough().describe("Pagination metadata for templates listing.");
|
|
21
21
|
const PlacidListTemplates_LinksSchema = z.object({
|
|
22
22
|
next: z.string().describe("URL to the next page").nullable().optional(),
|
|
23
23
|
prev: z.string().describe("URL to the previous page").nullable().optional()
|
|
24
|
-
}).describe("Pagination links for cursor-based navigation.");
|
|
24
|
+
}).passthrough().describe("Pagination links for cursor-based navigation.");
|
|
25
25
|
const placidListTemplates = action("PLACID_LIST_TEMPLATES", {
|
|
26
26
|
slug: "placid-list-templates",
|
|
27
27
|
name: "List Templates",
|
|
@@ -31,7 +31,7 @@ const placidListTemplates = action("PLACID_LIST_TEMPLATES", {
|
|
|
31
31
|
data: z.array(PlacidListTemplates_TemplateSchema).describe("List of templates").nullable().optional(),
|
|
32
32
|
meta: PlacidListTemplates_MetaSchema.nullable().optional(),
|
|
33
33
|
links: PlacidListTemplates_LinksSchema.nullable().optional()
|
|
34
|
-
}).describe("Response model containing a list of templates and pagination metadata.")
|
|
34
|
+
}).passthrough().describe("Response model containing a list of templates and pagination metadata.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { placidListTemplates };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListTemplatesInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n order_by: z.string().describe(\"Sort templates. Format: <field>-<direction>. Fields: created_at, updated_at, title. Directions: asc, desc\").optional(),\n title_filter: z.string().describe(\"Filter templates by title\").optional(),\n collection_id: z.string().describe(\"Filter templates by collection UUID\").optional(),\n}).describe(\"Request model for retrieving templates with optional filtering and pagination.\");\nconst PlacidListTemplates_TemplateSchema = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the template (UUID)\").nullable(),\n title: z.string().describe(\"Title of the template\").nullable(),\n layers: z.array(z.record(z.string(), z.unknown())).describe(\"List of layers in the template\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n}).describe(\"Representation of a single Placid template.\");\nconst PlacidListTemplates_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of templates per page\").nullable().optional(),\n}).describe(\"Pagination metadata for templates listing.\");\nconst PlacidListTemplates_LinksSchema = z.object({\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n}).describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidListTemplatesOutput = z.object({\n data: z.array(PlacidListTemplates_TemplateSchema).describe(\"List of templates\").nullable().optional(),\n meta: PlacidListTemplates_MetaSchema.nullable().optional(),\n links: PlacidListTemplates_LinksSchema.nullable().optional(),\n}).describe(\"Response model containing a list of templates and pagination metadata.\");\n\nexport const placidListTemplates = action(\"PLACID_LIST_TEMPLATES\", {\n slug: \"placid-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from your project. Returns 20 items per page with cursor pagination. Use to browse templates, optionally filtered by collection or title.\",\n input: PlacidListTemplatesInput,\n output: PlacidListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListTemplatesInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n order_by: z.string().describe(\"Sort templates. Format: <field>-<direction>. Fields: created_at, updated_at, title. Directions: asc, desc\").optional(),\n title_filter: z.string().describe(\"Filter templates by title\").optional(),\n collection_id: z.string().describe(\"Filter templates by collection UUID\").optional(),\n}).describe(\"Request model for retrieving templates with optional filtering and pagination.\");\nconst PlacidListTemplates_TemplateSchema = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the template (UUID)\").nullable(),\n title: z.string().describe(\"Title of the template\").nullable(),\n layers: z.array(z.record(z.string(), z.unknown())).describe(\"List of layers in the template\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template.\");\nconst PlacidListTemplates_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of templates per page\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for templates listing.\");\nconst PlacidListTemplates_LinksSchema = z.object({\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidListTemplatesOutput = z.object({\n data: z.array(PlacidListTemplates_TemplateSchema).describe(\"List of templates\").nullable().optional(),\n meta: PlacidListTemplates_MetaSchema.nullable().optional(),\n links: PlacidListTemplates_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of templates and pagination metadata.\");\n\nexport const placidListTemplates = action(\"PLACID_LIST_TEMPLATES\", {\n slug: \"placid-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from your project. Returns 20 items per page with cursor pagination. Use to browse templates, optionally filtered by collection or title.\",\n input: PlacidListTemplatesInput,\n output: PlacidListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,MAAM,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
14
|
title: zod.z.string().describe("Title of the collection").nullable(),
|
|
15
15
|
custom_data: zod.z.string().describe("Custom reference data for the collection").nullable().optional(),
|
|
16
16
|
template_uuids: zod.z.array(zod.z.string()).describe("List of template UUIDs in the collection (max 500)").nullable().optional()
|
|
17
|
-
}).describe("Response model for the updated collection.");
|
|
17
|
+
}).passthrough().describe("Response model for the updated collection.");
|
|
18
18
|
const placidUpdateCollection = require_action.action("PLACID_UPDATE_COLLECTION", {
|
|
19
19
|
slug: "placid-update-collection",
|
|
20
20
|
name: "Update Collection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-collection.cjs","names":["z","action"],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateCollectionInput = z.object({\n title: z.string().describe(\"New title of the collection (max 255 characters)\").optional(),\n custom_data: z.string().describe(\"Custom reference data to save and forward with the collection (max 1024 characters)\").optional(),\n collection_id: z.string().describe(\"Unique collection ID to update\"),\n template_uuids: z.array(z.string()).describe(\"Replace entire list of template UUIDs in the collection (limited to 500 templates). Mutually exclusive with add_template_uuids and remove_template_uuids.\").optional(),\n add_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to add to the collection. Cannot be used with template_uuids.\").optional(),\n remove_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to remove from the collection. Cannot be used with template_uuids.\").optional(),\n}).describe(\"Request model for updating an existing template collection.\");\nexport const PlacidUpdateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs in the collection (max 500)\").nullable().optional(),\n}).describe(\"Response model for the updated collection.\");\n\nexport const placidUpdateCollection = action(\"PLACID_UPDATE_COLLECTION\", {\n slug: \"placid-update-collection\",\n name: \"Update Collection\",\n description: \"Tool to update an existing template collection. Use to modify title, custom_data, or manage templates (replace all, or incrementally add/remove specific templates).\",\n input: PlacidUpdateCollectionInput,\n output: PlacidUpdateCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACjI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACnE,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACnN,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClJ,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"update-collection.cjs","names":["z","action"],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateCollectionInput = z.object({\n title: z.string().describe(\"New title of the collection (max 255 characters)\").optional(),\n custom_data: z.string().describe(\"Custom reference data to save and forward with the collection (max 1024 characters)\").optional(),\n collection_id: z.string().describe(\"Unique collection ID to update\"),\n template_uuids: z.array(z.string()).describe(\"Replace entire list of template UUIDs in the collection (limited to 500 templates). Mutually exclusive with add_template_uuids and remove_template_uuids.\").optional(),\n add_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to add to the collection. Cannot be used with template_uuids.\").optional(),\n remove_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to remove from the collection. Cannot be used with template_uuids.\").optional(),\n}).describe(\"Request model for updating an existing template collection.\");\nexport const PlacidUpdateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs in the collection (max 500)\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated collection.\");\n\nexport const placidUpdateCollection = action(\"PLACID_UPDATE_COLLECTION\", {\n slug: \"placid-update-collection\",\n name: \"Update Collection\",\n description: \"Tool to update an existing template collection. Use to modify title, custom_data, or manage templates (replace all, or incrementally add/remove specific templates).\",\n input: PlacidUpdateCollectionInput,\n output: PlacidUpdateCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACjI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACnE,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACnN,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClJ,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ declare const PlacidUpdateCollectionOutput: z.ZodObject<{
|
|
|
14
14
|
title: z.ZodNullable<z.ZodString>;
|
|
15
15
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const placidUpdateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
collection_id: string;
|
|
20
20
|
title?: string | undefined;
|
|
@@ -14,7 +14,7 @@ declare const PlacidUpdateCollectionOutput: z.ZodObject<{
|
|
|
14
14
|
title: z.ZodNullable<z.ZodString>;
|
|
15
15
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const placidUpdateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
collection_id: string;
|
|
20
20
|
title?: string | undefined;
|
|
@@ -17,7 +17,7 @@ const placidUpdateCollection = action("PLACID_UPDATE_COLLECTION", {
|
|
|
17
17
|
title: z.string().describe("Title of the collection").nullable(),
|
|
18
18
|
custom_data: z.string().describe("Custom reference data for the collection").nullable().optional(),
|
|
19
19
|
template_uuids: z.array(z.string()).describe("List of template UUIDs in the collection (max 500)").nullable().optional()
|
|
20
|
-
}).describe("Response model for the updated collection.")
|
|
20
|
+
}).passthrough().describe("Response model for the updated collection.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { placidUpdateCollection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-collection.mjs","names":[],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateCollectionInput = z.object({\n title: z.string().describe(\"New title of the collection (max 255 characters)\").optional(),\n custom_data: z.string().describe(\"Custom reference data to save and forward with the collection (max 1024 characters)\").optional(),\n collection_id: z.string().describe(\"Unique collection ID to update\"),\n template_uuids: z.array(z.string()).describe(\"Replace entire list of template UUIDs in the collection (limited to 500 templates). Mutually exclusive with add_template_uuids and remove_template_uuids.\").optional(),\n add_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to add to the collection. Cannot be used with template_uuids.\").optional(),\n remove_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to remove from the collection. Cannot be used with template_uuids.\").optional(),\n}).describe(\"Request model for updating an existing template collection.\");\nexport const PlacidUpdateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs in the collection (max 500)\").nullable().optional(),\n}).describe(\"Response model for the updated collection.\");\n\nexport const placidUpdateCollection = action(\"PLACID_UPDATE_COLLECTION\", {\n slug: \"placid-update-collection\",\n name: \"Update Collection\",\n description: \"Tool to update an existing template collection. Use to modify title, custom_data, or manage templates (replace all, or incrementally add/remove specific templates).\",\n input: PlacidUpdateCollectionInput,\n output: PlacidUpdateCollectionOutput,\n});\n"],"mappings":";;AAmBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EACjI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACnE,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;EACnN,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAClJ,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,6DAYH;CACP,QAZ0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-collection.mjs","names":[],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateCollectionInput = z.object({\n title: z.string().describe(\"New title of the collection (max 255 characters)\").optional(),\n custom_data: z.string().describe(\"Custom reference data to save and forward with the collection (max 1024 characters)\").optional(),\n collection_id: z.string().describe(\"Unique collection ID to update\"),\n template_uuids: z.array(z.string()).describe(\"Replace entire list of template UUIDs in the collection (limited to 500 templates). Mutually exclusive with add_template_uuids and remove_template_uuids.\").optional(),\n add_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to add to the collection. Cannot be used with template_uuids.\").optional(),\n remove_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to remove from the collection. Cannot be used with template_uuids.\").optional(),\n}).describe(\"Request model for updating an existing template collection.\");\nexport const PlacidUpdateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs in the collection (max 500)\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated collection.\");\n\nexport const placidUpdateCollection = action(\"PLACID_UPDATE_COLLECTION\", {\n slug: \"placid-update-collection\",\n name: \"Update Collection\",\n description: \"Tool to update an existing template collection. Use to modify title, custom_data, or manage templates (replace all, or incrementally add/remove specific templates).\",\n input: PlacidUpdateCollectionInput,\n output: PlacidUpdateCollectionOutput,\n});\n"],"mappings":";;AAmBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EACjI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACnE,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;EACnN,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAClJ,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,6DAYH;CACP,QAZ0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ const PlacidUpdateTemplateOutput = zod.z.object({
|
|
|
17
17
|
thumbnail: zod.z.string().describe("URL of the template thumbnail preview").nullable().optional(),
|
|
18
18
|
collections: zod.z.array(zod.z.unknown()).describe("List of collections the template belongs to").nullable().optional(),
|
|
19
19
|
custom_data: zod.z.string().describe("Custom reference data attached to the template").nullable().optional()
|
|
20
|
-
}).describe("Response model for an updated Placid template.");
|
|
20
|
+
}).passthrough().describe("Response model for an updated Placid template.");
|
|
21
21
|
const placidUpdateTemplate = require_action.action("PLACID_UPDATE_TEMPLATE", {
|
|
22
22
|
slug: "placid-update-template",
|
|
23
23
|
name: "Update Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-template.cjs","names":["z","action"],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateTemplateInput = z.object({\n tags: z.array(z.string()).describe(\"Array of tags to assign to the template\").optional(),\n title: z.string().describe(\"Updated title of the template\").optional(),\n custom_data: z.string().describe(\"Custom reference data for the template\").optional(),\n template_uuid: z.string().describe(\"Unique template UUID to update\"),\n}).describe(\"Request model for updating an existing Placid template.\");\nexport const PlacidUpdateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n width: z.number().int().describe(\"Template width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Template height in pixels\").nullable().optional(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n collections: z.array(z.unknown()).describe(\"List of collections the template belongs to\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data attached to the template\").nullable().optional(),\n}).describe(\"Response model for an updated Placid template.\");\n\nexport const placidUpdateTemplate = action(\"PLACID_UPDATE_TEMPLATE\", {\n slug: \"placid-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.\",\n input: PlacidUpdateTemplateInput,\n output: PlacidUpdateTemplateOutput,\n});\n"],"mappings":";;;AAIA,M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A6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"update-template.cjs","names":["z","action"],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateTemplateInput = z.object({\n tags: z.array(z.string()).describe(\"Array of tags to assign to the template\").optional(),\n title: z.string().describe(\"Updated title of the template\").optional(),\n custom_data: z.string().describe(\"Custom reference data for the template\").optional(),\n template_uuid: z.string().describe(\"Unique template UUID to update\"),\n}).describe(\"Request model for updating an existing Placid template.\");\nexport const PlacidUpdateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n width: z.number().int().describe(\"Template width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Template height in pixels\").nullable().optional(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n collections: z.array(z.unknown()).describe(\"List of collections the template belongs to\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data attached to the template\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated Placid template.\");\n\nexport const placidUpdateTemplate = action(\"PLACID_UPDATE_TEMPLATE\", {\n slug: \"placid-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.\",\n input: PlacidUpdateTemplateInput,\n output: PlacidUpdateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,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SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const PlacidUpdateTemplateOutput: z.ZodObject<{
|
|
|
17
17
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
19
19
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const placidUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
template_uuid: string;
|
|
23
23
|
tags?: string[] | undefined;
|
|
@@ -17,7 +17,7 @@ declare const PlacidUpdateTemplateOutput: z.ZodObject<{
|
|
|
17
17
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
19
19
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const placidUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
template_uuid: string;
|
|
23
23
|
tags?: string[] | undefined;
|
|
@@ -20,7 +20,7 @@ const placidUpdateTemplate = action("PLACID_UPDATE_TEMPLATE", {
|
|
|
20
20
|
thumbnail: z.string().describe("URL of the template thumbnail preview").nullable().optional(),
|
|
21
21
|
collections: z.array(z.unknown()).describe("List of collections the template belongs to").nullable().optional(),
|
|
22
22
|
custom_data: z.string().describe("Custom reference data attached to the template").nullable().optional()
|
|
23
|
-
}).describe("Response model for an updated Placid template.")
|
|
23
|
+
}).passthrough().describe("Response model for an updated Placid template.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { placidUpdateTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-template.mjs","names":[],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateTemplateInput = z.object({\n tags: z.array(z.string()).describe(\"Array of tags to assign to the template\").optional(),\n title: z.string().describe(\"Updated title of the template\").optional(),\n custom_data: z.string().describe(\"Custom reference data for the template\").optional(),\n template_uuid: z.string().describe(\"Unique template UUID to update\"),\n}).describe(\"Request model for updating an existing Placid template.\");\nexport const PlacidUpdateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n width: z.number().int().describe(\"Template width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Template height in pixels\").nullable().optional(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n collections: z.array(z.unknown()).describe(\"List of collections the template belongs to\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data attached to the template\").nullable().optional(),\n}).describe(\"Response model for an updated Placid template.\");\n\nexport const placidUpdateTemplate = action(\"PLACID_UPDATE_TEMPLATE\", {\n slug: \"placid-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.\",\n input: PlacidUpdateTemplateInput,\n output: PlacidUpdateTemplateOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,EAAE,O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update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateTemplateInput = z.object({\n tags: z.array(z.string()).describe(\"Array of tags to assign to the template\").optional(),\n title: z.string().describe(\"Updated title of the template\").optional(),\n custom_data: z.string().describe(\"Custom reference data for the template\").optional(),\n template_uuid: z.string().describe(\"Unique template UUID to update\"),\n}).describe(\"Request model for updating an existing Placid template.\");\nexport const PlacidUpdateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n width: z.number().int().describe(\"Template width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Template height in pixels\").nullable().optional(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n collections: z.array(z.unknown()).describe(\"List of collections the template belongs to\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data attached to the template\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated Placid template.\");\n\nexport const placidUpdateTemplate = action(\"PLACID_UPDATE_TEMPLATE\", {\n slug: \"placid-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.\",\n input: PlacidUpdateTemplateInput,\n output: PlacidUpdateTemplateOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,eAAe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