@flowio/types 11.24.136 → 11.24.137
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 +242 -14
- package/dist/api.d.ts +41 -2
- package/package.json +1 -1
- package/src/api-internal.ts +316 -14
- package/src/api.ts +50 -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 {
|
|
@@ -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
|
}
|
|
@@ -2934,6 +2945,7 @@ declare namespace io.flow.product.v0.models {
|
|
|
2934
2945
|
readonly organization_id: string;
|
|
2935
2946
|
readonly number: string;
|
|
2936
2947
|
readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
2948
|
+
readonly inferred_taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
2937
2949
|
readonly taxonomy_data?: io.flow.product.v0.models.ProductTaxonomyData[];
|
|
2938
2950
|
readonly item_numbers: string[];
|
|
2939
2951
|
readonly highest_value_item_number?: string;
|
|
@@ -3173,6 +3185,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3173
3185
|
type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
|
|
3174
3186
|
type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
|
|
3175
3187
|
type ShippingConfigurationType = 'default' | 'variant';
|
|
3188
|
+
type ShippingCostGuarantee = 'guaranteed' | 'non_guaranteed';
|
|
3176
3189
|
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
3190
|
type ShopifyGrant = 'customer' | 'discount' | 'gift_card' | 'metafield' | 'order';
|
|
3178
3191
|
type ShopifyLocalizationMethod = 'api' | 'ssr';
|
|
@@ -3954,6 +3967,17 @@ declare namespace io.flow.v0.models {
|
|
|
3954
3967
|
}
|
|
3955
3968
|
interface BankAccountInfoKor {
|
|
3956
3969
|
readonly discriminator: 'kor';
|
|
3970
|
+
readonly name?: string;
|
|
3971
|
+
readonly address?: io.flow.v0.models.Address;
|
|
3972
|
+
readonly phone?: string;
|
|
3973
|
+
readonly email?: string;
|
|
3974
|
+
readonly bank_account_number: string;
|
|
3975
|
+
readonly bank_routing_number?: string;
|
|
3976
|
+
readonly bank_name?: string;
|
|
3977
|
+
readonly bank_address?: io.flow.v0.models.Address;
|
|
3978
|
+
}
|
|
3979
|
+
interface BankAccountInfoKorV2 {
|
|
3980
|
+
readonly discriminator: 'kor_v2';
|
|
3957
3981
|
readonly name: string;
|
|
3958
3982
|
readonly bank_account_number: string;
|
|
3959
3983
|
readonly bank_routing_number: string;
|
|
@@ -8066,6 +8090,11 @@ declare namespace io.flow.v0.models {
|
|
|
8066
8090
|
readonly discriminator: 'order_state_rejection_reason_items_empty';
|
|
8067
8091
|
readonly line_items: string[];
|
|
8068
8092
|
}
|
|
8093
|
+
interface OrderStateRejectionReasonOrganizationDeactivated {
|
|
8094
|
+
readonly discriminator: 'order_state_rejection_reason_organization_deactivated';
|
|
8095
|
+
readonly deactivation_requested_at: string;
|
|
8096
|
+
readonly deactivated_at?: string;
|
|
8097
|
+
}
|
|
8069
8098
|
interface OrderStateRejectionReasonRestrictedItem {
|
|
8070
8099
|
readonly discriminator: 'order_state_rejection_reason_restricted_item';
|
|
8071
8100
|
readonly item_numbers: string[];
|
|
@@ -9444,6 +9473,7 @@ declare namespace io.flow.v0.models {
|
|
|
9444
9473
|
readonly organization_id: string;
|
|
9445
9474
|
readonly number: string;
|
|
9446
9475
|
readonly taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
|
|
9476
|
+
readonly inferred_taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
|
|
9447
9477
|
readonly taxonomy_data?: io.flow.v0.models.ProductTaxonomyData[];
|
|
9448
9478
|
readonly item_numbers: string[];
|
|
9449
9479
|
readonly highest_value_item_number?: string;
|
|
@@ -9725,6 +9755,7 @@ declare namespace io.flow.v0.models {
|
|
|
9725
9755
|
readonly rate_level_key?: string;
|
|
9726
9756
|
readonly direction: io.flow.v0.enums.Direction;
|
|
9727
9757
|
readonly effective_at: string;
|
|
9758
|
+
readonly effective_until?: string;
|
|
9728
9759
|
readonly origination_zones: io.flow.v0.models.Zone[];
|
|
9729
9760
|
readonly service: io.flow.v0.models.RatecardServiceSummary;
|
|
9730
9761
|
readonly published_at?: string;
|
|
@@ -9749,6 +9780,9 @@ declare namespace io.flow.v0.models {
|
|
|
9749
9780
|
readonly organization: string;
|
|
9750
9781
|
readonly ratecard: io.flow.v0.models.Ratecard;
|
|
9751
9782
|
}
|
|
9783
|
+
interface RatecardEffectiveUntilForm {
|
|
9784
|
+
readonly effective_until?: string;
|
|
9785
|
+
}
|
|
9752
9786
|
interface RatecardEstimateForm {
|
|
9753
9787
|
readonly origin_address: io.flow.v0.models.Address;
|
|
9754
9788
|
readonly destination_address: io.flow.v0.models.Address;
|
|
@@ -10647,6 +10681,7 @@ declare namespace io.flow.v0.models {
|
|
|
10647
10681
|
readonly created_at?: string;
|
|
10648
10682
|
readonly updated_at?: string;
|
|
10649
10683
|
readonly direction?: io.flow.v0.enums.Direction;
|
|
10684
|
+
readonly shipping_cost_guarantee?: io.flow.v0.enums.ShippingCostGuarantee;
|
|
10650
10685
|
}
|
|
10651
10686
|
interface ShippingLabelDocument {
|
|
10652
10687
|
readonly zpl?: string;
|
|
@@ -12203,7 +12238,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12203
12238
|
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
12239
|
type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
|
|
12205
12240
|
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;
|
|
12241
|
+
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
12242
|
type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
|
|
12208
12243
|
type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
|
|
12209
12244
|
type CardNumber = io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher;
|
|
@@ -12255,7 +12290,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12255
12290
|
type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion;
|
|
12256
12291
|
type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm;
|
|
12257
12292
|
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;
|
|
12293
|
+
type OrderStateRejectionReason = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty | io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
12259
12294
|
type PartnerCenterFee = io.flow.v0.models.CommercialInvoiceFee | io.flow.v0.models.InboundCartonFee | io.flow.v0.models.OutboundCartonFee;
|
|
12260
12295
|
type Payment = io.flow.v0.models.PaymentPaypal | io.flow.v0.models.PaymentCryptopay;
|
|
12261
12296
|
type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
|
|
@@ -12456,6 +12491,7 @@ export declare type BankAccountInfoFra = io.flow.v0.models.BankAccountInfoFra;
|
|
|
12456
12491
|
export declare type BankAccountInfoGbr = io.flow.v0.models.BankAccountInfoGbr;
|
|
12457
12492
|
export declare type BankAccountInfoIta = io.flow.v0.models.BankAccountInfoIta;
|
|
12458
12493
|
export declare type BankAccountInfoKor = io.flow.v0.models.BankAccountInfoKor;
|
|
12494
|
+
export declare type BankAccountInfoKorV2 = io.flow.v0.models.BankAccountInfoKorV2;
|
|
12459
12495
|
export declare type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
|
|
12460
12496
|
export declare type BankAccountReference = io.flow.v0.models.BankAccountReference;
|
|
12461
12497
|
export declare type BankAccountSummary = io.flow.v0.models.BankAccountSummary;
|
|
@@ -13281,6 +13317,7 @@ export declare type OrderStateDeleted = io.flow.v0.models.OrderStateDeleted;
|
|
|
13281
13317
|
export declare type OrderStateRejectionReason = io.flow.v0.unions.OrderStateRejectionReason;
|
|
13282
13318
|
export declare type OrderStateRejectionReasonDomesticOrder = io.flow.v0.models.OrderStateRejectionReasonDomesticOrder;
|
|
13283
13319
|
export declare type OrderStateRejectionReasonItemsEmpty = io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
|
|
13320
|
+
export declare type OrderStateRejectionReasonOrganizationDeactivated = io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
13284
13321
|
export declare type OrderStateRejectionReasonRestrictedItem = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem;
|
|
13285
13322
|
export declare type OrderStateStatus = io.flow.v0.enums.OrderStateStatus;
|
|
13286
13323
|
export declare type OrderStateUpserted = io.flow.v0.models.OrderStateUpserted;
|
|
@@ -13621,6 +13658,7 @@ export declare type Ratecard = io.flow.v0.models.Ratecard;
|
|
|
13621
13658
|
export declare type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
|
|
13622
13659
|
export declare type RatecardData = io.flow.v0.models.RatecardData;
|
|
13623
13660
|
export declare type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
|
|
13661
|
+
export declare type RatecardEffectiveUntilForm = io.flow.v0.models.RatecardEffectiveUntilForm;
|
|
13624
13662
|
export declare type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
|
|
13625
13663
|
export declare type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
|
|
13626
13664
|
export declare type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
|
|
@@ -13798,6 +13836,7 @@ export declare type ShippingConfigurationSummary = io.flow.v0.models.ShippingCon
|
|
|
13798
13836
|
export declare type ShippingConfigurationType = io.flow.v0.enums.ShippingConfigurationType;
|
|
13799
13837
|
export declare type ShippingConfigurationUpserted = io.flow.v0.models.ShippingConfigurationUpserted;
|
|
13800
13838
|
export declare type ShippingConfigurationVersion = io.flow.v0.models.ShippingConfigurationVersion;
|
|
13839
|
+
export declare type ShippingCostGuarantee = io.flow.v0.enums.ShippingCostGuarantee;
|
|
13801
13840
|
export declare type ShippingLabel = io.flow.v0.models.ShippingLabel;
|
|
13802
13841
|
export declare type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument;
|
|
13803
13842
|
export declare type ShippingLabelError = io.flow.v0.models.ShippingLabelError;
|