@deliverart/sdk-js-global-types 2.6.8 → 2.7.0
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 +6 -0
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -76,6 +76,8 @@ __export(index_exports, {
|
|
|
76
76
|
paymentMethods: () => paymentMethods,
|
|
77
77
|
paymentStatusSchema: () => paymentStatusSchema,
|
|
78
78
|
paymentStatuses: () => paymentStatuses,
|
|
79
|
+
printerProtocolSchema: () => printerProtocolSchema,
|
|
80
|
+
printerProtocols: () => printerProtocols,
|
|
79
81
|
queryParamDateCompareSchema: () => queryParamDateCompareSchema,
|
|
80
82
|
queryParamNumberCompareSchema: () => queryParamNumberCompareSchema,
|
|
81
83
|
queryParamsDateCompare: () => queryParamsDateCompare,
|
|
@@ -11318,6 +11320,8 @@ var paymentStatuses = [
|
|
|
11318
11320
|
"failed"
|
|
11319
11321
|
];
|
|
11320
11322
|
var paymentStatusSchema = external_exports.enum(paymentStatuses);
|
|
11323
|
+
var printerProtocols = ["esc_pos"];
|
|
11324
|
+
var printerProtocolSchema = external_exports.enum(printerProtocols);
|
|
11321
11325
|
var webhookEvents = ["create", "update", "delete"];
|
|
11322
11326
|
var webhookEventSchema = external_exports.enum(webhookEvents);
|
|
11323
11327
|
var webhookLogStatuses = ["pending", "success", "failed", "timeout"];
|
|
@@ -11566,6 +11570,8 @@ function mixedPaginatedSchema(itemSchema) {
|
|
|
11566
11570
|
paymentMethods,
|
|
11567
11571
|
paymentStatusSchema,
|
|
11568
11572
|
paymentStatuses,
|
|
11573
|
+
printerProtocolSchema,
|
|
11574
|
+
printerProtocols,
|
|
11569
11575
|
queryParamDateCompareSchema,
|
|
11570
11576
|
queryParamNumberCompareSchema,
|
|
11571
11577
|
queryParamsDateCompare,
|
package/dist/index.d.cts
CHANGED
|
@@ -151,6 +151,11 @@ declare const paymentStatusSchema: z.ZodEnum<{
|
|
|
151
151
|
failed: "failed";
|
|
152
152
|
}>;
|
|
153
153
|
type PaymentStatus = z.infer<typeof paymentStatusSchema>;
|
|
154
|
+
declare const printerProtocols: readonly ["esc_pos"];
|
|
155
|
+
declare const printerProtocolSchema: z.ZodEnum<{
|
|
156
|
+
esc_pos: "esc_pos";
|
|
157
|
+
}>;
|
|
158
|
+
type PrinterProtocol = z.infer<typeof printerProtocolSchema>;
|
|
154
159
|
declare const webhookEvents: readonly ["create", "update", "delete"];
|
|
155
160
|
declare const webhookEventSchema: z.ZodEnum<{
|
|
156
161
|
create: "create";
|
|
@@ -307,4 +312,4 @@ declare function mixedPaginatedSchema<T extends z.ZodTypeAny>(itemSchema: T): z.
|
|
|
307
312
|
}, z.core.$strip>;
|
|
308
313
|
}, z.core.$strip>, z.ZodArray<T>]>;
|
|
309
314
|
|
|
310
|
-
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 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, queryParamDateCompareSchema, queryParamNumberCompareSchema, queryParamsDateCompare, queryParamsNumberCompare, responseToPagination, sortDirSchema, sortDirections, timestampsFilterSchema, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogStatusSchema, webhookLogStatuses };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -151,6 +151,11 @@ declare const paymentStatusSchema: z.ZodEnum<{
|
|
|
151
151
|
failed: "failed";
|
|
152
152
|
}>;
|
|
153
153
|
type PaymentStatus = z.infer<typeof paymentStatusSchema>;
|
|
154
|
+
declare const printerProtocols: readonly ["esc_pos"];
|
|
155
|
+
declare const printerProtocolSchema: z.ZodEnum<{
|
|
156
|
+
esc_pos: "esc_pos";
|
|
157
|
+
}>;
|
|
158
|
+
type PrinterProtocol = z.infer<typeof printerProtocolSchema>;
|
|
154
159
|
declare const webhookEvents: readonly ["create", "update", "delete"];
|
|
155
160
|
declare const webhookEventSchema: z.ZodEnum<{
|
|
156
161
|
create: "create";
|
|
@@ -307,4 +312,4 @@ declare function mixedPaginatedSchema<T extends z.ZodTypeAny>(itemSchema: T): z.
|
|
|
307
312
|
}, z.core.$strip>;
|
|
308
313
|
}, z.core.$strip>, z.ZodArray<T>]>;
|
|
309
314
|
|
|
310
|
-
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 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, queryParamDateCompareSchema, queryParamNumberCompareSchema, queryParamsDateCompare, queryParamsNumberCompare, responseToPagination, sortDirSchema, sortDirections, timestampsFilterSchema, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogStatusSchema, webhookLogStatuses };
|
|
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 };
|
package/dist/index.js
CHANGED
|
@@ -11229,6 +11229,8 @@ var paymentStatuses = [
|
|
|
11229
11229
|
"failed"
|
|
11230
11230
|
];
|
|
11231
11231
|
var paymentStatusSchema = external_exports.enum(paymentStatuses);
|
|
11232
|
+
var printerProtocols = ["esc_pos"];
|
|
11233
|
+
var printerProtocolSchema = external_exports.enum(printerProtocols);
|
|
11232
11234
|
var webhookEvents = ["create", "update", "delete"];
|
|
11233
11235
|
var webhookEventSchema = external_exports.enum(webhookEvents);
|
|
11234
11236
|
var webhookLogStatuses = ["pending", "success", "failed", "timeout"];
|
|
@@ -11476,6 +11478,8 @@ export {
|
|
|
11476
11478
|
paymentMethods,
|
|
11477
11479
|
paymentStatusSchema,
|
|
11478
11480
|
paymentStatuses,
|
|
11481
|
+
printerProtocolSchema,
|
|
11482
|
+
printerProtocols,
|
|
11479
11483
|
queryParamDateCompareSchema,
|
|
11480
11484
|
queryParamNumberCompareSchema,
|
|
11481
11485
|
queryParamsDateCompare,
|