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

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
@@ -44,6 +44,8 @@ __export(index_exports, {
44
44
  daysOfWeek: () => daysOfWeek,
45
45
  deliveryFeeTypeSchema: () => deliveryFeeTypeSchema,
46
46
  deliveryFeeTypes: () => deliveryFeeTypes,
47
+ emailTemplateKeySchema: () => emailTemplateKeySchema,
48
+ emailTemplateKeys: () => emailTemplateKeys,
47
49
  emptyResponseSchema: () => emptyResponseSchema,
48
50
  iriNullableSchema: () => iriNullableSchema,
49
51
  iriSchema: () => iriSchema,
@@ -11263,6 +11265,15 @@ function date4(params) {
11263
11265
  config(en_default());
11264
11266
 
11265
11267
  // src/enums.ts
11268
+ var emailTemplateKeys = [
11269
+ "delivery_started",
11270
+ "delivery_taken_over",
11271
+ "order_created",
11272
+ "order_delivered",
11273
+ "order_in_preparation",
11274
+ "order_preparation_done"
11275
+ ];
11276
+ var emailTemplateKeySchema = external_exports.enum(emailTemplateKeys);
11266
11277
  var apiTokenTypes = ["full_access", "point_of_sale"];
11267
11278
  var apiTokenTypeSchema = external_exports.enum(apiTokenTypes);
11268
11279
  var apiTokenModes = ["READ_ONLY", "READ_AND_WRITE"];
@@ -11551,6 +11562,8 @@ function mixedPaginatedSchema(itemSchema) {
11551
11562
  daysOfWeek,
11552
11563
  deliveryFeeTypeSchema,
11553
11564
  deliveryFeeTypes,
11565
+ emailTemplateKeySchema,
11566
+ emailTemplateKeys,
11554
11567
  emptyResponseSchema,
11555
11568
  iriNullableSchema,
11556
11569
  iriSchema,
package/dist/index.d.cts CHANGED
@@ -6,6 +6,16 @@ declare const queryParamsDateCompare: readonly ["before", "strictly_before", "af
6
6
  declare const queryParamsNumberCompare: readonly ["gt", "gte", "lt", "lte"];
7
7
  declare const arrayContainsMatchOptions: readonly ["all", "any"];
8
8
 
9
+ declare const emailTemplateKeys: readonly ["delivery_started", "delivery_taken_over", "order_created", "order_delivered", "order_in_preparation", "order_preparation_done"];
10
+ declare const emailTemplateKeySchema: z.ZodEnum<{
11
+ delivery_started: "delivery_started";
12
+ delivery_taken_over: "delivery_taken_over";
13
+ order_created: "order_created";
14
+ order_delivered: "order_delivered";
15
+ order_in_preparation: "order_in_preparation";
16
+ order_preparation_done: "order_preparation_done";
17
+ }>;
18
+ type EmailTemplateKey = z.infer<typeof emailTemplateKeySchema>;
9
19
  declare const apiTokenTypes: readonly ["full_access", "point_of_sale"];
10
20
  declare const apiTokenTypeSchema: z.ZodEnum<{
11
21
  full_access: "full_access";
@@ -328,4 +338,4 @@ declare function mixedPaginatedSchema<T extends z.ZodTypeAny>(itemSchema: T): z.
328
338
  }, z.core.$strip>;
329
339
  }, z.core.$strip>, z.ZodArray<T>]>;
330
340
 
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 };
341
+ export { type Address, type ApiTokenMode, type ApiTokenType, type ArrayContainsMatchOption, type BillingDataIT, type BundleBundleBrokenReason, type BundleStatus, type BundleType, type Datetime, type DayOfWeek, type DeliveryFeeType, type EmailTemplateKey, 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, emailTemplateKeySchema, emailTemplateKeys, 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
@@ -6,6 +6,16 @@ declare const queryParamsDateCompare: readonly ["before", "strictly_before", "af
6
6
  declare const queryParamsNumberCompare: readonly ["gt", "gte", "lt", "lte"];
7
7
  declare const arrayContainsMatchOptions: readonly ["all", "any"];
8
8
 
9
+ declare const emailTemplateKeys: readonly ["delivery_started", "delivery_taken_over", "order_created", "order_delivered", "order_in_preparation", "order_preparation_done"];
10
+ declare const emailTemplateKeySchema: z.ZodEnum<{
11
+ delivery_started: "delivery_started";
12
+ delivery_taken_over: "delivery_taken_over";
13
+ order_created: "order_created";
14
+ order_delivered: "order_delivered";
15
+ order_in_preparation: "order_in_preparation";
16
+ order_preparation_done: "order_preparation_done";
17
+ }>;
18
+ type EmailTemplateKey = z.infer<typeof emailTemplateKeySchema>;
9
19
  declare const apiTokenTypes: readonly ["full_access", "point_of_sale"];
10
20
  declare const apiTokenTypeSchema: z.ZodEnum<{
11
21
  full_access: "full_access";
@@ -328,4 +338,4 @@ declare function mixedPaginatedSchema<T extends z.ZodTypeAny>(itemSchema: T): z.
328
338
  }, z.core.$strip>;
329
339
  }, z.core.$strip>, z.ZodArray<T>]>;
330
340
 
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 };
341
+ export { type Address, type ApiTokenMode, type ApiTokenType, type ArrayContainsMatchOption, type BillingDataIT, type BundleBundleBrokenReason, type BundleStatus, type BundleType, type Datetime, type DayOfWeek, type DeliveryFeeType, type EmailTemplateKey, 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, emailTemplateKeySchema, emailTemplateKeys, 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
@@ -11168,6 +11168,15 @@ function date4(params) {
11168
11168
  config(en_default());
11169
11169
 
11170
11170
  // src/enums.ts
11171
+ var emailTemplateKeys = [
11172
+ "delivery_started",
11173
+ "delivery_taken_over",
11174
+ "order_created",
11175
+ "order_delivered",
11176
+ "order_in_preparation",
11177
+ "order_preparation_done"
11178
+ ];
11179
+ var emailTemplateKeySchema = external_exports.enum(emailTemplateKeys);
11171
11180
  var apiTokenTypes = ["full_access", "point_of_sale"];
11172
11181
  var apiTokenTypeSchema = external_exports.enum(apiTokenTypes);
11173
11182
  var apiTokenModes = ["READ_ONLY", "READ_AND_WRITE"];
@@ -11455,6 +11464,8 @@ export {
11455
11464
  daysOfWeek,
11456
11465
  deliveryFeeTypeSchema,
11457
11466
  deliveryFeeTypes,
11467
+ emailTemplateKeySchema,
11468
+ emailTemplateKeys,
11458
11469
  emptyResponseSchema,
11459
11470
  iriNullableSchema,
11460
11471
  iriSchema,
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.8",
4
+ "version": "2.8.10",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",