@flowio/api-internal-prop-types 9.19.34 → 9.19.35
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 +89 -16
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +89 -16
- package/src/api-internal.js +95 -15
package/lib/api-internal.d.ts
CHANGED
|
@@ -4420,12 +4420,6 @@ declare namespace io.flow.label.v0.models {
|
|
|
4420
4420
|
readonly 'shipment_recipient'?: io.flow.label.v0.enums.ShipmentRecipient;
|
|
4421
4421
|
}
|
|
4422
4422
|
|
|
4423
|
-
interface FlowShippingLabelRatecardSummary {
|
|
4424
|
-
readonly 'discriminator': 'flow';
|
|
4425
|
-
readonly 'id': string;
|
|
4426
|
-
readonly 'cost': io.flow.common.v0.models.Money;
|
|
4427
|
-
}
|
|
4428
|
-
|
|
4429
4423
|
interface LabelOrderSummary {
|
|
4430
4424
|
readonly 'id': string;
|
|
4431
4425
|
readonly 'number': string;
|
|
@@ -4444,15 +4438,9 @@ declare namespace io.flow.label.v0.models {
|
|
|
4444
4438
|
readonly 'service'?: string;
|
|
4445
4439
|
}
|
|
4446
4440
|
|
|
4447
|
-
interface OrganizationShippingLabelRatecardSummary {
|
|
4448
|
-
readonly 'discriminator': 'organization';
|
|
4449
|
-
readonly 'id': string;
|
|
4450
|
-
readonly 'cost'?: io.flow.common.v0.models.Money;
|
|
4451
|
-
}
|
|
4452
|
-
|
|
4453
4441
|
interface ShippingLabel {
|
|
4454
4442
|
readonly 'id': string;
|
|
4455
|
-
readonly '
|
|
4443
|
+
readonly 'hop'?: io.flow.label.v0.models.ShippingLabelHopSummary;
|
|
4456
4444
|
readonly 'attributes': Record<string, string>;
|
|
4457
4445
|
readonly 'carrier_tracking_number': string;
|
|
4458
4446
|
readonly 'carrier_tracking_number_url': string;
|
|
@@ -4483,12 +4471,27 @@ declare namespace io.flow.label.v0.models {
|
|
|
4483
4471
|
readonly 'required': boolean;
|
|
4484
4472
|
}
|
|
4485
4473
|
|
|
4474
|
+
interface ShippingLabelHopSummary {
|
|
4475
|
+
readonly 'lane': io.flow.label.v0.models.ShippingLabelLaneSummary;
|
|
4476
|
+
readonly 'cost': io.flow.common.v0.models.Money;
|
|
4477
|
+
}
|
|
4478
|
+
|
|
4479
|
+
interface ShippingLabelLaneSummary {
|
|
4480
|
+
readonly 'id': string;
|
|
4481
|
+
readonly 'ratecard': io.flow.label.v0.models.ShippingLabelRatecardSummary;
|
|
4482
|
+
}
|
|
4483
|
+
|
|
4486
4484
|
interface ShippingLabelPackage {
|
|
4487
4485
|
readonly 'dimensions': io.flow.common.v0.models.Dimension;
|
|
4488
4486
|
readonly 'items': io.flow.common.v0.models.LineItemForm[];
|
|
4489
4487
|
readonly 'reference_number'?: string;
|
|
4490
4488
|
}
|
|
4491
4489
|
|
|
4490
|
+
interface ShippingLabelRatecardSummary {
|
|
4491
|
+
readonly 'id': string;
|
|
4492
|
+
readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
4493
|
+
}
|
|
4494
|
+
|
|
4492
4495
|
interface ShippingLabelSummary {
|
|
4493
4496
|
readonly 'id': string;
|
|
4494
4497
|
readonly 'flow_tracking_number': string;
|
|
@@ -4555,7 +4558,6 @@ declare namespace io.flow.label.v0.models {
|
|
|
4555
4558
|
|
|
4556
4559
|
declare namespace io.flow.label.v0.unions {
|
|
4557
4560
|
type ShippingLabelForm = (io.flow.label.v0.models.DetailedShippingLabelForm | io.flow.label.v0.models.SummaryShippingLabelForm);
|
|
4558
|
-
type ShippingLabelRatecardSummary = (io.flow.label.v0.models.FlowShippingLabelRatecardSummary | io.flow.label.v0.models.OrganizationShippingLabelRatecardSummary);
|
|
4559
4561
|
type ShippingNotificationForm = (io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm | io.flow.label.v0.models.SummaryShippingNotificationForm);
|
|
4560
4562
|
}
|
|
4561
4563
|
|
|
@@ -5415,6 +5417,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5415
5417
|
readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5416
5418
|
readonly 'threeDS2RequestData'?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
5417
5419
|
readonly 'recurringProcessingModel'?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
5420
|
+
readonly 'mcc'?: string;
|
|
5421
|
+
readonly 'metadata'?: any/*object*/;
|
|
5418
5422
|
}
|
|
5419
5423
|
|
|
5420
5424
|
interface AuthorizeRequest3D {
|
|
@@ -5601,6 +5605,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5601
5605
|
readonly 'origin'?: string;
|
|
5602
5606
|
readonly 'channel'?: io.flow.adyen.v0.enums.Channel;
|
|
5603
5607
|
readonly 'returnUrl'?: string;
|
|
5608
|
+
readonly 'mcc'?: string;
|
|
5609
|
+
readonly 'metadata'?: any/*object*/;
|
|
5604
5610
|
}
|
|
5605
5611
|
|
|
5606
5612
|
interface PaymentResponse {
|
|
@@ -6677,7 +6683,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
|
|
|
6677
6683
|
type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
6678
6684
|
type ShopifyOrderValueType = 'string' | 'integer';
|
|
6679
6685
|
type ShopifyWebhookFormat = 'json' | 'xml';
|
|
6680
|
-
type ShopifyWebhookTopic = 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'themes/create' | 'themes/publish' | 'themes/update';
|
|
6686
|
+
type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update';
|
|
6681
6687
|
}
|
|
6682
6688
|
|
|
6683
6689
|
declare namespace io.flow.shopify.markets.v0.models {
|
|
@@ -7153,6 +7159,31 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
7153
7159
|
readonly 'gateway': string;
|
|
7154
7160
|
}
|
|
7155
7161
|
|
|
7162
|
+
interface ShopifyWebhookCustomersDataRequest {
|
|
7163
|
+
readonly 'shop_id': number;
|
|
7164
|
+
readonly 'shop_domain': string;
|
|
7165
|
+
readonly 'orders_requested': number[];
|
|
7166
|
+
readonly 'customer': io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
|
|
7167
|
+
readonly 'data_request': io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersDataRequestId;
|
|
7168
|
+
}
|
|
7169
|
+
|
|
7170
|
+
interface ShopifyWebhookCustomersDataRequestId {
|
|
7171
|
+
readonly 'id': number;
|
|
7172
|
+
}
|
|
7173
|
+
|
|
7174
|
+
interface ShopifyWebhookCustomersRedact {
|
|
7175
|
+
readonly 'shop_id': number;
|
|
7176
|
+
readonly 'shop_domain': string;
|
|
7177
|
+
readonly 'customer': io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
|
|
7178
|
+
readonly 'orders_to_redact'?: number[];
|
|
7179
|
+
}
|
|
7180
|
+
|
|
7181
|
+
interface ShopifyWebhookCustomersRedactCustomer {
|
|
7182
|
+
readonly 'id': number;
|
|
7183
|
+
readonly 'email'?: string;
|
|
7184
|
+
readonly 'phone'?: string;
|
|
7185
|
+
}
|
|
7186
|
+
|
|
7156
7187
|
interface ShopifyWebhookRequest {
|
|
7157
7188
|
readonly 'topic': io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
|
|
7158
7189
|
readonly 'address': string;
|
|
@@ -7180,6 +7211,11 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
7180
7211
|
readonly 'webhook': io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
|
|
7181
7212
|
}
|
|
7182
7213
|
|
|
7214
|
+
interface ShopifyWebhookShopRedact {
|
|
7215
|
+
readonly 'shop_id': number;
|
|
7216
|
+
readonly 'shop_domain': string;
|
|
7217
|
+
}
|
|
7218
|
+
|
|
7183
7219
|
interface ShopifyWebhooksResponseWrapper {
|
|
7184
7220
|
readonly 'webhooks': io.flow.shopify.markets.v0.models.ShopifyWebhookResponse[];
|
|
7185
7221
|
}
|
|
@@ -8110,6 +8146,28 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
8110
8146
|
readonly 'total': number;
|
|
8111
8147
|
}
|
|
8112
8148
|
|
|
8149
|
+
interface HopEstimateV2 {
|
|
8150
|
+
readonly 'origin_address': io.flow.fulfillment.v0.models.ShippingAddress;
|
|
8151
|
+
readonly 'destination_address': io.flow.fulfillment.v0.models.ShippingAddress;
|
|
8152
|
+
readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
|
|
8153
|
+
readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
|
|
8154
|
+
readonly 'currency': string;
|
|
8155
|
+
readonly 'amount': number;
|
|
8156
|
+
readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
|
|
8157
|
+
readonly 'total': number;
|
|
8158
|
+
readonly 'lane': io.flow.ratecard.v0.models.LaneSummary;
|
|
8159
|
+
}
|
|
8160
|
+
|
|
8161
|
+
interface HopV2 {
|
|
8162
|
+
readonly 'hop_number': number;
|
|
8163
|
+
readonly 'hop_estimate': io.flow.ratecard.v0.models.HopEstimateV2;
|
|
8164
|
+
}
|
|
8165
|
+
|
|
8166
|
+
interface LaneSummary {
|
|
8167
|
+
readonly 'id': string;
|
|
8168
|
+
readonly 'ratecard': io.flow.ratecard.v0.models.RatecardSummary;
|
|
8169
|
+
}
|
|
8170
|
+
|
|
8113
8171
|
interface OversizedShipmentRatecardFee {
|
|
8114
8172
|
readonly 'discriminator': 'oversized_shipment_ratecard_fee';
|
|
8115
8173
|
readonly 'weight_threshold': number;
|
|
@@ -8213,6 +8271,15 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
8213
8271
|
readonly 'ratecard': io.flow.ratecard.v0.models.RatecardSummary;
|
|
8214
8272
|
}
|
|
8215
8273
|
|
|
8274
|
+
interface RatecardEstimateV4 {
|
|
8275
|
+
readonly 'discriminator': 'ratecard_estimate_v4';
|
|
8276
|
+
readonly 'hops': io.flow.ratecard.v0.models.HopV2[];
|
|
8277
|
+
readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
|
|
8278
|
+
readonly 'dimensional_weight'?: io.flow.common.v0.models.Measurement;
|
|
8279
|
+
readonly 'gravitational_weight'?: io.flow.common.v0.models.Measurement;
|
|
8280
|
+
readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
|
|
8281
|
+
}
|
|
8282
|
+
|
|
8216
8283
|
interface RatecardForm {
|
|
8217
8284
|
readonly 'direction': io.flow.label.v0.enums.Direction;
|
|
8218
8285
|
readonly 'effective_at': string;
|
|
@@ -8348,7 +8415,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
8348
8415
|
}
|
|
8349
8416
|
|
|
8350
8417
|
declare namespace io.flow.ratecard.v0.unions {
|
|
8351
|
-
type RatecardEstimate = (io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3);
|
|
8418
|
+
type RatecardEstimate = (io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3 | io.flow.ratecard.v0.models.RatecardEstimateV4);
|
|
8352
8419
|
type RatecardFee = (io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee);
|
|
8353
8420
|
type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee);
|
|
8354
8421
|
}
|
|
@@ -10841,6 +10908,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10841
10908
|
type DeliveredDutyOptionMessageType = 'warning' | 'notification';
|
|
10842
10909
|
type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty';
|
|
10843
10910
|
type DiscountRequestOrderEntitlementKey = 'subtotal';
|
|
10911
|
+
type DisputeBillable = 'flow' | 'organization';
|
|
10844
10912
|
type DisputeCategory = 'friendly_fraud' | 'true_fraud' | 'processing_error';
|
|
10845
10913
|
type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
|
|
10846
10914
|
type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
|
|
@@ -10897,6 +10965,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10897
10965
|
type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
|
|
10898
10966
|
type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
|
|
10899
10967
|
type NatureOfSale = 'consumer' | 'to_non_registered_business' | 'to_registered_business' | 'flash_title';
|
|
10968
|
+
type NewRevenueStatementStatus = 'created' | 'transactions_assigned' | 'statement_generated' | 'statement_regenerated';
|
|
10900
10969
|
type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
|
|
10901
10970
|
type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
|
|
10902
10971
|
type OrderAttributeIntent = 'discount_code';
|
|
@@ -14913,6 +14982,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14913
14982
|
readonly 'reason': string;
|
|
14914
14983
|
readonly 'status': io.flow.internal.v0.enums.DisputeStatus;
|
|
14915
14984
|
readonly 'liability': io.flow.internal.v0.enums.DisputeLiability;
|
|
14985
|
+
readonly 'billable': io.flow.internal.v0.enums.DisputeBillable;
|
|
14916
14986
|
readonly 'details': io.flow.internal.v0.unions.DisputeDetails;
|
|
14917
14987
|
readonly 'issued_at': string;
|
|
14918
14988
|
readonly 'expires_at'?: string;
|
|
@@ -14983,6 +15053,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14983
15053
|
readonly 'discriminator': 'dispute_transaction';
|
|
14984
15054
|
readonly 'id': string;
|
|
14985
15055
|
readonly 'type': io.flow.internal.v0.enums.BillingTransactionType;
|
|
15056
|
+
readonly 'authorization': io.flow.payment.v0.models.AuthorizationReference;
|
|
14986
15057
|
readonly 'posted_at': string;
|
|
14987
15058
|
readonly 'value': io.flow.common.v0.models.Price;
|
|
14988
15059
|
readonly 'description': string;
|
|
@@ -21012,6 +21083,7 @@ export const crossdockTrackingStatus: PropTypes.Requireable<io.flow.internal.v0.
|
|
|
21012
21083
|
export const deliveredDutyOptionMessageType: PropTypes.Requireable<io.flow.internal.v0.enums.DeliveredDutyOptionMessageType>;
|
|
21013
21084
|
export const deminimisAdjustmentType: PropTypes.Requireable<io.flow.internal.v0.enums.DeminimisAdjustmentType>;
|
|
21014
21085
|
export const discountRequestOrderEntitlementKey: PropTypes.Requireable<io.flow.internal.v0.enums.DiscountRequestOrderEntitlementKey>;
|
|
21086
|
+
export const disputeBillable: PropTypes.Requireable<io.flow.internal.v0.enums.DisputeBillable>;
|
|
21015
21087
|
export const disputeCategory: PropTypes.Requireable<io.flow.internal.v0.enums.DisputeCategory>;
|
|
21016
21088
|
export const disputeEvidence: PropTypes.Requireable<io.flow.internal.v0.enums.DisputeEvidence>;
|
|
21017
21089
|
export const disputeImportStatus: PropTypes.Requireable<io.flow.internal.v0.enums.DisputeImportStatus>;
|
|
@@ -21068,6 +21140,7 @@ export const marketingGatewayPlatform: PropTypes.Requireable<io.flow.internal.v0
|
|
|
21068
21140
|
export const marketingGatewayProductStatus: PropTypes.Requireable<io.flow.internal.v0.enums.MarketingGatewayProductStatus>;
|
|
21069
21141
|
export const marketingGatewaySchemaCompatibility: PropTypes.Requireable<io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility>;
|
|
21070
21142
|
export const natureOfSale: PropTypes.Requireable<io.flow.internal.v0.enums.NatureOfSale>;
|
|
21143
|
+
export const newRevenueStatementStatus: PropTypes.Requireable<io.flow.internal.v0.enums.NewRevenueStatementStatus>;
|
|
21071
21144
|
export const noLiabilityReasonCode: PropTypes.Requireable<io.flow.internal.v0.enums.NoLiabilityReasonCode>;
|
|
21072
21145
|
export const orderAction: PropTypes.Requireable<io.flow.internal.v0.enums.OrderAction>;
|
|
21073
21146
|
export const orderAttributeIntent: PropTypes.Requireable<io.flow.internal.v0.enums.OrderAttributeIntent>;
|