@_henriquewilson/gabirubi-domain 1.3.87 → 1.3.88
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 +36 -36
- package/dist/model/iugu/iugu-invoice.d.ts +36 -36
- package/dist/model/journey.d.mts +43 -43
- package/dist/model/journey.d.ts +43 -43
- package/dist/model/store/raw.d.mts +4 -4
- package/dist/model/store/raw.d.ts +4 -4
- package/dist/model/store/raw.js +1 -1
- package/dist/model/store/raw.js.map +1 -1
- package/dist/model/store/raw.mjs +1 -1
- package/dist/model/store/raw.mjs.map +1 -1
- package/dist/model/subscription.model.d.mts +212 -212
- package/dist/model/subscription.model.d.ts +212 -212
- package/dist/model/user.model.d.mts +2 -2
- package/dist/model/user.model.d.ts +2 -2
- 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
|
-
created_at: string;
|
|
78
77
|
notes: string;
|
|
78
|
+
created_at: string;
|
|
79
79
|
}, {
|
|
80
80
|
id: string;
|
|
81
81
|
description: string;
|
|
82
|
-
created_at: string;
|
|
83
82
|
notes: string;
|
|
83
|
+
created_at: 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,35 +208,28 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
208
208
|
id?: string | null | undefined;
|
|
209
209
|
description?: string | null | undefined;
|
|
210
210
|
price?: string | null | undefined;
|
|
211
|
-
quantity?: number | null | undefined;
|
|
212
|
-
created_at?: string | null | undefined;
|
|
213
211
|
updated_at?: string | null | undefined;
|
|
212
|
+
created_at?: string | null | undefined;
|
|
214
213
|
price_cents?: number | null | undefined;
|
|
214
|
+
quantity?: number | null | undefined;
|
|
215
215
|
}, {
|
|
216
216
|
id?: string | null | undefined;
|
|
217
217
|
description?: string | null | undefined;
|
|
218
218
|
price?: string | null | undefined;
|
|
219
|
-
quantity?: number | null | undefined;
|
|
220
|
-
created_at?: string | null | undefined;
|
|
221
219
|
updated_at?: string | null | undefined;
|
|
220
|
+
created_at?: string | null | undefined;
|
|
222
221
|
price_cents?: number | null | undefined;
|
|
222
|
+
quantity?: number | null | undefined;
|
|
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" | "paid" | "canceled" | "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;
|
|
238
230
|
paid?: string | null | undefined;
|
|
239
231
|
due_date?: string | null | undefined;
|
|
232
|
+
currency?: string | null | undefined;
|
|
240
233
|
discount_cents?: string | null | undefined;
|
|
241
234
|
items_total_cents?: number | null | undefined;
|
|
242
235
|
notification_url?: string | null | undefined;
|
|
@@ -245,6 +238,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
245
238
|
total_cents?: number | null | undefined;
|
|
246
239
|
total_paid_cents?: number | null | undefined;
|
|
247
240
|
taxes_paid_cents?: string | null | undefined;
|
|
241
|
+
paid_at?: string | null | undefined;
|
|
248
242
|
paid_cents?: number | null | undefined;
|
|
249
243
|
cc_emails?: string | null | undefined;
|
|
250
244
|
financial_return_date?: string | null | undefined;
|
|
@@ -277,6 +271,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
277
271
|
commission_cents?: string | null | undefined;
|
|
278
272
|
early_payment_discount?: boolean | null | undefined;
|
|
279
273
|
order_id?: string | null | undefined;
|
|
274
|
+
updated_at?: string | null | undefined;
|
|
280
275
|
credit_card_brand?: string | null | undefined;
|
|
281
276
|
credit_card_bin?: string | null | undefined;
|
|
282
277
|
credit_card_last_4?: string | null | undefined;
|
|
@@ -309,11 +304,12 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
309
304
|
variable: string;
|
|
310
305
|
}[] | null | undefined;
|
|
311
306
|
custom_variables?: any[] | null | undefined;
|
|
307
|
+
created_at?: string | null | undefined;
|
|
312
308
|
logs?: {
|
|
313
309
|
id: string;
|
|
314
310
|
description: string;
|
|
315
|
-
created_at: string;
|
|
316
311
|
notes: string;
|
|
312
|
+
created_at: string;
|
|
317
313
|
}[] | null | undefined;
|
|
318
314
|
credit_card_transaction?: string | null | undefined;
|
|
319
315
|
account_id?: string | null | undefined;
|
|
@@ -326,6 +322,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
326
322
|
customer_ref?: string | null | undefined;
|
|
327
323
|
customer_name?: string | null | undefined;
|
|
328
324
|
user_id?: string | null | undefined;
|
|
325
|
+
total?: string | null | undefined;
|
|
329
326
|
taxes_paid?: string | null | undefined;
|
|
330
327
|
total_paid?: string | null | undefined;
|
|
331
328
|
total_overpaid?: string | null | undefined;
|
|
@@ -345,14 +342,17 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
345
342
|
per_day_interest_value?: string | null | undefined;
|
|
346
343
|
per_day_interest_cents?: number | null | undefined;
|
|
347
344
|
interest?: string | null | undefined;
|
|
345
|
+
discount?: string | null | undefined;
|
|
348
346
|
duplicated_invoice_id?: string | null | undefined;
|
|
349
347
|
bank_slip_extra_due?: number | null | undefined;
|
|
350
348
|
created_at_iso?: string | null | undefined;
|
|
351
349
|
authorized_at?: string | null | undefined;
|
|
352
350
|
authorized_at_iso?: string | null | undefined;
|
|
351
|
+
expired_at?: string | null | undefined;
|
|
353
352
|
expired_at_iso?: string | null | undefined;
|
|
354
353
|
refunded_at?: string | null | undefined;
|
|
355
354
|
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,27 +368,20 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
368
368
|
id?: string | null | undefined;
|
|
369
369
|
description?: string | null | undefined;
|
|
370
370
|
price?: string | null | undefined;
|
|
371
|
-
quantity?: number | null | undefined;
|
|
372
|
-
created_at?: string | null | undefined;
|
|
373
371
|
updated_at?: string | null | undefined;
|
|
372
|
+
created_at?: string | null | undefined;
|
|
374
373
|
price_cents?: number | null | undefined;
|
|
374
|
+
quantity?: number | null | undefined;
|
|
375
375
|
} | null | undefined)[] | 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" | "paid" | "canceled" | "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;
|
|
390
382
|
paid?: string | null | undefined;
|
|
391
383
|
due_date?: string | null | undefined;
|
|
384
|
+
currency?: string | null | undefined;
|
|
392
385
|
discount_cents?: string | null | undefined;
|
|
393
386
|
items_total_cents?: number | null | undefined;
|
|
394
387
|
notification_url?: string | null | undefined;
|
|
@@ -397,6 +390,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
397
390
|
total_cents?: number | null | undefined;
|
|
398
391
|
total_paid_cents?: number | null | undefined;
|
|
399
392
|
taxes_paid_cents?: string | null | undefined;
|
|
393
|
+
paid_at?: string | null | undefined;
|
|
400
394
|
paid_cents?: number | null | undefined;
|
|
401
395
|
cc_emails?: string | null | undefined;
|
|
402
396
|
financial_return_date?: string | null | undefined;
|
|
@@ -429,6 +423,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
429
423
|
commission_cents?: string | null | undefined;
|
|
430
424
|
early_payment_discount?: boolean | null | undefined;
|
|
431
425
|
order_id?: string | null | undefined;
|
|
426
|
+
updated_at?: string | null | undefined;
|
|
432
427
|
credit_card_brand?: string | null | undefined;
|
|
433
428
|
credit_card_bin?: string | null | undefined;
|
|
434
429
|
credit_card_last_4?: string | null | undefined;
|
|
@@ -461,11 +456,12 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
461
456
|
variable: string;
|
|
462
457
|
}[] | null | undefined;
|
|
463
458
|
custom_variables?: any[] | null | undefined;
|
|
459
|
+
created_at?: string | null | undefined;
|
|
464
460
|
logs?: {
|
|
465
461
|
id: string;
|
|
466
462
|
description: string;
|
|
467
|
-
created_at: string;
|
|
468
463
|
notes: string;
|
|
464
|
+
created_at: string;
|
|
469
465
|
}[] | null | undefined;
|
|
470
466
|
credit_card_transaction?: string | null | undefined;
|
|
471
467
|
account_id?: string | null | undefined;
|
|
@@ -478,6 +474,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
478
474
|
customer_ref?: string | null | undefined;
|
|
479
475
|
customer_name?: string | null | undefined;
|
|
480
476
|
user_id?: string | null | undefined;
|
|
477
|
+
total?: string | null | undefined;
|
|
481
478
|
taxes_paid?: string | null | undefined;
|
|
482
479
|
total_paid?: string | null | undefined;
|
|
483
480
|
total_overpaid?: string | null | undefined;
|
|
@@ -497,14 +494,17 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
497
494
|
per_day_interest_value?: string | null | undefined;
|
|
498
495
|
per_day_interest_cents?: number | null | undefined;
|
|
499
496
|
interest?: string | null | undefined;
|
|
497
|
+
discount?: string | null | undefined;
|
|
500
498
|
duplicated_invoice_id?: string | null | undefined;
|
|
501
499
|
bank_slip_extra_due?: number | null | undefined;
|
|
502
500
|
created_at_iso?: string | null | undefined;
|
|
503
501
|
authorized_at?: string | null | undefined;
|
|
504
502
|
authorized_at_iso?: string | null | undefined;
|
|
503
|
+
expired_at?: string | null | undefined;
|
|
505
504
|
expired_at_iso?: string | null | undefined;
|
|
506
505
|
refunded_at?: string | null | undefined;
|
|
507
506
|
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 | null | undefined;
|
|
521
521
|
description?: string | null | undefined;
|
|
522
522
|
price?: string | null | undefined;
|
|
523
|
-
quantity?: number | null | undefined;
|
|
524
|
-
created_at?: string | null | undefined;
|
|
525
523
|
updated_at?: string | null | undefined;
|
|
524
|
+
created_at?: string | null | undefined;
|
|
526
525
|
price_cents?: number | null | undefined;
|
|
526
|
+
quantity?: number | null | undefined;
|
|
527
527
|
} | null | undefined)[] | null | undefined;
|
|
528
528
|
early_payment_discounts?: unknown[] | null | undefined;
|
|
529
529
|
split_rules?: string | null | undefined;
|
|
@@ -536,15 +536,15 @@ declare const IuguInvoiceVariablesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
536
536
|
plan: z.ZodString;
|
|
537
537
|
plan_id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
538
538
|
}, "strip", z.ZodTypeAny, {
|
|
539
|
-
product: string;
|
|
540
539
|
product_id: string | number;
|
|
540
|
+
product: string;
|
|
541
541
|
recurrency: number;
|
|
542
542
|
plan: string;
|
|
543
543
|
plan_id: string | number;
|
|
544
544
|
coupon?: string | undefined;
|
|
545
545
|
}, {
|
|
546
|
-
product: string;
|
|
547
546
|
product_id: string | number;
|
|
547
|
+
product: string;
|
|
548
548
|
recurrency: number;
|
|
549
549
|
plan: string;
|
|
550
550
|
plan_id: string | number;
|
|
@@ -557,8 +557,8 @@ declare const IuguInvoiceVariablesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
557
557
|
plan: string;
|
|
558
558
|
planId: string | number;
|
|
559
559
|
}, {
|
|
560
|
-
product: string;
|
|
561
560
|
product_id: string | number;
|
|
561
|
+
product: string;
|
|
562
562
|
recurrency: number;
|
|
563
563
|
plan: string;
|
|
564
564
|
plan_id: string | number;
|
|
@@ -572,15 +572,15 @@ declare const PureIuguInvoiceVariablesSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
572
572
|
plan: z.ZodString;
|
|
573
573
|
plan_id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
|
575
|
-
product: string;
|
|
576
575
|
product_id: string | number;
|
|
576
|
+
product: string;
|
|
577
577
|
recurrency: number;
|
|
578
578
|
plan: string;
|
|
579
579
|
plan_id: string | number;
|
|
580
580
|
coupon?: string | undefined;
|
|
581
581
|
}, {
|
|
582
|
-
product: string;
|
|
583
582
|
product_id: string | number;
|
|
583
|
+
product: string;
|
|
584
584
|
recurrency: number;
|
|
585
585
|
plan: string;
|
|
586
586
|
plan_id: string | number;
|
|
@@ -593,8 +593,8 @@ declare const PureIuguInvoiceVariablesSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
593
593
|
plan: string;
|
|
594
594
|
planId: string | number;
|
|
595
595
|
}, {
|
|
596
|
-
product: string;
|
|
597
596
|
product_id: string | number;
|
|
597
|
+
product: string;
|
|
598
598
|
recurrency: number;
|
|
599
599
|
plan: string;
|
|
600
600
|
plan_id: string | number;
|
|
@@ -74,13 +74,13 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
id: string;
|
|
76
76
|
description: string;
|
|
77
|
-
created_at: string;
|
|
78
77
|
notes: string;
|
|
78
|
+
created_at: string;
|
|
79
79
|
}, {
|
|
80
80
|
id: string;
|
|
81
81
|
description: string;
|
|
82
|
-
created_at: string;
|
|
83
82
|
notes: string;
|
|
83
|
+
created_at: 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,35 +208,28 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
208
208
|
id?: string | null | undefined;
|
|
209
209
|
description?: string | null | undefined;
|
|
210
210
|
price?: string | null | undefined;
|
|
211
|
-
quantity?: number | null | undefined;
|
|
212
|
-
created_at?: string | null | undefined;
|
|
213
211
|
updated_at?: string | null | undefined;
|
|
212
|
+
created_at?: string | null | undefined;
|
|
214
213
|
price_cents?: number | null | undefined;
|
|
214
|
+
quantity?: number | null | undefined;
|
|
215
215
|
}, {
|
|
216
216
|
id?: string | null | undefined;
|
|
217
217
|
description?: string | null | undefined;
|
|
218
218
|
price?: string | null | undefined;
|
|
219
|
-
quantity?: number | null | undefined;
|
|
220
|
-
created_at?: string | null | undefined;
|
|
221
219
|
updated_at?: string | null | undefined;
|
|
220
|
+
created_at?: string | null | undefined;
|
|
222
221
|
price_cents?: number | null | undefined;
|
|
222
|
+
quantity?: number | null | undefined;
|
|
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" | "paid" | "canceled" | "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;
|
|
238
230
|
paid?: string | null | undefined;
|
|
239
231
|
due_date?: string | null | undefined;
|
|
232
|
+
currency?: string | null | undefined;
|
|
240
233
|
discount_cents?: string | null | undefined;
|
|
241
234
|
items_total_cents?: number | null | undefined;
|
|
242
235
|
notification_url?: string | null | undefined;
|
|
@@ -245,6 +238,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
245
238
|
total_cents?: number | null | undefined;
|
|
246
239
|
total_paid_cents?: number | null | undefined;
|
|
247
240
|
taxes_paid_cents?: string | null | undefined;
|
|
241
|
+
paid_at?: string | null | undefined;
|
|
248
242
|
paid_cents?: number | null | undefined;
|
|
249
243
|
cc_emails?: string | null | undefined;
|
|
250
244
|
financial_return_date?: string | null | undefined;
|
|
@@ -277,6 +271,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
277
271
|
commission_cents?: string | null | undefined;
|
|
278
272
|
early_payment_discount?: boolean | null | undefined;
|
|
279
273
|
order_id?: string | null | undefined;
|
|
274
|
+
updated_at?: string | null | undefined;
|
|
280
275
|
credit_card_brand?: string | null | undefined;
|
|
281
276
|
credit_card_bin?: string | null | undefined;
|
|
282
277
|
credit_card_last_4?: string | null | undefined;
|
|
@@ -309,11 +304,12 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
309
304
|
variable: string;
|
|
310
305
|
}[] | null | undefined;
|
|
311
306
|
custom_variables?: any[] | null | undefined;
|
|
307
|
+
created_at?: string | null | undefined;
|
|
312
308
|
logs?: {
|
|
313
309
|
id: string;
|
|
314
310
|
description: string;
|
|
315
|
-
created_at: string;
|
|
316
311
|
notes: string;
|
|
312
|
+
created_at: string;
|
|
317
313
|
}[] | null | undefined;
|
|
318
314
|
credit_card_transaction?: string | null | undefined;
|
|
319
315
|
account_id?: string | null | undefined;
|
|
@@ -326,6 +322,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
326
322
|
customer_ref?: string | null | undefined;
|
|
327
323
|
customer_name?: string | null | undefined;
|
|
328
324
|
user_id?: string | null | undefined;
|
|
325
|
+
total?: string | null | undefined;
|
|
329
326
|
taxes_paid?: string | null | undefined;
|
|
330
327
|
total_paid?: string | null | undefined;
|
|
331
328
|
total_overpaid?: string | null | undefined;
|
|
@@ -345,14 +342,17 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
345
342
|
per_day_interest_value?: string | null | undefined;
|
|
346
343
|
per_day_interest_cents?: number | null | undefined;
|
|
347
344
|
interest?: string | null | undefined;
|
|
345
|
+
discount?: string | null | undefined;
|
|
348
346
|
duplicated_invoice_id?: string | null | undefined;
|
|
349
347
|
bank_slip_extra_due?: number | null | undefined;
|
|
350
348
|
created_at_iso?: string | null | undefined;
|
|
351
349
|
authorized_at?: string | null | undefined;
|
|
352
350
|
authorized_at_iso?: string | null | undefined;
|
|
351
|
+
expired_at?: string | null | undefined;
|
|
353
352
|
expired_at_iso?: string | null | undefined;
|
|
354
353
|
refunded_at?: string | null | undefined;
|
|
355
354
|
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,27 +368,20 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
368
368
|
id?: string | null | undefined;
|
|
369
369
|
description?: string | null | undefined;
|
|
370
370
|
price?: string | null | undefined;
|
|
371
|
-
quantity?: number | null | undefined;
|
|
372
|
-
created_at?: string | null | undefined;
|
|
373
371
|
updated_at?: string | null | undefined;
|
|
372
|
+
created_at?: string | null | undefined;
|
|
374
373
|
price_cents?: number | null | undefined;
|
|
374
|
+
quantity?: number | null | undefined;
|
|
375
375
|
} | null | undefined)[] | 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" | "paid" | "canceled" | "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;
|
|
390
382
|
paid?: string | null | undefined;
|
|
391
383
|
due_date?: string | null | undefined;
|
|
384
|
+
currency?: string | null | undefined;
|
|
392
385
|
discount_cents?: string | null | undefined;
|
|
393
386
|
items_total_cents?: number | null | undefined;
|
|
394
387
|
notification_url?: string | null | undefined;
|
|
@@ -397,6 +390,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
397
390
|
total_cents?: number | null | undefined;
|
|
398
391
|
total_paid_cents?: number | null | undefined;
|
|
399
392
|
taxes_paid_cents?: string | null | undefined;
|
|
393
|
+
paid_at?: string | null | undefined;
|
|
400
394
|
paid_cents?: number | null | undefined;
|
|
401
395
|
cc_emails?: string | null | undefined;
|
|
402
396
|
financial_return_date?: string | null | undefined;
|
|
@@ -429,6 +423,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
429
423
|
commission_cents?: string | null | undefined;
|
|
430
424
|
early_payment_discount?: boolean | null | undefined;
|
|
431
425
|
order_id?: string | null | undefined;
|
|
426
|
+
updated_at?: string | null | undefined;
|
|
432
427
|
credit_card_brand?: string | null | undefined;
|
|
433
428
|
credit_card_bin?: string | null | undefined;
|
|
434
429
|
credit_card_last_4?: string | null | undefined;
|
|
@@ -461,11 +456,12 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
461
456
|
variable: string;
|
|
462
457
|
}[] | null | undefined;
|
|
463
458
|
custom_variables?: any[] | null | undefined;
|
|
459
|
+
created_at?: string | null | undefined;
|
|
464
460
|
logs?: {
|
|
465
461
|
id: string;
|
|
466
462
|
description: string;
|
|
467
|
-
created_at: string;
|
|
468
463
|
notes: string;
|
|
464
|
+
created_at: string;
|
|
469
465
|
}[] | null | undefined;
|
|
470
466
|
credit_card_transaction?: string | null | undefined;
|
|
471
467
|
account_id?: string | null | undefined;
|
|
@@ -478,6 +474,7 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
478
474
|
customer_ref?: string | null | undefined;
|
|
479
475
|
customer_name?: string | null | undefined;
|
|
480
476
|
user_id?: string | null | undefined;
|
|
477
|
+
total?: string | null | undefined;
|
|
481
478
|
taxes_paid?: string | null | undefined;
|
|
482
479
|
total_paid?: string | null | undefined;
|
|
483
480
|
total_overpaid?: string | null | undefined;
|
|
@@ -497,14 +494,17 @@ declare const IuguInvoiceSchema: z.ZodObject<{
|
|
|
497
494
|
per_day_interest_value?: string | null | undefined;
|
|
498
495
|
per_day_interest_cents?: number | null | undefined;
|
|
499
496
|
interest?: string | null | undefined;
|
|
497
|
+
discount?: string | null | undefined;
|
|
500
498
|
duplicated_invoice_id?: string | null | undefined;
|
|
501
499
|
bank_slip_extra_due?: number | null | undefined;
|
|
502
500
|
created_at_iso?: string | null | undefined;
|
|
503
501
|
authorized_at?: string | null | undefined;
|
|
504
502
|
authorized_at_iso?: string | null | undefined;
|
|
503
|
+
expired_at?: string | null | undefined;
|
|
505
504
|
expired_at_iso?: string | null | undefined;
|
|
506
505
|
refunded_at?: string | null | undefined;
|
|
507
506
|
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 | null | undefined;
|
|
521
521
|
description?: string | null | undefined;
|
|
522
522
|
price?: string | null | undefined;
|
|
523
|
-
quantity?: number | null | undefined;
|
|
524
|
-
created_at?: string | null | undefined;
|
|
525
523
|
updated_at?: string | null | undefined;
|
|
524
|
+
created_at?: string | null | undefined;
|
|
526
525
|
price_cents?: number | null | undefined;
|
|
526
|
+
quantity?: number | null | undefined;
|
|
527
527
|
} | null | undefined)[] | null | undefined;
|
|
528
528
|
early_payment_discounts?: unknown[] | null | undefined;
|
|
529
529
|
split_rules?: string | null | undefined;
|
|
@@ -536,15 +536,15 @@ declare const IuguInvoiceVariablesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
536
536
|
plan: z.ZodString;
|
|
537
537
|
plan_id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
538
538
|
}, "strip", z.ZodTypeAny, {
|
|
539
|
-
product: string;
|
|
540
539
|
product_id: string | number;
|
|
540
|
+
product: string;
|
|
541
541
|
recurrency: number;
|
|
542
542
|
plan: string;
|
|
543
543
|
plan_id: string | number;
|
|
544
544
|
coupon?: string | undefined;
|
|
545
545
|
}, {
|
|
546
|
-
product: string;
|
|
547
546
|
product_id: string | number;
|
|
547
|
+
product: string;
|
|
548
548
|
recurrency: number;
|
|
549
549
|
plan: string;
|
|
550
550
|
plan_id: string | number;
|
|
@@ -557,8 +557,8 @@ declare const IuguInvoiceVariablesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
557
557
|
plan: string;
|
|
558
558
|
planId: string | number;
|
|
559
559
|
}, {
|
|
560
|
-
product: string;
|
|
561
560
|
product_id: string | number;
|
|
561
|
+
product: string;
|
|
562
562
|
recurrency: number;
|
|
563
563
|
plan: string;
|
|
564
564
|
plan_id: string | number;
|
|
@@ -572,15 +572,15 @@ declare const PureIuguInvoiceVariablesSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
572
572
|
plan: z.ZodString;
|
|
573
573
|
plan_id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
|
575
|
-
product: string;
|
|
576
575
|
product_id: string | number;
|
|
576
|
+
product: string;
|
|
577
577
|
recurrency: number;
|
|
578
578
|
plan: string;
|
|
579
579
|
plan_id: string | number;
|
|
580
580
|
coupon?: string | undefined;
|
|
581
581
|
}, {
|
|
582
|
-
product: string;
|
|
583
582
|
product_id: string | number;
|
|
583
|
+
product: string;
|
|
584
584
|
recurrency: number;
|
|
585
585
|
plan: string;
|
|
586
586
|
plan_id: string | number;
|
|
@@ -593,8 +593,8 @@ declare const PureIuguInvoiceVariablesSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
593
593
|
plan: string;
|
|
594
594
|
planId: string | number;
|
|
595
595
|
}, {
|
|
596
|
-
product: string;
|
|
597
596
|
product_id: string | number;
|
|
597
|
+
product: string;
|
|
598
598
|
recurrency: number;
|
|
599
599
|
plan: string;
|
|
600
600
|
plan_id: string | number;
|