@deliverart/sdk-js-global-types 2.8.7 → 2.8.8

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
@@ -63,6 +63,8 @@ __export(index_exports, {
63
63
  mixedPaginatedSchema: () => mixedPaginatedSchema,
64
64
  orderMenuItemActionSchema: () => orderMenuItemActionSchema,
65
65
  orderMenuItemActions: () => orderMenuItemActions,
66
+ orderPartnerSchema: () => orderPartnerSchema,
67
+ orderPartners: () => orderPartners,
66
68
  orderPreparationStatusSchema: () => orderPreparationStatusSchema,
67
69
  orderPreparationStatuses: () => orderPreparationStatuses,
68
70
  orderSourceSchema: () => orderSourceSchema,
@@ -11269,6 +11271,8 @@ var deliveryFeeTypes = ["amount", "distance", "postal_code"];
11269
11271
  var deliveryFeeTypeSchema = external_exports.enum(deliveryFeeTypes);
11270
11272
  var menuChannels = ["application", "ecommerce", "deliveroo", "justeat", "glovo"];
11271
11273
  var menuChannelSchema = external_exports.enum(menuChannels);
11274
+ var orderPartners = ["cassa_in_cloud", "deliveroo", "justeat", "glovo"];
11275
+ var orderPartnerSchema = external_exports.enum(orderPartners);
11272
11276
  var menuItemAllergens = [
11273
11277
  "peanuts-and-derivatives",
11274
11278
  "crustaceans",
@@ -11566,6 +11570,8 @@ function mixedPaginatedSchema(itemSchema) {
11566
11570
  mixedPaginatedSchema,
11567
11571
  orderMenuItemActionSchema,
11568
11572
  orderMenuItemActions,
11573
+ orderPartnerSchema,
11574
+ orderPartners,
11569
11575
  orderPreparationStatusSchema,
11570
11576
  orderPreparationStatuses,
11571
11577
  orderSourceSchema,
package/dist/index.d.cts CHANGED
@@ -34,6 +34,14 @@ declare const menuChannelSchema: z.ZodEnum<{
34
34
  glovo: "glovo";
35
35
  }>;
36
36
  type MenuChannel = z.infer<typeof menuChannelSchema>;
37
+ declare const orderPartners: readonly ["cassa_in_cloud", "deliveroo", "justeat", "glovo"];
38
+ declare const orderPartnerSchema: z.ZodEnum<{
39
+ deliveroo: "deliveroo";
40
+ justeat: "justeat";
41
+ glovo: "glovo";
42
+ cassa_in_cloud: "cassa_in_cloud";
43
+ }>;
44
+ type OrderPartner = z.infer<typeof orderPartnerSchema>;
37
45
  declare const menuItemAllergens: readonly ["peanuts-and-derivatives", "crustaceans", "nuts", "gluten", "milk-and-derivatives", "lupins", "molluscs", "mustard", "fish", "celery", "sesame", "sulfur-dioxide", "soy", "eggs-and-derivatives", "mushrooms"];
38
46
  declare const menuItemAllergenSchema: z.ZodEnum<{
39
47
  "peanuts-and-derivatives": "peanuts-and-derivatives";
@@ -320,4 +328,4 @@ declare function mixedPaginatedSchema<T extends z.ZodTypeAny>(itemSchema: T): z.
320
328
  }, z.core.$strip>;
321
329
  }, z.core.$strip>, z.ZodArray<T>]>;
322
330
 
323
- export { type Address, type ApiTokenMode, type ApiTokenType, type ArrayContainsMatchOption, type BillingDataIT, type BundleBundleBrokenReason, type BundleStatus, type BundleType, type Datetime, type DayOfWeek, type DeliveryFeeType, IriObject, type Location, type MenuChannel, type MenuItemAllergen, type MenuItemDiet, type MenuItemModifierTargetItemType, type MenuItemPriceOverrideType, type MenuItemType, type OrderMenuItemAction, type OrderPreparationStatus, type OrderSource, type OrderStatus, type OrderType, type Paginated, type Pagination, type PaymentMethod, type PaymentStatus, type PrinterProtocol, type PrinterReceiptProfile, type QueryParamDateCompare, type QueryParamNumberCompare, type SortDir, type TimestampsFilter, type WebhookEntity, type WebhookEvent, type WebhookLogStatus, addressSchema, apiTokenModeSchema, apiTokenModes, apiTokenTypeSchema, apiTokenTypes, arrayContainsMatchOptions, arrayContainsMatchSchema, billingDataITSchema, billingDataSchema, billingSchemasByCountry, booleanSchema, bundleBundleBrokenReasonSchema, bundleBundleBrokenReasons, bundleStatusSchema, bundleStatuses, bundleTypeSchema, bundleTypes, createPaginatedSchema, datetimeSchema, dayOfWeekSchema, daysOfWeek, deliveryFeeTypeSchema, deliveryFeeTypes, emptyResponseSchema, iriNullableSchema, iriSchema, locationSchema, menuChannelSchema, menuChannels, menuItemAllergenSchema, menuItemAllergens, menuItemDietSchema, menuItemDiets, menuItemModifierTargetItemTypeSchema, menuItemModifierTargetItemTypes, menuItemPriceOverrideTypeSchema, menuItemPriceOverrideTypes, menuItemTypeSchema, menuItemTypes, mixedPaginatedSchema, orderMenuItemActionSchema, orderMenuItemActions, orderPreparationStatusSchema, orderPreparationStatuses, orderSourceSchema, orderSources, orderStatusSchema, orderStatuses, orderTypeSchema, orderTypes, paginationSchema, paymentMethodSchema, paymentMethods, paymentStatusSchema, paymentStatuses, printerProtocolSchema, printerProtocols, printerReceiptProfileSchema, printerReceiptProfiles, queryParamDateCompareSchema, queryParamNumberCompareSchema, queryParamsDateCompare, queryParamsNumberCompare, responseToPagination, sortDirSchema, sortDirections, timestampsFilterSchema, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogStatusSchema, webhookLogStatuses };
331
+ export { type Address, type ApiTokenMode, type ApiTokenType, type ArrayContainsMatchOption, type BillingDataIT, type BundleBundleBrokenReason, type BundleStatus, type BundleType, type Datetime, type DayOfWeek, type DeliveryFeeType, IriObject, type Location, type MenuChannel, type MenuItemAllergen, type MenuItemDiet, type MenuItemModifierTargetItemType, type MenuItemPriceOverrideType, type MenuItemType, type OrderMenuItemAction, type OrderPartner, type OrderPreparationStatus, type OrderSource, type OrderStatus, type OrderType, type Paginated, type Pagination, type PaymentMethod, type PaymentStatus, type PrinterProtocol, type PrinterReceiptProfile, type QueryParamDateCompare, type QueryParamNumberCompare, type SortDir, type TimestampsFilter, type WebhookEntity, type WebhookEvent, type WebhookLogStatus, addressSchema, apiTokenModeSchema, apiTokenModes, apiTokenTypeSchema, apiTokenTypes, arrayContainsMatchOptions, arrayContainsMatchSchema, billingDataITSchema, billingDataSchema, billingSchemasByCountry, booleanSchema, bundleBundleBrokenReasonSchema, bundleBundleBrokenReasons, bundleStatusSchema, bundleStatuses, bundleTypeSchema, bundleTypes, createPaginatedSchema, datetimeSchema, dayOfWeekSchema, daysOfWeek, deliveryFeeTypeSchema, deliveryFeeTypes, emptyResponseSchema, iriNullableSchema, iriSchema, locationSchema, menuChannelSchema, menuChannels, menuItemAllergenSchema, menuItemAllergens, menuItemDietSchema, menuItemDiets, menuItemModifierTargetItemTypeSchema, menuItemModifierTargetItemTypes, menuItemPriceOverrideTypeSchema, menuItemPriceOverrideTypes, menuItemTypeSchema, menuItemTypes, mixedPaginatedSchema, orderMenuItemActionSchema, orderMenuItemActions, orderPartnerSchema, orderPartners, orderPreparationStatusSchema, orderPreparationStatuses, orderSourceSchema, orderSources, orderStatusSchema, orderStatuses, orderTypeSchema, orderTypes, paginationSchema, paymentMethodSchema, paymentMethods, paymentStatusSchema, paymentStatuses, printerProtocolSchema, printerProtocols, printerReceiptProfileSchema, printerReceiptProfiles, queryParamDateCompareSchema, queryParamNumberCompareSchema, queryParamsDateCompare, queryParamsNumberCompare, responseToPagination, sortDirSchema, sortDirections, timestampsFilterSchema, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogStatusSchema, webhookLogStatuses };
package/dist/index.d.ts CHANGED
@@ -34,6 +34,14 @@ declare const menuChannelSchema: z.ZodEnum<{
34
34
  glovo: "glovo";
35
35
  }>;
36
36
  type MenuChannel = z.infer<typeof menuChannelSchema>;
37
+ declare const orderPartners: readonly ["cassa_in_cloud", "deliveroo", "justeat", "glovo"];
38
+ declare const orderPartnerSchema: z.ZodEnum<{
39
+ deliveroo: "deliveroo";
40
+ justeat: "justeat";
41
+ glovo: "glovo";
42
+ cassa_in_cloud: "cassa_in_cloud";
43
+ }>;
44
+ type OrderPartner = z.infer<typeof orderPartnerSchema>;
37
45
  declare const menuItemAllergens: readonly ["peanuts-and-derivatives", "crustaceans", "nuts", "gluten", "milk-and-derivatives", "lupins", "molluscs", "mustard", "fish", "celery", "sesame", "sulfur-dioxide", "soy", "eggs-and-derivatives", "mushrooms"];
38
46
  declare const menuItemAllergenSchema: z.ZodEnum<{
39
47
  "peanuts-and-derivatives": "peanuts-and-derivatives";
@@ -320,4 +328,4 @@ declare function mixedPaginatedSchema<T extends z.ZodTypeAny>(itemSchema: T): z.
320
328
  }, z.core.$strip>;
321
329
  }, z.core.$strip>, z.ZodArray<T>]>;
322
330
 
323
- export { type Address, type ApiTokenMode, type ApiTokenType, type ArrayContainsMatchOption, type BillingDataIT, type BundleBundleBrokenReason, type BundleStatus, type BundleType, type Datetime, type DayOfWeek, type DeliveryFeeType, IriObject, type Location, type MenuChannel, type MenuItemAllergen, type MenuItemDiet, type MenuItemModifierTargetItemType, type MenuItemPriceOverrideType, type MenuItemType, type OrderMenuItemAction, type OrderPreparationStatus, type OrderSource, type OrderStatus, type OrderType, type Paginated, type Pagination, type PaymentMethod, type PaymentStatus, type PrinterProtocol, type PrinterReceiptProfile, type QueryParamDateCompare, type QueryParamNumberCompare, type SortDir, type TimestampsFilter, type WebhookEntity, type WebhookEvent, type WebhookLogStatus, addressSchema, apiTokenModeSchema, apiTokenModes, apiTokenTypeSchema, apiTokenTypes, arrayContainsMatchOptions, arrayContainsMatchSchema, billingDataITSchema, billingDataSchema, billingSchemasByCountry, booleanSchema, bundleBundleBrokenReasonSchema, bundleBundleBrokenReasons, bundleStatusSchema, bundleStatuses, bundleTypeSchema, bundleTypes, createPaginatedSchema, datetimeSchema, dayOfWeekSchema, daysOfWeek, deliveryFeeTypeSchema, deliveryFeeTypes, emptyResponseSchema, iriNullableSchema, iriSchema, locationSchema, menuChannelSchema, menuChannels, menuItemAllergenSchema, menuItemAllergens, menuItemDietSchema, menuItemDiets, menuItemModifierTargetItemTypeSchema, menuItemModifierTargetItemTypes, menuItemPriceOverrideTypeSchema, menuItemPriceOverrideTypes, menuItemTypeSchema, menuItemTypes, mixedPaginatedSchema, orderMenuItemActionSchema, orderMenuItemActions, orderPreparationStatusSchema, orderPreparationStatuses, orderSourceSchema, orderSources, orderStatusSchema, orderStatuses, orderTypeSchema, orderTypes, paginationSchema, paymentMethodSchema, paymentMethods, paymentStatusSchema, paymentStatuses, printerProtocolSchema, printerProtocols, printerReceiptProfileSchema, printerReceiptProfiles, queryParamDateCompareSchema, queryParamNumberCompareSchema, queryParamsDateCompare, queryParamsNumberCompare, responseToPagination, sortDirSchema, sortDirections, timestampsFilterSchema, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogStatusSchema, webhookLogStatuses };
331
+ export { type Address, type ApiTokenMode, type ApiTokenType, type ArrayContainsMatchOption, type BillingDataIT, type BundleBundleBrokenReason, type BundleStatus, type BundleType, type Datetime, type DayOfWeek, type DeliveryFeeType, IriObject, type Location, type MenuChannel, type MenuItemAllergen, type MenuItemDiet, type MenuItemModifierTargetItemType, type MenuItemPriceOverrideType, type MenuItemType, type OrderMenuItemAction, type OrderPartner, type OrderPreparationStatus, type OrderSource, type OrderStatus, type OrderType, type Paginated, type Pagination, type PaymentMethod, type PaymentStatus, type PrinterProtocol, type PrinterReceiptProfile, type QueryParamDateCompare, type QueryParamNumberCompare, type SortDir, type TimestampsFilter, type WebhookEntity, type WebhookEvent, type WebhookLogStatus, addressSchema, apiTokenModeSchema, apiTokenModes, apiTokenTypeSchema, apiTokenTypes, arrayContainsMatchOptions, arrayContainsMatchSchema, billingDataITSchema, billingDataSchema, billingSchemasByCountry, booleanSchema, bundleBundleBrokenReasonSchema, bundleBundleBrokenReasons, bundleStatusSchema, bundleStatuses, bundleTypeSchema, bundleTypes, createPaginatedSchema, datetimeSchema, dayOfWeekSchema, daysOfWeek, deliveryFeeTypeSchema, deliveryFeeTypes, emptyResponseSchema, iriNullableSchema, iriSchema, locationSchema, menuChannelSchema, menuChannels, menuItemAllergenSchema, menuItemAllergens, menuItemDietSchema, menuItemDiets, menuItemModifierTargetItemTypeSchema, menuItemModifierTargetItemTypes, menuItemPriceOverrideTypeSchema, menuItemPriceOverrideTypes, menuItemTypeSchema, menuItemTypes, mixedPaginatedSchema, orderMenuItemActionSchema, orderMenuItemActions, orderPartnerSchema, orderPartners, orderPreparationStatusSchema, orderPreparationStatuses, orderSourceSchema, orderSources, orderStatusSchema, orderStatuses, orderTypeSchema, orderTypes, paginationSchema, paymentMethodSchema, paymentMethods, paymentStatusSchema, paymentStatuses, printerProtocolSchema, printerProtocols, printerReceiptProfileSchema, printerReceiptProfiles, queryParamDateCompareSchema, queryParamNumberCompareSchema, queryParamsDateCompare, queryParamsNumberCompare, responseToPagination, sortDirSchema, sortDirections, timestampsFilterSchema, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogStatusSchema, webhookLogStatuses };
package/dist/index.js CHANGED
@@ -11176,6 +11176,8 @@ var deliveryFeeTypes = ["amount", "distance", "postal_code"];
11176
11176
  var deliveryFeeTypeSchema = external_exports.enum(deliveryFeeTypes);
11177
11177
  var menuChannels = ["application", "ecommerce", "deliveroo", "justeat", "glovo"];
11178
11178
  var menuChannelSchema = external_exports.enum(menuChannels);
11179
+ var orderPartners = ["cassa_in_cloud", "deliveroo", "justeat", "glovo"];
11180
+ var orderPartnerSchema = external_exports.enum(orderPartners);
11179
11181
  var menuItemAllergens = [
11180
11182
  "peanuts-and-derivatives",
11181
11183
  "crustaceans",
@@ -11472,6 +11474,8 @@ export {
11472
11474
  mixedPaginatedSchema,
11473
11475
  orderMenuItemActionSchema,
11474
11476
  orderMenuItemActions,
11477
+ orderPartnerSchema,
11478
+ orderPartners,
11475
11479
  orderPreparationStatusSchema,
11476
11480
  orderPreparationStatuses,
11477
11481
  orderSourceSchema,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-global-types",
3
3
  "description": "Global types for Deliverart SDK in JavaScript",
4
- "version": "2.8.7",
4
+ "version": "2.8.8",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",