@deliverart/sdk-js-printer 2.8.4 → 2.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -11204,6 +11204,7 @@ var printerSchema = external_exports.object({
11204
11204
  ip: external_exports.ipv4(),
11205
11205
  tls: external_exports.boolean(),
11206
11206
  protocol: import_sdk_js_global_types.printerProtocolSchema,
11207
+ receiptProfile: import_sdk_js_global_types.printerReceiptProfileSchema,
11207
11208
  createdAt: import_sdk_js_global_types.datetimeSchema,
11208
11209
  updatedAt: import_sdk_js_global_types.datetimeSchema
11209
11210
  });
@@ -11211,6 +11212,7 @@ var writablePrinterSchema = printerSchema.pick({
11211
11212
  name: true,
11212
11213
  ip: true,
11213
11214
  protocol: true,
11215
+ receiptProfile: true,
11214
11216
  tls: true
11215
11217
  });
11216
11218
  var writableCreatePrinterSchema = printerSchema.pick({
@@ -11218,6 +11220,7 @@ var writableCreatePrinterSchema = printerSchema.pick({
11218
11220
  name: true,
11219
11221
  ip: true,
11220
11222
  protocol: true,
11223
+ receiptProfile: true,
11221
11224
  tls: true
11222
11225
  });
11223
11226
  var printersQuerySchema = external_exports.object({
@@ -11225,6 +11228,7 @@ var printersQuerySchema = external_exports.object({
11225
11228
  name: external_exports.string().optional(),
11226
11229
  tls: external_exports.boolean().optional(),
11227
11230
  protocol: external_exports.union([import_sdk_js_global_types.printerProtocolSchema, external_exports.array(import_sdk_js_global_types.printerProtocolSchema)]).optional(),
11231
+ receiptProfile: external_exports.union([import_sdk_js_global_types.printerReceiptProfileSchema, external_exports.array(import_sdk_js_global_types.printerReceiptProfileSchema)]).optional(),
11228
11232
  "order[name]": import_sdk_js_global_types.sortDirSchema.optional(),
11229
11233
  "order[createdAt]": import_sdk_js_global_types.sortDirSchema.optional(),
11230
11234
  "order[updatedAt]": import_sdk_js_global_types.sortDirSchema.optional(),
package/dist/index.d.cts CHANGED
@@ -11,6 +11,12 @@ declare const printerSchema: z.ZodObject<{
11
11
  protocol: z.ZodEnum<{
12
12
  esc_pos: "esc_pos";
13
13
  }>;
14
+ receiptProfile: z.ZodEnum<{
15
+ "80mm_42col": "80mm_42col";
16
+ "80mm_48col": "80mm_48col";
17
+ "58mm_32col": "58mm_32col";
18
+ "58mm_35col": "58mm_35col";
19
+ }>;
14
20
  createdAt: z.ZodString;
15
21
  updatedAt: z.ZodString;
16
22
  }, z.core.$strip>;
@@ -19,6 +25,12 @@ declare const writablePrinterSchema: z.ZodObject<{
19
25
  protocol: z.ZodEnum<{
20
26
  esc_pos: "esc_pos";
21
27
  }>;
28
+ receiptProfile: z.ZodEnum<{
29
+ "80mm_42col": "80mm_42col";
30
+ "80mm_48col": "80mm_48col";
31
+ "58mm_32col": "58mm_32col";
32
+ "58mm_35col": "58mm_35col";
33
+ }>;
22
34
  name: z.ZodString;
23
35
  ip: z.ZodIPv4;
24
36
  tls: z.ZodBoolean;
@@ -29,6 +41,12 @@ declare const writableCreatePrinterSchema: z.ZodObject<{
29
41
  protocol: z.ZodEnum<{
30
42
  esc_pos: "esc_pos";
31
43
  }>;
44
+ receiptProfile: z.ZodEnum<{
45
+ "80mm_42col": "80mm_42col";
46
+ "80mm_48col": "80mm_48col";
47
+ "58mm_32col": "58mm_32col";
48
+ "58mm_35col": "58mm_35col";
49
+ }>;
32
50
  name: z.ZodString;
33
51
  ip: z.ZodIPv4;
34
52
  tls: z.ZodBoolean;
@@ -43,6 +61,17 @@ declare const printersQuerySchema: z.ZodObject<{
43
61
  }>, z.ZodArray<z.ZodEnum<{
44
62
  esc_pos: "esc_pos";
45
63
  }>>]>>;
64
+ receiptProfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
65
+ "80mm_42col": "80mm_42col";
66
+ "80mm_48col": "80mm_48col";
67
+ "58mm_32col": "58mm_32col";
68
+ "58mm_35col": "58mm_35col";
69
+ }>, z.ZodArray<z.ZodEnum<{
70
+ "80mm_42col": "80mm_42col";
71
+ "80mm_48col": "80mm_48col";
72
+ "58mm_32col": "58mm_32col";
73
+ "58mm_35col": "58mm_35col";
74
+ }>>]>>;
46
75
  'order[name]': z.ZodOptional<z.ZodEnum<{
47
76
  asc: "asc";
48
77
  desc: "desc";
@@ -72,6 +101,12 @@ declare const createPrinterInputSchema: z.ZodObject<{
72
101
  protocol: z.ZodNonOptional<z.ZodEnum<{
73
102
  esc_pos: "esc_pos";
74
103
  }>>;
104
+ receiptProfile: z.ZodNonOptional<z.ZodEnum<{
105
+ "80mm_42col": "80mm_42col";
106
+ "80mm_48col": "80mm_48col";
107
+ "58mm_32col": "58mm_32col";
108
+ "58mm_35col": "58mm_35col";
109
+ }>>;
75
110
  name: z.ZodNonOptional<z.ZodString>;
76
111
  ip: z.ZodNonOptional<z.ZodIPv4>;
77
112
  tls: z.ZodNonOptional<z.ZodBoolean>;
@@ -86,6 +121,12 @@ declare const createPrinterResponseSchema: z.ZodObject<{
86
121
  protocol: z.ZodEnum<{
87
122
  esc_pos: "esc_pos";
88
123
  }>;
124
+ receiptProfile: z.ZodEnum<{
125
+ "80mm_42col": "80mm_42col";
126
+ "80mm_48col": "80mm_48col";
127
+ "58mm_32col": "58mm_32col";
128
+ "58mm_35col": "58mm_35col";
129
+ }>;
89
130
  createdAt: z.ZodString;
90
131
  updatedAt: z.ZodString;
91
132
  }, z.core.$strip>;
@@ -99,6 +140,12 @@ declare class CreatePrinter extends AbstractApiRequest<typeof createPrinterInput
99
140
  protocol: z.ZodNonOptional<z.ZodEnum<{
100
141
  esc_pos: "esc_pos";
101
142
  }>>;
143
+ receiptProfile: z.ZodNonOptional<z.ZodEnum<{
144
+ "80mm_42col": "80mm_42col";
145
+ "80mm_48col": "80mm_48col";
146
+ "58mm_32col": "58mm_32col";
147
+ "58mm_35col": "58mm_35col";
148
+ }>>;
102
149
  name: z.ZodNonOptional<z.ZodString>;
103
150
  ip: z.ZodNonOptional<z.ZodIPv4>;
104
151
  tls: z.ZodNonOptional<z.ZodBoolean>;
@@ -112,6 +159,12 @@ declare class CreatePrinter extends AbstractApiRequest<typeof createPrinterInput
112
159
  protocol: z.ZodEnum<{
113
160
  esc_pos: "esc_pos";
114
161
  }>;
162
+ receiptProfile: z.ZodEnum<{
163
+ "80mm_42col": "80mm_42col";
164
+ "80mm_48col": "80mm_48col";
165
+ "58mm_32col": "58mm_32col";
166
+ "58mm_35col": "58mm_35col";
167
+ }>;
115
168
  createdAt: z.ZodString;
116
169
  updatedAt: z.ZodString;
117
170
  }, z.core.$strip>;
@@ -147,6 +200,12 @@ declare const getPrinterDetailsResponseSchema: z.ZodObject<{
147
200
  protocol: z.ZodEnum<{
148
201
  esc_pos: "esc_pos";
149
202
  }>;
203
+ receiptProfile: z.ZodEnum<{
204
+ "80mm_42col": "80mm_42col";
205
+ "80mm_48col": "80mm_48col";
206
+ "58mm_32col": "58mm_32col";
207
+ "58mm_35col": "58mm_35col";
208
+ }>;
150
209
  createdAt: z.ZodString;
151
210
  updatedAt: z.ZodString;
152
211
  }, z.core.$strip>;
@@ -165,6 +224,12 @@ declare class GetPrinterDetails extends AbstractApiRequest<typeof getPrinterDeta
165
224
  protocol: z.ZodEnum<{
166
225
  esc_pos: "esc_pos";
167
226
  }>;
227
+ receiptProfile: z.ZodEnum<{
228
+ "80mm_42col": "80mm_42col";
229
+ "80mm_48col": "80mm_48col";
230
+ "58mm_32col": "58mm_32col";
231
+ "58mm_35col": "58mm_35col";
232
+ }>;
168
233
  createdAt: z.ZodString;
169
234
  updatedAt: z.ZodString;
170
235
  }, z.core.$strip>;
@@ -184,6 +249,17 @@ declare const getPrintersQuerySchema: z.ZodObject<{
184
249
  }>, z.ZodArray<z.ZodEnum<{
185
250
  esc_pos: "esc_pos";
186
251
  }>>]>>;
252
+ receiptProfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
253
+ "80mm_42col": "80mm_42col";
254
+ "80mm_48col": "80mm_48col";
255
+ "58mm_32col": "58mm_32col";
256
+ "58mm_35col": "58mm_35col";
257
+ }>, z.ZodArray<z.ZodEnum<{
258
+ "80mm_42col": "80mm_42col";
259
+ "80mm_48col": "80mm_48col";
260
+ "58mm_32col": "58mm_32col";
261
+ "58mm_35col": "58mm_35col";
262
+ }>>]>>;
187
263
  'order[name]': z.ZodOptional<z.ZodEnum<{
188
264
  asc: "asc";
189
265
  desc: "desc";
@@ -219,6 +295,12 @@ declare const getPrintersResponseSchema: z.ZodObject<{
219
295
  protocol: z.ZodEnum<{
220
296
  esc_pos: "esc_pos";
221
297
  }>;
298
+ receiptProfile: z.ZodEnum<{
299
+ "80mm_42col": "80mm_42col";
300
+ "80mm_48col": "80mm_48col";
301
+ "58mm_32col": "58mm_32col";
302
+ "58mm_35col": "58mm_35col";
303
+ }>;
222
304
  createdAt: z.ZodString;
223
305
  updatedAt: z.ZodString;
224
306
  }, z.core.$strip>>;
@@ -247,6 +329,12 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
247
329
  protocol: z.ZodEnum<{
248
330
  esc_pos: "esc_pos";
249
331
  }>;
332
+ receiptProfile: z.ZodEnum<{
333
+ "80mm_42col": "80mm_42col";
334
+ "80mm_48col": "80mm_48col";
335
+ "58mm_32col": "58mm_32col";
336
+ "58mm_35col": "58mm_35col";
337
+ }>;
250
338
  createdAt: z.ZodString;
251
339
  updatedAt: z.ZodString;
252
340
  }, z.core.$strip>>;
@@ -268,6 +356,17 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
268
356
  }>, z.ZodArray<z.ZodEnum<{
269
357
  esc_pos: "esc_pos";
270
358
  }>>]>>;
359
+ receiptProfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
360
+ "80mm_42col": "80mm_42col";
361
+ "80mm_48col": "80mm_48col";
362
+ "58mm_32col": "58mm_32col";
363
+ "58mm_35col": "58mm_35col";
364
+ }>, z.ZodArray<z.ZodEnum<{
365
+ "80mm_42col": "80mm_42col";
366
+ "80mm_48col": "80mm_48col";
367
+ "58mm_32col": "58mm_32col";
368
+ "58mm_35col": "58mm_35col";
369
+ }>>]>>;
271
370
  'order[name]': z.ZodOptional<z.ZodEnum<{
272
371
  asc: "asc";
273
372
  desc: "desc";
@@ -300,6 +399,12 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
300
399
  protocol: z.ZodEnum<{
301
400
  esc_pos: "esc_pos";
302
401
  }>;
402
+ receiptProfile: z.ZodEnum<{
403
+ "80mm_42col": "80mm_42col";
404
+ "80mm_48col": "80mm_48col";
405
+ "58mm_32col": "58mm_32col";
406
+ "58mm_35col": "58mm_35col";
407
+ }>;
303
408
  createdAt: z.ZodString;
304
409
  updatedAt: z.ZodString;
305
410
  }, z.core.$strip>;
@@ -319,6 +424,17 @@ declare const getPrintersFromPointOfSaleQuerySchema: z.ZodObject<{
319
424
  }>, z.ZodArray<z.ZodEnum<{
320
425
  esc_pos: "esc_pos";
321
426
  }>>]>>;
427
+ receiptProfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
428
+ "80mm_42col": "80mm_42col";
429
+ "80mm_48col": "80mm_48col";
430
+ "58mm_32col": "58mm_32col";
431
+ "58mm_35col": "58mm_35col";
432
+ }>, z.ZodArray<z.ZodEnum<{
433
+ "80mm_42col": "80mm_42col";
434
+ "80mm_48col": "80mm_48col";
435
+ "58mm_32col": "58mm_32col";
436
+ "58mm_35col": "58mm_35col";
437
+ }>>]>>;
322
438
  'order[name]': z.ZodOptional<z.ZodEnum<{
323
439
  asc: "asc";
324
440
  desc: "desc";
@@ -353,6 +469,12 @@ declare const getPrintersFromPointOfSaleResponseSchema: z.ZodArray<z.ZodObject<{
353
469
  protocol: z.ZodEnum<{
354
470
  esc_pos: "esc_pos";
355
471
  }>;
472
+ receiptProfile: z.ZodEnum<{
473
+ "80mm_42col": "80mm_42col";
474
+ "80mm_48col": "80mm_48col";
475
+ "58mm_32col": "58mm_32col";
476
+ "58mm_35col": "58mm_35col";
477
+ }>;
356
478
  createdAt: z.ZodString;
357
479
  updatedAt: z.ZodString;
358
480
  }, z.core.$strip>>;
@@ -371,6 +493,12 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
371
493
  protocol: z.ZodEnum<{
372
494
  esc_pos: "esc_pos";
373
495
  }>;
496
+ receiptProfile: z.ZodEnum<{
497
+ "80mm_42col": "80mm_42col";
498
+ "80mm_48col": "80mm_48col";
499
+ "58mm_32col": "58mm_32col";
500
+ "58mm_35col": "58mm_35col";
501
+ }>;
374
502
  createdAt: z.ZodString;
375
503
  updatedAt: z.ZodString;
376
504
  }, z.core.$strip>>;
@@ -383,6 +511,17 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
383
511
  }>, z.ZodArray<z.ZodEnum<{
384
512
  esc_pos: "esc_pos";
385
513
  }>>]>>;
514
+ receiptProfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
515
+ "80mm_42col": "80mm_42col";
516
+ "80mm_48col": "80mm_48col";
517
+ "58mm_32col": "58mm_32col";
518
+ "58mm_35col": "58mm_35col";
519
+ }>, z.ZodArray<z.ZodEnum<{
520
+ "80mm_42col": "80mm_42col";
521
+ "80mm_48col": "80mm_48col";
522
+ "58mm_32col": "58mm_32col";
523
+ "58mm_35col": "58mm_35col";
524
+ }>>]>>;
386
525
  'order[name]': z.ZodOptional<z.ZodEnum<{
387
526
  asc: "asc";
388
527
  desc: "desc";
@@ -415,6 +554,12 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
415
554
  protocol: z.ZodEnum<{
416
555
  esc_pos: "esc_pos";
417
556
  }>;
557
+ receiptProfile: z.ZodEnum<{
558
+ "80mm_42col": "80mm_42col";
559
+ "80mm_48col": "80mm_48col";
560
+ "58mm_32col": "58mm_32col";
561
+ "58mm_35col": "58mm_35col";
562
+ }>;
418
563
  createdAt: z.ZodString;
419
564
  updatedAt: z.ZodString;
420
565
  }, z.core.$strip>;
@@ -430,6 +575,12 @@ declare const updatePrinterInputSchema: z.ZodObject<{
430
575
  protocol: z.ZodOptional<z.ZodEnum<{
431
576
  esc_pos: "esc_pos";
432
577
  }>>;
578
+ receiptProfile: z.ZodOptional<z.ZodEnum<{
579
+ "80mm_42col": "80mm_42col";
580
+ "80mm_48col": "80mm_48col";
581
+ "58mm_32col": "58mm_32col";
582
+ "58mm_35col": "58mm_35col";
583
+ }>>;
433
584
  name: z.ZodOptional<z.ZodString>;
434
585
  ip: z.ZodOptional<z.ZodIPv4>;
435
586
  tls: z.ZodOptional<z.ZodBoolean>;
@@ -444,6 +595,12 @@ declare const updatePrinterResponseSchema: z.ZodObject<{
444
595
  protocol: z.ZodEnum<{
445
596
  esc_pos: "esc_pos";
446
597
  }>;
598
+ receiptProfile: z.ZodEnum<{
599
+ "80mm_42col": "80mm_42col";
600
+ "80mm_48col": "80mm_48col";
601
+ "58mm_32col": "58mm_32col";
602
+ "58mm_35col": "58mm_35col";
603
+ }>;
447
604
  createdAt: z.ZodString;
448
605
  updatedAt: z.ZodString;
449
606
  }, z.core.$strip>;
@@ -456,6 +613,12 @@ declare class UpdatePrinter extends AbstractApiRequest<typeof updatePrinterInput
456
613
  protocol: z.ZodOptional<z.ZodEnum<{
457
614
  esc_pos: "esc_pos";
458
615
  }>>;
616
+ receiptProfile: z.ZodOptional<z.ZodEnum<{
617
+ "80mm_42col": "80mm_42col";
618
+ "80mm_48col": "80mm_48col";
619
+ "58mm_32col": "58mm_32col";
620
+ "58mm_35col": "58mm_35col";
621
+ }>>;
459
622
  name: z.ZodOptional<z.ZodString>;
460
623
  ip: z.ZodOptional<z.ZodIPv4>;
461
624
  tls: z.ZodOptional<z.ZodBoolean>;
@@ -469,6 +632,12 @@ declare class UpdatePrinter extends AbstractApiRequest<typeof updatePrinterInput
469
632
  protocol: z.ZodEnum<{
470
633
  esc_pos: "esc_pos";
471
634
  }>;
635
+ receiptProfile: z.ZodEnum<{
636
+ "80mm_42col": "80mm_42col";
637
+ "80mm_48col": "80mm_48col";
638
+ "58mm_32col": "58mm_32col";
639
+ "58mm_35col": "58mm_35col";
640
+ }>;
472
641
  createdAt: z.ZodString;
473
642
  updatedAt: z.ZodString;
474
643
  }, z.core.$strip>;
package/dist/index.d.ts CHANGED
@@ -11,6 +11,12 @@ declare const printerSchema: z.ZodObject<{
11
11
  protocol: z.ZodEnum<{
12
12
  esc_pos: "esc_pos";
13
13
  }>;
14
+ receiptProfile: z.ZodEnum<{
15
+ "80mm_42col": "80mm_42col";
16
+ "80mm_48col": "80mm_48col";
17
+ "58mm_32col": "58mm_32col";
18
+ "58mm_35col": "58mm_35col";
19
+ }>;
14
20
  createdAt: z.ZodString;
15
21
  updatedAt: z.ZodString;
16
22
  }, z.core.$strip>;
@@ -19,6 +25,12 @@ declare const writablePrinterSchema: z.ZodObject<{
19
25
  protocol: z.ZodEnum<{
20
26
  esc_pos: "esc_pos";
21
27
  }>;
28
+ receiptProfile: z.ZodEnum<{
29
+ "80mm_42col": "80mm_42col";
30
+ "80mm_48col": "80mm_48col";
31
+ "58mm_32col": "58mm_32col";
32
+ "58mm_35col": "58mm_35col";
33
+ }>;
22
34
  name: z.ZodString;
23
35
  ip: z.ZodIPv4;
24
36
  tls: z.ZodBoolean;
@@ -29,6 +41,12 @@ declare const writableCreatePrinterSchema: z.ZodObject<{
29
41
  protocol: z.ZodEnum<{
30
42
  esc_pos: "esc_pos";
31
43
  }>;
44
+ receiptProfile: z.ZodEnum<{
45
+ "80mm_42col": "80mm_42col";
46
+ "80mm_48col": "80mm_48col";
47
+ "58mm_32col": "58mm_32col";
48
+ "58mm_35col": "58mm_35col";
49
+ }>;
32
50
  name: z.ZodString;
33
51
  ip: z.ZodIPv4;
34
52
  tls: z.ZodBoolean;
@@ -43,6 +61,17 @@ declare const printersQuerySchema: z.ZodObject<{
43
61
  }>, z.ZodArray<z.ZodEnum<{
44
62
  esc_pos: "esc_pos";
45
63
  }>>]>>;
64
+ receiptProfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
65
+ "80mm_42col": "80mm_42col";
66
+ "80mm_48col": "80mm_48col";
67
+ "58mm_32col": "58mm_32col";
68
+ "58mm_35col": "58mm_35col";
69
+ }>, z.ZodArray<z.ZodEnum<{
70
+ "80mm_42col": "80mm_42col";
71
+ "80mm_48col": "80mm_48col";
72
+ "58mm_32col": "58mm_32col";
73
+ "58mm_35col": "58mm_35col";
74
+ }>>]>>;
46
75
  'order[name]': z.ZodOptional<z.ZodEnum<{
47
76
  asc: "asc";
48
77
  desc: "desc";
@@ -72,6 +101,12 @@ declare const createPrinterInputSchema: z.ZodObject<{
72
101
  protocol: z.ZodNonOptional<z.ZodEnum<{
73
102
  esc_pos: "esc_pos";
74
103
  }>>;
104
+ receiptProfile: z.ZodNonOptional<z.ZodEnum<{
105
+ "80mm_42col": "80mm_42col";
106
+ "80mm_48col": "80mm_48col";
107
+ "58mm_32col": "58mm_32col";
108
+ "58mm_35col": "58mm_35col";
109
+ }>>;
75
110
  name: z.ZodNonOptional<z.ZodString>;
76
111
  ip: z.ZodNonOptional<z.ZodIPv4>;
77
112
  tls: z.ZodNonOptional<z.ZodBoolean>;
@@ -86,6 +121,12 @@ declare const createPrinterResponseSchema: z.ZodObject<{
86
121
  protocol: z.ZodEnum<{
87
122
  esc_pos: "esc_pos";
88
123
  }>;
124
+ receiptProfile: z.ZodEnum<{
125
+ "80mm_42col": "80mm_42col";
126
+ "80mm_48col": "80mm_48col";
127
+ "58mm_32col": "58mm_32col";
128
+ "58mm_35col": "58mm_35col";
129
+ }>;
89
130
  createdAt: z.ZodString;
90
131
  updatedAt: z.ZodString;
91
132
  }, z.core.$strip>;
@@ -99,6 +140,12 @@ declare class CreatePrinter extends AbstractApiRequest<typeof createPrinterInput
99
140
  protocol: z.ZodNonOptional<z.ZodEnum<{
100
141
  esc_pos: "esc_pos";
101
142
  }>>;
143
+ receiptProfile: z.ZodNonOptional<z.ZodEnum<{
144
+ "80mm_42col": "80mm_42col";
145
+ "80mm_48col": "80mm_48col";
146
+ "58mm_32col": "58mm_32col";
147
+ "58mm_35col": "58mm_35col";
148
+ }>>;
102
149
  name: z.ZodNonOptional<z.ZodString>;
103
150
  ip: z.ZodNonOptional<z.ZodIPv4>;
104
151
  tls: z.ZodNonOptional<z.ZodBoolean>;
@@ -112,6 +159,12 @@ declare class CreatePrinter extends AbstractApiRequest<typeof createPrinterInput
112
159
  protocol: z.ZodEnum<{
113
160
  esc_pos: "esc_pos";
114
161
  }>;
162
+ receiptProfile: z.ZodEnum<{
163
+ "80mm_42col": "80mm_42col";
164
+ "80mm_48col": "80mm_48col";
165
+ "58mm_32col": "58mm_32col";
166
+ "58mm_35col": "58mm_35col";
167
+ }>;
115
168
  createdAt: z.ZodString;
116
169
  updatedAt: z.ZodString;
117
170
  }, z.core.$strip>;
@@ -147,6 +200,12 @@ declare const getPrinterDetailsResponseSchema: z.ZodObject<{
147
200
  protocol: z.ZodEnum<{
148
201
  esc_pos: "esc_pos";
149
202
  }>;
203
+ receiptProfile: z.ZodEnum<{
204
+ "80mm_42col": "80mm_42col";
205
+ "80mm_48col": "80mm_48col";
206
+ "58mm_32col": "58mm_32col";
207
+ "58mm_35col": "58mm_35col";
208
+ }>;
150
209
  createdAt: z.ZodString;
151
210
  updatedAt: z.ZodString;
152
211
  }, z.core.$strip>;
@@ -165,6 +224,12 @@ declare class GetPrinterDetails extends AbstractApiRequest<typeof getPrinterDeta
165
224
  protocol: z.ZodEnum<{
166
225
  esc_pos: "esc_pos";
167
226
  }>;
227
+ receiptProfile: z.ZodEnum<{
228
+ "80mm_42col": "80mm_42col";
229
+ "80mm_48col": "80mm_48col";
230
+ "58mm_32col": "58mm_32col";
231
+ "58mm_35col": "58mm_35col";
232
+ }>;
168
233
  createdAt: z.ZodString;
169
234
  updatedAt: z.ZodString;
170
235
  }, z.core.$strip>;
@@ -184,6 +249,17 @@ declare const getPrintersQuerySchema: z.ZodObject<{
184
249
  }>, z.ZodArray<z.ZodEnum<{
185
250
  esc_pos: "esc_pos";
186
251
  }>>]>>;
252
+ receiptProfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
253
+ "80mm_42col": "80mm_42col";
254
+ "80mm_48col": "80mm_48col";
255
+ "58mm_32col": "58mm_32col";
256
+ "58mm_35col": "58mm_35col";
257
+ }>, z.ZodArray<z.ZodEnum<{
258
+ "80mm_42col": "80mm_42col";
259
+ "80mm_48col": "80mm_48col";
260
+ "58mm_32col": "58mm_32col";
261
+ "58mm_35col": "58mm_35col";
262
+ }>>]>>;
187
263
  'order[name]': z.ZodOptional<z.ZodEnum<{
188
264
  asc: "asc";
189
265
  desc: "desc";
@@ -219,6 +295,12 @@ declare const getPrintersResponseSchema: z.ZodObject<{
219
295
  protocol: z.ZodEnum<{
220
296
  esc_pos: "esc_pos";
221
297
  }>;
298
+ receiptProfile: z.ZodEnum<{
299
+ "80mm_42col": "80mm_42col";
300
+ "80mm_48col": "80mm_48col";
301
+ "58mm_32col": "58mm_32col";
302
+ "58mm_35col": "58mm_35col";
303
+ }>;
222
304
  createdAt: z.ZodString;
223
305
  updatedAt: z.ZodString;
224
306
  }, z.core.$strip>>;
@@ -247,6 +329,12 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
247
329
  protocol: z.ZodEnum<{
248
330
  esc_pos: "esc_pos";
249
331
  }>;
332
+ receiptProfile: z.ZodEnum<{
333
+ "80mm_42col": "80mm_42col";
334
+ "80mm_48col": "80mm_48col";
335
+ "58mm_32col": "58mm_32col";
336
+ "58mm_35col": "58mm_35col";
337
+ }>;
250
338
  createdAt: z.ZodString;
251
339
  updatedAt: z.ZodString;
252
340
  }, z.core.$strip>>;
@@ -268,6 +356,17 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
268
356
  }>, z.ZodArray<z.ZodEnum<{
269
357
  esc_pos: "esc_pos";
270
358
  }>>]>>;
359
+ receiptProfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
360
+ "80mm_42col": "80mm_42col";
361
+ "80mm_48col": "80mm_48col";
362
+ "58mm_32col": "58mm_32col";
363
+ "58mm_35col": "58mm_35col";
364
+ }>, z.ZodArray<z.ZodEnum<{
365
+ "80mm_42col": "80mm_42col";
366
+ "80mm_48col": "80mm_48col";
367
+ "58mm_32col": "58mm_32col";
368
+ "58mm_35col": "58mm_35col";
369
+ }>>]>>;
271
370
  'order[name]': z.ZodOptional<z.ZodEnum<{
272
371
  asc: "asc";
273
372
  desc: "desc";
@@ -300,6 +399,12 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
300
399
  protocol: z.ZodEnum<{
301
400
  esc_pos: "esc_pos";
302
401
  }>;
402
+ receiptProfile: z.ZodEnum<{
403
+ "80mm_42col": "80mm_42col";
404
+ "80mm_48col": "80mm_48col";
405
+ "58mm_32col": "58mm_32col";
406
+ "58mm_35col": "58mm_35col";
407
+ }>;
303
408
  createdAt: z.ZodString;
304
409
  updatedAt: z.ZodString;
305
410
  }, z.core.$strip>;
@@ -319,6 +424,17 @@ declare const getPrintersFromPointOfSaleQuerySchema: z.ZodObject<{
319
424
  }>, z.ZodArray<z.ZodEnum<{
320
425
  esc_pos: "esc_pos";
321
426
  }>>]>>;
427
+ receiptProfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
428
+ "80mm_42col": "80mm_42col";
429
+ "80mm_48col": "80mm_48col";
430
+ "58mm_32col": "58mm_32col";
431
+ "58mm_35col": "58mm_35col";
432
+ }>, z.ZodArray<z.ZodEnum<{
433
+ "80mm_42col": "80mm_42col";
434
+ "80mm_48col": "80mm_48col";
435
+ "58mm_32col": "58mm_32col";
436
+ "58mm_35col": "58mm_35col";
437
+ }>>]>>;
322
438
  'order[name]': z.ZodOptional<z.ZodEnum<{
323
439
  asc: "asc";
324
440
  desc: "desc";
@@ -353,6 +469,12 @@ declare const getPrintersFromPointOfSaleResponseSchema: z.ZodArray<z.ZodObject<{
353
469
  protocol: z.ZodEnum<{
354
470
  esc_pos: "esc_pos";
355
471
  }>;
472
+ receiptProfile: z.ZodEnum<{
473
+ "80mm_42col": "80mm_42col";
474
+ "80mm_48col": "80mm_48col";
475
+ "58mm_32col": "58mm_32col";
476
+ "58mm_35col": "58mm_35col";
477
+ }>;
356
478
  createdAt: z.ZodString;
357
479
  updatedAt: z.ZodString;
358
480
  }, z.core.$strip>>;
@@ -371,6 +493,12 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
371
493
  protocol: z.ZodEnum<{
372
494
  esc_pos: "esc_pos";
373
495
  }>;
496
+ receiptProfile: z.ZodEnum<{
497
+ "80mm_42col": "80mm_42col";
498
+ "80mm_48col": "80mm_48col";
499
+ "58mm_32col": "58mm_32col";
500
+ "58mm_35col": "58mm_35col";
501
+ }>;
374
502
  createdAt: z.ZodString;
375
503
  updatedAt: z.ZodString;
376
504
  }, z.core.$strip>>;
@@ -383,6 +511,17 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
383
511
  }>, z.ZodArray<z.ZodEnum<{
384
512
  esc_pos: "esc_pos";
385
513
  }>>]>>;
514
+ receiptProfile: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
515
+ "80mm_42col": "80mm_42col";
516
+ "80mm_48col": "80mm_48col";
517
+ "58mm_32col": "58mm_32col";
518
+ "58mm_35col": "58mm_35col";
519
+ }>, z.ZodArray<z.ZodEnum<{
520
+ "80mm_42col": "80mm_42col";
521
+ "80mm_48col": "80mm_48col";
522
+ "58mm_32col": "58mm_32col";
523
+ "58mm_35col": "58mm_35col";
524
+ }>>]>>;
386
525
  'order[name]': z.ZodOptional<z.ZodEnum<{
387
526
  asc: "asc";
388
527
  desc: "desc";
@@ -415,6 +554,12 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
415
554
  protocol: z.ZodEnum<{
416
555
  esc_pos: "esc_pos";
417
556
  }>;
557
+ receiptProfile: z.ZodEnum<{
558
+ "80mm_42col": "80mm_42col";
559
+ "80mm_48col": "80mm_48col";
560
+ "58mm_32col": "58mm_32col";
561
+ "58mm_35col": "58mm_35col";
562
+ }>;
418
563
  createdAt: z.ZodString;
419
564
  updatedAt: z.ZodString;
420
565
  }, z.core.$strip>;
@@ -430,6 +575,12 @@ declare const updatePrinterInputSchema: z.ZodObject<{
430
575
  protocol: z.ZodOptional<z.ZodEnum<{
431
576
  esc_pos: "esc_pos";
432
577
  }>>;
578
+ receiptProfile: z.ZodOptional<z.ZodEnum<{
579
+ "80mm_42col": "80mm_42col";
580
+ "80mm_48col": "80mm_48col";
581
+ "58mm_32col": "58mm_32col";
582
+ "58mm_35col": "58mm_35col";
583
+ }>>;
433
584
  name: z.ZodOptional<z.ZodString>;
434
585
  ip: z.ZodOptional<z.ZodIPv4>;
435
586
  tls: z.ZodOptional<z.ZodBoolean>;
@@ -444,6 +595,12 @@ declare const updatePrinterResponseSchema: z.ZodObject<{
444
595
  protocol: z.ZodEnum<{
445
596
  esc_pos: "esc_pos";
446
597
  }>;
598
+ receiptProfile: z.ZodEnum<{
599
+ "80mm_42col": "80mm_42col";
600
+ "80mm_48col": "80mm_48col";
601
+ "58mm_32col": "58mm_32col";
602
+ "58mm_35col": "58mm_35col";
603
+ }>;
447
604
  createdAt: z.ZodString;
448
605
  updatedAt: z.ZodString;
449
606
  }, z.core.$strip>;
@@ -456,6 +613,12 @@ declare class UpdatePrinter extends AbstractApiRequest<typeof updatePrinterInput
456
613
  protocol: z.ZodOptional<z.ZodEnum<{
457
614
  esc_pos: "esc_pos";
458
615
  }>>;
616
+ receiptProfile: z.ZodOptional<z.ZodEnum<{
617
+ "80mm_42col": "80mm_42col";
618
+ "80mm_48col": "80mm_48col";
619
+ "58mm_32col": "58mm_32col";
620
+ "58mm_35col": "58mm_35col";
621
+ }>>;
459
622
  name: z.ZodOptional<z.ZodString>;
460
623
  ip: z.ZodOptional<z.ZodIPv4>;
461
624
  tls: z.ZodOptional<z.ZodBoolean>;
@@ -469,6 +632,12 @@ declare class UpdatePrinter extends AbstractApiRequest<typeof updatePrinterInput
469
632
  protocol: z.ZodEnum<{
470
633
  esc_pos: "esc_pos";
471
634
  }>;
635
+ receiptProfile: z.ZodEnum<{
636
+ "80mm_42col": "80mm_42col";
637
+ "80mm_48col": "80mm_48col";
638
+ "58mm_32col": "58mm_32col";
639
+ "58mm_35col": "58mm_35col";
640
+ }>;
472
641
  createdAt: z.ZodString;
473
642
  updatedAt: z.ZodString;
474
643
  }, z.core.$strip>;
package/dist/index.js CHANGED
@@ -8,6 +8,7 @@ var __export = (target, all) => {
8
8
  import {
9
9
  datetimeSchema,
10
10
  printerProtocolSchema,
11
+ printerReceiptProfileSchema,
11
12
  sortDirSchema,
12
13
  timestampsFilterSchema
13
14
  } from "@deliverart/sdk-js-global-types";
@@ -11164,6 +11165,7 @@ var printerSchema = external_exports.object({
11164
11165
  ip: external_exports.ipv4(),
11165
11166
  tls: external_exports.boolean(),
11166
11167
  protocol: printerProtocolSchema,
11168
+ receiptProfile: printerReceiptProfileSchema,
11167
11169
  createdAt: datetimeSchema,
11168
11170
  updatedAt: datetimeSchema
11169
11171
  });
@@ -11171,6 +11173,7 @@ var writablePrinterSchema = printerSchema.pick({
11171
11173
  name: true,
11172
11174
  ip: true,
11173
11175
  protocol: true,
11176
+ receiptProfile: true,
11174
11177
  tls: true
11175
11178
  });
11176
11179
  var writableCreatePrinterSchema = printerSchema.pick({
@@ -11178,6 +11181,7 @@ var writableCreatePrinterSchema = printerSchema.pick({
11178
11181
  name: true,
11179
11182
  ip: true,
11180
11183
  protocol: true,
11184
+ receiptProfile: true,
11181
11185
  tls: true
11182
11186
  });
11183
11187
  var printersQuerySchema = external_exports.object({
@@ -11185,6 +11189,7 @@ var printersQuerySchema = external_exports.object({
11185
11189
  name: external_exports.string().optional(),
11186
11190
  tls: external_exports.boolean().optional(),
11187
11191
  protocol: external_exports.union([printerProtocolSchema, external_exports.array(printerProtocolSchema)]).optional(),
11192
+ receiptProfile: external_exports.union([printerReceiptProfileSchema, external_exports.array(printerReceiptProfileSchema)]).optional(),
11188
11193
  "order[name]": sortDirSchema.optional(),
11189
11194
  "order[createdAt]": sortDirSchema.optional(),
11190
11195
  "order[updatedAt]": sortDirSchema.optional(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-printer",
3
3
  "description": "Deliverart JavaScript SDK for Printer Management",
4
- "version": "2.8.4",
4
+ "version": "2.8.5",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -18,9 +18,9 @@
18
18
  "dist"
19
19
  ],
20
20
  "dependencies": {
21
- "@deliverart/sdk-js-global-types": "2.8.4",
22
- "@deliverart/sdk-js-core": "2.8.4",
23
- "@deliverart/sdk-js-point-of-sale": "2.8.4"
21
+ "@deliverart/sdk-js-core": "2.8.5",
22
+ "@deliverart/sdk-js-global-types": "2.8.5",
23
+ "@deliverart/sdk-js-point-of-sale": "2.8.5"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"