@_henriquewilson/gabirubi-domain 1.3.68 → 1.3.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/model/iugu/iugu-invoice.d.mts +30 -30
- package/dist/model/iugu/iugu-invoice.d.ts +30 -30
- package/dist/model/journey.d.mts +45 -45
- package/dist/model/journey.d.ts +45 -45
- package/dist/model/subscription.model.d.mts +219 -219
- package/dist/model/subscription.model.d.ts +219 -219
- package/dist/model/subscription.model.js +3 -2
- package/dist/model/subscription.model.js.map +1 -1
- package/dist/model/subscription.model.mjs +3 -2
- package/dist/model/subscription.model.mjs.map +1 -1
- package/dist/model/user.model.d.mts +2 -2
- package/dist/model/user.model.d.ts +2 -2
- package/dist/test/subscription.test.d.mts +2 -0
- package/dist/test/subscription.test.d.ts +2 -0
- package/dist/test/subscription.test.js +375 -0
- package/dist/test/subscription.test.js.map +1 -0
- package/dist/test/subscription.test.mjs +327 -0
- package/dist/test/subscription.test.mjs.map +1 -0
- package/package.json +1 -1
|
@@ -74,13 +74,13 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
id: string;
|
|
76
76
|
description: string;
|
|
77
|
-
notes: string;
|
|
78
77
|
created_at: string;
|
|
78
|
+
notes: string;
|
|
79
79
|
}, {
|
|
80
80
|
id: string;
|
|
81
81
|
description: string;
|
|
82
|
-
notes: string;
|
|
83
82
|
created_at: string;
|
|
83
|
+
notes: string;
|
|
84
84
|
}>, "many">>>>;
|
|
85
85
|
credit_card_transaction: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
86
86
|
account_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -208,28 +208,35 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
208
208
|
id: string;
|
|
209
209
|
description: string;
|
|
210
210
|
price: string;
|
|
211
|
-
|
|
211
|
+
quantity: number;
|
|
212
212
|
created_at: string;
|
|
213
|
+
updated_at: string;
|
|
213
214
|
price_cents: number;
|
|
214
|
-
quantity: number;
|
|
215
215
|
}, {
|
|
216
216
|
id: string;
|
|
217
217
|
description: string;
|
|
218
218
|
price: string;
|
|
219
|
-
|
|
219
|
+
quantity: number;
|
|
220
220
|
created_at: string;
|
|
221
|
+
updated_at: string;
|
|
221
222
|
price_cents: number;
|
|
222
|
-
quantity: number;
|
|
223
223
|
}>, "many">>>>;
|
|
224
224
|
early_payment_discounts: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>>;
|
|
225
225
|
split_rules: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
227
|
id: string;
|
|
228
|
-
status?: "pending" | "
|
|
228
|
+
status?: "pending" | "canceled" | "paid" | "in_analysis" | "draft" | "partially_paid" | "refunded" | "expired" | "in_protest" | "chargeback" | "externally_paid" | "invited" | null | undefined;
|
|
229
229
|
email?: string | null | undefined;
|
|
230
|
+
discount?: string | null | undefined;
|
|
231
|
+
currency?: string | null | undefined;
|
|
232
|
+
total?: string | null | undefined;
|
|
233
|
+
created_at?: string | null | undefined;
|
|
234
|
+
updated_at?: string | null | undefined;
|
|
235
|
+
paid_at?: string | null | undefined;
|
|
236
|
+
canceled_at?: string | null | undefined;
|
|
237
|
+
expired_at?: string | null | undefined;
|
|
230
238
|
paid?: string | null | undefined;
|
|
231
239
|
due_date?: string | null | undefined;
|
|
232
|
-
currency?: string | null | undefined;
|
|
233
240
|
discount_cents?: string | null | undefined;
|
|
234
241
|
items_total_cents?: number | null | undefined;
|
|
235
242
|
notification_url?: string | null | undefined;
|
|
@@ -238,7 +245,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
238
245
|
total_cents?: number | null | undefined;
|
|
239
246
|
total_paid_cents?: number | null | undefined;
|
|
240
247
|
taxes_paid_cents?: string | null | undefined;
|
|
241
|
-
paid_at?: string | null | undefined;
|
|
242
248
|
paid_cents?: number | null | undefined;
|
|
243
249
|
cc_emails?: string | null | undefined;
|
|
244
250
|
financial_return_date?: string | null | undefined;
|
|
@@ -271,7 +277,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
271
277
|
commission_cents?: string | null | undefined;
|
|
272
278
|
early_payment_discount?: boolean | null | undefined;
|
|
273
279
|
order_id?: string | null | undefined;
|
|
274
|
-
updated_at?: string | null | undefined;
|
|
275
280
|
credit_card_brand?: string | null | undefined;
|
|
276
281
|
credit_card_bin?: string | null | undefined;
|
|
277
282
|
credit_card_last_4?: string | null | undefined;
|
|
@@ -304,12 +309,11 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
304
309
|
variable: string;
|
|
305
310
|
}[] | null | undefined;
|
|
306
311
|
custom_variables?: any[] | null | undefined;
|
|
307
|
-
created_at?: string | null | undefined;
|
|
308
312
|
logs?: {
|
|
309
313
|
id: string;
|
|
310
314
|
description: string;
|
|
311
|
-
notes: string;
|
|
312
315
|
created_at: string;
|
|
316
|
+
notes: string;
|
|
313
317
|
}[] | null | undefined;
|
|
314
318
|
credit_card_transaction?: string | null | undefined;
|
|
315
319
|
account_id?: string | null | undefined;
|
|
@@ -322,7 +326,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
322
326
|
customer_ref?: string | null | undefined;
|
|
323
327
|
customer_name?: string | null | undefined;
|
|
324
328
|
user_id?: string | null | undefined;
|
|
325
|
-
total?: string | null | undefined;
|
|
326
329
|
taxes_paid?: string | null | undefined;
|
|
327
330
|
total_paid?: string | null | undefined;
|
|
328
331
|
total_overpaid?: string | null | undefined;
|
|
@@ -342,17 +345,14 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
342
345
|
per_day_interest_value?: string | null | undefined;
|
|
343
346
|
per_day_interest_cents?: number | null | undefined;
|
|
344
347
|
interest?: string | null | undefined;
|
|
345
|
-
discount?: string | null | undefined;
|
|
346
348
|
duplicated_invoice_id?: string | null | undefined;
|
|
347
349
|
bank_slip_extra_due?: number | null | undefined;
|
|
348
350
|
created_at_iso?: string | null | undefined;
|
|
349
351
|
authorized_at?: string | null | undefined;
|
|
350
352
|
authorized_at_iso?: string | null | undefined;
|
|
351
|
-
expired_at?: string | null | undefined;
|
|
352
353
|
expired_at_iso?: string | null | undefined;
|
|
353
354
|
refunded_at?: string | null | undefined;
|
|
354
355
|
refunded_at_iso?: string | null | undefined;
|
|
355
|
-
canceled_at?: string | null | undefined;
|
|
356
356
|
canceled_at_iso?: string | null | undefined;
|
|
357
357
|
protested_at?: string | null | undefined;
|
|
358
358
|
protested_at_iso?: string | null | undefined;
|
|
@@ -368,20 +368,27 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
368
368
|
id: string;
|
|
369
369
|
description: string;
|
|
370
370
|
price: string;
|
|
371
|
-
|
|
371
|
+
quantity: number;
|
|
372
372
|
created_at: string;
|
|
373
|
+
updated_at: string;
|
|
373
374
|
price_cents: number;
|
|
374
|
-
quantity: number;
|
|
375
375
|
}[] | null | undefined;
|
|
376
376
|
early_payment_discounts?: unknown[] | null | undefined;
|
|
377
377
|
split_rules?: string | null | undefined;
|
|
378
378
|
}, {
|
|
379
379
|
id: string;
|
|
380
|
-
status?: "pending" | "
|
|
380
|
+
status?: "pending" | "canceled" | "paid" | "in_analysis" | "draft" | "partially_paid" | "refunded" | "expired" | "in_protest" | "chargeback" | "externally_paid" | "invited" | null | undefined;
|
|
381
381
|
email?: string | null | undefined;
|
|
382
|
+
discount?: string | null | undefined;
|
|
383
|
+
currency?: string | null | undefined;
|
|
384
|
+
total?: string | null | undefined;
|
|
385
|
+
created_at?: string | null | undefined;
|
|
386
|
+
updated_at?: string | null | undefined;
|
|
387
|
+
paid_at?: string | null | undefined;
|
|
388
|
+
canceled_at?: string | null | undefined;
|
|
389
|
+
expired_at?: string | null | undefined;
|
|
382
390
|
paid?: string | null | undefined;
|
|
383
391
|
due_date?: string | null | undefined;
|
|
384
|
-
currency?: string | null | undefined;
|
|
385
392
|
discount_cents?: string | null | undefined;
|
|
386
393
|
items_total_cents?: number | null | undefined;
|
|
387
394
|
notification_url?: string | null | undefined;
|
|
@@ -390,7 +397,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
390
397
|
total_cents?: number | null | undefined;
|
|
391
398
|
total_paid_cents?: number | null | undefined;
|
|
392
399
|
taxes_paid_cents?: string | null | undefined;
|
|
393
|
-
paid_at?: string | null | undefined;
|
|
394
400
|
paid_cents?: number | null | undefined;
|
|
395
401
|
cc_emails?: string | null | undefined;
|
|
396
402
|
financial_return_date?: string | null | undefined;
|
|
@@ -423,7 +429,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
423
429
|
commission_cents?: string | null | undefined;
|
|
424
430
|
early_payment_discount?: boolean | null | undefined;
|
|
425
431
|
order_id?: string | null | undefined;
|
|
426
|
-
updated_at?: string | null | undefined;
|
|
427
432
|
credit_card_brand?: string | null | undefined;
|
|
428
433
|
credit_card_bin?: string | null | undefined;
|
|
429
434
|
credit_card_last_4?: string | null | undefined;
|
|
@@ -456,12 +461,11 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
456
461
|
variable: string;
|
|
457
462
|
}[] | null | undefined;
|
|
458
463
|
custom_variables?: any[] | null | undefined;
|
|
459
|
-
created_at?: string | null | undefined;
|
|
460
464
|
logs?: {
|
|
461
465
|
id: string;
|
|
462
466
|
description: string;
|
|
463
|
-
notes: string;
|
|
464
467
|
created_at: string;
|
|
468
|
+
notes: string;
|
|
465
469
|
}[] | null | undefined;
|
|
466
470
|
credit_card_transaction?: string | null | undefined;
|
|
467
471
|
account_id?: string | null | undefined;
|
|
@@ -474,7 +478,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
474
478
|
customer_ref?: string | null | undefined;
|
|
475
479
|
customer_name?: string | null | undefined;
|
|
476
480
|
user_id?: string | null | undefined;
|
|
477
|
-
total?: string | null | undefined;
|
|
478
481
|
taxes_paid?: string | null | undefined;
|
|
479
482
|
total_paid?: string | null | undefined;
|
|
480
483
|
total_overpaid?: string | null | undefined;
|
|
@@ -494,17 +497,14 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
494
497
|
per_day_interest_value?: string | null | undefined;
|
|
495
498
|
per_day_interest_cents?: number | null | undefined;
|
|
496
499
|
interest?: string | null | undefined;
|
|
497
|
-
discount?: string | null | undefined;
|
|
498
500
|
duplicated_invoice_id?: string | null | undefined;
|
|
499
501
|
bank_slip_extra_due?: number | null | undefined;
|
|
500
502
|
created_at_iso?: string | null | undefined;
|
|
501
503
|
authorized_at?: string | null | undefined;
|
|
502
504
|
authorized_at_iso?: string | null | undefined;
|
|
503
|
-
expired_at?: string | null | undefined;
|
|
504
505
|
expired_at_iso?: string | null | undefined;
|
|
505
506
|
refunded_at?: string | null | undefined;
|
|
506
507
|
refunded_at_iso?: string | null | undefined;
|
|
507
|
-
canceled_at?: string | null | undefined;
|
|
508
508
|
canceled_at_iso?: string | null | undefined;
|
|
509
509
|
protested_at?: string | null | undefined;
|
|
510
510
|
protested_at_iso?: string | null | undefined;
|
|
@@ -520,10 +520,10 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
520
520
|
id: string;
|
|
521
521
|
description: string;
|
|
522
522
|
price: string;
|
|
523
|
-
|
|
523
|
+
quantity: number;
|
|
524
524
|
created_at: string;
|
|
525
|
+
updated_at: string;
|
|
525
526
|
price_cents: number;
|
|
526
|
-
quantity: number;
|
|
527
527
|
}[] | null | undefined;
|
|
528
528
|
early_payment_discounts?: unknown[] | null | undefined;
|
|
529
529
|
split_rules?: string | null | undefined;
|
|
@@ -74,13 +74,13 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
id: string;
|
|
76
76
|
description: string;
|
|
77
|
-
notes: string;
|
|
78
77
|
created_at: string;
|
|
78
|
+
notes: string;
|
|
79
79
|
}, {
|
|
80
80
|
id: string;
|
|
81
81
|
description: string;
|
|
82
|
-
notes: string;
|
|
83
82
|
created_at: string;
|
|
83
|
+
notes: string;
|
|
84
84
|
}>, "many">>>>;
|
|
85
85
|
credit_card_transaction: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
86
86
|
account_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -208,28 +208,35 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
208
208
|
id: string;
|
|
209
209
|
description: string;
|
|
210
210
|
price: string;
|
|
211
|
-
|
|
211
|
+
quantity: number;
|
|
212
212
|
created_at: string;
|
|
213
|
+
updated_at: string;
|
|
213
214
|
price_cents: number;
|
|
214
|
-
quantity: number;
|
|
215
215
|
}, {
|
|
216
216
|
id: string;
|
|
217
217
|
description: string;
|
|
218
218
|
price: string;
|
|
219
|
-
|
|
219
|
+
quantity: number;
|
|
220
220
|
created_at: string;
|
|
221
|
+
updated_at: string;
|
|
221
222
|
price_cents: number;
|
|
222
|
-
quantity: number;
|
|
223
223
|
}>, "many">>>>;
|
|
224
224
|
early_payment_discounts: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>>;
|
|
225
225
|
split_rules: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
227
|
id: string;
|
|
228
|
-
status?: "pending" | "
|
|
228
|
+
status?: "pending" | "canceled" | "paid" | "in_analysis" | "draft" | "partially_paid" | "refunded" | "expired" | "in_protest" | "chargeback" | "externally_paid" | "invited" | null | undefined;
|
|
229
229
|
email?: string | null | undefined;
|
|
230
|
+
discount?: string | null | undefined;
|
|
231
|
+
currency?: string | null | undefined;
|
|
232
|
+
total?: string | null | undefined;
|
|
233
|
+
created_at?: string | null | undefined;
|
|
234
|
+
updated_at?: string | null | undefined;
|
|
235
|
+
paid_at?: string | null | undefined;
|
|
236
|
+
canceled_at?: string | null | undefined;
|
|
237
|
+
expired_at?: string | null | undefined;
|
|
230
238
|
paid?: string | null | undefined;
|
|
231
239
|
due_date?: string | null | undefined;
|
|
232
|
-
currency?: string | null | undefined;
|
|
233
240
|
discount_cents?: string | null | undefined;
|
|
234
241
|
items_total_cents?: number | null | undefined;
|
|
235
242
|
notification_url?: string | null | undefined;
|
|
@@ -238,7 +245,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
238
245
|
total_cents?: number | null | undefined;
|
|
239
246
|
total_paid_cents?: number | null | undefined;
|
|
240
247
|
taxes_paid_cents?: string | null | undefined;
|
|
241
|
-
paid_at?: string | null | undefined;
|
|
242
248
|
paid_cents?: number | null | undefined;
|
|
243
249
|
cc_emails?: string | null | undefined;
|
|
244
250
|
financial_return_date?: string | null | undefined;
|
|
@@ -271,7 +277,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
271
277
|
commission_cents?: string | null | undefined;
|
|
272
278
|
early_payment_discount?: boolean | null | undefined;
|
|
273
279
|
order_id?: string | null | undefined;
|
|
274
|
-
updated_at?: string | null | undefined;
|
|
275
280
|
credit_card_brand?: string | null | undefined;
|
|
276
281
|
credit_card_bin?: string | null | undefined;
|
|
277
282
|
credit_card_last_4?: string | null | undefined;
|
|
@@ -304,12 +309,11 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
304
309
|
variable: string;
|
|
305
310
|
}[] | null | undefined;
|
|
306
311
|
custom_variables?: any[] | null | undefined;
|
|
307
|
-
created_at?: string | null | undefined;
|
|
308
312
|
logs?: {
|
|
309
313
|
id: string;
|
|
310
314
|
description: string;
|
|
311
|
-
notes: string;
|
|
312
315
|
created_at: string;
|
|
316
|
+
notes: string;
|
|
313
317
|
}[] | null | undefined;
|
|
314
318
|
credit_card_transaction?: string | null | undefined;
|
|
315
319
|
account_id?: string | null | undefined;
|
|
@@ -322,7 +326,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
322
326
|
customer_ref?: string | null | undefined;
|
|
323
327
|
customer_name?: string | null | undefined;
|
|
324
328
|
user_id?: string | null | undefined;
|
|
325
|
-
total?: string | null | undefined;
|
|
326
329
|
taxes_paid?: string | null | undefined;
|
|
327
330
|
total_paid?: string | null | undefined;
|
|
328
331
|
total_overpaid?: string | null | undefined;
|
|
@@ -342,17 +345,14 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
342
345
|
per_day_interest_value?: string | null | undefined;
|
|
343
346
|
per_day_interest_cents?: number | null | undefined;
|
|
344
347
|
interest?: string | null | undefined;
|
|
345
|
-
discount?: string | null | undefined;
|
|
346
348
|
duplicated_invoice_id?: string | null | undefined;
|
|
347
349
|
bank_slip_extra_due?: number | null | undefined;
|
|
348
350
|
created_at_iso?: string | null | undefined;
|
|
349
351
|
authorized_at?: string | null | undefined;
|
|
350
352
|
authorized_at_iso?: string | null | undefined;
|
|
351
|
-
expired_at?: string | null | undefined;
|
|
352
353
|
expired_at_iso?: string | null | undefined;
|
|
353
354
|
refunded_at?: string | null | undefined;
|
|
354
355
|
refunded_at_iso?: string | null | undefined;
|
|
355
|
-
canceled_at?: string | null | undefined;
|
|
356
356
|
canceled_at_iso?: string | null | undefined;
|
|
357
357
|
protested_at?: string | null | undefined;
|
|
358
358
|
protested_at_iso?: string | null | undefined;
|
|
@@ -368,20 +368,27 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
368
368
|
id: string;
|
|
369
369
|
description: string;
|
|
370
370
|
price: string;
|
|
371
|
-
|
|
371
|
+
quantity: number;
|
|
372
372
|
created_at: string;
|
|
373
|
+
updated_at: string;
|
|
373
374
|
price_cents: number;
|
|
374
|
-
quantity: number;
|
|
375
375
|
}[] | null | undefined;
|
|
376
376
|
early_payment_discounts?: unknown[] | null | undefined;
|
|
377
377
|
split_rules?: string | null | undefined;
|
|
378
378
|
}, {
|
|
379
379
|
id: string;
|
|
380
|
-
status?: "pending" | "
|
|
380
|
+
status?: "pending" | "canceled" | "paid" | "in_analysis" | "draft" | "partially_paid" | "refunded" | "expired" | "in_protest" | "chargeback" | "externally_paid" | "invited" | null | undefined;
|
|
381
381
|
email?: string | null | undefined;
|
|
382
|
+
discount?: string | null | undefined;
|
|
383
|
+
currency?: string | null | undefined;
|
|
384
|
+
total?: string | null | undefined;
|
|
385
|
+
created_at?: string | null | undefined;
|
|
386
|
+
updated_at?: string | null | undefined;
|
|
387
|
+
paid_at?: string | null | undefined;
|
|
388
|
+
canceled_at?: string | null | undefined;
|
|
389
|
+
expired_at?: string | null | undefined;
|
|
382
390
|
paid?: string | null | undefined;
|
|
383
391
|
due_date?: string | null | undefined;
|
|
384
|
-
currency?: string | null | undefined;
|
|
385
392
|
discount_cents?: string | null | undefined;
|
|
386
393
|
items_total_cents?: number | null | undefined;
|
|
387
394
|
notification_url?: string | null | undefined;
|
|
@@ -390,7 +397,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
390
397
|
total_cents?: number | null | undefined;
|
|
391
398
|
total_paid_cents?: number | null | undefined;
|
|
392
399
|
taxes_paid_cents?: string | null | undefined;
|
|
393
|
-
paid_at?: string | null | undefined;
|
|
394
400
|
paid_cents?: number | null | undefined;
|
|
395
401
|
cc_emails?: string | null | undefined;
|
|
396
402
|
financial_return_date?: string | null | undefined;
|
|
@@ -423,7 +429,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
423
429
|
commission_cents?: string | null | undefined;
|
|
424
430
|
early_payment_discount?: boolean | null | undefined;
|
|
425
431
|
order_id?: string | null | undefined;
|
|
426
|
-
updated_at?: string | null | undefined;
|
|
427
432
|
credit_card_brand?: string | null | undefined;
|
|
428
433
|
credit_card_bin?: string | null | undefined;
|
|
429
434
|
credit_card_last_4?: string | null | undefined;
|
|
@@ -456,12 +461,11 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
456
461
|
variable: string;
|
|
457
462
|
}[] | null | undefined;
|
|
458
463
|
custom_variables?: any[] | null | undefined;
|
|
459
|
-
created_at?: string | null | undefined;
|
|
460
464
|
logs?: {
|
|
461
465
|
id: string;
|
|
462
466
|
description: string;
|
|
463
|
-
notes: string;
|
|
464
467
|
created_at: string;
|
|
468
|
+
notes: string;
|
|
465
469
|
}[] | null | undefined;
|
|
466
470
|
credit_card_transaction?: string | null | undefined;
|
|
467
471
|
account_id?: string | null | undefined;
|
|
@@ -474,7 +478,6 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
474
478
|
customer_ref?: string | null | undefined;
|
|
475
479
|
customer_name?: string | null | undefined;
|
|
476
480
|
user_id?: string | null | undefined;
|
|
477
|
-
total?: string | null | undefined;
|
|
478
481
|
taxes_paid?: string | null | undefined;
|
|
479
482
|
total_paid?: string | null | undefined;
|
|
480
483
|
total_overpaid?: string | null | undefined;
|
|
@@ -494,17 +497,14 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
494
497
|
per_day_interest_value?: string | null | undefined;
|
|
495
498
|
per_day_interest_cents?: number | null | undefined;
|
|
496
499
|
interest?: string | null | undefined;
|
|
497
|
-
discount?: string | null | undefined;
|
|
498
500
|
duplicated_invoice_id?: string | null | undefined;
|
|
499
501
|
bank_slip_extra_due?: number | null | undefined;
|
|
500
502
|
created_at_iso?: string | null | undefined;
|
|
501
503
|
authorized_at?: string | null | undefined;
|
|
502
504
|
authorized_at_iso?: string | null | undefined;
|
|
503
|
-
expired_at?: string | null | undefined;
|
|
504
505
|
expired_at_iso?: string | null | undefined;
|
|
505
506
|
refunded_at?: string | null | undefined;
|
|
506
507
|
refunded_at_iso?: string | null | undefined;
|
|
507
|
-
canceled_at?: string | null | undefined;
|
|
508
508
|
canceled_at_iso?: string | null | undefined;
|
|
509
509
|
protested_at?: string | null | undefined;
|
|
510
510
|
protested_at_iso?: string | null | undefined;
|
|
@@ -520,10 +520,10 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
520
520
|
id: string;
|
|
521
521
|
description: string;
|
|
522
522
|
price: string;
|
|
523
|
-
|
|
523
|
+
quantity: number;
|
|
524
524
|
created_at: string;
|
|
525
|
+
updated_at: string;
|
|
525
526
|
price_cents: number;
|
|
526
|
-
quantity: number;
|
|
527
527
|
}[] | null | undefined;
|
|
528
528
|
early_payment_discounts?: unknown[] | null | undefined;
|
|
529
529
|
split_rules?: string | null | undefined;
|