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