@flowio/types 11.24.35 → 11.24.37

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
@@ -2530,6 +2530,10 @@ declare namespace io.flow.v0.models {
2530
2530
  interface BillingChannelStatementReference {
2531
2531
  readonly id: string;
2532
2532
  }
2533
+ interface BillingDiscount {
2534
+ readonly amount: number;
2535
+ readonly description?: string;
2536
+ }
2533
2537
  interface BridgeManifest {
2534
2538
  readonly id: string;
2535
2539
  readonly service: io.flow.v0.models.ServiceSummary;
@@ -3110,6 +3114,7 @@ declare namespace io.flow.v0.models {
3110
3114
  readonly gross: number;
3111
3115
  readonly fees: io.flow.v0.models.FeeDeduction[];
3112
3116
  readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
3117
+ readonly discounts: io.flow.v0.models.BillingDiscount[];
3113
3118
  readonly net: number;
3114
3119
  readonly created_at: string;
3115
3120
  }
@@ -5370,6 +5375,25 @@ declare namespace io.flow.v0.models {
5370
5375
  readonly id: string;
5371
5376
  readonly number: string;
5372
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
+ }
5373
5397
  interface LabelUpserted {
5374
5398
  readonly discriminator: 'label_upserted';
5375
5399
  readonly event_id: string;
@@ -5604,6 +5628,10 @@ declare namespace io.flow.v0.models {
5604
5628
  readonly code: io.flow.v0.enums.LocationErrorCode;
5605
5629
  readonly messages: string[];
5606
5630
  }
5631
+ interface LogisticsFormat {
5632
+ readonly preference?: string;
5633
+ readonly description?: string;
5634
+ }
5607
5635
  interface LogisticsSettings {
5608
5636
  readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
5609
5637
  }
@@ -8763,6 +8791,10 @@ declare namespace io.flow.v0.models {
8763
8791
  readonly type: io.flow.v0.enums.ChangeType;
8764
8792
  readonly shipping_notification: io.flow.v0.models.ShippingNotification;
8765
8793
  }
8794
+ interface Shop {
8795
+ readonly name: string;
8796
+ readonly id: string;
8797
+ }
8766
8798
  interface ShopifyCart {
8767
8799
  readonly id: string;
8768
8800
  readonly items: io.flow.v0.models.ShopifyCartItem[];
@@ -8955,6 +8987,12 @@ declare namespace io.flow.v0.models {
8955
8987
  readonly created_at: string;
8956
8988
  readonly activated_at?: string;
8957
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;
8958
8996
  }
8959
8997
  interface ShopifyMerchantApplicationForm {
8960
8998
  readonly discriminator: 'shopify_merchant_application_form';
@@ -8982,6 +9020,12 @@ declare namespace io.flow.v0.models {
8982
9020
  readonly default_country_of_origin?: string;
8983
9021
  readonly ratecard_id?: string;
8984
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;
8985
9029
  }
8986
9030
  interface ShopifyMerchantApplicationPutForm {
8987
9031
  readonly discriminator: 'shopify_merchant_application_put_form';
@@ -9569,6 +9613,10 @@ declare namespace io.flow.v0.models {
9569
9613
  interface TokenValidationForm {
9570
9614
  readonly token: string;
9571
9615
  }
9616
+ interface TotalOrder {
9617
+ readonly value?: io.flow.v0.models.Money;
9618
+ readonly count?: number;
9619
+ }
9572
9620
  interface Tracking {
9573
9621
  readonly id: string;
9574
9622
  readonly labels: io.flow.v0.models.TrackingLabel[];
@@ -9638,6 +9686,7 @@ declare namespace io.flow.v0.models {
9638
9686
  readonly tracking_id: string;
9639
9687
  readonly status: io.flow.v0.enums.TrackingStatus;
9640
9688
  readonly carrier: string;
9689
+ readonly service_id?: string;
9641
9690
  readonly carrier_tracking_number: string;
9642
9691
  readonly delivery_estimate?: string;
9643
9692
  readonly description?: string;
@@ -9700,6 +9749,7 @@ declare namespace io.flow.v0.models {
9700
9749
  readonly gross: number;
9701
9750
  readonly fees: io.flow.v0.models.FeeDeduction[];
9702
9751
  readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
9752
+ readonly discounts: io.flow.v0.models.BillingDiscount[];
9703
9753
  readonly net: number;
9704
9754
  readonly created_at: string;
9705
9755
  }
@@ -10162,6 +10212,7 @@ export declare type BillingChannelOrderSummary = io.flow.v0.models.BillingChanne
10162
10212
  export declare type BillingChannelOrganizationSummary = io.flow.v0.models.BillingChannelOrganizationSummary;
10163
10213
  export declare type BillingChannelPaymentRequestReference = io.flow.v0.models.BillingChannelPaymentRequestReference;
10164
10214
  export declare type BillingChannelStatementReference = io.flow.v0.models.BillingChannelStatementReference;
10215
+ export declare type BillingDiscount = io.flow.v0.models.BillingDiscount;
10165
10216
  export declare type BridgeManifest = io.flow.v0.models.BridgeManifest;
10166
10217
  export declare type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm;
10167
10218
  export declare type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
@@ -10735,6 +10786,10 @@ export declare type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
10735
10786
  export declare type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
10736
10787
  export declare type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
10737
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;
10738
10793
  export declare type LabelUpserted = io.flow.v0.models.LabelUpserted;
10739
10794
  export declare type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
10740
10795
  export declare type LandedCostItem = io.flow.v0.models.LandedCostItem;
@@ -10775,6 +10830,7 @@ export declare type LocalizedTotal = io.flow.v0.models.LocalizedTotal;
10775
10830
  export declare type LocalizedTranslation = io.flow.v0.models.LocalizedTranslation;
10776
10831
  export declare type LocationError = io.flow.v0.models.LocationError;
10777
10832
  export declare type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
10833
+ export declare type LogisticsFormat = io.flow.v0.models.LogisticsFormat;
10778
10834
  export declare type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
10779
10835
  export declare type LogoImage = io.flow.v0.unions.LogoImage;
10780
10836
  export declare type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
@@ -11402,6 +11458,7 @@ export declare type ShippingLaneVersion = io.flow.v0.models.ShippingLaneVersion;
11402
11458
  export declare type ShippingNotification = io.flow.v0.models.ShippingNotification;
11403
11459
  export declare type ShippingNotificationForm = io.flow.v0.unions.ShippingNotificationForm;
11404
11460
  export declare type ShippingNotificationVersion = io.flow.v0.models.ShippingNotificationVersion;
11461
+ export declare type Shop = io.flow.v0.models.Shop;
11405
11462
  export declare type ShopifyCart = io.flow.v0.models.ShopifyCart;
11406
11463
  export declare type ShopifyCartAddForm = io.flow.v0.unions.ShopifyCartAddForm;
11407
11464
  export declare type ShopifyCartAddMultipleForm = io.flow.v0.models.ShopifyCartAddMultipleForm;
@@ -11557,6 +11614,7 @@ export declare type TokenReference = io.flow.v0.unions.TokenReference;
11557
11614
  export declare type TokenType = io.flow.v0.enums.TokenType;
11558
11615
  export declare type TokenValidation = io.flow.v0.models.TokenValidation;
11559
11616
  export declare type TokenValidationForm = io.flow.v0.models.TokenValidationForm;
11617
+ export declare type TotalOrder = io.flow.v0.models.TotalOrder;
11560
11618
  export declare type Tracking = io.flow.v0.models.Tracking;
11561
11619
  export declare type TrackingEvent = io.flow.v0.models.TrackingEvent;
11562
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.35",
3
+ "version": "11.24.37",
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": "6b3aead1ceea76805fc5a5a04f2e485c6180aed2"
28
+ "gitHead": "d4cc0eaabe7807031ff2e2d6bbf287ac356d69da"
29
29
  }