@flowio/types 9.0.0 → 9.0.1

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.
@@ -6260,6 +6260,35 @@ declare namespace io.flow.experience.internal.v0.models {
6260
6260
  declare namespace io.flow.experience.internal.v0.unions {
6261
6261
  type DiscountRequestOfferForm = io.flow.experience.internal.v0.models.DiscountRequestOfferFixedAmountForm;
6262
6262
  }
6263
+ declare namespace io.flow.catalog.exclusion.v0.enums {
6264
+ type ExclusionRuleState = 'current' | 'deleting' | 'updating';
6265
+ }
6266
+ declare namespace io.flow.catalog.exclusion.v0.models {
6267
+ interface ExclusionRule {
6268
+ readonly id: string;
6269
+ readonly q: string;
6270
+ readonly query: io.flow.query.builder.v0.models.Query;
6271
+ readonly regions: io.flow.reference.v0.models.Region[];
6272
+ readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
6273
+ readonly description?: string;
6274
+ readonly statistics: io.flow.catalog.exclusion.v0.models.ExclusionRuleStatistic;
6275
+ }
6276
+ interface ExclusionRuleForm {
6277
+ readonly q: string;
6278
+ readonly regions: string[];
6279
+ readonly description?: string;
6280
+ }
6281
+ interface ExclusionRuleStatistic {
6282
+ readonly state: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState;
6283
+ readonly number_items: number;
6284
+ }
6285
+ interface ExclusionRuleVersion {
6286
+ readonly id: string;
6287
+ readonly timestamp: string;
6288
+ readonly type: io.flow.common.v0.enums.ChangeType;
6289
+ readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule;
6290
+ }
6291
+ }
6263
6292
  declare namespace io.flow.fulfillment.internal.v0.models {
6264
6293
  interface CenterQueryBuilder {
6265
6294
  readonly placeholder: string;
@@ -10156,7 +10185,7 @@ declare namespace io.flow.internal.v0.enums {
10156
10185
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
10157
10186
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
10158
10187
  type EmptyAttribute = 'irrelevant';
10159
- type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'item_classification_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'batch_rate_refill_request' | 'rate_refill_request' | 'resync_by_hs6_destinations' | 'resync_by_destinations' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
10188
+ type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'item_classification_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'batch_rate_refill_request' | 'rate_refill_request' | 'resync_by_hs6_destinations' | 'resync_by_destinations' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
10160
10189
  type ExperienceImportType = 'experience_with_settings';
10161
10190
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
10162
10191
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -11589,6 +11618,20 @@ declare namespace io.flow.internal.v0.models {
11589
11618
  readonly cipher: string;
11590
11619
  readonly passphrase_ids: string[];
11591
11620
  }
11621
+ interface ExclusionRuleDeleted {
11622
+ readonly discriminator: 'exclusion_rule_deleted';
11623
+ readonly event_id: string;
11624
+ readonly timestamp: string;
11625
+ readonly organization: string;
11626
+ readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule;
11627
+ }
11628
+ interface ExclusionRuleUpserted {
11629
+ readonly discriminator: 'exclusion_rule_upserted';
11630
+ readonly event_id: string;
11631
+ readonly timestamp: string;
11632
+ readonly organization: string;
11633
+ readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule;
11634
+ }
11592
11635
  interface ExpectedOrderSummary {
11593
11636
  readonly total?: io.flow.common.v0.models.Money;
11594
11637
  }
@@ -13752,6 +13795,7 @@ declare namespace io.flow.internal.v0.models {
13752
13795
  }
13753
13796
  interface ProductClassificationForm {
13754
13797
  readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
13798
+ readonly model_version: string;
13755
13799
  readonly action: io.flow.internal.v0.enums.ProductClassificationAction;
13756
13800
  }
13757
13801
  interface ProductClassificationJudgementForm {
@@ -13768,8 +13812,8 @@ declare namespace io.flow.internal.v0.models {
13768
13812
  interface ProductHarmonization {
13769
13813
  readonly product_labels: io.flow.internal.v0.models.ProductLabels;
13770
13814
  readonly customs_description: string;
13771
- readonly hs6_code: string;
13772
- readonly model_version: string;
13815
+ readonly hs6_code?: string;
13816
+ readonly hs6_description?: string;
13773
13817
  }
13774
13818
  interface ProductHarmonizationForm {
13775
13819
  readonly product_labels: io.flow.internal.v0.models.ProductLabels;
@@ -14044,19 +14088,6 @@ declare namespace io.flow.internal.v0.models {
14044
14088
  readonly secrets: io.flow.internal.v0.models.Secret[];
14045
14089
  readonly preferred_secret_id: string;
14046
14090
  }
14047
- interface SerialReservation {
14048
- readonly reservation_id: string;
14049
- readonly serials: io.flow.inventory.v0.models.Serial[];
14050
- readonly expires_at: string;
14051
- }
14052
- interface SerialReservationForm {
14053
- readonly items: io.flow.internal.v0.models.SerialReservationItem[];
14054
- readonly duration: io.flow.common.v0.models.Duration;
14055
- }
14056
- interface SerialReservationItem {
14057
- readonly item_number: string;
14058
- readonly quantity: number;
14059
- }
14060
14091
  interface SessionCountries {
14061
14092
  readonly countries: io.flow.internal.v0.models.SessionCountry[];
14062
14093
  }
@@ -14840,7 +14871,7 @@ declare namespace io.flow.internal.v0.unions {
14840
14871
  type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.Label | io.flow.internal.v0.models.Load;
14841
14872
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
14842
14873
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
14843
- type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedQuoteUpserted | io.flow.internal.v0.models.PregeneratedQuoteDeleted | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.LandedCostExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyWithRate | io.flow.internal.v0.models.ItemHarmonized | io.flow.internal.v0.models.HarmonizeFullyRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.BatchRateRefillRequest | io.flow.internal.v0.models.RateRefillRequest | io.flow.internal.v0.models.ResyncByHs6Destinations | io.flow.internal.v0.models.ResyncByDestinations | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
14874
+ type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedQuoteUpserted | io.flow.internal.v0.models.PregeneratedQuoteDeleted | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.LandedCostExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyWithRate | io.flow.internal.v0.models.ItemHarmonized | io.flow.internal.v0.models.HarmonizeFullyRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.BatchRateRefillRequest | io.flow.internal.v0.models.RateRefillRequest | io.flow.internal.v0.models.ResyncByHs6Destinations | io.flow.internal.v0.models.ResyncByDestinations | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
14844
14875
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
14845
14876
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
14846
14877
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -15140,6 +15171,8 @@ export declare type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
15140
15171
  export declare type Encryption = io.flow.internal.v0.models.Encryption;
15141
15172
  export declare type Event = io.flow.internal.v0.unions.Event;
15142
15173
  export declare type EventType = io.flow.internal.v0.enums.EventType;
15174
+ export declare type ExclusionRuleDeleted = io.flow.internal.v0.models.ExclusionRuleDeleted;
15175
+ export declare type ExclusionRuleUpserted = io.flow.internal.v0.models.ExclusionRuleUpserted;
15143
15176
  export declare type ExpectedOrderSummary = io.flow.internal.v0.models.ExpectedOrderSummary;
15144
15177
  export declare type ExperienceExperiment = io.flow.internal.v0.models.ExperienceExperiment;
15145
15178
  export declare type ExperienceExportRequest = io.flow.internal.v0.models.ExperienceExportRequest;
@@ -15611,10 +15644,7 @@ export declare type SearchOrderSummary = io.flow.internal.v0.models.SearchOrderS
15611
15644
  export declare type SearchProviderExport = io.flow.internal.v0.models.SearchProviderExport;
15612
15645
  export declare type Secret = io.flow.internal.v0.models.Secret;
15613
15646
  export declare type SecretConfig = io.flow.internal.v0.models.SecretConfig;
15614
- export declare type SerialReservation = io.flow.internal.v0.models.SerialReservation;
15615
15647
  export declare type SerialReservationError = io.flow.internal.v0.enums.SerialReservationError;
15616
- export declare type SerialReservationForm = io.flow.internal.v0.models.SerialReservationForm;
15617
- export declare type SerialReservationItem = io.flow.internal.v0.models.SerialReservationItem;
15618
15648
  export declare type SessionCountries = io.flow.internal.v0.models.SessionCountries;
15619
15649
  export declare type SessionCountry = io.flow.internal.v0.models.SessionCountry;
15620
15650
  export declare type SessionCountryForm = io.flow.internal.v0.models.SessionCountryForm;
package/dist/api.d.ts CHANGED
@@ -41,7 +41,7 @@ declare namespace io.flow.v0.enums {
41
41
  type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
42
42
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
43
43
  type Environment = 'sandbox' | 'production';
44
- type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'serial_upserted' | 'serial_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
44
+ type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
45
45
  type ExceptionType = 'open' | 'closed';
46
46
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
47
47
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -117,7 +117,6 @@ declare namespace io.flow.v0.enums {
117
117
  type RoundingMethod = 'up' | 'down' | 'nearest';
118
118
  type RoundingType = 'pattern' | 'multiple';
119
119
  type ScheduleExceptionStatus = 'Open' | 'Closed';
120
- type SerialStatus = 'available' | 'reserved' | 'sold';
121
120
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
122
121
  type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
123
122
  type ShippingConfigurationType = 'default' | 'variant';
@@ -5228,43 +5227,6 @@ declare namespace io.flow.v0.models {
5228
5227
  readonly hour_of_day: string;
5229
5228
  readonly minute_of_hour: string;
5230
5229
  }
5231
- interface Serial {
5232
- readonly id: string;
5233
- readonly number: string;
5234
- readonly item_number: string;
5235
- readonly item_price: io.flow.v0.models.Price;
5236
- readonly status: io.flow.v0.enums.SerialStatus;
5237
- readonly center: io.flow.v0.models.CenterReference;
5238
- readonly attributes: Record<string, string>;
5239
- }
5240
- interface SerialDeleted {
5241
- readonly discriminator: 'serial_deleted';
5242
- readonly event_id: string;
5243
- readonly timestamp: string;
5244
- readonly id: string;
5245
- }
5246
- interface SerialForm {
5247
- readonly number: string;
5248
- readonly item_number: string;
5249
- readonly item_price: number;
5250
- readonly item_currency: string;
5251
- readonly status: io.flow.v0.enums.SerialStatus;
5252
- readonly center_key?: string;
5253
- readonly attributes?: Record<string, string>;
5254
- }
5255
- interface SerialUpserted {
5256
- readonly discriminator: 'serial_upserted';
5257
- readonly event_id: string;
5258
- readonly timestamp: string;
5259
- readonly organization: string;
5260
- readonly serial: io.flow.v0.models.Serial;
5261
- }
5262
- interface SerialVersion {
5263
- readonly id: string;
5264
- readonly timestamp: string;
5265
- readonly type: io.flow.v0.enums.ChangeType;
5266
- readonly serial: io.flow.v0.models.Serial;
5267
- }
5268
5230
  interface ServiceReference {
5269
5231
  readonly id: string;
5270
5232
  }
@@ -6395,7 +6357,7 @@ declare namespace io.flow.v0.unions {
6395
6357
  type DiscountOffer = io.flow.v0.models.DiscountOfferFixed | io.flow.v0.models.DiscountOfferPercent;
6396
6358
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
6397
6359
  type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund;
6398
- type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SerialUpserted | io.flow.v0.models.SerialDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
6360
+ type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
6399
6361
  type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
6400
6362
  type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
6401
6363
  type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
@@ -7432,12 +7394,6 @@ export declare type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleException
7432
7394
  export declare type ScheduledExport = io.flow.v0.models.ScheduledExport;
7433
7395
  export declare type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
7434
7396
  export declare type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
7435
- export declare type Serial = io.flow.v0.models.Serial;
7436
- export declare type SerialDeleted = io.flow.v0.models.SerialDeleted;
7437
- export declare type SerialForm = io.flow.v0.models.SerialForm;
7438
- export declare type SerialStatus = io.flow.v0.enums.SerialStatus;
7439
- export declare type SerialUpserted = io.flow.v0.models.SerialUpserted;
7440
- export declare type SerialVersion = io.flow.v0.models.SerialVersion;
7441
7397
  export declare type ServiceFee = io.flow.v0.unions.ServiceFee;
7442
7398
  export declare type ServiceReference = io.flow.v0.models.ServiceReference;
7443
7399
  export declare type ServiceSummary = io.flow.v0.models.ServiceSummary;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
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",
@@ -27,5 +27,5 @@
27
27
  "prettier": "^1.18.2",
28
28
  "typescript": "^3.6.3"
29
29
  },
30
- "gitHead": "5368e70b5c6c4b8c054693ddff38b5391c2c538a"
30
+ "gitHead": "5f1812efa146eeb5c7f4804a2047883a9308f84d"
31
31
  }
@@ -7780,6 +7780,40 @@ declare namespace io.flow.experience.internal.v0.unions {
7780
7780
  type DiscountRequestOfferForm = io.flow.experience.internal.v0.models.DiscountRequestOfferFixedAmountForm;
7781
7781
  }
7782
7782
 
7783
+ declare namespace io.flow.catalog.exclusion.v0.enums {
7784
+ type ExclusionRuleState = 'current' | 'deleting' | 'updating';
7785
+ }
7786
+
7787
+ declare namespace io.flow.catalog.exclusion.v0.models {
7788
+ interface ExclusionRule {
7789
+ readonly id: string;
7790
+ readonly q: string;
7791
+ readonly query: io.flow.query.builder.v0.models.Query;
7792
+ readonly regions: io.flow.reference.v0.models.Region[];
7793
+ readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
7794
+ readonly description?: string;
7795
+ readonly statistics: io.flow.catalog.exclusion.v0.models.ExclusionRuleStatistic;
7796
+ }
7797
+
7798
+ interface ExclusionRuleForm {
7799
+ readonly q: string;
7800
+ readonly regions: string[];
7801
+ readonly description?: string;
7802
+ }
7803
+
7804
+ interface ExclusionRuleStatistic {
7805
+ readonly state: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState;
7806
+ readonly number_items: number;
7807
+ }
7808
+
7809
+ interface ExclusionRuleVersion {
7810
+ readonly id: string;
7811
+ readonly timestamp: string;
7812
+ readonly type: io.flow.common.v0.enums.ChangeType;
7813
+ readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule;
7814
+ }
7815
+ }
7816
+
7783
7817
  declare namespace io.flow.fulfillment.internal.v0.models {
7784
7818
  interface CenterQueryBuilder {
7785
7819
  readonly placeholder: string;
@@ -12831,6 +12865,8 @@ declare namespace io.flow.internal.v0.enums {
12831
12865
  | 'bank_payment_deleted'
12832
12866
  | 'carrier_account_upserted'
12833
12867
  | 'catalog_import_request'
12868
+ | 'exclusion_rule_upserted'
12869
+ | 'exclusion_rule_deleted'
12834
12870
  | 'catalog_item_region_availabilities_published'
12835
12871
  | 'checkout_configuration_upserted'
12836
12872
  | 'checkout_configuration_deleted'
@@ -14720,6 +14756,22 @@ declare namespace io.flow.internal.v0.models {
14720
14756
  readonly passphrase_ids: string[];
14721
14757
  }
14722
14758
 
14759
+ interface ExclusionRuleDeleted {
14760
+ readonly discriminator: 'exclusion_rule_deleted';
14761
+ readonly event_id: string;
14762
+ readonly timestamp: string;
14763
+ readonly organization: string;
14764
+ readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule;
14765
+ }
14766
+
14767
+ interface ExclusionRuleUpserted {
14768
+ readonly discriminator: 'exclusion_rule_upserted';
14769
+ readonly event_id: string;
14770
+ readonly timestamp: string;
14771
+ readonly organization: string;
14772
+ readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule;
14773
+ }
14774
+
14723
14775
  interface ExpectedOrderSummary {
14724
14776
  readonly total?: io.flow.common.v0.models.Money;
14725
14777
  }
@@ -17237,6 +17289,7 @@ declare namespace io.flow.internal.v0.models {
17237
17289
 
17238
17290
  interface ProductClassificationForm {
17239
17291
  readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
17292
+ readonly model_version: string;
17240
17293
  readonly action: io.flow.internal.v0.enums.ProductClassificationAction;
17241
17294
  }
17242
17295
 
@@ -17256,8 +17309,8 @@ declare namespace io.flow.internal.v0.models {
17256
17309
  interface ProductHarmonization {
17257
17310
  readonly product_labels: io.flow.internal.v0.models.ProductLabels;
17258
17311
  readonly customs_description: string;
17259
- readonly hs6_code: string;
17260
- readonly model_version: string;
17312
+ readonly hs6_code?: string;
17313
+ readonly hs6_description?: string;
17261
17314
  }
17262
17315
 
17263
17316
  interface ProductHarmonizationForm {
@@ -17573,22 +17626,6 @@ declare namespace io.flow.internal.v0.models {
17573
17626
  readonly preferred_secret_id: string;
17574
17627
  }
17575
17628
 
17576
- interface SerialReservation {
17577
- readonly reservation_id: string;
17578
- readonly serials: io.flow.inventory.v0.models.Serial[];
17579
- readonly expires_at: string;
17580
- }
17581
-
17582
- interface SerialReservationForm {
17583
- readonly items: io.flow.internal.v0.models.SerialReservationItem[];
17584
- readonly duration: io.flow.common.v0.models.Duration;
17585
- }
17586
-
17587
- interface SerialReservationItem {
17588
- readonly item_number: string;
17589
- readonly quantity: number;
17590
- }
17591
-
17592
17629
  interface SessionCountries {
17593
17630
  readonly countries: io.flow.internal.v0.models.SessionCountry[];
17594
17631
  }
@@ -18545,6 +18582,8 @@ declare namespace io.flow.internal.v0.unions {
18545
18582
  | io.flow.internal.v0.models.BankPaymentDeleted
18546
18583
  | io.flow.internal.v0.models.CarrierAccountUpserted
18547
18584
  | io.flow.internal.v0.models.CatalogImportRequest
18585
+ | io.flow.internal.v0.models.ExclusionRuleUpserted
18586
+ | io.flow.internal.v0.models.ExclusionRuleDeleted
18548
18587
  | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished
18549
18588
  | io.flow.internal.v0.models.CheckoutConfigurationUpserted
18550
18589
  | io.flow.internal.v0.models.CheckoutConfigurationDeleted
@@ -19065,6 +19104,8 @@ export type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
19065
19104
  export type Encryption = io.flow.internal.v0.models.Encryption;
19066
19105
  export type Event = io.flow.internal.v0.unions.Event;
19067
19106
  export type EventType = io.flow.internal.v0.enums.EventType;
19107
+ export type ExclusionRuleDeleted = io.flow.internal.v0.models.ExclusionRuleDeleted;
19108
+ export type ExclusionRuleUpserted = io.flow.internal.v0.models.ExclusionRuleUpserted;
19068
19109
  export type ExpectedOrderSummary = io.flow.internal.v0.models.ExpectedOrderSummary;
19069
19110
  export type ExperienceExperiment = io.flow.internal.v0.models.ExperienceExperiment;
19070
19111
  export type ExperienceExportRequest = io.flow.internal.v0.models.ExperienceExportRequest;
@@ -19536,10 +19577,7 @@ export type SearchOrderSummary = io.flow.internal.v0.models.SearchOrderSummary;
19536
19577
  export type SearchProviderExport = io.flow.internal.v0.models.SearchProviderExport;
19537
19578
  export type Secret = io.flow.internal.v0.models.Secret;
19538
19579
  export type SecretConfig = io.flow.internal.v0.models.SecretConfig;
19539
- export type SerialReservation = io.flow.internal.v0.models.SerialReservation;
19540
19580
  export type SerialReservationError = io.flow.internal.v0.enums.SerialReservationError;
19541
- export type SerialReservationForm = io.flow.internal.v0.models.SerialReservationForm;
19542
- export type SerialReservationItem = io.flow.internal.v0.models.SerialReservationItem;
19543
19581
  export type SessionCountries = io.flow.internal.v0.models.SessionCountries;
19544
19582
  export type SessionCountry = io.flow.internal.v0.models.SessionCountry;
19545
19583
  export type SessionCountryForm = io.flow.internal.v0.models.SessionCountryForm;
package/src/api.ts CHANGED
@@ -240,8 +240,6 @@ declare namespace io.flow.v0.enums {
240
240
  | 'fully_harmonized_item_upserted'
241
241
  | 'rule_upserted'
242
242
  | 'rule_deleted'
243
- | 'serial_upserted'
244
- | 'serial_deleted'
245
243
  | 'snapshot_upserted'
246
244
  | 'snapshot_deleted'
247
245
  | 'label_upserted'
@@ -552,7 +550,6 @@ declare namespace io.flow.v0.enums {
552
550
  type RoundingMethod = 'up' | 'down' | 'nearest';
553
551
  type RoundingType = 'pattern' | 'multiple';
554
552
  type ScheduleExceptionStatus = 'Open' | 'Closed';
555
- type SerialStatus = 'available' | 'reserved' | 'sold';
556
553
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
557
554
  type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
558
555
  type ShippingConfigurationType = 'default' | 'variant';
@@ -6496,48 +6493,6 @@ declare namespace io.flow.v0.models {
6496
6493
  readonly minute_of_hour: string;
6497
6494
  }
6498
6495
 
6499
- interface Serial {
6500
- readonly id: string;
6501
- readonly number: string;
6502
- readonly item_number: string;
6503
- readonly item_price: io.flow.v0.models.Price;
6504
- readonly status: io.flow.v0.enums.SerialStatus;
6505
- readonly center: io.flow.v0.models.CenterReference;
6506
- readonly attributes: Record<string, string>;
6507
- }
6508
-
6509
- interface SerialDeleted {
6510
- readonly discriminator: 'serial_deleted';
6511
- readonly event_id: string;
6512
- readonly timestamp: string;
6513
- readonly id: string;
6514
- }
6515
-
6516
- interface SerialForm {
6517
- readonly number: string;
6518
- readonly item_number: string;
6519
- readonly item_price: number;
6520
- readonly item_currency: string;
6521
- readonly status: io.flow.v0.enums.SerialStatus;
6522
- readonly center_key?: string;
6523
- readonly attributes?: Record<string, string>;
6524
- }
6525
-
6526
- interface SerialUpserted {
6527
- readonly discriminator: 'serial_upserted';
6528
- readonly event_id: string;
6529
- readonly timestamp: string;
6530
- readonly organization: string;
6531
- readonly serial: io.flow.v0.models.Serial;
6532
- }
6533
-
6534
- interface SerialVersion {
6535
- readonly id: string;
6536
- readonly timestamp: string;
6537
- readonly type: io.flow.v0.enums.ChangeType;
6538
- readonly serial: io.flow.v0.models.Serial;
6539
- }
6540
-
6541
6496
  interface ServiceReference {
6542
6497
  readonly id: string;
6543
6498
  }
@@ -7982,8 +7937,6 @@ declare namespace io.flow.v0.unions {
7982
7937
  | io.flow.v0.models.FullyHarmonizedItemUpserted
7983
7938
  | io.flow.v0.models.RuleUpserted
7984
7939
  | io.flow.v0.models.RuleDeleted
7985
- | io.flow.v0.models.SerialUpserted
7986
- | io.flow.v0.models.SerialDeleted
7987
7940
  | io.flow.v0.models.SnapshotUpserted
7988
7941
  | io.flow.v0.models.SnapshotDeleted
7989
7942
  | io.flow.v0.models.LabelUpserted
@@ -9199,12 +9152,6 @@ export type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleExceptionStatus;
9199
9152
  export type ScheduledExport = io.flow.v0.models.ScheduledExport;
9200
9153
  export type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
9201
9154
  export type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
9202
- export type Serial = io.flow.v0.models.Serial;
9203
- export type SerialDeleted = io.flow.v0.models.SerialDeleted;
9204
- export type SerialForm = io.flow.v0.models.SerialForm;
9205
- export type SerialStatus = io.flow.v0.enums.SerialStatus;
9206
- export type SerialUpserted = io.flow.v0.models.SerialUpserted;
9207
- export type SerialVersion = io.flow.v0.models.SerialVersion;
9208
9155
  export type ServiceFee = io.flow.v0.unions.ServiceFee;
9209
9156
  export type ServiceReference = io.flow.v0.models.ServiceReference;
9210
9157
  export type ServiceSummary = io.flow.v0.models.ServiceSummary;