@flowio/api-internal-prop-types 8.8.4 → 8.8.5
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 +15 -4
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +15 -4
- package/src/api-internal.js +16 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "8.8.
|
|
3
|
+
"version": "8.8.5",
|
|
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": "52afe3b5813159d6e95a6e836a29bb00f1b66de5"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -9316,7 +9316,7 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
9316
9316
|
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
9317
9317
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
9318
9318
|
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
9319
|
-
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
|
|
9319
|
+
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat' | 'stylight';
|
|
9320
9320
|
type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
|
|
9321
9321
|
type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_master' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
|
|
9322
9322
|
}
|
|
@@ -10298,6 +10298,7 @@ declare namespace io.flow.item.v0.models {
|
|
|
10298
10298
|
|
|
10299
10299
|
declare namespace io.flow.billing.internal.v0.enums {
|
|
10300
10300
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
10301
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
10301
10302
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
10302
10303
|
type ResponsibleParty = 'flow' | 'organization';
|
|
10303
10304
|
type TransferMethod = 'ach';
|
|
@@ -10459,6 +10460,8 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
10459
10460
|
readonly 'posted_at': string;
|
|
10460
10461
|
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
10461
10462
|
readonly 'created_at': string;
|
|
10463
|
+
readonly 'original_at'?: string;
|
|
10464
|
+
readonly 'disposition'?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
10462
10465
|
}
|
|
10463
10466
|
|
|
10464
10467
|
interface PendingBankPayment {
|
|
@@ -10484,6 +10487,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
10484
10487
|
readonly 'description': string;
|
|
10485
10488
|
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
10486
10489
|
readonly 'created_at': string;
|
|
10490
|
+
readonly 'original_at'?: string;
|
|
10487
10491
|
readonly 'reference': string;
|
|
10488
10492
|
readonly 'primary_identifier'?: string;
|
|
10489
10493
|
readonly 'payment_method': string;
|
|
@@ -10499,6 +10503,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
10499
10503
|
readonly 'flow_margin': number;
|
|
10500
10504
|
readonly 'organization_margin': number;
|
|
10501
10505
|
readonly 'revenue_share'?: io.flow.common.v0.models.Price;
|
|
10506
|
+
readonly 'disposition'?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
10502
10507
|
}
|
|
10503
10508
|
|
|
10504
10509
|
interface SubscriptionTransaction {
|
|
@@ -15012,7 +15017,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
15012
15017
|
readonly 'description'?: string;
|
|
15013
15018
|
readonly 'emails': string[];
|
|
15014
15019
|
readonly 'variants': io.flow.experiment.internal.v0.unions.VariantForm[];
|
|
15015
|
-
readonly 'significance_action'
|
|
15020
|
+
readonly 'significance_action'?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
15016
15021
|
}
|
|
15017
15022
|
|
|
15018
15023
|
interface ExperimentFormDefault {
|
|
@@ -15112,6 +15117,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15112
15117
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
15113
15118
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
15114
15119
|
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
15120
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
15115
15121
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
15116
15122
|
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
|
|
15117
15123
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
@@ -15214,7 +15220,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15214
15220
|
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
15215
15221
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
15216
15222
|
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
15217
|
-
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
|
|
15223
|
+
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat' | 'stylight';
|
|
15218
15224
|
type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
|
|
15219
15225
|
type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_master' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
|
|
15220
15226
|
type NatureOfSale = 'consumer' | 'to_non_registered_business' | 'to_registered_business' | 'flash_title';
|
|
@@ -18482,7 +18488,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18482
18488
|
readonly 'description'?: string;
|
|
18483
18489
|
readonly 'emails': string[];
|
|
18484
18490
|
readonly 'variants': io.flow.internal.v0.unions.VariantForm[];
|
|
18485
|
-
readonly 'significance_action'
|
|
18491
|
+
readonly 'significance_action'?: io.flow.internal.v0.enums.SignificanceAction;
|
|
18486
18492
|
}
|
|
18487
18493
|
|
|
18488
18494
|
interface ExperimentFormDefault {
|
|
@@ -20502,6 +20508,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20502
20508
|
readonly 'posted_at': string;
|
|
20503
20509
|
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
20504
20510
|
readonly 'created_at': string;
|
|
20511
|
+
readonly 'original_at'?: string;
|
|
20512
|
+
readonly 'disposition'?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
20505
20513
|
}
|
|
20506
20514
|
|
|
20507
20515
|
interface MasterTransactionDeleted {
|
|
@@ -21206,6 +21214,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21206
21214
|
readonly 'description': string;
|
|
21207
21215
|
readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
|
|
21208
21216
|
readonly 'created_at': string;
|
|
21217
|
+
readonly 'original_at'?: string;
|
|
21209
21218
|
readonly 'reference': string;
|
|
21210
21219
|
readonly 'primary_identifier'?: string;
|
|
21211
21220
|
readonly 'payment_method': string;
|
|
@@ -21221,6 +21230,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21221
21230
|
readonly 'flow_margin': number;
|
|
21222
21231
|
readonly 'organization_margin': number;
|
|
21223
21232
|
readonly 'revenue_share'?: io.flow.common.v0.models.Price;
|
|
21233
|
+
readonly 'disposition'?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
21224
21234
|
}
|
|
21225
21235
|
|
|
21226
21236
|
interface ProcessingTransactionDeleted {
|
|
@@ -22997,6 +23007,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22997
23007
|
export const addressConfigurationSettingProvinceCode: PropTypes.Requireable<io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode>;
|
|
22998
23008
|
export const billingAllocationKey: PropTypes.Requireable<io.flow.internal.v0.enums.BillingAllocationKey>;
|
|
22999
23009
|
export const billingStatementAttachmentKey: PropTypes.Requireable<io.flow.internal.v0.enums.BillingStatementAttachmentKey>;
|
|
23010
|
+
export const billingStatementReviewStatus: PropTypes.Requireable<io.flow.internal.v0.enums.BillingStatementReviewStatus>;
|
|
23000
23011
|
export const billingTransactionStatus: PropTypes.Requireable<io.flow.internal.v0.enums.BillingTransactionStatus>;
|
|
23001
23012
|
export const billingTransactionType: PropTypes.Requireable<io.flow.internal.v0.enums.BillingTransactionType>;
|
|
23002
23013
|
export const browserBundleErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.BrowserBundleErrorCode>;
|
package/src/api-internal.js
CHANGED
|
@@ -58,7 +58,7 @@ T['io.flow.experiment.internal.v0.models.experiment_form'] = PropTypes.exact({
|
|
|
58
58
|
description: PropTypes.string,
|
|
59
59
|
emails: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
60
60
|
variants: PropTypes.arrayOf(T['io.flow.experiment.internal.v0.unions.variant_form']).isRequired,
|
|
61
|
-
significance_action: T['io.flow.experiment.internal.v0.enums.significance_action']
|
|
61
|
+
significance_action: T['io.flow.experiment.internal.v0.enums.significance_action'],
|
|
62
62
|
});
|
|
63
63
|
|
|
64
64
|
T['io.flow.optin.internal.v0.enums.prompt_checkout_display_position'] = PropTypes.oneOf(['email', 'submission']);
|
|
@@ -2415,6 +2415,7 @@ T['io.flow.marketing.gateway.v0.enums.marketing_gateway_platform'] = PropTypes.o
|
|
|
2415
2415
|
'rakuten_japan',
|
|
2416
2416
|
'wish',
|
|
2417
2417
|
'snapchat',
|
|
2418
|
+
'stylight',
|
|
2418
2419
|
]);
|
|
2419
2420
|
|
|
2420
2421
|
T['io.flow.marketing.gateway.v0.models.marketing_gateway_channel_source_summary'] = PropTypes.exact({
|
|
@@ -10906,6 +10907,9 @@ T['io.flow.internal.v0.models.notification'] = PropTypes.exact({
|
|
|
10906
10907
|
order: T['io.flow.internal.v0.models.decision'].isRequired,
|
|
10907
10908
|
});
|
|
10908
10909
|
|
|
10910
|
+
T['io.flow.billing.internal.v0.enums.billing_statement_review_status'] = PropTypes.oneOf(['approved', 'pending']);
|
|
10911
|
+
T['io.flow.internal.v0.enums.billing_statement_review_status'] = PropTypes.oneOf(['approved', 'pending']);
|
|
10912
|
+
|
|
10909
10913
|
T['io.flow.internal.v0.models.marketing_gateway_google_item'] = PropTypes.exact({
|
|
10910
10914
|
discriminator: PropTypes.oneOf(['marketing_gateway_google_item']).isRequired,
|
|
10911
10915
|
id: PropTypes.string.isRequired,
|
|
@@ -11170,6 +11174,7 @@ T['io.flow.internal.v0.enums.marketing_gateway_platform'] = PropTypes.oneOf([
|
|
|
11170
11174
|
'rakuten_japan',
|
|
11171
11175
|
'wish',
|
|
11172
11176
|
'snapchat',
|
|
11177
|
+
'stylight',
|
|
11173
11178
|
]);
|
|
11174
11179
|
|
|
11175
11180
|
T['io.flow.internal.v0.models.marketing_gateway_channel_source_summary'] = PropTypes.exact({
|
|
@@ -12683,7 +12688,7 @@ T['io.flow.internal.v0.models.experiment_form'] = PropTypes.exact({
|
|
|
12683
12688
|
description: PropTypes.string,
|
|
12684
12689
|
emails: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
12685
12690
|
variants: PropTypes.arrayOf(T['io.flow.internal.v0.unions.variant_form']).isRequired,
|
|
12686
|
-
significance_action: T['io.flow.internal.v0.enums.significance_action']
|
|
12691
|
+
significance_action: T['io.flow.internal.v0.enums.significance_action'],
|
|
12687
12692
|
});
|
|
12688
12693
|
|
|
12689
12694
|
T['io.flow.internal.v0.models.experience_variant'] = PropTypes.exact({
|
|
@@ -22003,6 +22008,8 @@ T['io.flow.billing.internal.v0.models.master_transaction'] = PropTypes.exact({
|
|
|
22003
22008
|
posted_at: PropTypes.string.isRequired,
|
|
22004
22009
|
statement: T['io.flow.billing.v0.models.billing_statement_reference'],
|
|
22005
22010
|
created_at: PropTypes.string.isRequired,
|
|
22011
|
+
original_at: PropTypes.string,
|
|
22012
|
+
disposition: T['io.flow.billing.internal.v0.enums.billing_statement_review_status'],
|
|
22006
22013
|
});
|
|
22007
22014
|
|
|
22008
22015
|
T['io.flow.internal.v0.models.master_transaction_upserted'] = PropTypes.exact({
|
|
@@ -22029,6 +22036,8 @@ T['io.flow.internal.v0.models.master_transaction'] = PropTypes.exact({
|
|
|
22029
22036
|
posted_at: PropTypes.string.isRequired,
|
|
22030
22037
|
statement: T['io.flow.billing.v0.models.billing_statement_reference'],
|
|
22031
22038
|
created_at: PropTypes.string.isRequired,
|
|
22039
|
+
original_at: PropTypes.string,
|
|
22040
|
+
disposition: T['io.flow.internal.v0.enums.billing_statement_review_status'],
|
|
22032
22041
|
});
|
|
22033
22042
|
|
|
22034
22043
|
T['io.flow.internal.v0.models.manual_transaction'] = PropTypes.exact({
|
|
@@ -23407,6 +23416,7 @@ T['io.flow.billing.internal.v0.models.processing_transaction'] = PropTypes.exact
|
|
|
23407
23416
|
description: PropTypes.string.isRequired,
|
|
23408
23417
|
statement: T['io.flow.billing.v0.models.billing_statement_reference'],
|
|
23409
23418
|
created_at: PropTypes.string.isRequired,
|
|
23419
|
+
original_at: PropTypes.string,
|
|
23410
23420
|
reference: PropTypes.string.isRequired,
|
|
23411
23421
|
primary_identifier: PropTypes.string,
|
|
23412
23422
|
payment_method: PropTypes.string.isRequired,
|
|
@@ -23422,6 +23432,7 @@ T['io.flow.billing.internal.v0.models.processing_transaction'] = PropTypes.exact
|
|
|
23422
23432
|
flow_margin: PropTypes.number.isRequired,
|
|
23423
23433
|
organization_margin: PropTypes.number.isRequired,
|
|
23424
23434
|
revenue_share: T['io.flow.common.v0.models.price'],
|
|
23435
|
+
disposition: T['io.flow.billing.internal.v0.enums.billing_statement_review_status'],
|
|
23425
23436
|
});
|
|
23426
23437
|
|
|
23427
23438
|
T['io.flow.billing.internal.v0.unions.transaction'] = PropTypes.oneOfType([
|
|
@@ -23460,6 +23471,7 @@ T['io.flow.internal.v0.models.processing_transaction'] = PropTypes.exact({
|
|
|
23460
23471
|
description: PropTypes.string.isRequired,
|
|
23461
23472
|
statement: T['io.flow.billing.v0.models.billing_statement_reference'],
|
|
23462
23473
|
created_at: PropTypes.string.isRequired,
|
|
23474
|
+
original_at: PropTypes.string,
|
|
23463
23475
|
reference: PropTypes.string.isRequired,
|
|
23464
23476
|
primary_identifier: PropTypes.string,
|
|
23465
23477
|
payment_method: PropTypes.string.isRequired,
|
|
@@ -23475,6 +23487,7 @@ T['io.flow.internal.v0.models.processing_transaction'] = PropTypes.exact({
|
|
|
23475
23487
|
flow_margin: PropTypes.number.isRequired,
|
|
23476
23488
|
organization_margin: PropTypes.number.isRequired,
|
|
23477
23489
|
revenue_share: T['io.flow.common.v0.models.price'],
|
|
23490
|
+
disposition: T['io.flow.internal.v0.enums.billing_statement_review_status'],
|
|
23478
23491
|
});
|
|
23479
23492
|
|
|
23480
23493
|
T['io.flow.internal.v0.unions.transaction'] = PropTypes.oneOfType([
|
|
@@ -26386,6 +26399,7 @@ export const billingStatementPendingReview = T['io.flow.internal.v0.models.billi
|
|
|
26386
26399
|
export const billingStatementReference = T['io.flow.internal.v0.models.billing_statement_reference'];
|
|
26387
26400
|
export const billingStatementReview = T['io.flow.internal.v0.models.billing_statement_review'];
|
|
26388
26401
|
export const billingStatementReviewForm = T['io.flow.internal.v0.models.billing_statement_review_form'];
|
|
26402
|
+
export const billingStatementReviewStatus = T['io.flow.internal.v0.enums.billing_statement_review_status'];
|
|
26389
26403
|
export const billingStatementTotals = T['io.flow.internal.v0.models.billing_statement_totals'];
|
|
26390
26404
|
export const billingStatementUpserted = T['io.flow.internal.v0.models.billing_statement_upserted'];
|
|
26391
26405
|
export const billingTransaction = T['io.flow.internal.v0.models.billing_transaction'];
|