@proxima-nexus/openapi 2.6.0 → 2.7.0

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/openapi.json CHANGED
@@ -187,6 +187,33 @@
187
187
  ]
188
188
  }
189
189
  },
190
+ "/user/count": {
191
+ "get": {
192
+ "operationId": "UserController_count",
193
+ "summary": "Count users in the tenant",
194
+ "parameters": [],
195
+ "responses": {
196
+ "200": {
197
+ "description": "Count returned",
198
+ "content": {
199
+ "application/json": {
200
+ "schema": {
201
+ "$ref": "#/components/schemas/EntityCountDto"
202
+ }
203
+ }
204
+ }
205
+ }
206
+ },
207
+ "tags": [
208
+ "user"
209
+ ],
210
+ "security": [
211
+ {
212
+ "api_key": []
213
+ }
214
+ ]
215
+ }
216
+ },
190
217
  "/user/{userId}": {
191
218
  "get": {
192
219
  "operationId": "UserController_get",
@@ -928,6 +955,33 @@
928
955
  ]
929
956
  }
930
957
  },
958
+ "/event/count": {
959
+ "get": {
960
+ "operationId": "EventController_count",
961
+ "summary": "Count events in the tenant",
962
+ "parameters": [],
963
+ "responses": {
964
+ "200": {
965
+ "description": "Count returned",
966
+ "content": {
967
+ "application/json": {
968
+ "schema": {
969
+ "$ref": "#/components/schemas/EntityCountDto"
970
+ }
971
+ }
972
+ }
973
+ }
974
+ },
975
+ "tags": [
976
+ "event"
977
+ ],
978
+ "security": [
979
+ {
980
+ "api_key": []
981
+ }
982
+ ]
983
+ }
984
+ },
931
985
  "/event/{eventId}": {
932
986
  "get": {
933
987
  "operationId": "EventController_get",
@@ -1492,6 +1546,33 @@
1492
1546
  ]
1493
1547
  }
1494
1548
  },
1549
+ "/group/count": {
1550
+ "get": {
1551
+ "operationId": "GroupController_count",
1552
+ "summary": "Count groups in the tenant",
1553
+ "parameters": [],
1554
+ "responses": {
1555
+ "200": {
1556
+ "description": "Count returned",
1557
+ "content": {
1558
+ "application/json": {
1559
+ "schema": {
1560
+ "$ref": "#/components/schemas/EntityCountDto"
1561
+ }
1562
+ }
1563
+ }
1564
+ }
1565
+ },
1566
+ "tags": [
1567
+ "group"
1568
+ ],
1569
+ "security": [
1570
+ {
1571
+ "api_key": []
1572
+ }
1573
+ ]
1574
+ }
1575
+ },
1495
1576
  "/group/{groupId}": {
1496
1577
  "get": {
1497
1578
  "operationId": "GroupController_get",
@@ -2589,6 +2670,19 @@
2589
2670
  "birthDate"
2590
2671
  ]
2591
2672
  },
2673
+ "EntityCountDto": {
2674
+ "type": "object",
2675
+ "properties": {
2676
+ "count": {
2677
+ "type": "number",
2678
+ "description": "Number of entities in the tenant",
2679
+ "example": 1234
2680
+ }
2681
+ },
2682
+ "required": [
2683
+ "count"
2684
+ ]
2685
+ },
2592
2686
  "UpdateUserDto": {
2593
2687
  "type": "object",
2594
2688
  "properties": {
package/openapi.yaml CHANGED
@@ -128,6 +128,22 @@ paths:
128
128
  - user
129
129
  security:
130
130
  - api_key: []
131
+ /user/count:
132
+ get:
133
+ operationId: UserController_count
134
+ summary: Count users in the tenant
135
+ parameters: []
136
+ responses:
137
+ '200':
138
+ description: Count returned
139
+ content:
140
+ application/json:
141
+ schema:
142
+ $ref: '#/components/schemas/EntityCountDto'
143
+ tags:
144
+ - user
145
+ security:
146
+ - api_key: []
131
147
  /user/{userId}:
132
148
  get:
133
149
  operationId: UserController_get
@@ -616,6 +632,22 @@ paths:
616
632
  - event
617
633
  security:
618
634
  - api_key: []
635
+ /event/count:
636
+ get:
637
+ operationId: EventController_count
638
+ summary: Count events in the tenant
639
+ parameters: []
640
+ responses:
641
+ '200':
642
+ description: Count returned
643
+ content:
644
+ application/json:
645
+ schema:
646
+ $ref: '#/components/schemas/EntityCountDto'
647
+ tags:
648
+ - event
649
+ security:
650
+ - api_key: []
619
651
  /event/{eventId}:
620
652
  get:
621
653
  operationId: EventController_get
@@ -980,6 +1012,22 @@ paths:
980
1012
  - group
981
1013
  security:
982
1014
  - api_key: []
1015
+ /group/count:
1016
+ get:
1017
+ operationId: GroupController_count
1018
+ summary: Count groups in the tenant
1019
+ parameters: []
1020
+ responses:
1021
+ '200':
1022
+ description: Count returned
1023
+ content:
1024
+ application/json:
1025
+ schema:
1026
+ $ref: '#/components/schemas/EntityCountDto'
1027
+ tags:
1028
+ - group
1029
+ security:
1030
+ - api_key: []
983
1031
  /group/{groupId}:
984
1032
  get:
985
1033
  operationId: GroupController_get
@@ -1702,6 +1750,15 @@ components:
1702
1750
  required:
1703
1751
  - gender
1704
1752
  - birthDate
1753
+ EntityCountDto:
1754
+ type: object
1755
+ properties:
1756
+ count:
1757
+ type: number
1758
+ description: Number of entities in the tenant
1759
+ example: 1234
1760
+ required:
1761
+ - count
1705
1762
  UpdateUserDto:
1706
1763
  type: object
1707
1764
  properties:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proxima-nexus/openapi",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "OpenAPI specification for Proxima Nexus",
5
5
  "main": "openapi.json",
6
6
  "types": "openapi.json",