@flowio/types 11.14.0 → 11.15.0

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.
@@ -236,6 +236,7 @@ declare namespace io.flow.experience.v0.enums {
236
236
  type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
237
237
  type OrderStatus = 'open' | 'submitted';
238
238
  type OrderStorage = 'do_not_persist' | 'persist';
239
+ type OrderType = 'standard' | 'replacement';
239
240
  type OrganizationPaymentMethodTag = 'deny';
240
241
  type PaymentMethodRuleContentKey = 'description';
241
242
  type PriceFacetBoundary = 'min' | 'max';
@@ -696,6 +697,7 @@ declare namespace io.flow.experience.v0.models {
696
697
  readonly discriminator: 'order';
697
698
  readonly id: string;
698
699
  readonly number: string;
700
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
699
701
  readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
700
702
  readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
701
703
  readonly customer: io.flow.common.v0.models.OrderCustomer;
@@ -868,6 +870,7 @@ declare namespace io.flow.experience.v0.models {
868
870
  readonly min?: io.flow.common.v0.models.Price;
869
871
  }
870
872
  interface OrderPutForm {
873
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
871
874
  readonly items: io.flow.common.v0.models.LineItemForm[];
872
875
  readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
873
876
  readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
@@ -914,6 +917,14 @@ declare namespace io.flow.experience.v0.models {
914
917
  readonly key: io.flow.experience.v0.enums.OrderRefundSummaryIncludes;
915
918
  readonly charged: io.flow.experience.v0.enums.OrderRefundSummaryPartialCharged;
916
919
  }
920
+ interface OrderReplacement {
921
+ readonly id: string;
922
+ readonly parent_order: io.flow.experience.v0.models.Order;
923
+ readonly replacement_order: io.flow.experience.v0.models.Order;
924
+ }
925
+ interface OrderReplacementForm {
926
+ readonly items?: io.flow.common.v0.models.LineItemForm[];
927
+ }
917
928
  interface OrderRuleReference {
918
929
  readonly id: string;
919
930
  readonly key: string;
@@ -13167,6 +13178,12 @@ declare namespace io.flow.checkout.backend.v0.models {
13167
13178
  interface CheckoutPredictionInputs {
13168
13179
  readonly address_prediction_metadata?: io.flow.checkout.backend.v0.models.CheckoutAddressPredictionMetadata;
13169
13180
  }
13181
+ interface CheckoutPriceEstimated {
13182
+ readonly discriminator: 'estimated';
13183
+ readonly amount: number;
13184
+ readonly currency: string;
13185
+ readonly label: string;
13186
+ }
13170
13187
  interface CheckoutPriceFree {
13171
13188
  readonly discriminator: 'free';
13172
13189
  readonly placeholder?: string;
@@ -13229,7 +13246,7 @@ declare namespace io.flow.checkout.backend.v0.unions {
13229
13246
  type CheckoutOrderPromotion = io.flow.checkout.backend.v0.models.CheckoutOrderPromotionDiscount | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping;
13230
13247
  type CheckoutPaymentActionRequirement = io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutDirectAuthorizationRequirement;
13231
13248
  type CheckoutPaymentDetailsForm = io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutCreditPaymentPayload;
13232
- type CheckoutPrice = io.flow.checkout.backend.v0.models.CheckoutPriceFree | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded | io.flow.checkout.backend.v0.models.CheckoutPriceStandard;
13249
+ type CheckoutPrice = io.flow.checkout.backend.v0.models.CheckoutPriceFree | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded | io.flow.checkout.backend.v0.models.CheckoutPriceStandard | io.flow.checkout.backend.v0.models.CheckoutPriceEstimated;
13233
13250
  }
13234
13251
  declare namespace io.flow.organization.v0.enums {
13235
13252
  type CountryPickerSource = 'experience' | 'destination';
@@ -15950,6 +15967,12 @@ declare namespace io.flow.internal.v0.models {
15950
15967
  interface CheckoutPredictionInputs {
15951
15968
  readonly address_prediction_metadata?: io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
15952
15969
  }
15970
+ interface CheckoutPriceEstimated {
15971
+ readonly discriminator: 'estimated';
15972
+ readonly amount: number;
15973
+ readonly currency: string;
15974
+ readonly label: string;
15975
+ }
15953
15976
  interface CheckoutPriceFree {
15954
15977
  readonly discriminator: 'free';
15955
15978
  readonly placeholder?: string;
@@ -21511,7 +21534,7 @@ declare namespace io.flow.internal.v0.unions {
21511
21534
  type CheckoutOrderPromotion = io.flow.internal.v0.models.CheckoutOrderPromotionDiscount | io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping;
21512
21535
  type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
21513
21536
  type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
21514
- type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard;
21537
+ type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard | io.flow.internal.v0.models.CheckoutPriceEstimated;
21515
21538
  type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
21516
21539
  type CheckoutResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
21517
21540
  type CheckoutSequencedAddAuthorizationResponse = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
@@ -22038,6 +22061,7 @@ export declare type CheckoutPaypalAuthorizationPayload = io.flow.internal.v0.mod
22038
22061
  export declare type CheckoutPlatformData = io.flow.internal.v0.models.CheckoutPlatformData;
22039
22062
  export declare type CheckoutPredictionInputs = io.flow.internal.v0.models.CheckoutPredictionInputs;
22040
22063
  export declare type CheckoutPrice = io.flow.internal.v0.unions.CheckoutPrice;
22064
+ export declare type CheckoutPriceEstimated = io.flow.internal.v0.models.CheckoutPriceEstimated;
22041
22065
  export declare type CheckoutPriceFree = io.flow.internal.v0.models.CheckoutPriceFree;
22042
22066
  export declare type CheckoutPriceIncluded = io.flow.internal.v0.models.CheckoutPriceIncluded;
22043
22067
  export declare type CheckoutPriceNotYetKnown = io.flow.internal.v0.models.CheckoutPriceNotYetKnown;
package/dist/api.d.ts CHANGED
@@ -853,7 +853,7 @@ declare namespace io.flow.v0.enums {
853
853
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
854
854
  type EntityIdentifierType = 'ioss' | 'voec';
855
855
  type Environment = 'sandbox' | 'production';
856
- 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' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | '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' | 'ready_to_fulfill_v2' | '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' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
856
+ 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' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | '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' | 'order_replacement_upserted' | 'order_replacement_deleted' | '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' | 'ready_to_fulfill_v2' | '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' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
857
857
  type ExceptionType = 'open' | 'closed';
858
858
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
859
859
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -4943,9 +4943,23 @@ declare namespace io.flow.v0.models {
4943
4943
  readonly parent_order: io.flow.v0.models.Order;
4944
4944
  readonly replacement_order: io.flow.v0.models.Order;
4945
4945
  }
4946
+ interface OrderReplacementDeleted {
4947
+ readonly discriminator: 'order_replacement_deleted';
4948
+ readonly event_id: string;
4949
+ readonly timestamp: string;
4950
+ readonly organization: string;
4951
+ readonly order_replacement: io.flow.v0.models.OrderReplacement;
4952
+ }
4946
4953
  interface OrderReplacementForm {
4947
4954
  readonly items?: io.flow.v0.models.LineItemForm[];
4948
4955
  }
4956
+ interface OrderReplacementUpserted {
4957
+ readonly discriminator: 'order_replacement_upserted';
4958
+ readonly event_id: string;
4959
+ readonly timestamp: string;
4960
+ readonly organization: string;
4961
+ readonly order_replacement: io.flow.v0.models.OrderReplacement;
4962
+ }
4949
4963
  interface OrderRuleReference {
4950
4964
  readonly id: string;
4951
4965
  readonly key: string;
@@ -7947,7 +7961,7 @@ declare namespace io.flow.v0.unions {
7947
7961
  type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
7948
7962
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
7949
7963
  type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
7950
- 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.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | 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.ReadyToFulfillV2 | 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.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
7964
+ 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.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | 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.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | 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.ReadyToFulfillV2 | 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.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
7951
7965
  type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
7952
7966
  type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
7953
7967
  type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
@@ -8794,7 +8808,9 @@ export declare type OrderRefundSummaryPartialCharged = io.flow.v0.enums.OrderRef
8794
8808
  export declare type OrderRefundSummaryPartialForm = io.flow.v0.models.OrderRefundSummaryPartialForm;
8795
8809
  export declare type OrderRefundSummaryPartialIncludes = io.flow.v0.models.OrderRefundSummaryPartialIncludes;
8796
8810
  export declare type OrderReplacement = io.flow.v0.models.OrderReplacement;
8811
+ export declare type OrderReplacementDeleted = io.flow.v0.models.OrderReplacementDeleted;
8797
8812
  export declare type OrderReplacementForm = io.flow.v0.models.OrderReplacementForm;
8813
+ export declare type OrderReplacementUpserted = io.flow.v0.models.OrderReplacementUpserted;
8798
8814
  export declare type OrderRuleReference = io.flow.v0.models.OrderRuleReference;
8799
8815
  export declare type OrderRulesSummary = io.flow.v0.models.OrderRulesSummary;
8800
8816
  export declare type OrderServiceChange = io.flow.v0.models.OrderServiceChange;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.14.0",
3
+ "version": "11.15.0",
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": "9769b7fb2d83cbbedf5b031b65d235cbea955967"
28
+ "gitHead": "a4321688f5d9b572fdb67816ecbbfb830b2a5ea0"
29
29
  }
@@ -359,6 +359,7 @@ declare namespace io.flow.experience.v0.enums {
359
359
  | 'by_quantity_percentage';
360
360
  type OrderStatus = 'open' | 'submitted';
361
361
  type OrderStorage = 'do_not_persist' | 'persist';
362
+ type OrderType = 'standard' | 'replacement';
362
363
  type OrganizationPaymentMethodTag = 'deny';
363
364
  type PaymentMethodRuleContentKey = 'description';
364
365
  type PriceFacetBoundary = 'min' | 'max';
@@ -897,6 +898,7 @@ declare namespace io.flow.experience.v0.models {
897
898
  readonly discriminator: 'order';
898
899
  readonly id: string;
899
900
  readonly number: string;
901
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
900
902
  readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
901
903
  readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
902
904
  readonly customer: io.flow.common.v0.models.OrderCustomer;
@@ -1097,6 +1099,7 @@ declare namespace io.flow.experience.v0.models {
1097
1099
  }
1098
1100
 
1099
1101
  interface OrderPutForm {
1102
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
1100
1103
  readonly items: io.flow.common.v0.models.LineItemForm[];
1101
1104
  readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
1102
1105
  readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
@@ -1151,6 +1154,16 @@ declare namespace io.flow.experience.v0.models {
1151
1154
  readonly charged: io.flow.experience.v0.enums.OrderRefundSummaryPartialCharged;
1152
1155
  }
1153
1156
 
1157
+ interface OrderReplacement {
1158
+ readonly id: string;
1159
+ readonly parent_order: io.flow.experience.v0.models.Order;
1160
+ readonly replacement_order: io.flow.experience.v0.models.Order;
1161
+ }
1162
+
1163
+ interface OrderReplacementForm {
1164
+ readonly items?: io.flow.common.v0.models.LineItemForm[];
1165
+ }
1166
+
1154
1167
  interface OrderRuleReference {
1155
1168
  readonly id: string;
1156
1169
  readonly key: string;
@@ -17161,6 +17174,13 @@ declare namespace io.flow.checkout.backend.v0.models {
17161
17174
  readonly address_prediction_metadata?: io.flow.checkout.backend.v0.models.CheckoutAddressPredictionMetadata;
17162
17175
  }
17163
17176
 
17177
+ interface CheckoutPriceEstimated {
17178
+ readonly discriminator: 'estimated';
17179
+ readonly amount: number;
17180
+ readonly currency: string;
17181
+ readonly label: string;
17182
+ }
17183
+
17164
17184
  interface CheckoutPriceFree {
17165
17185
  readonly discriminator: 'free';
17166
17186
  readonly placeholder?: string;
@@ -17259,7 +17279,8 @@ declare namespace io.flow.checkout.backend.v0.unions {
17259
17279
  | io.flow.checkout.backend.v0.models.CheckoutPriceFree
17260
17280
  | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown
17261
17281
  | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded
17262
- | io.flow.checkout.backend.v0.models.CheckoutPriceStandard;
17282
+ | io.flow.checkout.backend.v0.models.CheckoutPriceStandard
17283
+ | io.flow.checkout.backend.v0.models.CheckoutPriceEstimated;
17263
17284
  }
17264
17285
 
17265
17286
  declare namespace io.flow.organization.v0.enums {
@@ -21052,6 +21073,13 @@ declare namespace io.flow.internal.v0.models {
21052
21073
  readonly address_prediction_metadata?: io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
21053
21074
  }
21054
21075
 
21076
+ interface CheckoutPriceEstimated {
21077
+ readonly discriminator: 'estimated';
21078
+ readonly amount: number;
21079
+ readonly currency: string;
21080
+ readonly label: string;
21081
+ }
21082
+
21055
21083
  interface CheckoutPriceFree {
21056
21084
  readonly discriminator: 'free';
21057
21085
  readonly placeholder?: string;
@@ -27603,7 +27631,8 @@ declare namespace io.flow.internal.v0.unions {
27603
27631
  | io.flow.internal.v0.models.CheckoutPriceFree
27604
27632
  | io.flow.internal.v0.models.CheckoutPriceNotYetKnown
27605
27633
  | io.flow.internal.v0.models.CheckoutPriceIncluded
27606
- | io.flow.internal.v0.models.CheckoutPriceStandard;
27634
+ | io.flow.internal.v0.models.CheckoutPriceStandard
27635
+ | io.flow.internal.v0.models.CheckoutPriceEstimated;
27607
27636
  type CheckoutRequestForm =
27608
27637
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
27609
27638
  | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm
@@ -28604,6 +28633,7 @@ export type CheckoutPaypalAuthorizationPayload = io.flow.internal.v0.models.Chec
28604
28633
  export type CheckoutPlatformData = io.flow.internal.v0.models.CheckoutPlatformData;
28605
28634
  export type CheckoutPredictionInputs = io.flow.internal.v0.models.CheckoutPredictionInputs;
28606
28635
  export type CheckoutPrice = io.flow.internal.v0.unions.CheckoutPrice;
28636
+ export type CheckoutPriceEstimated = io.flow.internal.v0.models.CheckoutPriceEstimated;
28607
28637
  export type CheckoutPriceFree = io.flow.internal.v0.models.CheckoutPriceFree;
28608
28638
  export type CheckoutPriceIncluded = io.flow.internal.v0.models.CheckoutPriceIncluded;
28609
28639
  export type CheckoutPriceNotYetKnown = io.flow.internal.v0.models.CheckoutPriceNotYetKnown;
package/src/api.ts CHANGED
@@ -1247,6 +1247,8 @@ declare namespace io.flow.v0.enums {
1247
1247
  | 'order_identifier_deleted_v2'
1248
1248
  | 'order_identifier_upserted_v2'
1249
1249
  | 'order_identifier_upserted_v3'
1250
+ | 'order_replacement_upserted'
1251
+ | 'order_replacement_deleted'
1250
1252
  | 'pricing_deleted'
1251
1253
  | 'pricing_upserted'
1252
1254
  | 'order_service_change_request'
@@ -6335,10 +6337,26 @@ declare namespace io.flow.v0.models {
6335
6337
  readonly replacement_order: io.flow.v0.models.Order;
6336
6338
  }
6337
6339
 
6340
+ interface OrderReplacementDeleted {
6341
+ readonly discriminator: 'order_replacement_deleted';
6342
+ readonly event_id: string;
6343
+ readonly timestamp: string;
6344
+ readonly organization: string;
6345
+ readonly order_replacement: io.flow.v0.models.OrderReplacement;
6346
+ }
6347
+
6338
6348
  interface OrderReplacementForm {
6339
6349
  readonly items?: io.flow.v0.models.LineItemForm[];
6340
6350
  }
6341
6351
 
6352
+ interface OrderReplacementUpserted {
6353
+ readonly discriminator: 'order_replacement_upserted';
6354
+ readonly event_id: string;
6355
+ readonly timestamp: string;
6356
+ readonly organization: string;
6357
+ readonly order_replacement: io.flow.v0.models.OrderReplacement;
6358
+ }
6359
+
6342
6360
  interface OrderRuleReference {
6343
6361
  readonly id: string;
6344
6362
  readonly key: string;
@@ -9953,6 +9971,8 @@ declare namespace io.flow.v0.unions {
9953
9971
  | io.flow.v0.models.OrderIdentifierDeletedV2
9954
9972
  | io.flow.v0.models.OrderIdentifierUpsertedV2
9955
9973
  | io.flow.v0.models.OrderIdentifierUpsertedV3
9974
+ | io.flow.v0.models.OrderReplacementUpserted
9975
+ | io.flow.v0.models.OrderReplacementDeleted
9956
9976
  | io.flow.v0.models.PricingDeleted
9957
9977
  | io.flow.v0.models.PricingUpserted
9958
9978
  | io.flow.v0.models.OrderServiceChangeRequest
@@ -11036,7 +11056,9 @@ export type OrderRefundSummaryPartialCharged = io.flow.v0.enums.OrderRefundSumma
11036
11056
  export type OrderRefundSummaryPartialForm = io.flow.v0.models.OrderRefundSummaryPartialForm;
11037
11057
  export type OrderRefundSummaryPartialIncludes = io.flow.v0.models.OrderRefundSummaryPartialIncludes;
11038
11058
  export type OrderReplacement = io.flow.v0.models.OrderReplacement;
11059
+ export type OrderReplacementDeleted = io.flow.v0.models.OrderReplacementDeleted;
11039
11060
  export type OrderReplacementForm = io.flow.v0.models.OrderReplacementForm;
11061
+ export type OrderReplacementUpserted = io.flow.v0.models.OrderReplacementUpserted;
11040
11062
  export type OrderRuleReference = io.flow.v0.models.OrderRuleReference;
11041
11063
  export type OrderRulesSummary = io.flow.v0.models.OrderRulesSummary;
11042
11064
  export type OrderServiceChange = io.flow.v0.models.OrderServiceChange;