@flowio/types 11.24.136 → 11.24.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +377 -18
- package/dist/api.d.ts +58 -3
- package/package.json +1 -1
- package/src/api-internal.ts +493 -16
- package/src/api.ts +69 -2
package/dist/api.d.ts
CHANGED
|
@@ -1345,6 +1345,9 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1345
1345
|
interface Count {
|
|
1346
1346
|
readonly count: number;
|
|
1347
1347
|
}
|
|
1348
|
+
interface GraphqlInferredProductCategory {
|
|
1349
|
+
readonly category?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory;
|
|
1350
|
+
}
|
|
1348
1351
|
interface GraphqlInventoryItem {
|
|
1349
1352
|
readonly id: string;
|
|
1350
1353
|
readonly tracked: boolean;
|
|
@@ -1395,6 +1398,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1395
1398
|
readonly updatedAt: string;
|
|
1396
1399
|
readonly hasVariantsThatRequiresComponents?: boolean;
|
|
1397
1400
|
readonly category?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory;
|
|
1401
|
+
readonly inferredProductCategory?: io.flow.shopify.external.v0.models.GraphqlInferredProductCategory;
|
|
1398
1402
|
readonly metafields?: io.flow.shopify.external.v0.models.GraphqlMetafield[];
|
|
1399
1403
|
}
|
|
1400
1404
|
interface GraphqlProductImage {
|
|
@@ -2210,7 +2214,7 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
2210
2214
|
type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
|
|
2211
2215
|
type ChannelOrderAcceptanceFailureReasonCode = 'channel_order_mor_invalid' | 'channel_order_does_not_exist';
|
|
2212
2216
|
type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
|
|
2213
|
-
type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_allocation_duties_mismatch' | 'order_missing' | 'organization_deactivated';
|
|
2217
|
+
type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_allocation_duties_mismatch' | 'order_missing' | 'order_cancelled' | 'organization_deactivated';
|
|
2214
2218
|
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
|
|
2215
2219
|
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability' | 'all';
|
|
2216
2220
|
type OrderPaymentSourceType = 'globale' | 'third_party';
|
|
@@ -2300,6 +2304,13 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
2300
2304
|
interface ChannelOrganizationTokenBody {
|
|
2301
2305
|
readonly cleartext: string;
|
|
2302
2306
|
}
|
|
2307
|
+
interface ChannelShopStatistics {
|
|
2308
|
+
readonly id: string;
|
|
2309
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2310
|
+
readonly initial_catalog_synced_at?: string;
|
|
2311
|
+
readonly catalog_sync_duration?: number;
|
|
2312
|
+
readonly catalog_products_count?: number;
|
|
2313
|
+
}
|
|
2303
2314
|
interface FlowChannelOrganization {
|
|
2304
2315
|
readonly placeholder?: string;
|
|
2305
2316
|
}
|
|
@@ -2847,6 +2858,7 @@ declare namespace io.flow.tech.onboarding.playground.v0.enums {
|
|
|
2847
2858
|
type BojanaItemType = 'physical' | 'digital';
|
|
2848
2859
|
type ChenglinItemType = 'physical' | 'digital';
|
|
2849
2860
|
type GabrielItemType = 'physical' | 'digital';
|
|
2861
|
+
type MaheshItemType = 'physical' | 'digital';
|
|
2850
2862
|
type RaveenaItemType = 'physical' | 'digital';
|
|
2851
2863
|
}
|
|
2852
2864
|
declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
@@ -2910,6 +2922,21 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
|
2910
2922
|
readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType;
|
|
2911
2923
|
readonly added_on: string;
|
|
2912
2924
|
}
|
|
2925
|
+
interface MaheshItem {
|
|
2926
|
+
readonly id: string;
|
|
2927
|
+
readonly number: string;
|
|
2928
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
2929
|
+
readonly description?: string;
|
|
2930
|
+
readonly type: io.flow.tech.onboarding.playground.v0.enums.MaheshItemType;
|
|
2931
|
+
readonly added_on: string;
|
|
2932
|
+
}
|
|
2933
|
+
interface MaheshItemForm {
|
|
2934
|
+
readonly number: string;
|
|
2935
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
2936
|
+
readonly description?: string;
|
|
2937
|
+
readonly type: io.flow.tech.onboarding.playground.v0.enums.MaheshItemType;
|
|
2938
|
+
readonly added_on: string;
|
|
2939
|
+
}
|
|
2913
2940
|
interface RaveenaItem {
|
|
2914
2941
|
readonly id: string;
|
|
2915
2942
|
readonly number: string;
|
|
@@ -2934,6 +2961,7 @@ declare namespace io.flow.product.v0.models {
|
|
|
2934
2961
|
readonly organization_id: string;
|
|
2935
2962
|
readonly number: string;
|
|
2936
2963
|
readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
2964
|
+
readonly inferred_taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
2937
2965
|
readonly taxonomy_data?: io.flow.product.v0.models.ProductTaxonomyData[];
|
|
2938
2966
|
readonly item_numbers: string[];
|
|
2939
2967
|
readonly highest_value_item_number?: string;
|
|
@@ -3173,6 +3201,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3173
3201
|
type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
|
|
3174
3202
|
type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
|
|
3175
3203
|
type ShippingConfigurationType = 'default' | 'variant';
|
|
3204
|
+
type ShippingCostGuarantee = 'guaranteed' | 'non_guaranteed';
|
|
3176
3205
|
type ShippingLabelErrorCode = 'generic_error' | 'cancelled_order' | 'carrier_outage' | 'catalog_issue' | 'invalid_destination' | 'invalid_origin' | 'invalid_shipping_parameters' | 'merchant_error' | 'order_not_found' | 'order_processing' | 'restricted_item' | 'unsupported_lane';
|
|
3177
3206
|
type ShopifyGrant = 'customer' | 'discount' | 'gift_card' | 'metafield' | 'order';
|
|
3178
3207
|
type ShopifyLocalizationMethod = 'api' | 'ssr';
|
|
@@ -3954,6 +3983,17 @@ declare namespace io.flow.v0.models {
|
|
|
3954
3983
|
}
|
|
3955
3984
|
interface BankAccountInfoKor {
|
|
3956
3985
|
readonly discriminator: 'kor';
|
|
3986
|
+
readonly name?: string;
|
|
3987
|
+
readonly address?: io.flow.v0.models.Address;
|
|
3988
|
+
readonly phone?: string;
|
|
3989
|
+
readonly email?: string;
|
|
3990
|
+
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;
|
|
3994
|
+
}
|
|
3995
|
+
interface BankAccountInfoKorV2 {
|
|
3996
|
+
readonly discriminator: 'kor_v2';
|
|
3957
3997
|
readonly name: string;
|
|
3958
3998
|
readonly bank_account_number: string;
|
|
3959
3999
|
readonly bank_routing_number: string;
|
|
@@ -8066,6 +8106,11 @@ declare namespace io.flow.v0.models {
|
|
|
8066
8106
|
readonly discriminator: 'order_state_rejection_reason_items_empty';
|
|
8067
8107
|
readonly line_items: string[];
|
|
8068
8108
|
}
|
|
8109
|
+
interface OrderStateRejectionReasonOrganizationDeactivated {
|
|
8110
|
+
readonly discriminator: 'order_state_rejection_reason_organization_deactivated';
|
|
8111
|
+
readonly deactivation_requested_at: string;
|
|
8112
|
+
readonly deactivated_at?: string;
|
|
8113
|
+
}
|
|
8069
8114
|
interface OrderStateRejectionReasonRestrictedItem {
|
|
8070
8115
|
readonly discriminator: 'order_state_rejection_reason_restricted_item';
|
|
8071
8116
|
readonly item_numbers: string[];
|
|
@@ -9444,6 +9489,7 @@ declare namespace io.flow.v0.models {
|
|
|
9444
9489
|
readonly organization_id: string;
|
|
9445
9490
|
readonly number: string;
|
|
9446
9491
|
readonly taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
|
|
9492
|
+
readonly inferred_taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
|
|
9447
9493
|
readonly taxonomy_data?: io.flow.v0.models.ProductTaxonomyData[];
|
|
9448
9494
|
readonly item_numbers: string[];
|
|
9449
9495
|
readonly highest_value_item_number?: string;
|
|
@@ -9725,6 +9771,7 @@ declare namespace io.flow.v0.models {
|
|
|
9725
9771
|
readonly rate_level_key?: string;
|
|
9726
9772
|
readonly direction: io.flow.v0.enums.Direction;
|
|
9727
9773
|
readonly effective_at: string;
|
|
9774
|
+
readonly effective_until?: string;
|
|
9728
9775
|
readonly origination_zones: io.flow.v0.models.Zone[];
|
|
9729
9776
|
readonly service: io.flow.v0.models.RatecardServiceSummary;
|
|
9730
9777
|
readonly published_at?: string;
|
|
@@ -9749,6 +9796,9 @@ declare namespace io.flow.v0.models {
|
|
|
9749
9796
|
readonly organization: string;
|
|
9750
9797
|
readonly ratecard: io.flow.v0.models.Ratecard;
|
|
9751
9798
|
}
|
|
9799
|
+
interface RatecardEffectiveUntilForm {
|
|
9800
|
+
readonly effective_until?: string;
|
|
9801
|
+
}
|
|
9752
9802
|
interface RatecardEstimateForm {
|
|
9753
9803
|
readonly origin_address: io.flow.v0.models.Address;
|
|
9754
9804
|
readonly destination_address: io.flow.v0.models.Address;
|
|
@@ -10647,6 +10697,7 @@ declare namespace io.flow.v0.models {
|
|
|
10647
10697
|
readonly created_at?: string;
|
|
10648
10698
|
readonly updated_at?: string;
|
|
10649
10699
|
readonly direction?: io.flow.v0.enums.Direction;
|
|
10700
|
+
readonly shipping_cost_guarantee?: io.flow.v0.enums.ShippingCostGuarantee;
|
|
10650
10701
|
}
|
|
10651
10702
|
interface ShippingLabelDocument {
|
|
10652
10703
|
readonly zpl?: string;
|
|
@@ -12203,7 +12254,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12203
12254
|
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;
|
|
12204
12255
|
type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
|
|
12205
12256
|
type BankAccountForm = io.flow.v0.models.BankAccountFormInfo | io.flow.v0.models.BankAccountFormSimple;
|
|
12206
|
-
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;
|
|
12257
|
+
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;
|
|
12207
12258
|
type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
|
|
12208
12259
|
type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
|
|
12209
12260
|
type CardNumber = io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher;
|
|
@@ -12255,7 +12306,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12255
12306
|
type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion;
|
|
12256
12307
|
type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm;
|
|
12257
12308
|
type OrderRefundSummaryForm = io.flow.v0.models.OrderRefundSummaryFullForm | io.flow.v0.models.OrderRefundSummaryPartialForm;
|
|
12258
|
-
type OrderStateRejectionReason = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
|
|
12309
|
+
type OrderStateRejectionReason = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty | io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
12259
12310
|
type PartnerCenterFee = io.flow.v0.models.CommercialInvoiceFee | io.flow.v0.models.InboundCartonFee | io.flow.v0.models.OutboundCartonFee;
|
|
12260
12311
|
type Payment = io.flow.v0.models.PaymentPaypal | io.flow.v0.models.PaymentCryptopay;
|
|
12261
12312
|
type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
|
|
@@ -12456,6 +12507,7 @@ export declare type BankAccountInfoFra = io.flow.v0.models.BankAccountInfoFra;
|
|
|
12456
12507
|
export declare type BankAccountInfoGbr = io.flow.v0.models.BankAccountInfoGbr;
|
|
12457
12508
|
export declare type BankAccountInfoIta = io.flow.v0.models.BankAccountInfoIta;
|
|
12458
12509
|
export declare type BankAccountInfoKor = io.flow.v0.models.BankAccountInfoKor;
|
|
12510
|
+
export declare type BankAccountInfoKorV2 = io.flow.v0.models.BankAccountInfoKorV2;
|
|
12459
12511
|
export declare type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
|
|
12460
12512
|
export declare type BankAccountReference = io.flow.v0.models.BankAccountReference;
|
|
12461
12513
|
export declare type BankAccountSummary = io.flow.v0.models.BankAccountSummary;
|
|
@@ -13281,6 +13333,7 @@ export declare type OrderStateDeleted = io.flow.v0.models.OrderStateDeleted;
|
|
|
13281
13333
|
export declare type OrderStateRejectionReason = io.flow.v0.unions.OrderStateRejectionReason;
|
|
13282
13334
|
export declare type OrderStateRejectionReasonDomesticOrder = io.flow.v0.models.OrderStateRejectionReasonDomesticOrder;
|
|
13283
13335
|
export declare type OrderStateRejectionReasonItemsEmpty = io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
|
|
13336
|
+
export declare type OrderStateRejectionReasonOrganizationDeactivated = io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
13284
13337
|
export declare type OrderStateRejectionReasonRestrictedItem = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem;
|
|
13285
13338
|
export declare type OrderStateStatus = io.flow.v0.enums.OrderStateStatus;
|
|
13286
13339
|
export declare type OrderStateUpserted = io.flow.v0.models.OrderStateUpserted;
|
|
@@ -13621,6 +13674,7 @@ export declare type Ratecard = io.flow.v0.models.Ratecard;
|
|
|
13621
13674
|
export declare type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
|
|
13622
13675
|
export declare type RatecardData = io.flow.v0.models.RatecardData;
|
|
13623
13676
|
export declare type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
|
|
13677
|
+
export declare type RatecardEffectiveUntilForm = io.flow.v0.models.RatecardEffectiveUntilForm;
|
|
13624
13678
|
export declare type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
|
|
13625
13679
|
export declare type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
|
|
13626
13680
|
export declare type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
|
|
@@ -13798,6 +13852,7 @@ export declare type ShippingConfigurationSummary = io.flow.v0.models.ShippingCon
|
|
|
13798
13852
|
export declare type ShippingConfigurationType = io.flow.v0.enums.ShippingConfigurationType;
|
|
13799
13853
|
export declare type ShippingConfigurationUpserted = io.flow.v0.models.ShippingConfigurationUpserted;
|
|
13800
13854
|
export declare type ShippingConfigurationVersion = io.flow.v0.models.ShippingConfigurationVersion;
|
|
13855
|
+
export declare type ShippingCostGuarantee = io.flow.v0.enums.ShippingCostGuarantee;
|
|
13801
13856
|
export declare type ShippingLabel = io.flow.v0.models.ShippingLabel;
|
|
13802
13857
|
export declare type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument;
|
|
13803
13858
|
export declare type ShippingLabelError = io.flow.v0.models.ShippingLabelError;
|