@deliverart/sdk-js-point-of-sale 2.1.44 → 2.1.45

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
@@ -11337,7 +11337,7 @@ var availableDeliveryTimeItemSchema = external_exports.object({
11337
11337
  time: external_exports.string().regex(/^\d{2}:\d{2}$/),
11338
11338
  valid: external_exports.boolean(),
11339
11339
  free: external_exports.boolean(),
11340
- invalidReason: invalidDeliveryTimeCauseSchema
11340
+ invalidReason: invalidDeliveryTimeCauseSchema.nullable()
11341
11341
  });
11342
11342
  var availableDeliveryTimeSlotSchema = external_exports.object({
11343
11343
  start: import_sdk_js_global_types2.datetimeSchema,
@@ -11353,7 +11353,7 @@ var availableTakeAwayTimeItemSchema = external_exports.object({
11353
11353
  time: external_exports.string().regex(/^\d{2}:\d{2}$/),
11354
11354
  valid: external_exports.boolean(),
11355
11355
  free: external_exports.boolean(),
11356
- invalidReason: invalidTakeAwayTimeCauseSchema
11356
+ invalidReason: invalidTakeAwayTimeCauseSchema.nullable()
11357
11357
  });
11358
11358
  var availableTakeAwayTimeSlotSchema = external_exports.object({
11359
11359
  start: import_sdk_js_global_types2.datetimeSchema,
package/dist/index.d.cts CHANGED
@@ -40,12 +40,12 @@ declare const availableDeliveryTimeItemSchema: z.ZodObject<{
40
40
  time: z.ZodString;
41
41
  valid: z.ZodBoolean;
42
42
  free: z.ZodBoolean;
43
- invalidReason: z.ZodEnum<{
43
+ invalidReason: z.ZodNullable<z.ZodEnum<{
44
44
  pos_closed: "pos_closed";
45
45
  no_slot_found: "no_slot_found";
46
46
  first_time_not_available: "first_time_not_available";
47
47
  journey_outside_slot: "journey_outside_slot";
48
- }>;
48
+ }>>;
49
49
  }, z.core.$strip>;
50
50
  type DeliveryTimeItem = z.infer<typeof availableDeliveryTimeItemSchema>;
51
51
  declare const availableDeliveryTimeSlotSchema: z.ZodObject<{
@@ -55,12 +55,12 @@ declare const availableDeliveryTimeSlotSchema: z.ZodObject<{
55
55
  time: z.ZodString;
56
56
  valid: z.ZodBoolean;
57
57
  free: z.ZodBoolean;
58
- invalidReason: z.ZodEnum<{
58
+ invalidReason: z.ZodNullable<z.ZodEnum<{
59
59
  pos_closed: "pos_closed";
60
60
  no_slot_found: "no_slot_found";
61
61
  first_time_not_available: "first_time_not_available";
62
62
  journey_outside_slot: "journey_outside_slot";
63
- }>;
63
+ }>>;
64
64
  }, z.core.$strip>>;
65
65
  }, z.core.$strip>;
66
66
  type AvailableDeliveryTimeSlot = z.infer<typeof availableDeliveryTimeSlotSchema>;
@@ -74,11 +74,11 @@ declare const availableTakeAwayTimeItemSchema: z.ZodObject<{
74
74
  time: z.ZodString;
75
75
  valid: z.ZodBoolean;
76
76
  free: z.ZodBoolean;
77
- invalidReason: z.ZodEnum<{
77
+ invalidReason: z.ZodNullable<z.ZodEnum<{
78
78
  pos_closed: "pos_closed";
79
79
  no_slot_found: "no_slot_found";
80
80
  first_time_not_available: "first_time_not_available";
81
- }>;
81
+ }>>;
82
82
  }, z.core.$strip>;
83
83
  type TakeAwayTimeItem = z.infer<typeof availableTakeAwayTimeItemSchema>;
84
84
  declare const availableTakeAwayTimeSlotSchema: z.ZodObject<{
@@ -88,11 +88,11 @@ declare const availableTakeAwayTimeSlotSchema: z.ZodObject<{
88
88
  time: z.ZodString;
89
89
  valid: z.ZodBoolean;
90
90
  free: z.ZodBoolean;
91
- invalidReason: z.ZodEnum<{
91
+ invalidReason: z.ZodNullable<z.ZodEnum<{
92
92
  pos_closed: "pos_closed";
93
93
  no_slot_found: "no_slot_found";
94
94
  first_time_not_available: "first_time_not_available";
95
- }>;
95
+ }>>;
96
96
  }, z.core.$strip>>;
97
97
  }, z.core.$strip>;
98
98
  type AvailableTakeAwayTimeSlot = z.infer<typeof availableTakeAwayTimeSlotSchema>;
@@ -2109,12 +2109,12 @@ declare const getAvailablePointOfSaleDeliveryTimesResponseSchema: z.ZodArray<z.Z
2109
2109
  time: z.ZodString;
2110
2110
  valid: z.ZodBoolean;
2111
2111
  free: z.ZodBoolean;
2112
- invalidReason: z.ZodEnum<{
2112
+ invalidReason: z.ZodNullable<z.ZodEnum<{
2113
2113
  pos_closed: "pos_closed";
2114
2114
  no_slot_found: "no_slot_found";
2115
2115
  first_time_not_available: "first_time_not_available";
2116
2116
  journey_outside_slot: "journey_outside_slot";
2117
- }>;
2117
+ }>>;
2118
2118
  }, z.core.$strip>>;
2119
2119
  }, z.core.$strip>>;
2120
2120
  type GetAvailablePointOfSaleDeliveryTimesResponse = z.infer<typeof getAvailablePointOfSaleDeliveryTimesResponseSchema>;
@@ -2130,12 +2130,12 @@ declare class GetAvailablePointOfSaleDeliveryTimes extends AbstractApiRequest<ty
2130
2130
  time: z.ZodString;
2131
2131
  valid: z.ZodBoolean;
2132
2132
  free: z.ZodBoolean;
2133
- invalidReason: z.ZodEnum<{
2133
+ invalidReason: z.ZodNullable<z.ZodEnum<{
2134
2134
  pos_closed: "pos_closed";
2135
2135
  no_slot_found: "no_slot_found";
2136
2136
  first_time_not_available: "first_time_not_available";
2137
2137
  journey_outside_slot: "journey_outside_slot";
2138
- }>;
2138
+ }>>;
2139
2139
  }, z.core.$strip>>;
2140
2140
  }, z.core.$strip>>;
2141
2141
  readonly querySchema: z.ZodObject<{
@@ -2166,11 +2166,11 @@ declare const getAvailablePointOfSaleTakeAwayTimesResponseSchema: z.ZodArray<z.Z
2166
2166
  time: z.ZodString;
2167
2167
  valid: z.ZodBoolean;
2168
2168
  free: z.ZodBoolean;
2169
- invalidReason: z.ZodEnum<{
2169
+ invalidReason: z.ZodNullable<z.ZodEnum<{
2170
2170
  pos_closed: "pos_closed";
2171
2171
  no_slot_found: "no_slot_found";
2172
2172
  first_time_not_available: "first_time_not_available";
2173
- }>;
2173
+ }>>;
2174
2174
  }, z.core.$strip>>;
2175
2175
  }, z.core.$strip>>;
2176
2176
  type GetAvailablePointOfSaleTakeAwayTimesResponse = z.infer<typeof getAvailablePointOfSaleTakeAwayTimesResponseSchema>;
@@ -2186,11 +2186,11 @@ declare class GetAvailablePointOfSaleTakeAwayTimes extends AbstractApiRequest<ty
2186
2186
  time: z.ZodString;
2187
2187
  valid: z.ZodBoolean;
2188
2188
  free: z.ZodBoolean;
2189
- invalidReason: z.ZodEnum<{
2189
+ invalidReason: z.ZodNullable<z.ZodEnum<{
2190
2190
  pos_closed: "pos_closed";
2191
2191
  no_slot_found: "no_slot_found";
2192
2192
  first_time_not_available: "first_time_not_available";
2193
- }>;
2193
+ }>>;
2194
2194
  }, z.core.$strip>>;
2195
2195
  }, z.core.$strip>>;
2196
2196
  readonly querySchema: z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -40,12 +40,12 @@ declare const availableDeliveryTimeItemSchema: z.ZodObject<{
40
40
  time: z.ZodString;
41
41
  valid: z.ZodBoolean;
42
42
  free: z.ZodBoolean;
43
- invalidReason: z.ZodEnum<{
43
+ invalidReason: z.ZodNullable<z.ZodEnum<{
44
44
  pos_closed: "pos_closed";
45
45
  no_slot_found: "no_slot_found";
46
46
  first_time_not_available: "first_time_not_available";
47
47
  journey_outside_slot: "journey_outside_slot";
48
- }>;
48
+ }>>;
49
49
  }, z.core.$strip>;
50
50
  type DeliveryTimeItem = z.infer<typeof availableDeliveryTimeItemSchema>;
51
51
  declare const availableDeliveryTimeSlotSchema: z.ZodObject<{
@@ -55,12 +55,12 @@ declare const availableDeliveryTimeSlotSchema: z.ZodObject<{
55
55
  time: z.ZodString;
56
56
  valid: z.ZodBoolean;
57
57
  free: z.ZodBoolean;
58
- invalidReason: z.ZodEnum<{
58
+ invalidReason: z.ZodNullable<z.ZodEnum<{
59
59
  pos_closed: "pos_closed";
60
60
  no_slot_found: "no_slot_found";
61
61
  first_time_not_available: "first_time_not_available";
62
62
  journey_outside_slot: "journey_outside_slot";
63
- }>;
63
+ }>>;
64
64
  }, z.core.$strip>>;
65
65
  }, z.core.$strip>;
66
66
  type AvailableDeliveryTimeSlot = z.infer<typeof availableDeliveryTimeSlotSchema>;
@@ -74,11 +74,11 @@ declare const availableTakeAwayTimeItemSchema: z.ZodObject<{
74
74
  time: z.ZodString;
75
75
  valid: z.ZodBoolean;
76
76
  free: z.ZodBoolean;
77
- invalidReason: z.ZodEnum<{
77
+ invalidReason: z.ZodNullable<z.ZodEnum<{
78
78
  pos_closed: "pos_closed";
79
79
  no_slot_found: "no_slot_found";
80
80
  first_time_not_available: "first_time_not_available";
81
- }>;
81
+ }>>;
82
82
  }, z.core.$strip>;
83
83
  type TakeAwayTimeItem = z.infer<typeof availableTakeAwayTimeItemSchema>;
84
84
  declare const availableTakeAwayTimeSlotSchema: z.ZodObject<{
@@ -88,11 +88,11 @@ declare const availableTakeAwayTimeSlotSchema: z.ZodObject<{
88
88
  time: z.ZodString;
89
89
  valid: z.ZodBoolean;
90
90
  free: z.ZodBoolean;
91
- invalidReason: z.ZodEnum<{
91
+ invalidReason: z.ZodNullable<z.ZodEnum<{
92
92
  pos_closed: "pos_closed";
93
93
  no_slot_found: "no_slot_found";
94
94
  first_time_not_available: "first_time_not_available";
95
- }>;
95
+ }>>;
96
96
  }, z.core.$strip>>;
97
97
  }, z.core.$strip>;
98
98
  type AvailableTakeAwayTimeSlot = z.infer<typeof availableTakeAwayTimeSlotSchema>;
@@ -2109,12 +2109,12 @@ declare const getAvailablePointOfSaleDeliveryTimesResponseSchema: z.ZodArray<z.Z
2109
2109
  time: z.ZodString;
2110
2110
  valid: z.ZodBoolean;
2111
2111
  free: z.ZodBoolean;
2112
- invalidReason: z.ZodEnum<{
2112
+ invalidReason: z.ZodNullable<z.ZodEnum<{
2113
2113
  pos_closed: "pos_closed";
2114
2114
  no_slot_found: "no_slot_found";
2115
2115
  first_time_not_available: "first_time_not_available";
2116
2116
  journey_outside_slot: "journey_outside_slot";
2117
- }>;
2117
+ }>>;
2118
2118
  }, z.core.$strip>>;
2119
2119
  }, z.core.$strip>>;
2120
2120
  type GetAvailablePointOfSaleDeliveryTimesResponse = z.infer<typeof getAvailablePointOfSaleDeliveryTimesResponseSchema>;
@@ -2130,12 +2130,12 @@ declare class GetAvailablePointOfSaleDeliveryTimes extends AbstractApiRequest<ty
2130
2130
  time: z.ZodString;
2131
2131
  valid: z.ZodBoolean;
2132
2132
  free: z.ZodBoolean;
2133
- invalidReason: z.ZodEnum<{
2133
+ invalidReason: z.ZodNullable<z.ZodEnum<{
2134
2134
  pos_closed: "pos_closed";
2135
2135
  no_slot_found: "no_slot_found";
2136
2136
  first_time_not_available: "first_time_not_available";
2137
2137
  journey_outside_slot: "journey_outside_slot";
2138
- }>;
2138
+ }>>;
2139
2139
  }, z.core.$strip>>;
2140
2140
  }, z.core.$strip>>;
2141
2141
  readonly querySchema: z.ZodObject<{
@@ -2166,11 +2166,11 @@ declare const getAvailablePointOfSaleTakeAwayTimesResponseSchema: z.ZodArray<z.Z
2166
2166
  time: z.ZodString;
2167
2167
  valid: z.ZodBoolean;
2168
2168
  free: z.ZodBoolean;
2169
- invalidReason: z.ZodEnum<{
2169
+ invalidReason: z.ZodNullable<z.ZodEnum<{
2170
2170
  pos_closed: "pos_closed";
2171
2171
  no_slot_found: "no_slot_found";
2172
2172
  first_time_not_available: "first_time_not_available";
2173
- }>;
2173
+ }>>;
2174
2174
  }, z.core.$strip>>;
2175
2175
  }, z.core.$strip>>;
2176
2176
  type GetAvailablePointOfSaleTakeAwayTimesResponse = z.infer<typeof getAvailablePointOfSaleTakeAwayTimesResponseSchema>;
@@ -2186,11 +2186,11 @@ declare class GetAvailablePointOfSaleTakeAwayTimes extends AbstractApiRequest<ty
2186
2186
  time: z.ZodString;
2187
2187
  valid: z.ZodBoolean;
2188
2188
  free: z.ZodBoolean;
2189
- invalidReason: z.ZodEnum<{
2189
+ invalidReason: z.ZodNullable<z.ZodEnum<{
2190
2190
  pos_closed: "pos_closed";
2191
2191
  no_slot_found: "no_slot_found";
2192
2192
  first_time_not_available: "first_time_not_available";
2193
- }>;
2193
+ }>>;
2194
2194
  }, z.core.$strip>>;
2195
2195
  }, z.core.$strip>>;
2196
2196
  readonly querySchema: z.ZodObject<{
package/dist/index.js CHANGED
@@ -11208,7 +11208,7 @@ var availableDeliveryTimeItemSchema = external_exports.object({
11208
11208
  time: external_exports.string().regex(/^\d{2}:\d{2}$/),
11209
11209
  valid: external_exports.boolean(),
11210
11210
  free: external_exports.boolean(),
11211
- invalidReason: invalidDeliveryTimeCauseSchema
11211
+ invalidReason: invalidDeliveryTimeCauseSchema.nullable()
11212
11212
  });
11213
11213
  var availableDeliveryTimeSlotSchema = external_exports.object({
11214
11214
  start: datetimeSchema,
@@ -11224,7 +11224,7 @@ var availableTakeAwayTimeItemSchema = external_exports.object({
11224
11224
  time: external_exports.string().regex(/^\d{2}:\d{2}$/),
11225
11225
  valid: external_exports.boolean(),
11226
11226
  free: external_exports.boolean(),
11227
- invalidReason: invalidTakeAwayTimeCauseSchema
11227
+ invalidReason: invalidTakeAwayTimeCauseSchema.nullable()
11228
11228
  });
11229
11229
  var availableTakeAwayTimeSlotSchema = external_exports.object({
11230
11230
  start: datetimeSchema,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-point-of-sale",
3
3
  "description": "Deliverart JavaScript SDK for Point of Sale Management",
4
- "version": "2.1.44",
4
+ "version": "2.1.45",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -18,10 +18,10 @@
18
18
  "dist"
19
19
  ],
20
20
  "dependencies": {
21
- "@deliverart/sdk-js-core": "2.1.44",
22
- "@deliverart/sdk-js-company": "2.1.44",
23
- "@deliverart/sdk-js-global-types": "2.1.44",
24
- "@deliverart/sdk-js-user": "2.1.44"
21
+ "@deliverart/sdk-js-company": "2.1.45",
22
+ "@deliverart/sdk-js-global-types": "2.1.45",
23
+ "@deliverart/sdk-js-core": "2.1.45",
24
+ "@deliverart/sdk-js-user": "2.1.45"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"