@flowio/types 11.19.28 → 11.19.29
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/api-internal.d.ts +16 -4
- package/package.json +2 -2
- package/src/api-internal.ts +19 -4
package/dist/api-internal.d.ts
CHANGED
|
@@ -9353,7 +9353,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9353
9353
|
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
9354
9354
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
9355
9355
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
9356
|
-
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
|
|
9356
|
+
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute';
|
|
9357
9357
|
type BlazeCheckoutEvent = 'begin_checkout' | 'select_promotion' | 'add_shipping_info' | 'add_payment_info' | 'purchase';
|
|
9358
9358
|
type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
|
|
9359
9359
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
@@ -10266,6 +10266,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10266
10266
|
readonly virtual_card_capture: io.flow.common.v0.models.Price;
|
|
10267
10267
|
readonly virtual_card_refund: io.flow.common.v0.models.Price;
|
|
10268
10268
|
readonly tax_remittance: io.flow.common.v0.models.Price;
|
|
10269
|
+
readonly dispute: io.flow.common.v0.models.Price;
|
|
10269
10270
|
readonly ending_balance: io.flow.common.v0.models.Price;
|
|
10270
10271
|
}
|
|
10271
10272
|
interface BillingStatementUpserted {
|
|
@@ -10356,17 +10357,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10356
10357
|
readonly discriminator: 'checkout_event';
|
|
10357
10358
|
readonly event_type: io.flow.internal.v0.enums.BlazeCheckoutEvent;
|
|
10358
10359
|
readonly affiliation: string;
|
|
10359
|
-
readonly
|
|
10360
|
+
readonly revenue: number;
|
|
10360
10361
|
readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
|
|
10361
10362
|
readonly country: string;
|
|
10362
10363
|
readonly language: string;
|
|
10363
10364
|
readonly geo_currency: string;
|
|
10364
10365
|
readonly currency: string;
|
|
10366
|
+
readonly order_number?: string;
|
|
10365
10367
|
readonly promotions?: string[];
|
|
10366
10368
|
readonly duty?: number;
|
|
10367
10369
|
readonly tax?: number;
|
|
10368
10370
|
readonly shipping?: number;
|
|
10369
|
-
readonly revenue?: number;
|
|
10370
10371
|
}
|
|
10371
10372
|
interface BlazeCheckoutItem {
|
|
10372
10373
|
readonly attributes: Record<string, string>;
|
|
@@ -12849,6 +12850,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12849
12850
|
readonly url: string;
|
|
12850
12851
|
readonly type: io.flow.internal.v0.enums.DisputeImportType;
|
|
12851
12852
|
}
|
|
12853
|
+
interface DisputeTransaction {
|
|
12854
|
+
readonly discriminator: 'dispute_transaction';
|
|
12855
|
+
readonly id: string;
|
|
12856
|
+
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
12857
|
+
readonly posted_at: string;
|
|
12858
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
12859
|
+
readonly description: string;
|
|
12860
|
+
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
12861
|
+
readonly created_at: string;
|
|
12862
|
+
}
|
|
12852
12863
|
interface DisputeUpserted {
|
|
12853
12864
|
readonly discriminator: 'dispute_upserted';
|
|
12854
12865
|
readonly event_id: string;
|
|
@@ -17996,7 +18007,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17996
18007
|
type TaskData = io.flow.internal.v0.models.TaskProcessQueuedEvent | io.flow.internal.v0.models.TaskSummarizeCode | io.flow.internal.v0.models.TaskItemUpserted | io.flow.internal.v0.models.TaskImport;
|
|
17997
18008
|
type TaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount | io.flow.internal.v0.models.NoCalculatedTaxAmount;
|
|
17998
18009
|
type Tracker = io.flow.internal.v0.models.GoogleAnalytics | io.flow.internal.v0.models.GoogleGlobalSiteTag | io.flow.internal.v0.models.GoogleTagManager | io.flow.internal.v0.models.FacebookPixel | io.flow.internal.v0.models.SnapchatPixel;
|
|
17999
|
-
type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction;
|
|
18010
|
+
type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction | io.flow.internal.v0.models.DisputeTransaction;
|
|
18000
18011
|
type TransactionSummary = io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary;
|
|
18001
18012
|
type ValidationRule = io.flow.internal.v0.models.ValidationCharacterLength;
|
|
18002
18013
|
type Variant = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.FeatureVariant;
|
|
@@ -18817,6 +18828,7 @@ export declare type DisputeImportType = io.flow.internal.v0.enums.DisputeImportT
|
|
|
18817
18828
|
export declare type DisputeLiability = io.flow.internal.v0.enums.DisputeLiability;
|
|
18818
18829
|
export declare type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor;
|
|
18819
18830
|
export declare type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus;
|
|
18831
|
+
export declare type DisputeTransaction = io.flow.internal.v0.models.DisputeTransaction;
|
|
18820
18832
|
export declare type DisputeType = io.flow.internal.v0.enums.DisputeType;
|
|
18821
18833
|
export declare type DisputeUpserted = io.flow.internal.v0.models.DisputeUpserted;
|
|
18822
18834
|
export declare type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.29",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "bf3cd7e973e0ccc002e926e1c13aedbdb792dc9b"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -12210,7 +12210,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12210
12210
|
| 'virtual_card_refund'
|
|
12211
12211
|
| 'tax_remittance'
|
|
12212
12212
|
| 'fully_subsidized_order'
|
|
12213
|
-
| 'credit_payment'
|
|
12213
|
+
| 'credit_payment'
|
|
12214
|
+
| 'dispute';
|
|
12214
12215
|
type BlazeCheckoutEvent =
|
|
12215
12216
|
| 'begin_checkout'
|
|
12216
12217
|
| 'select_promotion'
|
|
@@ -13839,6 +13840,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13839
13840
|
readonly virtual_card_capture: io.flow.common.v0.models.Price;
|
|
13840
13841
|
readonly virtual_card_refund: io.flow.common.v0.models.Price;
|
|
13841
13842
|
readonly tax_remittance: io.flow.common.v0.models.Price;
|
|
13843
|
+
readonly dispute: io.flow.common.v0.models.Price;
|
|
13842
13844
|
readonly ending_balance: io.flow.common.v0.models.Price;
|
|
13843
13845
|
}
|
|
13844
13846
|
|
|
@@ -13943,17 +13945,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13943
13945
|
readonly discriminator: 'checkout_event';
|
|
13944
13946
|
readonly event_type: io.flow.internal.v0.enums.BlazeCheckoutEvent;
|
|
13945
13947
|
readonly affiliation: string;
|
|
13946
|
-
readonly
|
|
13948
|
+
readonly revenue: number;
|
|
13947
13949
|
readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
|
|
13948
13950
|
readonly country: string;
|
|
13949
13951
|
readonly language: string;
|
|
13950
13952
|
readonly geo_currency: string;
|
|
13951
13953
|
readonly currency: string;
|
|
13954
|
+
readonly order_number?: string;
|
|
13952
13955
|
readonly promotions?: string[];
|
|
13953
13956
|
readonly duty?: number;
|
|
13954
13957
|
readonly tax?: number;
|
|
13955
13958
|
readonly shipping?: number;
|
|
13956
|
-
readonly revenue?: number;
|
|
13957
13959
|
}
|
|
13958
13960
|
|
|
13959
13961
|
interface BlazeCheckoutItem {
|
|
@@ -16957,6 +16959,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16957
16959
|
readonly type: io.flow.internal.v0.enums.DisputeImportType;
|
|
16958
16960
|
}
|
|
16959
16961
|
|
|
16962
|
+
interface DisputeTransaction {
|
|
16963
|
+
readonly discriminator: 'dispute_transaction';
|
|
16964
|
+
readonly id: string;
|
|
16965
|
+
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
16966
|
+
readonly posted_at: string;
|
|
16967
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
16968
|
+
readonly description: string;
|
|
16969
|
+
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
16970
|
+
readonly created_at: string;
|
|
16971
|
+
}
|
|
16972
|
+
|
|
16960
16973
|
interface DisputeUpserted {
|
|
16961
16974
|
readonly discriminator: 'dispute_upserted';
|
|
16962
16975
|
readonly event_id: string;
|
|
@@ -23505,7 +23518,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23505
23518
|
| io.flow.internal.v0.models.SubscriptionTransaction
|
|
23506
23519
|
| io.flow.internal.v0.models.TaxRemittanceTransaction
|
|
23507
23520
|
| io.flow.internal.v0.models.TransferTransaction
|
|
23508
|
-
| io.flow.internal.v0.models.VirtualCardTransaction
|
|
23521
|
+
| io.flow.internal.v0.models.VirtualCardTransaction
|
|
23522
|
+
| io.flow.internal.v0.models.DisputeTransaction;
|
|
23509
23523
|
type TransactionSummary =
|
|
23510
23524
|
| io.flow.internal.v0.models.PaymentSummaryV2
|
|
23511
23525
|
| io.flow.internal.v0.models.FraudSummary;
|
|
@@ -24333,6 +24347,7 @@ export type DisputeImportType = io.flow.internal.v0.enums.DisputeImportType;
|
|
|
24333
24347
|
export type DisputeLiability = io.flow.internal.v0.enums.DisputeLiability;
|
|
24334
24348
|
export type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor;
|
|
24335
24349
|
export type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus;
|
|
24350
|
+
export type DisputeTransaction = io.flow.internal.v0.models.DisputeTransaction;
|
|
24336
24351
|
export type DisputeType = io.flow.internal.v0.enums.DisputeType;
|
|
24337
24352
|
export type DisputeUpserted = io.flow.internal.v0.models.DisputeUpserted;
|
|
24338
24353
|
export type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport;
|