@flowio/api-internal-prop-types 8.4.1 → 8.5.1
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 +90 -13
- package/lib/api-internal.js +1 -1
- package/lib/index.js +2 -17
- package/package.json +17 -21
- package/src/api-internal.d.ts +90 -13
- package/src/api-internal.js +103 -23
- package/LICENSE +0 -21
package/lib/api-internal.d.ts
CHANGED
|
@@ -15,11 +15,10 @@ declare namespace io.flow.tracking.internal.v0.models {
|
|
|
15
15
|
|
|
16
16
|
interface DhlEcommerce {
|
|
17
17
|
readonly 'discriminator': 'dhl_ecommerce';
|
|
18
|
-
readonly '
|
|
19
|
-
readonly '
|
|
20
|
-
readonly 'client_id': string;
|
|
21
|
-
readonly 'pickup_account_number': string;
|
|
18
|
+
readonly 'client_id_v4': string;
|
|
19
|
+
readonly 'client_secret_v4': string;
|
|
22
20
|
readonly 'distribution_center': string;
|
|
21
|
+
readonly 'pickup_account_number': string;
|
|
23
22
|
readonly 'pickup_name': string;
|
|
24
23
|
}
|
|
25
24
|
|
|
@@ -2713,6 +2712,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2713
2712
|
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
|
|
2714
2713
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
2715
2714
|
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.refund.updated' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
2715
|
+
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_over_time';
|
|
2716
2716
|
type KlarnaProduct = 'payment';
|
|
2717
2717
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
2718
2718
|
type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
|
|
@@ -2971,7 +2971,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
|
|
2973
2973
|
interface OrderItem {
|
|
2974
|
-
readonly 'object'
|
|
2974
|
+
readonly 'object'?: string;
|
|
2975
2975
|
readonly 'amount': number;
|
|
2976
2976
|
readonly 'currency': string;
|
|
2977
2977
|
readonly 'description'?: string;
|
|
@@ -3213,7 +3213,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3213
3213
|
|
|
3214
3214
|
interface Shipping {
|
|
3215
3215
|
readonly 'address': io.flow.stripe.v0.models.Address;
|
|
3216
|
-
readonly 'name'
|
|
3216
|
+
readonly 'name'?: string;
|
|
3217
3217
|
readonly 'phone'?: string;
|
|
3218
3218
|
}
|
|
3219
3219
|
|
|
@@ -3236,6 +3236,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3236
3236
|
readonly 'status': io.flow.stripe.v0.enums.SourceStatus;
|
|
3237
3237
|
readonly 'type': io.flow.stripe.v0.enums.SourceType;
|
|
3238
3238
|
readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
|
|
3239
|
+
readonly 'source_order'?: io.flow.stripe.v0.models.SourceOrder;
|
|
3239
3240
|
}
|
|
3240
3241
|
|
|
3241
3242
|
interface SourceCard {
|
|
@@ -3266,6 +3267,26 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3266
3267
|
readonly 'first_name'?: string;
|
|
3267
3268
|
readonly 'last_name'?: string;
|
|
3268
3269
|
readonly 'client_token': string;
|
|
3270
|
+
readonly 'payment_method_categories'?: string;
|
|
3271
|
+
readonly 'purchase_country'?: string;
|
|
3272
|
+
readonly 'shipping_first_name'?: string;
|
|
3273
|
+
readonly 'shipping_last_name'?: string;
|
|
3274
|
+
readonly 'locale'?: string;
|
|
3275
|
+
readonly 'pay_later_name'?: string;
|
|
3276
|
+
readonly 'pay_later_asset_url_standard'?: string;
|
|
3277
|
+
readonly 'pay_later_asset_url_descriptive'?: string;
|
|
3278
|
+
readonly 'pay_now_name'?: string;
|
|
3279
|
+
readonly 'pay_now_asset_url_standard'?: string;
|
|
3280
|
+
readonly 'pay_now_asset_url_descriptive'?: string;
|
|
3281
|
+
readonly 'pay_over_time_name'?: string;
|
|
3282
|
+
readonly 'pay_over_time_asset_url_standard'?: string;
|
|
3283
|
+
readonly 'pay_over_time_asset_url_descriptive'?: string;
|
|
3284
|
+
readonly 'direct_bank_transfer_name'?: string;
|
|
3285
|
+
readonly 'direct_bank_transfer_asset_url_standard'?: string;
|
|
3286
|
+
readonly 'direct_bank_transfer_asset_url_descriptive'?: string;
|
|
3287
|
+
readonly 'direct_debit_name'?: string;
|
|
3288
|
+
readonly 'direct_debit_asset_url_standard'?: string;
|
|
3289
|
+
readonly 'direct_debit_asset_url_descriptive'?: string;
|
|
3269
3290
|
}
|
|
3270
3291
|
|
|
3271
3292
|
interface SourceKlarnaRequest {
|
|
@@ -3279,6 +3300,19 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3279
3300
|
readonly 'locale'?: string;
|
|
3280
3301
|
}
|
|
3281
3302
|
|
|
3303
|
+
interface SourceOrder {
|
|
3304
|
+
readonly 'amount'?: number;
|
|
3305
|
+
readonly 'currency'?: string;
|
|
3306
|
+
readonly 'email'?: string;
|
|
3307
|
+
readonly 'items'?: io.flow.stripe.v0.models.OrderItem[];
|
|
3308
|
+
readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
interface SourceOrderRequest {
|
|
3312
|
+
readonly 'items'?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
3313
|
+
readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3282
3316
|
interface SourceRequest {
|
|
3283
3317
|
readonly 'type'?: io.flow.stripe.v0.enums.SourceType;
|
|
3284
3318
|
readonly 'amount'?: number;
|
|
@@ -3294,6 +3328,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3294
3328
|
readonly 'three_d_secure'?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
3295
3329
|
readonly 'token'?: string;
|
|
3296
3330
|
readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
|
|
3331
|
+
readonly 'source_order'?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
3297
3332
|
}
|
|
3298
3333
|
|
|
3299
3334
|
interface Stripe3Ds2Fingerprint {
|
|
@@ -6706,6 +6741,19 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6706
6741
|
readonly 'id': string;
|
|
6707
6742
|
}
|
|
6708
6743
|
|
|
6744
|
+
interface KlarnaAuthorizationParameters {
|
|
6745
|
+
readonly 'discriminator': 'klarna_authorization_parameters';
|
|
6746
|
+
readonly 'client_token': string;
|
|
6747
|
+
readonly 'payment_method_categories': io.flow.payment.internal.v0.models.KlarnaPaymentMethodCategory[];
|
|
6748
|
+
}
|
|
6749
|
+
|
|
6750
|
+
interface KlarnaPaymentMethodCategory {
|
|
6751
|
+
readonly 'id': string;
|
|
6752
|
+
readonly 'name'?: string;
|
|
6753
|
+
readonly 'standard_asset_url'?: string;
|
|
6754
|
+
readonly 'descriptive_asset_url'?: string;
|
|
6755
|
+
}
|
|
6756
|
+
|
|
6709
6757
|
interface OnlineAuthorizationCompleted {
|
|
6710
6758
|
readonly 'discriminator': 'online_authorization_completed';
|
|
6711
6759
|
readonly 'id': string;
|
|
@@ -6976,6 +7024,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6976
7024
|
|
|
6977
7025
|
declare namespace io.flow.payment.internal.v0.unions {
|
|
6978
7026
|
type AuthorizationPayload = (io.flow.payment.internal.v0.models.ApplePaymentToken | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload);
|
|
7027
|
+
type InlineAuthorizationParameters = (io.flow.payment.internal.v0.models.KlarnaAuthorizationParameters);
|
|
6979
7028
|
type InternalAuthorizationDetails = (io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails);
|
|
6980
7029
|
type InternalRefundForm = (io.flow.payment.internal.v0.models.AdyenRefundForm);
|
|
6981
7030
|
type PaymentRedirect = (io.flow.payment.internal.v0.models.OnlineAuthorizationCompleted | io.flow.payment.internal.v0.models.RedirectActionCompleted);
|
|
@@ -9240,6 +9289,7 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
9240
9289
|
type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
|
|
9241
9290
|
type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
|
|
9242
9291
|
type MarketingGatewayErrorCode = 'generic_error' | 'google_api_error' | 'facebook_api_error' | 'invalid_oauth_token_error';
|
|
9292
|
+
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
9243
9293
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
9244
9294
|
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
9245
9295
|
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
|
|
@@ -9315,6 +9365,7 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
9315
9365
|
readonly 'datasources'?: io.flow.marketing.gateway.v0.models.MarketingGatewayProductDatasourceSummary[];
|
|
9316
9366
|
readonly 'localized_feed_count'?: number;
|
|
9317
9367
|
readonly 'connected_at'?: string;
|
|
9368
|
+
readonly 'token_summary'?: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
9318
9369
|
}
|
|
9319
9370
|
|
|
9320
9371
|
interface MarketingGatewayFacebookConnection {
|
|
@@ -9322,6 +9373,15 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
9322
9373
|
readonly 'businesses': io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookBusinessSummary[];
|
|
9323
9374
|
}
|
|
9324
9375
|
|
|
9376
|
+
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
9377
|
+
readonly 'catalog_id': number;
|
|
9378
|
+
readonly 'created_at': number;
|
|
9379
|
+
readonly 'expires_at'?: number;
|
|
9380
|
+
readonly 'user_id': string;
|
|
9381
|
+
readonly 'user_email'?: string;
|
|
9382
|
+
readonly 'token_status': io.flow.marketing.gateway.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
9383
|
+
}
|
|
9384
|
+
|
|
9325
9385
|
interface MarketingGatewayFacebookConnectionDeauth {
|
|
9326
9386
|
readonly 'user_id': number;
|
|
9327
9387
|
}
|
|
@@ -9552,11 +9612,15 @@ declare namespace io.flow.label.internal.v0.enums {
|
|
|
9552
9612
|
declare namespace io.flow.label.internal.v0.models {
|
|
9553
9613
|
interface CarrierAccount {
|
|
9554
9614
|
readonly 'id': string;
|
|
9555
|
-
readonly 'organization_id': string;
|
|
9556
9615
|
readonly 'carrier': io.flow.fulfillment.v0.models.CarrierReference;
|
|
9557
9616
|
readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
9558
9617
|
}
|
|
9559
9618
|
|
|
9619
|
+
interface CarrierAccountForm {
|
|
9620
|
+
readonly 'carrier_id': string;
|
|
9621
|
+
readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
9622
|
+
}
|
|
9623
|
+
|
|
9560
9624
|
interface CarrierInvoice {
|
|
9561
9625
|
readonly 'number': string;
|
|
9562
9626
|
readonly 'timestamp': string;
|
|
@@ -10502,6 +10566,10 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
10502
10566
|
readonly 'hs6': string;
|
|
10503
10567
|
readonly 'hs6_description': string;
|
|
10504
10568
|
readonly 'url': string;
|
|
10569
|
+
readonly 'item_type': string;
|
|
10570
|
+
readonly 'material': string;
|
|
10571
|
+
readonly 'gender': string;
|
|
10572
|
+
readonly 'construction': string;
|
|
10505
10573
|
}
|
|
10506
10574
|
|
|
10507
10575
|
interface ClassificationItem {
|
|
@@ -15829,11 +15897,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15829
15897
|
|
|
15830
15898
|
interface CarrierAccount {
|
|
15831
15899
|
readonly 'id': string;
|
|
15832
|
-
readonly 'organization_id': string;
|
|
15833
15900
|
readonly 'carrier': io.flow.fulfillment.v0.models.CarrierReference;
|
|
15834
15901
|
readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
15835
15902
|
}
|
|
15836
15903
|
|
|
15904
|
+
interface CarrierAccountForm {
|
|
15905
|
+
readonly 'carrier_id': string;
|
|
15906
|
+
readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
15907
|
+
}
|
|
15908
|
+
|
|
15837
15909
|
interface CarrierAccountUpserted {
|
|
15838
15910
|
readonly 'discriminator': 'carrier_account_upserted';
|
|
15839
15911
|
readonly 'event_id': string;
|
|
@@ -17475,6 +17547,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17475
17547
|
readonly 'hs6': string;
|
|
17476
17548
|
readonly 'hs6_description': string;
|
|
17477
17549
|
readonly 'url': string;
|
|
17550
|
+
readonly 'item_type': string;
|
|
17551
|
+
readonly 'material': string;
|
|
17552
|
+
readonly 'gender': string;
|
|
17553
|
+
readonly 'construction': string;
|
|
17478
17554
|
}
|
|
17479
17555
|
|
|
17480
17556
|
interface ClassificationItem {
|
|
@@ -17832,11 +17908,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17832
17908
|
|
|
17833
17909
|
interface DhlEcommerce {
|
|
17834
17910
|
readonly 'discriminator': 'dhl_ecommerce';
|
|
17835
|
-
readonly '
|
|
17836
|
-
readonly '
|
|
17837
|
-
readonly 'client_id': string;
|
|
17838
|
-
readonly 'pickup_account_number': string;
|
|
17911
|
+
readonly 'client_id_v4': string;
|
|
17912
|
+
readonly 'client_secret_v4': string;
|
|
17839
17913
|
readonly 'distribution_center': string;
|
|
17914
|
+
readonly 'pickup_account_number': string;
|
|
17840
17915
|
readonly 'pickup_name': string;
|
|
17841
17916
|
}
|
|
17842
17917
|
|
|
@@ -19679,6 +19754,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19679
19754
|
readonly 'datasources'?: io.flow.internal.v0.models.MarketingGatewayProductDatasourceSummary[];
|
|
19680
19755
|
readonly 'localized_feed_count'?: number;
|
|
19681
19756
|
readonly 'connected_at'?: string;
|
|
19757
|
+
readonly 'token_summary'?: io.flow.internal.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
|
|
19682
19758
|
}
|
|
19683
19759
|
|
|
19684
19760
|
interface MarketingGatewayFacebookConnection {
|
|
@@ -19691,7 +19767,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19691
19767
|
readonly 'created_at': number;
|
|
19692
19768
|
readonly 'expires_at'?: number;
|
|
19693
19769
|
readonly 'user_id': string;
|
|
19694
|
-
readonly 'user_email'
|
|
19770
|
+
readonly 'user_email'?: string;
|
|
19695
19771
|
readonly 'token_status': io.flow.internal.v0.enums.MarketingGatewayFacebookTokenStatus;
|
|
19696
19772
|
}
|
|
19697
19773
|
|
|
@@ -22622,6 +22698,7 @@ export const browserBundlePaymentMethodForm: PropTypes.Requireable<io.flow.inter
|
|
|
22622
22698
|
export const browserBundlePaymentMethods: PropTypes.Requireable<io.flow.internal.v0.models.BrowserBundlePaymentMethods>;
|
|
22623
22699
|
export const calculatedTaxAmount: PropTypes.Requireable<io.flow.internal.v0.models.CalculatedTaxAmount>;
|
|
22624
22700
|
export const carrierAccount: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccount>;
|
|
22701
|
+
export const carrierAccountForm: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccountForm>;
|
|
22625
22702
|
export const carrierAccountUpserted: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccountUpserted>;
|
|
22626
22703
|
export const carrierInvoice: PropTypes.Requireable<io.flow.internal.v0.models.CarrierInvoice>;
|
|
22627
22704
|
export const catalogImportRequest: PropTypes.Requireable<io.flow.internal.v0.models.CatalogImportRequest>;
|