@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":"list-modeling-requests.mjs","names":[],"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.mjs","names":[],"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,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACtG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAQhF,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ+C,EAAE,OAAO;EACxD,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,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,4CAA4C;CACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -7,18 +7,18 @@ const ModelryListProductRepositoriesInput = zod.z.object({
|
|
|
7
7
|
workspace_id: zod.z.string().describe("Unique identifier of the workspace to list repositories for")
|
|
8
8
|
}).describe("Parameters for listing product repositories.");
|
|
9
9
|
const ModelryListProductRepositories_ListProductRepositoriesResponseRepositorySchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Product repository unique identifier"),
|
|
11
|
-
name: zod.z.string().describe("Name of the product repository"),
|
|
10
|
+
id: zod.z.string().describe("Product repository unique identifier").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Name of the product repository").nullable(),
|
|
12
12
|
createdAt: zod.z.string().describe("ISO timestamp when the repository was created").nullable().optional(),
|
|
13
13
|
updatedAt: zod.z.string().describe("ISO timestamp when the repository was last updated").nullable().optional(),
|
|
14
14
|
description: zod.z.string().describe("Description of the repository").nullable().optional()
|
|
15
|
-
}).describe("Product repository item in Modelry.");
|
|
15
|
+
}).passthrough().describe("Product repository item in Modelry.");
|
|
16
16
|
const ModelryListProductRepositoriesOutput = zod.z.object({
|
|
17
17
|
page: zod.z.number().int().describe("Current page number returned").nullable().optional(),
|
|
18
18
|
total: zod.z.number().int().describe("Total number of repositories available").nullable().optional(),
|
|
19
19
|
per_page: zod.z.number().int().describe("Number of items per page returned").nullable().optional(),
|
|
20
20
|
product_repositories: zod.z.array(ModelryListProductRepositories_ListProductRepositoriesResponseRepositorySchema).describe("List of product repositories returned by Modelry")
|
|
21
|
-
}).describe("Response schema for listing product repositories.");
|
|
21
|
+
}).passthrough().describe("Response schema for listing product repositories.");
|
|
22
22
|
const modelryListProductRepositories = require_action.action("MODELRY_LIST_PRODUCT_REPOSITORIES", {
|
|
23
23
|
slug: "modelry-list-product-repositories",
|
|
24
24
|
name: "List Product Repositories",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-product-repositories.cjs","names":["z","action"],"sources":["../../src/actions/list-product-repositories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListProductRepositoriesInput
|
|
1
|
+
{"version":3,"file":"list-product-repositories.cjs","names":["z","action"],"sources":["../../src/actions/list-product-repositories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListProductRepositoriesInput = 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 repositories for\"),\n}).describe(\"Parameters for listing product repositories.\");\nconst ModelryListProductRepositories_ListProductRepositoriesResponseRepositorySchema = z.object({\n id: z.string().describe(\"Product repository unique identifier\").nullable(),\n name: z.string().describe(\"Name of the product repository\").nullable(),\n createdAt: z.string().describe(\"ISO timestamp when the repository was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when the repository was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the repository\").nullable().optional(),\n}).passthrough().describe(\"Product repository item in Modelry.\");\nexport const ModelryListProductRepositoriesOutput = z.object({\n page: z.number().int().describe(\"Current page number returned\").nullable().optional(),\n total: z.number().int().describe(\"Total number of repositories available\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items per page returned\").nullable().optional(),\n product_repositories: z.array(ModelryListProductRepositories_ListProductRepositoriesResponseRepositorySchema).describe(\"List of product repositories returned by Modelry\"),\n}).passthrough().describe(\"Response schema for listing product repositories.\");\n\nexport const modelryListProductRepositories = action(\"MODELRY_LIST_PRODUCT_REPOSITORIES\", {\n slug: \"modelry-list-product-repositories\",\n name: \"List Product Repositories\",\n description: \"Tool to list all product repositories in a workspace. Use after confirming the workspace ID.\",\n input: ModelryListProductRepositoriesInput,\n output: ModelryListProductRepositoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,6DAA6D;AACjG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iFAAiFA,IAAAA,EAAE,OAAO;CAC9F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,sBAAsBA,IAAAA,EAAE,MAAM,8EAA8E,CAAC,CAAC,SAAS,kDAAkD;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-product-repositories.d.ts
|
|
4
|
-
declare const ModelryListProductRepositoriesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryListProductRepositoriesInput: 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 ModelryListProductRepositoriesOutput: 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
|
+
product_repositories: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const modelryListProductRepositories: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
workspace_id: string;
|
|
23
|
+
page?: number | undefined;
|
|
24
|
+
per_page?: number | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { modelryListProductRepositories };
|
|
9
28
|
//# sourceMappingURL=list-product-repositories.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-product-repositories.d.cts","names":[],"sources":["../../src/actions/list-product-repositories.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"list-product-repositories.d.cts","names":[],"sources":["../../src/actions/list-product-repositories.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAYnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-product-repositories.d.ts
|
|
4
|
-
declare const ModelryListProductRepositoriesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryListProductRepositoriesInput: 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 ModelryListProductRepositoriesOutput: 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
|
+
product_repositories: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const modelryListProductRepositories: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
workspace_id: string;
|
|
23
|
+
page?: number | undefined;
|
|
24
|
+
per_page?: number | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { modelryListProductRepositories };
|
|
9
28
|
//# sourceMappingURL=list-product-repositories.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-product-repositories.d.mts","names":[],"sources":["../../src/actions/list-product-repositories.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"list-product-repositories.d.mts","names":[],"sources":["../../src/actions/list-product-repositories.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAYnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -7,12 +7,12 @@ const ModelryListProductRepositoriesInput = z.object({
|
|
|
7
7
|
workspace_id: z.string().describe("Unique identifier of the workspace to list repositories for")
|
|
8
8
|
}).describe("Parameters for listing product repositories.");
|
|
9
9
|
const ModelryListProductRepositories_ListProductRepositoriesResponseRepositorySchema = z.object({
|
|
10
|
-
id: z.string().describe("Product repository unique identifier"),
|
|
11
|
-
name: z.string().describe("Name of the product repository"),
|
|
10
|
+
id: z.string().describe("Product repository unique identifier").nullable(),
|
|
11
|
+
name: z.string().describe("Name of the product repository").nullable(),
|
|
12
12
|
createdAt: z.string().describe("ISO timestamp when the repository was created").nullable().optional(),
|
|
13
13
|
updatedAt: z.string().describe("ISO timestamp when the repository was last updated").nullable().optional(),
|
|
14
14
|
description: z.string().describe("Description of the repository").nullable().optional()
|
|
15
|
-
}).describe("Product repository item in Modelry.");
|
|
15
|
+
}).passthrough().describe("Product repository item in Modelry.");
|
|
16
16
|
const modelryListProductRepositories = action("MODELRY_LIST_PRODUCT_REPOSITORIES", {
|
|
17
17
|
slug: "modelry-list-product-repositories",
|
|
18
18
|
name: "List Product Repositories",
|
|
@@ -23,7 +23,7 @@ const modelryListProductRepositories = action("MODELRY_LIST_PRODUCT_REPOSITORIES
|
|
|
23
23
|
total: z.number().int().describe("Total number of repositories available").nullable().optional(),
|
|
24
24
|
per_page: z.number().int().describe("Number of items per page returned").nullable().optional(),
|
|
25
25
|
product_repositories: z.array(ModelryListProductRepositories_ListProductRepositoriesResponseRepositorySchema).describe("List of product repositories returned by Modelry")
|
|
26
|
-
}).describe("Response schema for listing product repositories.")
|
|
26
|
+
}).passthrough().describe("Response schema for listing product repositories.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { modelryListProductRepositories };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-product-repositories.mjs","names":[],"sources":["../../src/actions/list-product-repositories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListProductRepositoriesInput
|
|
1
|
+
{"version":3,"file":"list-product-repositories.mjs","names":[],"sources":["../../src/actions/list-product-repositories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListProductRepositoriesInput = 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 repositories for\"),\n}).describe(\"Parameters for listing product repositories.\");\nconst ModelryListProductRepositories_ListProductRepositoriesResponseRepositorySchema = z.object({\n id: z.string().describe(\"Product repository unique identifier\").nullable(),\n name: z.string().describe(\"Name of the product repository\").nullable(),\n createdAt: z.string().describe(\"ISO timestamp when the repository was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when the repository was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the repository\").nullable().optional(),\n}).passthrough().describe(\"Product repository item in Modelry.\");\nexport const ModelryListProductRepositoriesOutput = z.object({\n page: z.number().int().describe(\"Current page number returned\").nullable().optional(),\n total: z.number().int().describe(\"Total number of repositories available\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items per page returned\").nullable().optional(),\n product_repositories: z.array(ModelryListProductRepositories_ListProductRepositoriesResponseRepositorySchema).describe(\"List of product repositories returned by Modelry\"),\n}).passthrough().describe(\"Response schema for listing product repositories.\");\n\nexport const modelryListProductRepositories = action(\"MODELRY_LIST_PRODUCT_REPOSITORIES\", {\n slug: \"modelry-list-product-repositories\",\n name: \"List Product Repositories\",\n description: \"Tool to list all product repositories in a workspace. Use after confirming the workspace ID.\",\n input: ModelryListProductRepositoriesInput,\n output: ModelryListProductRepositoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAA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,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -7,20 +7,20 @@ const ModelryListProductsInput = zod.z.object({
|
|
|
7
7
|
workspace_id: zod.z.string().describe("Workspace ID to scope the products listing. If provided, only products in this workspace are returned.").optional()
|
|
8
8
|
}).describe("Parameters for listing products in Modelry.");
|
|
9
9
|
const ModelryListProducts_ListProductsResponseProductSchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Unique identifier of the product"),
|
|
10
|
+
id: zod.z.string().describe("Unique identifier of the product").nullable(),
|
|
11
11
|
name: zod.z.string().describe("Display name of the product").nullable().optional(),
|
|
12
12
|
type: zod.z.string().describe("Type or category of the product").nullable().optional(),
|
|
13
13
|
status: zod.z.string().describe("Current status of the product (e.g., active, draft, archived)").nullable().optional(),
|
|
14
14
|
createdAt: zod.z.string().describe("ISO 8601 timestamp when the product was created").nullable().optional(),
|
|
15
15
|
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the product was last updated").nullable().optional(),
|
|
16
16
|
description: zod.z.string().describe("Detailed description of the product").nullable().optional()
|
|
17
|
-
}).describe("Product item in the Modelry products list.");
|
|
17
|
+
}).passthrough().describe("Product item in the Modelry products list.");
|
|
18
18
|
const ModelryListProductsOutput = 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 products available").nullable().optional(),
|
|
21
21
|
per_page: zod.z.number().int().describe("Number of items per page returned").nullable().optional(),
|
|
22
22
|
products: zod.z.array(ModelryListProducts_ListProductsResponseProductSchema).describe("List of products returned by Modelry")
|
|
23
|
-
}).describe("Response schema for listing products.");
|
|
23
|
+
}).passthrough().describe("Response schema for listing products.");
|
|
24
24
|
const modelryListProducts = require_action.action("MODELRY_LIST_PRODUCTS", {
|
|
25
25
|
slug: "modelry-list-products",
|
|
26
26
|
name: "List Modelry Products",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products.cjs","names":["z","action"],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListProductsInput
|
|
1
|
+
{"version":3,"file":"list-products.cjs","names":["z","action"],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListProductsInput = 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(\"Workspace ID to scope the products listing. If provided, only products in this workspace are returned.\").optional(),\n}).describe(\"Parameters for listing products in Modelry.\");\nconst ModelryListProducts_ListProductsResponseProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product\").nullable(),\n name: z.string().describe(\"Display name of the product\").nullable().optional(),\n type: z.string().describe(\"Type or category of the product\").nullable().optional(),\n status: z.string().describe(\"Current status of the product (e.g., active, draft, archived)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the product\").nullable().optional(),\n}).passthrough().describe(\"Product item in the Modelry products list.\");\nexport const ModelryListProductsOutput = z.object({\n page: z.number().int().describe(\"Current page number returned\").nullable().optional(),\n total: z.number().int().describe(\"Total number of products available\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items per page returned\").nullable().optional(),\n products: z.array(ModelryListProducts_ListProductsResponseProductSchema).describe(\"List of products returned by Modelry\"),\n}).passthrough().describe(\"Response schema for listing products.\");\n\nexport const modelryListProducts = action(\"MODELRY_LIST_PRODUCTS\", {\n slug: \"modelry-list-products\",\n name: \"List Modelry Products\",\n description: \"List all products in Modelry. Returns paginated product data including IDs, names, and metadata. Use this to retrieve product IDs needed for other product-related actions like delete or get details. Optionally scope to a specific workspace using workspace_id parameter.\",\n input: ModelryListProductsInput,\n output: Mod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SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,sCAAsC;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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-products.d.ts
|
|
4
|
-
declare const ModelryListProductsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryListProductsInput: 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 ModelryListProductsOutput: 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
|
+
products: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const modelryListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
per_page?: number | undefined;
|
|
26
|
+
workspace_id?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { modelryListProducts };
|
|
9
30
|
//# sourceMappingURL=list-products.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products.d.cts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-products.d.cts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAOzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-products.d.ts
|
|
4
|
-
declare const ModelryListProductsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryListProductsInput: 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 ModelryListProductsOutput: 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
|
+
products: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const modelryListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
per_page?: number | undefined;
|
|
26
|
+
workspace_id?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { modelryListProducts };
|
|
9
30
|
//# sourceMappingURL=list-products.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products.d.mts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-products.d.mts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAOzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -7,14 +7,14 @@ const ModelryListProductsInput = z.object({
|
|
|
7
7
|
workspace_id: z.string().describe("Workspace ID to scope the products listing. If provided, only products in this workspace are returned.").optional()
|
|
8
8
|
}).describe("Parameters for listing products in Modelry.");
|
|
9
9
|
const ModelryListProducts_ListProductsResponseProductSchema = z.object({
|
|
10
|
-
id: z.string().describe("Unique identifier of the product"),
|
|
10
|
+
id: z.string().describe("Unique identifier of the product").nullable(),
|
|
11
11
|
name: z.string().describe("Display name of the product").nullable().optional(),
|
|
12
12
|
type: z.string().describe("Type or category of the product").nullable().optional(),
|
|
13
13
|
status: z.string().describe("Current status of the product (e.g., active, draft, archived)").nullable().optional(),
|
|
14
14
|
createdAt: z.string().describe("ISO 8601 timestamp when the product was created").nullable().optional(),
|
|
15
15
|
updatedAt: z.string().describe("ISO 8601 timestamp when the product was last updated").nullable().optional(),
|
|
16
16
|
description: z.string().describe("Detailed description of the product").nullable().optional()
|
|
17
|
-
}).describe("Product item in the Modelry products list.");
|
|
17
|
+
}).passthrough().describe("Product item in the Modelry products list.");
|
|
18
18
|
const modelryListProducts = action("MODELRY_LIST_PRODUCTS", {
|
|
19
19
|
slug: "modelry-list-products",
|
|
20
20
|
name: "List Modelry Products",
|
|
@@ -25,7 +25,7 @@ const modelryListProducts = action("MODELRY_LIST_PRODUCTS", {
|
|
|
25
25
|
total: z.number().int().describe("Total number of products available").nullable().optional(),
|
|
26
26
|
per_page: z.number().int().describe("Number of items per page returned").nullable().optional(),
|
|
27
27
|
products: z.array(ModelryListProducts_ListProductsResponseProductSchema).describe("List of products returned by Modelry")
|
|
28
|
-
}).describe("Response schema for listing products.")
|
|
28
|
+
}).passthrough().describe("Response schema for listing products.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { modelryListProducts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListProductsInput
|
|
1
|
+
{"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListProductsInput = 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(\"Workspace ID to scope the products listing. If provided, only products in this workspace are returned.\").optional(),\n}).describe(\"Parameters for listing products in Modelry.\");\nconst ModelryListProducts_ListProductsResponseProductSchema = z.object({\n id: z.string().describe(\"Unique identifier of the product\").nullable(),\n name: z.string().describe(\"Display name of the product\").nullable().optional(),\n type: z.string().describe(\"Type or category of the product\").nullable().optional(),\n status: z.string().describe(\"Current status of the product (e.g., active, draft, archived)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the product\").nullable().optional(),\n}).passthrough().describe(\"Product item in the Modelry products list.\");\nexport const ModelryListProductsOutput = z.object({\n page: z.number().int().describe(\"Current page number returned\").nullable().optional(),\n total: z.number().int().describe(\"Total number of products available\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items per page returned\").nullable().optional(),\n products: z.array(ModelryListProducts_ListProductsResponseProductSchema).describe(\"List of products returned by Modelry\"),\n}).passthrough().describe(\"Response schema for listing products.\");\n\nexport const modelryListProducts = action(\"MODELRY_LIST_PRODUCTS\", {\n slug: \"modelry-list-products\",\n name: \"List Modelry Products\",\n description: \"List all products in Modelry. Returns paginated product data including IDs, names, and metadata. Use this to retrieve product IDs needed for other product-related actions like delete or get details. Optionally scope to a specific workspace using workspace_id parameter.\",\n input: ModelryListProductsInput,\n output: ModelryListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE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AAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,sCAAsC;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
|
@@ -6,19 +6,19 @@ const ModelryListWorkspacesInput = zod.z.object({
|
|
|
6
6
|
per_page: zod.z.number().int().describe("Number of items per page for pagination, between 1 and 100").optional()
|
|
7
7
|
}).describe("Parameters for listing workspaces.");
|
|
8
8
|
const ModelryListWorkspaces_ListWorkspacesResponseWorkspaceSchema = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("Workspace unique identifier"),
|
|
10
|
-
name: zod.z.string().describe("Workspace name"),
|
|
9
|
+
id: zod.z.string().describe("Workspace unique identifier").nullable(),
|
|
10
|
+
name: zod.z.string().describe("Workspace name").nullable(),
|
|
11
11
|
slug: zod.z.string().describe("Workspace slug, URL-friendly identifier").nullable().optional(),
|
|
12
12
|
type: zod.z.string().describe("Resource type, typically 'workspace'").nullable().optional(),
|
|
13
13
|
created_at: zod.z.string().describe("ISO timestamp when the workspace was created").nullable().optional(),
|
|
14
14
|
updated_at: zod.z.string().describe("ISO timestamp when the workspace was last updated").nullable().optional()
|
|
15
|
-
}).describe("Workspace item in the Modelry workspaces list.");
|
|
15
|
+
}).passthrough().describe("Workspace item in the Modelry workspaces list.");
|
|
16
16
|
const ModelryListWorkspacesOutput = zod.z.object({
|
|
17
17
|
page: zod.z.number().int().describe("Current page number returned").nullable().optional(),
|
|
18
18
|
total: zod.z.number().int().describe("Total number of workspaces available").nullable().optional(),
|
|
19
19
|
per_page: zod.z.number().int().describe("Number of items per page returned").nullable().optional(),
|
|
20
20
|
workspaces: zod.z.array(ModelryListWorkspaces_ListWorkspacesResponseWorkspaceSchema).describe("List of workspaces returned by Modelry")
|
|
21
|
-
}).describe("Response schema for listing workspaces.");
|
|
21
|
+
}).passthrough().describe("Response schema for listing workspaces.");
|
|
22
22
|
const modelryListWorkspaces = require_action.action("MODELRY_LIST_WORKSPACES", {
|
|
23
23
|
slug: "modelry-list-workspaces",
|
|
24
24
|
name: "List Modelry Workspaces",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.cjs","names":["z","action"],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListWorkspacesInput
|
|
1
|
+
{"version":3,"file":"list-workspaces.cjs","names":["z","action"],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListWorkspacesInput = 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}).describe(\"Parameters for listing workspaces.\");\nconst ModelryListWorkspaces_ListWorkspacesResponseWorkspaceSchema = z.object({\n id: z.string().describe(\"Workspace unique identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n slug: z.string().describe(\"Workspace slug, URL-friendly identifier\").nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'workspace'\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when the workspace was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO timestamp when the workspace was last updated\").nullable().optional(),\n}).passthrough().describe(\"Workspace item in the Modelry workspaces list.\");\nexport const ModelryListWorkspacesOutput = z.object({\n page: z.number().int().describe(\"Current page number returned\").nullable().optional(),\n total: z.number().int().describe(\"Total number of workspaces available\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items per page returned\").nullable().optional(),\n workspaces: z.array(ModelryListWorkspaces_ListWorkspacesResponseWorkspaceSchema).describe(\"List of workspaces returned by Modelry\"),\n}).passthrough().describe(\"Response schema for listing workspaces.\");\n\nexport const modelryListWorkspaces = action(\"MODELRY_LIST_WORKSPACES\", {\n slug: \"modelry-list-workspaces\",\n name: \"List Modelry Workspaces\",\n description: \"Tool to list all workspaces in Modelry. Use when you need to retrieve available workspaces after authenticating.\",\n input: ModelryListWorkspacesInput,\n output: ModelryListWorkspacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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;AAC7G,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,wCAAwC;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-workspaces.d.ts
|
|
4
|
-
declare const ModelryListWorkspacesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryListWorkspacesInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ModelryListWorkspacesOutput: z.ZodObject<{
|
|
9
|
+
page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const modelryListWorkspaces: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
page?: number | undefined;
|
|
23
|
+
per_page?: number | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { modelryListWorkspaces };
|
|
9
27
|
//# sourceMappingURL=list-workspaces.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.d.cts","names":[],"sources":["../../src/actions/list-workspaces.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-workspaces.d.cts","names":[],"sources":["../../src/actions/list-workspaces.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-workspaces.d.ts
|
|
4
|
-
declare const ModelryListWorkspacesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ModelryListWorkspacesInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ModelryListWorkspacesOutput: z.ZodObject<{
|
|
9
|
+
page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const modelryListWorkspaces: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
page?: number | undefined;
|
|
23
|
+
per_page?: number | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { modelryListWorkspaces };
|
|
9
27
|
//# sourceMappingURL=list-workspaces.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.d.mts","names":[],"sources":["../../src/actions/list-workspaces.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-workspaces.d.mts","names":[],"sources":["../../src/actions/list-workspaces.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -6,13 +6,13 @@ const ModelryListWorkspacesInput = z.object({
|
|
|
6
6
|
per_page: z.number().int().describe("Number of items per page for pagination, between 1 and 100").optional()
|
|
7
7
|
}).describe("Parameters for listing workspaces.");
|
|
8
8
|
const ModelryListWorkspaces_ListWorkspacesResponseWorkspaceSchema = z.object({
|
|
9
|
-
id: z.string().describe("Workspace unique identifier"),
|
|
10
|
-
name: z.string().describe("Workspace name"),
|
|
9
|
+
id: z.string().describe("Workspace unique identifier").nullable(),
|
|
10
|
+
name: z.string().describe("Workspace name").nullable(),
|
|
11
11
|
slug: z.string().describe("Workspace slug, URL-friendly identifier").nullable().optional(),
|
|
12
12
|
type: z.string().describe("Resource type, typically 'workspace'").nullable().optional(),
|
|
13
13
|
created_at: z.string().describe("ISO timestamp when the workspace was created").nullable().optional(),
|
|
14
14
|
updated_at: z.string().describe("ISO timestamp when the workspace was last updated").nullable().optional()
|
|
15
|
-
}).describe("Workspace item in the Modelry workspaces list.");
|
|
15
|
+
}).passthrough().describe("Workspace item in the Modelry workspaces list.");
|
|
16
16
|
const modelryListWorkspaces = action("MODELRY_LIST_WORKSPACES", {
|
|
17
17
|
slug: "modelry-list-workspaces",
|
|
18
18
|
name: "List Modelry Workspaces",
|
|
@@ -23,7 +23,7 @@ const modelryListWorkspaces = action("MODELRY_LIST_WORKSPACES", {
|
|
|
23
23
|
total: z.number().int().describe("Total number of workspaces available").nullable().optional(),
|
|
24
24
|
per_page: z.number().int().describe("Number of items per page returned").nullable().optional(),
|
|
25
25
|
workspaces: z.array(ModelryListWorkspaces_ListWorkspacesResponseWorkspaceSchema).describe("List of workspaces returned by Modelry")
|
|
26
|
-
}).describe("Response schema for listing workspaces.")
|
|
26
|
+
}).passthrough().describe("Response schema for listing workspaces.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { modelryListWorkspaces };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.mjs","names":[],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListWorkspacesInput
|
|
1
|
+
{"version":3,"file":"list-workspaces.mjs","names":[],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryListWorkspacesInput = 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}).describe(\"Parameters for listing workspaces.\");\nconst ModelryListWorkspaces_ListWorkspacesResponseWorkspaceSchema = z.object({\n id: z.string().describe(\"Workspace unique identifier\").nullable(),\n name: z.string().describe(\"Workspace name\").nullable(),\n slug: z.string().describe(\"Workspace slug, URL-friendly identifier\").nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'workspace'\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when the workspace was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO timestamp when the workspace was last updated\").nullable().optional(),\n}).passthrough().describe(\"Workspace item in the Modelry workspaces list.\");\nexport const ModelryListWorkspacesOutput = z.object({\n page: z.number().int().describe(\"Current page number returned\").nullable().optional(),\n total: z.number().int().describe(\"Total number of workspaces available\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items per page returned\").nullable().optional(),\n workspaces: z.array(ModelryListWorkspaces_ListWorkspacesResponseWorkspaceSchema).describe(\"List of workspaces returned by Modelry\"),\n}).passthrough().describe(\"Response schema for listing workspaces.\");\n\nexport const modelryListWorkspaces = action(\"MODELRY_LIST_WORKSPACES\", {\n slug: \"modelry-list-workspaces\",\n name: \"List Modelry Workspaces\",\n description: \"Tool to list all workspaces in Modelry. Use when you need to retrieve available workspaces after authenticating.\",\n input: ModelryListWorkspacesInput,\n output: ModelryListWorkspacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,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;AAC7G,CAA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.z.array(zod.z.string()).describe("List of URLs pointing to reference images for the modeler").optional()
|
|
16
16
|
}).describe("Parameters to place a 3D modeling service order.");
|
|
17
17
|
const ModelryOrderModelingServiceOutput = zod.z.object({
|
|
18
|
-
id: zod.z.string().describe("Unique identifier of the created order"),
|
|
18
|
+
id: zod.z.string().describe("Unique identifier of the created order").nullable(),
|
|
19
19
|
price: zod.z.number().describe("Total cost for the order").nullable().optional(),
|
|
20
20
|
status: zod.z.string().describe("Current status of the order (e.g., pending, in_progress, completed)").nullable().optional(),
|
|
21
21
|
currency: zod.z.string().describe("Currency code of the order price, e.g., 'USD'").nullable().optional(),
|
|
22
22
|
createdAt: zod.z.string().describe("Order creation timestamp in ISO 8601 format").nullable().optional(),
|
|
23
23
|
estimatedDueDate: zod.z.string().describe("Estimated completion date in ISO 8601 format").nullable().optional()
|
|
24
|
-
}).describe("Schema for the modeling order creation response.");
|
|
24
|
+
}).passthrough().describe("Schema for the modeling order creation response.");
|
|
25
25
|
const modelryOrderModelingService = require_action.action("MODELRY_ORDER_MODELING_SERVICE", {
|
|
26
26
|
slug: "modelry-order-modeling-service",
|
|
27
27
|
name: "Order Modeling Service",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-modeling-service.cjs","names":["z","action"],"sources":["../../src/actions/order-modeling-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryOrderModelingServiceInput
|
|
1
|
+
{"version":3,"file":"order-modeling-service.cjs","names":["z","action"],"sources":["../../src/actions/order-modeling-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ModelryOrderModelingServiceInput = z.object({\n notes: z.string().describe(\"Additional instructions or comments for the modeler\").optional(),\n due_date: z.string().describe(\"Requested delivery date in ISO 8601 format; if omitted, standard turnaround applies\").optional(),\n priority: z.enum([\"standard\", \"rush\"]).default(\"standard\").describe(\"Turnaround priority; 'rush' may incur extra fees\").optional(),\n product_id: z.string().describe(\"Identifier of the product to be modeled\"),\n service_type: z.enum([\"basic\", \"advanced\", \"photo-realistic\"]).describe(\"Level of modeling detail required\"),\n workspace_id: z.string().describe(\"Unique identifier of the workspace where the order is placed\"),\n reference_images: z.array(z.string()).describe(\"List of URLs pointing to reference images for the modeler\").optional(),\n}).describe(\"Parameters to place a 3D modeling service order.\");\nexport const ModelryOrderModelingServiceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created order\").nullable(),\n price: z.number().describe(\"Total cost for the order\").nullable().optional(),\n status: z.string().describe(\"Current status of the order (e.g., pending, in_progress, completed)\").nullable().optional(),\n currency: z.string().describe(\"Currency code of the order price, e.g., 'USD'\").nullable().optional(),\n createdAt: z.string().describe(\"Order creation timestamp in ISO 8601 format\").nullable().optional(),\n estimatedDueDate: z.string().describe(\"Estimated completion date in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Schema for the modeling order creation response.\");\n\nexport const modelryOrderModelingService = action(\"MODELRY_ORDER_MODELING_SERVICE\", {\n slug: \"modelry-order-modeling-service\",\n name: \"Order Modeling Service\",\n description: \"Tool to place an order for 3D modeling services. Use when workspace and product IDs are known and modeling specifications are ready.\",\n input: ModelryOrderModelingServiceInput,\n output: ModelryOrderModelingServiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,KAAK,CAAC,YAAY,MAAM,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;CAAiB,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