@flowio/api-prop-types 10.16.66 → 10.16.68
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.d.ts +21 -7
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +21 -7
- package/src/api.js +25 -6
package/lib/api.d.ts
CHANGED
|
@@ -1093,7 +1093,7 @@ declare namespace io.flow.shopify.external.v0.enums {
|
|
|
1093
1093
|
type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
1094
1094
|
type ShopifyTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
|
|
1095
1095
|
type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
1096
|
-
type Topic = 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'shop/update' | 'shop/redact' | 'themes/create' | 'themes/delete' | 'themes/publish' | 'themes/update';
|
|
1096
|
+
type Topic = 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'shop/update' | 'shop/redact' | 'themes/create' | 'themes/delete' | 'themes/publish' | 'themes/update';
|
|
1097
1097
|
type ValueType = 'string' | 'integer';
|
|
1098
1098
|
type WeightUnit = 'g' | 'kg' | 'oz' | 'lb';
|
|
1099
1099
|
}
|
|
@@ -1992,6 +1992,10 @@ declare namespace io.flow.ben.test.internal.v0.models {
|
|
|
1992
1992
|
readonly 'num_events': number;
|
|
1993
1993
|
}
|
|
1994
1994
|
|
|
1995
|
+
interface SvitlanaTest {
|
|
1996
|
+
readonly 'name': string;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1995
1999
|
interface Test {
|
|
1996
2000
|
readonly 'id': string;
|
|
1997
2001
|
readonly 'name': string;
|
|
@@ -2139,7 +2143,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2139
2143
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
2140
2144
|
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
2141
2145
|
type ExporterOfRecord = 'flow' | 'organization';
|
|
2142
|
-
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer';
|
|
2146
|
+
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
|
|
2143
2147
|
type FlowBehavior = 'view_consumer_data';
|
|
2144
2148
|
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
2145
2149
|
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
@@ -2164,7 +2168,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2164
2168
|
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
2165
2169
|
type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
|
|
2166
2170
|
type ItemIdentifier = 'item_number' | 'sku';
|
|
2167
|
-
type LabelRequestMethod = 'flow_web_sync' | 'channel_web_async' | 'direct_api_sync' | 'direct_api_async' | 'bridge_api_sync' | 'partner_api_sync' | 'notification_requiring_crossdock' | 'autogenerated';
|
|
2171
|
+
type LabelRequestMethod = 'flow_web_sync' | 'channel_web_async' | 'direct_api_sync' | 'direct_api_async' | 'bridge_api_sync' | 'partner_api_sync' | 'notification_requiring_crossdock' | 'flow_simulation_sync' | 'autogenerated';
|
|
2168
2172
|
type LabelTriggerMethod = 'autogenerated' | 'on_demand';
|
|
2169
2173
|
type LaneDirection = 'outbound' | 'return';
|
|
2170
2174
|
type LanePreselectPreference = 'lowest_cost' | 'default_tier';
|
|
@@ -2188,8 +2192,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2188
2192
|
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';
|
|
2189
2193
|
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
2190
2194
|
type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
2191
|
-
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge';
|
|
2192
|
-
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
2195
|
+
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge' | 'tip';
|
|
2196
|
+
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
|
|
2193
2197
|
type OrderQuoteAddressType = 'shipping';
|
|
2194
2198
|
type OrderQuoteErrorCode = 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'first_name_invalid' | 'first_name_required' | 'geo_required_when_no_session' | 'language_invalid' | 'last_name_invalid' | 'last_name_required' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'name_missing_first_or_last' | 'name_required' | 'order_quote_requires_at_least_one_line' | 'session_not_found' | 'session_organization_mismatch';
|
|
2195
2199
|
type OrderQuoteLineErrorCode = 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_quantity_invalid' | 'line_value_threshold_exceeded';
|
|
@@ -6992,6 +6996,7 @@ declare namespace io.flow.v0.models {
|
|
|
6992
6996
|
readonly 'number': string;
|
|
6993
6997
|
readonly 'name': string;
|
|
6994
6998
|
readonly 'quantity': number;
|
|
6999
|
+
readonly 'image'?: io.flow.v0.models.OrderSummaryImage;
|
|
6995
7000
|
readonly 'center'?: string;
|
|
6996
7001
|
readonly 'price'?: io.flow.v0.models.Money;
|
|
6997
7002
|
readonly 'discount'?: io.flow.v0.models.LocalizedLineItemDiscount;
|
|
@@ -9894,6 +9899,8 @@ declare namespace io.flow.v0.models {
|
|
|
9894
9899
|
readonly 'delivered_duty'?: io.flow.v0.enums.DeliveredDuty;
|
|
9895
9900
|
readonly 'line_items'?: io.flow.v0.models.LineItemForm[];
|
|
9896
9901
|
readonly 'center_id'?: string;
|
|
9902
|
+
readonly 'taxes_owed'?: io.flow.v0.models.Money;
|
|
9903
|
+
readonly 'duties_owed'?: io.flow.v0.models.Money;
|
|
9897
9904
|
}
|
|
9898
9905
|
|
|
9899
9906
|
interface RatecardEstimateSummaryForm {
|
|
@@ -11038,9 +11045,9 @@ declare namespace io.flow.v0.models {
|
|
|
11038
11045
|
readonly 'key': string;
|
|
11039
11046
|
readonly 'attributes': Record<string, string>;
|
|
11040
11047
|
readonly 'carrier_tracking_number': string;
|
|
11041
|
-
readonly 'destination'
|
|
11048
|
+
readonly 'destination'?: io.flow.v0.models.ShippingAddress;
|
|
11042
11049
|
readonly 'flow_tracking_number': string;
|
|
11043
|
-
readonly 'origin'
|
|
11050
|
+
readonly 'origin'?: io.flow.v0.models.ShippingAddress;
|
|
11044
11051
|
readonly 'package'?: io.flow.v0.models.ShippingLabelPackage;
|
|
11045
11052
|
readonly 'service': io.flow.v0.unions.ServiceDescription;
|
|
11046
11053
|
readonly 'window'?: io.flow.v0.models.DatetimeRange;
|
|
@@ -12174,8 +12181,14 @@ declare namespace io.flow.v0.models {
|
|
|
12174
12181
|
interface TransactionMetadataCarrierCharge {
|
|
12175
12182
|
readonly 'discriminator': 'carrier_charge';
|
|
12176
12183
|
readonly 'reason': io.flow.v0.enums.CarrierChargeReason;
|
|
12184
|
+
readonly 'label_created_at': string;
|
|
12177
12185
|
readonly 'carrier_id': string;
|
|
12178
12186
|
readonly 'carrier_tracking_number': string;
|
|
12187
|
+
readonly 'outbound'?: io.flow.v0.models.TransactionMetadataCarrierChargeOutbound;
|
|
12188
|
+
}
|
|
12189
|
+
|
|
12190
|
+
interface TransactionMetadataCarrierChargeOutbound {
|
|
12191
|
+
readonly 'transaction_id': string;
|
|
12179
12192
|
}
|
|
12180
12193
|
|
|
12181
12194
|
interface TransactionMetadataChannel {
|
|
@@ -14217,6 +14230,7 @@ export const tradeAgreementDuty: PropTypes.Requireable<io.flow.v0.models.TradeAg
|
|
|
14217
14230
|
export const transaction: PropTypes.Requireable<io.flow.v0.models.Transaction>;
|
|
14218
14231
|
export const transactionDetailsCard: PropTypes.Requireable<io.flow.v0.models.TransactionDetailsCard>;
|
|
14219
14232
|
export const transactionMetadataCarrierCharge: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataCarrierCharge>;
|
|
14233
|
+
export const transactionMetadataCarrierChargeOutbound: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataCarrierChargeOutbound>;
|
|
14220
14234
|
export const transactionMetadataChannel: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannel>;
|
|
14221
14235
|
export const transactionMetadataChannelCardMetadata: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadata>;
|
|
14222
14236
|
export const transactionMetadataChannelCardMetadataIssuerSummary: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary>;
|