@vindentech/api-client 2.0.0-next.3 → 2.0.0-next.4

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.
@@ -13717,6 +13717,28 @@ export interface AnalyticsVolumePerCustomerDto {
13717
13717
  /** @nullable */
13718
13718
  estimatedM3: number | null;
13719
13719
  }
13720
+ export interface AnalyticsVolumeBucketDto {
13721
+ /** Customers in the bucket. */
13722
+ count: number;
13723
+ /**
13724
+ * Average over the bucket's customers of the measured m³ each held over their stored nights. Null for an empty bucket.
13725
+ * @nullable
13726
+ */
13727
+ measuredM3: number | null;
13728
+ /**
13729
+ * The same, estimated. A stay's estimate is its average over the nights that carry one, as the stays dataset reports it; a stay with none counts at its measured average. Null for an empty bucket, or when no stay of its customers carries an estimate.
13730
+ * @nullable
13731
+ */
13732
+ estimatedM3: number | null;
13733
+ }
13734
+ export interface AnalyticsVolumeByStatusDto {
13735
+ /** Latest stay stored on the night. */
13736
+ active: AnalyticsVolumeBucketDto;
13737
+ /** Latest stay ended: empty for `stayGapNights` consecutive nights. */
13738
+ ended: AnalyticsVolumeBucketDto;
13739
+ /** Every customer who has stored, including those between stays, who are in neither bucket above. */
13740
+ all: AnalyticsVolumeBucketDto;
13741
+ }
13720
13742
  export interface AnalyticsNightsBucketDto {
13721
13743
  /** Stays, or customers, in the bucket. */
13722
13744
  count: number;
@@ -13758,12 +13780,17 @@ export interface AnalyticsLifetimeValueDto {
13758
13780
  */
13759
13781
  currencyCode: string | null;
13760
13782
  /**
13761
- * Average invoiced revenue ex VAT, minor units, of the customers whose latest stay has ended.
13783
+ * Average invoiced revenue ex VAT, minor units, of the customers whose latest stay is stored on the night.
13784
+ * @nullable
13785
+ */
13786
+ activeCustomersMinor: number | null;
13787
+ /**
13788
+ * The same over the customers whose latest stay has ended.
13762
13789
  * @nullable
13763
13790
  */
13764
13791
  endedCustomersMinor: number | null;
13765
13792
  /**
13766
- * The same over every customer who has stored.
13793
+ * The same over every customer who has stored, including those between stays.
13767
13794
  * @nullable
13768
13795
  */
13769
13796
  storingCustomersMinor: number | null;
@@ -13775,6 +13802,8 @@ export interface AnalyticsPointInTimeDto {
13775
13802
  activeCustomers: number;
13776
13803
  storedVolume: AnalyticsStoredVolumeDto;
13777
13804
  averageVolumePerActiveCustomer: AnalyticsVolumePerCustomerDto;
13805
+ /** Per customer, the average m³ they held over their stored nights across every stay, by the status of their latest stay. An active customer's is their average so far, not the night's volume, which averageVolumePerActiveCustomer gives. */
13806
+ averageVolumeWhileStoring: AnalyticsVolumeByStatusDto;
13778
13807
  /** Customers registered on or before the night, cumulative. */
13779
13808
  registeredCustomers: number;
13780
13809
  /** Customers who had stored by the night, cumulative. */