@flowio/api-internal-prop-types 9.19.7 → 9.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.
@@ -337,6 +337,10 @@ declare namespace io.flow.common.v0.models {
337
337
  readonly 'attributes': Record<string, string>;
338
338
  }
339
339
 
340
+ interface ChannelReference {
341
+ readonly 'id': string;
342
+ }
343
+
340
344
  interface CheckoutReference {
341
345
  readonly 'id': string;
342
346
  }
@@ -704,7 +708,7 @@ declare namespace io.flow.experience.v0.enums {
704
708
  type ExperiencePaymentMethodTag = 'display';
705
709
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
706
710
  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';
707
- type OrderPaymentType = 'card' | 'online' | 'credit' | 'installment_plan' | 'cash_on_delivery';
711
+ type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
708
712
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
709
713
  type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
710
714
  type OrderStatus = 'open' | 'submitted';
@@ -2276,7 +2280,7 @@ declare namespace io.flow.shopify.xborder.v0.enums {
2276
2280
  type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
2277
2281
  type ShopifyOrderValueType = 'string' | 'integer';
2278
2282
  type ShopifyWebhookFormat = 'json' | 'xml';
2279
- 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';
2283
+ 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';
2280
2284
  }
2281
2285
 
2282
2286
  declare namespace io.flow.shopify.xborder.v0.models {
@@ -2284,6 +2288,11 @@ declare namespace io.flow.shopify.xborder.v0.models {
2284
2288
  readonly 'transactions': io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
2285
2289
  }
2286
2290
 
2291
+ interface ShopifyCountryHarmonizedSystemCode {
2292
+ readonly 'country_code': string;
2293
+ readonly 'harmonized_system_code': string;
2294
+ }
2295
+
2287
2296
  interface ShopifyError {
2288
2297
  readonly 'errors': any/*object*/;
2289
2298
  }
@@ -2301,6 +2310,37 @@ declare namespace io.flow.shopify.xborder.v0.models {
2301
2310
  readonly 'fulfillment_orders': io.flow.shopify.xborder.v0.models.ShopifyFulfillmentOrder[];
2302
2311
  }
2303
2312
 
2313
+ interface ShopifyInventoryItem {
2314
+ readonly 'id': number;
2315
+ readonly 'cost': number;
2316
+ readonly 'country_code_of_origin'?: string;
2317
+ readonly 'country_harmonized_system_codes'?: io.flow.shopify.xborder.v0.models.ShopifyCountryHarmonizedSystemCode[];
2318
+ readonly 'harmonized_system_code'?: string;
2319
+ readonly 'province_code_of_origin'?: string;
2320
+ readonly 'sku': string;
2321
+ readonly 'tracked'?: boolean;
2322
+ readonly 'requires_shipping': boolean;
2323
+ readonly 'created_at': string;
2324
+ readonly 'updated_at': string;
2325
+ }
2326
+
2327
+ interface ShopifyInventoryItemForm {
2328
+ readonly 'harmonized_system_code'?: string;
2329
+ readonly 'country_harmonized_system_codes'?: io.flow.shopify.xborder.v0.models.ShopifyCountryHarmonizedSystemCode[];
2330
+ }
2331
+
2332
+ interface ShopifyInventoryItemFormWrapper {
2333
+ readonly 'inventory_item': io.flow.shopify.xborder.v0.models.ShopifyInventoryItemForm;
2334
+ }
2335
+
2336
+ interface ShopifyInventoryItemWrapper {
2337
+ readonly 'inventory_item': io.flow.shopify.xborder.v0.models.ShopifyInventoryItem;
2338
+ }
2339
+
2340
+ interface ShopifyInventoryItemsWrapper {
2341
+ readonly 'inventory_items': io.flow.shopify.xborder.v0.models.ShopifyInventoryItem[];
2342
+ }
2343
+
2304
2344
  interface ShopifyLocation {
2305
2345
  readonly 'active': boolean;
2306
2346
  readonly 'address1'?: string;
@@ -5342,11 +5382,21 @@ declare namespace io.flow.label.v0.models {
5342
5382
  readonly 'items': io.flow.common.v0.models.LineItemForm[];
5343
5383
  readonly 'center_key'?: string;
5344
5384
  }
5385
+
5386
+ interface SummaryShippingNotificationForm {
5387
+ readonly 'discriminator': 'summary_shipping_notification_form';
5388
+ readonly 'order_number': string;
5389
+ readonly 'items': io.flow.common.v0.models.LineItemForm[];
5390
+ readonly 'service': string;
5391
+ readonly 'carrier_tracking_number': string;
5392
+ readonly 'key'?: string;
5393
+ readonly 'shipment_recipient'?: io.flow.label.v0.enums.ShipmentRecipient;
5394
+ }
5345
5395
  }
5346
5396
 
5347
5397
  declare namespace io.flow.label.v0.unions {
5348
5398
  type ShippingLabelForm = (io.flow.label.v0.models.DetailedShippingLabelForm | io.flow.label.v0.models.SummaryShippingLabelForm);
5349
- type ShippingNotificationForm = (io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm);
5399
+ type ShippingNotificationForm = (io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm | io.flow.label.v0.models.SummaryShippingNotificationForm);
5350
5400
  }
5351
5401
 
5352
5402
  declare namespace io.flow.external.paypal.v1.enums {
@@ -10493,6 +10543,7 @@ declare namespace io.flow.session.v0.unions {
10493
10543
 
10494
10544
  declare namespace io.flow.internal.v0.enums {
10495
10545
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
10546
+ type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
10496
10547
  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';
10497
10548
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
10498
10549
  type BillingStatementReviewStatus = 'approved' | 'pending';
@@ -10528,7 +10579,7 @@ declare namespace io.flow.internal.v0.enums {
10528
10579
  type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
10529
10580
  type CheckoutGetErrorCode = 'checkout_not_found';
10530
10581
  type CheckoutHttpSequencedRequestErrorCode = 'checkout_not_found' | 'sequence_number_already_exists' | 'sequence_number_must_be_greater_than_starting_number';
10531
- type CheckoutInfoAddressBookContactsKeyField = 'shipping_country' | 'edits';
10582
+ type CheckoutInfoAddressBookContactsKeyField = 'address_type' | 'country' | 'edits' | 'shipping_country';
10532
10583
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
10533
10584
  type CheckoutInfoAddressPredictionsKeyField = 'input';
10534
10585
  type CheckoutInfoContentKeyField = 'locale';
@@ -10608,7 +10659,7 @@ declare namespace io.flow.internal.v0.enums {
10608
10659
  type InventoryCheckService = 'sfcc' | 'gymboree';
10609
10660
  type InventoryReservation = 'synchronous-on-submit';
10610
10661
  type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
10611
- type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted';
10662
+ type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted' | 'pending';
10612
10663
  type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'exempt';
10613
10664
  type ItemQuantityAction = 'fulfillment_ship' | 'fulfillment_cancel' | 'fulfillment_generate_label';
10614
10665
  type ItemType = 'standard' | 'multi_product';
@@ -10626,7 +10677,7 @@ declare namespace io.flow.internal.v0.enums {
10626
10677
  type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
10627
10678
  type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
10628
10679
  type NatureOfSale = 'consumer' | 'to_non_registered_business' | 'to_registered_business' | 'flash_title';
10629
- 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';
10680
+ 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';
10630
10681
  type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
10631
10682
  type OrderAttributeIntent = 'discount_code';
10632
10683
  type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
@@ -10677,7 +10728,7 @@ declare namespace io.flow.internal.v0.enums {
10677
10728
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
10678
10729
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
10679
10730
  type TransferMethod = 'ach';
10680
- type UnclassifiedProductStatus = 'ignored' | 'escalated' | 'requeued' | 'unverified';
10731
+ type UnclassifiedProductStatus = 'ignored' | 'escalated' | 'requeued' | 'unverified' | 'queued' | 'unconfident';
10681
10732
  }
10682
10733
 
10683
10734
  declare namespace io.flow.internal.v0.models {
@@ -10752,7 +10803,7 @@ declare namespace io.flow.internal.v0.models {
10752
10803
  interface AccountPostForm {
10753
10804
  readonly 'timezone': string;
10754
10805
  readonly 'payment_schedule': io.flow.common.v0.unions.RepeatSchedule;
10755
- readonly 'payment_conditions': string;
10806
+ readonly 'payment_conditions'?: string;
10756
10807
  readonly 'deposit_rule'?: io.flow.internal.v0.models.AccountDepositRuleForm;
10757
10808
  readonly 'center_key'?: string;
10758
10809
  }
@@ -10760,7 +10811,7 @@ declare namespace io.flow.internal.v0.models {
10760
10811
  interface AccountPutForm {
10761
10812
  readonly 'timezone': string;
10762
10813
  readonly 'payment_schedule': io.flow.common.v0.unions.RepeatSchedule;
10763
- readonly 'payment_conditions': string;
10814
+ readonly 'payment_conditions'?: string;
10764
10815
  readonly 'deposit_rule'?: io.flow.internal.v0.models.AccountDepositRuleForm;
10765
10816
  readonly 'center_key'?: string;
10766
10817
  }
@@ -11840,6 +11891,10 @@ declare namespace io.flow.internal.v0.models {
11840
11891
  readonly 'company'?: string;
11841
11892
  }
11842
11893
 
11894
+ interface CheckoutAddressBook {
11895
+ readonly 'contacts': io.flow.internal.v0.models.CheckoutAddressBookContact[];
11896
+ }
11897
+
11843
11898
  interface CheckoutAddressBookContact {
11844
11899
  readonly 'id': string;
11845
11900
  readonly 'address': io.flow.internal.v0.models.CheckoutAddress;
@@ -11851,6 +11906,11 @@ declare namespace io.flow.internal.v0.models {
11851
11906
  readonly 'id': string;
11852
11907
  }
11853
11908
 
11909
+ interface CheckoutAddressBookContactRemoved {
11910
+ readonly 'discriminator': 'checkout_address_book_contact_removed';
11911
+ readonly 'id': string;
11912
+ }
11913
+
11854
11914
  interface CheckoutAddressPrediction {
11855
11915
  readonly 'description': string;
11856
11916
  readonly 'id': string;
@@ -12751,8 +12811,10 @@ declare namespace io.flow.internal.v0.models {
12751
12811
  }
12752
12812
 
12753
12813
  interface CheckoutOrderAddressBookInputs {
12814
+ readonly 'address_book': io.flow.internal.v0.models.CheckoutAddressBook;
12754
12815
  readonly 'shipping'?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
12755
12816
  readonly 'invoicing'?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
12817
+ readonly 'edits'?: io.flow.internal.v0.unions.CheckoutAddressBookEdit[];
12756
12818
  }
12757
12819
 
12758
12820
  interface CheckoutOrderAddressInputs {
@@ -14335,6 +14397,7 @@ declare namespace io.flow.internal.v0.models {
14335
14397
  interface DutyRatesData {
14336
14398
  readonly 'id': string;
14337
14399
  readonly 'item_summary': io.flow.internal.v0.models.DutyRateItemSummary;
14400
+ readonly 'hs6_code': string;
14338
14401
  readonly 'rates': io.flow.internal.v0.models.DutyRate[];
14339
14402
  }
14340
14403
 
@@ -16220,6 +16283,7 @@ declare namespace io.flow.internal.v0.models {
16220
16283
  readonly 'model_id': string;
16221
16284
  readonly 'labels_prediction': io.flow.internal.v0.models.LabelsPrediction;
16222
16285
  readonly 'action': io.flow.internal.v0.enums.SuggestionAction;
16286
+ readonly 'prediction_score'?: number;
16223
16287
  }
16224
16288
 
16225
16289
  interface ItemClassificationForm {
@@ -17841,7 +17905,7 @@ declare namespace io.flow.internal.v0.models {
17841
17905
  interface Prediction {
17842
17906
  readonly 'main_material': string;
17843
17907
  readonly 'gender': string;
17844
- readonly 'construction': string;
17908
+ readonly 'construction'?: string;
17845
17909
  readonly 'item': string;
17846
17910
  }
17847
17911
 
@@ -18844,6 +18908,8 @@ declare namespace io.flow.internal.v0.models {
18844
18908
 
18845
18909
  interface ShopifyXborderShop {
18846
18910
  readonly 'id': string;
18911
+ readonly 'domain': string;
18912
+ readonly 'myshopify_domain': string;
18847
18913
  readonly 'organization_id': string;
18848
18914
  readonly 'shop': string;
18849
18915
  readonly 'created_at': string;
@@ -18854,6 +18920,8 @@ declare namespace io.flow.internal.v0.models {
18854
18920
 
18855
18921
  interface ShopifyXborderShopForm {
18856
18922
  readonly 'shop': string;
18923
+ readonly 'domain': string;
18924
+ readonly 'myshopify_domain': string;
18857
18925
  readonly 'api_key': string;
18858
18926
  readonly 'api_password': string;
18859
18927
  readonly 'shared_secret': string;
@@ -19701,6 +19769,7 @@ declare namespace io.flow.internal.v0.unions {
19701
19769
  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);
19702
19770
  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);
19703
19771
  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);
19772
+ type CheckoutAddressBookEdit = (io.flow.internal.v0.models.CheckoutAddressBookContactRemoved);
19704
19773
  type CheckoutAnalyticsDeliveryOption = (io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption);
19705
19774
  type CheckoutAnalyticsOrder = (io.flow.internal.v0.models.CheckoutAnalyticsOpenOrder | io.flow.internal.v0.models.CheckoutAnalyticsSubmittedOrder);
19706
19775
  type CheckoutAnalyticsPayment = (io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentOnline);
@@ -19836,6 +19905,7 @@ declare namespace io.flow.internal.v0.unions {
19836
19905
  }
19837
19906
 
19838
19907
  export const addressConfigurationSettingProvinceCode: PropTypes.Requireable<io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode>;
19908
+ export const apiCallReferenceId: PropTypes.Requireable<io.flow.internal.v0.enums.ApiCallReferenceId>;
19839
19909
  export const billingAllocationKey: PropTypes.Requireable<io.flow.internal.v0.enums.BillingAllocationKey>;
19840
19910
  export const billingStatementAttachmentKey: PropTypes.Requireable<io.flow.internal.v0.enums.BillingStatementAttachmentKey>;
19841
19911
  export const billingStatementReviewStatus: PropTypes.Requireable<io.flow.internal.v0.enums.BillingStatementReviewStatus>;
@@ -20183,8 +20253,10 @@ export const checkoutAddLineError: PropTypes.Requireable<io.flow.internal.v0.mod
20183
20253
  export const checkoutAddOrderIdentifierError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddOrderIdentifierError>;
20184
20254
  export const checkoutAddPaymentDetailsError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddPaymentDetailsError>;
20185
20255
  export const checkoutAddress: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddress>;
20256
+ export const checkoutAddressBook: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressBook>;
20186
20257
  export const checkoutAddressBookContact: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressBookContact>;
20187
20258
  export const checkoutAddressBookContactReference: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressBookContactReference>;
20259
+ export const checkoutAddressBookContactRemoved: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressBookContactRemoved>;
20188
20260
  export const checkoutAddressPrediction: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressPrediction>;
20189
20261
  export const checkoutAddressPredictionMetadata: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressPredictionMetadata>;
20190
20262
  export const checkoutAddressPredictions: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutAddressPredictions>;
@@ -21303,6 +21375,7 @@ export const authorizedOrderCharge: PropTypes.Requireable<io.flow.internal.v0.un
21303
21375
  export const blazeConsumerMessage: PropTypes.Requireable<io.flow.internal.v0.unions.BlazeConsumerMessage>;
21304
21376
  export const blazeProviderMessage: PropTypes.Requireable<io.flow.internal.v0.unions.BlazeProviderMessage>;
21305
21377
  export const carrierCredentials: PropTypes.Requireable<io.flow.internal.v0.unions.CarrierCredentials>;
21378
+ export const checkoutAddressBookEdit: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutAddressBookEdit>;
21306
21379
  export const checkoutAnalyticsDeliveryOption: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutAnalyticsDeliveryOption>;
21307
21380
  export const checkoutAnalyticsOrder: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutAnalyticsOrder>;
21308
21381
  export const checkoutAnalyticsPayment: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutAnalyticsPayment>;