@flowio/types 11.24.138 → 11.24.140

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.d.ts CHANGED
@@ -1421,6 +1421,7 @@ declare namespace io.flow.shopify.external.v0.models {
1421
1421
  readonly inventoryItem: io.flow.shopify.external.v0.models.GraphqlInventoryItem;
1422
1422
  }
1423
1423
  interface GraphqlTaxonomyCategory {
1424
+ readonly id?: string;
1424
1425
  readonly name: string;
1425
1426
  readonly fullName: string;
1426
1427
  }
@@ -1529,7 +1530,7 @@ declare namespace io.flow.shopify.external.v0.models {
1529
1530
  readonly created_at: string;
1530
1531
  readonly updated_at: string;
1531
1532
  readonly has_variants_that_requires_components?: boolean;
1532
- readonly category?: io.flow.product.v0.models.ProductTaxonomyCategory;
1533
+ readonly category?: io.flow.shopify.external.v0.models.RestTaxonomyCategory;
1533
1534
  readonly metafields?: io.flow.shopify.external.v0.models.ProductMetafield[];
1534
1535
  }
1535
1536
  interface ProductDelete {
@@ -1643,6 +1644,11 @@ declare namespace io.flow.shopify.external.v0.models {
1643
1644
  interface ResponseVariant {
1644
1645
  readonly variant: io.flow.shopify.external.v0.models.ProductVariant;
1645
1646
  }
1647
+ interface RestTaxonomyCategory {
1648
+ readonly name: string;
1649
+ readonly full_name: string;
1650
+ readonly admin_graphql_api_id?: string;
1651
+ }
1646
1652
  interface Shop {
1647
1653
  readonly id: number;
1648
1654
  readonly domain: string;
@@ -2260,7 +2266,7 @@ declare namespace io.flow.channel.internal.v0.models {
2260
2266
  readonly order_updated_at?: string;
2261
2267
  readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary;
2262
2268
  readonly payment_source?: io.flow.channel.internal.v0.enums.OrderPaymentSourceType;
2263
- readonly external_order_summary?: io.flow.channel.shopify.v0.models.ExternalOrderSummary;
2269
+ readonly external_order_summary?: io.flow.channel.internal.v0.models.ExternalOrderSummary;
2264
2270
  }
2265
2271
  interface ChannelOrderAcceptanceDetails {
2266
2272
  readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
@@ -2311,6 +2317,11 @@ declare namespace io.flow.channel.internal.v0.models {
2311
2317
  readonly catalog_sync_duration?: number;
2312
2318
  readonly catalog_products_count?: number;
2313
2319
  }
2320
+ interface ExternalOrderSummary {
2321
+ readonly id: string;
2322
+ readonly edit_ids: string[];
2323
+ readonly created_at?: string;
2324
+ }
2314
2325
  interface FlowChannelOrganization {
2315
2326
  readonly placeholder?: string;
2316
2327
  }
@@ -2592,6 +2603,7 @@ declare namespace io.flow.common.v0.models {
2592
2603
  readonly created_at?: string;
2593
2604
  readonly status?: io.flow.common.v0.enums.OrganizationStatus;
2594
2605
  readonly type?: io.flow.common.v0.enums.OrganizationType;
2606
+ readonly channel?: io.flow.common.v0.models.ChannelReference;
2595
2607
  }
2596
2608
  interface OrganizationDefaults {
2597
2609
  readonly country: string;
@@ -2603,6 +2615,7 @@ declare namespace io.flow.common.v0.models {
2603
2615
  interface OrganizationReference {
2604
2616
  readonly discriminator: 'organization_reference';
2605
2617
  readonly id: string;
2618
+ readonly channel?: io.flow.common.v0.models.ChannelReference;
2606
2619
  }
2607
2620
  interface OrganizationSummary {
2608
2621
  readonly id: string;
@@ -2714,30 +2727,6 @@ declare namespace io.flow.error.v0.models {
2714
2727
  readonly messages: string[];
2715
2728
  }
2716
2729
  }
2717
- declare namespace io.flow.channel.shopify.v0.enums {
2718
- type ChannelShopifyOrderStateReasonCode = 'placeholder_reason_code';
2719
- }
2720
- declare namespace io.flow.channel.shopify.v0.models {
2721
- interface ChannelShopifyOrderState {
2722
- readonly id: string;
2723
- readonly shopify_order_summary: io.flow.channel.shopify.v0.models.ChannelShopifyOrderSummary;
2724
- readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
2725
- readonly reasons?: io.flow.channel.shopify.v0.models.ChannelShopifyOrderStateReason[];
2726
- readonly external_order_summary?: io.flow.channel.shopify.v0.models.ExternalOrderSummary;
2727
- }
2728
- interface ChannelShopifyOrderStateReason {
2729
- readonly code: io.flow.channel.shopify.v0.enums.ChannelShopifyOrderStateReasonCode;
2730
- readonly message: string;
2731
- }
2732
- interface ChannelShopifyOrderSummary {
2733
- readonly order_id: number;
2734
- readonly shop_id: number;
2735
- }
2736
- interface ExternalOrderSummary {
2737
- readonly id: string;
2738
- readonly edit_ids: string[];
2739
- }
2740
- }
2741
2730
  declare namespace io.flow.channel.v0.enums {
2742
2731
  type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
2743
2732
  }
@@ -2971,6 +2960,7 @@ declare namespace io.flow.product.v0.models {
2971
2960
  interface ProductTaxonomyCategory {
2972
2961
  readonly name: string;
2973
2962
  readonly full_name: string;
2963
+ readonly id?: string;
2974
2964
  }
2975
2965
  interface ProductTaxonomyData {
2976
2966
  readonly key: string;
@@ -3044,6 +3034,7 @@ declare namespace io.flow.v0.enums {
3044
3034
  type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
3045
3035
  type CostEstimateSource = 'flow' | 'channel';
3046
3036
  type CountryPickerSource = 'experience' | 'destination';
3037
+ type CpscAttribute = 'certification_id' | 'citation_codes' | 'manufactured_date' | 'manufactured_location' | 'product_test_date' | 'test_lab_name' | 'point_of_contact' | 'certification_version' | 'certification_product_id' | 'certificate_type' | 'lab_type' | 'taxonomy_reference';
3047
3038
  type CreditPaymentErrorCode = 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount';
3048
3039
  type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix';
3049
3040
  type CurrencySymbolFormat = 'narrow' | 'primary';
@@ -3128,9 +3119,11 @@ declare namespace io.flow.v0.enums {
3128
3119
  type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
3129
3120
  type OrderPaymentSourceType = 'globale' | 'third_party';
3130
3121
  type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
3122
+ type OrderPriceCoefficientType = 'item_shipping';
3131
3123
  type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge' | 'tip';
3132
3124
  type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
3133
3125
  type OrderPriceFeeType = 'service' | 'fx' | 'tax' | 'duties' | 'tax_and_duties' | 'product' | 'mor_tax';
3126
+ type OrderPriceSubsidyType = 'shipping_subsidy';
3134
3127
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
3135
3128
  type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
3136
3129
  type OrderStateStatus = 'pending' | 'accepted' | 'rejected';
@@ -3170,7 +3163,7 @@ declare namespace io.flow.v0.enums {
3170
3163
  type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
3171
3164
  type PriceFacetBoundary = 'min' | 'max';
3172
3165
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
3173
- type PricingType = 'inclusive_pricing';
3166
+ type PricingType = 'inclusive_pricing' | 'inclusive_pricing_with_shipping';
3174
3167
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
3175
3168
  type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
3176
3169
  type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
@@ -3180,6 +3173,8 @@ declare namespace io.flow.v0.enums {
3180
3173
  type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
3181
3174
  type RegionType = 'state' | 'province' | 'jurisdiction';
3182
3175
  type RestrictedReviewStatus = 'in_review' | 'reviewed';
3176
+ type RestrictionDecision = 'accept' | 'reject' | 'escalate' | 'review';
3177
+ type RestrictionDecisionReason = 'manual_dispute' | 'operations_decision';
3183
3178
  type RestrictionEnvironment = 'sandbox' | 'production' | 'qa';
3184
3179
  type ReturnItemStatus = 'returnable' | 'non-returnable';
3185
3180
  type ReturnPolicyState = 'current' | 'deleting' | 'updating';
@@ -3208,7 +3203,7 @@ declare namespace io.flow.v0.enums {
3208
3203
  type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
3209
3204
  type SortDirection = 'ascending' | 'descending';
3210
3205
  type StatementAttachmentType = 'csv' | 'pdf';
3211
- type StatementStatusCode = 'scheduled' | 'sent' | 'failed';
3206
+ type StatementStatusCode = 'scheduled' | 'sent' | 'failed' | 'paid';
3212
3207
  type StoredMethodUsageStep = 'initial' | 'subsequent';
3213
3208
  type Strategy = 'range' | 'from' | 'to';
3214
3209
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
@@ -3217,7 +3212,7 @@ declare namespace io.flow.v0.enums {
3217
3212
  type TaxAndDutyInclusivitySetting = 'duty_exclusive_tax_exclusive' | 'duty_inclusive_tax_exclusive' | 'duty_exclusive_tax_inclusive' | 'duty_inclusive_tax_inclusive';
3218
3213
  type TaxApplicability = 'none' | 'all';
3219
3214
  type TaxDutyCalculatorValidationErrorCode = 'generic_error' | 'destination_country_not_defined' | 'destination_address_iso3166_unrecognized' | 'line_item_shipfrom_shipto_country_invalid' | 'line_item_ship_from_invalid' | 'line_item_currency_iso4217_unrecognized' | 'line_quantity_invalid' | 'line_item_quantity_invalid' | 'line_item_unit_price_precision_invalid' | 'line_item_unit_price_negative' | 'line_item_discount_amount_precision_invalid' | 'line_item_discount_amount_positive' | 'line_item_country_of_origin_iso3166_unrecognized' | 'line_item_hs_code_invalid' | 'line_item_duty_provider_invalid' | 'shipping_unit_price_precision_invalid' | 'shipping_unit_price_negative' | 'shipping_discount_amount_precision_invalid' | 'shipping_discount_amount_invalid' | 'merchant_of_record_invalid' | 'wrong_unit_specified';
3220
- type TaxDutyTransactionReasonCode = 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'us_inbound_tax_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min' | 'order_cancellation_without_capture';
3215
+ type TaxDutyTransactionReasonCode = 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'us_inbound_tax_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'wyol_shipment_lvg' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min' | 'order_cancellation_without_capture';
3221
3216
  type TaxJurisdictionType = 'country' | 'province';
3222
3217
  type TaxReportType = 'consumer' | 'b2b';
3223
3218
  type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
@@ -3234,7 +3229,7 @@ declare namespace io.flow.v0.enums {
3234
3229
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired' | 'unknown' | 'unmapped';
3235
3230
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
3236
3231
  type TradeAgreementStatus = 'supported' | 'not_supported';
3237
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share' | 'merchant_fee' | 'b2b_tax' | 'b2b_tax_refund' | 'b2b_fee_mor_tax' | 'b2b_fee_shipping_tax' | 'flat_rate_label';
3232
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share' | 'merchant_fee' | 'b2b_tax' | 'b2b_tax_refund' | 'b2b_fee_mor_tax' | 'b2b_fee_shipping_tax' | 'flat_rate_label' | 'flat_rate_label_subsidy';
3238
3233
  type TransferStatus = 'succeeded' | 'canceled';
3239
3234
  type TransferType = 'payout_to_merchant' | 'disputed_amount_to_merchant' | 'duties_and_taxes_adjustment_to_merchant' | 'disputed_amount_from_merchant' | 'duties_and_taxes_adjustment_from_merchant' | 'refund_from_merchant';
3240
3235
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups' | 'fedex';
@@ -3913,6 +3908,39 @@ declare namespace io.flow.v0.models {
3913
3908
  readonly organization: string;
3914
3909
  readonly b2b_credit_memo: io.flow.v0.models.B2BCreditMemo;
3915
3910
  }
3911
+ interface B2BCreditNote {
3912
+ readonly id: string;
3913
+ readonly number: string;
3914
+ readonly status: io.flow.v0.enums.ConsumerInvoiceStatus;
3915
+ readonly date: string;
3916
+ readonly key: string;
3917
+ readonly debit_note: io.flow.v0.models.B2BDebitNoteReference;
3918
+ readonly order?: io.flow.v0.models.ConsumerInvoiceOrderSummary;
3919
+ readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
3920
+ readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
3921
+ readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
3922
+ readonly attributes: Record<string, string>;
3923
+ readonly voids_b2b_debit_note?: boolean;
3924
+ }
3925
+ interface B2BDebitNote {
3926
+ readonly id: string;
3927
+ readonly number: string;
3928
+ readonly buyer: io.flow.v0.models.MerchantOfRecordEntity;
3929
+ readonly seller: io.flow.v0.models.MerchantOfRecordEntity;
3930
+ readonly status: io.flow.v0.enums.ConsumerInvoiceStatus;
3931
+ readonly date: string;
3932
+ readonly key: string;
3933
+ readonly order: io.flow.v0.models.ConsumerInvoiceOrderSummary;
3934
+ readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
3935
+ readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
3936
+ readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
3937
+ readonly attributes: Record<string, string>;
3938
+ }
3939
+ interface B2BDebitNoteReference {
3940
+ readonly id: string;
3941
+ readonly key: string;
3942
+ readonly number: string;
3943
+ }
3916
3944
  interface B2BInvoice {
3917
3945
  readonly id: string;
3918
3946
  readonly number: string;
@@ -3983,14 +4011,10 @@ declare namespace io.flow.v0.models {
3983
4011
  }
3984
4012
  interface BankAccountInfoKor {
3985
4013
  readonly discriminator: 'kor';
3986
- readonly name?: string;
3987
- readonly address?: io.flow.v0.models.Address;
3988
- readonly phone?: string;
3989
- readonly email?: string;
4014
+ readonly name: string;
3990
4015
  readonly bank_account_number: string;
3991
- readonly bank_routing_number?: string;
3992
- readonly bank_name?: string;
3993
- readonly bank_address?: io.flow.v0.models.Address;
4016
+ readonly bank_routing_number: string;
4017
+ readonly bank_name: string;
3994
4018
  }
3995
4019
  interface BankAccountInfoKorV2 {
3996
4020
  readonly discriminator: 'kor_v2';
@@ -4629,7 +4653,7 @@ declare namespace io.flow.v0.models {
4629
4653
  readonly shopify_order_summary: io.flow.v0.models.ChannelShopifyOrderSummary;
4630
4654
  readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
4631
4655
  readonly reasons?: io.flow.v0.models.ChannelShopifyOrderStateReason[];
4632
- readonly external_order_summary?: io.flow.v0.models.ExternalOrderSummary;
4656
+ readonly external_order_summary?: io.flow.channel.internal.v0.models.ExternalOrderSummary;
4633
4657
  }
4634
4658
  interface ChannelShopifyOrderStateDeleted {
4635
4659
  readonly discriminator: 'channel_shopify_order_state_deleted';
@@ -4660,6 +4684,7 @@ declare namespace io.flow.v0.models {
4660
4684
  readonly settlement: io.flow.v0.unions.Settlement;
4661
4685
  readonly attachments: io.flow.v0.models.Attachment[];
4662
4686
  readonly created_at: string;
4687
+ readonly period?: io.flow.v0.models.DatetimeRange;
4663
4688
  }
4664
4689
  interface ChannelStatementDeleted {
4665
4690
  readonly discriminator: 'channel_statement_deleted';
@@ -6055,10 +6080,6 @@ declare namespace io.flow.v0.models {
6055
6080
  readonly id: string;
6056
6081
  readonly type?: io.flow.v0.enums.CardType;
6057
6082
  }
6058
- interface ExternalOrderSummary {
6059
- readonly id: string;
6060
- readonly edit_ids: string[];
6061
- }
6062
6083
  interface FeeDeduction {
6063
6084
  readonly type: io.flow.v0.enums.FeeDeductionType;
6064
6085
  readonly amount: number;
@@ -7139,6 +7160,7 @@ declare namespace io.flow.v0.models {
7139
7160
  interface LaneSummary {
7140
7161
  readonly id: string;
7141
7162
  readonly ratecard: io.flow.v0.models.RatecardSummary;
7163
+ readonly dim_factor: number;
7142
7164
  }
7143
7165
  interface Language {
7144
7166
  readonly name: string;
@@ -7964,6 +7986,11 @@ declare namespace io.flow.v0.models {
7964
7986
  readonly organization: string;
7965
7987
  readonly order_placed: io.flow.v0.models.OrderPlacedDetails;
7966
7988
  }
7989
+ interface OrderPriceCoefficient {
7990
+ readonly type: io.flow.v0.enums.OrderPriceCoefficientType;
7991
+ readonly value: number;
7992
+ readonly price: io.flow.v0.models.PriceWithBase;
7993
+ }
7967
7994
  interface OrderPriceDetail {
7968
7995
  readonly key: io.flow.v0.enums.OrderPriceDetailKey;
7969
7996
  readonly currency: string;
@@ -7994,6 +8021,10 @@ declare namespace io.flow.v0.models {
7994
8021
  readonly value: io.flow.v0.models.PriceWithBase;
7995
8022
  readonly type: io.flow.v0.enums.OrderPriceFeeType;
7996
8023
  }
8024
+ interface OrderPriceSubsidy {
8025
+ readonly type: io.flow.v0.enums.OrderPriceSubsidyType;
8026
+ readonly price: io.flow.v0.models.PriceWithBase;
8027
+ }
7997
8028
  interface OrderPromotionTrigger {
7998
8029
  readonly type: io.flow.v0.enums.PromotionTriggerType;
7999
8030
  readonly min?: io.flow.v0.models.Price;
@@ -8111,6 +8142,10 @@ declare namespace io.flow.v0.models {
8111
8142
  readonly deactivation_requested_at: string;
8112
8143
  readonly deactivated_at?: string;
8113
8144
  }
8145
+ interface OrderStateRejectionReasonPaymentFraud {
8146
+ readonly discriminator: 'order_state_rejection_reason_payment_fraud';
8147
+ readonly payment_request_id: string;
8148
+ }
8114
8149
  interface OrderStateRejectionReasonRestrictedItem {
8115
8150
  readonly discriminator: 'order_state_rejection_reason_restricted_item';
8116
8151
  readonly item_numbers: string[];
@@ -8210,6 +8245,7 @@ declare namespace io.flow.v0.models {
8210
8245
  readonly created_at?: string;
8211
8246
  readonly status?: io.flow.v0.enums.OrganizationStatus;
8212
8247
  readonly type?: io.flow.v0.enums.OrganizationType;
8248
+ readonly channel?: io.flow.v0.models.ChannelReference;
8213
8249
  }
8214
8250
  interface OrganizationAuthorization {
8215
8251
  readonly role?: io.flow.v0.enums.Role;
@@ -8349,6 +8385,7 @@ declare namespace io.flow.v0.models {
8349
8385
  interface OrganizationReference {
8350
8386
  readonly discriminator: 'organization_reference';
8351
8387
  readonly id: string;
8388
+ readonly channel?: io.flow.v0.models.ChannelReference;
8352
8389
  }
8353
8390
  interface OrganizationSession {
8354
8391
  readonly discriminator: 'organization_session';
@@ -8387,6 +8424,7 @@ declare namespace io.flow.v0.models {
8387
8424
  readonly province?: string;
8388
8425
  readonly self_billing_agreement_effective_at: string;
8389
8426
  readonly self_billing_agreement_expires_at?: string;
8427
+ readonly legal_name?: string;
8390
8428
  }
8391
8429
  interface OrganizationToken {
8392
8430
  readonly discriminator: 'organization_token';
@@ -9182,6 +9220,10 @@ declare namespace io.flow.v0.models {
9182
9220
  readonly timestamp: string;
9183
9221
  readonly reason: io.flow.v0.enums.PayoutStatusFailureCode;
9184
9222
  }
9223
+ interface PayoutStatusPaid {
9224
+ readonly code: 'paid';
9225
+ readonly timestamp: string;
9226
+ }
9185
9227
  interface PayoutStatusScheduled {
9186
9228
  readonly code: 'scheduled';
9187
9229
  readonly placeholder?: string;
@@ -9593,6 +9635,7 @@ declare namespace io.flow.v0.models {
9593
9635
  interface ProductTaxonomyCategory {
9594
9636
  readonly name: string;
9595
9637
  readonly full_name: string;
9638
+ readonly id?: string;
9596
9639
  }
9597
9640
  interface ProductTaxonomyData {
9598
9641
  readonly key: string;
@@ -9638,6 +9681,8 @@ declare namespace io.flow.v0.models {
9638
9681
  readonly total_price: io.flow.v0.models.PriceWithBase;
9639
9682
  readonly product_price: io.flow.v0.models.PriceWithBase;
9640
9683
  readonly fees: io.flow.v0.models.OrderPriceFee[];
9684
+ readonly coefficients?: io.flow.v0.models.OrderPriceCoefficient[];
9685
+ readonly subsidies?: io.flow.v0.models.OrderPriceSubsidy[];
9641
9686
  }
9642
9687
  interface Query {
9643
9688
  readonly q: string;
@@ -9779,6 +9824,7 @@ declare namespace io.flow.v0.models {
9779
9824
  readonly glbe_shipping_method_id?: string;
9780
9825
  readonly glbe_proposition_name?: string;
9781
9826
  readonly channel_revenue_share_percentage?: number;
9827
+ readonly channel_id?: string;
9782
9828
  }
9783
9829
  interface RatecardCarrierSummary {
9784
9830
  readonly id: string;
@@ -9878,6 +9924,7 @@ declare namespace io.flow.v0.models {
9878
9924
  readonly glbe_shipping_method_id?: string;
9879
9925
  readonly glbe_proposition_name?: string;
9880
9926
  readonly channel_revenue_share_percentage?: number;
9927
+ readonly channel_id?: string;
9881
9928
  readonly data?: io.flow.v0.models.RatecardData;
9882
9929
  }
9883
9930
  interface RatecardLane {
@@ -9917,19 +9964,6 @@ declare namespace io.flow.v0.models {
9917
9964
  readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement;
9918
9965
  readonly distance_unit: io.flow.v0.enums.UnitOfMeasurement;
9919
9966
  }
9920
- interface RatecardLaneImportForm {
9921
- readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
9922
- readonly service: string;
9923
- readonly currency: string;
9924
- readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
9925
- readonly origin: io.flow.v0.models.Zone;
9926
- readonly destination: io.flow.v0.models.Zone;
9927
- readonly shipment_window: io.flow.v0.models.ShipmentWindow;
9928
- readonly dim_factor: number;
9929
- readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement;
9930
- readonly distance_unit: io.flow.v0.enums.UnitOfMeasurement;
9931
- readonly rates: io.flow.v0.models.RatecardRateForm[];
9932
- }
9933
9967
  interface RatecardLaneUpserted {
9934
9968
  readonly discriminator: 'ratecard_lane_upserted';
9935
9969
  readonly event_id: string;
@@ -9943,13 +9977,7 @@ declare namespace io.flow.v0.models {
9943
9977
  readonly type: io.flow.v0.enums.ChangeType;
9944
9978
  readonly ratecard_lane: io.flow.v0.models.RatecardLane;
9945
9979
  }
9946
- interface RatecardLanesImportRequestData {
9947
- readonly id: string;
9948
- readonly source_url: string;
9949
- readonly filename?: string;
9950
- }
9951
9980
  interface RatecardRate {
9952
- readonly id: string;
9953
9981
  readonly amount: number;
9954
9982
  readonly weight: number;
9955
9983
  }
@@ -9957,12 +9985,6 @@ declare namespace io.flow.v0.models {
9957
9985
  readonly amount: number;
9958
9986
  readonly weight: number;
9959
9987
  }
9960
- interface RatecardRateVersion {
9961
- readonly id: string;
9962
- readonly timestamp: string;
9963
- readonly type: io.flow.v0.enums.ChangeType;
9964
- readonly ratecard_rate: io.flow.v0.models.RatecardRate;
9965
- }
9966
9988
  interface RatecardReference {
9967
9989
  readonly id: string;
9968
9990
  }
@@ -10203,6 +10225,16 @@ declare namespace io.flow.v0.models {
10203
10225
  readonly interval: number;
10204
10226
  readonly days_of_week: io.flow.v0.enums.DayOfWeek[];
10205
10227
  }
10228
+ interface RestrictionDecisionsForm {
10229
+ readonly organization_id: string;
10230
+ readonly rule_decisions: io.flow.v0.models.RestrictionRuleDecisionForm[];
10231
+ }
10232
+ interface RestrictionRuleDecisionForm {
10233
+ readonly product_id: string;
10234
+ readonly reason_code: string;
10235
+ readonly decision: io.flow.v0.enums.RestrictionDecision;
10236
+ readonly decision_reason: io.flow.v0.enums.RestrictionDecisionReason;
10237
+ }
10206
10238
  interface Return {
10207
10239
  readonly id: string;
10208
10240
  readonly key: string;
@@ -10467,6 +10499,7 @@ declare namespace io.flow.v0.models {
10467
10499
  readonly price: io.flow.v0.models.Money;
10468
10500
  readonly description: string;
10469
10501
  readonly taxonomy_category: io.flow.v0.models.ProductTaxonomyCategory;
10502
+ readonly inferred_taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
10470
10503
  readonly mode: io.flow.v0.enums.SellabilityScreeningMode;
10471
10504
  readonly catalog_size?: number;
10472
10505
  readonly relative_ranking?: number;
@@ -10726,6 +10759,7 @@ declare namespace io.flow.v0.models {
10726
10759
  readonly id?: string;
10727
10760
  readonly ratecard: io.flow.v0.models.ShippingLabelRatecardSummary;
10728
10761
  readonly weight_break?: number;
10762
+ readonly dim_factor?: number;
10729
10763
  }
10730
10764
  interface ShippingLabelPackage {
10731
10765
  readonly dimensions: io.flow.v0.models.Dimension;
@@ -11195,6 +11229,7 @@ declare namespace io.flow.v0.models {
11195
11229
  readonly settlement: io.flow.v0.unions.Settlement;
11196
11230
  readonly attachments: io.flow.v0.models.Attachment[];
11197
11231
  readonly created_at: string;
11232
+ readonly period?: io.flow.v0.models.DatetimeRange;
11198
11233
  }
11199
11234
  interface StatementDeleted {
11200
11235
  readonly discriminator: 'statement_deleted';
@@ -11479,6 +11514,7 @@ declare namespace io.flow.v0.models {
11479
11514
  readonly country: string;
11480
11515
  readonly tax_code: string;
11481
11516
  readonly province?: string;
11517
+ readonly legal_name?: string;
11482
11518
  }
11483
11519
  interface TaxRegistrationForm {
11484
11520
  readonly number: string;
@@ -11910,6 +11946,7 @@ declare namespace io.flow.v0.models {
11910
11946
  readonly request_method?: io.flow.v0.enums.LabelRequestMethod;
11911
11947
  readonly carrier: io.flow.v0.models.TransactionMetadataShippingLabelCarrier;
11912
11948
  readonly revenue_share_percentage?: number;
11949
+ readonly actual?: io.flow.v0.models.TransactionMetadataTrueupData;
11913
11950
  }
11914
11951
  interface TransactionMetadataShippingLabelCarrier {
11915
11952
  readonly id: string;
@@ -12306,7 +12343,7 @@ declare namespace io.flow.v0.unions {
12306
12343
  type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion;
12307
12344
  type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm;
12308
12345
  type OrderRefundSummaryForm = io.flow.v0.models.OrderRefundSummaryFullForm | io.flow.v0.models.OrderRefundSummaryPartialForm;
12309
- type OrderStateRejectionReason = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty | io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
12346
+ type OrderStateRejectionReason = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty | io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated | io.flow.v0.models.OrderStateRejectionReasonPaymentFraud;
12310
12347
  type PartnerCenterFee = io.flow.v0.models.CommercialInvoiceFee | io.flow.v0.models.InboundCartonFee | io.flow.v0.models.OutboundCartonFee;
12311
12348
  type Payment = io.flow.v0.models.PaymentPaypal | io.flow.v0.models.PaymentCryptopay;
12312
12349
  type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
@@ -12330,7 +12367,7 @@ declare namespace io.flow.v0.unions {
12330
12367
  type PaymentRequestCancellationReason = io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing;
12331
12368
  type PaymentSource = io.flow.v0.models.CardPaymentSource;
12332
12369
  type PaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm;
12333
- type PayoutStatus = io.flow.v0.models.PayoutStatusScheduled | io.flow.v0.models.PayoutStatusSent | io.flow.v0.models.PayoutStatusFailed;
12370
+ type PayoutStatus = io.flow.v0.models.PayoutStatusScheduled | io.flow.v0.models.PayoutStatusSent | io.flow.v0.models.PayoutStatusFailed | io.flow.v0.models.PayoutStatusPaid;
12334
12371
  type PriceSource = io.flow.v0.models.PriceSourcePriceBook | io.flow.v0.models.PriceSourceCatalog | io.flow.v0.models.PriceSourceProvided;
12335
12372
  type Promotion = io.flow.v0.models.FreeShipping | io.flow.v0.models.Discount;
12336
12373
  type QueryBuilderForm = io.flow.v0.models.QueryBuilderFilterForm | io.flow.v0.models.QueryBuilderQueryForm;
@@ -12493,6 +12530,9 @@ export declare type AvsCode = io.flow.v0.enums.AvsCode;
12493
12530
  export declare type B2BCreditMemo = io.flow.v0.models.B2BCreditMemo;
12494
12531
  export declare type B2BCreditMemoDeleted = io.flow.v0.models.B2BCreditMemoDeleted;
12495
12532
  export declare type B2BCreditMemoUpserted = io.flow.v0.models.B2BCreditMemoUpserted;
12533
+ export declare type B2BCreditNote = io.flow.v0.models.B2BCreditNote;
12534
+ export declare type B2BDebitNote = io.flow.v0.models.B2BDebitNote;
12535
+ export declare type B2BDebitNoteReference = io.flow.v0.models.B2BDebitNoteReference;
12496
12536
  export declare type B2BInvoice = io.flow.v0.models.B2BInvoice;
12497
12537
  export declare type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
12498
12538
  export declare type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
@@ -12699,6 +12739,7 @@ export declare type CountryPickerSource = io.flow.v0.enums.CountryPickerSource;
12699
12739
  export declare type CountryShippingPricing = io.flow.v0.models.CountryShippingPricing;
12700
12740
  export declare type CountryStatus = io.flow.v0.models.CountryStatus;
12701
12741
  export declare type CountryStatusForm = io.flow.v0.models.CountryStatusForm;
12742
+ export declare type CpscAttribute = io.flow.v0.enums.CpscAttribute;
12702
12743
  export declare type CreditMemo = io.flow.v0.models.CreditMemo;
12703
12744
  export declare type CreditMemoDeleted = io.flow.v0.models.CreditMemoDeleted;
12704
12745
  export declare type CreditMemoForm = io.flow.v0.models.CreditMemoForm;
@@ -12917,7 +12958,6 @@ export declare type ExportType = io.flow.v0.unions.ExportType;
12917
12958
  export declare type ExportVersion = io.flow.v0.models.ExportVersion;
12918
12959
  export declare type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
12919
12960
  export declare type ExternalCard = io.flow.v0.models.ExternalCard;
12920
- export declare type ExternalOrderSummary = io.flow.v0.models.ExternalOrderSummary;
12921
12961
  export declare type FeeDeduction = io.flow.v0.models.FeeDeduction;
12922
12962
  export declare type FeeDeductionType = io.flow.v0.enums.FeeDeductionType;
12923
12963
  export declare type FeeInvoice = io.flow.v0.models.FeeInvoice;
@@ -13299,6 +13339,8 @@ export declare type OrderPaymentType = io.flow.v0.enums.OrderPaymentType;
13299
13339
  export declare type OrderPlaced = io.flow.v0.models.OrderPlaced;
13300
13340
  export declare type OrderPlacedDetails = io.flow.v0.models.OrderPlacedDetails;
13301
13341
  export declare type OrderPlacedV2 = io.flow.v0.models.OrderPlacedV2;
13342
+ export declare type OrderPriceCoefficient = io.flow.v0.models.OrderPriceCoefficient;
13343
+ export declare type OrderPriceCoefficientType = io.flow.v0.enums.OrderPriceCoefficientType;
13302
13344
  export declare type OrderPriceDetail = io.flow.v0.models.OrderPriceDetail;
13303
13345
  export declare type OrderPriceDetailBreakdown = io.flow.v0.models.OrderPriceDetailBreakdown;
13304
13346
  export declare type OrderPriceDetailComponent = io.flow.v0.models.OrderPriceDetailComponent;
@@ -13306,6 +13348,8 @@ export declare type OrderPriceDetailComponentKey = io.flow.v0.enums.OrderPriceDe
13306
13348
  export declare type OrderPriceDetailKey = io.flow.v0.enums.OrderPriceDetailKey;
13307
13349
  export declare type OrderPriceFee = io.flow.v0.models.OrderPriceFee;
13308
13350
  export declare type OrderPriceFeeType = io.flow.v0.enums.OrderPriceFeeType;
13351
+ export declare type OrderPriceSubsidy = io.flow.v0.models.OrderPriceSubsidy;
13352
+ export declare type OrderPriceSubsidyType = io.flow.v0.enums.OrderPriceSubsidyType;
13309
13353
  export declare type OrderPromotion = io.flow.v0.unions.OrderPromotion;
13310
13354
  export declare type OrderPromotionForm = io.flow.v0.unions.OrderPromotionForm;
13311
13355
  export declare type OrderPromotionTrigger = io.flow.v0.models.OrderPromotionTrigger;
@@ -13334,6 +13378,7 @@ export declare type OrderStateRejectionReason = io.flow.v0.unions.OrderStateReje
13334
13378
  export declare type OrderStateRejectionReasonDomesticOrder = io.flow.v0.models.OrderStateRejectionReasonDomesticOrder;
13335
13379
  export declare type OrderStateRejectionReasonItemsEmpty = io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
13336
13380
  export declare type OrderStateRejectionReasonOrganizationDeactivated = io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
13381
+ export declare type OrderStateRejectionReasonPaymentFraud = io.flow.v0.models.OrderStateRejectionReasonPaymentFraud;
13337
13382
  export declare type OrderStateRejectionReasonRestrictedItem = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem;
13338
13383
  export declare type OrderStateStatus = io.flow.v0.enums.OrderStateStatus;
13339
13384
  export declare type OrderStateUpserted = io.flow.v0.models.OrderStateUpserted;
@@ -13561,6 +13606,7 @@ export declare type PayoutReference = io.flow.v0.models.PayoutReference;
13561
13606
  export declare type PayoutStatus = io.flow.v0.unions.PayoutStatus;
13562
13607
  export declare type PayoutStatusFailed = io.flow.v0.models.PayoutStatusFailed;
13563
13608
  export declare type PayoutStatusFailureCode = io.flow.v0.enums.PayoutStatusFailureCode;
13609
+ export declare type PayoutStatusPaid = io.flow.v0.models.PayoutStatusPaid;
13564
13610
  export declare type PayoutStatusScheduled = io.flow.v0.models.PayoutStatusScheduled;
13565
13611
  export declare type PayoutStatusSent = io.flow.v0.models.PayoutStatusSent;
13566
13612
  export declare type PayoutTransaction = io.flow.v0.models.PayoutTransaction;
@@ -13687,14 +13733,11 @@ export declare type RatecardForm = io.flow.v0.models.RatecardForm;
13687
13733
  export declare type RatecardLane = io.flow.v0.models.RatecardLane;
13688
13734
  export declare type RatecardLaneDeleted = io.flow.v0.models.RatecardLaneDeleted;
13689
13735
  export declare type RatecardLaneForm = io.flow.v0.models.RatecardLaneForm;
13690
- export declare type RatecardLaneImportForm = io.flow.v0.models.RatecardLaneImportForm;
13691
13736
  export declare type RatecardLaneUpserted = io.flow.v0.models.RatecardLaneUpserted;
13692
13737
  export declare type RatecardLaneVersion = io.flow.v0.models.RatecardLaneVersion;
13693
- export declare type RatecardLanesImportRequestData = io.flow.v0.models.RatecardLanesImportRequestData;
13694
13738
  export declare type RatecardOwner = io.flow.v0.enums.RatecardOwner;
13695
13739
  export declare type RatecardRate = io.flow.v0.models.RatecardRate;
13696
13740
  export declare type RatecardRateForm = io.flow.v0.models.RatecardRateForm;
13697
- export declare type RatecardRateVersion = io.flow.v0.models.RatecardRateVersion;
13698
13741
  export declare type RatecardReference = io.flow.v0.models.RatecardReference;
13699
13742
  export declare type RatecardRegionReference = io.flow.v0.models.RatecardRegionReference;
13700
13743
  export declare type RatecardServiceSummary = io.flow.v0.models.RatecardServiceSummary;
@@ -13740,7 +13783,11 @@ export declare type RepeatMonthly = io.flow.v0.models.RepeatMonthly;
13740
13783
  export declare type RepeatSchedule = io.flow.v0.unions.RepeatSchedule;
13741
13784
  export declare type RepeatWeekly = io.flow.v0.models.RepeatWeekly;
13742
13785
  export declare type RestrictedReviewStatus = io.flow.v0.enums.RestrictedReviewStatus;
13786
+ export declare type RestrictionDecision = io.flow.v0.enums.RestrictionDecision;
13787
+ export declare type RestrictionDecisionReason = io.flow.v0.enums.RestrictionDecisionReason;
13788
+ export declare type RestrictionDecisionsForm = io.flow.v0.models.RestrictionDecisionsForm;
13743
13789
  export declare type RestrictionEnvironment = io.flow.v0.enums.RestrictionEnvironment;
13790
+ export declare type RestrictionRuleDecisionForm = io.flow.v0.models.RestrictionRuleDecisionForm;
13744
13791
  export declare type Return = io.flow.v0.models.Return;
13745
13792
  export declare type ReturnForm = io.flow.v0.models.ReturnForm;
13746
13793
  export declare type ReturnItemReference = io.flow.v0.models.ReturnItemReference;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.138",
3
+ "version": "11.24.140",
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",