@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/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
  }
@@ -2716,30 +2727,6 @@ declare namespace io.flow.error.v0.models {
2716
2727
  readonly messages: string[];
2717
2728
  }
2718
2729
  }
2719
- declare namespace io.flow.channel.shopify.v0.enums {
2720
- type ChannelShopifyOrderStateReasonCode = 'placeholder_reason_code';
2721
- }
2722
- declare namespace io.flow.channel.shopify.v0.models {
2723
- interface ChannelShopifyOrderState {
2724
- readonly id: string;
2725
- readonly shopify_order_summary: io.flow.channel.shopify.v0.models.ChannelShopifyOrderSummary;
2726
- readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
2727
- readonly reasons?: io.flow.channel.shopify.v0.models.ChannelShopifyOrderStateReason[];
2728
- readonly external_order_summary?: io.flow.channel.shopify.v0.models.ExternalOrderSummary;
2729
- }
2730
- interface ChannelShopifyOrderStateReason {
2731
- readonly code: io.flow.channel.shopify.v0.enums.ChannelShopifyOrderStateReasonCode;
2732
- readonly message: string;
2733
- }
2734
- interface ChannelShopifyOrderSummary {
2735
- readonly order_id: number;
2736
- readonly shop_id: number;
2737
- }
2738
- interface ExternalOrderSummary {
2739
- readonly id: string;
2740
- readonly edit_ids: string[];
2741
- }
2742
- }
2743
2730
  declare namespace io.flow.channel.v0.enums {
2744
2731
  type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
2745
2732
  }
@@ -2973,6 +2960,7 @@ declare namespace io.flow.product.v0.models {
2973
2960
  interface ProductTaxonomyCategory {
2974
2961
  readonly name: string;
2975
2962
  readonly full_name: string;
2963
+ readonly id?: string;
2976
2964
  }
2977
2965
  interface ProductTaxonomyData {
2978
2966
  readonly key: string;
@@ -3131,9 +3119,11 @@ declare namespace io.flow.v0.enums {
3131
3119
  type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
3132
3120
  type OrderPaymentSourceType = 'globale' | 'third_party';
3133
3121
  type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
3122
+ type OrderPriceCoefficientType = 'item_shipping';
3134
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';
3135
3124
  type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
3136
3125
  type OrderPriceFeeType = 'service' | 'fx' | 'tax' | 'duties' | 'tax_and_duties' | 'product' | 'mor_tax';
3126
+ type OrderPriceSubsidyType = 'shipping_subsidy';
3137
3127
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
3138
3128
  type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
3139
3129
  type OrderStateStatus = 'pending' | 'accepted' | 'rejected';
@@ -3173,7 +3163,7 @@ declare namespace io.flow.v0.enums {
3173
3163
  type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
3174
3164
  type PriceFacetBoundary = 'min' | 'max';
3175
3165
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
3176
- type PricingType = 'inclusive_pricing';
3166
+ type PricingType = 'inclusive_pricing' | 'inclusive_pricing_with_shipping';
3177
3167
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
3178
3168
  type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
3179
3169
  type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
@@ -3184,7 +3174,7 @@ declare namespace io.flow.v0.enums {
3184
3174
  type RegionType = 'state' | 'province' | 'jurisdiction';
3185
3175
  type RestrictedReviewStatus = 'in_review' | 'reviewed';
3186
3176
  type RestrictionDecision = 'accept' | 'reject' | 'escalate' | 'review';
3187
- type RestrictionDecisionReason = 'manual_dispute';
3177
+ type RestrictionDecisionReason = 'manual_dispute' | 'operations_decision';
3188
3178
  type RestrictionEnvironment = 'sandbox' | 'production' | 'qa';
3189
3179
  type ReturnItemStatus = 'returnable' | 'non-returnable';
3190
3180
  type ReturnPolicyState = 'current' | 'deleting' | 'updating';
@@ -3222,7 +3212,7 @@ declare namespace io.flow.v0.enums {
3222
3212
  type TaxAndDutyInclusivitySetting = 'duty_exclusive_tax_exclusive' | 'duty_inclusive_tax_exclusive' | 'duty_exclusive_tax_inclusive' | 'duty_inclusive_tax_inclusive';
3223
3213
  type TaxApplicability = 'none' | 'all';
3224
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';
3225
- 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';
3226
3216
  type TaxJurisdictionType = 'country' | 'province';
3227
3217
  type TaxReportType = 'consumer' | 'b2b';
3228
3218
  type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
@@ -4026,6 +4016,13 @@ declare namespace io.flow.v0.models {
4026
4016
  readonly bank_routing_number: string;
4027
4017
  readonly bank_name: string;
4028
4018
  }
4019
+ interface BankAccountInfoKorV2 {
4020
+ readonly discriminator: 'kor_v2';
4021
+ readonly name: string;
4022
+ readonly bank_account_number: string;
4023
+ readonly bank_routing_number: string;
4024
+ readonly bank_name: string;
4025
+ }
4029
4026
  interface BankAccountInfoUsa {
4030
4027
  readonly discriminator: 'usa';
4031
4028
  readonly routing_number: string;
@@ -4656,7 +4653,7 @@ declare namespace io.flow.v0.models {
4656
4653
  readonly shopify_order_summary: io.flow.v0.models.ChannelShopifyOrderSummary;
4657
4654
  readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
4658
4655
  readonly reasons?: io.flow.v0.models.ChannelShopifyOrderStateReason[];
4659
- readonly external_order_summary?: io.flow.v0.models.ExternalOrderSummary;
4656
+ readonly external_order_summary?: io.flow.channel.internal.v0.models.ExternalOrderSummary;
4660
4657
  }
4661
4658
  interface ChannelShopifyOrderStateDeleted {
4662
4659
  readonly discriminator: 'channel_shopify_order_state_deleted';
@@ -4687,6 +4684,7 @@ declare namespace io.flow.v0.models {
4687
4684
  readonly settlement: io.flow.v0.unions.Settlement;
4688
4685
  readonly attachments: io.flow.v0.models.Attachment[];
4689
4686
  readonly created_at: string;
4687
+ readonly period?: io.flow.v0.models.DatetimeRange;
4690
4688
  }
4691
4689
  interface ChannelStatementDeleted {
4692
4690
  readonly discriminator: 'channel_statement_deleted';
@@ -6082,10 +6080,6 @@ declare namespace io.flow.v0.models {
6082
6080
  readonly id: string;
6083
6081
  readonly type?: io.flow.v0.enums.CardType;
6084
6082
  }
6085
- interface ExternalOrderSummary {
6086
- readonly id: string;
6087
- readonly edit_ids: string[];
6088
- }
6089
6083
  interface FeeDeduction {
6090
6084
  readonly type: io.flow.v0.enums.FeeDeductionType;
6091
6085
  readonly amount: number;
@@ -7992,6 +7986,11 @@ declare namespace io.flow.v0.models {
7992
7986
  readonly organization: string;
7993
7987
  readonly order_placed: io.flow.v0.models.OrderPlacedDetails;
7994
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
+ }
7995
7994
  interface OrderPriceDetail {
7996
7995
  readonly key: io.flow.v0.enums.OrderPriceDetailKey;
7997
7996
  readonly currency: string;
@@ -8022,6 +8021,10 @@ declare namespace io.flow.v0.models {
8022
8021
  readonly value: io.flow.v0.models.PriceWithBase;
8023
8022
  readonly type: io.flow.v0.enums.OrderPriceFeeType;
8024
8023
  }
8024
+ interface OrderPriceSubsidy {
8025
+ readonly type: io.flow.v0.enums.OrderPriceSubsidyType;
8026
+ readonly price: io.flow.v0.models.PriceWithBase;
8027
+ }
8025
8028
  interface OrderPromotionTrigger {
8026
8029
  readonly type: io.flow.v0.enums.PromotionTriggerType;
8027
8030
  readonly min?: io.flow.v0.models.Price;
@@ -9632,6 +9635,7 @@ declare namespace io.flow.v0.models {
9632
9635
  interface ProductTaxonomyCategory {
9633
9636
  readonly name: string;
9634
9637
  readonly full_name: string;
9638
+ readonly id?: string;
9635
9639
  }
9636
9640
  interface ProductTaxonomyData {
9637
9641
  readonly key: string;
@@ -9677,6 +9681,8 @@ declare namespace io.flow.v0.models {
9677
9681
  readonly total_price: io.flow.v0.models.PriceWithBase;
9678
9682
  readonly product_price: io.flow.v0.models.PriceWithBase;
9679
9683
  readonly fees: io.flow.v0.models.OrderPriceFee[];
9684
+ readonly coefficients?: io.flow.v0.models.OrderPriceCoefficient[];
9685
+ readonly subsidies?: io.flow.v0.models.OrderPriceSubsidy[];
9680
9686
  }
9681
9687
  interface Query {
9682
9688
  readonly q: string;
@@ -11223,6 +11229,7 @@ declare namespace io.flow.v0.models {
11223
11229
  readonly settlement: io.flow.v0.unions.Settlement;
11224
11230
  readonly attachments: io.flow.v0.models.Attachment[];
11225
11231
  readonly created_at: string;
11232
+ readonly period?: io.flow.v0.models.DatetimeRange;
11226
11233
  }
11227
11234
  interface StatementDeleted {
11228
11235
  readonly discriminator: 'statement_deleted';
@@ -12284,7 +12291,7 @@ declare namespace io.flow.v0.unions {
12284
12291
  type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails | io.flow.v0.models.ApplepaySdkCreateResultActionDetails | io.flow.v0.models.ApplepaySdkValidateResultActionDetails | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.v0.models.SelectIssuerOptionActionDetails;
12285
12292
  type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
12286
12293
  type BankAccountForm = io.flow.v0.models.BankAccountFormInfo | io.flow.v0.models.BankAccountFormSimple;
12287
- type BankAccountInfo = io.flow.v0.models.BankAccountInfoUsa | io.flow.v0.models.BankAccountInfoCan | io.flow.v0.models.BankAccountInfoGbr | io.flow.v0.models.BankAccountInfoFra | io.flow.v0.models.BankAccountInfoIta | io.flow.v0.models.BankAccountInfoKor;
12294
+ type BankAccountInfo = io.flow.v0.models.BankAccountInfoUsa | io.flow.v0.models.BankAccountInfoCan | io.flow.v0.models.BankAccountInfoGbr | io.flow.v0.models.BankAccountInfoFra | io.flow.v0.models.BankAccountInfoIta | io.flow.v0.models.BankAccountInfoKor | io.flow.v0.models.BankAccountInfoKorV2;
12288
12295
  type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
12289
12296
  type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
12290
12297
  type CardNumber = io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher;
@@ -12540,6 +12547,7 @@ export declare type BankAccountInfoFra = io.flow.v0.models.BankAccountInfoFra;
12540
12547
  export declare type BankAccountInfoGbr = io.flow.v0.models.BankAccountInfoGbr;
12541
12548
  export declare type BankAccountInfoIta = io.flow.v0.models.BankAccountInfoIta;
12542
12549
  export declare type BankAccountInfoKor = io.flow.v0.models.BankAccountInfoKor;
12550
+ export declare type BankAccountInfoKorV2 = io.flow.v0.models.BankAccountInfoKorV2;
12543
12551
  export declare type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
12544
12552
  export declare type BankAccountReference = io.flow.v0.models.BankAccountReference;
12545
12553
  export declare type BankAccountSummary = io.flow.v0.models.BankAccountSummary;
@@ -12950,7 +12958,6 @@ export declare type ExportType = io.flow.v0.unions.ExportType;
12950
12958
  export declare type ExportVersion = io.flow.v0.models.ExportVersion;
12951
12959
  export declare type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
12952
12960
  export declare type ExternalCard = io.flow.v0.models.ExternalCard;
12953
- export declare type ExternalOrderSummary = io.flow.v0.models.ExternalOrderSummary;
12954
12961
  export declare type FeeDeduction = io.flow.v0.models.FeeDeduction;
12955
12962
  export declare type FeeDeductionType = io.flow.v0.enums.FeeDeductionType;
12956
12963
  export declare type FeeInvoice = io.flow.v0.models.FeeInvoice;
@@ -13332,6 +13339,8 @@ export declare type OrderPaymentType = io.flow.v0.enums.OrderPaymentType;
13332
13339
  export declare type OrderPlaced = io.flow.v0.models.OrderPlaced;
13333
13340
  export declare type OrderPlacedDetails = io.flow.v0.models.OrderPlacedDetails;
13334
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;
13335
13344
  export declare type OrderPriceDetail = io.flow.v0.models.OrderPriceDetail;
13336
13345
  export declare type OrderPriceDetailBreakdown = io.flow.v0.models.OrderPriceDetailBreakdown;
13337
13346
  export declare type OrderPriceDetailComponent = io.flow.v0.models.OrderPriceDetailComponent;
@@ -13339,6 +13348,8 @@ export declare type OrderPriceDetailComponentKey = io.flow.v0.enums.OrderPriceDe
13339
13348
  export declare type OrderPriceDetailKey = io.flow.v0.enums.OrderPriceDetailKey;
13340
13349
  export declare type OrderPriceFee = io.flow.v0.models.OrderPriceFee;
13341
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;
13342
13353
  export declare type OrderPromotion = io.flow.v0.unions.OrderPromotion;
13343
13354
  export declare type OrderPromotionForm = io.flow.v0.unions.OrderPromotionForm;
13344
13355
  export declare type OrderPromotionTrigger = io.flow.v0.models.OrderPromotionTrigger;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.139",
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",