@flowio/types 11.24.81 → 11.24.83

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.
@@ -5704,6 +5704,7 @@ declare namespace io.flow.shopify.markets.v0.models {
5704
5704
  readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
5705
5705
  readonly merchant_of_record_app_id?: number;
5706
5706
  readonly total_shipping_price_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
5707
+ readonly total_tip_received?: string;
5707
5708
  }
5708
5709
  interface ShopifyOrderAddress {
5709
5710
  readonly id?: number;
@@ -11282,12 +11283,11 @@ declare namespace io.flow.billing.internal.v0.enums {
11282
11283
  type FeesSource = 'settings' | 'authorization_bundle';
11283
11284
  type LabelTransactionType = 'adjustment' | 'reversal' | 'billable_label' | 'fee' | 'revenue_share';
11284
11285
  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';
11286
+ 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
11287
  type OrderCancellationInitiatedBy = 'flow' | 'organization';
11287
11288
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
11288
11289
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
11289
11290
  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
11291
  type ResponsibleParty = 'flow' | 'organization';
11292
11292
  type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
11293
11293
  type SubscriptionFrequency = 'yearly' | 'monthly';
@@ -13551,7 +13551,7 @@ declare namespace io.flow.checkout.v0.unions {
13551
13551
  }
13552
13552
  declare namespace io.flow.organization.onboarding.state.v0.enums {
13553
13553
  type MerchantRejectedReason = 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review';
13554
- type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box';
13554
+ type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant';
13555
13555
  }
13556
13556
  declare namespace io.flow.organization.onboarding.state.v0.models {
13557
13557
  interface ActivationPutForm {
@@ -14017,6 +14017,7 @@ declare namespace io.flow.internal.v0.enums {
14017
14017
  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
14018
  type CheckoutUrlType = 'continue_shopping' | 'confirmation' | 'invalid_checkout';
14019
14019
  type ClassificationErrorCode = 'generic_error';
14020
+ type ColmItemType = 'physical' | 'digital';
14020
14021
  type ComplianceType = 'weee';
14021
14022
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
14022
14023
  type ContentStatus = 'draft' | 'live' | 'archived';
@@ -14085,7 +14086,7 @@ declare namespace io.flow.internal.v0.enums {
14085
14086
  type LogisticsResponsibility = 'organization' | 'flow';
14086
14087
  type MainTransactionStatus = 'scheduled' | 'pending_proof';
14087
14088
  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';
14089
+ 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
14090
  type MarketingGatewayAccountConnectionStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected';
14090
14091
  type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
14091
14092
  type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
@@ -14136,7 +14137,6 @@ declare namespace io.flow.internal.v0.enums {
14136
14137
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
14137
14138
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
14138
14139
  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
14140
  type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
14141
14141
  type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
14142
14142
  type RateSource = 'calculated' | 'market';
@@ -14172,6 +14172,7 @@ declare namespace io.flow.internal.v0.enums {
14172
14172
  type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
14173
14173
  type ShopifyPromotionStatus = 'active' | 'inactive';
14174
14174
  type ShopifyService = 'payment' | 'duty_tax_calculator';
14175
+ type ShrutiDemoType = 'digital' | 'physical';
14175
14176
  type SignificanceAction = 'end_and_implement_winner' | 'end_and_revert' | 'do_nothing';
14176
14177
  type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
14177
14178
  type SnoozeNextActionWith = 'customer_service' | 'engineering';
@@ -14182,6 +14183,7 @@ declare namespace io.flow.internal.v0.enums {
14182
14183
  type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
14183
14184
  type SubscriptionFrequency = 'yearly' | 'monthly';
14184
14185
  type SuggestionAction = 'accept' | 'validate' | 'review';
14186
+ type SvitlanaType = 'physical' | 'digital';
14185
14187
  type TariffEligibilityType = 'rex';
14186
14188
  type TaskProcessorKey = 'order_messenger' | 'harmonization' | 'fraud_review' | 'carrier_account' | 'payment' | 'rate_levels' | 'center_defaults';
14187
14189
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
@@ -17797,6 +17799,21 @@ declare namespace io.flow.internal.v0.models {
17797
17799
  readonly status: io.flow.internal.v0.enums.ItemClassificationStatus;
17798
17800
  readonly classified_by: string;
17799
17801
  }
17802
+ interface ColmItem {
17803
+ readonly id: string;
17804
+ readonly number: string;
17805
+ readonly amount: io.flow.common.v0.models.Price;
17806
+ readonly description?: string;
17807
+ readonly type: io.flow.internal.v0.enums.ColmItemType;
17808
+ readonly added_on: string;
17809
+ }
17810
+ interface ColmItemForm {
17811
+ readonly number: string;
17812
+ readonly amount: io.flow.common.v0.models.Price;
17813
+ readonly description?: string;
17814
+ readonly type: io.flow.internal.v0.enums.ColmItemType;
17815
+ readonly added_on: string;
17816
+ }
17800
17817
  interface CommercialInvoiceComparison {
17801
17818
  readonly urls: string[];
17802
17819
  }
@@ -20662,6 +20679,9 @@ declare namespace io.flow.internal.v0.models {
20662
20679
  readonly payment_request: io.flow.payment.gateway.v0.models.PaymentRequest;
20663
20680
  readonly actual_action?: io.flow.payment.gateway.v0.unions.Action;
20664
20681
  }
20682
+ interface InternalPaymentRequestVerification {
20683
+ readonly placeholder?: string;
20684
+ }
20665
20685
  interface InternalPaypalAuthorizationDetails {
20666
20686
  readonly discriminator: 'internal_paypal_authorization_details';
20667
20687
  readonly paypal_authentication_data: io.flow.internal.v0.models.PaypalAccountReference;
@@ -23201,8 +23221,6 @@ declare namespace io.flow.internal.v0.models {
23201
23221
  readonly status: io.flow.internal.v0.enums.RestrictionStatus;
23202
23222
  readonly matching_positive_keywords: string[];
23203
23223
  readonly matching_negative_keywords: string[];
23204
- readonly positive_search_matches?: string[];
23205
- readonly negative_search_matches?: string[];
23206
23224
  readonly updated_by_user_id: string;
23207
23225
  }
23208
23226
  interface ProductRestrictionRuleDecisionDeleted {
@@ -23942,8 +23960,6 @@ declare namespace io.flow.internal.v0.models {
23942
23960
  interface RestrictionKeywords {
23943
23961
  readonly positive_keywords: string[];
23944
23962
  readonly negative_keywords: string[];
23945
- readonly positive_search_matches: string[];
23946
- readonly negative_search_matches: string[];
23947
23963
  }
23948
23964
  interface RestrictionOrganization {
23949
23965
  readonly id: string;
@@ -24023,8 +24039,6 @@ declare namespace io.flow.internal.v0.models {
24023
24039
  readonly accepted_rules?: string[];
24024
24040
  readonly positive_keywords?: string[];
24025
24041
  readonly negative_keywords?: string[];
24026
- readonly positive_search_matches?: string[];
24027
- readonly negative_search_matches?: string[];
24028
24042
  readonly user_ids?: string[];
24029
24043
  readonly categories?: string[];
24030
24044
  readonly product_name_query?: string;
@@ -24453,11 +24467,12 @@ declare namespace io.flow.internal.v0.models {
24453
24467
  readonly organization: string;
24454
24468
  readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
24455
24469
  }
24456
- interface ShopifyMarketsOrderVersion {
24470
+ interface ShopifyMarketsOrderVersionWithShopId {
24457
24471
  readonly id: string;
24458
24472
  readonly timestamp: string;
24459
24473
  readonly type: io.flow.common.v0.enums.ChangeType;
24460
24474
  readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
24475
+ readonly shop_id?: string;
24461
24476
  }
24462
24477
  interface ShopifyMarketsOrdersMetrics {
24463
24478
  readonly id: string;
@@ -24851,6 +24866,21 @@ declare namespace io.flow.internal.v0.models {
24851
24866
  readonly order_discount: number;
24852
24867
  readonly total: number;
24853
24868
  }
24869
+ interface ShrutiDemoItem {
24870
+ readonly id: string;
24871
+ readonly number: string;
24872
+ readonly amount: io.flow.common.v0.models.Price;
24873
+ readonly description?: string;
24874
+ readonly type: io.flow.internal.v0.enums.ShrutiDemoType;
24875
+ readonly added_on: string;
24876
+ }
24877
+ interface ShrutiDemoItemForm {
24878
+ readonly number: string;
24879
+ readonly amount: io.flow.common.v0.models.Price;
24880
+ readonly description?: string;
24881
+ readonly type: io.flow.internal.v0.enums.ShrutiDemoType;
24882
+ readonly added_on: string;
24883
+ }
24854
24884
  interface SimpleAccountReference {
24855
24885
  readonly id: string;
24856
24886
  }
@@ -25243,6 +25273,20 @@ declare namespace io.flow.internal.v0.models {
25243
25273
  readonly timestamp: string;
25244
25274
  readonly svb_virtual_card_clearing: io.flow.internal.v0.models.SvbVirtualCardClearing;
25245
25275
  }
25276
+ interface SvitlanaItem {
25277
+ readonly id: string;
25278
+ readonly number: string;
25279
+ readonly amount: number;
25280
+ readonly description?: string;
25281
+ readonly type: io.flow.internal.v0.enums.SvitlanaType;
25282
+ readonly added_on: string;
25283
+ }
25284
+ interface SvitlanaItemForm {
25285
+ readonly number: string;
25286
+ readonly amount: number;
25287
+ readonly description?: string;
25288
+ readonly type: io.flow.internal.v0.enums.SvitlanaType;
25289
+ }
25246
25290
  interface TariffCodeDuty {
25247
25291
  readonly tariff_code: string;
25248
25292
  readonly duties: Record<string, io.flow.internal.v0.models.Duties>;
@@ -26864,6 +26908,9 @@ export declare type ClassificationTaxonomy = io.flow.internal.v0.unions.Classifi
26864
26908
  export declare type ClassificationWrapper = io.flow.internal.v0.models.ClassificationWrapper;
26865
26909
  export declare type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
26866
26910
  export declare type ClassifiedProductDetail = io.flow.internal.v0.models.ClassifiedProductDetail;
26911
+ export declare type ColmItem = io.flow.internal.v0.models.ColmItem;
26912
+ export declare type ColmItemForm = io.flow.internal.v0.models.ColmItemForm;
26913
+ export declare type ColmItemType = io.flow.internal.v0.enums.ColmItemType;
26867
26914
  export declare type CommercialInvoiceComparison = io.flow.internal.v0.models.CommercialInvoiceComparison;
26868
26915
  export declare type CommercialInvoiceInternal = io.flow.internal.v0.models.CommercialInvoiceInternal;
26869
26916
  export declare type CommercialInvoiceInternalDeleted = io.flow.internal.v0.models.CommercialInvoiceInternalDeleted;
@@ -27329,6 +27376,7 @@ export declare type InternalHarmonizationStatistic = io.flow.internal.v0.unions.
27329
27376
  export declare type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
27330
27377
  export declare type InternalOrder = io.flow.internal.v0.models.InternalOrder;
27331
27378
  export declare type InternalPaymentRequest = io.flow.internal.v0.models.InternalPaymentRequest;
27379
+ export declare type InternalPaymentRequestVerification = io.flow.internal.v0.models.InternalPaymentRequestVerification;
27332
27380
  export declare type InternalPaypalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails;
27333
27381
  export declare type InternalRefundForm = io.flow.internal.v0.unions.InternalRefundForm;
27334
27382
  export declare type InternalStripeAuthorizationDetails = io.flow.internal.v0.models.InternalStripeAuthorizationDetails;
@@ -27810,7 +27858,6 @@ export declare type ProofOfPostingOrderCancellation = io.flow.internal.v0.models
27810
27858
  export declare type ProofOfPostingOrderCombinedShipment = io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment;
27811
27859
  export declare type ProofOfPostingShippingNotification = io.flow.internal.v0.models.ProofOfPostingShippingNotification;
27812
27860
  export declare type QueuedRecord = io.flow.internal.v0.models.QueuedRecord;
27813
- export declare type QueuedRecordType = io.flow.internal.v0.enums.QueuedRecordType;
27814
27861
  export declare type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
27815
27862
  export declare type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
27816
27863
  export declare type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;
@@ -28038,7 +28085,7 @@ export declare type ShopifyMarketsMetricsUpserted = io.flow.internal.v0.models.S
28038
28085
  export declare type ShopifyMarketsOrder = io.flow.internal.v0.models.ShopifyMarketsOrder;
28039
28086
  export declare type ShopifyMarketsOrderDeleted = io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
28040
28087
  export declare type ShopifyMarketsOrderUpserted = io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
28041
- export declare type ShopifyMarketsOrderVersion = io.flow.internal.v0.models.ShopifyMarketsOrderVersion;
28088
+ export declare type ShopifyMarketsOrderVersionWithShopId = io.flow.internal.v0.models.ShopifyMarketsOrderVersionWithShopId;
28042
28089
  export declare type ShopifyMarketsOrdersMetrics = io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
28043
28090
  export declare type ShopifyMarketsQueuedRecord = io.flow.internal.v0.models.ShopifyMarketsQueuedRecord;
28044
28091
  export declare type ShopifyMarketsQueuedRecordType = io.flow.internal.v0.enums.ShopifyMarketsQueuedRecordType;
@@ -28120,6 +28167,9 @@ export declare type ShopperFreight = io.flow.internal.v0.models.ShopperFreight;
28120
28167
  export declare type ShopperLine = io.flow.internal.v0.models.ShopperLine;
28121
28168
  export declare type ShopperLines = io.flow.internal.v0.models.ShopperLines;
28122
28169
  export declare type ShopperSummary = io.flow.internal.v0.models.ShopperSummary;
28170
+ export declare type ShrutiDemoItem = io.flow.internal.v0.models.ShrutiDemoItem;
28171
+ export declare type ShrutiDemoItemForm = io.flow.internal.v0.models.ShrutiDemoItemForm;
28172
+ export declare type ShrutiDemoType = io.flow.internal.v0.enums.ShrutiDemoType;
28123
28173
  export declare type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
28124
28174
  export declare type SimpleAccountReference = io.flow.internal.v0.models.SimpleAccountReference;
28125
28175
  export declare type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStrategy;
@@ -28188,6 +28238,9 @@ export declare type SupportedLabels = io.flow.internal.v0.models.SupportedLabels
28188
28238
  export declare type SvbVirtualCardClearing = io.flow.internal.v0.models.SvbVirtualCardClearing;
28189
28239
  export declare type SvbVirtualCardClearingDeleted = io.flow.internal.v0.models.SvbVirtualCardClearingDeleted;
28190
28240
  export declare type SvbVirtualCardClearingUpserted = io.flow.internal.v0.models.SvbVirtualCardClearingUpserted;
28241
+ export declare type SvitlanaItem = io.flow.internal.v0.models.SvitlanaItem;
28242
+ export declare type SvitlanaItemForm = io.flow.internal.v0.models.SvitlanaItemForm;
28243
+ export declare type SvitlanaType = io.flow.internal.v0.enums.SvitlanaType;
28191
28244
  export declare type TariffCodeDuty = io.flow.internal.v0.models.TariffCodeDuty;
28192
28245
  export declare type TariffCodesExport = io.flow.internal.v0.models.TariffCodesExport;
28193
28246
  export declare type TariffEligibility = io.flow.internal.v0.models.TariffEligibility;
package/dist/api.d.ts CHANGED
@@ -1953,7 +1953,7 @@ declare namespace io.flow.v0.enums {
1953
1953
  type MerchantRejectedReason = 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review';
1954
1954
  type Method = 'post';
1955
1955
  type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
1956
- type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box';
1956
+ type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant';
1957
1957
  type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
1958
1958
  type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
1959
1959
  type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
@@ -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 updated_by_user_id?: string;
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.81",
3
+ "version": "11.24.83",
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": "69a80797baeb34690859818e5db7ef87aa6082a5"
28
+ "gitHead": "7fddfd86678e7921d92493bec5b3bec759769d5f"
29
29
  }
@@ -7732,6 +7732,7 @@ declare namespace io.flow.shopify.markets.v0.models {
7732
7732
  readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
7733
7733
  readonly merchant_of_record_app_id?: number;
7734
7734
  readonly total_shipping_price_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7735
+ readonly total_tip_received?: string;
7735
7736
  }
7736
7737
 
7737
7738
  interface ShopifyOrderAddress {
@@ -14904,7 +14905,8 @@ declare namespace io.flow.billing.internal.v0.enums {
14904
14905
  | 'shipping_true_up'
14905
14906
  | 'tax_credit'
14906
14907
  | 'carrier_credit'
14907
- | 'negative_balance_guarantee';
14908
+ | 'negative_balance_guarantee'
14909
+ | 'bank_payment_failure';
14908
14910
  type OrderCancellationInitiatedBy = 'flow' | 'organization';
14909
14911
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
14910
14912
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
@@ -14915,34 +14917,6 @@ declare namespace io.flow.billing.internal.v0.enums {
14915
14917
  | 'refund'
14916
14918
  | 'fully_subsidized_order'
14917
14919
  | '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
14920
  type ResponsibleParty = 'flow' | 'organization';
14947
14921
  type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
14948
14922
  type SubscriptionFrequency = 'yearly' | 'monthly';
@@ -17722,7 +17696,8 @@ declare namespace io.flow.organization.onboarding.state.v0.enums {
17722
17696
  | 'street_address_is_blank_3pl'
17723
17697
  | 'street_address_is_po_box_3pl'
17724
17698
  | 'business_street_address_is_blank'
17725
- | 'business_street_address_is_po_box';
17699
+ | 'business_street_address_is_po_box'
17700
+ | 'exception_merchant';
17726
17701
  }
17727
17702
 
17728
17703
  declare namespace io.flow.organization.onboarding.state.v0.models {
@@ -18719,6 +18694,7 @@ declare namespace io.flow.internal.v0.enums {
18719
18694
  | 'confirmation'
18720
18695
  | 'invalid_checkout';
18721
18696
  type ClassificationErrorCode = 'generic_error';
18697
+ type ColmItemType = 'physical' | 'digital';
18722
18698
  type ComplianceType = 'weee';
18723
18699
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
18724
18700
  type ContentStatus = 'draft' | 'live' | 'archived';
@@ -19190,7 +19166,8 @@ declare namespace io.flow.internal.v0.enums {
19190
19166
  | 'shipping_true_up'
19191
19167
  | 'tax_credit'
19192
19168
  | 'carrier_credit'
19193
- | 'negative_balance_guarantee';
19169
+ | 'negative_balance_guarantee'
19170
+ | 'bank_payment_failure';
19194
19171
  type MarketingGatewayAccountConnectionStatus =
19195
19172
  | 'not_connected'
19196
19173
  | 'connecting'
@@ -19387,34 +19364,6 @@ declare namespace io.flow.internal.v0.enums {
19387
19364
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
19388
19365
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
19389
19366
  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
19367
  type QuoteRequestType =
19419
19368
  | 'generate'
19420
19369
  | 'delete'
@@ -19535,6 +19484,7 @@ declare namespace io.flow.internal.v0.enums {
19535
19484
  | 'duty';
19536
19485
  type ShopifyPromotionStatus = 'active' | 'inactive';
19537
19486
  type ShopifyService = 'payment' | 'duty_tax_calculator';
19487
+ type ShrutiDemoType = 'digital' | 'physical';
19538
19488
  type SignificanceAction =
19539
19489
  | 'end_and_implement_winner'
19540
19490
  | 'end_and_revert'
@@ -19558,6 +19508,7 @@ declare namespace io.flow.internal.v0.enums {
19558
19508
  type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
19559
19509
  type SubscriptionFrequency = 'yearly' | 'monthly';
19560
19510
  type SuggestionAction = 'accept' | 'validate' | 'review';
19511
+ type SvitlanaType = 'physical' | 'digital';
19561
19512
  type TariffEligibilityType = 'rex';
19562
19513
  type TaskProcessorKey =
19563
19514
  | 'order_messenger'
@@ -23865,6 +23816,23 @@ declare namespace io.flow.internal.v0.models {
23865
23816
  readonly classified_by: string;
23866
23817
  }
23867
23818
 
23819
+ interface ColmItem {
23820
+ readonly id: string;
23821
+ readonly number: string;
23822
+ readonly amount: io.flow.common.v0.models.Price;
23823
+ readonly description?: string;
23824
+ readonly type: io.flow.internal.v0.enums.ColmItemType;
23825
+ readonly added_on: string;
23826
+ }
23827
+
23828
+ interface ColmItemForm {
23829
+ readonly number: string;
23830
+ readonly amount: io.flow.common.v0.models.Price;
23831
+ readonly description?: string;
23832
+ readonly type: io.flow.internal.v0.enums.ColmItemType;
23833
+ readonly added_on: string;
23834
+ }
23835
+
23868
23836
  interface CommercialInvoiceComparison {
23869
23837
  readonly urls: string[];
23870
23838
  }
@@ -27130,6 +27098,10 @@ declare namespace io.flow.internal.v0.models {
27130
27098
  readonly actual_action?: io.flow.payment.gateway.v0.unions.Action;
27131
27099
  }
27132
27100
 
27101
+ interface InternalPaymentRequestVerification {
27102
+ readonly placeholder?: string;
27103
+ }
27104
+
27133
27105
  interface InternalPaypalAuthorizationDetails {
27134
27106
  readonly discriminator: 'internal_paypal_authorization_details';
27135
27107
  readonly paypal_authentication_data: io.flow.internal.v0.models.PaypalAccountReference;
@@ -30058,8 +30030,6 @@ declare namespace io.flow.internal.v0.models {
30058
30030
  readonly status: io.flow.internal.v0.enums.RestrictionStatus;
30059
30031
  readonly matching_positive_keywords: string[];
30060
30032
  readonly matching_negative_keywords: string[];
30061
- readonly positive_search_matches?: string[];
30062
- readonly negative_search_matches?: string[];
30063
30033
  readonly updated_by_user_id: string;
30064
30034
  }
30065
30035
 
@@ -30920,8 +30890,6 @@ declare namespace io.flow.internal.v0.models {
30920
30890
  interface RestrictionKeywords {
30921
30891
  readonly positive_keywords: string[];
30922
30892
  readonly negative_keywords: string[];
30923
- readonly positive_search_matches: string[];
30924
- readonly negative_search_matches: string[];
30925
30893
  }
30926
30894
 
30927
30895
  interface RestrictionOrganization {
@@ -31010,8 +30978,6 @@ declare namespace io.flow.internal.v0.models {
31010
30978
  readonly accepted_rules?: string[];
31011
30979
  readonly positive_keywords?: string[];
31012
30980
  readonly negative_keywords?: string[];
31013
- readonly positive_search_matches?: string[];
31014
- readonly negative_search_matches?: string[];
31015
30981
  readonly user_ids?: string[];
31016
30982
  readonly categories?: string[];
31017
30983
  readonly product_name_query?: string;
@@ -31519,11 +31485,12 @@ declare namespace io.flow.internal.v0.models {
31519
31485
  readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
31520
31486
  }
31521
31487
 
31522
- interface ShopifyMarketsOrderVersion {
31488
+ interface ShopifyMarketsOrderVersionWithShopId {
31523
31489
  readonly id: string;
31524
31490
  readonly timestamp: string;
31525
31491
  readonly type: io.flow.common.v0.enums.ChangeType;
31526
31492
  readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
31493
+ readonly shop_id?: string;
31527
31494
  }
31528
31495
 
31529
31496
  interface ShopifyMarketsOrdersMetrics {
@@ -31985,6 +31952,23 @@ declare namespace io.flow.internal.v0.models {
31985
31952
  readonly total: number;
31986
31953
  }
31987
31954
 
31955
+ interface ShrutiDemoItem {
31956
+ readonly id: string;
31957
+ readonly number: string;
31958
+ readonly amount: io.flow.common.v0.models.Price;
31959
+ readonly description?: string;
31960
+ readonly type: io.flow.internal.v0.enums.ShrutiDemoType;
31961
+ readonly added_on: string;
31962
+ }
31963
+
31964
+ interface ShrutiDemoItemForm {
31965
+ readonly number: string;
31966
+ readonly amount: io.flow.common.v0.models.Price;
31967
+ readonly description?: string;
31968
+ readonly type: io.flow.internal.v0.enums.ShrutiDemoType;
31969
+ readonly added_on: string;
31970
+ }
31971
+
31988
31972
  interface SimpleAccountReference {
31989
31973
  readonly id: string;
31990
31974
  }
@@ -32433,6 +32417,22 @@ declare namespace io.flow.internal.v0.models {
32433
32417
  readonly svb_virtual_card_clearing: io.flow.internal.v0.models.SvbVirtualCardClearing;
32434
32418
  }
32435
32419
 
32420
+ interface SvitlanaItem {
32421
+ readonly id: string;
32422
+ readonly number: string;
32423
+ readonly amount: number;
32424
+ readonly description?: string;
32425
+ readonly type: io.flow.internal.v0.enums.SvitlanaType;
32426
+ readonly added_on: string;
32427
+ }
32428
+
32429
+ interface SvitlanaItemForm {
32430
+ readonly number: string;
32431
+ readonly amount: number;
32432
+ readonly description?: string;
32433
+ readonly type: io.flow.internal.v0.enums.SvitlanaType;
32434
+ }
32435
+
32436
32436
  interface TariffCodeDuty {
32437
32437
  readonly tariff_code: string;
32438
32438
  readonly duties: Record<string, io.flow.internal.v0.models.Duties>;
@@ -35800,6 +35800,9 @@ export type ClassificationWrapper =
35800
35800
  export type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
35801
35801
  export type ClassifiedProductDetail =
35802
35802
  io.flow.internal.v0.models.ClassifiedProductDetail;
35803
+ export type ColmItem = io.flow.internal.v0.models.ColmItem;
35804
+ export type ColmItemForm = io.flow.internal.v0.models.ColmItemForm;
35805
+ export type ColmItemType = io.flow.internal.v0.enums.ColmItemType;
35803
35806
  export type CommercialInvoiceComparison =
35804
35807
  io.flow.internal.v0.models.CommercialInvoiceComparison;
35805
35808
  export type CommercialInvoiceInternal =
@@ -36524,6 +36527,8 @@ export type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
36524
36527
  export type InternalOrder = io.flow.internal.v0.models.InternalOrder;
36525
36528
  export type InternalPaymentRequest =
36526
36529
  io.flow.internal.v0.models.InternalPaymentRequest;
36530
+ export type InternalPaymentRequestVerification =
36531
+ io.flow.internal.v0.models.InternalPaymentRequestVerification;
36527
36532
  export type InternalPaypalAuthorizationDetails =
36528
36533
  io.flow.internal.v0.models.InternalPaypalAuthorizationDetails;
36529
36534
  export type InternalRefundForm = io.flow.internal.v0.unions.InternalRefundForm;
@@ -37353,7 +37358,6 @@ export type ProofOfPostingOrderCombinedShipment =
37353
37358
  export type ProofOfPostingShippingNotification =
37354
37359
  io.flow.internal.v0.models.ProofOfPostingShippingNotification;
37355
37360
  export type QueuedRecord = io.flow.internal.v0.models.QueuedRecord;
37356
- export type QueuedRecordType = io.flow.internal.v0.enums.QueuedRecordType;
37357
37361
  export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
37358
37362
  export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
37359
37363
  export type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;
@@ -37712,8 +37716,8 @@ export type ShopifyMarketsOrderDeleted =
37712
37716
  io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
37713
37717
  export type ShopifyMarketsOrderUpserted =
37714
37718
  io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
37715
- export type ShopifyMarketsOrderVersion =
37716
- io.flow.internal.v0.models.ShopifyMarketsOrderVersion;
37719
+ export type ShopifyMarketsOrderVersionWithShopId =
37720
+ io.flow.internal.v0.models.ShopifyMarketsOrderVersionWithShopId;
37717
37721
  export type ShopifyMarketsOrdersMetrics =
37718
37722
  io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
37719
37723
  export type ShopifyMarketsQueuedRecord =
@@ -37861,6 +37865,9 @@ export type ShopperFreight = io.flow.internal.v0.models.ShopperFreight;
37861
37865
  export type ShopperLine = io.flow.internal.v0.models.ShopperLine;
37862
37866
  export type ShopperLines = io.flow.internal.v0.models.ShopperLines;
37863
37867
  export type ShopperSummary = io.flow.internal.v0.models.ShopperSummary;
37868
+ export type ShrutiDemoItem = io.flow.internal.v0.models.ShrutiDemoItem;
37869
+ export type ShrutiDemoItemForm = io.flow.internal.v0.models.ShrutiDemoItemForm;
37870
+ export type ShrutiDemoType = io.flow.internal.v0.enums.ShrutiDemoType;
37864
37871
  export type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
37865
37872
  export type SimpleAccountReference =
37866
37873
  io.flow.internal.v0.models.SimpleAccountReference;
@@ -37973,6 +37980,9 @@ export type SvbVirtualCardClearingDeleted =
37973
37980
  io.flow.internal.v0.models.SvbVirtualCardClearingDeleted;
37974
37981
  export type SvbVirtualCardClearingUpserted =
37975
37982
  io.flow.internal.v0.models.SvbVirtualCardClearingUpserted;
37983
+ export type SvitlanaItem = io.flow.internal.v0.models.SvitlanaItem;
37984
+ export type SvitlanaItemForm = io.flow.internal.v0.models.SvitlanaItemForm;
37985
+ export type SvitlanaType = io.flow.internal.v0.enums.SvitlanaType;
37976
37986
  export type TariffCodeDuty = io.flow.internal.v0.models.TariffCodeDuty;
37977
37987
  export type TariffCodesExport = io.flow.internal.v0.models.TariffCodesExport;
37978
37988
  export type TariffEligibility = io.flow.internal.v0.models.TariffEligibility;
package/src/api.ts CHANGED
@@ -3026,7 +3026,8 @@ declare namespace io.flow.v0.enums {
3026
3026
  | 'street_address_is_blank_3pl'
3027
3027
  | 'street_address_is_po_box_3pl'
3028
3028
  | 'business_street_address_is_blank'
3029
- | 'business_street_address_is_po_box';
3029
+ | 'business_street_address_is_po_box'
3030
+ | 'exception_merchant';
3030
3031
  type OnboardingTradeSector =
3031
3032
  | 'accessories'
3032
3033
  | 'animals_and_pet_supplies'
@@ -3330,6 +3331,7 @@ declare namespace io.flow.v0.enums {
3330
3331
  | 'Knives'
3331
3332
  | 'Liquids'
3332
3333
  | 'Oversized'
3334
+ | 'Restrict by Default'
3333
3335
  | 'Supplements'
3334
3336
  | 'Weapon'
3335
3337
  | 'Wood';
@@ -10916,7 +10918,7 @@ declare namespace io.flow.v0.models {
10916
10918
  readonly prohibited_regions: string[];
10917
10919
  readonly review_status?: io.flow.v0.enums.ReviewStatus;
10918
10920
  readonly rules?: io.flow.v0.enums.ProductRestrictionRule[];
10919
- readonly updated_by_user_id?: string;
10921
+ readonly updated_by?: string;
10920
10922
  }
10921
10923
 
10922
10924
  interface ProductRestrictionResultDeleted {