@keystrokehq/shipday 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/actions/add-a-carrier.cjs +1 -1
  2. package/dist/actions/add-a-carrier.cjs.map +1 -1
  3. package/dist/actions/add-a-carrier.d.cts +1 -1
  4. package/dist/actions/add-a-carrier.d.mts +1 -1
  5. package/dist/actions/add-a-carrier.mjs +1 -1
  6. package/dist/actions/add-a-carrier.mjs.map +1 -1
  7. package/dist/actions/check-on-demand-availability.cjs +2 -2
  8. package/dist/actions/check-on-demand-availability.cjs.map +1 -1
  9. package/dist/actions/check-on-demand-availability.d.cts +2 -2
  10. package/dist/actions/check-on-demand-availability.d.mts +2 -2
  11. package/dist/actions/check-on-demand-availability.mjs +2 -2
  12. package/dist/actions/check-on-demand-availability.mjs.map +1 -1
  13. package/dist/actions/edit-delivery-order.cjs +2 -2
  14. package/dist/actions/edit-delivery-order.cjs.map +1 -1
  15. package/dist/actions/edit-delivery-order.d.cts +3 -2
  16. package/dist/actions/edit-delivery-order.d.mts +3 -2
  17. package/dist/actions/edit-delivery-order.mjs +2 -2
  18. package/dist/actions/edit-delivery-order.mjs.map +1 -1
  19. package/dist/actions/get-on-demand-estimate.cjs +2 -2
  20. package/dist/actions/get-on-demand-estimate.cjs.map +1 -1
  21. package/dist/actions/get-on-demand-estimate.d.cts +2 -2
  22. package/dist/actions/get-on-demand-estimate.d.mts +2 -2
  23. package/dist/actions/get-on-demand-estimate.mjs +2 -2
  24. package/dist/actions/get-on-demand-estimate.mjs.map +1 -1
  25. package/dist/actions/get-on-demand-services.cjs +2 -2
  26. package/dist/actions/get-on-demand-services.cjs.map +1 -1
  27. package/dist/actions/get-on-demand-services.d.cts +2 -2
  28. package/dist/actions/get-on-demand-services.d.mts +2 -2
  29. package/dist/actions/get-on-demand-services.mjs +2 -2
  30. package/dist/actions/get-on-demand-services.mjs.map +1 -1
  31. package/dist/actions/insert-order.cjs +2 -2
  32. package/dist/actions/insert-order.cjs.map +1 -1
  33. package/dist/actions/insert-order.d.cts +3 -2
  34. package/dist/actions/insert-order.d.mts +3 -2
  35. package/dist/actions/insert-order.mjs +2 -2
  36. package/dist/actions/insert-order.mjs.map +1 -1
  37. package/dist/actions/order-ready-to-pickup.cjs +1 -1
  38. package/dist/actions/order-ready-to-pickup.cjs.map +1 -1
  39. package/dist/actions/order-ready-to-pickup.d.cts +1 -1
  40. package/dist/actions/order-ready-to-pickup.d.mts +1 -1
  41. package/dist/actions/order-ready-to-pickup.mjs +1 -1
  42. package/dist/actions/order-ready-to-pickup.mjs.map +1 -1
  43. package/dist/actions/query-delivery-orders.cjs +5 -5
  44. package/dist/actions/query-delivery-orders.cjs.map +1 -1
  45. package/dist/actions/query-delivery-orders.d.cts +5 -5
  46. package/dist/actions/query-delivery-orders.d.mts +5 -5
  47. package/dist/actions/query-delivery-orders.mjs +5 -5
  48. package/dist/actions/query-delivery-orders.mjs.map +1 -1
  49. package/dist/actions/retrieve-active-orders.cjs +10 -10
  50. package/dist/actions/retrieve-active-orders.cjs.map +1 -1
  51. package/dist/actions/retrieve-active-orders.d.cts +10 -10
  52. package/dist/actions/retrieve-active-orders.d.mts +10 -10
  53. package/dist/actions/retrieve-active-orders.mjs +10 -10
  54. package/dist/actions/retrieve-active-orders.mjs.map +1 -1
  55. package/dist/actions/retrieve-carriers.cjs +2 -2
  56. package/dist/actions/retrieve-carriers.cjs.map +1 -1
  57. package/dist/actions/retrieve-carriers.d.cts +2 -2
  58. package/dist/actions/retrieve-carriers.d.mts +2 -2
  59. package/dist/actions/retrieve-carriers.mjs +2 -2
  60. package/dist/actions/retrieve-carriers.mjs.map +1 -1
  61. package/dist/actions/retrieve-order-details.cjs +9 -9
  62. package/dist/actions/retrieve-order-details.cjs.map +1 -1
  63. package/dist/actions/retrieve-order-details.d.cts +9 -9
  64. package/dist/actions/retrieve-order-details.d.mts +9 -9
  65. package/dist/actions/retrieve-order-details.mjs +9 -9
  66. package/dist/actions/retrieve-order-details.mjs.map +1 -1
  67. package/dist/actions/unassign-order-from-driver.cjs +1 -1
  68. package/dist/actions/unassign-order-from-driver.cjs.map +1 -1
  69. package/dist/actions/unassign-order-from-driver.d.cts +1 -1
  70. package/dist/actions/unassign-order-from-driver.d.mts +1 -1
  71. package/dist/actions/unassign-order-from-driver.mjs +1 -1
  72. package/dist/actions/unassign-order-from-driver.mjs.map +1 -1
  73. package/package.json +1 -1
@@ -14,7 +14,7 @@ const ShipdayAddACarrierOutput = zod.z.object({
14
14
  message: zod.z.string().describe("Response confirmation message").nullable(),
15
15
  password: zod.z.string().describe("Generated password for the carrier for access").nullable(),
16
16
  carrierId: zod.z.number().int().describe("Unique identifier assigned to the newly created carrier").nullable()
17
- }).describe("Response model for adding a new carrier. Returns the created carrier details with credentials.");
17
+ }).passthrough().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",
20
20
  name: "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 = 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
+ {"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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gGAAgG;AAE1H,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,7 +14,7 @@ declare const ShipdayAddACarrierOutput: z.ZodObject<{
14
14
  message: z.ZodNullable<z.ZodString>;
15
15
  password: z.ZodNullable<z.ZodString>;
16
16
  carrierId: z.ZodNullable<z.ZodNumber>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const shipdayAddACarrier: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  name: string;
20
20
  email: string;
@@ -14,7 +14,7 @@ declare const ShipdayAddACarrierOutput: z.ZodObject<{
14
14
  message: z.ZodNullable<z.ZodString>;
15
15
  password: z.ZodNullable<z.ZodString>;
16
16
  carrierId: z.ZodNullable<z.ZodNumber>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const shipdayAddACarrier: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  name: string;
20
20
  email: string;
@@ -17,7 +17,7 @@ const shipdayAddACarrier = action("SHIPDAY_ADD_A_CARRIER", {
17
17
  message: z.string().describe("Response confirmation message").nullable(),
18
18
  password: z.string().describe("Generated password for the carrier for access").nullable(),
19
19
  carrierId: z.number().int().describe("Unique identifier assigned to the newly created carrier").nullable()
20
- }).describe("Response model for adding a new carrier. Returns the created carrier details with credentials.")
20
+ }).passthrough().describe("Response model for adding a new carrier. Returns the created carrier details with credentials.")
21
21
  });
22
22
  //#endregion
23
23
  export { shipdayAddACarrier };
@@ -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 = 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
+ {"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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gGAOhB;AACV,CAAC"}
@@ -22,8 +22,8 @@ const ShipdayCheckOnDemandAvailability_ServiceAvailabilitySchema = zod.z.object(
22
22
  deliveryDuration: zod.z.number().int().describe("Expected delivery duration in minutes").nullable().optional(),
23
23
  errorDescription: zod.z.string().describe("Detailed error description").nullable().optional(),
24
24
  probableAssignment: zod.z.boolean().describe("Whether assignment is probable").nullable().optional()
25
- }).describe("Availability information for a specific delivery service provider.");
26
- const ShipdayCheckOnDemandAvailabilityOutput = zod.z.object({ services: zod.z.array(ShipdayCheckOnDemandAvailability_ServiceAvailabilitySchema).describe("List of available third-party delivery services with pricing and time estimates").nullable().optional() }).describe("Response containing on-demand delivery availability information.");
25
+ }).passthrough().describe("Availability information for a specific delivery service provider.");
26
+ const ShipdayCheckOnDemandAvailabilityOutput = zod.z.object({ services: zod.z.array(ShipdayCheckOnDemandAvailability_ServiceAvailabilitySchema).describe("List of available third-party delivery services with pricing and time estimates").nullable().optional() }).passthrough().describe("Response containing on-demand delivery availability information.");
27
27
  const shipdayCheckOnDemandAvailability = require_action.action("SHIPDAY_CHECK_ON_DEMAND_AVAILABILITY", {
28
28
  slug: "shipday-check-on-demand-availability",
29
29
  name: "Check On-Demand Delivery Availability",
@@ -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 = 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,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC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js","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}).passthrough().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}).passthrough().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,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,i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,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -23,8 +23,8 @@ declare const ShipdayCheckOnDemandAvailabilityOutput: z.ZodObject<{
23
23
  deliveryDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  errorDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  probableAssignment: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
- }, z.core.$strip>>>>;
27
- }, z.core.$strip>;
26
+ }, z.core.$loose>>>>;
27
+ }, z.core.$loose>;
28
28
  declare const shipdayCheckOnDemandAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  pickupAddress: string;
30
30
  deliveryAddress: string;
@@ -23,8 +23,8 @@ declare const ShipdayCheckOnDemandAvailabilityOutput: z.ZodObject<{
23
23
  deliveryDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  errorDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  probableAssignment: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
- }, z.core.$strip>>>>;
27
- }, z.core.$strip>;
26
+ }, z.core.$loose>>>>;
27
+ }, z.core.$loose>;
28
28
  declare const shipdayCheckOnDemandAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  pickupAddress: string;
30
30
  deliveryAddress: string;
@@ -22,13 +22,13 @@ const ShipdayCheckOnDemandAvailability_ServiceAvailabilitySchema = z.object({
22
22
  deliveryDuration: z.number().int().describe("Expected delivery duration in minutes").nullable().optional(),
23
23
  errorDescription: z.string().describe("Detailed error description").nullable().optional(),
24
24
  probableAssignment: z.boolean().describe("Whether assignment is probable").nullable().optional()
25
- }).describe("Availability information for a specific delivery service provider.");
25
+ }).passthrough().describe("Availability information for a specific delivery service provider.");
26
26
  const shipdayCheckOnDemandAvailability = action("SHIPDAY_CHECK_ON_DEMAND_AVAILABILITY", {
27
27
  slug: "shipday-check-on-demand-availability",
28
28
  name: "Check On-Demand Delivery Availability",
29
29
  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.",
30
30
  input: ShipdayCheckOnDemandAvailabilityInput,
31
- output: z.object({ services: z.array(ShipdayCheckOnDemandAvailability_ServiceAvailabilitySchema).describe("List of available third-party delivery services with pricing and time estimates").nullable().optional() }).describe("Response containing on-demand delivery availability information.")
31
+ output: z.object({ services: z.array(ShipdayCheckOnDemandAvailability_ServiceAvailabilitySchema).describe("List of available third-party delivery services with pricing and time estimates").nullable().optional() }).passthrough().describe("Response containing on-demand delivery availability information.")
32
32
  });
33
33
  //#endregion
34
34
  export { shipdayCheckOnDemandAvailability };
@@ -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 = 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,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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AgC,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"}
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}).passthrough().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}).passthrough().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,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,sD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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,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
@@ -15,7 +15,7 @@ const ShipdayEditDeliveryOrderInput = zod.z.object({
15
15
  detail: zod.z.string().describe("Additional details or notes about the item").optional(),
16
16
  quantity: zod.z.number().int().describe("Quantity of the item"),
17
17
  unitPrice: zod.z.number().describe("Price per unit of the item")
18
- }).describe("Individual item in the order.")).describe("List of items in the order with name, quantity, unit price, and optional details").optional(),
18
+ }).passthrough().describe("Individual item in the order.")).describe("List of items in the order with name, quantity, unit price, and optional details").optional(),
19
19
  restaurant: zod.z.object({
20
20
  name: zod.z.string().describe("Name of the restaurant").optional(),
21
21
  address: zod.z.string().describe("Full address of the restaurant").optional(),
@@ -32,7 +32,7 @@ const ShipdayEditDeliveryOrderInput = zod.z.object({
32
32
  const ShipdayEditDeliveryOrderOutput = zod.z.object({
33
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
- }).describe("Response from editing a delivery order.");
35
+ }).passthrough().describe("Response from editing a delivery order.");
36
36
  const shipdayEditDeliveryOrder = require_action.action("SHIPDAY_EDIT_DELIVERY_ORDER", {
37
37
  slug: "shipday-edit-delivery-order",
38
38
  name: "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 = 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: ShipdayEditDeliveryOrder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AO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACxE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAChK,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7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ZodObject<{
15
15
  detail: z.ZodOptional<z.ZodString>;
16
16
  quantity: z.ZodNumber;
17
17
  unitPrice: z.ZodNumber;
18
- }, z.core.$strip>>>;
18
+ }, z.core.$loose>>>;
19
19
  restaurant: z.ZodOptional<z.ZodObject<{
20
20
  name: z.ZodOptional<z.ZodString>;
21
21
  address: z.ZodOptional<z.ZodString>;
@@ -32,7 +32,7 @@ declare const ShipdayEditDeliveryOrderInput: z.ZodObject<{
32
32
  declare const ShipdayEditDeliveryOrderOutput: z.ZodObject<{
33
33
  success: z.ZodNullable<z.ZodBoolean>;
34
34
  response: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- }, z.core.$strip>;
35
+ }, z.core.$loose>;
36
36
  declare const shipdayEditDeliveryOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  orderId: string;
38
38
  tip?: number | undefined;
@@ -43,6 +43,7 @@ declare const shipdayEditDeliveryOrder: import("@keystrokehq/action").WorkflowAc
43
43
  emailAddress?: string | undefined;
44
44
  } | undefined;
45
45
  orderItems?: {
46
+ [x: string]: unknown;
46
47
  name: string;
47
48
  quantity: number;
48
49
  unitPrice: number;
@@ -15,7 +15,7 @@ declare const ShipdayEditDeliveryOrderInput: z.ZodObject<{
15
15
  detail: z.ZodOptional<z.ZodString>;
16
16
  quantity: z.ZodNumber;
17
17
  unitPrice: z.ZodNumber;
18
- }, z.core.$strip>>>;
18
+ }, z.core.$loose>>>;
19
19
  restaurant: z.ZodOptional<z.ZodObject<{
20
20
  name: z.ZodOptional<z.ZodString>;
21
21
  address: z.ZodOptional<z.ZodString>;
@@ -32,7 +32,7 @@ declare const ShipdayEditDeliveryOrderInput: z.ZodObject<{
32
32
  declare const ShipdayEditDeliveryOrderOutput: z.ZodObject<{
33
33
  success: z.ZodNullable<z.ZodBoolean>;
34
34
  response: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- }, z.core.$strip>;
35
+ }, z.core.$loose>;
36
36
  declare const shipdayEditDeliveryOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  orderId: string;
38
38
  tip?: number | undefined;
@@ -43,6 +43,7 @@ declare const shipdayEditDeliveryOrder: import("@keystrokehq/action").WorkflowAc
43
43
  emailAddress?: string | undefined;
44
44
  } | undefined;
45
45
  orderItems?: {
46
+ [x: string]: unknown;
46
47
  name: string;
47
48
  quantity: number;
48
49
  unitPrice: number;
@@ -18,7 +18,7 @@ const shipdayEditDeliveryOrder = action("SHIPDAY_EDIT_DELIVERY_ORDER", {
18
18
  detail: z.string().describe("Additional details or notes about the item").optional(),
19
19
  quantity: z.number().int().describe("Quantity of the item"),
20
20
  unitPrice: z.number().describe("Price per unit of the item")
21
- }).describe("Individual item in the order.")).describe("List of items in the order with name, quantity, unit price, and optional details").optional(),
21
+ }).passthrough().describe("Individual item in the order.")).describe("List of items in the order with name, quantity, unit price, and optional details").optional(),
22
22
  restaurant: z.object({
23
23
  name: z.string().describe("Name of the restaurant").optional(),
24
24
  address: z.string().describe("Full address of the restaurant").optional(),
@@ -35,7 +35,7 @@ const shipdayEditDeliveryOrder = action("SHIPDAY_EDIT_DELIVERY_ORDER", {
35
35
  output: z.object({
36
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
- }).describe("Response from editing a delivery order.")
38
+ }).passthrough().describe("Response from editing a delivery order.")
39
39
  });
40
40
  //#endregion
41
41
  export { shipdayEditDeliveryOrder };
@@ -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 = 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;CAC5E,MAAM;CACN,M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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
+ {"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}).passthrough().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}).passthrough().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;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArC2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC7H,UAAU,EAAE,OAAO;GACnB,MAAM,EAAE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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,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -13,8 +13,8 @@ const ShipdayGetOnDemandEstimate_DeliveryEstimateSchema = zod.z.object({
13
13
  errorMessage: zod.z.string().describe("Human-readable error description or diagnostic information").nullable().optional(),
14
14
  pickupDuration: zod.z.number().int().describe("Expected pickup duration in minutes").nullable().optional(),
15
15
  deliveryDuration: zod.z.number().int().describe("Expected delivery duration in minutes").nullable().optional()
16
- }).describe("Individual delivery estimate from a service provider.");
17
- const ShipdayGetOnDemandEstimateOutput = zod.z.object({ estimates: zod.z.array(ShipdayGetOnDemandEstimate_DeliveryEstimateSchema).describe("List of delivery estimates from third-party service providers") }).describe("Response containing delivery estimates from various service providers.");
16
+ }).passthrough().describe("Individual delivery estimate from a service provider.");
17
+ const ShipdayGetOnDemandEstimateOutput = zod.z.object({ estimates: zod.z.array(ShipdayGetOnDemandEstimate_DeliveryEstimateSchema).describe("List of delivery estimates from third-party service providers") }).passthrough().describe("Response containing delivery estimates from various service providers.");
18
18
  const shipdayGetOnDemandEstimate = require_action.action("SHIPDAY_GET_ON_DEMAND_ESTIMATE", {
19
19
  slug: "shipday-get-on-demand-estimate",
20
20
  name: "Get On-Demand Delivery Estimate",
@@ -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 = 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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AS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,WAAWA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,+DAA+D,EAChJ,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough().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}).passthrough().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;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,WAAWA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,+DAA+D,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,8 +16,8 @@ declare const ShipdayGetOnDemandEstimateOutput: z.ZodObject<{
16
16
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  pickupDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  deliveryDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
- }, z.core.$strip>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
21
  declare const shipdayGetOnDemandEstimate: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  orderId: string;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -16,8 +16,8 @@ declare const ShipdayGetOnDemandEstimateOutput: z.ZodObject<{
16
16
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  pickupDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  deliveryDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
- }, z.core.$strip>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
21
  declare const shipdayGetOnDemandEstimate: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  orderId: string;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -13,13 +13,13 @@ const ShipdayGetOnDemandEstimate_DeliveryEstimateSchema = z.object({
13
13
  errorMessage: z.string().describe("Human-readable error description or diagnostic information").nullable().optional(),
14
14
  pickupDuration: z.number().int().describe("Expected pickup duration in minutes").nullable().optional(),
15
15
  deliveryDuration: z.number().int().describe("Expected delivery duration in minutes").nullable().optional()
16
- }).describe("Individual delivery estimate from a service provider.");
16
+ }).passthrough().describe("Individual delivery estimate from a service provider.");
17
17
  const shipdayGetOnDemandEstimate = action("SHIPDAY_GET_ON_DEMAND_ESTIMATE", {
18
18
  slug: "shipday-get-on-demand-estimate",
19
19
  name: "Get On-Demand Delivery Estimate",
20
20
  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.",
21
21
  input: ShipdayGetOnDemandEstimateInput,
22
- output: z.object({ estimates: z.array(ShipdayGetOnDemandEstimate_DeliveryEstimateSchema).describe("List of delivery estimates from third-party service providers") }).describe("Response containing delivery estimates from various service providers.")
22
+ output: z.object({ estimates: z.array(ShipdayGetOnDemandEstimate_DeliveryEstimateSchema).describe("List of delivery estimates from third-party service providers") }).passthrough().describe("Response containing delivery estimates from various service providers.")
23
23
  });
24
24
  //#endregion
25
25
  export { shipdayGetOnDemandEstimate };
@@ -1 +1 @@
1
- {"version":3,"file":"get-on-demand-estimate.mjs","names":[],"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,kCAAkC,EAAE,OAAO,EACtD,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AChJ,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-on-demand-estimate.mjs","names":[],"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}).passthrough().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}).passthrough().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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MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,WAAW,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,+DAA+D,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
@@ -6,8 +6,8 @@ const ShipdayGetOnDemandServices_ServiceProviderSchema = zod.z.object({
6
6
  name: zod.z.string().describe("The name of the service provider.").nullable(),
7
7
  prod: zod.z.boolean().describe("Indicates whether the delivery service operates in production mode.").nullable(),
8
8
  status: zod.z.boolean().describe("Shows whether the service provider is currently enabled for the account.").nullable()
9
- }).describe("Model representing a delivery service provider.");
10
- const ShipdayGetOnDemandServicesOutput = zod.z.object({ services: zod.z.array(ShipdayGetOnDemandServices_ServiceProviderSchema).describe("List of available on-demand delivery service providers.") }).describe("Response model for on-demand delivery services.");
9
+ }).passthrough().describe("Model representing a delivery service provider.");
10
+ const ShipdayGetOnDemandServicesOutput = zod.z.object({ services: zod.z.array(ShipdayGetOnDemandServices_ServiceProviderSchema).describe("List of available on-demand delivery service providers.") }).passthrough().describe("Response model for on-demand delivery services.");
11
11
  const shipdayGetOnDemandServices = require_action.action("SHIPDAY_GET_ON_DEMAND_SERVICES", {
12
12
  slug: "shipday-get-on-demand-services",
13
13
  name: "Get On-Demand Delivery Services",
@@ -1 +1 @@
1
- {"version":3,"file":"get-on-demand-services.cjs","names":["z","action"],"sources":["../../src/actions/get-on-demand-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayGetOnDemandServicesInput = z.object({}).describe(\"Request model for retrieving on-demand delivery services. No parameters are required.\");\nconst ShipdayGetOnDemandServices_ServiceProviderSchema = z.object({\n name: z.string().describe(\"The name of the service provider.\").nullable(),\n prod: z.boolean().describe(\"Indicates whether the delivery service operates in production mode.\").nullable(),\n status: z.boolean().describe(\"Shows whether the service provider is currently enabled for the account.\").nullable(),\n}).describe(\"Model representing a delivery service provider.\");\nexport const ShipdayGetOnDemandServicesOutput = z.object({\n services: z.array(ShipdayGetOnDemandServices_ServiceProviderSchema).describe(\"List of available on-demand delivery service providers.\"),\n}).describe(\"Response model for on-demand delivery services.\");\n\nexport const shipdayGetOnDemandServices = action(\"SHIPDAY_GET_ON_DEMAND_SERVICES\", {\n slug: \"shipday-get-on-demand-services\",\n name: \"Get On-Demand Delivery Services\",\n description: \"Tool to retrieve available third-party on-demand delivery service providers. Use when you need to check which delivery services are available or enabled for the account.\",\n input: ShipdayGetOnDemandServicesInput,\n output: ShipdayGetOnDemandServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAC5J,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,UAAUA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,yDAAyD,EACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-on-demand-services.cjs","names":["z","action"],"sources":["../../src/actions/get-on-demand-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayGetOnDemandServicesInput = z.object({}).describe(\"Request model for retrieving on-demand delivery services. No parameters are required.\");\nconst ShipdayGetOnDemandServices_ServiceProviderSchema = z.object({\n name: z.string().describe(\"The name of the service provider.\").nullable(),\n prod: z.boolean().describe(\"Indicates whether the delivery service operates in production mode.\").nullable(),\n status: z.boolean().describe(\"Shows whether the service provider is currently enabled for the account.\").nullable(),\n}).passthrough().describe(\"Model representing a delivery service provider.\");\nexport const ShipdayGetOnDemandServicesOutput = z.object({\n services: z.array(ShipdayGetOnDemandServices_ServiceProviderSchema).describe(\"List of available on-demand delivery service providers.\"),\n}).passthrough().describe(\"Response model for on-demand delivery services.\");\n\nexport const shipdayGetOnDemandServices = action(\"SHIPDAY_GET_ON_DEMAND_SERVICES\", {\n slug: \"shipday-get-on-demand-services\",\n name: \"Get On-Demand Delivery Services\",\n description: \"Tool to retrieve available third-party on-demand delivery service providers. Use when you need to check which delivery services are available or enabled for the account.\",\n input: ShipdayGetOnDemandServicesInput,\n output: ShipdayGetOnDemandServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAC5J,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,UAAUA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,yDAAyD,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,8 +7,8 @@ declare const ShipdayGetOnDemandServicesOutput: z.ZodObject<{
7
7
  name: z.ZodNullable<z.ZodString>;
8
8
  prod: z.ZodNullable<z.ZodBoolean>;
9
9
  status: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
12
  declare const shipdayGetOnDemandServices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { shipdayGetOnDemandServices };
@@ -7,8 +7,8 @@ declare const ShipdayGetOnDemandServicesOutput: z.ZodObject<{
7
7
  name: z.ZodNullable<z.ZodString>;
8
8
  prod: z.ZodNullable<z.ZodBoolean>;
9
9
  status: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
12
12
  declare const shipdayGetOnDemandServices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { shipdayGetOnDemandServices };
@@ -6,13 +6,13 @@ const ShipdayGetOnDemandServices_ServiceProviderSchema = z.object({
6
6
  name: z.string().describe("The name of the service provider.").nullable(),
7
7
  prod: z.boolean().describe("Indicates whether the delivery service operates in production mode.").nullable(),
8
8
  status: z.boolean().describe("Shows whether the service provider is currently enabled for the account.").nullable()
9
- }).describe("Model representing a delivery service provider.");
9
+ }).passthrough().describe("Model representing a delivery service provider.");
10
10
  const shipdayGetOnDemandServices = action("SHIPDAY_GET_ON_DEMAND_SERVICES", {
11
11
  slug: "shipday-get-on-demand-services",
12
12
  name: "Get On-Demand Delivery Services",
13
13
  description: "Tool to retrieve available third-party on-demand delivery service providers. Use when you need to check which delivery services are available or enabled for the account.",
14
14
  input: ShipdayGetOnDemandServicesInput,
15
- output: z.object({ services: z.array(ShipdayGetOnDemandServices_ServiceProviderSchema).describe("List of available on-demand delivery service providers.") }).describe("Response model for on-demand delivery services.")
15
+ output: z.object({ services: z.array(ShipdayGetOnDemandServices_ServiceProviderSchema).describe("List of available on-demand delivery service providers.") }).passthrough().describe("Response model for on-demand delivery services.")
16
16
  });
17
17
  //#endregion
18
18
  export { shipdayGetOnDemandServices };
@@ -1 +1 @@
1
- {"version":3,"file":"get-on-demand-services.mjs","names":[],"sources":["../../src/actions/get-on-demand-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayGetOnDemandServicesInput = z.object({}).describe(\"Request model for retrieving on-demand delivery services. No parameters are required.\");\nconst ShipdayGetOnDemandServices_ServiceProviderSchema = z.object({\n name: z.string().describe(\"The name of the service provider.\").nullable(),\n prod: z.boolean().describe(\"Indicates whether the delivery service operates in production mode.\").nullable(),\n status: z.boolean().describe(\"Shows whether the service provider is currently enabled for the account.\").nullable(),\n}).describe(\"Model representing a delivery service provider.\");\nexport const ShipdayGetOnDemandServicesOutput = z.object({\n services: z.array(ShipdayGetOnDemandServices_ServiceProviderSchema).describe(\"List of available on-demand delivery service providers.\"),\n}).describe(\"Response model for on-demand delivery services.\");\n\nexport const shipdayGetOnDemandServices = action(\"SHIPDAY_GET_ON_DEMAND_SERVICES\", {\n slug: \"shipday-get-on-demand-services\",\n name: \"Get On-Demand Delivery Services\",\n description: \"Tool to retrieve available third-party on-demand delivery service providers. Use when you need to check which delivery services are available or enabled for the account.\",\n input: ShipdayGetOnDemandServicesInput,\n output: ShipdayGetOnDemandServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAC5J,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,UAAU,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,yDAAyD,EACxI,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-on-demand-services.mjs","names":[],"sources":["../../src/actions/get-on-demand-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayGetOnDemandServicesInput = z.object({}).describe(\"Request model for retrieving on-demand delivery services. No parameters are required.\");\nconst ShipdayGetOnDemandServices_ServiceProviderSchema = z.object({\n name: z.string().describe(\"The name of the service provider.\").nullable(),\n prod: z.boolean().describe(\"Indicates whether the delivery service operates in production mode.\").nullable(),\n status: z.boolean().describe(\"Shows whether the service provider is currently enabled for the account.\").nullable(),\n}).passthrough().describe(\"Model representing a delivery service provider.\");\nexport const ShipdayGetOnDemandServicesOutput = z.object({\n services: z.array(ShipdayGetOnDemandServices_ServiceProviderSchema).describe(\"List of available on-demand delivery service providers.\"),\n}).passthrough().describe(\"Response model for on-demand delivery services.\");\n\nexport const shipdayGetOnDemandServices = action(\"SHIPDAY_GET_ON_DEMAND_SERVICES\", {\n slug: \"shipday-get-on-demand-services\",\n name: \"Get On-Demand Delivery Services\",\n description: \"Tool to retrieve available third-party on-demand delivery service providers. Use when you need to check which delivery services are available or enabled for the account.\",\n input: ShipdayGetOnDemandServicesInput,\n output: ShipdayGetOnDemandServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAC5J,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,UAAU,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,yDAAyD,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const ShipdayInsertOrderInput = zod.z.object({
11
11
  detail: zod.z.string().describe("Special instructions for the item").optional(),
12
12
  quantity: zod.z.number().int().describe("Quantity of the item"),
13
13
  unitPrice: zod.z.number().describe("Price per unit of the item")
14
- }).describe("Individual item in the order.")).describe("Array of order items with name, unitPrice, and quantity"),
14
+ }).passthrough().describe("Individual item in the order.")).describe("Array of order items with name, unitPrice, and quantity"),
15
15
  deliveryFee: zod.z.number().describe("Delivery/shipping fee").optional(),
16
16
  orderNumber: zod.z.string().describe("Unique order reference number from customer platform"),
17
17
  orderSource: zod.z.string().describe("Origin of the order (e.g., 'Seamless', 'Website')").optional(),
@@ -57,7 +57,7 @@ const ShipdayInsertOrderOutput = zod.z.object({
57
57
  orderId: zod.z.number().int().describe("Unique identifier assigned to the newly created order. Can be null if order creation failed.").nullable().optional(),
58
58
  success: zod.z.boolean().describe("Boolean value indicating the success of the order insert operation").nullable(),
59
59
  response: zod.z.string().describe("Confirmation message upon successful order creation").nullable()
60
- }).describe("Response from creating a delivery order.");
60
+ }).passthrough().describe("Response from creating a delivery order.");
61
61
  const shipdayInsertOrder = require_action.action("SHIPDAY_INSERT_ORDER", {
62
62
  slug: "shipday-insert-order",
63
63
  name: "Insert Order",
@@ -1 +1 @@
1
- {"version":3,"file":"insert-order.cjs","names":["z","action"],"sources":["../../src/actions/insert-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayInsertOrderInput = z.object({\n tax: z.number().describe(\"Tax amount\").optional(),\n tips: z.number().describe(\"Tip/gratuity amount\").optional(),\n cashTips: z.number().describe(\"Cash tip amount\").optional(),\n orderItems: z.array(z.object({\n name: z.string().describe(\"Name of the order item\"),\n addOns: z.array(z.string()).describe(\"Additional options or modifications for the item\").optional(),\n detail: z.string().describe(\"Special instructions for 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(\"Array of order items with name, unitPrice, and quantity\"),\n deliveryFee: z.number().describe(\"Delivery/shipping fee\").optional(),\n orderNumber: z.string().describe(\"Unique order reference number from customer platform\"),\n orderSource: z.string().describe(\"Origin of the order (e.g., 'Seamless', 'Website')\").optional(),\n additionalId: z.string().describe(\"Secondary reference identifier\").optional(),\n creditCardId: z.string().describe(\"Credit card reference identifier\").optional(),\n customerName: z.string().describe(\"Full name of the recipient\"),\n restaurantId: z.number().int().describe(\"Restaurant identifier\").optional(),\n customerEmail: z.string().describe(\"Customer email address\"),\n paymentMethod: z.enum([\"cash\", \"credit_card\", \"CASH\", \"CARD\", \"ONLINE\", \"CREDIT_CARD\", \"CARD_PHONE\"]).describe(\"Payment method. Must be one of: cash, credit_card, CASH, CARD, ONLINE, CREDIT_CARD, CARD_PHONE\").optional(),\n creditCardType: z.enum([\"visa\", \"master_card\", \"AMEX\", \"other\"]).describe(\"Type of credit card. Must be one of: visa, master_card, AMEX, other\").optional(),\n discountAmount: z.number().describe(\"Applied discount amount\").optional(),\n pickupLatitude: z.number().describe(\"Pickup location latitude coordinate\").optional(),\n restaurantName: z.string().describe(\"Business/pickup location name\"),\n totalOrderCost: z.number().describe(\"Total order amount\"),\n customerAddress: z.string().describe(\"Complete delivery address\"),\n pickupLongitude: z.number().describe(\"Pickup location longitude coordinate\").optional(),\n deliveryLatitude: z.number().describe(\"Delivery location latitude coordinate\").optional(),\n deliveryLongitude: z.number().describe(\"Delivery location longitude coordinate\").optional(),\n pickupInstruction: z.string().describe(\"Pickup-related instructions\").optional(),\n restaurantAddress: z.string().describe(\"Pickup location address\"),\n clientRestaurantId: z.string().describe(\"Client's internal restaurant identifier\").optional(),\n expectedPickupTime: z.string().describe(\"Pickup time in YYYY-MM-DD HH:MM format or HH:MM:SS format\"),\n customerPhoneNumber: z.string().describe(\"Customer phone number with country code\"),\n deliveryInstruction: z.string().describe(\"Special delivery instructions or notes\").optional(),\n expectedDeliveryDate: z.string().describe(\"Target delivery date in YYYY-MM-DD format\"),\n expectedDeliveryTime: z.string().describe(\"Delivery time in YYYY-MM-DD HH:MM format or HH:MM:SS format\"),\n restaurantPhoneNumber: z.string().describe(\"Business contact phone number\"),\n}).describe(\"Request parameters for creating a new delivery order in Shipday.\");\nexport const ShipdayInsertOrderOutput = z.object({\n orderId: z.number().int().describe(\"Unique identifier assigned to the newly created order. Can be null if order creation failed.\").nullable().optional(),\n success: z.boolean().describe(\"Boolean value indicating the success of the order insert operation\").nullable(),\n response: z.string().describe(\"Confirmation message upon successful order creation\").nullable(),\n}).describe(\"Response from creating a delivery order.\");\n\nexport const shipdayInsertOrder = action(\"SHIPDAY_INSERT_ORDER\", {\n slug: \"shipday-insert-order\",\n name: \"Insert Order\",\n description: \"Tool to create a new delivery order in Shipday. Use when you need to insert a delivery order with customer details, restaurant information, order items, and delivery schedule.\",\n input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,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACnG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAClF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACvG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC5E,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"insert-order.cjs","names":["z","action"],"sources":["../../src/actions/insert-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShipdayInsertOrderInput = z.object({\n tax: z.number().describe(\"Tax amount\").optional(),\n tips: z.number().describe(\"Tip/gratuity amount\").optional(),\n cashTips: z.number().describe(\"Cash tip amount\").optional(),\n orderItems: z.array(z.object({\n name: z.string().describe(\"Name of the order item\"),\n addOns: z.array(z.string()).describe(\"Additional options or modifications for the item\").optional(),\n detail: z.string().describe(\"Special instructions for 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}).passthrough().describe(\"Individual item in the order.\")).describe(\"Array of order items with name, unitPrice, and quantity\"),\n deliveryFee: z.number().describe(\"Delivery/shipping fee\").optional(),\n orderNumber: z.string().describe(\"Unique order reference number from customer platform\"),\n orderSource: z.string().describe(\"Origin of the order (e.g., 'Seamless', 'Website')\").optional(),\n additionalId: z.string().describe(\"Secondary reference identifier\").optional(),\n creditCardId: z.string().describe(\"Credit card reference identifier\").optional(),\n customerName: z.string().describe(\"Full name of the recipient\"),\n restaurantId: z.number().int().describe(\"Restaurant identifier\").optional(),\n customerEmail: z.string().describe(\"Customer email address\"),\n paymentMethod: z.enum([\"cash\", \"credit_card\", \"CASH\", \"CARD\", \"ONLINE\", \"CREDIT_CARD\", \"CARD_PHONE\"]).describe(\"Payment method. Must be one of: cash, credit_card, CASH, CARD, ONLINE, CREDIT_CARD, CARD_PHONE\").optional(),\n creditCardType: z.enum([\"visa\", \"master_card\", \"AMEX\", \"other\"]).describe(\"Type of credit card. Must be one of: visa, master_card, AMEX, other\").optional(),\n discountAmount: z.number().describe(\"Applied discount amount\").optional(),\n pickupLatitude: z.number().describe(\"Pickup location latitude coordinate\").optional(),\n restaurantName: z.string().describe(\"Business/pickup location name\"),\n totalOrderCost: z.number().describe(\"Total order amount\"),\n customerAddress: z.string().describe(\"Complete delivery address\"),\n pickupLongitude: z.number().describe(\"Pickup location longitude coordinate\").optional(),\n deliveryLatitude: z.number().describe(\"Delivery location latitude coordinate\").optional(),\n deliveryLongitude: z.number().describe(\"Delivery location longitude coordinate\").optional(),\n pickupInstruction: z.string().describe(\"Pickup-related instructions\").optional(),\n restaurantAddress: z.string().describe(\"Pickup location address\"),\n clientRestaurantId: z.string().describe(\"Client's internal restaurant identifier\").optional(),\n expectedPickupTime: z.string().describe(\"Pickup time in YYYY-MM-DD HH:MM format or HH:MM:SS format\"),\n customerPhoneNumber: z.string().describe(\"Customer phone number with country code\"),\n deliveryInstruction: z.string().describe(\"Special delivery instructions or notes\").optional(),\n expectedDeliveryDate: z.string().describe(\"Target delivery date in YYYY-MM-DD format\"),\n expectedDeliveryTime: z.string().describe(\"Delivery time in YYYY-MM-DD HH:MM format or HH:MM:SS format\"),\n restaurantPhoneNumber: z.string().describe(\"Business contact phone number\"),\n}).describe(\"Request parameters for creating a new delivery order in Shipday.\");\nexport const ShipdayInsertOrderOutput = z.object({\n orderId: z.number().int().describe(\"Unique identifier assigned to the newly created order. Can be null if order creation failed.\").nullable().optional(),\n success: z.boolean().describe(\"Boolean value indicating the success of the order insert operation\").nullable(),\n response: z.string().describe(\"Confirmation message upon successful order creation\").nullable(),\n}).passthrough().describe(\"Response from creating a delivery order.\");\n\nexport const shipdayInsertOrder = action(\"SHIPDAY_INSERT_ORDER\", {\n slug: \"shipday-insert-order\",\n name: \"Insert Order\",\n description: \"Tool to create a new delivery order in Shipday. Use when you need to insert a delivery order with customer details, restaurant information, order items, and delivery schedule.\",\n input: ShipdayInsertOrderInput,\n output: ShipdayInsertOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC1D,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAClG,QAAQA,IA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