@flowio/types 11.24.9 → 11.24.10

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.
@@ -3807,9 +3807,9 @@ declare namespace io.flow.adyen.v0.enums {
3807
3807
  type Contract = 'RECURRING';
3808
3808
  type DeviceChannel = 'app' | 'browser';
3809
3809
  type EventCode = 'AUTHORISATION' | 'CANCELLATION' | 'REFUND' | 'CANCEL_OR_REFUND' | 'CAPTURE' | 'CAPTURE_FAILED' | 'REFUND_FAILED' | 'REFUNDED_REVERSED' | 'PAIDOUT_REVERSED' | 'REQUEST_FOR_INFORMATION' | 'CHARGEBACK' | 'CHARGEBACK_REVERSED' | 'NOTIFICATION_OF_CHARGEBACK' | 'NOTIFICATION_OF_FRAUD' | 'MANUAL_REVIEW_ACCEPT' | 'MANUAL_REVIEW_REJECT' | 'RECURRING_CONTRACT' | 'PAYOUT_EXPIRE' | 'PAYOUT_DECLINE' | 'PAYOUT_THIRDPARTY' | 'REFUND_WITH_DATA' | 'AUTHORISE_REFERRAL' | 'EXPIRE' | 'FRAUD_ONLY' | 'FUND_TRANSFER' | 'HANDLED_EXTERNALLY' | 'OFFER_CLOSED' | 'ORDER_OPENED' | 'ORDER_CLOSED' | 'PENDING' | 'PROCESS_RETRY' | 'REPORT_AVAILABLE' | 'SECOND_CHARGEBACK' | 'PREARBITRATION_WON' | 'PREARBITRATION_LOST';
3810
- type HttpRedirectMethod = 'GET' | 'POST';
3810
+ type Method = 'GET' | 'POST';
3811
3811
  type Operation = 'cancel' | 'capture' | 'refund';
3812
- type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
3812
+ type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
3813
3813
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
3814
3814
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
3815
3815
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -3828,10 +3828,6 @@ declare namespace io.flow.adyen.v0.models {
3828
3828
  readonly value: number;
3829
3829
  readonly currency: string;
3830
3830
  }
3831
- interface Applepay {
3832
- readonly type: 'applepay';
3833
- readonly applePayToken: string;
3834
- }
3835
3831
  interface Authentication {
3836
3832
  readonly 'threeds2.fingerprintToken'?: string;
3837
3833
  readonly 'threeds2.challengeToken'?: string;
@@ -3858,8 +3854,6 @@ declare namespace io.flow.adyen.v0.models {
3858
3854
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3859
3855
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
3860
3856
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
3861
- readonly mcc?: string;
3862
- readonly metadata?: any;
3863
3857
  }
3864
3858
  interface AuthorizeRequest3D {
3865
3859
  readonly merchantAccount: string;
@@ -3993,12 +3987,6 @@ declare namespace io.flow.adyen.v0.models {
3993
3987
  readonly details: any;
3994
3988
  readonly paymentData?: string;
3995
3989
  }
3996
- interface PaymentDetailsV663Ds2Challenge {
3997
- readonly 'threeds2.challengeResult': string;
3998
- }
3999
- interface PaymentDetailsV663Ds2Fingerprint {
4000
- readonly 'threeds2.fingerprint': string;
4001
- }
4002
3990
  interface PaymentRequest {
4003
3991
  readonly reference: string;
4004
3992
  readonly merchantAccount: string;
@@ -4020,11 +4008,7 @@ declare namespace io.flow.adyen.v0.models {
4020
4008
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4021
4009
  readonly origin?: string;
4022
4010
  readonly channel?: io.flow.adyen.v0.enums.Channel;
4023
- readonly returnUrl?: string;
4024
- readonly mcc?: string;
4025
- readonly metadata?: any;
4026
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4027
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4011
+ readonly returnURL?: string;
4028
4012
  }
4029
4013
  interface PaymentResponse {
4030
4014
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -4045,35 +4029,13 @@ declare namespace io.flow.adyen.v0.models {
4045
4029
  readonly threeDAuthenticatedResponse?: string;
4046
4030
  readonly threeDOffered?: string;
4047
4031
  readonly threeDOfferedResponse?: string;
4048
- readonly threeDSVersion?: string;
4049
- readonly eci?: string;
4050
- readonly scaExemptionRequested?: string;
4051
- readonly paymentMethod?: string;
4052
- readonly paymentMethodVariant?: string;
4053
- readonly tokenTxVariant?: string;
4054
- readonly acquirerCode?: string;
4055
- readonly acquirerAccountCode?: string;
4056
- readonly cardPaymentMethod?: string;
4057
- readonly coBrandedWith?: string;
4058
- readonly cardIssuingCountry?: string;
4059
- readonly cardIssuingCurrency?: string;
4060
- readonly cardIssuingBank?: string;
4061
- readonly cardBin?: string;
4062
- readonly issuerBin?: string;
4063
- readonly cardSummary?: string;
4064
- readonly untokenisedCardSummary?: string;
4065
- readonly ownerName?: string;
4066
- readonly bankName?: string;
4067
- readonly issuerCountry?: string;
4068
- readonly iban?: string;
4069
- readonly bic?: string;
4070
4032
  }
4071
4033
  interface Recurring {
4072
4034
  readonly contract: io.flow.adyen.v0.enums.Contract;
4073
4035
  }
4074
4036
  interface Redirect {
4075
4037
  readonly data?: io.flow.adyen.v0.models.RedirectData;
4076
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4038
+ readonly method?: io.flow.adyen.v0.enums.Method;
4077
4039
  readonly url?: string;
4078
4040
  }
4079
4041
  interface RedirectData {
@@ -4094,13 +4056,6 @@ declare namespace io.flow.adyen.v0.models {
4094
4056
  readonly number: string;
4095
4057
  readonly cvc?: string;
4096
4058
  }
4097
- interface SdkV3OnCompleteData {
4098
- readonly details: any;
4099
- readonly payment_data?: string;
4100
- }
4101
- interface SdkV3OnCompleteResult {
4102
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4103
- }
4104
4059
  interface ThreeDSecureData {
4105
4060
  readonly authenticationResponse?: string;
4106
4061
  readonly cavv?: string;
@@ -4126,7 +4081,7 @@ declare namespace io.flow.adyen.v0.models {
4126
4081
  }
4127
4082
  declare namespace io.flow.adyen.v0.unions {
4128
4083
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
4129
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4084
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
4130
4085
  }
4131
4086
  declare namespace io.flow.order.management.v0.enums {
4132
4087
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -10078,6 +10033,10 @@ declare namespace io.flow.internal.v0.models {
10078
10033
  readonly id: string;
10079
10034
  readonly currency: string;
10080
10035
  }
10036
+ interface AccountSettingLabelFees {
10037
+ readonly flow?: io.flow.internal.v0.models.TieredFee;
10038
+ readonly organization?: io.flow.internal.v0.models.TieredFee;
10039
+ }
10081
10040
  interface AccountSettings {
10082
10041
  readonly id: string;
10083
10042
  readonly days_until_posted: number;
@@ -10092,7 +10051,7 @@ declare namespace io.flow.internal.v0.models {
10092
10051
  readonly duty_guarantee_fee?: number;
10093
10052
  readonly transfer_fee?: number;
10094
10053
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
10095
- readonly label_fee?: io.flow.internal.v0.models.TieredFee;
10054
+ readonly label_fees?: io.flow.internal.v0.models.AccountSettingLabelFees;
10096
10055
  readonly charge_label_cost_directly: boolean;
10097
10056
  readonly transaction_posting_method: io.flow.internal.v0.enums.TransactionPostingMethod;
10098
10057
  readonly statement_transfer_transaction_location: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
@@ -15780,6 +15739,7 @@ declare namespace io.flow.internal.v0.models {
15780
15739
  readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
15781
15740
  }
15782
15741
  interface LabelCreationRequestForm {
15742
+ readonly organization: string;
15783
15743
  readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
15784
15744
  readonly shipment_cost?: io.flow.common.v0.models.Money;
15785
15745
  readonly reference_id?: string;
@@ -19169,6 +19129,7 @@ export declare type AccountProcessingRatesDeleted = io.flow.internal.v0.models.A
19169
19129
  export declare type AccountProcessingRatesForm = io.flow.internal.v0.models.AccountProcessingRatesForm;
19170
19130
  export declare type AccountProcessingRatesUpserted = io.flow.internal.v0.models.AccountProcessingRatesUpserted;
19171
19131
  export declare type AccountReference = io.flow.internal.v0.models.AccountReference;
19132
+ export declare type AccountSettingLabelFees = io.flow.internal.v0.models.AccountSettingLabelFees;
19172
19133
  export declare type AccountSettings = io.flow.internal.v0.models.AccountSettings;
19173
19134
  export declare type AccountSettingsDeleted = io.flow.internal.v0.models.AccountSettingsDeleted;
19174
19135
  export declare type AccountSettingsUpserted = io.flow.internal.v0.models.AccountSettingsUpserted;
package/dist/api.d.ts CHANGED
@@ -2247,7 +2247,7 @@ declare namespace io.flow.v0.enums {
2247
2247
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
2248
2248
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
2249
2249
  type ExporterOfRecord = 'flow' | 'organization';
2250
- type FeeDeductionType = 'mor' | 'fx' | 'processing' | 'rate_lock' | 'duty_guarantee' | 'revenue_share';
2250
+ type FeeDeductionType = 'mor' | 'fx' | 'processing' | 'rate_lock' | 'duty_guarantee' | 'revenue_share' | 'transfer';
2251
2251
  type FlowBehavior = 'view_consumer_data';
2252
2252
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
2253
2253
  type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
@@ -2283,8 +2283,7 @@ declare namespace io.flow.v0.enums {
2283
2283
  type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
2284
2284
  type MerchantOfRecord = 'flow' | 'organization';
2285
2285
  type Method = 'post';
2286
- type OnboardingDangerousGoods = 'aerosols' | 'air_bag_inflators_or_seat_belt_pretensioners' | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume' | 'batteries' | 'carbon_dioxide_or_dry_ice' | 'corrosives' | 'cannabidiol_products' | 'cologne_or_perfume' | 'currency_or_gift_cards_or_monetary_instruments' | 'exotic_leather_goods' | 'environmental_waste' | 'explosives_or_ammunition' | 'flammable_liquids' | 'gases' | 'hazardous_or_combustible_materials' | 'infectious_or_biological_substances' | 'knives' | 'matches_or_lighter_or_lighter_refills' | 'nail_polish' | 'oxidizing_materials_or_organic_peroxides' | 'pornography' | 'prohibited_carriage' | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
2287
- type OnboardingTradeSector = 'apparel_and_accessories' | 'beauty_and_cosmetics' | 'electronics' | 'food_or_perishables' | 'jewellery_and_watches' | 'paper_and_art' | 'sports_and_fitness' | 'toys_hobbies_gifts' | 'other';
2286
+ type OnboardingTradeSector = 'apparel' | 'accessories' | 'arts_and_entertainment' | 'animals_and_pet_supplies' | 'baby_and_toddler' | 'business_and_industrial' | 'camera_and_optics' | 'electronics' | 'furniture' | 'food_beverages_and_tobacco' | 'health_and_beauty' | 'home_and_garden' | 'hardware' | 'jewelry' | 'luggage_and_bags' | 'media' | 'office_supplies' | 'sporting_goods' | 'toys_and_games' | 'vehicles_and_parts' | 'paper_and_art' | 'sports_and_fitness' | 'toys_hobbies_gifts' | 'other';
2288
2287
  type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
2289
2288
  type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
2290
2289
  type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
@@ -6298,6 +6297,12 @@ declare namespace io.flow.v0.models {
6298
6297
  readonly payment_id: string;
6299
6298
  readonly key?: string;
6300
6299
  }
6300
+ interface OperationsContact {
6301
+ readonly full_name?: string;
6302
+ readonly company?: string;
6303
+ readonly email?: string;
6304
+ readonly phone?: string;
6305
+ }
6301
6306
  interface OptinResponse {
6302
6307
  readonly key: string;
6303
6308
  readonly value: io.flow.v0.enums.OptinResponseType;
@@ -7977,6 +7982,11 @@ declare namespace io.flow.v0.models {
7977
7982
  readonly max_date: string;
7978
7983
  readonly source: io.flow.v0.enums.DeliveryWindowComponentSource;
7979
7984
  }
7985
+ interface ProductRestrictionResult {
7986
+ readonly product_id: string;
7987
+ readonly item_numbers: string[];
7988
+ readonly prohibited_regions: string[];
7989
+ }
7980
7990
  interface PromotionTrigger {
7981
7991
  readonly type: io.flow.v0.enums.PromotionTriggerType;
7982
7992
  readonly min: io.flow.v0.models.Price;
@@ -9287,9 +9297,10 @@ declare namespace io.flow.v0.models {
9287
9297
  readonly average_order_weight?: number;
9288
9298
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
9289
9299
  readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
9290
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
9300
+ readonly dangerous_goods?: boolean;
9291
9301
  readonly default_country_of_origin?: string;
9292
9302
  readonly ratecard?: io.flow.v0.models.RatecardReference;
9303
+ readonly rate_card: string;
9293
9304
  readonly created_at: string;
9294
9305
  }
9295
9306
  interface ShopifyMerchantApplicationForm {
@@ -9313,9 +9324,10 @@ declare namespace io.flow.v0.models {
9313
9324
  readonly monthly_average_volume_amount?: number;
9314
9325
  readonly monthly_average_volume_currency?: string;
9315
9326
  readonly monthly_average_number_transactions?: number;
9316
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
9327
+ readonly dangerous_goods?: boolean;
9317
9328
  readonly default_country_of_origin?: string;
9318
9329
  readonly ratecard_id?: string;
9330
+ readonly rate_card: string;
9319
9331
  }
9320
9332
  interface ShopifyOrderAttributesForm {
9321
9333
  readonly attributes: Record<string, string>;
@@ -9724,10 +9736,10 @@ declare namespace io.flow.v0.models {
9724
9736
  interface ThirdPartyLogisticsPartner {
9725
9737
  readonly warehouse_address: io.flow.v0.models.BillingAddress;
9726
9738
  readonly warehouse_url?: string;
9727
- readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
9728
- readonly pickup_location: io.flow.v0.models.BillingAddress;
9739
+ readonly third_party_logistics_pick_up_time_window?: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
9740
+ readonly pickup_location?: io.flow.v0.models.BillingAddress;
9729
9741
  readonly pickup_instructions?: string;
9730
- readonly operations_contact: io.flow.v0.models.Contact;
9742
+ readonly operations_contact: io.flow.v0.models.OperationsContact;
9731
9743
  }
9732
9744
  interface ThirdPartyLogisticsPickUpTimeWindow {
9733
9745
  readonly from: string;
@@ -11084,13 +11096,13 @@ export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInvent
11084
11096
  export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
11085
11097
  export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
11086
11098
  export declare type NumberRange = io.flow.v0.models.NumberRange;
11087
- export declare type OnboardingDangerousGoods = io.flow.v0.enums.OnboardingDangerousGoods;
11088
11099
  export declare type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
11089
11100
  export declare type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
11090
11101
  export declare type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
11091
11102
  export declare type OnlineAuthorizationDetails = io.flow.v0.unions.OnlineAuthorizationDetails;
11092
11103
  export declare type OnlineAuthorizationUpsertedV2 = io.flow.v0.models.OnlineAuthorizationUpsertedV2;
11093
11104
  export declare type OnlinePaymentAuthorizationForm = io.flow.v0.models.OnlinePaymentAuthorizationForm;
11105
+ export declare type OperationsContact = io.flow.v0.models.OperationsContact;
11094
11106
  export declare type OptinResponse = io.flow.v0.models.OptinResponse;
11095
11107
  export declare type OptinResponseType = io.flow.v0.enums.OptinResponseType;
11096
11108
  export declare type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
@@ -11430,6 +11442,7 @@ export declare type PricingSettings = io.flow.v0.models.PricingSettings;
11430
11442
  export declare type PricingUpserted = io.flow.v0.models.PricingUpserted;
11431
11443
  export declare type PricingVersion = io.flow.v0.models.PricingVersion;
11432
11444
  export declare type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
11445
+ export declare type ProductRestrictionResult = io.flow.v0.models.ProductRestrictionResult;
11433
11446
  export declare type Promotion = io.flow.v0.unions.Promotion;
11434
11447
  export declare type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
11435
11448
  export declare type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.9",
3
+ "version": "11.24.10",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "2c34ff8301880723d58bb85263b4fdd12a908540"
28
+ "gitHead": "9176bb305b5a70b64d475b5fe444933884351215"
29
29
  }
@@ -5154,7 +5154,7 @@ declare namespace io.flow.adyen.v0.enums {
5154
5154
  | 'SECOND_CHARGEBACK'
5155
5155
  | 'PREARBITRATION_WON'
5156
5156
  | 'PREARBITRATION_LOST';
5157
- type HttpRedirectMethod = 'GET' | 'POST';
5157
+ type Method = 'GET' | 'POST';
5158
5158
  type Operation = 'cancel' | 'capture' | 'refund';
5159
5159
  type PaymentMethod =
5160
5160
  | 'ach'
@@ -5163,7 +5163,6 @@ declare namespace io.flow.adyen.v0.enums {
5163
5163
  | 'amex'
5164
5164
  | 'bankTransfer_IBAN'
5165
5165
  | 'bcmc'
5166
- | 'bcmc_mobile'
5167
5166
  | 'cartebancaire'
5168
5167
  | 'cup'
5169
5168
  | 'diners'
@@ -5226,11 +5225,6 @@ declare namespace io.flow.adyen.v0.models {
5226
5225
  readonly currency: string;
5227
5226
  }
5228
5227
 
5229
- interface Applepay {
5230
- readonly type: 'applepay';
5231
- readonly applePayToken: string;
5232
- }
5233
-
5234
5228
  interface Authentication {
5235
5229
  readonly 'threeds2.fingerprintToken'?: string;
5236
5230
  readonly 'threeds2.challengeToken'?: string;
@@ -5258,8 +5252,6 @@ declare namespace io.flow.adyen.v0.models {
5258
5252
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5259
5253
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
5260
5254
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5261
- readonly mcc?: string;
5262
- readonly metadata?: any /*object*/;
5263
5255
  }
5264
5256
 
5265
5257
  interface AuthorizeRequest3D {
@@ -5416,14 +5408,6 @@ declare namespace io.flow.adyen.v0.models {
5416
5408
  readonly paymentData?: string;
5417
5409
  }
5418
5410
 
5419
- interface PaymentDetailsV663Ds2Challenge {
5420
- readonly 'threeds2.challengeResult': string;
5421
- }
5422
-
5423
- interface PaymentDetailsV663Ds2Fingerprint {
5424
- readonly 'threeds2.fingerprint': string;
5425
- }
5426
-
5427
5411
  interface PaymentRequest {
5428
5412
  readonly reference: string;
5429
5413
  readonly merchantAccount: string;
@@ -5445,11 +5429,7 @@ declare namespace io.flow.adyen.v0.models {
5445
5429
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5446
5430
  readonly origin?: string;
5447
5431
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5448
- readonly returnUrl?: string;
5449
- readonly mcc?: string;
5450
- readonly metadata?: any /*object*/;
5451
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5452
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5432
+ readonly returnURL?: string;
5453
5433
  }
5454
5434
 
5455
5435
  interface PaymentResponse {
@@ -5472,28 +5452,6 @@ declare namespace io.flow.adyen.v0.models {
5472
5452
  readonly threeDAuthenticatedResponse?: string;
5473
5453
  readonly threeDOffered?: string;
5474
5454
  readonly threeDOfferedResponse?: string;
5475
- readonly threeDSVersion?: string;
5476
- readonly eci?: string;
5477
- readonly scaExemptionRequested?: string;
5478
- readonly paymentMethod?: string;
5479
- readonly paymentMethodVariant?: string;
5480
- readonly tokenTxVariant?: string;
5481
- readonly acquirerCode?: string;
5482
- readonly acquirerAccountCode?: string;
5483
- readonly cardPaymentMethod?: string;
5484
- readonly coBrandedWith?: string;
5485
- readonly cardIssuingCountry?: string;
5486
- readonly cardIssuingCurrency?: string;
5487
- readonly cardIssuingBank?: string;
5488
- readonly cardBin?: string;
5489
- readonly issuerBin?: string;
5490
- readonly cardSummary?: string;
5491
- readonly untokenisedCardSummary?: string;
5492
- readonly ownerName?: string;
5493
- readonly bankName?: string;
5494
- readonly issuerCountry?: string;
5495
- readonly iban?: string;
5496
- readonly bic?: string;
5497
5455
  }
5498
5456
 
5499
5457
  interface Recurring {
@@ -5502,7 +5460,7 @@ declare namespace io.flow.adyen.v0.models {
5502
5460
 
5503
5461
  interface Redirect {
5504
5462
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5505
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5463
+ readonly method?: io.flow.adyen.v0.enums.Method;
5506
5464
  readonly url?: string;
5507
5465
  }
5508
5466
 
@@ -5527,15 +5485,6 @@ declare namespace io.flow.adyen.v0.models {
5527
5485
  readonly cvc?: string;
5528
5486
  }
5529
5487
 
5530
- interface SdkV3OnCompleteData {
5531
- readonly details: any /*object*/;
5532
- readonly payment_data?: string;
5533
- }
5534
-
5535
- interface SdkV3OnCompleteResult {
5536
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5537
- }
5538
-
5539
5488
  interface ThreeDSecureData {
5540
5489
  readonly authenticationResponse?: string;
5541
5490
  readonly cavv?: string;
@@ -5567,9 +5516,7 @@ declare namespace io.flow.adyen.v0.unions {
5567
5516
  type BrowserInfo =
5568
5517
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5569
5518
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5570
- type PaymentMethodData =
5571
- | io.flow.adyen.v0.models.Scheme
5572
- | io.flow.adyen.v0.models.Applepay;
5519
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5573
5520
  }
5574
5521
 
5575
5522
  declare namespace io.flow.order.management.v0.enums {
@@ -13799,6 +13746,11 @@ declare namespace io.flow.internal.v0.models {
13799
13746
  readonly currency: string;
13800
13747
  }
13801
13748
 
13749
+ interface AccountSettingLabelFees {
13750
+ readonly flow?: io.flow.internal.v0.models.TieredFee;
13751
+ readonly organization?: io.flow.internal.v0.models.TieredFee;
13752
+ }
13753
+
13802
13754
  interface AccountSettings {
13803
13755
  readonly id: string;
13804
13756
  readonly days_until_posted: number;
@@ -13813,7 +13765,7 @@ declare namespace io.flow.internal.v0.models {
13813
13765
  readonly duty_guarantee_fee?: number;
13814
13766
  readonly transfer_fee?: number;
13815
13767
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
13816
- readonly label_fee?: io.flow.internal.v0.models.TieredFee;
13768
+ readonly label_fees?: io.flow.internal.v0.models.AccountSettingLabelFees;
13817
13769
  readonly charge_label_cost_directly: boolean;
13818
13770
  readonly transaction_posting_method: io.flow.internal.v0.enums.TransactionPostingMethod;
13819
13771
  readonly statement_transfer_transaction_location: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
@@ -20484,6 +20436,7 @@ declare namespace io.flow.internal.v0.models {
20484
20436
  }
20485
20437
 
20486
20438
  interface LabelCreationRequestForm {
20439
+ readonly organization: string;
20487
20440
  readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
20488
20441
  readonly shipment_cost?: io.flow.common.v0.models.Money;
20489
20442
  readonly reference_id?: string;
@@ -25160,6 +25113,8 @@ export type AccountProcessingRatesForm =
25160
25113
  export type AccountProcessingRatesUpserted =
25161
25114
  io.flow.internal.v0.models.AccountProcessingRatesUpserted;
25162
25115
  export type AccountReference = io.flow.internal.v0.models.AccountReference;
25116
+ export type AccountSettingLabelFees =
25117
+ io.flow.internal.v0.models.AccountSettingLabelFees;
25163
25118
  export type AccountSettings = io.flow.internal.v0.models.AccountSettings;
25164
25119
  export type AccountSettingsDeleted =
25165
25120
  io.flow.internal.v0.models.AccountSettingsDeleted;
package/src/api.ts CHANGED
@@ -3185,7 +3185,8 @@ declare namespace io.flow.v0.enums {
3185
3185
  | 'processing'
3186
3186
  | 'rate_lock'
3187
3187
  | 'duty_guarantee'
3188
- | 'revenue_share';
3188
+ | 'revenue_share'
3189
+ | 'transfer';
3189
3190
  type FlowBehavior = 'view_consumer_data';
3190
3191
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
3191
3192
  type FlowRole =
@@ -3272,36 +3273,27 @@ declare namespace io.flow.v0.enums {
3272
3273
  | 'unsupported_currency';
3273
3274
  type MerchantOfRecord = 'flow' | 'organization';
3274
3275
  type Method = 'post';
3275
- type OnboardingDangerousGoods =
3276
- | 'aerosols'
3277
- | 'air_bag_inflators_or_seat_belt_pretensioners'
3278
- | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume'
3279
- | 'batteries'
3280
- | 'carbon_dioxide_or_dry_ice'
3281
- | 'corrosives'
3282
- | 'cannabidiol_products'
3283
- | 'cologne_or_perfume'
3284
- | 'currency_or_gift_cards_or_monetary_instruments'
3285
- | 'exotic_leather_goods'
3286
- | 'environmental_waste'
3287
- | 'explosives_or_ammunition'
3288
- | 'flammable_liquids'
3289
- | 'gases'
3290
- | 'hazardous_or_combustible_materials'
3291
- | 'infectious_or_biological_substances'
3292
- | 'knives'
3293
- | 'matches_or_lighter_or_lighter_refills'
3294
- | 'nail_polish'
3295
- | 'oxidizing_materials_or_organic_peroxides'
3296
- | 'pornography'
3297
- | 'prohibited_carriage'
3298
- | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
3299
3276
  type OnboardingTradeSector =
3300
- | 'apparel_and_accessories'
3301
- | 'beauty_and_cosmetics'
3277
+ | 'apparel'
3278
+ | 'accessories'
3279
+ | 'arts_and_entertainment'
3280
+ | 'animals_and_pet_supplies'
3281
+ | 'baby_and_toddler'
3282
+ | 'business_and_industrial'
3283
+ | 'camera_and_optics'
3302
3284
  | 'electronics'
3303
- | 'food_or_perishables'
3304
- | 'jewellery_and_watches'
3285
+ | 'furniture'
3286
+ | 'food_beverages_and_tobacco'
3287
+ | 'health_and_beauty'
3288
+ | 'home_and_garden'
3289
+ | 'hardware'
3290
+ | 'jewelry'
3291
+ | 'luggage_and_bags'
3292
+ | 'media'
3293
+ | 'office_supplies'
3294
+ | 'sporting_goods'
3295
+ | 'toys_and_games'
3296
+ | 'vehicles_and_parts'
3305
3297
  | 'paper_and_art'
3306
3298
  | 'sports_and_fitness'
3307
3299
  | 'toys_hobbies_gifts'
@@ -8265,6 +8257,13 @@ declare namespace io.flow.v0.models {
8265
8257
  readonly key?: string;
8266
8258
  }
8267
8259
 
8260
+ interface OperationsContact {
8261
+ readonly full_name?: string;
8262
+ readonly company?: string;
8263
+ readonly email?: string;
8264
+ readonly phone?: string;
8265
+ }
8266
+
8268
8267
  interface OptinResponse {
8269
8268
  readonly key: string;
8270
8269
  readonly value: io.flow.v0.enums.OptinResponseType;
@@ -10232,6 +10231,12 @@ declare namespace io.flow.v0.models {
10232
10231
  readonly source: io.flow.v0.enums.DeliveryWindowComponentSource;
10233
10232
  }
10234
10233
 
10234
+ interface ProductRestrictionResult {
10235
+ readonly product_id: string;
10236
+ readonly item_numbers: string[];
10237
+ readonly prohibited_regions: string[];
10238
+ }
10239
+
10235
10240
  interface PromotionTrigger {
10236
10241
  readonly type: io.flow.v0.enums.PromotionTriggerType;
10237
10242
  readonly min: io.flow.v0.models.Price;
@@ -11747,9 +11752,10 @@ declare namespace io.flow.v0.models {
11747
11752
  readonly average_order_weight?: number;
11748
11753
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
11749
11754
  readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
11750
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
11755
+ readonly dangerous_goods?: boolean;
11751
11756
  readonly default_country_of_origin?: string;
11752
11757
  readonly ratecard?: io.flow.v0.models.RatecardReference;
11758
+ readonly rate_card: string;
11753
11759
  readonly created_at: string;
11754
11760
  }
11755
11761
 
@@ -11774,9 +11780,10 @@ declare namespace io.flow.v0.models {
11774
11780
  readonly monthly_average_volume_amount?: number;
11775
11781
  readonly monthly_average_volume_currency?: string;
11776
11782
  readonly monthly_average_number_transactions?: number;
11777
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
11783
+ readonly dangerous_goods?: boolean;
11778
11784
  readonly default_country_of_origin?: string;
11779
11785
  readonly ratecard_id?: string;
11786
+ readonly rate_card: string;
11780
11787
  }
11781
11788
 
11782
11789
  interface ShopifyOrderAttributesForm {
@@ -12252,10 +12259,10 @@ declare namespace io.flow.v0.models {
12252
12259
  interface ThirdPartyLogisticsPartner {
12253
12260
  readonly warehouse_address: io.flow.v0.models.BillingAddress;
12254
12261
  readonly warehouse_url?: string;
12255
- readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
12256
- readonly pickup_location: io.flow.v0.models.BillingAddress;
12262
+ readonly third_party_logistics_pick_up_time_window?: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
12263
+ readonly pickup_location?: io.flow.v0.models.BillingAddress;
12257
12264
  readonly pickup_instructions?: string;
12258
- readonly operations_contact: io.flow.v0.models.Contact;
12265
+ readonly operations_contact: io.flow.v0.models.OperationsContact;
12259
12266
  }
12260
12267
 
12261
12268
  interface ThirdPartyLogisticsPickUpTimeWindow {
@@ -14313,8 +14320,6 @@ export type NoInventoryReservationErrorItem =
14313
14320
  export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
14314
14321
  export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
14315
14322
  export type NumberRange = io.flow.v0.models.NumberRange;
14316
- export type OnboardingDangerousGoods =
14317
- io.flow.v0.enums.OnboardingDangerousGoods;
14318
14323
  export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
14319
14324
  export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
14320
14325
  export type OnlineAuthorizationDeletedV2 =
@@ -14325,6 +14330,7 @@ export type OnlineAuthorizationUpsertedV2 =
14325
14330
  io.flow.v0.models.OnlineAuthorizationUpsertedV2;
14326
14331
  export type OnlinePaymentAuthorizationForm =
14327
14332
  io.flow.v0.models.OnlinePaymentAuthorizationForm;
14333
+ export type OperationsContact = io.flow.v0.models.OperationsContact;
14328
14334
  export type OptinResponse = io.flow.v0.models.OptinResponse;
14329
14335
  export type OptinResponseType = io.flow.v0.enums.OptinResponseType;
14330
14336
  export type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
@@ -14768,6 +14774,8 @@ export type PricingSettings = io.flow.v0.models.PricingSettings;
14768
14774
  export type PricingUpserted = io.flow.v0.models.PricingUpserted;
14769
14775
  export type PricingVersion = io.flow.v0.models.PricingVersion;
14770
14776
  export type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
14777
+ export type ProductRestrictionResult =
14778
+ io.flow.v0.models.ProductRestrictionResult;
14771
14779
  export type Promotion = io.flow.v0.unions.Promotion;
14772
14780
  export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
14773
14781
  export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;