@flowio/types 11.19.7 → 11.19.8

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.
@@ -292,6 +292,9 @@ declare namespace io.flow.common.v0.models {
292
292
  readonly name: string;
293
293
  readonly attributes: Record<string, string>;
294
294
  }
295
+ interface ChannelReference {
296
+ readonly id: string;
297
+ }
295
298
  interface CheckoutReference {
296
299
  readonly id: string;
297
300
  }
@@ -600,7 +603,7 @@ declare namespace io.flow.experience.v0.enums {
600
603
  type ExperiencePaymentMethodTag = 'display';
601
604
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
602
605
  type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
603
- type OrderPaymentType = 'card' | 'online' | 'credit' | 'installment_plan' | 'cash_on_delivery';
606
+ type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
604
607
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
605
608
  type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
606
609
  type OrderStatus = 'open' | 'submitted';
@@ -1956,12 +1959,16 @@ declare namespace io.flow.shopify.xborder.v0.enums {
1956
1959
  type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
1957
1960
  type ShopifyOrderValueType = 'string' | 'integer';
1958
1961
  type ShopifyWebhookFormat = 'json' | 'xml';
1959
- type ShopifyWebhookTopic = 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'themes/create' | 'themes/publish' | 'themes/update';
1962
+ type ShopifyWebhookTopic = 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'themes/create' | 'themes/publish' | 'themes/update';
1960
1963
  }
1961
1964
  declare namespace io.flow.shopify.xborder.v0.models {
1962
1965
  interface ResponseShopifyTransactions {
1963
1966
  readonly transactions: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
1964
1967
  }
1968
+ interface ShopifyCountryHarmonizedSystemCode {
1969
+ readonly country_code: string;
1970
+ readonly harmonized_system_code: string;
1971
+ }
1965
1972
  interface ShopifyError {
1966
1973
  readonly errors: any;
1967
1974
  }
@@ -1975,6 +1982,32 @@ declare namespace io.flow.shopify.xborder.v0.models {
1975
1982
  interface ShopifyFulfillmentOrdersWrapper {
1976
1983
  readonly fulfillment_orders: io.flow.shopify.xborder.v0.models.ShopifyFulfillmentOrder[];
1977
1984
  }
1985
+ interface ShopifyInventoryItem {
1986
+ readonly id: number;
1987
+ readonly cost: number;
1988
+ readonly country_code_of_origin?: string;
1989
+ readonly country_harmonized_system_codes?: io.flow.shopify.xborder.v0.models.ShopifyCountryHarmonizedSystemCode[];
1990
+ readonly harmonized_system_code?: string;
1991
+ readonly province_code_of_origin?: string;
1992
+ readonly sku: string;
1993
+ readonly tracked?: boolean;
1994
+ readonly requires_shipping: boolean;
1995
+ readonly created_at: string;
1996
+ readonly updated_at: string;
1997
+ }
1998
+ interface ShopifyInventoryItemForm {
1999
+ readonly harmonized_system_code?: string;
2000
+ readonly country_harmonized_system_codes?: io.flow.shopify.xborder.v0.models.ShopifyCountryHarmonizedSystemCode[];
2001
+ }
2002
+ interface ShopifyInventoryItemFormWrapper {
2003
+ readonly inventory_item: io.flow.shopify.xborder.v0.models.ShopifyInventoryItemForm;
2004
+ }
2005
+ interface ShopifyInventoryItemWrapper {
2006
+ readonly inventory_item: io.flow.shopify.xborder.v0.models.ShopifyInventoryItem;
2007
+ }
2008
+ interface ShopifyInventoryItemsWrapper {
2009
+ readonly inventory_items: io.flow.shopify.xborder.v0.models.ShopifyInventoryItem[];
2010
+ }
1978
2011
  interface ShopifyLocation {
1979
2012
  readonly active: boolean;
1980
2013
  readonly address1?: string;
@@ -4665,10 +4698,19 @@ declare namespace io.flow.label.v0.models {
4665
4698
  readonly items: io.flow.common.v0.models.LineItemForm[];
4666
4699
  readonly center_key?: string;
4667
4700
  }
4701
+ interface SummaryShippingNotificationForm {
4702
+ readonly discriminator: 'summary_shipping_notification_form';
4703
+ readonly order_number: string;
4704
+ readonly items: io.flow.common.v0.models.LineItemForm[];
4705
+ readonly service: string;
4706
+ readonly carrier_tracking_number: string;
4707
+ readonly key?: string;
4708
+ readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
4709
+ }
4668
4710
  }
4669
4711
  declare namespace io.flow.label.v0.unions {
4670
4712
  type ShippingLabelForm = io.flow.label.v0.models.DetailedShippingLabelForm | io.flow.label.v0.models.SummaryShippingLabelForm;
4671
- type ShippingNotificationForm = io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm;
4713
+ type ShippingNotificationForm = io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm | io.flow.label.v0.models.SummaryShippingNotificationForm;
4672
4714
  }
4673
4715
  declare namespace io.flow.external.paypal.v1.enums {
4674
4716
  type AdjudicationType = 'DENY_BUYER' | 'PAYOUT_TO_BUYER' | 'PAYOUT_TO_SELLER' | 'RECOVER_FROM_SELLER';
@@ -9129,6 +9171,7 @@ declare namespace io.flow.session.v0.unions {
9129
9171
  }
9130
9172
  declare namespace io.flow.internal.v0.enums {
9131
9173
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
9174
+ type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
9132
9175
  type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
9133
9176
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9134
9177
  type BillingStatementReviewStatus = 'approved' | 'pending';
@@ -9164,7 +9207,7 @@ declare namespace io.flow.internal.v0.enums {
9164
9207
  type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
9165
9208
  type CheckoutGetErrorCode = 'checkout_not_found';
9166
9209
  type CheckoutHttpSequencedRequestErrorCode = 'checkout_not_found' | 'sequence_number_already_exists' | 'sequence_number_must_be_greater_than_starting_number';
9167
- type CheckoutInfoAddressBookContactsKeyField = 'shipping_country' | 'edits';
9210
+ type CheckoutInfoAddressBookContactsKeyField = 'address_type' | 'country' | 'edits' | 'shipping_country';
9168
9211
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
9169
9212
  type CheckoutInfoAddressPredictionsKeyField = 'input';
9170
9213
  type CheckoutInfoContentKeyField = 'locale';
@@ -9244,7 +9287,7 @@ declare namespace io.flow.internal.v0.enums {
9244
9287
  type InventoryCheckService = 'sfcc' | 'gymboree';
9245
9288
  type InventoryReservation = 'synchronous-on-submit';
9246
9289
  type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
9247
- type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted';
9290
+ type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted' | 'pending';
9248
9291
  type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'exempt';
9249
9292
  type ItemQuantityAction = 'fulfillment_ship' | 'fulfillment_cancel' | 'fulfillment_generate_label';
9250
9293
  type ItemType = 'standard' | 'multi_product';
@@ -9262,7 +9305,7 @@ declare namespace io.flow.internal.v0.enums {
9262
9305
  type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
9263
9306
  type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
9264
9307
  type NatureOfSale = 'consumer' | 'to_non_registered_business' | 'to_registered_business' | 'flash_title';
9265
- type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid';
9308
+ type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
9266
9309
  type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
9267
9310
  type OrderAttributeIntent = 'discount_code';
9268
9311
  type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
@@ -9313,7 +9356,7 @@ declare namespace io.flow.internal.v0.enums {
9313
9356
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
9314
9357
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
9315
9358
  type TransferMethod = 'ach';
9316
- type UnclassifiedProductStatus = 'ignored' | 'escalated' | 'requeued' | 'unverified';
9359
+ type UnclassifiedProductStatus = 'ignored' | 'escalated' | 'requeued' | 'unverified' | 'queued' | 'unconfident';
9317
9360
  }
9318
9361
  declare namespace io.flow.internal.v0.models {
9319
9362
  interface Acceptance {
@@ -9380,14 +9423,14 @@ declare namespace io.flow.internal.v0.models {
9380
9423
  interface AccountPostForm {
9381
9424
  readonly timezone: string;
9382
9425
  readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
9383
- readonly payment_conditions: string;
9426
+ readonly payment_conditions?: string;
9384
9427
  readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
9385
9428
  readonly center_key?: string;
9386
9429
  }
9387
9430
  interface AccountPutForm {
9388
9431
  readonly timezone: string;
9389
9432
  readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
9390
- readonly payment_conditions: string;
9433
+ readonly payment_conditions?: string;
9391
9434
  readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
9392
9435
  readonly center_key?: string;
9393
9436
  }
@@ -10313,6 +10356,9 @@ declare namespace io.flow.internal.v0.models {
10313
10356
  readonly postal?: string;
10314
10357
  readonly company?: string;
10315
10358
  }
10359
+ interface CheckoutAddressBook {
10360
+ readonly contacts: io.flow.internal.v0.models.CheckoutAddressBookContact[];
10361
+ }
10316
10362
  interface CheckoutAddressBookContact {
10317
10363
  readonly id: string;
10318
10364
  readonly address: io.flow.internal.v0.models.CheckoutAddress;
@@ -10322,6 +10368,10 @@ declare namespace io.flow.internal.v0.models {
10322
10368
  interface CheckoutAddressBookContactReference {
10323
10369
  readonly id: string;
10324
10370
  }
10371
+ interface CheckoutAddressBookContactRemoved {
10372
+ readonly discriminator: 'checkout_address_book_contact_removed';
10373
+ readonly id: string;
10374
+ }
10325
10375
  interface CheckoutAddressPrediction {
10326
10376
  readonly description: string;
10327
10377
  readonly id: string;
@@ -11059,8 +11109,10 @@ declare namespace io.flow.internal.v0.models {
11059
11109
  readonly deliveries: io.flow.internal.v0.models.CheckoutOrderDeliveries;
11060
11110
  }
11061
11111
  interface CheckoutOrderAddressBookInputs {
11112
+ readonly address_book: io.flow.internal.v0.models.CheckoutAddressBook;
11062
11113
  readonly shipping?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
11063
11114
  readonly invoicing?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
11115
+ readonly edits?: io.flow.internal.v0.unions.CheckoutAddressBookEdit[];
11064
11116
  }
11065
11117
  interface CheckoutOrderAddressInputs {
11066
11118
  readonly shipping?: io.flow.internal.v0.models.CheckoutAddress;
@@ -12383,6 +12435,7 @@ declare namespace io.flow.internal.v0.models {
12383
12435
  interface DutyRatesData {
12384
12436
  readonly id: string;
12385
12437
  readonly item_summary: io.flow.internal.v0.models.DutyRateItemSummary;
12438
+ readonly hs6_code: string;
12386
12439
  readonly rates: io.flow.internal.v0.models.DutyRate[];
12387
12440
  }
12388
12441
  interface DutyRatesPublished {
@@ -14049,6 +14102,7 @@ declare namespace io.flow.internal.v0.models {
14049
14102
  readonly model_id: string;
14050
14103
  readonly labels_prediction: io.flow.internal.v0.models.LabelsPrediction;
14051
14104
  readonly action: io.flow.internal.v0.enums.SuggestionAction;
14105
+ readonly prediction_score?: number;
14052
14106
  }
14053
14107
  interface ItemClassificationForm {
14054
14108
  readonly organization: string;
@@ -15450,7 +15504,7 @@ declare namespace io.flow.internal.v0.models {
15450
15504
  interface Prediction {
15451
15505
  readonly main_material: string;
15452
15506
  readonly gender: string;
15453
- readonly construction: string;
15507
+ readonly construction?: string;
15454
15508
  readonly item: string;
15455
15509
  }
15456
15510
  interface PregeneratedQuote {
@@ -16312,6 +16366,8 @@ declare namespace io.flow.internal.v0.models {
16312
16366
  }
16313
16367
  interface ShopifyXborderShop {
16314
16368
  readonly id: string;
16369
+ readonly domain: string;
16370
+ readonly myshopify_domain: string;
16315
16371
  readonly organization_id: string;
16316
16372
  readonly shop: string;
16317
16373
  readonly created_at: string;
@@ -16321,6 +16377,8 @@ declare namespace io.flow.internal.v0.models {
16321
16377
  }
16322
16378
  interface ShopifyXborderShopForm {
16323
16379
  readonly shop: string;
16380
+ readonly domain: string;
16381
+ readonly myshopify_domain: string;
16324
16382
  readonly api_key: string;
16325
16383
  readonly api_password: string;
16326
16384
  readonly shared_secret: string;
@@ -17059,6 +17117,7 @@ declare namespace io.flow.internal.v0.unions {
17059
17117
  type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse;
17060
17118
  type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
17061
17119
  type CarrierCredentials = io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex;
17120
+ type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
17062
17121
  type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
17063
17122
  type CheckoutAnalyticsOrder = io.flow.internal.v0.models.CheckoutAnalyticsOpenOrder | io.flow.internal.v0.models.CheckoutAnalyticsSubmittedOrder;
17064
17123
  type CheckoutAnalyticsPayment = io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentOnline;
@@ -17255,6 +17314,7 @@ export declare type AlertRequeueSummary = io.flow.internal.v0.models.AlertRequeu
17255
17314
  export declare type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
17256
17315
  export declare type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference;
17257
17316
  export declare type AllowedLabels = io.flow.internal.v0.models.AllowedLabels;
17317
+ export declare type ApiCallReferenceId = io.flow.internal.v0.enums.ApiCallReferenceId;
17258
17318
  export declare type ApmContent = io.flow.internal.v0.models.ApmContent;
17259
17319
  export declare type ApplePayAuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload;
17260
17320
  export declare type AttributeLabel = io.flow.internal.v0.models.AttributeLabel;
@@ -17375,8 +17435,11 @@ export declare type CheckoutAddOrderIdentifierErrorCode = io.flow.internal.v0.en
17375
17435
  export declare type CheckoutAddPaymentDetailsError = io.flow.internal.v0.models.CheckoutAddPaymentDetailsError;
17376
17436
  export declare type CheckoutAddPaymentDetailsErrorCode = io.flow.internal.v0.enums.CheckoutAddPaymentDetailsErrorCode;
17377
17437
  export declare type CheckoutAddress = io.flow.internal.v0.models.CheckoutAddress;
17438
+ export declare type CheckoutAddressBook = io.flow.internal.v0.models.CheckoutAddressBook;
17378
17439
  export declare type CheckoutAddressBookContact = io.flow.internal.v0.models.CheckoutAddressBookContact;
17379
17440
  export declare type CheckoutAddressBookContactReference = io.flow.internal.v0.models.CheckoutAddressBookContactReference;
17441
+ export declare type CheckoutAddressBookContactRemoved = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
17442
+ export declare type CheckoutAddressBookEdit = io.flow.internal.v0.unions.CheckoutAddressBookEdit;
17380
17443
  export declare type CheckoutAddressPrediction = io.flow.internal.v0.models.CheckoutAddressPrediction;
17381
17444
  export declare type CheckoutAddressPredictionMetadata = io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
17382
17445
  export declare type CheckoutAddressPredictions = io.flow.internal.v0.models.CheckoutAddressPredictions;
package/dist/api.d.ts CHANGED
@@ -1686,7 +1686,7 @@ declare namespace io.flow.v0.enums {
1686
1686
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
1687
1687
  type EntityIdentifierType = 'ioss' | 'voec';
1688
1688
  type Environment = 'sandbox' | 'production';
1689
- 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' | 'payment_request_upserted' | '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';
1689
+ 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' | 'channel_upserted' | 'channel_deleted' | 'channel_organization_upserted' | 'channel_organization_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' | 'payment_request_upserted' | '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';
1690
1690
  type ExceptionType = 'open' | 'closed';
1691
1691
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
1692
1692
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -1731,7 +1731,7 @@ declare namespace io.flow.v0.enums {
1731
1731
  type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
1732
1732
  type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
1733
1733
  type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
1734
- type OrderPaymentType = 'card' | 'online' | 'credit' | 'replacement_order' | 'installment_plan' | 'cash_on_delivery';
1734
+ type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
1735
1735
  type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge';
1736
1736
  type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
1737
1737
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
@@ -2883,20 +2883,61 @@ declare namespace io.flow.v0.models {
2883
2883
  }
2884
2884
  interface Channel {
2885
2885
  readonly id: string;
2886
- readonly key: string;
2887
2886
  readonly name: string;
2888
2887
  }
2888
+ interface ChannelDeleted {
2889
+ readonly discriminator: 'channel_deleted';
2890
+ readonly event_id: string;
2891
+ readonly timestamp: string;
2892
+ readonly channel: io.flow.v0.models.Channel;
2893
+ }
2889
2894
  interface ChannelForm {
2890
2895
  readonly name: string;
2891
2896
  }
2892
2897
  interface ChannelOrganization {
2893
2898
  readonly id: string;
2894
2899
  readonly organization: io.flow.v0.models.OrganizationReference;
2895
- readonly key: string;
2896
2900
  readonly channel: io.flow.v0.models.ChannelReference;
2897
2901
  }
2902
+ interface ChannelOrganizationDeleted {
2903
+ readonly discriminator: 'channel_organization_deleted';
2904
+ readonly event_id: string;
2905
+ readonly timestamp: string;
2906
+ readonly channel_organization: io.flow.v0.models.ChannelOrganization;
2907
+ }
2908
+ interface ChannelOrganizationUpserted {
2909
+ readonly discriminator: 'channel_organization_upserted';
2910
+ readonly event_id: string;
2911
+ readonly timestamp: string;
2912
+ readonly channel_organization: io.flow.v0.models.ChannelOrganization;
2913
+ }
2898
2914
  interface ChannelReference {
2899
- readonly key: string;
2915
+ readonly id: string;
2916
+ }
2917
+ interface ChannelToken {
2918
+ readonly discriminator: 'channel_token';
2919
+ readonly id: string;
2920
+ readonly channel: io.flow.v0.models.ChannelReference;
2921
+ readonly user: io.flow.v0.models.UserReference;
2922
+ readonly partial: string;
2923
+ readonly created_at: string;
2924
+ readonly description?: string;
2925
+ }
2926
+ interface ChannelTokenForm {
2927
+ readonly channel_id: string;
2928
+ readonly description?: string;
2929
+ }
2930
+ interface ChannelTokenReference {
2931
+ readonly discriminator: 'channel_token_reference';
2932
+ readonly id: string;
2933
+ readonly channel: io.flow.v0.models.ChannelReference;
2934
+ readonly user: io.flow.v0.models.UserReference;
2935
+ }
2936
+ interface ChannelUpserted {
2937
+ readonly discriminator: 'channel_upserted';
2938
+ readonly event_id: string;
2939
+ readonly timestamp: string;
2940
+ readonly channel: io.flow.v0.models.Channel;
2900
2941
  }
2901
2942
  interface CheckoutAttribute {
2902
2943
  readonly id: string;
@@ -6565,6 +6606,7 @@ declare namespace io.flow.v0.models {
6565
6606
  readonly discriminator: 'payment_request_upserted';
6566
6607
  readonly event_id: string;
6567
6608
  readonly timestamp: string;
6609
+ readonly organization: string;
6568
6610
  readonly payment_request: io.flow.v0.models.PaymentRequest;
6569
6611
  }
6570
6612
  interface PaymentReversal {
@@ -8376,6 +8418,15 @@ declare namespace io.flow.v0.models {
8376
8418
  readonly items: io.flow.v0.models.LineItemForm[];
8377
8419
  readonly center_key?: string;
8378
8420
  }
8421
+ interface SummaryShippingNotificationForm {
8422
+ readonly discriminator: 'summary_shipping_notification_form';
8423
+ readonly order_number: string;
8424
+ readonly items: io.flow.v0.models.LineItemForm[];
8425
+ readonly service: string;
8426
+ readonly carrier_tracking_number: string;
8427
+ readonly key?: string;
8428
+ readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient;
8429
+ }
8379
8430
  interface SurchargeResponsiblePartyDisplay {
8380
8431
  readonly name: string;
8381
8432
  readonly responsible_party: io.flow.v0.enums.SurchargeResponsibleParty;
@@ -8938,7 +8989,7 @@ declare namespace io.flow.v0.unions {
8938
8989
  type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
8939
8990
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
8940
8991
  type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
8941
- 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.PaymentRequestUpserted | 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;
8992
+ 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.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | 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.PaymentRequestUpserted | 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;
8942
8993
  type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
8943
8994
  type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
8944
8995
  type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
@@ -8993,7 +9044,7 @@ declare namespace io.flow.v0.unions {
8993
9044
  type Session = io.flow.v0.models.OrganizationSession;
8994
9045
  type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
8995
9046
  type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
8996
- type ShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm | io.flow.v0.models.SinglePackageShippingNotificationForm;
9047
+ type ShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm | io.flow.v0.models.SinglePackageShippingNotificationForm | io.flow.v0.models.SummaryShippingNotificationForm;
8997
9048
  type ShopifyCartAddForm = io.flow.v0.models.ShopifyCartAddSingleForm | io.flow.v0.models.ShopifyCartAddMultipleForm;
8998
9049
  type ShopifyEventBucket = io.flow.v0.models.ShopifyItemEventBucket;
8999
9050
  type TaxSetting = io.flow.v0.models.AvalaraTaxSetting | io.flow.v0.models.AvalaraTaxCsvSetting;
@@ -9001,8 +9052,8 @@ declare namespace io.flow.v0.unions {
9001
9052
  type ThreedsIdentifyAction = io.flow.v0.models.ThreedsTwoMethod;
9002
9053
  type TierRuleOutcome = io.flow.v0.models.AmountMargin | io.flow.v0.models.AtCost | io.flow.v0.models.FlatRate | io.flow.v0.models.PercentMargin;
9003
9054
  type TierRuleOutcomeForm = io.flow.v0.models.AmountMarginForm | io.flow.v0.models.FlatRateForm | io.flow.v0.models.AtCost | io.flow.v0.models.PercentMargin;
9004
- type Token = io.flow.v0.models.OrganizationToken | io.flow.v0.models.PartnerToken;
9005
- type TokenReference = io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.PartnerTokenReference;
9055
+ type Token = io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.PartnerToken;
9056
+ type TokenReference = io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.PartnerTokenReference;
9006
9057
  }
9007
9058
  export declare type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
9008
9059
  export declare type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
@@ -9201,9 +9252,16 @@ export declare type CenterUpserted = io.flow.v0.models.CenterUpserted;
9201
9252
  export declare type CenterVersion = io.flow.v0.models.CenterVersion;
9202
9253
  export declare type ChangeType = io.flow.v0.enums.ChangeType;
9203
9254
  export declare type Channel = io.flow.v0.models.Channel;
9255
+ export declare type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
9204
9256
  export declare type ChannelForm = io.flow.v0.models.ChannelForm;
9205
9257
  export declare type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
9258
+ export declare type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
9259
+ export declare type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted;
9206
9260
  export declare type ChannelReference = io.flow.v0.models.ChannelReference;
9261
+ export declare type ChannelToken = io.flow.v0.models.ChannelToken;
9262
+ export declare type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
9263
+ export declare type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
9264
+ export declare type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
9207
9265
  export declare type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
9208
9266
  export declare type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
9209
9267
  export declare type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
@@ -10283,6 +10341,7 @@ export declare type SubcatalogUpserted = io.flow.v0.models.SubcatalogUpserted;
10283
10341
  export declare type SubcatalogVersion = io.flow.v0.models.SubcatalogVersion;
10284
10342
  export declare type Suggestion = io.flow.v0.models.Suggestion;
10285
10343
  export declare type SummaryShippingLabelForm = io.flow.v0.models.SummaryShippingLabelForm;
10344
+ export declare type SummaryShippingNotificationForm = io.flow.v0.models.SummaryShippingNotificationForm;
10286
10345
  export declare type SurchargeResponsibleParty = io.flow.v0.enums.SurchargeResponsibleParty;
10287
10346
  export declare type SurchargeResponsiblePartyDisplay = io.flow.v0.models.SurchargeResponsiblePartyDisplay;
10288
10347
  export declare type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.19.7",
3
+ "version": "11.19.8",
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": "77992e6032cf55b50342b996ef147902789597cf"
28
+ "gitHead": "23766b2761d9a0412eea3ff364004e91bf0bfc76"
29
29
  }
@@ -434,6 +434,10 @@ declare namespace io.flow.common.v0.models {
434
434
  readonly attributes: Record<string, string>;
435
435
  }
436
436
 
437
+ interface ChannelReference {
438
+ readonly id: string;
439
+ }
440
+
437
441
  interface CheckoutReference {
438
442
  readonly id: string;
439
443
  }
@@ -851,6 +855,7 @@ declare namespace io.flow.experience.v0.enums {
851
855
  | 'card'
852
856
  | 'online'
853
857
  | 'credit'
858
+ | 'subsidized'
854
859
  | 'installment_plan'
855
860
  | 'cash_on_delivery';
856
861
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
@@ -2566,6 +2571,9 @@ declare namespace io.flow.shopify.xborder.v0.enums {
2566
2571
  | 'orders/updated'
2567
2572
  | 'orders/delete'
2568
2573
  | 'orders/edited'
2574
+ | 'products/create'
2575
+ | 'products/delete'
2576
+ | 'products/update'
2569
2577
  | 'refunds/create'
2570
2578
  | 'fulfillment_events/create'
2571
2579
  | 'fulfillment_events/delete'
@@ -2579,6 +2587,11 @@ declare namespace io.flow.shopify.xborder.v0.models {
2579
2587
  readonly transactions: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
2580
2588
  }
2581
2589
 
2590
+ interface ShopifyCountryHarmonizedSystemCode {
2591
+ readonly country_code: string;
2592
+ readonly harmonized_system_code: string;
2593
+ }
2594
+
2582
2595
  interface ShopifyError {
2583
2596
  readonly errors: any /*object*/;
2584
2597
  }
@@ -2596,6 +2609,37 @@ declare namespace io.flow.shopify.xborder.v0.models {
2596
2609
  readonly fulfillment_orders: io.flow.shopify.xborder.v0.models.ShopifyFulfillmentOrder[];
2597
2610
  }
2598
2611
 
2612
+ interface ShopifyInventoryItem {
2613
+ readonly id: number;
2614
+ readonly cost: number;
2615
+ readonly country_code_of_origin?: string;
2616
+ readonly country_harmonized_system_codes?: io.flow.shopify.xborder.v0.models.ShopifyCountryHarmonizedSystemCode[];
2617
+ readonly harmonized_system_code?: string;
2618
+ readonly province_code_of_origin?: string;
2619
+ readonly sku: string;
2620
+ readonly tracked?: boolean;
2621
+ readonly requires_shipping: boolean;
2622
+ readonly created_at: string;
2623
+ readonly updated_at: string;
2624
+ }
2625
+
2626
+ interface ShopifyInventoryItemForm {
2627
+ readonly harmonized_system_code?: string;
2628
+ readonly country_harmonized_system_codes?: io.flow.shopify.xborder.v0.models.ShopifyCountryHarmonizedSystemCode[];
2629
+ }
2630
+
2631
+ interface ShopifyInventoryItemFormWrapper {
2632
+ readonly inventory_item: io.flow.shopify.xborder.v0.models.ShopifyInventoryItemForm;
2633
+ }
2634
+
2635
+ interface ShopifyInventoryItemWrapper {
2636
+ readonly inventory_item: io.flow.shopify.xborder.v0.models.ShopifyInventoryItem;
2637
+ }
2638
+
2639
+ interface ShopifyInventoryItemsWrapper {
2640
+ readonly inventory_items: io.flow.shopify.xborder.v0.models.ShopifyInventoryItem[];
2641
+ }
2642
+
2599
2643
  interface ShopifyLocation {
2600
2644
  readonly active: boolean;
2601
2645
  readonly address1?: string;
@@ -5946,6 +5990,16 @@ declare namespace io.flow.label.v0.models {
5946
5990
  readonly items: io.flow.common.v0.models.LineItemForm[];
5947
5991
  readonly center_key?: string;
5948
5992
  }
5993
+
5994
+ interface SummaryShippingNotificationForm {
5995
+ readonly discriminator: 'summary_shipping_notification_form';
5996
+ readonly order_number: string;
5997
+ readonly items: io.flow.common.v0.models.LineItemForm[];
5998
+ readonly service: string;
5999
+ readonly carrier_tracking_number: string;
6000
+ readonly key?: string;
6001
+ readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
6002
+ }
5949
6003
  }
5950
6004
 
5951
6005
  declare namespace io.flow.label.v0.unions {
@@ -5954,7 +6008,8 @@ declare namespace io.flow.label.v0.unions {
5954
6008
  | io.flow.label.v0.models.SummaryShippingLabelForm;
5955
6009
  type ShippingNotificationForm =
5956
6010
  | io.flow.label.v0.models.DetailedShippingNotificationForm
5957
- | io.flow.label.v0.models.SinglePackageShippingNotificationForm;
6011
+ | io.flow.label.v0.models.SinglePackageShippingNotificationForm
6012
+ | io.flow.label.v0.models.SummaryShippingNotificationForm;
5958
6013
  }
5959
6014
 
5960
6015
  declare namespace io.flow.external.paypal.v1.enums {
@@ -11864,6 +11919,10 @@ declare namespace io.flow.session.v0.unions {
11864
11919
 
11865
11920
  declare namespace io.flow.internal.v0.enums {
11866
11921
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
11922
+ type ApiCallReferenceId =
11923
+ | 'duty_rates_data_event'
11924
+ | 'integration_test'
11925
+ | 'unit_test';
11867
11926
  type BillingAllocationKey =
11868
11927
  | 'freight_cost'
11869
11928
  | 'adjustment'
@@ -12014,7 +12073,11 @@ declare namespace io.flow.internal.v0.enums {
12014
12073
  | 'checkout_not_found'
12015
12074
  | 'sequence_number_already_exists'
12016
12075
  | 'sequence_number_must_be_greater_than_starting_number';
12017
- type CheckoutInfoAddressBookContactsKeyField = 'shipping_country' | 'edits';
12076
+ type CheckoutInfoAddressBookContactsKeyField =
12077
+ | 'address_type'
12078
+ | 'country'
12079
+ | 'edits'
12080
+ | 'shipping_country';
12018
12081
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
12019
12082
  type CheckoutInfoAddressPredictionsKeyField = 'input';
12020
12083
  type CheckoutInfoContentKeyField = 'locale';
@@ -12448,7 +12511,8 @@ declare namespace io.flow.internal.v0.enums {
12448
12511
  | 'manual'
12449
12512
  | 'manually_accepted'
12450
12513
  | 'manually_overridden'
12451
- | 'automatically_accepted';
12514
+ | 'automatically_accepted'
12515
+ | 'pending';
12452
12516
  type ItemHarmonizationStatus =
12453
12517
  | 'waiting_for_classification'
12454
12518
  | 'classified'
@@ -12531,7 +12595,10 @@ declare namespace io.flow.internal.v0.enums {
12531
12595
  | 'goods_below_value_threshold'
12532
12596
  | 'order_below_de_minimis_threshold'
12533
12597
  | 'amount_below_de_minimis_threshold'
12534
- | 'delivered_unpaid';
12598
+ | 'delivered_unpaid'
12599
+ | 'duty_free_domestic'
12600
+ | 'duty_free_intra_community'
12601
+ | 'duty_free_by_trade_agreement';
12535
12602
  type OrderAction =
12536
12603
  | 'consumer_submit'
12537
12604
  | 'fraud_review_accept'
@@ -12643,7 +12710,9 @@ declare namespace io.flow.internal.v0.enums {
12643
12710
  | 'ignored'
12644
12711
  | 'escalated'
12645
12712
  | 'requeued'
12646
- | 'unverified';
12713
+ | 'unverified'
12714
+ | 'queued'
12715
+ | 'unconfident';
12647
12716
  }
12648
12717
 
12649
12718
  declare namespace io.flow.internal.v0.models {
@@ -12718,7 +12787,7 @@ declare namespace io.flow.internal.v0.models {
12718
12787
  interface AccountPostForm {
12719
12788
  readonly timezone: string;
12720
12789
  readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
12721
- readonly payment_conditions: string;
12790
+ readonly payment_conditions?: string;
12722
12791
  readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
12723
12792
  readonly center_key?: string;
12724
12793
  }
@@ -12726,7 +12795,7 @@ declare namespace io.flow.internal.v0.models {
12726
12795
  interface AccountPutForm {
12727
12796
  readonly timezone: string;
12728
12797
  readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
12729
- readonly payment_conditions: string;
12798
+ readonly payment_conditions?: string;
12730
12799
  readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
12731
12800
  readonly center_key?: string;
12732
12801
  }
@@ -13806,6 +13875,10 @@ declare namespace io.flow.internal.v0.models {
13806
13875
  readonly company?: string;
13807
13876
  }
13808
13877
 
13878
+ interface CheckoutAddressBook {
13879
+ readonly contacts: io.flow.internal.v0.models.CheckoutAddressBookContact[];
13880
+ }
13881
+
13809
13882
  interface CheckoutAddressBookContact {
13810
13883
  readonly id: string;
13811
13884
  readonly address: io.flow.internal.v0.models.CheckoutAddress;
@@ -13817,6 +13890,11 @@ declare namespace io.flow.internal.v0.models {
13817
13890
  readonly id: string;
13818
13891
  }
13819
13892
 
13893
+ interface CheckoutAddressBookContactRemoved {
13894
+ readonly discriminator: 'checkout_address_book_contact_removed';
13895
+ readonly id: string;
13896
+ }
13897
+
13820
13898
  interface CheckoutAddressPrediction {
13821
13899
  readonly description: string;
13822
13900
  readonly id: string;
@@ -14720,8 +14798,10 @@ declare namespace io.flow.internal.v0.models {
14720
14798
  }
14721
14799
 
14722
14800
  interface CheckoutOrderAddressBookInputs {
14801
+ readonly address_book: io.flow.internal.v0.models.CheckoutAddressBook;
14723
14802
  readonly shipping?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
14724
14803
  readonly invoicing?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
14804
+ readonly edits?: io.flow.internal.v0.unions.CheckoutAddressBookEdit[];
14725
14805
  }
14726
14806
 
14727
14807
  interface CheckoutOrderAddressInputs {
@@ -16316,6 +16396,7 @@ declare namespace io.flow.internal.v0.models {
16316
16396
  interface DutyRatesData {
16317
16397
  readonly id: string;
16318
16398
  readonly item_summary: io.flow.internal.v0.models.DutyRateItemSummary;
16399
+ readonly hs6_code: string;
16319
16400
  readonly rates: io.flow.internal.v0.models.DutyRate[];
16320
16401
  }
16321
16402
 
@@ -18201,6 +18282,7 @@ declare namespace io.flow.internal.v0.models {
18201
18282
  readonly model_id: string;
18202
18283
  readonly labels_prediction: io.flow.internal.v0.models.LabelsPrediction;
18203
18284
  readonly action: io.flow.internal.v0.enums.SuggestionAction;
18285
+ readonly prediction_score?: number;
18204
18286
  }
18205
18287
 
18206
18288
  interface ItemClassificationForm {
@@ -19831,7 +19913,7 @@ declare namespace io.flow.internal.v0.models {
19831
19913
  interface Prediction {
19832
19914
  readonly main_material: string;
19833
19915
  readonly gender: string;
19834
- readonly construction: string;
19916
+ readonly construction?: string;
19835
19917
  readonly item: string;
19836
19918
  }
19837
19919
 
@@ -20834,6 +20916,8 @@ declare namespace io.flow.internal.v0.models {
20834
20916
 
20835
20917
  interface ShopifyXborderShop {
20836
20918
  readonly id: string;
20919
+ readonly domain: string;
20920
+ readonly myshopify_domain: string;
20837
20921
  readonly organization_id: string;
20838
20922
  readonly shop: string;
20839
20923
  readonly created_at: string;
@@ -20844,6 +20928,8 @@ declare namespace io.flow.internal.v0.models {
20844
20928
 
20845
20929
  interface ShopifyXborderShopForm {
20846
20930
  readonly shop: string;
20931
+ readonly domain: string;
20932
+ readonly myshopify_domain: string;
20847
20933
  readonly api_key: string;
20848
20934
  readonly api_password: string;
20849
20935
  readonly shared_secret: string;
@@ -21715,6 +21801,7 @@ declare namespace io.flow.internal.v0.unions {
21715
21801
  | io.flow.internal.v0.models.FedexCrossborder
21716
21802
  | io.flow.internal.v0.models.Ups
21717
21803
  | io.flow.internal.v0.models.Fedex;
21804
+ type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
21718
21805
  type CheckoutAnalyticsDeliveryOption =
21719
21806
  | io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption
21720
21807
  | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
@@ -22499,6 +22586,7 @@ export type AlertRequeueSummary = io.flow.internal.v0.models.AlertRequeueSummary
22499
22586
  export type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
22500
22587
  export type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference;
22501
22588
  export type AllowedLabels = io.flow.internal.v0.models.AllowedLabels;
22589
+ export type ApiCallReferenceId = io.flow.internal.v0.enums.ApiCallReferenceId;
22502
22590
  export type ApmContent = io.flow.internal.v0.models.ApmContent;
22503
22591
  export type ApplePayAuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload;
22504
22592
  export type AttributeLabel = io.flow.internal.v0.models.AttributeLabel;
@@ -22619,8 +22707,11 @@ export type CheckoutAddOrderIdentifierErrorCode = io.flow.internal.v0.enums.Chec
22619
22707
  export type CheckoutAddPaymentDetailsError = io.flow.internal.v0.models.CheckoutAddPaymentDetailsError;
22620
22708
  export type CheckoutAddPaymentDetailsErrorCode = io.flow.internal.v0.enums.CheckoutAddPaymentDetailsErrorCode;
22621
22709
  export type CheckoutAddress = io.flow.internal.v0.models.CheckoutAddress;
22710
+ export type CheckoutAddressBook = io.flow.internal.v0.models.CheckoutAddressBook;
22622
22711
  export type CheckoutAddressBookContact = io.flow.internal.v0.models.CheckoutAddressBookContact;
22623
22712
  export type CheckoutAddressBookContactReference = io.flow.internal.v0.models.CheckoutAddressBookContactReference;
22713
+ export type CheckoutAddressBookContactRemoved = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
22714
+ export type CheckoutAddressBookEdit = io.flow.internal.v0.unions.CheckoutAddressBookEdit;
22624
22715
  export type CheckoutAddressPrediction = io.flow.internal.v0.models.CheckoutAddressPrediction;
22625
22716
  export type CheckoutAddressPredictionMetadata = io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
22626
22717
  export type CheckoutAddressPredictions = io.flow.internal.v0.models.CheckoutAddressPredictions;
package/src/api.ts CHANGED
@@ -2287,6 +2287,10 @@ declare namespace io.flow.v0.enums {
2287
2287
  | 'catalog_item_deleted_v2'
2288
2288
  | 'subcatalog_item_upserted'
2289
2289
  | 'subcatalog_item_deleted'
2290
+ | 'channel_upserted'
2291
+ | 'channel_deleted'
2292
+ | 'channel_organization_upserted'
2293
+ | 'channel_organization_deleted'
2290
2294
  | 'b2b_invoice_upserted'
2291
2295
  | 'b2b_invoice_deleted'
2292
2296
  | 'b2b_credit_memo_upserted'
@@ -2551,7 +2555,7 @@ declare namespace io.flow.v0.enums {
2551
2555
  | 'card'
2552
2556
  | 'online'
2553
2557
  | 'credit'
2554
- | 'replacement_order'
2558
+ | 'subsidized'
2555
2559
  | 'installment_plan'
2556
2560
  | 'cash_on_delivery';
2557
2561
  type OrderPriceDetailComponentKey =
@@ -4068,10 +4072,16 @@ declare namespace io.flow.v0.models {
4068
4072
 
4069
4073
  interface Channel {
4070
4074
  readonly id: string;
4071
- readonly key: string;
4072
4075
  readonly name: string;
4073
4076
  }
4074
4077
 
4078
+ interface ChannelDeleted {
4079
+ readonly discriminator: 'channel_deleted';
4080
+ readonly event_id: string;
4081
+ readonly timestamp: string;
4082
+ readonly channel: io.flow.v0.models.Channel;
4083
+ }
4084
+
4075
4085
  interface ChannelForm {
4076
4086
  readonly name: string;
4077
4087
  }
@@ -4079,12 +4089,54 @@ declare namespace io.flow.v0.models {
4079
4089
  interface ChannelOrganization {
4080
4090
  readonly id: string;
4081
4091
  readonly organization: io.flow.v0.models.OrganizationReference;
4082
- readonly key: string;
4083
4092
  readonly channel: io.flow.v0.models.ChannelReference;
4084
4093
  }
4085
4094
 
4095
+ interface ChannelOrganizationDeleted {
4096
+ readonly discriminator: 'channel_organization_deleted';
4097
+ readonly event_id: string;
4098
+ readonly timestamp: string;
4099
+ readonly channel_organization: io.flow.v0.models.ChannelOrganization;
4100
+ }
4101
+
4102
+ interface ChannelOrganizationUpserted {
4103
+ readonly discriminator: 'channel_organization_upserted';
4104
+ readonly event_id: string;
4105
+ readonly timestamp: string;
4106
+ readonly channel_organization: io.flow.v0.models.ChannelOrganization;
4107
+ }
4108
+
4086
4109
  interface ChannelReference {
4087
- readonly key: string;
4110
+ readonly id: string;
4111
+ }
4112
+
4113
+ interface ChannelToken {
4114
+ readonly discriminator: 'channel_token';
4115
+ readonly id: string;
4116
+ readonly channel: io.flow.v0.models.ChannelReference;
4117
+ readonly user: io.flow.v0.models.UserReference;
4118
+ readonly partial: string;
4119
+ readonly created_at: string;
4120
+ readonly description?: string;
4121
+ }
4122
+
4123
+ interface ChannelTokenForm {
4124
+ readonly channel_id: string;
4125
+ readonly description?: string;
4126
+ }
4127
+
4128
+ interface ChannelTokenReference {
4129
+ readonly discriminator: 'channel_token_reference';
4130
+ readonly id: string;
4131
+ readonly channel: io.flow.v0.models.ChannelReference;
4132
+ readonly user: io.flow.v0.models.UserReference;
4133
+ }
4134
+
4135
+ interface ChannelUpserted {
4136
+ readonly discriminator: 'channel_upserted';
4137
+ readonly event_id: string;
4138
+ readonly timestamp: string;
4139
+ readonly channel: io.flow.v0.models.Channel;
4088
4140
  }
4089
4141
 
4090
4142
  interface CheckoutAttribute {
@@ -8361,6 +8413,7 @@ declare namespace io.flow.v0.models {
8361
8413
  readonly discriminator: 'payment_request_upserted';
8362
8414
  readonly event_id: string;
8363
8415
  readonly timestamp: string;
8416
+ readonly organization: string;
8364
8417
  readonly payment_request: io.flow.v0.models.PaymentRequest;
8365
8418
  }
8366
8419
 
@@ -10465,6 +10518,16 @@ declare namespace io.flow.v0.models {
10465
10518
  readonly center_key?: string;
10466
10519
  }
10467
10520
 
10521
+ interface SummaryShippingNotificationForm {
10522
+ readonly discriminator: 'summary_shipping_notification_form';
10523
+ readonly order_number: string;
10524
+ readonly items: io.flow.v0.models.LineItemForm[];
10525
+ readonly service: string;
10526
+ readonly carrier_tracking_number: string;
10527
+ readonly key?: string;
10528
+ readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient;
10529
+ }
10530
+
10468
10531
  interface SurchargeResponsiblePartyDisplay {
10469
10532
  readonly name: string;
10470
10533
  readonly responsible_party: io.flow.v0.enums.SurchargeResponsibleParty;
@@ -11191,6 +11254,10 @@ declare namespace io.flow.v0.unions {
11191
11254
  | io.flow.v0.models.CatalogItemDeletedV2
11192
11255
  | io.flow.v0.models.SubcatalogItemUpserted
11193
11256
  | io.flow.v0.models.SubcatalogItemDeleted
11257
+ | io.flow.v0.models.ChannelUpserted
11258
+ | io.flow.v0.models.ChannelDeleted
11259
+ | io.flow.v0.models.ChannelOrganizationUpserted
11260
+ | io.flow.v0.models.ChannelOrganizationDeleted
11194
11261
  | io.flow.v0.models.B2BInvoiceUpserted
11195
11262
  | io.flow.v0.models.B2BInvoiceDeleted
11196
11263
  | io.flow.v0.models.B2BCreditMemoUpserted
@@ -11527,7 +11594,8 @@ declare namespace io.flow.v0.unions {
11527
11594
  | io.flow.v0.models.SummaryShippingLabelForm;
11528
11595
  type ShippingNotificationForm =
11529
11596
  | io.flow.v0.models.DetailedShippingNotificationForm
11530
- | io.flow.v0.models.SinglePackageShippingNotificationForm;
11597
+ | io.flow.v0.models.SinglePackageShippingNotificationForm
11598
+ | io.flow.v0.models.SummaryShippingNotificationForm;
11531
11599
  type ShopifyCartAddForm =
11532
11600
  | io.flow.v0.models.ShopifyCartAddSingleForm
11533
11601
  | io.flow.v0.models.ShopifyCartAddMultipleForm;
@@ -11548,9 +11616,11 @@ declare namespace io.flow.v0.unions {
11548
11616
  | io.flow.v0.models.AtCost
11549
11617
  | io.flow.v0.models.PercentMargin;
11550
11618
  type Token =
11619
+ | io.flow.v0.models.ChannelToken
11551
11620
  | io.flow.v0.models.OrganizationToken
11552
11621
  | io.flow.v0.models.PartnerToken;
11553
11622
  type TokenReference =
11623
+ | io.flow.v0.models.ChannelTokenReference
11554
11624
  | io.flow.v0.models.OrganizationTokenReference
11555
11625
  | io.flow.v0.models.PartnerTokenReference;
11556
11626
  }
@@ -11752,9 +11822,16 @@ export type CenterUpserted = io.flow.v0.models.CenterUpserted;
11752
11822
  export type CenterVersion = io.flow.v0.models.CenterVersion;
11753
11823
  export type ChangeType = io.flow.v0.enums.ChangeType;
11754
11824
  export type Channel = io.flow.v0.models.Channel;
11825
+ export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
11755
11826
  export type ChannelForm = io.flow.v0.models.ChannelForm;
11756
11827
  export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
11828
+ export type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
11829
+ export type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted;
11757
11830
  export type ChannelReference = io.flow.v0.models.ChannelReference;
11831
+ export type ChannelToken = io.flow.v0.models.ChannelToken;
11832
+ export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
11833
+ export type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
11834
+ export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
11758
11835
  export type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
11759
11836
  export type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
11760
11837
  export type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
@@ -12834,6 +12911,7 @@ export type SubcatalogUpserted = io.flow.v0.models.SubcatalogUpserted;
12834
12911
  export type SubcatalogVersion = io.flow.v0.models.SubcatalogVersion;
12835
12912
  export type Suggestion = io.flow.v0.models.Suggestion;
12836
12913
  export type SummaryShippingLabelForm = io.flow.v0.models.SummaryShippingLabelForm;
12914
+ export type SummaryShippingNotificationForm = io.flow.v0.models.SummaryShippingNotificationForm;
12837
12915
  export type SurchargeResponsibleParty = io.flow.v0.enums.SurchargeResponsibleParty;
12838
12916
  export type SurchargeResponsiblePartyDisplay = io.flow.v0.models.SurchargeResponsiblePartyDisplay;
12839
12917
  export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;