@flowio/types 11.24.34 → 11.24.36

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.d.ts CHANGED
@@ -1674,6 +1674,7 @@ declare namespace io.flow.v0.enums {
1674
1674
  type ConsumerInvoiceCustomerType = 'business_eu_verified' | 'business_non_verified' | 'individual';
1675
1675
  type ConsumerInvoiceDocumentType = 'pdf';
1676
1676
  type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
1677
+ type CostEstimateSource = 'flow' | 'channel';
1677
1678
  type CountryPickerSource = 'experience' | 'destination';
1678
1679
  type CreditPaymentErrorCode = 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount';
1679
1680
  type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix';
@@ -2529,6 +2530,10 @@ declare namespace io.flow.v0.models {
2529
2530
  interface BillingChannelStatementReference {
2530
2531
  readonly id: string;
2531
2532
  }
2533
+ interface BillingDiscount {
2534
+ readonly amount: number;
2535
+ readonly description?: string;
2536
+ }
2532
2537
  interface BridgeManifest {
2533
2538
  readonly id: string;
2534
2539
  readonly service: io.flow.v0.models.ServiceSummary;
@@ -3109,6 +3114,7 @@ declare namespace io.flow.v0.models {
3109
3114
  readonly gross: number;
3110
3115
  readonly fees: io.flow.v0.models.FeeDeduction[];
3111
3116
  readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
3117
+ readonly discounts: io.flow.v0.models.BillingDiscount[];
3112
3118
  readonly net: number;
3113
3119
  readonly created_at: string;
3114
3120
  }
@@ -5369,6 +5375,25 @@ declare namespace io.flow.v0.models {
5369
5375
  readonly id: string;
5370
5376
  readonly number: string;
5371
5377
  }
5378
+ interface LabelReference {
5379
+ readonly id: string;
5380
+ }
5381
+ interface LabelTrackingCarrierService {
5382
+ readonly carrier_id: string;
5383
+ readonly service_id?: string;
5384
+ }
5385
+ interface LabelTrackingSummary {
5386
+ readonly id: string;
5387
+ readonly carrier_service: io.flow.v0.models.LabelTrackingCarrierService;
5388
+ readonly carrier_tracking_number: string;
5389
+ readonly order_number?: string;
5390
+ readonly label?: io.flow.v0.models.LabelReference;
5391
+ readonly in_transit: io.flow.v0.models.LabelTrackingSummaryUpdate;
5392
+ readonly delivered?: io.flow.v0.models.LabelTrackingSummaryUpdate;
5393
+ }
5394
+ interface LabelTrackingSummaryUpdate {
5395
+ readonly timestamp: string;
5396
+ }
5372
5397
  interface LabelUpserted {
5373
5398
  readonly discriminator: 'label_upserted';
5374
5399
  readonly event_id: string;
@@ -5603,6 +5628,10 @@ declare namespace io.flow.v0.models {
5603
5628
  readonly code: io.flow.v0.enums.LocationErrorCode;
5604
5629
  readonly messages: string[];
5605
5630
  }
5631
+ interface LogisticsFormat {
5632
+ readonly preference?: string;
5633
+ readonly description?: string;
5634
+ }
5606
5635
  interface LogisticsSettings {
5607
5636
  readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
5608
5637
  }
@@ -6658,6 +6687,7 @@ declare namespace io.flow.v0.models {
6658
6687
  readonly parent_id?: string;
6659
6688
  readonly defaults?: io.flow.v0.models.OrganizationDefaults;
6660
6689
  readonly status?: io.flow.v0.enums.OrganizationStatus;
6690
+ readonly type?: io.flow.v0.enums.OrganizationType;
6661
6691
  }
6662
6692
  interface OrganizationPutForm {
6663
6693
  readonly name?: string;
@@ -8632,9 +8662,11 @@ declare namespace io.flow.v0.models {
8632
8662
  interface ShippingLabel {
8633
8663
  readonly id: string;
8634
8664
  readonly hop?: io.flow.v0.models.ShippingLabelHopSummary;
8665
+ readonly reference_id?: string;
8635
8666
  readonly attributes: Record<string, string>;
8636
8667
  readonly carrier_tracking_number: string;
8637
8668
  readonly carrier_tracking_number_url: string;
8669
+ readonly cost_estimate_source?: io.flow.v0.enums.CostEstimateSource;
8638
8670
  readonly cost?: io.flow.v0.models.Price;
8639
8671
  readonly destination: io.flow.v0.models.ShippingAddress;
8640
8672
  readonly flow_tracking_number: string;
@@ -8759,6 +8791,10 @@ declare namespace io.flow.v0.models {
8759
8791
  readonly type: io.flow.v0.enums.ChangeType;
8760
8792
  readonly shipping_notification: io.flow.v0.models.ShippingNotification;
8761
8793
  }
8794
+ interface Shop {
8795
+ readonly name: string;
8796
+ readonly id: string;
8797
+ }
8762
8798
  interface ShopifyCart {
8763
8799
  readonly id: string;
8764
8800
  readonly items: io.flow.v0.models.ShopifyCartItem[];
@@ -8951,6 +8987,12 @@ declare namespace io.flow.v0.models {
8951
8987
  readonly created_at: string;
8952
8988
  readonly activated_at?: string;
8953
8989
  readonly status_updated_at?: string;
8990
+ readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
8991
+ readonly shop?: io.flow.v0.models.Shop;
8992
+ readonly annual_xborder_gmv?: io.flow.v0.models.Money;
8993
+ readonly monthly_xborder_gmv?: io.flow.v0.models.Money;
8994
+ readonly average_order_value?: io.flow.v0.models.Money;
8995
+ readonly total_order?: io.flow.v0.models.TotalOrder;
8954
8996
  }
8955
8997
  interface ShopifyMerchantApplicationForm {
8956
8998
  readonly discriminator: 'shopify_merchant_application_form';
@@ -8978,6 +9020,12 @@ declare namespace io.flow.v0.models {
8978
9020
  readonly default_country_of_origin?: string;
8979
9021
  readonly ratecard_id?: string;
8980
9022
  readonly rate_card: string;
9023
+ readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
9024
+ readonly shop?: io.flow.v0.models.Shop;
9025
+ readonly annual_xborder_gmv?: io.flow.v0.models.Money;
9026
+ readonly monthly_xborder_gmv?: io.flow.v0.models.Money;
9027
+ readonly average_order_value?: io.flow.v0.models.Money;
9028
+ readonly total_order?: io.flow.v0.models.TotalOrder;
8981
9029
  }
8982
9030
  interface ShopifyMerchantApplicationPutForm {
8983
9031
  readonly discriminator: 'shopify_merchant_application_put_form';
@@ -9565,6 +9613,10 @@ declare namespace io.flow.v0.models {
9565
9613
  interface TokenValidationForm {
9566
9614
  readonly token: string;
9567
9615
  }
9616
+ interface TotalOrder {
9617
+ readonly value?: io.flow.v0.models.Money;
9618
+ readonly count?: number;
9619
+ }
9568
9620
  interface Tracking {
9569
9621
  readonly id: string;
9570
9622
  readonly labels: io.flow.v0.models.TrackingLabel[];
@@ -9634,6 +9686,7 @@ declare namespace io.flow.v0.models {
9634
9686
  readonly tracking_id: string;
9635
9687
  readonly status: io.flow.v0.enums.TrackingStatus;
9636
9688
  readonly carrier: string;
9689
+ readonly service_id?: string;
9637
9690
  readonly carrier_tracking_number: string;
9638
9691
  readonly delivery_estimate?: string;
9639
9692
  readonly description?: string;
@@ -9696,6 +9749,7 @@ declare namespace io.flow.v0.models {
9696
9749
  readonly gross: number;
9697
9750
  readonly fees: io.flow.v0.models.FeeDeduction[];
9698
9751
  readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
9752
+ readonly discounts: io.flow.v0.models.BillingDiscount[];
9699
9753
  readonly net: number;
9700
9754
  readonly created_at: string;
9701
9755
  }
@@ -10158,6 +10212,7 @@ export declare type BillingChannelOrderSummary = io.flow.v0.models.BillingChanne
10158
10212
  export declare type BillingChannelOrganizationSummary = io.flow.v0.models.BillingChannelOrganizationSummary;
10159
10213
  export declare type BillingChannelPaymentRequestReference = io.flow.v0.models.BillingChannelPaymentRequestReference;
10160
10214
  export declare type BillingChannelStatementReference = io.flow.v0.models.BillingChannelStatementReference;
10215
+ export declare type BillingDiscount = io.flow.v0.models.BillingDiscount;
10161
10216
  export declare type BridgeManifest = io.flow.v0.models.BridgeManifest;
10162
10217
  export declare type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm;
10163
10218
  export declare type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
@@ -10309,6 +10364,7 @@ export declare type Contact = io.flow.v0.models.Contact;
10309
10364
  export declare type Context = io.flow.v0.models.Context;
10310
10365
  export declare type ContextForm = io.flow.v0.models.ContextForm;
10311
10366
  export declare type ContextReference = io.flow.v0.models.ContextReference;
10367
+ export declare type CostEstimateSource = io.flow.v0.enums.CostEstimateSource;
10312
10368
  export declare type Country = io.flow.v0.models.Country;
10313
10369
  export declare type CountryAvailability = io.flow.v0.models.CountryAvailability;
10314
10370
  export declare type CountryDefaults = io.flow.v0.models.CountryDefaults;
@@ -10730,6 +10786,10 @@ export declare type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
10730
10786
  export declare type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
10731
10787
  export declare type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
10732
10788
  export declare type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
10789
+ export declare type LabelReference = io.flow.v0.models.LabelReference;
10790
+ export declare type LabelTrackingCarrierService = io.flow.v0.models.LabelTrackingCarrierService;
10791
+ export declare type LabelTrackingSummary = io.flow.v0.models.LabelTrackingSummary;
10792
+ export declare type LabelTrackingSummaryUpdate = io.flow.v0.models.LabelTrackingSummaryUpdate;
10733
10793
  export declare type LabelUpserted = io.flow.v0.models.LabelUpserted;
10734
10794
  export declare type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
10735
10795
  export declare type LandedCostItem = io.flow.v0.models.LandedCostItem;
@@ -10770,6 +10830,7 @@ export declare type LocalizedTotal = io.flow.v0.models.LocalizedTotal;
10770
10830
  export declare type LocalizedTranslation = io.flow.v0.models.LocalizedTranslation;
10771
10831
  export declare type LocationError = io.flow.v0.models.LocationError;
10772
10832
  export declare type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
10833
+ export declare type LogisticsFormat = io.flow.v0.models.LogisticsFormat;
10773
10834
  export declare type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
10774
10835
  export declare type LogoImage = io.flow.v0.unions.LogoImage;
10775
10836
  export declare type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
@@ -11397,6 +11458,7 @@ export declare type ShippingLaneVersion = io.flow.v0.models.ShippingLaneVersion;
11397
11458
  export declare type ShippingNotification = io.flow.v0.models.ShippingNotification;
11398
11459
  export declare type ShippingNotificationForm = io.flow.v0.unions.ShippingNotificationForm;
11399
11460
  export declare type ShippingNotificationVersion = io.flow.v0.models.ShippingNotificationVersion;
11461
+ export declare type Shop = io.flow.v0.models.Shop;
11400
11462
  export declare type ShopifyCart = io.flow.v0.models.ShopifyCart;
11401
11463
  export declare type ShopifyCartAddForm = io.flow.v0.unions.ShopifyCartAddForm;
11402
11464
  export declare type ShopifyCartAddMultipleForm = io.flow.v0.models.ShopifyCartAddMultipleForm;
@@ -11552,6 +11614,7 @@ export declare type TokenReference = io.flow.v0.unions.TokenReference;
11552
11614
  export declare type TokenType = io.flow.v0.enums.TokenType;
11553
11615
  export declare type TokenValidation = io.flow.v0.models.TokenValidation;
11554
11616
  export declare type TokenValidationForm = io.flow.v0.models.TokenValidationForm;
11617
+ export declare type TotalOrder = io.flow.v0.models.TotalOrder;
11555
11618
  export declare type Tracking = io.flow.v0.models.Tracking;
11556
11619
  export declare type TrackingEvent = io.flow.v0.models.TrackingEvent;
11557
11620
  export declare type TrackingEventForm = io.flow.v0.models.TrackingEventForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.34",
3
+ "version": "11.24.36",
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": "399cb840175d3c48f62099e1ade1464c2cdfe0c1"
28
+ "gitHead": "c69a5df5aabcf8d46c3cc80e85ffcb3a32930cb2"
29
29
  }