@connectedxm/zpl-generator 0.0.2 → 0.0.3

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.
@@ -14,7 +14,7 @@ export declare const BackfeedAction: {
14
14
  readonly Backfeed80: "80";
15
15
  readonly Backfeed90: "90";
16
16
  };
17
- export declare const backfeedActionSchema: z.ZodNativeEnum<{
17
+ export declare const backfeedActionSchema: z.ZodEnum<{
18
18
  readonly Off: "O";
19
19
  readonly Normal: "N";
20
20
  readonly BackfeedAfter: "A";
@@ -38,7 +38,7 @@ export declare const MediaType: {
38
38
  readonly NonContinuousMarkSensing: "M";
39
39
  readonly AutoDetect: "A";
40
40
  };
41
- export declare const mediaTypeSchema: z.ZodNativeEnum<{
41
+ export declare const mediaTypeSchema: z.ZodEnum<{
42
42
  readonly Continuous: "N";
43
43
  readonly VariableLengthContinuous: "V";
44
44
  readonly NonContinuousWebSensing: "W";
@@ -51,7 +51,7 @@ export declare const ThermalMediaType: {
51
51
  readonly DirectThermal: "D";
52
52
  readonly ThermalTransfer: "T";
53
53
  };
54
- export declare const thermalMediaTypeSchema: z.ZodNativeEnum<{
54
+ export declare const thermalMediaTypeSchema: z.ZodEnum<{
55
55
  readonly DirectThermal: "D";
56
56
  readonly ThermalTransfer: "T";
57
57
  }>;
@@ -60,7 +60,7 @@ export declare const PrintOrientation: {
60
60
  readonly Invert: "I";
61
61
  readonly Normal: "N";
62
62
  };
63
- export declare const printOrientationSchema: z.ZodNativeEnum<{
63
+ export declare const printOrientationSchema: z.ZodEnum<{
64
64
  readonly Invert: "I";
65
65
  readonly Normal: "N";
66
66
  }>;
@@ -69,7 +69,7 @@ export declare const MirrorMode: {
69
69
  readonly Mirror: "Y";
70
70
  readonly Normal: "N";
71
71
  };
72
- export declare const mirrorModeSchema: z.ZodNativeEnum<{
72
+ export declare const mirrorModeSchema: z.ZodEnum<{
73
73
  readonly Mirror: "Y";
74
74
  readonly Normal: "N";
75
75
  }>;
@@ -78,7 +78,7 @@ export declare const PrintDensityAdjustment: {
78
78
  readonly Normal: "A";
79
79
  readonly Half: "B";
80
80
  };
81
- export declare const printDensityAdjustmentSchema: z.ZodNativeEnum<{
81
+ export declare const printDensityAdjustmentSchema: z.ZodEnum<{
82
82
  readonly Normal: "A";
83
83
  readonly Half: "B";
84
84
  }>;
@@ -87,7 +87,7 @@ export declare const ReverseMode: {
87
87
  readonly Enable: "Y";
88
88
  readonly Disable: "N";
89
89
  };
90
- export declare const reverseModeSchema: z.ZodNativeEnum<{
90
+ export declare const reverseModeSchema: z.ZodEnum<{
91
91
  readonly Enable: "Y";
92
92
  readonly Disable: "N";
93
93
  }>;
@@ -102,7 +102,7 @@ export declare const PostPrintMode: {
102
102
  readonly EncodeRFID: "F";
103
103
  readonly Kiosk: "K";
104
104
  };
105
- export declare const postPrintModeSchema: z.ZodNativeEnum<{
105
+ export declare const postPrintModeSchema: z.ZodEnum<{
106
106
  readonly TearOff: "T";
107
107
  readonly PeelOff: "P";
108
108
  readonly Rewind: "R";
@@ -117,7 +117,7 @@ export declare const PrepeelMode: {
117
117
  readonly Prepeel: "Y";
118
118
  readonly NoPrepeel: "N";
119
119
  };
120
- export declare const prepeelModeSchema: z.ZodNativeEnum<{
120
+ export declare const prepeelModeSchema: z.ZodEnum<{
121
121
  readonly Prepeel: "Y";
122
122
  readonly NoPrepeel: "N";
123
123
  }>;
@@ -126,7 +126,7 @@ export declare const AllMediaMode: {
126
126
  readonly AllMedia: "Y";
127
127
  readonly ContinuousOnly: "N";
128
128
  };
129
- export declare const allMediaModeSchema: z.ZodNativeEnum<{
129
+ export declare const allMediaModeSchema: z.ZodEnum<{
130
130
  readonly AllMedia: "Y";
131
131
  readonly ContinuousOnly: "N";
132
132
  }>;
@@ -137,7 +137,7 @@ export declare const FontOrientation: {
137
137
  readonly Rotate180: "I";
138
138
  readonly Rotate270: "B";
139
139
  };
140
- export declare const fontOrientationSchema: z.ZodNativeEnum<{
140
+ export declare const fontOrientationSchema: z.ZodEnum<{
141
141
  readonly NoRotation: "N";
142
142
  readonly Rotate90: "R";
143
143
  readonly Rotate180: "I";
@@ -150,7 +150,7 @@ export declare const TextAlignment: {
150
150
  readonly Center: "C";
151
151
  readonly Justified: "J";
152
152
  };
153
- export declare const textAlignmentSchema: z.ZodNativeEnum<{
153
+ export declare const textAlignmentSchema: z.ZodEnum<{
154
154
  readonly Left: "L";
155
155
  readonly Right: "R";
156
156
  readonly Center: "C";
@@ -163,7 +163,7 @@ export declare const QRCodeErrorCorrection: {
163
163
  readonly Medium: "M";
164
164
  readonly Lower: "L";
165
165
  };
166
- export declare const qrCodeErrorCorrectionSchema: z.ZodNativeEnum<{
166
+ export declare const qrCodeErrorCorrectionSchema: z.ZodEnum<{
167
167
  readonly Highest: "H";
168
168
  readonly High: "Q";
169
169
  readonly Medium: "M";
@@ -174,7 +174,7 @@ export declare const YesNo: {
174
174
  readonly Yes: "Y";
175
175
  readonly No: "N";
176
176
  };
177
- export declare const yesNoSchema: z.ZodNativeEnum<{
177
+ export declare const yesNoSchema: z.ZodEnum<{
178
178
  readonly Yes: "Y";
179
179
  readonly No: "N";
180
180
  }>;
@@ -183,7 +183,7 @@ export declare const VerticalAlignment: {
183
183
  readonly Start: "start";
184
184
  readonly End: "end";
185
185
  };
186
- export declare const verticalAlignmentSchema: z.ZodNativeEnum<{
186
+ export declare const verticalAlignmentSchema: z.ZodEnum<{
187
187
  readonly Start: "start";
188
188
  readonly End: "end";
189
189
  }>;
@@ -196,7 +196,7 @@ export declare const SourceType: {
196
196
  readonly passResponses: "passResponses";
197
197
  readonly passAttributes: "passAttributes";
198
198
  };
199
- export declare const sourceTypeSchema: z.ZodNativeEnum<{
199
+ export declare const sourceTypeSchema: z.ZodEnum<{
200
200
  readonly account: "account";
201
201
  readonly accountAttributes: "accountAttributes";
202
202
  readonly accountTiers: "accountTiers";
@@ -211,7 +211,7 @@ export declare const TextTransformation: {
211
211
  readonly Lowercase: "Lowercase";
212
212
  readonly Capitalize: "Capitalize";
213
213
  };
214
- export declare const textTransformationSchema: z.ZodNativeEnum<{
214
+ export declare const textTransformationSchema: z.ZodEnum<{
215
215
  readonly None: "None";
216
216
  readonly Uppercase: "Uppercase";
217
217
  readonly Lowercase: "Lowercase";
@@ -222,22 +222,14 @@ export declare const wordWidthSchema: z.ZodObject<{
222
222
  word: z.ZodString;
223
223
  width: z.ZodNumber;
224
224
  spaceWidth: z.ZodNumber;
225
- }, "strip", z.ZodTypeAny, {
226
- word: string;
227
- width: number;
228
- spaceWidth: number;
229
- }, {
230
- word: string;
231
- width: number;
232
- spaceWidth: number;
233
- }>;
225
+ }, z.core.$strip>;
234
226
  export type WordWidth = z.infer<typeof wordWidthSchema>;
235
227
  export declare const textFieldSchema: z.ZodObject<{
236
228
  name: z.ZodString;
237
229
  x: z.ZodNumber;
238
230
  y: z.ZodNumber;
239
231
  defaultValue: z.ZodString;
240
- sourceType: z.ZodNativeEnum<{
232
+ sourceType: z.ZodEnum<{
241
233
  readonly account: "account";
242
234
  readonly accountAttributes: "accountAttributes";
243
235
  readonly accountTiers: "accountTiers";
@@ -247,10 +239,9 @@ export declare const textFieldSchema: z.ZodObject<{
247
239
  }>;
248
240
  sourceLookup: z.ZodString;
249
241
  hideEmpty: z.ZodBoolean;
250
- } & {
251
242
  type: z.ZodLiteral<"text">;
252
243
  font: z.ZodString;
253
- fontOrientation: z.ZodNativeEnum<{
244
+ fontOrientation: z.ZodEnum<{
254
245
  readonly NoRotation: "N";
255
246
  readonly Rotate90: "R";
256
247
  readonly Rotate180: "I";
@@ -260,75 +251,33 @@ export declare const textFieldSchema: z.ZodObject<{
260
251
  maxWidth: z.ZodNumber;
261
252
  maxLines: z.ZodNumber;
262
253
  lineSpacing: z.ZodNumber;
263
- alignment: z.ZodNativeEnum<{
254
+ alignment: z.ZodEnum<{
264
255
  readonly Left: "L";
265
256
  readonly Right: "R";
266
257
  readonly Center: "C";
267
258
  readonly Justified: "J";
268
259
  }>;
269
260
  hangingIndent: z.ZodNumber;
270
- verticalAlignment: z.ZodNativeEnum<{
261
+ verticalAlignment: z.ZodEnum<{
271
262
  readonly Start: "start";
272
263
  readonly End: "end";
273
264
  }>;
274
265
  charsPerLine: z.ZodNumber;
275
- transformation: z.ZodNativeEnum<{
266
+ transformation: z.ZodEnum<{
276
267
  readonly None: "None";
277
268
  readonly Uppercase: "Uppercase";
278
269
  readonly Lowercase: "Lowercase";
279
270
  readonly Capitalize: "Capitalize";
280
271
  }>;
281
272
  maxCharacters: z.ZodNumber;
282
- }, "strip", z.ZodTypeAny, {
283
- type: "text";
284
- name: string;
285
- x: number;
286
- y: number;
287
- defaultValue: string;
288
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
289
- sourceLookup: string;
290
- hideEmpty: boolean;
291
- font: string;
292
- fontOrientation: "N" | "B" | "I" | "R";
293
- fontHeight: number;
294
- maxWidth: number;
295
- maxLines: number;
296
- lineSpacing: number;
297
- alignment: "R" | "C" | "L" | "J";
298
- hangingIndent: number;
299
- verticalAlignment: "start" | "end";
300
- charsPerLine: number;
301
- transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
302
- maxCharacters: number;
303
- }, {
304
- type: "text";
305
- name: string;
306
- x: number;
307
- y: number;
308
- defaultValue: string;
309
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
310
- sourceLookup: string;
311
- hideEmpty: boolean;
312
- font: string;
313
- fontOrientation: "N" | "B" | "I" | "R";
314
- fontHeight: number;
315
- maxWidth: number;
316
- maxLines: number;
317
- lineSpacing: number;
318
- alignment: "R" | "C" | "L" | "J";
319
- hangingIndent: number;
320
- verticalAlignment: "start" | "end";
321
- charsPerLine: number;
322
- transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
323
- maxCharacters: number;
324
- }>;
273
+ }, z.core.$strip>;
325
274
  export type TextField = z.infer<typeof textFieldSchema>;
326
275
  export declare const barcodeFieldSchema: z.ZodObject<{
327
276
  name: z.ZodString;
328
277
  x: z.ZodNumber;
329
278
  y: z.ZodNumber;
330
279
  defaultValue: z.ZodString;
331
- sourceType: z.ZodNativeEnum<{
280
+ sourceType: z.ZodEnum<{
332
281
  readonly account: "account";
333
282
  readonly accountAttributes: "accountAttributes";
334
283
  readonly accountTiers: "accountTiers";
@@ -338,66 +287,35 @@ export declare const barcodeFieldSchema: z.ZodObject<{
338
287
  }>;
339
288
  sourceLookup: z.ZodString;
340
289
  hideEmpty: z.ZodBoolean;
341
- } & {
342
290
  type: z.ZodLiteral<"barcode">;
343
291
  barWidth: z.ZodNumber;
344
- orientation: z.ZodNativeEnum<{
292
+ orientation: z.ZodEnum<{
345
293
  readonly NoRotation: "N";
346
294
  readonly Rotate90: "R";
347
295
  readonly Rotate180: "I";
348
296
  readonly Rotate270: "B";
349
297
  }>;
350
298
  height: z.ZodNumber;
351
- line: z.ZodNativeEnum<{
299
+ line: z.ZodEnum<{
352
300
  readonly Yes: "Y";
353
301
  readonly No: "N";
354
302
  }>;
355
- lineAbove: z.ZodNativeEnum<{
303
+ lineAbove: z.ZodEnum<{
356
304
  readonly Yes: "Y";
357
305
  readonly No: "N";
358
306
  }>;
359
- checkDigit: z.ZodNativeEnum<{
307
+ checkDigit: z.ZodEnum<{
360
308
  readonly Yes: "Y";
361
309
  readonly No: "N";
362
310
  }>;
363
- }, "strip", z.ZodTypeAny, {
364
- type: "barcode";
365
- name: string;
366
- x: number;
367
- y: number;
368
- defaultValue: string;
369
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
370
- sourceLookup: string;
371
- hideEmpty: boolean;
372
- barWidth: number;
373
- orientation: "N" | "B" | "I" | "R";
374
- height: number;
375
- line: "N" | "Y";
376
- lineAbove: "N" | "Y";
377
- checkDigit: "N" | "Y";
378
- }, {
379
- type: "barcode";
380
- name: string;
381
- x: number;
382
- y: number;
383
- defaultValue: string;
384
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
385
- sourceLookup: string;
386
- hideEmpty: boolean;
387
- barWidth: number;
388
- orientation: "N" | "B" | "I" | "R";
389
- height: number;
390
- line: "N" | "Y";
391
- lineAbove: "N" | "Y";
392
- checkDigit: "N" | "Y";
393
- }>;
311
+ }, z.core.$strip>;
394
312
  export type BarcodeField = z.infer<typeof barcodeFieldSchema>;
395
313
  export declare const qrcodeFieldSchema: z.ZodObject<{
396
314
  name: z.ZodString;
397
315
  x: z.ZodNumber;
398
316
  y: z.ZodNumber;
399
317
  defaultValue: z.ZodString;
400
- sourceType: z.ZodNativeEnum<{
318
+ sourceType: z.ZodEnum<{
401
319
  readonly account: "account";
402
320
  readonly accountAttributes: "accountAttributes";
403
321
  readonly accountTiers: "accountTiers";
@@ -407,54 +325,25 @@ export declare const qrcodeFieldSchema: z.ZodObject<{
407
325
  }>;
408
326
  sourceLookup: z.ZodString;
409
327
  hideEmpty: z.ZodBoolean;
410
- } & {
411
328
  type: z.ZodLiteral<"qrcode">;
412
329
  orientation: z.ZodLiteral<"N">;
413
330
  model: z.ZodLiteral<"2">;
414
331
  magnification: z.ZodNumber;
415
- errorCorrection: z.ZodNativeEnum<{
332
+ errorCorrection: z.ZodEnum<{
416
333
  readonly Highest: "H";
417
334
  readonly High: "Q";
418
335
  readonly Medium: "M";
419
336
  readonly Lower: "L";
420
337
  }>;
421
338
  mask: z.ZodNumber;
422
- }, "strip", z.ZodTypeAny, {
423
- type: "qrcode";
424
- name: string;
425
- x: number;
426
- y: number;
427
- defaultValue: string;
428
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
429
- sourceLookup: string;
430
- hideEmpty: boolean;
431
- orientation: "N";
432
- model: "2";
433
- magnification: number;
434
- errorCorrection: "M" | "L" | "H" | "Q";
435
- mask: number;
436
- }, {
437
- type: "qrcode";
438
- name: string;
439
- x: number;
440
- y: number;
441
- defaultValue: string;
442
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
443
- sourceLookup: string;
444
- hideEmpty: boolean;
445
- orientation: "N";
446
- model: "2";
447
- magnification: number;
448
- errorCorrection: "M" | "L" | "H" | "Q";
449
- mask: number;
450
- }>;
339
+ }, z.core.$strip>;
451
340
  export type QrcodeField = z.infer<typeof qrcodeFieldSchema>;
452
- export declare const fieldSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
341
+ export declare const fieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
453
342
  name: z.ZodString;
454
343
  x: z.ZodNumber;
455
344
  y: z.ZodNumber;
456
345
  defaultValue: z.ZodString;
457
- sourceType: z.ZodNativeEnum<{
346
+ sourceType: z.ZodEnum<{
458
347
  readonly account: "account";
459
348
  readonly accountAttributes: "accountAttributes";
460
349
  readonly accountTiers: "accountTiers";
@@ -464,10 +353,9 @@ export declare const fieldSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
464
353
  }>;
465
354
  sourceLookup: z.ZodString;
466
355
  hideEmpty: z.ZodBoolean;
467
- } & {
468
356
  type: z.ZodLiteral<"text">;
469
357
  font: z.ZodString;
470
- fontOrientation: z.ZodNativeEnum<{
358
+ fontOrientation: z.ZodEnum<{
471
359
  readonly NoRotation: "N";
472
360
  readonly Rotate90: "R";
473
361
  readonly Rotate180: "I";
@@ -477,73 +365,31 @@ export declare const fieldSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
477
365
  maxWidth: z.ZodNumber;
478
366
  maxLines: z.ZodNumber;
479
367
  lineSpacing: z.ZodNumber;
480
- alignment: z.ZodNativeEnum<{
368
+ alignment: z.ZodEnum<{
481
369
  readonly Left: "L";
482
370
  readonly Right: "R";
483
371
  readonly Center: "C";
484
372
  readonly Justified: "J";
485
373
  }>;
486
374
  hangingIndent: z.ZodNumber;
487
- verticalAlignment: z.ZodNativeEnum<{
375
+ verticalAlignment: z.ZodEnum<{
488
376
  readonly Start: "start";
489
377
  readonly End: "end";
490
378
  }>;
491
379
  charsPerLine: z.ZodNumber;
492
- transformation: z.ZodNativeEnum<{
380
+ transformation: z.ZodEnum<{
493
381
  readonly None: "None";
494
382
  readonly Uppercase: "Uppercase";
495
383
  readonly Lowercase: "Lowercase";
496
384
  readonly Capitalize: "Capitalize";
497
385
  }>;
498
386
  maxCharacters: z.ZodNumber;
499
- }, "strip", z.ZodTypeAny, {
500
- type: "text";
501
- name: string;
502
- x: number;
503
- y: number;
504
- defaultValue: string;
505
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
506
- sourceLookup: string;
507
- hideEmpty: boolean;
508
- font: string;
509
- fontOrientation: "N" | "B" | "I" | "R";
510
- fontHeight: number;
511
- maxWidth: number;
512
- maxLines: number;
513
- lineSpacing: number;
514
- alignment: "R" | "C" | "L" | "J";
515
- hangingIndent: number;
516
- verticalAlignment: "start" | "end";
517
- charsPerLine: number;
518
- transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
519
- maxCharacters: number;
520
- }, {
521
- type: "text";
522
- name: string;
523
- x: number;
524
- y: number;
525
- defaultValue: string;
526
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
527
- sourceLookup: string;
528
- hideEmpty: boolean;
529
- font: string;
530
- fontOrientation: "N" | "B" | "I" | "R";
531
- fontHeight: number;
532
- maxWidth: number;
533
- maxLines: number;
534
- lineSpacing: number;
535
- alignment: "R" | "C" | "L" | "J";
536
- hangingIndent: number;
537
- verticalAlignment: "start" | "end";
538
- charsPerLine: number;
539
- transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
540
- maxCharacters: number;
541
- }>, z.ZodObject<{
387
+ }, z.core.$strip>, z.ZodObject<{
542
388
  name: z.ZodString;
543
389
  x: z.ZodNumber;
544
390
  y: z.ZodNumber;
545
391
  defaultValue: z.ZodString;
546
- sourceType: z.ZodNativeEnum<{
392
+ sourceType: z.ZodEnum<{
547
393
  readonly account: "account";
548
394
  readonly accountAttributes: "accountAttributes";
549
395
  readonly accountTiers: "accountTiers";
@@ -553,64 +399,33 @@ export declare const fieldSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
553
399
  }>;
554
400
  sourceLookup: z.ZodString;
555
401
  hideEmpty: z.ZodBoolean;
556
- } & {
557
402
  type: z.ZodLiteral<"barcode">;
558
403
  barWidth: z.ZodNumber;
559
- orientation: z.ZodNativeEnum<{
404
+ orientation: z.ZodEnum<{
560
405
  readonly NoRotation: "N";
561
406
  readonly Rotate90: "R";
562
407
  readonly Rotate180: "I";
563
408
  readonly Rotate270: "B";
564
409
  }>;
565
410
  height: z.ZodNumber;
566
- line: z.ZodNativeEnum<{
411
+ line: z.ZodEnum<{
567
412
  readonly Yes: "Y";
568
413
  readonly No: "N";
569
414
  }>;
570
- lineAbove: z.ZodNativeEnum<{
415
+ lineAbove: z.ZodEnum<{
571
416
  readonly Yes: "Y";
572
417
  readonly No: "N";
573
418
  }>;
574
- checkDigit: z.ZodNativeEnum<{
419
+ checkDigit: z.ZodEnum<{
575
420
  readonly Yes: "Y";
576
421
  readonly No: "N";
577
422
  }>;
578
- }, "strip", z.ZodTypeAny, {
579
- type: "barcode";
580
- name: string;
581
- x: number;
582
- y: number;
583
- defaultValue: string;
584
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
585
- sourceLookup: string;
586
- hideEmpty: boolean;
587
- barWidth: number;
588
- orientation: "N" | "B" | "I" | "R";
589
- height: number;
590
- line: "N" | "Y";
591
- lineAbove: "N" | "Y";
592
- checkDigit: "N" | "Y";
593
- }, {
594
- type: "barcode";
595
- name: string;
596
- x: number;
597
- y: number;
598
- defaultValue: string;
599
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
600
- sourceLookup: string;
601
- hideEmpty: boolean;
602
- barWidth: number;
603
- orientation: "N" | "B" | "I" | "R";
604
- height: number;
605
- line: "N" | "Y";
606
- lineAbove: "N" | "Y";
607
- checkDigit: "N" | "Y";
608
- }>, z.ZodObject<{
423
+ }, z.core.$strip>, z.ZodObject<{
609
424
  name: z.ZodString;
610
425
  x: z.ZodNumber;
611
426
  y: z.ZodNumber;
612
427
  defaultValue: z.ZodString;
613
- sourceType: z.ZodNativeEnum<{
428
+ sourceType: z.ZodEnum<{
614
429
  readonly account: "account";
615
430
  readonly accountAttributes: "accountAttributes";
616
431
  readonly accountTiers: "accountTiers";
@@ -620,52 +435,23 @@ export declare const fieldSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
620
435
  }>;
621
436
  sourceLookup: z.ZodString;
622
437
  hideEmpty: z.ZodBoolean;
623
- } & {
624
438
  type: z.ZodLiteral<"qrcode">;
625
439
  orientation: z.ZodLiteral<"N">;
626
440
  model: z.ZodLiteral<"2">;
627
441
  magnification: z.ZodNumber;
628
- errorCorrection: z.ZodNativeEnum<{
442
+ errorCorrection: z.ZodEnum<{
629
443
  readonly Highest: "H";
630
444
  readonly High: "Q";
631
445
  readonly Medium: "M";
632
446
  readonly Lower: "L";
633
447
  }>;
634
448
  mask: z.ZodNumber;
635
- }, "strip", z.ZodTypeAny, {
636
- type: "qrcode";
637
- name: string;
638
- x: number;
639
- y: number;
640
- defaultValue: string;
641
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
642
- sourceLookup: string;
643
- hideEmpty: boolean;
644
- orientation: "N";
645
- model: "2";
646
- magnification: number;
647
- errorCorrection: "M" | "L" | "H" | "Q";
648
- mask: number;
649
- }, {
650
- type: "qrcode";
651
- name: string;
652
- x: number;
653
- y: number;
654
- defaultValue: string;
655
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
656
- sourceLookup: string;
657
- hideEmpty: boolean;
658
- orientation: "N";
659
- model: "2";
660
- magnification: number;
661
- errorCorrection: "M" | "L" | "H" | "Q";
662
- mask: number;
663
- }>]>;
449
+ }, z.core.$strip>], "type">;
664
450
  export type Field = z.infer<typeof fieldSchema>;
665
451
  export declare const badgeSchema: z.ZodObject<{
666
452
  type: z.ZodLiteral<"thermal">;
667
453
  tearOffAdjustment: z.ZodNumber;
668
- backfeedActions: z.ZodNativeEnum<{
454
+ backfeedActions: z.ZodEnum<{
669
455
  readonly Off: "O";
670
456
  readonly Normal: "N";
671
457
  readonly BackfeedAfter: "A";
@@ -680,7 +466,7 @@ export declare const badgeSchema: z.ZodObject<{
680
466
  readonly Backfeed80: "80";
681
467
  readonly Backfeed90: "90";
682
468
  }>;
683
- media: z.ZodNativeEnum<{
469
+ media: z.ZodEnum<{
684
470
  readonly Continuous: "N";
685
471
  readonly VariableLengthContinuous: "V";
686
472
  readonly NonContinuousWebSensing: "W";
@@ -689,21 +475,21 @@ export declare const badgeSchema: z.ZodObject<{
689
475
  readonly AutoDetect: "A";
690
476
  }>;
691
477
  mediaOffset: z.ZodNumber;
692
- thermalMediaType: z.ZodNativeEnum<{
478
+ thermalMediaType: z.ZodEnum<{
693
479
  readonly DirectThermal: "D";
694
480
  readonly ThermalTransfer: "T";
695
481
  }>;
696
- printOrientation: z.ZodNativeEnum<{
482
+ printOrientation: z.ZodEnum<{
697
483
  readonly Invert: "I";
698
484
  readonly Normal: "N";
699
485
  }>;
700
- mirror: z.ZodNativeEnum<{
486
+ mirror: z.ZodEnum<{
701
487
  readonly Mirror: "Y";
702
488
  readonly Normal: "N";
703
489
  }>;
704
490
  labelHomeX: z.ZodNumber;
705
491
  labelHomeY: z.ZodNumber;
706
- printDensityAdjustment: z.ZodNativeEnum<{
492
+ printDensityAdjustment: z.ZodEnum<{
707
493
  readonly Normal: "A";
708
494
  readonly Half: "B";
709
495
  }>;
@@ -711,11 +497,11 @@ export declare const badgeSchema: z.ZodObject<{
711
497
  slewSpeed: z.ZodNumber;
712
498
  backfeedSpeed: z.ZodNumber;
713
499
  darkness: z.ZodNumber;
714
- reverse: z.ZodNativeEnum<{
500
+ reverse: z.ZodEnum<{
715
501
  readonly Enable: "Y";
716
502
  readonly Disable: "N";
717
503
  }>;
718
- postPrintMode: z.ZodNativeEnum<{
504
+ postPrintMode: z.ZodEnum<{
719
505
  readonly TearOff: "T";
720
506
  readonly PeelOff: "P";
721
507
  readonly Rewind: "R";
@@ -725,22 +511,22 @@ export declare const badgeSchema: z.ZodObject<{
725
511
  readonly EncodeRFID: "F";
726
512
  readonly Kiosk: "K";
727
513
  }>;
728
- prepeel: z.ZodNativeEnum<{
514
+ prepeel: z.ZodEnum<{
729
515
  readonly Prepeel: "Y";
730
516
  readonly NoPrepeel: "N";
731
517
  }>;
732
518
  printWidth: z.ZodNumber;
733
519
  labelLength: z.ZodNumber;
734
- allMedia: z.ZodNativeEnum<{
520
+ allMedia: z.ZodEnum<{
735
521
  readonly AllMedia: "Y";
736
522
  readonly ContinuousOnly: "N";
737
523
  }>;
738
- fields: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
524
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
739
525
  name: z.ZodString;
740
526
  x: z.ZodNumber;
741
527
  y: z.ZodNumber;
742
528
  defaultValue: z.ZodString;
743
- sourceType: z.ZodNativeEnum<{
529
+ sourceType: z.ZodEnum<{
744
530
  readonly account: "account";
745
531
  readonly accountAttributes: "accountAttributes";
746
532
  readonly accountTiers: "accountTiers";
@@ -750,10 +536,9 @@ export declare const badgeSchema: z.ZodObject<{
750
536
  }>;
751
537
  sourceLookup: z.ZodString;
752
538
  hideEmpty: z.ZodBoolean;
753
- } & {
754
539
  type: z.ZodLiteral<"text">;
755
540
  font: z.ZodString;
756
- fontOrientation: z.ZodNativeEnum<{
541
+ fontOrientation: z.ZodEnum<{
757
542
  readonly NoRotation: "N";
758
543
  readonly Rotate90: "R";
759
544
  readonly Rotate180: "I";
@@ -763,73 +548,31 @@ export declare const badgeSchema: z.ZodObject<{
763
548
  maxWidth: z.ZodNumber;
764
549
  maxLines: z.ZodNumber;
765
550
  lineSpacing: z.ZodNumber;
766
- alignment: z.ZodNativeEnum<{
551
+ alignment: z.ZodEnum<{
767
552
  readonly Left: "L";
768
553
  readonly Right: "R";
769
554
  readonly Center: "C";
770
555
  readonly Justified: "J";
771
556
  }>;
772
557
  hangingIndent: z.ZodNumber;
773
- verticalAlignment: z.ZodNativeEnum<{
558
+ verticalAlignment: z.ZodEnum<{
774
559
  readonly Start: "start";
775
560
  readonly End: "end";
776
561
  }>;
777
562
  charsPerLine: z.ZodNumber;
778
- transformation: z.ZodNativeEnum<{
563
+ transformation: z.ZodEnum<{
779
564
  readonly None: "None";
780
565
  readonly Uppercase: "Uppercase";
781
566
  readonly Lowercase: "Lowercase";
782
567
  readonly Capitalize: "Capitalize";
783
568
  }>;
784
569
  maxCharacters: z.ZodNumber;
785
- }, "strip", z.ZodTypeAny, {
786
- type: "text";
787
- name: string;
788
- x: number;
789
- y: number;
790
- defaultValue: string;
791
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
792
- sourceLookup: string;
793
- hideEmpty: boolean;
794
- font: string;
795
- fontOrientation: "N" | "B" | "I" | "R";
796
- fontHeight: number;
797
- maxWidth: number;
798
- maxLines: number;
799
- lineSpacing: number;
800
- alignment: "R" | "C" | "L" | "J";
801
- hangingIndent: number;
802
- verticalAlignment: "start" | "end";
803
- charsPerLine: number;
804
- transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
805
- maxCharacters: number;
806
- }, {
807
- type: "text";
808
- name: string;
809
- x: number;
810
- y: number;
811
- defaultValue: string;
812
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
813
- sourceLookup: string;
814
- hideEmpty: boolean;
815
- font: string;
816
- fontOrientation: "N" | "B" | "I" | "R";
817
- fontHeight: number;
818
- maxWidth: number;
819
- maxLines: number;
820
- lineSpacing: number;
821
- alignment: "R" | "C" | "L" | "J";
822
- hangingIndent: number;
823
- verticalAlignment: "start" | "end";
824
- charsPerLine: number;
825
- transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
826
- maxCharacters: number;
827
- }>, z.ZodObject<{
570
+ }, z.core.$strip>, z.ZodObject<{
828
571
  name: z.ZodString;
829
572
  x: z.ZodNumber;
830
573
  y: z.ZodNumber;
831
574
  defaultValue: z.ZodString;
832
- sourceType: z.ZodNativeEnum<{
575
+ sourceType: z.ZodEnum<{
833
576
  readonly account: "account";
834
577
  readonly accountAttributes: "accountAttributes";
835
578
  readonly accountTiers: "accountTiers";
@@ -839,64 +582,33 @@ export declare const badgeSchema: z.ZodObject<{
839
582
  }>;
840
583
  sourceLookup: z.ZodString;
841
584
  hideEmpty: z.ZodBoolean;
842
- } & {
843
585
  type: z.ZodLiteral<"barcode">;
844
586
  barWidth: z.ZodNumber;
845
- orientation: z.ZodNativeEnum<{
587
+ orientation: z.ZodEnum<{
846
588
  readonly NoRotation: "N";
847
589
  readonly Rotate90: "R";
848
590
  readonly Rotate180: "I";
849
591
  readonly Rotate270: "B";
850
592
  }>;
851
593
  height: z.ZodNumber;
852
- line: z.ZodNativeEnum<{
594
+ line: z.ZodEnum<{
853
595
  readonly Yes: "Y";
854
596
  readonly No: "N";
855
597
  }>;
856
- lineAbove: z.ZodNativeEnum<{
598
+ lineAbove: z.ZodEnum<{
857
599
  readonly Yes: "Y";
858
600
  readonly No: "N";
859
601
  }>;
860
- checkDigit: z.ZodNativeEnum<{
602
+ checkDigit: z.ZodEnum<{
861
603
  readonly Yes: "Y";
862
604
  readonly No: "N";
863
605
  }>;
864
- }, "strip", z.ZodTypeAny, {
865
- type: "barcode";
866
- name: string;
867
- x: number;
868
- y: number;
869
- defaultValue: string;
870
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
871
- sourceLookup: string;
872
- hideEmpty: boolean;
873
- barWidth: number;
874
- orientation: "N" | "B" | "I" | "R";
875
- height: number;
876
- line: "N" | "Y";
877
- lineAbove: "N" | "Y";
878
- checkDigit: "N" | "Y";
879
- }, {
880
- type: "barcode";
881
- name: string;
882
- x: number;
883
- y: number;
884
- defaultValue: string;
885
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
886
- sourceLookup: string;
887
- hideEmpty: boolean;
888
- barWidth: number;
889
- orientation: "N" | "B" | "I" | "R";
890
- height: number;
891
- line: "N" | "Y";
892
- lineAbove: "N" | "Y";
893
- checkDigit: "N" | "Y";
894
- }>, z.ZodObject<{
606
+ }, z.core.$strip>, z.ZodObject<{
895
607
  name: z.ZodString;
896
608
  x: z.ZodNumber;
897
609
  y: z.ZodNumber;
898
610
  defaultValue: z.ZodString;
899
- sourceType: z.ZodNativeEnum<{
611
+ sourceType: z.ZodEnum<{
900
612
  readonly account: "account";
901
613
  readonly accountAttributes: "accountAttributes";
902
614
  readonly accountTiers: "accountTiers";
@@ -906,194 +618,19 @@ export declare const badgeSchema: z.ZodObject<{
906
618
  }>;
907
619
  sourceLookup: z.ZodString;
908
620
  hideEmpty: z.ZodBoolean;
909
- } & {
910
621
  type: z.ZodLiteral<"qrcode">;
911
622
  orientation: z.ZodLiteral<"N">;
912
623
  model: z.ZodLiteral<"2">;
913
624
  magnification: z.ZodNumber;
914
- errorCorrection: z.ZodNativeEnum<{
625
+ errorCorrection: z.ZodEnum<{
915
626
  readonly Highest: "H";
916
627
  readonly High: "Q";
917
628
  readonly Medium: "M";
918
629
  readonly Lower: "L";
919
630
  }>;
920
631
  mask: z.ZodNumber;
921
- }, "strip", z.ZodTypeAny, {
922
- type: "qrcode";
923
- name: string;
924
- x: number;
925
- y: number;
926
- defaultValue: string;
927
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
928
- sourceLookup: string;
929
- hideEmpty: boolean;
930
- orientation: "N";
931
- model: "2";
932
- magnification: number;
933
- errorCorrection: "M" | "L" | "H" | "Q";
934
- mask: number;
935
- }, {
936
- type: "qrcode";
937
- name: string;
938
- x: number;
939
- y: number;
940
- defaultValue: string;
941
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
942
- sourceLookup: string;
943
- hideEmpty: boolean;
944
- orientation: "N";
945
- model: "2";
946
- magnification: number;
947
- errorCorrection: "M" | "L" | "H" | "Q";
948
- mask: number;
949
- }>]>, "many">;
950
- }, "strip", z.ZodTypeAny, {
951
- reverse: "N" | "Y";
952
- type: "thermal";
953
- tearOffAdjustment: number;
954
- backfeedActions: "O" | "N" | "A" | "B" | "10" | "20" | "30" | "40" | "50" | "60" | "70" | "80" | "90";
955
- media: "N" | "A" | "V" | "W" | "Y" | "M";
956
- mediaOffset: number;
957
- thermalMediaType: "D" | "T";
958
- printOrientation: "N" | "I";
959
- mirror: "N" | "Y";
960
- labelHomeX: number;
961
- labelHomeY: number;
962
- printDensityAdjustment: "A" | "B";
963
- printSpeed: number;
964
- slewSpeed: number;
965
- backfeedSpeed: number;
966
- darkness: number;
967
- postPrintMode: "A" | "D" | "T" | "P" | "R" | "C" | "F" | "K";
968
- prepeel: "N" | "Y";
969
- printWidth: number;
970
- labelLength: number;
971
- allMedia: "N" | "Y";
972
- fields: ({
973
- type: "text";
974
- name: string;
975
- x: number;
976
- y: number;
977
- defaultValue: string;
978
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
979
- sourceLookup: string;
980
- hideEmpty: boolean;
981
- font: string;
982
- fontOrientation: "N" | "B" | "I" | "R";
983
- fontHeight: number;
984
- maxWidth: number;
985
- maxLines: number;
986
- lineSpacing: number;
987
- alignment: "R" | "C" | "L" | "J";
988
- hangingIndent: number;
989
- verticalAlignment: "start" | "end";
990
- charsPerLine: number;
991
- transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
992
- maxCharacters: number;
993
- } | {
994
- type: "barcode";
995
- name: string;
996
- x: number;
997
- y: number;
998
- defaultValue: string;
999
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1000
- sourceLookup: string;
1001
- hideEmpty: boolean;
1002
- barWidth: number;
1003
- orientation: "N" | "B" | "I" | "R";
1004
- height: number;
1005
- line: "N" | "Y";
1006
- lineAbove: "N" | "Y";
1007
- checkDigit: "N" | "Y";
1008
- } | {
1009
- type: "qrcode";
1010
- name: string;
1011
- x: number;
1012
- y: number;
1013
- defaultValue: string;
1014
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1015
- sourceLookup: string;
1016
- hideEmpty: boolean;
1017
- orientation: "N";
1018
- model: "2";
1019
- magnification: number;
1020
- errorCorrection: "M" | "L" | "H" | "Q";
1021
- mask: number;
1022
- })[];
1023
- }, {
1024
- reverse: "N" | "Y";
1025
- type: "thermal";
1026
- tearOffAdjustment: number;
1027
- backfeedActions: "O" | "N" | "A" | "B" | "10" | "20" | "30" | "40" | "50" | "60" | "70" | "80" | "90";
1028
- media: "N" | "A" | "V" | "W" | "Y" | "M";
1029
- mediaOffset: number;
1030
- thermalMediaType: "D" | "T";
1031
- printOrientation: "N" | "I";
1032
- mirror: "N" | "Y";
1033
- labelHomeX: number;
1034
- labelHomeY: number;
1035
- printDensityAdjustment: "A" | "B";
1036
- printSpeed: number;
1037
- slewSpeed: number;
1038
- backfeedSpeed: number;
1039
- darkness: number;
1040
- postPrintMode: "A" | "D" | "T" | "P" | "R" | "C" | "F" | "K";
1041
- prepeel: "N" | "Y";
1042
- printWidth: number;
1043
- labelLength: number;
1044
- allMedia: "N" | "Y";
1045
- fields: ({
1046
- type: "text";
1047
- name: string;
1048
- x: number;
1049
- y: number;
1050
- defaultValue: string;
1051
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1052
- sourceLookup: string;
1053
- hideEmpty: boolean;
1054
- font: string;
1055
- fontOrientation: "N" | "B" | "I" | "R";
1056
- fontHeight: number;
1057
- maxWidth: number;
1058
- maxLines: number;
1059
- lineSpacing: number;
1060
- alignment: "R" | "C" | "L" | "J";
1061
- hangingIndent: number;
1062
- verticalAlignment: "start" | "end";
1063
- charsPerLine: number;
1064
- transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
1065
- maxCharacters: number;
1066
- } | {
1067
- type: "barcode";
1068
- name: string;
1069
- x: number;
1070
- y: number;
1071
- defaultValue: string;
1072
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1073
- sourceLookup: string;
1074
- hideEmpty: boolean;
1075
- barWidth: number;
1076
- orientation: "N" | "B" | "I" | "R";
1077
- height: number;
1078
- line: "N" | "Y";
1079
- lineAbove: "N" | "Y";
1080
- checkDigit: "N" | "Y";
1081
- } | {
1082
- type: "qrcode";
1083
- name: string;
1084
- x: number;
1085
- y: number;
1086
- defaultValue: string;
1087
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1088
- sourceLookup: string;
1089
- hideEmpty: boolean;
1090
- orientation: "N";
1091
- model: "2";
1092
- magnification: number;
1093
- errorCorrection: "M" | "L" | "H" | "Q";
1094
- mask: number;
1095
- })[];
1096
- }>;
632
+ }, z.core.$strip>], "type">>;
633
+ }, z.core.$strip>;
1097
634
  export type Badge = z.infer<typeof badgeSchema>;
1098
635
  export type ThermalBadge = Badge;
1099
636
  export type BaseBadge = Badge;
@@ -1113,8 +650,7 @@ export type BaseBadge = Badge;
1113
650
  * }
1114
651
  * ```
1115
652
  */
1116
- export declare function validateBadge(data: Badge): z.SafeParseReturnType<{
1117
- reverse: "N" | "Y";
653
+ export declare function validateBadge(data: Badge): z.ZodSafeParseResult<{
1118
654
  type: "thermal";
1119
655
  tearOffAdjustment: number;
1120
656
  backfeedActions: "O" | "N" | "A" | "B" | "10" | "20" | "30" | "40" | "50" | "60" | "70" | "80" | "90";
@@ -1130,86 +666,13 @@ export declare function validateBadge(data: Badge): z.SafeParseReturnType<{
1130
666
  slewSpeed: number;
1131
667
  backfeedSpeed: number;
1132
668
  darkness: number;
1133
- postPrintMode: "A" | "D" | "T" | "P" | "R" | "C" | "F" | "K";
1134
- prepeel: "N" | "Y";
1135
- printWidth: number;
1136
- labelLength: number;
1137
- allMedia: "N" | "Y";
1138
- fields: ({
1139
- type: "text";
1140
- name: string;
1141
- x: number;
1142
- y: number;
1143
- defaultValue: string;
1144
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1145
- sourceLookup: string;
1146
- hideEmpty: boolean;
1147
- font: string;
1148
- fontOrientation: "N" | "B" | "I" | "R";
1149
- fontHeight: number;
1150
- maxWidth: number;
1151
- maxLines: number;
1152
- lineSpacing: number;
1153
- alignment: "R" | "C" | "L" | "J";
1154
- hangingIndent: number;
1155
- verticalAlignment: "start" | "end";
1156
- charsPerLine: number;
1157
- transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
1158
- maxCharacters: number;
1159
- } | {
1160
- type: "barcode";
1161
- name: string;
1162
- x: number;
1163
- y: number;
1164
- defaultValue: string;
1165
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1166
- sourceLookup: string;
1167
- hideEmpty: boolean;
1168
- barWidth: number;
1169
- orientation: "N" | "B" | "I" | "R";
1170
- height: number;
1171
- line: "N" | "Y";
1172
- lineAbove: "N" | "Y";
1173
- checkDigit: "N" | "Y";
1174
- } | {
1175
- type: "qrcode";
1176
- name: string;
1177
- x: number;
1178
- y: number;
1179
- defaultValue: string;
1180
- sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1181
- sourceLookup: string;
1182
- hideEmpty: boolean;
1183
- orientation: "N";
1184
- model: "2";
1185
- magnification: number;
1186
- errorCorrection: "M" | "L" | "H" | "Q";
1187
- mask: number;
1188
- })[];
1189
- }, {
1190
669
  reverse: "N" | "Y";
1191
- type: "thermal";
1192
- tearOffAdjustment: number;
1193
- backfeedActions: "O" | "N" | "A" | "B" | "10" | "20" | "30" | "40" | "50" | "60" | "70" | "80" | "90";
1194
- media: "N" | "A" | "V" | "W" | "Y" | "M";
1195
- mediaOffset: number;
1196
- thermalMediaType: "D" | "T";
1197
- printOrientation: "N" | "I";
1198
- mirror: "N" | "Y";
1199
- labelHomeX: number;
1200
- labelHomeY: number;
1201
- printDensityAdjustment: "A" | "B";
1202
- printSpeed: number;
1203
- slewSpeed: number;
1204
- backfeedSpeed: number;
1205
- darkness: number;
1206
670
  postPrintMode: "A" | "D" | "T" | "P" | "R" | "C" | "F" | "K";
1207
671
  prepeel: "N" | "Y";
1208
672
  printWidth: number;
1209
673
  labelLength: number;
1210
674
  allMedia: "N" | "Y";
1211
675
  fields: ({
1212
- type: "text";
1213
676
  name: string;
1214
677
  x: number;
1215
678
  y: number;
@@ -1217,6 +680,7 @@ export declare function validateBadge(data: Badge): z.SafeParseReturnType<{
1217
680
  sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1218
681
  sourceLookup: string;
1219
682
  hideEmpty: boolean;
683
+ type: "text";
1220
684
  font: string;
1221
685
  fontOrientation: "N" | "B" | "I" | "R";
1222
686
  fontHeight: number;
@@ -1230,7 +694,6 @@ export declare function validateBadge(data: Badge): z.SafeParseReturnType<{
1230
694
  transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
1231
695
  maxCharacters: number;
1232
696
  } | {
1233
- type: "barcode";
1234
697
  name: string;
1235
698
  x: number;
1236
699
  y: number;
@@ -1238,6 +701,7 @@ export declare function validateBadge(data: Badge): z.SafeParseReturnType<{
1238
701
  sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1239
702
  sourceLookup: string;
1240
703
  hideEmpty: boolean;
704
+ type: "barcode";
1241
705
  barWidth: number;
1242
706
  orientation: "N" | "B" | "I" | "R";
1243
707
  height: number;
@@ -1245,7 +709,6 @@ export declare function validateBadge(data: Badge): z.SafeParseReturnType<{
1245
709
  lineAbove: "N" | "Y";
1246
710
  checkDigit: "N" | "Y";
1247
711
  } | {
1248
- type: "qrcode";
1249
712
  name: string;
1250
713
  x: number;
1251
714
  y: number;
@@ -1253,6 +716,7 @@ export declare function validateBadge(data: Badge): z.SafeParseReturnType<{
1253
716
  sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1254
717
  sourceLookup: string;
1255
718
  hideEmpty: boolean;
719
+ type: "qrcode";
1256
720
  orientation: "N";
1257
721
  model: "2";
1258
722
  magnification: number;
@@ -1268,7 +732,6 @@ export declare function validateBadge(data: Badge): z.SafeParseReturnType<{
1268
732
  * @throws ZodError if validation fails
1269
733
  */
1270
734
  export declare function validateBadgeOrThrow(data: Badge): {
1271
- reverse: "N" | "Y";
1272
735
  type: "thermal";
1273
736
  tearOffAdjustment: number;
1274
737
  backfeedActions: "O" | "N" | "A" | "B" | "10" | "20" | "30" | "40" | "50" | "60" | "70" | "80" | "90";
@@ -1284,13 +747,13 @@ export declare function validateBadgeOrThrow(data: Badge): {
1284
747
  slewSpeed: number;
1285
748
  backfeedSpeed: number;
1286
749
  darkness: number;
750
+ reverse: "N" | "Y";
1287
751
  postPrintMode: "A" | "D" | "T" | "P" | "R" | "C" | "F" | "K";
1288
752
  prepeel: "N" | "Y";
1289
753
  printWidth: number;
1290
754
  labelLength: number;
1291
755
  allMedia: "N" | "Y";
1292
756
  fields: ({
1293
- type: "text";
1294
757
  name: string;
1295
758
  x: number;
1296
759
  y: number;
@@ -1298,6 +761,7 @@ export declare function validateBadgeOrThrow(data: Badge): {
1298
761
  sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1299
762
  sourceLookup: string;
1300
763
  hideEmpty: boolean;
764
+ type: "text";
1301
765
  font: string;
1302
766
  fontOrientation: "N" | "B" | "I" | "R";
1303
767
  fontHeight: number;
@@ -1311,7 +775,6 @@ export declare function validateBadgeOrThrow(data: Badge): {
1311
775
  transformation: "None" | "Uppercase" | "Lowercase" | "Capitalize";
1312
776
  maxCharacters: number;
1313
777
  } | {
1314
- type: "barcode";
1315
778
  name: string;
1316
779
  x: number;
1317
780
  y: number;
@@ -1319,6 +782,7 @@ export declare function validateBadgeOrThrow(data: Badge): {
1319
782
  sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1320
783
  sourceLookup: string;
1321
784
  hideEmpty: boolean;
785
+ type: "barcode";
1322
786
  barWidth: number;
1323
787
  orientation: "N" | "B" | "I" | "R";
1324
788
  height: number;
@@ -1326,7 +790,6 @@ export declare function validateBadgeOrThrow(data: Badge): {
1326
790
  lineAbove: "N" | "Y";
1327
791
  checkDigit: "N" | "Y";
1328
792
  } | {
1329
- type: "qrcode";
1330
793
  name: string;
1331
794
  x: number;
1332
795
  y: number;
@@ -1334,6 +797,7 @@ export declare function validateBadgeOrThrow(data: Badge): {
1334
797
  sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
1335
798
  sourceLookup: string;
1336
799
  hideEmpty: boolean;
800
+ type: "qrcode";
1337
801
  orientation: "N";
1338
802
  model: "2";
1339
803
  magnification: number;