@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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-workspace.cjs +3 -3
- package/dist/actions/create-workspace.cjs.map +1 -1
- package/dist/actions/create-workspace.d.cts +16 -3
- package/dist/actions/create-workspace.d.cts.map +1 -1
- package/dist/actions/create-workspace.d.mts +16 -3
- package/dist/actions/create-workspace.d.mts.map +1 -1
- package/dist/actions/create-workspace.mjs +3 -3
- package/dist/actions/create-workspace.mjs.map +1 -1
- package/dist/actions/delete-embed.cjs +1 -1
- package/dist/actions/delete-embed.cjs.map +1 -1
- package/dist/actions/delete-embed.d.cts +11 -3
- package/dist/actions/delete-embed.d.cts.map +1 -1
- package/dist/actions/delete-embed.d.mts +11 -3
- package/dist/actions/delete-embed.d.mts.map +1 -1
- package/dist/actions/delete-embed.mjs +1 -1
- package/dist/actions/delete-embed.mjs.map +1 -1
- package/dist/actions/delete-product-repository.cjs +1 -1
- package/dist/actions/delete-product-repository.cjs.map +1 -1
- package/dist/actions/delete-product-repository.d.cts +10 -3
- package/dist/actions/delete-product-repository.d.cts.map +1 -1
- package/dist/actions/delete-product-repository.d.mts +10 -3
- package/dist/actions/delete-product-repository.d.mts.map +1 -1
- package/dist/actions/delete-product-repository.mjs +1 -1
- package/dist/actions/delete-product-repository.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +1 -1
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +10 -3
- package/dist/actions/delete-product.d.cts.map +1 -1
- package/dist/actions/delete-product.d.mts +10 -3
- package/dist/actions/delete-product.d.mts.map +1 -1
- package/dist/actions/delete-product.mjs +1 -1
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/delete-workspace.cjs +1 -1
- package/dist/actions/delete-workspace.cjs.map +1 -1
- package/dist/actions/delete-workspace.d.cts +10 -3
- package/dist/actions/delete-workspace.d.cts.map +1 -1
- package/dist/actions/delete-workspace.d.mts +10 -3
- package/dist/actions/delete-workspace.d.mts.map +1 -1
- package/dist/actions/delete-workspace.mjs +1 -1
- package/dist/actions/delete-workspace.mjs.map +1 -1
- package/dist/actions/get-embed.cjs +2 -2
- package/dist/actions/get-embed.cjs.map +1 -1
- package/dist/actions/get-embed.d.cts +17 -3
- package/dist/actions/get-embed.d.cts.map +1 -1
- package/dist/actions/get-embed.d.mts +17 -3
- package/dist/actions/get-embed.d.mts.map +1 -1
- package/dist/actions/get-embed.mjs +2 -2
- package/dist/actions/get-embed.mjs.map +1 -1
- package/dist/actions/get-workspace.cjs +3 -3
- package/dist/actions/get-workspace.cjs.map +1 -1
- package/dist/actions/get-workspace.d.cts +14 -3
- package/dist/actions/get-workspace.d.cts.map +1 -1
- package/dist/actions/get-workspace.d.mts +14 -3
- package/dist/actions/get-workspace.d.mts.map +1 -1
- package/dist/actions/get-workspace.mjs +3 -3
- package/dist/actions/get-workspace.mjs.map +1 -1
- package/dist/actions/list-embeds.cjs +2 -2
- package/dist/actions/list-embeds.cjs.map +1 -1
- package/dist/actions/list-embeds.d.cts +25 -3
- package/dist/actions/list-embeds.d.cts.map +1 -1
- package/dist/actions/list-embeds.d.mts +25 -3
- package/dist/actions/list-embeds.d.mts.map +1 -1
- package/dist/actions/list-embeds.mjs +2 -2
- package/dist/actions/list-embeds.mjs.map +1 -1
- package/dist/actions/list-modeling-requests.cjs +3 -3
- package/dist/actions/list-modeling-requests.cjs.map +1 -1
- package/dist/actions/list-modeling-requests.d.cts +24 -3
- package/dist/actions/list-modeling-requests.d.cts.map +1 -1
- package/dist/actions/list-modeling-requests.d.mts +24 -3
- package/dist/actions/list-modeling-requests.d.mts.map +1 -1
- package/dist/actions/list-modeling-requests.mjs +3 -3
- package/dist/actions/list-modeling-requests.mjs.map +1 -1
- package/dist/actions/list-product-repositories.cjs +4 -4
- package/dist/actions/list-product-repositories.cjs.map +1 -1
- package/dist/actions/list-product-repositories.d.cts +22 -3
- package/dist/actions/list-product-repositories.d.cts.map +1 -1
- package/dist/actions/list-product-repositories.d.mts +22 -3
- package/dist/actions/list-product-repositories.d.mts.map +1 -1
- package/dist/actions/list-product-repositories.mjs +4 -4
- package/dist/actions/list-product-repositories.mjs.map +1 -1
- package/dist/actions/list-products.cjs +3 -3
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +24 -3
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +24 -3
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +3 -3
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-workspaces.cjs +4 -4
- package/dist/actions/list-workspaces.cjs.map +1 -1
- package/dist/actions/list-workspaces.d.cts +21 -3
- package/dist/actions/list-workspaces.d.cts.map +1 -1
- package/dist/actions/list-workspaces.d.mts +21 -3
- package/dist/actions/list-workspaces.d.mts.map +1 -1
- package/dist/actions/list-workspaces.mjs +4 -4
- package/dist/actions/list-workspaces.mjs.map +1 -1
- package/dist/actions/order-modeling-service.cjs +2 -2
- package/dist/actions/order-modeling-service.cjs.map +1 -1
- package/dist/actions/order-modeling-service.d.cts +33 -3
- package/dist/actions/order-modeling-service.d.cts.map +1 -1
- package/dist/actions/order-modeling-service.d.mts +33 -3
- package/dist/actions/order-modeling-service.d.mts.map +1 -1
- package/dist/actions/order-modeling-service.mjs +2 -2
- package/dist/actions/order-modeling-service.mjs.map +1 -1
- package/dist/actions/track-modeling-progress.cjs +6 -6
- package/dist/actions/track-modeling-progress.cjs.map +1 -1
- package/dist/actions/track-modeling-progress.d.cts +19 -3
- package/dist/actions/track-modeling-progress.d.cts.map +1 -1
- package/dist/actions/track-modeling-progress.d.mts +19 -3
- package/dist/actions/track-modeling-progress.d.mts.map +1 -1
- package/dist/actions/track-modeling-progress.mjs +6 -6
- package/dist/actions/track-modeling-progress.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +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
|
|
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.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.object({\n id: z.string().describe(\"Unique identifier of the embed\").nullable(),\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}).passthrough().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,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,EAChK,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,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,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-embed.d.ts
|
|
4
|
-
declare const ModelryGetEmbedInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryGetEmbedInput: z.ZodObject<{
|
|
5
|
+
embed_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ModelryGetEmbedOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
embedCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
productId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const modelryGetEmbed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
embed_id: string;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { modelryGetEmbed };
|
|
9
23
|
//# sourceMappingURL=get-embed.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-embed.d.cts","names":[],"sources":["../../src/actions/get-embed.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-embed.d.cts","names":[],"sources":["../../src/actions/get-embed.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-embed.d.ts
|
|
4
|
-
declare const ModelryGetEmbedInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryGetEmbedInput: z.ZodObject<{
|
|
5
|
+
embed_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ModelryGetEmbedOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
embedCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
productId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const modelryGetEmbed: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
embed_id: string;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { modelryGetEmbed };
|
|
9
23
|
//# sourceMappingURL=get-embed.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-embed.d.mts","names":[],"sources":["../../src/actions/get-embed.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-embed.d.mts","names":[],"sources":["../../src/actions/get-embed.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -6,7 +6,7 @@ const modelryGetEmbed = action("MODELRY_GET_EMBED", {
|
|
|
6
6
|
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.",
|
|
7
7
|
input: z.object({ 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.") }).describe("Parameters for retrieving a specific Modelry embed (3D viewer or AR experience)."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.string().describe("Unique identifier of the embed"),
|
|
9
|
+
id: z.string().describe("Unique identifier of the embed").nullable(),
|
|
10
10
|
name: z.string().describe("Human-readable name of the embed").nullable().optional(),
|
|
11
11
|
type: z.string().describe("Type of embed (e.g., '3d_viewer', 'ar_viewer', '360_spinner')").nullable().optional(),
|
|
12
12
|
status: z.string().describe("Status of the embed (e.g., 'active', 'draft', 'published')").nullable().optional(),
|
|
@@ -15,7 +15,7 @@ const modelryGetEmbed = action("MODELRY_GET_EMBED", {
|
|
|
15
15
|
productId: z.string().describe("Identifier of the 3D product associated with this embed").nullable().optional(),
|
|
16
16
|
updatedAt: z.string().describe("Last update timestamp in ISO 8601 format").nullable().optional(),
|
|
17
17
|
workspaceId: z.string().describe("Identifier of the workspace containing this embed").nullable().optional()
|
|
18
|
-
}).describe("Response schema for Modelry embed details (3D viewer/AR experience).")
|
|
18
|
+
}).passthrough().describe("Response schema for Modelry embed details (3D viewer/AR experience).")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { modelryGetEmbed };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-embed.mjs","names":[],"sources":["../../src/actions/get-embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryGetEmbedInput
|
|
1
|
+
{"version":3,"file":"get-embed.mjs","names":[],"sources":["../../src/actions/get-embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryGetEmbedInput = 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.object({\n id: z.string().describe(\"Unique identifier of the embed\").nullable(),\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}).passthrough().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":";;AAmBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkC,EAAE,OAAO,EAC3C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,EAChK,CAAC,CAAC,CAAC,SAAS,kFAiBH;CACP,QAjBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
|
|
@@ -3,13 +3,13 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-workspace.ts
|
|
4
4
|
const ModelryGetWorkspaceInput = zod.z.object({ workspace_id: zod.z.string().describe("The unique identifier (ID) or name of the workspace to retrieve. Get this from the List Workspaces action.") }).describe("Parameters for retrieving a specific workspace.");
|
|
5
5
|
const ModelryGetWorkspaceOutput = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the workspace"),
|
|
7
|
-
name: zod.z.string().describe("Name of the workspace"),
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the workspace").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the workspace").nullable(),
|
|
8
8
|
type: zod.z.string().describe("Type of the resource (e.g., 'workspace')").nullable().optional(),
|
|
9
9
|
createdAt: zod.z.string().describe("Workspace creation timestamp in ISO 8601 format").nullable().optional(),
|
|
10
10
|
updatedAt: zod.z.string().describe("Last updated timestamp in ISO 8601 format").nullable().optional(),
|
|
11
11
|
description: zod.z.string().describe("Description of the workspace").nullable().optional()
|
|
12
|
-
}).describe("Schema for workspace details response.");
|
|
12
|
+
}).passthrough().describe("Schema for workspace details response.");
|
|
13
13
|
const modelryGetWorkspace = require_action.action("MODELRY_GET_WORKSPACE", {
|
|
14
14
|
slug: "modelry-get-workspace",
|
|
15
15
|
name: "Get Workspace",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryGetWorkspaceInput
|
|
1
|
+
{"version":3,"file":"get-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryGetWorkspaceInput = z.object({\n workspace_id: z.string().describe(\"The unique identifier (ID) or name of the workspace to retrieve. Get this from the List Workspaces action.\"),\n}).describe(\"Parameters for retrieving a specific workspace.\");\nexport const ModelryGetWorkspaceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the workspace\").nullable(),\n name: z.string().describe(\"Name of the workspace\").nullable(),\n type: z.string().describe(\"Type of the resource (e.g., 'workspace')\").nullable().optional(),\n createdAt: z.string().describe(\"Workspace creation timestamp in ISO 8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable().optional(),\n description: z.string().describe(\"Description of the workspace\").nullable().optional(),\n}).passthrough().describe(\"Schema for workspace details response.\");\n\nexport const modelryGetWorkspace = action(\"MODELRY_GET_WORKSPACE\", {\n slug: \"modelry-get-workspace\",\n name: \"Get Workspace\",\n description: \"Retrieves details for a specific Modelry workspace by its ID or name. The workspace ID can be obtained from the List Workspaces action. This action fetches all workspaces and returns the matching one.\",\n input: ModelryGetWorkspaceInput,\n output: ModelryGetWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,EAChJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-workspace.d.ts
|
|
4
|
-
declare const ModelryGetWorkspaceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryGetWorkspaceInput: z.ZodObject<{
|
|
5
|
+
workspace_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ModelryGetWorkspaceOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodOptional<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
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const modelryGetWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
workspace_id: string;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { modelryGetWorkspace };
|
|
9
20
|
//# sourceMappingURL=get-workspace.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspace.d.cts","names":[],"sources":["../../src/actions/get-workspace.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"get-workspace.d.cts","names":[],"sources":["../../src/actions/get-workspace.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-workspace.d.ts
|
|
4
|
-
declare const ModelryGetWorkspaceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryGetWorkspaceInput: z.ZodObject<{
|
|
5
|
+
workspace_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ModelryGetWorkspaceOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodOptional<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
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const modelryGetWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
workspace_id: string;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { modelryGetWorkspace };
|
|
9
20
|
//# sourceMappingURL=get-workspace.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspace.d.mts","names":[],"sources":["../../src/actions/get-workspace.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"get-workspace.d.mts","names":[],"sources":["../../src/actions/get-workspace.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -6,13 +6,13 @@ const modelryGetWorkspace = action("MODELRY_GET_WORKSPACE", {
|
|
|
6
6
|
description: "Retrieves details for a specific Modelry workspace by its ID or name. The workspace ID can be obtained from the List Workspaces action. This action fetches all workspaces and returns the matching one.",
|
|
7
7
|
input: z.object({ workspace_id: z.string().describe("The unique identifier (ID) or name of the workspace to retrieve. Get this from the List Workspaces action.") }).describe("Parameters for retrieving a specific workspace."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.string().describe("Unique identifier of the workspace"),
|
|
10
|
-
name: z.string().describe("Name of the workspace"),
|
|
9
|
+
id: z.string().describe("Unique identifier of the workspace").nullable(),
|
|
10
|
+
name: z.string().describe("Name of the workspace").nullable(),
|
|
11
11
|
type: z.string().describe("Type of the resource (e.g., 'workspace')").nullable().optional(),
|
|
12
12
|
createdAt: z.string().describe("Workspace creation timestamp in ISO 8601 format").nullable().optional(),
|
|
13
13
|
updatedAt: z.string().describe("Last updated timestamp in ISO 8601 format").nullable().optional(),
|
|
14
14
|
description: z.string().describe("Description of the workspace").nullable().optional()
|
|
15
|
-
}).describe("Schema for workspace details response.")
|
|
15
|
+
}).passthrough().describe("Schema for workspace details response.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { modelryGetWorkspace };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspace.mjs","names":[],"sources":["../../src/actions/get-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryGetWorkspaceInput
|
|
1
|
+
{"version":3,"file":"get-workspace.mjs","names":[],"sources":["../../src/actions/get-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryGetWorkspaceInput = z.object({\n workspace_id: z.string().describe(\"The unique identifier (ID) or name of the workspace to retrieve. Get this from the List Workspaces action.\"),\n}).describe(\"Parameters for retrieving a specific workspace.\");\nexport const ModelryGetWorkspaceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the workspace\").nullable(),\n name: z.string().describe(\"Name of the workspace\").nullable(),\n type: z.string().describe(\"Type of the resource (e.g., 'workspace')\").nullable().optional(),\n createdAt: z.string().describe(\"Workspace creation timestamp in ISO 8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable().optional(),\n description: z.string().describe(\"Description of the workspace\").nullable().optional(),\n}).passthrough().describe(\"Schema for workspace details response.\");\n\nexport const modelryGetWorkspace = action(\"MODELRY_GET_WORKSPACE\", {\n slug: \"modelry-get-workspace\",\n name: \"Get Workspace\",\n description: \"Retrieves details for a specific Modelry workspace by its ID or name. The workspace ID can be obtained from the List Workspaces action. This action fetches all workspaces and returns the matching one.\",\n input: ModelryGetWorkspaceInput,\n output: ModelryGetWorkspaceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO,EAC/C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,EAChJ,CAAC,CAAC,CAAC,SAAS,iDAcH;CACP,QAduC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const ModelryListEmbedsInput = zod.z.object({
|
|
|
7
7
|
workspace_id: zod.z.string().describe("Optional workspace identifier to scope the embeds listing").optional()
|
|
8
8
|
}).describe("Parameters for listing embeds.");
|
|
9
9
|
const ModelryListEmbeds_ListEmbedsResponseEmbedSchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Embed unique identifier"),
|
|
10
|
+
id: zod.z.string().describe("Embed unique identifier").nullable(),
|
|
11
11
|
name: zod.z.string().describe("Human-readable name of the embed").nullable().optional(),
|
|
12
12
|
type: zod.z.string().describe("Resource type (e.g., 'embed')").nullable().optional(),
|
|
13
13
|
status: zod.z.string().describe("Status of the embed (e.g., 'ready', 'processing')").nullable().optional(),
|
|
@@ -21,7 +21,7 @@ const ModelryListEmbedsOutput = zod.z.object({
|
|
|
21
21
|
total: zod.z.number().int().describe("Total number of embeds available").nullable().optional(),
|
|
22
22
|
embeds: zod.z.array(ModelryListEmbeds_ListEmbedsResponseEmbedSchema).describe("List of embeds returned by Modelry"),
|
|
23
23
|
per_page: zod.z.number().int().describe("Number of items per page returned").nullable().optional()
|
|
24
|
-
}).describe("Response schema for listing embeds.");
|
|
24
|
+
}).passthrough().describe("Response schema for listing embeds.");
|
|
25
25
|
const modelryListEmbeds = require_action.action("MODELRY_LIST_EMBEDS", {
|
|
26
26
|
slug: "modelry-list-embeds",
|
|
27
27
|
name: "List Embeds",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-embeds.cjs","names":["z","action"],"sources":["../../src/actions/list-embeds.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListEmbedsInput
|
|
1
|
+
{"version":3,"file":"list-embeds.cjs","names":["z","action"],"sources":["../../src/actions/list-embeds.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListEmbedsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1\").optional(),\n per_page: z.number().int().describe(\"Number of items per page for pagination, between 1 and 100\").optional(),\n workspace_id: z.string().describe(\"Optional workspace identifier to scope the embeds listing\").optional(),\n}).describe(\"Parameters for listing embeds.\");\nconst ModelryListEmbeds_ListEmbedsResponseEmbedSchema = z.object({\n id: z.string().describe(\"Embed unique identifier\").nullable(),\n name: z.string().describe(\"Human-readable name of the embed\").nullable().optional(),\n type: z.string().describe(\"Resource type (e.g., 'embed')\").nullable().optional(),\n status: z.string().describe(\"Status of the embed (e.g., 'ready', 'processing')\").nullable().optional(),\n created_at: z.string().describe(\"Embed creation timestamp in ISO 8601 format\").nullable().optional(),\n product_id: z.string().describe(\"Identifier of the associated product\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format\").nullable().optional(),\n workspace_id: z.string().describe(\"Identifier of the workspace containing the embed\").nullable().optional(),\n}).passthrough().describe(\"Embed item in the Modelry embeds list.\");\nexport const ModelryListEmbedsOutput = z.object({\n page: z.number().int().describe(\"Current page number returned\").nullable().optional(),\n total: z.number().int().describe(\"Total number of embeds available\").nullable().optional(),\n embeds: z.array(ModelryListEmbeds_ListEmbedsResponseEmbedSchema).describe(\"List of embeds returned by Modelry\"),\n per_page: z.number().int().describe(\"Number of items per page returned\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing embeds.\");\n\nexport const modelryListEmbeds = action(\"MODELRY_LIST_EMBEDS\", {\n slug: \"modelry-list-embeds\",\n name: \"List Embeds\",\n description: \"List embeds in Modelry. Embeds are 3D viewer/AR embed codes for products. Use to retrieve embed IDs for downstream actions (e.g., MODELRY_GET_EMBED, MODELRY_DELETE_EMBED). Returns empty list if no embeds exist. Supports pagination and optional workspace filtering.\",\n input: ModelryListEmbedsInput,\n output: ModelryListEmbedsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,oCAAoC;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-embeds.d.ts
|
|
4
|
-
declare const ModelryListEmbedsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryListEmbedsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ModelryListEmbedsOutput: z.ZodObject<{
|
|
10
|
+
page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
embeds: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const modelryListEmbeds: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
per_page?: number | undefined;
|
|
27
|
+
workspace_id?: string | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { modelryListEmbeds };
|
|
9
31
|
//# sourceMappingURL=list-embeds.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-embeds.d.cts","names":[],"sources":["../../src/actions/list-embeds.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"list-embeds.d.cts","names":[],"sources":["../../src/actions/list-embeds.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAetB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-embeds.d.ts
|
|
4
|
-
declare const ModelryListEmbedsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryListEmbedsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ModelryListEmbedsOutput: z.ZodObject<{
|
|
10
|
+
page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
embeds: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const modelryListEmbeds: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
per_page?: number | undefined;
|
|
27
|
+
workspace_id?: string | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { modelryListEmbeds };
|
|
9
31
|
//# sourceMappingURL=list-embeds.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-embeds.d.mts","names":[],"sources":["../../src/actions/list-embeds.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"list-embeds.d.mts","names":[],"sources":["../../src/actions/list-embeds.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAetB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -7,7 +7,7 @@ const ModelryListEmbedsInput = z.object({
|
|
|
7
7
|
workspace_id: z.string().describe("Optional workspace identifier to scope the embeds listing").optional()
|
|
8
8
|
}).describe("Parameters for listing embeds.");
|
|
9
9
|
const ModelryListEmbeds_ListEmbedsResponseEmbedSchema = z.object({
|
|
10
|
-
id: z.string().describe("Embed unique identifier"),
|
|
10
|
+
id: z.string().describe("Embed unique identifier").nullable(),
|
|
11
11
|
name: z.string().describe("Human-readable name of the embed").nullable().optional(),
|
|
12
12
|
type: z.string().describe("Resource type (e.g., 'embed')").nullable().optional(),
|
|
13
13
|
status: z.string().describe("Status of the embed (e.g., 'ready', 'processing')").nullable().optional(),
|
|
@@ -26,7 +26,7 @@ const modelryListEmbeds = action("MODELRY_LIST_EMBEDS", {
|
|
|
26
26
|
total: z.number().int().describe("Total number of embeds available").nullable().optional(),
|
|
27
27
|
embeds: z.array(ModelryListEmbeds_ListEmbedsResponseEmbedSchema).describe("List of embeds returned by Modelry"),
|
|
28
28
|
per_page: z.number().int().describe("Number of items per page returned").nullable().optional()
|
|
29
|
-
}).describe("Response schema for listing embeds.")
|
|
29
|
+
}).passthrough().describe("Response schema for listing embeds.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { modelryListEmbeds };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-embeds.mjs","names":[],"sources":["../../src/actions/list-embeds.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListEmbedsInput
|
|
1
|
+
{"version":3,"file":"list-embeds.mjs","names":[],"sources":["../../src/actions/list-embeds.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListEmbedsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1\").optional(),\n per_page: z.number().int().describe(\"Number of items per page for pagination, between 1 and 100\").optional(),\n workspace_id: z.string().describe(\"Optional workspace identifier to scope the embeds listing\").optional(),\n}).describe(\"Parameters for listing embeds.\");\nconst ModelryListEmbeds_ListEmbedsResponseEmbedSchema = z.object({\n id: z.string().describe(\"Embed unique identifier\").nullable(),\n name: z.string().describe(\"Human-readable name of the embed\").nullable().optional(),\n type: z.string().describe(\"Resource type (e.g., 'embed')\").nullable().optional(),\n status: z.string().describe(\"Status of the embed (e.g., 'ready', 'processing')\").nullable().optional(),\n created_at: z.string().describe(\"Embed creation timestamp in ISO 8601 format\").nullable().optional(),\n product_id: z.string().describe(\"Identifier of the associated product\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format\").nullable().optional(),\n workspace_id: z.string().describe(\"Identifier of the workspace containing the embed\").nullable().optional(),\n}).passthrough().describe(\"Embed item in the Modelry embeds list.\");\nexport const ModelryListEmbedsOutput = z.object({\n page: z.number().int().describe(\"Current page number returned\").nullable().optional(),\n total: z.number().int().describe(\"Total number of embeds available\").nullable().optional(),\n embeds: z.array(ModelryListEmbeds_ListEmbedsResponseEmbedSchema).describe(\"List of embeds returned by Modelry\"),\n per_page: z.number().int().describe(\"Number of items per page returned\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing embeds.\");\n\nexport const modelryListEmbeds = action(\"MODELRY_LIST_EMBEDS\", {\n slug: \"modelry-list-embeds\",\n name: \"List Embeds\",\n description: \"List embeds in Modelry. Embeds are 3D viewer/AR embed codes for products. Use to retrieve embed IDs for downstream actions (e.g., MODELRY_GET_EMBED, MODELRY_DELETE_EMBED). Returns empty list if no embeds exist. Supports pagination and optional workspace filtering.\",\n input: ModelryListEmbedsInput,\n output: ModelryListEmbedsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAQlE,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,oCAAoC;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -7,20 +7,20 @@ const ModelryListModelingRequestsInput = zod.z.object({
|
|
|
7
7
|
workspace_id: zod.z.string().describe("Unique identifier of the workspace to list modeling requests for")
|
|
8
8
|
}).describe("Parameters for listing 3D modeling requests in a workspace.");
|
|
9
9
|
const ModelryListModelingRequests_ModelingRequestItemSchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Unique identifier of the modeling request"),
|
|
10
|
+
id: zod.z.string().describe("Unique identifier of the modeling request").nullable(),
|
|
11
11
|
name: zod.z.string().describe("Human-readable name of the modeling request").nullable().optional(),
|
|
12
12
|
status: zod.z.string().describe("Current status (e.g., pending, in_progress, completed)").nullable().optional(),
|
|
13
13
|
createdAt: zod.z.string().describe("ISO timestamp when the request was created").nullable().optional(),
|
|
14
14
|
updatedAt: zod.z.string().describe("ISO timestamp when the request was last updated").nullable().optional(),
|
|
15
15
|
description: zod.z.string().describe("Description or notes for the modeling request").nullable().optional(),
|
|
16
16
|
workspaceId: zod.z.string().describe("Workspace ID that this request belongs to").nullable().optional()
|
|
17
|
-
}).describe("Single 3D modeling request item returned by the API.");
|
|
17
|
+
}).passthrough().describe("Single 3D modeling request item returned by the API.");
|
|
18
18
|
const ModelryListModelingRequestsOutput = zod.z.object({
|
|
19
19
|
page: zod.z.number().int().describe("Current page number returned").nullable().optional(),
|
|
20
20
|
total: zod.z.number().int().describe("Total number of modeling requests available").nullable().optional(),
|
|
21
21
|
per_page: zod.z.number().int().describe("Number of items per page returned").nullable().optional(),
|
|
22
22
|
modeling_requests: zod.z.array(ModelryListModelingRequests_ModelingRequestItemSchema).describe("List of modeling requests in the workspace")
|
|
23
|
-
}).describe("Response schema for listing 3D modeling requests.");
|
|
23
|
+
}).passthrough().describe("Response schema for listing 3D modeling requests.");
|
|
24
24
|
const modelryListModelingRequests = require_action.action("MODELRY_LIST_MODELING_REQUESTS", {
|
|
25
25
|
slug: "modelry-list-modeling-requests",
|
|
26
26
|
name: "List Modeling Requests",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-modeling-requests.cjs","names":["z","action"],"sources":["../../src/actions/list-modeling-requests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListModelingRequestsInput
|
|
1
|
+
{"version":3,"file":"list-modeling-requests.cjs","names":["z","action"],"sources":["../../src/actions/list-modeling-requests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListModelingRequestsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n per_page: z.number().int().describe(\"Number of items per page (1-100)\").optional(),\n workspace_id: z.string().describe(\"Unique identifier of the workspace to list modeling requests for\"),\n}).describe(\"Parameters for listing 3D modeling requests in a workspace.\");\nconst ModelryListModelingRequests_ModelingRequestItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the modeling request\").nullable(),\n name: z.string().describe(\"Human-readable name of the modeling request\").nullable().optional(),\n status: z.string().describe(\"Current status (e.g., pending, in_progress, completed)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when the request was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when the request was last updated\").nullable().optional(),\n description: z.string().describe(\"Description or notes for the modeling request\").nullable().optional(),\n workspaceId: z.string().describe(\"Workspace ID that this request belongs to\").nullable().optional(),\n}).passthrough().describe(\"Single 3D modeling request item returned by the API.\");\nexport const ModelryListModelingRequestsOutput = z.object({\n page: z.number().int().describe(\"Current page number returned\").nullable().optional(),\n total: z.number().int().describe(\"Total number of modeling requests available\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items per page returned\").nullable().optional(),\n modeling_requests: z.array(ModelryListModelingRequests_ModelingRequestItemSchema).describe(\"List of modeling requests in the workspace\"),\n}).passthrough().describe(\"Response schema for listing 3D modeling requests.\");\n\nexport const modelryListModelingRequests = action(\"MODELRY_LIST_MODELING_REQUESTS\", {\n slug: \"modelry-list-modeling-requests\",\n name: \"List Modeling Requests\",\n description: \"List all 3D modeling requests in a workspace. Requires workspace_id to scope the request. Returns modeling requests with their status and metadata.\",\n input: ModelryListModelingRequestsInput,\n output: ModelryListModelingRequestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACtG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,4CAA4C;AACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-modeling-requests.d.ts
|
|
4
|
-
declare const ModelryListModelingRequestsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryListModelingRequestsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
workspace_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ModelryListModelingRequestsOutput: z.ZodObject<{
|
|
10
|
+
page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
modeling_requests: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const modelryListModelingRequests: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
workspace_id: string;
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
per_page?: number | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { modelryListModelingRequests };
|
|
9
30
|
//# sourceMappingURL=list-modeling-requests.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-modeling-requests.d.cts","names":[],"sources":["../../src/actions/list-modeling-requests.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"list-modeling-requests.d.cts","names":[],"sources":["../../src/actions/list-modeling-requests.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAOjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-modeling-requests.d.ts
|
|
4
|
-
declare const ModelryListModelingRequestsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryListModelingRequestsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
workspace_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ModelryListModelingRequestsOutput: z.ZodObject<{
|
|
10
|
+
page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
modeling_requests: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const modelryListModelingRequests: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
workspace_id: string;
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
per_page?: number | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { modelryListModelingRequests };
|
|
9
30
|
//# sourceMappingURL=list-modeling-requests.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-modeling-requests.d.mts","names":[],"sources":["../../src/actions/list-modeling-requests.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"list-modeling-requests.d.mts","names":[],"sources":["../../src/actions/list-modeling-requests.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAOjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -7,14 +7,14 @@ const ModelryListModelingRequestsInput = z.object({
|
|
|
7
7
|
workspace_id: z.string().describe("Unique identifier of the workspace to list modeling requests for")
|
|
8
8
|
}).describe("Parameters for listing 3D modeling requests in a workspace.");
|
|
9
9
|
const ModelryListModelingRequests_ModelingRequestItemSchema = z.object({
|
|
10
|
-
id: z.string().describe("Unique identifier of the modeling request"),
|
|
10
|
+
id: z.string().describe("Unique identifier of the modeling request").nullable(),
|
|
11
11
|
name: z.string().describe("Human-readable name of the modeling request").nullable().optional(),
|
|
12
12
|
status: z.string().describe("Current status (e.g., pending, in_progress, completed)").nullable().optional(),
|
|
13
13
|
createdAt: z.string().describe("ISO timestamp when the request was created").nullable().optional(),
|
|
14
14
|
updatedAt: z.string().describe("ISO timestamp when the request was last updated").nullable().optional(),
|
|
15
15
|
description: z.string().describe("Description or notes for the modeling request").nullable().optional(),
|
|
16
16
|
workspaceId: z.string().describe("Workspace ID that this request belongs to").nullable().optional()
|
|
17
|
-
}).describe("Single 3D modeling request item returned by the API.");
|
|
17
|
+
}).passthrough().describe("Single 3D modeling request item returned by the API.");
|
|
18
18
|
const modelryListModelingRequests = action("MODELRY_LIST_MODELING_REQUESTS", {
|
|
19
19
|
slug: "modelry-list-modeling-requests",
|
|
20
20
|
name: "List Modeling Requests",
|
|
@@ -25,7 +25,7 @@ const modelryListModelingRequests = action("MODELRY_LIST_MODELING_REQUESTS", {
|
|
|
25
25
|
total: z.number().int().describe("Total number of modeling requests available").nullable().optional(),
|
|
26
26
|
per_page: z.number().int().describe("Number of items per page returned").nullable().optional(),
|
|
27
27
|
modeling_requests: z.array(ModelryListModelingRequests_ModelingRequestItemSchema).describe("List of modeling requests in the workspace")
|
|
28
|
-
}).describe("Response schema for listing 3D modeling requests.")
|
|
28
|
+
}).passthrough().describe("Response schema for listing 3D modeling requests.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { modelryListModelingRequests };
|