@flowio/types 11.24.81 → 11.24.82
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 +61 -13
- package/dist/api.d.ts +2 -2
- package/package.json +2 -2
- package/src/api-internal.ts +70 -68
- package/src/api.ts +2 -1
package/dist/api-internal.d.ts
CHANGED
|
@@ -11282,12 +11282,11 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
11282
11282
|
type FeesSource = 'settings' | 'authorization_bundle';
|
|
11283
11283
|
type LabelTransactionType = 'adjustment' | 'reversal' | 'billable_label' | 'fee' | 'revenue_share';
|
|
11284
11284
|
type MainTransactionStatus = 'scheduled' | 'pending_proof';
|
|
11285
|
-
type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit' | 'negative_balance_guarantee';
|
|
11285
|
+
type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit' | 'negative_balance_guarantee' | 'bank_payment_failure';
|
|
11286
11286
|
type OrderCancellationInitiatedBy = 'flow' | 'organization';
|
|
11287
11287
|
type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
|
|
11288
11288
|
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
11289
11289
|
type ProcessingTransactionType = 'adjustment' | 'reversal' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
|
|
11290
|
-
type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'return_refund' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'refund_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
|
|
11291
11290
|
type ResponsibleParty = 'flow' | 'organization';
|
|
11292
11291
|
type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
|
|
11293
11292
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
@@ -14017,6 +14016,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14017
14016
|
type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_book_contact_invalid' | 'address_book_contact_not_found' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_not_found' | 'checkout_not_found' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'first_name_invalid' | 'first_name_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'last_name_invalid' | 'last_name_required' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'national_id_number_invalid' | 'no_customer' | 'no_valid_address_book_contacts' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_balance_not_available' | 'order_identifier_invalid' | 'payment_failed' | 'payment_not_found' | 'payment_source_confirmation_required' | 'payment_source_failed' | 'payment_source_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported' | 'promotion_code_order_item_not_available';
|
|
14018
14017
|
type CheckoutUrlType = 'continue_shopping' | 'confirmation' | 'invalid_checkout';
|
|
14019
14018
|
type ClassificationErrorCode = 'generic_error';
|
|
14019
|
+
type ColmItemType = 'physical' | 'digital';
|
|
14020
14020
|
type ComplianceType = 'weee';
|
|
14021
14021
|
type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
|
|
14022
14022
|
type ContentStatus = 'draft' | 'live' | 'archived';
|
|
@@ -14085,7 +14085,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14085
14085
|
type LogisticsResponsibility = 'organization' | 'flow';
|
|
14086
14086
|
type MainTransactionStatus = 'scheduled' | 'pending_proof';
|
|
14087
14087
|
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
14088
|
-
type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit' | 'negative_balance_guarantee';
|
|
14088
|
+
type ManualTransactionCategory = 'cancelled_order_refund' | 'channel_partner_initiated' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit' | 'negative_balance_guarantee' | 'bank_payment_failure';
|
|
14089
14089
|
type MarketingGatewayAccountConnectionStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected';
|
|
14090
14090
|
type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
|
|
14091
14091
|
type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
|
|
@@ -14136,7 +14136,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14136
14136
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
14137
14137
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
14138
14138
|
type PromptTarget = 'browse' | 'checkout';
|
|
14139
|
-
type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'return_refund' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'refund_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
|
|
14140
14139
|
type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
|
|
14141
14140
|
type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
|
|
14142
14141
|
type RateSource = 'calculated' | 'market';
|
|
@@ -14172,6 +14171,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14172
14171
|
type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
|
|
14173
14172
|
type ShopifyPromotionStatus = 'active' | 'inactive';
|
|
14174
14173
|
type ShopifyService = 'payment' | 'duty_tax_calculator';
|
|
14174
|
+
type ShrutiDemoType = 'digital' | 'physical';
|
|
14175
14175
|
type SignificanceAction = 'end_and_implement_winner' | 'end_and_revert' | 'do_nothing';
|
|
14176
14176
|
type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
|
|
14177
14177
|
type SnoozeNextActionWith = 'customer_service' | 'engineering';
|
|
@@ -14182,6 +14182,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14182
14182
|
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
14183
14183
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
14184
14184
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
14185
|
+
type SvitlanaType = 'physical' | 'digital';
|
|
14185
14186
|
type TariffEligibilityType = 'rex';
|
|
14186
14187
|
type TaskProcessorKey = 'order_messenger' | 'harmonization' | 'fraud_review' | 'carrier_account' | 'payment' | 'rate_levels' | 'center_defaults';
|
|
14187
14188
|
type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
|
|
@@ -17797,6 +17798,21 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17797
17798
|
readonly status: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
17798
17799
|
readonly classified_by: string;
|
|
17799
17800
|
}
|
|
17801
|
+
interface ColmItem {
|
|
17802
|
+
readonly id: string;
|
|
17803
|
+
readonly number: string;
|
|
17804
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
17805
|
+
readonly description?: string;
|
|
17806
|
+
readonly type: io.flow.internal.v0.enums.ColmItemType;
|
|
17807
|
+
readonly added_on: string;
|
|
17808
|
+
}
|
|
17809
|
+
interface ColmItemForm {
|
|
17810
|
+
readonly number: string;
|
|
17811
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
17812
|
+
readonly description?: string;
|
|
17813
|
+
readonly type: io.flow.internal.v0.enums.ColmItemType;
|
|
17814
|
+
readonly added_on: string;
|
|
17815
|
+
}
|
|
17800
17816
|
interface CommercialInvoiceComparison {
|
|
17801
17817
|
readonly urls: string[];
|
|
17802
17818
|
}
|
|
@@ -23201,8 +23217,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23201
23217
|
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
23202
23218
|
readonly matching_positive_keywords: string[];
|
|
23203
23219
|
readonly matching_negative_keywords: string[];
|
|
23204
|
-
readonly positive_search_matches?: string[];
|
|
23205
|
-
readonly negative_search_matches?: string[];
|
|
23206
23220
|
readonly updated_by_user_id: string;
|
|
23207
23221
|
}
|
|
23208
23222
|
interface ProductRestrictionRuleDecisionDeleted {
|
|
@@ -23942,8 +23956,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23942
23956
|
interface RestrictionKeywords {
|
|
23943
23957
|
readonly positive_keywords: string[];
|
|
23944
23958
|
readonly negative_keywords: string[];
|
|
23945
|
-
readonly positive_search_matches: string[];
|
|
23946
|
-
readonly negative_search_matches: string[];
|
|
23947
23959
|
}
|
|
23948
23960
|
interface RestrictionOrganization {
|
|
23949
23961
|
readonly id: string;
|
|
@@ -24023,8 +24035,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24023
24035
|
readonly accepted_rules?: string[];
|
|
24024
24036
|
readonly positive_keywords?: string[];
|
|
24025
24037
|
readonly negative_keywords?: string[];
|
|
24026
|
-
readonly positive_search_matches?: string[];
|
|
24027
|
-
readonly negative_search_matches?: string[];
|
|
24028
24038
|
readonly user_ids?: string[];
|
|
24029
24039
|
readonly categories?: string[];
|
|
24030
24040
|
readonly product_name_query?: string;
|
|
@@ -24453,11 +24463,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24453
24463
|
readonly organization: string;
|
|
24454
24464
|
readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
|
|
24455
24465
|
}
|
|
24456
|
-
interface
|
|
24466
|
+
interface ShopifyMarketsOrderVersionWithShopId {
|
|
24457
24467
|
readonly id: string;
|
|
24458
24468
|
readonly timestamp: string;
|
|
24459
24469
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
24460
24470
|
readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
|
|
24471
|
+
readonly shop_id?: string;
|
|
24461
24472
|
}
|
|
24462
24473
|
interface ShopifyMarketsOrdersMetrics {
|
|
24463
24474
|
readonly id: string;
|
|
@@ -24851,6 +24862,21 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24851
24862
|
readonly order_discount: number;
|
|
24852
24863
|
readonly total: number;
|
|
24853
24864
|
}
|
|
24865
|
+
interface ShrutiDemoItem {
|
|
24866
|
+
readonly id: string;
|
|
24867
|
+
readonly number: string;
|
|
24868
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
24869
|
+
readonly description?: string;
|
|
24870
|
+
readonly type: io.flow.internal.v0.enums.ShrutiDemoType;
|
|
24871
|
+
readonly added_on: string;
|
|
24872
|
+
}
|
|
24873
|
+
interface ShrutiDemoItemForm {
|
|
24874
|
+
readonly number: string;
|
|
24875
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
24876
|
+
readonly description?: string;
|
|
24877
|
+
readonly type: io.flow.internal.v0.enums.ShrutiDemoType;
|
|
24878
|
+
readonly added_on: string;
|
|
24879
|
+
}
|
|
24854
24880
|
interface SimpleAccountReference {
|
|
24855
24881
|
readonly id: string;
|
|
24856
24882
|
}
|
|
@@ -25243,6 +25269,20 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25243
25269
|
readonly timestamp: string;
|
|
25244
25270
|
readonly svb_virtual_card_clearing: io.flow.internal.v0.models.SvbVirtualCardClearing;
|
|
25245
25271
|
}
|
|
25272
|
+
interface SvitlanaItem {
|
|
25273
|
+
readonly id: string;
|
|
25274
|
+
readonly number: string;
|
|
25275
|
+
readonly amount: number;
|
|
25276
|
+
readonly description?: string;
|
|
25277
|
+
readonly type: io.flow.internal.v0.enums.SvitlanaType;
|
|
25278
|
+
readonly added_on: string;
|
|
25279
|
+
}
|
|
25280
|
+
interface SvitlanaItemForm {
|
|
25281
|
+
readonly number: string;
|
|
25282
|
+
readonly amount: number;
|
|
25283
|
+
readonly description?: string;
|
|
25284
|
+
readonly type: io.flow.internal.v0.enums.SvitlanaType;
|
|
25285
|
+
}
|
|
25246
25286
|
interface TariffCodeDuty {
|
|
25247
25287
|
readonly tariff_code: string;
|
|
25248
25288
|
readonly duties: Record<string, io.flow.internal.v0.models.Duties>;
|
|
@@ -26864,6 +26904,9 @@ export declare type ClassificationTaxonomy = io.flow.internal.v0.unions.Classifi
|
|
|
26864
26904
|
export declare type ClassificationWrapper = io.flow.internal.v0.models.ClassificationWrapper;
|
|
26865
26905
|
export declare type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
26866
26906
|
export declare type ClassifiedProductDetail = io.flow.internal.v0.models.ClassifiedProductDetail;
|
|
26907
|
+
export declare type ColmItem = io.flow.internal.v0.models.ColmItem;
|
|
26908
|
+
export declare type ColmItemForm = io.flow.internal.v0.models.ColmItemForm;
|
|
26909
|
+
export declare type ColmItemType = io.flow.internal.v0.enums.ColmItemType;
|
|
26867
26910
|
export declare type CommercialInvoiceComparison = io.flow.internal.v0.models.CommercialInvoiceComparison;
|
|
26868
26911
|
export declare type CommercialInvoiceInternal = io.flow.internal.v0.models.CommercialInvoiceInternal;
|
|
26869
26912
|
export declare type CommercialInvoiceInternalDeleted = io.flow.internal.v0.models.CommercialInvoiceInternalDeleted;
|
|
@@ -27810,7 +27853,6 @@ export declare type ProofOfPostingOrderCancellation = io.flow.internal.v0.models
|
|
|
27810
27853
|
export declare type ProofOfPostingOrderCombinedShipment = io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment;
|
|
27811
27854
|
export declare type ProofOfPostingShippingNotification = io.flow.internal.v0.models.ProofOfPostingShippingNotification;
|
|
27812
27855
|
export declare type QueuedRecord = io.flow.internal.v0.models.QueuedRecord;
|
|
27813
|
-
export declare type QueuedRecordType = io.flow.internal.v0.enums.QueuedRecordType;
|
|
27814
27856
|
export declare type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
|
|
27815
27857
|
export declare type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
|
|
27816
27858
|
export declare type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;
|
|
@@ -28038,7 +28080,7 @@ export declare type ShopifyMarketsMetricsUpserted = io.flow.internal.v0.models.S
|
|
|
28038
28080
|
export declare type ShopifyMarketsOrder = io.flow.internal.v0.models.ShopifyMarketsOrder;
|
|
28039
28081
|
export declare type ShopifyMarketsOrderDeleted = io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
|
|
28040
28082
|
export declare type ShopifyMarketsOrderUpserted = io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
|
|
28041
|
-
export declare type
|
|
28083
|
+
export declare type ShopifyMarketsOrderVersionWithShopId = io.flow.internal.v0.models.ShopifyMarketsOrderVersionWithShopId;
|
|
28042
28084
|
export declare type ShopifyMarketsOrdersMetrics = io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
|
|
28043
28085
|
export declare type ShopifyMarketsQueuedRecord = io.flow.internal.v0.models.ShopifyMarketsQueuedRecord;
|
|
28044
28086
|
export declare type ShopifyMarketsQueuedRecordType = io.flow.internal.v0.enums.ShopifyMarketsQueuedRecordType;
|
|
@@ -28120,6 +28162,9 @@ export declare type ShopperFreight = io.flow.internal.v0.models.ShopperFreight;
|
|
|
28120
28162
|
export declare type ShopperLine = io.flow.internal.v0.models.ShopperLine;
|
|
28121
28163
|
export declare type ShopperLines = io.flow.internal.v0.models.ShopperLines;
|
|
28122
28164
|
export declare type ShopperSummary = io.flow.internal.v0.models.ShopperSummary;
|
|
28165
|
+
export declare type ShrutiDemoItem = io.flow.internal.v0.models.ShrutiDemoItem;
|
|
28166
|
+
export declare type ShrutiDemoItemForm = io.flow.internal.v0.models.ShrutiDemoItemForm;
|
|
28167
|
+
export declare type ShrutiDemoType = io.flow.internal.v0.enums.ShrutiDemoType;
|
|
28123
28168
|
export declare type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
|
|
28124
28169
|
export declare type SimpleAccountReference = io.flow.internal.v0.models.SimpleAccountReference;
|
|
28125
28170
|
export declare type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStrategy;
|
|
@@ -28188,6 +28233,9 @@ export declare type SupportedLabels = io.flow.internal.v0.models.SupportedLabels
|
|
|
28188
28233
|
export declare type SvbVirtualCardClearing = io.flow.internal.v0.models.SvbVirtualCardClearing;
|
|
28189
28234
|
export declare type SvbVirtualCardClearingDeleted = io.flow.internal.v0.models.SvbVirtualCardClearingDeleted;
|
|
28190
28235
|
export declare type SvbVirtualCardClearingUpserted = io.flow.internal.v0.models.SvbVirtualCardClearingUpserted;
|
|
28236
|
+
export declare type SvitlanaItem = io.flow.internal.v0.models.SvitlanaItem;
|
|
28237
|
+
export declare type SvitlanaItemForm = io.flow.internal.v0.models.SvitlanaItemForm;
|
|
28238
|
+
export declare type SvitlanaType = io.flow.internal.v0.enums.SvitlanaType;
|
|
28191
28239
|
export declare type TariffCodeDuty = io.flow.internal.v0.models.TariffCodeDuty;
|
|
28192
28240
|
export declare type TariffCodesExport = io.flow.internal.v0.models.TariffCodesExport;
|
|
28193
28241
|
export declare type TariffEligibility = io.flow.internal.v0.models.TariffEligibility;
|
package/dist/api.d.ts
CHANGED
|
@@ -2000,7 +2000,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2000
2000
|
type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
|
|
2001
2001
|
type PriceFacetBoundary = 'min' | 'max';
|
|
2002
2002
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
2003
|
-
type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Supplements' | 'Weapon' | 'Wood';
|
|
2003
|
+
type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Restrict by Default' | 'Supplements' | 'Weapon' | 'Wood';
|
|
2004
2004
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
2005
2005
|
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
2006
2006
|
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
@@ -8392,7 +8392,7 @@ declare namespace io.flow.v0.models {
|
|
|
8392
8392
|
readonly prohibited_regions: string[];
|
|
8393
8393
|
readonly review_status?: io.flow.v0.enums.ReviewStatus;
|
|
8394
8394
|
readonly rules?: io.flow.v0.enums.ProductRestrictionRule[];
|
|
8395
|
-
readonly
|
|
8395
|
+
readonly updated_by?: string;
|
|
8396
8396
|
}
|
|
8397
8397
|
interface ProductRestrictionResultDeleted {
|
|
8398
8398
|
readonly discriminator: 'product_restriction_result_deleted';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.82",
|
|
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",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "2430172d05199bd940ad6b8a39eaf47a9efcea8c"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -14904,7 +14904,8 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
14904
14904
|
| 'shipping_true_up'
|
|
14905
14905
|
| 'tax_credit'
|
|
14906
14906
|
| 'carrier_credit'
|
|
14907
|
-
| 'negative_balance_guarantee'
|
|
14907
|
+
| 'negative_balance_guarantee'
|
|
14908
|
+
| 'bank_payment_failure';
|
|
14908
14909
|
type OrderCancellationInitiatedBy = 'flow' | 'organization';
|
|
14909
14910
|
type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
|
|
14910
14911
|
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
@@ -14915,34 +14916,6 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
14915
14916
|
| 'refund'
|
|
14916
14917
|
| 'fully_subsidized_order'
|
|
14917
14918
|
| 'credit_payment';
|
|
14918
|
-
type QueuedRecordType =
|
|
14919
|
-
| 'capture'
|
|
14920
|
-
| 'channel_transaction'
|
|
14921
|
-
| 'consumer_invoice'
|
|
14922
|
-
| 'fulfillment_in_transit'
|
|
14923
|
-
| 'fulfillment_shipping_notification'
|
|
14924
|
-
| 'fulfillment_external'
|
|
14925
|
-
| 'fulfillment_order_combined_shipment'
|
|
14926
|
-
| 'fulfillment_order_time'
|
|
14927
|
-
| 'return_refund'
|
|
14928
|
-
| 'label_tracking_summary'
|
|
14929
|
-
| 'label_invoice_request'
|
|
14930
|
-
| 'carrier_charge'
|
|
14931
|
-
| 'carrier_charge_file'
|
|
14932
|
-
| 'order'
|
|
14933
|
-
| 'order_identifier'
|
|
14934
|
-
| 'organization_onboarding_state'
|
|
14935
|
-
| 'posting_proof'
|
|
14936
|
-
| 'refund'
|
|
14937
|
-
| 'refund_over_capture'
|
|
14938
|
-
| 'sales_record'
|
|
14939
|
-
| 'refund_record'
|
|
14940
|
-
| 'statement_batch'
|
|
14941
|
-
| 'statement_email'
|
|
14942
|
-
| 'statement_summary_email'
|
|
14943
|
-
| 'pending_payout_transaction_event'
|
|
14944
|
-
| 'credit_and_subsidy'
|
|
14945
|
-
| 'negative_balance_guarantee';
|
|
14946
14919
|
type ResponsibleParty = 'flow' | 'organization';
|
|
14947
14920
|
type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
|
|
14948
14921
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
@@ -18719,6 +18692,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18719
18692
|
| 'confirmation'
|
|
18720
18693
|
| 'invalid_checkout';
|
|
18721
18694
|
type ClassificationErrorCode = 'generic_error';
|
|
18695
|
+
type ColmItemType = 'physical' | 'digital';
|
|
18722
18696
|
type ComplianceType = 'weee';
|
|
18723
18697
|
type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
|
|
18724
18698
|
type ContentStatus = 'draft' | 'live' | 'archived';
|
|
@@ -19190,7 +19164,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
19190
19164
|
| 'shipping_true_up'
|
|
19191
19165
|
| 'tax_credit'
|
|
19192
19166
|
| 'carrier_credit'
|
|
19193
|
-
| 'negative_balance_guarantee'
|
|
19167
|
+
| 'negative_balance_guarantee'
|
|
19168
|
+
| 'bank_payment_failure';
|
|
19194
19169
|
type MarketingGatewayAccountConnectionStatus =
|
|
19195
19170
|
| 'not_connected'
|
|
19196
19171
|
| 'connecting'
|
|
@@ -19387,34 +19362,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
19387
19362
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
19388
19363
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
19389
19364
|
type PromptTarget = 'browse' | 'checkout';
|
|
19390
|
-
type QueuedRecordType =
|
|
19391
|
-
| 'capture'
|
|
19392
|
-
| 'channel_transaction'
|
|
19393
|
-
| 'consumer_invoice'
|
|
19394
|
-
| 'fulfillment_in_transit'
|
|
19395
|
-
| 'fulfillment_shipping_notification'
|
|
19396
|
-
| 'fulfillment_external'
|
|
19397
|
-
| 'fulfillment_order_combined_shipment'
|
|
19398
|
-
| 'fulfillment_order_time'
|
|
19399
|
-
| 'return_refund'
|
|
19400
|
-
| 'label_tracking_summary'
|
|
19401
|
-
| 'label_invoice_request'
|
|
19402
|
-
| 'carrier_charge'
|
|
19403
|
-
| 'carrier_charge_file'
|
|
19404
|
-
| 'order'
|
|
19405
|
-
| 'order_identifier'
|
|
19406
|
-
| 'organization_onboarding_state'
|
|
19407
|
-
| 'posting_proof'
|
|
19408
|
-
| 'refund'
|
|
19409
|
-
| 'refund_over_capture'
|
|
19410
|
-
| 'sales_record'
|
|
19411
|
-
| 'refund_record'
|
|
19412
|
-
| 'statement_batch'
|
|
19413
|
-
| 'statement_email'
|
|
19414
|
-
| 'statement_summary_email'
|
|
19415
|
-
| 'pending_payout_transaction_event'
|
|
19416
|
-
| 'credit_and_subsidy'
|
|
19417
|
-
| 'negative_balance_guarantee';
|
|
19418
19365
|
type QuoteRequestType =
|
|
19419
19366
|
| 'generate'
|
|
19420
19367
|
| 'delete'
|
|
@@ -19535,6 +19482,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
19535
19482
|
| 'duty';
|
|
19536
19483
|
type ShopifyPromotionStatus = 'active' | 'inactive';
|
|
19537
19484
|
type ShopifyService = 'payment' | 'duty_tax_calculator';
|
|
19485
|
+
type ShrutiDemoType = 'digital' | 'physical';
|
|
19538
19486
|
type SignificanceAction =
|
|
19539
19487
|
| 'end_and_implement_winner'
|
|
19540
19488
|
| 'end_and_revert'
|
|
@@ -19558,6 +19506,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
19558
19506
|
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
19559
19507
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
19560
19508
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
19509
|
+
type SvitlanaType = 'physical' | 'digital';
|
|
19561
19510
|
type TariffEligibilityType = 'rex';
|
|
19562
19511
|
type TaskProcessorKey =
|
|
19563
19512
|
| 'order_messenger'
|
|
@@ -23865,6 +23814,23 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23865
23814
|
readonly classified_by: string;
|
|
23866
23815
|
}
|
|
23867
23816
|
|
|
23817
|
+
interface ColmItem {
|
|
23818
|
+
readonly id: string;
|
|
23819
|
+
readonly number: string;
|
|
23820
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
23821
|
+
readonly description?: string;
|
|
23822
|
+
readonly type: io.flow.internal.v0.enums.ColmItemType;
|
|
23823
|
+
readonly added_on: string;
|
|
23824
|
+
}
|
|
23825
|
+
|
|
23826
|
+
interface ColmItemForm {
|
|
23827
|
+
readonly number: string;
|
|
23828
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
23829
|
+
readonly description?: string;
|
|
23830
|
+
readonly type: io.flow.internal.v0.enums.ColmItemType;
|
|
23831
|
+
readonly added_on: string;
|
|
23832
|
+
}
|
|
23833
|
+
|
|
23868
23834
|
interface CommercialInvoiceComparison {
|
|
23869
23835
|
readonly urls: string[];
|
|
23870
23836
|
}
|
|
@@ -30058,8 +30024,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
30058
30024
|
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
30059
30025
|
readonly matching_positive_keywords: string[];
|
|
30060
30026
|
readonly matching_negative_keywords: string[];
|
|
30061
|
-
readonly positive_search_matches?: string[];
|
|
30062
|
-
readonly negative_search_matches?: string[];
|
|
30063
30027
|
readonly updated_by_user_id: string;
|
|
30064
30028
|
}
|
|
30065
30029
|
|
|
@@ -30920,8 +30884,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
30920
30884
|
interface RestrictionKeywords {
|
|
30921
30885
|
readonly positive_keywords: string[];
|
|
30922
30886
|
readonly negative_keywords: string[];
|
|
30923
|
-
readonly positive_search_matches: string[];
|
|
30924
|
-
readonly negative_search_matches: string[];
|
|
30925
30887
|
}
|
|
30926
30888
|
|
|
30927
30889
|
interface RestrictionOrganization {
|
|
@@ -31010,8 +30972,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
31010
30972
|
readonly accepted_rules?: string[];
|
|
31011
30973
|
readonly positive_keywords?: string[];
|
|
31012
30974
|
readonly negative_keywords?: string[];
|
|
31013
|
-
readonly positive_search_matches?: string[];
|
|
31014
|
-
readonly negative_search_matches?: string[];
|
|
31015
30975
|
readonly user_ids?: string[];
|
|
31016
30976
|
readonly categories?: string[];
|
|
31017
30977
|
readonly product_name_query?: string;
|
|
@@ -31519,11 +31479,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
31519
31479
|
readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
|
|
31520
31480
|
}
|
|
31521
31481
|
|
|
31522
|
-
interface
|
|
31482
|
+
interface ShopifyMarketsOrderVersionWithShopId {
|
|
31523
31483
|
readonly id: string;
|
|
31524
31484
|
readonly timestamp: string;
|
|
31525
31485
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
31526
31486
|
readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
|
|
31487
|
+
readonly shop_id?: string;
|
|
31527
31488
|
}
|
|
31528
31489
|
|
|
31529
31490
|
interface ShopifyMarketsOrdersMetrics {
|
|
@@ -31985,6 +31946,23 @@ declare namespace io.flow.internal.v0.models {
|
|
|
31985
31946
|
readonly total: number;
|
|
31986
31947
|
}
|
|
31987
31948
|
|
|
31949
|
+
interface ShrutiDemoItem {
|
|
31950
|
+
readonly id: string;
|
|
31951
|
+
readonly number: string;
|
|
31952
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
31953
|
+
readonly description?: string;
|
|
31954
|
+
readonly type: io.flow.internal.v0.enums.ShrutiDemoType;
|
|
31955
|
+
readonly added_on: string;
|
|
31956
|
+
}
|
|
31957
|
+
|
|
31958
|
+
interface ShrutiDemoItemForm {
|
|
31959
|
+
readonly number: string;
|
|
31960
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
31961
|
+
readonly description?: string;
|
|
31962
|
+
readonly type: io.flow.internal.v0.enums.ShrutiDemoType;
|
|
31963
|
+
readonly added_on: string;
|
|
31964
|
+
}
|
|
31965
|
+
|
|
31988
31966
|
interface SimpleAccountReference {
|
|
31989
31967
|
readonly id: string;
|
|
31990
31968
|
}
|
|
@@ -32433,6 +32411,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
32433
32411
|
readonly svb_virtual_card_clearing: io.flow.internal.v0.models.SvbVirtualCardClearing;
|
|
32434
32412
|
}
|
|
32435
32413
|
|
|
32414
|
+
interface SvitlanaItem {
|
|
32415
|
+
readonly id: string;
|
|
32416
|
+
readonly number: string;
|
|
32417
|
+
readonly amount: number;
|
|
32418
|
+
readonly description?: string;
|
|
32419
|
+
readonly type: io.flow.internal.v0.enums.SvitlanaType;
|
|
32420
|
+
readonly added_on: string;
|
|
32421
|
+
}
|
|
32422
|
+
|
|
32423
|
+
interface SvitlanaItemForm {
|
|
32424
|
+
readonly number: string;
|
|
32425
|
+
readonly amount: number;
|
|
32426
|
+
readonly description?: string;
|
|
32427
|
+
readonly type: io.flow.internal.v0.enums.SvitlanaType;
|
|
32428
|
+
}
|
|
32429
|
+
|
|
32436
32430
|
interface TariffCodeDuty {
|
|
32437
32431
|
readonly tariff_code: string;
|
|
32438
32432
|
readonly duties: Record<string, io.flow.internal.v0.models.Duties>;
|
|
@@ -35800,6 +35794,9 @@ export type ClassificationWrapper =
|
|
|
35800
35794
|
export type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
35801
35795
|
export type ClassifiedProductDetail =
|
|
35802
35796
|
io.flow.internal.v0.models.ClassifiedProductDetail;
|
|
35797
|
+
export type ColmItem = io.flow.internal.v0.models.ColmItem;
|
|
35798
|
+
export type ColmItemForm = io.flow.internal.v0.models.ColmItemForm;
|
|
35799
|
+
export type ColmItemType = io.flow.internal.v0.enums.ColmItemType;
|
|
35803
35800
|
export type CommercialInvoiceComparison =
|
|
35804
35801
|
io.flow.internal.v0.models.CommercialInvoiceComparison;
|
|
35805
35802
|
export type CommercialInvoiceInternal =
|
|
@@ -37353,7 +37350,6 @@ export type ProofOfPostingOrderCombinedShipment =
|
|
|
37353
37350
|
export type ProofOfPostingShippingNotification =
|
|
37354
37351
|
io.flow.internal.v0.models.ProofOfPostingShippingNotification;
|
|
37355
37352
|
export type QueuedRecord = io.flow.internal.v0.models.QueuedRecord;
|
|
37356
|
-
export type QueuedRecordType = io.flow.internal.v0.enums.QueuedRecordType;
|
|
37357
37353
|
export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
|
|
37358
37354
|
export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
|
|
37359
37355
|
export type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;
|
|
@@ -37712,8 +37708,8 @@ export type ShopifyMarketsOrderDeleted =
|
|
|
37712
37708
|
io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
|
|
37713
37709
|
export type ShopifyMarketsOrderUpserted =
|
|
37714
37710
|
io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
|
|
37715
|
-
export type
|
|
37716
|
-
io.flow.internal.v0.models.
|
|
37711
|
+
export type ShopifyMarketsOrderVersionWithShopId =
|
|
37712
|
+
io.flow.internal.v0.models.ShopifyMarketsOrderVersionWithShopId;
|
|
37717
37713
|
export type ShopifyMarketsOrdersMetrics =
|
|
37718
37714
|
io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
|
|
37719
37715
|
export type ShopifyMarketsQueuedRecord =
|
|
@@ -37861,6 +37857,9 @@ export type ShopperFreight = io.flow.internal.v0.models.ShopperFreight;
|
|
|
37861
37857
|
export type ShopperLine = io.flow.internal.v0.models.ShopperLine;
|
|
37862
37858
|
export type ShopperLines = io.flow.internal.v0.models.ShopperLines;
|
|
37863
37859
|
export type ShopperSummary = io.flow.internal.v0.models.ShopperSummary;
|
|
37860
|
+
export type ShrutiDemoItem = io.flow.internal.v0.models.ShrutiDemoItem;
|
|
37861
|
+
export type ShrutiDemoItemForm = io.flow.internal.v0.models.ShrutiDemoItemForm;
|
|
37862
|
+
export type ShrutiDemoType = io.flow.internal.v0.enums.ShrutiDemoType;
|
|
37864
37863
|
export type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
|
|
37865
37864
|
export type SimpleAccountReference =
|
|
37866
37865
|
io.flow.internal.v0.models.SimpleAccountReference;
|
|
@@ -37973,6 +37972,9 @@ export type SvbVirtualCardClearingDeleted =
|
|
|
37973
37972
|
io.flow.internal.v0.models.SvbVirtualCardClearingDeleted;
|
|
37974
37973
|
export type SvbVirtualCardClearingUpserted =
|
|
37975
37974
|
io.flow.internal.v0.models.SvbVirtualCardClearingUpserted;
|
|
37975
|
+
export type SvitlanaItem = io.flow.internal.v0.models.SvitlanaItem;
|
|
37976
|
+
export type SvitlanaItemForm = io.flow.internal.v0.models.SvitlanaItemForm;
|
|
37977
|
+
export type SvitlanaType = io.flow.internal.v0.enums.SvitlanaType;
|
|
37976
37978
|
export type TariffCodeDuty = io.flow.internal.v0.models.TariffCodeDuty;
|
|
37977
37979
|
export type TariffCodesExport = io.flow.internal.v0.models.TariffCodesExport;
|
|
37978
37980
|
export type TariffEligibility = io.flow.internal.v0.models.TariffEligibility;
|
package/src/api.ts
CHANGED
|
@@ -3330,6 +3330,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3330
3330
|
| 'Knives'
|
|
3331
3331
|
| 'Liquids'
|
|
3332
3332
|
| 'Oversized'
|
|
3333
|
+
| 'Restrict by Default'
|
|
3333
3334
|
| 'Supplements'
|
|
3334
3335
|
| 'Weapon'
|
|
3335
3336
|
| 'Wood';
|
|
@@ -10916,7 +10917,7 @@ declare namespace io.flow.v0.models {
|
|
|
10916
10917
|
readonly prohibited_regions: string[];
|
|
10917
10918
|
readonly review_status?: io.flow.v0.enums.ReviewStatus;
|
|
10918
10919
|
readonly rules?: io.flow.v0.enums.ProductRestrictionRule[];
|
|
10919
|
-
readonly
|
|
10920
|
+
readonly updated_by?: string;
|
|
10920
10921
|
}
|
|
10921
10922
|
|
|
10922
10923
|
interface ProductRestrictionResultDeleted {
|