@flowio/api-internal-prop-types 8.4.1 → 8.6.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.
@@ -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 'username': string;
19
- readonly 'password': string;
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
 
@@ -2477,6 +2476,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
2477
2476
 
2478
2477
  declare namespace io.flow.RESERVED_WORD_return.v0.enums {
2479
2478
  type ReturnStatus = 'open' | 'refunded';
2479
+ 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';
2480
2480
  }
2481
2481
 
2482
2482
  declare namespace io.flow.RESERVED_WORD_return.v0.models {
@@ -2713,6 +2713,7 @@ declare namespace io.flow.stripe.v0.enums {
2713
2713
  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
2714
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
2715
2715
  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';
2716
+ type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_over_time';
2716
2717
  type KlarnaProduct = 'payment';
2717
2718
  type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
2718
2719
  type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
@@ -2971,7 +2972,7 @@ declare namespace io.flow.stripe.v0.models {
2971
2972
  }
2972
2973
 
2973
2974
  interface OrderItem {
2974
- readonly 'object': string;
2975
+ readonly 'object'?: string;
2975
2976
  readonly 'amount': number;
2976
2977
  readonly 'currency': string;
2977
2978
  readonly 'description'?: string;
@@ -3213,7 +3214,7 @@ declare namespace io.flow.stripe.v0.models {
3213
3214
 
3214
3215
  interface Shipping {
3215
3216
  readonly 'address': io.flow.stripe.v0.models.Address;
3216
- readonly 'name': string;
3217
+ readonly 'name'?: string;
3217
3218
  readonly 'phone'?: string;
3218
3219
  }
3219
3220
 
@@ -3236,6 +3237,7 @@ declare namespace io.flow.stripe.v0.models {
3236
3237
  readonly 'status': io.flow.stripe.v0.enums.SourceStatus;
3237
3238
  readonly 'type': io.flow.stripe.v0.enums.SourceType;
3238
3239
  readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
3240
+ readonly 'source_order'?: io.flow.stripe.v0.models.SourceOrder;
3239
3241
  }
3240
3242
 
3241
3243
  interface SourceCard {
@@ -3266,6 +3268,26 @@ declare namespace io.flow.stripe.v0.models {
3266
3268
  readonly 'first_name'?: string;
3267
3269
  readonly 'last_name'?: string;
3268
3270
  readonly 'client_token': string;
3271
+ readonly 'payment_method_categories'?: string;
3272
+ readonly 'purchase_country'?: string;
3273
+ readonly 'shipping_first_name'?: string;
3274
+ readonly 'shipping_last_name'?: string;
3275
+ readonly 'locale'?: string;
3276
+ readonly 'pay_later_name'?: string;
3277
+ readonly 'pay_later_asset_url_standard'?: string;
3278
+ readonly 'pay_later_asset_url_descriptive'?: string;
3279
+ readonly 'pay_now_name'?: string;
3280
+ readonly 'pay_now_asset_url_standard'?: string;
3281
+ readonly 'pay_now_asset_url_descriptive'?: string;
3282
+ readonly 'pay_over_time_name'?: string;
3283
+ readonly 'pay_over_time_asset_url_standard'?: string;
3284
+ readonly 'pay_over_time_asset_url_descriptive'?: string;
3285
+ readonly 'direct_bank_transfer_name'?: string;
3286
+ readonly 'direct_bank_transfer_asset_url_standard'?: string;
3287
+ readonly 'direct_bank_transfer_asset_url_descriptive'?: string;
3288
+ readonly 'direct_debit_name'?: string;
3289
+ readonly 'direct_debit_asset_url_standard'?: string;
3290
+ readonly 'direct_debit_asset_url_descriptive'?: string;
3269
3291
  }
3270
3292
 
3271
3293
  interface SourceKlarnaRequest {
@@ -3279,6 +3301,19 @@ declare namespace io.flow.stripe.v0.models {
3279
3301
  readonly 'locale'?: string;
3280
3302
  }
3281
3303
 
3304
+ interface SourceOrder {
3305
+ readonly 'amount'?: number;
3306
+ readonly 'currency'?: string;
3307
+ readonly 'email'?: string;
3308
+ readonly 'items'?: io.flow.stripe.v0.models.OrderItem[];
3309
+ readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
3310
+ }
3311
+
3312
+ interface SourceOrderRequest {
3313
+ readonly 'items'?: io.flow.stripe.v0.models.OrderItemRequest[];
3314
+ readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
3315
+ }
3316
+
3282
3317
  interface SourceRequest {
3283
3318
  readonly 'type'?: io.flow.stripe.v0.enums.SourceType;
3284
3319
  readonly 'amount'?: number;
@@ -3294,6 +3329,7 @@ declare namespace io.flow.stripe.v0.models {
3294
3329
  readonly 'three_d_secure'?: io.flow.stripe.v0.models.ThreeDSecure;
3295
3330
  readonly 'token'?: string;
3296
3331
  readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
3332
+ readonly 'source_order'?: io.flow.stripe.v0.models.SourceOrderRequest;
3297
3333
  }
3298
3334
 
3299
3335
  interface Stripe3Ds2Fingerprint {
@@ -6706,6 +6742,19 @@ declare namespace io.flow.payment.internal.v0.models {
6706
6742
  readonly 'id': string;
6707
6743
  }
6708
6744
 
6745
+ interface KlarnaAuthorizationParameters {
6746
+ readonly 'discriminator': 'klarna_authorization_parameters';
6747
+ readonly 'client_token': string;
6748
+ readonly 'payment_method_categories': io.flow.payment.internal.v0.models.KlarnaPaymentMethodCategory[];
6749
+ }
6750
+
6751
+ interface KlarnaPaymentMethodCategory {
6752
+ readonly 'id': string;
6753
+ readonly 'name'?: string;
6754
+ readonly 'standard_asset_url'?: string;
6755
+ readonly 'descriptive_asset_url'?: string;
6756
+ }
6757
+
6709
6758
  interface OnlineAuthorizationCompleted {
6710
6759
  readonly 'discriminator': 'online_authorization_completed';
6711
6760
  readonly 'id': string;
@@ -6976,6 +7025,7 @@ declare namespace io.flow.payment.internal.v0.models {
6976
7025
 
6977
7026
  declare namespace io.flow.payment.internal.v0.unions {
6978
7027
  type AuthorizationPayload = (io.flow.payment.internal.v0.models.ApplePaymentToken | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload);
7028
+ type InlineAuthorizationParameters = (io.flow.payment.internal.v0.models.KlarnaAuthorizationParameters);
6979
7029
  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
7030
  type InternalRefundForm = (io.flow.payment.internal.v0.models.AdyenRefundForm);
6981
7031
  type PaymentRedirect = (io.flow.payment.internal.v0.models.OnlineAuthorizationCompleted | io.flow.payment.internal.v0.models.RedirectActionCompleted);
@@ -9240,6 +9290,7 @@ declare namespace io.flow.marketing.gateway.v0.enums {
9240
9290
  type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
9241
9291
  type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
9242
9292
  type MarketingGatewayErrorCode = 'generic_error' | 'google_api_error' | 'facebook_api_error' | 'invalid_oauth_token_error';
9293
+ type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
9243
9294
  type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
9244
9295
  type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
9245
9296
  type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
@@ -9315,6 +9366,7 @@ declare namespace io.flow.marketing.gateway.v0.models {
9315
9366
  readonly 'datasources'?: io.flow.marketing.gateway.v0.models.MarketingGatewayProductDatasourceSummary[];
9316
9367
  readonly 'localized_feed_count'?: number;
9317
9368
  readonly 'connected_at'?: string;
9369
+ readonly 'token_summary'?: io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
9318
9370
  }
9319
9371
 
9320
9372
  interface MarketingGatewayFacebookConnection {
@@ -9322,6 +9374,15 @@ declare namespace io.flow.marketing.gateway.v0.models {
9322
9374
  readonly 'businesses': io.flow.marketing.gateway.v0.models.MarketingGatewayFacebookBusinessSummary[];
9323
9375
  }
9324
9376
 
9377
+ interface MarketingGatewayFacebookConnectionAccessTokenSummary {
9378
+ readonly 'catalog_id': number;
9379
+ readonly 'created_at': number;
9380
+ readonly 'expires_at'?: number;
9381
+ readonly 'user_id': string;
9382
+ readonly 'user_email'?: string;
9383
+ readonly 'token_status': io.flow.marketing.gateway.v0.enums.MarketingGatewayFacebookTokenStatus;
9384
+ }
9385
+
9325
9386
  interface MarketingGatewayFacebookConnectionDeauth {
9326
9387
  readonly 'user_id': number;
9327
9388
  }
@@ -9552,11 +9613,15 @@ declare namespace io.flow.label.internal.v0.enums {
9552
9613
  declare namespace io.flow.label.internal.v0.models {
9553
9614
  interface CarrierAccount {
9554
9615
  readonly 'id': string;
9555
- readonly 'organization_id': string;
9556
9616
  readonly 'carrier': io.flow.fulfillment.v0.models.CarrierReference;
9557
9617
  readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
9558
9618
  }
9559
9619
 
9620
+ interface CarrierAccountForm {
9621
+ readonly 'carrier_id': string;
9622
+ readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
9623
+ }
9624
+
9560
9625
  interface CarrierInvoice {
9561
9626
  readonly 'number': string;
9562
9627
  readonly 'timestamp': string;
@@ -10502,6 +10567,10 @@ declare namespace io.flow.harmonization.internal.v0.models {
10502
10567
  readonly 'hs6': string;
10503
10568
  readonly 'hs6_description': string;
10504
10569
  readonly 'url': string;
10570
+ readonly 'item_type': string;
10571
+ readonly 'material': string;
10572
+ readonly 'gender': string;
10573
+ readonly 'construction': string;
10505
10574
  }
10506
10575
 
10507
10576
  interface ClassificationItem {
@@ -15829,11 +15898,15 @@ declare namespace io.flow.internal.v0.models {
15829
15898
 
15830
15899
  interface CarrierAccount {
15831
15900
  readonly 'id': string;
15832
- readonly 'organization_id': string;
15833
15901
  readonly 'carrier': io.flow.fulfillment.v0.models.CarrierReference;
15834
15902
  readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
15835
15903
  }
15836
15904
 
15905
+ interface CarrierAccountForm {
15906
+ readonly 'carrier_id': string;
15907
+ readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
15908
+ }
15909
+
15837
15910
  interface CarrierAccountUpserted {
15838
15911
  readonly 'discriminator': 'carrier_account_upserted';
15839
15912
  readonly 'event_id': string;
@@ -17475,6 +17548,10 @@ declare namespace io.flow.internal.v0.models {
17475
17548
  readonly 'hs6': string;
17476
17549
  readonly 'hs6_description': string;
17477
17550
  readonly 'url': string;
17551
+ readonly 'item_type': string;
17552
+ readonly 'material': string;
17553
+ readonly 'gender': string;
17554
+ readonly 'construction': string;
17478
17555
  }
17479
17556
 
17480
17557
  interface ClassificationItem {
@@ -17832,11 +17909,10 @@ declare namespace io.flow.internal.v0.models {
17832
17909
 
17833
17910
  interface DhlEcommerce {
17834
17911
  readonly 'discriminator': 'dhl_ecommerce';
17835
- readonly 'username': string;
17836
- readonly 'password': string;
17837
- readonly 'client_id': string;
17838
- readonly 'pickup_account_number': string;
17912
+ readonly 'client_id_v4': string;
17913
+ readonly 'client_secret_v4': string;
17839
17914
  readonly 'distribution_center': string;
17915
+ readonly 'pickup_account_number': string;
17840
17916
  readonly 'pickup_name': string;
17841
17917
  }
17842
17918
 
@@ -19262,6 +19338,19 @@ declare namespace io.flow.internal.v0.models {
19262
19338
  readonly 'id': string;
19263
19339
  }
19264
19340
 
19341
+ interface KlarnaAuthorizationParameters {
19342
+ readonly 'discriminator': 'klarna_authorization_parameters';
19343
+ readonly 'client_token': string;
19344
+ readonly 'payment_method_categories': io.flow.internal.v0.models.KlarnaPaymentMethodCategory[];
19345
+ }
19346
+
19347
+ interface KlarnaPaymentMethodCategory {
19348
+ readonly 'id': string;
19349
+ readonly 'name'?: string;
19350
+ readonly 'standard_asset_url'?: string;
19351
+ readonly 'descriptive_asset_url'?: string;
19352
+ }
19353
+
19265
19354
  interface LabProjectSettings {
19266
19355
  readonly 'id': string;
19267
19356
  readonly 'flow_lab_project_key': string;
@@ -19679,6 +19768,7 @@ declare namespace io.flow.internal.v0.models {
19679
19768
  readonly 'datasources'?: io.flow.internal.v0.models.MarketingGatewayProductDatasourceSummary[];
19680
19769
  readonly 'localized_feed_count'?: number;
19681
19770
  readonly 'connected_at'?: string;
19771
+ readonly 'token_summary'?: io.flow.internal.v0.models.MarketingGatewayFacebookConnectionAccessTokenSummary;
19682
19772
  }
19683
19773
 
19684
19774
  interface MarketingGatewayFacebookConnection {
@@ -19691,7 +19781,7 @@ declare namespace io.flow.internal.v0.models {
19691
19781
  readonly 'created_at': number;
19692
19782
  readonly 'expires_at'?: number;
19693
19783
  readonly 'user_id': string;
19694
- readonly 'user_email': string;
19784
+ readonly 'user_email'?: string;
19695
19785
  readonly 'token_status': io.flow.internal.v0.enums.MarketingGatewayFacebookTokenStatus;
19696
19786
  }
19697
19787
 
@@ -22305,6 +22395,7 @@ declare namespace io.flow.internal.v0.unions {
22305
22395
  type FeatureValue = (io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue);
22306
22396
  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);
22307
22397
  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);
22398
+ type InlineAuthorizationParameters = (io.flow.internal.v0.models.KlarnaAuthorizationParameters);
22308
22399
  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);
22309
22400
  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);
22310
22401
  type InternalRefundForm = (io.flow.internal.v0.models.AdyenRefundForm);
@@ -22622,6 +22713,7 @@ export const browserBundlePaymentMethodForm: PropTypes.Requireable<io.flow.inter
22622
22713
  export const browserBundlePaymentMethods: PropTypes.Requireable<io.flow.internal.v0.models.BrowserBundlePaymentMethods>;
22623
22714
  export const calculatedTaxAmount: PropTypes.Requireable<io.flow.internal.v0.models.CalculatedTaxAmount>;
22624
22715
  export const carrierAccount: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccount>;
22716
+ export const carrierAccountForm: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccountForm>;
22625
22717
  export const carrierAccountUpserted: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccountUpserted>;
22626
22718
  export const carrierInvoice: PropTypes.Requireable<io.flow.internal.v0.models.CarrierInvoice>;
22627
22719
  export const catalogImportRequest: PropTypes.Requireable<io.flow.internal.v0.models.CatalogImportRequest>;
@@ -23153,6 +23245,8 @@ export const itemValuesForm: PropTypes.Requireable<io.flow.internal.v0.models.It
23153
23245
  export const itemsShipped: PropTypes.Requireable<io.flow.internal.v0.models.ItemsShipped>;
23154
23246
  export const key: PropTypes.Requireable<io.flow.internal.v0.models.Key>;
23155
23247
  export const keyReference: PropTypes.Requireable<io.flow.internal.v0.models.KeyReference>;
23248
+ export const klarnaAuthorizationParameters: PropTypes.Requireable<io.flow.internal.v0.models.KlarnaAuthorizationParameters>;
23249
+ export const klarnaPaymentMethodCategory: PropTypes.Requireable<io.flow.internal.v0.models.KlarnaPaymentMethodCategory>;
23156
23250
  export const labProjectSettings: PropTypes.Requireable<io.flow.internal.v0.models.LabProjectSettings>;
23157
23251
  export const labProjectSettingsForm: PropTypes.Requireable<io.flow.internal.v0.models.LabProjectSettingsForm>;
23158
23252
  export const labProjectSettingsFormAcceptance: PropTypes.Requireable<io.flow.internal.v0.models.LabProjectSettingsFormAcceptance>;
@@ -23631,6 +23725,7 @@ export const featureTaskData: PropTypes.Requireable<io.flow.internal.v0.unions.F
23631
23725
  export const featureValue: PropTypes.Requireable<io.flow.internal.v0.unions.FeatureValue>;
23632
23726
  export const globalSearchResult: PropTypes.Requireable<io.flow.internal.v0.unions.GlobalSearchResult>;
23633
23727
  export const indexTaskType: PropTypes.Requireable<io.flow.internal.v0.unions.IndexTaskType>;
23728
+ export const inlineAuthorizationParameters: PropTypes.Requireable<io.flow.internal.v0.unions.InlineAuthorizationParameters>;
23634
23729
  export const internalAuthorizationDetails: PropTypes.Requireable<io.flow.internal.v0.unions.InternalAuthorizationDetails>;
23635
23730
  export const internalHarmonizationStatistic: PropTypes.Requireable<io.flow.internal.v0.unions.InternalHarmonizationStatistic>;
23636
23731
  export const internalRefundForm: PropTypes.Requireable<io.flow.internal.v0.unions.InternalRefundForm>;