@_henriquewilson/gabirubi-domain 1.3.1 → 1.3.2

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.
@@ -18,20 +18,20 @@ declare const AddressSchema: z.ZodObject<{
18
18
  complemento: z.ZodOptional<z.ZodString>;
19
19
  uf: z.ZodString;
20
20
  }, "strip", z.ZodTypeAny, {
21
- cidade: string;
22
- uf: string;
23
21
  cep: string;
24
22
  logradouro: string;
25
23
  numero: string;
26
24
  bairro: string;
27
- complemento?: string | undefined;
28
- }, {
29
25
  cidade: string;
30
26
  uf: string;
27
+ complemento?: string | undefined;
28
+ }, {
31
29
  cep: string;
32
30
  logradouro: string;
33
31
  numero: string;
34
32
  bairro: string;
33
+ cidade: string;
34
+ uf: string;
35
35
  complemento?: string | undefined;
36
36
  }>;
37
37
  declare const SenderRecipientSchema: z.ZodObject<{
@@ -49,64 +49,64 @@ declare const SenderRecipientSchema: z.ZodObject<{
49
49
  complemento: z.ZodOptional<z.ZodString>;
50
50
  uf: z.ZodString;
51
51
  }, "strip", z.ZodTypeAny, {
52
- cidade: string;
53
- uf: string;
54
52
  cep: string;
55
53
  logradouro: string;
56
54
  numero: string;
57
55
  bairro: string;
58
- complemento?: string | undefined;
59
- }, {
60
56
  cidade: string;
61
57
  uf: string;
58
+ complemento?: string | undefined;
59
+ }, {
62
60
  cep: string;
63
61
  logradouro: string;
64
62
  numero: string;
65
63
  bairro: string;
64
+ cidade: string;
65
+ uf: string;
66
66
  complemento?: string | undefined;
67
67
  }>;
68
68
  }, "strip", z.ZodTypeAny, {
69
69
  nome: string;
70
+ dddCelular: string;
71
+ celular: string;
72
+ email: string;
73
+ cpfCnpj: string;
70
74
  endereco: {
71
- cidade: string;
72
- uf: string;
73
75
  cep: string;
74
76
  logradouro: string;
75
77
  numero: string;
76
78
  bairro: string;
79
+ cidade: string;
80
+ uf: string;
77
81
  complemento?: string | undefined;
78
82
  };
83
+ }, {
84
+ nome: string;
79
85
  dddCelular: string;
80
86
  celular: string;
81
87
  email: string;
82
88
  cpfCnpj: string;
83
- }, {
84
- nome: string;
85
89
  endereco: {
86
- cidade: string;
87
- uf: string;
88
90
  cep: string;
89
91
  logradouro: string;
90
92
  numero: string;
91
93
  bairro: string;
94
+ cidade: string;
95
+ uf: string;
92
96
  complemento?: string | undefined;
93
97
  };
94
- dddCelular: string;
95
- celular: string;
96
- email: string;
97
- cpfCnpj: string;
98
98
  }>;
99
99
  declare const ItensDeclaracaoConteudoSchema: z.ZodObject<{
100
100
  conteudo: z.ZodString;
101
101
  quantidade: z.ZodString;
102
102
  valor: z.ZodString;
103
103
  }, "strip", z.ZodTypeAny, {
104
- quantidade: string;
105
104
  conteudo: string;
105
+ quantidade: string;
106
106
  valor: string;
107
107
  }, {
108
- quantidade: string;
109
108
  conteudo: string;
109
+ quantidade: string;
110
110
  valor: string;
111
111
  }>;
112
112
  declare const PrepostSchema: z.ZodObject<{
@@ -126,52 +126,52 @@ declare const PrepostSchema: z.ZodObject<{
126
126
  complemento: z.ZodOptional<z.ZodString>;
127
127
  uf: z.ZodString;
128
128
  }, "strip", z.ZodTypeAny, {
129
- cidade: string;
130
- uf: string;
131
129
  cep: string;
132
130
  logradouro: string;
133
131
  numero: string;
134
132
  bairro: string;
135
- complemento?: string | undefined;
136
- }, {
137
133
  cidade: string;
138
134
  uf: string;
135
+ complemento?: string | undefined;
136
+ }, {
139
137
  cep: string;
140
138
  logradouro: string;
141
139
  numero: string;
142
140
  bairro: string;
141
+ cidade: string;
142
+ uf: string;
143
143
  complemento?: string | undefined;
144
144
  }>;
145
145
  }, "strip", z.ZodTypeAny, {
146
146
  nome: string;
147
+ dddCelular: string;
148
+ celular: string;
149
+ email: string;
150
+ cpfCnpj: string;
147
151
  endereco: {
148
- cidade: string;
149
- uf: string;
150
152
  cep: string;
151
153
  logradouro: string;
152
154
  numero: string;
153
155
  bairro: string;
156
+ cidade: string;
157
+ uf: string;
154
158
  complemento?: string | undefined;
155
159
  };
160
+ }, {
161
+ nome: string;
156
162
  dddCelular: string;
157
163
  celular: string;
158
164
  email: string;
159
165
  cpfCnpj: string;
160
- }, {
161
- nome: string;
162
166
  endereco: {
163
- cidade: string;
164
- uf: string;
165
167
  cep: string;
166
168
  logradouro: string;
167
169
  numero: string;
168
170
  bairro: string;
171
+ cidade: string;
172
+ uf: string;
169
173
  complemento?: string | undefined;
170
174
  };
171
- dddCelular: string;
172
- celular: string;
173
- email: string;
174
- cpfCnpj: string;
175
175
  }>;
176
176
  destinatario: z.ZodObject<{
177
177
  nome: z.ZodString;
@@ -188,52 +188,52 @@ declare const PrepostSchema: z.ZodObject<{
188
188
  complemento: z.ZodOptional<z.ZodString>;
189
189
  uf: z.ZodString;
190
190
  }, "strip", z.ZodTypeAny, {
191
- cidade: string;
192
- uf: string;
193
191
  cep: string;
194
192
  logradouro: string;
195
193
  numero: string;
196
194
  bairro: string;
197
- complemento?: string | undefined;
198
- }, {
199
195
  cidade: string;
200
196
  uf: string;
197
+ complemento?: string | undefined;
198
+ }, {
201
199
  cep: string;
202
200
  logradouro: string;
203
201
  numero: string;
204
202
  bairro: string;
203
+ cidade: string;
204
+ uf: string;
205
205
  complemento?: string | undefined;
206
206
  }>;
207
207
  }, "strip", z.ZodTypeAny, {
208
208
  nome: string;
209
+ dddCelular: string;
210
+ celular: string;
211
+ email: string;
212
+ cpfCnpj: string;
209
213
  endereco: {
210
- cidade: string;
211
- uf: string;
212
214
  cep: string;
213
215
  logradouro: string;
214
216
  numero: string;
215
217
  bairro: string;
218
+ cidade: string;
219
+ uf: string;
216
220
  complemento?: string | undefined;
217
221
  };
222
+ }, {
223
+ nome: string;
218
224
  dddCelular: string;
219
225
  celular: string;
220
226
  email: string;
221
227
  cpfCnpj: string;
222
- }, {
223
- nome: string;
224
228
  endereco: {
225
- cidade: string;
226
- uf: string;
227
229
  cep: string;
228
230
  logradouro: string;
229
231
  numero: string;
230
232
  bairro: string;
233
+ cidade: string;
234
+ uf: string;
231
235
  complemento?: string | undefined;
232
236
  };
233
- dddCelular: string;
234
- celular: string;
235
- email: string;
236
- cpfCnpj: string;
237
237
  }>;
238
238
  codigoServico: z.ZodString;
239
239
  numeroCartaoPostagem: z.ZodString;
@@ -242,12 +242,12 @@ declare const PrepostSchema: z.ZodObject<{
242
242
  quantidade: z.ZodString;
243
243
  valor: z.ZodString;
244
244
  }, "strip", z.ZodTypeAny, {
245
- quantidade: string;
246
245
  conteudo: string;
246
+ quantidade: string;
247
247
  valor: string;
248
248
  }, {
249
- quantidade: string;
250
249
  conteudo: string;
250
+ quantidade: string;
251
251
  valor: string;
252
252
  }>, "many">;
253
253
  pesoInformado: z.ZodString;
@@ -262,41 +262,41 @@ declare const PrepostSchema: z.ZodObject<{
262
262
  idCorreios: string;
263
263
  remetente: {
264
264
  nome: string;
265
+ dddCelular: string;
266
+ celular: string;
267
+ email: string;
268
+ cpfCnpj: string;
265
269
  endereco: {
266
- cidade: string;
267
- uf: string;
268
270
  cep: string;
269
271
  logradouro: string;
270
272
  numero: string;
271
273
  bairro: string;
274
+ cidade: string;
275
+ uf: string;
272
276
  complemento?: string | undefined;
273
277
  };
278
+ };
279
+ destinatario: {
280
+ nome: string;
274
281
  dddCelular: string;
275
282
  celular: string;
276
283
  email: string;
277
284
  cpfCnpj: string;
278
- };
279
- destinatario: {
280
- nome: string;
281
285
  endereco: {
282
- cidade: string;
283
- uf: string;
284
286
  cep: string;
285
287
  logradouro: string;
286
288
  numero: string;
287
289
  bairro: string;
290
+ cidade: string;
291
+ uf: string;
288
292
  complemento?: string | undefined;
289
293
  };
290
- dddCelular: string;
291
- celular: string;
292
- email: string;
293
- cpfCnpj: string;
294
294
  };
295
295
  codigoServico: string;
296
296
  numeroCartaoPostagem: string;
297
297
  itensDeclaracaoConteudo: {
298
- quantidade: string;
299
298
  conteudo: string;
299
+ quantidade: string;
300
300
  valor: string;
301
301
  }[];
302
302
  pesoInformado: string;
@@ -311,41 +311,41 @@ declare const PrepostSchema: z.ZodObject<{
311
311
  idCorreios: string;
312
312
  remetente: {
313
313
  nome: string;
314
+ dddCelular: string;
315
+ celular: string;
316
+ email: string;
317
+ cpfCnpj: string;
314
318
  endereco: {
315
- cidade: string;
316
- uf: string;
317
319
  cep: string;
318
320
  logradouro: string;
319
321
  numero: string;
320
322
  bairro: string;
323
+ cidade: string;
324
+ uf: string;
321
325
  complemento?: string | undefined;
322
326
  };
327
+ };
328
+ destinatario: {
329
+ nome: string;
323
330
  dddCelular: string;
324
331
  celular: string;
325
332
  email: string;
326
333
  cpfCnpj: string;
327
- };
328
- destinatario: {
329
- nome: string;
330
334
  endereco: {
331
- cidade: string;
332
- uf: string;
333
335
  cep: string;
334
336
  logradouro: string;
335
337
  numero: string;
336
338
  bairro: string;
339
+ cidade: string;
340
+ uf: string;
337
341
  complemento?: string | undefined;
338
342
  };
339
- dddCelular: string;
340
- celular: string;
341
- email: string;
342
- cpfCnpj: string;
343
343
  };
344
344
  codigoServico: string;
345
345
  numeroCartaoPostagem: string;
346
346
  itensDeclaracaoConteudo: {
347
- quantidade: string;
348
347
  conteudo: string;
348
+ quantidade: string;
349
349
  valor: string;
350
350
  }[];
351
351
  pesoInformado: string;
@@ -378,52 +378,52 @@ declare const CorreiosTagSchema: z.ZodObject<z.objectUtil.extendShape<{
378
378
  complemento: z.ZodOptional<z.ZodString>;
379
379
  uf: z.ZodString;
380
380
  }, "strip", z.ZodTypeAny, {
381
- cidade: string;
382
- uf: string;
383
381
  cep: string;
384
382
  logradouro: string;
385
383
  numero: string;
386
384
  bairro: string;
387
- complemento?: string | undefined;
388
- }, {
389
385
  cidade: string;
390
386
  uf: string;
387
+ complemento?: string | undefined;
388
+ }, {
391
389
  cep: string;
392
390
  logradouro: string;
393
391
  numero: string;
394
392
  bairro: string;
393
+ cidade: string;
394
+ uf: string;
395
395
  complemento?: string | undefined;
396
396
  }>;
397
397
  }, "strip", z.ZodTypeAny, {
398
398
  nome: string;
399
+ dddCelular: string;
400
+ celular: string;
401
+ email: string;
402
+ cpfCnpj: string;
399
403
  endereco: {
400
- cidade: string;
401
- uf: string;
402
404
  cep: string;
403
405
  logradouro: string;
404
406
  numero: string;
405
407
  bairro: string;
408
+ cidade: string;
409
+ uf: string;
406
410
  complemento?: string | undefined;
407
411
  };
412
+ }, {
413
+ nome: string;
408
414
  dddCelular: string;
409
415
  celular: string;
410
416
  email: string;
411
417
  cpfCnpj: string;
412
- }, {
413
- nome: string;
414
418
  endereco: {
415
- cidade: string;
416
- uf: string;
417
419
  cep: string;
418
420
  logradouro: string;
419
421
  numero: string;
420
422
  bairro: string;
423
+ cidade: string;
424
+ uf: string;
421
425
  complemento?: string | undefined;
422
426
  };
423
- dddCelular: string;
424
- celular: string;
425
- email: string;
426
- cpfCnpj: string;
427
427
  }>;
428
428
  destinatario: z.ZodObject<{
429
429
  nome: z.ZodString;
@@ -440,52 +440,52 @@ declare const CorreiosTagSchema: z.ZodObject<z.objectUtil.extendShape<{
440
440
  complemento: z.ZodOptional<z.ZodString>;
441
441
  uf: z.ZodString;
442
442
  }, "strip", z.ZodTypeAny, {
443
- cidade: string;
444
- uf: string;
445
443
  cep: string;
446
444
  logradouro: string;
447
445
  numero: string;
448
446
  bairro: string;
449
- complemento?: string | undefined;
450
- }, {
451
447
  cidade: string;
452
448
  uf: string;
449
+ complemento?: string | undefined;
450
+ }, {
453
451
  cep: string;
454
452
  logradouro: string;
455
453
  numero: string;
456
454
  bairro: string;
455
+ cidade: string;
456
+ uf: string;
457
457
  complemento?: string | undefined;
458
458
  }>;
459
459
  }, "strip", z.ZodTypeAny, {
460
460
  nome: string;
461
+ dddCelular: string;
462
+ celular: string;
463
+ email: string;
464
+ cpfCnpj: string;
461
465
  endereco: {
462
- cidade: string;
463
- uf: string;
464
466
  cep: string;
465
467
  logradouro: string;
466
468
  numero: string;
467
469
  bairro: string;
470
+ cidade: string;
471
+ uf: string;
468
472
  complemento?: string | undefined;
469
473
  };
474
+ }, {
475
+ nome: string;
470
476
  dddCelular: string;
471
477
  celular: string;
472
478
  email: string;
473
479
  cpfCnpj: string;
474
- }, {
475
- nome: string;
476
480
  endereco: {
477
- cidade: string;
478
- uf: string;
479
481
  cep: string;
480
482
  logradouro: string;
481
483
  numero: string;
482
484
  bairro: string;
485
+ cidade: string;
486
+ uf: string;
483
487
  complemento?: string | undefined;
484
488
  };
485
- dddCelular: string;
486
- celular: string;
487
- email: string;
488
- cpfCnpj: string;
489
489
  }>;
490
490
  codigoObjeto: z.ZodString;
491
491
  codigoServico: z.ZodString;
@@ -495,12 +495,12 @@ declare const CorreiosTagSchema: z.ZodObject<z.objectUtil.extendShape<{
495
495
  quantidade: z.ZodString;
496
496
  valor: z.ZodString;
497
497
  }, "strip", z.ZodTypeAny, {
498
- quantidade: string;
499
498
  conteudo: string;
499
+ quantidade: string;
500
500
  valor: string;
501
501
  }, {
502
- quantidade: string;
503
502
  conteudo: string;
503
+ quantidade: string;
504
504
  valor: string;
505
505
  }>, "many">;
506
506
  pesoInformado: z.ZodString;
@@ -527,45 +527,44 @@ declare const CorreiosTagSchema: z.ZodObject<z.objectUtil.extendShape<{
527
527
  prazoPostagem: z.ZodOptional<z.ZodString>;
528
528
  observacao: z.ZodOptional<z.ZodString>;
529
529
  }>, "strip", z.ZodTypeAny, {
530
- id: string | number;
531
530
  idCorreios: string;
532
531
  remetente: {
533
532
  nome: string;
533
+ dddCelular: string;
534
+ celular: string;
535
+ email: string;
536
+ cpfCnpj: string;
534
537
  endereco: {
535
- cidade: string;
536
- uf: string;
537
538
  cep: string;
538
539
  logradouro: string;
539
540
  numero: string;
540
541
  bairro: string;
542
+ cidade: string;
543
+ uf: string;
541
544
  complemento?: string | undefined;
542
545
  };
546
+ };
547
+ destinatario: {
548
+ nome: string;
543
549
  dddCelular: string;
544
550
  celular: string;
545
551
  email: string;
546
552
  cpfCnpj: string;
547
- };
548
- destinatario: {
549
- nome: string;
550
553
  endereco: {
551
- cidade: string;
552
- uf: string;
553
554
  cep: string;
554
555
  logradouro: string;
555
556
  numero: string;
556
557
  bairro: string;
558
+ cidade: string;
559
+ uf: string;
557
560
  complemento?: string | undefined;
558
561
  };
559
- dddCelular: string;
560
- celular: string;
561
- email: string;
562
- cpfCnpj: string;
563
562
  };
564
563
  codigoServico: string;
565
564
  numeroCartaoPostagem: string;
566
565
  itensDeclaracaoConteudo: {
567
- quantidade: string;
568
566
  conteudo: string;
567
+ quantidade: string;
569
568
  valor: string;
570
569
  }[];
571
570
  pesoInformado: string;
@@ -575,6 +574,7 @@ declare const CorreiosTagSchema: z.ZodObject<z.objectUtil.extendShape<{
575
574
  comprimentoInformado: string;
576
575
  cienteObjetoNaoProibido: number;
577
576
  dataPrevistaPostagem: string;
577
+ id: string | number;
578
578
  codigoObjeto: string;
579
579
  servico: string;
580
580
  statusAtual: StatusEnumNative;
@@ -589,50 +589,50 @@ declare const CorreiosTagSchema: z.ZodObject<z.objectUtil.extendShape<{
589
589
  historicoStatus: any[];
590
590
  logisticaReversa: string;
591
591
  mainId: string;
592
+ observacao?: string | undefined;
592
593
  createdAt?: FirebaseFirestore.Timestamp | null | undefined;
593
594
  updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
594
595
  order?: number | null | undefined;
595
- observacao?: string | undefined;
596
596
  prazoPostagem?: string | undefined;
597
597
  }, {
598
598
  idCorreios: string;
599
599
  remetente: {
600
600
  nome: string;
601
+ dddCelular: string;
602
+ celular: string;
603
+ email: string;
604
+ cpfCnpj: string;
601
605
  endereco: {
602
- cidade: string;
603
- uf: string;
604
606
  cep: string;
605
607
  logradouro: string;
606
608
  numero: string;
607
609
  bairro: string;
610
+ cidade: string;
611
+ uf: string;
608
612
  complemento?: string | undefined;
609
613
  };
614
+ };
615
+ destinatario: {
616
+ nome: string;
610
617
  dddCelular: string;
611
618
  celular: string;
612
619
  email: string;
613
620
  cpfCnpj: string;
614
- };
615
- destinatario: {
616
- nome: string;
617
621
  endereco: {
618
- cidade: string;
619
- uf: string;
620
622
  cep: string;
621
623
  logradouro: string;
622
624
  numero: string;
623
625
  bairro: string;
626
+ cidade: string;
627
+ uf: string;
624
628
  complemento?: string | undefined;
625
629
  };
626
- dddCelular: string;
627
- celular: string;
628
- email: string;
629
- cpfCnpj: string;
630
630
  };
631
631
  codigoServico: string;
632
632
  numeroCartaoPostagem: string;
633
633
  itensDeclaracaoConteudo: {
634
- quantidade: string;
635
634
  conteudo: string;
635
+ quantidade: string;
636
636
  valor: string;
637
637
  }[];
638
638
  pesoInformado: string;
@@ -656,11 +656,11 @@ declare const CorreiosTagSchema: z.ZodObject<z.objectUtil.extendShape<{
656
656
  historicoStatus: any[];
657
657
  logisticaReversa: string;
658
658
  mainId: string;
659
+ observacao?: string | undefined;
659
660
  id?: unknown;
660
661
  createdAt?: unknown;
661
662
  updatedAt?: unknown;
662
663
  order?: number | null | undefined;
663
- observacao?: string | undefined;
664
664
  prazoPostagem?: string | undefined;
665
665
  }>;
666
666
  type Prepost = z.infer<typeof PrepostSchema>;