@keystrokehq/shipday 0.1.0 → 0.1.2
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/add-a-carrier.cjs +4 -4
- package/dist/actions/add-a-carrier.cjs.map +1 -1
- package/dist/actions/add-a-carrier.d.cts +22 -3
- package/dist/actions/add-a-carrier.d.cts.map +1 -1
- package/dist/actions/add-a-carrier.d.mts +22 -3
- package/dist/actions/add-a-carrier.d.mts.map +1 -1
- package/dist/actions/add-a-carrier.mjs +4 -4
- package/dist/actions/add-a-carrier.mjs.map +1 -1
- package/dist/actions/check-on-demand-availability.cjs.map +1 -1
- package/dist/actions/check-on-demand-availability.d.cts +28 -3
- package/dist/actions/check-on-demand-availability.d.cts.map +1 -1
- package/dist/actions/check-on-demand-availability.d.mts +28 -3
- package/dist/actions/check-on-demand-availability.d.mts.map +1 -1
- package/dist/actions/check-on-demand-availability.mjs.map +1 -1
- package/dist/actions/edit-delivery-order.cjs +1 -1
- package/dist/actions/edit-delivery-order.cjs.map +1 -1
- package/dist/actions/edit-delivery-order.d.cts +60 -3
- package/dist/actions/edit-delivery-order.d.cts.map +1 -1
- package/dist/actions/edit-delivery-order.d.mts +60 -3
- package/dist/actions/edit-delivery-order.d.mts.map +1 -1
- package/dist/actions/edit-delivery-order.mjs +1 -1
- package/dist/actions/edit-delivery-order.mjs.map +1 -1
- package/dist/actions/get-on-demand-estimate.cjs.map +1 -1
- package/dist/actions/get-on-demand-estimate.d.cts +20 -3
- package/dist/actions/get-on-demand-estimate.d.cts.map +1 -1
- package/dist/actions/get-on-demand-estimate.d.mts +20 -3
- package/dist/actions/get-on-demand-estimate.d.mts.map +1 -1
- package/dist/actions/get-on-demand-estimate.mjs.map +1 -1
- package/dist/actions/get-on-demand-services.cjs +3 -3
- package/dist/actions/get-on-demand-services.cjs.map +1 -1
- package/dist/actions/get-on-demand-services.d.cts +9 -3
- package/dist/actions/get-on-demand-services.d.cts.map +1 -1
- package/dist/actions/get-on-demand-services.d.mts +9 -3
- package/dist/actions/get-on-demand-services.d.mts.map +1 -1
- package/dist/actions/get-on-demand-services.mjs +3 -3
- package/dist/actions/get-on-demand-services.mjs.map +1 -1
- package/dist/actions/insert-order.cjs +2 -2
- package/dist/actions/insert-order.cjs.map +1 -1
- package/dist/actions/insert-order.d.cts +96 -3
- package/dist/actions/insert-order.d.cts.map +1 -1
- package/dist/actions/insert-order.d.mts +96 -3
- package/dist/actions/insert-order.d.mts.map +1 -1
- package/dist/actions/insert-order.mjs +2 -2
- package/dist/actions/insert-order.mjs.map +1 -1
- package/dist/actions/order-ready-to-pickup.cjs +1 -1
- package/dist/actions/order-ready-to-pickup.cjs.map +1 -1
- package/dist/actions/order-ready-to-pickup.d.cts +12 -3
- package/dist/actions/order-ready-to-pickup.d.cts.map +1 -1
- package/dist/actions/order-ready-to-pickup.d.mts +12 -3
- package/dist/actions/order-ready-to-pickup.d.mts.map +1 -1
- package/dist/actions/order-ready-to-pickup.mjs +1 -1
- package/dist/actions/order-ready-to-pickup.mjs.map +1 -1
- package/dist/actions/query-delivery-orders.cjs.map +1 -1
- package/dist/actions/query-delivery-orders.d.cts +77 -3
- package/dist/actions/query-delivery-orders.d.cts.map +1 -1
- package/dist/actions/query-delivery-orders.d.mts +77 -3
- package/dist/actions/query-delivery-orders.d.mts.map +1 -1
- package/dist/actions/query-delivery-orders.mjs.map +1 -1
- package/dist/actions/retrieve-active-orders.cjs.map +1 -1
- package/dist/actions/retrieve-active-orders.d.cts +84 -3
- package/dist/actions/retrieve-active-orders.d.cts.map +1 -1
- package/dist/actions/retrieve-active-orders.d.mts +84 -3
- package/dist/actions/retrieve-active-orders.d.mts.map +1 -1
- package/dist/actions/retrieve-active-orders.mjs.map +1 -1
- package/dist/actions/retrieve-carriers.cjs +8 -8
- package/dist/actions/retrieve-carriers.cjs.map +1 -1
- package/dist/actions/retrieve-carriers.d.cts +19 -3
- package/dist/actions/retrieve-carriers.d.cts.map +1 -1
- package/dist/actions/retrieve-carriers.d.mts +19 -3
- package/dist/actions/retrieve-carriers.d.mts.map +1 -1
- package/dist/actions/retrieve-carriers.mjs +8 -8
- package/dist/actions/retrieve-carriers.mjs.map +1 -1
- package/dist/actions/retrieve-order-details.cjs.map +1 -1
- package/dist/actions/retrieve-order-details.d.cts +71 -3
- package/dist/actions/retrieve-order-details.d.cts.map +1 -1
- package/dist/actions/retrieve-order-details.d.mts +71 -3
- package/dist/actions/retrieve-order-details.d.mts.map +1 -1
- package/dist/actions/retrieve-order-details.mjs.map +1 -1
- package/dist/actions/unassign-order-from-driver.cjs +2 -2
- package/dist/actions/unassign-order-from-driver.cjs.map +1 -1
- package/dist/actions/unassign-order-from-driver.d.cts +10 -3
- package/dist/actions/unassign-order-from-driver.d.cts.map +1 -1
- package/dist/actions/unassign-order-from-driver.d.mts +10 -3
- package/dist/actions/unassign-order-from-driver.d.mts.map +1 -1
- package/dist/actions/unassign-order-from-driver.mjs +2 -2
- package/dist/actions/unassign-order-from-driver.mjs.map +1 -1
- package/dist/catalog.cjs +17 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +16 -0
- package/dist/catalog.d.mts +16 -0
- package/dist/catalog.mjs +17 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["shipday","executeShipdayTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { shipday } from \"./app\";\nimport { executeShipdayTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["shipday","executeShipdayTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { shipday } from \"./app\";\nimport { executeShipdayTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return shipday.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeShipdayTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { shipday } from \"./app\";\nimport { executeShipdayTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { shipday } from \"./app\";\nimport { executeShipdayTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return shipday.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeShipdayTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
|
@@ -10,10 +10,10 @@ const ShipdayAddACarrierInput = zod.z.object({
|
|
|
10
10
|
carrierPhoto: zod.z.string().describe("Optional URL reference to the carrier's photo").optional()
|
|
11
11
|
}).describe("Request model for adding a new carrier/driver to the Shipday system.");
|
|
12
12
|
const ShipdayAddACarrierOutput = zod.z.object({
|
|
13
|
-
email: zod.z.string().describe("Email address registered for the carrier account"),
|
|
14
|
-
message: zod.z.string().describe("Response confirmation message"),
|
|
15
|
-
password: zod.z.string().describe("Generated password for the carrier for access"),
|
|
16
|
-
carrierId: zod.z.number().int().describe("Unique identifier assigned to the newly created carrier")
|
|
13
|
+
email: zod.z.string().describe("Email address registered for the carrier account").nullable(),
|
|
14
|
+
message: zod.z.string().describe("Response confirmation message").nullable(),
|
|
15
|
+
password: zod.z.string().describe("Generated password for the carrier for access").nullable(),
|
|
16
|
+
carrierId: zod.z.number().int().describe("Unique identifier assigned to the newly created carrier").nullable()
|
|
17
17
|
}).describe("Response model for adding a new carrier. Returns the created carrier details with credentials.");
|
|
18
18
|
const shipdayAddACarrier = require_action.action("SHIPDAY_ADD_A_CARRIER", {
|
|
19
19
|
slug: "shipday-add-a-carrier",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-a-carrier.cjs","names":["z","action"],"sources":["../../src/actions/add-a-carrier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayAddACarrierInput
|
|
1
|
+
{"version":3,"file":"add-a-carrier.cjs","names":["z","action"],"sources":["../../src/actions/add-a-carrier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayAddACarrierInput = z.object({\n name: z.string().describe(\"Full name of the carrier/driver\"),\n email: z.string().describe(\"Email address for the carrier account\"),\n areaId: z.number().int().describe(\"Optional unique area ID for identifying the operational area\").optional(),\n codeName: z.string().describe(\"Optional code name for the carrier\").optional(),\n phoneNumber: z.string().describe(\"Phone number of the carrier with country code in E.164 format (e.g., +11234567891)\"),\n carrierPhoto: z.string().describe(\"Optional URL reference to the carrier's photo\").optional(),\n}).describe(\"Request model for adding a new carrier/driver to the Shipday system.\");\nexport const ShipdayAddACarrierOutput = z.object({\n email: z.string().describe(\"Email address registered for the carrier account\").nullable(),\n message: z.string().describe(\"Response confirmation message\").nullable(),\n password: z.string().describe(\"Generated password for the carrier for access\").nullable(),\n carrierId: z.number().int().describe(\"Unique identifier assigned to the newly created carrier\").nullable(),\n}).describe(\"Response model for adding a new carrier. Returns the created carrier details with credentials.\");\n\nexport const shipdayAddACarrier = action(\"SHIPDAY_ADD_A_CARRIER\", {\n slug: \"shipday-add-a-carrier\",\n name: \"Add a Carrier\",\n description: \"Tool to add a new carrier/driver to the Shipday system with credentials. Use when you need to create a new carrier account with name, email, and phone number.\",\n input: ShipdayAddACarrierInput,\n output: ShipdayAddACarrierOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,gGAAgG;AAE5G,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,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/add-a-carrier.d.ts
|
|
4
|
-
declare const ShipdayAddACarrierInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipdayAddACarrierInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
email: z.ZodString;
|
|
7
|
+
areaId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
codeName: z.ZodOptional<z.ZodString>;
|
|
9
|
+
phoneNumber: z.ZodString;
|
|
10
|
+
carrierPhoto: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ShipdayAddACarrierOutput: z.ZodObject<{
|
|
13
|
+
email: z.ZodNullable<z.ZodString>;
|
|
14
|
+
message: z.ZodNullable<z.ZodString>;
|
|
15
|
+
password: z.ZodNullable<z.ZodString>;
|
|
16
|
+
carrierId: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const shipdayAddACarrier: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
name: string;
|
|
20
|
+
email: string;
|
|
21
|
+
phoneNumber: string;
|
|
22
|
+
areaId?: number | undefined;
|
|
23
|
+
codeName?: string | undefined;
|
|
24
|
+
carrierPhoto?: string | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { shipdayAddACarrier };
|
|
9
28
|
//# sourceMappingURL=add-a-carrier.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-a-carrier.d.cts","names":[],"sources":["../../src/actions/add-a-carrier.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"add-a-carrier.d.cts","names":[],"sources":["../../src/actions/add-a-carrier.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-a-carrier.d.ts
|
|
4
|
-
declare const ShipdayAddACarrierInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipdayAddACarrierInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
email: z.ZodString;
|
|
7
|
+
areaId: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
codeName: z.ZodOptional<z.ZodString>;
|
|
9
|
+
phoneNumber: z.ZodString;
|
|
10
|
+
carrierPhoto: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ShipdayAddACarrierOutput: z.ZodObject<{
|
|
13
|
+
email: z.ZodNullable<z.ZodString>;
|
|
14
|
+
message: z.ZodNullable<z.ZodString>;
|
|
15
|
+
password: z.ZodNullable<z.ZodString>;
|
|
16
|
+
carrierId: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const shipdayAddACarrier: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
name: string;
|
|
20
|
+
email: string;
|
|
21
|
+
phoneNumber: string;
|
|
22
|
+
areaId?: number | undefined;
|
|
23
|
+
codeName?: string | undefined;
|
|
24
|
+
carrierPhoto?: string | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { shipdayAddACarrier };
|
|
9
28
|
//# sourceMappingURL=add-a-carrier.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-a-carrier.d.mts","names":[],"sources":["../../src/actions/add-a-carrier.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"add-a-carrier.d.mts","names":[],"sources":["../../src/actions/add-a-carrier.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -13,10 +13,10 @@ const shipdayAddACarrier = action("SHIPDAY_ADD_A_CARRIER", {
|
|
|
13
13
|
carrierPhoto: z.string().describe("Optional URL reference to the carrier's photo").optional()
|
|
14
14
|
}).describe("Request model for adding a new carrier/driver to the Shipday system."),
|
|
15
15
|
output: z.object({
|
|
16
|
-
email: z.string().describe("Email address registered for the carrier account"),
|
|
17
|
-
message: z.string().describe("Response confirmation message"),
|
|
18
|
-
password: z.string().describe("Generated password for the carrier for access"),
|
|
19
|
-
carrierId: z.number().int().describe("Unique identifier assigned to the newly created carrier")
|
|
16
|
+
email: z.string().describe("Email address registered for the carrier account").nullable(),
|
|
17
|
+
message: z.string().describe("Response confirmation message").nullable(),
|
|
18
|
+
password: z.string().describe("Generated password for the carrier for access").nullable(),
|
|
19
|
+
carrierId: z.number().int().describe("Unique identifier assigned to the newly created carrier").nullable()
|
|
20
20
|
}).describe("Response model for adding a new carrier. Returns the created carrier details with credentials.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-a-carrier.mjs","names":[],"sources":["../../src/actions/add-a-carrier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayAddACarrierInput
|
|
1
|
+
{"version":3,"file":"add-a-carrier.mjs","names":[],"sources":["../../src/actions/add-a-carrier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayAddACarrierInput = z.object({\n name: z.string().describe(\"Full name of the carrier/driver\"),\n email: z.string().describe(\"Email address for the carrier account\"),\n areaId: z.number().int().describe(\"Optional unique area ID for identifying the operational area\").optional(),\n codeName: z.string().describe(\"Optional code name for the carrier\").optional(),\n phoneNumber: z.string().describe(\"Phone number of the carrier with country code in E.164 format (e.g., +11234567891)\"),\n carrierPhoto: z.string().describe(\"Optional URL reference to the carrier's photo\").optional(),\n}).describe(\"Request model for adding a new carrier/driver to the Shipday system.\");\nexport const ShipdayAddACarrierOutput = z.object({\n email: z.string().describe(\"Email address registered for the carrier account\").nullable(),\n message: z.string().describe(\"Response confirmation message\").nullable(),\n password: z.string().describe(\"Generated password for the carrier for access\").nullable(),\n carrierId: z.number().int().describe(\"Unique identifier assigned to the newly created carrier\").nullable(),\n}).describe(\"Response model for adding a new carrier. Returns the created carrier details with credentials.\");\n\nexport const shipdayAddACarrier = action(\"SHIPDAY_ADD_A_CARRIER\", {\n slug: \"shipday-add-a-carrier\",\n name: \"Add a Carrier\",\n description: \"Tool to add a new carrier/driver to the Shipday system with credentials. Use when you need to create a new carrier account with name, email, and phone number.\",\n input: ShipdayAddACarrierInput,\n output: ShipdayAddACarrierOutput,\n});\n"],"mappings":";;AAmBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,sEAYH;CACP,QAZsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,gGAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-on-demand-availability.cjs","names":["z","action"],"sources":["../../src/actions/check-on-demand-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayCheckOnDemandAvailabilityInput
|
|
1
|
+
{"version":3,"file":"check-on-demand-availability.cjs","names":["z","action"],"sources":["../../src/actions/check-on-demand-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayCheckOnDemandAvailabilityInput = z.object({\n pickupAddress: z.string().describe(\"Complete pickup address as a single string (e.g., '350 5th Avenue, New York, NY 10118')\"),\n deliveryAddress: z.string().describe(\"Complete delivery address as a single string (e.g., '20 West 34th Street, New York, NY 10001')\"),\n}).describe(\"Request parameters for checking on-demand delivery availability.\");\nconst ShipdayCheckOnDemandAvailability_ServiceAvailabilitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the service estimate\").nullable().optional(),\n fee: z.number().describe(\"Estimated delivery fee\").nullable().optional(),\n name: z.string().describe(\"Name of the delivery service provider (e.g., DoorDash, Uber)\").nullable().optional(),\n error: z.boolean().describe(\"Indicates whether an error occurred for this service\").nullable().optional(),\n isProd: z.boolean().describe(\"Whether the service is in production mode\").nullable().optional(),\n errorCode: z.string().describe(\"Error code if applicable\").nullable().optional(),\n isInternal: z.boolean().describe(\"Whether the service is internal\").nullable().optional(),\n pickupTime: z.string().describe(\"Scheduled pickup timestamp in ISO 8601 UTC format\").nullable().optional(),\n deliveryTime: z.string().describe(\"Estimated delivery timestamp in ISO 8601 UTC format\").nullable().optional(),\n errorMessage: z.string().describe(\"Human-readable error description\").nullable().optional(),\n regulatoryFee: z.number().describe(\"Regulatory fee amount\").nullable().optional(),\n minBillableFee: z.number().describe(\"Minimum billable fee\").nullable().optional(),\n pickupDuration: z.number().int().describe(\"Expected pickup duration in minutes\").nullable().optional(),\n deliveryDuration: z.number().int().describe(\"Expected delivery duration in minutes\").nullable().optional(),\n errorDescription: z.string().describe(\"Detailed error description\").nullable().optional(),\n probableAssignment: z.boolean().describe(\"Whether assignment is probable\").nullable().optional(),\n}).describe(\"Availability information for a specific delivery service provider.\");\nexport const ShipdayCheckOnDemandAvailabilityOutput = z.object({\n services: z.array(ShipdayCheckOnDemandAvailability_ServiceAvailabilitySchema).describe(\"List of available third-party delivery services with pricing and time estimates\").nullable().optional(),\n}).describe(\"Response containing on-demand delivery availability information.\");\n\nexport const shipdayCheckOnDemandAvailability = action(\"SHIPDAY_CHECK_ON_DEMAND_AVAILABILITY\", {\n slug: \"shipday-check-on-demand-availability\",\n name: \"Check On-Demand Delivery Availability\",\n description: \"Tool to check on-demand delivery availability from third-party service providers. Use when you need to verify service availability, pricing estimates, and delivery times for a route without creating an order.\",\n input: ShipdayCheckOnDemandAvailabilityInput,\n output: ShipdayCheckOnDemandAvailabilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CAC5H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;AACvI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,I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C,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/check-on-demand-availability.d.ts
|
|
4
|
-
declare const ShipdayCheckOnDemandAvailabilityInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipdayCheckOnDemandAvailabilityInput: z.ZodObject<{
|
|
5
|
+
pickupAddress: z.ZodString;
|
|
6
|
+
deliveryAddress: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ShipdayCheckOnDemandAvailabilityOutput: z.ZodObject<{
|
|
9
|
+
services: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
fee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
isProd: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15
|
+
errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
isInternal: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
pickupTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
regulatoryFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
minBillableFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
pickupDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
deliveryDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
errorDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
probableAssignment: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
+
}, z.core.$strip>>>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const shipdayCheckOnDemandAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
pickupAddress: string;
|
|
30
|
+
deliveryAddress: string;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { shipdayCheckOnDemandAvailability };
|
|
9
34
|
//# sourceMappingURL=check-on-demand-availability.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-on-demand-availability.d.cts","names":[],"sources":["../../src/actions/check-on-demand-availability.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"check-on-demand-availability.d.cts","names":[],"sources":["../../src/actions/check-on-demand-availability.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAsBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/check-on-demand-availability.d.ts
|
|
4
|
-
declare const ShipdayCheckOnDemandAvailabilityInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipdayCheckOnDemandAvailabilityInput: z.ZodObject<{
|
|
5
|
+
pickupAddress: z.ZodString;
|
|
6
|
+
deliveryAddress: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ShipdayCheckOnDemandAvailabilityOutput: z.ZodObject<{
|
|
9
|
+
services: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
fee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
isProd: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15
|
+
errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
isInternal: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
pickupTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
regulatoryFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
minBillableFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
pickupDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
deliveryDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
errorDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
probableAssignment: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
+
}, z.core.$strip>>>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const shipdayCheckOnDemandAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
pickupAddress: string;
|
|
30
|
+
deliveryAddress: string;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { shipdayCheckOnDemandAvailability };
|
|
9
34
|
//# sourceMappingURL=check-on-demand-availability.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-on-demand-availability.d.mts","names":[],"sources":["../../src/actions/check-on-demand-availability.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"check-on-demand-availability.d.mts","names":[],"sources":["../../src/actions/check-on-demand-availability.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAsBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-on-demand-availability.mjs","names":[],"sources":["../../src/actions/check-on-demand-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayCheckOnDemandAvailabilityInput
|
|
1
|
+
{"version":3,"file":"check-on-demand-availability.mjs","names":[],"sources":["../../src/actions/check-on-demand-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayCheckOnDemandAvailabilityInput = z.object({\n pickupAddress: z.string().describe(\"Complete pickup address as a single string (e.g., '350 5th Avenue, New York, NY 10118')\"),\n deliveryAddress: z.string().describe(\"Complete delivery address as a single string (e.g., '20 West 34th Street, New York, NY 10001')\"),\n}).describe(\"Request parameters for checking on-demand delivery availability.\");\nconst ShipdayCheckOnDemandAvailability_ServiceAvailabilitySchema = z.object({\n id: z.string().describe(\"Unique identifier for the service estimate\").nullable().optional(),\n fee: z.number().describe(\"Estimated delivery fee\").nullable().optional(),\n name: z.string().describe(\"Name of the delivery service provider (e.g., DoorDash, Uber)\").nullable().optional(),\n error: z.boolean().describe(\"Indicates whether an error occurred for this service\").nullable().optional(),\n isProd: z.boolean().describe(\"Whether the service is in production mode\").nullable().optional(),\n errorCode: z.string().describe(\"Error code if applicable\").nullable().optional(),\n isInternal: z.boolean().describe(\"Whether the service is internal\").nullable().optional(),\n pickupTime: z.string().describe(\"Scheduled pickup timestamp in ISO 8601 UTC format\").nullable().optional(),\n deliveryTime: z.string().describe(\"Estimated delivery timestamp in ISO 8601 UTC format\").nullable().optional(),\n errorMessage: z.string().describe(\"Human-readable error description\").nullable().optional(),\n regulatoryFee: z.number().describe(\"Regulatory fee amount\").nullable().optional(),\n minBillableFee: z.number().describe(\"Minimum billable fee\").nullable().optional(),\n pickupDuration: z.number().int().describe(\"Expected pickup duration in minutes\").nullable().optional(),\n deliveryDuration: z.number().int().describe(\"Expected delivery duration in minutes\").nullable().optional(),\n errorDescription: z.string().describe(\"Detailed error description\").nullable().optional(),\n probableAssignment: z.boolean().describe(\"Whether assignment is probable\").nullable().optional(),\n}).describe(\"Availability information for a specific delivery service provider.\");\nexport const ShipdayCheckOnDemandAvailabilityOutput = z.object({\n services: z.array(ShipdayCheckOnDemandAvailability_ServiceAvailabilitySchema).describe(\"List of available third-party delivery services with pricing and time estimates\").nullable().optional(),\n}).describe(\"Response containing on-demand delivery availability information.\");\n\nexport const shipdayCheckOnDemandAvailability = action(\"SHIPDAY_CHECK_ON_DEMAND_AVAILABILITY\", {\n slug: \"shipday-check-on-demand-availability\",\n name: \"Check On-Demand Delivery Availability\",\n description: \"Tool to check on-demand delivery availability from third-party service providers. Use when you need to verify service availability, pricing estimates, and delivery times for a route without creating an order.\",\n input: ShipdayCheckOnDemandAvailabilityInput,\n output: ShipdayCheckOnDemandAvailabilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CAC5H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;AACvI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,6DAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAA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G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAKhF,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChM,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
|
|
@@ -30,7 +30,7 @@ const ShipdayEditDeliveryOrderInput = zod.z.object({
|
|
|
30
30
|
expectedDeliveryTime: zod.z.string().describe("Expected delivery time").optional()
|
|
31
31
|
}).describe("Request parameters for editing an existing delivery order.");
|
|
32
32
|
const ShipdayEditDeliveryOrderOutput = zod.z.object({
|
|
33
|
-
success: zod.z.boolean().describe("Indicates whether the order update operation succeeded"),
|
|
33
|
+
success: zod.z.boolean().describe("Indicates whether the order update operation succeeded").nullable(),
|
|
34
34
|
response: zod.z.string().describe("Confirmation message about the update status").nullable().optional()
|
|
35
35
|
}).describe("Response from editing a delivery order.");
|
|
36
36
|
const shipdayEditDeliveryOrder = require_action.action("SHIPDAY_EDIT_DELIVERY_ORDER", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-delivery-order.cjs","names":["z","action"],"sources":["../../src/actions/edit-delivery-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayEditDeliveryOrderInput
|
|
1
|
+
{"version":3,"file":"edit-delivery-order.cjs","names":["z","action"],"sources":["../../src/actions/edit-delivery-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayEditDeliveryOrderInput = z.object({\n tip: z.number().describe(\"Tip amount for the delivery\").optional(),\n orderId: z.string().describe(\"The unique order identifier to edit. This is the order ID returned when the order was created.\"),\n customer: z.object({\n name: z.string().describe(\"Customer's full name\").optional(),\n address: z.string().describe(\"Customer's delivery address\").optional(),\n phoneNumber: z.string().describe(\"Customer phone number with country code\").optional(),\n emailAddress: z.string().describe(\"Customer email address\").optional(),\n}).describe(\"Customer information for the order.\").optional(),\n orderItems: z.array(z.object({\n name: z.string().describe(\"Name of the order item\"),\n detail: z.string().describe(\"Additional details or notes about the item\").optional(),\n quantity: z.number().int().describe(\"Quantity of the item\"),\n unitPrice: z.number().describe(\"Price per unit of the item\"),\n}).describe(\"Individual item in the order.\")).describe(\"List of items in the order with name, quantity, unit price, and optional details\").optional(),\n restaurant: z.object({\n name: z.string().describe(\"Name of the restaurant\").optional(),\n address: z.string().describe(\"Full address of the restaurant\").optional(),\n phoneNumber: z.string().describe(\"Restaurant phone number with country code\").optional(),\n}).describe(\"Restaurant information for the order.\").optional(),\n deliveryFee: z.number().describe(\"Delivery fee amount\").optional(),\n orderNumber: z.string().describe(\"Order reference number or identifier\").optional(),\n totalOrderCost: z.number().describe(\"Total cost of the order\").optional(),\n expectedPickupTime: z.string().describe(\"Expected pickup time\").optional(),\n deliveryInstruction: z.string().describe(\"Special instructions for the delivery\").optional(),\n expectedDeliveryDate: z.string().describe(\"Expected delivery date in ISO format\").optional(),\n expectedDeliveryTime: z.string().describe(\"Expected delivery time\").optional(),\n}).describe(\"Request parameters for editing an existing delivery order.\");\nexport const ShipdayEditDeliveryOrderOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the order update operation succeeded\").nullable(),\n response: z.string().describe(\"Confirmation message about the update status\").nullable().optional(),\n}).describe(\"Response from editing a delivery order.\");\n\nexport const shipdayEditDeliveryOrder = action(\"SHIPDAY_EDIT_DELIVERY_ORDER\", {\n slug: \"shipday-edit-delivery-order\",\n name: \"Edit Delivery Order\",\n description: \"Tool to edit an existing delivery order in Shipday. Use when you need to update order details such as customer information, restaurant details, order items, delivery fees, or tips.\",\n input: ShipdayEditDeliveryOrderInput,\n output: ShipdayEditDeliveryOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC7H,UAAUA,IAAAA,EAAE,OAAO;EACnB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1D,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;EAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC7D,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAClJ,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,S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
2
|
|
|
3
3
|
//#region src/actions/edit-delivery-order.d.ts
|
|
4
|
-
declare const ShipdayEditDeliveryOrderInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipdayEditDeliveryOrderInput: z.ZodObject<{
|
|
5
|
+
tip: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
orderId: z.ZodString;
|
|
7
|
+
customer: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
address: z.ZodOptional<z.ZodString>;
|
|
10
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
11
|
+
emailAddress: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
orderItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
16
|
+
quantity: z.ZodNumber;
|
|
17
|
+
unitPrice: z.ZodNumber;
|
|
18
|
+
}, z.core.$strip>>>;
|
|
19
|
+
restaurant: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21
|
+
address: z.ZodOptional<z.ZodString>;
|
|
22
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
orderNumber: z.ZodOptional<z.ZodString>;
|
|
26
|
+
totalOrderCost: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
expectedPickupTime: z.ZodOptional<z.ZodString>;
|
|
28
|
+
deliveryInstruction: z.ZodOptional<z.ZodString>;
|
|
29
|
+
expectedDeliveryDate: z.ZodOptional<z.ZodString>;
|
|
30
|
+
expectedDeliveryTime: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
declare const ShipdayEditDeliveryOrderOutput: z.ZodObject<{
|
|
33
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
34
|
+
response: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const shipdayEditDeliveryOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
|
+
orderId: string;
|
|
38
|
+
tip?: number | undefined;
|
|
39
|
+
customer?: {
|
|
40
|
+
name?: string | undefined;
|
|
41
|
+
address?: string | undefined;
|
|
42
|
+
phoneNumber?: string | undefined;
|
|
43
|
+
emailAddress?: string | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
orderItems?: {
|
|
46
|
+
name: string;
|
|
47
|
+
quantity: number;
|
|
48
|
+
unitPrice: number;
|
|
49
|
+
detail?: string | undefined;
|
|
50
|
+
}[] | undefined;
|
|
51
|
+
restaurant?: {
|
|
52
|
+
name?: string | undefined;
|
|
53
|
+
address?: string | undefined;
|
|
54
|
+
phoneNumber?: string | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
deliveryFee?: number | undefined;
|
|
57
|
+
orderNumber?: string | undefined;
|
|
58
|
+
totalOrderCost?: number | undefined;
|
|
59
|
+
expectedPickupTime?: string | undefined;
|
|
60
|
+
deliveryInstruction?: string | undefined;
|
|
61
|
+
expectedDeliveryDate?: string | undefined;
|
|
62
|
+
expectedDeliveryTime?: string | undefined;
|
|
63
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
64
|
//#endregion
|
|
8
65
|
export { shipdayEditDeliveryOrder };
|
|
9
66
|
//# sourceMappingURL=edit-delivery-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-delivery-order.d.cts","names":[],"sources":["../../src/actions/edit-delivery-order.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"edit-delivery-order.d.cts","names":[],"sources":["../../src/actions/edit-delivery-order.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,66 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/edit-delivery-order.d.ts
|
|
4
|
-
declare const ShipdayEditDeliveryOrderInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipdayEditDeliveryOrderInput: z.ZodObject<{
|
|
5
|
+
tip: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
orderId: z.ZodString;
|
|
7
|
+
customer: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
address: z.ZodOptional<z.ZodString>;
|
|
10
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
11
|
+
emailAddress: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
orderItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
16
|
+
quantity: z.ZodNumber;
|
|
17
|
+
unitPrice: z.ZodNumber;
|
|
18
|
+
}, z.core.$strip>>>;
|
|
19
|
+
restaurant: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21
|
+
address: z.ZodOptional<z.ZodString>;
|
|
22
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
orderNumber: z.ZodOptional<z.ZodString>;
|
|
26
|
+
totalOrderCost: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
expectedPickupTime: z.ZodOptional<z.ZodString>;
|
|
28
|
+
deliveryInstruction: z.ZodOptional<z.ZodString>;
|
|
29
|
+
expectedDeliveryDate: z.ZodOptional<z.ZodString>;
|
|
30
|
+
expectedDeliveryTime: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
declare const ShipdayEditDeliveryOrderOutput: z.ZodObject<{
|
|
33
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
34
|
+
response: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const shipdayEditDeliveryOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
|
+
orderId: string;
|
|
38
|
+
tip?: number | undefined;
|
|
39
|
+
customer?: {
|
|
40
|
+
name?: string | undefined;
|
|
41
|
+
address?: string | undefined;
|
|
42
|
+
phoneNumber?: string | undefined;
|
|
43
|
+
emailAddress?: string | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
orderItems?: {
|
|
46
|
+
name: string;
|
|
47
|
+
quantity: number;
|
|
48
|
+
unitPrice: number;
|
|
49
|
+
detail?: string | undefined;
|
|
50
|
+
}[] | undefined;
|
|
51
|
+
restaurant?: {
|
|
52
|
+
name?: string | undefined;
|
|
53
|
+
address?: string | undefined;
|
|
54
|
+
phoneNumber?: string | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
deliveryFee?: number | undefined;
|
|
57
|
+
orderNumber?: string | undefined;
|
|
58
|
+
totalOrderCost?: number | undefined;
|
|
59
|
+
expectedPickupTime?: string | undefined;
|
|
60
|
+
deliveryInstruction?: string | undefined;
|
|
61
|
+
expectedDeliveryDate?: string | undefined;
|
|
62
|
+
expectedDeliveryTime?: string | undefined;
|
|
63
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
64
|
//#endregion
|
|
8
65
|
export { shipdayEditDeliveryOrder };
|
|
9
66
|
//# sourceMappingURL=edit-delivery-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-delivery-order.d.mts","names":[],"sources":["../../src/actions/edit-delivery-order.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"edit-delivery-order.d.mts","names":[],"sources":["../../src/actions/edit-delivery-order.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -33,7 +33,7 @@ const shipdayEditDeliveryOrder = action("SHIPDAY_EDIT_DELIVERY_ORDER", {
|
|
|
33
33
|
expectedDeliveryTime: z.string().describe("Expected delivery time").optional()
|
|
34
34
|
}).describe("Request parameters for editing an existing delivery order."),
|
|
35
35
|
output: z.object({
|
|
36
|
-
success: z.boolean().describe("Indicates whether the order update operation succeeded"),
|
|
36
|
+
success: z.boolean().describe("Indicates whether the order update operation succeeded").nullable(),
|
|
37
37
|
response: z.string().describe("Confirmation message about the update status").nullable().optional()
|
|
38
38
|
}).describe("Response from editing a delivery order.")
|
|
39
39
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-delivery-order.mjs","names":[],"sources":["../../src/actions/edit-delivery-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayEditDeliveryOrderInput
|
|
1
|
+
{"version":3,"file":"edit-delivery-order.mjs","names":[],"sources":["../../src/actions/edit-delivery-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayEditDeliveryOrderInput = z.object({\n tip: z.number().describe(\"Tip amount for the delivery\").optional(),\n orderId: z.string().describe(\"The unique order identifier to edit. This is the order ID returned when the order was created.\"),\n customer: z.object({\n name: z.string().describe(\"Customer's full name\").optional(),\n address: z.string().describe(\"Customer's delivery address\").optional(),\n phoneNumber: z.string().describe(\"Customer phone number with country code\").optional(),\n emailAddress: z.string().describe(\"Customer email address\").optional(),\n}).describe(\"Customer information for the order.\").optional(),\n orderItems: z.array(z.object({\n name: z.string().describe(\"Name of the order item\"),\n detail: z.string().describe(\"Additional details or notes about the item\").optional(),\n quantity: z.number().int().describe(\"Quantity of the item\"),\n unitPrice: z.number().describe(\"Price per unit of the item\"),\n}).describe(\"Individual item in the order.\")).describe(\"List of items in the order with name, quantity, unit price, and optional details\").optional(),\n restaurant: z.object({\n name: z.string().describe(\"Name of the restaurant\").optional(),\n address: z.string().describe(\"Full address of the restaurant\").optional(),\n phoneNumber: z.string().describe(\"Restaurant phone number with country code\").optional(),\n}).describe(\"Restaurant information for the order.\").optional(),\n deliveryFee: z.number().describe(\"Delivery fee amount\").optional(),\n orderNumber: z.string().describe(\"Order reference number or identifier\").optional(),\n totalOrderCost: z.number().describe(\"Total cost of the order\").optional(),\n expectedPickupTime: z.string().describe(\"Expected pickup time\").optional(),\n deliveryInstruction: z.string().describe(\"Special instructions for the delivery\").optional(),\n expectedDeliveryDate: z.string().describe(\"Expected delivery date in ISO format\").optional(),\n expectedDeliveryTime: z.string().describe(\"Expected delivery time\").optional(),\n}).describe(\"Request parameters for editing an existing delivery order.\");\nexport const ShipdayEditDeliveryOrderOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the order update operation succeeded\").nullable(),\n response: z.string().describe(\"Confirmation message about the update status\").nullable().optional(),\n}).describe(\"Response from editing a delivery order.\");\n\nexport const shipdayEditDeliveryOrder = action(\"SHIPDAY_EDIT_DELIVERY_ORDER\", {\n slug: \"shipday-edit-delivery-order\",\n name: \"Edit Delivery Order\",\n description: \"Tool to edit an existing delivery order in Shipday. Use when you need to update order details such as customer information, restaurant details, order items, delivery fees, or tips.\",\n input: ShipdayEditDeliveryOrderInput,\n output: ShipdayEditDeliveryOrderOutput,\n});\n"],"mappings":";;AAqCA,MAAa,2BAA2B,OAAO,+BAA+B;CA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S,qBAAqB,CAAC,CAAC,SAAS;EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACxE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACzE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,4DAUH;CACP,QAV4C,EAAE,OAAO;EACrD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-on-demand-estimate.cjs","names":["z","action"],"sources":["../../src/actions/get-on-demand-estimate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayGetOnDemandEstimateInput
|
|
1
|
+
{"version":3,"file":"get-on-demand-estimate.cjs","names":["z","action"],"sources":["../../src/actions/get-on-demand-estimate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayGetOnDemandEstimateInput = z.object({\n orderId: z.string().describe(\"The identifier for the delivery order to get estimates for.\"),\n}).describe(\"Request parameters for getting on-demand delivery estimates.\");\nconst ShipdayGetOnDemandEstimate_DeliveryEstimateSchema = z.object({\n id: z.string().describe(\"Unique estimate identifier\").nullable().optional(),\n fee: z.number().describe(\"Delivery cost amount\").nullable().optional(),\n name: z.string().describe(\"Service provider name\").nullable().optional(),\n error: z.boolean().describe(\"Indicates whether an error occurred\").nullable().optional(),\n errorCode: z.string().describe(\"System error code if applicable (e.g., SDX-3-2)\").nullable().optional(),\n pickupTime: z.string().describe(\"Scheduled pickup timestamp in ISO 8601 UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n deliveryTime: z.string().describe(\"Estimated delivery timestamp in ISO 8601 UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n errorMessage: z.string().describe(\"Human-readable error description or diagnostic information\").nullable().optional(),\n pickupDuration: z.number().int().describe(\"Expected pickup duration in minutes\").nullable().optional(),\n deliveryDuration: z.number().int().describe(\"Expected delivery duration in minutes\").nullable().optional(),\n}).describe(\"Individual delivery estimate from a service provider.\");\nexport const ShipdayGetOnDemandEstimateOutput = z.object({\n estimates: z.array(ShipdayGetOnDemandEstimate_DeliveryEstimateSchema).describe(\"List of delivery estimates from third-party service providers\"),\n}).describe(\"Response containing delivery estimates from various service providers.\");\n\nexport const shipdayGetOnDemandEstimate = action(\"SHIPDAY_GET_ON_DEMAND_ESTIMATE\", {\n slug: \"shipday-get-on-demand-estimate\",\n name: \"Get On-Demand Delivery Estimate\",\n description: \"Tool to get on-demand delivery estimates from third-party service providers for a specific order. Use when you need to retrieve pricing, pickup/delivery times, and durations for a delivery order.\",\n input: ShipdayGetOnDemandEstimateInput,\n output: ShipdayGetOnDemandEstimateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-on-demand-estimate.d.ts
|
|
4
|
-
declare const ShipdayGetOnDemandEstimateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ShipdayGetOnDemandEstimateInput: z.ZodObject<{
|
|
5
|
+
orderId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ShipdayGetOnDemandEstimateOutput: z.ZodObject<{
|
|
8
|
+
estimates: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
fee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
pickupTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
pickupDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
deliveryDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const shipdayGetOnDemandEstimate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
orderId: string;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { shipdayGetOnDemandEstimate };
|
|
9
26
|
//# sourceMappingURL=get-on-demand-estimate.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-on-demand-estimate.d.cts","names":[],"sources":["../../src/actions/get-on-demand-estimate.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"get-on-demand-estimate.d.cts","names":[],"sources":["../../src/actions/get-on-demand-estimate.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAe/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
|