@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
@@ -9,24 +9,24 @@ const PlacidListTemplatesInput = zod.z.object({
9
9
  }).describe("Request model for retrieving templates with optional filtering and pagination.");
10
10
  const PlacidListTemplates_TemplateSchema = zod.z.object({
11
11
  tags: zod.z.array(zod.z.string()).describe("List of tags associated with the template").nullable().optional(),
12
- uuid: zod.z.string().describe("Unique identifier of the template (UUID)"),
13
- title: zod.z.string().describe("Title of the template"),
12
+ uuid: zod.z.string().describe("Unique identifier of the template (UUID)").nullable(),
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.ZodTypeAny = 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.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 identifier of the template (UUID)\"),\n title: z.string().describe(\"Title of the template\"),\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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,CA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AA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;CACzD,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;AAC7D,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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,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,IAAA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Aa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-templates.d.ts
4
- declare const PlacidListTemplatesInput: z.ZodTypeAny;
5
- declare const PlacidListTemplatesOutput: z.ZodTypeAny;
6
- declare const placidListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidListTemplatesInput: z.ZodObject<{
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ order_by: z.ZodOptional<z.ZodString>;
7
+ title_filter: z.ZodOptional<z.ZodString>;
8
+ collection_id: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const PlacidListTemplatesOutput: z.ZodObject<{
11
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
13
+ uuid: z.ZodNullable<z.ZodString>;
14
+ title: z.ZodNullable<z.ZodString>;
15
+ layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
16
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>>;
18
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ }, z.core.$loose>>>;
22
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>;
26
+ }, z.core.$loose>;
27
+ declare const placidListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ cursor?: string | undefined;
29
+ order_by?: string | undefined;
30
+ title_filter?: string | undefined;
31
+ collection_id?: string | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { placidListTemplates };
9
35
  //# sourceMappingURL=list-templates.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAKoD;AAAA,cAgBhF,yBAAA,EAA2B,CAAA,CAAE,UAI2C;AAAA,cAExE,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-templates.d.ts
4
- declare const PlacidListTemplatesInput: z.ZodTypeAny;
5
- declare const PlacidListTemplatesOutput: z.ZodTypeAny;
6
- declare const placidListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidListTemplatesInput: z.ZodObject<{
5
+ cursor: z.ZodOptional<z.ZodString>;
6
+ order_by: z.ZodOptional<z.ZodString>;
7
+ title_filter: z.ZodOptional<z.ZodString>;
8
+ collection_id: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const PlacidListTemplatesOutput: z.ZodObject<{
11
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
13
+ uuid: z.ZodNullable<z.ZodString>;
14
+ title: z.ZodNullable<z.ZodString>;
15
+ layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
16
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>>;
18
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ }, z.core.$loose>>>;
22
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>;
26
+ }, z.core.$loose>;
27
+ declare const placidListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ cursor?: string | undefined;
29
+ order_by?: string | undefined;
30
+ title_filter?: string | undefined;
31
+ collection_id?: string | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { placidListTemplates };
9
35
  //# sourceMappingURL=list-templates.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAKoD;AAAA,cAgBhF,yBAAA,EAA2B,CAAA,CAAE,UAI2C;AAAA,cAExE,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
@@ -9,19 +9,19 @@ const PlacidListTemplatesInput = z.object({
9
9
  }).describe("Request model for retrieving templates with optional filtering and pagination.");
10
10
  const PlacidListTemplates_TemplateSchema = z.object({
11
11
  tags: z.array(z.string()).describe("List of tags associated with the template").nullable().optional(),
12
- uuid: z.string().describe("Unique identifier of the template (UUID)"),
13
- title: z.string().describe("Title of the template"),
12
+ uuid: z.string().describe("Unique identifier of the template (UUID)").nullable(),
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.ZodTypeAny = 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.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 identifier of the template (UUID)\"),\n title: z.string().describe(\"Title of the template\"),\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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,2BAAyC,EAAE,OAAO;CAC7D,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,qCAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,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;AACzD,MAAM,iCAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kCAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAO3D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXqD,EAAE,OAAO;EAC9D,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;EACzD,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC7D,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
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,M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mB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;EACzD,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
@@ -10,11 +10,11 @@ const PlacidUpdateCollectionInput = zod.z.object({
10
10
  remove_template_uuids: zod.z.array(zod.z.string()).describe("List of template UUIDs to remove from the collection. Cannot be used with template_uuids.").optional()
11
11
  }).describe("Request model for updating an existing template collection.");
12
12
  const PlacidUpdateCollectionOutput = zod.z.object({
13
- id: zod.z.string().describe("Unique identifier of the collection (UUID)"),
14
- title: zod.z.string().describe("Title of the collection"),
13
+ id: zod.z.string().describe("Unique identifier of the collection (UUID)").nullable(),
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.ZodTypeAny = 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.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 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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-collection.d.ts
4
- declare const PlacidUpdateCollectionInput: z.ZodTypeAny;
5
- declare const PlacidUpdateCollectionOutput: z.ZodTypeAny;
6
- declare const placidUpdateCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidUpdateCollectionInput: z.ZodObject<{
5
+ title: z.ZodOptional<z.ZodString>;
6
+ custom_data: z.ZodOptional<z.ZodString>;
7
+ collection_id: z.ZodString;
8
+ template_uuids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ add_template_uuids: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ remove_template_uuids: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ }, z.core.$strip>;
12
+ declare const PlacidUpdateCollectionOutput: z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ title: z.ZodNullable<z.ZodString>;
15
+ custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
+ }, z.core.$loose>;
18
+ declare const placidUpdateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ collection_id: string;
20
+ title?: string | undefined;
21
+ custom_data?: string | undefined;
22
+ template_uuids?: string[] | undefined;
23
+ add_template_uuids?: string[] | undefined;
24
+ remove_template_uuids?: string[] | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { placidUpdateCollection };
9
28
  //# sourceMappingURL=update-collection.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-collection.d.cts","names":[],"sources":["../../src/actions/update-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAO8B;AAAA,cAC7D,4BAAA,EAA8B,CAAA,CAAE,UAKY;AAAA,cAE5C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-collection.d.cts","names":[],"sources":["../../src/actions/update-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-collection.d.ts
4
- declare const PlacidUpdateCollectionInput: z.ZodTypeAny;
5
- declare const PlacidUpdateCollectionOutput: z.ZodTypeAny;
6
- declare const placidUpdateCollection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidUpdateCollectionInput: z.ZodObject<{
5
+ title: z.ZodOptional<z.ZodString>;
6
+ custom_data: z.ZodOptional<z.ZodString>;
7
+ collection_id: z.ZodString;
8
+ template_uuids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ add_template_uuids: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ remove_template_uuids: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ }, z.core.$strip>;
12
+ declare const PlacidUpdateCollectionOutput: z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ title: z.ZodNullable<z.ZodString>;
15
+ custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
+ }, z.core.$loose>;
18
+ declare const placidUpdateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ collection_id: string;
20
+ title?: string | undefined;
21
+ custom_data?: string | undefined;
22
+ template_uuids?: string[] | undefined;
23
+ add_template_uuids?: string[] | undefined;
24
+ remove_template_uuids?: string[] | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { placidUpdateCollection };
9
28
  //# sourceMappingURL=update-collection.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-collection.d.mts","names":[],"sources":["../../src/actions/update-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAO8B;AAAA,cAC7D,4BAAA,EAA8B,CAAA,CAAE,UAKY;AAAA,cAE5C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-collection.d.mts","names":[],"sources":["../../src/actions/update-collection.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
@@ -13,11 +13,11 @@ const placidUpdateCollection = action("PLACID_UPDATE_COLLECTION", {
13
13
  remove_template_uuids: z.array(z.string()).describe("List of template UUIDs to remove from the collection. Cannot be used with template_uuids.").optional()
14
14
  }).describe("Request model for updating an existing template collection."),
15
15
  output: z.object({
16
- id: z.string().describe("Unique identifier of the collection (UUID)"),
17
- title: z.string().describe("Title of the collection"),
16
+ id: z.string().describe("Unique identifier of the collection (UUID)").nullable(),
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.ZodTypeAny = 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.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 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,OAnBuD,EAAE,OAAO;EAChE,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,QAZwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,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,4CAOF;AACV,CAAC"}
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"}
@@ -9,15 +9,15 @@ const PlacidUpdateTemplateInput = zod.z.object({
9
9
  }).describe("Request model for updating an existing Placid template.");
10
10
  const PlacidUpdateTemplateOutput = zod.z.object({
11
11
  tags: zod.z.array(zod.z.string()).describe("List of tags associated with the template").nullable().optional(),
12
- uuid: zod.z.string().describe("Unique template identifier (UUID)"),
13
- title: zod.z.string().describe("Template title"),
12
+ uuid: zod.z.string().describe("Unique template identifier (UUID)").nullable(),
13
+ title: zod.z.string().describe("Template title").nullable(),
14
14
  width: zod.z.number().int().describe("Template width in pixels").nullable().optional(),
15
15
  height: zod.z.number().int().describe("Template height in pixels").nullable().optional(),
16
16
  layers: zod.z.array(zod.z.unknown()).describe("Array of template layers").nullable().optional(),
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.ZodTypeAny = 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.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\").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,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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{"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,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CA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,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-template.d.ts
4
- declare const PlacidUpdateTemplateInput: z.ZodTypeAny;
5
- declare const PlacidUpdateTemplateOutput: z.ZodTypeAny;
6
- declare const placidUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidUpdateTemplateInput: z.ZodObject<{
5
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ title: z.ZodOptional<z.ZodString>;
7
+ custom_data: z.ZodOptional<z.ZodString>;
8
+ template_uuid: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const PlacidUpdateTemplateOutput: z.ZodObject<{
11
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ uuid: z.ZodNullable<z.ZodString>;
13
+ title: z.ZodNullable<z.ZodString>;
14
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
17
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
19
+ custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>;
21
+ declare const placidUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ template_uuid: string;
23
+ tags?: string[] | undefined;
24
+ title?: string | undefined;
25
+ custom_data?: string | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { placidUpdateTemplate };
9
29
  //# sourceMappingURL=update-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAK4B;AAAA,cACzD,0BAAA,EAA4B,CAAA,CAAE,UAUkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-template.d.ts
4
- declare const PlacidUpdateTemplateInput: z.ZodTypeAny;
5
- declare const PlacidUpdateTemplateOutput: z.ZodTypeAny;
6
- declare const placidUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlacidUpdateTemplateInput: z.ZodObject<{
5
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ title: z.ZodOptional<z.ZodString>;
7
+ custom_data: z.ZodOptional<z.ZodString>;
8
+ template_uuid: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const PlacidUpdateTemplateOutput: z.ZodObject<{
11
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ uuid: z.ZodNullable<z.ZodString>;
13
+ title: z.ZodNullable<z.ZodString>;
14
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
17
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
19
+ custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>;
21
+ declare const placidUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ template_uuid: string;
23
+ tags?: string[] | undefined;
24
+ title?: string | undefined;
25
+ custom_data?: string | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { placidUpdateTemplate };
9
29
  //# sourceMappingURL=update-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAK4B;AAAA,cACzD,0BAAA,EAA4B,CAAA,CAAE,UAUkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,gCAAoB,wBAAA"}
@@ -12,15 +12,15 @@ const placidUpdateTemplate = action("PLACID_UPDATE_TEMPLATE", {
12
12
  }).describe("Request model for updating an existing Placid template."),
13
13
  output: z.object({
14
14
  tags: z.array(z.string()).describe("List of tags associated with the template").nullable().optional(),
15
- uuid: z.string().describe("Unique template identifier (UUID)"),
16
- title: z.string().describe("Template title"),
15
+ uuid: z.string().describe("Unique template identifier (UUID)").nullable(),
16
+ title: z.string().describe("Template title").nullable(),
17
17
  width: z.number().int().describe("Template width in pixels").nullable().optional(),
18
18
  height: z.number().int().describe("Template height in pixels").nullable().optional(),
19
19
  layers: z.array(z.unknown()).describe("Array of template layers").nullable().optional(),
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.ZodTypeAny = 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.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\").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.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a,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
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}).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,y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Catalog = {
7
7
  "category": "Images & Design",
8
8
  "logo": "https://logos.composio.dev/api/placid",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Placid API Token",
13
+ "secret": true,
14
+ "description": "Your API token for authenticating requests to the Placid API"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.placidCatalog = placidCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const placidCatalog = {\n \"slug\": \"placid\",\n \"name\": \"Placid\",\n \"description\": \"Placid is a creative automation toolkit that enables users to generate images, PDFs, and videos from custom templates via REST or URL APIs.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/placid\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const placidCatalog = {\n \"slug\": \"placid\",\n \"name\": \"Placid\",\n \"description\": \"Placid is a creative automation toolkit that enables users to generate images, PDFs, and videos from custom templates via REST or URL APIs.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/placid\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Placid API Token\",\n \"secret\": true,\n \"description\": \"Your API token for authenticating requests to the Placid API\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const placidCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/placid";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Placid API Token";
14
+ readonly secret: true;
15
+ readonly description: "Your API token for authenticating requests to the Placid API";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { placidCatalog };
@@ -8,6 +8,14 @@ declare const placidCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/placid";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Placid API Token";
14
+ readonly secret: true;
15
+ readonly description: "Your API token for authenticating requests to the Placid API";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { placidCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const placidCatalog = {
7
7
  "category": "Images & Design",
8
8
  "logo": "https://logos.composio.dev/api/placid",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Placid API Token",
13
+ "secret": true,
14
+ "description": "Your API token for authenticating requests to the Placid API"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { placidCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const placidCatalog = {\n \"slug\": \"placid\",\n \"name\": \"Placid\",\n \"description\": \"Placid is a creative automation toolkit that enables users to generate images, PDFs, and videos from custom templates via REST or URL APIs.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/placid\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const placidCatalog = {\n \"slug\": \"placid\",\n \"name\": \"Placid\",\n \"description\": \"Placid is a creative automation toolkit that enables users to generate images, PDFs, and videos from custom templates via REST or URL APIs.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/placid\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Placid API Token\",\n \"secret\": true,\n \"description\": \"Your API token for authenticating requests to the Placid API\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}