@deliverart/sdk-js-receipt-template 2.25.1 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/index.cjs +41 -0
- package/dist/index.d.cts +385 -1
- package/dist/index.d.ts +385 -1
- package/dist/index.js +39 -0
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -80,6 +80,12 @@ declare const receiptTemplateTextSizeSchema: z.ZodEnum<{
|
|
|
80
80
|
double: "double";
|
|
81
81
|
double_tall: "double_tall";
|
|
82
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"];
|
|
83
89
|
declare const receiptTemplateTextSegmentTypeSchema: z.ZodEnum<{
|
|
84
90
|
literal: "literal";
|
|
85
91
|
field: "field";
|
|
@@ -197,6 +203,26 @@ declare const receiptTemplateBlockSchema: z.ZodObject<{
|
|
|
197
203
|
underline: z.ZodBoolean;
|
|
198
204
|
inverse: z.ZodBoolean;
|
|
199
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
|
+
}>>;
|
|
200
226
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
201
227
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
202
228
|
order_type: "order_type";
|
|
@@ -229,6 +255,7 @@ declare const receiptTemplateBlockSchema: z.ZodObject<{
|
|
|
229
255
|
delivery_notes: "delivery_notes";
|
|
230
256
|
partner: "partner";
|
|
231
257
|
}>>;
|
|
258
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
232
259
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
233
260
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
234
261
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -319,6 +346,26 @@ declare const receiptTemplateDefinitionSchema: z.ZodObject<{
|
|
|
319
346
|
underline: z.ZodBoolean;
|
|
320
347
|
inverse: z.ZodBoolean;
|
|
321
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
|
+
}>>;
|
|
322
369
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
323
370
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
324
371
|
order_type: "order_type";
|
|
@@ -351,6 +398,7 @@ declare const receiptTemplateDefinitionSchema: z.ZodObject<{
|
|
|
351
398
|
delivery_notes: "delivery_notes";
|
|
352
399
|
partner: "partner";
|
|
353
400
|
}>>;
|
|
401
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
354
402
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
355
403
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
356
404
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -448,6 +496,26 @@ declare const receiptTemplateSchema: z.ZodObject<{
|
|
|
448
496
|
underline: z.ZodBoolean;
|
|
449
497
|
inverse: z.ZodBoolean;
|
|
450
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
|
+
}>>;
|
|
451
519
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
452
520
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
453
521
|
order_type: "order_type";
|
|
@@ -480,6 +548,7 @@ declare const receiptTemplateSchema: z.ZodObject<{
|
|
|
480
548
|
delivery_notes: "delivery_notes";
|
|
481
549
|
partner: "partner";
|
|
482
550
|
}>>;
|
|
551
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
483
552
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
484
553
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
485
554
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -583,6 +652,26 @@ declare const writableReceiptTemplateSchema: z.ZodObject<{
|
|
|
583
652
|
underline: z.ZodBoolean;
|
|
584
653
|
inverse: z.ZodBoolean;
|
|
585
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
|
+
}>>;
|
|
586
675
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
587
676
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
588
677
|
order_type: "order_type";
|
|
@@ -615,6 +704,7 @@ declare const writableReceiptTemplateSchema: z.ZodObject<{
|
|
|
615
704
|
delivery_notes: "delivery_notes";
|
|
616
705
|
partner: "partner";
|
|
617
706
|
}>>;
|
|
707
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
618
708
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
619
709
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
620
710
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -713,6 +803,26 @@ declare const writableCreateReceiptTemplateSchema: z.ZodObject<{
|
|
|
713
803
|
underline: z.ZodBoolean;
|
|
714
804
|
inverse: z.ZodBoolean;
|
|
715
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
|
+
}>>;
|
|
716
826
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
717
827
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
718
828
|
order_type: "order_type";
|
|
@@ -745,6 +855,7 @@ declare const writableCreateReceiptTemplateSchema: z.ZodObject<{
|
|
|
745
855
|
delivery_notes: "delivery_notes";
|
|
746
856
|
partner: "partner";
|
|
747
857
|
}>>;
|
|
858
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
748
859
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
749
860
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
750
861
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -878,6 +989,26 @@ declare const createReceiptTemplateInputSchema: z.ZodObject<{
|
|
|
878
989
|
underline: z.ZodBoolean;
|
|
879
990
|
inverse: z.ZodBoolean;
|
|
880
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
|
+
}>>;
|
|
881
1012
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
882
1013
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
883
1014
|
order_type: "order_type";
|
|
@@ -910,6 +1041,7 @@ declare const createReceiptTemplateInputSchema: z.ZodObject<{
|
|
|
910
1041
|
delivery_notes: "delivery_notes";
|
|
911
1042
|
partner: "partner";
|
|
912
1043
|
}>>;
|
|
1044
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
913
1045
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
914
1046
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
915
1047
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -1014,6 +1146,26 @@ declare const createReceiptTemplateResponseSchema: z.ZodObject<{
|
|
|
1014
1146
|
underline: z.ZodBoolean;
|
|
1015
1147
|
inverse: z.ZodBoolean;
|
|
1016
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
|
+
}>>;
|
|
1017
1169
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1018
1170
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
1019
1171
|
order_type: "order_type";
|
|
@@ -1046,6 +1198,7 @@ declare const createReceiptTemplateResponseSchema: z.ZodObject<{
|
|
|
1046
1198
|
delivery_notes: "delivery_notes";
|
|
1047
1199
|
partner: "partner";
|
|
1048
1200
|
}>>;
|
|
1201
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1049
1202
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
1050
1203
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
1051
1204
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -1153,6 +1306,26 @@ declare class CreateReceiptTemplate extends AbstractApiRequest<typeof createRece
|
|
|
1153
1306
|
underline: z.ZodBoolean;
|
|
1154
1307
|
inverse: z.ZodBoolean;
|
|
1155
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
|
+
}>>;
|
|
1156
1329
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1157
1330
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
1158
1331
|
order_type: "order_type";
|
|
@@ -1185,6 +1358,7 @@ declare class CreateReceiptTemplate extends AbstractApiRequest<typeof createRece
|
|
|
1185
1358
|
delivery_notes: "delivery_notes";
|
|
1186
1359
|
partner: "partner";
|
|
1187
1360
|
}>>;
|
|
1361
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1188
1362
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
1189
1363
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
1190
1364
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -1288,6 +1462,26 @@ declare class CreateReceiptTemplate extends AbstractApiRequest<typeof createRece
|
|
|
1288
1462
|
underline: z.ZodBoolean;
|
|
1289
1463
|
inverse: z.ZodBoolean;
|
|
1290
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
|
+
}>>;
|
|
1291
1485
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1292
1486
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
1293
1487
|
order_type: "order_type";
|
|
@@ -1320,6 +1514,7 @@ declare class CreateReceiptTemplate extends AbstractApiRequest<typeof createRece
|
|
|
1320
1514
|
delivery_notes: "delivery_notes";
|
|
1321
1515
|
partner: "partner";
|
|
1322
1516
|
}>>;
|
|
1517
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1323
1518
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
1324
1519
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
1325
1520
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -1439,6 +1634,26 @@ declare class GetReceiptTemplateDetails extends AbstractApiRequest<typeof inputS
|
|
|
1439
1634
|
underline: z.ZodBoolean;
|
|
1440
1635
|
inverse: z.ZodBoolean;
|
|
1441
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
|
+
}>>;
|
|
1442
1657
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1443
1658
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
1444
1659
|
order_type: "order_type";
|
|
@@ -1471,6 +1686,7 @@ declare class GetReceiptTemplateDetails extends AbstractApiRequest<typeof inputS
|
|
|
1471
1686
|
delivery_notes: "delivery_notes";
|
|
1472
1687
|
partner: "partner";
|
|
1473
1688
|
}>>;
|
|
1689
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1474
1690
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
1475
1691
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
1476
1692
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -1585,6 +1801,26 @@ declare const getReceiptTemplatesResponseSchema: z.ZodObject<{
|
|
|
1585
1801
|
underline: z.ZodBoolean;
|
|
1586
1802
|
inverse: z.ZodBoolean;
|
|
1587
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
|
+
}>>;
|
|
1588
1824
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1589
1825
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
1590
1826
|
order_type: "order_type";
|
|
@@ -1617,6 +1853,7 @@ declare const getReceiptTemplatesResponseSchema: z.ZodObject<{
|
|
|
1617
1853
|
delivery_notes: "delivery_notes";
|
|
1618
1854
|
partner: "partner";
|
|
1619
1855
|
}>>;
|
|
1856
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1620
1857
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
1621
1858
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
1622
1859
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -1738,6 +1975,26 @@ declare class GetReceiptTemplates extends AbstractApiRequest<typeof inputSchema$
|
|
|
1738
1975
|
underline: z.ZodBoolean;
|
|
1739
1976
|
inverse: z.ZodBoolean;
|
|
1740
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
|
+
}>>;
|
|
1741
1998
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1742
1999
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
1743
2000
|
order_type: "order_type";
|
|
@@ -1770,6 +2027,7 @@ declare class GetReceiptTemplates extends AbstractApiRequest<typeof inputSchema$
|
|
|
1770
2027
|
delivery_notes: "delivery_notes";
|
|
1771
2028
|
partner: "partner";
|
|
1772
2029
|
}>>;
|
|
2030
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1773
2031
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
1774
2032
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
1775
2033
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -1918,6 +2176,26 @@ declare class GetReceiptTemplates extends AbstractApiRequest<typeof inputSchema$
|
|
|
1918
2176
|
underline: z.ZodBoolean;
|
|
1919
2177
|
inverse: z.ZodBoolean;
|
|
1920
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
|
+
}>>;
|
|
1921
2199
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1922
2200
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
1923
2201
|
order_type: "order_type";
|
|
@@ -1950,6 +2228,7 @@ declare class GetReceiptTemplates extends AbstractApiRequest<typeof inputSchema$
|
|
|
1950
2228
|
delivery_notes: "delivery_notes";
|
|
1951
2229
|
partner: "partner";
|
|
1952
2230
|
}>>;
|
|
2231
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1953
2232
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
1954
2233
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
1955
2234
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -2064,6 +2343,26 @@ declare const outputSchema: z.ZodArray<z.ZodObject<{
|
|
|
2064
2343
|
underline: z.ZodBoolean;
|
|
2065
2344
|
inverse: z.ZodBoolean;
|
|
2066
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
|
+
}>>;
|
|
2067
2366
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2068
2367
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
2069
2368
|
order_type: "order_type";
|
|
@@ -2096,6 +2395,7 @@ declare const outputSchema: z.ZodArray<z.ZodObject<{
|
|
|
2096
2395
|
delivery_notes: "delivery_notes";
|
|
2097
2396
|
partner: "partner";
|
|
2098
2397
|
}>>;
|
|
2398
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2099
2399
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
2100
2400
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
2101
2401
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -2208,6 +2508,26 @@ declare class GetReceiptTemplatesFromPointOfSale extends AbstractApiRequest<type
|
|
|
2208
2508
|
underline: z.ZodBoolean;
|
|
2209
2509
|
inverse: z.ZodBoolean;
|
|
2210
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
|
+
}>>;
|
|
2211
2531
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2212
2532
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
2213
2533
|
order_type: "order_type";
|
|
@@ -2240,6 +2560,7 @@ declare class GetReceiptTemplatesFromPointOfSale extends AbstractApiRequest<type
|
|
|
2240
2560
|
delivery_notes: "delivery_notes";
|
|
2241
2561
|
partner: "partner";
|
|
2242
2562
|
}>>;
|
|
2563
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2243
2564
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
2244
2565
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
2245
2566
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -2381,6 +2702,26 @@ declare const updateReceiptTemplateInputSchema: z.ZodObject<{
|
|
|
2381
2702
|
underline: z.ZodBoolean;
|
|
2382
2703
|
inverse: z.ZodBoolean;
|
|
2383
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
|
+
}>>;
|
|
2384
2725
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2385
2726
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
2386
2727
|
order_type: "order_type";
|
|
@@ -2413,6 +2754,7 @@ declare const updateReceiptTemplateInputSchema: z.ZodObject<{
|
|
|
2413
2754
|
delivery_notes: "delivery_notes";
|
|
2414
2755
|
partner: "partner";
|
|
2415
2756
|
}>>;
|
|
2757
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2416
2758
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
2417
2759
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
2418
2760
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -2520,6 +2862,26 @@ declare class UpdateReceiptTemplate extends AbstractApiRequest<typeof updateRece
|
|
|
2520
2862
|
underline: z.ZodBoolean;
|
|
2521
2863
|
inverse: z.ZodBoolean;
|
|
2522
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
|
+
}>>;
|
|
2523
2885
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2524
2886
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
2525
2887
|
order_type: "order_type";
|
|
@@ -2552,6 +2914,7 @@ declare class UpdateReceiptTemplate extends AbstractApiRequest<typeof updateRece
|
|
|
2552
2914
|
delivery_notes: "delivery_notes";
|
|
2553
2915
|
partner: "partner";
|
|
2554
2916
|
}>>;
|
|
2917
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2555
2918
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
2556
2919
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
2557
2920
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -2654,6 +3017,26 @@ declare class UpdateReceiptTemplate extends AbstractApiRequest<typeof updateRece
|
|
|
2654
3017
|
underline: z.ZodBoolean;
|
|
2655
3018
|
inverse: z.ZodBoolean;
|
|
2656
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
|
+
}>>;
|
|
2657
3040
|
labels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2658
3041
|
visibleFields: z.ZodArray<z.ZodEnum<{
|
|
2659
3042
|
order_type: "order_type";
|
|
@@ -2686,6 +3069,7 @@ declare class UpdateReceiptTemplate extends AbstractApiRequest<typeof updateRece
|
|
|
2686
3069
|
delivery_notes: "delivery_notes";
|
|
2687
3070
|
partner: "partner";
|
|
2688
3071
|
}>>;
|
|
3072
|
+
showDate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2689
3073
|
spacerLines: z.ZodNullable<z.ZodNumber>;
|
|
2690
3074
|
separatorCharacter: z.ZodNullable<z.ZodString>;
|
|
2691
3075
|
segments: z.ZodArray<z.ZodObject<{
|
|
@@ -2751,4 +3135,4 @@ type ReceiptTemplateIri = z.infer<typeof receiptTemplateIriSchema>;
|
|
|
2751
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>>;
|
|
2752
3136
|
type ReceiptTemplateNullableIri = z.infer<typeof receiptTemplateNullableIriSchema>;
|
|
2753
3137
|
|
|
2754
|
-
export { CreateReceiptTemplate, type CreateReceiptTemplateInput, type CreateReceiptTemplateResponse, GetReceiptTemplateDetails, GetReceiptTemplates, GetReceiptTemplatesFromPointOfSale, type ReceiptTemplate, type ReceiptTemplateBlockType, type ReceiptTemplateDefinition, type ReceiptTemplateField, type ReceiptTemplateIri, type ReceiptTemplateNullableIri, type ReceiptTemplateStatus, type ReceiptTemplatesQueryParams, UpdateReceiptTemplate, type UpdateReceiptTemplateInput, createReceiptTemplateInputSchema, createReceiptTemplateResponseSchema, getReceiptTemplatesResponseSchema, receiptTemplateAlignmentSchema, receiptTemplateBlockSchema, receiptTemplateBlockStyleSchema, receiptTemplateBlockTypeSchema, receiptTemplateBlockTypes, receiptTemplateConditionSchema, receiptTemplateConditionTypeSchema, receiptTemplateConditionTypes, receiptTemplateDefinitionSchema, receiptTemplateFieldSchema, receiptTemplateFields, receiptTemplateIriSchema, receiptTemplateNullableIriSchema, receiptTemplateSchema, receiptTemplateStatusSchema, receiptTemplateStatuses, receiptTemplateTextSegmentSchema, receiptTemplateTextSegmentTypeSchema, receiptTemplateTextSizeSchema, receiptTemplatesQuerySchema, updateReceiptTemplateHeadersSchema, updateReceiptTemplateInputSchema, writableCreateReceiptTemplateSchema, writableReceiptTemplateSchema };
|
|
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 };
|