@deliverart/sdk-js-receipt-template 0.0.0-dev-20260721002647

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.
@@ -0,0 +1,3138 @@
1
+ import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
2
+ import { z } from 'zod';
3
+ import { AbstractApiRequest } from '@deliverart/sdk-js-core';
4
+
5
+ declare const receiptTemplateStatuses: readonly ["active", "archived"];
6
+ declare const receiptTemplateStatusSchema: z.ZodEnum<{
7
+ active: "active";
8
+ archived: "archived";
9
+ }>;
10
+ type ReceiptTemplateStatus = z.infer<typeof receiptTemplateStatusSchema>;
11
+ declare const receiptTemplateBlockTypes: readonly ["title", "order_type", "logo", "order_identity", "order_times", "customer", "address", "items", "notes", "totals", "payment", "separator", "spacer", "custom_text"];
12
+ declare const receiptTemplateBlockTypeSchema: z.ZodEnum<{
13
+ title: "title";
14
+ order_type: "order_type";
15
+ logo: "logo";
16
+ order_identity: "order_identity";
17
+ order_times: "order_times";
18
+ customer: "customer";
19
+ address: "address";
20
+ items: "items";
21
+ notes: "notes";
22
+ totals: "totals";
23
+ payment: "payment";
24
+ separator: "separator";
25
+ spacer: "spacer";
26
+ custom_text: "custom_text";
27
+ }>;
28
+ type ReceiptTemplateBlockType = z.infer<typeof receiptTemplateBlockTypeSchema>;
29
+ declare const receiptTemplateConditionTypes: readonly ["always", "order_type", "data_present", "has_discount", "has_fee", "has_payment", "source"];
30
+ declare const receiptTemplateConditionTypeSchema: z.ZodEnum<{
31
+ order_type: "order_type";
32
+ always: "always";
33
+ data_present: "data_present";
34
+ has_discount: "has_discount";
35
+ has_fee: "has_fee";
36
+ has_payment: "has_payment";
37
+ source: "source";
38
+ }>;
39
+ declare const receiptTemplateFields: readonly ["order_sequence", "order_display_id", "order_type", "requested_time", "preparation_time", "customer_name", "customer_phone", "customer_contact_number", "customer_access_code", "address_line_1", "address_line_2", "address_city", "address_postal_code", "item_variant", "item_removals", "item_modifiers", "item_notes", "item_prices", "subtotal", "discount", "fees", "total", "taxes", "payment_status", "payment_method", "order_notes", "kitchen_notes", "delivery_notes", "partner"];
40
+ declare const receiptTemplateFieldSchema: z.ZodEnum<{
41
+ order_type: "order_type";
42
+ order_sequence: "order_sequence";
43
+ order_display_id: "order_display_id";
44
+ requested_time: "requested_time";
45
+ preparation_time: "preparation_time";
46
+ customer_name: "customer_name";
47
+ customer_phone: "customer_phone";
48
+ customer_contact_number: "customer_contact_number";
49
+ customer_access_code: "customer_access_code";
50
+ address_line_1: "address_line_1";
51
+ address_line_2: "address_line_2";
52
+ address_city: "address_city";
53
+ address_postal_code: "address_postal_code";
54
+ item_variant: "item_variant";
55
+ item_removals: "item_removals";
56
+ item_modifiers: "item_modifiers";
57
+ item_notes: "item_notes";
58
+ item_prices: "item_prices";
59
+ subtotal: "subtotal";
60
+ discount: "discount";
61
+ fees: "fees";
62
+ total: "total";
63
+ taxes: "taxes";
64
+ payment_status: "payment_status";
65
+ payment_method: "payment_method";
66
+ order_notes: "order_notes";
67
+ kitchen_notes: "kitchen_notes";
68
+ delivery_notes: "delivery_notes";
69
+ partner: "partner";
70
+ }>;
71
+ type ReceiptTemplateField = z.infer<typeof receiptTemplateFieldSchema>;
72
+ declare const receiptTemplateAlignmentSchema: z.ZodEnum<{
73
+ left: "left";
74
+ center: "center";
75
+ right: "right";
76
+ }>;
77
+ declare const receiptTemplateTextSizeSchema: z.ZodEnum<{
78
+ normal: "normal";
79
+ tall: "tall";
80
+ double: "double";
81
+ double_tall: "double_tall";
82
+ }>;
83
+ declare const receiptTemplateFieldLayoutSchema: z.ZodEnum<{
84
+ inline: "inline";
85
+ stacked: "stacked";
86
+ }>;
87
+ type ReceiptTemplateFieldLayout = z.infer<typeof receiptTemplateFieldLayoutSchema>;
88
+ declare const receiptTemplateFieldLayoutBlockTypes: readonly ["order_times", "customer", "address", "notes"];
89
+ declare const receiptTemplateTextSegmentTypeSchema: z.ZodEnum<{
90
+ literal: "literal";
91
+ field: "field";
92
+ }>;
93
+ declare const receiptTemplateConditionSchema: z.ZodObject<{
94
+ type: z.ZodEnum<{
95
+ order_type: "order_type";
96
+ always: "always";
97
+ data_present: "data_present";
98
+ has_discount: "has_discount";
99
+ has_fee: "has_fee";
100
+ has_payment: "has_payment";
101
+ source: "source";
102
+ }>;
103
+ values: z.ZodArray<z.ZodString>;
104
+ }, z.core.$strip>;
105
+ declare const receiptTemplateBlockStyleSchema: z.ZodObject<{
106
+ alignment: z.ZodEnum<{
107
+ left: "left";
108
+ center: "center";
109
+ right: "right";
110
+ }>;
111
+ size: z.ZodEnum<{
112
+ normal: "normal";
113
+ tall: "tall";
114
+ double: "double";
115
+ double_tall: "double_tall";
116
+ }>;
117
+ bold: z.ZodBoolean;
118
+ underline: z.ZodBoolean;
119
+ inverse: z.ZodBoolean;
120
+ }, z.core.$strip>;
121
+ declare const receiptTemplateTextSegmentSchema: z.ZodObject<{
122
+ type: z.ZodEnum<{
123
+ literal: "literal";
124
+ field: "field";
125
+ }>;
126
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
127
+ field: z.ZodNullable<z.ZodEnum<{
128
+ order_type: "order_type";
129
+ order_sequence: "order_sequence";
130
+ order_display_id: "order_display_id";
131
+ requested_time: "requested_time";
132
+ preparation_time: "preparation_time";
133
+ customer_name: "customer_name";
134
+ customer_phone: "customer_phone";
135
+ customer_contact_number: "customer_contact_number";
136
+ customer_access_code: "customer_access_code";
137
+ address_line_1: "address_line_1";
138
+ address_line_2: "address_line_2";
139
+ address_city: "address_city";
140
+ address_postal_code: "address_postal_code";
141
+ item_variant: "item_variant";
142
+ item_removals: "item_removals";
143
+ item_modifiers: "item_modifiers";
144
+ item_notes: "item_notes";
145
+ item_prices: "item_prices";
146
+ subtotal: "subtotal";
147
+ discount: "discount";
148
+ fees: "fees";
149
+ total: "total";
150
+ taxes: "taxes";
151
+ payment_status: "payment_status";
152
+ payment_method: "payment_method";
153
+ order_notes: "order_notes";
154
+ kitchen_notes: "kitchen_notes";
155
+ delivery_notes: "delivery_notes";
156
+ partner: "partner";
157
+ }>>;
158
+ }, z.core.$strip>;
159
+ declare const receiptTemplateBlockSchema: z.ZodObject<{
160
+ id: z.ZodString;
161
+ type: z.ZodEnum<{
162
+ title: "title";
163
+ order_type: "order_type";
164
+ logo: "logo";
165
+ order_identity: "order_identity";
166
+ order_times: "order_times";
167
+ customer: "customer";
168
+ address: "address";
169
+ items: "items";
170
+ notes: "notes";
171
+ totals: "totals";
172
+ payment: "payment";
173
+ separator: "separator";
174
+ spacer: "spacer";
175
+ custom_text: "custom_text";
176
+ }>;
177
+ enabled: z.ZodBoolean;
178
+ condition: z.ZodObject<{
179
+ type: z.ZodEnum<{
180
+ order_type: "order_type";
181
+ always: "always";
182
+ data_present: "data_present";
183
+ has_discount: "has_discount";
184
+ has_fee: "has_fee";
185
+ has_payment: "has_payment";
186
+ source: "source";
187
+ }>;
188
+ values: z.ZodArray<z.ZodString>;
189
+ }, z.core.$strip>;
190
+ style: z.ZodObject<{
191
+ alignment: z.ZodEnum<{
192
+ left: "left";
193
+ center: "center";
194
+ right: "right";
195
+ }>;
196
+ size: z.ZodEnum<{
197
+ normal: "normal";
198
+ tall: "tall";
199
+ double: "double";
200
+ double_tall: "double_tall";
201
+ }>;
202
+ bold: z.ZodBoolean;
203
+ underline: z.ZodBoolean;
204
+ inverse: z.ZodBoolean;
205
+ }, z.core.$strip>;
206
+ labelStyle: z.ZodDefault<z.ZodObject<{
207
+ alignment: z.ZodEnum<{
208
+ left: "left";
209
+ center: "center";
210
+ right: "right";
211
+ }>;
212
+ size: z.ZodEnum<{
213
+ normal: "normal";
214
+ tall: "tall";
215
+ double: "double";
216
+ double_tall: "double_tall";
217
+ }>;
218
+ bold: z.ZodBoolean;
219
+ underline: z.ZodBoolean;
220
+ inverse: z.ZodBoolean;
221
+ }, z.core.$strip>>;
222
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
223
+ inline: "inline";
224
+ stacked: "stacked";
225
+ }>>;
226
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
227
+ visibleFields: z.ZodArray<z.ZodEnum<{
228
+ order_type: "order_type";
229
+ order_sequence: "order_sequence";
230
+ order_display_id: "order_display_id";
231
+ requested_time: "requested_time";
232
+ preparation_time: "preparation_time";
233
+ customer_name: "customer_name";
234
+ customer_phone: "customer_phone";
235
+ customer_contact_number: "customer_contact_number";
236
+ customer_access_code: "customer_access_code";
237
+ address_line_1: "address_line_1";
238
+ address_line_2: "address_line_2";
239
+ address_city: "address_city";
240
+ address_postal_code: "address_postal_code";
241
+ item_variant: "item_variant";
242
+ item_removals: "item_removals";
243
+ item_modifiers: "item_modifiers";
244
+ item_notes: "item_notes";
245
+ item_prices: "item_prices";
246
+ subtotal: "subtotal";
247
+ discount: "discount";
248
+ fees: "fees";
249
+ total: "total";
250
+ taxes: "taxes";
251
+ payment_status: "payment_status";
252
+ payment_method: "payment_method";
253
+ order_notes: "order_notes";
254
+ kitchen_notes: "kitchen_notes";
255
+ delivery_notes: "delivery_notes";
256
+ partner: "partner";
257
+ }>>;
258
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
259
+ spacerLines: z.ZodNullable<z.ZodNumber>;
260
+ separatorCharacter: z.ZodNullable<z.ZodString>;
261
+ segments: z.ZodArray<z.ZodObject<{
262
+ type: z.ZodEnum<{
263
+ literal: "literal";
264
+ field: "field";
265
+ }>;
266
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
267
+ field: z.ZodNullable<z.ZodEnum<{
268
+ order_type: "order_type";
269
+ order_sequence: "order_sequence";
270
+ order_display_id: "order_display_id";
271
+ requested_time: "requested_time";
272
+ preparation_time: "preparation_time";
273
+ customer_name: "customer_name";
274
+ customer_phone: "customer_phone";
275
+ customer_contact_number: "customer_contact_number";
276
+ customer_access_code: "customer_access_code";
277
+ address_line_1: "address_line_1";
278
+ address_line_2: "address_line_2";
279
+ address_city: "address_city";
280
+ address_postal_code: "address_postal_code";
281
+ item_variant: "item_variant";
282
+ item_removals: "item_removals";
283
+ item_modifiers: "item_modifiers";
284
+ item_notes: "item_notes";
285
+ item_prices: "item_prices";
286
+ subtotal: "subtotal";
287
+ discount: "discount";
288
+ fees: "fees";
289
+ total: "total";
290
+ taxes: "taxes";
291
+ payment_status: "payment_status";
292
+ payment_method: "payment_method";
293
+ order_notes: "order_notes";
294
+ kitchen_notes: "kitchen_notes";
295
+ delivery_notes: "delivery_notes";
296
+ partner: "partner";
297
+ }>>;
298
+ }, z.core.$strip>>;
299
+ }, z.core.$strip>;
300
+ declare const receiptTemplateDefinitionSchema: z.ZodObject<{
301
+ schemaVersion: z.ZodLiteral<1>;
302
+ blocks: z.ZodArray<z.ZodObject<{
303
+ id: z.ZodString;
304
+ type: z.ZodEnum<{
305
+ title: "title";
306
+ order_type: "order_type";
307
+ logo: "logo";
308
+ order_identity: "order_identity";
309
+ order_times: "order_times";
310
+ customer: "customer";
311
+ address: "address";
312
+ items: "items";
313
+ notes: "notes";
314
+ totals: "totals";
315
+ payment: "payment";
316
+ separator: "separator";
317
+ spacer: "spacer";
318
+ custom_text: "custom_text";
319
+ }>;
320
+ enabled: z.ZodBoolean;
321
+ condition: z.ZodObject<{
322
+ type: z.ZodEnum<{
323
+ order_type: "order_type";
324
+ always: "always";
325
+ data_present: "data_present";
326
+ has_discount: "has_discount";
327
+ has_fee: "has_fee";
328
+ has_payment: "has_payment";
329
+ source: "source";
330
+ }>;
331
+ values: z.ZodArray<z.ZodString>;
332
+ }, z.core.$strip>;
333
+ style: z.ZodObject<{
334
+ alignment: z.ZodEnum<{
335
+ left: "left";
336
+ center: "center";
337
+ right: "right";
338
+ }>;
339
+ size: z.ZodEnum<{
340
+ normal: "normal";
341
+ tall: "tall";
342
+ double: "double";
343
+ double_tall: "double_tall";
344
+ }>;
345
+ bold: z.ZodBoolean;
346
+ underline: z.ZodBoolean;
347
+ inverse: z.ZodBoolean;
348
+ }, z.core.$strip>;
349
+ labelStyle: z.ZodDefault<z.ZodObject<{
350
+ alignment: z.ZodEnum<{
351
+ left: "left";
352
+ center: "center";
353
+ right: "right";
354
+ }>;
355
+ size: z.ZodEnum<{
356
+ normal: "normal";
357
+ tall: "tall";
358
+ double: "double";
359
+ double_tall: "double_tall";
360
+ }>;
361
+ bold: z.ZodBoolean;
362
+ underline: z.ZodBoolean;
363
+ inverse: z.ZodBoolean;
364
+ }, z.core.$strip>>;
365
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
366
+ inline: "inline";
367
+ stacked: "stacked";
368
+ }>>;
369
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
370
+ visibleFields: z.ZodArray<z.ZodEnum<{
371
+ order_type: "order_type";
372
+ order_sequence: "order_sequence";
373
+ order_display_id: "order_display_id";
374
+ requested_time: "requested_time";
375
+ preparation_time: "preparation_time";
376
+ customer_name: "customer_name";
377
+ customer_phone: "customer_phone";
378
+ customer_contact_number: "customer_contact_number";
379
+ customer_access_code: "customer_access_code";
380
+ address_line_1: "address_line_1";
381
+ address_line_2: "address_line_2";
382
+ address_city: "address_city";
383
+ address_postal_code: "address_postal_code";
384
+ item_variant: "item_variant";
385
+ item_removals: "item_removals";
386
+ item_modifiers: "item_modifiers";
387
+ item_notes: "item_notes";
388
+ item_prices: "item_prices";
389
+ subtotal: "subtotal";
390
+ discount: "discount";
391
+ fees: "fees";
392
+ total: "total";
393
+ taxes: "taxes";
394
+ payment_status: "payment_status";
395
+ payment_method: "payment_method";
396
+ order_notes: "order_notes";
397
+ kitchen_notes: "kitchen_notes";
398
+ delivery_notes: "delivery_notes";
399
+ partner: "partner";
400
+ }>>;
401
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
402
+ spacerLines: z.ZodNullable<z.ZodNumber>;
403
+ separatorCharacter: z.ZodNullable<z.ZodString>;
404
+ segments: z.ZodArray<z.ZodObject<{
405
+ type: z.ZodEnum<{
406
+ literal: "literal";
407
+ field: "field";
408
+ }>;
409
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
410
+ field: z.ZodNullable<z.ZodEnum<{
411
+ order_type: "order_type";
412
+ order_sequence: "order_sequence";
413
+ order_display_id: "order_display_id";
414
+ requested_time: "requested_time";
415
+ preparation_time: "preparation_time";
416
+ customer_name: "customer_name";
417
+ customer_phone: "customer_phone";
418
+ customer_contact_number: "customer_contact_number";
419
+ customer_access_code: "customer_access_code";
420
+ address_line_1: "address_line_1";
421
+ address_line_2: "address_line_2";
422
+ address_city: "address_city";
423
+ address_postal_code: "address_postal_code";
424
+ item_variant: "item_variant";
425
+ item_removals: "item_removals";
426
+ item_modifiers: "item_modifiers";
427
+ item_notes: "item_notes";
428
+ item_prices: "item_prices";
429
+ subtotal: "subtotal";
430
+ discount: "discount";
431
+ fees: "fees";
432
+ total: "total";
433
+ taxes: "taxes";
434
+ payment_status: "payment_status";
435
+ payment_method: "payment_method";
436
+ order_notes: "order_notes";
437
+ kitchen_notes: "kitchen_notes";
438
+ delivery_notes: "delivery_notes";
439
+ partner: "partner";
440
+ }>>;
441
+ }, z.core.$strip>>;
442
+ }, z.core.$strip>>;
443
+ }, z.core.$strip>;
444
+ type ReceiptTemplateDefinition = z.infer<typeof receiptTemplateDefinitionSchema>;
445
+ declare const receiptTemplateSchema: z.ZodObject<{
446
+ id: z.ZodString;
447
+ pointOfSale: z.ZodOptional<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>>>;
448
+ name: z.ZodString;
449
+ schemaVersion: z.ZodLiteral<1>;
450
+ definition: z.ZodObject<{
451
+ schemaVersion: z.ZodLiteral<1>;
452
+ blocks: z.ZodArray<z.ZodObject<{
453
+ id: z.ZodString;
454
+ type: z.ZodEnum<{
455
+ title: "title";
456
+ order_type: "order_type";
457
+ logo: "logo";
458
+ order_identity: "order_identity";
459
+ order_times: "order_times";
460
+ customer: "customer";
461
+ address: "address";
462
+ items: "items";
463
+ notes: "notes";
464
+ totals: "totals";
465
+ payment: "payment";
466
+ separator: "separator";
467
+ spacer: "spacer";
468
+ custom_text: "custom_text";
469
+ }>;
470
+ enabled: z.ZodBoolean;
471
+ condition: z.ZodObject<{
472
+ type: z.ZodEnum<{
473
+ order_type: "order_type";
474
+ always: "always";
475
+ data_present: "data_present";
476
+ has_discount: "has_discount";
477
+ has_fee: "has_fee";
478
+ has_payment: "has_payment";
479
+ source: "source";
480
+ }>;
481
+ values: z.ZodArray<z.ZodString>;
482
+ }, z.core.$strip>;
483
+ style: z.ZodObject<{
484
+ alignment: z.ZodEnum<{
485
+ left: "left";
486
+ center: "center";
487
+ right: "right";
488
+ }>;
489
+ size: z.ZodEnum<{
490
+ normal: "normal";
491
+ tall: "tall";
492
+ double: "double";
493
+ double_tall: "double_tall";
494
+ }>;
495
+ bold: z.ZodBoolean;
496
+ underline: z.ZodBoolean;
497
+ inverse: z.ZodBoolean;
498
+ }, z.core.$strip>;
499
+ labelStyle: z.ZodDefault<z.ZodObject<{
500
+ alignment: z.ZodEnum<{
501
+ left: "left";
502
+ center: "center";
503
+ right: "right";
504
+ }>;
505
+ size: z.ZodEnum<{
506
+ normal: "normal";
507
+ tall: "tall";
508
+ double: "double";
509
+ double_tall: "double_tall";
510
+ }>;
511
+ bold: z.ZodBoolean;
512
+ underline: z.ZodBoolean;
513
+ inverse: z.ZodBoolean;
514
+ }, z.core.$strip>>;
515
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
516
+ inline: "inline";
517
+ stacked: "stacked";
518
+ }>>;
519
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
520
+ visibleFields: z.ZodArray<z.ZodEnum<{
521
+ order_type: "order_type";
522
+ order_sequence: "order_sequence";
523
+ order_display_id: "order_display_id";
524
+ requested_time: "requested_time";
525
+ preparation_time: "preparation_time";
526
+ customer_name: "customer_name";
527
+ customer_phone: "customer_phone";
528
+ customer_contact_number: "customer_contact_number";
529
+ customer_access_code: "customer_access_code";
530
+ address_line_1: "address_line_1";
531
+ address_line_2: "address_line_2";
532
+ address_city: "address_city";
533
+ address_postal_code: "address_postal_code";
534
+ item_variant: "item_variant";
535
+ item_removals: "item_removals";
536
+ item_modifiers: "item_modifiers";
537
+ item_notes: "item_notes";
538
+ item_prices: "item_prices";
539
+ subtotal: "subtotal";
540
+ discount: "discount";
541
+ fees: "fees";
542
+ total: "total";
543
+ taxes: "taxes";
544
+ payment_status: "payment_status";
545
+ payment_method: "payment_method";
546
+ order_notes: "order_notes";
547
+ kitchen_notes: "kitchen_notes";
548
+ delivery_notes: "delivery_notes";
549
+ partner: "partner";
550
+ }>>;
551
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
552
+ spacerLines: z.ZodNullable<z.ZodNumber>;
553
+ separatorCharacter: z.ZodNullable<z.ZodString>;
554
+ segments: z.ZodArray<z.ZodObject<{
555
+ type: z.ZodEnum<{
556
+ literal: "literal";
557
+ field: "field";
558
+ }>;
559
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
560
+ field: z.ZodNullable<z.ZodEnum<{
561
+ order_type: "order_type";
562
+ order_sequence: "order_sequence";
563
+ order_display_id: "order_display_id";
564
+ requested_time: "requested_time";
565
+ preparation_time: "preparation_time";
566
+ customer_name: "customer_name";
567
+ customer_phone: "customer_phone";
568
+ customer_contact_number: "customer_contact_number";
569
+ customer_access_code: "customer_access_code";
570
+ address_line_1: "address_line_1";
571
+ address_line_2: "address_line_2";
572
+ address_city: "address_city";
573
+ address_postal_code: "address_postal_code";
574
+ item_variant: "item_variant";
575
+ item_removals: "item_removals";
576
+ item_modifiers: "item_modifiers";
577
+ item_notes: "item_notes";
578
+ item_prices: "item_prices";
579
+ subtotal: "subtotal";
580
+ discount: "discount";
581
+ fees: "fees";
582
+ total: "total";
583
+ taxes: "taxes";
584
+ payment_status: "payment_status";
585
+ payment_method: "payment_method";
586
+ order_notes: "order_notes";
587
+ kitchen_notes: "kitchen_notes";
588
+ delivery_notes: "delivery_notes";
589
+ partner: "partner";
590
+ }>>;
591
+ }, z.core.$strip>>;
592
+ }, z.core.$strip>>;
593
+ }, z.core.$strip>;
594
+ status: z.ZodEnum<{
595
+ active: "active";
596
+ archived: "archived";
597
+ }>;
598
+ archivedAt: z.ZodNullable<z.ZodString>;
599
+ revision: z.ZodNumber;
600
+ createdAt: z.ZodString;
601
+ updatedAt: z.ZodString;
602
+ usageCount: z.ZodNumber;
603
+ }, z.core.$strip>;
604
+ type ReceiptTemplate = z.infer<typeof receiptTemplateSchema>;
605
+ declare const writableReceiptTemplateSchema: z.ZodObject<{
606
+ definition: z.ZodObject<{
607
+ schemaVersion: z.ZodLiteral<1>;
608
+ blocks: z.ZodArray<z.ZodObject<{
609
+ id: z.ZodString;
610
+ type: z.ZodEnum<{
611
+ title: "title";
612
+ order_type: "order_type";
613
+ logo: "logo";
614
+ order_identity: "order_identity";
615
+ order_times: "order_times";
616
+ customer: "customer";
617
+ address: "address";
618
+ items: "items";
619
+ notes: "notes";
620
+ totals: "totals";
621
+ payment: "payment";
622
+ separator: "separator";
623
+ spacer: "spacer";
624
+ custom_text: "custom_text";
625
+ }>;
626
+ enabled: z.ZodBoolean;
627
+ condition: z.ZodObject<{
628
+ type: z.ZodEnum<{
629
+ order_type: "order_type";
630
+ always: "always";
631
+ data_present: "data_present";
632
+ has_discount: "has_discount";
633
+ has_fee: "has_fee";
634
+ has_payment: "has_payment";
635
+ source: "source";
636
+ }>;
637
+ values: z.ZodArray<z.ZodString>;
638
+ }, z.core.$strip>;
639
+ style: z.ZodObject<{
640
+ alignment: z.ZodEnum<{
641
+ left: "left";
642
+ center: "center";
643
+ right: "right";
644
+ }>;
645
+ size: z.ZodEnum<{
646
+ normal: "normal";
647
+ tall: "tall";
648
+ double: "double";
649
+ double_tall: "double_tall";
650
+ }>;
651
+ bold: z.ZodBoolean;
652
+ underline: z.ZodBoolean;
653
+ inverse: z.ZodBoolean;
654
+ }, z.core.$strip>;
655
+ labelStyle: z.ZodDefault<z.ZodObject<{
656
+ alignment: z.ZodEnum<{
657
+ left: "left";
658
+ center: "center";
659
+ right: "right";
660
+ }>;
661
+ size: z.ZodEnum<{
662
+ normal: "normal";
663
+ tall: "tall";
664
+ double: "double";
665
+ double_tall: "double_tall";
666
+ }>;
667
+ bold: z.ZodBoolean;
668
+ underline: z.ZodBoolean;
669
+ inverse: z.ZodBoolean;
670
+ }, z.core.$strip>>;
671
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
672
+ inline: "inline";
673
+ stacked: "stacked";
674
+ }>>;
675
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
676
+ visibleFields: z.ZodArray<z.ZodEnum<{
677
+ order_type: "order_type";
678
+ order_sequence: "order_sequence";
679
+ order_display_id: "order_display_id";
680
+ requested_time: "requested_time";
681
+ preparation_time: "preparation_time";
682
+ customer_name: "customer_name";
683
+ customer_phone: "customer_phone";
684
+ customer_contact_number: "customer_contact_number";
685
+ customer_access_code: "customer_access_code";
686
+ address_line_1: "address_line_1";
687
+ address_line_2: "address_line_2";
688
+ address_city: "address_city";
689
+ address_postal_code: "address_postal_code";
690
+ item_variant: "item_variant";
691
+ item_removals: "item_removals";
692
+ item_modifiers: "item_modifiers";
693
+ item_notes: "item_notes";
694
+ item_prices: "item_prices";
695
+ subtotal: "subtotal";
696
+ discount: "discount";
697
+ fees: "fees";
698
+ total: "total";
699
+ taxes: "taxes";
700
+ payment_status: "payment_status";
701
+ payment_method: "payment_method";
702
+ order_notes: "order_notes";
703
+ kitchen_notes: "kitchen_notes";
704
+ delivery_notes: "delivery_notes";
705
+ partner: "partner";
706
+ }>>;
707
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
708
+ spacerLines: z.ZodNullable<z.ZodNumber>;
709
+ separatorCharacter: z.ZodNullable<z.ZodString>;
710
+ segments: z.ZodArray<z.ZodObject<{
711
+ type: z.ZodEnum<{
712
+ literal: "literal";
713
+ field: "field";
714
+ }>;
715
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
716
+ field: z.ZodNullable<z.ZodEnum<{
717
+ order_type: "order_type";
718
+ order_sequence: "order_sequence";
719
+ order_display_id: "order_display_id";
720
+ requested_time: "requested_time";
721
+ preparation_time: "preparation_time";
722
+ customer_name: "customer_name";
723
+ customer_phone: "customer_phone";
724
+ customer_contact_number: "customer_contact_number";
725
+ customer_access_code: "customer_access_code";
726
+ address_line_1: "address_line_1";
727
+ address_line_2: "address_line_2";
728
+ address_city: "address_city";
729
+ address_postal_code: "address_postal_code";
730
+ item_variant: "item_variant";
731
+ item_removals: "item_removals";
732
+ item_modifiers: "item_modifiers";
733
+ item_notes: "item_notes";
734
+ item_prices: "item_prices";
735
+ subtotal: "subtotal";
736
+ discount: "discount";
737
+ fees: "fees";
738
+ total: "total";
739
+ taxes: "taxes";
740
+ payment_status: "payment_status";
741
+ payment_method: "payment_method";
742
+ order_notes: "order_notes";
743
+ kitchen_notes: "kitchen_notes";
744
+ delivery_notes: "delivery_notes";
745
+ partner: "partner";
746
+ }>>;
747
+ }, z.core.$strip>>;
748
+ }, z.core.$strip>>;
749
+ }, z.core.$strip>;
750
+ status: z.ZodEnum<{
751
+ active: "active";
752
+ archived: "archived";
753
+ }>;
754
+ name: z.ZodString;
755
+ }, z.core.$strip>;
756
+ declare const writableCreateReceiptTemplateSchema: z.ZodObject<{
757
+ definition: z.ZodObject<{
758
+ schemaVersion: z.ZodLiteral<1>;
759
+ blocks: z.ZodArray<z.ZodObject<{
760
+ id: z.ZodString;
761
+ type: z.ZodEnum<{
762
+ title: "title";
763
+ order_type: "order_type";
764
+ logo: "logo";
765
+ order_identity: "order_identity";
766
+ order_times: "order_times";
767
+ customer: "customer";
768
+ address: "address";
769
+ items: "items";
770
+ notes: "notes";
771
+ totals: "totals";
772
+ payment: "payment";
773
+ separator: "separator";
774
+ spacer: "spacer";
775
+ custom_text: "custom_text";
776
+ }>;
777
+ enabled: z.ZodBoolean;
778
+ condition: z.ZodObject<{
779
+ type: z.ZodEnum<{
780
+ order_type: "order_type";
781
+ always: "always";
782
+ data_present: "data_present";
783
+ has_discount: "has_discount";
784
+ has_fee: "has_fee";
785
+ has_payment: "has_payment";
786
+ source: "source";
787
+ }>;
788
+ values: z.ZodArray<z.ZodString>;
789
+ }, z.core.$strip>;
790
+ style: z.ZodObject<{
791
+ alignment: z.ZodEnum<{
792
+ left: "left";
793
+ center: "center";
794
+ right: "right";
795
+ }>;
796
+ size: z.ZodEnum<{
797
+ normal: "normal";
798
+ tall: "tall";
799
+ double: "double";
800
+ double_tall: "double_tall";
801
+ }>;
802
+ bold: z.ZodBoolean;
803
+ underline: z.ZodBoolean;
804
+ inverse: z.ZodBoolean;
805
+ }, z.core.$strip>;
806
+ labelStyle: z.ZodDefault<z.ZodObject<{
807
+ alignment: z.ZodEnum<{
808
+ left: "left";
809
+ center: "center";
810
+ right: "right";
811
+ }>;
812
+ size: z.ZodEnum<{
813
+ normal: "normal";
814
+ tall: "tall";
815
+ double: "double";
816
+ double_tall: "double_tall";
817
+ }>;
818
+ bold: z.ZodBoolean;
819
+ underline: z.ZodBoolean;
820
+ inverse: z.ZodBoolean;
821
+ }, z.core.$strip>>;
822
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
823
+ inline: "inline";
824
+ stacked: "stacked";
825
+ }>>;
826
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
827
+ visibleFields: z.ZodArray<z.ZodEnum<{
828
+ order_type: "order_type";
829
+ order_sequence: "order_sequence";
830
+ order_display_id: "order_display_id";
831
+ requested_time: "requested_time";
832
+ preparation_time: "preparation_time";
833
+ customer_name: "customer_name";
834
+ customer_phone: "customer_phone";
835
+ customer_contact_number: "customer_contact_number";
836
+ customer_access_code: "customer_access_code";
837
+ address_line_1: "address_line_1";
838
+ address_line_2: "address_line_2";
839
+ address_city: "address_city";
840
+ address_postal_code: "address_postal_code";
841
+ item_variant: "item_variant";
842
+ item_removals: "item_removals";
843
+ item_modifiers: "item_modifiers";
844
+ item_notes: "item_notes";
845
+ item_prices: "item_prices";
846
+ subtotal: "subtotal";
847
+ discount: "discount";
848
+ fees: "fees";
849
+ total: "total";
850
+ taxes: "taxes";
851
+ payment_status: "payment_status";
852
+ payment_method: "payment_method";
853
+ order_notes: "order_notes";
854
+ kitchen_notes: "kitchen_notes";
855
+ delivery_notes: "delivery_notes";
856
+ partner: "partner";
857
+ }>>;
858
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
859
+ spacerLines: z.ZodNullable<z.ZodNumber>;
860
+ separatorCharacter: z.ZodNullable<z.ZodString>;
861
+ segments: z.ZodArray<z.ZodObject<{
862
+ type: z.ZodEnum<{
863
+ literal: "literal";
864
+ field: "field";
865
+ }>;
866
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
867
+ field: z.ZodNullable<z.ZodEnum<{
868
+ order_type: "order_type";
869
+ order_sequence: "order_sequence";
870
+ order_display_id: "order_display_id";
871
+ requested_time: "requested_time";
872
+ preparation_time: "preparation_time";
873
+ customer_name: "customer_name";
874
+ customer_phone: "customer_phone";
875
+ customer_contact_number: "customer_contact_number";
876
+ customer_access_code: "customer_access_code";
877
+ address_line_1: "address_line_1";
878
+ address_line_2: "address_line_2";
879
+ address_city: "address_city";
880
+ address_postal_code: "address_postal_code";
881
+ item_variant: "item_variant";
882
+ item_removals: "item_removals";
883
+ item_modifiers: "item_modifiers";
884
+ item_notes: "item_notes";
885
+ item_prices: "item_prices";
886
+ subtotal: "subtotal";
887
+ discount: "discount";
888
+ fees: "fees";
889
+ total: "total";
890
+ taxes: "taxes";
891
+ payment_status: "payment_status";
892
+ payment_method: "payment_method";
893
+ order_notes: "order_notes";
894
+ kitchen_notes: "kitchen_notes";
895
+ delivery_notes: "delivery_notes";
896
+ partner: "partner";
897
+ }>>;
898
+ }, z.core.$strip>>;
899
+ }, z.core.$strip>>;
900
+ }, z.core.$strip>;
901
+ status: z.ZodEnum<{
902
+ active: "active";
903
+ archived: "archived";
904
+ }>;
905
+ name: z.ZodString;
906
+ 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>>;
907
+ }, z.core.$strip>;
908
+ declare const receiptTemplatesQuerySchema: z.ZodObject<{
909
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
910
+ name: z.ZodOptional<z.ZodString>;
911
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
912
+ active: "active";
913
+ archived: "archived";
914
+ }>, z.ZodArray<z.ZodEnum<{
915
+ active: "active";
916
+ archived: "archived";
917
+ }>>]>>;
918
+ 'order[name]': z.ZodOptional<z.ZodEnum<{
919
+ asc: "asc";
920
+ desc: "desc";
921
+ }>>;
922
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
923
+ asc: "asc";
924
+ desc: "desc";
925
+ }>>;
926
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
927
+ asc: "asc";
928
+ desc: "desc";
929
+ }>>;
930
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
931
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
932
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
933
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
934
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
935
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
936
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
937
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
938
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
939
+ }, z.core.$strip>;
940
+ type ReceiptTemplatesQueryParams = z.infer<typeof receiptTemplatesQuerySchema>;
941
+
942
+ declare const createReceiptTemplateInputSchema: z.ZodObject<{
943
+ definition: z.ZodObject<{
944
+ schemaVersion: z.ZodLiteral<1>;
945
+ blocks: z.ZodArray<z.ZodObject<{
946
+ id: z.ZodString;
947
+ type: z.ZodEnum<{
948
+ title: "title";
949
+ order_type: "order_type";
950
+ logo: "logo";
951
+ order_identity: "order_identity";
952
+ order_times: "order_times";
953
+ customer: "customer";
954
+ address: "address";
955
+ items: "items";
956
+ notes: "notes";
957
+ totals: "totals";
958
+ payment: "payment";
959
+ separator: "separator";
960
+ spacer: "spacer";
961
+ custom_text: "custom_text";
962
+ }>;
963
+ enabled: z.ZodBoolean;
964
+ condition: z.ZodObject<{
965
+ type: z.ZodEnum<{
966
+ order_type: "order_type";
967
+ always: "always";
968
+ data_present: "data_present";
969
+ has_discount: "has_discount";
970
+ has_fee: "has_fee";
971
+ has_payment: "has_payment";
972
+ source: "source";
973
+ }>;
974
+ values: z.ZodArray<z.ZodString>;
975
+ }, z.core.$strip>;
976
+ style: z.ZodObject<{
977
+ alignment: z.ZodEnum<{
978
+ left: "left";
979
+ center: "center";
980
+ right: "right";
981
+ }>;
982
+ size: z.ZodEnum<{
983
+ normal: "normal";
984
+ tall: "tall";
985
+ double: "double";
986
+ double_tall: "double_tall";
987
+ }>;
988
+ bold: z.ZodBoolean;
989
+ underline: z.ZodBoolean;
990
+ inverse: z.ZodBoolean;
991
+ }, z.core.$strip>;
992
+ labelStyle: z.ZodDefault<z.ZodObject<{
993
+ alignment: z.ZodEnum<{
994
+ left: "left";
995
+ center: "center";
996
+ right: "right";
997
+ }>;
998
+ size: z.ZodEnum<{
999
+ normal: "normal";
1000
+ tall: "tall";
1001
+ double: "double";
1002
+ double_tall: "double_tall";
1003
+ }>;
1004
+ bold: z.ZodBoolean;
1005
+ underline: z.ZodBoolean;
1006
+ inverse: z.ZodBoolean;
1007
+ }, z.core.$strip>>;
1008
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
1009
+ inline: "inline";
1010
+ stacked: "stacked";
1011
+ }>>;
1012
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1013
+ visibleFields: z.ZodArray<z.ZodEnum<{
1014
+ order_type: "order_type";
1015
+ order_sequence: "order_sequence";
1016
+ order_display_id: "order_display_id";
1017
+ requested_time: "requested_time";
1018
+ preparation_time: "preparation_time";
1019
+ customer_name: "customer_name";
1020
+ customer_phone: "customer_phone";
1021
+ customer_contact_number: "customer_contact_number";
1022
+ customer_access_code: "customer_access_code";
1023
+ address_line_1: "address_line_1";
1024
+ address_line_2: "address_line_2";
1025
+ address_city: "address_city";
1026
+ address_postal_code: "address_postal_code";
1027
+ item_variant: "item_variant";
1028
+ item_removals: "item_removals";
1029
+ item_modifiers: "item_modifiers";
1030
+ item_notes: "item_notes";
1031
+ item_prices: "item_prices";
1032
+ subtotal: "subtotal";
1033
+ discount: "discount";
1034
+ fees: "fees";
1035
+ total: "total";
1036
+ taxes: "taxes";
1037
+ payment_status: "payment_status";
1038
+ payment_method: "payment_method";
1039
+ order_notes: "order_notes";
1040
+ kitchen_notes: "kitchen_notes";
1041
+ delivery_notes: "delivery_notes";
1042
+ partner: "partner";
1043
+ }>>;
1044
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1045
+ spacerLines: z.ZodNullable<z.ZodNumber>;
1046
+ separatorCharacter: z.ZodNullable<z.ZodString>;
1047
+ segments: z.ZodArray<z.ZodObject<{
1048
+ type: z.ZodEnum<{
1049
+ literal: "literal";
1050
+ field: "field";
1051
+ }>;
1052
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
1053
+ field: z.ZodNullable<z.ZodEnum<{
1054
+ order_type: "order_type";
1055
+ order_sequence: "order_sequence";
1056
+ order_display_id: "order_display_id";
1057
+ requested_time: "requested_time";
1058
+ preparation_time: "preparation_time";
1059
+ customer_name: "customer_name";
1060
+ customer_phone: "customer_phone";
1061
+ customer_contact_number: "customer_contact_number";
1062
+ customer_access_code: "customer_access_code";
1063
+ address_line_1: "address_line_1";
1064
+ address_line_2: "address_line_2";
1065
+ address_city: "address_city";
1066
+ address_postal_code: "address_postal_code";
1067
+ item_variant: "item_variant";
1068
+ item_removals: "item_removals";
1069
+ item_modifiers: "item_modifiers";
1070
+ item_notes: "item_notes";
1071
+ item_prices: "item_prices";
1072
+ subtotal: "subtotal";
1073
+ discount: "discount";
1074
+ fees: "fees";
1075
+ total: "total";
1076
+ taxes: "taxes";
1077
+ payment_status: "payment_status";
1078
+ payment_method: "payment_method";
1079
+ order_notes: "order_notes";
1080
+ kitchen_notes: "kitchen_notes";
1081
+ delivery_notes: "delivery_notes";
1082
+ partner: "partner";
1083
+ }>>;
1084
+ }, z.core.$strip>>;
1085
+ }, z.core.$strip>>;
1086
+ }, z.core.$strip>;
1087
+ status: z.ZodEnum<{
1088
+ active: "active";
1089
+ archived: "archived";
1090
+ }>;
1091
+ name: z.ZodString;
1092
+ 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>>;
1093
+ }, z.core.$strip>;
1094
+ type CreateReceiptTemplateInput = z.input<typeof createReceiptTemplateInputSchema>;
1095
+ declare const createReceiptTemplateResponseSchema: z.ZodObject<{
1096
+ id: z.ZodString;
1097
+ pointOfSale: z.ZodOptional<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>>>;
1098
+ name: z.ZodString;
1099
+ schemaVersion: z.ZodLiteral<1>;
1100
+ definition: z.ZodObject<{
1101
+ schemaVersion: z.ZodLiteral<1>;
1102
+ blocks: z.ZodArray<z.ZodObject<{
1103
+ id: z.ZodString;
1104
+ type: z.ZodEnum<{
1105
+ title: "title";
1106
+ order_type: "order_type";
1107
+ logo: "logo";
1108
+ order_identity: "order_identity";
1109
+ order_times: "order_times";
1110
+ customer: "customer";
1111
+ address: "address";
1112
+ items: "items";
1113
+ notes: "notes";
1114
+ totals: "totals";
1115
+ payment: "payment";
1116
+ separator: "separator";
1117
+ spacer: "spacer";
1118
+ custom_text: "custom_text";
1119
+ }>;
1120
+ enabled: z.ZodBoolean;
1121
+ condition: z.ZodObject<{
1122
+ type: z.ZodEnum<{
1123
+ order_type: "order_type";
1124
+ always: "always";
1125
+ data_present: "data_present";
1126
+ has_discount: "has_discount";
1127
+ has_fee: "has_fee";
1128
+ has_payment: "has_payment";
1129
+ source: "source";
1130
+ }>;
1131
+ values: z.ZodArray<z.ZodString>;
1132
+ }, z.core.$strip>;
1133
+ style: z.ZodObject<{
1134
+ alignment: z.ZodEnum<{
1135
+ left: "left";
1136
+ center: "center";
1137
+ right: "right";
1138
+ }>;
1139
+ size: z.ZodEnum<{
1140
+ normal: "normal";
1141
+ tall: "tall";
1142
+ double: "double";
1143
+ double_tall: "double_tall";
1144
+ }>;
1145
+ bold: z.ZodBoolean;
1146
+ underline: z.ZodBoolean;
1147
+ inverse: z.ZodBoolean;
1148
+ }, z.core.$strip>;
1149
+ labelStyle: z.ZodDefault<z.ZodObject<{
1150
+ alignment: z.ZodEnum<{
1151
+ left: "left";
1152
+ center: "center";
1153
+ right: "right";
1154
+ }>;
1155
+ size: z.ZodEnum<{
1156
+ normal: "normal";
1157
+ tall: "tall";
1158
+ double: "double";
1159
+ double_tall: "double_tall";
1160
+ }>;
1161
+ bold: z.ZodBoolean;
1162
+ underline: z.ZodBoolean;
1163
+ inverse: z.ZodBoolean;
1164
+ }, z.core.$strip>>;
1165
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
1166
+ inline: "inline";
1167
+ stacked: "stacked";
1168
+ }>>;
1169
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1170
+ visibleFields: z.ZodArray<z.ZodEnum<{
1171
+ order_type: "order_type";
1172
+ order_sequence: "order_sequence";
1173
+ order_display_id: "order_display_id";
1174
+ requested_time: "requested_time";
1175
+ preparation_time: "preparation_time";
1176
+ customer_name: "customer_name";
1177
+ customer_phone: "customer_phone";
1178
+ customer_contact_number: "customer_contact_number";
1179
+ customer_access_code: "customer_access_code";
1180
+ address_line_1: "address_line_1";
1181
+ address_line_2: "address_line_2";
1182
+ address_city: "address_city";
1183
+ address_postal_code: "address_postal_code";
1184
+ item_variant: "item_variant";
1185
+ item_removals: "item_removals";
1186
+ item_modifiers: "item_modifiers";
1187
+ item_notes: "item_notes";
1188
+ item_prices: "item_prices";
1189
+ subtotal: "subtotal";
1190
+ discount: "discount";
1191
+ fees: "fees";
1192
+ total: "total";
1193
+ taxes: "taxes";
1194
+ payment_status: "payment_status";
1195
+ payment_method: "payment_method";
1196
+ order_notes: "order_notes";
1197
+ kitchen_notes: "kitchen_notes";
1198
+ delivery_notes: "delivery_notes";
1199
+ partner: "partner";
1200
+ }>>;
1201
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1202
+ spacerLines: z.ZodNullable<z.ZodNumber>;
1203
+ separatorCharacter: z.ZodNullable<z.ZodString>;
1204
+ segments: z.ZodArray<z.ZodObject<{
1205
+ type: z.ZodEnum<{
1206
+ literal: "literal";
1207
+ field: "field";
1208
+ }>;
1209
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
1210
+ field: z.ZodNullable<z.ZodEnum<{
1211
+ order_type: "order_type";
1212
+ order_sequence: "order_sequence";
1213
+ order_display_id: "order_display_id";
1214
+ requested_time: "requested_time";
1215
+ preparation_time: "preparation_time";
1216
+ customer_name: "customer_name";
1217
+ customer_phone: "customer_phone";
1218
+ customer_contact_number: "customer_contact_number";
1219
+ customer_access_code: "customer_access_code";
1220
+ address_line_1: "address_line_1";
1221
+ address_line_2: "address_line_2";
1222
+ address_city: "address_city";
1223
+ address_postal_code: "address_postal_code";
1224
+ item_variant: "item_variant";
1225
+ item_removals: "item_removals";
1226
+ item_modifiers: "item_modifiers";
1227
+ item_notes: "item_notes";
1228
+ item_prices: "item_prices";
1229
+ subtotal: "subtotal";
1230
+ discount: "discount";
1231
+ fees: "fees";
1232
+ total: "total";
1233
+ taxes: "taxes";
1234
+ payment_status: "payment_status";
1235
+ payment_method: "payment_method";
1236
+ order_notes: "order_notes";
1237
+ kitchen_notes: "kitchen_notes";
1238
+ delivery_notes: "delivery_notes";
1239
+ partner: "partner";
1240
+ }>>;
1241
+ }, z.core.$strip>>;
1242
+ }, z.core.$strip>>;
1243
+ }, z.core.$strip>;
1244
+ status: z.ZodEnum<{
1245
+ active: "active";
1246
+ archived: "archived";
1247
+ }>;
1248
+ archivedAt: z.ZodNullable<z.ZodString>;
1249
+ revision: z.ZodNumber;
1250
+ createdAt: z.ZodString;
1251
+ updatedAt: z.ZodString;
1252
+ usageCount: z.ZodNumber;
1253
+ }, z.core.$strip>;
1254
+ type CreateReceiptTemplateResponse = z.infer<typeof createReceiptTemplateResponseSchema>;
1255
+ declare class CreateReceiptTemplate extends AbstractApiRequest<typeof createReceiptTemplateInputSchema, typeof createReceiptTemplateResponseSchema> {
1256
+ readonly method: "POST";
1257
+ readonly contentType: "application/json";
1258
+ readonly accept: "application/json";
1259
+ readonly inputSchema: z.ZodObject<{
1260
+ definition: z.ZodObject<{
1261
+ schemaVersion: z.ZodLiteral<1>;
1262
+ blocks: z.ZodArray<z.ZodObject<{
1263
+ id: z.ZodString;
1264
+ type: z.ZodEnum<{
1265
+ title: "title";
1266
+ order_type: "order_type";
1267
+ logo: "logo";
1268
+ order_identity: "order_identity";
1269
+ order_times: "order_times";
1270
+ customer: "customer";
1271
+ address: "address";
1272
+ items: "items";
1273
+ notes: "notes";
1274
+ totals: "totals";
1275
+ payment: "payment";
1276
+ separator: "separator";
1277
+ spacer: "spacer";
1278
+ custom_text: "custom_text";
1279
+ }>;
1280
+ enabled: z.ZodBoolean;
1281
+ condition: z.ZodObject<{
1282
+ type: z.ZodEnum<{
1283
+ order_type: "order_type";
1284
+ always: "always";
1285
+ data_present: "data_present";
1286
+ has_discount: "has_discount";
1287
+ has_fee: "has_fee";
1288
+ has_payment: "has_payment";
1289
+ source: "source";
1290
+ }>;
1291
+ values: z.ZodArray<z.ZodString>;
1292
+ }, z.core.$strip>;
1293
+ style: z.ZodObject<{
1294
+ alignment: z.ZodEnum<{
1295
+ left: "left";
1296
+ center: "center";
1297
+ right: "right";
1298
+ }>;
1299
+ size: z.ZodEnum<{
1300
+ normal: "normal";
1301
+ tall: "tall";
1302
+ double: "double";
1303
+ double_tall: "double_tall";
1304
+ }>;
1305
+ bold: z.ZodBoolean;
1306
+ underline: z.ZodBoolean;
1307
+ inverse: z.ZodBoolean;
1308
+ }, z.core.$strip>;
1309
+ labelStyle: z.ZodDefault<z.ZodObject<{
1310
+ alignment: z.ZodEnum<{
1311
+ left: "left";
1312
+ center: "center";
1313
+ right: "right";
1314
+ }>;
1315
+ size: z.ZodEnum<{
1316
+ normal: "normal";
1317
+ tall: "tall";
1318
+ double: "double";
1319
+ double_tall: "double_tall";
1320
+ }>;
1321
+ bold: z.ZodBoolean;
1322
+ underline: z.ZodBoolean;
1323
+ inverse: z.ZodBoolean;
1324
+ }, z.core.$strip>>;
1325
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
1326
+ inline: "inline";
1327
+ stacked: "stacked";
1328
+ }>>;
1329
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1330
+ visibleFields: z.ZodArray<z.ZodEnum<{
1331
+ order_type: "order_type";
1332
+ order_sequence: "order_sequence";
1333
+ order_display_id: "order_display_id";
1334
+ requested_time: "requested_time";
1335
+ preparation_time: "preparation_time";
1336
+ customer_name: "customer_name";
1337
+ customer_phone: "customer_phone";
1338
+ customer_contact_number: "customer_contact_number";
1339
+ customer_access_code: "customer_access_code";
1340
+ address_line_1: "address_line_1";
1341
+ address_line_2: "address_line_2";
1342
+ address_city: "address_city";
1343
+ address_postal_code: "address_postal_code";
1344
+ item_variant: "item_variant";
1345
+ item_removals: "item_removals";
1346
+ item_modifiers: "item_modifiers";
1347
+ item_notes: "item_notes";
1348
+ item_prices: "item_prices";
1349
+ subtotal: "subtotal";
1350
+ discount: "discount";
1351
+ fees: "fees";
1352
+ total: "total";
1353
+ taxes: "taxes";
1354
+ payment_status: "payment_status";
1355
+ payment_method: "payment_method";
1356
+ order_notes: "order_notes";
1357
+ kitchen_notes: "kitchen_notes";
1358
+ delivery_notes: "delivery_notes";
1359
+ partner: "partner";
1360
+ }>>;
1361
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1362
+ spacerLines: z.ZodNullable<z.ZodNumber>;
1363
+ separatorCharacter: z.ZodNullable<z.ZodString>;
1364
+ segments: z.ZodArray<z.ZodObject<{
1365
+ type: z.ZodEnum<{
1366
+ literal: "literal";
1367
+ field: "field";
1368
+ }>;
1369
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
1370
+ field: z.ZodNullable<z.ZodEnum<{
1371
+ order_type: "order_type";
1372
+ order_sequence: "order_sequence";
1373
+ order_display_id: "order_display_id";
1374
+ requested_time: "requested_time";
1375
+ preparation_time: "preparation_time";
1376
+ customer_name: "customer_name";
1377
+ customer_phone: "customer_phone";
1378
+ customer_contact_number: "customer_contact_number";
1379
+ customer_access_code: "customer_access_code";
1380
+ address_line_1: "address_line_1";
1381
+ address_line_2: "address_line_2";
1382
+ address_city: "address_city";
1383
+ address_postal_code: "address_postal_code";
1384
+ item_variant: "item_variant";
1385
+ item_removals: "item_removals";
1386
+ item_modifiers: "item_modifiers";
1387
+ item_notes: "item_notes";
1388
+ item_prices: "item_prices";
1389
+ subtotal: "subtotal";
1390
+ discount: "discount";
1391
+ fees: "fees";
1392
+ total: "total";
1393
+ taxes: "taxes";
1394
+ payment_status: "payment_status";
1395
+ payment_method: "payment_method";
1396
+ order_notes: "order_notes";
1397
+ kitchen_notes: "kitchen_notes";
1398
+ delivery_notes: "delivery_notes";
1399
+ partner: "partner";
1400
+ }>>;
1401
+ }, z.core.$strip>>;
1402
+ }, z.core.$strip>>;
1403
+ }, z.core.$strip>;
1404
+ status: z.ZodEnum<{
1405
+ active: "active";
1406
+ archived: "archived";
1407
+ }>;
1408
+ name: z.ZodString;
1409
+ 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>>;
1410
+ }, z.core.$strip>;
1411
+ readonly outputSchema: z.ZodObject<{
1412
+ id: z.ZodString;
1413
+ pointOfSale: z.ZodOptional<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>>>;
1414
+ name: z.ZodString;
1415
+ schemaVersion: z.ZodLiteral<1>;
1416
+ definition: z.ZodObject<{
1417
+ schemaVersion: z.ZodLiteral<1>;
1418
+ blocks: z.ZodArray<z.ZodObject<{
1419
+ id: z.ZodString;
1420
+ type: z.ZodEnum<{
1421
+ title: "title";
1422
+ order_type: "order_type";
1423
+ logo: "logo";
1424
+ order_identity: "order_identity";
1425
+ order_times: "order_times";
1426
+ customer: "customer";
1427
+ address: "address";
1428
+ items: "items";
1429
+ notes: "notes";
1430
+ totals: "totals";
1431
+ payment: "payment";
1432
+ separator: "separator";
1433
+ spacer: "spacer";
1434
+ custom_text: "custom_text";
1435
+ }>;
1436
+ enabled: z.ZodBoolean;
1437
+ condition: z.ZodObject<{
1438
+ type: z.ZodEnum<{
1439
+ order_type: "order_type";
1440
+ always: "always";
1441
+ data_present: "data_present";
1442
+ has_discount: "has_discount";
1443
+ has_fee: "has_fee";
1444
+ has_payment: "has_payment";
1445
+ source: "source";
1446
+ }>;
1447
+ values: z.ZodArray<z.ZodString>;
1448
+ }, z.core.$strip>;
1449
+ style: z.ZodObject<{
1450
+ alignment: z.ZodEnum<{
1451
+ left: "left";
1452
+ center: "center";
1453
+ right: "right";
1454
+ }>;
1455
+ size: z.ZodEnum<{
1456
+ normal: "normal";
1457
+ tall: "tall";
1458
+ double: "double";
1459
+ double_tall: "double_tall";
1460
+ }>;
1461
+ bold: z.ZodBoolean;
1462
+ underline: z.ZodBoolean;
1463
+ inverse: z.ZodBoolean;
1464
+ }, z.core.$strip>;
1465
+ labelStyle: z.ZodDefault<z.ZodObject<{
1466
+ alignment: z.ZodEnum<{
1467
+ left: "left";
1468
+ center: "center";
1469
+ right: "right";
1470
+ }>;
1471
+ size: z.ZodEnum<{
1472
+ normal: "normal";
1473
+ tall: "tall";
1474
+ double: "double";
1475
+ double_tall: "double_tall";
1476
+ }>;
1477
+ bold: z.ZodBoolean;
1478
+ underline: z.ZodBoolean;
1479
+ inverse: z.ZodBoolean;
1480
+ }, z.core.$strip>>;
1481
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
1482
+ inline: "inline";
1483
+ stacked: "stacked";
1484
+ }>>;
1485
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1486
+ visibleFields: z.ZodArray<z.ZodEnum<{
1487
+ order_type: "order_type";
1488
+ order_sequence: "order_sequence";
1489
+ order_display_id: "order_display_id";
1490
+ requested_time: "requested_time";
1491
+ preparation_time: "preparation_time";
1492
+ customer_name: "customer_name";
1493
+ customer_phone: "customer_phone";
1494
+ customer_contact_number: "customer_contact_number";
1495
+ customer_access_code: "customer_access_code";
1496
+ address_line_1: "address_line_1";
1497
+ address_line_2: "address_line_2";
1498
+ address_city: "address_city";
1499
+ address_postal_code: "address_postal_code";
1500
+ item_variant: "item_variant";
1501
+ item_removals: "item_removals";
1502
+ item_modifiers: "item_modifiers";
1503
+ item_notes: "item_notes";
1504
+ item_prices: "item_prices";
1505
+ subtotal: "subtotal";
1506
+ discount: "discount";
1507
+ fees: "fees";
1508
+ total: "total";
1509
+ taxes: "taxes";
1510
+ payment_status: "payment_status";
1511
+ payment_method: "payment_method";
1512
+ order_notes: "order_notes";
1513
+ kitchen_notes: "kitchen_notes";
1514
+ delivery_notes: "delivery_notes";
1515
+ partner: "partner";
1516
+ }>>;
1517
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1518
+ spacerLines: z.ZodNullable<z.ZodNumber>;
1519
+ separatorCharacter: z.ZodNullable<z.ZodString>;
1520
+ segments: z.ZodArray<z.ZodObject<{
1521
+ type: z.ZodEnum<{
1522
+ literal: "literal";
1523
+ field: "field";
1524
+ }>;
1525
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
1526
+ field: z.ZodNullable<z.ZodEnum<{
1527
+ order_type: "order_type";
1528
+ order_sequence: "order_sequence";
1529
+ order_display_id: "order_display_id";
1530
+ requested_time: "requested_time";
1531
+ preparation_time: "preparation_time";
1532
+ customer_name: "customer_name";
1533
+ customer_phone: "customer_phone";
1534
+ customer_contact_number: "customer_contact_number";
1535
+ customer_access_code: "customer_access_code";
1536
+ address_line_1: "address_line_1";
1537
+ address_line_2: "address_line_2";
1538
+ address_city: "address_city";
1539
+ address_postal_code: "address_postal_code";
1540
+ item_variant: "item_variant";
1541
+ item_removals: "item_removals";
1542
+ item_modifiers: "item_modifiers";
1543
+ item_notes: "item_notes";
1544
+ item_prices: "item_prices";
1545
+ subtotal: "subtotal";
1546
+ discount: "discount";
1547
+ fees: "fees";
1548
+ total: "total";
1549
+ taxes: "taxes";
1550
+ payment_status: "payment_status";
1551
+ payment_method: "payment_method";
1552
+ order_notes: "order_notes";
1553
+ kitchen_notes: "kitchen_notes";
1554
+ delivery_notes: "delivery_notes";
1555
+ partner: "partner";
1556
+ }>>;
1557
+ }, z.core.$strip>>;
1558
+ }, z.core.$strip>>;
1559
+ }, z.core.$strip>;
1560
+ status: z.ZodEnum<{
1561
+ active: "active";
1562
+ archived: "archived";
1563
+ }>;
1564
+ archivedAt: z.ZodNullable<z.ZodString>;
1565
+ revision: z.ZodNumber;
1566
+ createdAt: z.ZodString;
1567
+ updatedAt: z.ZodString;
1568
+ usageCount: z.ZodNumber;
1569
+ }, z.core.$strip>;
1570
+ readonly querySchema: undefined;
1571
+ readonly headersSchema: undefined;
1572
+ constructor(input: CreateReceiptTemplateInput);
1573
+ getPath(): string;
1574
+ }
1575
+
1576
+ declare const inputSchema$2: z.ZodUndefined;
1577
+ declare class GetReceiptTemplateDetails extends AbstractApiRequest<typeof inputSchema$2, typeof receiptTemplateSchema> {
1578
+ private readonly receiptTemplateId;
1579
+ readonly method: "GET";
1580
+ readonly contentType: "application/json";
1581
+ readonly accept: "application/json";
1582
+ readonly inputSchema: z.ZodUndefined;
1583
+ readonly outputSchema: z.ZodObject<{
1584
+ id: z.ZodString;
1585
+ pointOfSale: z.ZodOptional<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>>>;
1586
+ name: z.ZodString;
1587
+ schemaVersion: z.ZodLiteral<1>;
1588
+ definition: z.ZodObject<{
1589
+ schemaVersion: z.ZodLiteral<1>;
1590
+ blocks: z.ZodArray<z.ZodObject<{
1591
+ id: z.ZodString;
1592
+ type: z.ZodEnum<{
1593
+ title: "title";
1594
+ order_type: "order_type";
1595
+ logo: "logo";
1596
+ order_identity: "order_identity";
1597
+ order_times: "order_times";
1598
+ customer: "customer";
1599
+ address: "address";
1600
+ items: "items";
1601
+ notes: "notes";
1602
+ totals: "totals";
1603
+ payment: "payment";
1604
+ separator: "separator";
1605
+ spacer: "spacer";
1606
+ custom_text: "custom_text";
1607
+ }>;
1608
+ enabled: z.ZodBoolean;
1609
+ condition: z.ZodObject<{
1610
+ type: z.ZodEnum<{
1611
+ order_type: "order_type";
1612
+ always: "always";
1613
+ data_present: "data_present";
1614
+ has_discount: "has_discount";
1615
+ has_fee: "has_fee";
1616
+ has_payment: "has_payment";
1617
+ source: "source";
1618
+ }>;
1619
+ values: z.ZodArray<z.ZodString>;
1620
+ }, z.core.$strip>;
1621
+ style: z.ZodObject<{
1622
+ alignment: z.ZodEnum<{
1623
+ left: "left";
1624
+ center: "center";
1625
+ right: "right";
1626
+ }>;
1627
+ size: z.ZodEnum<{
1628
+ normal: "normal";
1629
+ tall: "tall";
1630
+ double: "double";
1631
+ double_tall: "double_tall";
1632
+ }>;
1633
+ bold: z.ZodBoolean;
1634
+ underline: z.ZodBoolean;
1635
+ inverse: z.ZodBoolean;
1636
+ }, z.core.$strip>;
1637
+ labelStyle: z.ZodDefault<z.ZodObject<{
1638
+ alignment: z.ZodEnum<{
1639
+ left: "left";
1640
+ center: "center";
1641
+ right: "right";
1642
+ }>;
1643
+ size: z.ZodEnum<{
1644
+ normal: "normal";
1645
+ tall: "tall";
1646
+ double: "double";
1647
+ double_tall: "double_tall";
1648
+ }>;
1649
+ bold: z.ZodBoolean;
1650
+ underline: z.ZodBoolean;
1651
+ inverse: z.ZodBoolean;
1652
+ }, z.core.$strip>>;
1653
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
1654
+ inline: "inline";
1655
+ stacked: "stacked";
1656
+ }>>;
1657
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1658
+ visibleFields: z.ZodArray<z.ZodEnum<{
1659
+ order_type: "order_type";
1660
+ order_sequence: "order_sequence";
1661
+ order_display_id: "order_display_id";
1662
+ requested_time: "requested_time";
1663
+ preparation_time: "preparation_time";
1664
+ customer_name: "customer_name";
1665
+ customer_phone: "customer_phone";
1666
+ customer_contact_number: "customer_contact_number";
1667
+ customer_access_code: "customer_access_code";
1668
+ address_line_1: "address_line_1";
1669
+ address_line_2: "address_line_2";
1670
+ address_city: "address_city";
1671
+ address_postal_code: "address_postal_code";
1672
+ item_variant: "item_variant";
1673
+ item_removals: "item_removals";
1674
+ item_modifiers: "item_modifiers";
1675
+ item_notes: "item_notes";
1676
+ item_prices: "item_prices";
1677
+ subtotal: "subtotal";
1678
+ discount: "discount";
1679
+ fees: "fees";
1680
+ total: "total";
1681
+ taxes: "taxes";
1682
+ payment_status: "payment_status";
1683
+ payment_method: "payment_method";
1684
+ order_notes: "order_notes";
1685
+ kitchen_notes: "kitchen_notes";
1686
+ delivery_notes: "delivery_notes";
1687
+ partner: "partner";
1688
+ }>>;
1689
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1690
+ spacerLines: z.ZodNullable<z.ZodNumber>;
1691
+ separatorCharacter: z.ZodNullable<z.ZodString>;
1692
+ segments: z.ZodArray<z.ZodObject<{
1693
+ type: z.ZodEnum<{
1694
+ literal: "literal";
1695
+ field: "field";
1696
+ }>;
1697
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
1698
+ field: z.ZodNullable<z.ZodEnum<{
1699
+ order_type: "order_type";
1700
+ order_sequence: "order_sequence";
1701
+ order_display_id: "order_display_id";
1702
+ requested_time: "requested_time";
1703
+ preparation_time: "preparation_time";
1704
+ customer_name: "customer_name";
1705
+ customer_phone: "customer_phone";
1706
+ customer_contact_number: "customer_contact_number";
1707
+ customer_access_code: "customer_access_code";
1708
+ address_line_1: "address_line_1";
1709
+ address_line_2: "address_line_2";
1710
+ address_city: "address_city";
1711
+ address_postal_code: "address_postal_code";
1712
+ item_variant: "item_variant";
1713
+ item_removals: "item_removals";
1714
+ item_modifiers: "item_modifiers";
1715
+ item_notes: "item_notes";
1716
+ item_prices: "item_prices";
1717
+ subtotal: "subtotal";
1718
+ discount: "discount";
1719
+ fees: "fees";
1720
+ total: "total";
1721
+ taxes: "taxes";
1722
+ payment_status: "payment_status";
1723
+ payment_method: "payment_method";
1724
+ order_notes: "order_notes";
1725
+ kitchen_notes: "kitchen_notes";
1726
+ delivery_notes: "delivery_notes";
1727
+ partner: "partner";
1728
+ }>>;
1729
+ }, z.core.$strip>>;
1730
+ }, z.core.$strip>>;
1731
+ }, z.core.$strip>;
1732
+ status: z.ZodEnum<{
1733
+ active: "active";
1734
+ archived: "archived";
1735
+ }>;
1736
+ archivedAt: z.ZodNullable<z.ZodString>;
1737
+ revision: z.ZodNumber;
1738
+ createdAt: z.ZodString;
1739
+ updatedAt: z.ZodString;
1740
+ usageCount: z.ZodNumber;
1741
+ }, z.core.$strip>;
1742
+ readonly querySchema: undefined;
1743
+ readonly headersSchema: undefined;
1744
+ constructor(receiptTemplateId: string);
1745
+ getPath(): string;
1746
+ }
1747
+
1748
+ declare const inputSchema$1: z.ZodUndefined;
1749
+ declare const getReceiptTemplatesResponseSchema: z.ZodObject<{
1750
+ data: z.ZodArray<z.ZodObject<{
1751
+ id: z.ZodString;
1752
+ pointOfSale: z.ZodOptional<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>>>;
1753
+ name: z.ZodString;
1754
+ schemaVersion: z.ZodLiteral<1>;
1755
+ definition: z.ZodObject<{
1756
+ schemaVersion: z.ZodLiteral<1>;
1757
+ blocks: z.ZodArray<z.ZodObject<{
1758
+ id: z.ZodString;
1759
+ type: z.ZodEnum<{
1760
+ title: "title";
1761
+ order_type: "order_type";
1762
+ logo: "logo";
1763
+ order_identity: "order_identity";
1764
+ order_times: "order_times";
1765
+ customer: "customer";
1766
+ address: "address";
1767
+ items: "items";
1768
+ notes: "notes";
1769
+ totals: "totals";
1770
+ payment: "payment";
1771
+ separator: "separator";
1772
+ spacer: "spacer";
1773
+ custom_text: "custom_text";
1774
+ }>;
1775
+ enabled: z.ZodBoolean;
1776
+ condition: z.ZodObject<{
1777
+ type: z.ZodEnum<{
1778
+ order_type: "order_type";
1779
+ always: "always";
1780
+ data_present: "data_present";
1781
+ has_discount: "has_discount";
1782
+ has_fee: "has_fee";
1783
+ has_payment: "has_payment";
1784
+ source: "source";
1785
+ }>;
1786
+ values: z.ZodArray<z.ZodString>;
1787
+ }, z.core.$strip>;
1788
+ style: z.ZodObject<{
1789
+ alignment: z.ZodEnum<{
1790
+ left: "left";
1791
+ center: "center";
1792
+ right: "right";
1793
+ }>;
1794
+ size: z.ZodEnum<{
1795
+ normal: "normal";
1796
+ tall: "tall";
1797
+ double: "double";
1798
+ double_tall: "double_tall";
1799
+ }>;
1800
+ bold: z.ZodBoolean;
1801
+ underline: z.ZodBoolean;
1802
+ inverse: z.ZodBoolean;
1803
+ }, z.core.$strip>;
1804
+ labelStyle: z.ZodDefault<z.ZodObject<{
1805
+ alignment: z.ZodEnum<{
1806
+ left: "left";
1807
+ center: "center";
1808
+ right: "right";
1809
+ }>;
1810
+ size: z.ZodEnum<{
1811
+ normal: "normal";
1812
+ tall: "tall";
1813
+ double: "double";
1814
+ double_tall: "double_tall";
1815
+ }>;
1816
+ bold: z.ZodBoolean;
1817
+ underline: z.ZodBoolean;
1818
+ inverse: z.ZodBoolean;
1819
+ }, z.core.$strip>>;
1820
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
1821
+ inline: "inline";
1822
+ stacked: "stacked";
1823
+ }>>;
1824
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1825
+ visibleFields: z.ZodArray<z.ZodEnum<{
1826
+ order_type: "order_type";
1827
+ order_sequence: "order_sequence";
1828
+ order_display_id: "order_display_id";
1829
+ requested_time: "requested_time";
1830
+ preparation_time: "preparation_time";
1831
+ customer_name: "customer_name";
1832
+ customer_phone: "customer_phone";
1833
+ customer_contact_number: "customer_contact_number";
1834
+ customer_access_code: "customer_access_code";
1835
+ address_line_1: "address_line_1";
1836
+ address_line_2: "address_line_2";
1837
+ address_city: "address_city";
1838
+ address_postal_code: "address_postal_code";
1839
+ item_variant: "item_variant";
1840
+ item_removals: "item_removals";
1841
+ item_modifiers: "item_modifiers";
1842
+ item_notes: "item_notes";
1843
+ item_prices: "item_prices";
1844
+ subtotal: "subtotal";
1845
+ discount: "discount";
1846
+ fees: "fees";
1847
+ total: "total";
1848
+ taxes: "taxes";
1849
+ payment_status: "payment_status";
1850
+ payment_method: "payment_method";
1851
+ order_notes: "order_notes";
1852
+ kitchen_notes: "kitchen_notes";
1853
+ delivery_notes: "delivery_notes";
1854
+ partner: "partner";
1855
+ }>>;
1856
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1857
+ spacerLines: z.ZodNullable<z.ZodNumber>;
1858
+ separatorCharacter: z.ZodNullable<z.ZodString>;
1859
+ segments: z.ZodArray<z.ZodObject<{
1860
+ type: z.ZodEnum<{
1861
+ literal: "literal";
1862
+ field: "field";
1863
+ }>;
1864
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
1865
+ field: z.ZodNullable<z.ZodEnum<{
1866
+ order_type: "order_type";
1867
+ order_sequence: "order_sequence";
1868
+ order_display_id: "order_display_id";
1869
+ requested_time: "requested_time";
1870
+ preparation_time: "preparation_time";
1871
+ customer_name: "customer_name";
1872
+ customer_phone: "customer_phone";
1873
+ customer_contact_number: "customer_contact_number";
1874
+ customer_access_code: "customer_access_code";
1875
+ address_line_1: "address_line_1";
1876
+ address_line_2: "address_line_2";
1877
+ address_city: "address_city";
1878
+ address_postal_code: "address_postal_code";
1879
+ item_variant: "item_variant";
1880
+ item_removals: "item_removals";
1881
+ item_modifiers: "item_modifiers";
1882
+ item_notes: "item_notes";
1883
+ item_prices: "item_prices";
1884
+ subtotal: "subtotal";
1885
+ discount: "discount";
1886
+ fees: "fees";
1887
+ total: "total";
1888
+ taxes: "taxes";
1889
+ payment_status: "payment_status";
1890
+ payment_method: "payment_method";
1891
+ order_notes: "order_notes";
1892
+ kitchen_notes: "kitchen_notes";
1893
+ delivery_notes: "delivery_notes";
1894
+ partner: "partner";
1895
+ }>>;
1896
+ }, z.core.$strip>>;
1897
+ }, z.core.$strip>>;
1898
+ }, z.core.$strip>;
1899
+ status: z.ZodEnum<{
1900
+ active: "active";
1901
+ archived: "archived";
1902
+ }>;
1903
+ archivedAt: z.ZodNullable<z.ZodString>;
1904
+ revision: z.ZodNumber;
1905
+ createdAt: z.ZodString;
1906
+ updatedAt: z.ZodString;
1907
+ usageCount: z.ZodNumber;
1908
+ }, z.core.$strip>>;
1909
+ pagination: z.ZodObject<{
1910
+ from: z.ZodCoercedNumber<unknown>;
1911
+ to: z.ZodCoercedNumber<unknown>;
1912
+ itemsPerPage: z.ZodCoercedNumber<unknown>;
1913
+ totalItems: z.ZodCoercedNumber<unknown>;
1914
+ currentPage: z.ZodCoercedNumber<unknown>;
1915
+ lastPage: z.ZodCoercedNumber<unknown>;
1916
+ }, z.core.$strip>;
1917
+ }, z.core.$strip>;
1918
+ declare class GetReceiptTemplates extends AbstractApiRequest<typeof inputSchema$1, typeof getReceiptTemplatesResponseSchema, z.infer<typeof receiptTemplatesQuerySchema>> {
1919
+ readonly method: "GET";
1920
+ readonly contentType: "application/json";
1921
+ readonly accept: "application/json";
1922
+ readonly inputSchema: z.ZodUndefined;
1923
+ readonly outputSchema: z.ZodObject<{
1924
+ data: z.ZodArray<z.ZodObject<{
1925
+ id: z.ZodString;
1926
+ pointOfSale: z.ZodOptional<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>>>;
1927
+ name: z.ZodString;
1928
+ schemaVersion: z.ZodLiteral<1>;
1929
+ definition: z.ZodObject<{
1930
+ schemaVersion: z.ZodLiteral<1>;
1931
+ blocks: z.ZodArray<z.ZodObject<{
1932
+ id: z.ZodString;
1933
+ type: z.ZodEnum<{
1934
+ title: "title";
1935
+ order_type: "order_type";
1936
+ logo: "logo";
1937
+ order_identity: "order_identity";
1938
+ order_times: "order_times";
1939
+ customer: "customer";
1940
+ address: "address";
1941
+ items: "items";
1942
+ notes: "notes";
1943
+ totals: "totals";
1944
+ payment: "payment";
1945
+ separator: "separator";
1946
+ spacer: "spacer";
1947
+ custom_text: "custom_text";
1948
+ }>;
1949
+ enabled: z.ZodBoolean;
1950
+ condition: z.ZodObject<{
1951
+ type: z.ZodEnum<{
1952
+ order_type: "order_type";
1953
+ always: "always";
1954
+ data_present: "data_present";
1955
+ has_discount: "has_discount";
1956
+ has_fee: "has_fee";
1957
+ has_payment: "has_payment";
1958
+ source: "source";
1959
+ }>;
1960
+ values: z.ZodArray<z.ZodString>;
1961
+ }, z.core.$strip>;
1962
+ style: z.ZodObject<{
1963
+ alignment: z.ZodEnum<{
1964
+ left: "left";
1965
+ center: "center";
1966
+ right: "right";
1967
+ }>;
1968
+ size: z.ZodEnum<{
1969
+ normal: "normal";
1970
+ tall: "tall";
1971
+ double: "double";
1972
+ double_tall: "double_tall";
1973
+ }>;
1974
+ bold: z.ZodBoolean;
1975
+ underline: z.ZodBoolean;
1976
+ inverse: z.ZodBoolean;
1977
+ }, z.core.$strip>;
1978
+ labelStyle: z.ZodDefault<z.ZodObject<{
1979
+ alignment: z.ZodEnum<{
1980
+ left: "left";
1981
+ center: "center";
1982
+ right: "right";
1983
+ }>;
1984
+ size: z.ZodEnum<{
1985
+ normal: "normal";
1986
+ tall: "tall";
1987
+ double: "double";
1988
+ double_tall: "double_tall";
1989
+ }>;
1990
+ bold: z.ZodBoolean;
1991
+ underline: z.ZodBoolean;
1992
+ inverse: z.ZodBoolean;
1993
+ }, z.core.$strip>>;
1994
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
1995
+ inline: "inline";
1996
+ stacked: "stacked";
1997
+ }>>;
1998
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1999
+ visibleFields: z.ZodArray<z.ZodEnum<{
2000
+ order_type: "order_type";
2001
+ order_sequence: "order_sequence";
2002
+ order_display_id: "order_display_id";
2003
+ requested_time: "requested_time";
2004
+ preparation_time: "preparation_time";
2005
+ customer_name: "customer_name";
2006
+ customer_phone: "customer_phone";
2007
+ customer_contact_number: "customer_contact_number";
2008
+ customer_access_code: "customer_access_code";
2009
+ address_line_1: "address_line_1";
2010
+ address_line_2: "address_line_2";
2011
+ address_city: "address_city";
2012
+ address_postal_code: "address_postal_code";
2013
+ item_variant: "item_variant";
2014
+ item_removals: "item_removals";
2015
+ item_modifiers: "item_modifiers";
2016
+ item_notes: "item_notes";
2017
+ item_prices: "item_prices";
2018
+ subtotal: "subtotal";
2019
+ discount: "discount";
2020
+ fees: "fees";
2021
+ total: "total";
2022
+ taxes: "taxes";
2023
+ payment_status: "payment_status";
2024
+ payment_method: "payment_method";
2025
+ order_notes: "order_notes";
2026
+ kitchen_notes: "kitchen_notes";
2027
+ delivery_notes: "delivery_notes";
2028
+ partner: "partner";
2029
+ }>>;
2030
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2031
+ spacerLines: z.ZodNullable<z.ZodNumber>;
2032
+ separatorCharacter: z.ZodNullable<z.ZodString>;
2033
+ segments: z.ZodArray<z.ZodObject<{
2034
+ type: z.ZodEnum<{
2035
+ literal: "literal";
2036
+ field: "field";
2037
+ }>;
2038
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
2039
+ field: z.ZodNullable<z.ZodEnum<{
2040
+ order_type: "order_type";
2041
+ order_sequence: "order_sequence";
2042
+ order_display_id: "order_display_id";
2043
+ requested_time: "requested_time";
2044
+ preparation_time: "preparation_time";
2045
+ customer_name: "customer_name";
2046
+ customer_phone: "customer_phone";
2047
+ customer_contact_number: "customer_contact_number";
2048
+ customer_access_code: "customer_access_code";
2049
+ address_line_1: "address_line_1";
2050
+ address_line_2: "address_line_2";
2051
+ address_city: "address_city";
2052
+ address_postal_code: "address_postal_code";
2053
+ item_variant: "item_variant";
2054
+ item_removals: "item_removals";
2055
+ item_modifiers: "item_modifiers";
2056
+ item_notes: "item_notes";
2057
+ item_prices: "item_prices";
2058
+ subtotal: "subtotal";
2059
+ discount: "discount";
2060
+ fees: "fees";
2061
+ total: "total";
2062
+ taxes: "taxes";
2063
+ payment_status: "payment_status";
2064
+ payment_method: "payment_method";
2065
+ order_notes: "order_notes";
2066
+ kitchen_notes: "kitchen_notes";
2067
+ delivery_notes: "delivery_notes";
2068
+ partner: "partner";
2069
+ }>>;
2070
+ }, z.core.$strip>>;
2071
+ }, z.core.$strip>>;
2072
+ }, z.core.$strip>;
2073
+ status: z.ZodEnum<{
2074
+ active: "active";
2075
+ archived: "archived";
2076
+ }>;
2077
+ archivedAt: z.ZodNullable<z.ZodString>;
2078
+ revision: z.ZodNumber;
2079
+ createdAt: z.ZodString;
2080
+ updatedAt: z.ZodString;
2081
+ usageCount: z.ZodNumber;
2082
+ }, z.core.$strip>>;
2083
+ pagination: z.ZodObject<{
2084
+ from: z.ZodCoercedNumber<unknown>;
2085
+ to: z.ZodCoercedNumber<unknown>;
2086
+ itemsPerPage: z.ZodCoercedNumber<unknown>;
2087
+ totalItems: z.ZodCoercedNumber<unknown>;
2088
+ currentPage: z.ZodCoercedNumber<unknown>;
2089
+ lastPage: z.ZodCoercedNumber<unknown>;
2090
+ }, z.core.$strip>;
2091
+ }, z.core.$strip>;
2092
+ readonly querySchema: z.ZodObject<{
2093
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2094
+ name: z.ZodOptional<z.ZodString>;
2095
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2096
+ active: "active";
2097
+ archived: "archived";
2098
+ }>, z.ZodArray<z.ZodEnum<{
2099
+ active: "active";
2100
+ archived: "archived";
2101
+ }>>]>>;
2102
+ 'order[name]': z.ZodOptional<z.ZodEnum<{
2103
+ asc: "asc";
2104
+ desc: "desc";
2105
+ }>>;
2106
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
2107
+ asc: "asc";
2108
+ desc: "desc";
2109
+ }>>;
2110
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
2111
+ asc: "asc";
2112
+ desc: "desc";
2113
+ }>>;
2114
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2115
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
2116
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
2117
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
2118
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
2119
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
2120
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
2121
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
2122
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
2123
+ }, z.core.$strip>;
2124
+ readonly headersSchema: undefined;
2125
+ readonly listItemSchema: z.ZodObject<{
2126
+ id: z.ZodString;
2127
+ pointOfSale: z.ZodOptional<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>>>;
2128
+ name: z.ZodString;
2129
+ schemaVersion: z.ZodLiteral<1>;
2130
+ definition: z.ZodObject<{
2131
+ schemaVersion: z.ZodLiteral<1>;
2132
+ blocks: z.ZodArray<z.ZodObject<{
2133
+ id: z.ZodString;
2134
+ type: z.ZodEnum<{
2135
+ title: "title";
2136
+ order_type: "order_type";
2137
+ logo: "logo";
2138
+ order_identity: "order_identity";
2139
+ order_times: "order_times";
2140
+ customer: "customer";
2141
+ address: "address";
2142
+ items: "items";
2143
+ notes: "notes";
2144
+ totals: "totals";
2145
+ payment: "payment";
2146
+ separator: "separator";
2147
+ spacer: "spacer";
2148
+ custom_text: "custom_text";
2149
+ }>;
2150
+ enabled: z.ZodBoolean;
2151
+ condition: z.ZodObject<{
2152
+ type: z.ZodEnum<{
2153
+ order_type: "order_type";
2154
+ always: "always";
2155
+ data_present: "data_present";
2156
+ has_discount: "has_discount";
2157
+ has_fee: "has_fee";
2158
+ has_payment: "has_payment";
2159
+ source: "source";
2160
+ }>;
2161
+ values: z.ZodArray<z.ZodString>;
2162
+ }, z.core.$strip>;
2163
+ style: z.ZodObject<{
2164
+ alignment: z.ZodEnum<{
2165
+ left: "left";
2166
+ center: "center";
2167
+ right: "right";
2168
+ }>;
2169
+ size: z.ZodEnum<{
2170
+ normal: "normal";
2171
+ tall: "tall";
2172
+ double: "double";
2173
+ double_tall: "double_tall";
2174
+ }>;
2175
+ bold: z.ZodBoolean;
2176
+ underline: z.ZodBoolean;
2177
+ inverse: z.ZodBoolean;
2178
+ }, z.core.$strip>;
2179
+ labelStyle: z.ZodDefault<z.ZodObject<{
2180
+ alignment: z.ZodEnum<{
2181
+ left: "left";
2182
+ center: "center";
2183
+ right: "right";
2184
+ }>;
2185
+ size: z.ZodEnum<{
2186
+ normal: "normal";
2187
+ tall: "tall";
2188
+ double: "double";
2189
+ double_tall: "double_tall";
2190
+ }>;
2191
+ bold: z.ZodBoolean;
2192
+ underline: z.ZodBoolean;
2193
+ inverse: z.ZodBoolean;
2194
+ }, z.core.$strip>>;
2195
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
2196
+ inline: "inline";
2197
+ stacked: "stacked";
2198
+ }>>;
2199
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
2200
+ visibleFields: z.ZodArray<z.ZodEnum<{
2201
+ order_type: "order_type";
2202
+ order_sequence: "order_sequence";
2203
+ order_display_id: "order_display_id";
2204
+ requested_time: "requested_time";
2205
+ preparation_time: "preparation_time";
2206
+ customer_name: "customer_name";
2207
+ customer_phone: "customer_phone";
2208
+ customer_contact_number: "customer_contact_number";
2209
+ customer_access_code: "customer_access_code";
2210
+ address_line_1: "address_line_1";
2211
+ address_line_2: "address_line_2";
2212
+ address_city: "address_city";
2213
+ address_postal_code: "address_postal_code";
2214
+ item_variant: "item_variant";
2215
+ item_removals: "item_removals";
2216
+ item_modifiers: "item_modifiers";
2217
+ item_notes: "item_notes";
2218
+ item_prices: "item_prices";
2219
+ subtotal: "subtotal";
2220
+ discount: "discount";
2221
+ fees: "fees";
2222
+ total: "total";
2223
+ taxes: "taxes";
2224
+ payment_status: "payment_status";
2225
+ payment_method: "payment_method";
2226
+ order_notes: "order_notes";
2227
+ kitchen_notes: "kitchen_notes";
2228
+ delivery_notes: "delivery_notes";
2229
+ partner: "partner";
2230
+ }>>;
2231
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2232
+ spacerLines: z.ZodNullable<z.ZodNumber>;
2233
+ separatorCharacter: z.ZodNullable<z.ZodString>;
2234
+ segments: z.ZodArray<z.ZodObject<{
2235
+ type: z.ZodEnum<{
2236
+ literal: "literal";
2237
+ field: "field";
2238
+ }>;
2239
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
2240
+ field: z.ZodNullable<z.ZodEnum<{
2241
+ order_type: "order_type";
2242
+ order_sequence: "order_sequence";
2243
+ order_display_id: "order_display_id";
2244
+ requested_time: "requested_time";
2245
+ preparation_time: "preparation_time";
2246
+ customer_name: "customer_name";
2247
+ customer_phone: "customer_phone";
2248
+ customer_contact_number: "customer_contact_number";
2249
+ customer_access_code: "customer_access_code";
2250
+ address_line_1: "address_line_1";
2251
+ address_line_2: "address_line_2";
2252
+ address_city: "address_city";
2253
+ address_postal_code: "address_postal_code";
2254
+ item_variant: "item_variant";
2255
+ item_removals: "item_removals";
2256
+ item_modifiers: "item_modifiers";
2257
+ item_notes: "item_notes";
2258
+ item_prices: "item_prices";
2259
+ subtotal: "subtotal";
2260
+ discount: "discount";
2261
+ fees: "fees";
2262
+ total: "total";
2263
+ taxes: "taxes";
2264
+ payment_status: "payment_status";
2265
+ payment_method: "payment_method";
2266
+ order_notes: "order_notes";
2267
+ kitchen_notes: "kitchen_notes";
2268
+ delivery_notes: "delivery_notes";
2269
+ partner: "partner";
2270
+ }>>;
2271
+ }, z.core.$strip>>;
2272
+ }, z.core.$strip>>;
2273
+ }, z.core.$strip>;
2274
+ status: z.ZodEnum<{
2275
+ active: "active";
2276
+ archived: "archived";
2277
+ }>;
2278
+ archivedAt: z.ZodNullable<z.ZodString>;
2279
+ revision: z.ZodNumber;
2280
+ createdAt: z.ZodString;
2281
+ updatedAt: z.ZodString;
2282
+ usageCount: z.ZodNumber;
2283
+ }, z.core.$strip>;
2284
+ readonly paginationDefaultEnabled = true;
2285
+ constructor(options?: {
2286
+ query?: z.infer<typeof receiptTemplatesQuerySchema>;
2287
+ });
2288
+ getPath(): string;
2289
+ }
2290
+
2291
+ declare const inputSchema: z.ZodUndefined;
2292
+ declare const outputSchema: z.ZodArray<z.ZodObject<{
2293
+ id: z.ZodString;
2294
+ pointOfSale: z.ZodOptional<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>>>;
2295
+ name: z.ZodString;
2296
+ schemaVersion: z.ZodLiteral<1>;
2297
+ definition: z.ZodObject<{
2298
+ schemaVersion: z.ZodLiteral<1>;
2299
+ blocks: z.ZodArray<z.ZodObject<{
2300
+ id: z.ZodString;
2301
+ type: z.ZodEnum<{
2302
+ title: "title";
2303
+ order_type: "order_type";
2304
+ logo: "logo";
2305
+ order_identity: "order_identity";
2306
+ order_times: "order_times";
2307
+ customer: "customer";
2308
+ address: "address";
2309
+ items: "items";
2310
+ notes: "notes";
2311
+ totals: "totals";
2312
+ payment: "payment";
2313
+ separator: "separator";
2314
+ spacer: "spacer";
2315
+ custom_text: "custom_text";
2316
+ }>;
2317
+ enabled: z.ZodBoolean;
2318
+ condition: z.ZodObject<{
2319
+ type: z.ZodEnum<{
2320
+ order_type: "order_type";
2321
+ always: "always";
2322
+ data_present: "data_present";
2323
+ has_discount: "has_discount";
2324
+ has_fee: "has_fee";
2325
+ has_payment: "has_payment";
2326
+ source: "source";
2327
+ }>;
2328
+ values: z.ZodArray<z.ZodString>;
2329
+ }, z.core.$strip>;
2330
+ style: z.ZodObject<{
2331
+ alignment: z.ZodEnum<{
2332
+ left: "left";
2333
+ center: "center";
2334
+ right: "right";
2335
+ }>;
2336
+ size: z.ZodEnum<{
2337
+ normal: "normal";
2338
+ tall: "tall";
2339
+ double: "double";
2340
+ double_tall: "double_tall";
2341
+ }>;
2342
+ bold: z.ZodBoolean;
2343
+ underline: z.ZodBoolean;
2344
+ inverse: z.ZodBoolean;
2345
+ }, z.core.$strip>;
2346
+ labelStyle: z.ZodDefault<z.ZodObject<{
2347
+ alignment: z.ZodEnum<{
2348
+ left: "left";
2349
+ center: "center";
2350
+ right: "right";
2351
+ }>;
2352
+ size: z.ZodEnum<{
2353
+ normal: "normal";
2354
+ tall: "tall";
2355
+ double: "double";
2356
+ double_tall: "double_tall";
2357
+ }>;
2358
+ bold: z.ZodBoolean;
2359
+ underline: z.ZodBoolean;
2360
+ inverse: z.ZodBoolean;
2361
+ }, z.core.$strip>>;
2362
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
2363
+ inline: "inline";
2364
+ stacked: "stacked";
2365
+ }>>;
2366
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
2367
+ visibleFields: z.ZodArray<z.ZodEnum<{
2368
+ order_type: "order_type";
2369
+ order_sequence: "order_sequence";
2370
+ order_display_id: "order_display_id";
2371
+ requested_time: "requested_time";
2372
+ preparation_time: "preparation_time";
2373
+ customer_name: "customer_name";
2374
+ customer_phone: "customer_phone";
2375
+ customer_contact_number: "customer_contact_number";
2376
+ customer_access_code: "customer_access_code";
2377
+ address_line_1: "address_line_1";
2378
+ address_line_2: "address_line_2";
2379
+ address_city: "address_city";
2380
+ address_postal_code: "address_postal_code";
2381
+ item_variant: "item_variant";
2382
+ item_removals: "item_removals";
2383
+ item_modifiers: "item_modifiers";
2384
+ item_notes: "item_notes";
2385
+ item_prices: "item_prices";
2386
+ subtotal: "subtotal";
2387
+ discount: "discount";
2388
+ fees: "fees";
2389
+ total: "total";
2390
+ taxes: "taxes";
2391
+ payment_status: "payment_status";
2392
+ payment_method: "payment_method";
2393
+ order_notes: "order_notes";
2394
+ kitchen_notes: "kitchen_notes";
2395
+ delivery_notes: "delivery_notes";
2396
+ partner: "partner";
2397
+ }>>;
2398
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2399
+ spacerLines: z.ZodNullable<z.ZodNumber>;
2400
+ separatorCharacter: z.ZodNullable<z.ZodString>;
2401
+ segments: z.ZodArray<z.ZodObject<{
2402
+ type: z.ZodEnum<{
2403
+ literal: "literal";
2404
+ field: "field";
2405
+ }>;
2406
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
2407
+ field: z.ZodNullable<z.ZodEnum<{
2408
+ order_type: "order_type";
2409
+ order_sequence: "order_sequence";
2410
+ order_display_id: "order_display_id";
2411
+ requested_time: "requested_time";
2412
+ preparation_time: "preparation_time";
2413
+ customer_name: "customer_name";
2414
+ customer_phone: "customer_phone";
2415
+ customer_contact_number: "customer_contact_number";
2416
+ customer_access_code: "customer_access_code";
2417
+ address_line_1: "address_line_1";
2418
+ address_line_2: "address_line_2";
2419
+ address_city: "address_city";
2420
+ address_postal_code: "address_postal_code";
2421
+ item_variant: "item_variant";
2422
+ item_removals: "item_removals";
2423
+ item_modifiers: "item_modifiers";
2424
+ item_notes: "item_notes";
2425
+ item_prices: "item_prices";
2426
+ subtotal: "subtotal";
2427
+ discount: "discount";
2428
+ fees: "fees";
2429
+ total: "total";
2430
+ taxes: "taxes";
2431
+ payment_status: "payment_status";
2432
+ payment_method: "payment_method";
2433
+ order_notes: "order_notes";
2434
+ kitchen_notes: "kitchen_notes";
2435
+ delivery_notes: "delivery_notes";
2436
+ partner: "partner";
2437
+ }>>;
2438
+ }, z.core.$strip>>;
2439
+ }, z.core.$strip>>;
2440
+ }, z.core.$strip>;
2441
+ status: z.ZodEnum<{
2442
+ active: "active";
2443
+ archived: "archived";
2444
+ }>;
2445
+ archivedAt: z.ZodNullable<z.ZodString>;
2446
+ revision: z.ZodNumber;
2447
+ createdAt: z.ZodString;
2448
+ updatedAt: z.ZodString;
2449
+ usageCount: z.ZodNumber;
2450
+ }, z.core.$strip>>;
2451
+ declare class GetReceiptTemplatesFromPointOfSale extends AbstractApiRequest<typeof inputSchema, typeof outputSchema, z.infer<typeof receiptTemplatesQuerySchema>> {
2452
+ private readonly pointOfSaleId;
2453
+ readonly method: "GET";
2454
+ readonly contentType: "application/json";
2455
+ readonly accept: "application/json";
2456
+ readonly inputSchema: z.ZodUndefined;
2457
+ readonly outputSchema: z.ZodArray<z.ZodObject<{
2458
+ id: z.ZodString;
2459
+ pointOfSale: z.ZodOptional<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>>>;
2460
+ name: z.ZodString;
2461
+ schemaVersion: z.ZodLiteral<1>;
2462
+ definition: z.ZodObject<{
2463
+ schemaVersion: z.ZodLiteral<1>;
2464
+ blocks: z.ZodArray<z.ZodObject<{
2465
+ id: z.ZodString;
2466
+ type: z.ZodEnum<{
2467
+ title: "title";
2468
+ order_type: "order_type";
2469
+ logo: "logo";
2470
+ order_identity: "order_identity";
2471
+ order_times: "order_times";
2472
+ customer: "customer";
2473
+ address: "address";
2474
+ items: "items";
2475
+ notes: "notes";
2476
+ totals: "totals";
2477
+ payment: "payment";
2478
+ separator: "separator";
2479
+ spacer: "spacer";
2480
+ custom_text: "custom_text";
2481
+ }>;
2482
+ enabled: z.ZodBoolean;
2483
+ condition: z.ZodObject<{
2484
+ type: z.ZodEnum<{
2485
+ order_type: "order_type";
2486
+ always: "always";
2487
+ data_present: "data_present";
2488
+ has_discount: "has_discount";
2489
+ has_fee: "has_fee";
2490
+ has_payment: "has_payment";
2491
+ source: "source";
2492
+ }>;
2493
+ values: z.ZodArray<z.ZodString>;
2494
+ }, z.core.$strip>;
2495
+ style: z.ZodObject<{
2496
+ alignment: z.ZodEnum<{
2497
+ left: "left";
2498
+ center: "center";
2499
+ right: "right";
2500
+ }>;
2501
+ size: z.ZodEnum<{
2502
+ normal: "normal";
2503
+ tall: "tall";
2504
+ double: "double";
2505
+ double_tall: "double_tall";
2506
+ }>;
2507
+ bold: z.ZodBoolean;
2508
+ underline: z.ZodBoolean;
2509
+ inverse: z.ZodBoolean;
2510
+ }, z.core.$strip>;
2511
+ labelStyle: z.ZodDefault<z.ZodObject<{
2512
+ alignment: z.ZodEnum<{
2513
+ left: "left";
2514
+ center: "center";
2515
+ right: "right";
2516
+ }>;
2517
+ size: z.ZodEnum<{
2518
+ normal: "normal";
2519
+ tall: "tall";
2520
+ double: "double";
2521
+ double_tall: "double_tall";
2522
+ }>;
2523
+ bold: z.ZodBoolean;
2524
+ underline: z.ZodBoolean;
2525
+ inverse: z.ZodBoolean;
2526
+ }, z.core.$strip>>;
2527
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
2528
+ inline: "inline";
2529
+ stacked: "stacked";
2530
+ }>>;
2531
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
2532
+ visibleFields: z.ZodArray<z.ZodEnum<{
2533
+ order_type: "order_type";
2534
+ order_sequence: "order_sequence";
2535
+ order_display_id: "order_display_id";
2536
+ requested_time: "requested_time";
2537
+ preparation_time: "preparation_time";
2538
+ customer_name: "customer_name";
2539
+ customer_phone: "customer_phone";
2540
+ customer_contact_number: "customer_contact_number";
2541
+ customer_access_code: "customer_access_code";
2542
+ address_line_1: "address_line_1";
2543
+ address_line_2: "address_line_2";
2544
+ address_city: "address_city";
2545
+ address_postal_code: "address_postal_code";
2546
+ item_variant: "item_variant";
2547
+ item_removals: "item_removals";
2548
+ item_modifiers: "item_modifiers";
2549
+ item_notes: "item_notes";
2550
+ item_prices: "item_prices";
2551
+ subtotal: "subtotal";
2552
+ discount: "discount";
2553
+ fees: "fees";
2554
+ total: "total";
2555
+ taxes: "taxes";
2556
+ payment_status: "payment_status";
2557
+ payment_method: "payment_method";
2558
+ order_notes: "order_notes";
2559
+ kitchen_notes: "kitchen_notes";
2560
+ delivery_notes: "delivery_notes";
2561
+ partner: "partner";
2562
+ }>>;
2563
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2564
+ spacerLines: z.ZodNullable<z.ZodNumber>;
2565
+ separatorCharacter: z.ZodNullable<z.ZodString>;
2566
+ segments: z.ZodArray<z.ZodObject<{
2567
+ type: z.ZodEnum<{
2568
+ literal: "literal";
2569
+ field: "field";
2570
+ }>;
2571
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
2572
+ field: z.ZodNullable<z.ZodEnum<{
2573
+ order_type: "order_type";
2574
+ order_sequence: "order_sequence";
2575
+ order_display_id: "order_display_id";
2576
+ requested_time: "requested_time";
2577
+ preparation_time: "preparation_time";
2578
+ customer_name: "customer_name";
2579
+ customer_phone: "customer_phone";
2580
+ customer_contact_number: "customer_contact_number";
2581
+ customer_access_code: "customer_access_code";
2582
+ address_line_1: "address_line_1";
2583
+ address_line_2: "address_line_2";
2584
+ address_city: "address_city";
2585
+ address_postal_code: "address_postal_code";
2586
+ item_variant: "item_variant";
2587
+ item_removals: "item_removals";
2588
+ item_modifiers: "item_modifiers";
2589
+ item_notes: "item_notes";
2590
+ item_prices: "item_prices";
2591
+ subtotal: "subtotal";
2592
+ discount: "discount";
2593
+ fees: "fees";
2594
+ total: "total";
2595
+ taxes: "taxes";
2596
+ payment_status: "payment_status";
2597
+ payment_method: "payment_method";
2598
+ order_notes: "order_notes";
2599
+ kitchen_notes: "kitchen_notes";
2600
+ delivery_notes: "delivery_notes";
2601
+ partner: "partner";
2602
+ }>>;
2603
+ }, z.core.$strip>>;
2604
+ }, z.core.$strip>>;
2605
+ }, z.core.$strip>;
2606
+ status: z.ZodEnum<{
2607
+ active: "active";
2608
+ archived: "archived";
2609
+ }>;
2610
+ archivedAt: z.ZodNullable<z.ZodString>;
2611
+ revision: z.ZodNumber;
2612
+ createdAt: z.ZodString;
2613
+ updatedAt: z.ZodString;
2614
+ usageCount: z.ZodNumber;
2615
+ }, z.core.$strip>>;
2616
+ readonly querySchema: z.ZodObject<{
2617
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2618
+ name: z.ZodOptional<z.ZodString>;
2619
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2620
+ active: "active";
2621
+ archived: "archived";
2622
+ }>, z.ZodArray<z.ZodEnum<{
2623
+ active: "active";
2624
+ archived: "archived";
2625
+ }>>]>>;
2626
+ 'order[name]': z.ZodOptional<z.ZodEnum<{
2627
+ asc: "asc";
2628
+ desc: "desc";
2629
+ }>>;
2630
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
2631
+ asc: "asc";
2632
+ desc: "desc";
2633
+ }>>;
2634
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
2635
+ asc: "asc";
2636
+ desc: "desc";
2637
+ }>>;
2638
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2639
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
2640
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
2641
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
2642
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
2643
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
2644
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
2645
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
2646
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
2647
+ }, z.core.$strip>;
2648
+ readonly headersSchema: undefined;
2649
+ constructor(pointOfSaleId: string, options?: {
2650
+ query?: z.infer<typeof receiptTemplatesQuerySchema>;
2651
+ });
2652
+ getPath(): string;
2653
+ }
2654
+
2655
+ declare const updateReceiptTemplateInputSchema: z.ZodObject<{
2656
+ definition: z.ZodOptional<z.ZodObject<{
2657
+ schemaVersion: z.ZodLiteral<1>;
2658
+ blocks: z.ZodArray<z.ZodObject<{
2659
+ id: z.ZodString;
2660
+ type: z.ZodEnum<{
2661
+ title: "title";
2662
+ order_type: "order_type";
2663
+ logo: "logo";
2664
+ order_identity: "order_identity";
2665
+ order_times: "order_times";
2666
+ customer: "customer";
2667
+ address: "address";
2668
+ items: "items";
2669
+ notes: "notes";
2670
+ totals: "totals";
2671
+ payment: "payment";
2672
+ separator: "separator";
2673
+ spacer: "spacer";
2674
+ custom_text: "custom_text";
2675
+ }>;
2676
+ enabled: z.ZodBoolean;
2677
+ condition: z.ZodObject<{
2678
+ type: z.ZodEnum<{
2679
+ order_type: "order_type";
2680
+ always: "always";
2681
+ data_present: "data_present";
2682
+ has_discount: "has_discount";
2683
+ has_fee: "has_fee";
2684
+ has_payment: "has_payment";
2685
+ source: "source";
2686
+ }>;
2687
+ values: z.ZodArray<z.ZodString>;
2688
+ }, z.core.$strip>;
2689
+ style: z.ZodObject<{
2690
+ alignment: z.ZodEnum<{
2691
+ left: "left";
2692
+ center: "center";
2693
+ right: "right";
2694
+ }>;
2695
+ size: z.ZodEnum<{
2696
+ normal: "normal";
2697
+ tall: "tall";
2698
+ double: "double";
2699
+ double_tall: "double_tall";
2700
+ }>;
2701
+ bold: z.ZodBoolean;
2702
+ underline: z.ZodBoolean;
2703
+ inverse: z.ZodBoolean;
2704
+ }, z.core.$strip>;
2705
+ labelStyle: z.ZodDefault<z.ZodObject<{
2706
+ alignment: z.ZodEnum<{
2707
+ left: "left";
2708
+ center: "center";
2709
+ right: "right";
2710
+ }>;
2711
+ size: z.ZodEnum<{
2712
+ normal: "normal";
2713
+ tall: "tall";
2714
+ double: "double";
2715
+ double_tall: "double_tall";
2716
+ }>;
2717
+ bold: z.ZodBoolean;
2718
+ underline: z.ZodBoolean;
2719
+ inverse: z.ZodBoolean;
2720
+ }, z.core.$strip>>;
2721
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
2722
+ inline: "inline";
2723
+ stacked: "stacked";
2724
+ }>>;
2725
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
2726
+ visibleFields: z.ZodArray<z.ZodEnum<{
2727
+ order_type: "order_type";
2728
+ order_sequence: "order_sequence";
2729
+ order_display_id: "order_display_id";
2730
+ requested_time: "requested_time";
2731
+ preparation_time: "preparation_time";
2732
+ customer_name: "customer_name";
2733
+ customer_phone: "customer_phone";
2734
+ customer_contact_number: "customer_contact_number";
2735
+ customer_access_code: "customer_access_code";
2736
+ address_line_1: "address_line_1";
2737
+ address_line_2: "address_line_2";
2738
+ address_city: "address_city";
2739
+ address_postal_code: "address_postal_code";
2740
+ item_variant: "item_variant";
2741
+ item_removals: "item_removals";
2742
+ item_modifiers: "item_modifiers";
2743
+ item_notes: "item_notes";
2744
+ item_prices: "item_prices";
2745
+ subtotal: "subtotal";
2746
+ discount: "discount";
2747
+ fees: "fees";
2748
+ total: "total";
2749
+ taxes: "taxes";
2750
+ payment_status: "payment_status";
2751
+ payment_method: "payment_method";
2752
+ order_notes: "order_notes";
2753
+ kitchen_notes: "kitchen_notes";
2754
+ delivery_notes: "delivery_notes";
2755
+ partner: "partner";
2756
+ }>>;
2757
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2758
+ spacerLines: z.ZodNullable<z.ZodNumber>;
2759
+ separatorCharacter: z.ZodNullable<z.ZodString>;
2760
+ segments: z.ZodArray<z.ZodObject<{
2761
+ type: z.ZodEnum<{
2762
+ literal: "literal";
2763
+ field: "field";
2764
+ }>;
2765
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
2766
+ field: z.ZodNullable<z.ZodEnum<{
2767
+ order_type: "order_type";
2768
+ order_sequence: "order_sequence";
2769
+ order_display_id: "order_display_id";
2770
+ requested_time: "requested_time";
2771
+ preparation_time: "preparation_time";
2772
+ customer_name: "customer_name";
2773
+ customer_phone: "customer_phone";
2774
+ customer_contact_number: "customer_contact_number";
2775
+ customer_access_code: "customer_access_code";
2776
+ address_line_1: "address_line_1";
2777
+ address_line_2: "address_line_2";
2778
+ address_city: "address_city";
2779
+ address_postal_code: "address_postal_code";
2780
+ item_variant: "item_variant";
2781
+ item_removals: "item_removals";
2782
+ item_modifiers: "item_modifiers";
2783
+ item_notes: "item_notes";
2784
+ item_prices: "item_prices";
2785
+ subtotal: "subtotal";
2786
+ discount: "discount";
2787
+ fees: "fees";
2788
+ total: "total";
2789
+ taxes: "taxes";
2790
+ payment_status: "payment_status";
2791
+ payment_method: "payment_method";
2792
+ order_notes: "order_notes";
2793
+ kitchen_notes: "kitchen_notes";
2794
+ delivery_notes: "delivery_notes";
2795
+ partner: "partner";
2796
+ }>>;
2797
+ }, z.core.$strip>>;
2798
+ }, z.core.$strip>>;
2799
+ }, z.core.$strip>>;
2800
+ status: z.ZodOptional<z.ZodEnum<{
2801
+ active: "active";
2802
+ archived: "archived";
2803
+ }>>;
2804
+ name: z.ZodOptional<z.ZodString>;
2805
+ }, z.core.$strip>;
2806
+ type UpdateReceiptTemplateInput = z.input<typeof updateReceiptTemplateInputSchema>;
2807
+ declare const updateReceiptTemplateHeadersSchema: z.ZodObject<{
2808
+ 'If-Match': z.ZodString;
2809
+ }, z.core.$strip>;
2810
+ declare class UpdateReceiptTemplate extends AbstractApiRequest<typeof updateReceiptTemplateInputSchema, typeof receiptTemplateSchema, unknown, z.infer<typeof updateReceiptTemplateHeadersSchema>> {
2811
+ private readonly receiptTemplateId;
2812
+ readonly method: "PATCH";
2813
+ readonly contentType: "application/merge-patch+json";
2814
+ readonly accept: "application/json";
2815
+ readonly inputSchema: z.ZodObject<{
2816
+ definition: z.ZodOptional<z.ZodObject<{
2817
+ schemaVersion: z.ZodLiteral<1>;
2818
+ blocks: z.ZodArray<z.ZodObject<{
2819
+ id: z.ZodString;
2820
+ type: z.ZodEnum<{
2821
+ title: "title";
2822
+ order_type: "order_type";
2823
+ logo: "logo";
2824
+ order_identity: "order_identity";
2825
+ order_times: "order_times";
2826
+ customer: "customer";
2827
+ address: "address";
2828
+ items: "items";
2829
+ notes: "notes";
2830
+ totals: "totals";
2831
+ payment: "payment";
2832
+ separator: "separator";
2833
+ spacer: "spacer";
2834
+ custom_text: "custom_text";
2835
+ }>;
2836
+ enabled: z.ZodBoolean;
2837
+ condition: z.ZodObject<{
2838
+ type: z.ZodEnum<{
2839
+ order_type: "order_type";
2840
+ always: "always";
2841
+ data_present: "data_present";
2842
+ has_discount: "has_discount";
2843
+ has_fee: "has_fee";
2844
+ has_payment: "has_payment";
2845
+ source: "source";
2846
+ }>;
2847
+ values: z.ZodArray<z.ZodString>;
2848
+ }, z.core.$strip>;
2849
+ style: z.ZodObject<{
2850
+ alignment: z.ZodEnum<{
2851
+ left: "left";
2852
+ center: "center";
2853
+ right: "right";
2854
+ }>;
2855
+ size: z.ZodEnum<{
2856
+ normal: "normal";
2857
+ tall: "tall";
2858
+ double: "double";
2859
+ double_tall: "double_tall";
2860
+ }>;
2861
+ bold: z.ZodBoolean;
2862
+ underline: z.ZodBoolean;
2863
+ inverse: z.ZodBoolean;
2864
+ }, z.core.$strip>;
2865
+ labelStyle: z.ZodDefault<z.ZodObject<{
2866
+ alignment: z.ZodEnum<{
2867
+ left: "left";
2868
+ center: "center";
2869
+ right: "right";
2870
+ }>;
2871
+ size: z.ZodEnum<{
2872
+ normal: "normal";
2873
+ tall: "tall";
2874
+ double: "double";
2875
+ double_tall: "double_tall";
2876
+ }>;
2877
+ bold: z.ZodBoolean;
2878
+ underline: z.ZodBoolean;
2879
+ inverse: z.ZodBoolean;
2880
+ }, z.core.$strip>>;
2881
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
2882
+ inline: "inline";
2883
+ stacked: "stacked";
2884
+ }>>;
2885
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
2886
+ visibleFields: z.ZodArray<z.ZodEnum<{
2887
+ order_type: "order_type";
2888
+ order_sequence: "order_sequence";
2889
+ order_display_id: "order_display_id";
2890
+ requested_time: "requested_time";
2891
+ preparation_time: "preparation_time";
2892
+ customer_name: "customer_name";
2893
+ customer_phone: "customer_phone";
2894
+ customer_contact_number: "customer_contact_number";
2895
+ customer_access_code: "customer_access_code";
2896
+ address_line_1: "address_line_1";
2897
+ address_line_2: "address_line_2";
2898
+ address_city: "address_city";
2899
+ address_postal_code: "address_postal_code";
2900
+ item_variant: "item_variant";
2901
+ item_removals: "item_removals";
2902
+ item_modifiers: "item_modifiers";
2903
+ item_notes: "item_notes";
2904
+ item_prices: "item_prices";
2905
+ subtotal: "subtotal";
2906
+ discount: "discount";
2907
+ fees: "fees";
2908
+ total: "total";
2909
+ taxes: "taxes";
2910
+ payment_status: "payment_status";
2911
+ payment_method: "payment_method";
2912
+ order_notes: "order_notes";
2913
+ kitchen_notes: "kitchen_notes";
2914
+ delivery_notes: "delivery_notes";
2915
+ partner: "partner";
2916
+ }>>;
2917
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2918
+ spacerLines: z.ZodNullable<z.ZodNumber>;
2919
+ separatorCharacter: z.ZodNullable<z.ZodString>;
2920
+ segments: z.ZodArray<z.ZodObject<{
2921
+ type: z.ZodEnum<{
2922
+ literal: "literal";
2923
+ field: "field";
2924
+ }>;
2925
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
2926
+ field: z.ZodNullable<z.ZodEnum<{
2927
+ order_type: "order_type";
2928
+ order_sequence: "order_sequence";
2929
+ order_display_id: "order_display_id";
2930
+ requested_time: "requested_time";
2931
+ preparation_time: "preparation_time";
2932
+ customer_name: "customer_name";
2933
+ customer_phone: "customer_phone";
2934
+ customer_contact_number: "customer_contact_number";
2935
+ customer_access_code: "customer_access_code";
2936
+ address_line_1: "address_line_1";
2937
+ address_line_2: "address_line_2";
2938
+ address_city: "address_city";
2939
+ address_postal_code: "address_postal_code";
2940
+ item_variant: "item_variant";
2941
+ item_removals: "item_removals";
2942
+ item_modifiers: "item_modifiers";
2943
+ item_notes: "item_notes";
2944
+ item_prices: "item_prices";
2945
+ subtotal: "subtotal";
2946
+ discount: "discount";
2947
+ fees: "fees";
2948
+ total: "total";
2949
+ taxes: "taxes";
2950
+ payment_status: "payment_status";
2951
+ payment_method: "payment_method";
2952
+ order_notes: "order_notes";
2953
+ kitchen_notes: "kitchen_notes";
2954
+ delivery_notes: "delivery_notes";
2955
+ partner: "partner";
2956
+ }>>;
2957
+ }, z.core.$strip>>;
2958
+ }, z.core.$strip>>;
2959
+ }, z.core.$strip>>;
2960
+ status: z.ZodOptional<z.ZodEnum<{
2961
+ active: "active";
2962
+ archived: "archived";
2963
+ }>>;
2964
+ name: z.ZodOptional<z.ZodString>;
2965
+ }, z.core.$strip>;
2966
+ readonly outputSchema: z.ZodObject<{
2967
+ id: z.ZodString;
2968
+ pointOfSale: z.ZodOptional<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>>>;
2969
+ name: z.ZodString;
2970
+ schemaVersion: z.ZodLiteral<1>;
2971
+ definition: z.ZodObject<{
2972
+ schemaVersion: z.ZodLiteral<1>;
2973
+ blocks: z.ZodArray<z.ZodObject<{
2974
+ id: z.ZodString;
2975
+ type: z.ZodEnum<{
2976
+ title: "title";
2977
+ order_type: "order_type";
2978
+ logo: "logo";
2979
+ order_identity: "order_identity";
2980
+ order_times: "order_times";
2981
+ customer: "customer";
2982
+ address: "address";
2983
+ items: "items";
2984
+ notes: "notes";
2985
+ totals: "totals";
2986
+ payment: "payment";
2987
+ separator: "separator";
2988
+ spacer: "spacer";
2989
+ custom_text: "custom_text";
2990
+ }>;
2991
+ enabled: z.ZodBoolean;
2992
+ condition: z.ZodObject<{
2993
+ type: z.ZodEnum<{
2994
+ order_type: "order_type";
2995
+ always: "always";
2996
+ data_present: "data_present";
2997
+ has_discount: "has_discount";
2998
+ has_fee: "has_fee";
2999
+ has_payment: "has_payment";
3000
+ source: "source";
3001
+ }>;
3002
+ values: z.ZodArray<z.ZodString>;
3003
+ }, z.core.$strip>;
3004
+ style: z.ZodObject<{
3005
+ alignment: z.ZodEnum<{
3006
+ left: "left";
3007
+ center: "center";
3008
+ right: "right";
3009
+ }>;
3010
+ size: z.ZodEnum<{
3011
+ normal: "normal";
3012
+ tall: "tall";
3013
+ double: "double";
3014
+ double_tall: "double_tall";
3015
+ }>;
3016
+ bold: z.ZodBoolean;
3017
+ underline: z.ZodBoolean;
3018
+ inverse: z.ZodBoolean;
3019
+ }, z.core.$strip>;
3020
+ labelStyle: z.ZodDefault<z.ZodObject<{
3021
+ alignment: z.ZodEnum<{
3022
+ left: "left";
3023
+ center: "center";
3024
+ right: "right";
3025
+ }>;
3026
+ size: z.ZodEnum<{
3027
+ normal: "normal";
3028
+ tall: "tall";
3029
+ double: "double";
3030
+ double_tall: "double_tall";
3031
+ }>;
3032
+ bold: z.ZodBoolean;
3033
+ underline: z.ZodBoolean;
3034
+ inverse: z.ZodBoolean;
3035
+ }, z.core.$strip>>;
3036
+ fieldLayout: z.ZodDefault<z.ZodEnum<{
3037
+ inline: "inline";
3038
+ stacked: "stacked";
3039
+ }>>;
3040
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
3041
+ visibleFields: z.ZodArray<z.ZodEnum<{
3042
+ order_type: "order_type";
3043
+ order_sequence: "order_sequence";
3044
+ order_display_id: "order_display_id";
3045
+ requested_time: "requested_time";
3046
+ preparation_time: "preparation_time";
3047
+ customer_name: "customer_name";
3048
+ customer_phone: "customer_phone";
3049
+ customer_contact_number: "customer_contact_number";
3050
+ customer_access_code: "customer_access_code";
3051
+ address_line_1: "address_line_1";
3052
+ address_line_2: "address_line_2";
3053
+ address_city: "address_city";
3054
+ address_postal_code: "address_postal_code";
3055
+ item_variant: "item_variant";
3056
+ item_removals: "item_removals";
3057
+ item_modifiers: "item_modifiers";
3058
+ item_notes: "item_notes";
3059
+ item_prices: "item_prices";
3060
+ subtotal: "subtotal";
3061
+ discount: "discount";
3062
+ fees: "fees";
3063
+ total: "total";
3064
+ taxes: "taxes";
3065
+ payment_status: "payment_status";
3066
+ payment_method: "payment_method";
3067
+ order_notes: "order_notes";
3068
+ kitchen_notes: "kitchen_notes";
3069
+ delivery_notes: "delivery_notes";
3070
+ partner: "partner";
3071
+ }>>;
3072
+ showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3073
+ spacerLines: z.ZodNullable<z.ZodNumber>;
3074
+ separatorCharacter: z.ZodNullable<z.ZodString>;
3075
+ segments: z.ZodArray<z.ZodObject<{
3076
+ type: z.ZodEnum<{
3077
+ literal: "literal";
3078
+ field: "field";
3079
+ }>;
3080
+ translations: z.ZodRecord<z.ZodString, z.ZodString>;
3081
+ field: z.ZodNullable<z.ZodEnum<{
3082
+ order_type: "order_type";
3083
+ order_sequence: "order_sequence";
3084
+ order_display_id: "order_display_id";
3085
+ requested_time: "requested_time";
3086
+ preparation_time: "preparation_time";
3087
+ customer_name: "customer_name";
3088
+ customer_phone: "customer_phone";
3089
+ customer_contact_number: "customer_contact_number";
3090
+ customer_access_code: "customer_access_code";
3091
+ address_line_1: "address_line_1";
3092
+ address_line_2: "address_line_2";
3093
+ address_city: "address_city";
3094
+ address_postal_code: "address_postal_code";
3095
+ item_variant: "item_variant";
3096
+ item_removals: "item_removals";
3097
+ item_modifiers: "item_modifiers";
3098
+ item_notes: "item_notes";
3099
+ item_prices: "item_prices";
3100
+ subtotal: "subtotal";
3101
+ discount: "discount";
3102
+ fees: "fees";
3103
+ total: "total";
3104
+ taxes: "taxes";
3105
+ payment_status: "payment_status";
3106
+ payment_method: "payment_method";
3107
+ order_notes: "order_notes";
3108
+ kitchen_notes: "kitchen_notes";
3109
+ delivery_notes: "delivery_notes";
3110
+ partner: "partner";
3111
+ }>>;
3112
+ }, z.core.$strip>>;
3113
+ }, z.core.$strip>>;
3114
+ }, z.core.$strip>;
3115
+ status: z.ZodEnum<{
3116
+ active: "active";
3117
+ archived: "archived";
3118
+ }>;
3119
+ archivedAt: z.ZodNullable<z.ZodString>;
3120
+ revision: z.ZodNumber;
3121
+ createdAt: z.ZodString;
3122
+ updatedAt: z.ZodString;
3123
+ usageCount: z.ZodNumber;
3124
+ }, z.core.$strip>;
3125
+ readonly querySchema: undefined;
3126
+ readonly headersSchema: z.ZodObject<{
3127
+ 'If-Match': z.ZodString;
3128
+ }, z.core.$strip>;
3129
+ constructor(receiptTemplateId: string, revision: number, input: UpdateReceiptTemplateInput);
3130
+ getPath(): string;
3131
+ }
3132
+
3133
+ declare const receiptTemplateIriSchema: 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>>;
3134
+ type ReceiptTemplateIri = z.infer<typeof receiptTemplateIriSchema>;
3135
+ declare const receiptTemplateNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/receipt_templates/:id"> | null, unknown>>;
3136
+ type ReceiptTemplateNullableIri = z.infer<typeof receiptTemplateNullableIriSchema>;
3137
+
3138
+ export { CreateReceiptTemplate, type CreateReceiptTemplateInput, type CreateReceiptTemplateResponse, GetReceiptTemplateDetails, GetReceiptTemplates, GetReceiptTemplatesFromPointOfSale, type ReceiptTemplate, type ReceiptTemplateBlockType, type ReceiptTemplateDefinition, type ReceiptTemplateField, type ReceiptTemplateFieldLayout, type ReceiptTemplateIri, type ReceiptTemplateNullableIri, type ReceiptTemplateStatus, type ReceiptTemplatesQueryParams, UpdateReceiptTemplate, type UpdateReceiptTemplateInput, createReceiptTemplateInputSchema, createReceiptTemplateResponseSchema, getReceiptTemplatesResponseSchema, receiptTemplateAlignmentSchema, receiptTemplateBlockSchema, receiptTemplateBlockStyleSchema, receiptTemplateBlockTypeSchema, receiptTemplateBlockTypes, receiptTemplateConditionSchema, receiptTemplateConditionTypeSchema, receiptTemplateConditionTypes, receiptTemplateDefinitionSchema, receiptTemplateFieldLayoutBlockTypes, receiptTemplateFieldLayoutSchema, receiptTemplateFieldSchema, receiptTemplateFields, receiptTemplateIriSchema, receiptTemplateNullableIriSchema, receiptTemplateSchema, receiptTemplateStatusSchema, receiptTemplateStatuses, receiptTemplateTextSegmentSchema, receiptTemplateTextSegmentTypeSchema, receiptTemplateTextSizeSchema, receiptTemplatesQuerySchema, updateReceiptTemplateHeadersSchema, updateReceiptTemplateInputSchema, writableCreateReceiptTemplateSchema, writableReceiptTemplateSchema };