@keystrokehq/optimoroute 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-or-update-orders.cjs +102 -0
- package/dist/actions/create-or-update-orders.cjs.map +1 -0
- package/dist/actions/create-or-update-orders.d.cts +9 -0
- package/dist/actions/create-or-update-orders.d.cts.map +1 -0
- package/dist/actions/create-or-update-orders.d.mts +9 -0
- package/dist/actions/create-or-update-orders.d.mts.map +1 -0
- package/dist/actions/create-or-update-orders.mjs +101 -0
- package/dist/actions/create-or-update-orders.mjs.map +1 -0
- package/dist/actions/create-order.cjs +71 -0
- package/dist/actions/create-order.cjs.map +1 -0
- package/dist/actions/create-order.d.cts +9 -0
- package/dist/actions/create-order.d.cts.map +1 -0
- package/dist/actions/create-order.d.mts +9 -0
- package/dist/actions/create-order.d.mts.map +1 -0
- package/dist/actions/create-order.mjs +70 -0
- package/dist/actions/create-order.mjs.map +1 -0
- package/dist/actions/delete-all-orders.cjs +21 -0
- package/dist/actions/delete-all-orders.cjs.map +1 -0
- package/dist/actions/delete-all-orders.d.cts +9 -0
- package/dist/actions/delete-all-orders.d.cts.map +1 -0
- package/dist/actions/delete-all-orders.d.mts +9 -0
- package/dist/actions/delete-all-orders.d.mts.map +1 -0
- package/dist/actions/delete-all-orders.mjs +18 -0
- package/dist/actions/delete-all-orders.mjs.map +1 -0
- package/dist/actions/delete-order.cjs +24 -0
- package/dist/actions/delete-order.cjs.map +1 -0
- package/dist/actions/delete-order.d.cts +9 -0
- package/dist/actions/delete-order.d.cts.map +1 -0
- package/dist/actions/delete-order.d.mts +9 -0
- package/dist/actions/delete-order.d.mts.map +1 -0
- package/dist/actions/delete-order.mjs +21 -0
- package/dist/actions/delete-order.mjs.map +1 -0
- package/dist/actions/delete-orders.cjs +34 -0
- package/dist/actions/delete-orders.cjs.map +1 -0
- package/dist/actions/delete-orders.d.cts +9 -0
- package/dist/actions/delete-orders.d.cts.map +1 -0
- package/dist/actions/delete-orders.d.mts +9 -0
- package/dist/actions/delete-orders.d.mts.map +1 -0
- package/dist/actions/delete-orders.mjs +33 -0
- package/dist/actions/delete-orders.mjs.map +1 -0
- package/dist/actions/get-completion-details.cjs +43 -0
- package/dist/actions/get-completion-details.cjs.map +1 -0
- package/dist/actions/get-completion-details.d.cts +9 -0
- package/dist/actions/get-completion-details.d.cts.map +1 -0
- package/dist/actions/get-completion-details.d.mts +9 -0
- package/dist/actions/get-completion-details.d.mts.map +1 -0
- package/dist/actions/get-completion-details.mjs +42 -0
- package/dist/actions/get-completion-details.mjs.map +1 -0
- package/dist/actions/get-drivers.cjs +34 -0
- package/dist/actions/get-drivers.cjs.map +1 -0
- package/dist/actions/get-drivers.d.cts +9 -0
- package/dist/actions/get-drivers.d.cts.map +1 -0
- package/dist/actions/get-drivers.d.mts +9 -0
- package/dist/actions/get-drivers.d.mts.map +1 -0
- package/dist/actions/get-drivers.mjs +33 -0
- package/dist/actions/get-drivers.mjs.map +1 -0
- package/dist/actions/get-events.cjs +40 -0
- package/dist/actions/get-events.cjs.map +1 -0
- package/dist/actions/get-events.d.cts +9 -0
- package/dist/actions/get-events.d.cts.map +1 -0
- package/dist/actions/get-events.d.mts +9 -0
- package/dist/actions/get-events.d.mts.map +1 -0
- package/dist/actions/get-events.mjs +39 -0
- package/dist/actions/get-events.mjs.map +1 -0
- package/dist/actions/get-orders.cjs +88 -0
- package/dist/actions/get-orders.cjs.map +1 -0
- package/dist/actions/get-orders.d.cts +9 -0
- package/dist/actions/get-orders.d.cts.map +1 -0
- package/dist/actions/get-orders.d.mts +9 -0
- package/dist/actions/get-orders.d.mts.map +1 -0
- package/dist/actions/get-orders.mjs +87 -0
- package/dist/actions/get-orders.mjs.map +1 -0
- package/dist/actions/get-planning-status.cjs +22 -0
- package/dist/actions/get-planning-status.cjs.map +1 -0
- package/dist/actions/get-planning-status.d.cts +9 -0
- package/dist/actions/get-planning-status.d.cts.map +1 -0
- package/dist/actions/get-planning-status.d.mts +9 -0
- package/dist/actions/get-planning-status.d.mts.map +1 -0
- package/dist/actions/get-planning-status.mjs +19 -0
- package/dist/actions/get-planning-status.mjs.map +1 -0
- package/dist/actions/get-routes.cjs +66 -0
- package/dist/actions/get-routes.cjs.map +1 -0
- package/dist/actions/get-routes.d.cts +9 -0
- package/dist/actions/get-routes.d.cts.map +1 -0
- package/dist/actions/get-routes.d.mts +9 -0
- package/dist/actions/get-routes.d.mts.map +1 -0
- package/dist/actions/get-routes.mjs +65 -0
- package/dist/actions/get-routes.mjs.map +1 -0
- package/dist/actions/get-scheduling-info.cjs +38 -0
- package/dist/actions/get-scheduling-info.cjs.map +1 -0
- package/dist/actions/get-scheduling-info.d.cts +9 -0
- package/dist/actions/get-scheduling-info.d.cts.map +1 -0
- package/dist/actions/get-scheduling-info.d.mts +9 -0
- package/dist/actions/get-scheduling-info.d.mts.map +1 -0
- package/dist/actions/get-scheduling-info.mjs +37 -0
- package/dist/actions/get-scheduling-info.mjs.map +1 -0
- package/dist/actions/index.cjs +35 -0
- package/dist/actions/index.d.cts +18 -0
- package/dist/actions/index.d.mts +18 -0
- package/dist/actions/index.mjs +18 -0
- package/dist/actions/search-orders.cjs +86 -0
- package/dist/actions/search-orders.cjs.map +1 -0
- package/dist/actions/search-orders.d.cts +9 -0
- package/dist/actions/search-orders.d.cts.map +1 -0
- package/dist/actions/search-orders.d.mts +9 -0
- package/dist/actions/search-orders.d.mts.map +1 -0
- package/dist/actions/search-orders.mjs +85 -0
- package/dist/actions/search-orders.mjs.map +1 -0
- package/dist/actions/start-planning.cjs +55 -0
- package/dist/actions/start-planning.cjs.map +1 -0
- package/dist/actions/start-planning.d.cts +9 -0
- package/dist/actions/start-planning.d.cts.map +1 -0
- package/dist/actions/start-planning.d.mts +9 -0
- package/dist/actions/start-planning.d.mts.map +1 -0
- package/dist/actions/start-planning.mjs +52 -0
- package/dist/actions/start-planning.mjs.map +1 -0
- package/dist/actions/stop-planning.cjs +20 -0
- package/dist/actions/stop-planning.cjs.map +1 -0
- package/dist/actions/stop-planning.d.cts +9 -0
- package/dist/actions/stop-planning.d.cts.map +1 -0
- package/dist/actions/stop-planning.d.mts +9 -0
- package/dist/actions/stop-planning.d.mts.map +1 -0
- package/dist/actions/stop-planning.mjs +17 -0
- package/dist/actions/stop-planning.mjs.map +1 -0
- package/dist/actions/update-driver-parameters.cjs +37 -0
- package/dist/actions/update-driver-parameters.cjs.map +1 -0
- package/dist/actions/update-driver-parameters.d.cts +9 -0
- package/dist/actions/update-driver-parameters.d.cts.map +1 -0
- package/dist/actions/update-driver-parameters.d.mts +9 -0
- package/dist/actions/update-driver-parameters.d.mts.map +1 -0
- package/dist/actions/update-driver-parameters.mjs +34 -0
- package/dist/actions/update-driver-parameters.mjs.map +1 -0
- package/dist/actions/update-drivers-parameters.cjs +61 -0
- package/dist/actions/update-drivers-parameters.cjs.map +1 -0
- package/dist/actions/update-drivers-parameters.d.cts +9 -0
- package/dist/actions/update-drivers-parameters.d.cts.map +1 -0
- package/dist/actions/update-drivers-parameters.d.mts +9 -0
- package/dist/actions/update-drivers-parameters.d.mts.map +1 -0
- package/dist/actions/update-drivers-parameters.mjs +60 -0
- package/dist/actions/update-drivers-parameters.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +40 -0
- package/dist/index.d.cts +20 -0
- package/dist/index.d.mts +20 -0
- package/dist/index.mjs +21 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-all-orders.cjs","names":["z","action"],"sources":["../../src/actions/delete-all-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OptimorouteDeleteAllOrdersInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Optional date for which to remove orders and routes in YYYY-MM-DD format. If not provided, all orders system-wide will be deleted.\").optional(),\n}).describe(\"Request parameters for deleting all orders and planned routes.\");\nexport const OptimorouteDeleteAllOrdersOutput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Error or warning code if operation unsuccessful\").nullable().optional(),\n message: z.string().describe(\"Human-readable error or warning description\").nullable().optional(),\n success: z.boolean().describe(\"Indicates successful deletion (true) or error occurrence (false)\"),\n planningId: z.number().int().describe(\"ID of ongoing optimization process if conflict exists\").nullable().optional(),\n}).describe(\"Response schema for delete all orders operation.\");\n\nexport const optimorouteDeleteAllOrders = action(\"OPTIMOROUTE_DELETE_ALL_ORDERS\", {\n slug: \"optimoroute-delete-all-orders\",\n name: \"Delete All Orders\",\n description: \"Tool to remove all orders and planned routes for a specified date. Use when you need to clear orders for a specific date or delete all orders system-wide if no date is provided.\",\n input: OptimorouteDeleteAllOrdersInput,\n output: OptimorouteDeleteAllOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-all-orders.d.ts
|
|
4
|
+
declare const OptimorouteDeleteAllOrdersInput: z.ZodTypeAny;
|
|
5
|
+
declare const OptimorouteDeleteAllOrdersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const optimorouteDeleteAllOrders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { optimorouteDeleteAllOrders };
|
|
9
|
+
//# sourceMappingURL=delete-all-orders.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-all-orders.d.cts","names":[],"sources":["../../src/actions/delete-all-orders.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE6B;AAAA,cAChE,gCAAA,EAAkC,CAAA,CAAE,UAKc;AAAA,cAElD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-all-orders.d.ts
|
|
4
|
+
declare const OptimorouteDeleteAllOrdersInput: z.ZodTypeAny;
|
|
5
|
+
declare const OptimorouteDeleteAllOrdersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const optimorouteDeleteAllOrders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { optimorouteDeleteAllOrders };
|
|
9
|
+
//# sourceMappingURL=delete-all-orders.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-all-orders.d.mts","names":[],"sources":["../../src/actions/delete-all-orders.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE6B;AAAA,cAChE,gCAAA,EAAkC,CAAA,CAAE,UAKc;AAAA,cAElD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const optimorouteDeleteAllOrders = action("OPTIMOROUTE_DELETE_ALL_ORDERS", {
|
|
4
|
+
slug: "optimoroute-delete-all-orders",
|
|
5
|
+
name: "Delete All Orders",
|
|
6
|
+
description: "Tool to remove all orders and planned routes for a specified date. Use when you need to clear orders for a specific date or delete all orders system-wide if no date is provided.",
|
|
7
|
+
input: z.object({ date: z.string().describe("Optional date for which to remove orders and routes in YYYY-MM-DD format. If not provided, all orders system-wide will be deleted.").optional() }).describe("Request parameters for deleting all orders and planned routes."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
code: z.string().describe("Error or warning code if operation unsuccessful").nullable().optional(),
|
|
10
|
+
message: z.string().describe("Human-readable error or warning description").nullable().optional(),
|
|
11
|
+
success: z.boolean().describe("Indicates successful deletion (true) or error occurrence (false)"),
|
|
12
|
+
planningId: z.number().int().describe("ID of ongoing optimization process if conflict exists").nullable().optional()
|
|
13
|
+
}).describe("Response schema for delete all orders operation.")
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { optimorouteDeleteAllOrders };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=delete-all-orders.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-all-orders.mjs","names":[],"sources":["../../src/actions/delete-all-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OptimorouteDeleteAllOrdersInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Optional date for which to remove orders and routes in YYYY-MM-DD format. If not provided, all orders system-wide will be deleted.\").optional(),\n}).describe(\"Request parameters for deleting all orders and planned routes.\");\nexport const OptimorouteDeleteAllOrdersOutput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Error or warning code if operation unsuccessful\").nullable().optional(),\n message: z.string().describe(\"Human-readable error or warning description\").nullable().optional(),\n success: z.boolean().describe(\"Indicates successful deletion (true) or error occurrence (false)\"),\n planningId: z.number().int().describe(\"ID of ongoing optimization process if conflict exists\").nullable().optional(),\n}).describe(\"Response schema for delete all orders operation.\");\n\nexport const optimorouteDeleteAllOrders = action(\"OPTIMOROUTE_DELETE_ALL_ORDERS\", {\n slug: \"optimoroute-delete-all-orders\",\n name: \"Delete All Orders\",\n description: \"Tool to remove all orders and planned routes for a specified date. Use when you need to clear orders for a specific date or delete all orders system-wide if no date is provided.\",\n input: OptimorouteDeleteAllOrdersInput,\n output: OptimorouteDeleteAllOrdersOutput,\n});\n"],"mappings":";;AAcA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2D,EAAE,OAAO,EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,SAAS,gEAYH;CACP,QAZ4D,EAAE,OAAO;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-order.ts
|
|
4
|
+
const OptimorouteDeleteOrderInput = zod.z.object({
|
|
5
|
+
orderNo: zod.z.string().describe("The user-specified identifier of the order to be deleted"),
|
|
6
|
+
forceDelete: zod.z.boolean().describe("If true, typical restrictions on removing orders from active plans are bypassed. Defaults to false").optional()
|
|
7
|
+
}).describe("Request parameters for deleting a single order.");
|
|
8
|
+
const OptimorouteDeleteOrderOutput = zod.z.object({
|
|
9
|
+
code: zod.z.string().describe("Error or warning code; omitted if operation succeeds. Common codes: ERR_ORD_NOT_FOUND (order not found), ERR_MULTIPLE_ORD_FOUND (multiple orders with same orderNo), ERR_OPT_RUNNING (active optimization prevents deletion)").nullable().optional(),
|
|
10
|
+
message: zod.z.string().describe("Error or warning description; omitted if operation succeeds").nullable().optional(),
|
|
11
|
+
success: zod.z.boolean().describe("Indicates whether the deletion succeeded (true) or encountered an error (false)"),
|
|
12
|
+
planningId: zod.z.number().int().describe("The optimization process ID if one is running for this order").nullable().optional()
|
|
13
|
+
}).describe("Response schema for delete order operation.");
|
|
14
|
+
const optimorouteDeleteOrder = require_action.action("OPTIMOROUTE_DELETE_ORDER", {
|
|
15
|
+
slug: "optimoroute-delete-order",
|
|
16
|
+
name: "Delete Order",
|
|
17
|
+
description: "Tool to remove a single order from the OptimoRoute system. Use when you need to delete a specific order by its orderNo.",
|
|
18
|
+
input: OptimorouteDeleteOrderInput,
|
|
19
|
+
output: OptimorouteDeleteOrderOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.optimorouteDeleteOrder = optimorouteDeleteOrder;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=delete-order.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-order.cjs","names":["z","action"],"sources":["../../src/actions/delete-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OptimorouteDeleteOrderInput: z.ZodTypeAny = z.object({\n orderNo: z.string().describe(\"The user-specified identifier of the order to be deleted\"),\n forceDelete: z.boolean().describe(\"If true, typical restrictions on removing orders from active plans are bypassed. Defaults to false\").optional(),\n}).describe(\"Request parameters for deleting a single order.\");\nexport const OptimorouteDeleteOrderOutput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Error or warning code; omitted if operation succeeds. Common codes: ERR_ORD_NOT_FOUND (order not found), ERR_MULTIPLE_ORD_FOUND (multiple orders with same orderNo), ERR_OPT_RUNNING (active optimization prevents deletion)\").nullable().optional(),\n message: z.string().describe(\"Error or warning description; omitted if operation succeeds\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion succeeded (true) or encountered an error (false)\"),\n planningId: z.number().int().describe(\"The optimization process ID if one is running for this order\").nullable().optional(),\n}).describe(\"Response schema for delete order operation.\");\n\nexport const optimorouteDeleteOrder = action(\"OPTIMOROUTE_DELETE_ORDER\", {\n slug: \"optimoroute-delete-order\",\n name: \"Delete Order\",\n description: \"Tool to remove a single order from the OptimoRoute system. Use when you need to delete a specific order by its orderNo.\",\n input: OptimorouteDeleteOrderInput,\n output: OptimorouteDeleteOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACvF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9Q,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-order.d.ts
|
|
4
|
+
declare const OptimorouteDeleteOrderInput: z.ZodTypeAny;
|
|
5
|
+
declare const OptimorouteDeleteOrderOutput: z.ZodTypeAny;
|
|
6
|
+
declare const optimorouteDeleteOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { optimorouteDeleteOrder };
|
|
9
|
+
//# sourceMappingURL=delete-order.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-order.d.cts","names":[],"sources":["../../src/actions/delete-order.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGkB;AAAA,cACjD,4BAAA,EAA8B,CAAA,CAAE,UAKa;AAAA,cAE7C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-order.d.ts
|
|
4
|
+
declare const OptimorouteDeleteOrderInput: z.ZodTypeAny;
|
|
5
|
+
declare const OptimorouteDeleteOrderOutput: z.ZodTypeAny;
|
|
6
|
+
declare const optimorouteDeleteOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { optimorouteDeleteOrder };
|
|
9
|
+
//# sourceMappingURL=delete-order.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-order.d.mts","names":[],"sources":["../../src/actions/delete-order.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGkB;AAAA,cACjD,4BAAA,EAA8B,CAAA,CAAE,UAKa;AAAA,cAE7C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const optimorouteDeleteOrder = action("OPTIMOROUTE_DELETE_ORDER", {
|
|
4
|
+
slug: "optimoroute-delete-order",
|
|
5
|
+
name: "Delete Order",
|
|
6
|
+
description: "Tool to remove a single order from the OptimoRoute system. Use when you need to delete a specific order by its orderNo.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
orderNo: z.string().describe("The user-specified identifier of the order to be deleted"),
|
|
9
|
+
forceDelete: z.boolean().describe("If true, typical restrictions on removing orders from active plans are bypassed. Defaults to false").optional()
|
|
10
|
+
}).describe("Request parameters for deleting a single order."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
code: z.string().describe("Error or warning code; omitted if operation succeeds. Common codes: ERR_ORD_NOT_FOUND (order not found), ERR_MULTIPLE_ORD_FOUND (multiple orders with same orderNo), ERR_OPT_RUNNING (active optimization prevents deletion)").nullable().optional(),
|
|
13
|
+
message: z.string().describe("Error or warning description; omitted if operation succeeds").nullable().optional(),
|
|
14
|
+
success: z.boolean().describe("Indicates whether the deletion succeeded (true) or encountered an error (false)"),
|
|
15
|
+
planningId: z.number().int().describe("The optimization process ID if one is running for this order").nullable().optional()
|
|
16
|
+
}).describe("Response schema for delete order operation.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { optimorouteDeleteOrder };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=delete-order.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-order.mjs","names":[],"sources":["../../src/actions/delete-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OptimorouteDeleteOrderInput: z.ZodTypeAny = z.object({\n orderNo: z.string().describe(\"The user-specified identifier of the order to be deleted\"),\n forceDelete: z.boolean().describe(\"If true, typical restrictions on removing orders from active plans are bypassed. Defaults to false\").optional(),\n}).describe(\"Request parameters for deleting a single order.\");\nexport const OptimorouteDeleteOrderOutput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Error or warning code; omitted if operation succeeds. Common codes: ERR_ORD_NOT_FOUND (order not found), ERR_MULTIPLE_ORD_FOUND (multiple orders with same orderNo), ERR_OPT_RUNNING (active optimization prevents deletion)\").nullable().optional(),\n message: z.string().describe(\"Error or warning description; omitted if operation succeeds\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion succeeded (true) or encountered an error (false)\"),\n planningId: z.number().int().describe(\"The optimization process ID if one is running for this order\").nullable().optional(),\n}).describe(\"Response schema for delete order operation.\");\n\nexport const optimorouteDeleteOrder = action(\"OPTIMOROUTE_DELETE_ORDER\", {\n slug: \"optimoroute-delete-order\",\n name: \"Delete Order\",\n description: \"Tool to remove a single order from the OptimoRoute system. Use when you need to delete a specific order by its orderNo.\",\n input: OptimorouteDeleteOrderInput,\n output: OptimorouteDeleteOrderOutput,\n});\n"],"mappings":";;AAeA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACvF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,iDAYH;CACP,QAZwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9Q,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-orders.ts
|
|
4
|
+
const OptimorouteDeleteOrdersInput = zod.z.object({
|
|
5
|
+
orders: zod.z.array(zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("OptimoRoute-assigned unique identifier. Either orderNo or id must be provided.").optional(),
|
|
7
|
+
orderNo: zod.z.string().describe("User-specified order identifier. Either orderNo or id must be provided.").optional()
|
|
8
|
+
}).describe("Represents a single order to be deleted.")).describe("List of orders to delete (max 500 per request). Each order must have either orderNo or id."),
|
|
9
|
+
forceDelete: zod.z.boolean().default(false).describe("If true, ignores restrictions on deleting orders from live plans. Default: false.").optional(),
|
|
10
|
+
deleteMultiple: zod.z.boolean().default(false).describe("If true, deletes all matches when multiple orders share the same identifier. Default: false.").optional()
|
|
11
|
+
}).describe("Request parameters for deleting one or more orders from the system.");
|
|
12
|
+
const OptimorouteDeleteOrders_DeletedOrderSchema = zod.z.object({
|
|
13
|
+
id: zod.z.string().describe("The unique OptimoRoute-assigned identifier if used in request").nullable().optional(),
|
|
14
|
+
code: zod.z.string().describe("Error code if operation failed (e.g., ERR_ORD_NOT_FOUND, ERR_MULTIPLE_ORD_FOUND)").nullable().optional(),
|
|
15
|
+
message: zod.z.string().describe("Error description if operation failed").nullable().optional(),
|
|
16
|
+
orderNo: zod.z.string().describe("The identifier of the deleted order or failed deletion").nullable().optional(),
|
|
17
|
+
success: zod.z.boolean().describe("Whether the deletion was successful").nullable().optional(),
|
|
18
|
+
planningId: zod.z.number().int().describe("ID of running optimization process, if applicable").nullable().optional()
|
|
19
|
+
}).describe("Result of a single order deletion attempt.");
|
|
20
|
+
const OptimorouteDeleteOrdersOutput = zod.z.object({
|
|
21
|
+
orders: zod.z.array(OptimorouteDeleteOrders_DeletedOrderSchema).describe("Array of delete response objects, one per requested order"),
|
|
22
|
+
success: zod.z.boolean().describe("True if at least one order was deleted; false if all deletions failed")
|
|
23
|
+
}).describe("Response schema for deleting orders.");
|
|
24
|
+
const optimorouteDeleteOrders = require_action.action("OPTIMOROUTE_DELETE_ORDERS", {
|
|
25
|
+
slug: "optimoroute-delete-orders",
|
|
26
|
+
name: "Delete Orders",
|
|
27
|
+
description: "Tool to delete one or more orders from the system in bulk (max 500 per request). Use when you need to remove orders, either individually or in batch operations.",
|
|
28
|
+
input: OptimorouteDeleteOrdersInput,
|
|
29
|
+
output: OptimorouteDeleteOrdersOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.optimorouteDeleteOrders = optimorouteDeleteOrders;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=delete-orders.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-orders.cjs","names":["z","action"],"sources":["../../src/actions/delete-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OptimorouteDeleteOrdersInput: z.ZodTypeAny = z.object({\n orders: z.array(z.object({\n id: z.string().describe(\"OptimoRoute-assigned unique identifier. Either orderNo or id must be provided.\").optional(),\n orderNo: z.string().describe(\"User-specified order identifier. Either orderNo or id must be provided.\").optional(),\n}).describe(\"Represents a single order to be deleted.\")).describe(\"List of orders to delete (max 500 per request). Each order must have either orderNo or id.\"),\n forceDelete: z.boolean().default(false).describe(\"If true, ignores restrictions on deleting orders from live plans. Default: false.\").optional(),\n deleteMultiple: z.boolean().default(false).describe(\"If true, deletes all matches when multiple orders share the same identifier. Default: false.\").optional(),\n}).describe(\"Request parameters for deleting one or more orders from the system.\");\nconst OptimorouteDeleteOrders_DeletedOrderSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique OptimoRoute-assigned identifier if used in request\").nullable().optional(),\n code: z.string().describe(\"Error code if operation failed (e.g., ERR_ORD_NOT_FOUND, ERR_MULTIPLE_ORD_FOUND)\").nullable().optional(),\n message: z.string().describe(\"Error description if operation failed\").nullable().optional(),\n orderNo: z.string().describe(\"The identifier of the deleted order or failed deletion\").nullable().optional(),\n success: z.boolean().describe(\"Whether the deletion was successful\").nullable().optional(),\n planningId: z.number().int().describe(\"ID of running optimization process, if applicable\").nullable().optional(),\n}).describe(\"Result of a single order deletion attempt.\");\nexport const OptimorouteDeleteOrdersOutput: z.ZodTypeAny = z.object({\n orders: z.array(OptimorouteDeleteOrders_DeletedOrderSchema).describe(\"Array of delete response objects, one per requested order\"),\n success: z.boolean().describe(\"True if at least one order was deleted; false if all deletions failed\"),\n}).describe(\"Response schema for deleting orders.\");\n\nexport const optimorouteDeleteOrders = action(\"OPTIMOROUTE_DELETE_ORDERS\", {\n slug: \"optimoroute-delete-orders\",\n name: \"Delete Orders\",\n description: \"Tool to delete one or more orders from the system in bulk (max 500 per request). Use when you need to remove orders, either individually or in batch operations.\",\n input: OptimorouteDeleteOrdersInput,\n output: OptimorouteDeleteOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,4FAA4F;CAC5J,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/I,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,2DAA2D;CAChI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE;AACvG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-orders.d.ts
|
|
4
|
+
declare const OptimorouteDeleteOrdersInput: z.ZodTypeAny;
|
|
5
|
+
declare const OptimorouteDeleteOrdersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const optimorouteDeleteOrders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { optimorouteDeleteOrders };
|
|
9
|
+
//# sourceMappingURL=delete-orders.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-orders.d.cts","names":[],"sources":["../../src/actions/delete-orders.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAOqC;AAAA,cASrE,6BAAA,EAA+B,CAAA,CAAE,UAGK;AAAA,cAEtC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-orders.d.ts
|
|
4
|
+
declare const OptimorouteDeleteOrdersInput: z.ZodTypeAny;
|
|
5
|
+
declare const OptimorouteDeleteOrdersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const optimorouteDeleteOrders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { optimorouteDeleteOrders };
|
|
9
|
+
//# sourceMappingURL=delete-orders.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-orders.d.mts","names":[],"sources":["../../src/actions/delete-orders.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAOqC;AAAA,cASrE,6BAAA,EAA+B,CAAA,CAAE,UAGK;AAAA,cAEtC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-orders.ts
|
|
4
|
+
const OptimorouteDeleteOrdersInput = z.object({
|
|
5
|
+
orders: z.array(z.object({
|
|
6
|
+
id: z.string().describe("OptimoRoute-assigned unique identifier. Either orderNo or id must be provided.").optional(),
|
|
7
|
+
orderNo: z.string().describe("User-specified order identifier. Either orderNo or id must be provided.").optional()
|
|
8
|
+
}).describe("Represents a single order to be deleted.")).describe("List of orders to delete (max 500 per request). Each order must have either orderNo or id."),
|
|
9
|
+
forceDelete: z.boolean().default(false).describe("If true, ignores restrictions on deleting orders from live plans. Default: false.").optional(),
|
|
10
|
+
deleteMultiple: z.boolean().default(false).describe("If true, deletes all matches when multiple orders share the same identifier. Default: false.").optional()
|
|
11
|
+
}).describe("Request parameters for deleting one or more orders from the system.");
|
|
12
|
+
const OptimorouteDeleteOrders_DeletedOrderSchema = z.object({
|
|
13
|
+
id: z.string().describe("The unique OptimoRoute-assigned identifier if used in request").nullable().optional(),
|
|
14
|
+
code: z.string().describe("Error code if operation failed (e.g., ERR_ORD_NOT_FOUND, ERR_MULTIPLE_ORD_FOUND)").nullable().optional(),
|
|
15
|
+
message: z.string().describe("Error description if operation failed").nullable().optional(),
|
|
16
|
+
orderNo: z.string().describe("The identifier of the deleted order or failed deletion").nullable().optional(),
|
|
17
|
+
success: z.boolean().describe("Whether the deletion was successful").nullable().optional(),
|
|
18
|
+
planningId: z.number().int().describe("ID of running optimization process, if applicable").nullable().optional()
|
|
19
|
+
}).describe("Result of a single order deletion attempt.");
|
|
20
|
+
const optimorouteDeleteOrders = action("OPTIMOROUTE_DELETE_ORDERS", {
|
|
21
|
+
slug: "optimoroute-delete-orders",
|
|
22
|
+
name: "Delete Orders",
|
|
23
|
+
description: "Tool to delete one or more orders from the system in bulk (max 500 per request). Use when you need to remove orders, either individually or in batch operations.",
|
|
24
|
+
input: OptimorouteDeleteOrdersInput,
|
|
25
|
+
output: z.object({
|
|
26
|
+
orders: z.array(OptimorouteDeleteOrders_DeletedOrderSchema).describe("Array of delete response objects, one per requested order"),
|
|
27
|
+
success: z.boolean().describe("True if at least one order was deleted; false if all deletions failed")
|
|
28
|
+
}).describe("Response schema for deleting orders.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { optimorouteDeleteOrders };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=delete-orders.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-orders.mjs","names":[],"sources":["../../src/actions/delete-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OptimorouteDeleteOrdersInput: z.ZodTypeAny = z.object({\n orders: z.array(z.object({\n id: z.string().describe(\"OptimoRoute-assigned unique identifier. Either orderNo or id must be provided.\").optional(),\n orderNo: z.string().describe(\"User-specified order identifier. Either orderNo or id must be provided.\").optional(),\n}).describe(\"Represents a single order to be deleted.\")).describe(\"List of orders to delete (max 500 per request). Each order must have either orderNo or id.\"),\n forceDelete: z.boolean().default(false).describe(\"If true, ignores restrictions on deleting orders from live plans. Default: false.\").optional(),\n deleteMultiple: z.boolean().default(false).describe(\"If true, deletes all matches when multiple orders share the same identifier. Default: false.\").optional(),\n}).describe(\"Request parameters for deleting one or more orders from the system.\");\nconst OptimorouteDeleteOrders_DeletedOrderSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique OptimoRoute-assigned identifier if used in request\").nullable().optional(),\n code: z.string().describe(\"Error code if operation failed (e.g., ERR_ORD_NOT_FOUND, ERR_MULTIPLE_ORD_FOUND)\").nullable().optional(),\n message: z.string().describe(\"Error description if operation failed\").nullable().optional(),\n orderNo: z.string().describe(\"The identifier of the deleted order or failed deletion\").nullable().optional(),\n success: z.boolean().describe(\"Whether the deletion was successful\").nullable().optional(),\n planningId: z.number().int().describe(\"ID of running optimization process, if applicable\").nullable().optional(),\n}).describe(\"Result of a single order deletion attempt.\");\nexport const OptimorouteDeleteOrdersOutput: z.ZodTypeAny = z.object({\n orders: z.array(OptimorouteDeleteOrders_DeletedOrderSchema).describe(\"Array of delete response objects, one per requested order\"),\n success: z.boolean().describe(\"True if at least one order was deleted; false if all deletions failed\"),\n}).describe(\"Response schema for deleting orders.\");\n\nexport const optimorouteDeleteOrders = action(\"OPTIMOROUTE_DELETE_ORDERS\", {\n slug: \"optimoroute-delete-orders\",\n name: \"Delete Orders\",\n description: \"Tool to delete one or more orders from the system in bulk (max 500 per request). Use when you need to remove orders, either individually or in batch operations.\",\n input: OptimorouteDeleteOrdersInput,\n output: OptimorouteDeleteOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,4FAA4F;CAC5J,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/I,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAMxD,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,2DAA2D;EAChI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE;CACvG,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-completion-details.ts
|
|
4
|
+
const OptimorouteGetCompletionDetailsInput = zod.z.object({ orders: zod.z.array(zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("OptimoRoute-assigned unique order identifier").optional(),
|
|
6
|
+
orderNo: zod.z.string().describe("User-specified order identifier").optional()
|
|
7
|
+
}).describe("Order identifier object - must contain either orderNo or id.")).describe("List of order identifiers to retrieve completion details for. Maximum 500 orders per request. Each order must contain either orderNo or id.") }).describe("Request parameters for retrieving completion details for one or more orders.");
|
|
8
|
+
const OptimorouteGetCompletionDetails_FormDataSchema = zod.z.object({ note: zod.z.string().describe("Notes entered during completion").nullable().optional() }).describe("Captured form data from order completion.");
|
|
9
|
+
const OptimorouteGetCompletionDetails_TimeInfoSchema = zod.z.object({
|
|
10
|
+
utcTime: zod.z.string().describe("ISO 8601 formatted UTC time").nullable().optional(),
|
|
11
|
+
localTime: zod.z.string().describe("ISO 8601 formatted local time").nullable().optional(),
|
|
12
|
+
unixTimestamp: zod.z.number().int().describe("Unix timestamp").nullable().optional()
|
|
13
|
+
}).describe("Time information with multiple representations.");
|
|
14
|
+
const OptimorouteGetCompletionDetails_CompletionDataSchema = zod.z.object({
|
|
15
|
+
form: OptimorouteGetCompletionDetails_FormDataSchema.nullable().optional(),
|
|
16
|
+
status: zod.z.string().describe("Order outcome status. Possible values: success, failed, rejected, in_progress, scheduled, unscheduled").nullable().optional(),
|
|
17
|
+
endTime: OptimorouteGetCompletionDetails_TimeInfoSchema.nullable().optional(),
|
|
18
|
+
startTime: OptimorouteGetCompletionDetails_TimeInfoSchema.nullable().optional(),
|
|
19
|
+
tracking_url: zod.z.string().describe("URL for order tracking information").nullable().optional()
|
|
20
|
+
}).describe("Detailed completion information for an order.");
|
|
21
|
+
const OptimorouteGetCompletionDetails_OrderCompletionResultSchema = zod.z.object({
|
|
22
|
+
id: zod.z.string().describe("OptimoRoute-assigned unique order identifier").nullable().optional(),
|
|
23
|
+
code: zod.z.string().describe("Error code (present when success is false)").nullable().optional(),
|
|
24
|
+
data: OptimorouteGetCompletionDetails_CompletionDataSchema.nullable().optional(),
|
|
25
|
+
message: zod.z.string().describe("Error message (present when success is false)").nullable().optional(),
|
|
26
|
+
orderNo: zod.z.string().describe("User-specified order identifier").nullable().optional(),
|
|
27
|
+
success: zod.z.boolean().describe("Indicates if completion data was retrieved for this specific order")
|
|
28
|
+
}).describe("Completion result for a single order.");
|
|
29
|
+
const OptimorouteGetCompletionDetailsOutput = zod.z.object({
|
|
30
|
+
orders: zod.z.array(OptimorouteGetCompletionDetails_OrderCompletionResultSchema).describe("Array of completion objects corresponding to each requested order"),
|
|
31
|
+
success: zod.z.boolean().describe("Indicates overall request success")
|
|
32
|
+
}).describe("Response schema for retrieving completion details.");
|
|
33
|
+
const optimorouteGetCompletionDetails = require_action.action("OPTIMOROUTE_GET_COMPLETION_DETAILS", {
|
|
34
|
+
slug: "optimoroute-get-completion-details",
|
|
35
|
+
name: "Get Order Completion Details",
|
|
36
|
+
description: "Tool to retrieve completion details for one or more orders including proof of delivery data. Use when you need to check order completion status, timing details, and form data.",
|
|
37
|
+
input: OptimorouteGetCompletionDetailsInput,
|
|
38
|
+
output: OptimorouteGetCompletionDetailsOutput
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.optimorouteGetCompletionDetails = optimorouteGetCompletionDetails;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=get-completion-details.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-completion-details.cjs","names":["z","action"],"sources":["../../src/actions/get-completion-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OptimorouteGetCompletionDetailsInput: z.ZodTypeAny = z.object({\n orders: z.array(z.object({\n id: z.string().describe(\"OptimoRoute-assigned unique order identifier\").optional(),\n orderNo: z.string().describe(\"User-specified order identifier\").optional(),\n}).describe(\"Order identifier object - must contain either orderNo or id.\")).describe(\"List of order identifiers to retrieve completion details for. Maximum 500 orders per request. Each order must contain either orderNo or id.\"),\n}).describe(\"Request parameters for retrieving completion details for one or more orders.\");\nconst OptimorouteGetCompletionDetails_FormDataSchema: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Notes entered during completion\").nullable().optional(),\n}).describe(\"Captured form data from order completion.\");\nconst OptimorouteGetCompletionDetails_TimeInfoSchema: z.ZodTypeAny = z.object({\n utcTime: z.string().describe(\"ISO 8601 formatted UTC time\").nullable().optional(),\n localTime: z.string().describe(\"ISO 8601 formatted local time\").nullable().optional(),\n unixTimestamp: z.number().int().describe(\"Unix timestamp\").nullable().optional(),\n}).describe(\"Time information with multiple representations.\");\nconst OptimorouteGetCompletionDetails_CompletionDataSchema: z.ZodTypeAny = z.object({\n form: OptimorouteGetCompletionDetails_FormDataSchema.nullable().optional(),\n status: z.string().describe(\"Order outcome status. Possible values: success, failed, rejected, in_progress, scheduled, unscheduled\").nullable().optional(),\n endTime: OptimorouteGetCompletionDetails_TimeInfoSchema.nullable().optional(),\n startTime: OptimorouteGetCompletionDetails_TimeInfoSchema.nullable().optional(),\n tracking_url: z.string().describe(\"URL for order tracking information\").nullable().optional(),\n}).describe(\"Detailed completion information for an order.\");\nconst OptimorouteGetCompletionDetails_OrderCompletionResultSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"OptimoRoute-assigned unique order identifier\").nullable().optional(),\n code: z.string().describe(\"Error code (present when success is false)\").nullable().optional(),\n data: OptimorouteGetCompletionDetails_CompletionDataSchema.nullable().optional(),\n message: z.string().describe(\"Error message (present when success is false)\").nullable().optional(),\n orderNo: z.string().describe(\"User-specified order identifier\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if completion data was retrieved for this specific order\"),\n}).describe(\"Completion result for a single order.\");\nexport const OptimorouteGetCompletionDetailsOutput: z.ZodTypeAny = z.object({\n orders: z.array(OptimorouteGetCompletionDetails_OrderCompletionResultSchema).describe(\"Array of completion objects corresponding to each requested order\"),\n success: z.boolean().describe(\"Indicates overall request success\"),\n}).describe(\"Response schema for retrieving completion details.\");\n\nexport const optimorouteGetCompletionDetails = action(\"OPTIMOROUTE_GET_COMPLETION_DETAILS\", {\n slug: \"optimoroute-get-completion-details\",\n name: \"Get Order Completion Details\",\n description: \"Tool to retrieve completion details for one or more orders including proof of delivery data. Use when you need to check order completion status, timing details, and form data.\",\n input: OptimorouteGetCompletionDetailsInput,\n output: OptimorouteGetCompletionDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,CAAC,SAAS,6IAA6I,EACnO,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,iDAA+DA,IAAAA,EAAE,OAAO,EAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,MAAM,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,8DAA4EA,IAAAA,EAAE,OAAO;CACzF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,qDAAqD,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE;AACpG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,QAAQA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,mEAAmE;CACzJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;AACnE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-completion-details.d.ts
|
|
4
|
+
declare const OptimorouteGetCompletionDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OptimorouteGetCompletionDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const optimorouteGetCompletionDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { optimorouteGetCompletionDetails };
|
|
9
|
+
//# sourceMappingURL=get-completion-details.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-completion-details.d.cts","names":[],"sources":["../../src/actions/get-completion-details.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAKsC;AAAA,cAwB9E,qCAAA,EAAuC,CAAA,CAAE,UAGW;AAAA,cAEpD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-completion-details.d.ts
|
|
4
|
+
declare const OptimorouteGetCompletionDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OptimorouteGetCompletionDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const optimorouteGetCompletionDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { optimorouteGetCompletionDetails };
|
|
9
|
+
//# sourceMappingURL=get-completion-details.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-completion-details.d.mts","names":[],"sources":["../../src/actions/get-completion-details.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAKsC;AAAA,cAwB9E,qCAAA,EAAuC,CAAA,CAAE,UAGW;AAAA,cAEpD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-completion-details.ts
|
|
4
|
+
const OptimorouteGetCompletionDetailsInput = z.object({ orders: z.array(z.object({
|
|
5
|
+
id: z.string().describe("OptimoRoute-assigned unique order identifier").optional(),
|
|
6
|
+
orderNo: z.string().describe("User-specified order identifier").optional()
|
|
7
|
+
}).describe("Order identifier object - must contain either orderNo or id.")).describe("List of order identifiers to retrieve completion details for. Maximum 500 orders per request. Each order must contain either orderNo or id.") }).describe("Request parameters for retrieving completion details for one or more orders.");
|
|
8
|
+
const OptimorouteGetCompletionDetails_FormDataSchema = z.object({ note: z.string().describe("Notes entered during completion").nullable().optional() }).describe("Captured form data from order completion.");
|
|
9
|
+
const OptimorouteGetCompletionDetails_TimeInfoSchema = z.object({
|
|
10
|
+
utcTime: z.string().describe("ISO 8601 formatted UTC time").nullable().optional(),
|
|
11
|
+
localTime: z.string().describe("ISO 8601 formatted local time").nullable().optional(),
|
|
12
|
+
unixTimestamp: z.number().int().describe("Unix timestamp").nullable().optional()
|
|
13
|
+
}).describe("Time information with multiple representations.");
|
|
14
|
+
const OptimorouteGetCompletionDetails_CompletionDataSchema = z.object({
|
|
15
|
+
form: OptimorouteGetCompletionDetails_FormDataSchema.nullable().optional(),
|
|
16
|
+
status: z.string().describe("Order outcome status. Possible values: success, failed, rejected, in_progress, scheduled, unscheduled").nullable().optional(),
|
|
17
|
+
endTime: OptimorouteGetCompletionDetails_TimeInfoSchema.nullable().optional(),
|
|
18
|
+
startTime: OptimorouteGetCompletionDetails_TimeInfoSchema.nullable().optional(),
|
|
19
|
+
tracking_url: z.string().describe("URL for order tracking information").nullable().optional()
|
|
20
|
+
}).describe("Detailed completion information for an order.");
|
|
21
|
+
const OptimorouteGetCompletionDetails_OrderCompletionResultSchema = z.object({
|
|
22
|
+
id: z.string().describe("OptimoRoute-assigned unique order identifier").nullable().optional(),
|
|
23
|
+
code: z.string().describe("Error code (present when success is false)").nullable().optional(),
|
|
24
|
+
data: OptimorouteGetCompletionDetails_CompletionDataSchema.nullable().optional(),
|
|
25
|
+
message: z.string().describe("Error message (present when success is false)").nullable().optional(),
|
|
26
|
+
orderNo: z.string().describe("User-specified order identifier").nullable().optional(),
|
|
27
|
+
success: z.boolean().describe("Indicates if completion data was retrieved for this specific order")
|
|
28
|
+
}).describe("Completion result for a single order.");
|
|
29
|
+
const optimorouteGetCompletionDetails = action("OPTIMOROUTE_GET_COMPLETION_DETAILS", {
|
|
30
|
+
slug: "optimoroute-get-completion-details",
|
|
31
|
+
name: "Get Order Completion Details",
|
|
32
|
+
description: "Tool to retrieve completion details for one or more orders including proof of delivery data. Use when you need to check order completion status, timing details, and form data.",
|
|
33
|
+
input: OptimorouteGetCompletionDetailsInput,
|
|
34
|
+
output: z.object({
|
|
35
|
+
orders: z.array(OptimorouteGetCompletionDetails_OrderCompletionResultSchema).describe("Array of completion objects corresponding to each requested order"),
|
|
36
|
+
success: z.boolean().describe("Indicates overall request success")
|
|
37
|
+
}).describe("Response schema for retrieving completion details.")
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { optimorouteGetCompletionDetails };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=get-completion-details.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-completion-details.mjs","names":[],"sources":["../../src/actions/get-completion-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OptimorouteGetCompletionDetailsInput: z.ZodTypeAny = z.object({\n orders: z.array(z.object({\n id: z.string().describe(\"OptimoRoute-assigned unique order identifier\").optional(),\n orderNo: z.string().describe(\"User-specified order identifier\").optional(),\n}).describe(\"Order identifier object - must contain either orderNo or id.\")).describe(\"List of order identifiers to retrieve completion details for. Maximum 500 orders per request. Each order must contain either orderNo or id.\"),\n}).describe(\"Request parameters for retrieving completion details for one or more orders.\");\nconst OptimorouteGetCompletionDetails_FormDataSchema: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Notes entered during completion\").nullable().optional(),\n}).describe(\"Captured form data from order completion.\");\nconst OptimorouteGetCompletionDetails_TimeInfoSchema: z.ZodTypeAny = z.object({\n utcTime: z.string().describe(\"ISO 8601 formatted UTC time\").nullable().optional(),\n localTime: z.string().describe(\"ISO 8601 formatted local time\").nullable().optional(),\n unixTimestamp: z.number().int().describe(\"Unix timestamp\").nullable().optional(),\n}).describe(\"Time information with multiple representations.\");\nconst OptimorouteGetCompletionDetails_CompletionDataSchema: z.ZodTypeAny = z.object({\n form: OptimorouteGetCompletionDetails_FormDataSchema.nullable().optional(),\n status: z.string().describe(\"Order outcome status. Possible values: success, failed, rejected, in_progress, scheduled, unscheduled\").nullable().optional(),\n endTime: OptimorouteGetCompletionDetails_TimeInfoSchema.nullable().optional(),\n startTime: OptimorouteGetCompletionDetails_TimeInfoSchema.nullable().optional(),\n tracking_url: z.string().describe(\"URL for order tracking information\").nullable().optional(),\n}).describe(\"Detailed completion information for an order.\");\nconst OptimorouteGetCompletionDetails_OrderCompletionResultSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"OptimoRoute-assigned unique order identifier\").nullable().optional(),\n code: z.string().describe(\"Error code (present when success is false)\").nullable().optional(),\n data: OptimorouteGetCompletionDetails_CompletionDataSchema.nullable().optional(),\n message: z.string().describe(\"Error message (present when success is false)\").nullable().optional(),\n orderNo: z.string().describe(\"User-specified order identifier\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if completion data was retrieved for this specific order\"),\n}).describe(\"Completion result for a single order.\");\nexport const OptimorouteGetCompletionDetailsOutput: z.ZodTypeAny = z.object({\n orders: z.array(OptimorouteGetCompletionDetails_OrderCompletionResultSchema).describe(\"Array of completion objects corresponding to each requested order\"),\n success: z.boolean().describe(\"Indicates overall request success\"),\n}).describe(\"Response schema for retrieving completion details.\");\n\nexport const optimorouteGetCompletionDetails = action(\"OPTIMOROUTE_GET_COMPLETION_DETAILS\", {\n slug: \"optimoroute-get-completion-details\",\n name: \"Get Order Completion Details\",\n description: \"Tool to retrieve completion details for one or more orders including proof of delivery data. Use when you need to check order completion status, timing details, and form data.\",\n input: OptimorouteGetCompletionDetailsInput,\n output: OptimorouteGetCompletionDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO,EACzE,QAAQ,EAAE,MAAM,EAAE,OAAO;CACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,CAAC,SAAS,6IAA6I,EACnO,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,iDAA+D,EAAE,OAAO,EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,iDAA+D,EAAE,OAAO;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,uDAAqE,EAAE,OAAO;CAClF,MAAM,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,8DAA4E,EAAE,OAAO;CACzF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,qDAAqD,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE;AACpG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAMnD,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViE,EAAE,OAAO;EAC1E,QAAQ,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,mEAAmE;EACzJ,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CACnE,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-drivers.ts
|
|
4
|
+
const OptimorouteGetDriversInput = zod.z.object({}).describe("Request model for GET_DRIVERS: no input parameters needed.");
|
|
5
|
+
const OptimorouteGetDrivers_DriverSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier for the driver").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("Name of the driver").nullable().optional(),
|
|
8
|
+
color: zod.z.string().describe("Color assigned to the driver").nullable().optional(),
|
|
9
|
+
email: zod.z.string().describe("Driver's email address").nullable().optional(),
|
|
10
|
+
active: zod.z.boolean().describe("Whether the driver is active").nullable().optional(),
|
|
11
|
+
serial: zod.z.string().describe("Serial identifier for the driver").nullable().optional(),
|
|
12
|
+
externalId: zod.z.string().describe("External identifier for the driver").nullable().optional(),
|
|
13
|
+
workAreaId: zod.z.string().describe("Work area ID for the driver").nullable().optional(),
|
|
14
|
+
phoneNumber: zod.z.string().describe("Driver's phone number").nullable().optional(),
|
|
15
|
+
vehicleType: zod.z.string().describe("Vehicle type for the driver").nullable().optional(),
|
|
16
|
+
driverNumber: zod.z.string().describe("Driver's number").nullable().optional()
|
|
17
|
+
});
|
|
18
|
+
const OptimorouteGetDriversOutput = zod.z.object({
|
|
19
|
+
code: zod.z.string().describe("Error code if the call failed").nullable().optional(),
|
|
20
|
+
drivers: zod.z.array(OptimorouteGetDrivers_DriverSchema).describe("List of drivers (present on success)").nullable().optional(),
|
|
21
|
+
message: zod.z.string().describe("Error or status message from the API").nullable().optional(),
|
|
22
|
+
success: zod.z.boolean().describe("Whether the API call was successful")
|
|
23
|
+
});
|
|
24
|
+
const optimorouteGetDrivers = require_action.action("OPTIMOROUTE_GET_DRIVERS", {
|
|
25
|
+
slug: "optimoroute-get-drivers",
|
|
26
|
+
name: "Get Drivers",
|
|
27
|
+
description: "Tool to retrieve all drivers in the system. Use when you need up-to-date driver data including status and contact information.",
|
|
28
|
+
input: OptimorouteGetDriversInput,
|
|
29
|
+
output: OptimorouteGetDriversOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.optimorouteGetDrivers = optimorouteGetDrivers;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=get-drivers.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-drivers.cjs","names":["z","action"],"sources":["../../src/actions/get-drivers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OptimorouteGetDriversInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET_DRIVERS: no input parameters needed.\");\nconst OptimorouteGetDrivers_DriverSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the driver\").nullable().optional(),\n name: z.string().describe(\"Name of the driver\").nullable().optional(),\n color: z.string().describe(\"Color assigned to the driver\").nullable().optional(),\n email: z.string().describe(\"Driver's email address\").nullable().optional(),\n active: z.boolean().describe(\"Whether the driver is active\").nullable().optional(),\n serial: z.string().describe(\"Serial identifier for the driver\").nullable().optional(),\n externalId: z.string().describe(\"External identifier for the driver\").nullable().optional(),\n workAreaId: z.string().describe(\"Work area ID for the driver\").nullable().optional(),\n phoneNumber: z.string().describe(\"Driver's phone number\").nullable().optional(),\n vehicleType: z.string().describe(\"Vehicle type for the driver\").nullable().optional(),\n driverNumber: z.string().describe(\"Driver's number\").nullable().optional(),\n});\nexport const OptimorouteGetDriversOutput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Error code if the call failed\").nullable().optional(),\n drivers: z.array(OptimorouteGetDrivers_DriverSchema).describe(\"List of drivers (present on success)\").nullable().optional(),\n message: z.string().describe(\"Error or status message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the API call was successful\"),\n});\n\nexport const optimorouteGetDrivers = action(\"OPTIMOROUTE_GET_DRIVERS\", {\n slug: \"optimoroute-get-drivers\",\n name: \"Get Drivers\",\n description: \"Tool to retrieve all drivers in the system. Use when you need up-to-date driver data including status and contact information.\",\n input: OptimorouteGetDriversInput,\n output: OptimorouteGetDriversOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC1I,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;AACrE,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-drivers.d.ts
|
|
4
|
+
declare const OptimorouteGetDriversInput: z.ZodTypeAny;
|
|
5
|
+
declare const OptimorouteGetDriversOutput: z.ZodTypeAny;
|
|
6
|
+
declare const optimorouteGetDrivers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { optimorouteGetDrivers };
|
|
9
|
+
//# sourceMappingURL=get-drivers.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-drivers.d.cts","names":[],"sources":["../../src/actions/get-drivers.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAAgG;AAAA,cAc9H,2BAAA,EAA6B,CAAA,CAAE,UAK1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-drivers.d.ts
|
|
4
|
+
declare const OptimorouteGetDriversInput: z.ZodTypeAny;
|
|
5
|
+
declare const OptimorouteGetDriversOutput: z.ZodTypeAny;
|
|
6
|
+
declare const optimorouteGetDrivers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { optimorouteGetDrivers };
|
|
9
|
+
//# sourceMappingURL=get-drivers.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-drivers.d.mts","names":[],"sources":["../../src/actions/get-drivers.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAAgG;AAAA,cAc9H,2BAAA,EAA6B,CAAA,CAAE,UAK1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-drivers.ts
|
|
4
|
+
const OptimorouteGetDriversInput = z.object({}).describe("Request model for GET_DRIVERS: no input parameters needed.");
|
|
5
|
+
const OptimorouteGetDrivers_DriverSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier for the driver").nullable().optional(),
|
|
7
|
+
name: z.string().describe("Name of the driver").nullable().optional(),
|
|
8
|
+
color: z.string().describe("Color assigned to the driver").nullable().optional(),
|
|
9
|
+
email: z.string().describe("Driver's email address").nullable().optional(),
|
|
10
|
+
active: z.boolean().describe("Whether the driver is active").nullable().optional(),
|
|
11
|
+
serial: z.string().describe("Serial identifier for the driver").nullable().optional(),
|
|
12
|
+
externalId: z.string().describe("External identifier for the driver").nullable().optional(),
|
|
13
|
+
workAreaId: z.string().describe("Work area ID for the driver").nullable().optional(),
|
|
14
|
+
phoneNumber: z.string().describe("Driver's phone number").nullable().optional(),
|
|
15
|
+
vehicleType: z.string().describe("Vehicle type for the driver").nullable().optional(),
|
|
16
|
+
driverNumber: z.string().describe("Driver's number").nullable().optional()
|
|
17
|
+
});
|
|
18
|
+
const optimorouteGetDrivers = action("OPTIMOROUTE_GET_DRIVERS", {
|
|
19
|
+
slug: "optimoroute-get-drivers",
|
|
20
|
+
name: "Get Drivers",
|
|
21
|
+
description: "Tool to retrieve all drivers in the system. Use when you need up-to-date driver data including status and contact information.",
|
|
22
|
+
input: OptimorouteGetDriversInput,
|
|
23
|
+
output: z.object({
|
|
24
|
+
code: z.string().describe("Error code if the call failed").nullable().optional(),
|
|
25
|
+
drivers: z.array(OptimorouteGetDrivers_DriverSchema).describe("List of drivers (present on success)").nullable().optional(),
|
|
26
|
+
message: z.string().describe("Error or status message from the API").nullable().optional(),
|
|
27
|
+
success: z.boolean().describe("Whether the API call was successful")
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { optimorouteGetDrivers };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=get-drivers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-drivers.mjs","names":[],"sources":["../../src/actions/get-drivers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OptimorouteGetDriversInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET_DRIVERS: no input parameters needed.\");\nconst OptimorouteGetDrivers_DriverSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the driver\").nullable().optional(),\n name: z.string().describe(\"Name of the driver\").nullable().optional(),\n color: z.string().describe(\"Color assigned to the driver\").nullable().optional(),\n email: z.string().describe(\"Driver's email address\").nullable().optional(),\n active: z.boolean().describe(\"Whether the driver is active\").nullable().optional(),\n serial: z.string().describe(\"Serial identifier for the driver\").nullable().optional(),\n externalId: z.string().describe(\"External identifier for the driver\").nullable().optional(),\n workAreaId: z.string().describe(\"Work area ID for the driver\").nullable().optional(),\n phoneNumber: z.string().describe(\"Driver's phone number\").nullable().optional(),\n vehicleType: z.string().describe(\"Vehicle type for the driver\").nullable().optional(),\n driverNumber: z.string().describe(\"Driver's number\").nullable().optional(),\n});\nexport const OptimorouteGetDriversOutput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Error code if the call failed\").nullable().optional(),\n drivers: z.array(OptimorouteGetDrivers_DriverSchema).describe(\"List of drivers (present on success)\").nullable().optional(),\n message: z.string().describe(\"Error or status message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the API call was successful\"),\n});\n\nexport const optimorouteGetDrivers = action(\"OPTIMOROUTE_GET_DRIVERS\", {\n slug: \"optimoroute-get-drivers\",\n name: \"Get Drivers\",\n description: \"Tool to retrieve all drivers in the system. Use when you need up-to-date driver data including status and contact information.\",\n input: OptimorouteGetDriversInput,\n output: OptimorouteGetDriversOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC1I,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC;AAQD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;CACrE,CAOU;AACV,CAAC"}
|