@flowio/types 11.24.43 → 11.24.45
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 +244 -23
- package/dist/api.d.ts +48 -3
- package/package.json +2 -2
- package/src/api-internal.ts +345 -23
- package/src/api.ts +73 -3
package/dist/api.d.ts
CHANGED
|
@@ -1647,6 +1647,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1647
1647
|
type AbandonedOrderPromotionStatus = 'active' | 'inactive';
|
|
1648
1648
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
1649
1649
|
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number';
|
|
1650
|
+
type AddressVerificationResultFieldCode = 'matched' | 'not_available' | 'not_checked' | 'not_matched';
|
|
1650
1651
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
1651
1652
|
type Aggregate = 'maximum' | 'minimum';
|
|
1652
1653
|
type AttachmentType = 'csv';
|
|
@@ -1681,6 +1682,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1681
1682
|
type CurrencySymbolFormat = 'narrow' | 'primary';
|
|
1682
1683
|
type CustomerAddressType = 'billing' | 'invoice' | 'shipping';
|
|
1683
1684
|
type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
|
|
1685
|
+
type CvvResultCode = 'matched' | 'not_available' | 'not_checked' | 'not_matched';
|
|
1684
1686
|
type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
1685
1687
|
type DeliveredDuty = 'paid' | 'unpaid';
|
|
1686
1688
|
type DeliveredDutyDisplayType = 'all' | 'single';
|
|
@@ -1730,6 +1732,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1730
1732
|
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
1731
1733
|
type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
|
|
1732
1734
|
type ItemIdentifier = 'item_number' | 'sku';
|
|
1735
|
+
type LabelRequestMethod = 'flow_web_sync' | 'channel_web_async' | 'direct_api_sync' | 'direct_api_async' | 'bridge_api_sync' | 'partner_api_sync' | 'autogenerated';
|
|
1736
|
+
type LabelTriggerMethod = 'autogenerated' | 'on_demand';
|
|
1733
1737
|
type LaneDirection = 'outbound' | 'return';
|
|
1734
1738
|
type LanePreselectPreference = 'lowest_cost' | 'default_tier';
|
|
1735
1739
|
type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
|
|
@@ -2065,6 +2069,12 @@ declare namespace io.flow.v0.models {
|
|
|
2065
2069
|
readonly valid: boolean;
|
|
2066
2070
|
readonly suggestions: io.flow.v0.models.AddressSuggestion[];
|
|
2067
2071
|
}
|
|
2072
|
+
interface AddressVerificationResult {
|
|
2073
|
+
readonly street_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
2074
|
+
readonly postal_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
2075
|
+
readonly name_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
2076
|
+
readonly raw?: string;
|
|
2077
|
+
}
|
|
2068
2078
|
interface AdjustmentReason {
|
|
2069
2079
|
readonly key: io.flow.v0.enums.AdjustmentReasonKey;
|
|
2070
2080
|
readonly label: string;
|
|
@@ -3697,6 +3707,10 @@ declare namespace io.flow.v0.models {
|
|
|
3697
3707
|
readonly code: io.flow.v0.enums.CvvCode;
|
|
3698
3708
|
readonly description?: string;
|
|
3699
3709
|
}
|
|
3710
|
+
interface CvvResult {
|
|
3711
|
+
readonly code: io.flow.v0.enums.CvvResultCode;
|
|
3712
|
+
readonly raw?: string;
|
|
3713
|
+
}
|
|
3700
3714
|
interface DatetimeRange {
|
|
3701
3715
|
readonly from: string;
|
|
3702
3716
|
readonly to: string;
|
|
@@ -7086,6 +7100,8 @@ declare namespace io.flow.v0.models {
|
|
|
7086
7100
|
readonly card_data: io.flow.v0.unions.PaymentMethodCard;
|
|
7087
7101
|
readonly device_fingerprint_details: io.flow.v0.unions.DeviceFingerprintDetails;
|
|
7088
7102
|
readonly cvv?: string;
|
|
7103
|
+
readonly reference?: string;
|
|
7104
|
+
readonly previous_transaction_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
7089
7105
|
}
|
|
7090
7106
|
interface PaymentMethodDataAuthorizeGooglepay {
|
|
7091
7107
|
readonly type: 'authorize_googlepay';
|
|
@@ -7207,6 +7223,8 @@ declare namespace io.flow.v0.models {
|
|
|
7207
7223
|
readonly last_four: string;
|
|
7208
7224
|
readonly card_type: io.flow.v0.enums.CardType;
|
|
7209
7225
|
readonly id: string;
|
|
7226
|
+
readonly reference?: string;
|
|
7227
|
+
readonly transaction_details?: io.flow.v0.models.TransactionDetailsCard;
|
|
7210
7228
|
}
|
|
7211
7229
|
interface PaymentMethodSummaryGooglepay {
|
|
7212
7230
|
readonly type: 'googlepay';
|
|
@@ -8547,11 +8565,16 @@ declare namespace io.flow.v0.models {
|
|
|
8547
8565
|
readonly id: string;
|
|
8548
8566
|
}
|
|
8549
8567
|
interface ServiceSummary {
|
|
8568
|
+
readonly discriminator: 'service_summary';
|
|
8550
8569
|
readonly id: string;
|
|
8551
8570
|
readonly carrier: io.flow.v0.models.CarrierReference;
|
|
8552
8571
|
readonly name: string;
|
|
8553
8572
|
readonly center_code?: string;
|
|
8554
8573
|
}
|
|
8574
|
+
interface ServiceUnknown {
|
|
8575
|
+
readonly discriminator: 'service_unknown';
|
|
8576
|
+
readonly name: string;
|
|
8577
|
+
}
|
|
8555
8578
|
interface SessionAuthorizationForm {
|
|
8556
8579
|
readonly session: string;
|
|
8557
8580
|
}
|
|
@@ -8758,6 +8781,8 @@ declare namespace io.flow.v0.models {
|
|
|
8758
8781
|
readonly order_identifier?: string;
|
|
8759
8782
|
readonly fulfillment_key?: string;
|
|
8760
8783
|
readonly shipment_recipient: io.flow.v0.enums.ShipmentRecipient;
|
|
8784
|
+
readonly label_request_method?: io.flow.v0.enums.LabelRequestMethod;
|
|
8785
|
+
readonly label_trigger_method?: io.flow.v0.enums.LabelTriggerMethod;
|
|
8761
8786
|
readonly created_at?: string;
|
|
8762
8787
|
readonly updated_at?: string;
|
|
8763
8788
|
}
|
|
@@ -8854,9 +8879,9 @@ declare namespace io.flow.v0.models {
|
|
|
8854
8879
|
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
8855
8880
|
readonly flow_tracking_number: string;
|
|
8856
8881
|
readonly origin: io.flow.v0.models.ShippingAddress;
|
|
8857
|
-
readonly package
|
|
8858
|
-
readonly service: io.flow.v0.
|
|
8859
|
-
readonly window
|
|
8882
|
+
readonly package?: io.flow.v0.models.ShippingLabelPackage;
|
|
8883
|
+
readonly service: io.flow.v0.unions.ServiceDescription;
|
|
8884
|
+
readonly window?: io.flow.v0.models.DatetimeRange;
|
|
8860
8885
|
readonly order?: io.flow.v0.models.LabelOrderSummary;
|
|
8861
8886
|
readonly order_identifier?: string;
|
|
8862
8887
|
readonly fulfillment_key?: string;
|
|
@@ -9825,6 +9850,15 @@ declare namespace io.flow.v0.models {
|
|
|
9825
9850
|
readonly identifiers: Record<string, string>;
|
|
9826
9851
|
readonly created_at: string;
|
|
9827
9852
|
}
|
|
9853
|
+
interface TransactionDetailsCard {
|
|
9854
|
+
readonly address_verification_result?: io.flow.v0.models.AddressVerificationResult;
|
|
9855
|
+
readonly cvv_result?: io.flow.v0.models.CvvResult;
|
|
9856
|
+
readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
9857
|
+
}
|
|
9858
|
+
interface TransactionNetworkDetailsCard {
|
|
9859
|
+
readonly network_transaction_id?: string;
|
|
9860
|
+
readonly network?: io.flow.v0.enums.CardType;
|
|
9861
|
+
}
|
|
9828
9862
|
interface TransactionUpserted {
|
|
9829
9863
|
readonly discriminator: 'transaction_upserted';
|
|
9830
9864
|
readonly event_id: string;
|
|
@@ -10125,6 +10159,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10125
10159
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
10126
10160
|
type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
|
|
10127
10161
|
type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
|
|
10162
|
+
type ServiceDescription = io.flow.v0.models.ServiceSummary | io.flow.v0.models.ServiceUnknown;
|
|
10128
10163
|
type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
10129
10164
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
10130
10165
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
@@ -10180,6 +10215,8 @@ export declare type AddressFieldName = io.flow.v0.enums.AddressFieldName;
|
|
|
10180
10215
|
export declare type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
|
|
10181
10216
|
export declare type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
|
|
10182
10217
|
export declare type AddressVerification = io.flow.v0.models.AddressVerification;
|
|
10218
|
+
export declare type AddressVerificationResult = io.flow.v0.models.AddressVerificationResult;
|
|
10219
|
+
export declare type AddressVerificationResultFieldCode = io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
10183
10220
|
export declare type AdjustmentReason = io.flow.v0.models.AdjustmentReason;
|
|
10184
10221
|
export declare type AdjustmentReasonKey = io.flow.v0.enums.AdjustmentReasonKey;
|
|
10185
10222
|
export declare type AdyenChallengeShopperData = io.flow.v0.models.AdyenChallengeShopperData;
|
|
@@ -10493,6 +10530,8 @@ export declare type CustomerToken = io.flow.v0.models.CustomerToken;
|
|
|
10493
10530
|
export declare type CustomerUpserted = io.flow.v0.models.CustomerUpserted;
|
|
10494
10531
|
export declare type Cvv = io.flow.v0.models.Cvv;
|
|
10495
10532
|
export declare type CvvCode = io.flow.v0.enums.CvvCode;
|
|
10533
|
+
export declare type CvvResult = io.flow.v0.models.CvvResult;
|
|
10534
|
+
export declare type CvvResultCode = io.flow.v0.enums.CvvResultCode;
|
|
10496
10535
|
export declare type DatetimeRange = io.flow.v0.models.DatetimeRange;
|
|
10497
10536
|
export declare type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
|
|
10498
10537
|
export declare type DayOfWeek = io.flow.v0.enums.DayOfWeek;
|
|
@@ -10859,9 +10898,11 @@ export declare type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
|
|
|
10859
10898
|
export declare type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
|
|
10860
10899
|
export declare type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
|
|
10861
10900
|
export declare type LabelReference = io.flow.v0.models.LabelReference;
|
|
10901
|
+
export declare type LabelRequestMethod = io.flow.v0.enums.LabelRequestMethod;
|
|
10862
10902
|
export declare type LabelTrackingCarrierService = io.flow.v0.models.LabelTrackingCarrierService;
|
|
10863
10903
|
export declare type LabelTrackingSummary = io.flow.v0.models.LabelTrackingSummary;
|
|
10864
10904
|
export declare type LabelTrackingSummaryUpdate = io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
10905
|
+
export declare type LabelTriggerMethod = io.flow.v0.enums.LabelTriggerMethod;
|
|
10865
10906
|
export declare type LabelUpserted = io.flow.v0.models.LabelUpserted;
|
|
10866
10907
|
export declare type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
|
|
10867
10908
|
export declare type LandedCostItem = io.flow.v0.models.LandedCostItem;
|
|
@@ -11479,9 +11520,11 @@ export declare type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
|
|
|
11479
11520
|
export declare type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
|
|
11480
11521
|
export declare type SdkAdyenV3AuthenticationToken = io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
|
|
11481
11522
|
export declare type SelectIssuerOptionActionDetails = io.flow.v0.models.SelectIssuerOptionActionDetails;
|
|
11523
|
+
export declare type ServiceDescription = io.flow.v0.unions.ServiceDescription;
|
|
11482
11524
|
export declare type ServiceFee = io.flow.v0.unions.ServiceFee;
|
|
11483
11525
|
export declare type ServiceReference = io.flow.v0.models.ServiceReference;
|
|
11484
11526
|
export declare type ServiceSummary = io.flow.v0.models.ServiceSummary;
|
|
11527
|
+
export declare type ServiceUnknown = io.flow.v0.models.ServiceUnknown;
|
|
11485
11528
|
export declare type Session = io.flow.v0.unions.Session;
|
|
11486
11529
|
export declare type SessionAuthorization = io.flow.v0.unions.SessionAuthorization;
|
|
11487
11530
|
export declare type SessionAuthorizationForm = io.flow.v0.models.SessionAuthorizationForm;
|
|
@@ -11721,6 +11764,8 @@ export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
|
|
|
11721
11764
|
export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
|
|
11722
11765
|
export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
|
|
11723
11766
|
export declare type Transaction = io.flow.v0.models.Transaction;
|
|
11767
|
+
export declare type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
|
|
11768
|
+
export declare type TransactionNetworkDetailsCard = io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
11724
11769
|
export declare type TransactionSource = io.flow.v0.enums.TransactionSource;
|
|
11725
11770
|
export declare type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
|
|
11726
11771
|
export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.45",
|
|
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": "e212da9c13b98bb1daf825e26a2d10b45117d35f"
|
|
29
29
|
}
|