@flowio/api-internal-prop-types 8.5.1 → 8.7.0
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 +36 -13
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +36 -13
- package/src/api-internal.js +64 -13
package/lib/api-internal.d.ts
CHANGED
|
@@ -2475,7 +2475,9 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
|
|
2477
2477
|
declare namespace io.flow.RESERVED_WORD_return.v0.enums {
|
|
2478
|
+
type ReturnSource = 'flow' | 'rebound';
|
|
2478
2479
|
type ReturnStatus = 'open' | 'refunded';
|
|
2480
|
+
type ReturnTrackingStatus = 'return_registered_online' | 'received_by_the_carrier' | 'in_transit_to_our_local_hub' | 'received_at_our_local_hub' | 'processed_by_hub' | 'parcel_has_been_added_to_pallet' | 'parcel_has_been_extracted_from_pallet' | 'in_transit_to_the_retailer' | 'delivered_to_the_retailer' | 'parcel_lost' | 'canceled' | 'parcel_processed_by_retailer' | 'parcel_delayed' | 'collection_attempt_failed' | 'parcel_under_investigation' | 'awaiting_customs_clearance' | 'customs_clearance_completed' | 'cancel_requested';
|
|
2479
2481
|
}
|
|
2480
2482
|
|
|
2481
2483
|
declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
@@ -2495,6 +2497,9 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2495
2497
|
readonly 'key'?: string;
|
|
2496
2498
|
readonly 'origin'?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2497
2499
|
readonly 'center_key'?: string;
|
|
2500
|
+
readonly 'source': io.flow.RESERVED_WORD_return.v0.enums.ReturnSource;
|
|
2501
|
+
readonly 'tracking_status'?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
|
|
2502
|
+
readonly 'tracking_status_timestamp'?: string;
|
|
2498
2503
|
}
|
|
2499
2504
|
|
|
2500
2505
|
interface ReturnItemReference {
|
|
@@ -2712,7 +2717,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2712
2717
|
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';
|
|
2713
2718
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
2714
2719
|
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';
|
|
2720
|
+
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
2716
2721
|
type KlarnaProduct = 'payment';
|
|
2717
2722
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
2718
2723
|
type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
|
|
@@ -3273,20 +3278,20 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3273
3278
|
readonly 'shipping_last_name'?: string;
|
|
3274
3279
|
readonly 'locale'?: string;
|
|
3275
3280
|
readonly 'pay_later_name'?: string;
|
|
3276
|
-
readonly '
|
|
3277
|
-
readonly '
|
|
3281
|
+
readonly 'pay_later_asset_urls_standard'?: string;
|
|
3282
|
+
readonly 'pay_later_asset_urls_descriptive'?: string;
|
|
3278
3283
|
readonly 'pay_now_name'?: string;
|
|
3279
|
-
readonly '
|
|
3280
|
-
readonly '
|
|
3284
|
+
readonly 'pay_now_asset_urls_standard'?: string;
|
|
3285
|
+
readonly 'pay_now_asset_urls_descriptive'?: string;
|
|
3281
3286
|
readonly 'pay_over_time_name'?: string;
|
|
3282
|
-
readonly '
|
|
3283
|
-
readonly '
|
|
3287
|
+
readonly 'pay_over_time_asset_urls_standard'?: string;
|
|
3288
|
+
readonly 'pay_over_time_asset_urls_descriptive'?: string;
|
|
3284
3289
|
readonly 'direct_bank_transfer_name'?: string;
|
|
3285
|
-
readonly '
|
|
3286
|
-
readonly '
|
|
3290
|
+
readonly 'direct_bank_transfer_asset_urls_standard'?: string;
|
|
3291
|
+
readonly 'direct_bank_transfer_asset_urls_descriptive'?: string;
|
|
3287
3292
|
readonly 'direct_debit_name'?: string;
|
|
3288
|
-
readonly '
|
|
3289
|
-
readonly '
|
|
3293
|
+
readonly 'direct_debit_asset_urls_standard'?: string;
|
|
3294
|
+
readonly 'direct_debit_asset_urls_descriptive'?: string;
|
|
3290
3295
|
}
|
|
3291
3296
|
|
|
3292
3297
|
interface SourceKlarnaRequest {
|
|
@@ -6750,8 +6755,8 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6750
6755
|
interface KlarnaPaymentMethodCategory {
|
|
6751
6756
|
readonly 'id': string;
|
|
6752
6757
|
readonly 'name'?: string;
|
|
6753
|
-
readonly '
|
|
6754
|
-
readonly '
|
|
6758
|
+
readonly 'standard_asset_urls'?: string;
|
|
6759
|
+
readonly 'descriptive_asset_urls'?: string;
|
|
6755
6760
|
}
|
|
6756
6761
|
|
|
6757
6762
|
interface OnlineAuthorizationCompleted {
|
|
@@ -8613,6 +8618,7 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
8613
8618
|
readonly 'recipient': string;
|
|
8614
8619
|
readonly 'refunded': boolean;
|
|
8615
8620
|
readonly 'status': io.flow.crypto.v0.enums.PaymentStatus;
|
|
8621
|
+
readonly 'time_window': number;
|
|
8616
8622
|
}
|
|
8617
8623
|
|
|
8618
8624
|
interface PaymentRequest {
|
|
@@ -19337,6 +19343,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19337
19343
|
readonly 'id': string;
|
|
19338
19344
|
}
|
|
19339
19345
|
|
|
19346
|
+
interface KlarnaAuthorizationParameters {
|
|
19347
|
+
readonly 'discriminator': 'klarna_authorization_parameters';
|
|
19348
|
+
readonly 'client_token': string;
|
|
19349
|
+
readonly 'payment_method_categories': io.flow.internal.v0.models.KlarnaPaymentMethodCategory[];
|
|
19350
|
+
}
|
|
19351
|
+
|
|
19352
|
+
interface KlarnaPaymentMethodCategory {
|
|
19353
|
+
readonly 'id': string;
|
|
19354
|
+
readonly 'name'?: string;
|
|
19355
|
+
readonly 'standard_asset_urls'?: string;
|
|
19356
|
+
readonly 'descriptive_asset_urls'?: string;
|
|
19357
|
+
}
|
|
19358
|
+
|
|
19340
19359
|
interface LabProjectSettings {
|
|
19341
19360
|
readonly 'id': string;
|
|
19342
19361
|
readonly 'flow_lab_project_key': string;
|
|
@@ -22381,6 +22400,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22381
22400
|
type FeatureValue = (io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue);
|
|
22382
22401
|
type GlobalSearchResult = (io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary);
|
|
22383
22402
|
type IndexTaskType = (io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask);
|
|
22403
|
+
type InlineAuthorizationParameters = (io.flow.internal.v0.models.KlarnaAuthorizationParameters);
|
|
22384
22404
|
type InternalAuthorizationDetails = (io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.internal.v0.models.InternalFiservAuthorizationDetails);
|
|
22385
22405
|
type InternalHarmonizationStatistic = (io.flow.internal.v0.models.TimeToClassify | io.flow.internal.v0.models.TimeToClassifyAggregated | io.flow.internal.v0.models.RateSourceSummary | io.flow.internal.v0.models.RateFreshnessSummary);
|
|
22386
22406
|
type InternalRefundForm = (io.flow.internal.v0.models.AdyenRefundForm);
|
|
@@ -23230,6 +23250,8 @@ export const itemValuesForm: PropTypes.Requireable<io.flow.internal.v0.models.It
|
|
|
23230
23250
|
export const itemsShipped: PropTypes.Requireable<io.flow.internal.v0.models.ItemsShipped>;
|
|
23231
23251
|
export const key: PropTypes.Requireable<io.flow.internal.v0.models.Key>;
|
|
23232
23252
|
export const keyReference: PropTypes.Requireable<io.flow.internal.v0.models.KeyReference>;
|
|
23253
|
+
export const klarnaAuthorizationParameters: PropTypes.Requireable<io.flow.internal.v0.models.KlarnaAuthorizationParameters>;
|
|
23254
|
+
export const klarnaPaymentMethodCategory: PropTypes.Requireable<io.flow.internal.v0.models.KlarnaPaymentMethodCategory>;
|
|
23233
23255
|
export const labProjectSettings: PropTypes.Requireable<io.flow.internal.v0.models.LabProjectSettings>;
|
|
23234
23256
|
export const labProjectSettingsForm: PropTypes.Requireable<io.flow.internal.v0.models.LabProjectSettingsForm>;
|
|
23235
23257
|
export const labProjectSettingsFormAcceptance: PropTypes.Requireable<io.flow.internal.v0.models.LabProjectSettingsFormAcceptance>;
|
|
@@ -23708,6 +23730,7 @@ export const featureTaskData: PropTypes.Requireable<io.flow.internal.v0.unions.F
|
|
|
23708
23730
|
export const featureValue: PropTypes.Requireable<io.flow.internal.v0.unions.FeatureValue>;
|
|
23709
23731
|
export const globalSearchResult: PropTypes.Requireable<io.flow.internal.v0.unions.GlobalSearchResult>;
|
|
23710
23732
|
export const indexTaskType: PropTypes.Requireable<io.flow.internal.v0.unions.IndexTaskType>;
|
|
23733
|
+
export const inlineAuthorizationParameters: PropTypes.Requireable<io.flow.internal.v0.unions.InlineAuthorizationParameters>;
|
|
23711
23734
|
export const internalAuthorizationDetails: PropTypes.Requireable<io.flow.internal.v0.unions.InternalAuthorizationDetails>;
|
|
23712
23735
|
export const internalHarmonizationStatistic: PropTypes.Requireable<io.flow.internal.v0.unions.InternalHarmonizationStatistic>;
|
|
23713
23736
|
export const internalRefundForm: PropTypes.Requireable<io.flow.internal.v0.unions.InternalRefundForm>;
|