@_henriquewilson/gabirubi-domain 1.0.38 → 1.0.40

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.
@@ -2,31 +2,31 @@ import { z } from 'zod';
2
2
 
3
3
  declare const IuguInvoiceSchema: z.ZodObject<{
4
4
  id: z.ZodString;
5
- due_date: z.ZodString;
6
- currency: z.ZodString;
5
+ due_date: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
6
+ currency: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
7
7
  discount_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8
- email: z.ZodString;
9
- items_total_cents: z.ZodNumber;
8
+ email: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
9
+ items_total_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
10
10
  notification_url: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
11
11
  return_url: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
12
- status: z.ZodString;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
13
13
  tax_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
14
- total_cents: z.ZodNumber;
15
- total_paid_cents: z.ZodNumber;
14
+ total_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
15
+ total_paid_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
16
16
  taxes_paid_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
17
17
  paid_at: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
18
18
  paid_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
19
19
  cc_emails: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
20
20
  financial_return_date: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
21
- payable_with: z.ZodString;
21
+ payable_with: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
22
22
  overpaid_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
23
23
  ignore_due_email: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
24
24
  ignore_canceled_email: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
25
25
  advance_fee_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
26
26
  commission_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
27
- early_payment_discount: z.ZodBoolean;
27
+ early_payment_discount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
28
28
  order_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
29
- updated_at: z.ZodString;
29
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
30
30
  credit_card_brand: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
31
31
  credit_card_bin: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
32
32
  credit_card_last_4: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -34,9 +34,9 @@ declare const IuguInvoiceSchema: z.ZodObject<{
34
34
  credit_card_tid: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
35
35
  external_reference: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
36
36
  max_installments_value: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
37
- payer_name: z.ZodString;
37
+ payer_name: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
38
38
  payer_email: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
39
- payer_cpf_cnpj: z.ZodString;
39
+ payer_cpf_cnpj: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
40
40
  payer_phone: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
41
41
  payer_phone_prefix: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
42
42
  payer_address_zip_code: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -47,14 +47,14 @@ declare const IuguInvoiceSchema: z.ZodObject<{
47
47
  payer_address_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
48
48
  payer_address_complement: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
49
49
  payer_address_country: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
50
- late_payment_fine: z.ZodNumber;
50
+ late_payment_fine: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
51
51
  late_payment_fine_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
52
52
  split_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
53
53
  external_payment_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
54
54
  external_payment_description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
55
55
  payment_booklet_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
56
56
  subscription_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
57
- variables: z.ZodArray<z.ZodObject<{
57
+ variables: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
58
58
  variable: z.ZodString;
59
59
  value: z.ZodString;
60
60
  }, "strip", z.ZodTypeAny, {
@@ -63,9 +63,9 @@ declare const IuguInvoiceSchema: z.ZodObject<{
63
63
  }, {
64
64
  value: string;
65
65
  variable: string;
66
- }>, "many">;
67
- custom_variables: z.ZodArray<z.ZodUnknown, "many">;
68
- logs: z.ZodArray<z.ZodObject<{
66
+ }>, "many">>>>;
67
+ custom_variables: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>>;
68
+ logs: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
69
69
  id: z.ZodString;
70
70
  description: z.ZodString;
71
71
  notes: z.ZodString;
@@ -80,44 +80,44 @@ declare const IuguInvoiceSchema: z.ZodObject<{
80
80
  description: string;
81
81
  notes: string;
82
82
  created_at: string;
83
- }>, "many">;
83
+ }>, "many">>>>;
84
84
  credit_card_transaction: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
85
- account_id: z.ZodString;
86
- bank_account_branch: z.ZodString;
87
- bank_account_number: z.ZodString;
88
- account_name: z.ZodString;
89
- secure_id: z.ZodString;
90
- secure_url: z.ZodString;
85
+ account_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
86
+ bank_account_branch: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
87
+ bank_account_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
88
+ account_name: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
89
+ secure_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
90
+ secure_url: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
91
91
  customer_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
92
92
  customer_ref: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
93
93
  customer_name: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
94
94
  user_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
95
- total: z.ZodString;
96
- taxes_paid: z.ZodString;
97
- total_paid: z.ZodString;
98
- total_overpaid: z.ZodString;
99
- total_refunded: z.ZodString;
100
- commission: z.ZodString;
101
- fines_on_occurrence_day: z.ZodString;
102
- total_on_occurrence_day: z.ZodString;
103
- fines_on_occurrence_day_cents: z.ZodNumber;
104
- total_on_occurrence_day_cents: z.ZodNumber;
105
- refunded_cents: z.ZodNumber;
106
- remaining_captured_cents: z.ZodNumber;
95
+ total: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
96
+ taxes_paid: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
97
+ total_paid: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
98
+ total_overpaid: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
99
+ total_refunded: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
100
+ commission: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
101
+ fines_on_occurrence_day: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
102
+ total_on_occurrence_day: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
103
+ fines_on_occurrence_day_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
104
+ total_on_occurrence_day_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
105
+ refunded_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
106
+ remaining_captured_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
107
107
  advance_fee: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
108
108
  estimated_advance_fee: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
109
- paid: z.ZodString;
109
+ paid: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
110
110
  original_payment_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
111
111
  double_payment_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
112
- per_day_interest: z.ZodBoolean;
112
+ per_day_interest: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
113
113
  per_day_interest_value: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
114
- per_day_interest_cents: z.ZodNumber;
114
+ per_day_interest_cents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
115
115
  interest: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
116
116
  discount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
117
117
  duplicated_invoice_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
118
- bank_slip_extra_due: z.ZodNumber;
119
- created_at: z.ZodString;
120
- created_at_iso: z.ZodString;
118
+ bank_slip_extra_due: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
119
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
120
+ created_at_iso: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
121
121
  authorized_at: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
122
122
  authorized_at_iso: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
123
123
  expired_at: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -133,18 +133,18 @@ declare const IuguInvoiceSchema: z.ZodObject<{
133
133
  occurrence_date: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
134
134
  refundable: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
135
135
  installments: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
136
- transaction_number: z.ZodNumber;
136
+ transaction_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
137
137
  payment_method: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
138
138
  financial_return_dates: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
139
- bank_slip: z.ZodObject<{
139
+ bank_slip: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
140
140
  digitable_line: z.ZodString;
141
141
  barcode_data: z.ZodString;
142
142
  barcode: z.ZodString;
143
143
  bank_slip_url: z.ZodString;
144
144
  bank_slip_bank: z.ZodNumber;
145
145
  bank_slip_status: z.ZodString;
146
- bank_slip_error_code: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
147
- bank_slip_error_message: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
146
+ bank_slip_error_code: z.ZodString;
147
+ bank_slip_error_message: z.ZodString;
148
148
  recipient_cpf_cnpj: z.ZodString;
149
149
  }, "strip", z.ZodTypeAny, {
150
150
  digitable_line: string;
@@ -153,9 +153,9 @@ declare const IuguInvoiceSchema: z.ZodObject<{
153
153
  bank_slip_url: string;
154
154
  bank_slip_bank: number;
155
155
  bank_slip_status: string;
156
+ bank_slip_error_code: string;
157
+ bank_slip_error_message: string;
156
158
  recipient_cpf_cnpj: string;
157
- bank_slip_error_code?: string | null | undefined;
158
- bank_slip_error_message?: string | null | undefined;
159
159
  }, {
160
160
  digitable_line: string;
161
161
  barcode_data: string;
@@ -163,39 +163,39 @@ declare const IuguInvoiceSchema: z.ZodObject<{
163
163
  bank_slip_url: string;
164
164
  bank_slip_bank: number;
165
165
  bank_slip_status: string;
166
+ bank_slip_error_code: string;
167
+ bank_slip_error_message: string;
166
168
  recipient_cpf_cnpj: string;
167
- bank_slip_error_code?: string | null | undefined;
168
- bank_slip_error_message?: string | null | undefined;
169
- }>;
170
- pix: z.ZodObject<{
169
+ }>>>>;
170
+ pix: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
171
171
  qrcode: z.ZodString;
172
172
  qrcode_text: z.ZodString;
173
173
  status: z.ZodString;
174
- payer_cpf_cnpj: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
175
- payer_name: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
176
- end_to_end_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
177
- end_to_end_refund_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
178
- account_number_last_digits: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
174
+ payer_cpf_cnpj: z.ZodString;
175
+ payer_name: z.ZodString;
176
+ end_to_end_id: z.ZodString;
177
+ end_to_end_refund_id: z.ZodString;
178
+ account_number_last_digits: z.ZodString;
179
179
  }, "strip", z.ZodTypeAny, {
180
180
  status: string;
181
+ payer_name: string;
182
+ payer_cpf_cnpj: string;
181
183
  qrcode: string;
182
184
  qrcode_text: string;
183
- payer_name?: string | null | undefined;
184
- payer_cpf_cnpj?: string | null | undefined;
185
- end_to_end_id?: string | null | undefined;
186
- end_to_end_refund_id?: string | null | undefined;
187
- account_number_last_digits?: string | null | undefined;
185
+ end_to_end_id: string;
186
+ end_to_end_refund_id: string;
187
+ account_number_last_digits: string;
188
188
  }, {
189
189
  status: string;
190
+ payer_name: string;
191
+ payer_cpf_cnpj: string;
190
192
  qrcode: string;
191
193
  qrcode_text: string;
192
- payer_name?: string | null | undefined;
193
- payer_cpf_cnpj?: string | null | undefined;
194
- end_to_end_id?: string | null | undefined;
195
- end_to_end_refund_id?: string | null | undefined;
196
- account_number_last_digits?: string | null | undefined;
197
- }>;
198
- items: z.ZodArray<z.ZodObject<{
194
+ end_to_end_id: string;
195
+ end_to_end_refund_id: string;
196
+ account_number_last_digits: string;
197
+ }>>>>;
198
+ items: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
199
199
  id: z.ZodString;
200
200
  description: z.ZodString;
201
201
  price_cents: z.ZodNumber;
@@ -219,106 +219,36 @@ declare const IuguInvoiceSchema: z.ZodObject<{
219
219
  price_cents: number;
220
220
  quantity: number;
221
221
  price: string;
222
- }>, "many">;
223
- early_payment_discounts: z.ZodArray<z.ZodUnknown, "many">;
222
+ }>, "many">>>>;
223
+ early_payment_discounts: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>>;
224
224
  split_rules: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
225
225
  }, "strip", z.ZodTypeAny, {
226
- status: string;
227
226
  id: string;
228
- due_date: string;
229
- currency: string;
230
- email: string;
231
- items_total_cents: number;
232
- total_cents: number;
233
- total_paid_cents: number;
234
- payable_with: string;
235
- early_payment_discount: boolean;
236
- updated_at: string;
237
- payer_name: string;
238
- payer_cpf_cnpj: string;
239
- late_payment_fine: number;
240
- variables: {
241
- value: string;
242
- variable: string;
243
- }[];
244
- custom_variables: unknown[];
245
- logs: {
246
- id: string;
247
- description: string;
248
- notes: string;
249
- created_at: string;
250
- }[];
251
- created_at: string;
252
- account_id: string;
253
- bank_account_branch: string;
254
- bank_account_number: string;
255
- account_name: string;
256
- secure_id: string;
257
- secure_url: string;
258
- total: string;
259
- taxes_paid: string;
260
- total_paid: string;
261
- total_overpaid: string;
262
- total_refunded: string;
263
- commission: string;
264
- fines_on_occurrence_day: string;
265
- total_on_occurrence_day: string;
266
- fines_on_occurrence_day_cents: number;
267
- total_on_occurrence_day_cents: number;
268
- refunded_cents: number;
269
- remaining_captured_cents: number;
270
- paid: string;
271
- per_day_interest: boolean;
272
- per_day_interest_cents: number;
273
- bank_slip_extra_due: number;
274
- created_at_iso: string;
275
- transaction_number: number;
276
- bank_slip: {
277
- digitable_line: string;
278
- barcode_data: string;
279
- barcode: string;
280
- bank_slip_url: string;
281
- bank_slip_bank: number;
282
- bank_slip_status: string;
283
- recipient_cpf_cnpj: string;
284
- bank_slip_error_code?: string | null | undefined;
285
- bank_slip_error_message?: string | null | undefined;
286
- };
287
- pix: {
288
- status: string;
289
- qrcode: string;
290
- qrcode_text: string;
291
- payer_name?: string | null | undefined;
292
- payer_cpf_cnpj?: string | null | undefined;
293
- end_to_end_id?: string | null | undefined;
294
- end_to_end_refund_id?: string | null | undefined;
295
- account_number_last_digits?: string | null | undefined;
296
- };
297
- items: {
298
- id: string;
299
- description: string;
300
- updated_at: string;
301
- created_at: string;
302
- price_cents: number;
303
- quantity: number;
304
- price: string;
305
- }[];
306
- early_payment_discounts: unknown[];
227
+ status?: string | null | undefined;
228
+ due_date?: string | null | undefined;
229
+ currency?: string | null | undefined;
307
230
  discount_cents?: string | null | undefined;
231
+ email?: string | null | undefined;
232
+ items_total_cents?: number | null | undefined;
308
233
  notification_url?: string | null | undefined;
309
234
  return_url?: string | null | undefined;
310
235
  tax_cents?: string | null | undefined;
236
+ total_cents?: number | null | undefined;
237
+ total_paid_cents?: number | null | undefined;
311
238
  taxes_paid_cents?: string | null | undefined;
312
239
  paid_at?: string | null | undefined;
313
240
  paid_cents?: string | null | undefined;
314
241
  cc_emails?: string | null | undefined;
315
242
  financial_return_date?: string | null | undefined;
243
+ payable_with?: string | null | undefined;
316
244
  overpaid_cents?: string | null | undefined;
317
245
  ignore_due_email?: string | null | undefined;
318
246
  ignore_canceled_email?: string | null | undefined;
319
247
  advance_fee_cents?: string | null | undefined;
320
248
  commission_cents?: string | null | undefined;
249
+ early_payment_discount?: boolean | null | undefined;
321
250
  order_id?: string | null | undefined;
251
+ updated_at?: string | null | undefined;
322
252
  credit_card_brand?: string | null | undefined;
323
253
  credit_card_bin?: string | null | undefined;
324
254
  credit_card_last_4?: string | null | undefined;
@@ -326,7 +256,9 @@ declare const IuguInvoiceSchema: z.ZodObject<{
326
256
  credit_card_tid?: string | null | undefined;
327
257
  external_reference?: string | null | undefined;
328
258
  max_installments_value?: string | null | undefined;
259
+ payer_name?: string | null | undefined;
329
260
  payer_email?: string | null | undefined;
261
+ payer_cpf_cnpj?: string | null | undefined;
330
262
  payer_phone?: string | null | undefined;
331
263
  payer_phone_prefix?: string | null | undefined;
332
264
  payer_address_zip_code?: string | null | undefined;
@@ -337,25 +269,61 @@ declare const IuguInvoiceSchema: z.ZodObject<{
337
269
  payer_address_number?: string | null | undefined;
338
270
  payer_address_complement?: string | null | undefined;
339
271
  payer_address_country?: string | null | undefined;
272
+ late_payment_fine?: number | null | undefined;
340
273
  late_payment_fine_cents?: string | null | undefined;
341
274
  split_id?: string | null | undefined;
342
275
  external_payment_id?: string | null | undefined;
343
276
  external_payment_description?: string | null | undefined;
344
277
  payment_booklet_id?: string | null | undefined;
345
278
  subscription_id?: string | null | undefined;
279
+ variables?: {
280
+ value: string;
281
+ variable: string;
282
+ }[] | null | undefined;
283
+ custom_variables?: unknown[] | null | undefined;
284
+ created_at?: string | null | undefined;
285
+ logs?: {
286
+ id: string;
287
+ description: string;
288
+ notes: string;
289
+ created_at: string;
290
+ }[] | null | undefined;
346
291
  credit_card_transaction?: string | null | undefined;
292
+ account_id?: string | null | undefined;
293
+ bank_account_branch?: string | null | undefined;
294
+ bank_account_number?: string | null | undefined;
295
+ account_name?: string | null | undefined;
296
+ secure_id?: string | null | undefined;
297
+ secure_url?: string | null | undefined;
347
298
  customer_id?: string | null | undefined;
348
299
  customer_ref?: string | null | undefined;
349
300
  customer_name?: string | null | undefined;
350
301
  user_id?: string | null | undefined;
302
+ total?: string | null | undefined;
303
+ taxes_paid?: string | null | undefined;
304
+ total_paid?: string | null | undefined;
305
+ total_overpaid?: string | null | undefined;
306
+ total_refunded?: string | null | undefined;
307
+ commission?: string | null | undefined;
308
+ fines_on_occurrence_day?: string | null | undefined;
309
+ total_on_occurrence_day?: string | null | undefined;
310
+ fines_on_occurrence_day_cents?: number | null | undefined;
311
+ total_on_occurrence_day_cents?: number | null | undefined;
312
+ refunded_cents?: number | null | undefined;
313
+ remaining_captured_cents?: number | null | undefined;
351
314
  advance_fee?: string | null | undefined;
352
315
  estimated_advance_fee?: string | null | undefined;
316
+ paid?: string | null | undefined;
353
317
  original_payment_id?: string | null | undefined;
354
318
  double_payment_id?: string | null | undefined;
319
+ per_day_interest?: boolean | null | undefined;
355
320
  per_day_interest_value?: string | null | undefined;
321
+ per_day_interest_cents?: number | null | undefined;
356
322
  interest?: string | null | undefined;
357
323
  discount?: string | null | undefined;
358
324
  duplicated_invoice_id?: string | null | undefined;
325
+ bank_slip_extra_due?: number | null | undefined;
326
+ created_at_iso?: string | null | undefined;
359
327
  authorized_at?: string | null | undefined;
360
328
  authorized_at_iso?: string | null | undefined;
361
329
  expired_at?: string | null | undefined;
@@ -371,82 +339,31 @@ declare const IuguInvoiceSchema: z.ZodObject<{
371
339
  occurrence_date?: string | null | undefined;
372
340
  refundable?: string | null | undefined;
373
341
  installments?: string | null | undefined;
342
+ transaction_number?: number | null | undefined;
374
343
  payment_method?: string | null | undefined;
375
344
  financial_return_dates?: string | null | undefined;
376
- split_rules?: string | null | undefined;
377
- }, {
378
- status: string;
379
- id: string;
380
- due_date: string;
381
- currency: string;
382
- email: string;
383
- items_total_cents: number;
384
- total_cents: number;
385
- total_paid_cents: number;
386
- payable_with: string;
387
- early_payment_discount: boolean;
388
- updated_at: string;
389
- payer_name: string;
390
- payer_cpf_cnpj: string;
391
- late_payment_fine: number;
392
- variables: {
393
- value: string;
394
- variable: string;
395
- }[];
396
- custom_variables: unknown[];
397
- logs: {
398
- id: string;
399
- description: string;
400
- notes: string;
401
- created_at: string;
402
- }[];
403
- created_at: string;
404
- account_id: string;
405
- bank_account_branch: string;
406
- bank_account_number: string;
407
- account_name: string;
408
- secure_id: string;
409
- secure_url: string;
410
- total: string;
411
- taxes_paid: string;
412
- total_paid: string;
413
- total_overpaid: string;
414
- total_refunded: string;
415
- commission: string;
416
- fines_on_occurrence_day: string;
417
- total_on_occurrence_day: string;
418
- fines_on_occurrence_day_cents: number;
419
- total_on_occurrence_day_cents: number;
420
- refunded_cents: number;
421
- remaining_captured_cents: number;
422
- paid: string;
423
- per_day_interest: boolean;
424
- per_day_interest_cents: number;
425
- bank_slip_extra_due: number;
426
- created_at_iso: string;
427
- transaction_number: number;
428
- bank_slip: {
345
+ bank_slip?: {
429
346
  digitable_line: string;
430
347
  barcode_data: string;
431
348
  barcode: string;
432
349
  bank_slip_url: string;
433
350
  bank_slip_bank: number;
434
351
  bank_slip_status: string;
352
+ bank_slip_error_code: string;
353
+ bank_slip_error_message: string;
435
354
  recipient_cpf_cnpj: string;
436
- bank_slip_error_code?: string | null | undefined;
437
- bank_slip_error_message?: string | null | undefined;
438
- };
439
- pix: {
355
+ } | null | undefined;
356
+ pix?: {
440
357
  status: string;
358
+ payer_name: string;
359
+ payer_cpf_cnpj: string;
441
360
  qrcode: string;
442
361
  qrcode_text: string;
443
- payer_name?: string | null | undefined;
444
- payer_cpf_cnpj?: string | null | undefined;
445
- end_to_end_id?: string | null | undefined;
446
- end_to_end_refund_id?: string | null | undefined;
447
- account_number_last_digits?: string | null | undefined;
448
- };
449
- items: {
362
+ end_to_end_id: string;
363
+ end_to_end_refund_id: string;
364
+ account_number_last_digits: string;
365
+ } | null | undefined;
366
+ items?: {
450
367
  id: string;
451
368
  description: string;
452
369
  updated_at: string;
@@ -454,23 +371,36 @@ declare const IuguInvoiceSchema: z.ZodObject<{
454
371
  price_cents: number;
455
372
  quantity: number;
456
373
  price: string;
457
- }[];
458
- early_payment_discounts: unknown[];
374
+ }[] | null | undefined;
375
+ early_payment_discounts?: unknown[] | null | undefined;
376
+ split_rules?: string | null | undefined;
377
+ }, {
378
+ id: string;
379
+ status?: string | null | undefined;
380
+ due_date?: string | null | undefined;
381
+ currency?: string | null | undefined;
459
382
  discount_cents?: string | null | undefined;
383
+ email?: string | null | undefined;
384
+ items_total_cents?: number | null | undefined;
460
385
  notification_url?: string | null | undefined;
461
386
  return_url?: string | null | undefined;
462
387
  tax_cents?: string | null | undefined;
388
+ total_cents?: number | null | undefined;
389
+ total_paid_cents?: number | null | undefined;
463
390
  taxes_paid_cents?: string | null | undefined;
464
391
  paid_at?: string | null | undefined;
465
392
  paid_cents?: string | null | undefined;
466
393
  cc_emails?: string | null | undefined;
467
394
  financial_return_date?: string | null | undefined;
395
+ payable_with?: string | null | undefined;
468
396
  overpaid_cents?: string | null | undefined;
469
397
  ignore_due_email?: string | null | undefined;
470
398
  ignore_canceled_email?: string | null | undefined;
471
399
  advance_fee_cents?: string | null | undefined;
472
400
  commission_cents?: string | null | undefined;
401
+ early_payment_discount?: boolean | null | undefined;
473
402
  order_id?: string | null | undefined;
403
+ updated_at?: string | null | undefined;
474
404
  credit_card_brand?: string | null | undefined;
475
405
  credit_card_bin?: string | null | undefined;
476
406
  credit_card_last_4?: string | null | undefined;
@@ -478,7 +408,9 @@ declare const IuguInvoiceSchema: z.ZodObject<{
478
408
  credit_card_tid?: string | null | undefined;
479
409
  external_reference?: string | null | undefined;
480
410
  max_installments_value?: string | null | undefined;
411
+ payer_name?: string | null | undefined;
481
412
  payer_email?: string | null | undefined;
413
+ payer_cpf_cnpj?: string | null | undefined;
482
414
  payer_phone?: string | null | undefined;
483
415
  payer_phone_prefix?: string | null | undefined;
484
416
  payer_address_zip_code?: string | null | undefined;
@@ -489,25 +421,61 @@ declare const IuguInvoiceSchema: z.ZodObject<{
489
421
  payer_address_number?: string | null | undefined;
490
422
  payer_address_complement?: string | null | undefined;
491
423
  payer_address_country?: string | null | undefined;
424
+ late_payment_fine?: number | null | undefined;
492
425
  late_payment_fine_cents?: string | null | undefined;
493
426
  split_id?: string | null | undefined;
494
427
  external_payment_id?: string | null | undefined;
495
428
  external_payment_description?: string | null | undefined;
496
429
  payment_booklet_id?: string | null | undefined;
497
430
  subscription_id?: string | null | undefined;
431
+ variables?: {
432
+ value: string;
433
+ variable: string;
434
+ }[] | null | undefined;
435
+ custom_variables?: unknown[] | null | undefined;
436
+ created_at?: string | null | undefined;
437
+ logs?: {
438
+ id: string;
439
+ description: string;
440
+ notes: string;
441
+ created_at: string;
442
+ }[] | null | undefined;
498
443
  credit_card_transaction?: string | null | undefined;
444
+ account_id?: string | null | undefined;
445
+ bank_account_branch?: string | null | undefined;
446
+ bank_account_number?: string | null | undefined;
447
+ account_name?: string | null | undefined;
448
+ secure_id?: string | null | undefined;
449
+ secure_url?: string | null | undefined;
499
450
  customer_id?: string | null | undefined;
500
451
  customer_ref?: string | null | undefined;
501
452
  customer_name?: string | null | undefined;
502
453
  user_id?: string | null | undefined;
454
+ total?: string | null | undefined;
455
+ taxes_paid?: string | null | undefined;
456
+ total_paid?: string | null | undefined;
457
+ total_overpaid?: string | null | undefined;
458
+ total_refunded?: string | null | undefined;
459
+ commission?: string | null | undefined;
460
+ fines_on_occurrence_day?: string | null | undefined;
461
+ total_on_occurrence_day?: string | null | undefined;
462
+ fines_on_occurrence_day_cents?: number | null | undefined;
463
+ total_on_occurrence_day_cents?: number | null | undefined;
464
+ refunded_cents?: number | null | undefined;
465
+ remaining_captured_cents?: number | null | undefined;
503
466
  advance_fee?: string | null | undefined;
504
467
  estimated_advance_fee?: string | null | undefined;
468
+ paid?: string | null | undefined;
505
469
  original_payment_id?: string | null | undefined;
506
470
  double_payment_id?: string | null | undefined;
471
+ per_day_interest?: boolean | null | undefined;
507
472
  per_day_interest_value?: string | null | undefined;
473
+ per_day_interest_cents?: number | null | undefined;
508
474
  interest?: string | null | undefined;
509
475
  discount?: string | null | undefined;
510
476
  duplicated_invoice_id?: string | null | undefined;
477
+ bank_slip_extra_due?: number | null | undefined;
478
+ created_at_iso?: string | null | undefined;
511
479
  authorized_at?: string | null | undefined;
512
480
  authorized_at_iso?: string | null | undefined;
513
481
  expired_at?: string | null | undefined;
@@ -523,8 +491,40 @@ declare const IuguInvoiceSchema: z.ZodObject<{
523
491
  occurrence_date?: string | null | undefined;
524
492
  refundable?: string | null | undefined;
525
493
  installments?: string | null | undefined;
494
+ transaction_number?: number | null | undefined;
526
495
  payment_method?: string | null | undefined;
527
496
  financial_return_dates?: string | null | undefined;
497
+ bank_slip?: {
498
+ digitable_line: string;
499
+ barcode_data: string;
500
+ barcode: string;
501
+ bank_slip_url: string;
502
+ bank_slip_bank: number;
503
+ bank_slip_status: string;
504
+ bank_slip_error_code: string;
505
+ bank_slip_error_message: string;
506
+ recipient_cpf_cnpj: string;
507
+ } | null | undefined;
508
+ pix?: {
509
+ status: string;
510
+ payer_name: string;
511
+ payer_cpf_cnpj: string;
512
+ qrcode: string;
513
+ qrcode_text: string;
514
+ end_to_end_id: string;
515
+ end_to_end_refund_id: string;
516
+ account_number_last_digits: string;
517
+ } | null | undefined;
518
+ items?: {
519
+ id: string;
520
+ description: string;
521
+ updated_at: string;
522
+ created_at: string;
523
+ price_cents: number;
524
+ quantity: number;
525
+ price: string;
526
+ }[] | null | undefined;
527
+ early_payment_discounts?: unknown[] | null | undefined;
528
528
  split_rules?: string | null | undefined;
529
529
  }>;
530
530
  type IuguInvoice = z.infer<typeof IuguInvoiceSchema>;