@meshery/schemas 1.3.9 → 1.4.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 (101) hide show
  1. package/dist/cloudApi.d.mts +28 -28
  2. package/dist/cloudApi.d.ts +28 -28
  3. package/dist/constructs/v1alpha1/capability/Capability.d.ts +106 -111
  4. package/dist/constructs/v1alpha1/core/Core.d.ts +822 -734
  5. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +45 -40
  6. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1829 -1716
  7. package/dist/constructs/v1beta1/academy/Academy.d.ts +6023 -6642
  8. package/dist/constructs/v1beta1/badge/Badge.d.ts +439 -600
  9. package/dist/constructs/v1beta1/capability/Capability.d.ts +106 -111
  10. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +45 -40
  11. package/dist/constructs/v1beta1/category/Category.d.ts +38 -26
  12. package/dist/constructs/v1beta1/component/Component.d.ts +833 -729
  13. package/dist/constructs/v1beta1/connection/Connection.d.ts +1170 -1357
  14. package/dist/constructs/v1beta1/core/Core.d.ts +822 -734
  15. package/dist/constructs/v1beta1/credential/Credential.d.ts +458 -593
  16. package/dist/constructs/v1beta1/environment/Environment.d.ts +666 -835
  17. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6142 -5619
  18. package/dist/constructs/v1beta1/event/Event.d.ts +527 -898
  19. package/dist/constructs/v1beta1/feature/Feature.d.ts +343 -389
  20. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +877 -1244
  21. package/dist/constructs/v1beta1/key/Key.d.ts +444 -589
  22. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +575 -796
  23. package/dist/constructs/v1beta1/model/Model.d.ts +598 -572
  24. package/dist/constructs/v1beta1/organization/Organization.d.ts +1410 -1829
  25. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17988 -17171
  26. package/dist/constructs/v1beta1/plan/Plan.d.ts +115 -159
  27. package/dist/constructs/v1beta1/role/Role.d.ts +688 -933
  28. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +315 -425
  29. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +61 -18
  30. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +674 -839
  31. package/dist/constructs/v1beta1/support/Support.d.ts +74 -115
  32. package/dist/constructs/v1beta1/system/System.d.ts +250 -385
  33. package/dist/constructs/v1beta1/team/Team.d.ts +762 -1028
  34. package/dist/constructs/v1beta1/token/Token.d.ts +475 -612
  35. package/dist/constructs/v1beta1/user/User.d.ts +1553 -1722
  36. package/dist/constructs/v1beta1/view/View.d.ts +664 -833
  37. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4705 -4910
  38. package/dist/constructs/v1beta2/academy/Academy.d.ts +7246 -7864
  39. package/dist/constructs/v1beta2/badge/Badge.d.ts +453 -610
  40. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +45 -40
  41. package/dist/constructs/v1beta2/component/Component.d.ts +851 -747
  42. package/dist/constructs/v1beta2/connection/Connection.d.ts +1189 -1376
  43. package/dist/constructs/v1beta2/core/Core.d.ts +856 -768
  44. package/dist/constructs/v1beta2/credential/Credential.d.ts +437 -572
  45. package/dist/constructs/v1beta2/design/Design.d.ts +18631 -17846
  46. package/dist/constructs/v1beta2/event/Event.d.ts +575 -946
  47. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +901 -1268
  48. package/dist/constructs/v1beta2/key/Key.d.ts +454 -599
  49. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +585 -806
  50. package/dist/constructs/v1beta2/model/Model.d.ts +636 -610
  51. package/dist/constructs/v1beta2/organization/Organization.d.ts +2017 -2458
  52. package/dist/constructs/v1beta2/plan/Plan.d.ts +128 -169
  53. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2013 -1844
  54. package/dist/constructs/v1beta2/role/Role.d.ts +695 -940
  55. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +356 -466
  56. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +701 -866
  57. package/dist/constructs/v1beta2/team/Team.d.ts +852 -1118
  58. package/dist/constructs/v1beta2/token/Token.d.ts +479 -616
  59. package/dist/constructs/v1beta2/user/User.d.ts +1553 -1722
  60. package/dist/constructs/v1beta2/view/View.d.ts +669 -838
  61. package/dist/constructs/v1beta3/academy/Academy.d.ts +7246 -7864
  62. package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
  63. package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
  64. package/dist/constructs/v1beta3/component/Component.d.ts +857 -753
  65. package/dist/constructs/v1beta3/connection/Connection.d.ts +5559 -5053
  66. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +6 -6
  67. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +6 -6
  68. package/dist/constructs/v1beta3/design/Design.d.ts +5297 -5719
  69. package/dist/constructs/v1beta3/design/DesignSchema.js +2 -2
  70. package/dist/constructs/v1beta3/design/DesignSchema.mjs +2 -2
  71. package/dist/constructs/v1beta3/environment/Environment.d.ts +689 -858
  72. package/dist/constructs/v1beta3/event/Event.d.ts +666 -1041
  73. package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
  74. package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
  75. package/dist/constructs/v1beta3/filter/Filter.d.ts +1300 -1438
  76. package/dist/constructs/v1beta3/filter/FilterSchema.js +7 -7
  77. package/dist/constructs/v1beta3/filter/FilterSchema.mjs +7 -7
  78. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +911 -1278
  79. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  80. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  81. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +1114 -1412
  82. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.js +1 -1
  83. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.mjs +1 -1
  84. package/dist/constructs/v1beta3/plan/Plan.d.ts +156 -197
  85. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2013 -1844
  86. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +804 -969
  87. package/dist/constructs/v1beta3/token/Token.d.ts +480 -617
  88. package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
  89. package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
  90. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4825 -5033
  91. package/dist/index.d.mts +5032 -5501
  92. package/dist/index.d.ts +5032 -5501
  93. package/dist/mesheryApi.d.mts +8 -8
  94. package/dist/mesheryApi.d.ts +8 -8
  95. package/dist/mesheryApi.js +1 -1
  96. package/dist/mesheryApi.mjs +1 -1
  97. package/dist/permissions.d.mts +25 -1
  98. package/dist/permissions.d.ts +25 -1
  99. package/dist/permissions.js +1 -1
  100. package/dist/permissions.mjs +1 -1
  101. package/package.json +1 -1
@@ -4,938 +4,567 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/events/{id}": {
8
- parameters: {
9
- query?: never;
10
- header?: never;
11
- path?: never;
12
- cookie?: never;
13
- };
14
- get?: never;
15
- put?: never;
16
- post?: never;
17
- /** Delete a single event */
18
- delete: {
19
- parameters: {
20
- query?: never;
21
- header?: never;
22
- path: {
23
- /** @description ID of the event to delete */
24
- id: string;
25
- };
26
- cookie?: never;
27
- };
28
- requestBody?: never;
29
- responses: {
30
- /** @description Event deleted */
31
- 204: {
32
- headers: {
33
- [name: string]: unknown;
34
- };
35
- content?: never;
36
- };
37
- /** @description Invalid request body or request param */
38
- 400: {
39
- headers: {
40
- [name: string]: unknown;
41
- };
42
- content: {
43
- "text/plain": string;
44
- };
45
- };
46
- /** @description Expired JWT token used or insufficient privilege */
47
- 401: {
48
- headers: {
49
- [name: string]: unknown;
50
- };
51
- content: {
52
- "text/plain": string;
53
- };
54
- };
55
- /** @description Result not found */
56
- 404: {
57
- headers: {
58
- [name: string]: unknown;
59
- };
60
- content: {
61
- "text/plain": string;
62
- };
63
- };
64
- /** @description Internal server error */
65
- 500: {
66
- headers: {
67
- [name: string]: unknown;
68
- };
69
- content: {
70
- "text/plain": string;
71
- };
72
- };
73
- };
7
+ "/events/{id}": {
8
+ delete: {
9
+ parameters: {
10
+ path: {
11
+ /** ID of the event to delete */
12
+ id: string;
13
+ };
14
+ };
15
+ responses: {
16
+ /** Event deleted */
17
+ 204: never;
18
+ /** Invalid request body or request param */
19
+ 400: {
20
+ content: {
21
+ "text/plain": string;
22
+ };
74
23
  };
75
- options?: never;
76
- head?: never;
77
- patch?: never;
78
- trace?: never;
79
- };
80
- "/events": {
81
- parameters: {
82
- query?: never;
83
- header?: never;
84
- path?: never;
85
- cookie?: never;
86
- };
87
- get?: never;
88
- put?: never;
89
- /** Create a new event */
90
- post: {
91
- parameters: {
92
- query?: never;
93
- header?: never;
94
- path?: never;
95
- cookie?: never;
96
- };
97
- requestBody: {
98
- content: {
99
- "application/json": Record<string, never>;
100
- };
101
- };
102
- responses: {
103
- /** @description Event created */
104
- 200: {
105
- headers: {
106
- [name: string]: unknown;
107
- };
108
- content?: never;
109
- };
110
- /** @description Invalid request body or request param */
111
- 400: {
112
- headers: {
113
- [name: string]: unknown;
114
- };
115
- content: {
116
- "text/plain": string;
117
- };
118
- };
119
- /** @description Expired JWT token used or insufficient privilege */
120
- 401: {
121
- headers: {
122
- [name: string]: unknown;
123
- };
124
- content: {
125
- "text/plain": string;
126
- };
127
- };
128
- /** @description Internal server error */
129
- 500: {
130
- headers: {
131
- [name: string]: unknown;
132
- };
133
- content: {
134
- "text/plain": string;
135
- };
136
- };
137
- };
24
+ /** Expired JWT token used or insufficient privilege */
25
+ 401: {
26
+ content: {
27
+ "text/plain": string;
28
+ };
138
29
  };
139
- delete?: never;
140
- options?: never;
141
- head?: never;
142
- patch?: never;
143
- trace?: never;
30
+ /** Result not found */
31
+ 404: {
32
+ content: {
33
+ "text/plain": string;
34
+ };
35
+ };
36
+ /** Internal server error */
37
+ 500: {
38
+ content: {
39
+ "text/plain": string;
40
+ };
41
+ };
42
+ };
144
43
  };
145
- "/events/delete": {
146
- parameters: {
147
- query?: never;
148
- header?: never;
149
- path?: never;
150
- cookie?: never;
151
- };
152
- get?: never;
153
- put?: never;
154
- /** Bulk delete events */
155
- post: {
156
- parameters: {
157
- query?: never;
158
- header?: never;
159
- path?: never;
160
- cookie?: never;
161
- };
162
- requestBody: {
163
- content: {
164
- "application/json": {
165
- ids: string[];
166
- };
167
- };
168
- };
169
- responses: {
170
- /** @description event deleted */
171
- 200: {
172
- headers: {
173
- [name: string]: unknown;
174
- };
175
- content: {
176
- "application/json": {
177
- deleted?: string[];
178
- };
179
- };
180
- };
181
- /** @description Invalid request body or request param */
182
- 400: {
183
- headers: {
184
- [name: string]: unknown;
185
- };
186
- content: {
187
- "text/plain": string;
188
- };
189
- };
190
- /** @description Expired JWT token used or insufficient privilege */
191
- 401: {
192
- headers: {
193
- [name: string]: unknown;
194
- };
195
- content: {
196
- "text/plain": string;
197
- };
198
- };
199
- /** @description Internal server error */
200
- 500: {
201
- headers: {
202
- [name: string]: unknown;
203
- };
204
- content: {
205
- "text/plain": string;
206
- };
207
- };
208
- };
44
+ };
45
+ "/events": {
46
+ post: {
47
+ responses: {
48
+ /** Event created */
49
+ 200: unknown;
50
+ /** Invalid request body or request param */
51
+ 400: {
52
+ content: {
53
+ "text/plain": string;
54
+ };
55
+ };
56
+ /** Expired JWT token used or insufficient privilege */
57
+ 401: {
58
+ content: {
59
+ "text/plain": string;
60
+ };
61
+ };
62
+ /** Internal server error */
63
+ 500: {
64
+ content: {
65
+ "text/plain": string;
66
+ };
67
+ };
68
+ };
69
+ requestBody: {
70
+ content: {
71
+ "application/json": { [key: string]: unknown };
209
72
  };
210
- delete?: never;
211
- options?: never;
212
- head?: never;
213
- patch?: never;
214
- trace?: never;
73
+ };
215
74
  };
216
- "/events/status": {
217
- parameters: {
218
- query?: never;
219
- header?: never;
220
- path?: never;
221
- cookie?: never;
222
- };
223
- get?: never;
224
- /** Bulk update event status */
225
- put: {
226
- parameters: {
227
- query?: never;
228
- header?: never;
229
- path?: never;
230
- cookie?: never;
231
- };
232
- requestBody: {
233
- content: {
234
- "application/json": {
235
- ids: string[];
236
- /** @example failed */
237
- status: string;
238
- };
239
- };
240
- };
241
- responses: {
242
- /** @description Events updated */
243
- 200: {
244
- headers: {
245
- [name: string]: unknown;
246
- };
247
- content: {
248
- "application/json": {
249
- updated?: string[];
250
- };
251
- };
252
- };
253
- /** @description Invalid request body or request param */
254
- 400: {
255
- headers: {
256
- [name: string]: unknown;
257
- };
258
- content: {
259
- "text/plain": string;
260
- };
261
- };
262
- /** @description Expired JWT token used or insufficient privilege */
263
- 401: {
264
- headers: {
265
- [name: string]: unknown;
266
- };
267
- content: {
268
- "text/plain": string;
269
- };
270
- };
271
- /** @description Internal server error */
272
- 500: {
273
- headers: {
274
- [name: string]: unknown;
275
- };
276
- content: {
277
- "text/plain": string;
278
- };
279
- };
280
- };
75
+ };
76
+ "/events/delete": {
77
+ post: {
78
+ responses: {
79
+ /** event deleted */
80
+ 200: {
81
+ content: {
82
+ "application/json": {
83
+ deleted?: string[];
84
+ };
85
+ };
86
+ };
87
+ /** Invalid request body or request param */
88
+ 400: {
89
+ content: {
90
+ "text/plain": string;
91
+ };
92
+ };
93
+ /** Expired JWT token used or insufficient privilege */
94
+ 401: {
95
+ content: {
96
+ "text/plain": string;
97
+ };
281
98
  };
282
- post?: never;
283
- delete?: never;
284
- options?: never;
285
- head?: never;
286
- patch?: never;
287
- trace?: never;
99
+ /** Internal server error */
100
+ 500: {
101
+ content: {
102
+ "text/plain": string;
103
+ };
104
+ };
105
+ };
106
+ requestBody: {
107
+ content: {
108
+ "application/json": {
109
+ ids: string[];
110
+ };
111
+ };
112
+ };
288
113
  };
289
- "/events/{id}/status": {
290
- parameters: {
291
- query?: never;
292
- header?: never;
293
- path?: never;
294
- cookie?: never;
295
- };
296
- get?: never;
297
- /** Update status of a single event */
298
- put: {
299
- parameters: {
300
- query?: never;
301
- header?: never;
302
- path: {
303
- /** @description ID of the event */
304
- id: string;
305
- };
306
- cookie?: never;
307
- };
308
- requestBody: {
309
- content: {
310
- "application/json": {
311
- /** @example completed */
312
- status: string;
313
- };
314
- };
315
- };
316
- responses: {
317
- /** @description Event status updated */
318
- 200: {
319
- headers: {
320
- [name: string]: unknown;
321
- };
322
- content: {
323
- "application/json": {
324
- message?: string;
325
- /** Format: uuid */
326
- event_id?: string;
327
- status?: string;
328
- };
329
- };
330
- };
331
- /** @description Invalid request body or request param */
332
- 400: {
333
- headers: {
334
- [name: string]: unknown;
335
- };
336
- content: {
337
- "text/plain": string;
338
- };
339
- };
340
- /** @description Expired JWT token used or insufficient privilege */
341
- 401: {
342
- headers: {
343
- [name: string]: unknown;
344
- };
345
- content: {
346
- "text/plain": string;
347
- };
348
- };
349
- /** @description Result not found */
350
- 404: {
351
- headers: {
352
- [name: string]: unknown;
353
- };
354
- content: {
355
- "text/plain": string;
356
- };
357
- };
358
- /** @description Internal server error */
359
- 500: {
360
- headers: {
361
- [name: string]: unknown;
362
- };
363
- content: {
364
- "text/plain": string;
365
- };
366
- };
367
- };
114
+ };
115
+ "/events/status": {
116
+ put: {
117
+ responses: {
118
+ /** Events updated */
119
+ 200: {
120
+ content: {
121
+ "application/json": {
122
+ updated?: string[];
123
+ };
124
+ };
125
+ };
126
+ /** Invalid request body or request param */
127
+ 400: {
128
+ content: {
129
+ "text/plain": string;
130
+ };
131
+ };
132
+ /** Expired JWT token used or insufficient privilege */
133
+ 401: {
134
+ content: {
135
+ "text/plain": string;
136
+ };
137
+ };
138
+ /** Internal server error */
139
+ 500: {
140
+ content: {
141
+ "text/plain": string;
142
+ };
143
+ };
144
+ };
145
+ requestBody: {
146
+ content: {
147
+ "application/json": {
148
+ ids: string[];
149
+ /** @example failed */
150
+ status: string;
151
+ };
368
152
  };
369
- post?: never;
370
- delete?: never;
371
- options?: never;
372
- head?: never;
373
- patch?: never;
374
- trace?: never;
153
+ };
375
154
  };
376
- "/api/workspaces/{workspaceId}/events": {
377
- parameters: {
378
- query?: never;
379
- header?: never;
380
- path?: never;
381
- cookie?: never;
155
+ };
156
+ "/events/{id}/status": {
157
+ put: {
158
+ parameters: {
159
+ path: {
160
+ /** ID of the event */
161
+ id: string;
162
+ };
163
+ };
164
+ responses: {
165
+ /** Event status updated */
166
+ 200: {
167
+ content: {
168
+ "application/json": {
169
+ message?: string;
170
+ /** Format: uuid */
171
+ event_id?: string;
172
+ status?: string;
173
+ };
174
+ };
175
+ };
176
+ /** Invalid request body or request param */
177
+ 400: {
178
+ content: {
179
+ "text/plain": string;
180
+ };
181
+ };
182
+ /** Expired JWT token used or insufficient privilege */
183
+ 401: {
184
+ content: {
185
+ "text/plain": string;
186
+ };
187
+ };
188
+ /** Result not found */
189
+ 404: {
190
+ content: {
191
+ "text/plain": string;
192
+ };
382
193
  };
194
+ /** Internal server error */
195
+ 500: {
196
+ content: {
197
+ "text/plain": string;
198
+ };
199
+ };
200
+ };
201
+ requestBody: {
202
+ content: {
203
+ "application/json": {
204
+ /** @example completed */
205
+ status: string;
206
+ };
207
+ };
208
+ };
209
+ };
210
+ };
211
+ "/api/workspaces/{workspaceId}/events": {
212
+ /** Gets events for a workspace. */
213
+ get: operations["getEventsOfWorkspace"];
214
+ };
215
+ "/api/events": {
216
+ get: operations["getEventsAggregate"];
217
+ };
218
+ "/api/events/list": {
219
+ get: operations["getEvents"];
220
+ };
221
+ "/api/events/summary": {
222
+ get: operations["getEventSummaryByUser"];
223
+ };
224
+ "/api/events/types": {
225
+ get: operations["getEventTypes"];
226
+ };
227
+ }
228
+
229
+ export interface components {
230
+ schemas: {
231
+ UpdateEventStatusRequest: {
232
+ /** @example completed */
233
+ status: string;
234
+ };
235
+ BulkDeleteRequest: {
236
+ ids: string[];
237
+ };
238
+ BulkUpdateStatusRequest: {
239
+ ids: string[];
240
+ /** @example failed */
241
+ status: string;
242
+ };
243
+ EventResult: {
244
+ /** Format: uuid */
245
+ user_id?: string;
246
+ /** Format: uuid */
247
+ system_id?: string;
248
+ category?: string;
249
+ action?: string;
250
+ description?: string;
251
+ firstName?: string;
252
+ lastName?: string;
253
+ /**
254
+ * Format: email
255
+ * @description email
256
+ */
257
+ email?: string;
258
+ /** @description One of (x-oapi-codegen-extra-tags-cloud, github, google) */
259
+ provider?: string;
260
+ /**
261
+ * Format: date-time
262
+ * @description Timestamp when the resource was created.
263
+ */
264
+ created_at?: string;
265
+ };
266
+ EventsPage: {
267
+ page?: number;
268
+ page_size?: number;
269
+ total_count?: number;
270
+ data?: {
271
+ /** Format: uuid */
272
+ user_id?: string;
273
+ /** Format: uuid */
274
+ system_id?: string;
275
+ category?: string;
276
+ action?: string;
277
+ description?: string;
278
+ firstName?: string;
279
+ lastName?: string;
383
280
  /**
384
- * Get workspace events
385
- * @description Gets events for a workspace.
281
+ * Format: email
282
+ * @description email
386
283
  */
387
- get: operations["getEventsOfWorkspace"];
388
- put?: never;
389
- post?: never;
390
- delete?: never;
391
- options?: never;
392
- head?: never;
393
- patch?: never;
394
- trace?: never;
284
+ email?: string;
285
+ /** @description One of (x-oapi-codegen-extra-tags-cloud, github, google) */
286
+ provider?: string;
287
+ /**
288
+ * Format: date-time
289
+ * @description Timestamp when the resource was created.
290
+ */
291
+ created_at?: string;
292
+ }[];
293
+ };
294
+ EventsAggregate: {
295
+ audit?: number;
296
+ } & { [key: string]: unknown };
297
+ EventSummary: { [key: string]: unknown };
298
+ EventSummaryPage: {
299
+ page?: number;
300
+ page_size?: number;
301
+ total_count?: number;
302
+ data?: { [key: string]: unknown }[];
395
303
  };
396
- "/api/events": {
397
- parameters: {
398
- query?: never;
399
- header?: never;
400
- path?: never;
401
- cookie?: never;
402
- };
403
- /** Get events aggregate summary */
404
- get: operations["getEventsAggregate"];
405
- put?: never;
406
- post?: never;
407
- delete?: never;
408
- options?: never;
409
- head?: never;
410
- patch?: never;
411
- trace?: never;
304
+ EventType: {
305
+ category?: string;
306
+ action?: string;
412
307
  };
413
- "/api/events/list": {
414
- parameters: {
415
- query?: never;
416
- header?: never;
417
- path?: never;
418
- cookie?: never;
419
- };
420
- /** Get events list */
421
- get: operations["getEvents"];
422
- put?: never;
423
- post?: never;
424
- delete?: never;
425
- options?: never;
426
- head?: never;
427
- patch?: never;
428
- trace?: never;
308
+ ErrorResponse: {
309
+ error?: string;
429
310
  };
430
- "/api/events/summary": {
431
- parameters: {
432
- query?: never;
433
- header?: never;
434
- path?: never;
435
- cookie?: never;
436
- };
437
- /** Get event summary by user */
438
- get: operations["getEventSummaryByUser"];
439
- put?: never;
440
- post?: never;
441
- delete?: never;
442
- options?: never;
443
- head?: never;
444
- patch?: never;
445
- trace?: never;
311
+ };
312
+ responses: {
313
+ /** Invalid request body or request param */
314
+ 400: {
315
+ content: {
316
+ "text/plain": string;
317
+ };
446
318
  };
447
- "/api/events/types": {
448
- parameters: {
449
- query?: never;
450
- header?: never;
451
- path?: never;
452
- cookie?: never;
453
- };
454
- /** Get event types */
455
- get: operations["getEventTypes"];
456
- put?: never;
457
- post?: never;
458
- delete?: never;
459
- options?: never;
460
- head?: never;
461
- patch?: never;
462
- trace?: never;
319
+ /** Expired JWT token used or insufficient privilege */
320
+ 401: {
321
+ content: {
322
+ "text/plain": string;
323
+ };
463
324
  };
325
+ /** Result not found */
326
+ 404: {
327
+ content: {
328
+ "text/plain": string;
329
+ };
330
+ };
331
+ /** Internal server error */
332
+ 500: {
333
+ content: {
334
+ "text/plain": string;
335
+ };
336
+ };
337
+ };
338
+ parameters: {
339
+ /** @description Workspace ID */
340
+ workspaceId: string;
341
+ /** @description Get responses by page */
342
+ page: string;
343
+ /** @description Get responses by pagesize */
344
+ pagesize: string;
345
+ /** @description Get responses that match search param value */
346
+ search: string;
347
+ /** @description Get ordered responses */
348
+ order: string;
349
+ cumulative: boolean;
350
+ /** @description Get filtered reponses */
351
+ filter: string;
352
+ /** @description Get filtered reponses */
353
+ eventsFilter: string;
354
+ };
464
355
  }
465
- export type webhooks = Record<string, never>;
466
- export interface components {
467
- schemas: {
468
- UpdateEventStatusRequest: {
469
- /** @example completed */
470
- status: string;
471
- };
472
- BulkDeleteRequest: {
473
- ids: string[];
474
- };
475
- BulkUpdateStatusRequest: {
476
- ids: string[];
477
- /** @example failed */
478
- status: string;
479
- };
480
- EventResult: {
481
- /** Format: uuid */
482
- user_id?: string;
483
- /** Format: uuid */
484
- system_id?: string;
485
- category?: string;
486
- action?: string;
487
- description?: string;
488
- firstName?: string;
489
- lastName?: string;
490
- /**
491
- * Format: email
492
- * @description email
493
- */
494
- email?: string;
495
- /** @description One of (x-oapi-codegen-extra-tags-cloud, github, google) */
496
- provider?: string;
497
- /**
498
- * Format: date-time
499
- * @description Timestamp when the resource was created.
500
- */
501
- created_at?: string;
502
- };
503
- EventsPage: {
356
+
357
+ export interface operations {
358
+ /** Gets events for a workspace. */
359
+ getEventsOfWorkspace: {
360
+ parameters: {
361
+ path: {
362
+ /** Workspace ID */
363
+ workspaceId: string;
364
+ };
365
+ query: {
366
+ /** Get responses by page */
367
+ page?: string;
368
+ /** Get responses by pagesize */
369
+ pagesize?: string;
370
+ /** Get responses that match search param value */
371
+ search?: string;
372
+ /** Get ordered responses */
373
+ order?: string;
374
+ };
375
+ };
376
+ responses: {
377
+ /** Workspace events */
378
+ 200: {
379
+ content: {
380
+ "application/json": {
504
381
  page?: number;
505
382
  page_size?: number;
506
383
  total_count?: number;
507
384
  data?: {
508
- /** Format: uuid */
509
- user_id?: string;
510
- /** Format: uuid */
511
- system_id?: string;
512
- category?: string;
513
- action?: string;
514
- description?: string;
515
- firstName?: string;
516
- lastName?: string;
517
- /**
518
- * Format: email
519
- * @description email
520
- */
521
- email?: string;
522
- /** @description One of (x-oapi-codegen-extra-tags-cloud, github, google) */
523
- provider?: string;
524
- /**
525
- * Format: date-time
526
- * @description Timestamp when the resource was created.
527
- */
528
- created_at?: string;
385
+ /** Format: uuid */
386
+ user_id?: string;
387
+ /** Format: uuid */
388
+ system_id?: string;
389
+ category?: string;
390
+ action?: string;
391
+ description?: string;
392
+ firstName?: string;
393
+ lastName?: string;
394
+ /**
395
+ * Format: email
396
+ * @description email
397
+ */
398
+ email?: string;
399
+ /** @description One of (x-oapi-codegen-extra-tags-cloud, github, google) */
400
+ provider?: string;
401
+ /**
402
+ * Format: date-time
403
+ * @description Timestamp when the resource was created.
404
+ */
405
+ created_at?: string;
529
406
  }[];
407
+ };
530
408
  };
531
- EventsAggregate: {
409
+ };
410
+ /** Invalid request */
411
+ 400: {
412
+ content: {
413
+ "application/json": {
414
+ error?: string;
415
+ };
416
+ };
417
+ };
418
+ /** Unauthorized */
419
+ 401: unknown;
420
+ /** Workspace not found */
421
+ 404: unknown;
422
+ /** Server error */
423
+ 500: unknown;
424
+ };
425
+ };
426
+ getEventsAggregate: {
427
+ parameters: {
428
+ query: {
429
+ cumulative?: boolean;
430
+ };
431
+ };
432
+ responses: {
433
+ /** Events aggregate */
434
+ 200: {
435
+ content: {
436
+ "application/json": {
532
437
  audit?: number;
533
- } & {
534
- [key: string]: unknown;
535
- };
536
- EventSummary: {
537
- [key: string]: unknown;
538
- };
539
- EventSummaryPage: {
438
+ } & { [key: string]: unknown };
439
+ };
440
+ };
441
+ /** Unauthorized */
442
+ 401: unknown;
443
+ /** Not found */
444
+ 404: unknown;
445
+ /** Server error */
446
+ 500: unknown;
447
+ };
448
+ };
449
+ getEvents: {
450
+ parameters: {
451
+ query: {
452
+ /** Get responses by page */
453
+ page?: string;
454
+ /** Get responses by pagesize */
455
+ pagesize?: string;
456
+ /** Get responses that match search param value */
457
+ search?: string;
458
+ /** Get ordered responses */
459
+ order?: string;
460
+ /** Get filtered reponses */
461
+ filter?: string;
462
+ };
463
+ };
464
+ responses: {
465
+ /** Events page */
466
+ 200: {
467
+ content: {
468
+ "application/json": {
540
469
  page?: number;
541
470
  page_size?: number;
542
471
  total_count?: number;
543
472
  data?: {
544
- [key: string]: unknown;
473
+ /** Format: uuid */
474
+ user_id?: string;
475
+ /** Format: uuid */
476
+ system_id?: string;
477
+ category?: string;
478
+ action?: string;
479
+ description?: string;
480
+ firstName?: string;
481
+ lastName?: string;
482
+ /**
483
+ * Format: email
484
+ * @description email
485
+ */
486
+ email?: string;
487
+ /** @description One of (x-oapi-codegen-extra-tags-cloud, github, google) */
488
+ provider?: string;
489
+ /**
490
+ * Format: date-time
491
+ * @description Timestamp when the resource was created.
492
+ */
493
+ created_at?: string;
545
494
  }[];
546
- };
547
- EventType: {
548
- category?: string;
549
- action?: string;
550
- };
551
- ErrorResponse: {
552
- error?: string;
553
- };
554
- };
555
- responses: {
556
- /** @description Invalid request body or request param */
557
- 400: {
558
- headers: {
559
- [name: string]: unknown;
560
- };
561
- content: {
562
- "text/plain": string;
563
- };
564
- };
565
- /** @description Expired JWT token used or insufficient privilege */
566
- 401: {
567
- headers: {
568
- [name: string]: unknown;
569
- };
570
- content: {
571
- "text/plain": string;
572
- };
573
- };
574
- /** @description Result not found */
575
- 404: {
576
- headers: {
577
- [name: string]: unknown;
578
- };
579
- content: {
580
- "text/plain": string;
581
- };
582
- };
583
- /** @description Internal server error */
584
- 500: {
585
- headers: {
586
- [name: string]: unknown;
587
- };
588
- content: {
589
- "text/plain": string;
590
- };
591
- };
495
+ };
496
+ };
497
+ };
498
+ /** Unauthorized */
499
+ 401: unknown;
500
+ /** Not found */
501
+ 404: unknown;
502
+ /** Server error */
503
+ 500: unknown;
592
504
  };
505
+ };
506
+ getEventSummaryByUser: {
593
507
  parameters: {
594
- /** @description Workspace ID */
595
- workspaceId: string;
596
- /** @description Get responses by page */
597
- page: string;
598
- /** @description Get responses by pagesize */
599
- pagesize: string;
600
- /** @description Get responses that match search param value */
601
- search: string;
602
- /** @description Get ordered responses */
603
- order: string;
604
- cumulative: boolean;
605
- /** @description Get filtered reponses */
606
- filter: string;
607
- /** @description Get filtered reponses */
608
- eventsFilter: string;
508
+ query: {
509
+ /** Get responses by page */
510
+ page?: string;
511
+ /** Get responses by pagesize */
512
+ pagesize?: string;
513
+ /** Get responses that match search param value */
514
+ search?: string;
515
+ /** Get ordered responses */
516
+ order?: string;
517
+ /** Get filtered reponses */
518
+ filter?: string;
519
+ };
609
520
  };
610
- requestBodies: never;
611
- headers: never;
612
- pathItems: never;
613
- }
614
- export type $defs = Record<string, never>;
615
- export interface operations {
616
- getEventsOfWorkspace: {
617
- parameters: {
618
- query?: {
619
- /** @description Get responses by page */
620
- page?: string;
621
- /** @description Get responses by pagesize */
622
- pagesize?: string;
623
- /** @description Get responses that match search param value */
624
- search?: string;
625
- /** @description Get ordered responses */
626
- order?: string;
627
- };
628
- header?: never;
629
- path: {
630
- /** @description Workspace ID */
631
- workspaceId: string;
632
- };
633
- cookie?: never;
634
- };
635
- requestBody?: never;
636
- responses: {
637
- /** @description Workspace events */
638
- 200: {
639
- headers: {
640
- [name: string]: unknown;
641
- };
642
- content: {
643
- "application/json": {
644
- page?: number;
645
- page_size?: number;
646
- total_count?: number;
647
- data?: {
648
- /** Format: uuid */
649
- user_id?: string;
650
- /** Format: uuid */
651
- system_id?: string;
652
- category?: string;
653
- action?: string;
654
- description?: string;
655
- firstName?: string;
656
- lastName?: string;
657
- /**
658
- * Format: email
659
- * @description email
660
- */
661
- email?: string;
662
- /** @description One of (x-oapi-codegen-extra-tags-cloud, github, google) */
663
- provider?: string;
664
- /**
665
- * Format: date-time
666
- * @description Timestamp when the resource was created.
667
- */
668
- created_at?: string;
669
- }[];
670
- };
671
- };
672
- };
673
- /** @description Invalid request */
674
- 400: {
675
- headers: {
676
- [name: string]: unknown;
677
- };
678
- content: {
679
- "application/json": {
680
- error?: string;
681
- };
682
- };
683
- };
684
- /** @description Unauthorized */
685
- 401: {
686
- headers: {
687
- [name: string]: unknown;
688
- };
689
- content?: never;
690
- };
691
- /** @description Workspace not found */
692
- 404: {
693
- headers: {
694
- [name: string]: unknown;
695
- };
696
- content?: never;
697
- };
698
- /** @description Server error */
699
- 500: {
700
- headers: {
701
- [name: string]: unknown;
702
- };
703
- content?: never;
704
- };
705
- };
706
- };
707
- getEventsAggregate: {
708
- parameters: {
709
- query?: {
710
- cumulative?: boolean;
711
- };
712
- header?: never;
713
- path?: never;
714
- cookie?: never;
715
- };
716
- requestBody?: never;
717
- responses: {
718
- /** @description Events aggregate */
719
- 200: {
720
- headers: {
721
- [name: string]: unknown;
722
- };
723
- content: {
724
- "application/json": {
725
- audit?: number;
726
- } & {
727
- [key: string]: unknown;
728
- };
729
- };
730
- };
731
- /** @description Unauthorized */
732
- 401: {
733
- headers: {
734
- [name: string]: unknown;
735
- };
736
- content?: never;
737
- };
738
- /** @description Not found */
739
- 404: {
740
- headers: {
741
- [name: string]: unknown;
742
- };
743
- content?: never;
744
- };
745
- /** @description Server error */
746
- 500: {
747
- headers: {
748
- [name: string]: unknown;
749
- };
750
- content?: never;
751
- };
752
- };
753
- };
754
- getEvents: {
755
- parameters: {
756
- query?: {
757
- /** @description Get responses by page */
758
- page?: string;
759
- /** @description Get responses by pagesize */
760
- pagesize?: string;
761
- /** @description Get responses that match search param value */
762
- search?: string;
763
- /** @description Get ordered responses */
764
- order?: string;
765
- /** @description Get filtered reponses */
766
- filter?: string;
767
- };
768
- header?: never;
769
- path?: never;
770
- cookie?: never;
771
- };
772
- requestBody?: never;
773
- responses: {
774
- /** @description Events page */
775
- 200: {
776
- headers: {
777
- [name: string]: unknown;
778
- };
779
- content: {
780
- "application/json": {
781
- page?: number;
782
- page_size?: number;
783
- total_count?: number;
784
- data?: {
785
- /** Format: uuid */
786
- user_id?: string;
787
- /** Format: uuid */
788
- system_id?: string;
789
- category?: string;
790
- action?: string;
791
- description?: string;
792
- firstName?: string;
793
- lastName?: string;
794
- /**
795
- * Format: email
796
- * @description email
797
- */
798
- email?: string;
799
- /** @description One of (x-oapi-codegen-extra-tags-cloud, github, google) */
800
- provider?: string;
801
- /**
802
- * Format: date-time
803
- * @description Timestamp when the resource was created.
804
- */
805
- created_at?: string;
806
- }[];
807
- };
808
- };
809
- };
810
- /** @description Unauthorized */
811
- 401: {
812
- headers: {
813
- [name: string]: unknown;
814
- };
815
- content?: never;
816
- };
817
- /** @description Not found */
818
- 404: {
819
- headers: {
820
- [name: string]: unknown;
821
- };
822
- content?: never;
823
- };
824
- /** @description Server error */
825
- 500: {
826
- headers: {
827
- [name: string]: unknown;
828
- };
829
- content?: never;
830
- };
831
- };
521
+ responses: {
522
+ /** Event summary page */
523
+ 200: {
524
+ content: {
525
+ "application/json": {
526
+ page?: number;
527
+ page_size?: number;
528
+ total_count?: number;
529
+ data?: { [key: string]: unknown }[];
530
+ };
531
+ };
532
+ };
533
+ /** Unauthorized */
534
+ 401: unknown;
535
+ /** Not found */
536
+ 404: unknown;
537
+ /** Server error */
538
+ 500: unknown;
832
539
  };
833
- getEventSummaryByUser: {
834
- parameters: {
835
- query?: {
836
- /** @description Get responses by page */
837
- page?: string;
838
- /** @description Get responses by pagesize */
839
- pagesize?: string;
840
- /** @description Get responses that match search param value */
841
- search?: string;
842
- /** @description Get ordered responses */
843
- order?: string;
844
- /** @description Get filtered reponses */
845
- filter?: string;
846
- };
847
- header?: never;
848
- path?: never;
849
- cookie?: never;
850
- };
851
- requestBody?: never;
852
- responses: {
853
- /** @description Event summary page */
854
- 200: {
855
- headers: {
856
- [name: string]: unknown;
857
- };
858
- content: {
859
- "application/json": {
860
- page?: number;
861
- page_size?: number;
862
- total_count?: number;
863
- data?: {
864
- [key: string]: unknown;
865
- }[];
866
- };
867
- };
868
- };
869
- /** @description Unauthorized */
870
- 401: {
871
- headers: {
872
- [name: string]: unknown;
873
- };
874
- content?: never;
875
- };
876
- /** @description Not found */
877
- 404: {
878
- headers: {
879
- [name: string]: unknown;
880
- };
881
- content?: never;
882
- };
883
- /** @description Server error */
884
- 500: {
885
- headers: {
886
- [name: string]: unknown;
887
- };
888
- content?: never;
889
- };
890
- };
540
+ };
541
+ getEventTypes: {
542
+ parameters: {
543
+ query: {
544
+ /** Get responses by page */
545
+ page?: string;
546
+ /** Get responses by pagesize */
547
+ pagesize?: string;
548
+ };
891
549
  };
892
- getEventTypes: {
893
- parameters: {
894
- query?: {
895
- /** @description Get responses by page */
896
- page?: string;
897
- /** @description Get responses by pagesize */
898
- pagesize?: string;
899
- };
900
- header?: never;
901
- path?: never;
902
- cookie?: never;
903
- };
904
- requestBody?: never;
905
- responses: {
906
- /** @description Event types */
907
- 200: {
908
- headers: {
909
- [name: string]: unknown;
910
- };
911
- content: {
912
- "application/json": {
913
- category?: string;
914
- action?: string;
915
- }[];
916
- };
917
- };
918
- /** @description Unauthorized */
919
- 401: {
920
- headers: {
921
- [name: string]: unknown;
922
- };
923
- content?: never;
924
- };
925
- /** @description Not found */
926
- 404: {
927
- headers: {
928
- [name: string]: unknown;
929
- };
930
- content?: never;
931
- };
932
- /** @description Server error */
933
- 500: {
934
- headers: {
935
- [name: string]: unknown;
936
- };
937
- content?: never;
938
- };
939
- };
550
+ responses: {
551
+ /** Event types */
552
+ 200: {
553
+ content: {
554
+ "application/json": {
555
+ category?: string;
556
+ action?: string;
557
+ }[];
558
+ };
559
+ };
560
+ /** Unauthorized */
561
+ 401: unknown;
562
+ /** Not found */
563
+ 404: unknown;
564
+ /** Server error */
565
+ 500: unknown;
940
566
  };
567
+ };
941
568
  }
569
+
570
+ export interface external {}