@vrplatform/api 1.3.1-stage.1898 → 1.3.1-stage.1900

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