@keystrokehq/modelry 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-workspace.cjs +26 -0
- package/dist/actions/create-workspace.cjs.map +1 -0
- package/dist/actions/create-workspace.d.cts +9 -0
- package/dist/actions/create-workspace.d.cts.map +1 -0
- package/dist/actions/create-workspace.d.mts +9 -0
- package/dist/actions/create-workspace.d.mts.map +1 -0
- package/dist/actions/create-workspace.mjs +23 -0
- package/dist/actions/create-workspace.mjs.map +1 -0
- package/dist/actions/delete-embed.cjs +19 -0
- package/dist/actions/delete-embed.cjs.map +1 -0
- package/dist/actions/delete-embed.d.cts +9 -0
- package/dist/actions/delete-embed.d.cts.map +1 -0
- package/dist/actions/delete-embed.d.mts +9 -0
- package/dist/actions/delete-embed.d.mts.map +1 -0
- package/dist/actions/delete-embed.mjs +16 -0
- package/dist/actions/delete-embed.mjs.map +1 -0
- package/dist/actions/delete-product-repository.cjs +19 -0
- package/dist/actions/delete-product-repository.cjs.map +1 -0
- package/dist/actions/delete-product-repository.d.cts +9 -0
- package/dist/actions/delete-product-repository.d.cts.map +1 -0
- package/dist/actions/delete-product-repository.d.mts +9 -0
- package/dist/actions/delete-product-repository.d.mts.map +1 -0
- package/dist/actions/delete-product-repository.mjs +16 -0
- package/dist/actions/delete-product-repository.mjs.map +1 -0
- package/dist/actions/delete-product.cjs +19 -0
- package/dist/actions/delete-product.cjs.map +1 -0
- package/dist/actions/delete-product.d.cts +9 -0
- package/dist/actions/delete-product.d.cts.map +1 -0
- package/dist/actions/delete-product.d.mts +9 -0
- package/dist/actions/delete-product.d.mts.map +1 -0
- package/dist/actions/delete-product.mjs +16 -0
- package/dist/actions/delete-product.mjs.map +1 -0
- package/dist/actions/delete-workspace.cjs +19 -0
- package/dist/actions/delete-workspace.cjs.map +1 -0
- package/dist/actions/delete-workspace.d.cts +9 -0
- package/dist/actions/delete-workspace.d.cts.map +1 -0
- package/dist/actions/delete-workspace.d.mts +9 -0
- package/dist/actions/delete-workspace.d.mts.map +1 -0
- package/dist/actions/delete-workspace.mjs +16 -0
- package/dist/actions/delete-workspace.mjs.map +1 -0
- package/dist/actions/get-embed.cjs +26 -0
- package/dist/actions/get-embed.cjs.map +1 -0
- package/dist/actions/get-embed.d.cts +9 -0
- package/dist/actions/get-embed.d.cts.map +1 -0
- package/dist/actions/get-embed.d.mts +9 -0
- package/dist/actions/get-embed.d.mts.map +1 -0
- package/dist/actions/get-embed.mjs +23 -0
- package/dist/actions/get-embed.mjs.map +1 -0
- package/dist/actions/get-workspace.cjs +23 -0
- package/dist/actions/get-workspace.cjs.map +1 -0
- package/dist/actions/get-workspace.d.cts +9 -0
- package/dist/actions/get-workspace.d.cts.map +1 -0
- package/dist/actions/get-workspace.d.mts +9 -0
- package/dist/actions/get-workspace.d.mts.map +1 -0
- package/dist/actions/get-workspace.mjs +20 -0
- package/dist/actions/get-workspace.mjs.map +1 -0
- package/dist/actions/index.cjs +29 -0
- package/dist/actions/index.d.cts +15 -0
- package/dist/actions/index.d.mts +15 -0
- package/dist/actions/index.mjs +15 -0
- package/dist/actions/list-embeds.cjs +35 -0
- package/dist/actions/list-embeds.cjs.map +1 -0
- package/dist/actions/list-embeds.d.cts +9 -0
- package/dist/actions/list-embeds.d.cts.map +1 -0
- package/dist/actions/list-embeds.d.mts +9 -0
- package/dist/actions/list-embeds.d.mts.map +1 -0
- package/dist/actions/list-embeds.mjs +34 -0
- package/dist/actions/list-embeds.mjs.map +1 -0
- package/dist/actions/list-modeling-requests.cjs +34 -0
- package/dist/actions/list-modeling-requests.cjs.map +1 -0
- package/dist/actions/list-modeling-requests.d.cts +9 -0
- package/dist/actions/list-modeling-requests.d.cts.map +1 -0
- package/dist/actions/list-modeling-requests.d.mts +9 -0
- package/dist/actions/list-modeling-requests.d.mts.map +1 -0
- package/dist/actions/list-modeling-requests.mjs +33 -0
- package/dist/actions/list-modeling-requests.mjs.map +1 -0
- package/dist/actions/list-product-repositories.cjs +32 -0
- package/dist/actions/list-product-repositories.cjs.map +1 -0
- package/dist/actions/list-product-repositories.d.cts +9 -0
- package/dist/actions/list-product-repositories.d.cts.map +1 -0
- package/dist/actions/list-product-repositories.d.mts +9 -0
- package/dist/actions/list-product-repositories.d.mts.map +1 -0
- package/dist/actions/list-product-repositories.mjs +31 -0
- package/dist/actions/list-product-repositories.mjs.map +1 -0
- package/dist/actions/list-products.cjs +34 -0
- package/dist/actions/list-products.cjs.map +1 -0
- package/dist/actions/list-products.d.cts +9 -0
- package/dist/actions/list-products.d.cts.map +1 -0
- package/dist/actions/list-products.d.mts +9 -0
- package/dist/actions/list-products.d.mts.map +1 -0
- package/dist/actions/list-products.mjs +33 -0
- package/dist/actions/list-products.mjs.map +1 -0
- package/dist/actions/list-workspaces.cjs +32 -0
- package/dist/actions/list-workspaces.cjs.map +1 -0
- package/dist/actions/list-workspaces.d.cts +9 -0
- package/dist/actions/list-workspaces.d.cts.map +1 -0
- package/dist/actions/list-workspaces.d.mts +9 -0
- package/dist/actions/list-workspaces.d.mts.map +1 -0
- package/dist/actions/list-workspaces.mjs +31 -0
- package/dist/actions/list-workspaces.mjs.map +1 -0
- package/dist/actions/order-modeling-service.cjs +35 -0
- package/dist/actions/order-modeling-service.cjs.map +1 -0
- package/dist/actions/order-modeling-service.d.cts +9 -0
- package/dist/actions/order-modeling-service.d.cts.map +1 -0
- package/dist/actions/order-modeling-service.d.mts +9 -0
- package/dist/actions/order-modeling-service.d.mts.map +1 -0
- package/dist/actions/order-modeling-service.mjs +32 -0
- package/dist/actions/order-modeling-service.mjs.map +1 -0
- package/dist/actions/track-modeling-progress.cjs +28 -0
- package/dist/actions/track-modeling-progress.cjs.map +1 -0
- package/dist/actions/track-modeling-progress.d.cts +9 -0
- package/dist/actions/track-modeling-progress.d.cts.map +1 -0
- package/dist/actions/track-modeling-progress.d.mts +9 -0
- package/dist/actions/track-modeling-progress.d.mts.map +1 -0
- package/dist/actions/track-modeling-progress.mjs +25 -0
- package/dist/actions/track-modeling-progress.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +34 -0
- package/dist/index.d.cts +17 -0
- package/dist/index.d.mts +17 -0
- package/dist/index.mjs +18 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/modelry
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `modelry`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 14
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { modelryCreateWorkspace } from "@keystrokehq/modelry/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "modelry-agent",
|
|
15
|
+
tools: [modelryCreateWorkspace],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.modelry.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeModelryTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +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"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { modelry } from "./app.mjs";
|
|
2
|
+
import { executeModelryTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return modelry.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeModelryTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-workspace.ts
|
|
4
|
+
const ModelryCreateWorkspaceInput = zod.z.object({
|
|
5
|
+
name: zod.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."),
|
|
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
|
+
}).describe("Request parameters for creating or retrieving a workspace in Modelry.");
|
|
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"),
|
|
11
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when the workspace was created").nullable().optional(),
|
|
12
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the workspace was last updated").nullable().optional(),
|
|
13
|
+
description: zod.z.string().describe("Description of the workspace, if available").nullable().optional(),
|
|
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.");
|
|
16
|
+
const modelryCreateWorkspace = require_action.action("MODELRY_CREATE_WORKSPACE", {
|
|
17
|
+
slug: "modelry-create-workspace",
|
|
18
|
+
name: "Create Workspace",
|
|
19
|
+
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.",
|
|
20
|
+
input: ModelryCreateWorkspaceInput,
|
|
21
|
+
output: ModelryCreateWorkspaceOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.modelryCreateWorkspace = modelryCreateWorkspace;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=create-workspace.cjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryCreateWorkspace };
|
|
9
|
+
//# sourceMappingURL=create-workspace.d.cts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryCreateWorkspace };
|
|
9
|
+
//# sourceMappingURL=create-workspace.d.mts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const modelryCreateWorkspace = action("MODELRY_CREATE_WORKSPACE", {
|
|
4
|
+
slug: "modelry-create-workspace",
|
|
5
|
+
name: "Create Workspace",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
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."),
|
|
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
|
+
}).describe("Request parameters for creating or retrieving a workspace in Modelry."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.string().describe("Unique identifier of the workspace"),
|
|
13
|
+
name: z.string().describe("Name of the workspace"),
|
|
14
|
+
createdAt: z.string().describe("ISO 8601 timestamp when the workspace was created").nullable().optional(),
|
|
15
|
+
updatedAt: z.string().describe("ISO 8601 timestamp when the workspace was last updated").nullable().optional(),
|
|
16
|
+
description: z.string().describe("Description of the workspace, if available").nullable().optional(),
|
|
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.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { modelryCreateWorkspace };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=create-workspace.mjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-embed.ts
|
|
4
|
+
const ModelryDeleteEmbedInput = zod.z.object({
|
|
5
|
+
embedId: zod.z.string().describe("ID of the embed to delete"),
|
|
6
|
+
workspaceId: zod.z.string().describe("Optional workspace scope to try workspace-scoped deletion endpoints as well.").optional()
|
|
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.");
|
|
9
|
+
const modelryDeleteEmbed = require_action.action("MODELRY_DELETE_EMBED", {
|
|
10
|
+
slug: "modelry-delete-embed",
|
|
11
|
+
name: "Delete Modelry Embed",
|
|
12
|
+
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).",
|
|
13
|
+
input: ModelryDeleteEmbedInput,
|
|
14
|
+
output: ModelryDeleteEmbedOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.modelryDeleteEmbed = modelryDeleteEmbed;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-embed.cjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryDeleteEmbed };
|
|
9
|
+
//# sourceMappingURL=delete-embed.d.cts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryDeleteEmbed };
|
|
9
|
+
//# sourceMappingURL=delete-embed.d.mts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const modelryDeleteEmbed = action("MODELRY_DELETE_EMBED", {
|
|
4
|
+
slug: "modelry-delete-embed",
|
|
5
|
+
name: "Delete Modelry Embed",
|
|
6
|
+
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).",
|
|
7
|
+
input: z.object({
|
|
8
|
+
embedId: z.string().describe("ID of the embed to delete"),
|
|
9
|
+
workspaceId: z.string().describe("Optional workspace scope to try workspace-scoped deletion endpoints as well.").optional()
|
|
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.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { modelryDeleteEmbed };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-embed.mjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-product-repository.ts
|
|
4
|
+
const ModelryDeleteProductRepositoryInput = zod.z.object({ repositoryId: zod.z.string().describe("The unique identifier of the product repository to delete. Can be obtained from the list product repositories action.") }).describe("Request schema for deleting a Modelry product repository.");
|
|
5
|
+
const ModelryDeleteProductRepositoryOutput = zod.z.object({
|
|
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
|
+
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.");
|
|
9
|
+
const modelryDeleteProductRepository = require_action.action("MODELRY_DELETE_PRODUCT_REPOSITORY", {
|
|
10
|
+
slug: "modelry-delete-product-repository",
|
|
11
|
+
name: "Delete Product Repository",
|
|
12
|
+
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.",
|
|
13
|
+
input: ModelryDeleteProductRepositoryInput,
|
|
14
|
+
output: ModelryDeleteProductRepositoryOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.modelryDeleteProductRepository = modelryDeleteProductRepository;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-product-repository.cjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryDeleteProductRepository };
|
|
9
|
+
//# sourceMappingURL=delete-product-repository.d.cts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryDeleteProductRepository };
|
|
9
|
+
//# sourceMappingURL=delete-product-repository.d.mts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const modelryDeleteProductRepository = action("MODELRY_DELETE_PRODUCT_REPOSITORY", {
|
|
4
|
+
slug: "modelry-delete-product-repository",
|
|
5
|
+
name: "Delete Product Repository",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({ repositoryId: z.string().describe("The unique identifier of the product repository to delete. Can be obtained from the list product repositories action.") }).describe("Request schema for deleting a Modelry product repository."),
|
|
8
|
+
output: z.object({
|
|
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
|
+
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.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { modelryDeleteProductRepository };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-product-repository.mjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-product.ts
|
|
4
|
+
const ModelryDeleteProductInput = zod.z.object({ productId: zod.z.string().describe("The unique identifier of the product to delete. Obtain this ID from MODELRY_LIST_PRODUCTS.") }).describe("Request schema for deleting a Modelry product.");
|
|
5
|
+
const ModelryDeleteProductOutput = zod.z.object({
|
|
6
|
+
deleted: zod.z.boolean().default(true).describe("Indicates whether the product was successfully deleted or was already deleted (idempotent).").nullable().optional(),
|
|
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.");
|
|
9
|
+
const modelryDeleteProduct = require_action.action("MODELRY_DELETE_PRODUCT", {
|
|
10
|
+
slug: "modelry-delete-product",
|
|
11
|
+
name: "Delete Modelry Product",
|
|
12
|
+
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.",
|
|
13
|
+
input: ModelryDeleteProductInput,
|
|
14
|
+
output: ModelryDeleteProductOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.modelryDeleteProduct = modelryDeleteProduct;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-product.cjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryDeleteProduct };
|
|
9
|
+
//# sourceMappingURL=delete-product.d.cts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryDeleteProduct };
|
|
9
|
+
//# sourceMappingURL=delete-product.d.mts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const modelryDeleteProduct = action("MODELRY_DELETE_PRODUCT", {
|
|
4
|
+
slug: "modelry-delete-product",
|
|
5
|
+
name: "Delete Modelry Product",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({ productId: z.string().describe("The unique identifier of the product to delete. Obtain this ID from MODELRY_LIST_PRODUCTS.") }).describe("Request schema for deleting a Modelry product."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
deleted: z.boolean().default(true).describe("Indicates whether the product was successfully deleted or was already deleted (idempotent).").nullable().optional(),
|
|
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.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { modelryDeleteProduct };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-product.mjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-workspace.ts
|
|
4
|
+
const ModelryDeleteWorkspaceInput = zod.z.object({ workspaceId: zod.z.string().describe("The unique identifier of the workspace to delete. Can be obtained from the list workspaces action.") }).describe("Request schema for deleting a Modelry workspace.");
|
|
5
|
+
const ModelryDeleteWorkspaceOutput = zod.z.object({
|
|
6
|
+
deleted: zod.z.boolean().default(true).describe("Indicates the workspace was successfully deleted or did not exist (idempotent success).").nullable().optional(),
|
|
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.");
|
|
9
|
+
const modelryDeleteWorkspace = require_action.action("MODELRY_DELETE_WORKSPACE", {
|
|
10
|
+
slug: "modelry-delete-workspace",
|
|
11
|
+
name: "Delete Modelry Workspace",
|
|
12
|
+
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.",
|
|
13
|
+
input: ModelryDeleteWorkspaceInput,
|
|
14
|
+
output: ModelryDeleteWorkspaceOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.modelryDeleteWorkspace = modelryDeleteWorkspace;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-workspace.cjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryDeleteWorkspace };
|
|
9
|
+
//# sourceMappingURL=delete-workspace.d.cts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryDeleteWorkspace };
|
|
9
|
+
//# sourceMappingURL=delete-workspace.d.mts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const modelryDeleteWorkspace = action("MODELRY_DELETE_WORKSPACE", {
|
|
4
|
+
slug: "modelry-delete-workspace",
|
|
5
|
+
name: "Delete Modelry Workspace",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({ workspaceId: z.string().describe("The unique identifier of the workspace to delete. Can be obtained from the list workspaces action.") }).describe("Request schema for deleting a Modelry workspace."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
deleted: z.boolean().default(true).describe("Indicates the workspace was successfully deleted or did not exist (idempotent success).").nullable().optional(),
|
|
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.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { modelryDeleteWorkspace };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-workspace.mjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-embed.ts
|
|
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
|
+
const ModelryGetEmbedOutput = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the embed"),
|
|
7
|
+
name: zod.z.string().describe("Human-readable name of the embed").nullable().optional(),
|
|
8
|
+
type: zod.z.string().describe("Type of embed (e.g., '3d_viewer', 'ar_viewer', '360_spinner')").nullable().optional(),
|
|
9
|
+
status: zod.z.string().describe("Status of the embed (e.g., 'active', 'draft', 'published')").nullable().optional(),
|
|
10
|
+
createdAt: zod.z.string().describe("Embed creation timestamp in ISO 8601 format").nullable().optional(),
|
|
11
|
+
embedCode: zod.z.string().describe("HTML embed code snippet for embedding on websites").nullable().optional(),
|
|
12
|
+
productId: zod.z.string().describe("Identifier of the 3D product associated with this embed").nullable().optional(),
|
|
13
|
+
updatedAt: zod.z.string().describe("Last update timestamp in ISO 8601 format").nullable().optional(),
|
|
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).");
|
|
16
|
+
const modelryGetEmbed = require_action.action("MODELRY_GET_EMBED", {
|
|
17
|
+
slug: "modelry-get-embed",
|
|
18
|
+
name: "Get Embed",
|
|
19
|
+
description: "Retrieve details of a specific Modelry embed (3D viewer or AR experience for eCommerce). Use MODELRY_LIST_EMBEDS first to obtain valid embed IDs. Returns embed metadata including status, workspace, and configuration details.",
|
|
20
|
+
input: ModelryGetEmbedInput,
|
|
21
|
+
output: ModelryGetEmbedOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.modelryGetEmbed = modelryGetEmbed;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=get-embed.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-embed.cjs","names":["z","action"],"sources":["../../src/actions/get-embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryGetEmbedInput: z.ZodTypeAny = z.object({\n embed_id: z.string().describe(\"Unique identifier of the Modelry embed (3D viewer/AR experience) to retrieve. Obtain valid IDs from MODELRY_LIST_EMBEDS first.\"),\n}).describe(\"Parameters for retrieving a specific Modelry embed (3D viewer or AR experience).\");\nexport const ModelryGetEmbedOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the embed\"),\n name: z.string().describe(\"Human-readable name of the embed\").nullable().optional(),\n type: z.string().describe(\"Type of embed (e.g., '3d_viewer', 'ar_viewer', '360_spinner')\").nullable().optional(),\n status: z.string().describe(\"Status of the embed (e.g., 'active', 'draft', 'published')\").nullable().optional(),\n createdAt: z.string().describe(\"Embed creation timestamp in ISO 8601 format\").nullable().optional(),\n embedCode: z.string().describe(\"HTML embed code snippet for embedding on websites\").nullable().optional(),\n productId: z.string().describe(\"Identifier of the 3D product associated with this embed\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 format\").nullable().optional(),\n workspaceId: z.string().describe(\"Identifier of the workspace containing this embed\").nullable().optional(),\n}).describe(\"Response schema for Modelry embed details (3D viewer/AR experience).\");\n\nexport const modelryGetEmbed = action(\"MODELRY_GET_EMBED\", {\n slug: \"modelry-get-embed\",\n name: \"Get Embed\",\n description: \"Retrieve details of a specific Modelry embed (3D viewer or AR experience for eCommerce). Use MODELRY_LIST_EMBEDS first to obtain valid embed IDs. Returns embed metadata including status, workspace, and configuration details.\",\n input: ModelryGetEmbedInput,\n output: ModelryGetEmbedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,EAChK,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-embed.d.ts
|
|
4
|
+
declare const ModelryGetEmbedInput: z.ZodTypeAny;
|
|
5
|
+
declare const ModelryGetEmbedOutput: z.ZodTypeAny;
|
|
6
|
+
declare const modelryGetEmbed: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryGetEmbed };
|
|
9
|
+
//# sourceMappingURL=get-embed.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-embed.d.cts","names":[],"sources":["../../src/actions/get-embed.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAE0D;AAAA,cAClF,qBAAA,EAAuB,CAAA,CAAE,UAU6C;AAAA,cAEtE,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-embed.d.ts
|
|
4
|
+
declare const ModelryGetEmbedInput: z.ZodTypeAny;
|
|
5
|
+
declare const ModelryGetEmbedOutput: z.ZodTypeAny;
|
|
6
|
+
declare const modelryGetEmbed: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { modelryGetEmbed };
|
|
9
|
+
//# sourceMappingURL=get-embed.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-embed.d.mts","names":[],"sources":["../../src/actions/get-embed.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAE0D;AAAA,cAClF,qBAAA,EAAuB,CAAA,CAAE,UAU6C;AAAA,cAEtE,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|