@flowio/api-internal-prop-types 9.19.28 → 9.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/lib/api-internal.d.ts +17 -4
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +17 -4
- package/src/api-internal.js +17 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.19.
|
|
3
|
+
"version": "9.19.29",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"prop-types": "^15.7.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "bf3cd7e973e0ccc002e926e1c13aedbdb792dc9b"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -10757,7 +10757,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10757
10757
|
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
10758
10758
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
10759
10759
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
10760
|
-
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
|
|
10760
|
+
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute';
|
|
10761
10761
|
type BlazeCheckoutEvent = 'begin_checkout' | 'select_promotion' | 'add_shipping_info' | 'add_payment_info' | 'purchase';
|
|
10762
10762
|
type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
|
|
10763
10763
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
@@ -11778,6 +11778,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11778
11778
|
readonly 'virtual_card_capture': io.flow.common.v0.models.Price;
|
|
11779
11779
|
readonly 'virtual_card_refund': io.flow.common.v0.models.Price;
|
|
11780
11780
|
readonly 'tax_remittance': io.flow.common.v0.models.Price;
|
|
11781
|
+
readonly 'dispute': io.flow.common.v0.models.Price;
|
|
11781
11782
|
readonly 'ending_balance': io.flow.common.v0.models.Price;
|
|
11782
11783
|
}
|
|
11783
11784
|
|
|
@@ -11882,17 +11883,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11882
11883
|
readonly 'discriminator': 'checkout_event';
|
|
11883
11884
|
readonly 'event_type': io.flow.internal.v0.enums.BlazeCheckoutEvent;
|
|
11884
11885
|
readonly 'affiliation': string;
|
|
11885
|
-
readonly '
|
|
11886
|
+
readonly 'revenue': number;
|
|
11886
11887
|
readonly 'lines': io.flow.internal.v0.models.BlazeCheckoutLine[];
|
|
11887
11888
|
readonly 'country': string;
|
|
11888
11889
|
readonly 'language': string;
|
|
11889
11890
|
readonly 'geo_currency': string;
|
|
11890
11891
|
readonly 'currency': string;
|
|
11892
|
+
readonly 'order_number'?: string;
|
|
11891
11893
|
readonly 'promotions'?: string[];
|
|
11892
11894
|
readonly 'duty'?: number;
|
|
11893
11895
|
readonly 'tax'?: number;
|
|
11894
11896
|
readonly 'shipping'?: number;
|
|
11895
|
-
readonly 'revenue'?: number;
|
|
11896
11897
|
}
|
|
11897
11898
|
|
|
11898
11899
|
interface BlazeCheckoutItem {
|
|
@@ -14881,6 +14882,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14881
14882
|
readonly 'type': io.flow.internal.v0.enums.DisputeImportType;
|
|
14882
14883
|
}
|
|
14883
14884
|
|
|
14885
|
+
interface DisputeTransaction {
|
|
14886
|
+
readonly 'discriminator': 'dispute_transaction';
|
|
14887
|
+
readonly 'id': string;
|
|
14888
|
+
readonly 'type': io.flow.internal.v0.enums.BillingTransactionType;
|
|
14889
|
+
readonly 'posted_at': string;
|
|
14890
|
+
readonly 'value': io.flow.common.v0.models.Price;
|
|
14891
|
+
readonly 'description': string;
|
|
14892
|
+
readonly 'statement'?: io.flow.internal.v0.models.BillingStatementReference;
|
|
14893
|
+
readonly 'created_at': string;
|
|
14894
|
+
}
|
|
14895
|
+
|
|
14884
14896
|
interface DisputeUpserted {
|
|
14885
14897
|
readonly 'discriminator': 'dispute_upserted';
|
|
14886
14898
|
readonly 'event_id': string;
|
|
@@ -20773,7 +20785,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20773
20785
|
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);
|
|
20774
20786
|
type TaxAmount = (io.flow.internal.v0.models.CalculatedTaxAmount | io.flow.internal.v0.models.NoCalculatedTaxAmount);
|
|
20775
20787
|
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);
|
|
20776
|
-
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);
|
|
20788
|
+
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);
|
|
20777
20789
|
type TransactionSummary = (io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary);
|
|
20778
20790
|
type ValidationRule = (io.flow.internal.v0.models.ValidationCharacterLength);
|
|
20779
20791
|
type Variant = (io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.FeatureVariant);
|
|
@@ -21610,6 +21622,7 @@ export const disputeImport: PropTypes.Requireable<io.flow.internal.v0.models.Dis
|
|
|
21610
21622
|
export const disputeImportError: PropTypes.Requireable<io.flow.internal.v0.models.DisputeImportError>;
|
|
21611
21623
|
export const disputeImportErrors: PropTypes.Requireable<io.flow.internal.v0.models.DisputeImportErrors>;
|
|
21612
21624
|
export const disputeImportForm: PropTypes.Requireable<io.flow.internal.v0.models.DisputeImportForm>;
|
|
21625
|
+
export const disputeTransaction: PropTypes.Requireable<io.flow.internal.v0.models.DisputeTransaction>;
|
|
21613
21626
|
export const disputeUpserted: PropTypes.Requireable<io.flow.internal.v0.models.DisputeUpserted>;
|
|
21614
21627
|
export const dutiedItemsExport: PropTypes.Requireable<io.flow.internal.v0.models.DutiedItemsExport>;
|
|
21615
21628
|
export const duties: PropTypes.Requireable<io.flow.internal.v0.models.Duties>;
|
package/src/api-internal.js
CHANGED
|
@@ -16584,17 +16584,17 @@ T['io.flow.internal.v0.models.blaze_checkout_event_message'] = PropTypes.exact({
|
|
|
16584
16584
|
discriminator: PropTypes.oneOf(['checkout_event']).isRequired,
|
|
16585
16585
|
event_type: T['io.flow.internal.v0.enums.blaze_checkout_event'].isRequired,
|
|
16586
16586
|
affiliation: PropTypes.string.isRequired,
|
|
16587
|
-
|
|
16587
|
+
revenue: PropTypes.number.isRequired,
|
|
16588
16588
|
lines: PropTypes.arrayOf(T['io.flow.internal.v0.models.blaze_checkout_line']).isRequired,
|
|
16589
16589
|
country: PropTypes.string.isRequired,
|
|
16590
16590
|
language: PropTypes.string.isRequired,
|
|
16591
16591
|
geo_currency: PropTypes.string.isRequired,
|
|
16592
16592
|
currency: PropTypes.string.isRequired,
|
|
16593
|
+
order_number: PropTypes.string,
|
|
16593
16594
|
promotions: PropTypes.arrayOf(PropTypes.string),
|
|
16594
16595
|
duty: PropTypes.number,
|
|
16595
16596
|
tax: PropTypes.number,
|
|
16596
16597
|
shipping: PropTypes.number,
|
|
16597
|
-
revenue: PropTypes.number,
|
|
16598
16598
|
});
|
|
16599
16599
|
|
|
16600
16600
|
T['io.flow.internal.v0.models.blaze_checkout_complete_message'] = PropTypes.exact({
|
|
@@ -19605,6 +19605,7 @@ T['io.flow.internal.v0.enums.billing_transaction_type'] = PropTypes.oneOf([
|
|
|
19605
19605
|
'tax_remittance',
|
|
19606
19606
|
'fully_subsidized_order',
|
|
19607
19607
|
'credit_payment',
|
|
19608
|
+
'dispute',
|
|
19608
19609
|
]);
|
|
19609
19610
|
|
|
19610
19611
|
T['io.flow.internal.v0.models.account_orders_export_request'] = PropTypes.exact({
|
|
@@ -20367,6 +20368,17 @@ T['io.flow.internal.v0.models.fees'] = PropTypes.exact({
|
|
|
20367
20368
|
mor: T['io.flow.internal.v0.models.fee'].isRequired,
|
|
20368
20369
|
});
|
|
20369
20370
|
|
|
20371
|
+
T['io.flow.internal.v0.models.dispute_transaction'] = PropTypes.exact({
|
|
20372
|
+
discriminator: PropTypes.oneOf(['dispute_transaction']).isRequired,
|
|
20373
|
+
id: PropTypes.string.isRequired,
|
|
20374
|
+
type: T['io.flow.internal.v0.enums.billing_transaction_type'].isRequired,
|
|
20375
|
+
posted_at: PropTypes.string.isRequired,
|
|
20376
|
+
value: T['io.flow.common.v0.models.price'].isRequired,
|
|
20377
|
+
description: PropTypes.string.isRequired,
|
|
20378
|
+
statement: T['io.flow.internal.v0.models.billing_statement_reference'],
|
|
20379
|
+
created_at: PropTypes.string.isRequired,
|
|
20380
|
+
});
|
|
20381
|
+
|
|
20370
20382
|
T['io.flow.internal.v0.models.components'] = PropTypes.exact({
|
|
20371
20383
|
vat: T['io.flow.common.v0.models.price'].isRequired,
|
|
20372
20384
|
duty: T['io.flow.common.v0.models.price'].isRequired,
|
|
@@ -20630,6 +20642,7 @@ T['io.flow.internal.v0.models.billing_statement_totals'] = PropTypes.exact({
|
|
|
20630
20642
|
virtual_card_capture: T['io.flow.common.v0.models.price'].isRequired,
|
|
20631
20643
|
virtual_card_refund: T['io.flow.common.v0.models.price'].isRequired,
|
|
20632
20644
|
tax_remittance: T['io.flow.common.v0.models.price'].isRequired,
|
|
20645
|
+
dispute: T['io.flow.common.v0.models.price'].isRequired,
|
|
20633
20646
|
ending_balance: T['io.flow.common.v0.models.price'].isRequired,
|
|
20634
20647
|
});
|
|
20635
20648
|
|
|
@@ -21059,6 +21072,7 @@ T['io.flow.internal.v0.unions.transaction'] = PropTypes.oneOfType([
|
|
|
21059
21072
|
T['io.flow.internal.v0.models.tax_remittance_transaction'],
|
|
21060
21073
|
T['io.flow.internal.v0.models.transfer_transaction'],
|
|
21061
21074
|
T['io.flow.internal.v0.models.virtual_card_transaction'],
|
|
21075
|
+
T['io.flow.internal.v0.models.dispute_transaction'],
|
|
21062
21076
|
]);
|
|
21063
21077
|
|
|
21064
21078
|
T['io.flow.internal.v0.models.processing_transaction_upserted'] = PropTypes.exact({
|
|
@@ -24713,6 +24727,7 @@ export const disputeImportType = T['io.flow.internal.v0.enums.dispute_import_typ
|
|
|
24713
24727
|
export const disputeLiability = T['io.flow.internal.v0.enums.dispute_liability'];
|
|
24714
24728
|
export const disputeProcessor = T['io.flow.internal.v0.enums.dispute_processor'];
|
|
24715
24729
|
export const disputeStatus = T['io.flow.internal.v0.enums.dispute_status'];
|
|
24730
|
+
export const disputeTransaction = T['io.flow.internal.v0.models.dispute_transaction'];
|
|
24716
24731
|
export const disputeType = T['io.flow.internal.v0.enums.dispute_type'];
|
|
24717
24732
|
export const disputeUpserted = T['io.flow.internal.v0.models.dispute_upserted'];
|
|
24718
24733
|
export const dutiedItemsExport = T['io.flow.internal.v0.models.dutied_items_export'];
|