@meshery/schemas 1.0.9 → 1.1.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.
Files changed (236) hide show
  1. package/README.md +4 -3
  2. package/dist/cloudApi.d.mts +16689 -16426
  3. package/dist/cloudApi.d.ts +16689 -16426
  4. package/dist/cloudApi.js +1 -1
  5. package/dist/cloudApi.mjs +1 -1
  6. package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
  7. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
  8. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  9. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  10. package/dist/constructs/v1beta1/credential/CredentialSchema.js +4 -4
  11. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +4 -4
  12. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  13. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  14. package/dist/constructs/v1beta1/event/EventSchema.js +1 -1
  15. package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -1
  16. package/dist/constructs/v1beta1/key/KeySchema.js +1 -1
  17. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -1
  18. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -1
  19. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -1
  20. package/dist/constructs/v1beta1/model/ModelSchema.js +1 -1
  21. package/dist/constructs/v1beta1/model/ModelSchema.mjs +1 -1
  22. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -1
  23. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -1
  24. package/dist/constructs/v1beta1/pattern/PatternSchema.js +1 -1
  25. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +1 -1
  26. package/dist/constructs/v1beta1/role/RoleSchema.js +1 -1
  27. package/dist/constructs/v1beta1/role/RoleSchema.mjs +1 -1
  28. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +1 -1
  29. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +1 -1
  30. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  31. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  32. package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
  33. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
  34. package/dist/constructs/v1beta1/view/ViewSchema.js +1 -1
  35. package/dist/constructs/v1beta1/view/ViewSchema.mjs +1 -1
  36. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -2
  37. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -2
  38. package/dist/constructs/v1beta2/badge/Badge.d.mts +564 -0
  39. package/dist/constructs/v1beta2/badge/Badge.d.ts +564 -0
  40. package/dist/constructs/v1beta2/badge/Badge.js +1 -0
  41. package/dist/constructs/v1beta2/badge/Badge.mjs +0 -0
  42. package/dist/constructs/v1beta2/badge/BadgeSchema.d.mts +7 -0
  43. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +7 -0
  44. package/dist/constructs/v1beta2/badge/BadgeSchema.js +2 -0
  45. package/dist/constructs/v1beta2/badge/BadgeSchema.mjs +2 -0
  46. package/dist/constructs/v1beta2/connection/ConnectionSchema.js +1 -1
  47. package/dist/constructs/v1beta2/connection/ConnectionSchema.mjs +1 -1
  48. package/dist/constructs/v1beta2/credential/Credential.d.mts +536 -0
  49. package/dist/constructs/v1beta2/credential/Credential.d.ts +536 -0
  50. package/dist/constructs/v1beta2/credential/Credential.js +1 -0
  51. package/dist/constructs/v1beta2/credential/Credential.mjs +0 -0
  52. package/dist/constructs/v1beta2/credential/CredentialSchema.d.mts +7 -0
  53. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +7 -0
  54. package/dist/constructs/v1beta2/credential/CredentialSchema.js +7 -0
  55. package/dist/constructs/v1beta2/credential/CredentialSchema.mjs +7 -0
  56. package/dist/constructs/v1beta2/design/DesignSchema.js +10 -2
  57. package/dist/constructs/v1beta2/design/DesignSchema.mjs +10 -2
  58. package/dist/constructs/v1beta2/event/EventSchema.js +1 -1
  59. package/dist/constructs/v1beta2/event/EventSchema.mjs +1 -1
  60. package/dist/constructs/v1beta2/invitation/InvitationSchema.js +1 -1
  61. package/dist/constructs/v1beta2/invitation/InvitationSchema.mjs +1 -1
  62. package/dist/constructs/v1beta2/key/Key.d.mts +523 -0
  63. package/dist/constructs/v1beta2/key/Key.d.ts +523 -0
  64. package/dist/constructs/v1beta2/key/Key.js +1 -0
  65. package/dist/constructs/v1beta2/key/Key.mjs +0 -0
  66. package/dist/constructs/v1beta2/key/KeySchema.d.mts +7 -0
  67. package/dist/constructs/v1beta2/key/KeySchema.d.ts +7 -0
  68. package/dist/constructs/v1beta2/key/KeySchema.js +2 -0
  69. package/dist/constructs/v1beta2/key/KeySchema.mjs +2 -0
  70. package/dist/constructs/v1beta2/keychain/Keychain.d.mts +651 -0
  71. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +651 -0
  72. package/dist/constructs/v1beta2/keychain/Keychain.js +1 -0
  73. package/dist/constructs/v1beta2/keychain/Keychain.mjs +0 -0
  74. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.mts +7 -0
  75. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +7 -0
  76. package/dist/constructs/v1beta2/keychain/KeychainSchema.js +2 -0
  77. package/dist/constructs/v1beta2/keychain/KeychainSchema.mjs +2 -0
  78. package/dist/constructs/v1beta2/model/Model.d.mts +571 -0
  79. package/dist/constructs/v1beta2/model/Model.d.ts +571 -0
  80. package/dist/constructs/v1beta2/model/Model.js +1 -0
  81. package/dist/constructs/v1beta2/model/Model.mjs +0 -0
  82. package/dist/constructs/v1beta2/model/ModelSchema.d.mts +7 -0
  83. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +7 -0
  84. package/dist/constructs/v1beta2/model/ModelSchema.js +6 -0
  85. package/dist/constructs/v1beta2/model/ModelSchema.mjs +6 -0
  86. package/dist/constructs/v1beta2/organization/Organization.d.mts +1986 -0
  87. package/dist/constructs/v1beta2/organization/Organization.d.ts +1986 -0
  88. package/dist/constructs/v1beta2/organization/Organization.js +1 -0
  89. package/dist/constructs/v1beta2/organization/Organization.mjs +0 -0
  90. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.mts +7 -0
  91. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +7 -0
  92. package/dist/constructs/v1beta2/organization/OrganizationSchema.js +2 -0
  93. package/dist/constructs/v1beta2/organization/OrganizationSchema.mjs +2 -0
  94. package/dist/constructs/v1beta2/plan/PlanSchema.js +1 -1
  95. package/dist/constructs/v1beta2/plan/PlanSchema.mjs +1 -1
  96. package/dist/constructs/v1beta2/role/Role.d.mts +751 -0
  97. package/dist/constructs/v1beta2/role/Role.d.ts +751 -0
  98. package/dist/constructs/v1beta2/role/Role.js +1 -0
  99. package/dist/constructs/v1beta2/role/Role.mjs +0 -0
  100. package/dist/constructs/v1beta2/role/RoleSchema.d.mts +7 -0
  101. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +7 -0
  102. package/dist/constructs/v1beta2/role/RoleSchema.js +2 -0
  103. package/dist/constructs/v1beta2/role/RoleSchema.mjs +2 -0
  104. package/dist/constructs/v1beta2/schedule/Schedule.d.mts +380 -0
  105. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +380 -0
  106. package/dist/constructs/v1beta2/schedule/Schedule.js +1 -0
  107. package/dist/constructs/v1beta2/schedule/Schedule.mjs +0 -0
  108. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.mts +7 -0
  109. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +7 -0
  110. package/dist/constructs/v1beta2/schedule/ScheduleSchema.js +13 -0
  111. package/dist/constructs/v1beta2/schedule/ScheduleSchema.mjs +13 -0
  112. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.js +1 -1
  113. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.mjs +1 -1
  114. package/dist/constructs/v1beta2/team/Team.d.mts +939 -0
  115. package/dist/constructs/v1beta2/team/Team.d.ts +939 -0
  116. package/dist/constructs/v1beta2/team/Team.js +1 -0
  117. package/dist/constructs/v1beta2/team/Team.mjs +0 -0
  118. package/dist/constructs/v1beta2/team/TeamSchema.d.mts +7 -0
  119. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +7 -0
  120. package/dist/constructs/v1beta2/team/TeamSchema.js +2 -0
  121. package/dist/constructs/v1beta2/team/TeamSchema.mjs +2 -0
  122. package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
  123. package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
  124. package/dist/constructs/v1beta2/user/User.d.mts +1831 -0
  125. package/dist/constructs/v1beta2/user/User.d.ts +1831 -0
  126. package/dist/constructs/v1beta2/user/User.js +1 -0
  127. package/dist/constructs/v1beta2/user/User.mjs +0 -0
  128. package/dist/constructs/v1beta2/user/UserSchema.d.mts +7 -0
  129. package/dist/constructs/v1beta2/user/UserSchema.d.ts +7 -0
  130. package/dist/constructs/v1beta2/user/UserSchema.js +2 -0
  131. package/dist/constructs/v1beta2/user/UserSchema.mjs +2 -0
  132. package/dist/constructs/v1beta2/view/View.d.mts +810 -0
  133. package/dist/constructs/v1beta2/view/View.d.ts +810 -0
  134. package/dist/constructs/v1beta2/view/View.js +1 -0
  135. package/dist/constructs/v1beta2/view/View.mjs +0 -0
  136. package/dist/constructs/v1beta2/view/ViewSchema.d.mts +7 -0
  137. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +7 -0
  138. package/dist/constructs/v1beta2/view/ViewSchema.js +13 -0
  139. package/dist/constructs/v1beta2/view/ViewSchema.mjs +13 -0
  140. package/dist/constructs/v1beta3/component/Component.d.mts +796 -0
  141. package/dist/constructs/v1beta3/component/Component.d.ts +796 -0
  142. package/dist/constructs/v1beta3/component/Component.js +1 -0
  143. package/dist/constructs/v1beta3/component/Component.mjs +0 -0
  144. package/dist/constructs/v1beta3/component/ComponentSchema.d.mts +7 -0
  145. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +7 -0
  146. package/dist/constructs/v1beta3/component/ComponentSchema.js +10 -0
  147. package/dist/constructs/v1beta3/component/ComponentSchema.mjs +10 -0
  148. package/dist/constructs/v1beta3/connection/Connection.d.mts +1348 -0
  149. package/dist/constructs/v1beta3/connection/Connection.d.ts +1348 -0
  150. package/dist/constructs/v1beta3/connection/Connection.js +1 -0
  151. package/dist/constructs/v1beta3/connection/Connection.mjs +0 -0
  152. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.mts +7 -0
  153. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +7 -0
  154. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +2 -0
  155. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +2 -0
  156. package/dist/constructs/v1beta3/design/Design.d.mts +17552 -0
  157. package/dist/constructs/v1beta3/design/Design.d.ts +17552 -0
  158. package/dist/constructs/v1beta3/design/Design.js +1 -0
  159. package/dist/constructs/v1beta3/design/Design.mjs +0 -0
  160. package/dist/constructs/v1beta3/design/DesignSchema.d.mts +7 -0
  161. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +7 -0
  162. package/dist/constructs/v1beta3/design/DesignSchema.js +506 -0
  163. package/dist/constructs/v1beta3/design/DesignSchema.mjs +506 -0
  164. package/dist/constructs/v1beta3/environment/Environment.d.mts +800 -0
  165. package/dist/constructs/v1beta3/environment/Environment.d.ts +800 -0
  166. package/dist/constructs/v1beta3/environment/Environment.js +1 -0
  167. package/dist/constructs/v1beta3/environment/Environment.mjs +0 -0
  168. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.mts +7 -0
  169. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +7 -0
  170. package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +2 -0
  171. package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +2 -0
  172. package/dist/constructs/v1beta3/event/Event.d.mts +733 -0
  173. package/dist/constructs/v1beta3/event/Event.d.ts +733 -0
  174. package/dist/constructs/v1beta3/event/Event.js +1 -0
  175. package/dist/constructs/v1beta3/event/Event.mjs +0 -0
  176. package/dist/constructs/v1beta3/event/EventSchema.d.mts +7 -0
  177. package/dist/constructs/v1beta3/event/EventSchema.d.ts +7 -0
  178. package/dist/constructs/v1beta3/event/EventSchema.js +2 -0
  179. package/dist/constructs/v1beta3/event/EventSchema.mjs +2 -0
  180. package/dist/constructs/v1beta3/invitation/Invitation.d.mts +1079 -0
  181. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1079 -0
  182. package/dist/constructs/v1beta3/invitation/Invitation.js +1 -0
  183. package/dist/constructs/v1beta3/invitation/Invitation.mjs +0 -0
  184. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.mts +7 -0
  185. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +7 -0
  186. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +2 -0
  187. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +2 -0
  188. package/dist/constructs/v1beta3/plan/Plan.d.mts +198 -0
  189. package/dist/constructs/v1beta3/plan/Plan.d.ts +198 -0
  190. package/dist/constructs/v1beta3/plan/Plan.js +1 -0
  191. package/dist/constructs/v1beta3/plan/Plan.mjs +0 -0
  192. package/dist/constructs/v1beta3/plan/PlanSchema.d.mts +7 -0
  193. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +7 -0
  194. package/dist/constructs/v1beta3/plan/PlanSchema.js +2 -0
  195. package/dist/constructs/v1beta3/plan/PlanSchema.mjs +2 -0
  196. package/dist/constructs/v1beta3/relationship/Relationship.d.mts +1884 -0
  197. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1884 -0
  198. package/dist/constructs/v1beta3/relationship/Relationship.js +1 -0
  199. package/dist/constructs/v1beta3/relationship/Relationship.mjs +0 -0
  200. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.mts +7 -0
  201. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +7 -0
  202. package/dist/constructs/v1beta3/relationship/RelationshipSchema.js +155 -0
  203. package/dist/constructs/v1beta3/relationship/RelationshipSchema.mjs +155 -0
  204. package/dist/constructs/v1beta3/subscription/Subscription.d.mts +876 -0
  205. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +876 -0
  206. package/dist/constructs/v1beta3/subscription/Subscription.js +1 -0
  207. package/dist/constructs/v1beta3/subscription/Subscription.mjs +0 -0
  208. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.mts +7 -0
  209. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +7 -0
  210. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.js +2 -0
  211. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.mjs +2 -0
  212. package/dist/constructs/v1beta3/token/Token.d.mts +543 -0
  213. package/dist/constructs/v1beta3/token/Token.d.ts +543 -0
  214. package/dist/constructs/v1beta3/token/Token.js +1 -0
  215. package/dist/constructs/v1beta3/token/Token.mjs +0 -0
  216. package/dist/constructs/v1beta3/token/TokenSchema.d.mts +7 -0
  217. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +7 -0
  218. package/dist/constructs/v1beta3/token/TokenSchema.js +2 -0
  219. package/dist/constructs/v1beta3/token/TokenSchema.mjs +2 -0
  220. package/dist/constructs/v1beta3/workspace/Workspace.d.mts +4808 -0
  221. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4808 -0
  222. package/dist/constructs/v1beta3/workspace/Workspace.js +1 -0
  223. package/dist/constructs/v1beta3/workspace/Workspace.mjs +0 -0
  224. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.mts +7 -0
  225. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +7 -0
  226. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +98 -0
  227. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +98 -0
  228. package/dist/index.d.mts +10 -8
  229. package/dist/index.d.ts +10 -8
  230. package/dist/index.js +16 -8
  231. package/dist/index.mjs +16 -8
  232. package/dist/mesheryApi.d.mts +5552 -5394
  233. package/dist/mesheryApi.d.ts +5552 -5394
  234. package/dist/mesheryApi.js +1 -1
  235. package/dist/mesheryApi.mjs +1 -1
  236. package/package.json +1 -1
@@ -0,0 +1,733 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ interface paths {
6
+ "/events/{eventId}": {
7
+ delete: operations["deleteEvent"];
8
+ };
9
+ "/events": {
10
+ post: operations["createEvent"];
11
+ };
12
+ "/events/delete": {
13
+ post: operations["bulkDeleteEvents"];
14
+ };
15
+ "/events/status": {
16
+ put: operations["bulkUpdateEventStatus"];
17
+ };
18
+ "/events/{eventId}/status": {
19
+ put: operations["updateEventStatus"];
20
+ };
21
+ "/api/workspaces/{workspaceId}/events": {
22
+ /** Gets events for a workspace. */
23
+ get: operations["getEventsOfWorkspace"];
24
+ };
25
+ "/api/events": {
26
+ get: operations["getEventsAggregate"];
27
+ };
28
+ "/api/events/list": {
29
+ get: operations["getEvents"];
30
+ };
31
+ "/api/events/summary": {
32
+ get: operations["getEventSummaryByUser"];
33
+ };
34
+ "/api/events/types": {
35
+ get: operations["getEventTypes"];
36
+ };
37
+ }
38
+ interface components {
39
+ schemas: {
40
+ /** @description Payload for creating a new event. */
41
+ EventPayload: {
42
+ /**
43
+ * Format: uuid
44
+ * @description UUID of the user associated with the event.
45
+ */
46
+ userId?: string;
47
+ /** @description The category of the event. */
48
+ category?: string;
49
+ /** @description The action of the event. */
50
+ action?: string;
51
+ /** @description Description of the event. */
52
+ description?: string;
53
+ } & {
54
+ [key: string]: unknown;
55
+ };
56
+ /** @description Payload for updating the status of a single event. */
57
+ UpdateEventStatusRequest: {
58
+ /**
59
+ * @description Current status of the event.
60
+ * @example completed
61
+ */
62
+ status: string;
63
+ };
64
+ /** @description Response body returned after updating an event's status. */
65
+ UpdateEventStatusResponse: {
66
+ /** @description Human-readable status message. */
67
+ message?: string;
68
+ /**
69
+ * Format: uuid
70
+ * @description UUID of the event whose status was updated.
71
+ */
72
+ eventId?: string;
73
+ /** @description Updated status of the event. */
74
+ status?: string;
75
+ };
76
+ /** @description Payload for bulk-deleting events by ID. */
77
+ BulkDeleteRequest: {
78
+ /** @description UUIDs of the events to delete. */
79
+ ids: string[];
80
+ };
81
+ /** @description Response body returned after bulk event deletion. */
82
+ BulkDeleteResponse: {
83
+ /** @description UUIDs of events that were deleted. */
84
+ deleted?: string[];
85
+ };
86
+ /** @description Payload for bulk-updating the status of events. */
87
+ BulkUpdateStatusRequest: {
88
+ /** @description UUIDs of the events to update. */
89
+ ids: string[];
90
+ /**
91
+ * @description New status to apply to the selected events.
92
+ * @example failed
93
+ */
94
+ status: string;
95
+ };
96
+ /** @description Response body returned after bulk event status update. */
97
+ BulkUpdateStatusResponse: {
98
+ /** @description UUIDs of events whose status was updated. */
99
+ updated?: string[];
100
+ };
101
+ /** @description EventResult entity schema. */
102
+ EventResult: {
103
+ /**
104
+ * Format: uuid
105
+ * @description UUID of the user associated with the event.
106
+ */
107
+ userId: string;
108
+ /** @description System identifier of the event source. */
109
+ systemId?: string;
110
+ /** @description The category of the event. */
111
+ category: string;
112
+ /** @description The action of the event. */
113
+ action: string;
114
+ /** @description Description of the event. */
115
+ description?: string;
116
+ /** @description The first name of the user associated with the event. */
117
+ firstName?: string;
118
+ /** @description The last name of the user associated with the event. */
119
+ lastName?: string;
120
+ /**
121
+ * Format: email
122
+ * @description Email address of the user associated with the event.
123
+ */
124
+ email?: string;
125
+ /** @description Authentication provider of the user associated with the event. */
126
+ provider?: string;
127
+ /**
128
+ * Format: date-time
129
+ * @description Timestamp when the event was recorded.
130
+ */
131
+ createdAt?: string;
132
+ };
133
+ /** @description Paginated list of events. */
134
+ EventsPage: {
135
+ /** @description Zero-based page index returned in this response. */
136
+ page?: number;
137
+ /** @description Maximum number of items returned on each page. */
138
+ pageSize?: number;
139
+ /** @description Total number of items across all pages. */
140
+ totalCount?: number;
141
+ /** @description The events returned on the current page. */
142
+ data?: {
143
+ /**
144
+ * Format: uuid
145
+ * @description UUID of the user associated with the event.
146
+ */
147
+ userId: string;
148
+ /** @description System identifier of the event source. */
149
+ systemId?: string;
150
+ /** @description The category of the event. */
151
+ category: string;
152
+ /** @description The action of the event. */
153
+ action: string;
154
+ /** @description Description of the event. */
155
+ description?: string;
156
+ /** @description The first name of the user associated with the event. */
157
+ firstName?: string;
158
+ /** @description The last name of the user associated with the event. */
159
+ lastName?: string;
160
+ /**
161
+ * Format: email
162
+ * @description Email address of the user associated with the event.
163
+ */
164
+ email?: string;
165
+ /** @description Authentication provider of the user associated with the event. */
166
+ provider?: string;
167
+ /**
168
+ * Format: date-time
169
+ * @description Timestamp when the event was recorded.
170
+ */
171
+ createdAt?: string;
172
+ }[];
173
+ };
174
+ /** @description Aggregated event counts across categories. */
175
+ EventsAggregate: {
176
+ /** @description Count of audit-category events. */
177
+ audit?: number;
178
+ } & {
179
+ [key: string]: unknown;
180
+ };
181
+ /** @description Per-user event summary entry. */
182
+ EventSummary: {
183
+ [key: string]: unknown;
184
+ };
185
+ /** @description Paginated list of per-user event summaries. */
186
+ EventSummaryPage: {
187
+ /** @description Current page number of the result set. */
188
+ page?: number;
189
+ /** @description Number of items per page. */
190
+ pageSize?: number;
191
+ /** @description Total number of items available. */
192
+ totalCount?: number;
193
+ /** @description The event summaries returned on the current page. */
194
+ data?: {
195
+ [key: string]: unknown;
196
+ }[];
197
+ };
198
+ /** @description A category/action pair describing one kind of event. */
199
+ EventType: {
200
+ /** @description The category of the event type. */
201
+ category?: string;
202
+ /** @description The action of the event type. */
203
+ action?: string;
204
+ };
205
+ /** @description Generic error envelope returned for non-2xx responses. */
206
+ ErrorResponse: {
207
+ /** @description Human-readable error message. */
208
+ error?: string;
209
+ };
210
+ };
211
+ responses: {
212
+ /** Invalid request body or request param */
213
+ 400: {
214
+ content: {
215
+ "text/plain": string;
216
+ };
217
+ };
218
+ /** Expired JWT token used or insufficient privilege */
219
+ 401: {
220
+ content: {
221
+ "text/plain": string;
222
+ };
223
+ };
224
+ /** Result not found */
225
+ 404: {
226
+ content: {
227
+ "text/plain": string;
228
+ };
229
+ };
230
+ /** Internal server error */
231
+ 500: {
232
+ content: {
233
+ "text/plain": string;
234
+ };
235
+ };
236
+ };
237
+ parameters: {
238
+ /** @description ID of the event. */
239
+ eventId: string;
240
+ /** @description Workspace ID */
241
+ workspaceId: string;
242
+ /** @description Get responses by page */
243
+ page: string;
244
+ /** @description Get responses by pagesize */
245
+ pagesize: string;
246
+ /** @description Get responses that match search param value */
247
+ search: string;
248
+ /** @description Get ordered responses */
249
+ order: string;
250
+ /** @description When true, return cumulative aggregate counts across all time. */
251
+ cumulative: boolean;
252
+ /** @description Get filtered reponses */
253
+ filter: string;
254
+ /** @description Get filtered reponses */
255
+ eventsFilter: string;
256
+ };
257
+ }
258
+ interface operations {
259
+ deleteEvent: {
260
+ parameters: {
261
+ path: {
262
+ /** ID of the event. */
263
+ eventId: string;
264
+ };
265
+ };
266
+ responses: {
267
+ /** Event deleted */
268
+ 204: never;
269
+ /** Invalid request body or request param */
270
+ 400: {
271
+ content: {
272
+ "text/plain": string;
273
+ };
274
+ };
275
+ /** Expired JWT token used or insufficient privilege */
276
+ 401: {
277
+ content: {
278
+ "text/plain": string;
279
+ };
280
+ };
281
+ /** Result not found */
282
+ 404: {
283
+ content: {
284
+ "text/plain": string;
285
+ };
286
+ };
287
+ /** Internal server error */
288
+ 500: {
289
+ content: {
290
+ "text/plain": string;
291
+ };
292
+ };
293
+ };
294
+ };
295
+ createEvent: {
296
+ responses: {
297
+ /** Event created */
298
+ 201: unknown;
299
+ /** Invalid request body or request param */
300
+ 400: {
301
+ content: {
302
+ "text/plain": string;
303
+ };
304
+ };
305
+ /** Expired JWT token used or insufficient privilege */
306
+ 401: {
307
+ content: {
308
+ "text/plain": string;
309
+ };
310
+ };
311
+ /** Internal server error */
312
+ 500: {
313
+ content: {
314
+ "text/plain": string;
315
+ };
316
+ };
317
+ };
318
+ requestBody: {
319
+ content: {
320
+ "application/json": {
321
+ /**
322
+ * Format: uuid
323
+ * @description UUID of the user associated with the event.
324
+ */
325
+ userId?: string;
326
+ /** @description The category of the event. */
327
+ category?: string;
328
+ /** @description The action of the event. */
329
+ action?: string;
330
+ /** @description Description of the event. */
331
+ description?: string;
332
+ } & {
333
+ [key: string]: unknown;
334
+ };
335
+ };
336
+ };
337
+ };
338
+ bulkDeleteEvents: {
339
+ responses: {
340
+ /** Events deleted */
341
+ 200: {
342
+ content: {
343
+ "application/json": {
344
+ /** @description UUIDs of events that were deleted. */
345
+ deleted?: string[];
346
+ };
347
+ };
348
+ };
349
+ /** Invalid request body or request param */
350
+ 400: {
351
+ content: {
352
+ "text/plain": string;
353
+ };
354
+ };
355
+ /** Expired JWT token used or insufficient privilege */
356
+ 401: {
357
+ content: {
358
+ "text/plain": string;
359
+ };
360
+ };
361
+ /** Internal server error */
362
+ 500: {
363
+ content: {
364
+ "text/plain": string;
365
+ };
366
+ };
367
+ };
368
+ requestBody: {
369
+ content: {
370
+ "application/json": {
371
+ /** @description UUIDs of the events to delete. */
372
+ ids: string[];
373
+ };
374
+ };
375
+ };
376
+ };
377
+ bulkUpdateEventStatus: {
378
+ responses: {
379
+ /** Events updated */
380
+ 200: {
381
+ content: {
382
+ "application/json": {
383
+ /** @description UUIDs of events whose status was updated. */
384
+ updated?: string[];
385
+ };
386
+ };
387
+ };
388
+ /** Invalid request body or request param */
389
+ 400: {
390
+ content: {
391
+ "text/plain": string;
392
+ };
393
+ };
394
+ /** Expired JWT token used or insufficient privilege */
395
+ 401: {
396
+ content: {
397
+ "text/plain": string;
398
+ };
399
+ };
400
+ /** Internal server error */
401
+ 500: {
402
+ content: {
403
+ "text/plain": string;
404
+ };
405
+ };
406
+ };
407
+ requestBody: {
408
+ content: {
409
+ "application/json": {
410
+ /** @description UUIDs of the events to update. */
411
+ ids: string[];
412
+ /**
413
+ * @description New status to apply to the selected events.
414
+ * @example failed
415
+ */
416
+ status: string;
417
+ };
418
+ };
419
+ };
420
+ };
421
+ updateEventStatus: {
422
+ parameters: {
423
+ path: {
424
+ /** ID of the event. */
425
+ eventId: string;
426
+ };
427
+ };
428
+ responses: {
429
+ /** Event status updated */
430
+ 200: {
431
+ content: {
432
+ "application/json": {
433
+ /** @description Human-readable status message. */
434
+ message?: string;
435
+ /**
436
+ * Format: uuid
437
+ * @description UUID of the event whose status was updated.
438
+ */
439
+ eventId?: string;
440
+ /** @description Updated status of the event. */
441
+ status?: string;
442
+ };
443
+ };
444
+ };
445
+ /** Invalid request body or request param */
446
+ 400: {
447
+ content: {
448
+ "text/plain": string;
449
+ };
450
+ };
451
+ /** Expired JWT token used or insufficient privilege */
452
+ 401: {
453
+ content: {
454
+ "text/plain": string;
455
+ };
456
+ };
457
+ /** Result not found */
458
+ 404: {
459
+ content: {
460
+ "text/plain": string;
461
+ };
462
+ };
463
+ /** Internal server error */
464
+ 500: {
465
+ content: {
466
+ "text/plain": string;
467
+ };
468
+ };
469
+ };
470
+ requestBody: {
471
+ content: {
472
+ "application/json": {
473
+ /**
474
+ * @description Current status of the event.
475
+ * @example completed
476
+ */
477
+ status: string;
478
+ };
479
+ };
480
+ };
481
+ };
482
+ /** Gets events for a workspace. */
483
+ getEventsOfWorkspace: {
484
+ parameters: {
485
+ path: {
486
+ /** Workspace ID */
487
+ workspaceId: string;
488
+ };
489
+ query: {
490
+ /** Get responses by page */
491
+ page?: string;
492
+ /** Get responses by pagesize */
493
+ pagesize?: string;
494
+ /** Get responses that match search param value */
495
+ search?: string;
496
+ /** Get ordered responses */
497
+ order?: string;
498
+ };
499
+ };
500
+ responses: {
501
+ /** Workspace events */
502
+ 200: {
503
+ content: {
504
+ "application/json": {
505
+ /** @description Zero-based page index returned in this response. */
506
+ page?: number;
507
+ /** @description Maximum number of items returned on each page. */
508
+ pageSize?: number;
509
+ /** @description Total number of items across all pages. */
510
+ totalCount?: number;
511
+ /** @description The events returned on the current page. */
512
+ data?: {
513
+ /**
514
+ * Format: uuid
515
+ * @description UUID of the user associated with the event.
516
+ */
517
+ userId: string;
518
+ /** @description System identifier of the event source. */
519
+ systemId?: string;
520
+ /** @description The category of the event. */
521
+ category: string;
522
+ /** @description The action of the event. */
523
+ action: string;
524
+ /** @description Description of the event. */
525
+ description?: string;
526
+ /** @description The first name of the user associated with the event. */
527
+ firstName?: string;
528
+ /** @description The last name of the user associated with the event. */
529
+ lastName?: string;
530
+ /**
531
+ * Format: email
532
+ * @description Email address of the user associated with the event.
533
+ */
534
+ email?: string;
535
+ /** @description Authentication provider of the user associated with the event. */
536
+ provider?: string;
537
+ /**
538
+ * Format: date-time
539
+ * @description Timestamp when the event was recorded.
540
+ */
541
+ createdAt?: string;
542
+ }[];
543
+ };
544
+ };
545
+ };
546
+ /** Invalid request */
547
+ 400: {
548
+ content: {
549
+ "application/json": {
550
+ /** @description Human-readable error message. */
551
+ error?: string;
552
+ };
553
+ };
554
+ };
555
+ /** Unauthorized */
556
+ 401: unknown;
557
+ /** Workspace not found */
558
+ 404: unknown;
559
+ /** Server error */
560
+ 500: unknown;
561
+ };
562
+ };
563
+ getEventsAggregate: {
564
+ parameters: {
565
+ query: {
566
+ /** When true, return cumulative aggregate counts across all time. */
567
+ cumulative?: boolean;
568
+ };
569
+ };
570
+ responses: {
571
+ /** Events aggregate */
572
+ 200: {
573
+ content: {
574
+ "application/json": {
575
+ /** @description Count of audit-category events. */
576
+ audit?: number;
577
+ } & {
578
+ [key: string]: unknown;
579
+ };
580
+ };
581
+ };
582
+ /** Unauthorized */
583
+ 401: unknown;
584
+ /** Not found */
585
+ 404: unknown;
586
+ /** Server error */
587
+ 500: unknown;
588
+ };
589
+ };
590
+ getEvents: {
591
+ parameters: {
592
+ query: {
593
+ /** Get responses by page */
594
+ page?: string;
595
+ /** Get responses by pagesize */
596
+ pagesize?: string;
597
+ /** Get responses that match search param value */
598
+ search?: string;
599
+ /** Get ordered responses */
600
+ order?: string;
601
+ /** Get filtered reponses */
602
+ filter?: string;
603
+ };
604
+ };
605
+ responses: {
606
+ /** Events page */
607
+ 200: {
608
+ content: {
609
+ "application/json": {
610
+ /** @description Zero-based page index returned in this response. */
611
+ page?: number;
612
+ /** @description Maximum number of items returned on each page. */
613
+ pageSize?: number;
614
+ /** @description Total number of items across all pages. */
615
+ totalCount?: number;
616
+ /** @description The events returned on the current page. */
617
+ data?: {
618
+ /**
619
+ * Format: uuid
620
+ * @description UUID of the user associated with the event.
621
+ */
622
+ userId: string;
623
+ /** @description System identifier of the event source. */
624
+ systemId?: string;
625
+ /** @description The category of the event. */
626
+ category: string;
627
+ /** @description The action of the event. */
628
+ action: string;
629
+ /** @description Description of the event. */
630
+ description?: string;
631
+ /** @description The first name of the user associated with the event. */
632
+ firstName?: string;
633
+ /** @description The last name of the user associated with the event. */
634
+ lastName?: string;
635
+ /**
636
+ * Format: email
637
+ * @description Email address of the user associated with the event.
638
+ */
639
+ email?: string;
640
+ /** @description Authentication provider of the user associated with the event. */
641
+ provider?: string;
642
+ /**
643
+ * Format: date-time
644
+ * @description Timestamp when the event was recorded.
645
+ */
646
+ createdAt?: string;
647
+ }[];
648
+ };
649
+ };
650
+ };
651
+ /** Unauthorized */
652
+ 401: unknown;
653
+ /** Not found */
654
+ 404: unknown;
655
+ /** Server error */
656
+ 500: unknown;
657
+ };
658
+ };
659
+ getEventSummaryByUser: {
660
+ parameters: {
661
+ query: {
662
+ /** Get responses by page */
663
+ page?: string;
664
+ /** Get responses by pagesize */
665
+ pagesize?: string;
666
+ /** Get responses that match search param value */
667
+ search?: string;
668
+ /** Get ordered responses */
669
+ order?: string;
670
+ /** Get filtered reponses */
671
+ filter?: string;
672
+ };
673
+ };
674
+ responses: {
675
+ /** Event summary page */
676
+ 200: {
677
+ content: {
678
+ "application/json": {
679
+ /** @description Current page number of the result set. */
680
+ page?: number;
681
+ /** @description Number of items per page. */
682
+ pageSize?: number;
683
+ /** @description Total number of items available. */
684
+ totalCount?: number;
685
+ /** @description The event summaries returned on the current page. */
686
+ data?: {
687
+ [key: string]: unknown;
688
+ }[];
689
+ };
690
+ };
691
+ };
692
+ /** Unauthorized */
693
+ 401: unknown;
694
+ /** Not found */
695
+ 404: unknown;
696
+ /** Server error */
697
+ 500: unknown;
698
+ };
699
+ };
700
+ getEventTypes: {
701
+ parameters: {
702
+ query: {
703
+ /** Get responses by page */
704
+ page?: string;
705
+ /** Get responses by pagesize */
706
+ pagesize?: string;
707
+ };
708
+ };
709
+ responses: {
710
+ /** Event types */
711
+ 200: {
712
+ content: {
713
+ "application/json": {
714
+ /** @description The category of the event type. */
715
+ category?: string;
716
+ /** @description The action of the event type. */
717
+ action?: string;
718
+ }[];
719
+ };
720
+ };
721
+ /** Unauthorized */
722
+ 401: unknown;
723
+ /** Not found */
724
+ 404: unknown;
725
+ /** Server error */
726
+ 500: unknown;
727
+ };
728
+ };
729
+ }
730
+ interface external {
731
+ }
732
+
733
+ export type { components, external, operations, paths };