@vrplatform/api 1.3.1-stage.1897 → 1.3.1-stage.1899

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.1-stage.1897",
6
+ "version": "1.3.1-stage.1899",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -959,6 +959,23 @@ export interface paths {
959
959
  patch?: never;
960
960
  trace?: never;
961
961
  };
962
+ "/metrics/owner-revenue": {
963
+ parameters: {
964
+ query?: never;
965
+ header?: never;
966
+ path?: never;
967
+ cookie?: never;
968
+ };
969
+ /** @description Owner revenue metric (locked vs unlocked) by month */
970
+ get: operations["getMetricOwnerRevenue"];
971
+ put?: never;
972
+ post?: never;
973
+ delete?: never;
974
+ options?: never;
975
+ head?: never;
976
+ patch?: never;
977
+ trace?: never;
978
+ };
962
979
  "/metrics/reservation-count": {
963
980
  parameters: {
964
981
  query?: never;
@@ -13637,6 +13654,117 @@ export interface operations {
13637
13654
  };
13638
13655
  };
13639
13656
  };
13657
+ getMetricOwnerRevenue: {
13658
+ parameters: {
13659
+ query: {
13660
+ ownerId: string;
13661
+ startDate: string;
13662
+ endDate: string;
13663
+ currency?: string;
13664
+ };
13665
+ header?: never;
13666
+ path?: never;
13667
+ cookie?: never;
13668
+ };
13669
+ requestBody?: never;
13670
+ responses: {
13671
+ /** @description Successful response */
13672
+ 200: {
13673
+ headers: {
13674
+ [name: string]: unknown;
13675
+ };
13676
+ content: {
13677
+ "application/json": {
13678
+ data: {
13679
+ date: string;
13680
+ lockedRevenue: number;
13681
+ unlockedRevenue: number;
13682
+ }[];
13683
+ };
13684
+ };
13685
+ };
13686
+ /** @description Bad request */
13687
+ 400: {
13688
+ headers: {
13689
+ [name: string]: unknown;
13690
+ };
13691
+ content: {
13692
+ "application/json": {
13693
+ code: string;
13694
+ message: string;
13695
+ issues?: {
13696
+ message: string;
13697
+ }[];
13698
+ context?: unknown;
13699
+ };
13700
+ };
13701
+ };
13702
+ /** @description Unauthorized */
13703
+ 401: {
13704
+ headers: {
13705
+ [name: string]: unknown;
13706
+ };
13707
+ content: {
13708
+ "application/json": {
13709
+ code: string;
13710
+ message: string;
13711
+ issues?: {
13712
+ message: string;
13713
+ }[];
13714
+ context?: unknown;
13715
+ };
13716
+ };
13717
+ };
13718
+ /** @description Forbidden */
13719
+ 403: {
13720
+ headers: {
13721
+ [name: string]: unknown;
13722
+ };
13723
+ content: {
13724
+ "application/json": {
13725
+ code: string;
13726
+ message: string;
13727
+ issues?: {
13728
+ message: string;
13729
+ }[];
13730
+ context?: unknown;
13731
+ };
13732
+ };
13733
+ };
13734
+ /** @description Not found */
13735
+ 404: {
13736
+ headers: {
13737
+ [name: string]: unknown;
13738
+ };
13739
+ content: {
13740
+ "application/json": {
13741
+ code: string;
13742
+ message: string;
13743
+ issues?: {
13744
+ message: string;
13745
+ }[];
13746
+ context?: unknown;
13747
+ };
13748
+ };
13749
+ };
13750
+ /** @description Internal server error */
13751
+ 500: {
13752
+ headers: {
13753
+ [name: string]: unknown;
13754
+ };
13755
+ content: {
13756
+ "application/json": {
13757
+ code: string;
13758
+ message: string;
13759
+ issues?: {
13760
+ message: string;
13761
+ }[];
13762
+ context?: unknown;
13763
+ };
13764
+ };
13765
+ };
13766
+ };
13767
+ };
13640
13768
  getMetricReservationCount: {
13641
13769
  parameters: {
13642
13770
  query: {