@keystrokehq/modelry 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 (121) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-workspace.cjs +3 -3
  4. package/dist/actions/create-workspace.cjs.map +1 -1
  5. package/dist/actions/create-workspace.d.cts +16 -3
  6. package/dist/actions/create-workspace.d.cts.map +1 -1
  7. package/dist/actions/create-workspace.d.mts +16 -3
  8. package/dist/actions/create-workspace.d.mts.map +1 -1
  9. package/dist/actions/create-workspace.mjs +3 -3
  10. package/dist/actions/create-workspace.mjs.map +1 -1
  11. package/dist/actions/delete-embed.cjs +1 -1
  12. package/dist/actions/delete-embed.cjs.map +1 -1
  13. package/dist/actions/delete-embed.d.cts +11 -3
  14. package/dist/actions/delete-embed.d.cts.map +1 -1
  15. package/dist/actions/delete-embed.d.mts +11 -3
  16. package/dist/actions/delete-embed.d.mts.map +1 -1
  17. package/dist/actions/delete-embed.mjs +1 -1
  18. package/dist/actions/delete-embed.mjs.map +1 -1
  19. package/dist/actions/delete-product-repository.cjs +1 -1
  20. package/dist/actions/delete-product-repository.cjs.map +1 -1
  21. package/dist/actions/delete-product-repository.d.cts +10 -3
  22. package/dist/actions/delete-product-repository.d.cts.map +1 -1
  23. package/dist/actions/delete-product-repository.d.mts +10 -3
  24. package/dist/actions/delete-product-repository.d.mts.map +1 -1
  25. package/dist/actions/delete-product-repository.mjs +1 -1
  26. package/dist/actions/delete-product-repository.mjs.map +1 -1
  27. package/dist/actions/delete-product.cjs +1 -1
  28. package/dist/actions/delete-product.cjs.map +1 -1
  29. package/dist/actions/delete-product.d.cts +10 -3
  30. package/dist/actions/delete-product.d.cts.map +1 -1
  31. package/dist/actions/delete-product.d.mts +10 -3
  32. package/dist/actions/delete-product.d.mts.map +1 -1
  33. package/dist/actions/delete-product.mjs +1 -1
  34. package/dist/actions/delete-product.mjs.map +1 -1
  35. package/dist/actions/delete-workspace.cjs +1 -1
  36. package/dist/actions/delete-workspace.cjs.map +1 -1
  37. package/dist/actions/delete-workspace.d.cts +10 -3
  38. package/dist/actions/delete-workspace.d.cts.map +1 -1
  39. package/dist/actions/delete-workspace.d.mts +10 -3
  40. package/dist/actions/delete-workspace.d.mts.map +1 -1
  41. package/dist/actions/delete-workspace.mjs +1 -1
  42. package/dist/actions/delete-workspace.mjs.map +1 -1
  43. package/dist/actions/get-embed.cjs +2 -2
  44. package/dist/actions/get-embed.cjs.map +1 -1
  45. package/dist/actions/get-embed.d.cts +17 -3
  46. package/dist/actions/get-embed.d.cts.map +1 -1
  47. package/dist/actions/get-embed.d.mts +17 -3
  48. package/dist/actions/get-embed.d.mts.map +1 -1
  49. package/dist/actions/get-embed.mjs +2 -2
  50. package/dist/actions/get-embed.mjs.map +1 -1
  51. package/dist/actions/get-workspace.cjs +3 -3
  52. package/dist/actions/get-workspace.cjs.map +1 -1
  53. package/dist/actions/get-workspace.d.cts +14 -3
  54. package/dist/actions/get-workspace.d.cts.map +1 -1
  55. package/dist/actions/get-workspace.d.mts +14 -3
  56. package/dist/actions/get-workspace.d.mts.map +1 -1
  57. package/dist/actions/get-workspace.mjs +3 -3
  58. package/dist/actions/get-workspace.mjs.map +1 -1
  59. package/dist/actions/list-embeds.cjs +2 -2
  60. package/dist/actions/list-embeds.cjs.map +1 -1
  61. package/dist/actions/list-embeds.d.cts +25 -3
  62. package/dist/actions/list-embeds.d.cts.map +1 -1
  63. package/dist/actions/list-embeds.d.mts +25 -3
  64. package/dist/actions/list-embeds.d.mts.map +1 -1
  65. package/dist/actions/list-embeds.mjs +2 -2
  66. package/dist/actions/list-embeds.mjs.map +1 -1
  67. package/dist/actions/list-modeling-requests.cjs +3 -3
  68. package/dist/actions/list-modeling-requests.cjs.map +1 -1
  69. package/dist/actions/list-modeling-requests.d.cts +24 -3
  70. package/dist/actions/list-modeling-requests.d.cts.map +1 -1
  71. package/dist/actions/list-modeling-requests.d.mts +24 -3
  72. package/dist/actions/list-modeling-requests.d.mts.map +1 -1
  73. package/dist/actions/list-modeling-requests.mjs +3 -3
  74. package/dist/actions/list-modeling-requests.mjs.map +1 -1
  75. package/dist/actions/list-product-repositories.cjs +4 -4
  76. package/dist/actions/list-product-repositories.cjs.map +1 -1
  77. package/dist/actions/list-product-repositories.d.cts +22 -3
  78. package/dist/actions/list-product-repositories.d.cts.map +1 -1
  79. package/dist/actions/list-product-repositories.d.mts +22 -3
  80. package/dist/actions/list-product-repositories.d.mts.map +1 -1
  81. package/dist/actions/list-product-repositories.mjs +4 -4
  82. package/dist/actions/list-product-repositories.mjs.map +1 -1
  83. package/dist/actions/list-products.cjs +3 -3
  84. package/dist/actions/list-products.cjs.map +1 -1
  85. package/dist/actions/list-products.d.cts +24 -3
  86. package/dist/actions/list-products.d.cts.map +1 -1
  87. package/dist/actions/list-products.d.mts +24 -3
  88. package/dist/actions/list-products.d.mts.map +1 -1
  89. package/dist/actions/list-products.mjs +3 -3
  90. package/dist/actions/list-products.mjs.map +1 -1
  91. package/dist/actions/list-workspaces.cjs +4 -4
  92. package/dist/actions/list-workspaces.cjs.map +1 -1
  93. package/dist/actions/list-workspaces.d.cts +21 -3
  94. package/dist/actions/list-workspaces.d.cts.map +1 -1
  95. package/dist/actions/list-workspaces.d.mts +21 -3
  96. package/dist/actions/list-workspaces.d.mts.map +1 -1
  97. package/dist/actions/list-workspaces.mjs +4 -4
  98. package/dist/actions/list-workspaces.mjs.map +1 -1
  99. package/dist/actions/order-modeling-service.cjs +2 -2
  100. package/dist/actions/order-modeling-service.cjs.map +1 -1
  101. package/dist/actions/order-modeling-service.d.cts +33 -3
  102. package/dist/actions/order-modeling-service.d.cts.map +1 -1
  103. package/dist/actions/order-modeling-service.d.mts +33 -3
  104. package/dist/actions/order-modeling-service.d.mts.map +1 -1
  105. package/dist/actions/order-modeling-service.mjs +2 -2
  106. package/dist/actions/order-modeling-service.mjs.map +1 -1
  107. package/dist/actions/track-modeling-progress.cjs +6 -6
  108. package/dist/actions/track-modeling-progress.cjs.map +1 -1
  109. package/dist/actions/track-modeling-progress.d.cts +19 -3
  110. package/dist/actions/track-modeling-progress.d.cts.map +1 -1
  111. package/dist/actions/track-modeling-progress.d.mts +19 -3
  112. package/dist/actions/track-modeling-progress.d.mts.map +1 -1
  113. package/dist/actions/track-modeling-progress.mjs +6 -6
  114. package/dist/actions/track-modeling-progress.mjs.map +1 -1
  115. package/dist/catalog.cjs +7 -1
  116. package/dist/catalog.cjs.map +1 -1
  117. package/dist/catalog.d.cts +8 -0
  118. package/dist/catalog.d.mts +8 -0
  119. package/dist/catalog.mjs +7 -1
  120. package/dist/catalog.mjs.map +1 -1
  121. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["modelry","executeModelryTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { modelry } from \"./app\";\nimport { executeModelryTool } 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 modelry.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 executeModelryTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,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,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["modelry","executeModelryTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { modelry } from \"./app\";\nimport { executeModelryTool } 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 modelry.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 executeModelryTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,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,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { modelry } from \"./app\";\nimport { executeModelryTool } 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 modelry.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 executeModelryTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { modelry } from \"./app\";\nimport { executeModelryTool } 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 modelry.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 executeModelryTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -6,13 +6,13 @@ const ModelryCreateWorkspaceInput = zod.z.object({
6
6
  description: zod.z.string().describe("Optional description or purpose of the workspace. Note: The Modelry API may not support setting descriptions during creation.").optional()
7
7
  }).describe("Request parameters for creating or retrieving a workspace in Modelry.");
8
8
  const ModelryCreateWorkspaceOutput = zod.z.object({
9
- id: zod.z.string().describe("Unique identifier of the workspace"),
10
- name: zod.z.string().describe("Name of the workspace"),
9
+ id: zod.z.string().describe("Unique identifier of the workspace").nullable(),
10
+ name: zod.z.string().describe("Name of the workspace").nullable(),
11
11
  createdAt: zod.z.string().describe("ISO 8601 timestamp when the workspace was created").nullable().optional(),
12
12
  updatedAt: zod.z.string().describe("ISO 8601 timestamp when the workspace was last updated").nullable().optional(),
13
13
  description: zod.z.string().describe("Description of the workspace, if available").nullable().optional(),
14
14
  already_existed: zod.z.boolean().describe("True if workspace already existed, False if newly created, None if unknown").nullable().optional()
15
- }).describe("Response schema containing the created or existing workspace details.");
15
+ }).passthrough().describe("Response schema containing the created or existing workspace details.");
16
16
  const modelryCreateWorkspace = require_action.action("MODELRY_CREATE_WORKSPACE", {
17
17
  slug: "modelry-create-workspace",
18
18
  name: "Create Workspace",
@@ -1 +1 @@
1
- {"version":3,"file":"create-workspace.cjs","names":["z","action"],"sources":["../../src/actions/create-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryCreateWorkspaceInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Human-readable name for the workspace. If a workspace with this name already exists, it will be returned instead of creating a duplicate.\"),\n description: z.string().describe(\"Optional description or purpose of the workspace. Note: The Modelry API may not support setting descriptions during creation.\").optional(),\n}).describe(\"Request parameters for creating or retrieving a workspace in Modelry.\");\nexport const ModelryCreateWorkspaceOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the workspace\"),\n name: z.string().describe(\"Name of the workspace\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the workspace was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the workspace was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the workspace, if available\").nullable().optional(),\n already_existed: z.boolean().describe(\"True if workspace already existed, False if newly created, None if unknown\").nullable().optional(),\n}).describe(\"Response schema containing the created or existing workspace details.\");\n\nexport const modelryCreateWorkspace = action(\"MODELRY_CREATE_WORKSPACE\", {\n slug: \"modelry-create-workspace\",\n name: \"Create Workspace\",\n description: \"Create a new workspace or return an existing one with the same name. Workspaces are used to organize products and embeds in Modelry. If workspace creation is not supported by the API, this tool will return an existing workspace matching the requested name.\",\n input: ModelryCreateWorkspaceInput,\n output: ModelryCreateWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CACrK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,uEAAuE;AAEnF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-workspace.cjs","names":["z","action"],"sources":["../../src/actions/create-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryCreateWorkspaceInput = z.object({\n name: z.string().describe(\"Human-readable name for the workspace. If a workspace with this name already exists, it will be returned instead of creating a duplicate.\"),\n description: z.string().describe(\"Optional description or purpose of the workspace. Note: The Modelry API may not support setting descriptions during creation.\").optional(),\n}).describe(\"Request parameters for creating or retrieving a workspace in Modelry.\");\nexport const ModelryCreateWorkspaceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the workspace\").nullable(),\n name: z.string().describe(\"Name of the workspace\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the workspace was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the workspace was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the workspace, if available\").nullable().optional(),\n already_existed: z.boolean().describe(\"True if workspace already existed, False if newly created, None if unknown\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing the created or existing workspace details.\");\n\nexport const modelryCreateWorkspace = action(\"MODELRY_CREATE_WORKSPACE\", {\n slug: \"modelry-create-workspace\",\n name: \"Create Workspace\",\n description: \"Create a new workspace or return an existing one with the same name. Workspaces are used to organize products and embeds in Modelry. If workspace creation is not supported by the API, this tool will return an existing workspace matching the requested name.\",\n input: ModelryCreateWorkspaceInput,\n output: ModelryCreateWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CACrK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,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-workspace.d.ts
4
- declare const ModelryCreateWorkspaceInput: z.ZodTypeAny;
5
- declare const ModelryCreateWorkspaceOutput: z.ZodTypeAny;
6
- declare const modelryCreateWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ModelryCreateWorkspaceInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const ModelryCreateWorkspaceOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ already_existed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ }, z.core.$loose>;
16
+ declare const modelryCreateWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ name: string;
18
+ description?: string | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { modelryCreateWorkspace };
9
22
  //# sourceMappingURL=create-workspace.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-workspace.d.cts","names":[],"sources":["../../src/actions/create-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGwC;AAAA,cACvE,4BAAA,EAA8B,CAAA,CAAE,UAOuC;AAAA,cAEvE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-workspace.d.cts","names":[],"sources":["../../src/actions/create-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAS5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-workspace.d.ts
4
- declare const ModelryCreateWorkspaceInput: z.ZodTypeAny;
5
- declare const ModelryCreateWorkspaceOutput: z.ZodTypeAny;
6
- declare const modelryCreateWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ModelryCreateWorkspaceInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const ModelryCreateWorkspaceOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ already_existed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ }, z.core.$loose>;
16
+ declare const modelryCreateWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ name: string;
18
+ description?: string | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { modelryCreateWorkspace };
9
22
  //# sourceMappingURL=create-workspace.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-workspace.d.mts","names":[],"sources":["../../src/actions/create-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGwC;AAAA,cACvE,4BAAA,EAA8B,CAAA,CAAE,UAOuC;AAAA,cAEvE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-workspace.d.mts","names":[],"sources":["../../src/actions/create-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAS5B,sBAAA,gCAAsB,wBAAA"}
@@ -9,13 +9,13 @@ const modelryCreateWorkspace = action("MODELRY_CREATE_WORKSPACE", {
9
9
  description: z.string().describe("Optional description or purpose of the workspace. Note: The Modelry API may not support setting descriptions during creation.").optional()
10
10
  }).describe("Request parameters for creating or retrieving a workspace in Modelry."),
11
11
  output: z.object({
12
- id: z.string().describe("Unique identifier of the workspace"),
13
- name: z.string().describe("Name of the workspace"),
12
+ id: z.string().describe("Unique identifier of the workspace").nullable(),
13
+ name: z.string().describe("Name of the workspace").nullable(),
14
14
  createdAt: z.string().describe("ISO 8601 timestamp when the workspace was created").nullable().optional(),
15
15
  updatedAt: z.string().describe("ISO 8601 timestamp when the workspace was last updated").nullable().optional(),
16
16
  description: z.string().describe("Description of the workspace, if available").nullable().optional(),
17
17
  already_existed: z.boolean().describe("True if workspace already existed, False if newly created, None if unknown").nullable().optional()
18
- }).describe("Response schema containing the created or existing workspace details.")
18
+ }).passthrough().describe("Response schema containing the created or existing workspace details.")
19
19
  });
20
20
  //#endregion
21
21
  export { modelryCreateWorkspace };
@@ -1 +1 @@
1
- {"version":3,"file":"create-workspace.mjs","names":[],"sources":["../../src/actions/create-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryCreateWorkspaceInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Human-readable name for the workspace. If a workspace with this name already exists, it will be returned instead of creating a duplicate.\"),\n description: z.string().describe(\"Optional description or purpose of the workspace. Note: The Modelry API may not support setting descriptions during creation.\").optional(),\n}).describe(\"Request parameters for creating or retrieving a workspace in Modelry.\");\nexport const ModelryCreateWorkspaceOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the workspace\"),\n name: z.string().describe(\"Name of the workspace\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the workspace was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the workspace was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the workspace, if available\").nullable().optional(),\n already_existed: z.boolean().describe(\"True if workspace already existed, False if newly created, None if unknown\").nullable().optional(),\n}).describe(\"Response schema containing the created or existing workspace details.\");\n\nexport const modelryCreateWorkspace = action(\"MODELRY_CREATE_WORKSPACE\", {\n slug: \"modelry-create-workspace\",\n name: \"Create Workspace\",\n description: \"Create a new workspace or return an existing one with the same name. Workspaces are used to organize products and embeds in Modelry. If workspace creation is not supported by the API, this tool will return an existing workspace matching the requested name.\",\n input: ModelryCreateWorkspaceInput,\n output: ModelryCreateWorkspaceOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;EACrK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,SAAS,uEAcH;CACP,QAdwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,uEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-workspace.mjs","names":[],"sources":["../../src/actions/create-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryCreateWorkspaceInput = z.object({\n name: z.string().describe(\"Human-readable name for the workspace. If a workspace with this name already exists, it will be returned instead of creating a duplicate.\"),\n description: z.string().describe(\"Optional description or purpose of the workspace. Note: The Modelry API may not support setting descriptions during creation.\").optional(),\n}).describe(\"Request parameters for creating or retrieving a workspace in Modelry.\");\nexport const ModelryCreateWorkspaceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the workspace\").nullable(),\n name: z.string().describe(\"Name of the workspace\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the workspace was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the workspace was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the workspace, if available\").nullable().optional(),\n already_existed: z.boolean().describe(\"True if workspace already existed, False if newly created, None if unknown\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing the created or existing workspace details.\");\n\nexport const modelryCreateWorkspace = action(\"MODELRY_CREATE_WORKSPACE\", {\n slug: \"modelry-create-workspace\",\n name: \"Create Workspace\",\n description: \"Create a new workspace or return an existing one with the same name. Workspaces are used to organize products and embeds in Modelry. If workspace creation is not supported by the API, this tool will return an existing workspace matching the requested name.\",\n input: ModelryCreateWorkspaceInput,\n output: ModelryCreateWorkspaceOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;EACrK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,SAAS,uEAcH;CACP,QAd0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const ModelryDeleteEmbedInput = zod.z.object({
5
5
  embedId: zod.z.string().describe("ID of the embed to delete"),
6
6
  workspaceId: zod.z.string().describe("Optional workspace scope to try workspace-scoped deletion endpoints as well.").optional()
7
7
  }).describe("Request schema for deleting a Modelry embed.");
8
- const ModelryDeleteEmbedOutput = zod.z.object({ message: zod.z.string().describe("Result message returned by Modelry").nullable().optional() }).describe("Response schema after deleting a Modelry embed.");
8
+ const ModelryDeleteEmbedOutput = zod.z.object({ message: zod.z.string().describe("Result message returned by Modelry").nullable().optional() }).passthrough().describe("Response schema after deleting a Modelry embed.");
9
9
  const modelryDeleteEmbed = require_action.action("MODELRY_DELETE_EMBED", {
10
10
  slug: "modelry-delete-embed",
11
11
  name: "Delete Modelry Embed",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-embed.cjs","names":["z","action"],"sources":["../../src/actions/delete-embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteEmbedInput: z.ZodTypeAny = z.object({\n embedId: z.string().describe(\"ID of the embed to delete\"),\n workspaceId: z.string().describe(\"Optional workspace scope to try workspace-scoped deletion endpoints as well.\").optional(),\n}).describe(\"Request schema for deleting a Modelry embed.\");\nexport const ModelryDeleteEmbedOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Result message returned by Modelry\").nullable().optional(),\n}).describe(\"Response schema after deleting a Modelry embed.\");\n\nexport const modelryDeleteEmbed = action(\"MODELRY_DELETE_EMBED\", {\n slug: \"modelry-delete-embed\",\n name: \"Delete Modelry Embed\",\n description: \"Tool to delete an embed. Tries multiple common endpoint patterns and treats 404 as idempotent success after exhausting candidates (embed already deleted or not found).\",\n input: ModelryDeleteEmbedInput,\n output: ModelryDeleteEmbedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-embed.cjs","names":["z","action"],"sources":["../../src/actions/delete-embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteEmbedInput = z.object({\n embedId: z.string().describe(\"ID of the embed to delete\"),\n workspaceId: z.string().describe(\"Optional workspace scope to try workspace-scoped deletion endpoints as well.\").optional(),\n}).describe(\"Request schema for deleting a Modelry embed.\");\nexport const ModelryDeleteEmbedOutput = z.object({\n message: z.string().describe(\"Result message returned by Modelry\").nullable().optional(),\n}).passthrough().describe(\"Response schema after deleting a Modelry embed.\");\n\nexport const modelryDeleteEmbed = action(\"MODELRY_DELETE_EMBED\", {\n slug: \"modelry-delete-embed\",\n name: \"Delete Modelry Embed\",\n description: \"Tool to delete an embed. Tries multiple common endpoint patterns and treats 404 as idempotent success after exhausting candidates (embed already deleted or not found).\",\n input: ModelryDeleteEmbedInput,\n output: ModelryDeleteEmbedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-embed.d.ts
4
- declare const ModelryDeleteEmbedInput: z.ZodTypeAny;
5
- declare const ModelryDeleteEmbedOutput: z.ZodTypeAny;
6
- declare const modelryDeleteEmbed: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ModelryDeleteEmbedInput: z.ZodObject<{
5
+ embedId: z.ZodString;
6
+ workspaceId: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const ModelryDeleteEmbedOutput: z.ZodObject<{
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
+ declare const modelryDeleteEmbed: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ embedId: string;
13
+ workspaceId?: string | undefined;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { modelryDeleteEmbed };
9
17
  //# sourceMappingURL=delete-embed.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-embed.d.cts","names":[],"sources":["../../src/actions/delete-embed.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGmB;AAAA,cAC9C,wBAAA,EAA0B,CAAA,CAAE,UAEqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-embed.d.cts","names":[],"sources":["../../src/actions/delete-embed.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-embed.d.ts
4
- declare const ModelryDeleteEmbedInput: z.ZodTypeAny;
5
- declare const ModelryDeleteEmbedOutput: z.ZodTypeAny;
6
- declare const modelryDeleteEmbed: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ModelryDeleteEmbedInput: z.ZodObject<{
5
+ embedId: z.ZodString;
6
+ workspaceId: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const ModelryDeleteEmbedOutput: z.ZodObject<{
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
+ declare const modelryDeleteEmbed: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ embedId: string;
13
+ workspaceId?: string | undefined;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { modelryDeleteEmbed };
9
17
  //# sourceMappingURL=delete-embed.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-embed.d.mts","names":[],"sources":["../../src/actions/delete-embed.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGmB;AAAA,cAC9C,wBAAA,EAA0B,CAAA,CAAE,UAEqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-embed.d.mts","names":[],"sources":["../../src/actions/delete-embed.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -8,7 +8,7 @@ const modelryDeleteEmbed = action("MODELRY_DELETE_EMBED", {
8
8
  embedId: z.string().describe("ID of the embed to delete"),
9
9
  workspaceId: z.string().describe("Optional workspace scope to try workspace-scoped deletion endpoints as well.").optional()
10
10
  }).describe("Request schema for deleting a Modelry embed."),
11
- output: z.object({ message: z.string().describe("Result message returned by Modelry").nullable().optional() }).describe("Response schema after deleting a Modelry embed.")
11
+ output: z.object({ message: z.string().describe("Result message returned by Modelry").nullable().optional() }).passthrough().describe("Response schema after deleting a Modelry embed.")
12
12
  });
13
13
  //#endregion
14
14
  export { modelryDeleteEmbed };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-embed.mjs","names":[],"sources":["../../src/actions/delete-embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteEmbedInput: z.ZodTypeAny = z.object({\n embedId: z.string().describe(\"ID of the embed to delete\"),\n workspaceId: z.string().describe(\"Optional workspace scope to try workspace-scoped deletion endpoints as well.\").optional(),\n}).describe(\"Request schema for deleting a Modelry embed.\");\nexport const ModelryDeleteEmbedOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Result message returned by Modelry\").nullable().optional(),\n}).describe(\"Response schema after deleting a Modelry embed.\");\n\nexport const modelryDeleteEmbed = action(\"MODELRY_DELETE_EMBED\", {\n slug: \"modelry-delete-embed\",\n name: \"Delete Modelry Embed\",\n description: \"Tool to delete an embed. Tries multiple common endpoint patterns and treats 404 as idempotent success after exhausting candidates (embed already deleted or not found).\",\n input: ModelryDeleteEmbedInput,\n output: ModelryDeleteEmbedOutput,\n});\n"],"mappings":";;AAYA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-embed.mjs","names":[],"sources":["../../src/actions/delete-embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteEmbedInput = z.object({\n embedId: z.string().describe(\"ID of the embed to delete\"),\n workspaceId: z.string().describe(\"Optional workspace scope to try workspace-scoped deletion endpoints as well.\").optional(),\n}).describe(\"Request schema for deleting a Modelry embed.\");\nexport const ModelryDeleteEmbedOutput = z.object({\n message: z.string().describe(\"Result message returned by Modelry\").nullable().optional(),\n}).passthrough().describe(\"Response schema after deleting a Modelry embed.\");\n\nexport const modelryDeleteEmbed = action(\"MODELRY_DELETE_EMBED\", {\n slug: \"modelry-delete-embed\",\n name: \"Delete Modelry Embed\",\n description: \"Tool to delete an embed. Tries multiple common endpoint patterns and treats 404 as idempotent success after exhausting candidates (embed already deleted or not found).\",\n input: ModelryDeleteEmbedInput,\n output: ModelryDeleteEmbedOutput,\n});\n"],"mappings":";;AAYA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqC,EAAE,OAAO;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,8CASH;CACP,QATsC,EAAE,OAAO,EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const ModelryDeleteProductRepositoryInput = zod.z.object({ repositoryId: zod.z.s
5
5
  const ModelryDeleteProductRepositoryOutput = zod.z.object({
6
6
  deleted: zod.z.boolean().default(false).describe("True if the repository was actually deleted, False if it was already deleted or not found.").nullable().optional(),
7
7
  message: zod.z.string().describe("Result message describing the deletion outcome. If the repository was not found, it is treated as already deleted (idempotent behavior).").nullable().optional()
8
- }).describe("Response schema after deleting a Modelry product repository.");
8
+ }).passthrough().describe("Response schema after deleting a Modelry product repository.");
9
9
  const modelryDeleteProductRepository = require_action.action("MODELRY_DELETE_PRODUCT_REPOSITORY", {
10
10
  slug: "modelry-delete-product-repository",
11
11
  name: "Delete Product Repository",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product-repository.cjs","names":["z","action"],"sources":["../../src/actions/delete-product-repository.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteProductRepositoryInput: z.ZodTypeAny = z.object({\n repositoryId: z.string().describe(\"The unique identifier of the product repository to delete. Can be obtained from the list product repositories action.\"),\n}).describe(\"Request schema for deleting a Modelry product repository.\");\nexport const ModelryDeleteProductRepositoryOutput: z.ZodTypeAny = z.object({\n deleted: z.boolean().default(false).describe(\"True if the repository was actually deleted, False if it was already deleted or not found.\").nullable().optional(),\n message: z.string().describe(\"Result message describing the deletion outcome. If the repository was not found, it is treated as already deleted (idempotent behavior).\").nullable().optional(),\n}).describe(\"Response schema after deleting a Modelry product repository.\");\n\nexport const modelryDeleteProductRepository = action(\"MODELRY_DELETE_PRODUCT_REPOSITORY\", {\n slug: \"modelry-delete-product-repository\",\n name: \"Delete Product Repository\",\n description: \"Permanently delete a product repository from Modelry. This action is idempotent - deleting a non-existent repository returns success. Use the list product repositories action first to get valid repository IDs.\",\n input: ModelryDeleteProductRepositoryInput,\n output: ModelryDeleteProductRepositoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EAC3J,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/L,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-product-repository.cjs","names":["z","action"],"sources":["../../src/actions/delete-product-repository.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteProductRepositoryInput = z.object({\n repositoryId: z.string().describe(\"The unique identifier of the product repository to delete. Can be obtained from the list product repositories action.\"),\n}).describe(\"Request schema for deleting a Modelry product repository.\");\nexport const ModelryDeleteProductRepositoryOutput = z.object({\n deleted: z.boolean().default(false).describe(\"True if the repository was actually deleted, False if it was already deleted or not found.\").nullable().optional(),\n message: z.string().describe(\"Result message describing the deletion outcome. If the repository was not found, it is treated as already deleted (idempotent behavior).\").nullable().optional(),\n}).passthrough().describe(\"Response schema after deleting a Modelry product repository.\");\n\nexport const modelryDeleteProductRepository = action(\"MODELRY_DELETE_PRODUCT_REPOSITORY\", {\n slug: \"modelry-delete-product-repository\",\n name: \"Delete Product Repository\",\n description: \"Permanently delete a product repository from Modelry. This action is idempotent - deleting a non-existent repository returns success. Use the list product repositories action first to get valid repository IDs.\",\n input: ModelryDeleteProductRepositoryInput,\n output: ModelryDeleteProductRepositoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EAC3J,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,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-product-repository.d.ts
4
- declare const ModelryDeleteProductRepositoryInput: z.ZodTypeAny;
5
- declare const ModelryDeleteProductRepositoryOutput: z.ZodTypeAny;
6
- declare const modelryDeleteProductRepository: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ModelryDeleteProductRepositoryInput: z.ZodObject<{
5
+ repositoryId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ModelryDeleteProductRepositoryOutput: z.ZodObject<{
8
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
+ declare const modelryDeleteProductRepository: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ repositoryId: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { modelryDeleteProductRepository };
9
16
  //# sourceMappingURL=delete-product-repository.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product-repository.d.cts","names":[],"sources":["../../src/actions/delete-product-repository.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEoB;AAAA,cAC3D,oCAAA,EAAsC,CAAA,CAAE,UAGsB;AAAA,cAE9D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-product-repository.d.cts","names":[],"sources":["../../src/actions/delete-product-repository.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-product-repository.d.ts
4
- declare const ModelryDeleteProductRepositoryInput: z.ZodTypeAny;
5
- declare const ModelryDeleteProductRepositoryOutput: z.ZodTypeAny;
6
- declare const modelryDeleteProductRepository: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ModelryDeleteProductRepositoryInput: z.ZodObject<{
5
+ repositoryId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ModelryDeleteProductRepositoryOutput: z.ZodObject<{
8
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
+ declare const modelryDeleteProductRepository: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ repositoryId: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { modelryDeleteProductRepository };
9
16
  //# sourceMappingURL=delete-product-repository.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product-repository.d.mts","names":[],"sources":["../../src/actions/delete-product-repository.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEoB;AAAA,cAC3D,oCAAA,EAAsC,CAAA,CAAE,UAGsB;AAAA,cAE9D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-product-repository.d.mts","names":[],"sources":["../../src/actions/delete-product-repository.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
@@ -8,7 +8,7 @@ const modelryDeleteProductRepository = action("MODELRY_DELETE_PRODUCT_REPOSITORY
8
8
  output: z.object({
9
9
  deleted: z.boolean().default(false).describe("True if the repository was actually deleted, False if it was already deleted or not found.").nullable().optional(),
10
10
  message: z.string().describe("Result message describing the deletion outcome. If the repository was not found, it is treated as already deleted (idempotent behavior).").nullable().optional()
11
- }).describe("Response schema after deleting a Modelry product repository.")
11
+ }).passthrough().describe("Response schema after deleting a Modelry product repository.")
12
12
  });
13
13
  //#endregion
14
14
  export { modelryDeleteProductRepository };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product-repository.mjs","names":[],"sources":["../../src/actions/delete-product-repository.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteProductRepositoryInput: z.ZodTypeAny = z.object({\n repositoryId: z.string().describe(\"The unique identifier of the product repository to delete. Can be obtained from the list product repositories action.\"),\n}).describe(\"Request schema for deleting a Modelry product repository.\");\nexport const ModelryDeleteProductRepositoryOutput: z.ZodTypeAny = z.object({\n deleted: z.boolean().default(false).describe(\"True if the repository was actually deleted, False if it was already deleted or not found.\").nullable().optional(),\n message: z.string().describe(\"Result message describing the deletion outcome. If the repository was not found, it is treated as already deleted (idempotent behavior).\").nullable().optional(),\n}).describe(\"Response schema after deleting a Modelry product repository.\");\n\nexport const modelryDeleteProductRepository = action(\"MODELRY_DELETE_PRODUCT_REPOSITORY\", {\n slug: \"modelry-delete-product-repository\",\n name: \"Delete Product Repository\",\n description: \"Permanently delete a product repository from Modelry. This action is idempotent - deleting a non-existent repository returns success. Use the list product repositories action first to get valid repository IDs.\",\n input: ModelryDeleteProductRepositoryInput,\n output: ModelryDeleteProductRepositoryOutput,\n});\n"],"mappings":";;AAYA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+D,EAAE,OAAO,EACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EAC3J,CAAC,CAAC,CAAC,SAAS,2DAUH;CACP,QAVgE,EAAE,OAAO;EACzE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/L,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-product-repository.mjs","names":[],"sources":["../../src/actions/delete-product-repository.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteProductRepositoryInput = z.object({\n repositoryId: z.string().describe(\"The unique identifier of the product repository to delete. Can be obtained from the list product repositories action.\"),\n}).describe(\"Request schema for deleting a Modelry product repository.\");\nexport const ModelryDeleteProductRepositoryOutput = z.object({\n deleted: z.boolean().default(false).describe(\"True if the repository was actually deleted, False if it was already deleted or not found.\").nullable().optional(),\n message: z.string().describe(\"Result message describing the deletion outcome. If the repository was not found, it is treated as already deleted (idempotent behavior).\").nullable().optional(),\n}).passthrough().describe(\"Response schema after deleting a Modelry product repository.\");\n\nexport const modelryDeleteProductRepository = action(\"MODELRY_DELETE_PRODUCT_REPOSITORY\", {\n slug: \"modelry-delete-product-repository\",\n name: \"Delete Product Repository\",\n description: \"Permanently delete a product repository from Modelry. This action is idempotent - deleting a non-existent repository returns success. Use the list product repositories action first to get valid repository IDs.\",\n input: ModelryDeleteProductRepositoryInput,\n output: ModelryDeleteProductRepositoryOutput,\n});\n"],"mappings":";;AAYA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZiD,EAAE,OAAO,EAC1D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EAC3J,CAAC,CAAC,CAAC,SAAS,2DAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const ModelryDeleteProductInput = zod.z.object({ productId: zod.z.string().descr
5
5
  const ModelryDeleteProductOutput = zod.z.object({
6
6
  deleted: zod.z.boolean().default(true).describe("Indicates whether the product was successfully deleted or was already deleted (idempotent).").nullable().optional(),
7
7
  message: zod.z.string().describe("Status message indicating the result of the deletion. May be None on successful deletion with no content.").nullable().optional()
8
- }).describe("Response schema after deleting a Modelry product.");
8
+ }).passthrough().describe("Response schema after deleting a Modelry product.");
9
9
  const modelryDeleteProduct = require_action.action("MODELRY_DELETE_PRODUCT", {
10
10
  slug: "modelry-delete-product",
11
11
  name: "Delete Modelry Product",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteProductInput: z.ZodTypeAny = z.object({\n productId: z.string().describe(\"The unique identifier of the product to delete. Obtain this ID from MODELRY_LIST_PRODUCTS.\"),\n}).describe(\"Request schema for deleting a Modelry product.\");\nexport const ModelryDeleteProductOutput: z.ZodTypeAny = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the product was successfully deleted or was already deleted (idempotent).\").nullable().optional(),\n message: z.string().describe(\"Status message indicating the result of the deletion. May be None on successful deletion with no content.\").nullable().optional(),\n}).describe(\"Response schema after deleting a Modelry product.\");\n\nexport const modelryDeleteProduct = action(\"MODELRY_DELETE_PRODUCT\", {\n slug: \"modelry-delete-product\",\n name: \"Delete Modelry Product\",\n description: \"Permanently deletes a product from Modelry by its ID. Use this action to remove a product that is no longer needed. This operation is idempotent - deleting an already-deleted product will succeed without error. Prerequisites: - Obtain the product ID using MODELRY_LIST_PRODUCTS first - Ensure you have delete permissions for the product WARNING: This action is destructive and cannot be undone.\",\n input: ModelryDeleteProductInput,\n output: ModelryDeleteProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC7H,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteProductInput = z.object({\n productId: z.string().describe(\"The unique identifier of the product to delete. Obtain this ID from MODELRY_LIST_PRODUCTS.\"),\n}).describe(\"Request schema for deleting a Modelry product.\");\nexport const ModelryDeleteProductOutput = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the product was successfully deleted or was already deleted (idempotent).\").nullable().optional(),\n message: z.string().describe(\"Status message indicating the result of the deletion. May be None on successful deletion with no content.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after deleting a Modelry product.\");\n\nexport const modelryDeleteProduct = action(\"MODELRY_DELETE_PRODUCT\", {\n slug: \"modelry-delete-product\",\n name: \"Delete Modelry Product\",\n description: \"Permanently deletes a product from Modelry by its ID. Use this action to remove a product that is no longer needed. This operation is idempotent - deleting an already-deleted product will succeed without error. Prerequisites: - Obtain the product ID using MODELRY_LIST_PRODUCTS first - Ensure you have delete permissions for the product WARNING: This action is destructive and cannot be undone.\",\n input: ModelryDeleteProductInput,\n output: ModelryDeleteProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC7H,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,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-product.d.ts
4
- declare const ModelryDeleteProductInput: z.ZodTypeAny;
5
- declare const ModelryDeleteProductOutput: z.ZodTypeAny;
6
- declare const modelryDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ModelryDeleteProductInput: z.ZodObject<{
5
+ productId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ModelryDeleteProductOutput: z.ZodObject<{
8
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
+ declare const modelryDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ productId: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { modelryDeleteProduct };
9
16
  //# sourceMappingURL=delete-product.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product.d.cts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEmB;AAAA,cAChD,0BAAA,EAA4B,CAAA,CAAE,UAGqB;AAAA,cAEnD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-product.d.cts","names":[],"sources":["../../src/actions/delete-product.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-product.d.ts
4
- declare const ModelryDeleteProductInput: z.ZodTypeAny;
5
- declare const ModelryDeleteProductOutput: z.ZodTypeAny;
6
- declare const modelryDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ModelryDeleteProductInput: z.ZodObject<{
5
+ productId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ModelryDeleteProductOutput: z.ZodObject<{
8
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
+ declare const modelryDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ productId: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { modelryDeleteProduct };
9
16
  //# sourceMappingURL=delete-product.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product.d.mts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEmB;AAAA,cAChD,0BAAA,EAA4B,CAAA,CAAE,UAGqB;AAAA,cAEnD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-product.d.mts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -8,7 +8,7 @@ const modelryDeleteProduct = action("MODELRY_DELETE_PRODUCT", {
8
8
  output: z.object({
9
9
  deleted: z.boolean().default(true).describe("Indicates whether the product was successfully deleted or was already deleted (idempotent).").nullable().optional(),
10
10
  message: z.string().describe("Status message indicating the result of the deletion. May be None on successful deletion with no content.").nullable().optional()
11
- }).describe("Response schema after deleting a Modelry product.")
11
+ }).passthrough().describe("Response schema after deleting a Modelry product.")
12
12
  });
13
13
  //#endregion
14
14
  export { modelryDeleteProduct };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteProductInput: z.ZodTypeAny = z.object({\n productId: z.string().describe(\"The unique identifier of the product to delete. Obtain this ID from MODELRY_LIST_PRODUCTS.\"),\n}).describe(\"Request schema for deleting a Modelry product.\");\nexport const ModelryDeleteProductOutput: z.ZodTypeAny = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the product was successfully deleted or was already deleted (idempotent).\").nullable().optional(),\n message: z.string().describe(\"Status message indicating the result of the deletion. May be None on successful deletion with no content.\").nullable().optional(),\n}).describe(\"Response schema after deleting a Modelry product.\");\n\nexport const modelryDeleteProduct = action(\"MODELRY_DELETE_PRODUCT\", {\n slug: \"modelry-delete-product\",\n name: \"Delete Modelry Product\",\n description: \"Permanently deletes a product from Modelry by its ID. Use this action to remove a product that is no longer needed. This operation is idempotent - deleting an already-deleted product will succeed without error. Prerequisites: - Obtain the product ID using MODELRY_LIST_PRODUCTS first - Ensure you have delete permissions for the product WARNING: This action is destructive and cannot be undone.\",\n input: ModelryDeleteProductInput,\n output: ModelryDeleteProductOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqD,EAAE,OAAO,EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC7H,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAVsD,EAAE,OAAO;EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteProductInput = z.object({\n productId: z.string().describe(\"The unique identifier of the product to delete. Obtain this ID from MODELRY_LIST_PRODUCTS.\"),\n}).describe(\"Request schema for deleting a Modelry product.\");\nexport const ModelryDeleteProductOutput = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the product was successfully deleted or was already deleted (idempotent).\").nullable().optional(),\n message: z.string().describe(\"Status message indicating the result of the deletion. May be None on successful deletion with no content.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after deleting a Modelry product.\");\n\nexport const modelryDeleteProduct = action(\"MODELRY_DELETE_PRODUCT\", {\n slug: \"modelry-delete-product\",\n name: \"Delete Modelry Product\",\n description: \"Permanently deletes a product from Modelry by its ID. Use this action to remove a product that is no longer needed. This operation is idempotent - deleting an already-deleted product will succeed without error. Prerequisites: - Obtain the product ID using MODELRY_LIST_PRODUCTS first - Ensure you have delete permissions for the product WARNING: This action is destructive and cannot be undone.\",\n input: ModelryDeleteProductInput,\n output: ModelryDeleteProductOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,EAC7H,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const ModelryDeleteWorkspaceInput = zod.z.object({ workspaceId: zod.z.string().d
5
5
  const ModelryDeleteWorkspaceOutput = zod.z.object({
6
6
  deleted: zod.z.boolean().default(true).describe("Indicates the workspace was successfully deleted or did not exist (idempotent success).").nullable().optional(),
7
7
  message: zod.z.string().describe("Status message indicating the result of the delete operation. May be null for successful deletions with no additional information.").nullable().optional()
8
- }).describe("Response schema after deleting a Modelry workspace.");
8
+ }).passthrough().describe("Response schema after deleting a Modelry workspace.");
9
9
  const modelryDeleteWorkspace = require_action.action("MODELRY_DELETE_WORKSPACE", {
10
10
  slug: "modelry-delete-workspace",
11
11
  name: "Delete Modelry Workspace",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-workspace.cjs","names":["z","action"],"sources":["../../src/actions/delete-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteWorkspaceInput: z.ZodTypeAny = z.object({\n workspaceId: z.string().describe(\"The unique identifier of the workspace to delete. Can be obtained from the list workspaces action.\"),\n}).describe(\"Request schema for deleting a Modelry workspace.\");\nexport const ModelryDeleteWorkspaceOutput: z.ZodTypeAny = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates the workspace was successfully deleted or did not exist (idempotent success).\").nullable().optional(),\n message: z.string().describe(\"Status message indicating the result of the delete operation. May be null for successful deletions with no additional information.\").nullable().optional(),\n}).describe(\"Response schema after deleting a Modelry workspace.\");\n\nexport const modelryDeleteWorkspace = action(\"MODELRY_DELETE_WORKSPACE\", {\n slug: \"modelry-delete-workspace\",\n name: \"Delete Modelry Workspace\",\n description: \"Permanently deletes a Modelry workspace. This action is idempotent - deleting a non-existent workspace will return success. Use the list workspaces action first to get valid workspace IDs. WARNING: This is a destructive action that cannot be undone.\",\n input: ModelryDeleteWorkspaceInput,\n output: ModelryDeleteWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACvI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzL,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-workspace.cjs","names":["z","action"],"sources":["../../src/actions/delete-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteWorkspaceInput = z.object({\n workspaceId: z.string().describe(\"The unique identifier of the workspace to delete. Can be obtained from the list workspaces action.\"),\n}).describe(\"Request schema for deleting a Modelry workspace.\");\nexport const ModelryDeleteWorkspaceOutput = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates the workspace was successfully deleted or did not exist (idempotent success).\").nullable().optional(),\n message: z.string().describe(\"Status message indicating the result of the delete operation. May be null for successful deletions with no additional information.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after deleting a Modelry workspace.\");\n\nexport const modelryDeleteWorkspace = action(\"MODELRY_DELETE_WORKSPACE\", {\n slug: \"modelry-delete-workspace\",\n name: \"Delete Modelry Workspace\",\n description: \"Permanently deletes a Modelry workspace. This action is idempotent - deleting a non-existent workspace will return success. Use the list workspaces action first to get valid workspace IDs. WARNING: This is a destructive action that cannot be undone.\",\n input: ModelryDeleteWorkspaceInput,\n output: ModelryDeleteWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACvI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,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-workspace.d.ts
4
- declare const ModelryDeleteWorkspaceInput: z.ZodTypeAny;
5
- declare const ModelryDeleteWorkspaceOutput: z.ZodTypeAny;
6
- declare const modelryDeleteWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ModelryDeleteWorkspaceInput: z.ZodObject<{
5
+ workspaceId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ModelryDeleteWorkspaceOutput: z.ZodObject<{
8
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
+ declare const modelryDeleteWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ workspaceId: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { modelryDeleteWorkspace };
9
16
  //# sourceMappingURL=delete-workspace.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-workspace.d.cts","names":[],"sources":["../../src/actions/delete-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEmB;AAAA,cAClD,4BAAA,EAA8B,CAAA,CAAE,UAGqB;AAAA,cAErD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-workspace.d.cts","names":[],"sources":["../../src/actions/delete-workspace.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-workspace.d.ts
4
- declare const ModelryDeleteWorkspaceInput: z.ZodTypeAny;
5
- declare const ModelryDeleteWorkspaceOutput: z.ZodTypeAny;
6
- declare const modelryDeleteWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ModelryDeleteWorkspaceInput: z.ZodObject<{
5
+ workspaceId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ModelryDeleteWorkspaceOutput: z.ZodObject<{
8
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
+ declare const modelryDeleteWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ workspaceId: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { modelryDeleteWorkspace };
9
16
  //# sourceMappingURL=delete-workspace.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-workspace.d.mts","names":[],"sources":["../../src/actions/delete-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEmB;AAAA,cAClD,4BAAA,EAA8B,CAAA,CAAE,UAGqB;AAAA,cAErD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-workspace.d.mts","names":[],"sources":["../../src/actions/delete-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -8,7 +8,7 @@ const modelryDeleteWorkspace = action("MODELRY_DELETE_WORKSPACE", {
8
8
  output: z.object({
9
9
  deleted: z.boolean().default(true).describe("Indicates the workspace was successfully deleted or did not exist (idempotent success).").nullable().optional(),
10
10
  message: z.string().describe("Status message indicating the result of the delete operation. May be null for successful deletions with no additional information.").nullable().optional()
11
- }).describe("Response schema after deleting a Modelry workspace.")
11
+ }).passthrough().describe("Response schema after deleting a Modelry workspace.")
12
12
  });
13
13
  //#endregion
14
14
  export { modelryDeleteWorkspace };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-workspace.mjs","names":[],"sources":["../../src/actions/delete-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteWorkspaceInput: z.ZodTypeAny = z.object({\n workspaceId: z.string().describe(\"The unique identifier of the workspace to delete. Can be obtained from the list workspaces action.\"),\n}).describe(\"Request schema for deleting a Modelry workspace.\");\nexport const ModelryDeleteWorkspaceOutput: z.ZodTypeAny = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates the workspace was successfully deleted or did not exist (idempotent success).\").nullable().optional(),\n message: z.string().describe(\"Status message indicating the result of the delete operation. May be null for successful deletions with no additional information.\").nullable().optional(),\n}).describe(\"Response schema after deleting a Modelry workspace.\");\n\nexport const modelryDeleteWorkspace = action(\"MODELRY_DELETE_WORKSPACE\", {\n slug: \"modelry-delete-workspace\",\n name: \"Delete Modelry Workspace\",\n description: \"Permanently deletes a Modelry workspace. This action is idempotent - deleting a non-existent workspace will return success. Use the list workspaces action first to get valid workspace IDs. WARNING: This is a destructive action that cannot be undone.\",\n input: ModelryDeleteWorkspaceInput,\n output: ModelryDeleteWorkspaceOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuD,EAAE,OAAO,EAChE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACvI,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAVwD,EAAE,OAAO;EACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzL,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-workspace.mjs","names":[],"sources":["../../src/actions/delete-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryDeleteWorkspaceInput = z.object({\n workspaceId: z.string().describe(\"The unique identifier of the workspace to delete. Can be obtained from the list workspaces action.\"),\n}).describe(\"Request schema for deleting a Modelry workspace.\");\nexport const ModelryDeleteWorkspaceOutput = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates the workspace was successfully deleted or did not exist (idempotent success).\").nullable().optional(),\n message: z.string().describe(\"Status message indicating the result of the delete operation. May be null for successful deletions with no additional information.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after deleting a Modelry workspace.\");\n\nexport const modelryDeleteWorkspace = action(\"MODELRY_DELETE_WORKSPACE\", {\n slug: \"modelry-delete-workspace\",\n name: \"Delete Modelry Workspace\",\n description: \"Permanently deletes a Modelry workspace. This action is idempotent - deleting a non-existent workspace will return success. Use the list workspaces action first to get valid workspace IDs. WARNING: This is a destructive action that cannot be undone.\",\n input: ModelryDeleteWorkspaceInput,\n output: ModelryDeleteWorkspaceOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACvI,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/get-embed.ts
4
4
  const ModelryGetEmbedInput = zod.z.object({ embed_id: zod.z.string().describe("Unique identifier of the Modelry embed (3D viewer/AR experience) to retrieve. Obtain valid IDs from MODELRY_LIST_EMBEDS first.") }).describe("Parameters for retrieving a specific Modelry embed (3D viewer or AR experience).");
5
5
  const ModelryGetEmbedOutput = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier of the embed"),
6
+ id: zod.z.string().describe("Unique identifier of the embed").nullable(),
7
7
  name: zod.z.string().describe("Human-readable name of the embed").nullable().optional(),
8
8
  type: zod.z.string().describe("Type of embed (e.g., '3d_viewer', 'ar_viewer', '360_spinner')").nullable().optional(),
9
9
  status: zod.z.string().describe("Status of the embed (e.g., 'active', 'draft', 'published')").nullable().optional(),
@@ -12,7 +12,7 @@ const ModelryGetEmbedOutput = zod.z.object({
12
12
  productId: zod.z.string().describe("Identifier of the 3D product associated with this embed").nullable().optional(),
13
13
  updatedAt: zod.z.string().describe("Last update timestamp in ISO 8601 format").nullable().optional(),
14
14
  workspaceId: zod.z.string().describe("Identifier of the workspace containing this embed").nullable().optional()
15
- }).describe("Response schema for Modelry embed details (3D viewer/AR experience).");
15
+ }).passthrough().describe("Response schema for Modelry embed details (3D viewer/AR experience).");
16
16
  const modelryGetEmbed = require_action.action("MODELRY_GET_EMBED", {
17
17
  slug: "modelry-get-embed",
18
18
  name: "Get Embed",