@deliverart/sdk-js-order-print-settings 2.24.2 → 2.25.1
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 +31 -13788
- package/dist/index.d.cts +44 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.js +31 -13794
- package/package.json +8 -6
package/dist/index.d.cts
CHANGED
|
@@ -6,6 +6,8 @@ declare const orderPrintSettingsSchema: z.ZodObject<{
|
|
|
6
6
|
id: z.ZodString;
|
|
7
7
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
8
8
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
9
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
10
|
+
printLocale: z.ZodString;
|
|
9
11
|
title: z.ZodString;
|
|
10
12
|
printTitle: z.ZodBoolean;
|
|
11
13
|
printLogo: z.ZodBoolean;
|
|
@@ -18,6 +20,8 @@ declare const orderPrintSettingsSchema: z.ZodObject<{
|
|
|
18
20
|
type OrderPrintSettings = z.infer<typeof orderPrintSettingsSchema>;
|
|
19
21
|
declare const writableOrderPrintSettingsSchema: z.ZodObject<{
|
|
20
22
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
23
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
24
|
+
printLocale: z.ZodString;
|
|
21
25
|
title: z.ZodString;
|
|
22
26
|
printTitle: z.ZodBoolean;
|
|
23
27
|
printLogo: z.ZodBoolean;
|
|
@@ -29,6 +33,8 @@ type WritableOrderPrintSettings = z.infer<typeof writableOrderPrintSettingsSchem
|
|
|
29
33
|
declare const writableCreateOrderPrintSettingsSchema: z.ZodObject<{
|
|
30
34
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
31
35
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
36
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
37
|
+
printLocale: z.ZodString;
|
|
32
38
|
title: z.ZodString;
|
|
33
39
|
printTitle: z.ZodBoolean;
|
|
34
40
|
printLogo: z.ZodBoolean;
|
|
@@ -66,6 +72,8 @@ type OrderPrintSettingsQueryParams = z.infer<typeof orderPrintSettingsQuerySchem
|
|
|
66
72
|
declare const createOrderPrintSettingsInputSchema: z.ZodObject<{
|
|
67
73
|
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
68
74
|
printer: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>>;
|
|
75
|
+
receiptTemplate: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>>;
|
|
76
|
+
printLocale: z.ZodNonOptional<z.ZodString>;
|
|
69
77
|
title: z.ZodNonOptional<z.ZodString>;
|
|
70
78
|
printTitle: z.ZodNonOptional<z.ZodBoolean>;
|
|
71
79
|
printLogo: z.ZodNonOptional<z.ZodBoolean>;
|
|
@@ -78,6 +86,8 @@ declare const createOrderPrintSettingsResponseSchema: z.ZodObject<{
|
|
|
78
86
|
id: z.ZodString;
|
|
79
87
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
80
88
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
89
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
90
|
+
printLocale: z.ZodString;
|
|
81
91
|
title: z.ZodString;
|
|
82
92
|
printTitle: z.ZodBoolean;
|
|
83
93
|
printLogo: z.ZodBoolean;
|
|
@@ -95,6 +105,8 @@ declare class CreateOrderPrintSettings extends AbstractApiRequest<typeof createO
|
|
|
95
105
|
readonly inputSchema: z.ZodObject<{
|
|
96
106
|
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
97
107
|
printer: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>>;
|
|
108
|
+
receiptTemplate: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>>;
|
|
109
|
+
printLocale: z.ZodNonOptional<z.ZodString>;
|
|
98
110
|
title: z.ZodNonOptional<z.ZodString>;
|
|
99
111
|
printTitle: z.ZodNonOptional<z.ZodBoolean>;
|
|
100
112
|
printLogo: z.ZodNonOptional<z.ZodBoolean>;
|
|
@@ -106,6 +118,8 @@ declare class CreateOrderPrintSettings extends AbstractApiRequest<typeof createO
|
|
|
106
118
|
id: z.ZodString;
|
|
107
119
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
108
120
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
121
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
122
|
+
printLocale: z.ZodString;
|
|
109
123
|
title: z.ZodString;
|
|
110
124
|
printTitle: z.ZodBoolean;
|
|
111
125
|
printLogo: z.ZodBoolean;
|
|
@@ -168,6 +182,8 @@ declare const getOrderPrintSettingsResponseSchema: z.ZodObject<{
|
|
|
168
182
|
id: z.ZodString;
|
|
169
183
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
170
184
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
185
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
186
|
+
printLocale: z.ZodString;
|
|
171
187
|
title: z.ZodString;
|
|
172
188
|
printTitle: z.ZodBoolean;
|
|
173
189
|
printLogo: z.ZodBoolean;
|
|
@@ -197,6 +213,8 @@ declare class GetOrderPrintSettings extends AbstractApiRequest<typeof getOrderPr
|
|
|
197
213
|
id: z.ZodString;
|
|
198
214
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
199
215
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
216
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
217
|
+
printLocale: z.ZodString;
|
|
200
218
|
title: z.ZodString;
|
|
201
219
|
printTitle: z.ZodBoolean;
|
|
202
220
|
printLogo: z.ZodBoolean;
|
|
@@ -244,6 +262,8 @@ declare class GetOrderPrintSettings extends AbstractApiRequest<typeof getOrderPr
|
|
|
244
262
|
id: z.ZodString;
|
|
245
263
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
246
264
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
265
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
266
|
+
printLocale: z.ZodString;
|
|
247
267
|
title: z.ZodString;
|
|
248
268
|
printTitle: z.ZodBoolean;
|
|
249
269
|
printLogo: z.ZodBoolean;
|
|
@@ -266,6 +286,8 @@ declare const getOrderPrintSettingsDetailsResponseSchema: z.ZodObject<{
|
|
|
266
286
|
id: z.ZodString;
|
|
267
287
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
268
288
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
289
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
290
|
+
printLocale: z.ZodString;
|
|
269
291
|
title: z.ZodString;
|
|
270
292
|
printTitle: z.ZodBoolean;
|
|
271
293
|
printLogo: z.ZodBoolean;
|
|
@@ -285,6 +307,8 @@ declare class GetOrderPrintSettingsDetails extends AbstractApiRequest<typeof get
|
|
|
285
307
|
id: z.ZodString;
|
|
286
308
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
287
309
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
310
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
311
|
+
printLocale: z.ZodString;
|
|
288
312
|
title: z.ZodString;
|
|
289
313
|
printTitle: z.ZodBoolean;
|
|
290
314
|
printLogo: z.ZodBoolean;
|
|
@@ -332,6 +356,8 @@ declare const getOrderPrintSettingsFromPointOfSaleResponseSchema: z.ZodArray<z.Z
|
|
|
332
356
|
id: z.ZodString;
|
|
333
357
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
334
358
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
359
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
360
|
+
printLocale: z.ZodString;
|
|
335
361
|
title: z.ZodString;
|
|
336
362
|
printTitle: z.ZodBoolean;
|
|
337
363
|
printLogo: z.ZodBoolean;
|
|
@@ -351,6 +377,8 @@ declare class GetOrderPrintSettingsFromPointOfSale extends AbstractApiRequest<ty
|
|
|
351
377
|
id: z.ZodString;
|
|
352
378
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
353
379
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
380
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
381
|
+
printLocale: z.ZodString;
|
|
354
382
|
title: z.ZodString;
|
|
355
383
|
printTitle: z.ZodBoolean;
|
|
356
384
|
printLogo: z.ZodBoolean;
|
|
@@ -389,6 +417,8 @@ declare class GetOrderPrintSettingsFromPointOfSale extends AbstractApiRequest<ty
|
|
|
389
417
|
id: z.ZodString;
|
|
390
418
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
391
419
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
420
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
421
|
+
printLocale: z.ZodString;
|
|
392
422
|
title: z.ZodString;
|
|
393
423
|
printTitle: z.ZodBoolean;
|
|
394
424
|
printLogo: z.ZodBoolean;
|
|
@@ -437,6 +467,8 @@ declare const getOrderPrintSettingsFromPrinterResponseSchema: z.ZodArray<z.ZodOb
|
|
|
437
467
|
id: z.ZodString;
|
|
438
468
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
439
469
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
470
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
471
|
+
printLocale: z.ZodString;
|
|
440
472
|
title: z.ZodString;
|
|
441
473
|
printTitle: z.ZodBoolean;
|
|
442
474
|
printLogo: z.ZodBoolean;
|
|
@@ -456,6 +488,8 @@ declare class GetOrderPrintSettingsFromPrinter extends AbstractApiRequest<typeof
|
|
|
456
488
|
id: z.ZodString;
|
|
457
489
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
458
490
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
491
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
492
|
+
printLocale: z.ZodString;
|
|
459
493
|
title: z.ZodString;
|
|
460
494
|
printTitle: z.ZodBoolean;
|
|
461
495
|
printLogo: z.ZodBoolean;
|
|
@@ -494,6 +528,8 @@ declare class GetOrderPrintSettingsFromPrinter extends AbstractApiRequest<typeof
|
|
|
494
528
|
id: z.ZodString;
|
|
495
529
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
496
530
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
531
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
532
|
+
printLocale: z.ZodString;
|
|
497
533
|
title: z.ZodString;
|
|
498
534
|
printTitle: z.ZodBoolean;
|
|
499
535
|
printLogo: z.ZodBoolean;
|
|
@@ -513,6 +549,8 @@ declare class GetOrderPrintSettingsFromPrinter extends AbstractApiRequest<typeof
|
|
|
513
549
|
|
|
514
550
|
declare const updateOrderPrintSettingsInputSchema: z.ZodObject<{
|
|
515
551
|
printer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>>;
|
|
552
|
+
receiptTemplate: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>>;
|
|
553
|
+
printLocale: z.ZodOptional<z.ZodString>;
|
|
516
554
|
title: z.ZodOptional<z.ZodString>;
|
|
517
555
|
printTitle: z.ZodOptional<z.ZodBoolean>;
|
|
518
556
|
printLogo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -525,6 +563,8 @@ declare const updateOrderPrintSettingsResponseSchema: z.ZodObject<{
|
|
|
525
563
|
id: z.ZodString;
|
|
526
564
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
527
565
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
566
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
567
|
+
printLocale: z.ZodString;
|
|
528
568
|
title: z.ZodString;
|
|
529
569
|
printTitle: z.ZodBoolean;
|
|
530
570
|
printLogo: z.ZodBoolean;
|
|
@@ -541,6 +581,8 @@ declare class UpdateOrderPrintSettings extends AbstractApiRequest<typeof updateO
|
|
|
541
581
|
readonly accept = "application/json";
|
|
542
582
|
readonly inputSchema: z.ZodObject<{
|
|
543
583
|
printer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>>;
|
|
584
|
+
receiptTemplate: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>>;
|
|
585
|
+
printLocale: z.ZodOptional<z.ZodString>;
|
|
544
586
|
title: z.ZodOptional<z.ZodString>;
|
|
545
587
|
printTitle: z.ZodOptional<z.ZodBoolean>;
|
|
546
588
|
printLogo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -552,6 +594,8 @@ declare class UpdateOrderPrintSettings extends AbstractApiRequest<typeof updateO
|
|
|
552
594
|
id: z.ZodString;
|
|
553
595
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
554
596
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
597
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
598
|
+
printLocale: z.ZodString;
|
|
555
599
|
title: z.ZodString;
|
|
556
600
|
printTitle: z.ZodBoolean;
|
|
557
601
|
printLogo: z.ZodBoolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ declare const orderPrintSettingsSchema: z.ZodObject<{
|
|
|
6
6
|
id: z.ZodString;
|
|
7
7
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
8
8
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
9
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
10
|
+
printLocale: z.ZodString;
|
|
9
11
|
title: z.ZodString;
|
|
10
12
|
printTitle: z.ZodBoolean;
|
|
11
13
|
printLogo: z.ZodBoolean;
|
|
@@ -18,6 +20,8 @@ declare const orderPrintSettingsSchema: z.ZodObject<{
|
|
|
18
20
|
type OrderPrintSettings = z.infer<typeof orderPrintSettingsSchema>;
|
|
19
21
|
declare const writableOrderPrintSettingsSchema: z.ZodObject<{
|
|
20
22
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
23
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
24
|
+
printLocale: z.ZodString;
|
|
21
25
|
title: z.ZodString;
|
|
22
26
|
printTitle: z.ZodBoolean;
|
|
23
27
|
printLogo: z.ZodBoolean;
|
|
@@ -29,6 +33,8 @@ type WritableOrderPrintSettings = z.infer<typeof writableOrderPrintSettingsSchem
|
|
|
29
33
|
declare const writableCreateOrderPrintSettingsSchema: z.ZodObject<{
|
|
30
34
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
31
35
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
36
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
37
|
+
printLocale: z.ZodString;
|
|
32
38
|
title: z.ZodString;
|
|
33
39
|
printTitle: z.ZodBoolean;
|
|
34
40
|
printLogo: z.ZodBoolean;
|
|
@@ -66,6 +72,8 @@ type OrderPrintSettingsQueryParams = z.infer<typeof orderPrintSettingsQuerySchem
|
|
|
66
72
|
declare const createOrderPrintSettingsInputSchema: z.ZodObject<{
|
|
67
73
|
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
68
74
|
printer: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>>;
|
|
75
|
+
receiptTemplate: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>>;
|
|
76
|
+
printLocale: z.ZodNonOptional<z.ZodString>;
|
|
69
77
|
title: z.ZodNonOptional<z.ZodString>;
|
|
70
78
|
printTitle: z.ZodNonOptional<z.ZodBoolean>;
|
|
71
79
|
printLogo: z.ZodNonOptional<z.ZodBoolean>;
|
|
@@ -78,6 +86,8 @@ declare const createOrderPrintSettingsResponseSchema: z.ZodObject<{
|
|
|
78
86
|
id: z.ZodString;
|
|
79
87
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
80
88
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
89
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
90
|
+
printLocale: z.ZodString;
|
|
81
91
|
title: z.ZodString;
|
|
82
92
|
printTitle: z.ZodBoolean;
|
|
83
93
|
printLogo: z.ZodBoolean;
|
|
@@ -95,6 +105,8 @@ declare class CreateOrderPrintSettings extends AbstractApiRequest<typeof createO
|
|
|
95
105
|
readonly inputSchema: z.ZodObject<{
|
|
96
106
|
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
97
107
|
printer: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>>;
|
|
108
|
+
receiptTemplate: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>>;
|
|
109
|
+
printLocale: z.ZodNonOptional<z.ZodString>;
|
|
98
110
|
title: z.ZodNonOptional<z.ZodString>;
|
|
99
111
|
printTitle: z.ZodNonOptional<z.ZodBoolean>;
|
|
100
112
|
printLogo: z.ZodNonOptional<z.ZodBoolean>;
|
|
@@ -106,6 +118,8 @@ declare class CreateOrderPrintSettings extends AbstractApiRequest<typeof createO
|
|
|
106
118
|
id: z.ZodString;
|
|
107
119
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
108
120
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
121
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
122
|
+
printLocale: z.ZodString;
|
|
109
123
|
title: z.ZodString;
|
|
110
124
|
printTitle: z.ZodBoolean;
|
|
111
125
|
printLogo: z.ZodBoolean;
|
|
@@ -168,6 +182,8 @@ declare const getOrderPrintSettingsResponseSchema: z.ZodObject<{
|
|
|
168
182
|
id: z.ZodString;
|
|
169
183
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
170
184
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
185
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
186
|
+
printLocale: z.ZodString;
|
|
171
187
|
title: z.ZodString;
|
|
172
188
|
printTitle: z.ZodBoolean;
|
|
173
189
|
printLogo: z.ZodBoolean;
|
|
@@ -197,6 +213,8 @@ declare class GetOrderPrintSettings extends AbstractApiRequest<typeof getOrderPr
|
|
|
197
213
|
id: z.ZodString;
|
|
198
214
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
199
215
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
216
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
217
|
+
printLocale: z.ZodString;
|
|
200
218
|
title: z.ZodString;
|
|
201
219
|
printTitle: z.ZodBoolean;
|
|
202
220
|
printLogo: z.ZodBoolean;
|
|
@@ -244,6 +262,8 @@ declare class GetOrderPrintSettings extends AbstractApiRequest<typeof getOrderPr
|
|
|
244
262
|
id: z.ZodString;
|
|
245
263
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
246
264
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
265
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
266
|
+
printLocale: z.ZodString;
|
|
247
267
|
title: z.ZodString;
|
|
248
268
|
printTitle: z.ZodBoolean;
|
|
249
269
|
printLogo: z.ZodBoolean;
|
|
@@ -266,6 +286,8 @@ declare const getOrderPrintSettingsDetailsResponseSchema: z.ZodObject<{
|
|
|
266
286
|
id: z.ZodString;
|
|
267
287
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
268
288
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
289
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
290
|
+
printLocale: z.ZodString;
|
|
269
291
|
title: z.ZodString;
|
|
270
292
|
printTitle: z.ZodBoolean;
|
|
271
293
|
printLogo: z.ZodBoolean;
|
|
@@ -285,6 +307,8 @@ declare class GetOrderPrintSettingsDetails extends AbstractApiRequest<typeof get
|
|
|
285
307
|
id: z.ZodString;
|
|
286
308
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
287
309
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
310
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
311
|
+
printLocale: z.ZodString;
|
|
288
312
|
title: z.ZodString;
|
|
289
313
|
printTitle: z.ZodBoolean;
|
|
290
314
|
printLogo: z.ZodBoolean;
|
|
@@ -332,6 +356,8 @@ declare const getOrderPrintSettingsFromPointOfSaleResponseSchema: z.ZodArray<z.Z
|
|
|
332
356
|
id: z.ZodString;
|
|
333
357
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
334
358
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
359
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
360
|
+
printLocale: z.ZodString;
|
|
335
361
|
title: z.ZodString;
|
|
336
362
|
printTitle: z.ZodBoolean;
|
|
337
363
|
printLogo: z.ZodBoolean;
|
|
@@ -351,6 +377,8 @@ declare class GetOrderPrintSettingsFromPointOfSale extends AbstractApiRequest<ty
|
|
|
351
377
|
id: z.ZodString;
|
|
352
378
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
353
379
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
380
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
381
|
+
printLocale: z.ZodString;
|
|
354
382
|
title: z.ZodString;
|
|
355
383
|
printTitle: z.ZodBoolean;
|
|
356
384
|
printLogo: z.ZodBoolean;
|
|
@@ -389,6 +417,8 @@ declare class GetOrderPrintSettingsFromPointOfSale extends AbstractApiRequest<ty
|
|
|
389
417
|
id: z.ZodString;
|
|
390
418
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
391
419
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
420
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
421
|
+
printLocale: z.ZodString;
|
|
392
422
|
title: z.ZodString;
|
|
393
423
|
printTitle: z.ZodBoolean;
|
|
394
424
|
printLogo: z.ZodBoolean;
|
|
@@ -437,6 +467,8 @@ declare const getOrderPrintSettingsFromPrinterResponseSchema: z.ZodArray<z.ZodOb
|
|
|
437
467
|
id: z.ZodString;
|
|
438
468
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
439
469
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
470
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
471
|
+
printLocale: z.ZodString;
|
|
440
472
|
title: z.ZodString;
|
|
441
473
|
printTitle: z.ZodBoolean;
|
|
442
474
|
printLogo: z.ZodBoolean;
|
|
@@ -456,6 +488,8 @@ declare class GetOrderPrintSettingsFromPrinter extends AbstractApiRequest<typeof
|
|
|
456
488
|
id: z.ZodString;
|
|
457
489
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
458
490
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
491
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
492
|
+
printLocale: z.ZodString;
|
|
459
493
|
title: z.ZodString;
|
|
460
494
|
printTitle: z.ZodBoolean;
|
|
461
495
|
printLogo: z.ZodBoolean;
|
|
@@ -494,6 +528,8 @@ declare class GetOrderPrintSettingsFromPrinter extends AbstractApiRequest<typeof
|
|
|
494
528
|
id: z.ZodString;
|
|
495
529
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
496
530
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
531
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
532
|
+
printLocale: z.ZodString;
|
|
497
533
|
title: z.ZodString;
|
|
498
534
|
printTitle: z.ZodBoolean;
|
|
499
535
|
printLogo: z.ZodBoolean;
|
|
@@ -513,6 +549,8 @@ declare class GetOrderPrintSettingsFromPrinter extends AbstractApiRequest<typeof
|
|
|
513
549
|
|
|
514
550
|
declare const updateOrderPrintSettingsInputSchema: z.ZodObject<{
|
|
515
551
|
printer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>>;
|
|
552
|
+
receiptTemplate: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>>;
|
|
553
|
+
printLocale: z.ZodOptional<z.ZodString>;
|
|
516
554
|
title: z.ZodOptional<z.ZodString>;
|
|
517
555
|
printTitle: z.ZodOptional<z.ZodBoolean>;
|
|
518
556
|
printLogo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -525,6 +563,8 @@ declare const updateOrderPrintSettingsResponseSchema: z.ZodObject<{
|
|
|
525
563
|
id: z.ZodString;
|
|
526
564
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
527
565
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
566
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
567
|
+
printLocale: z.ZodString;
|
|
528
568
|
title: z.ZodString;
|
|
529
569
|
printTitle: z.ZodBoolean;
|
|
530
570
|
printLogo: z.ZodBoolean;
|
|
@@ -541,6 +581,8 @@ declare class UpdateOrderPrintSettings extends AbstractApiRequest<typeof updateO
|
|
|
541
581
|
readonly accept = "application/json";
|
|
542
582
|
readonly inputSchema: z.ZodObject<{
|
|
543
583
|
printer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>>;
|
|
584
|
+
receiptTemplate: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>>;
|
|
585
|
+
printLocale: z.ZodOptional<z.ZodString>;
|
|
544
586
|
title: z.ZodOptional<z.ZodString>;
|
|
545
587
|
printTitle: z.ZodOptional<z.ZodBoolean>;
|
|
546
588
|
printLogo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -552,6 +594,8 @@ declare class UpdateOrderPrintSettings extends AbstractApiRequest<typeof updateO
|
|
|
552
594
|
id: z.ZodString;
|
|
553
595
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
554
596
|
printer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/printers/:id">, unknown>>;
|
|
597
|
+
receiptTemplate: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id">, unknown>>;
|
|
598
|
+
printLocale: z.ZodString;
|
|
555
599
|
title: z.ZodString;
|
|
556
600
|
printTitle: z.ZodBoolean;
|
|
557
601
|
printLogo: z.ZodBoolean;
|