@flowio/types 11.23.2 → 11.23.3
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/dist/api-internal.d.ts +38 -13
- package/dist/api.d.ts +150 -1
- package/package.json +2 -2
- package/src/api-internal.ts +47 -14
- package/src/api.ts +209 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -520,13 +520,6 @@ declare namespace io.flow.common.v0.models {
|
|
|
520
520
|
readonly interval: number;
|
|
521
521
|
readonly days: number[];
|
|
522
522
|
}
|
|
523
|
-
interface RepeatMonthlyOnSpecificDaysOfWeek {
|
|
524
|
-
readonly discriminator: 'repeat_monthly_on_specific_days_of_week';
|
|
525
|
-
readonly week1: io.flow.common.v0.enums.DayOfWeek[];
|
|
526
|
-
readonly week2: io.flow.common.v0.enums.DayOfWeek[];
|
|
527
|
-
readonly week3: io.flow.common.v0.enums.DayOfWeek[];
|
|
528
|
-
readonly week4: io.flow.common.v0.enums.DayOfWeek[];
|
|
529
|
-
}
|
|
530
523
|
interface RepeatWeekly {
|
|
531
524
|
readonly discriminator: 'repeat_weekly';
|
|
532
525
|
readonly interval: number;
|
|
@@ -571,7 +564,7 @@ declare namespace io.flow.common.v0.unions {
|
|
|
571
564
|
type ExpandableUser = io.flow.common.v0.models.User | io.flow.common.v0.models.UserReference;
|
|
572
565
|
type InputSpecificationLimitation = io.flow.common.v0.models.InputSpecificationLimitationMax;
|
|
573
566
|
type PriceSource = io.flow.common.v0.models.PriceSourcePriceBook | io.flow.common.v0.models.PriceSourceCatalog | io.flow.common.v0.models.PriceSourceProvided;
|
|
574
|
-
type RepeatSchedule = io.flow.common.v0.models.RepeatHourly | io.flow.common.v0.models.RepeatDaily | io.flow.common.v0.models.RepeatWeekly | io.flow.common.v0.models.RepeatMonthly
|
|
567
|
+
type RepeatSchedule = io.flow.common.v0.models.RepeatHourly | io.flow.common.v0.models.RepeatDaily | io.flow.common.v0.models.RepeatWeekly | io.flow.common.v0.models.RepeatMonthly;
|
|
575
568
|
}
|
|
576
569
|
declare namespace io.flow.experience.v0.enums {
|
|
577
570
|
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number';
|
|
@@ -4713,7 +4706,7 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
4713
4706
|
type Contract = 'RECURRING';
|
|
4714
4707
|
type DeviceChannel = 'app' | 'browser';
|
|
4715
4708
|
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';
|
|
4716
|
-
type
|
|
4709
|
+
type HttpRedirectMethod = 'GET' | 'POST';
|
|
4717
4710
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
4718
4711
|
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';
|
|
4719
4712
|
type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
|
|
@@ -4734,6 +4727,10 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4734
4727
|
readonly value: number;
|
|
4735
4728
|
readonly currency: string;
|
|
4736
4729
|
}
|
|
4730
|
+
interface Applepay {
|
|
4731
|
+
readonly type: 'applepay';
|
|
4732
|
+
readonly applePayToken: string;
|
|
4733
|
+
}
|
|
4737
4734
|
interface Authentication {
|
|
4738
4735
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
4739
4736
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -4760,6 +4757,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4760
4757
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
4761
4758
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
4762
4759
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
4760
|
+
readonly mcc?: string;
|
|
4761
|
+
readonly metadata?: any;
|
|
4763
4762
|
}
|
|
4764
4763
|
interface AuthorizeRequest3D {
|
|
4765
4764
|
readonly merchantAccount: string;
|
|
@@ -4893,6 +4892,12 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4893
4892
|
readonly details: any;
|
|
4894
4893
|
readonly paymentData?: string;
|
|
4895
4894
|
}
|
|
4895
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
4896
|
+
readonly 'threeds2.challengeResult': string;
|
|
4897
|
+
}
|
|
4898
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
4899
|
+
readonly 'threeds2.fingerprint': string;
|
|
4900
|
+
}
|
|
4896
4901
|
interface PaymentRequest {
|
|
4897
4902
|
readonly reference: string;
|
|
4898
4903
|
readonly merchantAccount: string;
|
|
@@ -4914,7 +4919,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4914
4919
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
4915
4920
|
readonly origin?: string;
|
|
4916
4921
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
4917
|
-
readonly
|
|
4922
|
+
readonly returnUrl?: string;
|
|
4923
|
+
readonly mcc?: string;
|
|
4924
|
+
readonly metadata?: any;
|
|
4925
|
+
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4926
|
+
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4918
4927
|
}
|
|
4919
4928
|
interface PaymentResponse {
|
|
4920
4929
|
readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
|
|
@@ -4941,7 +4950,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4941
4950
|
}
|
|
4942
4951
|
interface Redirect {
|
|
4943
4952
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
4944
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
4953
|
+
readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4945
4954
|
readonly url?: string;
|
|
4946
4955
|
}
|
|
4947
4956
|
interface RedirectData {
|
|
@@ -4962,6 +4971,13 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4962
4971
|
readonly number: string;
|
|
4963
4972
|
readonly cvc?: string;
|
|
4964
4973
|
}
|
|
4974
|
+
interface SdkV3OnCompleteData {
|
|
4975
|
+
readonly details: any;
|
|
4976
|
+
readonly payment_data?: string;
|
|
4977
|
+
}
|
|
4978
|
+
interface SdkV3OnCompleteResult {
|
|
4979
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
4980
|
+
}
|
|
4965
4981
|
interface ThreeDSecureData {
|
|
4966
4982
|
readonly authenticationResponse?: string;
|
|
4967
4983
|
readonly cavv?: string;
|
|
@@ -4987,7 +5003,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4987
5003
|
}
|
|
4988
5004
|
declare namespace io.flow.adyen.v0.unions {
|
|
4989
5005
|
type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
4990
|
-
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
5006
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
|
|
4991
5007
|
}
|
|
4992
5008
|
declare namespace io.flow.order.management.v0.enums {
|
|
4993
5009
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
@@ -6609,6 +6625,10 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6609
6625
|
readonly expires_at?: string;
|
|
6610
6626
|
readonly script: string;
|
|
6611
6627
|
}
|
|
6628
|
+
interface ActionIdealSelectIssuer {
|
|
6629
|
+
readonly type: 'select_ideal_issuer';
|
|
6630
|
+
readonly issuers: io.flow.payment.gateway.v0.models.IdealIssuer[];
|
|
6631
|
+
}
|
|
6612
6632
|
interface ActionRedirect {
|
|
6613
6633
|
readonly type: 'redirect';
|
|
6614
6634
|
readonly expires_at?: string;
|
|
@@ -6697,6 +6717,11 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6697
6717
|
readonly screen_width: number;
|
|
6698
6718
|
readonly time_zone_offset: number;
|
|
6699
6719
|
}
|
|
6720
|
+
interface IdealIssuer {
|
|
6721
|
+
readonly id: string;
|
|
6722
|
+
readonly name: string;
|
|
6723
|
+
readonly images?: io.flow.reference.v0.models.PaymentMethodImages;
|
|
6724
|
+
}
|
|
6700
6725
|
interface KlarnaPaymentCategory {
|
|
6701
6726
|
readonly id: string;
|
|
6702
6727
|
readonly name: string;
|
|
@@ -7043,7 +7068,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7043
7068
|
}
|
|
7044
7069
|
}
|
|
7045
7070
|
declare namespace io.flow.payment.gateway.v0.unions {
|
|
7046
|
-
type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
|
|
7071
|
+
type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionIdealSelectIssuer | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
|
|
7047
7072
|
type CardAuthorizationActionResult = io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
|
|
7048
7073
|
type CardNumber = io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
|
|
7049
7074
|
type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
|
package/dist/api.d.ts
CHANGED
|
@@ -2324,6 +2324,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2324
2324
|
type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
|
|
2325
2325
|
type MerchantOfRecord = 'flow' | 'organization';
|
|
2326
2326
|
type Method = 'post';
|
|
2327
|
+
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';
|
|
2328
|
+
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';
|
|
2327
2329
|
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
2328
2330
|
type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
|
|
2329
2331
|
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';
|
|
@@ -2404,6 +2406,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2404
2406
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
2405
2407
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
2406
2408
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2409
|
+
type UncertainBoolean = 'yes' | 'no' | 'i_dont_know';
|
|
2407
2410
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
2408
2411
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
2409
2412
|
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
@@ -2504,6 +2507,10 @@ declare namespace io.flow.v0.models {
|
|
|
2504
2507
|
readonly expires_at?: string;
|
|
2505
2508
|
readonly script: string;
|
|
2506
2509
|
}
|
|
2510
|
+
interface ActionIdealSelectIssuer {
|
|
2511
|
+
readonly type: 'select_ideal_issuer';
|
|
2512
|
+
readonly issuers: io.flow.v0.models.IdealIssuer[];
|
|
2513
|
+
}
|
|
2507
2514
|
interface ActionRedirect {
|
|
2508
2515
|
readonly type: 'redirect';
|
|
2509
2516
|
readonly expires_at?: string;
|
|
@@ -5303,6 +5310,11 @@ declare namespace io.flow.v0.models {
|
|
|
5303
5310
|
readonly number: string;
|
|
5304
5311
|
readonly code: string;
|
|
5305
5312
|
}
|
|
5313
|
+
interface IdealIssuer {
|
|
5314
|
+
readonly id: string;
|
|
5315
|
+
readonly name: string;
|
|
5316
|
+
readonly images?: io.flow.v0.models.PaymentMethodImages;
|
|
5317
|
+
}
|
|
5306
5318
|
interface IdentifierForm {
|
|
5307
5319
|
readonly primary?: boolean;
|
|
5308
5320
|
readonly name: string;
|
|
@@ -6209,6 +6221,116 @@ declare namespace io.flow.v0.models {
|
|
|
6209
6221
|
readonly min: number;
|
|
6210
6222
|
readonly max: number;
|
|
6211
6223
|
}
|
|
6224
|
+
interface OnboardingBankAccount {
|
|
6225
|
+
readonly id: string;
|
|
6226
|
+
readonly name?: string;
|
|
6227
|
+
readonly address?: io.flow.v0.models.Address;
|
|
6228
|
+
readonly contact?: io.flow.v0.models.Contact;
|
|
6229
|
+
readonly account_number: string;
|
|
6230
|
+
readonly aba_routing_transit_number: string;
|
|
6231
|
+
readonly created_at: string;
|
|
6232
|
+
}
|
|
6233
|
+
interface OnboardingBankAccountForm {
|
|
6234
|
+
readonly name?: string;
|
|
6235
|
+
readonly address?: io.flow.v0.models.Address;
|
|
6236
|
+
readonly contact?: io.flow.v0.models.Contact;
|
|
6237
|
+
readonly account_number: string;
|
|
6238
|
+
readonly aba_routing_transit_number: string;
|
|
6239
|
+
}
|
|
6240
|
+
interface OnboardingClassification {
|
|
6241
|
+
readonly id: string;
|
|
6242
|
+
readonly country_of_origin_populated: boolean;
|
|
6243
|
+
readonly created_at: string;
|
|
6244
|
+
}
|
|
6245
|
+
interface OnboardingClassificationForm {
|
|
6246
|
+
readonly country_of_origin_populated: boolean;
|
|
6247
|
+
}
|
|
6248
|
+
interface OnboardingIncorporation {
|
|
6249
|
+
readonly country: string;
|
|
6250
|
+
readonly state?: string;
|
|
6251
|
+
readonly province?: string;
|
|
6252
|
+
readonly jurisdiction?: string;
|
|
6253
|
+
}
|
|
6254
|
+
interface OnboardingPayment {
|
|
6255
|
+
readonly id: string;
|
|
6256
|
+
readonly legal_name: string;
|
|
6257
|
+
readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
|
|
6258
|
+
readonly indirect_tax_number?: number;
|
|
6259
|
+
readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
6260
|
+
readonly beneficiary: string;
|
|
6261
|
+
readonly business_url: string;
|
|
6262
|
+
readonly business_description: string;
|
|
6263
|
+
readonly business_address: io.flow.v0.models.Address;
|
|
6264
|
+
readonly refund_percentage: number;
|
|
6265
|
+
readonly chargeback_percentage: number;
|
|
6266
|
+
readonly created_at: string;
|
|
6267
|
+
}
|
|
6268
|
+
interface OnboardingPaymentForm {
|
|
6269
|
+
readonly legal_name: string;
|
|
6270
|
+
readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
|
|
6271
|
+
readonly indirect_tax_number?: number;
|
|
6272
|
+
readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
6273
|
+
readonly beneficiary: string;
|
|
6274
|
+
readonly business_url: string;
|
|
6275
|
+
readonly business_description: string;
|
|
6276
|
+
readonly business_address: io.flow.v0.models.Address;
|
|
6277
|
+
readonly refund_percentage: number;
|
|
6278
|
+
readonly chargeback_percentage: number;
|
|
6279
|
+
}
|
|
6280
|
+
interface OnboardingPreparerDetails {
|
|
6281
|
+
readonly id: string;
|
|
6282
|
+
readonly name?: string;
|
|
6283
|
+
readonly title?: string;
|
|
6284
|
+
readonly company?: string;
|
|
6285
|
+
readonly created_at: string;
|
|
6286
|
+
}
|
|
6287
|
+
interface OnboardingPreparerDetailsForm {
|
|
6288
|
+
readonly name?: string;
|
|
6289
|
+
readonly title?: string;
|
|
6290
|
+
readonly company?: string;
|
|
6291
|
+
}
|
|
6292
|
+
interface OnboardingProductLogistics {
|
|
6293
|
+
readonly id: string;
|
|
6294
|
+
readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
|
|
6295
|
+
readonly other_trade_sector?: string;
|
|
6296
|
+
readonly shipped_prohibited_products_before: boolean;
|
|
6297
|
+
readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
6298
|
+
readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
6299
|
+
readonly pickup_location: io.flow.v0.models.BillingAddress;
|
|
6300
|
+
readonly pickup_instructions?: string;
|
|
6301
|
+
readonly operations_contact: io.flow.v0.models.Contact;
|
|
6302
|
+
readonly average_order_weight?: number;
|
|
6303
|
+
readonly package_dimensions: io.flow.v0.models.Dimensions;
|
|
6304
|
+
readonly average_order_value?: number;
|
|
6305
|
+
readonly maximum_order_value: number;
|
|
6306
|
+
readonly monthly_average_volume: number;
|
|
6307
|
+
readonly monthly_average_transactions: number;
|
|
6308
|
+
readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
|
|
6309
|
+
readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
6310
|
+
readonly created_at: string;
|
|
6311
|
+
}
|
|
6312
|
+
interface OnboardingProductLogisticsForm {
|
|
6313
|
+
readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
|
|
6314
|
+
readonly other_trade_sector?: string;
|
|
6315
|
+
readonly shipped_prohibited_products_before: boolean;
|
|
6316
|
+
readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
6317
|
+
readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
6318
|
+
readonly pickup_location: io.flow.v0.models.BillingAddress;
|
|
6319
|
+
readonly pickup_instructions?: string;
|
|
6320
|
+
readonly operations_contact: io.flow.v0.models.Contact;
|
|
6321
|
+
readonly average_order_weight?: number;
|
|
6322
|
+
readonly package_dimensions: io.flow.v0.models.Dimensions;
|
|
6323
|
+
readonly average_order_value?: number;
|
|
6324
|
+
readonly maximum_order_value: number;
|
|
6325
|
+
readonly monthly_average_volume: number;
|
|
6326
|
+
readonly monthly_average_transactions: number;
|
|
6327
|
+
readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
|
|
6328
|
+
readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
6329
|
+
}
|
|
6330
|
+
interface OnboardingSubsidiaryCompany {
|
|
6331
|
+
readonly legal_name?: string;
|
|
6332
|
+
readonly incorporation_country?: io.flow.v0.models.OnboardingIncorporation;
|
|
6333
|
+
}
|
|
6212
6334
|
interface OnlineAuthorization {
|
|
6213
6335
|
readonly discriminator: 'online_authorization';
|
|
6214
6336
|
readonly id: string;
|
|
@@ -9575,6 +9697,14 @@ declare namespace io.flow.v0.models {
|
|
|
9575
9697
|
readonly types: io.flow.v0.enums.TaxReportType[];
|
|
9576
9698
|
readonly email_recipients?: string[];
|
|
9577
9699
|
}
|
|
9700
|
+
interface ThirdPartyLogisticsPartner {
|
|
9701
|
+
readonly warehouse_address: io.flow.v0.models.BillingAddress;
|
|
9702
|
+
readonly warehouse_url?: string;
|
|
9703
|
+
}
|
|
9704
|
+
interface ThirdPartyLogisticsPickUpTimeWindow {
|
|
9705
|
+
readonly from: string;
|
|
9706
|
+
readonly to: string;
|
|
9707
|
+
}
|
|
9578
9708
|
interface ThreeDSecure {
|
|
9579
9709
|
readonly code: io.flow.v0.enums.ThreeDSecureCode;
|
|
9580
9710
|
readonly description?: string;
|
|
@@ -10033,7 +10163,7 @@ declare namespace io.flow.v0.models {
|
|
|
10033
10163
|
}
|
|
10034
10164
|
declare namespace io.flow.v0.unions {
|
|
10035
10165
|
type AbandonedOrderPromotionDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
10036
|
-
type Action = io.flow.v0.models.ActionRedirect | io.flow.v0.models.ActionUseSdkKlarnaV1 | io.flow.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.v0.models.ActionUseSdkGooglepay | io.flow.v0.models.ActionUseSdkPaypal | io.flow.v0.models.ActionUseSdkStripeV3 | io.flow.v0.models.ActionUseSdkAdyenV3 | io.flow.v0.models.ActionUseSdkAdyenV4 | io.flow.v0.models.ActionExecuteScript | io.flow.v0.models.ActionDisplayInlineWindow | io.flow.v0.models.ActionWait;
|
|
10166
|
+
type Action = io.flow.v0.models.ActionRedirect | io.flow.v0.models.ActionUseSdkKlarnaV1 | io.flow.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.v0.models.ActionUseSdkGooglepay | io.flow.v0.models.ActionUseSdkPaypal | io.flow.v0.models.ActionUseSdkStripeV3 | io.flow.v0.models.ActionUseSdkAdyenV3 | io.flow.v0.models.ActionUseSdkAdyenV4 | io.flow.v0.models.ActionIdealSelectIssuer | io.flow.v0.models.ActionExecuteScript | io.flow.v0.models.ActionDisplayInlineWindow | io.flow.v0.models.ActionWait;
|
|
10037
10167
|
type AdyenNativeData = io.flow.v0.models.AdyenIdentifyShopperData | io.flow.v0.models.AdyenChallengeShopperData;
|
|
10038
10168
|
type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
|
|
10039
10169
|
type AllocationDetail = io.flow.v0.models.AllocationLineDetail | io.flow.v0.models.AllocationOrderDetail;
|
|
@@ -10143,6 +10273,7 @@ export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationFor
|
|
|
10143
10273
|
export declare type Action = io.flow.v0.unions.Action;
|
|
10144
10274
|
export declare type ActionDisplayInlineWindow = io.flow.v0.models.ActionDisplayInlineWindow;
|
|
10145
10275
|
export declare type ActionExecuteScript = io.flow.v0.models.ActionExecuteScript;
|
|
10276
|
+
export declare type ActionIdealSelectIssuer = io.flow.v0.models.ActionIdealSelectIssuer;
|
|
10146
10277
|
export declare type ActionRedirect = io.flow.v0.models.ActionRedirect;
|
|
10147
10278
|
export declare type ActionUseSdkAdyenV3 = io.flow.v0.models.ActionUseSdkAdyenV3;
|
|
10148
10279
|
export declare type ActionUseSdkAdyenV4 = io.flow.v0.models.ActionUseSdkAdyenV4;
|
|
@@ -10712,6 +10843,7 @@ export declare type Hs10Version = io.flow.v0.models.Hs10Version;
|
|
|
10712
10843
|
export declare type Hs6 = io.flow.v0.models.Hs6;
|
|
10713
10844
|
export declare type Hs6CodeDeleted = io.flow.v0.models.Hs6CodeDeleted;
|
|
10714
10845
|
export declare type Hs6CodeUpserted = io.flow.v0.models.Hs6CodeUpserted;
|
|
10846
|
+
export declare type IdealIssuer = io.flow.v0.models.IdealIssuer;
|
|
10715
10847
|
export declare type IdentifierForm = io.flow.v0.models.IdentifierForm;
|
|
10716
10848
|
export declare type Image = io.flow.v0.models.Image;
|
|
10717
10849
|
export declare type ImageForm = io.flow.v0.models.ImageForm;
|
|
@@ -10885,6 +11017,20 @@ export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInvent
|
|
|
10885
11017
|
export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
10886
11018
|
export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
10887
11019
|
export declare type NumberRange = io.flow.v0.models.NumberRange;
|
|
11020
|
+
export declare type OnboardingBankAccount = io.flow.v0.models.OnboardingBankAccount;
|
|
11021
|
+
export declare type OnboardingBankAccountForm = io.flow.v0.models.OnboardingBankAccountForm;
|
|
11022
|
+
export declare type OnboardingClassification = io.flow.v0.models.OnboardingClassification;
|
|
11023
|
+
export declare type OnboardingClassificationForm = io.flow.v0.models.OnboardingClassificationForm;
|
|
11024
|
+
export declare type OnboardingDangerousGoods = io.flow.v0.enums.OnboardingDangerousGoods;
|
|
11025
|
+
export declare type OnboardingIncorporation = io.flow.v0.models.OnboardingIncorporation;
|
|
11026
|
+
export declare type OnboardingPayment = io.flow.v0.models.OnboardingPayment;
|
|
11027
|
+
export declare type OnboardingPaymentForm = io.flow.v0.models.OnboardingPaymentForm;
|
|
11028
|
+
export declare type OnboardingPreparerDetails = io.flow.v0.models.OnboardingPreparerDetails;
|
|
11029
|
+
export declare type OnboardingPreparerDetailsForm = io.flow.v0.models.OnboardingPreparerDetailsForm;
|
|
11030
|
+
export declare type OnboardingProductLogistics = io.flow.v0.models.OnboardingProductLogistics;
|
|
11031
|
+
export declare type OnboardingProductLogisticsForm = io.flow.v0.models.OnboardingProductLogisticsForm;
|
|
11032
|
+
export declare type OnboardingSubsidiaryCompany = io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
11033
|
+
export declare type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
|
|
10888
11034
|
export declare type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
|
|
10889
11035
|
export declare type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
|
|
10890
11036
|
export declare type OnlineAuthorizationDetails = io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
@@ -11539,6 +11685,8 @@ export declare type TaxSetting = io.flow.v0.unions.TaxSetting;
|
|
|
11539
11685
|
export declare type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
|
|
11540
11686
|
export declare type TaxabilityType = io.flow.v0.enums.TaxabilityType;
|
|
11541
11687
|
export declare type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
|
|
11688
|
+
export declare type ThirdPartyLogisticsPartner = io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
11689
|
+
export declare type ThirdPartyLogisticsPickUpTimeWindow = io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
11542
11690
|
export declare type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
|
|
11543
11691
|
export declare type ThreeDSecureCode = io.flow.v0.enums.ThreeDSecureCode;
|
|
11544
11692
|
export declare type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeAction;
|
|
@@ -11597,6 +11745,7 @@ export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
|
|
|
11597
11745
|
export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
|
|
11598
11746
|
export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
|
|
11599
11747
|
export declare type TransitWindow = io.flow.v0.models.TransitWindow;
|
|
11748
|
+
export declare type UncertainBoolean = io.flow.v0.enums.UncertainBoolean;
|
|
11600
11749
|
export declare type UnharmonizedItemExportType = io.flow.v0.models.UnharmonizedItemExportType;
|
|
11601
11750
|
export declare type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;
|
|
11602
11751
|
export declare type UnitOfTime = io.flow.v0.enums.UnitOfTime;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.23.
|
|
3
|
+
"version": "11.23.3",
|
|
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": "
|
|
28
|
+
"gitHead": "a4ac670b27bea4060357fda0c13229174f48c854"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -679,14 +679,6 @@ declare namespace io.flow.common.v0.models {
|
|
|
679
679
|
readonly days: number[];
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
-
interface RepeatMonthlyOnSpecificDaysOfWeek {
|
|
683
|
-
readonly discriminator: 'repeat_monthly_on_specific_days_of_week';
|
|
684
|
-
readonly week1: io.flow.common.v0.enums.DayOfWeek[];
|
|
685
|
-
readonly week2: io.flow.common.v0.enums.DayOfWeek[];
|
|
686
|
-
readonly week3: io.flow.common.v0.enums.DayOfWeek[];
|
|
687
|
-
readonly week4: io.flow.common.v0.enums.DayOfWeek[];
|
|
688
|
-
}
|
|
689
|
-
|
|
690
682
|
interface RepeatWeekly {
|
|
691
683
|
readonly discriminator: 'repeat_weekly';
|
|
692
684
|
readonly interval: number;
|
|
@@ -752,8 +744,7 @@ declare namespace io.flow.common.v0.unions {
|
|
|
752
744
|
| io.flow.common.v0.models.RepeatHourly
|
|
753
745
|
| io.flow.common.v0.models.RepeatDaily
|
|
754
746
|
| io.flow.common.v0.models.RepeatWeekly
|
|
755
|
-
| io.flow.common.v0.models.RepeatMonthly
|
|
756
|
-
| io.flow.common.v0.models.RepeatMonthlyOnSpecificDaysOfWeek;
|
|
747
|
+
| io.flow.common.v0.models.RepeatMonthly;
|
|
757
748
|
}
|
|
758
749
|
|
|
759
750
|
declare namespace io.flow.experience.v0.enums {
|
|
@@ -6272,7 +6263,7 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
6272
6263
|
| 'SECOND_CHARGEBACK'
|
|
6273
6264
|
| 'PREARBITRATION_WON'
|
|
6274
6265
|
| 'PREARBITRATION_LOST';
|
|
6275
|
-
type
|
|
6266
|
+
type HttpRedirectMethod = 'GET' | 'POST';
|
|
6276
6267
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
6277
6268
|
type PaymentMethod =
|
|
6278
6269
|
| 'ach'
|
|
@@ -6343,6 +6334,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6343
6334
|
readonly currency: string;
|
|
6344
6335
|
}
|
|
6345
6336
|
|
|
6337
|
+
interface Applepay {
|
|
6338
|
+
readonly type: 'applepay';
|
|
6339
|
+
readonly applePayToken: string;
|
|
6340
|
+
}
|
|
6341
|
+
|
|
6346
6342
|
interface Authentication {
|
|
6347
6343
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
6348
6344
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -6370,6 +6366,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6370
6366
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
6371
6367
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
6372
6368
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
6369
|
+
readonly mcc?: string;
|
|
6370
|
+
readonly metadata?: any /*object*/;
|
|
6373
6371
|
}
|
|
6374
6372
|
|
|
6375
6373
|
interface AuthorizeRequest3D {
|
|
@@ -6526,6 +6524,14 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6526
6524
|
readonly paymentData?: string;
|
|
6527
6525
|
}
|
|
6528
6526
|
|
|
6527
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
6528
|
+
readonly 'threeds2.challengeResult': string;
|
|
6529
|
+
}
|
|
6530
|
+
|
|
6531
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
6532
|
+
readonly 'threeds2.fingerprint': string;
|
|
6533
|
+
}
|
|
6534
|
+
|
|
6529
6535
|
interface PaymentRequest {
|
|
6530
6536
|
readonly reference: string;
|
|
6531
6537
|
readonly merchantAccount: string;
|
|
@@ -6547,7 +6553,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6547
6553
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
6548
6554
|
readonly origin?: string;
|
|
6549
6555
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
6550
|
-
readonly
|
|
6556
|
+
readonly returnUrl?: string;
|
|
6557
|
+
readonly mcc?: string;
|
|
6558
|
+
readonly metadata?: any /*object*/;
|
|
6559
|
+
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
6560
|
+
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
6551
6561
|
}
|
|
6552
6562
|
|
|
6553
6563
|
interface PaymentResponse {
|
|
@@ -6578,7 +6588,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6578
6588
|
|
|
6579
6589
|
interface Redirect {
|
|
6580
6590
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
6581
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
6591
|
+
readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
6582
6592
|
readonly url?: string;
|
|
6583
6593
|
}
|
|
6584
6594
|
|
|
@@ -6603,6 +6613,15 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6603
6613
|
readonly cvc?: string;
|
|
6604
6614
|
}
|
|
6605
6615
|
|
|
6616
|
+
interface SdkV3OnCompleteData {
|
|
6617
|
+
readonly details: any /*object*/;
|
|
6618
|
+
readonly payment_data?: string;
|
|
6619
|
+
}
|
|
6620
|
+
|
|
6621
|
+
interface SdkV3OnCompleteResult {
|
|
6622
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
6623
|
+
}
|
|
6624
|
+
|
|
6606
6625
|
interface ThreeDSecureData {
|
|
6607
6626
|
readonly authenticationResponse?: string;
|
|
6608
6627
|
readonly cavv?: string;
|
|
@@ -6634,7 +6653,9 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
6634
6653
|
type BrowserInfo =
|
|
6635
6654
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
6636
6655
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
6637
|
-
type PaymentMethodData =
|
|
6656
|
+
type PaymentMethodData =
|
|
6657
|
+
| io.flow.adyen.v0.models.Scheme
|
|
6658
|
+
| io.flow.adyen.v0.models.Applepay;
|
|
6638
6659
|
}
|
|
6639
6660
|
|
|
6640
6661
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -8722,6 +8743,11 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8722
8743
|
readonly script: string;
|
|
8723
8744
|
}
|
|
8724
8745
|
|
|
8746
|
+
interface ActionIdealSelectIssuer {
|
|
8747
|
+
readonly type: 'select_ideal_issuer';
|
|
8748
|
+
readonly issuers: io.flow.payment.gateway.v0.models.IdealIssuer[];
|
|
8749
|
+
}
|
|
8750
|
+
|
|
8725
8751
|
interface ActionRedirect {
|
|
8726
8752
|
readonly type: 'redirect';
|
|
8727
8753
|
readonly expires_at?: string;
|
|
@@ -8826,6 +8852,12 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8826
8852
|
readonly time_zone_offset: number;
|
|
8827
8853
|
}
|
|
8828
8854
|
|
|
8855
|
+
interface IdealIssuer {
|
|
8856
|
+
readonly id: string;
|
|
8857
|
+
readonly name: string;
|
|
8858
|
+
readonly images?: io.flow.reference.v0.models.PaymentMethodImages;
|
|
8859
|
+
}
|
|
8860
|
+
|
|
8829
8861
|
interface KlarnaPaymentCategory {
|
|
8830
8862
|
readonly id: string;
|
|
8831
8863
|
readonly name: string;
|
|
@@ -9244,6 +9276,7 @@ declare namespace io.flow.payment.gateway.v0.unions {
|
|
|
9244
9276
|
| io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3
|
|
9245
9277
|
| io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3
|
|
9246
9278
|
| io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4
|
|
9279
|
+
| io.flow.payment.gateway.v0.models.ActionIdealSelectIssuer
|
|
9247
9280
|
| io.flow.payment.gateway.v0.models.ActionExecuteScript
|
|
9248
9281
|
| io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow
|
|
9249
9282
|
| io.flow.payment.gateway.v0.models.ActionWait;
|
package/src/api.ts
CHANGED
|
@@ -3327,6 +3327,40 @@ declare namespace io.flow.v0.enums {
|
|
|
3327
3327
|
| 'unsupported_currency';
|
|
3328
3328
|
type MerchantOfRecord = 'flow' | 'organization';
|
|
3329
3329
|
type Method = 'post';
|
|
3330
|
+
type OnboardingDangerousGoods =
|
|
3331
|
+
| 'aerosols'
|
|
3332
|
+
| 'air_bag_inflators_or_seat_belt_pretensioners'
|
|
3333
|
+
| 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume'
|
|
3334
|
+
| 'batteries'
|
|
3335
|
+
| 'carbon_dioxide_or_dry_ice'
|
|
3336
|
+
| 'corrosives'
|
|
3337
|
+
| 'cannabidiol_products'
|
|
3338
|
+
| 'cologne_or_perfume'
|
|
3339
|
+
| 'currency_or_gift_cards_or_monetary_instruments'
|
|
3340
|
+
| 'exotic_leather_goods'
|
|
3341
|
+
| 'environmental_waste'
|
|
3342
|
+
| 'explosives_or_ammunition'
|
|
3343
|
+
| 'flammable_liquids'
|
|
3344
|
+
| 'gases'
|
|
3345
|
+
| 'hazardous_or_combustible_materials'
|
|
3346
|
+
| 'infectious_or_biological_substances'
|
|
3347
|
+
| 'knives'
|
|
3348
|
+
| 'matches_or_lighter_or_lighter_refills'
|
|
3349
|
+
| 'nail_polish'
|
|
3350
|
+
| 'oxidizing_materials_or_organic_peroxides'
|
|
3351
|
+
| 'pornography'
|
|
3352
|
+
| 'prohibited_carriage'
|
|
3353
|
+
| 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
|
|
3354
|
+
type OnboardingTradeSector =
|
|
3355
|
+
| 'apparel_and_accessories'
|
|
3356
|
+
| 'beauty_and_cosmetics'
|
|
3357
|
+
| 'electronics'
|
|
3358
|
+
| 'food_or_perishables'
|
|
3359
|
+
| 'jewellery_and_watches'
|
|
3360
|
+
| 'paper_and_art'
|
|
3361
|
+
| 'sports_and_fitness'
|
|
3362
|
+
| 'toys_hobbies_gifts'
|
|
3363
|
+
| 'other';
|
|
3330
3364
|
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
3331
3365
|
type OrderChangeSource =
|
|
3332
3366
|
| 'consumer'
|
|
@@ -3680,6 +3714,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3680
3714
|
| 'expired';
|
|
3681
3715
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
3682
3716
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
3717
|
+
type UncertainBoolean = 'yes' | 'no' | 'i_dont_know';
|
|
3683
3718
|
type UnitOfMeasurement =
|
|
3684
3719
|
| 'millimeter'
|
|
3685
3720
|
| 'centimeter'
|
|
@@ -3812,6 +3847,11 @@ declare namespace io.flow.v0.models {
|
|
|
3812
3847
|
readonly script: string;
|
|
3813
3848
|
}
|
|
3814
3849
|
|
|
3850
|
+
interface ActionIdealSelectIssuer {
|
|
3851
|
+
readonly type: 'select_ideal_issuer';
|
|
3852
|
+
readonly issuers: io.flow.v0.models.IdealIssuer[];
|
|
3853
|
+
}
|
|
3854
|
+
|
|
3815
3855
|
interface ActionRedirect {
|
|
3816
3856
|
readonly type: 'redirect';
|
|
3817
3857
|
readonly expires_at?: string;
|
|
@@ -7071,6 +7111,12 @@ declare namespace io.flow.v0.models {
|
|
|
7071
7111
|
readonly code: string;
|
|
7072
7112
|
}
|
|
7073
7113
|
|
|
7114
|
+
interface IdealIssuer {
|
|
7115
|
+
readonly id: string;
|
|
7116
|
+
readonly name: string;
|
|
7117
|
+
readonly images?: io.flow.v0.models.PaymentMethodImages;
|
|
7118
|
+
}
|
|
7119
|
+
|
|
7074
7120
|
interface IdentifierForm {
|
|
7075
7121
|
readonly primary?: boolean;
|
|
7076
7122
|
readonly name: string;
|
|
@@ -8127,6 +8173,128 @@ declare namespace io.flow.v0.models {
|
|
|
8127
8173
|
readonly max: number;
|
|
8128
8174
|
}
|
|
8129
8175
|
|
|
8176
|
+
interface OnboardingBankAccount {
|
|
8177
|
+
readonly id: string;
|
|
8178
|
+
readonly name?: string;
|
|
8179
|
+
readonly address?: io.flow.v0.models.Address;
|
|
8180
|
+
readonly contact?: io.flow.v0.models.Contact;
|
|
8181
|
+
readonly account_number: string;
|
|
8182
|
+
readonly aba_routing_transit_number: string;
|
|
8183
|
+
readonly created_at: string;
|
|
8184
|
+
}
|
|
8185
|
+
|
|
8186
|
+
interface OnboardingBankAccountForm {
|
|
8187
|
+
readonly name?: string;
|
|
8188
|
+
readonly address?: io.flow.v0.models.Address;
|
|
8189
|
+
readonly contact?: io.flow.v0.models.Contact;
|
|
8190
|
+
readonly account_number: string;
|
|
8191
|
+
readonly aba_routing_transit_number: string;
|
|
8192
|
+
}
|
|
8193
|
+
|
|
8194
|
+
interface OnboardingClassification {
|
|
8195
|
+
readonly id: string;
|
|
8196
|
+
readonly country_of_origin_populated: boolean;
|
|
8197
|
+
readonly created_at: string;
|
|
8198
|
+
}
|
|
8199
|
+
|
|
8200
|
+
interface OnboardingClassificationForm {
|
|
8201
|
+
readonly country_of_origin_populated: boolean;
|
|
8202
|
+
}
|
|
8203
|
+
|
|
8204
|
+
interface OnboardingIncorporation {
|
|
8205
|
+
readonly country: string;
|
|
8206
|
+
readonly state?: string;
|
|
8207
|
+
readonly province?: string;
|
|
8208
|
+
readonly jurisdiction?: string;
|
|
8209
|
+
}
|
|
8210
|
+
|
|
8211
|
+
interface OnboardingPayment {
|
|
8212
|
+
readonly id: string;
|
|
8213
|
+
readonly legal_name: string;
|
|
8214
|
+
readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
|
|
8215
|
+
readonly indirect_tax_number?: number;
|
|
8216
|
+
readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
8217
|
+
readonly beneficiary: string;
|
|
8218
|
+
readonly business_url: string;
|
|
8219
|
+
readonly business_description: string;
|
|
8220
|
+
readonly business_address: io.flow.v0.models.Address;
|
|
8221
|
+
readonly refund_percentage: number;
|
|
8222
|
+
readonly chargeback_percentage: number;
|
|
8223
|
+
readonly created_at: string;
|
|
8224
|
+
}
|
|
8225
|
+
|
|
8226
|
+
interface OnboardingPaymentForm {
|
|
8227
|
+
readonly legal_name: string;
|
|
8228
|
+
readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
|
|
8229
|
+
readonly indirect_tax_number?: number;
|
|
8230
|
+
readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
8231
|
+
readonly beneficiary: string;
|
|
8232
|
+
readonly business_url: string;
|
|
8233
|
+
readonly business_description: string;
|
|
8234
|
+
readonly business_address: io.flow.v0.models.Address;
|
|
8235
|
+
readonly refund_percentage: number;
|
|
8236
|
+
readonly chargeback_percentage: number;
|
|
8237
|
+
}
|
|
8238
|
+
|
|
8239
|
+
interface OnboardingPreparerDetails {
|
|
8240
|
+
readonly id: string;
|
|
8241
|
+
readonly name?: string;
|
|
8242
|
+
readonly title?: string;
|
|
8243
|
+
readonly company?: string;
|
|
8244
|
+
readonly created_at: string;
|
|
8245
|
+
}
|
|
8246
|
+
|
|
8247
|
+
interface OnboardingPreparerDetailsForm {
|
|
8248
|
+
readonly name?: string;
|
|
8249
|
+
readonly title?: string;
|
|
8250
|
+
readonly company?: string;
|
|
8251
|
+
}
|
|
8252
|
+
|
|
8253
|
+
interface OnboardingProductLogistics {
|
|
8254
|
+
readonly id: string;
|
|
8255
|
+
readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
|
|
8256
|
+
readonly other_trade_sector?: string;
|
|
8257
|
+
readonly shipped_prohibited_products_before: boolean;
|
|
8258
|
+
readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
8259
|
+
readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
8260
|
+
readonly pickup_location: io.flow.v0.models.BillingAddress;
|
|
8261
|
+
readonly pickup_instructions?: string;
|
|
8262
|
+
readonly operations_contact: io.flow.v0.models.Contact;
|
|
8263
|
+
readonly average_order_weight?: number;
|
|
8264
|
+
readonly package_dimensions: io.flow.v0.models.Dimensions;
|
|
8265
|
+
readonly average_order_value?: number;
|
|
8266
|
+
readonly maximum_order_value: number;
|
|
8267
|
+
readonly monthly_average_volume: number;
|
|
8268
|
+
readonly monthly_average_transactions: number;
|
|
8269
|
+
readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
|
|
8270
|
+
readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
8271
|
+
readonly created_at: string;
|
|
8272
|
+
}
|
|
8273
|
+
|
|
8274
|
+
interface OnboardingProductLogisticsForm {
|
|
8275
|
+
readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
|
|
8276
|
+
readonly other_trade_sector?: string;
|
|
8277
|
+
readonly shipped_prohibited_products_before: boolean;
|
|
8278
|
+
readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
8279
|
+
readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
8280
|
+
readonly pickup_location: io.flow.v0.models.BillingAddress;
|
|
8281
|
+
readonly pickup_instructions?: string;
|
|
8282
|
+
readonly operations_contact: io.flow.v0.models.Contact;
|
|
8283
|
+
readonly average_order_weight?: number;
|
|
8284
|
+
readonly package_dimensions: io.flow.v0.models.Dimensions;
|
|
8285
|
+
readonly average_order_value?: number;
|
|
8286
|
+
readonly maximum_order_value: number;
|
|
8287
|
+
readonly monthly_average_volume: number;
|
|
8288
|
+
readonly monthly_average_transactions: number;
|
|
8289
|
+
readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
|
|
8290
|
+
readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
8291
|
+
}
|
|
8292
|
+
|
|
8293
|
+
interface OnboardingSubsidiaryCompany {
|
|
8294
|
+
readonly legal_name?: string;
|
|
8295
|
+
readonly incorporation_country?: io.flow.v0.models.OnboardingIncorporation;
|
|
8296
|
+
}
|
|
8297
|
+
|
|
8130
8298
|
interface OnlineAuthorization {
|
|
8131
8299
|
readonly discriminator: 'online_authorization';
|
|
8132
8300
|
readonly id: string;
|
|
@@ -12044,6 +12212,16 @@ declare namespace io.flow.v0.models {
|
|
|
12044
12212
|
readonly email_recipients?: string[];
|
|
12045
12213
|
}
|
|
12046
12214
|
|
|
12215
|
+
interface ThirdPartyLogisticsPartner {
|
|
12216
|
+
readonly warehouse_address: io.flow.v0.models.BillingAddress;
|
|
12217
|
+
readonly warehouse_url?: string;
|
|
12218
|
+
}
|
|
12219
|
+
|
|
12220
|
+
interface ThirdPartyLogisticsPickUpTimeWindow {
|
|
12221
|
+
readonly from: string;
|
|
12222
|
+
readonly to: string;
|
|
12223
|
+
}
|
|
12224
|
+
|
|
12047
12225
|
interface ThreeDSecure {
|
|
12048
12226
|
readonly code: io.flow.v0.enums.ThreeDSecureCode;
|
|
12049
12227
|
readonly description?: string;
|
|
@@ -12584,6 +12762,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12584
12762
|
| io.flow.v0.models.ActionUseSdkStripeV3
|
|
12585
12763
|
| io.flow.v0.models.ActionUseSdkAdyenV3
|
|
12586
12764
|
| io.flow.v0.models.ActionUseSdkAdyenV4
|
|
12765
|
+
| io.flow.v0.models.ActionIdealSelectIssuer
|
|
12587
12766
|
| io.flow.v0.models.ActionExecuteScript
|
|
12588
12767
|
| io.flow.v0.models.ActionDisplayInlineWindow
|
|
12589
12768
|
| io.flow.v0.models.ActionWait;
|
|
@@ -13103,6 +13282,7 @@ export type Action = io.flow.v0.unions.Action;
|
|
|
13103
13282
|
export type ActionDisplayInlineWindow =
|
|
13104
13283
|
io.flow.v0.models.ActionDisplayInlineWindow;
|
|
13105
13284
|
export type ActionExecuteScript = io.flow.v0.models.ActionExecuteScript;
|
|
13285
|
+
export type ActionIdealSelectIssuer = io.flow.v0.models.ActionIdealSelectIssuer;
|
|
13106
13286
|
export type ActionRedirect = io.flow.v0.models.ActionRedirect;
|
|
13107
13287
|
export type ActionUseSdkAdyenV3 = io.flow.v0.models.ActionUseSdkAdyenV3;
|
|
13108
13288
|
export type ActionUseSdkAdyenV4 = io.flow.v0.models.ActionUseSdkAdyenV4;
|
|
@@ -13834,6 +14014,7 @@ export type Hs10Version = io.flow.v0.models.Hs10Version;
|
|
|
13834
14014
|
export type Hs6 = io.flow.v0.models.Hs6;
|
|
13835
14015
|
export type Hs6CodeDeleted = io.flow.v0.models.Hs6CodeDeleted;
|
|
13836
14016
|
export type Hs6CodeUpserted = io.flow.v0.models.Hs6CodeUpserted;
|
|
14017
|
+
export type IdealIssuer = io.flow.v0.models.IdealIssuer;
|
|
13837
14018
|
export type IdentifierForm = io.flow.v0.models.IdentifierForm;
|
|
13838
14019
|
export type Image = io.flow.v0.models.Image;
|
|
13839
14020
|
export type ImageForm = io.flow.v0.models.ImageForm;
|
|
@@ -14035,6 +14216,29 @@ export type NoInventoryReservationErrorItem =
|
|
|
14035
14216
|
export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
14036
14217
|
export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
14037
14218
|
export type NumberRange = io.flow.v0.models.NumberRange;
|
|
14219
|
+
export type OnboardingBankAccount = io.flow.v0.models.OnboardingBankAccount;
|
|
14220
|
+
export type OnboardingBankAccountForm =
|
|
14221
|
+
io.flow.v0.models.OnboardingBankAccountForm;
|
|
14222
|
+
export type OnboardingClassification =
|
|
14223
|
+
io.flow.v0.models.OnboardingClassification;
|
|
14224
|
+
export type OnboardingClassificationForm =
|
|
14225
|
+
io.flow.v0.models.OnboardingClassificationForm;
|
|
14226
|
+
export type OnboardingDangerousGoods =
|
|
14227
|
+
io.flow.v0.enums.OnboardingDangerousGoods;
|
|
14228
|
+
export type OnboardingIncorporation = io.flow.v0.models.OnboardingIncorporation;
|
|
14229
|
+
export type OnboardingPayment = io.flow.v0.models.OnboardingPayment;
|
|
14230
|
+
export type OnboardingPaymentForm = io.flow.v0.models.OnboardingPaymentForm;
|
|
14231
|
+
export type OnboardingPreparerDetails =
|
|
14232
|
+
io.flow.v0.models.OnboardingPreparerDetails;
|
|
14233
|
+
export type OnboardingPreparerDetailsForm =
|
|
14234
|
+
io.flow.v0.models.OnboardingPreparerDetailsForm;
|
|
14235
|
+
export type OnboardingProductLogistics =
|
|
14236
|
+
io.flow.v0.models.OnboardingProductLogistics;
|
|
14237
|
+
export type OnboardingProductLogisticsForm =
|
|
14238
|
+
io.flow.v0.models.OnboardingProductLogisticsForm;
|
|
14239
|
+
export type OnboardingSubsidiaryCompany =
|
|
14240
|
+
io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
14241
|
+
export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
|
|
14038
14242
|
export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
|
|
14039
14243
|
export type OnlineAuthorizationDeletedV2 =
|
|
14040
14244
|
io.flow.v0.models.OnlineAuthorizationDeletedV2;
|
|
@@ -14865,6 +15069,10 @@ export type TaxSetting = io.flow.v0.unions.TaxSetting;
|
|
|
14865
15069
|
export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
|
|
14866
15070
|
export type TaxabilityType = io.flow.v0.enums.TaxabilityType;
|
|
14867
15071
|
export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
|
|
15072
|
+
export type ThirdPartyLogisticsPartner =
|
|
15073
|
+
io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
15074
|
+
export type ThirdPartyLogisticsPickUpTimeWindow =
|
|
15075
|
+
io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
14868
15076
|
export type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
|
|
14869
15077
|
export type ThreeDSecureCode = io.flow.v0.enums.ThreeDSecureCode;
|
|
14870
15078
|
export type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeAction;
|
|
@@ -14928,6 +15136,7 @@ export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
|
|
|
14928
15136
|
export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
|
|
14929
15137
|
export type TransitEstimate = io.flow.v0.models.TransitEstimate;
|
|
14930
15138
|
export type TransitWindow = io.flow.v0.models.TransitWindow;
|
|
15139
|
+
export type UncertainBoolean = io.flow.v0.enums.UncertainBoolean;
|
|
14931
15140
|
export type UnharmonizedItemExportType =
|
|
14932
15141
|
io.flow.v0.models.UnharmonizedItemExportType;
|
|
14933
15142
|
export type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;
|