@flowio/types 11.24.139 → 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/src/api.ts CHANGED
@@ -2222,6 +2222,7 @@ declare namespace io.flow.shopify.external.v0.models {
2222
2222
  }
2223
2223
 
2224
2224
  interface GraphqlTaxonomyCategory {
2225
+ readonly id?: string;
2225
2226
  readonly name: string;
2226
2227
  readonly fullName: string;
2227
2228
  }
@@ -2343,7 +2344,7 @@ declare namespace io.flow.shopify.external.v0.models {
2343
2344
  readonly created_at: string;
2344
2345
  readonly updated_at: string;
2345
2346
  readonly has_variants_that_requires_components?: boolean;
2346
- readonly category?: io.flow.product.v0.models.ProductTaxonomyCategory;
2347
+ readonly category?: io.flow.shopify.external.v0.models.RestTaxonomyCategory;
2347
2348
  readonly metafields?: io.flow.shopify.external.v0.models.ProductMetafield[];
2348
2349
  }
2349
2350
 
@@ -2483,6 +2484,12 @@ declare namespace io.flow.shopify.external.v0.models {
2483
2484
  readonly variant: io.flow.shopify.external.v0.models.ProductVariant;
2484
2485
  }
2485
2486
 
2487
+ interface RestTaxonomyCategory {
2488
+ readonly name: string;
2489
+ readonly full_name: string;
2490
+ readonly admin_graphql_api_id?: string;
2491
+ }
2492
+
2486
2493
  interface Shop {
2487
2494
  readonly id: number;
2488
2495
  readonly domain: string;
@@ -3210,7 +3217,7 @@ declare namespace io.flow.channel.internal.v0.models {
3210
3217
  readonly order_updated_at?: string;
3211
3218
  readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary;
3212
3219
  readonly payment_source?: io.flow.channel.internal.v0.enums.OrderPaymentSourceType;
3213
- readonly external_order_summary?: io.flow.channel.shopify.v0.models.ExternalOrderSummary;
3220
+ readonly external_order_summary?: io.flow.channel.internal.v0.models.ExternalOrderSummary;
3214
3221
  }
3215
3222
 
3216
3223
  interface ChannelOrderAcceptanceDetails {
@@ -3273,6 +3280,12 @@ declare namespace io.flow.channel.internal.v0.models {
3273
3280
  readonly catalog_products_count?: number;
3274
3281
  }
3275
3282
 
3283
+ interface ExternalOrderSummary {
3284
+ readonly id: string;
3285
+ readonly edit_ids: string[];
3286
+ readonly created_at?: string;
3287
+ }
3288
+
3276
3289
  interface FlowChannelOrganization {
3277
3290
  readonly placeholder?: string;
3278
3291
  }
@@ -3814,35 +3827,6 @@ declare namespace io.flow.error.v0.models {
3814
3827
  }
3815
3828
  }
3816
3829
 
3817
- declare namespace io.flow.channel.shopify.v0.enums {
3818
- type ChannelShopifyOrderStateReasonCode = 'placeholder_reason_code';
3819
- }
3820
-
3821
- declare namespace io.flow.channel.shopify.v0.models {
3822
- interface ChannelShopifyOrderState {
3823
- readonly id: string;
3824
- readonly shopify_order_summary: io.flow.channel.shopify.v0.models.ChannelShopifyOrderSummary;
3825
- readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
3826
- readonly reasons?: io.flow.channel.shopify.v0.models.ChannelShopifyOrderStateReason[];
3827
- readonly external_order_summary?: io.flow.channel.shopify.v0.models.ExternalOrderSummary;
3828
- }
3829
-
3830
- interface ChannelShopifyOrderStateReason {
3831
- readonly code: io.flow.channel.shopify.v0.enums.ChannelShopifyOrderStateReasonCode;
3832
- readonly message: string;
3833
- }
3834
-
3835
- interface ChannelShopifyOrderSummary {
3836
- readonly order_id: number;
3837
- readonly shop_id: number;
3838
- }
3839
-
3840
- interface ExternalOrderSummary {
3841
- readonly id: string;
3842
- readonly edit_ids: string[];
3843
- }
3844
- }
3845
-
3846
3830
  declare namespace io.flow.channel.v0.enums {
3847
3831
  type ChannelCurrencyCapability =
3848
3832
  | 'payment_authorizations'
@@ -4129,6 +4113,7 @@ declare namespace io.flow.product.v0.models {
4129
4113
  interface ProductTaxonomyCategory {
4130
4114
  readonly name: string;
4131
4115
  readonly full_name: string;
4116
+ readonly id?: string;
4132
4117
  }
4133
4118
 
4134
4119
  interface ProductTaxonomyData {
@@ -4800,6 +4785,7 @@ declare namespace io.flow.v0.enums {
4800
4785
  | 'subsidized'
4801
4786
  | 'installment_plan'
4802
4787
  | 'cash_on_delivery';
4788
+ type OrderPriceCoefficientType = 'item_shipping';
4803
4789
  type OrderPriceDetailComponentKey =
4804
4790
  | 'adjustment'
4805
4791
  | 'vat_deminimis'
@@ -4849,6 +4835,7 @@ declare namespace io.flow.v0.enums {
4849
4835
  | 'tax_and_duties'
4850
4836
  | 'product'
4851
4837
  | 'mor_tax';
4838
+ type OrderPriceSubsidyType = 'shipping_subsidy';
4852
4839
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
4853
4840
  type OrderRefundSummaryPartialCharged =
4854
4841
  | 'per_item'
@@ -5018,7 +5005,7 @@ declare namespace io.flow.v0.enums {
5018
5005
  | 'adjustment';
5019
5006
  type PriceFacetBoundary = 'min' | 'max';
5020
5007
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
5021
- type PricingType = 'inclusive_pricing';
5008
+ type PricingType = 'inclusive_pricing' | 'inclusive_pricing_with_shipping';
5022
5009
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
5023
5010
  type ProvinceType =
5024
5011
  | 'area'
@@ -5063,7 +5050,7 @@ declare namespace io.flow.v0.enums {
5063
5050
  type RegionType = 'state' | 'province' | 'jurisdiction';
5064
5051
  type RestrictedReviewStatus = 'in_review' | 'reviewed';
5065
5052
  type RestrictionDecision = 'accept' | 'reject' | 'escalate' | 'review';
5066
- type RestrictionDecisionReason = 'manual_dispute';
5053
+ type RestrictionDecisionReason = 'manual_dispute' | 'operations_decision';
5067
5054
  type RestrictionEnvironment = 'sandbox' | 'production' | 'qa';
5068
5055
  type ReturnItemStatus = 'returnable' | 'non-returnable';
5069
5056
  type ReturnPolicyState = 'current' | 'deleting' | 'updating';
@@ -5232,6 +5219,7 @@ declare namespace io.flow.v0.enums {
5232
5219
  | 'us_inbound_tax_refund'
5233
5220
  | 'order_cancellation_above_de_min'
5234
5221
  | 'wyol_shipment_above_de_min'
5222
+ | 'wyol_shipment_lvg'
5235
5223
  | 'full_refund_without_shipment'
5236
5224
  | 'unfulfilled_order_above_de_min'
5237
5225
  | 'order_cancellation_without_capture';
@@ -6272,6 +6260,14 @@ declare namespace io.flow.v0.models {
6272
6260
  readonly bank_name: string;
6273
6261
  }
6274
6262
 
6263
+ interface BankAccountInfoKorV2 {
6264
+ readonly discriminator: 'kor_v2';
6265
+ readonly name: string;
6266
+ readonly bank_account_number: string;
6267
+ readonly bank_routing_number: string;
6268
+ readonly bank_name: string;
6269
+ }
6270
+
6275
6271
  interface BankAccountInfoUsa {
6276
6272
  readonly discriminator: 'usa';
6277
6273
  readonly routing_number: string;
@@ -7002,7 +6998,7 @@ declare namespace io.flow.v0.models {
7002
6998
  readonly shopify_order_summary: io.flow.v0.models.ChannelShopifyOrderSummary;
7003
6999
  readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
7004
7000
  readonly reasons?: io.flow.v0.models.ChannelShopifyOrderStateReason[];
7005
- readonly external_order_summary?: io.flow.v0.models.ExternalOrderSummary;
7001
+ readonly external_order_summary?: io.flow.channel.internal.v0.models.ExternalOrderSummary;
7006
7002
  }
7007
7003
 
7008
7004
  interface ChannelShopifyOrderStateDeleted {
@@ -7038,6 +7034,7 @@ declare namespace io.flow.v0.models {
7038
7034
  readonly settlement: io.flow.v0.unions.Settlement;
7039
7035
  readonly attachments: io.flow.v0.models.Attachment[];
7040
7036
  readonly created_at: string;
7037
+ readonly period?: io.flow.v0.models.DatetimeRange;
7041
7038
  }
7042
7039
 
7043
7040
  interface ChannelStatementDeleted {
@@ -8661,11 +8658,6 @@ declare namespace io.flow.v0.models {
8661
8658
  readonly type?: io.flow.v0.enums.CardType;
8662
8659
  }
8663
8660
 
8664
- interface ExternalOrderSummary {
8665
- readonly id: string;
8666
- readonly edit_ids: string[];
8667
- }
8668
-
8669
8661
  interface FeeDeduction {
8670
8662
  readonly type: io.flow.v0.enums.FeeDeductionType;
8671
8663
  readonly amount: number;
@@ -10882,6 +10874,12 @@ declare namespace io.flow.v0.models {
10882
10874
  readonly order_placed: io.flow.v0.models.OrderPlacedDetails;
10883
10875
  }
10884
10876
 
10877
+ interface OrderPriceCoefficient {
10878
+ readonly type: io.flow.v0.enums.OrderPriceCoefficientType;
10879
+ readonly value: number;
10880
+ readonly price: io.flow.v0.models.PriceWithBase;
10881
+ }
10882
+
10885
10883
  interface OrderPriceDetail {
10886
10884
  readonly key: io.flow.v0.enums.OrderPriceDetailKey;
10887
10885
  readonly currency: string;
@@ -10916,6 +10914,11 @@ declare namespace io.flow.v0.models {
10916
10914
  readonly type: io.flow.v0.enums.OrderPriceFeeType;
10917
10915
  }
10918
10916
 
10917
+ interface OrderPriceSubsidy {
10918
+ readonly type: io.flow.v0.enums.OrderPriceSubsidyType;
10919
+ readonly price: io.flow.v0.models.PriceWithBase;
10920
+ }
10921
+
10919
10922
  interface OrderPromotionTrigger {
10920
10923
  readonly type: io.flow.v0.enums.PromotionTriggerType;
10921
10924
  readonly min?: io.flow.v0.models.Price;
@@ -12791,6 +12794,7 @@ declare namespace io.flow.v0.models {
12791
12794
  interface ProductTaxonomyCategory {
12792
12795
  readonly name: string;
12793
12796
  readonly full_name: string;
12797
+ readonly id?: string;
12794
12798
  }
12795
12799
 
12796
12800
  interface ProductTaxonomyData {
@@ -12845,6 +12849,8 @@ declare namespace io.flow.v0.models {
12845
12849
  readonly total_price: io.flow.v0.models.PriceWithBase;
12846
12850
  readonly product_price: io.flow.v0.models.PriceWithBase;
12847
12851
  readonly fees: io.flow.v0.models.OrderPriceFee[];
12852
+ readonly coefficients?: io.flow.v0.models.OrderPriceCoefficient[];
12853
+ readonly subsidies?: io.flow.v0.models.OrderPriceSubsidy[];
12848
12854
  }
12849
12855
 
12850
12856
  interface Query {
@@ -14624,6 +14630,7 @@ declare namespace io.flow.v0.models {
14624
14630
  readonly settlement: io.flow.v0.unions.Settlement;
14625
14631
  readonly attachments: io.flow.v0.models.Attachment[];
14626
14632
  readonly created_at: string;
14633
+ readonly period?: io.flow.v0.models.DatetimeRange;
14627
14634
  }
14628
14635
 
14629
14636
  interface StatementDeleted {
@@ -15906,7 +15913,8 @@ declare namespace io.flow.v0.unions {
15906
15913
  | io.flow.v0.models.BankAccountInfoGbr
15907
15914
  | io.flow.v0.models.BankAccountInfoFra
15908
15915
  | io.flow.v0.models.BankAccountInfoIta
15909
- | io.flow.v0.models.BankAccountInfoKor;
15916
+ | io.flow.v0.models.BankAccountInfoKor
15917
+ | io.flow.v0.models.BankAccountInfoKorV2;
15910
15918
  type BrowserActionConfiguration =
15911
15919
  io.flow.v0.models.CardBrowserActionConfiguration;
15912
15920
  type CardAuthorizationActionResult =
@@ -16668,6 +16676,7 @@ export type BankAccountInfoFra = io.flow.v0.models.BankAccountInfoFra;
16668
16676
  export type BankAccountInfoGbr = io.flow.v0.models.BankAccountInfoGbr;
16669
16677
  export type BankAccountInfoIta = io.flow.v0.models.BankAccountInfoIta;
16670
16678
  export type BankAccountInfoKor = io.flow.v0.models.BankAccountInfoKor;
16679
+ export type BankAccountInfoKorV2 = io.flow.v0.models.BankAccountInfoKorV2;
16671
16680
  export type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
16672
16681
  export type BankAccountReference = io.flow.v0.models.BankAccountReference;
16673
16682
  export type BankAccountSummary = io.flow.v0.models.BankAccountSummary;
@@ -17197,7 +17206,6 @@ export type ExportType = io.flow.v0.unions.ExportType;
17197
17206
  export type ExportVersion = io.flow.v0.models.ExportVersion;
17198
17207
  export type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
17199
17208
  export type ExternalCard = io.flow.v0.models.ExternalCard;
17200
- export type ExternalOrderSummary = io.flow.v0.models.ExternalOrderSummary;
17201
17209
  export type FeeDeduction = io.flow.v0.models.FeeDeduction;
17202
17210
  export type FeeDeductionType = io.flow.v0.enums.FeeDeductionType;
17203
17211
  export type FeeInvoice = io.flow.v0.models.FeeInvoice;
@@ -17670,6 +17678,9 @@ export type OrderPaymentType = io.flow.v0.enums.OrderPaymentType;
17670
17678
  export type OrderPlaced = io.flow.v0.models.OrderPlaced;
17671
17679
  export type OrderPlacedDetails = io.flow.v0.models.OrderPlacedDetails;
17672
17680
  export type OrderPlacedV2 = io.flow.v0.models.OrderPlacedV2;
17681
+ export type OrderPriceCoefficient = io.flow.v0.models.OrderPriceCoefficient;
17682
+ export type OrderPriceCoefficientType =
17683
+ io.flow.v0.enums.OrderPriceCoefficientType;
17673
17684
  export type OrderPriceDetail = io.flow.v0.models.OrderPriceDetail;
17674
17685
  export type OrderPriceDetailBreakdown =
17675
17686
  io.flow.v0.models.OrderPriceDetailBreakdown;
@@ -17680,6 +17691,8 @@ export type OrderPriceDetailComponentKey =
17680
17691
  export type OrderPriceDetailKey = io.flow.v0.enums.OrderPriceDetailKey;
17681
17692
  export type OrderPriceFee = io.flow.v0.models.OrderPriceFee;
17682
17693
  export type OrderPriceFeeType = io.flow.v0.enums.OrderPriceFeeType;
17694
+ export type OrderPriceSubsidy = io.flow.v0.models.OrderPriceSubsidy;
17695
+ export type OrderPriceSubsidyType = io.flow.v0.enums.OrderPriceSubsidyType;
17683
17696
  export type OrderPromotion = io.flow.v0.unions.OrderPromotion;
17684
17697
  export type OrderPromotionForm = io.flow.v0.unions.OrderPromotionForm;
17685
17698
  export type OrderPromotionTrigger = io.flow.v0.models.OrderPromotionTrigger;