@flowio/types 11.24.13 → 11.24.14

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.
@@ -3819,9 +3819,9 @@ declare namespace io.flow.adyen.v0.enums {
3819
3819
  type Contract = 'RECURRING';
3820
3820
  type DeviceChannel = 'app' | 'browser';
3821
3821
  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';
3822
- type HttpRedirectMethod = 'GET' | 'POST';
3822
+ type Method = 'GET' | 'POST';
3823
3823
  type Operation = 'cancel' | 'capture' | 'refund';
3824
- 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';
3824
+ 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';
3825
3825
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
3826
3826
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
3827
3827
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -3840,10 +3840,6 @@ declare namespace io.flow.adyen.v0.models {
3840
3840
  readonly value: number;
3841
3841
  readonly currency: string;
3842
3842
  }
3843
- interface Applepay {
3844
- readonly type: 'applepay';
3845
- readonly applePayToken: string;
3846
- }
3847
3843
  interface Authentication {
3848
3844
  readonly 'threeds2.fingerprintToken'?: string;
3849
3845
  readonly 'threeds2.challengeToken'?: string;
@@ -3870,8 +3866,6 @@ declare namespace io.flow.adyen.v0.models {
3870
3866
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3871
3867
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
3872
3868
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
3873
- readonly mcc?: string;
3874
- readonly metadata?: any;
3875
3869
  }
3876
3870
  interface AuthorizeRequest3D {
3877
3871
  readonly merchantAccount: string;
@@ -4005,12 +3999,6 @@ declare namespace io.flow.adyen.v0.models {
4005
3999
  readonly details: any;
4006
4000
  readonly paymentData?: string;
4007
4001
  }
4008
- interface PaymentDetailsV663Ds2Challenge {
4009
- readonly 'threeds2.challengeResult': string;
4010
- }
4011
- interface PaymentDetailsV663Ds2Fingerprint {
4012
- readonly 'threeds2.fingerprint': string;
4013
- }
4014
4002
  interface PaymentRequest {
4015
4003
  readonly reference: string;
4016
4004
  readonly merchantAccount: string;
@@ -4032,11 +4020,7 @@ declare namespace io.flow.adyen.v0.models {
4032
4020
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4033
4021
  readonly origin?: string;
4034
4022
  readonly channel?: io.flow.adyen.v0.enums.Channel;
4035
- readonly returnUrl?: string;
4036
- readonly mcc?: string;
4037
- readonly metadata?: any;
4038
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4039
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4023
+ readonly returnURL?: string;
4040
4024
  }
4041
4025
  interface PaymentResponse {
4042
4026
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -4057,35 +4041,13 @@ declare namespace io.flow.adyen.v0.models {
4057
4041
  readonly threeDAuthenticatedResponse?: string;
4058
4042
  readonly threeDOffered?: string;
4059
4043
  readonly threeDOfferedResponse?: string;
4060
- readonly threeDSVersion?: string;
4061
- readonly eci?: string;
4062
- readonly scaExemptionRequested?: string;
4063
- readonly paymentMethod?: string;
4064
- readonly paymentMethodVariant?: string;
4065
- readonly tokenTxVariant?: string;
4066
- readonly acquirerCode?: string;
4067
- readonly acquirerAccountCode?: string;
4068
- readonly cardPaymentMethod?: string;
4069
- readonly coBrandedWith?: string;
4070
- readonly cardIssuingCountry?: string;
4071
- readonly cardIssuingCurrency?: string;
4072
- readonly cardIssuingBank?: string;
4073
- readonly cardBin?: string;
4074
- readonly issuerBin?: string;
4075
- readonly cardSummary?: string;
4076
- readonly untokenisedCardSummary?: string;
4077
- readonly ownerName?: string;
4078
- readonly bankName?: string;
4079
- readonly issuerCountry?: string;
4080
- readonly iban?: string;
4081
- readonly bic?: string;
4082
4044
  }
4083
4045
  interface Recurring {
4084
4046
  readonly contract: io.flow.adyen.v0.enums.Contract;
4085
4047
  }
4086
4048
  interface Redirect {
4087
4049
  readonly data?: io.flow.adyen.v0.models.RedirectData;
4088
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4050
+ readonly method?: io.flow.adyen.v0.enums.Method;
4089
4051
  readonly url?: string;
4090
4052
  }
4091
4053
  interface RedirectData {
@@ -4106,13 +4068,6 @@ declare namespace io.flow.adyen.v0.models {
4106
4068
  readonly number: string;
4107
4069
  readonly cvc?: string;
4108
4070
  }
4109
- interface SdkV3OnCompleteData {
4110
- readonly details: any;
4111
- readonly payment_data?: string;
4112
- }
4113
- interface SdkV3OnCompleteResult {
4114
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4115
- }
4116
4071
  interface ThreeDSecureData {
4117
4072
  readonly authenticationResponse?: string;
4118
4073
  readonly cavv?: string;
@@ -4138,7 +4093,7 @@ declare namespace io.flow.adyen.v0.models {
4138
4093
  }
4139
4094
  declare namespace io.flow.adyen.v0.unions {
4140
4095
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
4141
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4096
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
4142
4097
  }
4143
4098
  declare namespace io.flow.order.management.v0.enums {
4144
4099
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -16729,15 +16684,6 @@ declare namespace io.flow.internal.v0.models {
16729
16684
  readonly timestamp: string;
16730
16685
  readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
16731
16686
  }
16732
- interface OrganizationCatalogRestrictionSummary {
16733
- readonly organization: io.flow.common.v0.models.OrganizationSummary;
16734
- readonly earliest_date: string;
16735
- readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
16736
- readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
16737
- readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16738
- readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16739
- readonly total: number;
16740
- }
16741
16687
  interface OrganizationCurrencySetting {
16742
16688
  readonly id: string;
16743
16689
  readonly organization: string;
@@ -16805,6 +16751,15 @@ declare namespace io.flow.internal.v0.models {
16805
16751
  readonly type: io.flow.common.v0.enums.ChangeType;
16806
16752
  readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
16807
16753
  }
16754
+ interface OrganizationRestrictionProductSummary {
16755
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
16756
+ readonly earliest_date: string;
16757
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
16758
+ readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
16759
+ readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16760
+ readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16761
+ readonly total: number;
16762
+ }
16808
16763
  interface OrganizationRestrictionSummary {
16809
16764
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
16810
16765
  readonly earliest_date: string;
@@ -17678,25 +17633,10 @@ declare namespace io.flow.internal.v0.models {
17678
17633
  readonly ignore_classification_status: boolean;
17679
17634
  readonly select_mismatching_item_types: boolean;
17680
17635
  }
17681
- interface RestrictionCatalogItem {
17682
- readonly id: string;
17683
- readonly organization_id: string;
17684
- readonly product_id: string;
17685
- readonly name: string;
17686
- readonly price: io.flow.common.v0.models.Price;
17687
- readonly item_numbers: string[];
17688
- readonly description: string;
17689
- readonly categories: string[];
17690
- readonly images: io.flow.catalog.v0.models.Image[];
17691
- readonly thumbnails: io.flow.catalog.v0.models.Image[];
17692
- readonly reviews: io.flow.internal.v0.models.RestrictionItemReview[];
17693
- readonly created_at: string;
17694
- readonly updated_at: string;
17695
- }
17696
17636
  interface RestrictionItem {
17697
17637
  readonly id: string;
17698
17638
  readonly organization_id: string;
17699
- readonly catalog_item_id: string;
17639
+ readonly restriction_product_id: string;
17700
17640
  readonly product_id: string;
17701
17641
  readonly name: string;
17702
17642
  readonly price: io.flow.common.v0.models.Price;
@@ -17735,6 +17675,24 @@ declare namespace io.flow.internal.v0.models {
17735
17675
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17736
17676
  readonly count: number;
17737
17677
  }
17678
+ interface RestrictionProduct {
17679
+ readonly id: string;
17680
+ readonly organization_id: string;
17681
+ readonly product_id: string;
17682
+ readonly name: string;
17683
+ readonly price: io.flow.common.v0.models.Price;
17684
+ readonly item_numbers: string[];
17685
+ readonly description: string;
17686
+ readonly categories: string[];
17687
+ readonly images: io.flow.catalog.v0.models.Image[];
17688
+ readonly thumbnails: io.flow.catalog.v0.models.Image[];
17689
+ readonly reviews: io.flow.internal.v0.models.RestrictionItemReview[];
17690
+ readonly created_at: string;
17691
+ readonly updated_at: string;
17692
+ }
17693
+ interface RestrictionProductDecisionForm {
17694
+ readonly rule_decisions: io.flow.internal.v0.models.RestrictionRuleDecisionForm[];
17695
+ }
17738
17696
  interface RestrictionRule {
17739
17697
  readonly id: string;
17740
17698
  readonly name: string;
@@ -17744,6 +17702,10 @@ declare namespace io.flow.internal.v0.models {
17744
17702
  readonly positive_keywords: string[];
17745
17703
  readonly negative_keywords: string[];
17746
17704
  }
17705
+ interface RestrictionRuleDecisionForm {
17706
+ readonly rule_id: string;
17707
+ readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
17708
+ }
17747
17709
  interface RestrictionRuleForm {
17748
17710
  readonly name: string;
17749
17711
  readonly description: string;
@@ -20658,7 +20620,6 @@ export declare type OrganizationBooleanValue = io.flow.internal.v0.models.Organi
20658
20620
  export declare type OrganizationBooleanValueDeleted = io.flow.internal.v0.models.OrganizationBooleanValueDeleted;
20659
20621
  export declare type OrganizationBooleanValueUpserted = io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
20660
20622
  export declare type OrganizationCapability = io.flow.internal.v0.enums.OrganizationCapability;
20661
- export declare type OrganizationCatalogRestrictionSummary = io.flow.internal.v0.models.OrganizationCatalogRestrictionSummary;
20662
20623
  export declare type OrganizationCurrencySetting = io.flow.internal.v0.models.OrganizationCurrencySetting;
20663
20624
  export declare type OrganizationCurrencySettingDeleted = io.flow.internal.v0.models.OrganizationCurrencySettingDeleted;
20664
20625
  export declare type OrganizationCurrencySettingForm = io.flow.internal.v0.models.OrganizationCurrencySettingForm;
@@ -20671,6 +20632,7 @@ export declare type OrganizationPaymentSetting = io.flow.internal.v0.models.Orga
20671
20632
  export declare type OrganizationPaymentSettingForm = io.flow.internal.v0.models.OrganizationPaymentSettingForm;
20672
20633
  export declare type OrganizationPaymentSettingVersion = io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
20673
20634
  export declare type OrganizationPaymentStatus = io.flow.internal.v0.enums.OrganizationPaymentStatus;
20635
+ export declare type OrganizationRestrictionProductSummary = io.flow.internal.v0.models.OrganizationRestrictionProductSummary;
20674
20636
  export declare type OrganizationRestrictionSummary = io.flow.internal.v0.models.OrganizationRestrictionSummary;
20675
20637
  export declare type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
20676
20638
  export declare type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
@@ -20830,7 +20792,6 @@ export declare type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
20830
20792
  export declare type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
20831
20793
  export declare type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
20832
20794
  export declare type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
20833
- export declare type RestrictionCatalogItem = io.flow.internal.v0.models.RestrictionCatalogItem;
20834
20795
  export declare type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
20835
20796
  export declare type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
20836
20797
  export declare type RestrictionItemReview = io.flow.internal.v0.models.RestrictionItemReview;
@@ -20838,7 +20799,10 @@ export declare type RestrictionItemReviewDecisionForm = io.flow.internal.v0.mode
20838
20799
  export declare type RestrictionKeywordMetadata = io.flow.internal.v0.models.RestrictionKeywordMetadata;
20839
20800
  export declare type RestrictionKeywords = io.flow.internal.v0.models.RestrictionKeywords;
20840
20801
  export declare type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
20802
+ export declare type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
20803
+ export declare type RestrictionProductDecisionForm = io.flow.internal.v0.models.RestrictionProductDecisionForm;
20841
20804
  export declare type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
20805
+ export declare type RestrictionRuleDecisionForm = io.flow.internal.v0.models.RestrictionRuleDecisionForm;
20842
20806
  export declare type RestrictionRuleForm = io.flow.internal.v0.models.RestrictionRuleForm;
20843
20807
  export declare type RestrictionRuleMetadata = io.flow.internal.v0.models.RestrictionRuleMetadata;
20844
20808
  export declare type RestrictionRuleSummary = io.flow.internal.v0.models.RestrictionRuleSummary;
package/dist/api.d.ts CHANGED
@@ -2253,7 +2253,7 @@ declare namespace io.flow.v0.enums {
2253
2253
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
2254
2254
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
2255
2255
  type ExporterOfRecord = 'flow' | 'organization';
2256
- type FeeDeductionType = 'mor' | 'fx' | 'processing' | 'rate_lock' | 'duty_guarantee' | 'revenue_share' | 'transfer';
2256
+ type FeeDeductionType = 'mor' | 'fx' | 'processing' | 'rate_lock' | 'duty_guarantee' | 'transfer';
2257
2257
  type FlowBehavior = 'view_consumer_data';
2258
2258
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
2259
2259
  type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
@@ -2289,7 +2289,7 @@ declare namespace io.flow.v0.enums {
2289
2289
  type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
2290
2290
  type MerchantOfRecord = 'flow' | 'organization';
2291
2291
  type Method = 'post';
2292
- 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';
2292
+ type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
2293
2293
  type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
2294
2294
  type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
2295
2295
  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';
@@ -2373,7 +2373,7 @@ declare namespace io.flow.v0.enums {
2373
2373
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2374
2374
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2375
2375
  type TradeAgreementStatus = 'supported' | 'not_supported';
2376
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label';
2376
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label' | 'other_adjustement' | 'tax_adjustement';
2377
2377
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2378
2378
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
2379
2379
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -6159,8 +6159,8 @@ declare namespace io.flow.v0.models {
6159
6159
  interface MerchantInfo {
6160
6160
  readonly legal_name?: string;
6161
6161
  readonly country: string;
6162
- readonly region: io.flow.v0.enums.RegionType;
6163
- readonly region_value: string;
6162
+ readonly region?: io.flow.v0.enums.RegionType;
6163
+ readonly region_value?: string;
6164
6164
  }
6165
6165
  interface MerchantOfRecordAuthorizationForm {
6166
6166
  readonly discriminator: 'merchant_of_record_authorization_form';
@@ -6201,6 +6201,14 @@ declare namespace io.flow.v0.models {
6201
6201
  readonly amount: number;
6202
6202
  readonly currency: string;
6203
6203
  }
6204
+ interface MerchantOnboardingAddress {
6205
+ readonly full_name?: string;
6206
+ readonly streets?: string[];
6207
+ readonly city?: string;
6208
+ readonly province?: string;
6209
+ readonly postal?: string;
6210
+ readonly country?: string;
6211
+ }
6204
6212
  interface Money {
6205
6213
  readonly amount: number;
6206
6214
  readonly currency: string;
@@ -6259,6 +6267,20 @@ declare namespace io.flow.v0.models {
6259
6267
  readonly min: number;
6260
6268
  readonly max: number;
6261
6269
  }
6270
+ interface OnboardingMerchantPickupWindow {
6271
+ readonly from: io.flow.v0.models.OnboardingMerchantTime;
6272
+ readonly to: io.flow.v0.models.OnboardingMerchantTime;
6273
+ }
6274
+ interface OnboardingMerchantScheduledPickup {
6275
+ readonly day_of_week: io.flow.v0.enums.DayOfWeek;
6276
+ readonly window: io.flow.v0.models.OnboardingMerchantPickupWindow;
6277
+ readonly instructions?: string;
6278
+ }
6279
+ interface OnboardingMerchantTime {
6280
+ readonly hour_of_day: string;
6281
+ readonly minute_of_hour: string;
6282
+ readonly timezone: string;
6283
+ }
6262
6284
  interface OnlineAuthorization {
6263
6285
  readonly discriminator: 'online_authorization';
6264
6286
  readonly id: string;
@@ -9301,6 +9323,7 @@ declare namespace io.flow.v0.models {
9301
9323
  interface ShopifyMerchantApplication {
9302
9324
  readonly discriminator: 'shopify_merchant_application';
9303
9325
  readonly id: string;
9326
+ readonly organization_id: string;
9304
9327
  readonly company?: io.flow.v0.models.MerchantInfo;
9305
9328
  readonly indirect_tax_number?: string;
9306
9329
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -9769,17 +9792,12 @@ declare namespace io.flow.v0.models {
9769
9792
  readonly email_recipients?: string[];
9770
9793
  }
9771
9794
  interface ThirdPartyLogisticsPartner {
9772
- readonly warehouse_address: io.flow.v0.models.BillingAddress;
9795
+ readonly warehouse_address: io.flow.v0.models.MerchantOnboardingAddress;
9773
9796
  readonly warehouse_url?: string;
9774
- readonly third_party_logistics_pick_up_time_window?: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
9775
- readonly pickup_location?: io.flow.v0.models.BillingAddress;
9776
- readonly pickup_instructions?: string;
9797
+ readonly location?: io.flow.v0.models.MerchantOnboardingAddress;
9798
+ readonly scheduled_pickups?: io.flow.v0.models.OnboardingMerchantScheduledPickup[];
9777
9799
  readonly operations_contact: io.flow.v0.models.OperationsContact;
9778
9800
  }
9779
- interface ThirdPartyLogisticsPickUpTimeWindow {
9780
- readonly from: string;
9781
- readonly to: string;
9782
- }
9783
9801
  interface ThreeDSecure {
9784
9802
  readonly code: io.flow.v0.enums.ThreeDSecureCode;
9785
9803
  readonly description?: string;
@@ -11138,6 +11156,7 @@ export declare type MerchantOfRecordAuthorizationForm = io.flow.v0.models.Mercha
11138
11156
  export declare type MerchantOfRecordEntity = io.flow.v0.models.MerchantOfRecordEntity;
11139
11157
  export declare type MerchantOfRecordEntityRegistration = io.flow.v0.models.MerchantOfRecordEntityRegistration;
11140
11158
  export declare type MerchantOfRecordPaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
11159
+ export declare type MerchantOnboardingAddress = io.flow.v0.models.MerchantOnboardingAddress;
11141
11160
  export declare type Method = io.flow.v0.enums.Method;
11142
11161
  export declare type Money = io.flow.v0.models.Money;
11143
11162
  export declare type MoneyWithBase = io.flow.v0.models.MoneyWithBase;
@@ -11151,6 +11170,9 @@ export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInvent
11151
11170
  export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
11152
11171
  export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
11153
11172
  export declare type NumberRange = io.flow.v0.models.NumberRange;
11173
+ export declare type OnboardingMerchantPickupWindow = io.flow.v0.models.OnboardingMerchantPickupWindow;
11174
+ export declare type OnboardingMerchantScheduledPickup = io.flow.v0.models.OnboardingMerchantScheduledPickup;
11175
+ export declare type OnboardingMerchantTime = io.flow.v0.models.OnboardingMerchantTime;
11154
11176
  export declare type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
11155
11177
  export declare type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
11156
11178
  export declare type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
@@ -11831,7 +11853,6 @@ export declare type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResu
11831
11853
  export declare type TaxabilityType = io.flow.v0.enums.TaxabilityType;
11832
11854
  export declare type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
11833
11855
  export declare type ThirdPartyLogisticsPartner = io.flow.v0.models.ThirdPartyLogisticsPartner;
11834
- export declare type ThirdPartyLogisticsPickUpTimeWindow = io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
11835
11856
  export declare type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
11836
11857
  export declare type ThreeDSecureCode = io.flow.v0.enums.ThreeDSecureCode;
11837
11858
  export declare type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeAction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.13",
3
+ "version": "11.24.14",
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": "61a6018937ed427348e5383966560694bcf4635e"
28
+ "gitHead": "ff2134f64115a5c626909157c3b9470881542b36"
29
29
  }
@@ -5175,7 +5175,7 @@ declare namespace io.flow.adyen.v0.enums {
5175
5175
  | 'SECOND_CHARGEBACK'
5176
5176
  | 'PREARBITRATION_WON'
5177
5177
  | 'PREARBITRATION_LOST';
5178
- type HttpRedirectMethod = 'GET' | 'POST';
5178
+ type Method = 'GET' | 'POST';
5179
5179
  type Operation = 'cancel' | 'capture' | 'refund';
5180
5180
  type PaymentMethod =
5181
5181
  | 'ach'
@@ -5184,7 +5184,6 @@ declare namespace io.flow.adyen.v0.enums {
5184
5184
  | 'amex'
5185
5185
  | 'bankTransfer_IBAN'
5186
5186
  | 'bcmc'
5187
- | 'bcmc_mobile'
5188
5187
  | 'cartebancaire'
5189
5188
  | 'cup'
5190
5189
  | 'diners'
@@ -5247,11 +5246,6 @@ declare namespace io.flow.adyen.v0.models {
5247
5246
  readonly currency: string;
5248
5247
  }
5249
5248
 
5250
- interface Applepay {
5251
- readonly type: 'applepay';
5252
- readonly applePayToken: string;
5253
- }
5254
-
5255
5249
  interface Authentication {
5256
5250
  readonly 'threeds2.fingerprintToken'?: string;
5257
5251
  readonly 'threeds2.challengeToken'?: string;
@@ -5279,8 +5273,6 @@ declare namespace io.flow.adyen.v0.models {
5279
5273
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5280
5274
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
5281
5275
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5282
- readonly mcc?: string;
5283
- readonly metadata?: any /*object*/;
5284
5276
  }
5285
5277
 
5286
5278
  interface AuthorizeRequest3D {
@@ -5437,14 +5429,6 @@ declare namespace io.flow.adyen.v0.models {
5437
5429
  readonly paymentData?: string;
5438
5430
  }
5439
5431
 
5440
- interface PaymentDetailsV663Ds2Challenge {
5441
- readonly 'threeds2.challengeResult': string;
5442
- }
5443
-
5444
- interface PaymentDetailsV663Ds2Fingerprint {
5445
- readonly 'threeds2.fingerprint': string;
5446
- }
5447
-
5448
5432
  interface PaymentRequest {
5449
5433
  readonly reference: string;
5450
5434
  readonly merchantAccount: string;
@@ -5466,11 +5450,7 @@ declare namespace io.flow.adyen.v0.models {
5466
5450
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5467
5451
  readonly origin?: string;
5468
5452
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5469
- readonly returnUrl?: string;
5470
- readonly mcc?: string;
5471
- readonly metadata?: any /*object*/;
5472
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5473
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5453
+ readonly returnURL?: string;
5474
5454
  }
5475
5455
 
5476
5456
  interface PaymentResponse {
@@ -5493,28 +5473,6 @@ declare namespace io.flow.adyen.v0.models {
5493
5473
  readonly threeDAuthenticatedResponse?: string;
5494
5474
  readonly threeDOffered?: string;
5495
5475
  readonly threeDOfferedResponse?: string;
5496
- readonly threeDSVersion?: string;
5497
- readonly eci?: string;
5498
- readonly scaExemptionRequested?: string;
5499
- readonly paymentMethod?: string;
5500
- readonly paymentMethodVariant?: string;
5501
- readonly tokenTxVariant?: string;
5502
- readonly acquirerCode?: string;
5503
- readonly acquirerAccountCode?: string;
5504
- readonly cardPaymentMethod?: string;
5505
- readonly coBrandedWith?: string;
5506
- readonly cardIssuingCountry?: string;
5507
- readonly cardIssuingCurrency?: string;
5508
- readonly cardIssuingBank?: string;
5509
- readonly cardBin?: string;
5510
- readonly issuerBin?: string;
5511
- readonly cardSummary?: string;
5512
- readonly untokenisedCardSummary?: string;
5513
- readonly ownerName?: string;
5514
- readonly bankName?: string;
5515
- readonly issuerCountry?: string;
5516
- readonly iban?: string;
5517
- readonly bic?: string;
5518
5476
  }
5519
5477
 
5520
5478
  interface Recurring {
@@ -5523,7 +5481,7 @@ declare namespace io.flow.adyen.v0.models {
5523
5481
 
5524
5482
  interface Redirect {
5525
5483
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5526
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5484
+ readonly method?: io.flow.adyen.v0.enums.Method;
5527
5485
  readonly url?: string;
5528
5486
  }
5529
5487
 
@@ -5548,15 +5506,6 @@ declare namespace io.flow.adyen.v0.models {
5548
5506
  readonly cvc?: string;
5549
5507
  }
5550
5508
 
5551
- interface SdkV3OnCompleteData {
5552
- readonly details: any /*object*/;
5553
- readonly payment_data?: string;
5554
- }
5555
-
5556
- interface SdkV3OnCompleteResult {
5557
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5558
- }
5559
-
5560
5509
  interface ThreeDSecureData {
5561
5510
  readonly authenticationResponse?: string;
5562
5511
  readonly cavv?: string;
@@ -5588,9 +5537,7 @@ declare namespace io.flow.adyen.v0.unions {
5588
5537
  type BrowserInfo =
5589
5538
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5590
5539
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5591
- type PaymentMethodData =
5592
- | io.flow.adyen.v0.models.Scheme
5593
- | io.flow.adyen.v0.models.Applepay;
5540
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5594
5541
  }
5595
5542
 
5596
5543
  declare namespace io.flow.order.management.v0.enums {
@@ -21599,16 +21546,6 @@ declare namespace io.flow.internal.v0.models {
21599
21546
  readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
21600
21547
  }
21601
21548
 
21602
- interface OrganizationCatalogRestrictionSummary {
21603
- readonly organization: io.flow.common.v0.models.OrganizationSummary;
21604
- readonly earliest_date: string;
21605
- readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
21606
- readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
21607
- readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21608
- readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21609
- readonly total: number;
21610
- }
21611
-
21612
21549
  interface OrganizationCurrencySetting {
21613
21550
  readonly id: string;
21614
21551
  readonly organization: string;
@@ -21687,6 +21624,16 @@ declare namespace io.flow.internal.v0.models {
21687
21624
  readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
21688
21625
  }
21689
21626
 
21627
+ interface OrganizationRestrictionProductSummary {
21628
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
21629
+ readonly earliest_date: string;
21630
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
21631
+ readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
21632
+ readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21633
+ readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21634
+ readonly total: number;
21635
+ }
21636
+
21690
21637
  interface OrganizationRestrictionSummary {
21691
21638
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
21692
21639
  readonly earliest_date: string;
@@ -22685,26 +22632,10 @@ declare namespace io.flow.internal.v0.models {
22685
22632
  readonly select_mismatching_item_types: boolean;
22686
22633
  }
22687
22634
 
22688
- interface RestrictionCatalogItem {
22689
- readonly id: string;
22690
- readonly organization_id: string;
22691
- readonly product_id: string;
22692
- readonly name: string;
22693
- readonly price: io.flow.common.v0.models.Price;
22694
- readonly item_numbers: string[];
22695
- readonly description: string;
22696
- readonly categories: string[];
22697
- readonly images: io.flow.catalog.v0.models.Image[];
22698
- readonly thumbnails: io.flow.catalog.v0.models.Image[];
22699
- readonly reviews: io.flow.internal.v0.models.RestrictionItemReview[];
22700
- readonly created_at: string;
22701
- readonly updated_at: string;
22702
- }
22703
-
22704
22635
  interface RestrictionItem {
22705
22636
  readonly id: string;
22706
22637
  readonly organization_id: string;
22707
- readonly catalog_item_id: string;
22638
+ readonly restriction_product_id: string;
22708
22639
  readonly product_id: string;
22709
22640
  readonly name: string;
22710
22641
  readonly price: io.flow.common.v0.models.Price;
@@ -22749,6 +22680,26 @@ declare namespace io.flow.internal.v0.models {
22749
22680
  readonly count: number;
22750
22681
  }
22751
22682
 
22683
+ interface RestrictionProduct {
22684
+ readonly id: string;
22685
+ readonly organization_id: string;
22686
+ readonly product_id: string;
22687
+ readonly name: string;
22688
+ readonly price: io.flow.common.v0.models.Price;
22689
+ readonly item_numbers: string[];
22690
+ readonly description: string;
22691
+ readonly categories: string[];
22692
+ readonly images: io.flow.catalog.v0.models.Image[];
22693
+ readonly thumbnails: io.flow.catalog.v0.models.Image[];
22694
+ readonly reviews: io.flow.internal.v0.models.RestrictionItemReview[];
22695
+ readonly created_at: string;
22696
+ readonly updated_at: string;
22697
+ }
22698
+
22699
+ interface RestrictionProductDecisionForm {
22700
+ readonly rule_decisions: io.flow.internal.v0.models.RestrictionRuleDecisionForm[];
22701
+ }
22702
+
22752
22703
  interface RestrictionRule {
22753
22704
  readonly id: string;
22754
22705
  readonly name: string;
@@ -22759,6 +22710,11 @@ declare namespace io.flow.internal.v0.models {
22759
22710
  readonly negative_keywords: string[];
22760
22711
  }
22761
22712
 
22713
+ interface RestrictionRuleDecisionForm {
22714
+ readonly rule_id: string;
22715
+ readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
22716
+ }
22717
+
22762
22718
  interface RestrictionRuleForm {
22763
22719
  readonly name: string;
22764
22720
  readonly description: string;
@@ -27728,8 +27684,6 @@ export type OrganizationBooleanValueUpserted =
27728
27684
  io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
27729
27685
  export type OrganizationCapability =
27730
27686
  io.flow.internal.v0.enums.OrganizationCapability;
27731
- export type OrganizationCatalogRestrictionSummary =
27732
- io.flow.internal.v0.models.OrganizationCatalogRestrictionSummary;
27733
27687
  export type OrganizationCurrencySetting =
27734
27688
  io.flow.internal.v0.models.OrganizationCurrencySetting;
27735
27689
  export type OrganizationCurrencySettingDeleted =
@@ -27754,6 +27708,8 @@ export type OrganizationPaymentSettingVersion =
27754
27708
  io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
27755
27709
  export type OrganizationPaymentStatus =
27756
27710
  io.flow.internal.v0.enums.OrganizationPaymentStatus;
27711
+ export type OrganizationRestrictionProductSummary =
27712
+ io.flow.internal.v0.models.OrganizationRestrictionProductSummary;
27757
27713
  export type OrganizationRestrictionSummary =
27758
27714
  io.flow.internal.v0.models.OrganizationRestrictionSummary;
27759
27715
  export type OrganizationSettings =
@@ -28014,8 +27970,6 @@ export type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
28014
27970
  export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
28015
27971
  export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
28016
27972
  export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
28017
- export type RestrictionCatalogItem =
28018
- io.flow.internal.v0.models.RestrictionCatalogItem;
28019
27973
  export type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
28020
27974
  export type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
28021
27975
  export type RestrictionItemReview =
@@ -28027,7 +27981,12 @@ export type RestrictionKeywordMetadata =
28027
27981
  export type RestrictionKeywords =
28028
27982
  io.flow.internal.v0.models.RestrictionKeywords;
28029
27983
  export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
27984
+ export type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
27985
+ export type RestrictionProductDecisionForm =
27986
+ io.flow.internal.v0.models.RestrictionProductDecisionForm;
28030
27987
  export type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
27988
+ export type RestrictionRuleDecisionForm =
27989
+ io.flow.internal.v0.models.RestrictionRuleDecisionForm;
28031
27990
  export type RestrictionRuleForm =
28032
27991
  io.flow.internal.v0.models.RestrictionRuleForm;
28033
27992
  export type RestrictionRuleMetadata =
package/src/api.ts CHANGED
@@ -3198,7 +3198,6 @@ declare namespace io.flow.v0.enums {
3198
3198
  | 'processing'
3199
3199
  | 'rate_lock'
3200
3200
  | 'duty_guarantee'
3201
- | 'revenue_share'
3202
3201
  | 'transfer';
3203
3202
  type FlowBehavior = 'view_consumer_data';
3204
3203
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
@@ -3287,29 +3286,34 @@ declare namespace io.flow.v0.enums {
3287
3286
  type MerchantOfRecord = 'flow' | 'organization';
3288
3287
  type Method = 'post';
3289
3288
  type OnboardingTradeSector =
3290
- | 'apparel'
3291
3289
  | 'accessories'
3292
- | 'arts_and_entertainment'
3293
3290
  | 'animals_and_pet_supplies'
3291
+ | 'apparel'
3292
+ | 'apparel_and_accessories'
3293
+ | 'arts_and_entertainment'
3294
3294
  | 'baby_and_toddler'
3295
3295
  | 'business_and_industrial'
3296
- | 'camera_and_optics'
3296
+ | 'cameras_and_optics'
3297
3297
  | 'electronics'
3298
- | 'furniture'
3299
3298
  | 'food_beverages_and_tobacco'
3299
+ | 'furniture'
3300
+ | 'gift_cards'
3301
+ | 'hardware'
3300
3302
  | 'health_and_beauty'
3301
3303
  | 'home_and_garden'
3302
- | 'hardware'
3303
3304
  | 'jewelry'
3304
3305
  | 'luggage_and_bags'
3306
+ | 'mature'
3305
3307
  | 'media'
3306
3308
  | 'office_supplies'
3307
- | 'sporting_goods'
3308
- | 'toys_and_games'
3309
- | 'vehicles_and_parts'
3310
3309
  | 'paper_and_art'
3310
+ | 'religious_and_ceremonial'
3311
+ | 'software'
3312
+ | 'sporting_goods'
3311
3313
  | 'sports_and_fitness'
3314
+ | 'toys_and_games'
3312
3315
  | 'toys_hobbies_gifts'
3316
+ | 'vehicles_and_parts'
3313
3317
  | 'other';
3314
3318
  type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
3315
3319
  type OrderChangeSource =
@@ -3679,7 +3683,9 @@ declare namespace io.flow.v0.enums {
3679
3683
  | 'refund'
3680
3684
  | 'dispute'
3681
3685
  | 'adjustment'
3682
- | 'shipping_label';
3686
+ | 'shipping_label'
3687
+ | 'other_adjustement'
3688
+ | 'tax_adjustement';
3683
3689
  type UnitOfMeasurement =
3684
3690
  | 'millimeter'
3685
3691
  | 'centimeter'
@@ -8105,8 +8111,8 @@ declare namespace io.flow.v0.models {
8105
8111
  interface MerchantInfo {
8106
8112
  readonly legal_name?: string;
8107
8113
  readonly country: string;
8108
- readonly region: io.flow.v0.enums.RegionType;
8109
- readonly region_value: string;
8114
+ readonly region?: io.flow.v0.enums.RegionType;
8115
+ readonly region_value?: string;
8110
8116
  }
8111
8117
 
8112
8118
  interface MerchantOfRecordAuthorizationForm {
@@ -8152,6 +8158,15 @@ declare namespace io.flow.v0.models {
8152
8158
  readonly currency: string;
8153
8159
  }
8154
8160
 
8161
+ interface MerchantOnboardingAddress {
8162
+ readonly full_name?: string;
8163
+ readonly streets?: string[];
8164
+ readonly city?: string;
8165
+ readonly province?: string;
8166
+ readonly postal?: string;
8167
+ readonly country?: string;
8168
+ }
8169
+
8155
8170
  interface Money {
8156
8171
  readonly amount: number;
8157
8172
  readonly currency: string;
@@ -8222,6 +8237,23 @@ declare namespace io.flow.v0.models {
8222
8237
  readonly max: number;
8223
8238
  }
8224
8239
 
8240
+ interface OnboardingMerchantPickupWindow {
8241
+ readonly from: io.flow.v0.models.OnboardingMerchantTime;
8242
+ readonly to: io.flow.v0.models.OnboardingMerchantTime;
8243
+ }
8244
+
8245
+ interface OnboardingMerchantScheduledPickup {
8246
+ readonly day_of_week: io.flow.v0.enums.DayOfWeek;
8247
+ readonly window: io.flow.v0.models.OnboardingMerchantPickupWindow;
8248
+ readonly instructions?: string;
8249
+ }
8250
+
8251
+ interface OnboardingMerchantTime {
8252
+ readonly hour_of_day: string;
8253
+ readonly minute_of_hour: string;
8254
+ readonly timezone: string;
8255
+ }
8256
+
8225
8257
  interface OnlineAuthorization {
8226
8258
  readonly discriminator: 'online_authorization';
8227
8259
  readonly id: string;
@@ -11765,6 +11797,7 @@ declare namespace io.flow.v0.models {
11765
11797
  interface ShopifyMerchantApplication {
11766
11798
  readonly discriminator: 'shopify_merchant_application';
11767
11799
  readonly id: string;
11800
+ readonly organization_id: string;
11768
11801
  readonly company?: io.flow.v0.models.MerchantInfo;
11769
11802
  readonly indirect_tax_number?: string;
11770
11803
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -12303,19 +12336,13 @@ declare namespace io.flow.v0.models {
12303
12336
  }
12304
12337
 
12305
12338
  interface ThirdPartyLogisticsPartner {
12306
- readonly warehouse_address: io.flow.v0.models.BillingAddress;
12339
+ readonly warehouse_address: io.flow.v0.models.MerchantOnboardingAddress;
12307
12340
  readonly warehouse_url?: string;
12308
- readonly third_party_logistics_pick_up_time_window?: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
12309
- readonly pickup_location?: io.flow.v0.models.BillingAddress;
12310
- readonly pickup_instructions?: string;
12341
+ readonly location?: io.flow.v0.models.MerchantOnboardingAddress;
12342
+ readonly scheduled_pickups?: io.flow.v0.models.OnboardingMerchantScheduledPickup[];
12311
12343
  readonly operations_contact: io.flow.v0.models.OperationsContact;
12312
12344
  }
12313
12345
 
12314
- interface ThirdPartyLogisticsPickUpTimeWindow {
12315
- readonly from: string;
12316
- readonly to: string;
12317
- }
12318
-
12319
12346
  interface ThreeDSecure {
12320
12347
  readonly code: io.flow.v0.enums.ThreeDSecureCode;
12321
12348
  readonly description?: string;
@@ -14380,6 +14407,8 @@ export type MerchantOfRecordEntityRegistration =
14380
14407
  io.flow.v0.models.MerchantOfRecordEntityRegistration;
14381
14408
  export type MerchantOfRecordPaymentForm =
14382
14409
  io.flow.v0.models.MerchantOfRecordPaymentForm;
14410
+ export type MerchantOnboardingAddress =
14411
+ io.flow.v0.models.MerchantOnboardingAddress;
14383
14412
  export type Method = io.flow.v0.enums.Method;
14384
14413
  export type Money = io.flow.v0.models.Money;
14385
14414
  export type MoneyWithBase = io.flow.v0.models.MoneyWithBase;
@@ -14395,6 +14424,11 @@ export type NoInventoryReservationErrorItem =
14395
14424
  export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
14396
14425
  export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
14397
14426
  export type NumberRange = io.flow.v0.models.NumberRange;
14427
+ export type OnboardingMerchantPickupWindow =
14428
+ io.flow.v0.models.OnboardingMerchantPickupWindow;
14429
+ export type OnboardingMerchantScheduledPickup =
14430
+ io.flow.v0.models.OnboardingMerchantScheduledPickup;
14431
+ export type OnboardingMerchantTime = io.flow.v0.models.OnboardingMerchantTime;
14398
14432
  export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
14399
14433
  export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
14400
14434
  export type OnlineAuthorizationDeletedV2 =
@@ -15267,8 +15301,6 @@ export type TaxabilityType = io.flow.v0.enums.TaxabilityType;
15267
15301
  export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
15268
15302
  export type ThirdPartyLogisticsPartner =
15269
15303
  io.flow.v0.models.ThirdPartyLogisticsPartner;
15270
- export type ThirdPartyLogisticsPickUpTimeWindow =
15271
- io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
15272
15304
  export type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
15273
15305
  export type ThreeDSecureCode = io.flow.v0.enums.ThreeDSecureCode;
15274
15306
  export type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeAction;