@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/src/api.ts CHANGED
@@ -2105,6 +2105,11 @@ declare namespace io.flow.v0.enums {
2105
2105
  | 'phone'
2106
2106
  | 'company'
2107
2107
  | 'vat_registration_number';
2108
+ type AddressVerificationResultFieldCode =
2109
+ | 'matched'
2110
+ | 'not_available'
2111
+ | 'not_checked'
2112
+ | 'not_matched';
2108
2113
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
2109
2114
  type Aggregate = 'maximum' | 'minimum';
2110
2115
  type AttachmentType = 'csv';
@@ -2245,6 +2250,11 @@ declare namespace io.flow.v0.enums {
2245
2250
  type CurrencySymbolFormat = 'narrow' | 'primary';
2246
2251
  type CustomerAddressType = 'billing' | 'invoice' | 'shipping';
2247
2252
  type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
2253
+ type CvvResultCode =
2254
+ | 'matched'
2255
+ | 'not_available'
2256
+ | 'not_checked'
2257
+ | 'not_matched';
2248
2258
  type DayOfWeek =
2249
2259
  | 'sunday'
2250
2260
  | 'monday'
@@ -2562,6 +2572,15 @@ declare namespace io.flow.v0.enums {
2562
2572
  type InvitationErrorCode = 'expired' | 'invalid_email';
2563
2573
  type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
2564
2574
  type ItemIdentifier = 'item_number' | 'sku';
2575
+ type LabelRequestMethod =
2576
+ | 'flow_web_sync'
2577
+ | 'channel_web_async'
2578
+ | 'direct_api_sync'
2579
+ | 'direct_api_async'
2580
+ | 'bridge_api_sync'
2581
+ | 'partner_api_sync'
2582
+ | 'autogenerated';
2583
+ type LabelTriggerMethod = 'autogenerated' | 'on_demand';
2565
2584
  type LaneDirection = 'outbound' | 'return';
2566
2585
  type LanePreselectPreference = 'lowest_cost' | 'default_tier';
2567
2586
  type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
@@ -3302,6 +3321,13 @@ declare namespace io.flow.v0.models {
3302
3321
  readonly suggestions: io.flow.v0.models.AddressSuggestion[];
3303
3322
  }
3304
3323
 
3324
+ interface AddressVerificationResult {
3325
+ readonly street_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
3326
+ readonly postal_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
3327
+ readonly name_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
3328
+ readonly raw?: string;
3329
+ }
3330
+
3305
3331
  interface AdjustmentReason {
3306
3332
  readonly key: io.flow.v0.enums.AdjustmentReasonKey;
3307
3333
  readonly label: string;
@@ -5196,6 +5222,11 @@ declare namespace io.flow.v0.models {
5196
5222
  readonly description?: string;
5197
5223
  }
5198
5224
 
5225
+ interface CvvResult {
5226
+ readonly code: io.flow.v0.enums.CvvResultCode;
5227
+ readonly raw?: string;
5228
+ }
5229
+
5199
5230
  interface DatetimeRange {
5200
5231
  readonly from: string;
5201
5232
  readonly to: string;
@@ -9153,6 +9184,8 @@ declare namespace io.flow.v0.models {
9153
9184
  readonly card_data: io.flow.v0.unions.PaymentMethodCard;
9154
9185
  readonly device_fingerprint_details: io.flow.v0.unions.DeviceFingerprintDetails;
9155
9186
  readonly cvv?: string;
9187
+ readonly reference?: string;
9188
+ readonly previous_transaction_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
9156
9189
  }
9157
9190
 
9158
9191
  interface PaymentMethodDataAuthorizeGooglepay {
@@ -9301,6 +9334,8 @@ declare namespace io.flow.v0.models {
9301
9334
  readonly last_four: string;
9302
9335
  readonly card_type: io.flow.v0.enums.CardType;
9303
9336
  readonly id: string;
9337
+ readonly reference?: string;
9338
+ readonly transaction_details?: io.flow.v0.models.TransactionDetailsCard;
9304
9339
  }
9305
9340
 
9306
9341
  interface PaymentMethodSummaryGooglepay {
@@ -10857,12 +10892,18 @@ declare namespace io.flow.v0.models {
10857
10892
  }
10858
10893
 
10859
10894
  interface ServiceSummary {
10895
+ readonly discriminator: 'service_summary';
10860
10896
  readonly id: string;
10861
10897
  readonly carrier: io.flow.v0.models.CarrierReference;
10862
10898
  readonly name: string;
10863
10899
  readonly center_code?: string;
10864
10900
  }
10865
10901
 
10902
+ interface ServiceUnknown {
10903
+ readonly discriminator: 'service_unknown';
10904
+ readonly name: string;
10905
+ }
10906
+
10866
10907
  interface SessionAuthorizationForm {
10867
10908
  readonly session: string;
10868
10909
  }
@@ -11105,6 +11146,8 @@ declare namespace io.flow.v0.models {
11105
11146
  readonly order_identifier?: string;
11106
11147
  readonly fulfillment_key?: string;
11107
11148
  readonly shipment_recipient: io.flow.v0.enums.ShipmentRecipient;
11149
+ readonly label_request_method?: io.flow.v0.enums.LabelRequestMethod;
11150
+ readonly label_trigger_method?: io.flow.v0.enums.LabelTriggerMethod;
11108
11151
  readonly created_at?: string;
11109
11152
  readonly updated_at?: string;
11110
11153
  }
@@ -11217,9 +11260,9 @@ declare namespace io.flow.v0.models {
11217
11260
  readonly destination: io.flow.v0.models.ShippingAddress;
11218
11261
  readonly flow_tracking_number: string;
11219
11262
  readonly origin: io.flow.v0.models.ShippingAddress;
11220
- readonly package: io.flow.v0.models.ShippingLabelPackage;
11221
- readonly service: io.flow.v0.models.ServiceSummary;
11222
- readonly window: io.flow.v0.models.DatetimeRange;
11263
+ readonly package?: io.flow.v0.models.ShippingLabelPackage;
11264
+ readonly service: io.flow.v0.unions.ServiceDescription;
11265
+ readonly window?: io.flow.v0.models.DatetimeRange;
11223
11266
  readonly order?: io.flow.v0.models.LabelOrderSummary;
11224
11267
  readonly order_identifier?: string;
11225
11268
  readonly fulfillment_key?: string;
@@ -12331,6 +12374,17 @@ declare namespace io.flow.v0.models {
12331
12374
  readonly created_at: string;
12332
12375
  }
12333
12376
 
12377
+ interface TransactionDetailsCard {
12378
+ readonly address_verification_result?: io.flow.v0.models.AddressVerificationResult;
12379
+ readonly cvv_result?: io.flow.v0.models.CvvResult;
12380
+ readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
12381
+ }
12382
+
12383
+ interface TransactionNetworkDetailsCard {
12384
+ readonly network_transaction_id?: string;
12385
+ readonly network?: io.flow.v0.enums.CardType;
12386
+ }
12387
+
12334
12388
  interface TransactionUpserted {
12335
12389
  readonly discriminator: 'transaction_upserted';
12336
12390
  readonly event_id: string;
@@ -13078,6 +13132,9 @@ declare namespace io.flow.v0.unions {
13078
13132
  type SdkAdyenV3AuthenticationToken =
13079
13133
  | io.flow.v0.models.AdyenV3FingerprintToken
13080
13134
  | io.flow.v0.models.AdyenV3ChallengeToken;
13135
+ type ServiceDescription =
13136
+ | io.flow.v0.models.ServiceSummary
13137
+ | io.flow.v0.models.ServiceUnknown;
13081
13138
  type ServiceFee =
13082
13139
  | io.flow.v0.models.FuelSurchargeServiceFee
13083
13140
  | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee
@@ -13183,6 +13240,10 @@ export type AddressFieldName = io.flow.v0.enums.AddressFieldName;
13183
13240
  export type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
13184
13241
  export type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
13185
13242
  export type AddressVerification = io.flow.v0.models.AddressVerification;
13243
+ export type AddressVerificationResult =
13244
+ io.flow.v0.models.AddressVerificationResult;
13245
+ export type AddressVerificationResultFieldCode =
13246
+ io.flow.v0.enums.AddressVerificationResultFieldCode;
13186
13247
  export type AdjustmentReason = io.flow.v0.models.AdjustmentReason;
13187
13248
  export type AdjustmentReasonKey = io.flow.v0.enums.AdjustmentReasonKey;
13188
13249
  export type AdyenChallengeShopperData =
@@ -13578,6 +13639,8 @@ export type CustomerToken = io.flow.v0.models.CustomerToken;
13578
13639
  export type CustomerUpserted = io.flow.v0.models.CustomerUpserted;
13579
13640
  export type Cvv = io.flow.v0.models.Cvv;
13580
13641
  export type CvvCode = io.flow.v0.enums.CvvCode;
13642
+ export type CvvResult = io.flow.v0.models.CvvResult;
13643
+ export type CvvResultCode = io.flow.v0.enums.CvvResultCode;
13581
13644
  export type DatetimeRange = io.flow.v0.models.DatetimeRange;
13582
13645
  export type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
13583
13646
  export type DayOfWeek = io.flow.v0.enums.DayOfWeek;
@@ -14041,11 +14104,13 @@ export type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
14041
14104
  export type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
14042
14105
  export type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
14043
14106
  export type LabelReference = io.flow.v0.models.LabelReference;
14107
+ export type LabelRequestMethod = io.flow.v0.enums.LabelRequestMethod;
14044
14108
  export type LabelTrackingCarrierService =
14045
14109
  io.flow.v0.models.LabelTrackingCarrierService;
14046
14110
  export type LabelTrackingSummary = io.flow.v0.models.LabelTrackingSummary;
14047
14111
  export type LabelTrackingSummaryUpdate =
14048
14112
  io.flow.v0.models.LabelTrackingSummaryUpdate;
14113
+ export type LabelTriggerMethod = io.flow.v0.enums.LabelTriggerMethod;
14049
14114
  export type LabelUpserted = io.flow.v0.models.LabelUpserted;
14050
14115
  export type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
14051
14116
  export type LandedCostItem = io.flow.v0.models.LandedCostItem;
@@ -14818,9 +14883,11 @@ export type SdkAdyenV3AuthenticationToken =
14818
14883
  io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
14819
14884
  export type SelectIssuerOptionActionDetails =
14820
14885
  io.flow.v0.models.SelectIssuerOptionActionDetails;
14886
+ export type ServiceDescription = io.flow.v0.unions.ServiceDescription;
14821
14887
  export type ServiceFee = io.flow.v0.unions.ServiceFee;
14822
14888
  export type ServiceReference = io.flow.v0.models.ServiceReference;
14823
14889
  export type ServiceSummary = io.flow.v0.models.ServiceSummary;
14890
+ export type ServiceUnknown = io.flow.v0.models.ServiceUnknown;
14824
14891
  export type Session = io.flow.v0.unions.Session;
14825
14892
  export type SessionAuthorization = io.flow.v0.unions.SessionAuthorization;
14826
14893
  export type SessionAuthorizationForm =
@@ -15135,6 +15202,9 @@ export type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
15135
15202
  export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
15136
15203
  export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
15137
15204
  export type Transaction = io.flow.v0.models.Transaction;
15205
+ export type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
15206
+ export type TransactionNetworkDetailsCard =
15207
+ io.flow.v0.models.TransactionNetworkDetailsCard;
15138
15208
  export type TransactionSource = io.flow.v0.enums.TransactionSource;
15139
15209
  export type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
15140
15210
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;