@flowio/api-internal-prop-types 9.12.4 → 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/lib/api-internal.d.ts +82 -59
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +82 -59
- package/src/api-internal.js +102 -59
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.
|
|
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": "
|
|
33
|
+
"gitHead": "462c26f90ea96f2f4a3a44d1d71ebeb3238f1239"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -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 = '
|
|
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';
|
|
@@ -17229,11 +17225,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17229
17225
|
readonly 'id': string;
|
|
17230
17226
|
readonly 'carrier': io.flow.fulfillment.v0.models.CarrierReference;
|
|
17231
17227
|
readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
17228
|
+
readonly 'q'?: string;
|
|
17229
|
+
readonly 'position'?: number;
|
|
17232
17230
|
}
|
|
17233
17231
|
|
|
17234
17232
|
interface CarrierAccountForm {
|
|
17235
17233
|
readonly 'carrier_id': string;
|
|
17236
17234
|
readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
17235
|
+
readonly 'q'?: string;
|
|
17236
|
+
readonly 'position'?: number;
|
|
17237
17237
|
}
|
|
17238
17238
|
|
|
17239
17239
|
interface CarrierAccountUpserted {
|
|
@@ -17685,6 +17685,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17685
17685
|
readonly 'message': string;
|
|
17686
17686
|
}
|
|
17687
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
|
+
|
|
17688
17697
|
interface CheckoutCreateBySessionError {
|
|
17689
17698
|
readonly 'code': io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
17690
17699
|
readonly 'message': string;
|
|
@@ -23761,6 +23770,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23761
23770
|
readonly 'organization_id': string;
|
|
23762
23771
|
readonly 'shop': string;
|
|
23763
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;
|
|
23764
23783
|
}
|
|
23765
23784
|
|
|
23766
23785
|
interface ShopifyCheckInventoryError {
|
|
@@ -25017,6 +25036,7 @@ export const checkoutAddressType: PropTypes.Requireable<io.flow.internal.v0.enum
|
|
|
25017
25036
|
export const checkoutAssetType: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutAssetType>;
|
|
25018
25037
|
export const checkoutCreateAuthorizationDetailsErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutCreateAuthorizationDetailsErrorCode>;
|
|
25019
25038
|
export const checkoutCreateAuthorizationErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode>;
|
|
25039
|
+
export const checkoutCreateBySessionByOrderErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode>;
|
|
25020
25040
|
export const checkoutCreateBySessionErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode>;
|
|
25021
25041
|
export const checkoutDeleteAddressStreetErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutDeleteAddressStreetErrorCode>;
|
|
25022
25042
|
export const checkoutDeleteLineErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutDeleteLineErrorCode>;
|
|
@@ -25382,6 +25402,8 @@ export const checkoutCreateAuthorizationDetailsRequestForm: PropTypes.Requireabl
|
|
|
25382
25402
|
export const checkoutCreateAuthorizationDetailsResponseError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError>;
|
|
25383
25403
|
export const checkoutCreateAuthorizationDetailsResponseSuccess: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess>;
|
|
25384
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>;
|
|
25385
25407
|
export const checkoutCreateBySessionError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionError>;
|
|
25386
25408
|
export const checkoutCreateBySessionRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm>;
|
|
25387
25409
|
export const checkoutCreateBySessionResponseError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionResponseError>;
|
|
@@ -26233,6 +26255,7 @@ export const shop: PropTypes.Requireable<io.flow.internal.v0.models.Shop>;
|
|
|
26233
26255
|
export const shopForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopForm>;
|
|
26234
26256
|
export const shopVersion: PropTypes.Requireable<io.flow.internal.v0.models.ShopVersion>;
|
|
26235
26257
|
export const shopifyXborderShop: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyXborderShop>;
|
|
26258
|
+
export const shopifyXborderShopForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyXborderShopForm>;
|
|
26236
26259
|
export const shopifyCheckInventoryError: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyCheckInventoryError>;
|
|
26237
26260
|
export const shopifyCodeForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyCodeForm>;
|
|
26238
26261
|
export const shopifyExperienceShortId: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyExperienceShortId>;
|
package/src/api-internal.js
CHANGED
|
@@ -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,
|
|
@@ -10206,64 +10269,6 @@ T['io.flow.shopify.xborder.v0.models.shopify_order_customer'] = PropTypes.exact(
|
|
|
10206
10269
|
default_address: T['io.flow.shopify.xborder.v0.models.shopify_order_address'],
|
|
10207
10270
|
});
|
|
10208
10271
|
|
|
10209
|
-
T['io.flow.shopify.xborder.v0.models.shopify_webhook_order'] = PropTypes.exact({
|
|
10210
|
-
id: PropTypes.number.isRequired,
|
|
10211
|
-
order_number: PropTypes.number.isRequired,
|
|
10212
|
-
billing_address: T['io.flow.shopify.xborder.v0.models.shopify_order_address'],
|
|
10213
|
-
browser_ip: PropTypes.string,
|
|
10214
|
-
buyer_accepts_marketing: PropTypes.bool.isRequired,
|
|
10215
|
-
cancel_reason: T['io.flow.shopify.xborder.v0.enums.shopify_order_cancel_reason'],
|
|
10216
|
-
cancelled_at: PropTypes.string,
|
|
10217
|
-
cart_token: PropTypes.string,
|
|
10218
|
-
client_details: T['io.flow.shopify.xborder.v0.models.shopify_order_client_detail'],
|
|
10219
|
-
closed_at: PropTypes.string,
|
|
10220
|
-
created_at: PropTypes.string.isRequired,
|
|
10221
|
-
currency: PropTypes.string.isRequired,
|
|
10222
|
-
total_discounts_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'].isRequired,
|
|
10223
|
-
total_duties_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'],
|
|
10224
|
-
original_total_duties_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'],
|
|
10225
|
-
total_price_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'].isRequired,
|
|
10226
|
-
subtotal_price_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'].isRequired,
|
|
10227
|
-
total_tax_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'].isRequired,
|
|
10228
|
-
total_line_items_price_set: T['io.flow.shopify.xborder.v0.models.shopify_order_money_set'].isRequired,
|
|
10229
|
-
customer: T['io.flow.shopify.xborder.v0.models.shopify_order_customer'].isRequired,
|
|
10230
|
-
customer_locale: PropTypes.string,
|
|
10231
|
-
discount_applications: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_discount_application']).isRequired,
|
|
10232
|
-
discount_codes: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_discount_code']).isRequired,
|
|
10233
|
-
email: PropTypes.string,
|
|
10234
|
-
financial_status: T['io.flow.shopify.xborder.v0.enums.shopify_order_financial_status_type'].isRequired,
|
|
10235
|
-
fulfillments: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_fulfillment']).isRequired,
|
|
10236
|
-
fulfillment_status: T['io.flow.shopify.xborder.v0.enums.shopify_order_fulfillment_status_type'],
|
|
10237
|
-
landing_site: PropTypes.string,
|
|
10238
|
-
line_items: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_line_item']).isRequired,
|
|
10239
|
-
location_id: PropTypes.number,
|
|
10240
|
-
name: PropTypes.string.isRequired,
|
|
10241
|
-
note: PropTypes.string,
|
|
10242
|
-
note_attributes: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_attribute']).isRequired,
|
|
10243
|
-
number: PropTypes.number,
|
|
10244
|
-
payment_gateway_names: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
10245
|
-
processed_at: PropTypes.string,
|
|
10246
|
-
processing_method: T['io.flow.shopify.xborder.v0.enums.shopify_order_processing_method_type'],
|
|
10247
|
-
referring_site: PropTypes.string,
|
|
10248
|
-
refunds: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_refund']).isRequired,
|
|
10249
|
-
shipping_address: T['io.flow.shopify.xborder.v0.models.shopify_order_address'],
|
|
10250
|
-
shipping_lines: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_shipping_line']),
|
|
10251
|
-
source_name: PropTypes.string,
|
|
10252
|
-
tags: PropTypes.string,
|
|
10253
|
-
tax_lines: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_tax_line']).isRequired,
|
|
10254
|
-
taxes_included: PropTypes.bool.isRequired,
|
|
10255
|
-
token: PropTypes.string,
|
|
10256
|
-
total_weight: PropTypes.number,
|
|
10257
|
-
updated_at: PropTypes.string,
|
|
10258
|
-
user_id: PropTypes.number,
|
|
10259
|
-
order_status_url: PropTypes.string,
|
|
10260
|
-
inventory_behaviour: T['io.flow.shopify.xborder.v0.enums.shopify_order_inventory_behaviour'],
|
|
10261
|
-
gateway: PropTypes.string,
|
|
10262
|
-
transactions: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_transaction']),
|
|
10263
|
-
send_receipt: PropTypes.bool,
|
|
10264
|
-
metafields: PropTypes.arrayOf(T['io.flow.shopify.xborder.v0.models.shopify_order_metafield']),
|
|
10265
|
-
});
|
|
10266
|
-
|
|
10267
10272
|
T['io.flow.shopify.xborder.v0.models.shopify_order'] = PropTypes.exact({
|
|
10268
10273
|
id: PropTypes.number.isRequired,
|
|
10269
10274
|
order_number: PropTypes.number.isRequired,
|
|
@@ -17809,6 +17814,22 @@ T['io.flow.internal.v0.models.checkout_create_by_session_response_error'] = Prop
|
|
|
17809
17814
|
errors: PropTypes.arrayOf(T['io.flow.internal.v0.models.checkout_create_by_session_error']).isRequired,
|
|
17810
17815
|
});
|
|
17811
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
|
+
|
|
17812
17833
|
T['io.flow.internal.v0.enums.checkout_create_authorization_error_code'] = PropTypes.oneOf([
|
|
17813
17834
|
'authorization_form_not_supported',
|
|
17814
17835
|
'authorization_invalid_amount',
|
|
@@ -20703,6 +20724,8 @@ T['io.flow.tracking.internal.v0.unions.carrier_credentials'] = PropTypes.oneOfTy
|
|
|
20703
20724
|
T['io.flow.label.internal.v0.models.carrier_account_form'] = PropTypes.exact({
|
|
20704
20725
|
carrier_id: PropTypes.string.isRequired,
|
|
20705
20726
|
credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
|
|
20727
|
+
q: PropTypes.string,
|
|
20728
|
+
position: PropTypes.number,
|
|
20706
20729
|
});
|
|
20707
20730
|
|
|
20708
20731
|
T['io.flow.tracking.internal.v0.models.tracking_request'] = PropTypes.exact({
|
|
@@ -20723,6 +20746,8 @@ T['io.flow.internal.v0.models.tracking_request_upserted'] = PropTypes.exact({
|
|
|
20723
20746
|
T['io.flow.internal.v0.models.carrier_account_form'] = PropTypes.exact({
|
|
20724
20747
|
carrier_id: PropTypes.string.isRequired,
|
|
20725
20748
|
credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
|
|
20749
|
+
q: PropTypes.string,
|
|
20750
|
+
position: PropTypes.number,
|
|
20726
20751
|
});
|
|
20727
20752
|
|
|
20728
20753
|
T['io.flow.fulfillment.v0.models.carrier_reference'] = PropTypes.exact({
|
|
@@ -20748,6 +20773,8 @@ T['io.flow.label.internal.v0.models.carrier_account'] = PropTypes.exact({
|
|
|
20748
20773
|
id: PropTypes.string.isRequired,
|
|
20749
20774
|
carrier: T['io.flow.fulfillment.v0.models.carrier_reference'].isRequired,
|
|
20750
20775
|
credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
|
|
20776
|
+
q: PropTypes.string,
|
|
20777
|
+
position: PropTypes.number,
|
|
20751
20778
|
});
|
|
20752
20779
|
|
|
20753
20780
|
T['io.flow.internal.v0.models.carrier_account_upserted'] = PropTypes.exact({
|
|
@@ -20762,6 +20789,8 @@ T['io.flow.internal.v0.models.carrier_account'] = PropTypes.exact({
|
|
|
20762
20789
|
id: PropTypes.string.isRequired,
|
|
20763
20790
|
carrier: T['io.flow.fulfillment.v0.models.carrier_reference'].isRequired,
|
|
20764
20791
|
credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
|
|
20792
|
+
q: PropTypes.string,
|
|
20793
|
+
position: PropTypes.number,
|
|
20765
20794
|
});
|
|
20766
20795
|
|
|
20767
20796
|
T['io.flow.internal.v0.models.browser_bundle_payment_method_form'] = PropTypes.exact({
|
|
@@ -20998,7 +21027,7 @@ T['io.flow.internal.v0.models.feature_value_result'] = PropTypes.exact({
|
|
|
20998
21027
|
values: PropTypes.arrayOf(T['io.flow.internal.v0.unions.feature_value']).isRequired,
|
|
20999
21028
|
});
|
|
21000
21029
|
|
|
21001
|
-
T['io.flow.internal.v0.enums.blaze_checkout_step'] = PropTypes.oneOf(['
|
|
21030
|
+
T['io.flow.internal.v0.enums.blaze_checkout_step'] = PropTypes.oneOf(['customer_info', 'delivery', 'payment']);
|
|
21002
21031
|
|
|
21003
21032
|
T['io.flow.internal.v0.models.blaze_checkout_line'] = PropTypes.exact({
|
|
21004
21033
|
number: PropTypes.string.isRequired,
|
|
@@ -27148,6 +27177,16 @@ T['io.flow.internal.v0.models.shopify-xborder-shop'] = PropTypes.exact({
|
|
|
27148
27177
|
organization_id: PropTypes.string.isRequired,
|
|
27149
27178
|
shop: PropTypes.string.isRequired,
|
|
27150
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,
|
|
27151
27190
|
});
|
|
27152
27191
|
|
|
27153
27192
|
T['io.flow.internal.v0.models.shopify_code_form'] = PropTypes.exact({
|
|
@@ -28926,6 +28965,9 @@ export const checkoutCreateAuthorizationDetailsResponseError = T['io.flow.intern
|
|
|
28926
28965
|
export const checkoutCreateAuthorizationDetailsResponseSuccess = T['io.flow.internal.v0.models.checkout_create_authorization_details_response_success'];
|
|
28927
28966
|
export const checkoutCreateAuthorizationError = T['io.flow.internal.v0.models.checkout_create_authorization_error'];
|
|
28928
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'];
|
|
28929
28971
|
export const checkoutCreateBySessionError = T['io.flow.internal.v0.models.checkout_create_by_session_error'];
|
|
28930
28972
|
export const checkoutCreateBySessionErrorCode = T['io.flow.internal.v0.enums.checkout_create_by_session_error_code'];
|
|
28931
28973
|
export const checkoutCreateBySessionRequestForm = T['io.flow.internal.v0.models.checkout_create_by_session_request_form'];
|
|
@@ -30008,6 +30050,7 @@ export const shop = T['io.flow.internal.v0.models.shop'];
|
|
|
30008
30050
|
export const shopForm = T['io.flow.internal.v0.models.shop_form'];
|
|
30009
30051
|
export const shopVersion = T['io.flow.internal.v0.models.shop_version'];
|
|
30010
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'];
|
|
30011
30054
|
export const shopifyCheckInventoryError = T['io.flow.internal.v0.models.shopify_check_inventory_error'];
|
|
30012
30055
|
export const shopifyCheckInventoryErrorCode = T['io.flow.internal.v0.enums.shopify_check_inventory_error_code'];
|
|
30013
30056
|
export const shopifyCodeForm = T['io.flow.internal.v0.models.shopify_code_form'];
|