@deliverart/sdk-js-global-types 2.8.4 → 2.8.6

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
@@ -78,6 +78,8 @@ __export(index_exports, {
78
78
  paymentStatuses: () => paymentStatuses,
79
79
  printerProtocolSchema: () => printerProtocolSchema,
80
80
  printerProtocols: () => printerProtocols,
81
+ printerReceiptProfileSchema: () => printerReceiptProfileSchema,
82
+ printerReceiptProfiles: () => printerReceiptProfiles,
81
83
  queryParamDateCompareSchema: () => queryParamDateCompareSchema,
82
84
  queryParamNumberCompareSchema: () => queryParamNumberCompareSchema,
83
85
  queryParamsDateCompare: () => queryParamsDateCompare,
@@ -11322,6 +11324,13 @@ var paymentStatuses = [
11322
11324
  var paymentStatusSchema = external_exports.enum(paymentStatuses);
11323
11325
  var printerProtocols = ["esc_pos"];
11324
11326
  var printerProtocolSchema = external_exports.enum(printerProtocols);
11327
+ var printerReceiptProfiles = [
11328
+ "80mm_42col",
11329
+ "80mm_48col",
11330
+ "58mm_32col",
11331
+ "58mm_35col"
11332
+ ];
11333
+ var printerReceiptProfileSchema = external_exports.enum(printerReceiptProfiles);
11325
11334
  var webhookEvents = ["create", "update", "delete"];
11326
11335
  var webhookEventSchema = external_exports.enum(webhookEvents);
11327
11336
  var webhookLogStatuses = ["pending", "success", "failed", "timeout"];
@@ -11572,6 +11581,8 @@ function mixedPaginatedSchema(itemSchema) {
11572
11581
  paymentStatuses,
11573
11582
  printerProtocolSchema,
11574
11583
  printerProtocols,
11584
+ printerReceiptProfileSchema,
11585
+ printerReceiptProfiles,
11575
11586
  queryParamDateCompareSchema,
11576
11587
  queryParamNumberCompareSchema,
11577
11588
  queryParamsDateCompare,
package/dist/index.d.cts CHANGED
@@ -156,6 +156,14 @@ declare const printerProtocolSchema: z.ZodEnum<{
156
156
  esc_pos: "esc_pos";
157
157
  }>;
158
158
  type PrinterProtocol = z.infer<typeof printerProtocolSchema>;
159
+ declare const printerReceiptProfiles: readonly ["80mm_42col", "80mm_48col", "58mm_32col", "58mm_35col"];
160
+ declare const printerReceiptProfileSchema: z.ZodEnum<{
161
+ "80mm_42col": "80mm_42col";
162
+ "80mm_48col": "80mm_48col";
163
+ "58mm_32col": "58mm_32col";
164
+ "58mm_35col": "58mm_35col";
165
+ }>;
166
+ type PrinterReceiptProfile = z.infer<typeof printerReceiptProfileSchema>;
159
167
  declare const webhookEvents: readonly ["create", "update", "delete"];
160
168
  declare const webhookEventSchema: z.ZodEnum<{
161
169
  create: "create";
@@ -312,4 +320,4 @@ declare function mixedPaginatedSchema<T extends z.ZodTypeAny>(itemSchema: T): z.
312
320
  }, z.core.$strip>;
313
321
  }, z.core.$strip>, z.ZodArray<T>]>;
314
322
 
315
- 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 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, queryParamDateCompareSchema, queryParamNumberCompareSchema, queryParamsDateCompare, queryParamsNumberCompare, responseToPagination, sortDirSchema, sortDirections, timestampsFilterSchema, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogStatusSchema, webhookLogStatuses };
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 };
package/dist/index.d.ts CHANGED
@@ -156,6 +156,14 @@ declare const printerProtocolSchema: z.ZodEnum<{
156
156
  esc_pos: "esc_pos";
157
157
  }>;
158
158
  type PrinterProtocol = z.infer<typeof printerProtocolSchema>;
159
+ declare const printerReceiptProfiles: readonly ["80mm_42col", "80mm_48col", "58mm_32col", "58mm_35col"];
160
+ declare const printerReceiptProfileSchema: z.ZodEnum<{
161
+ "80mm_42col": "80mm_42col";
162
+ "80mm_48col": "80mm_48col";
163
+ "58mm_32col": "58mm_32col";
164
+ "58mm_35col": "58mm_35col";
165
+ }>;
166
+ type PrinterReceiptProfile = z.infer<typeof printerReceiptProfileSchema>;
159
167
  declare const webhookEvents: readonly ["create", "update", "delete"];
160
168
  declare const webhookEventSchema: z.ZodEnum<{
161
169
  create: "create";
@@ -312,4 +320,4 @@ declare function mixedPaginatedSchema<T extends z.ZodTypeAny>(itemSchema: T): z.
312
320
  }, z.core.$strip>;
313
321
  }, z.core.$strip>, z.ZodArray<T>]>;
314
322
 
315
- 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 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, queryParamDateCompareSchema, queryParamNumberCompareSchema, queryParamsDateCompare, queryParamsNumberCompare, responseToPagination, sortDirSchema, sortDirections, timestampsFilterSchema, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogStatusSchema, webhookLogStatuses };
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 };
package/dist/index.js CHANGED
@@ -11231,6 +11231,13 @@ var paymentStatuses = [
11231
11231
  var paymentStatusSchema = external_exports.enum(paymentStatuses);
11232
11232
  var printerProtocols = ["esc_pos"];
11233
11233
  var printerProtocolSchema = external_exports.enum(printerProtocols);
11234
+ var printerReceiptProfiles = [
11235
+ "80mm_42col",
11236
+ "80mm_48col",
11237
+ "58mm_32col",
11238
+ "58mm_35col"
11239
+ ];
11240
+ var printerReceiptProfileSchema = external_exports.enum(printerReceiptProfiles);
11234
11241
  var webhookEvents = ["create", "update", "delete"];
11235
11242
  var webhookEventSchema = external_exports.enum(webhookEvents);
11236
11243
  var webhookLogStatuses = ["pending", "success", "failed", "timeout"];
@@ -11480,6 +11487,8 @@ export {
11480
11487
  paymentStatuses,
11481
11488
  printerProtocolSchema,
11482
11489
  printerProtocols,
11490
+ printerReceiptProfileSchema,
11491
+ printerReceiptProfiles,
11483
11492
  queryParamDateCompareSchema,
11484
11493
  queryParamNumberCompareSchema,
11485
11494
  queryParamsDateCompare,
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.4",
4
+ "version": "2.8.6",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",