@keystrokehq/shipday 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-a-carrier.cjs +5 -5
  4. package/dist/actions/add-a-carrier.cjs.map +1 -1
  5. package/dist/actions/add-a-carrier.d.cts +22 -3
  6. package/dist/actions/add-a-carrier.d.cts.map +1 -1
  7. package/dist/actions/add-a-carrier.d.mts +22 -3
  8. package/dist/actions/add-a-carrier.d.mts.map +1 -1
  9. package/dist/actions/add-a-carrier.mjs +5 -5
  10. package/dist/actions/add-a-carrier.mjs.map +1 -1
  11. package/dist/actions/check-on-demand-availability.cjs +2 -2
  12. package/dist/actions/check-on-demand-availability.cjs.map +1 -1
  13. package/dist/actions/check-on-demand-availability.d.cts +28 -3
  14. package/dist/actions/check-on-demand-availability.d.cts.map +1 -1
  15. package/dist/actions/check-on-demand-availability.d.mts +28 -3
  16. package/dist/actions/check-on-demand-availability.d.mts.map +1 -1
  17. package/dist/actions/check-on-demand-availability.mjs +2 -2
  18. package/dist/actions/check-on-demand-availability.mjs.map +1 -1
  19. package/dist/actions/edit-delivery-order.cjs +3 -3
  20. package/dist/actions/edit-delivery-order.cjs.map +1 -1
  21. package/dist/actions/edit-delivery-order.d.cts +61 -3
  22. package/dist/actions/edit-delivery-order.d.cts.map +1 -1
  23. package/dist/actions/edit-delivery-order.d.mts +61 -3
  24. package/dist/actions/edit-delivery-order.d.mts.map +1 -1
  25. package/dist/actions/edit-delivery-order.mjs +3 -3
  26. package/dist/actions/edit-delivery-order.mjs.map +1 -1
  27. package/dist/actions/get-on-demand-estimate.cjs +2 -2
  28. package/dist/actions/get-on-demand-estimate.cjs.map +1 -1
  29. package/dist/actions/get-on-demand-estimate.d.cts +20 -3
  30. package/dist/actions/get-on-demand-estimate.d.cts.map +1 -1
  31. package/dist/actions/get-on-demand-estimate.d.mts +20 -3
  32. package/dist/actions/get-on-demand-estimate.d.mts.map +1 -1
  33. package/dist/actions/get-on-demand-estimate.mjs +2 -2
  34. package/dist/actions/get-on-demand-estimate.mjs.map +1 -1
  35. package/dist/actions/get-on-demand-services.cjs +5 -5
  36. package/dist/actions/get-on-demand-services.cjs.map +1 -1
  37. package/dist/actions/get-on-demand-services.d.cts +9 -3
  38. package/dist/actions/get-on-demand-services.d.cts.map +1 -1
  39. package/dist/actions/get-on-demand-services.d.mts +9 -3
  40. package/dist/actions/get-on-demand-services.d.mts.map +1 -1
  41. package/dist/actions/get-on-demand-services.mjs +5 -5
  42. package/dist/actions/get-on-demand-services.mjs.map +1 -1
  43. package/dist/actions/insert-order.cjs +4 -4
  44. package/dist/actions/insert-order.cjs.map +1 -1
  45. package/dist/actions/insert-order.d.cts +97 -3
  46. package/dist/actions/insert-order.d.cts.map +1 -1
  47. package/dist/actions/insert-order.d.mts +97 -3
  48. package/dist/actions/insert-order.d.mts.map +1 -1
  49. package/dist/actions/insert-order.mjs +4 -4
  50. package/dist/actions/insert-order.mjs.map +1 -1
  51. package/dist/actions/order-ready-to-pickup.cjs +2 -2
  52. package/dist/actions/order-ready-to-pickup.cjs.map +1 -1
  53. package/dist/actions/order-ready-to-pickup.d.cts +12 -3
  54. package/dist/actions/order-ready-to-pickup.d.cts.map +1 -1
  55. package/dist/actions/order-ready-to-pickup.d.mts +12 -3
  56. package/dist/actions/order-ready-to-pickup.d.mts.map +1 -1
  57. package/dist/actions/order-ready-to-pickup.mjs +2 -2
  58. package/dist/actions/order-ready-to-pickup.mjs.map +1 -1
  59. package/dist/actions/query-delivery-orders.cjs +5 -5
  60. package/dist/actions/query-delivery-orders.cjs.map +1 -1
  61. package/dist/actions/query-delivery-orders.d.cts +77 -3
  62. package/dist/actions/query-delivery-orders.d.cts.map +1 -1
  63. package/dist/actions/query-delivery-orders.d.mts +77 -3
  64. package/dist/actions/query-delivery-orders.d.mts.map +1 -1
  65. package/dist/actions/query-delivery-orders.mjs +5 -5
  66. package/dist/actions/query-delivery-orders.mjs.map +1 -1
  67. package/dist/actions/retrieve-active-orders.cjs +10 -10
  68. package/dist/actions/retrieve-active-orders.cjs.map +1 -1
  69. package/dist/actions/retrieve-active-orders.d.cts +84 -3
  70. package/dist/actions/retrieve-active-orders.d.cts.map +1 -1
  71. package/dist/actions/retrieve-active-orders.d.mts +84 -3
  72. package/dist/actions/retrieve-active-orders.d.mts.map +1 -1
  73. package/dist/actions/retrieve-active-orders.mjs +10 -10
  74. package/dist/actions/retrieve-active-orders.mjs.map +1 -1
  75. package/dist/actions/retrieve-carriers.cjs +10 -10
  76. package/dist/actions/retrieve-carriers.cjs.map +1 -1
  77. package/dist/actions/retrieve-carriers.d.cts +19 -3
  78. package/dist/actions/retrieve-carriers.d.cts.map +1 -1
  79. package/dist/actions/retrieve-carriers.d.mts +19 -3
  80. package/dist/actions/retrieve-carriers.d.mts.map +1 -1
  81. package/dist/actions/retrieve-carriers.mjs +10 -10
  82. package/dist/actions/retrieve-carriers.mjs.map +1 -1
  83. package/dist/actions/retrieve-order-details.cjs +9 -9
  84. package/dist/actions/retrieve-order-details.cjs.map +1 -1
  85. package/dist/actions/retrieve-order-details.d.cts +71 -3
  86. package/dist/actions/retrieve-order-details.d.cts.map +1 -1
  87. package/dist/actions/retrieve-order-details.d.mts +71 -3
  88. package/dist/actions/retrieve-order-details.d.mts.map +1 -1
  89. package/dist/actions/retrieve-order-details.mjs +9 -9
  90. package/dist/actions/retrieve-order-details.mjs.map +1 -1
  91. package/dist/actions/unassign-order-from-driver.cjs +3 -3
  92. package/dist/actions/unassign-order-from-driver.cjs.map +1 -1
  93. package/dist/actions/unassign-order-from-driver.d.cts +10 -3
  94. package/dist/actions/unassign-order-from-driver.d.cts.map +1 -1
  95. package/dist/actions/unassign-order-from-driver.d.mts +10 -3
  96. package/dist/actions/unassign-order-from-driver.d.mts.map +1 -1
  97. package/dist/actions/unassign-order-from-driver.mjs +3 -3
  98. package/dist/actions/unassign-order-from-driver.mjs.map +1 -1
  99. package/dist/catalog.cjs +17 -1
  100. package/dist/catalog.cjs.map +1 -1
  101. package/dist/catalog.d.cts +16 -0
  102. package/dist/catalog.d.mts +16 -0
  103. package/dist/catalog.mjs +17 -1
  104. package/dist/catalog.mjs.map +1 -1
  105. package/package.json +2 -2
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,IAAIA,IAAAA,EAAE,OAAO,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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 dur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AAC,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"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-on-demand-estimate.d.ts
4
- declare const ShipdayGetOnDemandEstimateInput: z.ZodTypeAny;
5
- declare const ShipdayGetOnDemandEstimateOutput: z.ZodTypeAny;
6
- declare const shipdayGetOnDemandEstimate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipdayGetOnDemandEstimateInput: z.ZodObject<{
5
+ orderId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ShipdayGetOnDemandEstimateOutput: z.ZodObject<{
8
+ estimates: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ fee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ error: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ pickupTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ pickupDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ deliveryDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
+ declare const shipdayGetOnDemandEstimate: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ orderId: string;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { shipdayGetOnDemandEstimate };
9
26
  //# sourceMappingURL=get-on-demand-estimate.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-on-demand-estimate.d.cts","names":[],"sources":["../../src/actions/get-on-demand-estimate.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE2B;AAAA,cAa9D,gCAAA,EAAkC,CAAA,CAAE,UAEoC;AAAA,cAExE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-on-demand-estimate.d.cts","names":[],"sources":["../../src/actions/get-on-demand-estimate.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAe/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-on-demand-estimate.d.ts
4
- declare const ShipdayGetOnDemandEstimateInput: z.ZodTypeAny;
5
- declare const ShipdayGetOnDemandEstimateOutput: z.ZodTypeAny;
6
- declare const shipdayGetOnDemandEstimate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipdayGetOnDemandEstimateInput: z.ZodObject<{
5
+ orderId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ShipdayGetOnDemandEstimateOutput: z.ZodObject<{
8
+ estimates: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ fee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ error: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ pickupTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ pickupDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ deliveryDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
+ declare const shipdayGetOnDemandEstimate: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ orderId: string;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { shipdayGetOnDemandEstimate };
9
26
  //# sourceMappingURL=get-on-demand-estimate.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-on-demand-estimate.d.mts","names":[],"sources":["../../src/actions/get-on-demand-estimate.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE2B;AAAA,cAa9D,gCAAA,EAAkC,CAAA,CAAE,UAEoC;AAAA,cAExE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-on-demand-estimate.d.mts","names":[],"sources":["../../src/actions/get-on-demand-estimate.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAe/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,kCAAgD,EAAE,OAAO,EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,oDAAkE,EAAE,OAAO;CAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAKnE,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,WAAW,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,+DAA+D,EAChJ,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, pickup/delivery times, and durations for a delivery order.\",\n input: ShipdayGetOnDemandEstimateInput,\n output: ShipdayGetOnDemandEstimateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,oDAA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 @@ let zod = require("zod");
3
3
  //#region src/actions/get-on-demand-services.ts
4
4
  const ShipdayGetOnDemandServicesInput = zod.z.object({}).describe("Request model for retrieving on-demand delivery services. No parameters are required.");
5
5
  const ShipdayGetOnDemandServices_ServiceProviderSchema = zod.z.object({
6
- name: zod.z.string().describe("The name of the service provider."),
7
- prod: zod.z.boolean().describe("Indicates whether the delivery service operates in production mode."),
8
- status: zod.z.boolean().describe("Shows whether the service provider is currently enabled for the account.")
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.");
6
+ name: zod.z.string().describe("The name of the service provider.").nullable(),
7
+ prod: zod.z.boolean().describe("Indicates whether the delivery service operates in production mode.").nullable(),
8
+ status: zod.z.boolean().describe("Shows whether the service provider is currently enabled for the account.").nullable()
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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving on-demand delivery services. No parameters are required.\");\nconst ShipdayGetOnDemandServices_ServiceProviderSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the service provider.\"),\n prod: z.boolean().describe(\"Indicates whether the delivery service operates in production mode.\"),\n status: z.boolean().describe(\"Shows whether the service provider is currently enabled for the account.\"),\n}).describe(\"Model representing a delivery service provider.\");\nexport const ShipdayGetOnDemandServicesOutput: z.ZodTypeAny = 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,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAC1K,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE;CAChG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E;AACzG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,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"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-on-demand-services.d.ts
4
- declare const ShipdayGetOnDemandServicesInput: z.ZodTypeAny;
5
- declare const ShipdayGetOnDemandServicesOutput: z.ZodTypeAny;
6
- declare const shipdayGetOnDemandServices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipdayGetOnDemandServicesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const ShipdayGetOnDemandServicesOutput: z.ZodObject<{
6
+ services: z.ZodArray<z.ZodObject<{
7
+ name: z.ZodNullable<z.ZodString>;
8
+ prod: z.ZodNullable<z.ZodBoolean>;
9
+ status: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
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]>;
7
13
  //#endregion
8
14
  export { shipdayGetOnDemandServices };
9
15
  //# sourceMappingURL=get-on-demand-services.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-on-demand-services.d.cts","names":[],"sources":["../../src/actions/get-on-demand-services.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAA2H;AAAA,cAM9J,gCAAA,EAAkC,CAAA,CAAE,UAEa;AAAA,cAEjD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-on-demand-services.d.cts","names":[],"sources":["../../src/actions/get-on-demand-services.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-on-demand-services.d.ts
4
- declare const ShipdayGetOnDemandServicesInput: z.ZodTypeAny;
5
- declare const ShipdayGetOnDemandServicesOutput: z.ZodTypeAny;
6
- declare const shipdayGetOnDemandServices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipdayGetOnDemandServicesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const ShipdayGetOnDemandServicesOutput: z.ZodObject<{
6
+ services: z.ZodArray<z.ZodObject<{
7
+ name: z.ZodNullable<z.ZodString>;
8
+ prod: z.ZodNullable<z.ZodBoolean>;
9
+ status: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>;
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]>;
7
13
  //#endregion
8
14
  export { shipdayGetOnDemandServices };
9
15
  //# sourceMappingURL=get-on-demand-services.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-on-demand-services.d.mts","names":[],"sources":["../../src/actions/get-on-demand-services.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAA2H;AAAA,cAM9J,gCAAA,EAAkC,CAAA,CAAE,UAEa;AAAA,cAEjD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-on-demand-services.d.mts","names":[],"sources":["../../src/actions/get-on-demand-services.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,16 +3,16 @@ import { z } from "zod";
3
3
  //#region src/actions/get-on-demand-services.ts
4
4
  const ShipdayGetOnDemandServicesInput = z.object({}).describe("Request model for retrieving on-demand delivery services. No parameters are required.");
5
5
  const ShipdayGetOnDemandServices_ServiceProviderSchema = z.object({
6
- name: z.string().describe("The name of the service provider."),
7
- prod: z.boolean().describe("Indicates whether the delivery service operates in production mode."),
8
- status: z.boolean().describe("Shows whether the service provider is currently enabled for the account.")
9
- }).describe("Model representing a delivery service provider.");
6
+ name: z.string().describe("The name of the service provider.").nullable(),
7
+ prod: z.boolean().describe("Indicates whether the delivery service operates in production mode.").nullable(),
8
+ status: z.boolean().describe("Shows whether the service provider is currently enabled for the account.").nullable()
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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving on-demand delivery services. No parameters are required.\");\nconst ShipdayGetOnDemandServices_ServiceProviderSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the service provider.\"),\n prod: z.boolean().describe(\"Indicates whether the delivery service operates in production mode.\"),\n status: z.boolean().describe(\"Shows whether the service provider is currently enabled for the account.\"),\n}).describe(\"Model representing a delivery service provider.\");\nexport const ShipdayGetOnDemandServicesOutput: z.ZodTypeAny = 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,kCAAgD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAC1K,MAAM,mDAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE;CAChG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E;AACzG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,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(),
@@ -55,9 +55,9 @@ const ShipdayInsertOrderInput = zod.z.object({
55
55
  }).describe("Request parameters for creating a new delivery order in Shipday.");
56
56
  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
- success: zod.z.boolean().describe("Boolean value indicating the success of the order insert operation"),
59
- response: zod.z.string().describe("Confirmation message upon successful order creation")
60
- }).describe("Response from creating a delivery order.");
58
+ success: zod.z.boolean().describe("Boolean value indicating the success of the order insert operation").nullable(),
59
+ response: zod.z.string().describe("Confirmation message upon successful order creation").nullable()
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.ZodTypeAny = 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.ZodTypeAny = 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\"),\n response: z.string().describe(\"Confirmation message upon successful order creation\"),\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: ShipdayInsertOrderInput,\n output: ShipdayInsertOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,EA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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,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,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;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACrF,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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1E,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,yDAAyD;CAC5H,aAAaA,IAAAA,EA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CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,103 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/insert-order.d.ts
4
- declare const ShipdayInsertOrderInput: z.ZodTypeAny;
5
- declare const ShipdayInsertOrderOutput: z.ZodTypeAny;
6
- declare const shipdayInsertOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipdayInsertOrderInput: z.ZodObject<{
5
+ tax: z.ZodOptional<z.ZodNumber>;
6
+ tips: z.ZodOptional<z.ZodNumber>;
7
+ cashTips: z.ZodOptional<z.ZodNumber>;
8
+ orderItems: z.ZodArray<z.ZodObject<{
9
+ name: z.ZodString;
10
+ addOns: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ detail: z.ZodOptional<z.ZodString>;
12
+ quantity: z.ZodNumber;
13
+ unitPrice: z.ZodNumber;
14
+ }, z.core.$loose>>;
15
+ deliveryFee: z.ZodOptional<z.ZodNumber>;
16
+ orderNumber: z.ZodString;
17
+ orderSource: z.ZodOptional<z.ZodString>;
18
+ additionalId: z.ZodOptional<z.ZodString>;
19
+ creditCardId: z.ZodOptional<z.ZodString>;
20
+ customerName: z.ZodString;
21
+ restaurantId: z.ZodOptional<z.ZodNumber>;
22
+ customerEmail: z.ZodString;
23
+ paymentMethod: z.ZodOptional<z.ZodEnum<{
24
+ cash: "cash";
25
+ credit_card: "credit_card";
26
+ CASH: "CASH";
27
+ CARD: "CARD";
28
+ ONLINE: "ONLINE";
29
+ CREDIT_CARD: "CREDIT_CARD";
30
+ CARD_PHONE: "CARD_PHONE";
31
+ }>>;
32
+ creditCardType: z.ZodOptional<z.ZodEnum<{
33
+ visa: "visa";
34
+ master_card: "master_card";
35
+ AMEX: "AMEX";
36
+ other: "other";
37
+ }>>;
38
+ discountAmount: z.ZodOptional<z.ZodNumber>;
39
+ pickupLatitude: z.ZodOptional<z.ZodNumber>;
40
+ restaurantName: z.ZodString;
41
+ totalOrderCost: z.ZodNumber;
42
+ customerAddress: z.ZodString;
43
+ pickupLongitude: z.ZodOptional<z.ZodNumber>;
44
+ deliveryLatitude: z.ZodOptional<z.ZodNumber>;
45
+ deliveryLongitude: z.ZodOptional<z.ZodNumber>;
46
+ pickupInstruction: z.ZodOptional<z.ZodString>;
47
+ restaurantAddress: z.ZodString;
48
+ clientRestaurantId: z.ZodOptional<z.ZodString>;
49
+ expectedPickupTime: z.ZodString;
50
+ customerPhoneNumber: z.ZodString;
51
+ deliveryInstruction: z.ZodOptional<z.ZodString>;
52
+ expectedDeliveryDate: z.ZodString;
53
+ expectedDeliveryTime: z.ZodString;
54
+ restaurantPhoneNumber: z.ZodString;
55
+ }, z.core.$strip>;
56
+ declare const ShipdayInsertOrderOutput: z.ZodObject<{
57
+ orderId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
+ success: z.ZodNullable<z.ZodBoolean>;
59
+ response: z.ZodNullable<z.ZodString>;
60
+ }, z.core.$loose>;
61
+ declare const shipdayInsertOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
62
+ orderItems: {
63
+ [x: string]: unknown;
64
+ name: string;
65
+ quantity: number;
66
+ unitPrice: number;
67
+ addOns?: string[] | undefined;
68
+ detail?: string | undefined;
69
+ }[];
70
+ orderNumber: string;
71
+ customerName: string;
72
+ customerEmail: string;
73
+ restaurantName: string;
74
+ totalOrderCost: number;
75
+ customerAddress: string;
76
+ restaurantAddress: string;
77
+ expectedPickupTime: string;
78
+ customerPhoneNumber: string;
79
+ expectedDeliveryDate: string;
80
+ expectedDeliveryTime: string;
81
+ restaurantPhoneNumber: string;
82
+ tax?: number | undefined;
83
+ tips?: number | undefined;
84
+ cashTips?: number | undefined;
85
+ deliveryFee?: number | undefined;
86
+ orderSource?: string | undefined;
87
+ additionalId?: string | undefined;
88
+ creditCardId?: string | undefined;
89
+ restaurantId?: number | undefined;
90
+ paymentMethod?: "cash" | "credit_card" | "CASH" | "CARD" | "ONLINE" | "CREDIT_CARD" | "CARD_PHONE" | undefined;
91
+ creditCardType?: "visa" | "master_card" | "AMEX" | "other" | undefined;
92
+ discountAmount?: number | undefined;
93
+ pickupLatitude?: number | undefined;
94
+ pickupLongitude?: number | undefined;
95
+ deliveryLatitude?: number | undefined;
96
+ deliveryLongitude?: number | undefined;
97
+ pickupInstruction?: string | undefined;
98
+ clientRestaurantId?: string | undefined;
99
+ deliveryInstruction?: string | undefined;
100
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
101
  //#endregion
8
102
  export { shipdayInsertOrder };
9
103
  //# sourceMappingURL=insert-order.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"insert-order.d.cts","names":[],"sources":["../../src/actions/insert-order.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAsCuC;AAAA,cAClE,wBAAA,EAA0B,CAAA,CAAE,UAIc;AAAA,cAE1C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"insert-order.d.cts","names":[],"sources":["../../src/actions/insert-order.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,103 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/insert-order.d.ts
4
- declare const ShipdayInsertOrderInput: z.ZodTypeAny;
5
- declare const ShipdayInsertOrderOutput: z.ZodTypeAny;
6
- declare const shipdayInsertOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShipdayInsertOrderInput: z.ZodObject<{
5
+ tax: z.ZodOptional<z.ZodNumber>;
6
+ tips: z.ZodOptional<z.ZodNumber>;
7
+ cashTips: z.ZodOptional<z.ZodNumber>;
8
+ orderItems: z.ZodArray<z.ZodObject<{
9
+ name: z.ZodString;
10
+ addOns: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ detail: z.ZodOptional<z.ZodString>;
12
+ quantity: z.ZodNumber;
13
+ unitPrice: z.ZodNumber;
14
+ }, z.core.$loose>>;
15
+ deliveryFee: z.ZodOptional<z.ZodNumber>;
16
+ orderNumber: z.ZodString;
17
+ orderSource: z.ZodOptional<z.ZodString>;
18
+ additionalId: z.ZodOptional<z.ZodString>;
19
+ creditCardId: z.ZodOptional<z.ZodString>;
20
+ customerName: z.ZodString;
21
+ restaurantId: z.ZodOptional<z.ZodNumber>;
22
+ customerEmail: z.ZodString;
23
+ paymentMethod: z.ZodOptional<z.ZodEnum<{
24
+ cash: "cash";
25
+ credit_card: "credit_card";
26
+ CASH: "CASH";
27
+ CARD: "CARD";
28
+ ONLINE: "ONLINE";
29
+ CREDIT_CARD: "CREDIT_CARD";
30
+ CARD_PHONE: "CARD_PHONE";
31
+ }>>;
32
+ creditCardType: z.ZodOptional<z.ZodEnum<{
33
+ visa: "visa";
34
+ master_card: "master_card";
35
+ AMEX: "AMEX";
36
+ other: "other";
37
+ }>>;
38
+ discountAmount: z.ZodOptional<z.ZodNumber>;
39
+ pickupLatitude: z.ZodOptional<z.ZodNumber>;
40
+ restaurantName: z.ZodString;
41
+ totalOrderCost: z.ZodNumber;
42
+ customerAddress: z.ZodString;
43
+ pickupLongitude: z.ZodOptional<z.ZodNumber>;
44
+ deliveryLatitude: z.ZodOptional<z.ZodNumber>;
45
+ deliveryLongitude: z.ZodOptional<z.ZodNumber>;
46
+ pickupInstruction: z.ZodOptional<z.ZodString>;
47
+ restaurantAddress: z.ZodString;
48
+ clientRestaurantId: z.ZodOptional<z.ZodString>;
49
+ expectedPickupTime: z.ZodString;
50
+ customerPhoneNumber: z.ZodString;
51
+ deliveryInstruction: z.ZodOptional<z.ZodString>;
52
+ expectedDeliveryDate: z.ZodString;
53
+ expectedDeliveryTime: z.ZodString;
54
+ restaurantPhoneNumber: z.ZodString;
55
+ }, z.core.$strip>;
56
+ declare const ShipdayInsertOrderOutput: z.ZodObject<{
57
+ orderId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
+ success: z.ZodNullable<z.ZodBoolean>;
59
+ response: z.ZodNullable<z.ZodString>;
60
+ }, z.core.$loose>;
61
+ declare const shipdayInsertOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
62
+ orderItems: {
63
+ [x: string]: unknown;
64
+ name: string;
65
+ quantity: number;
66
+ unitPrice: number;
67
+ addOns?: string[] | undefined;
68
+ detail?: string | undefined;
69
+ }[];
70
+ orderNumber: string;
71
+ customerName: string;
72
+ customerEmail: string;
73
+ restaurantName: string;
74
+ totalOrderCost: number;
75
+ customerAddress: string;
76
+ restaurantAddress: string;
77
+ expectedPickupTime: string;
78
+ customerPhoneNumber: string;
79
+ expectedDeliveryDate: string;
80
+ expectedDeliveryTime: string;
81
+ restaurantPhoneNumber: string;
82
+ tax?: number | undefined;
83
+ tips?: number | undefined;
84
+ cashTips?: number | undefined;
85
+ deliveryFee?: number | undefined;
86
+ orderSource?: string | undefined;
87
+ additionalId?: string | undefined;
88
+ creditCardId?: string | undefined;
89
+ restaurantId?: number | undefined;
90
+ paymentMethod?: "cash" | "credit_card" | "CASH" | "CARD" | "ONLINE" | "CREDIT_CARD" | "CARD_PHONE" | undefined;
91
+ creditCardType?: "visa" | "master_card" | "AMEX" | "other" | undefined;
92
+ discountAmount?: number | undefined;
93
+ pickupLatitude?: number | undefined;
94
+ pickupLongitude?: number | undefined;
95
+ deliveryLatitude?: number | undefined;
96
+ deliveryLongitude?: number | undefined;
97
+ pickupInstruction?: string | undefined;
98
+ clientRestaurantId?: string | undefined;
99
+ deliveryInstruction?: string | undefined;
100
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
101
  //#endregion
8
102
  export { shipdayInsertOrder };
9
103
  //# sourceMappingURL=insert-order.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"insert-order.d.mts","names":[],"sources":["../../src/actions/insert-order.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAsCuC;AAAA,cAClE,wBAAA,EAA0B,CAAA,CAAE,UAIc;AAAA,cAE1C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"insert-order.d.mts","names":[],"sources":["../../src/actions/insert-order.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
@@ -14,7 +14,7 @@ const shipdayInsertOrder = action("SHIPDAY_INSERT_ORDER", {
14
14
  detail: z.string().describe("Special instructions for the item").optional(),
15
15
  quantity: z.number().int().describe("Quantity of the item"),
16
16
  unitPrice: z.number().describe("Price per unit of the item")
17
- }).describe("Individual item in the order.")).describe("Array of order items with name, unitPrice, and quantity"),
17
+ }).passthrough().describe("Individual item in the order.")).describe("Array of order items with name, unitPrice, and quantity"),
18
18
  deliveryFee: z.number().describe("Delivery/shipping fee").optional(),
19
19
  orderNumber: z.string().describe("Unique order reference number from customer platform"),
20
20
  orderSource: z.string().describe("Origin of the order (e.g., 'Seamless', 'Website')").optional(),
@@ -58,9 +58,9 @@ const shipdayInsertOrder = action("SHIPDAY_INSERT_ORDER", {
58
58
  }).describe("Request parameters for creating a new delivery order in Shipday."),
59
59
  output: z.object({
60
60
  orderId: z.number().int().describe("Unique identifier assigned to the newly created order. Can be null if order creation failed.").nullable().optional(),
61
- success: z.boolean().describe("Boolean value indicating the success of the order insert operation"),
62
- response: z.string().describe("Confirmation message upon successful order creation")
63
- }).describe("Response from creating a delivery order.")
61
+ success: z.boolean().describe("Boolean value indicating the success of the order insert operation").nullable(),
62
+ response: z.string().describe("Confirmation message upon successful order creation").nullable()
63
+ }).passthrough().describe("Response from creating a delivery order.")
64
64
  });
65
65
  //#endregion
66
66
  export { shipdayInsertOrder };