@_henriquewilson/gabirubi-domain 1.3.30 → 1.3.32

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.
@@ -17,8 +17,8 @@ declare const IuguChargeSchema: z.ZodObject<{
17
17
  invoice_id: z.ZodString;
18
18
  LR: z.ZodString;
19
19
  }, "strip", z.ZodTypeAny, {
20
- message: string;
21
20
  status: string;
21
+ message: string;
22
22
  info_message: string;
23
23
  token: string;
24
24
  success: boolean;
@@ -33,8 +33,8 @@ declare const IuguChargeSchema: z.ZodObject<{
33
33
  issuer?: string | null | undefined;
34
34
  identification?: string | null | undefined;
35
35
  }, {
36
- message: string;
37
36
  status: string;
37
+ message: string;
38
38
  info_message: string;
39
39
  token: string;
40
40
  success: boolean;
@@ -17,8 +17,8 @@ declare const IuguChargeSchema: z.ZodObject<{
17
17
  invoice_id: z.ZodString;
18
18
  LR: z.ZodString;
19
19
  }, "strip", z.ZodTypeAny, {
20
- message: string;
21
20
  status: string;
21
+ message: string;
22
22
  info_message: string;
23
23
  token: string;
24
24
  success: boolean;
@@ -33,8 +33,8 @@ declare const IuguChargeSchema: z.ZodObject<{
33
33
  issuer?: string | null | undefined;
34
34
  identification?: string | null | undefined;
35
35
  }, {
36
- message: string;
37
36
  status: string;
37
+ message: string;
38
38
  info_message: string;
39
39
  token: string;
40
40
  success: boolean;
@@ -199,17 +199,17 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
199
199
  id: string;
200
200
  email: string;
201
201
  number?: any;
202
- name?: string | undefined;
202
+ cc_emails?: any;
203
+ updated_at?: string | undefined;
204
+ custom_variables?: any[] | undefined;
203
205
  notes?: any;
204
206
  created_at?: string | undefined;
205
- updated_at?: string | undefined;
206
- cc_emails?: any;
207
+ name?: string | undefined;
207
208
  cpf_cnpj?: string | undefined;
208
209
  zip_code?: any;
209
210
  complement?: any;
210
211
  phone?: any;
211
212
  phone_prefix?: any;
212
- custom_variables?: any[] | undefined;
213
213
  payment_methods?: {
214
214
  id: string;
215
215
  description: string;
@@ -236,17 +236,17 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
236
236
  id: string;
237
237
  email: string;
238
238
  number?: any;
239
- name?: string | undefined;
239
+ cc_emails?: any;
240
+ updated_at?: string | undefined;
241
+ custom_variables?: any[] | undefined;
240
242
  notes?: any;
241
243
  created_at?: string | undefined;
242
- updated_at?: string | undefined;
243
- cc_emails?: any;
244
+ name?: string | undefined;
244
245
  cpf_cnpj?: string | undefined;
245
246
  zip_code?: any;
246
247
  complement?: any;
247
248
  phone?: any;
248
249
  phone_prefix?: any;
249
- custom_variables?: any[] | undefined;
250
250
  payment_methods?: {
251
251
  id: string;
252
252
  description: string;
@@ -199,17 +199,17 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
199
199
  id: string;
200
200
  email: string;
201
201
  number?: any;
202
- name?: string | undefined;
202
+ cc_emails?: any;
203
+ updated_at?: string | undefined;
204
+ custom_variables?: any[] | undefined;
203
205
  notes?: any;
204
206
  created_at?: string | undefined;
205
- updated_at?: string | undefined;
206
- cc_emails?: any;
207
+ name?: string | undefined;
207
208
  cpf_cnpj?: string | undefined;
208
209
  zip_code?: any;
209
210
  complement?: any;
210
211
  phone?: any;
211
212
  phone_prefix?: any;
212
- custom_variables?: any[] | undefined;
213
213
  payment_methods?: {
214
214
  id: string;
215
215
  description: string;
@@ -236,17 +236,17 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
236
236
  id: string;
237
237
  email: string;
238
238
  number?: any;
239
- name?: string | undefined;
239
+ cc_emails?: any;
240
+ updated_at?: string | undefined;
241
+ custom_variables?: any[] | undefined;
240
242
  notes?: any;
241
243
  created_at?: string | undefined;
242
- updated_at?: string | undefined;
243
- cc_emails?: any;
244
+ name?: string | undefined;
244
245
  cpf_cnpj?: string | undefined;
245
246
  zip_code?: any;
246
247
  complement?: any;
247
248
  phone?: any;
248
249
  phone_prefix?: any;
249
- custom_variables?: any[] | undefined;
250
250
  payment_methods?: {
251
251
  id: string;
252
252
  description: string;
@@ -193,19 +193,19 @@ declare const PixResultSchema: z.ZodObject<{
193
193
  account_number_last_digits: z.ZodString;
194
194
  }, "strip", z.ZodTypeAny, {
195
195
  status: string;
196
- payer_name: string;
197
- payer_cpf_cnpj: string;
198
196
  qrcode: string;
199
197
  qrcode_text: string;
198
+ payer_name: string;
199
+ payer_cpf_cnpj: string;
200
200
  end_to_end_id: string;
201
201
  end_to_end_refund_id: string;
202
202
  account_number_last_digits: string;
203
203
  }, {
204
204
  status: string;
205
- payer_name: string;
206
- payer_cpf_cnpj: string;
207
205
  qrcode: string;
208
206
  qrcode_text: string;
207
+ payer_name: string;
208
+ payer_cpf_cnpj: string;
209
209
  end_to_end_id: string;
210
210
  end_to_end_refund_id: string;
211
211
  account_number_last_digits: string;
@@ -220,17 +220,17 @@ declare const PixResultSchema: z.ZodObject<{
220
220
  price: z.ZodString;
221
221
  }, "strip", z.ZodTypeAny, {
222
222
  id: string;
223
+ updated_at: string;
223
224
  description: string;
224
225
  created_at: string;
225
- updated_at: string;
226
226
  price_cents: number;
227
227
  quantity: number;
228
228
  price: string;
229
229
  }, {
230
230
  id: string;
231
+ updated_at: string;
231
232
  description: string;
232
233
  created_at: string;
233
- updated_at: string;
234
234
  price_cents: number;
235
235
  quantity: number;
236
236
  price: string;
@@ -239,15 +239,21 @@ declare const PixResultSchema: z.ZodObject<{
239
239
  split_rules: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
240
240
  }, "strip", z.ZodTypeAny, {
241
241
  id: string;
242
+ pix?: {
243
+ status: string;
244
+ qrcode: string;
245
+ qrcode_text: string;
246
+ payer_name: string;
247
+ payer_cpf_cnpj: string;
248
+ end_to_end_id: string;
249
+ end_to_end_refund_id: string;
250
+ account_number_last_digits: string;
251
+ } | null | undefined;
242
252
  status?: string | null | undefined;
243
- email?: string | null | undefined;
244
- created_at?: string | null | undefined;
245
- updated_at?: string | null | undefined;
246
- cc_emails?: string | null | undefined;
247
- custom_variables?: unknown[] | null | undefined;
248
253
  due_date?: string | null | undefined;
249
254
  currency?: string | null | undefined;
250
255
  discount_cents?: string | null | undefined;
256
+ email?: string | null | undefined;
251
257
  items_total_cents?: number | null | undefined;
252
258
  notification_url?: string | null | undefined;
253
259
  return_url?: string | null | undefined;
@@ -257,6 +263,7 @@ declare const PixResultSchema: z.ZodObject<{
257
263
  taxes_paid_cents?: string | null | undefined;
258
264
  paid_at?: string | null | undefined;
259
265
  paid_cents?: string | null | undefined;
266
+ cc_emails?: string | null | undefined;
260
267
  financial_return_date?: string | null | undefined;
261
268
  payable_with?: string | null | undefined;
262
269
  overpaid_cents?: string | null | undefined;
@@ -266,6 +273,7 @@ declare const PixResultSchema: z.ZodObject<{
266
273
  commission_cents?: string | null | undefined;
267
274
  early_payment_discount?: boolean | null | undefined;
268
275
  order_id?: string | null | undefined;
276
+ updated_at?: string | null | undefined;
269
277
  credit_card_brand?: string | null | undefined;
270
278
  credit_card_bin?: string | null | undefined;
271
279
  credit_card_last_4?: string | null | undefined;
@@ -297,6 +305,8 @@ declare const PixResultSchema: z.ZodObject<{
297
305
  value: string;
298
306
  variable: string;
299
307
  }[] | null | undefined;
308
+ custom_variables?: unknown[] | null | undefined;
309
+ created_at?: string | null | undefined;
300
310
  logs?: {
301
311
  id: string;
302
312
  description: string;
@@ -368,21 +378,11 @@ declare const PixResultSchema: z.ZodObject<{
368
378
  bank_slip_error_message: string;
369
379
  recipient_cpf_cnpj: string;
370
380
  } | null | undefined;
371
- pix?: {
372
- status: string;
373
- payer_name: string;
374
- payer_cpf_cnpj: string;
375
- qrcode: string;
376
- qrcode_text: string;
377
- end_to_end_id: string;
378
- end_to_end_refund_id: string;
379
- account_number_last_digits: string;
380
- } | null | undefined;
381
381
  items?: {
382
382
  id: string;
383
+ updated_at: string;
383
384
  description: string;
384
385
  created_at: string;
385
- updated_at: string;
386
386
  price_cents: number;
387
387
  quantity: number;
388
388
  price: string;
@@ -391,15 +391,21 @@ declare const PixResultSchema: z.ZodObject<{
391
391
  split_rules?: string | null | undefined;
392
392
  }, {
393
393
  id: string;
394
+ pix?: {
395
+ status: string;
396
+ qrcode: string;
397
+ qrcode_text: string;
398
+ payer_name: string;
399
+ payer_cpf_cnpj: string;
400
+ end_to_end_id: string;
401
+ end_to_end_refund_id: string;
402
+ account_number_last_digits: string;
403
+ } | null | undefined;
394
404
  status?: string | null | undefined;
395
- email?: string | null | undefined;
396
- created_at?: string | null | undefined;
397
- updated_at?: string | null | undefined;
398
- cc_emails?: string | null | undefined;
399
- custom_variables?: unknown[] | null | undefined;
400
405
  due_date?: string | null | undefined;
401
406
  currency?: string | null | undefined;
402
407
  discount_cents?: string | null | undefined;
408
+ email?: string | null | undefined;
403
409
  items_total_cents?: number | null | undefined;
404
410
  notification_url?: string | null | undefined;
405
411
  return_url?: string | null | undefined;
@@ -409,6 +415,7 @@ declare const PixResultSchema: z.ZodObject<{
409
415
  taxes_paid_cents?: string | null | undefined;
410
416
  paid_at?: string | null | undefined;
411
417
  paid_cents?: string | null | undefined;
418
+ cc_emails?: string | null | undefined;
412
419
  financial_return_date?: string | null | undefined;
413
420
  payable_with?: string | null | undefined;
414
421
  overpaid_cents?: string | null | undefined;
@@ -418,6 +425,7 @@ declare const PixResultSchema: z.ZodObject<{
418
425
  commission_cents?: string | null | undefined;
419
426
  early_payment_discount?: boolean | null | undefined;
420
427
  order_id?: string | null | undefined;
428
+ updated_at?: string | null | undefined;
421
429
  credit_card_brand?: string | null | undefined;
422
430
  credit_card_bin?: string | null | undefined;
423
431
  credit_card_last_4?: string | null | undefined;
@@ -449,6 +457,8 @@ declare const PixResultSchema: z.ZodObject<{
449
457
  value: string;
450
458
  variable: string;
451
459
  }[] | null | undefined;
460
+ custom_variables?: unknown[] | null | undefined;
461
+ created_at?: string | null | undefined;
452
462
  logs?: {
453
463
  id: string;
454
464
  description: string;
@@ -520,21 +530,11 @@ declare const PixResultSchema: z.ZodObject<{
520
530
  bank_slip_error_message: string;
521
531
  recipient_cpf_cnpj: string;
522
532
  } | null | undefined;
523
- pix?: {
524
- status: string;
525
- payer_name: string;
526
- payer_cpf_cnpj: string;
527
- qrcode: string;
528
- qrcode_text: string;
529
- end_to_end_id: string;
530
- end_to_end_refund_id: string;
531
- account_number_last_digits: string;
532
- } | null | undefined;
533
533
  items?: {
534
534
  id: string;
535
+ updated_at: string;
535
536
  description: string;
536
537
  created_at: string;
537
- updated_at: string;
538
538
  price_cents: number;
539
539
  quantity: number;
540
540
  price: string;
@@ -543,23 +543,29 @@ declare const PixResultSchema: z.ZodObject<{
543
543
  split_rules?: string | null | undefined;
544
544
  }>>;
545
545
  }, "strip", z.ZodTypeAny, {
546
+ invoice: string;
546
547
  pix: {
547
548
  status: string;
548
549
  qrcode: string;
549
550
  qrcode_text: string;
550
551
  };
551
- invoice: string;
552
552
  invoiceData?: {
553
553
  id: string;
554
+ pix?: {
555
+ status: string;
556
+ qrcode: string;
557
+ qrcode_text: string;
558
+ payer_name: string;
559
+ payer_cpf_cnpj: string;
560
+ end_to_end_id: string;
561
+ end_to_end_refund_id: string;
562
+ account_number_last_digits: string;
563
+ } | null | undefined;
554
564
  status?: string | null | undefined;
555
- email?: string | null | undefined;
556
- created_at?: string | null | undefined;
557
- updated_at?: string | null | undefined;
558
- cc_emails?: string | null | undefined;
559
- custom_variables?: unknown[] | null | undefined;
560
565
  due_date?: string | null | undefined;
561
566
  currency?: string | null | undefined;
562
567
  discount_cents?: string | null | undefined;
568
+ email?: string | null | undefined;
563
569
  items_total_cents?: number | null | undefined;
564
570
  notification_url?: string | null | undefined;
565
571
  return_url?: string | null | undefined;
@@ -569,6 +575,7 @@ declare const PixResultSchema: z.ZodObject<{
569
575
  taxes_paid_cents?: string | null | undefined;
570
576
  paid_at?: string | null | undefined;
571
577
  paid_cents?: string | null | undefined;
578
+ cc_emails?: string | null | undefined;
572
579
  financial_return_date?: string | null | undefined;
573
580
  payable_with?: string | null | undefined;
574
581
  overpaid_cents?: string | null | undefined;
@@ -578,6 +585,7 @@ declare const PixResultSchema: z.ZodObject<{
578
585
  commission_cents?: string | null | undefined;
579
586
  early_payment_discount?: boolean | null | undefined;
580
587
  order_id?: string | null | undefined;
588
+ updated_at?: string | null | undefined;
581
589
  credit_card_brand?: string | null | undefined;
582
590
  credit_card_bin?: string | null | undefined;
583
591
  credit_card_last_4?: string | null | undefined;
@@ -609,6 +617,8 @@ declare const PixResultSchema: z.ZodObject<{
609
617
  value: string;
610
618
  variable: string;
611
619
  }[] | null | undefined;
620
+ custom_variables?: unknown[] | null | undefined;
621
+ created_at?: string | null | undefined;
612
622
  logs?: {
613
623
  id: string;
614
624
  description: string;
@@ -680,21 +690,11 @@ declare const PixResultSchema: z.ZodObject<{
680
690
  bank_slip_error_message: string;
681
691
  recipient_cpf_cnpj: string;
682
692
  } | null | undefined;
683
- pix?: {
684
- status: string;
685
- payer_name: string;
686
- payer_cpf_cnpj: string;
687
- qrcode: string;
688
- qrcode_text: string;
689
- end_to_end_id: string;
690
- end_to_end_refund_id: string;
691
- account_number_last_digits: string;
692
- } | null | undefined;
693
693
  items?: {
694
694
  id: string;
695
+ updated_at: string;
695
696
  description: string;
696
697
  created_at: string;
697
- updated_at: string;
698
698
  price_cents: number;
699
699
  quantity: number;
700
700
  price: string;
@@ -703,23 +703,29 @@ declare const PixResultSchema: z.ZodObject<{
703
703
  split_rules?: string | null | undefined;
704
704
  } | undefined;
705
705
  }, {
706
+ invoice: string;
706
707
  pix: {
707
708
  status: string;
708
709
  qrcode: string;
709
710
  qrcode_text: string;
710
711
  };
711
- invoice: string;
712
712
  invoiceData?: {
713
713
  id: string;
714
+ pix?: {
715
+ status: string;
716
+ qrcode: string;
717
+ qrcode_text: string;
718
+ payer_name: string;
719
+ payer_cpf_cnpj: string;
720
+ end_to_end_id: string;
721
+ end_to_end_refund_id: string;
722
+ account_number_last_digits: string;
723
+ } | null | undefined;
714
724
  status?: string | null | undefined;
715
- email?: string | null | undefined;
716
- created_at?: string | null | undefined;
717
- updated_at?: string | null | undefined;
718
- cc_emails?: string | null | undefined;
719
- custom_variables?: unknown[] | null | undefined;
720
725
  due_date?: string | null | undefined;
721
726
  currency?: string | null | undefined;
722
727
  discount_cents?: string | null | undefined;
728
+ email?: string | null | undefined;
723
729
  items_total_cents?: number | null | undefined;
724
730
  notification_url?: string | null | undefined;
725
731
  return_url?: string | null | undefined;
@@ -729,6 +735,7 @@ declare const PixResultSchema: z.ZodObject<{
729
735
  taxes_paid_cents?: string | null | undefined;
730
736
  paid_at?: string | null | undefined;
731
737
  paid_cents?: string | null | undefined;
738
+ cc_emails?: string | null | undefined;
732
739
  financial_return_date?: string | null | undefined;
733
740
  payable_with?: string | null | undefined;
734
741
  overpaid_cents?: string | null | undefined;
@@ -738,6 +745,7 @@ declare const PixResultSchema: z.ZodObject<{
738
745
  commission_cents?: string | null | undefined;
739
746
  early_payment_discount?: boolean | null | undefined;
740
747
  order_id?: string | null | undefined;
748
+ updated_at?: string | null | undefined;
741
749
  credit_card_brand?: string | null | undefined;
742
750
  credit_card_bin?: string | null | undefined;
743
751
  credit_card_last_4?: string | null | undefined;
@@ -769,6 +777,8 @@ declare const PixResultSchema: z.ZodObject<{
769
777
  value: string;
770
778
  variable: string;
771
779
  }[] | null | undefined;
780
+ custom_variables?: unknown[] | null | undefined;
781
+ created_at?: string | null | undefined;
772
782
  logs?: {
773
783
  id: string;
774
784
  description: string;
@@ -840,21 +850,11 @@ declare const PixResultSchema: z.ZodObject<{
840
850
  bank_slip_error_message: string;
841
851
  recipient_cpf_cnpj: string;
842
852
  } | null | undefined;
843
- pix?: {
844
- status: string;
845
- payer_name: string;
846
- payer_cpf_cnpj: string;
847
- qrcode: string;
848
- qrcode_text: string;
849
- end_to_end_id: string;
850
- end_to_end_refund_id: string;
851
- account_number_last_digits: string;
852
- } | null | undefined;
853
853
  items?: {
854
854
  id: string;
855
+ updated_at: string;
855
856
  description: string;
856
857
  created_at: string;
857
- updated_at: string;
858
858
  price_cents: number;
859
859
  quantity: number;
860
860
  price: string;
@@ -193,19 +193,19 @@ declare const PixResultSchema: z.ZodObject<{
193
193
  account_number_last_digits: z.ZodString;
194
194
  }, "strip", z.ZodTypeAny, {
195
195
  status: string;
196
- payer_name: string;
197
- payer_cpf_cnpj: string;
198
196
  qrcode: string;
199
197
  qrcode_text: string;
198
+ payer_name: string;
199
+ payer_cpf_cnpj: string;
200
200
  end_to_end_id: string;
201
201
  end_to_end_refund_id: string;
202
202
  account_number_last_digits: string;
203
203
  }, {
204
204
  status: string;
205
- payer_name: string;
206
- payer_cpf_cnpj: string;
207
205
  qrcode: string;
208
206
  qrcode_text: string;
207
+ payer_name: string;
208
+ payer_cpf_cnpj: string;
209
209
  end_to_end_id: string;
210
210
  end_to_end_refund_id: string;
211
211
  account_number_last_digits: string;
@@ -220,17 +220,17 @@ declare const PixResultSchema: z.ZodObject<{
220
220
  price: z.ZodString;
221
221
  }, "strip", z.ZodTypeAny, {
222
222
  id: string;
223
+ updated_at: string;
223
224
  description: string;
224
225
  created_at: string;
225
- updated_at: string;
226
226
  price_cents: number;
227
227
  quantity: number;
228
228
  price: string;
229
229
  }, {
230
230
  id: string;
231
+ updated_at: string;
231
232
  description: string;
232
233
  created_at: string;
233
- updated_at: string;
234
234
  price_cents: number;
235
235
  quantity: number;
236
236
  price: string;
@@ -239,15 +239,21 @@ declare const PixResultSchema: z.ZodObject<{
239
239
  split_rules: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
240
240
  }, "strip", z.ZodTypeAny, {
241
241
  id: string;
242
+ pix?: {
243
+ status: string;
244
+ qrcode: string;
245
+ qrcode_text: string;
246
+ payer_name: string;
247
+ payer_cpf_cnpj: string;
248
+ end_to_end_id: string;
249
+ end_to_end_refund_id: string;
250
+ account_number_last_digits: string;
251
+ } | null | undefined;
242
252
  status?: string | null | undefined;
243
- email?: string | null | undefined;
244
- created_at?: string | null | undefined;
245
- updated_at?: string | null | undefined;
246
- cc_emails?: string | null | undefined;
247
- custom_variables?: unknown[] | null | undefined;
248
253
  due_date?: string | null | undefined;
249
254
  currency?: string | null | undefined;
250
255
  discount_cents?: string | null | undefined;
256
+ email?: string | null | undefined;
251
257
  items_total_cents?: number | null | undefined;
252
258
  notification_url?: string | null | undefined;
253
259
  return_url?: string | null | undefined;
@@ -257,6 +263,7 @@ declare const PixResultSchema: z.ZodObject<{
257
263
  taxes_paid_cents?: string | null | undefined;
258
264
  paid_at?: string | null | undefined;
259
265
  paid_cents?: string | null | undefined;
266
+ cc_emails?: string | null | undefined;
260
267
  financial_return_date?: string | null | undefined;
261
268
  payable_with?: string | null | undefined;
262
269
  overpaid_cents?: string | null | undefined;
@@ -266,6 +273,7 @@ declare const PixResultSchema: z.ZodObject<{
266
273
  commission_cents?: string | null | undefined;
267
274
  early_payment_discount?: boolean | null | undefined;
268
275
  order_id?: string | null | undefined;
276
+ updated_at?: string | null | undefined;
269
277
  credit_card_brand?: string | null | undefined;
270
278
  credit_card_bin?: string | null | undefined;
271
279
  credit_card_last_4?: string | null | undefined;
@@ -297,6 +305,8 @@ declare const PixResultSchema: z.ZodObject<{
297
305
  value: string;
298
306
  variable: string;
299
307
  }[] | null | undefined;
308
+ custom_variables?: unknown[] | null | undefined;
309
+ created_at?: string | null | undefined;
300
310
  logs?: {
301
311
  id: string;
302
312
  description: string;
@@ -368,21 +378,11 @@ declare const PixResultSchema: z.ZodObject<{
368
378
  bank_slip_error_message: string;
369
379
  recipient_cpf_cnpj: string;
370
380
  } | null | undefined;
371
- pix?: {
372
- status: string;
373
- payer_name: string;
374
- payer_cpf_cnpj: string;
375
- qrcode: string;
376
- qrcode_text: string;
377
- end_to_end_id: string;
378
- end_to_end_refund_id: string;
379
- account_number_last_digits: string;
380
- } | null | undefined;
381
381
  items?: {
382
382
  id: string;
383
+ updated_at: string;
383
384
  description: string;
384
385
  created_at: string;
385
- updated_at: string;
386
386
  price_cents: number;
387
387
  quantity: number;
388
388
  price: string;
@@ -391,15 +391,21 @@ declare const PixResultSchema: z.ZodObject<{
391
391
  split_rules?: string | null | undefined;
392
392
  }, {
393
393
  id: string;
394
+ pix?: {
395
+ status: string;
396
+ qrcode: string;
397
+ qrcode_text: string;
398
+ payer_name: string;
399
+ payer_cpf_cnpj: string;
400
+ end_to_end_id: string;
401
+ end_to_end_refund_id: string;
402
+ account_number_last_digits: string;
403
+ } | null | undefined;
394
404
  status?: string | null | undefined;
395
- email?: string | null | undefined;
396
- created_at?: string | null | undefined;
397
- updated_at?: string | null | undefined;
398
- cc_emails?: string | null | undefined;
399
- custom_variables?: unknown[] | null | undefined;
400
405
  due_date?: string | null | undefined;
401
406
  currency?: string | null | undefined;
402
407
  discount_cents?: string | null | undefined;
408
+ email?: string | null | undefined;
403
409
  items_total_cents?: number | null | undefined;
404
410
  notification_url?: string | null | undefined;
405
411
  return_url?: string | null | undefined;
@@ -409,6 +415,7 @@ declare const PixResultSchema: z.ZodObject<{
409
415
  taxes_paid_cents?: string | null | undefined;
410
416
  paid_at?: string | null | undefined;
411
417
  paid_cents?: string | null | undefined;
418
+ cc_emails?: string | null | undefined;
412
419
  financial_return_date?: string | null | undefined;
413
420
  payable_with?: string | null | undefined;
414
421
  overpaid_cents?: string | null | undefined;
@@ -418,6 +425,7 @@ declare const PixResultSchema: z.ZodObject<{
418
425
  commission_cents?: string | null | undefined;
419
426
  early_payment_discount?: boolean | null | undefined;
420
427
  order_id?: string | null | undefined;
428
+ updated_at?: string | null | undefined;
421
429
  credit_card_brand?: string | null | undefined;
422
430
  credit_card_bin?: string | null | undefined;
423
431
  credit_card_last_4?: string | null | undefined;
@@ -449,6 +457,8 @@ declare const PixResultSchema: z.ZodObject<{
449
457
  value: string;
450
458
  variable: string;
451
459
  }[] | null | undefined;
460
+ custom_variables?: unknown[] | null | undefined;
461
+ created_at?: string | null | undefined;
452
462
  logs?: {
453
463
  id: string;
454
464
  description: string;
@@ -520,21 +530,11 @@ declare const PixResultSchema: z.ZodObject<{
520
530
  bank_slip_error_message: string;
521
531
  recipient_cpf_cnpj: string;
522
532
  } | null | undefined;
523
- pix?: {
524
- status: string;
525
- payer_name: string;
526
- payer_cpf_cnpj: string;
527
- qrcode: string;
528
- qrcode_text: string;
529
- end_to_end_id: string;
530
- end_to_end_refund_id: string;
531
- account_number_last_digits: string;
532
- } | null | undefined;
533
533
  items?: {
534
534
  id: string;
535
+ updated_at: string;
535
536
  description: string;
536
537
  created_at: string;
537
- updated_at: string;
538
538
  price_cents: number;
539
539
  quantity: number;
540
540
  price: string;
@@ -543,23 +543,29 @@ declare const PixResultSchema: z.ZodObject<{
543
543
  split_rules?: string | null | undefined;
544
544
  }>>;
545
545
  }, "strip", z.ZodTypeAny, {
546
+ invoice: string;
546
547
  pix: {
547
548
  status: string;
548
549
  qrcode: string;
549
550
  qrcode_text: string;
550
551
  };
551
- invoice: string;
552
552
  invoiceData?: {
553
553
  id: string;
554
+ pix?: {
555
+ status: string;
556
+ qrcode: string;
557
+ qrcode_text: string;
558
+ payer_name: string;
559
+ payer_cpf_cnpj: string;
560
+ end_to_end_id: string;
561
+ end_to_end_refund_id: string;
562
+ account_number_last_digits: string;
563
+ } | null | undefined;
554
564
  status?: string | null | undefined;
555
- email?: string | null | undefined;
556
- created_at?: string | null | undefined;
557
- updated_at?: string | null | undefined;
558
- cc_emails?: string | null | undefined;
559
- custom_variables?: unknown[] | null | undefined;
560
565
  due_date?: string | null | undefined;
561
566
  currency?: string | null | undefined;
562
567
  discount_cents?: string | null | undefined;
568
+ email?: string | null | undefined;
563
569
  items_total_cents?: number | null | undefined;
564
570
  notification_url?: string | null | undefined;
565
571
  return_url?: string | null | undefined;
@@ -569,6 +575,7 @@ declare const PixResultSchema: z.ZodObject<{
569
575
  taxes_paid_cents?: string | null | undefined;
570
576
  paid_at?: string | null | undefined;
571
577
  paid_cents?: string | null | undefined;
578
+ cc_emails?: string | null | undefined;
572
579
  financial_return_date?: string | null | undefined;
573
580
  payable_with?: string | null | undefined;
574
581
  overpaid_cents?: string | null | undefined;
@@ -578,6 +585,7 @@ declare const PixResultSchema: z.ZodObject<{
578
585
  commission_cents?: string | null | undefined;
579
586
  early_payment_discount?: boolean | null | undefined;
580
587
  order_id?: string | null | undefined;
588
+ updated_at?: string | null | undefined;
581
589
  credit_card_brand?: string | null | undefined;
582
590
  credit_card_bin?: string | null | undefined;
583
591
  credit_card_last_4?: string | null | undefined;
@@ -609,6 +617,8 @@ declare const PixResultSchema: z.ZodObject<{
609
617
  value: string;
610
618
  variable: string;
611
619
  }[] | null | undefined;
620
+ custom_variables?: unknown[] | null | undefined;
621
+ created_at?: string | null | undefined;
612
622
  logs?: {
613
623
  id: string;
614
624
  description: string;
@@ -680,21 +690,11 @@ declare const PixResultSchema: z.ZodObject<{
680
690
  bank_slip_error_message: string;
681
691
  recipient_cpf_cnpj: string;
682
692
  } | null | undefined;
683
- pix?: {
684
- status: string;
685
- payer_name: string;
686
- payer_cpf_cnpj: string;
687
- qrcode: string;
688
- qrcode_text: string;
689
- end_to_end_id: string;
690
- end_to_end_refund_id: string;
691
- account_number_last_digits: string;
692
- } | null | undefined;
693
693
  items?: {
694
694
  id: string;
695
+ updated_at: string;
695
696
  description: string;
696
697
  created_at: string;
697
- updated_at: string;
698
698
  price_cents: number;
699
699
  quantity: number;
700
700
  price: string;
@@ -703,23 +703,29 @@ declare const PixResultSchema: z.ZodObject<{
703
703
  split_rules?: string | null | undefined;
704
704
  } | undefined;
705
705
  }, {
706
+ invoice: string;
706
707
  pix: {
707
708
  status: string;
708
709
  qrcode: string;
709
710
  qrcode_text: string;
710
711
  };
711
- invoice: string;
712
712
  invoiceData?: {
713
713
  id: string;
714
+ pix?: {
715
+ status: string;
716
+ qrcode: string;
717
+ qrcode_text: string;
718
+ payer_name: string;
719
+ payer_cpf_cnpj: string;
720
+ end_to_end_id: string;
721
+ end_to_end_refund_id: string;
722
+ account_number_last_digits: string;
723
+ } | null | undefined;
714
724
  status?: string | null | undefined;
715
- email?: string | null | undefined;
716
- created_at?: string | null | undefined;
717
- updated_at?: string | null | undefined;
718
- cc_emails?: string | null | undefined;
719
- custom_variables?: unknown[] | null | undefined;
720
725
  due_date?: string | null | undefined;
721
726
  currency?: string | null | undefined;
722
727
  discount_cents?: string | null | undefined;
728
+ email?: string | null | undefined;
723
729
  items_total_cents?: number | null | undefined;
724
730
  notification_url?: string | null | undefined;
725
731
  return_url?: string | null | undefined;
@@ -729,6 +735,7 @@ declare const PixResultSchema: z.ZodObject<{
729
735
  taxes_paid_cents?: string | null | undefined;
730
736
  paid_at?: string | null | undefined;
731
737
  paid_cents?: string | null | undefined;
738
+ cc_emails?: string | null | undefined;
732
739
  financial_return_date?: string | null | undefined;
733
740
  payable_with?: string | null | undefined;
734
741
  overpaid_cents?: string | null | undefined;
@@ -738,6 +745,7 @@ declare const PixResultSchema: z.ZodObject<{
738
745
  commission_cents?: string | null | undefined;
739
746
  early_payment_discount?: boolean | null | undefined;
740
747
  order_id?: string | null | undefined;
748
+ updated_at?: string | null | undefined;
741
749
  credit_card_brand?: string | null | undefined;
742
750
  credit_card_bin?: string | null | undefined;
743
751
  credit_card_last_4?: string | null | undefined;
@@ -769,6 +777,8 @@ declare const PixResultSchema: z.ZodObject<{
769
777
  value: string;
770
778
  variable: string;
771
779
  }[] | null | undefined;
780
+ custom_variables?: unknown[] | null | undefined;
781
+ created_at?: string | null | undefined;
772
782
  logs?: {
773
783
  id: string;
774
784
  description: string;
@@ -840,21 +850,11 @@ declare const PixResultSchema: z.ZodObject<{
840
850
  bank_slip_error_message: string;
841
851
  recipient_cpf_cnpj: string;
842
852
  } | null | undefined;
843
- pix?: {
844
- status: string;
845
- payer_name: string;
846
- payer_cpf_cnpj: string;
847
- qrcode: string;
848
- qrcode_text: string;
849
- end_to_end_id: string;
850
- end_to_end_refund_id: string;
851
- account_number_last_digits: string;
852
- } | null | undefined;
853
853
  items?: {
854
854
  id: string;
855
+ updated_at: string;
855
856
  description: string;
856
857
  created_at: string;
857
- updated_at: string;
858
858
  price_cents: number;
859
859
  quantity: number;
860
860
  price: string;
@@ -1638,9 +1638,9 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
1638
1638
  createdAt?: Timestamp | null | undefined;
1639
1639
  updatedAt?: Timestamp | null | undefined;
1640
1640
  order?: number | null | undefined;
1641
+ enabled?: boolean | undefined;
1641
1642
  email?: string | undefined;
1642
1643
  name?: string | undefined;
1643
- enabled?: boolean | undefined;
1644
1644
  lastNewsDate?: Timestamp | null | undefined;
1645
1645
  password?: string | undefined;
1646
1646
  phone?: string | undefined;
@@ -1657,9 +1657,9 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
1657
1657
  createdAt?: unknown;
1658
1658
  updatedAt?: unknown;
1659
1659
  order?: number | null | undefined;
1660
+ enabled?: boolean | undefined;
1660
1661
  email?: string | undefined;
1661
1662
  name?: string | undefined;
1662
- enabled?: boolean | undefined;
1663
1663
  lastNewsDate?: unknown;
1664
1664
  password?: string | undefined;
1665
1665
  phone?: string | undefined;
@@ -1684,9 +1684,9 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
1684
1684
  createdAt?: Timestamp | null | undefined;
1685
1685
  updatedAt?: Timestamp | null | undefined;
1686
1686
  order?: number | null | undefined;
1687
+ enabled?: boolean | undefined;
1687
1688
  email?: string | undefined;
1688
1689
  name?: string | undefined;
1689
- enabled?: boolean | undefined;
1690
1690
  lastNewsDate?: Timestamp | null | undefined;
1691
1691
  password?: string | undefined;
1692
1692
  phone?: string | undefined;
@@ -2174,9 +2174,9 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
2174
2174
  createdAt?: unknown;
2175
2175
  updatedAt?: unknown;
2176
2176
  order?: number | null | undefined;
2177
+ enabled?: boolean | undefined;
2177
2178
  email?: string | undefined;
2178
2179
  name?: string | undefined;
2179
- enabled?: boolean | undefined;
2180
2180
  lastNewsDate?: unknown;
2181
2181
  password?: string | undefined;
2182
2182
  phone?: string | undefined;
@@ -1638,9 +1638,9 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
1638
1638
  createdAt?: Timestamp | null | undefined;
1639
1639
  updatedAt?: Timestamp | null | undefined;
1640
1640
  order?: number | null | undefined;
1641
+ enabled?: boolean | undefined;
1641
1642
  email?: string | undefined;
1642
1643
  name?: string | undefined;
1643
- enabled?: boolean | undefined;
1644
1644
  lastNewsDate?: Timestamp | null | undefined;
1645
1645
  password?: string | undefined;
1646
1646
  phone?: string | undefined;
@@ -1657,9 +1657,9 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
1657
1657
  createdAt?: unknown;
1658
1658
  updatedAt?: unknown;
1659
1659
  order?: number | null | undefined;
1660
+ enabled?: boolean | undefined;
1660
1661
  email?: string | undefined;
1661
1662
  name?: string | undefined;
1662
- enabled?: boolean | undefined;
1663
1663
  lastNewsDate?: unknown;
1664
1664
  password?: string | undefined;
1665
1665
  phone?: string | undefined;
@@ -1684,9 +1684,9 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
1684
1684
  createdAt?: Timestamp | null | undefined;
1685
1685
  updatedAt?: Timestamp | null | undefined;
1686
1686
  order?: number | null | undefined;
1687
+ enabled?: boolean | undefined;
1687
1688
  email?: string | undefined;
1688
1689
  name?: string | undefined;
1689
- enabled?: boolean | undefined;
1690
1690
  lastNewsDate?: Timestamp | null | undefined;
1691
1691
  password?: string | undefined;
1692
1692
  phone?: string | undefined;
@@ -2174,9 +2174,9 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
2174
2174
  createdAt?: unknown;
2175
2175
  updatedAt?: unknown;
2176
2176
  order?: number | null | undefined;
2177
+ enabled?: boolean | undefined;
2177
2178
  email?: string | undefined;
2178
2179
  name?: string | undefined;
2179
- enabled?: boolean | undefined;
2180
2180
  lastNewsDate?: unknown;
2181
2181
  password?: string | undefined;
2182
2182
  phone?: string | undefined;
@@ -29,8 +29,8 @@ declare const UserSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
29
29
  createdAt?: FirebaseFirestore.Timestamp | null | undefined;
30
30
  updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
31
31
  order?: number | null | undefined;
32
- name?: string | undefined;
33
32
  enabled?: boolean | undefined;
33
+ name?: string | undefined;
34
34
  lastNewsDate?: FirebaseFirestore.Timestamp | null | undefined;
35
35
  password?: string | undefined;
36
36
  phone?: string | undefined;
@@ -48,8 +48,8 @@ declare const UserSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
48
48
  createdAt?: unknown;
49
49
  updatedAt?: unknown;
50
50
  order?: number | null | undefined;
51
- name?: string | undefined;
52
51
  enabled?: boolean | undefined;
52
+ name?: string | undefined;
53
53
  lastNewsDate?: unknown;
54
54
  password?: string | undefined;
55
55
  phone?: string | undefined;
@@ -29,8 +29,8 @@ declare const UserSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
29
29
  createdAt?: FirebaseFirestore.Timestamp | null | undefined;
30
30
  updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
31
31
  order?: number | null | undefined;
32
- name?: string | undefined;
33
32
  enabled?: boolean | undefined;
33
+ name?: string | undefined;
34
34
  lastNewsDate?: FirebaseFirestore.Timestamp | null | undefined;
35
35
  password?: string | undefined;
36
36
  phone?: string | undefined;
@@ -48,8 +48,8 @@ declare const UserSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
48
48
  createdAt?: unknown;
49
49
  updatedAt?: unknown;
50
50
  order?: number | null | undefined;
51
- name?: string | undefined;
52
51
  enabled?: boolean | undefined;
52
+ name?: string | undefined;
53
53
  lastNewsDate?: unknown;
54
54
  password?: string | undefined;
55
55
  phone?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_henriquewilson/gabirubi-domain",
3
- "version": "1.3.30",
3
+ "version": "1.3.32",
4
4
  "description": "gabirubi domain",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -35,12 +35,19 @@
35
35
  "typescript": "^5.2.2"
36
36
  },
37
37
  "dependencies": {
38
- "@google-cloud/firestore": "^7.7.0",
39
38
  "firebase": "^10.12.4",
40
39
  "@jest/globals": "^29.7.0",
41
40
  "cuid": "^3.0.0",
42
41
  "lodash": "^4.17.21",
43
42
  "yup": "^1.3.2",
44
43
  "zod": "^3.23.8"
44
+ },
45
+ "peerDependencies": {
46
+ "@google-cloud/firestore": "^7.7.0"
47
+ },
48
+ "peerDependenciesMeta": {
49
+ "@google-cloud/firestore": {
50
+ "optional": true
51
+ }
45
52
  }
46
53
  }