@flowio/types 11.19.24 → 11.19.25
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/dist/api-internal.d.ts +13 -23
- package/dist/api.d.ts +2 -20
- package/package.json +2 -2
- package/src/api-internal.ts +14 -28
- package/src/api.ts +2 -23
package/dist/api-internal.d.ts
CHANGED
|
@@ -5965,7 +5965,6 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
5965
5965
|
readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
|
|
5966
5966
|
readonly send_receipt?: boolean;
|
|
5967
5967
|
readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
|
|
5968
|
-
readonly payment_request_id?: string;
|
|
5969
5968
|
}
|
|
5970
5969
|
interface ShopifyOrderAddress {
|
|
5971
5970
|
readonly id?: number;
|
|
@@ -7099,22 +7098,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
7099
7098
|
readonly id: string;
|
|
7100
7099
|
readonly name: string;
|
|
7101
7100
|
}
|
|
7102
|
-
interface
|
|
7103
|
-
readonly discriminator: 'ratecard_estimate_form_v1';
|
|
7104
|
-
readonly origin?: string;
|
|
7105
|
-
readonly destination?: string;
|
|
7106
|
-
readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
7107
|
-
readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
7108
|
-
readonly service?: string;
|
|
7109
|
-
readonly weight?: number;
|
|
7110
|
-
readonly length?: number;
|
|
7111
|
-
readonly width?: number;
|
|
7112
|
-
readonly depth?: number;
|
|
7113
|
-
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
7114
|
-
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
7115
|
-
}
|
|
7116
|
-
interface RatecardEstimateFormV2 {
|
|
7117
|
-
readonly discriminator: 'ratecard_estimate_form_v2';
|
|
7101
|
+
interface RatecardEstimateForm {
|
|
7118
7102
|
readonly origin_address: io.flow.common.v0.models.Address;
|
|
7119
7103
|
readonly destination_address: io.flow.common.v0.models.Address;
|
|
7120
7104
|
readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
@@ -7283,7 +7267,6 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
7283
7267
|
}
|
|
7284
7268
|
declare namespace io.flow.ratecard.v0.unions {
|
|
7285
7269
|
type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3;
|
|
7286
|
-
type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
|
|
7287
7270
|
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;
|
|
7288
7271
|
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;
|
|
7289
7272
|
}
|
|
@@ -9335,7 +9318,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9335
9318
|
type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
|
|
9336
9319
|
type BillingAllocationKey = 'freight_cost' | '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' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
9337
9320
|
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
9338
|
-
type BillingStatementBatchFileKey = 'archive' | 'summary'
|
|
9321
|
+
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
9339
9322
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
9340
9323
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
9341
9324
|
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
|
|
@@ -9429,8 +9412,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9429
9412
|
type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
|
|
9430
9413
|
type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
|
|
9431
9414
|
type DisputeImportType = 'adyen_dispute';
|
|
9415
|
+
type DisputeLiability = 'flow' | 'organization';
|
|
9432
9416
|
type DisputeProcessor = 'adyen' | 'paypal';
|
|
9433
|
-
type DisputeResponsibleParty = 'flow' | 'organization';
|
|
9434
9417
|
type DisputeStatus = 'pending' | 'won' | 'lost' | 'expired';
|
|
9435
9418
|
type DisputeType = 'chargeback';
|
|
9436
9419
|
type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
|
|
@@ -10373,6 +10356,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10373
10356
|
readonly promotion?: string;
|
|
10374
10357
|
readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
10375
10358
|
}
|
|
10359
|
+
interface BlazeExitCheckoutConfirmationMessage {
|
|
10360
|
+
readonly discriminator: 'exit_checkout_confirmation';
|
|
10361
|
+
}
|
|
10376
10362
|
interface BlazeExitCheckoutMessage {
|
|
10377
10363
|
readonly discriminator: 'exit_checkout';
|
|
10378
10364
|
}
|
|
@@ -10601,6 +10587,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10601
10587
|
readonly amount: number;
|
|
10602
10588
|
}
|
|
10603
10589
|
interface ChannelTokenForm {
|
|
10590
|
+
readonly channel_id: string;
|
|
10604
10591
|
readonly description?: string;
|
|
10605
10592
|
}
|
|
10606
10593
|
interface ChannelTransaction {
|
|
@@ -12769,11 +12756,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12769
12756
|
readonly id: string;
|
|
12770
12757
|
readonly processor: io.flow.internal.v0.enums.DisputeProcessor;
|
|
12771
12758
|
readonly key: string;
|
|
12759
|
+
readonly total: io.flow.common.v0.models.Money;
|
|
12772
12760
|
readonly type: io.flow.internal.v0.enums.DisputeType;
|
|
12773
12761
|
readonly category: io.flow.internal.v0.enums.DisputeCategory;
|
|
12774
12762
|
readonly reason: string;
|
|
12775
12763
|
readonly status: io.flow.internal.v0.enums.DisputeStatus;
|
|
12776
|
-
readonly
|
|
12764
|
+
readonly liability?: io.flow.internal.v0.enums.DisputeLiability;
|
|
12777
12765
|
readonly details: io.flow.internal.v0.unions.DisputeDetails;
|
|
12778
12766
|
readonly expires_at?: string;
|
|
12779
12767
|
readonly created_at: string;
|
|
@@ -12781,6 +12769,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12781
12769
|
interface DisputeDetailsAdyen {
|
|
12782
12770
|
readonly discriminator: 'adyen';
|
|
12783
12771
|
readonly psp_reference: string;
|
|
12772
|
+
readonly dispute_psp_reference: string;
|
|
12784
12773
|
}
|
|
12785
12774
|
interface DisputeDetailsPaypal {
|
|
12786
12775
|
readonly discriminator: 'paypal';
|
|
@@ -17811,7 +17800,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17811
17800
|
type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
|
|
17812
17801
|
type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
|
|
17813
17802
|
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 | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage;
|
|
17814
|
-
type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeCheckoutEventMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | 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;
|
|
17803
|
+
type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeCheckoutEventMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage | 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;
|
|
17815
17804
|
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;
|
|
17816
17805
|
type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
|
|
17817
17806
|
type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
|
|
@@ -18088,6 +18077,7 @@ export declare type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckout
|
|
|
18088
18077
|
export declare type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
|
|
18089
18078
|
export declare type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
18090
18079
|
export declare type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
|
|
18080
|
+
export declare type BlazeExitCheckoutConfirmationMessage = io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage;
|
|
18091
18081
|
export declare type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
|
|
18092
18082
|
export declare type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
|
|
18093
18083
|
export declare type BlazePaymentAuthCompleteMessage = io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
|
|
@@ -18756,8 +18746,8 @@ export declare type DisputeImportErrors = io.flow.internal.v0.models.DisputeImpo
|
|
|
18756
18746
|
export declare type DisputeImportForm = io.flow.internal.v0.models.DisputeImportForm;
|
|
18757
18747
|
export declare type DisputeImportStatus = io.flow.internal.v0.enums.DisputeImportStatus;
|
|
18758
18748
|
export declare type DisputeImportType = io.flow.internal.v0.enums.DisputeImportType;
|
|
18749
|
+
export declare type DisputeLiability = io.flow.internal.v0.enums.DisputeLiability;
|
|
18759
18750
|
export declare type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor;
|
|
18760
|
-
export declare type DisputeResponsibleParty = io.flow.internal.v0.enums.DisputeResponsibleParty;
|
|
18761
18751
|
export declare type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus;
|
|
18762
18752
|
export declare type DisputeType = io.flow.internal.v0.enums.DisputeType;
|
|
18763
18753
|
export declare type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport;
|
package/dist/api.d.ts
CHANGED
|
@@ -7773,22 +7773,7 @@ declare namespace io.flow.v0.models {
|
|
|
7773
7773
|
readonly organization: string;
|
|
7774
7774
|
readonly ratecard: io.flow.v0.models.Ratecard;
|
|
7775
7775
|
}
|
|
7776
|
-
interface
|
|
7777
|
-
readonly discriminator: 'ratecard_estimate_form_v1';
|
|
7778
|
-
readonly origin?: string;
|
|
7779
|
-
readonly destination?: string;
|
|
7780
|
-
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
7781
|
-
readonly distance_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
7782
|
-
readonly service?: string;
|
|
7783
|
-
readonly weight?: number;
|
|
7784
|
-
readonly length?: number;
|
|
7785
|
-
readonly width?: number;
|
|
7786
|
-
readonly depth?: number;
|
|
7787
|
-
readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
|
|
7788
|
-
readonly line_items?: io.flow.v0.models.LineItemForm[];
|
|
7789
|
-
}
|
|
7790
|
-
interface RatecardEstimateFormV2 {
|
|
7791
|
-
readonly discriminator: 'ratecard_estimate_form_v2';
|
|
7776
|
+
interface RatecardEstimateForm {
|
|
7792
7777
|
readonly origin_address: io.flow.v0.models.Address;
|
|
7793
7778
|
readonly destination_address: io.flow.v0.models.Address;
|
|
7794
7779
|
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
@@ -9729,7 +9714,6 @@ declare namespace io.flow.v0.unions {
|
|
|
9729
9714
|
type QueryFilter = io.flow.v0.models.QueryFilterStructured | io.flow.v0.models.QueryFilterUnstructured;
|
|
9730
9715
|
type QueryFilterForm = io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm;
|
|
9731
9716
|
type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2 | io.flow.v0.models.RatecardEstimateV3;
|
|
9732
|
-
type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateFormV1 | io.flow.v0.models.RatecardEstimateFormV2;
|
|
9733
9717
|
type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.v0.models.PeakSurchargeRatecardFee | io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
9734
9718
|
type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
|
|
9735
9719
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
@@ -10833,9 +10817,7 @@ export declare type Ratecard = io.flow.v0.models.Ratecard;
|
|
|
10833
10817
|
export declare type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
|
|
10834
10818
|
export declare type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
|
|
10835
10819
|
export declare type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
|
|
10836
|
-
export declare type RatecardEstimateForm = io.flow.v0.
|
|
10837
|
-
export declare type RatecardEstimateFormV1 = io.flow.v0.models.RatecardEstimateFormV1;
|
|
10838
|
-
export declare type RatecardEstimateFormV2 = io.flow.v0.models.RatecardEstimateFormV2;
|
|
10820
|
+
export declare type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
|
|
10839
10821
|
export declare type RatecardEstimateSummaryForm = io.flow.v0.models.RatecardEstimateSummaryForm;
|
|
10840
10822
|
export declare type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
|
|
10841
10823
|
export declare type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.25",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "4ae6e2759b529a0dbde456f9b601ac52b7556064"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -7937,7 +7937,6 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
7937
7937
|
readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
|
|
7938
7938
|
readonly send_receipt?: boolean;
|
|
7939
7939
|
readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
|
|
7940
|
-
readonly payment_request_id?: string;
|
|
7941
7940
|
}
|
|
7942
7941
|
|
|
7943
7942
|
interface ShopifyOrderAddress {
|
|
@@ -9343,23 +9342,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
9343
9342
|
readonly name: string;
|
|
9344
9343
|
}
|
|
9345
9344
|
|
|
9346
|
-
interface
|
|
9347
|
-
readonly discriminator: 'ratecard_estimate_form_v1';
|
|
9348
|
-
readonly origin?: string;
|
|
9349
|
-
readonly destination?: string;
|
|
9350
|
-
readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9351
|
-
readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
9352
|
-
readonly service?: string;
|
|
9353
|
-
readonly weight?: number;
|
|
9354
|
-
readonly length?: number;
|
|
9355
|
-
readonly width?: number;
|
|
9356
|
-
readonly depth?: number;
|
|
9357
|
-
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
9358
|
-
readonly line_items?: io.flow.common.v0.models.LineItemForm[];
|
|
9359
|
-
}
|
|
9360
|
-
|
|
9361
|
-
interface RatecardEstimateFormV2 {
|
|
9362
|
-
readonly discriminator: 'ratecard_estimate_form_v2';
|
|
9345
|
+
interface RatecardEstimateForm {
|
|
9363
9346
|
readonly origin_address: io.flow.common.v0.models.Address;
|
|
9364
9347
|
readonly destination_address: io.flow.common.v0.models.Address;
|
|
9365
9348
|
readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
@@ -9554,9 +9537,6 @@ declare namespace io.flow.ratecard.v0.unions {
|
|
|
9554
9537
|
| io.flow.ratecard.v0.models.RatecardEstimateV1
|
|
9555
9538
|
| io.flow.ratecard.v0.models.RatecardEstimateV2
|
|
9556
9539
|
| io.flow.ratecard.v0.models.RatecardEstimateV3;
|
|
9557
|
-
type RatecardEstimateForm =
|
|
9558
|
-
| io.flow.ratecard.v0.models.RatecardEstimateFormV1
|
|
9559
|
-
| io.flow.ratecard.v0.models.RatecardEstimateFormV2;
|
|
9560
9540
|
type RatecardFee =
|
|
9561
9541
|
| io.flow.ratecard.v0.models.DdpRatecardFee
|
|
9562
9542
|
| io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
|
|
@@ -12177,10 +12157,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12177
12157
|
| 'manual'
|
|
12178
12158
|
| 'orders'
|
|
12179
12159
|
| 'all';
|
|
12180
|
-
type BillingStatementBatchFileKey =
|
|
12181
|
-
| 'archive'
|
|
12182
|
-
| 'summary'
|
|
12183
|
-
| 'label_transactions';
|
|
12160
|
+
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
12184
12161
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
12185
12162
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
12186
12163
|
type BillingTransactionType =
|
|
@@ -12503,8 +12480,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12503
12480
|
type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
|
|
12504
12481
|
type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
|
|
12505
12482
|
type DisputeImportType = 'adyen_dispute';
|
|
12483
|
+
type DisputeLiability = 'flow' | 'organization';
|
|
12506
12484
|
type DisputeProcessor = 'adyen' | 'paypal';
|
|
12507
|
-
type DisputeResponsibleParty = 'flow' | 'organization';
|
|
12508
12485
|
type DisputeStatus = 'pending' | 'won' | 'lost' | 'expired';
|
|
12509
12486
|
type DisputeType = 'chargeback';
|
|
12510
12487
|
type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
|
|
@@ -13960,6 +13937,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13960
13937
|
readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
13961
13938
|
}
|
|
13962
13939
|
|
|
13940
|
+
interface BlazeExitCheckoutConfirmationMessage {
|
|
13941
|
+
readonly discriminator: 'exit_checkout_confirmation';
|
|
13942
|
+
}
|
|
13943
|
+
|
|
13963
13944
|
interface BlazeExitCheckoutMessage {
|
|
13964
13945
|
readonly discriminator: 'exit_checkout';
|
|
13965
13946
|
}
|
|
@@ -14235,6 +14216,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14235
14216
|
}
|
|
14236
14217
|
|
|
14237
14218
|
interface ChannelTokenForm {
|
|
14219
|
+
readonly channel_id: string;
|
|
14238
14220
|
readonly description?: string;
|
|
14239
14221
|
}
|
|
14240
14222
|
|
|
@@ -16861,11 +16843,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16861
16843
|
readonly id: string;
|
|
16862
16844
|
readonly processor: io.flow.internal.v0.enums.DisputeProcessor;
|
|
16863
16845
|
readonly key: string;
|
|
16846
|
+
readonly total: io.flow.common.v0.models.Money;
|
|
16864
16847
|
readonly type: io.flow.internal.v0.enums.DisputeType;
|
|
16865
16848
|
readonly category: io.flow.internal.v0.enums.DisputeCategory;
|
|
16866
16849
|
readonly reason: string;
|
|
16867
16850
|
readonly status: io.flow.internal.v0.enums.DisputeStatus;
|
|
16868
|
-
readonly
|
|
16851
|
+
readonly liability?: io.flow.internal.v0.enums.DisputeLiability;
|
|
16869
16852
|
readonly details: io.flow.internal.v0.unions.DisputeDetails;
|
|
16870
16853
|
readonly expires_at?: string;
|
|
16871
16854
|
readonly created_at: string;
|
|
@@ -16874,6 +16857,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16874
16857
|
interface DisputeDetailsAdyen {
|
|
16875
16858
|
readonly discriminator: 'adyen';
|
|
16876
16859
|
readonly psp_reference: string;
|
|
16860
|
+
readonly dispute_psp_reference: string;
|
|
16877
16861
|
}
|
|
16878
16862
|
|
|
16879
16863
|
interface DisputeDetailsPaypal {
|
|
@@ -22677,6 +22661,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22677
22661
|
| io.flow.internal.v0.models.BlazeCheckoutEventMessage
|
|
22678
22662
|
| io.flow.internal.v0.models.BlazeStartCheckoutMessage
|
|
22679
22663
|
| io.flow.internal.v0.models.BlazeExitCheckoutMessage
|
|
22664
|
+
| io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage
|
|
22680
22665
|
| io.flow.internal.v0.models.BlazeRedirectConfirmationMessage
|
|
22681
22666
|
| io.flow.internal.v0.models.BlazeSynInitializeMessage
|
|
22682
22667
|
| io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest
|
|
@@ -23590,6 +23575,7 @@ export type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckoutLine;
|
|
|
23590
23575
|
export type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
|
|
23591
23576
|
export type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
23592
23577
|
export type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
|
|
23578
|
+
export type BlazeExitCheckoutConfirmationMessage = io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage;
|
|
23593
23579
|
export type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
|
|
23594
23580
|
export type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
|
|
23595
23581
|
export type BlazePaymentAuthCompleteMessage = io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
|
|
@@ -24258,8 +24244,8 @@ export type DisputeImportErrors = io.flow.internal.v0.models.DisputeImportErrors
|
|
|
24258
24244
|
export type DisputeImportForm = io.flow.internal.v0.models.DisputeImportForm;
|
|
24259
24245
|
export type DisputeImportStatus = io.flow.internal.v0.enums.DisputeImportStatus;
|
|
24260
24246
|
export type DisputeImportType = io.flow.internal.v0.enums.DisputeImportType;
|
|
24247
|
+
export type DisputeLiability = io.flow.internal.v0.enums.DisputeLiability;
|
|
24261
24248
|
export type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor;
|
|
24262
|
-
export type DisputeResponsibleParty = io.flow.internal.v0.enums.DisputeResponsibleParty;
|
|
24263
24249
|
export type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus;
|
|
24264
24250
|
export type DisputeType = io.flow.internal.v0.enums.DisputeType;
|
|
24265
24251
|
export type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport;
|
package/src/api.ts
CHANGED
|
@@ -9873,23 +9873,7 @@ declare namespace io.flow.v0.models {
|
|
|
9873
9873
|
readonly ratecard: io.flow.v0.models.Ratecard;
|
|
9874
9874
|
}
|
|
9875
9875
|
|
|
9876
|
-
interface
|
|
9877
|
-
readonly discriminator: 'ratecard_estimate_form_v1';
|
|
9878
|
-
readonly origin?: string;
|
|
9879
|
-
readonly destination?: string;
|
|
9880
|
-
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
9881
|
-
readonly distance_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
9882
|
-
readonly service?: string;
|
|
9883
|
-
readonly weight?: number;
|
|
9884
|
-
readonly length?: number;
|
|
9885
|
-
readonly width?: number;
|
|
9886
|
-
readonly depth?: number;
|
|
9887
|
-
readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
|
|
9888
|
-
readonly line_items?: io.flow.v0.models.LineItemForm[];
|
|
9889
|
-
}
|
|
9890
|
-
|
|
9891
|
-
interface RatecardEstimateFormV2 {
|
|
9892
|
-
readonly discriminator: 'ratecard_estimate_form_v2';
|
|
9876
|
+
interface RatecardEstimateForm {
|
|
9893
9877
|
readonly origin_address: io.flow.v0.models.Address;
|
|
9894
9878
|
readonly destination_address: io.flow.v0.models.Address;
|
|
9895
9879
|
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
@@ -12468,9 +12452,6 @@ declare namespace io.flow.v0.unions {
|
|
|
12468
12452
|
| io.flow.v0.models.RatecardEstimateV1
|
|
12469
12453
|
| io.flow.v0.models.RatecardEstimateV2
|
|
12470
12454
|
| io.flow.v0.models.RatecardEstimateV3;
|
|
12471
|
-
type RatecardEstimateForm =
|
|
12472
|
-
| io.flow.v0.models.RatecardEstimateFormV1
|
|
12473
|
-
| io.flow.v0.models.RatecardEstimateFormV2;
|
|
12474
12455
|
type RatecardFee =
|
|
12475
12456
|
| io.flow.v0.models.DdpRatecardFee
|
|
12476
12457
|
| io.flow.v0.models.FuelSurchargeRatecardFee
|
|
@@ -13626,9 +13607,7 @@ export type Ratecard = io.flow.v0.models.Ratecard;
|
|
|
13626
13607
|
export type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
|
|
13627
13608
|
export type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
|
|
13628
13609
|
export type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
|
|
13629
|
-
export type RatecardEstimateForm = io.flow.v0.
|
|
13630
|
-
export type RatecardEstimateFormV1 = io.flow.v0.models.RatecardEstimateFormV1;
|
|
13631
|
-
export type RatecardEstimateFormV2 = io.flow.v0.models.RatecardEstimateFormV2;
|
|
13610
|
+
export type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
|
|
13632
13611
|
export type RatecardEstimateSummaryForm = io.flow.v0.models.RatecardEstimateSummaryForm;
|
|
13633
13612
|
export type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
|
|
13634
13613
|
export type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;
|