@deliverart/sdk-js-integration 2.12.0 → 2.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -14769,8 +14769,8 @@ var integrationGlovoStoreStatuses = ["OPEN", "CLOSED"];
14769
14769
  var integrationGlovoStoreStatusSchema = external_exports.enum(integrationGlovoStoreStatuses);
14770
14770
  var integrationGlovoWebhookEventTypes = ["order.dispatched", "order.cancelled"];
14771
14771
  var integrationGlovoWebhookEventTypeSchema = external_exports.enum(integrationGlovoWebhookEventTypes);
14772
- var integrationEcommerceOrderingModes = ["delivery", "take_away"];
14773
- var integrationEcommerceOrderingModeSchema = external_exports.enum(integrationEcommerceOrderingModes);
14772
+ var integrationEcommerceOrderingModes = ["delivery", "collection"];
14773
+ var integrationEcommerceOrderingModeSchema = external_exports.union([external_exports.enum(integrationEcommerceOrderingModes), external_exports.literal("take_away")]).transform((value) => value === "take_away" ? "collection" : value);
14774
14774
  var integrationCassaInCloudDirections = [
14775
14775
  "EXTERNAL_TO_INTERNAL",
14776
14776
  "INTERNAL_TO_EXTERNAL"
@@ -16104,7 +16104,7 @@ var integrationEcommercePointOfSaleInfoSchema = external_exports.object({
16104
16104
  location: import_sdk_js_global_types8.locationSchema,
16105
16105
  openingTimeSettings: external_exports.array(import_sdk_js_point_of_sale3.timeSettingSchema),
16106
16106
  deliveryTimeSettings: external_exports.array(import_sdk_js_point_of_sale3.deliveryTimeSettingSchema),
16107
- takeAwayTimeSettings: external_exports.array(import_sdk_js_point_of_sale3.timeSettingSchema)
16107
+ collectionTimeSettings: external_exports.array(import_sdk_js_point_of_sale3.timeSettingSchema)
16108
16108
  });
16109
16109
  var integrationEcommerceInfoSchema = external_exports.object({
16110
16110
  id: external_exports.string(),
package/dist/index.d.cts CHANGED
@@ -1045,10 +1045,10 @@ declare const integrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1045
1045
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
1046
1046
  errors: z.ZodArray<z.ZodString>;
1047
1047
  path: z.ZodString;
1048
- orderingModes: z.ZodArray<z.ZodEnum<{
1048
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
1049
1049
  delivery: "delivery";
1050
- take_away: "take_away";
1051
- }>>;
1050
+ collection: "collection";
1051
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
1052
1052
  minOrderValue: z.ZodCoercedNumber<unknown>;
1053
1053
  service: z.ZodEnum<{
1054
1054
  ecommerce: "ecommerce";
@@ -1304,10 +1304,10 @@ declare const integrationDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1304
1304
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
1305
1305
  errors: z.ZodArray<z.ZodString>;
1306
1306
  path: z.ZodString;
1307
- orderingModes: z.ZodArray<z.ZodEnum<{
1307
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
1308
1308
  delivery: "delivery";
1309
- take_away: "take_away";
1310
- }>>;
1309
+ collection: "collection";
1310
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
1311
1311
  minOrderValue: z.ZodCoercedNumber<unknown>;
1312
1312
  service: z.ZodEnum<{
1313
1313
  ecommerce: "ecommerce";
@@ -6957,10 +6957,10 @@ declare const getIntegrationDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
6957
6957
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
6958
6958
  errors: z.ZodArray<z.ZodString>;
6959
6959
  path: z.ZodString;
6960
- orderingModes: z.ZodArray<z.ZodEnum<{
6960
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
6961
6961
  delivery: "delivery";
6962
- take_away: "take_away";
6963
- }>>;
6962
+ collection: "collection";
6963
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
6964
6964
  minOrderValue: z.ZodCoercedNumber<unknown>;
6965
6965
  service: z.ZodEnum<{
6966
6966
  ecommerce: "ecommerce";
@@ -7223,10 +7223,10 @@ declare class GetIntegrationDetails extends AbstractApiRequest<typeof getIntegra
7223
7223
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
7224
7224
  errors: z.ZodArray<z.ZodString>;
7225
7225
  path: z.ZodString;
7226
- orderingModes: z.ZodArray<z.ZodEnum<{
7226
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
7227
7227
  delivery: "delivery";
7228
- take_away: "take_away";
7229
- }>>;
7228
+ collection: "collection";
7229
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
7230
7230
  minOrderValue: z.ZodCoercedNumber<unknown>;
7231
7231
  service: z.ZodEnum<{
7232
7232
  ecommerce: "ecommerce";
@@ -7524,10 +7524,10 @@ declare const getIntegrationsResponseSchema: z.ZodObject<{
7524
7524
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
7525
7525
  errors: z.ZodArray<z.ZodString>;
7526
7526
  path: z.ZodString;
7527
- orderingModes: z.ZodArray<z.ZodEnum<{
7527
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
7528
7528
  delivery: "delivery";
7529
- take_away: "take_away";
7530
- }>>;
7529
+ collection: "collection";
7530
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
7531
7531
  minOrderValue: z.ZodCoercedNumber<unknown>;
7532
7532
  service: z.ZodEnum<{
7533
7533
  ecommerce: "ecommerce";
@@ -7791,10 +7791,10 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
7791
7791
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
7792
7792
  errors: z.ZodArray<z.ZodString>;
7793
7793
  path: z.ZodString;
7794
- orderingModes: z.ZodArray<z.ZodEnum<{
7794
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
7795
7795
  delivery: "delivery";
7796
- take_away: "take_away";
7797
- }>>;
7796
+ collection: "collection";
7797
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
7798
7798
  minOrderValue: z.ZodCoercedNumber<unknown>;
7799
7799
  service: z.ZodEnum<{
7800
7800
  ecommerce: "ecommerce";
@@ -8089,10 +8089,10 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
8089
8089
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
8090
8090
  errors: z.ZodArray<z.ZodString>;
8091
8091
  path: z.ZodString;
8092
- orderingModes: z.ZodArray<z.ZodEnum<{
8092
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
8093
8093
  delivery: "delivery";
8094
- take_away: "take_away";
8095
- }>>;
8094
+ collection: "collection";
8095
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
8096
8096
  minOrderValue: z.ZodCoercedNumber<unknown>;
8097
8097
  service: z.ZodEnum<{
8098
8098
  ecommerce: "ecommerce";
@@ -8387,10 +8387,10 @@ declare const getIntegrationsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDisc
8387
8387
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
8388
8388
  errors: z.ZodArray<z.ZodString>;
8389
8389
  path: z.ZodString;
8390
- orderingModes: z.ZodArray<z.ZodEnum<{
8390
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
8391
8391
  delivery: "delivery";
8392
- take_away: "take_away";
8393
- }>>;
8392
+ collection: "collection";
8393
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
8394
8394
  minOrderValue: z.ZodCoercedNumber<unknown>;
8395
8395
  service: z.ZodEnum<{
8396
8396
  ecommerce: "ecommerce";
@@ -8644,10 +8644,10 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
8644
8644
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
8645
8645
  errors: z.ZodArray<z.ZodString>;
8646
8646
  path: z.ZodString;
8647
- orderingModes: z.ZodArray<z.ZodEnum<{
8647
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
8648
8648
  delivery: "delivery";
8649
- take_away: "take_away";
8650
- }>>;
8649
+ collection: "collection";
8650
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
8651
8651
  minOrderValue: z.ZodCoercedNumber<unknown>;
8652
8652
  service: z.ZodEnum<{
8653
8653
  ecommerce: "ecommerce";
@@ -8933,10 +8933,10 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
8933
8933
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
8934
8934
  errors: z.ZodArray<z.ZodString>;
8935
8935
  path: z.ZodString;
8936
- orderingModes: z.ZodArray<z.ZodEnum<{
8936
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
8937
8937
  delivery: "delivery";
8938
- take_away: "take_away";
8939
- }>>;
8938
+ collection: "collection";
8939
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
8940
8940
  minOrderValue: z.ZodCoercedNumber<unknown>;
8941
8941
  service: z.ZodEnum<{
8942
8942
  ecommerce: "ecommerce";
@@ -10689,10 +10689,10 @@ declare const integrationEcommerceSchema: z.ZodObject<{
10689
10689
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
10690
10690
  errors: z.ZodArray<z.ZodString>;
10691
10691
  path: z.ZodString;
10692
- orderingModes: z.ZodArray<z.ZodEnum<{
10692
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
10693
10693
  delivery: "delivery";
10694
- take_away: "take_away";
10695
- }>>;
10694
+ collection: "collection";
10695
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
10696
10696
  minOrderValue: z.ZodCoercedNumber<unknown>;
10697
10697
  service: z.ZodEnum<{
10698
10698
  ecommerce: "ecommerce";
@@ -10716,10 +10716,10 @@ declare const integrationEcommerceDetailsSchema: z.ZodObject<{
10716
10716
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
10717
10717
  errors: z.ZodArray<z.ZodString>;
10718
10718
  path: z.ZodString;
10719
- orderingModes: z.ZodArray<z.ZodEnum<{
10719
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
10720
10720
  delivery: "delivery";
10721
- take_away: "take_away";
10722
- }>>;
10721
+ collection: "collection";
10722
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
10723
10723
  minOrderValue: z.ZodCoercedNumber<unknown>;
10724
10724
  service: z.ZodEnum<{
10725
10725
  ecommerce: "ecommerce";
@@ -10735,10 +10735,10 @@ declare const integrationEcommerceEditableFieldsSchema: z.ZodObject<{
10735
10735
  cassa_in_cloud: "cassa_in_cloud";
10736
10736
  }>;
10737
10737
  salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
10738
- orderingModes: z.ZodArray<z.ZodEnum<{
10738
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
10739
10739
  delivery: "delivery";
10740
- take_away: "take_away";
10741
- }>>;
10740
+ collection: "collection";
10741
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
10742
10742
  minOrderValue: z.ZodCoercedNumber<unknown>;
10743
10743
  }, z.core.$strip>;
10744
10744
  type IntegrationEcommerceEditableFields = z.infer<typeof integrationEcommerceEditableFieldsSchema>;
@@ -11116,7 +11116,7 @@ declare const integrationEcommercePointOfSaleInfoSchema: z.ZodObject<{
11116
11116
  availableCouriers: z.ZodCoercedNumber<unknown>;
11117
11117
  }, z.core.$strip>>;
11118
11118
  }, z.core.$strip>>;
11119
- takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
11119
+ collectionTimeSettings: z.ZodArray<z.ZodObject<{
11120
11120
  dayOfWeek: z.ZodEnum<{
11121
11121
  monday: "monday";
11122
11122
  tuesday: "tuesday";
@@ -11136,10 +11136,10 @@ type IntegrationEcommercePointOfSaleInfo = z.infer<typeof integrationEcommercePo
11136
11136
  declare const integrationEcommerceInfoSchema: z.ZodObject<{
11137
11137
  id: z.ZodString;
11138
11138
  path: z.ZodString;
11139
- orderingModes: z.ZodArray<z.ZodEnum<{
11139
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
11140
11140
  delivery: "delivery";
11141
- take_away: "take_away";
11142
- }>>;
11141
+ collection: "collection";
11142
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
11143
11143
  pointOfSale: z.ZodObject<{
11144
11144
  id: z.ZodString;
11145
11145
  name: z.ZodString;
@@ -11187,7 +11187,7 @@ declare const integrationEcommerceInfoSchema: z.ZodObject<{
11187
11187
  availableCouriers: z.ZodCoercedNumber<unknown>;
11188
11188
  }, z.core.$strip>>;
11189
11189
  }, z.core.$strip>>;
11190
- takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
11190
+ collectionTimeSettings: z.ZodArray<z.ZodObject<{
11191
11191
  dayOfWeek: z.ZodEnum<{
11192
11192
  monday: "monday";
11193
11193
  tuesday: "tuesday";
@@ -19212,10 +19212,10 @@ declare const createIntegrationEcommerceInputSchema: z.ZodObject<{
19212
19212
  cassa_in_cloud: "cassa_in_cloud";
19213
19213
  }>;
19214
19214
  salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
19215
- orderingModes: z.ZodArray<z.ZodEnum<{
19215
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19216
19216
  delivery: "delivery";
19217
- take_away: "take_away";
19218
- }>>;
19217
+ collection: "collection";
19218
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19219
19219
  minOrderValue: z.ZodCoercedNumber<unknown>;
19220
19220
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
19221
19221
  }, z.core.$strip>;
@@ -19237,10 +19237,10 @@ declare const createIntegrationEcommerceResponseSchema: z.ZodObject<{
19237
19237
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19238
19238
  errors: z.ZodArray<z.ZodString>;
19239
19239
  path: z.ZodString;
19240
- orderingModes: z.ZodArray<z.ZodEnum<{
19240
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19241
19241
  delivery: "delivery";
19242
- take_away: "take_away";
19243
- }>>;
19242
+ collection: "collection";
19243
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19244
19244
  minOrderValue: z.ZodCoercedNumber<unknown>;
19245
19245
  service: z.ZodEnum<{
19246
19246
  ecommerce: "ecommerce";
@@ -19260,10 +19260,10 @@ declare class CreateIntegrationEcommerce extends AbstractApiRequest<typeof creat
19260
19260
  cassa_in_cloud: "cassa_in_cloud";
19261
19261
  }>;
19262
19262
  salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
19263
- orderingModes: z.ZodArray<z.ZodEnum<{
19263
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19264
19264
  delivery: "delivery";
19265
- take_away: "take_away";
19266
- }>>;
19265
+ collection: "collection";
19266
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19267
19267
  minOrderValue: z.ZodCoercedNumber<unknown>;
19268
19268
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
19269
19269
  }, z.core.$strip>;
@@ -19284,10 +19284,10 @@ declare class CreateIntegrationEcommerce extends AbstractApiRequest<typeof creat
19284
19284
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19285
19285
  errors: z.ZodArray<z.ZodString>;
19286
19286
  path: z.ZodString;
19287
- orderingModes: z.ZodArray<z.ZodEnum<{
19287
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19288
19288
  delivery: "delivery";
19289
- take_away: "take_away";
19290
- }>>;
19289
+ collection: "collection";
19290
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19291
19291
  minOrderValue: z.ZodCoercedNumber<unknown>;
19292
19292
  service: z.ZodEnum<{
19293
19293
  ecommerce: "ecommerce";
@@ -19337,10 +19337,10 @@ declare const getIntegrationEcommerceDetailsResponseSchema: z.ZodObject<{
19337
19337
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19338
19338
  errors: z.ZodArray<z.ZodString>;
19339
19339
  path: z.ZodString;
19340
- orderingModes: z.ZodArray<z.ZodEnum<{
19340
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19341
19341
  delivery: "delivery";
19342
- take_away: "take_away";
19343
- }>>;
19342
+ collection: "collection";
19343
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19344
19344
  minOrderValue: z.ZodCoercedNumber<unknown>;
19345
19345
  service: z.ZodEnum<{
19346
19346
  ecommerce: "ecommerce";
@@ -19371,10 +19371,10 @@ declare class GetIntegrationEcommerceDetails extends AbstractApiRequest<typeof g
19371
19371
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19372
19372
  errors: z.ZodArray<z.ZodString>;
19373
19373
  path: z.ZodString;
19374
- orderingModes: z.ZodArray<z.ZodEnum<{
19374
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19375
19375
  delivery: "delivery";
19376
- take_away: "take_away";
19377
- }>>;
19376
+ collection: "collection";
19377
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19378
19378
  minOrderValue: z.ZodCoercedNumber<unknown>;
19379
19379
  service: z.ZodEnum<{
19380
19380
  ecommerce: "ecommerce";
@@ -19394,10 +19394,10 @@ type GetIntegrationEcommerceInfoInput = z.infer<typeof getIntegrationEcommerceIn
19394
19394
  declare const getIntegrationEcommerceInfoResponseSchema: z.ZodObject<{
19395
19395
  id: z.ZodString;
19396
19396
  path: z.ZodString;
19397
- orderingModes: z.ZodArray<z.ZodEnum<{
19397
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19398
19398
  delivery: "delivery";
19399
- take_away: "take_away";
19400
- }>>;
19399
+ collection: "collection";
19400
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19401
19401
  pointOfSale: z.ZodObject<{
19402
19402
  id: z.ZodString;
19403
19403
  name: z.ZodString;
@@ -19445,7 +19445,7 @@ declare const getIntegrationEcommerceInfoResponseSchema: z.ZodObject<{
19445
19445
  availableCouriers: z.ZodCoercedNumber<unknown>;
19446
19446
  }, z.core.$strip>>;
19447
19447
  }, z.core.$strip>>;
19448
- takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
19448
+ collectionTimeSettings: z.ZodArray<z.ZodObject<{
19449
19449
  dayOfWeek: z.ZodEnum<{
19450
19450
  monday: "monday";
19451
19451
  tuesday: "tuesday";
@@ -19614,10 +19614,10 @@ declare class GetIntegrationEcommerceInfo extends AbstractApiRequest<typeof getI
19614
19614
  readonly outputSchema: z.ZodObject<{
19615
19615
  id: z.ZodString;
19616
19616
  path: z.ZodString;
19617
- orderingModes: z.ZodArray<z.ZodEnum<{
19617
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19618
19618
  delivery: "delivery";
19619
- take_away: "take_away";
19620
- }>>;
19619
+ collection: "collection";
19620
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19621
19621
  pointOfSale: z.ZodObject<{
19622
19622
  id: z.ZodString;
19623
19623
  name: z.ZodString;
@@ -19665,7 +19665,7 @@ declare class GetIntegrationEcommerceInfo extends AbstractApiRequest<typeof getI
19665
19665
  availableCouriers: z.ZodCoercedNumber<unknown>;
19666
19666
  }, z.core.$strip>>;
19667
19667
  }, z.core.$strip>>;
19668
- takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
19668
+ collectionTimeSettings: z.ZodArray<z.ZodObject<{
19669
19669
  dayOfWeek: z.ZodEnum<{
19670
19670
  monday: "monday";
19671
19671
  tuesday: "tuesday";
@@ -19888,10 +19888,10 @@ declare const getIntegrationEcommerceListResponseSchema: z.ZodObject<{
19888
19888
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19889
19889
  errors: z.ZodArray<z.ZodString>;
19890
19890
  path: z.ZodString;
19891
- orderingModes: z.ZodArray<z.ZodEnum<{
19891
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19892
19892
  delivery: "delivery";
19893
- take_away: "take_away";
19894
- }>>;
19893
+ collection: "collection";
19894
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19895
19895
  minOrderValue: z.ZodCoercedNumber<unknown>;
19896
19896
  service: z.ZodEnum<{
19897
19897
  ecommerce: "ecommerce";
@@ -19930,10 +19930,10 @@ declare class GetIntegrationEcommerceList extends AbstractApiRequest<typeof getI
19930
19930
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19931
19931
  errors: z.ZodArray<z.ZodString>;
19932
19932
  path: z.ZodString;
19933
- orderingModes: z.ZodArray<z.ZodEnum<{
19933
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19934
19934
  delivery: "delivery";
19935
- take_away: "take_away";
19936
- }>>;
19935
+ collection: "collection";
19936
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19937
19937
  minOrderValue: z.ZodCoercedNumber<unknown>;
19938
19938
  service: z.ZodEnum<{
19939
19939
  ecommerce: "ecommerce";
@@ -20001,10 +20001,10 @@ declare class GetIntegrationEcommerceList extends AbstractApiRequest<typeof getI
20001
20001
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
20002
20002
  errors: z.ZodArray<z.ZodString>;
20003
20003
  path: z.ZodString;
20004
- orderingModes: z.ZodArray<z.ZodEnum<{
20004
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
20005
20005
  delivery: "delivery";
20006
- take_away: "take_away";
20007
- }>>;
20006
+ collection: "collection";
20007
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
20008
20008
  minOrderValue: z.ZodCoercedNumber<unknown>;
20009
20009
  service: z.ZodEnum<{
20010
20010
  ecommerce: "ecommerce";
@@ -20024,10 +20024,10 @@ declare const updateIntegrationEcommerceInputSchema: z.ZodObject<{
20024
20024
  cassa_in_cloud: "cassa_in_cloud";
20025
20025
  }>>;
20026
20026
  salesMode: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>;
20027
- orderingModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
20027
+ orderingModes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
20028
20028
  delivery: "delivery";
20029
- take_away: "take_away";
20030
- }>>>;
20029
+ collection: "collection";
20030
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>>;
20031
20031
  minOrderValue: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
20032
20032
  }, z.core.$strip>;
20033
20033
  type UpdateIntegrationEcommerceInput = z.input<typeof updateIntegrationEcommerceInputSchema>;
@@ -20048,10 +20048,10 @@ declare const updateIntegrationEcommerceResponseSchema: z.ZodObject<{
20048
20048
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
20049
20049
  errors: z.ZodArray<z.ZodString>;
20050
20050
  path: z.ZodString;
20051
- orderingModes: z.ZodArray<z.ZodEnum<{
20051
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
20052
20052
  delivery: "delivery";
20053
- take_away: "take_away";
20054
- }>>;
20053
+ collection: "collection";
20054
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
20055
20055
  minOrderValue: z.ZodCoercedNumber<unknown>;
20056
20056
  service: z.ZodEnum<{
20057
20057
  ecommerce: "ecommerce";
@@ -20071,10 +20071,10 @@ declare class UpdateIntegrationEcommerce extends AbstractApiRequest<typeof updat
20071
20071
  cassa_in_cloud: "cassa_in_cloud";
20072
20072
  }>>;
20073
20073
  salesMode: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>;
20074
- orderingModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
20074
+ orderingModes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
20075
20075
  delivery: "delivery";
20076
- take_away: "take_away";
20077
- }>>>;
20076
+ collection: "collection";
20077
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>>;
20078
20078
  minOrderValue: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
20079
20079
  }, z.core.$strip>;
20080
20080
  readonly outputSchema: z.ZodObject<{
@@ -20094,10 +20094,10 @@ declare class UpdateIntegrationEcommerce extends AbstractApiRequest<typeof updat
20094
20094
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
20095
20095
  errors: z.ZodArray<z.ZodString>;
20096
20096
  path: z.ZodString;
20097
- orderingModes: z.ZodArray<z.ZodEnum<{
20097
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
20098
20098
  delivery: "delivery";
20099
- take_away: "take_away";
20100
- }>>;
20099
+ collection: "collection";
20100
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
20101
20101
  minOrderValue: z.ZodCoercedNumber<unknown>;
20102
20102
  service: z.ZodEnum<{
20103
20103
  ecommerce: "ecommerce";
@@ -23438,11 +23438,11 @@ declare const integrationGlovoWebhookEventTypeSchema: z.ZodEnum<{
23438
23438
  "order.cancelled": "order.cancelled";
23439
23439
  }>;
23440
23440
  type IntegrationGlovoWebhookEventType = z.infer<typeof integrationGlovoWebhookEventTypeSchema>;
23441
- declare const integrationEcommerceOrderingModes: readonly ["delivery", "take_away"];
23442
- declare const integrationEcommerceOrderingModeSchema: z.ZodEnum<{
23441
+ declare const integrationEcommerceOrderingModes: readonly ["delivery", "collection"];
23442
+ declare const integrationEcommerceOrderingModeSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
23443
23443
  delivery: "delivery";
23444
- take_away: "take_away";
23445
- }>;
23444
+ collection: "collection";
23445
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>;
23446
23446
  type IntegrationEcommerceOrderingMode = z.infer<typeof integrationEcommerceOrderingModeSchema>;
23447
23447
  declare const integrationCassaInCloudDirections: readonly ["EXTERNAL_TO_INTERNAL", "INTERNAL_TO_EXTERNAL"];
23448
23448
  declare const integrationCassaInCloudDirectionSchema: z.ZodEnum<{
@@ -25321,10 +25321,10 @@ declare const updateIntegrationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
25321
25321
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
25322
25322
  errors: z.ZodArray<z.ZodString>;
25323
25323
  path: z.ZodString;
25324
- orderingModes: z.ZodArray<z.ZodEnum<{
25324
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
25325
25325
  delivery: "delivery";
25326
- take_away: "take_away";
25327
- }>>;
25326
+ collection: "collection";
25327
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
25328
25328
  minOrderValue: z.ZodCoercedNumber<unknown>;
25329
25329
  service: z.ZodEnum<{
25330
25330
  ecommerce: "ecommerce";
@@ -25597,10 +25597,10 @@ declare class UpdateIntegration extends AbstractApiRequest<typeof updateIntegrat
25597
25597
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
25598
25598
  errors: z.ZodArray<z.ZodString>;
25599
25599
  path: z.ZodString;
25600
- orderingModes: z.ZodArray<z.ZodEnum<{
25600
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
25601
25601
  delivery: "delivery";
25602
- take_away: "take_away";
25603
- }>>;
25602
+ collection: "collection";
25603
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
25604
25604
  minOrderValue: z.ZodCoercedNumber<unknown>;
25605
25605
  service: z.ZodEnum<{
25606
25606
  ecommerce: "ecommerce";
package/dist/index.d.ts CHANGED
@@ -1045,10 +1045,10 @@ declare const integrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1045
1045
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
1046
1046
  errors: z.ZodArray<z.ZodString>;
1047
1047
  path: z.ZodString;
1048
- orderingModes: z.ZodArray<z.ZodEnum<{
1048
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
1049
1049
  delivery: "delivery";
1050
- take_away: "take_away";
1051
- }>>;
1050
+ collection: "collection";
1051
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
1052
1052
  minOrderValue: z.ZodCoercedNumber<unknown>;
1053
1053
  service: z.ZodEnum<{
1054
1054
  ecommerce: "ecommerce";
@@ -1304,10 +1304,10 @@ declare const integrationDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1304
1304
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
1305
1305
  errors: z.ZodArray<z.ZodString>;
1306
1306
  path: z.ZodString;
1307
- orderingModes: z.ZodArray<z.ZodEnum<{
1307
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
1308
1308
  delivery: "delivery";
1309
- take_away: "take_away";
1310
- }>>;
1309
+ collection: "collection";
1310
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
1311
1311
  minOrderValue: z.ZodCoercedNumber<unknown>;
1312
1312
  service: z.ZodEnum<{
1313
1313
  ecommerce: "ecommerce";
@@ -6957,10 +6957,10 @@ declare const getIntegrationDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
6957
6957
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
6958
6958
  errors: z.ZodArray<z.ZodString>;
6959
6959
  path: z.ZodString;
6960
- orderingModes: z.ZodArray<z.ZodEnum<{
6960
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
6961
6961
  delivery: "delivery";
6962
- take_away: "take_away";
6963
- }>>;
6962
+ collection: "collection";
6963
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
6964
6964
  minOrderValue: z.ZodCoercedNumber<unknown>;
6965
6965
  service: z.ZodEnum<{
6966
6966
  ecommerce: "ecommerce";
@@ -7223,10 +7223,10 @@ declare class GetIntegrationDetails extends AbstractApiRequest<typeof getIntegra
7223
7223
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
7224
7224
  errors: z.ZodArray<z.ZodString>;
7225
7225
  path: z.ZodString;
7226
- orderingModes: z.ZodArray<z.ZodEnum<{
7226
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
7227
7227
  delivery: "delivery";
7228
- take_away: "take_away";
7229
- }>>;
7228
+ collection: "collection";
7229
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
7230
7230
  minOrderValue: z.ZodCoercedNumber<unknown>;
7231
7231
  service: z.ZodEnum<{
7232
7232
  ecommerce: "ecommerce";
@@ -7524,10 +7524,10 @@ declare const getIntegrationsResponseSchema: z.ZodObject<{
7524
7524
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
7525
7525
  errors: z.ZodArray<z.ZodString>;
7526
7526
  path: z.ZodString;
7527
- orderingModes: z.ZodArray<z.ZodEnum<{
7527
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
7528
7528
  delivery: "delivery";
7529
- take_away: "take_away";
7530
- }>>;
7529
+ collection: "collection";
7530
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
7531
7531
  minOrderValue: z.ZodCoercedNumber<unknown>;
7532
7532
  service: z.ZodEnum<{
7533
7533
  ecommerce: "ecommerce";
@@ -7791,10 +7791,10 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
7791
7791
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
7792
7792
  errors: z.ZodArray<z.ZodString>;
7793
7793
  path: z.ZodString;
7794
- orderingModes: z.ZodArray<z.ZodEnum<{
7794
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
7795
7795
  delivery: "delivery";
7796
- take_away: "take_away";
7797
- }>>;
7796
+ collection: "collection";
7797
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
7798
7798
  minOrderValue: z.ZodCoercedNumber<unknown>;
7799
7799
  service: z.ZodEnum<{
7800
7800
  ecommerce: "ecommerce";
@@ -8089,10 +8089,10 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
8089
8089
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
8090
8090
  errors: z.ZodArray<z.ZodString>;
8091
8091
  path: z.ZodString;
8092
- orderingModes: z.ZodArray<z.ZodEnum<{
8092
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
8093
8093
  delivery: "delivery";
8094
- take_away: "take_away";
8095
- }>>;
8094
+ collection: "collection";
8095
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
8096
8096
  minOrderValue: z.ZodCoercedNumber<unknown>;
8097
8097
  service: z.ZodEnum<{
8098
8098
  ecommerce: "ecommerce";
@@ -8387,10 +8387,10 @@ declare const getIntegrationsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDisc
8387
8387
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
8388
8388
  errors: z.ZodArray<z.ZodString>;
8389
8389
  path: z.ZodString;
8390
- orderingModes: z.ZodArray<z.ZodEnum<{
8390
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
8391
8391
  delivery: "delivery";
8392
- take_away: "take_away";
8393
- }>>;
8392
+ collection: "collection";
8393
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
8394
8394
  minOrderValue: z.ZodCoercedNumber<unknown>;
8395
8395
  service: z.ZodEnum<{
8396
8396
  ecommerce: "ecommerce";
@@ -8644,10 +8644,10 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
8644
8644
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
8645
8645
  errors: z.ZodArray<z.ZodString>;
8646
8646
  path: z.ZodString;
8647
- orderingModes: z.ZodArray<z.ZodEnum<{
8647
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
8648
8648
  delivery: "delivery";
8649
- take_away: "take_away";
8650
- }>>;
8649
+ collection: "collection";
8650
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
8651
8651
  minOrderValue: z.ZodCoercedNumber<unknown>;
8652
8652
  service: z.ZodEnum<{
8653
8653
  ecommerce: "ecommerce";
@@ -8933,10 +8933,10 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
8933
8933
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
8934
8934
  errors: z.ZodArray<z.ZodString>;
8935
8935
  path: z.ZodString;
8936
- orderingModes: z.ZodArray<z.ZodEnum<{
8936
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
8937
8937
  delivery: "delivery";
8938
- take_away: "take_away";
8939
- }>>;
8938
+ collection: "collection";
8939
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
8940
8940
  minOrderValue: z.ZodCoercedNumber<unknown>;
8941
8941
  service: z.ZodEnum<{
8942
8942
  ecommerce: "ecommerce";
@@ -10689,10 +10689,10 @@ declare const integrationEcommerceSchema: z.ZodObject<{
10689
10689
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
10690
10690
  errors: z.ZodArray<z.ZodString>;
10691
10691
  path: z.ZodString;
10692
- orderingModes: z.ZodArray<z.ZodEnum<{
10692
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
10693
10693
  delivery: "delivery";
10694
- take_away: "take_away";
10695
- }>>;
10694
+ collection: "collection";
10695
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
10696
10696
  minOrderValue: z.ZodCoercedNumber<unknown>;
10697
10697
  service: z.ZodEnum<{
10698
10698
  ecommerce: "ecommerce";
@@ -10716,10 +10716,10 @@ declare const integrationEcommerceDetailsSchema: z.ZodObject<{
10716
10716
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
10717
10717
  errors: z.ZodArray<z.ZodString>;
10718
10718
  path: z.ZodString;
10719
- orderingModes: z.ZodArray<z.ZodEnum<{
10719
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
10720
10720
  delivery: "delivery";
10721
- take_away: "take_away";
10722
- }>>;
10721
+ collection: "collection";
10722
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
10723
10723
  minOrderValue: z.ZodCoercedNumber<unknown>;
10724
10724
  service: z.ZodEnum<{
10725
10725
  ecommerce: "ecommerce";
@@ -10735,10 +10735,10 @@ declare const integrationEcommerceEditableFieldsSchema: z.ZodObject<{
10735
10735
  cassa_in_cloud: "cassa_in_cloud";
10736
10736
  }>;
10737
10737
  salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
10738
- orderingModes: z.ZodArray<z.ZodEnum<{
10738
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
10739
10739
  delivery: "delivery";
10740
- take_away: "take_away";
10741
- }>>;
10740
+ collection: "collection";
10741
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
10742
10742
  minOrderValue: z.ZodCoercedNumber<unknown>;
10743
10743
  }, z.core.$strip>;
10744
10744
  type IntegrationEcommerceEditableFields = z.infer<typeof integrationEcommerceEditableFieldsSchema>;
@@ -11116,7 +11116,7 @@ declare const integrationEcommercePointOfSaleInfoSchema: z.ZodObject<{
11116
11116
  availableCouriers: z.ZodCoercedNumber<unknown>;
11117
11117
  }, z.core.$strip>>;
11118
11118
  }, z.core.$strip>>;
11119
- takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
11119
+ collectionTimeSettings: z.ZodArray<z.ZodObject<{
11120
11120
  dayOfWeek: z.ZodEnum<{
11121
11121
  monday: "monday";
11122
11122
  tuesday: "tuesday";
@@ -11136,10 +11136,10 @@ type IntegrationEcommercePointOfSaleInfo = z.infer<typeof integrationEcommercePo
11136
11136
  declare const integrationEcommerceInfoSchema: z.ZodObject<{
11137
11137
  id: z.ZodString;
11138
11138
  path: z.ZodString;
11139
- orderingModes: z.ZodArray<z.ZodEnum<{
11139
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
11140
11140
  delivery: "delivery";
11141
- take_away: "take_away";
11142
- }>>;
11141
+ collection: "collection";
11142
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
11143
11143
  pointOfSale: z.ZodObject<{
11144
11144
  id: z.ZodString;
11145
11145
  name: z.ZodString;
@@ -11187,7 +11187,7 @@ declare const integrationEcommerceInfoSchema: z.ZodObject<{
11187
11187
  availableCouriers: z.ZodCoercedNumber<unknown>;
11188
11188
  }, z.core.$strip>>;
11189
11189
  }, z.core.$strip>>;
11190
- takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
11190
+ collectionTimeSettings: z.ZodArray<z.ZodObject<{
11191
11191
  dayOfWeek: z.ZodEnum<{
11192
11192
  monday: "monday";
11193
11193
  tuesday: "tuesday";
@@ -19212,10 +19212,10 @@ declare const createIntegrationEcommerceInputSchema: z.ZodObject<{
19212
19212
  cassa_in_cloud: "cassa_in_cloud";
19213
19213
  }>;
19214
19214
  salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
19215
- orderingModes: z.ZodArray<z.ZodEnum<{
19215
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19216
19216
  delivery: "delivery";
19217
- take_away: "take_away";
19218
- }>>;
19217
+ collection: "collection";
19218
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19219
19219
  minOrderValue: z.ZodCoercedNumber<unknown>;
19220
19220
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
19221
19221
  }, z.core.$strip>;
@@ -19237,10 +19237,10 @@ declare const createIntegrationEcommerceResponseSchema: z.ZodObject<{
19237
19237
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19238
19238
  errors: z.ZodArray<z.ZodString>;
19239
19239
  path: z.ZodString;
19240
- orderingModes: z.ZodArray<z.ZodEnum<{
19240
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19241
19241
  delivery: "delivery";
19242
- take_away: "take_away";
19243
- }>>;
19242
+ collection: "collection";
19243
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19244
19244
  minOrderValue: z.ZodCoercedNumber<unknown>;
19245
19245
  service: z.ZodEnum<{
19246
19246
  ecommerce: "ecommerce";
@@ -19260,10 +19260,10 @@ declare class CreateIntegrationEcommerce extends AbstractApiRequest<typeof creat
19260
19260
  cassa_in_cloud: "cassa_in_cloud";
19261
19261
  }>;
19262
19262
  salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
19263
- orderingModes: z.ZodArray<z.ZodEnum<{
19263
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19264
19264
  delivery: "delivery";
19265
- take_away: "take_away";
19266
- }>>;
19265
+ collection: "collection";
19266
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19267
19267
  minOrderValue: z.ZodCoercedNumber<unknown>;
19268
19268
  pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
19269
19269
  }, z.core.$strip>;
@@ -19284,10 +19284,10 @@ declare class CreateIntegrationEcommerce extends AbstractApiRequest<typeof creat
19284
19284
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19285
19285
  errors: z.ZodArray<z.ZodString>;
19286
19286
  path: z.ZodString;
19287
- orderingModes: z.ZodArray<z.ZodEnum<{
19287
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19288
19288
  delivery: "delivery";
19289
- take_away: "take_away";
19290
- }>>;
19289
+ collection: "collection";
19290
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19291
19291
  minOrderValue: z.ZodCoercedNumber<unknown>;
19292
19292
  service: z.ZodEnum<{
19293
19293
  ecommerce: "ecommerce";
@@ -19337,10 +19337,10 @@ declare const getIntegrationEcommerceDetailsResponseSchema: z.ZodObject<{
19337
19337
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19338
19338
  errors: z.ZodArray<z.ZodString>;
19339
19339
  path: z.ZodString;
19340
- orderingModes: z.ZodArray<z.ZodEnum<{
19340
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19341
19341
  delivery: "delivery";
19342
- take_away: "take_away";
19343
- }>>;
19342
+ collection: "collection";
19343
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19344
19344
  minOrderValue: z.ZodCoercedNumber<unknown>;
19345
19345
  service: z.ZodEnum<{
19346
19346
  ecommerce: "ecommerce";
@@ -19371,10 +19371,10 @@ declare class GetIntegrationEcommerceDetails extends AbstractApiRequest<typeof g
19371
19371
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19372
19372
  errors: z.ZodArray<z.ZodString>;
19373
19373
  path: z.ZodString;
19374
- orderingModes: z.ZodArray<z.ZodEnum<{
19374
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19375
19375
  delivery: "delivery";
19376
- take_away: "take_away";
19377
- }>>;
19376
+ collection: "collection";
19377
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19378
19378
  minOrderValue: z.ZodCoercedNumber<unknown>;
19379
19379
  service: z.ZodEnum<{
19380
19380
  ecommerce: "ecommerce";
@@ -19394,10 +19394,10 @@ type GetIntegrationEcommerceInfoInput = z.infer<typeof getIntegrationEcommerceIn
19394
19394
  declare const getIntegrationEcommerceInfoResponseSchema: z.ZodObject<{
19395
19395
  id: z.ZodString;
19396
19396
  path: z.ZodString;
19397
- orderingModes: z.ZodArray<z.ZodEnum<{
19397
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19398
19398
  delivery: "delivery";
19399
- take_away: "take_away";
19400
- }>>;
19399
+ collection: "collection";
19400
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19401
19401
  pointOfSale: z.ZodObject<{
19402
19402
  id: z.ZodString;
19403
19403
  name: z.ZodString;
@@ -19445,7 +19445,7 @@ declare const getIntegrationEcommerceInfoResponseSchema: z.ZodObject<{
19445
19445
  availableCouriers: z.ZodCoercedNumber<unknown>;
19446
19446
  }, z.core.$strip>>;
19447
19447
  }, z.core.$strip>>;
19448
- takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
19448
+ collectionTimeSettings: z.ZodArray<z.ZodObject<{
19449
19449
  dayOfWeek: z.ZodEnum<{
19450
19450
  monday: "monday";
19451
19451
  tuesday: "tuesday";
@@ -19614,10 +19614,10 @@ declare class GetIntegrationEcommerceInfo extends AbstractApiRequest<typeof getI
19614
19614
  readonly outputSchema: z.ZodObject<{
19615
19615
  id: z.ZodString;
19616
19616
  path: z.ZodString;
19617
- orderingModes: z.ZodArray<z.ZodEnum<{
19617
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19618
19618
  delivery: "delivery";
19619
- take_away: "take_away";
19620
- }>>;
19619
+ collection: "collection";
19620
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19621
19621
  pointOfSale: z.ZodObject<{
19622
19622
  id: z.ZodString;
19623
19623
  name: z.ZodString;
@@ -19665,7 +19665,7 @@ declare class GetIntegrationEcommerceInfo extends AbstractApiRequest<typeof getI
19665
19665
  availableCouriers: z.ZodCoercedNumber<unknown>;
19666
19666
  }, z.core.$strip>>;
19667
19667
  }, z.core.$strip>>;
19668
- takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
19668
+ collectionTimeSettings: z.ZodArray<z.ZodObject<{
19669
19669
  dayOfWeek: z.ZodEnum<{
19670
19670
  monday: "monday";
19671
19671
  tuesday: "tuesday";
@@ -19888,10 +19888,10 @@ declare const getIntegrationEcommerceListResponseSchema: z.ZodObject<{
19888
19888
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19889
19889
  errors: z.ZodArray<z.ZodString>;
19890
19890
  path: z.ZodString;
19891
- orderingModes: z.ZodArray<z.ZodEnum<{
19891
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19892
19892
  delivery: "delivery";
19893
- take_away: "take_away";
19894
- }>>;
19893
+ collection: "collection";
19894
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19895
19895
  minOrderValue: z.ZodCoercedNumber<unknown>;
19896
19896
  service: z.ZodEnum<{
19897
19897
  ecommerce: "ecommerce";
@@ -19930,10 +19930,10 @@ declare class GetIntegrationEcommerceList extends AbstractApiRequest<typeof getI
19930
19930
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
19931
19931
  errors: z.ZodArray<z.ZodString>;
19932
19932
  path: z.ZodString;
19933
- orderingModes: z.ZodArray<z.ZodEnum<{
19933
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
19934
19934
  delivery: "delivery";
19935
- take_away: "take_away";
19936
- }>>;
19935
+ collection: "collection";
19936
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
19937
19937
  minOrderValue: z.ZodCoercedNumber<unknown>;
19938
19938
  service: z.ZodEnum<{
19939
19939
  ecommerce: "ecommerce";
@@ -20001,10 +20001,10 @@ declare class GetIntegrationEcommerceList extends AbstractApiRequest<typeof getI
20001
20001
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
20002
20002
  errors: z.ZodArray<z.ZodString>;
20003
20003
  path: z.ZodString;
20004
- orderingModes: z.ZodArray<z.ZodEnum<{
20004
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
20005
20005
  delivery: "delivery";
20006
- take_away: "take_away";
20007
- }>>;
20006
+ collection: "collection";
20007
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
20008
20008
  minOrderValue: z.ZodCoercedNumber<unknown>;
20009
20009
  service: z.ZodEnum<{
20010
20010
  ecommerce: "ecommerce";
@@ -20024,10 +20024,10 @@ declare const updateIntegrationEcommerceInputSchema: z.ZodObject<{
20024
20024
  cassa_in_cloud: "cassa_in_cloud";
20025
20025
  }>>;
20026
20026
  salesMode: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>;
20027
- orderingModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
20027
+ orderingModes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
20028
20028
  delivery: "delivery";
20029
- take_away: "take_away";
20030
- }>>>;
20029
+ collection: "collection";
20030
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>>;
20031
20031
  minOrderValue: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
20032
20032
  }, z.core.$strip>;
20033
20033
  type UpdateIntegrationEcommerceInput = z.input<typeof updateIntegrationEcommerceInputSchema>;
@@ -20048,10 +20048,10 @@ declare const updateIntegrationEcommerceResponseSchema: z.ZodObject<{
20048
20048
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
20049
20049
  errors: z.ZodArray<z.ZodString>;
20050
20050
  path: z.ZodString;
20051
- orderingModes: z.ZodArray<z.ZodEnum<{
20051
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
20052
20052
  delivery: "delivery";
20053
- take_away: "take_away";
20054
- }>>;
20053
+ collection: "collection";
20054
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
20055
20055
  minOrderValue: z.ZodCoercedNumber<unknown>;
20056
20056
  service: z.ZodEnum<{
20057
20057
  ecommerce: "ecommerce";
@@ -20071,10 +20071,10 @@ declare class UpdateIntegrationEcommerce extends AbstractApiRequest<typeof updat
20071
20071
  cassa_in_cloud: "cassa_in_cloud";
20072
20072
  }>>;
20073
20073
  salesMode: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>;
20074
- orderingModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
20074
+ orderingModes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
20075
20075
  delivery: "delivery";
20076
- take_away: "take_away";
20077
- }>>>;
20076
+ collection: "collection";
20077
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>>;
20078
20078
  minOrderValue: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
20079
20079
  }, z.core.$strip>;
20080
20080
  readonly outputSchema: z.ZodObject<{
@@ -20094,10 +20094,10 @@ declare class UpdateIntegrationEcommerce extends AbstractApiRequest<typeof updat
20094
20094
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
20095
20095
  errors: z.ZodArray<z.ZodString>;
20096
20096
  path: z.ZodString;
20097
- orderingModes: z.ZodArray<z.ZodEnum<{
20097
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
20098
20098
  delivery: "delivery";
20099
- take_away: "take_away";
20100
- }>>;
20099
+ collection: "collection";
20100
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
20101
20101
  minOrderValue: z.ZodCoercedNumber<unknown>;
20102
20102
  service: z.ZodEnum<{
20103
20103
  ecommerce: "ecommerce";
@@ -23438,11 +23438,11 @@ declare const integrationGlovoWebhookEventTypeSchema: z.ZodEnum<{
23438
23438
  "order.cancelled": "order.cancelled";
23439
23439
  }>;
23440
23440
  type IntegrationGlovoWebhookEventType = z.infer<typeof integrationGlovoWebhookEventTypeSchema>;
23441
- declare const integrationEcommerceOrderingModes: readonly ["delivery", "take_away"];
23442
- declare const integrationEcommerceOrderingModeSchema: z.ZodEnum<{
23441
+ declare const integrationEcommerceOrderingModes: readonly ["delivery", "collection"];
23442
+ declare const integrationEcommerceOrderingModeSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
23443
23443
  delivery: "delivery";
23444
- take_away: "take_away";
23445
- }>;
23444
+ collection: "collection";
23445
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>;
23446
23446
  type IntegrationEcommerceOrderingMode = z.infer<typeof integrationEcommerceOrderingModeSchema>;
23447
23447
  declare const integrationCassaInCloudDirections: readonly ["EXTERNAL_TO_INTERNAL", "INTERNAL_TO_EXTERNAL"];
23448
23448
  declare const integrationCassaInCloudDirectionSchema: z.ZodEnum<{
@@ -25321,10 +25321,10 @@ declare const updateIntegrationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
25321
25321
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
25322
25322
  errors: z.ZodArray<z.ZodString>;
25323
25323
  path: z.ZodString;
25324
- orderingModes: z.ZodArray<z.ZodEnum<{
25324
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
25325
25325
  delivery: "delivery";
25326
- take_away: "take_away";
25327
- }>>;
25326
+ collection: "collection";
25327
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
25328
25328
  minOrderValue: z.ZodCoercedNumber<unknown>;
25329
25329
  service: z.ZodEnum<{
25330
25330
  ecommerce: "ecommerce";
@@ -25597,10 +25597,10 @@ declare class UpdateIntegration extends AbstractApiRequest<typeof updateIntegrat
25597
25597
  cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
25598
25598
  errors: z.ZodArray<z.ZodString>;
25599
25599
  path: z.ZodString;
25600
- orderingModes: z.ZodArray<z.ZodEnum<{
25600
+ orderingModes: z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
25601
25601
  delivery: "delivery";
25602
- take_away: "take_away";
25603
- }>>;
25602
+ collection: "collection";
25603
+ }>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
25604
25604
  minOrderValue: z.ZodCoercedNumber<unknown>;
25605
25605
  service: z.ZodEnum<{
25606
25606
  ecommerce: "ecommerce";
package/dist/index.js CHANGED
@@ -13890,8 +13890,8 @@ var integrationGlovoStoreStatuses = ["OPEN", "CLOSED"];
13890
13890
  var integrationGlovoStoreStatusSchema = external_exports.enum(integrationGlovoStoreStatuses);
13891
13891
  var integrationGlovoWebhookEventTypes = ["order.dispatched", "order.cancelled"];
13892
13892
  var integrationGlovoWebhookEventTypeSchema = external_exports.enum(integrationGlovoWebhookEventTypes);
13893
- var integrationEcommerceOrderingModes = ["delivery", "take_away"];
13894
- var integrationEcommerceOrderingModeSchema = external_exports.enum(integrationEcommerceOrderingModes);
13893
+ var integrationEcommerceOrderingModes = ["delivery", "collection"];
13894
+ var integrationEcommerceOrderingModeSchema = external_exports.union([external_exports.enum(integrationEcommerceOrderingModes), external_exports.literal("take_away")]).transform((value) => value === "take_away" ? "collection" : value);
13895
13895
  var integrationCassaInCloudDirections = [
13896
13896
  "EXTERNAL_TO_INTERNAL",
13897
13897
  "INTERNAL_TO_EXTERNAL"
@@ -15251,7 +15251,7 @@ var integrationEcommercePointOfSaleInfoSchema = external_exports.object({
15251
15251
  location: locationSchema,
15252
15252
  openingTimeSettings: external_exports.array(timeSettingSchema),
15253
15253
  deliveryTimeSettings: external_exports.array(deliveryTimeSettingSchema),
15254
- takeAwayTimeSettings: external_exports.array(timeSettingSchema)
15254
+ collectionTimeSettings: external_exports.array(timeSettingSchema)
15255
15255
  });
15256
15256
  var integrationEcommerceInfoSchema = external_exports.object({
15257
15257
  id: external_exports.string(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-integration",
3
3
  "description": "Deliverart JavaScript SDK for Integration Management",
4
- "version": "2.12.0",
4
+ "version": "2.12.1",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -18,15 +18,15 @@
18
18
  "dist"
19
19
  ],
20
20
  "dependencies": {
21
- "@deliverart/sdk-js-api-token": "2.12.0",
22
- "@deliverart/sdk-js-core": "2.12.0",
23
- "@deliverart/sdk-js-global-types": "2.12.0",
24
- "@deliverart/sdk-js-customer": "2.12.0",
25
- "@deliverart/sdk-js-image": "2.12.0",
26
- "@deliverart/sdk-js-order": "2.12.0",
27
- "@deliverart/sdk-js-menu": "2.12.0",
28
- "@deliverart/sdk-js-point-of-sale": "2.12.0",
29
- "@deliverart/sdk-js-sales-mode": "2.12.0"
21
+ "@deliverart/sdk-js-api-token": "2.12.1",
22
+ "@deliverart/sdk-js-global-types": "2.12.1",
23
+ "@deliverart/sdk-js-core": "2.12.1",
24
+ "@deliverart/sdk-js-customer": "2.12.1",
25
+ "@deliverart/sdk-js-image": "2.12.1",
26
+ "@deliverart/sdk-js-menu": "2.12.1",
27
+ "@deliverart/sdk-js-order": "2.12.1",
28
+ "@deliverart/sdk-js-point-of-sale": "2.12.1",
29
+ "@deliverart/sdk-js-sales-mode": "2.12.1"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"