@flowio/api-internal-prop-types 9.12.3 → 9.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "9.12.3",
3
+ "version": "9.13.0",
4
4
  "description": "PropType validators that work with internal Flow API",
5
5
  "keywords": [
6
6
  "flow",
@@ -30,5 +30,5 @@
30
30
  "peerDependencies": {
31
31
  "prop-types": "^15.7.0"
32
32
  },
33
- "gitHead": "ca70de1f2eff3c6c364f14748a6fa76c353157a1"
33
+ "gitHead": "462c26f90ea96f2f4a3a44d1d71ebeb3238f1239"
34
34
  }
@@ -273,6 +273,8 @@ declare namespace io.flow.experience.v0.enums {
273
273
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
274
274
  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';
275
275
  type OrderPaymentType = 'card' | 'online' | 'credit' | 'installment_plan' | 'cash_on_delivery';
276
+ type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
277
+ type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
276
278
  type OrderStatus = 'open' | 'submitted';
277
279
  type OrderStorage = 'do_not_persist' | 'persist';
278
280
  type OrganizationPaymentMethodTag = 'deny';
@@ -1031,6 +1033,42 @@ declare namespace io.flow.experience.v0.models {
1031
1033
  readonly 'number': string;
1032
1034
  }
1033
1035
 
1036
+ interface OrderRefundSummary {
1037
+ readonly 'currency': string;
1038
+ readonly 'amounts': io.flow.experience.v0.models.OrderRefundSummaryAmounts;
1039
+ }
1040
+
1041
+ interface OrderRefundSummaryAmounts {
1042
+ readonly 'balance': number;
1043
+ readonly 'item_subtotal': number;
1044
+ readonly 'discount'?: number;
1045
+ readonly 'refund_total': number;
1046
+ readonly 'shipping': number;
1047
+ readonly 'vat': number;
1048
+ readonly 'duty': number;
1049
+ }
1050
+
1051
+ interface OrderRefundSummaryFullForm {
1052
+ readonly 'discriminator': 'order_refund_summary_full_form';
1053
+ readonly 'includes': io.flow.experience.v0.enums.OrderRefundSummaryIncludes[];
1054
+ }
1055
+
1056
+ interface OrderRefundSummaryItem {
1057
+ readonly 'number': string;
1058
+ readonly 'quantity_to_refund': number;
1059
+ }
1060
+
1061
+ interface OrderRefundSummaryPartialForm {
1062
+ readonly 'discriminator': 'order_refund_summary_partial_form';
1063
+ readonly 'includes': io.flow.experience.v0.models.OrderRefundSummaryPartialIncludes[];
1064
+ readonly 'items': io.flow.experience.v0.models.OrderRefundSummaryItem[];
1065
+ }
1066
+
1067
+ interface OrderRefundSummaryPartialIncludes {
1068
+ readonly 'key': io.flow.experience.v0.enums.OrderRefundSummaryIncludes;
1069
+ readonly 'charged': io.flow.experience.v0.enums.OrderRefundSummaryPartialCharged;
1070
+ }
1071
+
1034
1072
  interface OrderRuleReference {
1035
1073
  readonly 'id': string;
1036
1074
  readonly 'key': string;
@@ -1210,6 +1248,7 @@ declare namespace io.flow.experience.v0.unions {
1210
1248
  type OrderNumberGenerator = (io.flow.experience.v0.models.OrderNumberGeneratorUuid | io.flow.experience.v0.models.OrderNumberGeneratorHexadecimal | io.flow.experience.v0.models.OrderNumberGeneratorPrefixSuffix);
1211
1249
  type OrderPromotion = (io.flow.experience.v0.models.FreeShippingOrderPromotion);
1212
1250
  type OrderPromotionForm = (io.flow.experience.v0.models.FreeShippingOrderPromotionForm);
1251
+ type OrderRefundSummaryForm = (io.flow.experience.v0.models.OrderRefundSummaryFullForm | io.flow.experience.v0.models.OrderRefundSummaryPartialForm);
1213
1252
 
1214
1253
  type PaymentMethodTag = ({
1215
1254
  discriminator: 'organization_payment_method_tag',
@@ -1581,64 +1620,6 @@ declare namespace io.flow.shopify.xborder.v0.models {
1581
1620
  readonly 'orders': io.flow.shopify.xborder.v0.models.ShopifyOrder[];
1582
1621
  }
1583
1622
 
1584
- interface ShopifyWebhookOrder {
1585
- readonly 'id': number;
1586
- readonly 'order_number': number;
1587
- readonly 'billing_address'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1588
- readonly 'browser_ip'?: string;
1589
- readonly 'buyer_accepts_marketing': boolean;
1590
- readonly 'cancel_reason'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
1591
- readonly 'cancelled_at'?: string;
1592
- readonly 'cart_token'?: string;
1593
- readonly 'client_details'?: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
1594
- readonly 'closed_at'?: string;
1595
- readonly 'created_at': string;
1596
- readonly 'currency': string;
1597
- readonly 'total_discounts_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1598
- readonly 'total_duties_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1599
- readonly 'original_total_duties_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1600
- readonly 'total_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1601
- readonly 'subtotal_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1602
- readonly 'total_tax_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1603
- readonly 'total_line_items_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1604
- readonly 'customer': io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
1605
- readonly 'customer_locale'?: string;
1606
- readonly 'discount_applications': io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
1607
- readonly 'discount_codes': io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
1608
- readonly 'email'?: string;
1609
- readonly 'financial_status': io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
1610
- readonly 'fulfillments': io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
1611
- readonly 'fulfillment_status'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
1612
- readonly 'landing_site'?: string;
1613
- readonly 'line_items': io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
1614
- readonly 'location_id'?: number;
1615
- readonly 'name': string;
1616
- readonly 'note'?: string;
1617
- readonly 'note_attributes': io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
1618
- readonly 'number'?: number;
1619
- readonly 'payment_gateway_names': string[];
1620
- readonly 'processed_at'?: string;
1621
- readonly 'processing_method'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
1622
- readonly 'referring_site'?: string;
1623
- readonly 'refunds': io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
1624
- readonly 'shipping_address'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1625
- readonly 'shipping_lines'?: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
1626
- readonly 'source_name'?: string;
1627
- readonly 'tags'?: string;
1628
- readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1629
- readonly 'taxes_included': boolean;
1630
- readonly 'token'?: string;
1631
- readonly 'total_weight'?: number;
1632
- readonly 'updated_at'?: string;
1633
- readonly 'user_id'?: number;
1634
- readonly 'order_status_url'?: string;
1635
- readonly 'inventory_behaviour'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
1636
- readonly 'gateway'?: string;
1637
- readonly 'transactions'?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
1638
- readonly 'send_receipt'?: boolean;
1639
- readonly 'metafields'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
1640
- }
1641
-
1642
1623
  interface ShopifyWebhookRequest {
1643
1624
  readonly 'topic': io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
1644
1625
  readonly 'address': string;
@@ -9467,11 +9448,15 @@ declare namespace io.flow.label.internal.v0.models {
9467
9448
  readonly 'id': string;
9468
9449
  readonly 'carrier': io.flow.fulfillment.v0.models.CarrierReference;
9469
9450
  readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
9451
+ readonly 'q'?: string;
9452
+ readonly 'position'?: number;
9470
9453
  }
9471
9454
 
9472
9455
  interface CarrierAccountForm {
9473
9456
  readonly 'carrier_id': string;
9474
9457
  readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
9458
+ readonly 'q'?: string;
9459
+ readonly 'position'?: number;
9475
9460
  }
9476
9461
 
9477
9462
  interface CarrierInvoice {
@@ -12196,6 +12181,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
12196
12181
  type CheckoutAddPaymentDetailsErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
12197
12182
  type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
12198
12183
  type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
12184
+ type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported' | 'order_not_found';
12199
12185
  type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
12200
12186
  type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
12201
12187
  type CheckoutDeleteLineErrorCode = 'line_not_found';
@@ -12295,6 +12281,15 @@ declare namespace io.flow.checkout.protocol.v0.models {
12295
12281
  readonly 'message': string;
12296
12282
  }
12297
12283
 
12284
+ interface CheckoutCreateBySessionByOrderError {
12285
+ readonly 'code': io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
12286
+ readonly 'message': string;
12287
+ }
12288
+
12289
+ interface CheckoutCreateBySessionByOrderResponseError {
12290
+ readonly 'errors': io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderError[];
12291
+ }
12292
+
12298
12293
  interface CheckoutCreateBySessionError {
12299
12294
  readonly 'code': io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionErrorCode;
12300
12295
  readonly 'message': string;
@@ -16073,7 +16068,7 @@ declare namespace io.flow.internal.v0.enums {
16073
16068
  type BillingStatementReviewStatus = 'approved' | 'pending';
16074
16069
  type BillingTransactionStatus = 'pending' | 'posted';
16075
16070
  type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
16076
- type BlazeCheckoutStep = 'contact' | 'shipping' | 'delivery' | 'payment';
16071
+ type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
16077
16072
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
16078
16073
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
16079
16074
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
@@ -16089,6 +16084,7 @@ declare namespace io.flow.internal.v0.enums {
16089
16084
  type CheckoutAssetType = 'stylesheet' | 'javascript';
16090
16085
  type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
16091
16086
  type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
16087
+ type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported' | 'order_not_found';
16092
16088
  type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
16093
16089
  type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
16094
16090
  type CheckoutDeleteLineErrorCode = 'line_not_found';
@@ -17101,6 +17097,14 @@ declare namespace io.flow.internal.v0.models {
17101
17097
  readonly 'session_id': string;
17102
17098
  }
17103
17099
 
17100
+ interface BlazePaymentAuthCompleteMessage {
17101
+ readonly 'discriminator': 'payment_auth_complete';
17102
+ }
17103
+
17104
+ interface BlazePaymentAuthStartMessage {
17105
+ readonly 'discriminator': 'payment_auth_start';
17106
+ }
17107
+
17104
17108
  interface BlazeRedirectConfirmationMessage {
17105
17109
  readonly 'discriminator': 'redirect_confirmation';
17106
17110
  readonly 'url': string;
@@ -17221,11 +17225,15 @@ declare namespace io.flow.internal.v0.models {
17221
17225
  readonly 'id': string;
17222
17226
  readonly 'carrier': io.flow.fulfillment.v0.models.CarrierReference;
17223
17227
  readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
17228
+ readonly 'q'?: string;
17229
+ readonly 'position'?: number;
17224
17230
  }
17225
17231
 
17226
17232
  interface CarrierAccountForm {
17227
17233
  readonly 'carrier_id': string;
17228
17234
  readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
17235
+ readonly 'q'?: string;
17236
+ readonly 'position'?: number;
17229
17237
  }
17230
17238
 
17231
17239
  interface CarrierAccountUpserted {
@@ -17677,6 +17685,15 @@ declare namespace io.flow.internal.v0.models {
17677
17685
  readonly 'message': string;
17678
17686
  }
17679
17687
 
17688
+ interface CheckoutCreateBySessionByOrderError {
17689
+ readonly 'code': io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
17690
+ readonly 'message': string;
17691
+ }
17692
+
17693
+ interface CheckoutCreateBySessionByOrderResponseError {
17694
+ readonly 'errors': io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError[];
17695
+ }
17696
+
17680
17697
  interface CheckoutCreateBySessionError {
17681
17698
  readonly 'code': io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
17682
17699
  readonly 'message': string;
@@ -23753,6 +23770,16 @@ declare namespace io.flow.internal.v0.models {
23753
23770
  readonly 'organization_id': string;
23754
23771
  readonly 'shop': string;
23755
23772
  readonly 'created_at': string;
23773
+ readonly 'api_key_masked': string;
23774
+ readonly 'api_password_masked': string;
23775
+ readonly 'shared_secret_masked': string;
23776
+ }
23777
+
23778
+ interface ShopifyXborderShopForm {
23779
+ readonly 'shop': string;
23780
+ readonly 'api_key': string;
23781
+ readonly 'api_password': string;
23782
+ readonly 'shared_secret': string;
23756
23783
  }
23757
23784
 
23758
23785
  interface ShopifyCheckInventoryError {
@@ -24859,7 +24886,7 @@ declare namespace io.flow.internal.v0.unions {
24859
24886
  type AuthorizationPayload = (io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload);
24860
24887
  type AuthorizedOrderCharge = (io.flow.internal.v0.models.AuthorizedShippingCharge);
24861
24888
  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);
24862
- 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);
24889
+ 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);
24863
24890
  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);
24864
24891
  type CheckoutAnalyticsDeliveryOption = (io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption);
24865
24892
  type CheckoutAnalyticsOrder = (io.flow.internal.v0.models.CheckoutAnalyticsOpenOrder | io.flow.internal.v0.models.CheckoutAnalyticsSubmittedOrder);
@@ -25009,6 +25036,7 @@ export const checkoutAddressType: PropTypes.Requireable<io.flow.internal.v0.enum
25009
25036
  export const checkoutAssetType: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutAssetType>;
25010
25037
  export const checkoutCreateAuthorizationDetailsErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutCreateAuthorizationDetailsErrorCode>;
25011
25038
  export const checkoutCreateAuthorizationErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode>;
25039
+ export const checkoutCreateBySessionByOrderErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode>;
25012
25040
  export const checkoutCreateBySessionErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode>;
25013
25041
  export const checkoutDeleteAddressStreetErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutDeleteAddressStreetErrorCode>;
25014
25042
  export const checkoutDeleteLineErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutDeleteLineErrorCode>;
@@ -25274,6 +25302,8 @@ export const blazeCheckoutLine: PropTypes.Requireable<io.flow.internal.v0.models
25274
25302
  export const blazeCheckoutProgressMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeCheckoutProgressMessage>;
25275
25303
  export const blazeExitCheckoutMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeExitCheckoutMessage>;
25276
25304
  export const blazeInitializeMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeInitializeMessage>;
25305
+ export const blazePaymentAuthCompleteMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage>;
25306
+ export const blazePaymentAuthStartMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazePaymentAuthStartMessage>;
25277
25307
  export const blazeRedirectConfirmationMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeRedirectConfirmationMessage>;
25278
25308
  export const blazeSetCartItemsMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeSetCartItemsMessage>;
25279
25309
  export const blazeStartCheckoutMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeStartCheckoutMessage>;
@@ -25372,6 +25402,8 @@ export const checkoutCreateAuthorizationDetailsRequestForm: PropTypes.Requireabl
25372
25402
  export const checkoutCreateAuthorizationDetailsResponseError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError>;
25373
25403
  export const checkoutCreateAuthorizationDetailsResponseSuccess: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess>;
25374
25404
  export const checkoutCreateAuthorizationError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateAuthorizationError>;
25405
+ export const checkoutCreateBySessionByOrderError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError>;
25406
+ export const checkoutCreateBySessionByOrderResponseError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError>;
25375
25407
  export const checkoutCreateBySessionError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionError>;
25376
25408
  export const checkoutCreateBySessionRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm>;
25377
25409
  export const checkoutCreateBySessionResponseError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionResponseError>;
@@ -26223,6 +26255,7 @@ export const shop: PropTypes.Requireable<io.flow.internal.v0.models.Shop>;
26223
26255
  export const shopForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopForm>;
26224
26256
  export const shopVersion: PropTypes.Requireable<io.flow.internal.v0.models.ShopVersion>;
26225
26257
  export const shopifyXborderShop: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyXborderShop>;
26258
+ export const shopifyXborderShopForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyXborderShopForm>;
26226
26259
  export const shopifyCheckInventoryError: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyCheckInventoryError>;
26227
26260
  export const shopifyCodeForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyCodeForm>;
26228
26261
  export const shopifyExperienceShortId: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyExperienceShortId>;
@@ -1629,6 +1629,13 @@ T['io.flow.checkout.protocol.v0.enums.checkout_create_by_session_error_code'] =
1629
1629
  'country_not_supported',
1630
1630
  ]);
1631
1631
 
1632
+ T['io.flow.checkout.protocol.v0.enums.checkout_create_by_session_by_order_error_code'] = PropTypes.oneOf([
1633
+ 'session_not_found',
1634
+ 'session_experience_required',
1635
+ 'country_not_supported',
1636
+ 'order_not_found',
1637
+ ]);
1638
+
1632
1639
  T['io.flow.checkout.protocol.v0.enums.checkout_create_authorization_details_error_code'] = PropTypes.oneOf(['checkout_not_found', 'authorization_details_payment_not_found']);
1633
1640
 
1634
1641
  T['io.flow.checkout.protocol.v0.models.checkout_create_authorization_details_error'] = PropTypes.exact({
@@ -8016,6 +8023,51 @@ T['io.flow.experience.v0.models.order_service_change'] = PropTypes.exact({
8016
8023
  to: T['io.flow.reference.v0.models.carrier_service'].isRequired,
8017
8024
  });
8018
8025
 
8026
+ T['io.flow.experience.v0.enums.order_refund_summary_partial_charged'] = PropTypes.oneOf(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']);
8027
+
8028
+ T['io.flow.experience.v0.models.order_refund_summary_item'] = PropTypes.exact({
8029
+ number: PropTypes.string.isRequired,
8030
+ quantity_to_refund: PropTypes.number.isRequired,
8031
+ });
8032
+
8033
+ T['io.flow.experience.v0.enums.order_refund_summary_includes'] = PropTypes.oneOf(['duties', 'vat', 'shipping']);
8034
+
8035
+ T['io.flow.experience.v0.models.order_refund_summary_partial_includes'] = PropTypes.exact({
8036
+ key: T['io.flow.experience.v0.enums.order_refund_summary_includes'].isRequired,
8037
+ charged: T['io.flow.experience.v0.enums.order_refund_summary_partial_charged'].isRequired,
8038
+ });
8039
+
8040
+ T['io.flow.experience.v0.models.order_refund_summary_partial_form'] = PropTypes.exact({
8041
+ discriminator: PropTypes.oneOf(['order_refund_summary_partial_form']).isRequired,
8042
+ includes: PropTypes.arrayOf(T['io.flow.experience.v0.models.order_refund_summary_partial_includes']).isRequired,
8043
+ items: PropTypes.arrayOf(T['io.flow.experience.v0.models.order_refund_summary_item']).isRequired,
8044
+ });
8045
+
8046
+ T['io.flow.experience.v0.models.order_refund_summary_full_form'] = PropTypes.exact({
8047
+ discriminator: PropTypes.oneOf(['order_refund_summary_full_form']).isRequired,
8048
+ includes: PropTypes.arrayOf(T['io.flow.experience.v0.enums.order_refund_summary_includes']).isRequired,
8049
+ });
8050
+
8051
+ T['io.flow.experience.v0.unions.order_refund_summary_form'] = PropTypes.oneOfType([
8052
+ T['io.flow.experience.v0.models.order_refund_summary_full_form'],
8053
+ T['io.flow.experience.v0.models.order_refund_summary_partial_form'],
8054
+ ]);
8055
+
8056
+ T['io.flow.experience.v0.models.order_refund_summary_amounts'] = PropTypes.exact({
8057
+ balance: PropTypes.number.isRequired,
8058
+ item_subtotal: PropTypes.number.isRequired,
8059
+ discount: PropTypes.number,
8060
+ refund_total: PropTypes.number.isRequired,
8061
+ shipping: PropTypes.number.isRequired,
8062
+ vat: PropTypes.number.isRequired,
8063
+ duty: PropTypes.number.isRequired,
8064
+ });
8065
+
8066
+ T['io.flow.experience.v0.models.order_refund_summary'] = PropTypes.exact({
8067
+ currency: PropTypes.string.isRequired,
8068
+ amounts: T['io.flow.experience.v0.models.order_refund_summary_amounts'].isRequired,
8069
+ });
8070
+
8019
8071
  T['io.flow.experience.v0.models.order_number_generator_fixed_length'] = PropTypes.exact({
8020
8072
  length: PropTypes.number.isRequired,
8021
8073
  padding: PropTypes.string.isRequired,
@@ -8420,6 +8472,17 @@ T['io.flow.ups.license.v0.models.access_licence_agreement_request_wrapper'] = Pr
8420
8472
  AccessLicenseAgreementRequest: T['io.flow.ups.license.v0.models.access_licence_agreement_request'].isRequired,
8421
8473
  });
8422
8474
 
8475
+ T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_error'] = PropTypes.exact({
8476
+ code: T['io.flow.checkout.protocol.v0.enums.checkout_create_by_session_by_order_error_code'].isRequired,
8477
+ message: PropTypes.string.isRequired,
8478
+ });
8479
+
8480
+ T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_error'] = PropTypes.exact({
8481
+ errors: PropTypes.arrayOf(
8482
+ T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_error'],
8483
+ ).isRequired,
8484
+ });
8485
+
8423
8486
  T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_error'] = PropTypes.exact({
8424
8487
  code: T['io.flow.checkout.protocol.v0.enums.checkout_create_by_session_error_code'].isRequired,
8425
8488
  message: PropTypes.string.isRequired,
@@ -9905,6 +9968,14 @@ T['io.flow.internal.v0.models.checkout_direct_debit'] = PropTypes.exact({
9905
9968
 
9906
9969
  T['io.flow.internal.v0.unions.checkout_confirmation_details'] = PropTypes.oneOfType([T['io.flow.internal.v0.models.checkout_direct_debit']]);
9907
9970
 
9971
+ T['io.flow.internal.v0.models.blaze_payment_auth_complete_message'] = PropTypes.exact({
9972
+ discriminator: PropTypes.oneOf(['payment_auth_complete']).isRequired,
9973
+ });
9974
+
9975
+ T['io.flow.internal.v0.models.blaze_payment_auth_start_message'] = PropTypes.exact({
9976
+ discriminator: PropTypes.oneOf(['payment_auth_start']).isRequired,
9977
+ });
9978
+
9908
9979
  T['io.flow.internal.v0.models.blaze_applepay_availability_request'] = PropTypes.exact({
9909
9980
  discriminator: PropTypes.oneOf(['applepay_availability_request']).isRequired,
9910
9981
  merchant_id: PropTypes.string.isRequired,
@@ -10198,64 +10269,6 @@ T['io.flow.shopify.xborder.v0.models.shopify_order_customer'] = PropTypes.exact(
10198
10269
  default_address: T['io.flow.shopify.xborder.v0.models.shopify_order_address'],
10199
10270
  });
10200
10271
 
10201
- T['io.flow.shopify.xborder.v0.models.shopify_webhook_order'] = PropTypes.exact({
10202
- id: PropTypes.number.isRequired,
10203
- order_number: PropTypes.number.isRequired,
10204
- billing_address: T['io.flow.shopify.xborder.v0.models.shopify_order_address'],
10205
- browser_ip: PropTypes.string,
10206
- buyer_accepts_marketing: PropTypes.bool.isRequired,
10207
- cancel_reason: T['io.flow.shopify.xborder.v0.enums.shopify_order_cancel_reason'],
10208
- cancelled_at: PropTypes.string,
10209
- cart_token: PropTypes.string,
10210
- client_details: T['io.flow.shopify.xborder.v0.models.shopify_order_client_detail'],
10211
- closed_at: PropTypes.string,
10212
- created_at: PropTypes.string.isRequired,
10213
- currency: PropTypes.string.isRequired,
10214
- total_discounts_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'].isRequired,
10215
- total_duties_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'],
10216
- original_total_duties_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'],
10217
- total_price_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'].isRequired,
10218
- subtotal_price_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'].isRequired,
10219
- total_tax_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'].isRequired,
10220
- total_line_items_price_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'].isRequired,
10221
- customer: T['io.flow.shopify.xborder.v0.models.shopify_order_customer'].isRequired,
10222
- customer_locale: PropTypes.string,
10223
- discount_applications: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_discount_application']).isRequired,
10224
- discount_codes: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_discount_code']).isRequired,
10225
- email: PropTypes.string,
10226
- financial_status: T['io.flow.shopify.xborder.v0.enums.shopify_order_financial_status_type'].isRequired,
10227
- fulfillments: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_fulfillment']).isRequired,
10228
- fulfillment_status: T['io.flow.shopify.xborder.v0.enums.shopify_order_fulfillment_status_type'],
10229
- landing_site: PropTypes.string,
10230
- line_items: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_line_item']).isRequired,
10231
- location_id: PropTypes.number,
10232
- name: PropTypes.string.isRequired,
10233
- note: PropTypes.string,
10234
- note_attributes: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_attribute']).isRequired,
10235
- number: PropTypes.number,
10236
- payment_gateway_names: PropTypes.arrayOf(PropTypes.string).isRequired,
10237
- processed_at: PropTypes.string,
10238
- processing_method: T['io.flow.shopify.xborder.v0.enums.shopify_order_processing_method_type'],
10239
- referring_site: PropTypes.string,
10240
- refunds: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_refund']).isRequired,
10241
- shipping_address: T['io.flow.shopify.xborder.v0.models.shopify_order_address'],
10242
- shipping_lines: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_shipping_line']),
10243
- source_name: PropTypes.string,
10244
- tags: PropTypes.string,
10245
- tax_lines: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_tax_line']).isRequired,
10246
- taxes_included: PropTypes.bool.isRequired,
10247
- token: PropTypes.string,
10248
- total_weight: PropTypes.number,
10249
- updated_at: PropTypes.string,
10250
- user_id: PropTypes.number,
10251
- order_status_url: PropTypes.string,
10252
- inventory_behaviour: T['io.flow.shopify.xborder.v0.enums.shopify_order_inventory_behaviour'],
10253
- gateway: PropTypes.string,
10254
- transactions: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_transaction']),
10255
- send_receipt: PropTypes.bool,
10256
- metafields: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_metafield']),
10257
- });
10258
-
10259
10272
  T['io.flow.shopify.xborder.v0.models.shopify_order'] = PropTypes.exact({
10260
10273
  id: PropTypes.number.isRequired,
10261
10274
  order_number: PropTypes.number.isRequired,
@@ -17801,6 +17814,22 @@ T['io.flow.internal.v0.models.checkout_create_by_session_response_error'] = Prop
17801
17814
  errors: PropTypes.arrayOf(T['io.flow.internal.v0.models.checkout_create_by_session_error']).isRequired,
17802
17815
  });
17803
17816
 
17817
+ T['io.flow.internal.v0.enums.checkout_create_by_session_by_order_error_code'] = PropTypes.oneOf([
17818
+ 'session_not_found',
17819
+ 'session_experience_required',
17820
+ 'country_not_supported',
17821
+ 'order_not_found',
17822
+ ]);
17823
+
17824
+ T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error'] = PropTypes.exact({
17825
+ code: T['io.flow.internal.v0.enums.checkout_create_by_session_by_order_error_code'].isRequired,
17826
+ message: PropTypes.string.isRequired,
17827
+ });
17828
+
17829
+ T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_error'] = PropTypes.exact({
17830
+ errors: PropTypes.arrayOf(T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error']).isRequired,
17831
+ });
17832
+
17804
17833
  T['io.flow.internal.v0.enums.checkout_create_authorization_error_code'] = PropTypes.oneOf([
17805
17834
  'authorization_form_not_supported',
17806
17835
  'authorization_invalid_amount',
@@ -20695,6 +20724,8 @@ T['io.flow.tracking.internal.v0.unions.carrier_credentials'] = PropTypes.oneOfTy
20695
20724
  T['io.flow.label.internal.v0.models.carrier_account_form'] = PropTypes.exact({
20696
20725
  carrier_id: PropTypes.string.isRequired,
20697
20726
  credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
20727
+ q: PropTypes.string,
20728
+ position: PropTypes.number,
20698
20729
  });
20699
20730
 
20700
20731
  T['io.flow.tracking.internal.v0.models.tracking_request'] = PropTypes.exact({
@@ -20715,6 +20746,8 @@ T['io.flow.internal.v0.models.tracking_request_upserted'] = PropTypes.exact({
20715
20746
  T['io.flow.internal.v0.models.carrier_account_form'] = PropTypes.exact({
20716
20747
  carrier_id: PropTypes.string.isRequired,
20717
20748
  credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
20749
+ q: PropTypes.string,
20750
+ position: PropTypes.number,
20718
20751
  });
20719
20752
 
20720
20753
  T['io.flow.fulfillment.v0.models.carrier_reference'] = PropTypes.exact({
@@ -20740,6 +20773,8 @@ T['io.flow.label.internal.v0.models.carrier_account'] = PropTypes.exact({
20740
20773
  id: PropTypes.string.isRequired,
20741
20774
  carrier: T['io.flow.fulfillment.v0.models.carrier_reference'].isRequired,
20742
20775
  credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
20776
+ q: PropTypes.string,
20777
+ position: PropTypes.number,
20743
20778
  });
20744
20779
 
20745
20780
  T['io.flow.internal.v0.models.carrier_account_upserted'] = PropTypes.exact({
@@ -20754,6 +20789,8 @@ T['io.flow.internal.v0.models.carrier_account'] = PropTypes.exact({
20754
20789
  id: PropTypes.string.isRequired,
20755
20790
  carrier: T['io.flow.fulfillment.v0.models.carrier_reference'].isRequired,
20756
20791
  credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
20792
+ q: PropTypes.string,
20793
+ position: PropTypes.number,
20757
20794
  });
20758
20795
 
20759
20796
  T['io.flow.internal.v0.models.browser_bundle_payment_method_form'] = PropTypes.exact({
@@ -20990,7 +21027,7 @@ T['io.flow.internal.v0.models.feature_value_result'] = PropTypes.exact({
20990
21027
  values: PropTypes.arrayOf(T['io.flow.internal.v0.unions.feature_value']).isRequired,
20991
21028
  });
20992
21029
 
20993
- T['io.flow.internal.v0.enums.blaze_checkout_step'] = PropTypes.oneOf(['contact', 'shipping', 'delivery', 'payment']);
21030
+ T['io.flow.internal.v0.enums.blaze_checkout_step'] = PropTypes.oneOf(['customer_info', 'delivery', 'payment']);
20994
21031
 
20995
21032
  T['io.flow.internal.v0.models.blaze_checkout_line'] = PropTypes.exact({
20996
21033
  number: PropTypes.string.isRequired,
@@ -21030,6 +21067,8 @@ T['io.flow.internal.v0.unions.blaze_provider_message'] = PropTypes.oneOfType([
21030
21067
  T['io.flow.internal.v0.models.blaze_redirect_confirmation_message'],
21031
21068
  T['io.flow.internal.v0.models.blaze_syn_initialize_message'],
21032
21069
  T['io.flow.internal.v0.models.blaze_applepay_availability_request'],
21070
+ T['io.flow.internal.v0.models.blaze_payment_auth_start_message'],
21071
+ T['io.flow.internal.v0.models.blaze_payment_auth_complete_message'],
21033
21072
  ]);
21034
21073
 
21035
21074
  T['io.flow.internal.v0.models.blaze_checkout_item'] = PropTypes.exact({
@@ -27138,6 +27177,16 @@ T['io.flow.internal.v0.models.shopify-xborder-shop'] = PropTypes.exact({
27138
27177
  organization_id: PropTypes.string.isRequired,
27139
27178
  shop: PropTypes.string.isRequired,
27140
27179
  created_at: PropTypes.string.isRequired,
27180
+ api_key_masked: PropTypes.string.isRequired,
27181
+ api_password_masked: PropTypes.string.isRequired,
27182
+ shared_secret_masked: PropTypes.string.isRequired,
27183
+ });
27184
+
27185
+ T['io.flow.internal.v0.models.shopify-xborder-shop-form'] = PropTypes.exact({
27186
+ shop: PropTypes.string.isRequired,
27187
+ api_key: PropTypes.string.isRequired,
27188
+ api_password: PropTypes.string.isRequired,
27189
+ shared_secret: PropTypes.string.isRequired,
27141
27190
  });
27142
27191
 
27143
27192
  T['io.flow.internal.v0.models.shopify_code_form'] = PropTypes.exact({
@@ -28794,6 +28843,8 @@ export const blazeCheckoutStep = T['io.flow.internal.v0.enums.blaze_checkout_ste
28794
28843
  export const blazeConsumerMessage = T['io.flow.internal.v0.unions.blaze_consumer_message'];
28795
28844
  export const blazeExitCheckoutMessage = T['io.flow.internal.v0.models.blaze_exit_checkout_message'];
28796
28845
  export const blazeInitializeMessage = T['io.flow.internal.v0.models.blaze_initialize_message'];
28846
+ export const blazePaymentAuthCompleteMessage = T['io.flow.internal.v0.models.blaze_payment_auth_complete_message'];
28847
+ export const blazePaymentAuthStartMessage = T['io.flow.internal.v0.models.blaze_payment_auth_start_message'];
28797
28848
  export const blazeProviderMessage = T['io.flow.internal.v0.unions.blaze_provider_message'];
28798
28849
  export const blazeRedirectConfirmationMessage = T['io.flow.internal.v0.models.blaze_redirect_confirmation_message'];
28799
28850
  export const blazeSetCartItemsMessage = T['io.flow.internal.v0.models.blaze_set_cart_items_message'];
@@ -28914,6 +28965,9 @@ export const checkoutCreateAuthorizationDetailsResponseError = T['io.flow.intern
28914
28965
  export const checkoutCreateAuthorizationDetailsResponseSuccess = T['io.flow.internal.v0.models.checkout_create_authorization_details_response_success'];
28915
28966
  export const checkoutCreateAuthorizationError = T['io.flow.internal.v0.models.checkout_create_authorization_error'];
28916
28967
  export const checkoutCreateAuthorizationErrorCode = T['io.flow.internal.v0.enums.checkout_create_authorization_error_code'];
28968
+ export const checkoutCreateBySessionByOrderError = T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error'];
28969
+ export const checkoutCreateBySessionByOrderErrorCode = T['io.flow.internal.v0.enums.checkout_create_by_session_by_order_error_code'];
28970
+ export const checkoutCreateBySessionByOrderResponseError = T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_error'];
28917
28971
  export const checkoutCreateBySessionError = T['io.flow.internal.v0.models.checkout_create_by_session_error'];
28918
28972
  export const checkoutCreateBySessionErrorCode = T['io.flow.internal.v0.enums.checkout_create_by_session_error_code'];
28919
28973
  export const checkoutCreateBySessionRequestForm = T['io.flow.internal.v0.models.checkout_create_by_session_request_form'];
@@ -29996,6 +30050,7 @@ export const shop = T['io.flow.internal.v0.models.shop'];
29996
30050
  export const shopForm = T['io.flow.internal.v0.models.shop_form'];
29997
30051
  export const shopVersion = T['io.flow.internal.v0.models.shop_version'];
29998
30052
  export const shopifyXborderShop = T['io.flow.internal.v0.models.shopify-xborder-shop'];
30053
+ export const shopifyXborderShopForm = T['io.flow.internal.v0.models.shopify-xborder-shop-form'];
29999
30054
  export const shopifyCheckInventoryError = T['io.flow.internal.v0.models.shopify_check_inventory_error'];
30000
30055
  export const shopifyCheckInventoryErrorCode = T['io.flow.internal.v0.enums.shopify_check_inventory_error_code'];
30001
30056
  export const shopifyCodeForm = T['io.flow.internal.v0.models.shopify_code_form'];