@keystrokehq/placid 0.1.0 → 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.
Files changed (97) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-collection.cjs +1 -1
  4. package/dist/actions/create-collection.cjs.map +1 -1
  5. package/dist/actions/create-collection.d.cts +16 -3
  6. package/dist/actions/create-collection.d.cts.map +1 -1
  7. package/dist/actions/create-collection.d.mts +16 -3
  8. package/dist/actions/create-collection.d.mts.map +1 -1
  9. package/dist/actions/create-collection.mjs +1 -1
  10. package/dist/actions/create-collection.mjs.map +1 -1
  11. package/dist/actions/create-template.cjs +7 -7
  12. package/dist/actions/create-template.cjs.map +1 -1
  13. package/dist/actions/create-template.d.cts +30 -3
  14. package/dist/actions/create-template.d.cts.map +1 -1
  15. package/dist/actions/create-template.d.mts +30 -3
  16. package/dist/actions/create-template.d.mts.map +1 -1
  17. package/dist/actions/create-template.mjs +7 -7
  18. package/dist/actions/create-template.mjs.map +1 -1
  19. package/dist/actions/delete-collection.cjs +1 -1
  20. package/dist/actions/delete-collection.cjs.map +1 -1
  21. package/dist/actions/delete-collection.d.cts +10 -3
  22. package/dist/actions/delete-collection.d.cts.map +1 -1
  23. package/dist/actions/delete-collection.d.mts +10 -3
  24. package/dist/actions/delete-collection.d.mts.map +1 -1
  25. package/dist/actions/delete-collection.mjs +1 -1
  26. package/dist/actions/delete-collection.mjs.map +1 -1
  27. package/dist/actions/delete-template.cjs +2 -2
  28. package/dist/actions/delete-template.cjs.map +1 -1
  29. package/dist/actions/delete-template.d.cts +10 -3
  30. package/dist/actions/delete-template.d.cts.map +1 -1
  31. package/dist/actions/delete-template.d.mts +10 -3
  32. package/dist/actions/delete-template.d.mts.map +1 -1
  33. package/dist/actions/delete-template.mjs +2 -2
  34. package/dist/actions/delete-template.mjs.map +1 -1
  35. package/dist/actions/get-collection.cjs +3 -3
  36. package/dist/actions/get-collection.cjs.map +1 -1
  37. package/dist/actions/get-collection.d.cts +12 -3
  38. package/dist/actions/get-collection.d.cts.map +1 -1
  39. package/dist/actions/get-collection.d.mts +12 -3
  40. package/dist/actions/get-collection.d.mts.map +1 -1
  41. package/dist/actions/get-collection.mjs +3 -3
  42. package/dist/actions/get-collection.mjs.map +1 -1
  43. package/dist/actions/get-collections.cjs +6 -6
  44. package/dist/actions/get-collections.cjs.map +1 -1
  45. package/dist/actions/get-collections.d.cts +26 -3
  46. package/dist/actions/get-collections.d.cts.map +1 -1
  47. package/dist/actions/get-collections.d.mts +26 -3
  48. package/dist/actions/get-collections.d.mts.map +1 -1
  49. package/dist/actions/get-collections.mjs +6 -6
  50. package/dist/actions/get-collections.mjs.map +1 -1
  51. package/dist/actions/get-template.cjs +3 -3
  52. package/dist/actions/get-template.cjs.map +1 -1
  53. package/dist/actions/get-template.d.cts +13 -3
  54. package/dist/actions/get-template.d.cts.map +1 -1
  55. package/dist/actions/get-template.d.mts +13 -3
  56. package/dist/actions/get-template.d.mts.map +1 -1
  57. package/dist/actions/get-template.mjs +3 -3
  58. package/dist/actions/get-template.mjs.map +1 -1
  59. package/dist/actions/list-nl-templates.cjs +7 -7
  60. package/dist/actions/list-nl-templates.cjs.map +1 -1
  61. package/dist/actions/list-nl-templates.d.cts +15 -3
  62. package/dist/actions/list-nl-templates.d.cts.map +1 -1
  63. package/dist/actions/list-nl-templates.d.mts +15 -3
  64. package/dist/actions/list-nl-templates.d.mts.map +1 -1
  65. package/dist/actions/list-nl-templates.mjs +7 -7
  66. package/dist/actions/list-nl-templates.mjs.map +1 -1
  67. package/dist/actions/list-templates.cjs +6 -6
  68. package/dist/actions/list-templates.cjs.map +1 -1
  69. package/dist/actions/list-templates.d.cts +29 -3
  70. package/dist/actions/list-templates.d.cts.map +1 -1
  71. package/dist/actions/list-templates.d.mts +29 -3
  72. package/dist/actions/list-templates.d.mts.map +1 -1
  73. package/dist/actions/list-templates.mjs +6 -6
  74. package/dist/actions/list-templates.mjs.map +1 -1
  75. package/dist/actions/update-collection.cjs +3 -3
  76. package/dist/actions/update-collection.cjs.map +1 -1
  77. package/dist/actions/update-collection.d.cts +22 -3
  78. package/dist/actions/update-collection.d.cts.map +1 -1
  79. package/dist/actions/update-collection.d.mts +22 -3
  80. package/dist/actions/update-collection.d.mts.map +1 -1
  81. package/dist/actions/update-collection.mjs +3 -3
  82. package/dist/actions/update-collection.mjs.map +1 -1
  83. package/dist/actions/update-template.cjs +3 -3
  84. package/dist/actions/update-template.cjs.map +1 -1
  85. package/dist/actions/update-template.d.cts +23 -3
  86. package/dist/actions/update-template.d.cts.map +1 -1
  87. package/dist/actions/update-template.d.mts +23 -3
  88. package/dist/actions/update-template.d.mts.map +1 -1
  89. package/dist/actions/update-template.mjs +3 -3
  90. package/dist/actions/update-template.mjs.map +1 -1
  91. package/dist/catalog.cjs +7 -1
  92. package/dist/catalog.cjs.map +1 -1
  93. package/dist/catalog.d.cts +8 -0
  94. package/dist/catalog.d.mts +8 -0
  95. package/dist/catalog.mjs +7 -1
  96. package/dist/catalog.mjs.map +1 -1
  97. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["placid","executePlacidTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { placid } from \"./app\";\nimport { executePlacidTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return placid.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePlacidTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["placid","executePlacidTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { placid } from \"./app\";\nimport { executePlacidTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return placid.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePlacidTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { placid } from \"./app\";\nimport { executePlacidTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return placid.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePlacidTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { placid } from \"./app\";\nimport { executePlacidTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return placid.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePlacidTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-collection.d.ts
4
- declare const PlacidCreateCollectionInput: z.ZodTypeAny;
5
- declare const PlacidCreateCollectionOutput: z.ZodTypeAny;
6
- declare const placidCreateCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidCreateCollectionInput: z.ZodObject<{
5
+ title: z.ZodString;
6
+ custom_data: z.ZodOptional<z.ZodString>;
7
+ template_uuids: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ }, z.core.$strip>;
9
+ declare const PlacidCreateCollectionOutput: z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ }, z.core.$loose>;
15
+ declare const placidCreateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ title: string;
17
+ custom_data?: string | undefined;
18
+ template_uuids?: string[] | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { placidCreateCollection };
9
22
  //# sourceMappingURL=create-collection.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-collection.d.cts","names":[],"sources":["../../src/actions/create-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIwB;AAAA,cACvD,4BAAA,EAA8B,CAAA,CAAE,UAKyB;AAAA,cAEzD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-collection.d.cts","names":[],"sources":["../../src/actions/create-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-collection.d.ts
4
- declare const PlacidCreateCollectionInput: z.ZodTypeAny;
5
- declare const PlacidCreateCollectionOutput: z.ZodTypeAny;
6
- declare const placidCreateCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidCreateCollectionInput: z.ZodObject<{
5
+ title: z.ZodString;
6
+ custom_data: z.ZodOptional<z.ZodString>;
7
+ template_uuids: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ }, z.core.$strip>;
9
+ declare const PlacidCreateCollectionOutput: z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ }, z.core.$loose>;
15
+ declare const placidCreateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ title: string;
17
+ custom_data?: string | undefined;
18
+ template_uuids?: string[] | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { placidCreateCollection };
9
22
  //# sourceMappingURL=create-collection.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-collection.d.mts","names":[],"sources":["../../src/actions/create-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIwB;AAAA,cACvD,4BAAA,EAA8B,CAAA,CAAE,UAKyB;AAAA,cAEzD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-collection.d.mts","names":[],"sources":["../../src/actions/create-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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,OAhBuD,EAAE,OAAO;EAChE,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,QAZwD,EAAE,OAAO;EACjE,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,yDAOF;AACV,CAAC"}
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"}
@@ -10,20 +10,20 @@ const PlacidCreateTemplateInput = zod.z.object({
10
10
  custom_data: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).optional()
11
11
  }).describe("Request model for creating a new Placid template.");
12
12
  const PlacidCreateTemplate_LayerSchema = zod.z.object({
13
- name: zod.z.string().describe("Layer name/identifier."),
14
- type: zod.z.string().describe("Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).")
13
+ name: zod.z.string().describe("Layer name/identifier.").nullable(),
14
+ type: zod.z.string().describe("Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).").nullable()
15
15
  }).passthrough().describe("Represents a layer within a template.");
16
16
  const PlacidCreateTemplateOutput = zod.z.object({
17
17
  tags: zod.z.array(zod.z.string()).describe("List of tags associated with the template.").nullable().optional(),
18
- uuid: zod.z.string().describe("Unique template identifier (UUID)."),
19
- title: zod.z.string().describe("Template title."),
20
- width: zod.z.number().int().describe("Template width in pixels."),
21
- height: zod.z.number().int().describe("Template height in pixels."),
18
+ uuid: zod.z.string().describe("Unique template identifier (UUID).").nullable(),
19
+ title: zod.z.string().describe("Template title.").nullable(),
20
+ width: zod.z.number().int().describe("Template width in pixels.").nullable(),
21
+ height: zod.z.number().int().describe("Template height in pixels.").nullable(),
22
22
  layers: zod.z.array(PlacidCreateTemplate_LayerSchema).describe("Array of template layers.").nullable().optional(),
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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Layer name/identifier.\"),\n type: z.string().describe(\"Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).\"),\n}).passthrough().describe(\"Represents a layer within a template.\");\nexport const PlacidCreateTemplateOutput: z.ZodTypeAny = 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).\"),\n title: z.string().describe(\"Template title.\"),\n width: z.number().int().describe(\"Template width in pixels.\"),\n height: z.number().int().describe(\"Template height in pixels.\"),\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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC9D,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,SAAS,qDAAqD;AAEjE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.\\\"\",\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,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,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"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-template.d.ts
4
- declare const PlacidCreateTemplateInput: z.ZodTypeAny;
5
- declare const PlacidCreateTemplateOutput: z.ZodTypeAny;
6
- declare const placidCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidCreateTemplateInput: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodString>;
6
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ title: z.ZodString;
8
+ width: z.ZodNumber;
9
+ height: z.ZodNumber;
10
+ custom_data: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
11
+ }, z.core.$strip>;
12
+ declare const PlacidCreateTemplateOutput: z.ZodObject<{
13
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ uuid: z.ZodNullable<z.ZodString>;
15
+ title: z.ZodNullable<z.ZodString>;
16
+ width: z.ZodNullable<z.ZodNumber>;
17
+ height: z.ZodNullable<z.ZodNumber>;
18
+ layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
+ name: z.ZodNullable<z.ZodString>;
20
+ type: z.ZodNullable<z.ZodString>;
21
+ }, z.core.$loose>>>>;
22
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ custom_data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
25
+ }, z.core.$loose>;
26
+ declare const placidCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ title: string;
28
+ width: number;
29
+ height: number;
30
+ url?: string | undefined;
31
+ tags?: string[] | undefined;
32
+ custom_data?: string | Record<string, unknown> | undefined;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { placidCreateTemplate };
9
36
  //# sourceMappingURL=create-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAOsB;AAAA,cAKnD,0BAAA,EAA4B,CAAA,CAAE,UAUuB;AAAA,cAErD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAY1B,oBAAA,gCAAoB,wBAAA;;;;;;yBAM/B,MAAA;AAAA"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-template.d.ts
4
- declare const PlacidCreateTemplateInput: z.ZodTypeAny;
5
- declare const PlacidCreateTemplateOutput: z.ZodTypeAny;
6
- declare const placidCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidCreateTemplateInput: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodString>;
6
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ title: z.ZodString;
8
+ width: z.ZodNumber;
9
+ height: z.ZodNumber;
10
+ custom_data: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
11
+ }, z.core.$strip>;
12
+ declare const PlacidCreateTemplateOutput: z.ZodObject<{
13
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ uuid: z.ZodNullable<z.ZodString>;
15
+ title: z.ZodNullable<z.ZodString>;
16
+ width: z.ZodNullable<z.ZodNumber>;
17
+ height: z.ZodNullable<z.ZodNumber>;
18
+ layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
+ name: z.ZodNullable<z.ZodString>;
20
+ type: z.ZodNullable<z.ZodString>;
21
+ }, z.core.$loose>>>>;
22
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ custom_data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
25
+ }, z.core.$loose>;
26
+ declare const placidCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
27
+ title: string;
28
+ width: number;
29
+ height: number;
30
+ url?: string | undefined;
31
+ tags?: string[] | undefined;
32
+ custom_data?: string | Record<string, unknown> | undefined;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { placidCreateTemplate };
9
36
  //# sourceMappingURL=create-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAOsB;AAAA,cAKnD,0BAAA,EAA4B,CAAA,CAAE,UAUuB;AAAA,cAErD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAY1B,oBAAA,gCAAoB,wBAAA;;;;;;yBAM/B,MAAA;AAAA"}
@@ -10,8 +10,8 @@ const PlacidCreateTemplateInput = z.object({
10
10
  custom_data: z.union([z.string(), z.record(z.string(), z.unknown())]).optional()
11
11
  }).describe("Request model for creating a new Placid template.");
12
12
  const PlacidCreateTemplate_LayerSchema = z.object({
13
- name: z.string().describe("Layer name/identifier."),
14
- type: z.string().describe("Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).")
13
+ name: z.string().describe("Layer name/identifier.").nullable(),
14
+ type: z.string().describe("Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).").nullable()
15
15
  }).passthrough().describe("Represents a layer within a template.");
16
16
  const placidCreateTemplate = action("PLACID_CREATE_TEMPLATE", {
17
17
  slug: "placid-create-template",
@@ -20,15 +20,15 @@ const placidCreateTemplate = action("PLACID_CREATE_TEMPLATE", {
20
20
  input: PlacidCreateTemplateInput,
21
21
  output: z.object({
22
22
  tags: z.array(z.string()).describe("List of tags associated with the template.").nullable().optional(),
23
- uuid: z.string().describe("Unique template identifier (UUID)."),
24
- title: z.string().describe("Template title."),
25
- width: z.number().int().describe("Template width in pixels."),
26
- height: z.number().int().describe("Template height in pixels."),
23
+ uuid: z.string().describe("Unique template identifier (UUID).").nullable(),
24
+ title: z.string().describe("Template title.").nullable(),
25
+ width: z.number().int().describe("Template width in pixels.").nullable(),
26
+ height: z.number().int().describe("Template height in pixels.").nullable(),
27
27
  layers: z.array(PlacidCreateTemplate_LayerSchema).describe("Array of template layers.").nullable().optional(),
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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Layer name/identifier.\"),\n type: z.string().describe(\"Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).\"),\n}).passthrough().describe(\"Represents a layer within a template.\");\nexport const PlacidCreateTemplateOutput: z.ZodTypeAny = 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).\"),\n title: z.string().describe(\"Template title.\"),\n width: z.number().int().describe(\"Template width in pixels.\"),\n height: z.number().int().describe(\"Template height in pixels.\"),\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,4BAA0C,EAAE,OAAO;CAC9D,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,mCAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAajE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBsD,EAAE,OAAO;EAC/D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;EAC9D,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,SAAS,qDAOF;AACV,CAAC"}
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.ZodTypeAny = 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.ZodTypeAny = 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,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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;AAEtD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-collection.d.ts
4
- declare const PlacidDeleteCollectionInput: z.ZodTypeAny;
5
- declare const PlacidDeleteCollectionOutput: z.ZodTypeAny;
6
- declare const placidDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidDeleteCollectionInput: z.ZodObject<{
5
+ collection_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlacidDeleteCollectionOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ }, z.core.$loose>;
11
+ declare const placidDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ collection_id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { placidDeleteCollection };
9
16
  //# sourceMappingURL=delete-collection.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-collection.d.cts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEkC;AAAA,cACjE,4BAAA,EAA8B,CAAA,CAAE,UAGU;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-collection.d.cts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-collection.d.ts
4
- declare const PlacidDeleteCollectionInput: z.ZodTypeAny;
5
- declare const PlacidDeleteCollectionOutput: z.ZodTypeAny;
6
- declare const placidDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidDeleteCollectionInput: z.ZodObject<{
5
+ collection_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlacidDeleteCollectionOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ }, z.core.$loose>;
11
+ declare const placidDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ collection_id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { placidDeleteCollection };
9
16
  //# sourceMappingURL=delete-collection.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-collection.d.mts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEkC;AAAA,cACjE,4BAAA,EAA8B,CAAA,CAAE,UAGU;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-collection.d.mts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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,OAZuD,EAAE,OAAO,EAChE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAUH;CACP,QAVwD,EAAE,OAAO;EACjE,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,0CAOF;AACV,CAAC"}
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"}
@@ -4,8 +4,8 @@ let zod = require("zod");
4
4
  const PlacidDeleteTemplateInput = zod.z.object({ template_uuid: zod.z.string().describe("UUID of the template to delete") }).describe("Request parameters for deleting a specific template.");
5
5
  const PlacidDeleteTemplateOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Additional info or error message, if any").nullable().optional(),
7
- success: zod.z.boolean().describe("Indicates if deletion was successful")
8
- }).describe("Response schema for template deletion.");
7
+ success: zod.z.boolean().describe("Indicates if deletion was successful").nullable()
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.ZodTypeAny = 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.ZodTypeAny = 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\"),\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,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;AACtE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-template.d.ts
4
- declare const PlacidDeleteTemplateInput: z.ZodTypeAny;
5
- declare const PlacidDeleteTemplateOutput: z.ZodTypeAny;
6
- declare const placidDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidDeleteTemplateInput: z.ZodObject<{
5
+ template_uuid: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlacidDeleteTemplateOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$loose>;
11
+ declare const placidDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ template_uuid: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { placidDeleteTemplate };
9
16
  //# sourceMappingURL=delete-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-template.d.cts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEyB;AAAA,cACtD,0BAAA,EAA4B,CAAA,CAAE,UAGU;AAAA,cAExC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-template.d.cts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-template.d.ts
4
- declare const PlacidDeleteTemplateInput: z.ZodTypeAny;
5
- declare const PlacidDeleteTemplateOutput: z.ZodTypeAny;
6
- declare const placidDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidDeleteTemplateInput: z.ZodObject<{
5
+ template_uuid: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlacidDeleteTemplateOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$loose>;
11
+ declare const placidDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ template_uuid: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { placidDeleteTemplate };
9
16
  //# sourceMappingURL=delete-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-template.d.mts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEyB;AAAA,cACtD,0BAAA,EAA4B,CAAA,CAAE,UAGU;AAAA,cAExC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-template.d.mts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -7,8 +7,8 @@ const placidDeleteTemplate = action("PLACID_DELETE_TEMPLATE", {
7
7
  input: z.object({ template_uuid: z.string().describe("UUID of the template to delete") }).describe("Request parameters for deleting a specific template."),
8
8
  output: z.object({
9
9
  message: z.string().describe("Additional info or error message, if any").nullable().optional(),
10
- success: z.boolean().describe("Indicates if deletion was successful")
11
- }).describe("Response schema for template deletion.")
10
+ success: z.boolean().describe("Indicates if deletion was successful").nullable()
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.ZodTypeAny = 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.ZodTypeAny = 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\"),\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,OAZqD,EAAE,OAAO,EAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;CACtE,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
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"}
@@ -3,11 +3,11 @@ let zod = require("zod");
3
3
  //#region src/actions/get-collection.ts
4
4
  const PlacidGetCollectionInput = zod.z.object({ collection_id: zod.z.string().describe("Unique collection ID (UUID format) to retrieve") }).describe("Request model for retrieving a single collection by ID.");
5
5
  const PlacidGetCollectionOutput = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier of the collection (UUID)"),
7
- title: zod.z.string().describe("Title of the collection"),
6
+ id: zod.z.string().describe("Unique identifier of the collection (UUID)").nullable(),
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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\"),\n title: z.string().describe(\"Title of the collection\"),\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,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,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;AAEtE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}