@flowio/api-prop-types 10.16.66 → 10.16.67
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 +12 -2
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +12 -2
- package/src/api.js +16 -4
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
|
}
|
|
@@ -2164,7 +2164,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2164
2164
|
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
2165
2165
|
type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
|
|
2166
2166
|
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';
|
|
2167
|
+
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
2168
|
type LabelTriggerMethod = 'autogenerated' | 'on_demand';
|
|
2169
2169
|
type LaneDirection = 'outbound' | 'return';
|
|
2170
2170
|
type LanePreselectPreference = 'lowest_cost' | 'default_tier';
|
|
@@ -6992,6 +6992,7 @@ declare namespace io.flow.v0.models {
|
|
|
6992
6992
|
readonly 'number': string;
|
|
6993
6993
|
readonly 'name': string;
|
|
6994
6994
|
readonly 'quantity': number;
|
|
6995
|
+
readonly 'image'?: io.flow.v0.models.OrderSummaryImage;
|
|
6995
6996
|
readonly 'center'?: string;
|
|
6996
6997
|
readonly 'price'?: io.flow.v0.models.Money;
|
|
6997
6998
|
readonly 'discount'?: io.flow.v0.models.LocalizedLineItemDiscount;
|
|
@@ -9894,6 +9895,8 @@ declare namespace io.flow.v0.models {
|
|
|
9894
9895
|
readonly 'delivered_duty'?: io.flow.v0.enums.DeliveredDuty;
|
|
9895
9896
|
readonly 'line_items'?: io.flow.v0.models.LineItemForm[];
|
|
9896
9897
|
readonly 'center_id'?: string;
|
|
9898
|
+
readonly 'taxes_owed'?: io.flow.v0.models.Money;
|
|
9899
|
+
readonly 'duties_owed'?: io.flow.v0.models.Money;
|
|
9897
9900
|
}
|
|
9898
9901
|
|
|
9899
9902
|
interface RatecardEstimateSummaryForm {
|
|
@@ -12174,8 +12177,14 @@ declare namespace io.flow.v0.models {
|
|
|
12174
12177
|
interface TransactionMetadataCarrierCharge {
|
|
12175
12178
|
readonly 'discriminator': 'carrier_charge';
|
|
12176
12179
|
readonly 'reason': io.flow.v0.enums.CarrierChargeReason;
|
|
12180
|
+
readonly 'label_created_at': string;
|
|
12177
12181
|
readonly 'carrier_id': string;
|
|
12178
12182
|
readonly 'carrier_tracking_number': string;
|
|
12183
|
+
readonly 'outbound'?: io.flow.v0.models.TransactionMetadataCarrierChargeOutbound;
|
|
12184
|
+
}
|
|
12185
|
+
|
|
12186
|
+
interface TransactionMetadataCarrierChargeOutbound {
|
|
12187
|
+
readonly 'transaction_id': string;
|
|
12179
12188
|
}
|
|
12180
12189
|
|
|
12181
12190
|
interface TransactionMetadataChannel {
|
|
@@ -14217,6 +14226,7 @@ export const tradeAgreementDuty: PropTypes.Requireable<io.flow.v0.models.TradeAg
|
|
|
14217
14226
|
export const transaction: PropTypes.Requireable<io.flow.v0.models.Transaction>;
|
|
14218
14227
|
export const transactionDetailsCard: PropTypes.Requireable<io.flow.v0.models.TransactionDetailsCard>;
|
|
14219
14228
|
export const transactionMetadataCarrierCharge: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataCarrierCharge>;
|
|
14229
|
+
export const transactionMetadataCarrierChargeOutbound: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataCarrierChargeOutbound>;
|
|
14220
14230
|
export const transactionMetadataChannel: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannel>;
|
|
14221
14231
|
export const transactionMetadataChannelCardMetadata: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadata>;
|
|
14222
14232
|
export const transactionMetadataChannelCardMetadataIssuerSummary: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary>;
|