@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,340 +4,960 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/identity/orgs": {
8
- parameters: {
9
- query?: never;
10
- header?: never;
11
- path?: never;
12
- cookie?: never;
13
- };
14
- /**
15
- * Read organizations
16
- * @description Returns organizations for the current user.
17
- */
18
- get: operations["getOrgs"];
19
- put?: never;
20
- /**
21
- * Create an organization
22
- * @description Creates a new organization.
23
- */
24
- post: operations["createOrg"];
25
- delete?: never;
26
- options?: never;
27
- head?: never;
28
- patch?: never;
29
- trace?: never;
7
+ "/api/identity/orgs": {
8
+ /** Returns organizations for the current user. */
9
+ get: operations["getOrgs"];
10
+ /** Creates a new organization. */
11
+ post: operations["createOrg"];
12
+ };
13
+ "/api/identity/orgs/by-domain": {
14
+ get: operations["getOrgByDomain"];
15
+ };
16
+ "/api/identity/orgs/{orgId}": {
17
+ /** Returns the organization in the single-item page wrapper currently emitted by meshery-cloud. */
18
+ get: operations["getOrg"];
19
+ /** Updates the organization. */
20
+ put: operations["handleUpdateOrg"];
21
+ /** Deletes the organization. */
22
+ delete: operations["deleteOrg"];
23
+ };
24
+ "/api/identity/orgs/{orgId}/preferences": {
25
+ /** Returns preferences for the specified organization. */
26
+ get: operations["getOrgPreferences"];
27
+ };
28
+ "/api/identity/orgs/{orgId}/teams/{teamId}": {
29
+ /** Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact. */
30
+ post: operations["addTeamToOrg"];
31
+ };
32
+ "/api/identity/orgs/{orgId}/teams/{teamId}/remove": {
33
+ /** Removes (unassigns) a team from an organization. */
34
+ post: operations["removeTeamFromOrg"];
35
+ };
36
+ "/api/identity/orgs/{orgId}/users/{userId}": {
37
+ post: operations["addUserToOrg"];
38
+ delete: operations["deleteUserFromOrg"];
39
+ };
40
+ }
41
+
42
+ export interface components {
43
+ schemas: {
44
+ /**
45
+ * Format: uuid
46
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
47
+ */
48
+ UUID: string;
49
+ /** Format: date-time */
50
+ NullableTime: string;
51
+ /** Format: date-time */
52
+ Time: string;
53
+ Text: string;
54
+ MapObject: { [key: string]: string };
55
+ /** @description Optional action payload for POST on /api/identity/orgs/{orgId}/teams/{teamId}. */
56
+ OrgTeamActionPayload: {
57
+ /**
58
+ * @description Internal action to perform on the team resource.
59
+ * @enum {string}
60
+ */
61
+ action?: "delete";
30
62
  };
31
- "/api/identity/orgs/by-domain": {
32
- parameters: {
33
- query?: never;
34
- header?: never;
35
- path?: never;
36
- cookie?: never;
37
- };
38
- /** Get organization by domain */
39
- get: operations["getOrgByDomain"];
40
- put?: never;
41
- post?: never;
42
- delete?: never;
43
- options?: never;
44
- head?: never;
45
- patch?: never;
46
- trace?: never;
63
+ Location: {
64
+ /** @description The svg of the location. */
65
+ svg: string;
66
+ /** @description The location of the location. */
67
+ location: string;
47
68
  };
48
- "/api/identity/orgs/{orgId}": {
49
- parameters: {
50
- query?: never;
51
- header?: never;
52
- path?: never;
53
- cookie?: never;
54
- };
55
- /**
56
- * Read an organization
57
- * @description Returns the organization in the single-item page wrapper currently emitted by meshery-cloud.
58
- */
59
- get: operations["getOrg"];
60
- /**
61
- * Update an organization
62
- * @description Updates the organization.
63
- */
64
- put: operations["handleUpdateOrg"];
65
- post?: never;
66
- /**
67
- * Delete an organization
68
- * @description Deletes the organization.
69
- */
70
- delete: operations["deleteOrg"];
71
- options?: never;
72
- head?: never;
73
- patch?: never;
74
- trace?: never;
69
+ Logo: {
70
+ desktopView: {
71
+ /** @description The svg of the location. */
72
+ svg: string;
73
+ /** @description The location of the location. */
74
+ location: string;
75
+ };
76
+ mobileView: {
77
+ /** @description The svg of the location. */
78
+ svg: string;
79
+ /** @description The location of the location. */
80
+ location: string;
81
+ };
82
+ darkDesktopView: {
83
+ /** @description The svg of the location. */
84
+ svg: string;
85
+ /** @description The location of the location. */
86
+ location: string;
87
+ };
88
+ darkMobileView: {
89
+ /** @description The svg of the location. */
90
+ svg: string;
91
+ /** @description The location of the location. */
92
+ location: string;
93
+ };
75
94
  };
76
- "/api/identity/orgs/{orgId}/preferences": {
77
- parameters: {
78
- query?: never;
79
- header?: never;
80
- path?: never;
81
- cookie?: never;
95
+ Theme: {
96
+ /**
97
+ * Format: uuid
98
+ * @description Theme ID.
99
+ */
100
+ id: string;
101
+ logo: {
102
+ desktopView: {
103
+ /** @description The svg of the location. */
104
+ svg: string;
105
+ /** @description The location of the location. */
106
+ location: string;
82
107
  };
83
- /**
84
- * Get organization preferences
85
- * @description Returns preferences for the specified organization.
86
- */
87
- get: operations["getOrgPreferences"];
88
- put?: never;
89
- post?: never;
90
- delete?: never;
91
- options?: never;
92
- head?: never;
93
- patch?: never;
94
- trace?: never;
95
- };
96
- "/api/identity/orgs/{orgId}/teams/{teamId}": {
97
- parameters: {
98
- query?: never;
99
- header?: never;
100
- path?: never;
101
- cookie?: never;
108
+ mobileView: {
109
+ /** @description The svg of the location. */
110
+ svg: string;
111
+ /** @description The location of the location. */
112
+ location: string;
102
113
  };
103
- get?: never;
104
- put?: never;
105
- /**
106
- * Add team to organization or soft delete team
107
- * @description Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact.
108
- */
109
- post: operations["addTeamToOrg"];
110
- delete?: never;
111
- options?: never;
112
- head?: never;
113
- patch?: never;
114
- trace?: never;
115
- };
116
- "/api/identity/orgs/{orgId}/teams/{teamId}/remove": {
117
- parameters: {
118
- query?: never;
119
- header?: never;
120
- path?: never;
121
- cookie?: never;
114
+ darkDesktopView: {
115
+ /** @description The svg of the location. */
116
+ svg: string;
117
+ /** @description The location of the location. */
118
+ location: string;
122
119
  };
123
- get?: never;
124
- put?: never;
125
- /**
126
- * Remove team from organization
127
- * @description Removes (unassigns) a team from an organization.
128
- */
129
- post: operations["removeTeamFromOrg"];
130
- delete?: never;
131
- options?: never;
132
- head?: never;
133
- patch?: never;
134
- trace?: never;
135
- };
136
- "/api/identity/orgs/{orgId}/users/{userId}": {
137
- parameters: {
138
- query?: never;
139
- header?: never;
140
- path?: never;
141
- cookie?: never;
120
+ darkMobileView: {
121
+ /** @description The svg of the location. */
122
+ svg: string;
123
+ /** @description The location of the location. */
124
+ location: string;
142
125
  };
143
- get?: never;
144
- put?: never;
145
- /** Add user to organization */
146
- post: operations["addUserToOrg"];
147
- /** Remove user from organization */
148
- delete: operations["deleteUserFromOrg"];
149
- options?: never;
150
- head?: never;
151
- patch?: never;
152
- trace?: never;
126
+ };
127
+ /** @description The vars of the theme. */
128
+ vars?: { [key: string]: unknown };
153
129
  };
154
- }
155
- export type webhooks = Record<string, never>;
156
- export interface components {
157
- schemas: {
130
+ /** @description Preferences specific to dashboard behavior */
131
+ DashboardPrefs: { [key: string]: unknown };
132
+ Preferences: {
133
+ theme: {
158
134
  /**
159
135
  * Format: uuid
160
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
136
+ * @description Theme ID.
161
137
  */
162
- UUID: string;
163
- /** Format: date-time */
164
- NullableTime: string;
165
- /** Format: date-time */
166
- Time: string;
167
- Text: string;
168
- MapObject: {
169
- [key: string]: string;
170
- };
171
- /** @description Optional action payload for POST on /api/identity/orgs/{orgId}/teams/{teamId}. */
172
- OrgTeamActionPayload: {
173
- /**
174
- * @description Internal action to perform on the team resource.
175
- * @enum {string}
176
- */
177
- action?: "delete";
178
- };
179
- Location: {
138
+ id: string;
139
+ logo: {
140
+ desktopView: {
141
+ /** @description The svg of the location. */
142
+ svg: string;
143
+ /** @description The location of the location. */
144
+ location: string;
145
+ };
146
+ mobileView: {
147
+ /** @description The svg of the location. */
148
+ svg: string;
149
+ /** @description The location of the location. */
150
+ location: string;
151
+ };
152
+ darkDesktopView: {
153
+ /** @description The svg of the location. */
154
+ svg: string;
155
+ /** @description The location of the location. */
156
+ location: string;
157
+ };
158
+ darkMobileView: {
180
159
  /** @description The svg of the location. */
181
160
  svg: string;
182
161
  /** @description The location of the location. */
183
162
  location: string;
163
+ };
184
164
  };
185
- Logo: {
165
+ /** @description The vars of the theme. */
166
+ vars?: { [key: string]: unknown };
167
+ };
168
+ /** @description Preferences specific to dashboard behavior */
169
+ dashboard: { [key: string]: unknown };
170
+ };
171
+ OrgMetadata: {
172
+ preferences: {
173
+ theme: {
174
+ /**
175
+ * Format: uuid
176
+ * @description Theme ID.
177
+ */
178
+ id: string;
179
+ logo: {
186
180
  desktopView: {
181
+ /** @description The svg of the location. */
182
+ svg: string;
183
+ /** @description The location of the location. */
184
+ location: string;
185
+ };
186
+ mobileView: {
187
+ /** @description The svg of the location. */
188
+ svg: string;
189
+ /** @description The location of the location. */
190
+ location: string;
191
+ };
192
+ darkDesktopView: {
193
+ /** @description The svg of the location. */
194
+ svg: string;
195
+ /** @description The location of the location. */
196
+ location: string;
197
+ };
198
+ darkMobileView: {
199
+ /** @description The svg of the location. */
200
+ svg: string;
201
+ /** @description The location of the location. */
202
+ location: string;
203
+ };
204
+ };
205
+ /** @description The vars of the theme. */
206
+ vars?: { [key: string]: unknown };
207
+ };
208
+ /** @description Preferences specific to dashboard behavior */
209
+ dashboard: { [key: string]: unknown };
210
+ };
211
+ };
212
+ Organization: {
213
+ /**
214
+ * Format: uuid
215
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
216
+ */
217
+ id: string;
218
+ /** @description Name of the organization. */
219
+ name: string;
220
+ /** @description The country of the organization. */
221
+ country: string;
222
+ /** @description The region of the organization. */
223
+ region: string;
224
+ /** @description Description of the organization. */
225
+ description: string;
226
+ /**
227
+ * Format: uuid
228
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
229
+ */
230
+ owner: string;
231
+ metadata: {
232
+ preferences: {
233
+ theme: {
234
+ /**
235
+ * Format: uuid
236
+ * @description Theme ID.
237
+ */
238
+ id: string;
239
+ logo: {
240
+ desktopView: {
187
241
  /** @description The svg of the location. */
188
242
  svg: string;
189
243
  /** @description The location of the location. */
190
244
  location: string;
191
- };
192
- mobileView: {
245
+ };
246
+ mobileView: {
193
247
  /** @description The svg of the location. */
194
248
  svg: string;
195
249
  /** @description The location of the location. */
196
250
  location: string;
197
- };
198
- darkDesktopView: {
251
+ };
252
+ darkDesktopView: {
199
253
  /** @description The svg of the location. */
200
254
  svg: string;
201
255
  /** @description The location of the location. */
202
256
  location: string;
203
- };
204
- darkMobileView: {
257
+ };
258
+ darkMobileView: {
205
259
  /** @description The svg of the location. */
206
260
  svg: string;
207
261
  /** @description The location of the location. */
208
262
  location: string;
263
+ };
209
264
  };
265
+ /** @description The vars of the theme. */
266
+ vars?: { [key: string]: unknown };
267
+ };
268
+ /** @description Preferences specific to dashboard behavior */
269
+ dashboard: { [key: string]: unknown };
210
270
  };
211
- Theme: {
271
+ };
272
+ /** Format: date-time */
273
+ created_at: string;
274
+ /** Format: date-time */
275
+ updated_at: string;
276
+ /** Format: date-time */
277
+ deleted_at?: string;
278
+ /** @description The domain of the organization. */
279
+ domain?: string | null;
280
+ };
281
+ AvailableOrganization: {
282
+ /**
283
+ * Format: uuid
284
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
285
+ */
286
+ id?: string;
287
+ name?: string;
288
+ description?: string;
289
+ country?: string;
290
+ region?: string;
291
+ owner?: string;
292
+ metadata?: {
293
+ preferences: {
294
+ theme: {
212
295
  /**
213
296
  * Format: uuid
214
297
  * @description Theme ID.
215
298
  */
216
299
  id: string;
217
300
  logo: {
301
+ desktopView: {
302
+ /** @description The svg of the location. */
303
+ svg: string;
304
+ /** @description The location of the location. */
305
+ location: string;
306
+ };
307
+ mobileView: {
308
+ /** @description The svg of the location. */
309
+ svg: string;
310
+ /** @description The location of the location. */
311
+ location: string;
312
+ };
313
+ darkDesktopView: {
314
+ /** @description The svg of the location. */
315
+ svg: string;
316
+ /** @description The location of the location. */
317
+ location: string;
318
+ };
319
+ darkMobileView: {
320
+ /** @description The svg of the location. */
321
+ svg: string;
322
+ /** @description The location of the location. */
323
+ location: string;
324
+ };
325
+ };
326
+ /** @description The vars of the theme. */
327
+ vars?: { [key: string]: unknown };
328
+ };
329
+ /** @description Preferences specific to dashboard behavior */
330
+ dashboard: { [key: string]: unknown };
331
+ };
332
+ };
333
+ /** Format: date-time */
334
+ created_at?: string;
335
+ /** Format: date-time */
336
+ updated_at?: string;
337
+ /** Format: date-time */
338
+ deleted_at?: string;
339
+ };
340
+ OrganizationsPage: {
341
+ /** @description Current page number of the result set. */
342
+ page?: number;
343
+ /** @description Number of items per page. */
344
+ page_size?: number;
345
+ /** @description Total number of items available. */
346
+ total_count?: number;
347
+ /** @description The organizations of the organizationspage. */
348
+ organizations?: {
349
+ /**
350
+ * Format: uuid
351
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
352
+ */
353
+ id?: string;
354
+ name?: string;
355
+ description?: string;
356
+ country?: string;
357
+ region?: string;
358
+ owner?: string;
359
+ metadata?: {
360
+ preferences: {
361
+ theme: {
362
+ /**
363
+ * Format: uuid
364
+ * @description Theme ID.
365
+ */
366
+ id: string;
367
+ logo: {
218
368
  desktopView: {
219
- /** @description The svg of the location. */
220
- svg: string;
221
- /** @description The location of the location. */
222
- location: string;
369
+ /** @description The svg of the location. */
370
+ svg: string;
371
+ /** @description The location of the location. */
372
+ location: string;
223
373
  };
224
374
  mobileView: {
225
- /** @description The svg of the location. */
226
- svg: string;
227
- /** @description The location of the location. */
228
- location: string;
375
+ /** @description The svg of the location. */
376
+ svg: string;
377
+ /** @description The location of the location. */
378
+ location: string;
229
379
  };
230
380
  darkDesktopView: {
231
- /** @description The svg of the location. */
232
- svg: string;
233
- /** @description The location of the location. */
234
- location: string;
381
+ /** @description The svg of the location. */
382
+ svg: string;
383
+ /** @description The location of the location. */
384
+ location: string;
235
385
  };
236
386
  darkMobileView: {
237
- /** @description The svg of the location. */
238
- svg: string;
239
- /** @description The location of the location. */
240
- location: string;
387
+ /** @description The svg of the location. */
388
+ svg: string;
389
+ /** @description The location of the location. */
390
+ location: string;
241
391
  };
392
+ };
393
+ /** @description The vars of the theme. */
394
+ vars?: { [key: string]: unknown };
242
395
  };
243
- /** @description The vars of the theme. */
244
- vars?: {
245
- [key: string]: unknown;
396
+ /** @description Preferences specific to dashboard behavior */
397
+ dashboard: { [key: string]: unknown };
398
+ };
399
+ };
400
+ /** Format: date-time */
401
+ created_at?: string;
402
+ /** Format: date-time */
403
+ updated_at?: string;
404
+ /** Format: date-time */
405
+ deleted_at?: string;
406
+ }[];
407
+ };
408
+ /** @description Single-organization wrapper used by current meshery-cloud organization handlers. */
409
+ OrganizationPage: {
410
+ /** @description Current page number of the result set. */
411
+ page?: number;
412
+ /** @description Number of items per page. */
413
+ page_size?: number;
414
+ /** @description Total number of items available. */
415
+ total_count?: number;
416
+ /** @description The organizations of the organizationpage. */
417
+ organizations?: {
418
+ /**
419
+ * Format: uuid
420
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
421
+ */
422
+ id?: string;
423
+ name?: string;
424
+ description?: string;
425
+ country?: string;
426
+ region?: string;
427
+ owner?: string;
428
+ metadata?: {
429
+ preferences: {
430
+ theme: {
431
+ /**
432
+ * Format: uuid
433
+ * @description Theme ID.
434
+ */
435
+ id: string;
436
+ logo: {
437
+ desktopView: {
438
+ /** @description The svg of the location. */
439
+ svg: string;
440
+ /** @description The location of the location. */
441
+ location: string;
442
+ };
443
+ mobileView: {
444
+ /** @description The svg of the location. */
445
+ svg: string;
446
+ /** @description The location of the location. */
447
+ location: string;
448
+ };
449
+ darkDesktopView: {
450
+ /** @description The svg of the location. */
451
+ svg: string;
452
+ /** @description The location of the location. */
453
+ location: string;
454
+ };
455
+ darkMobileView: {
456
+ /** @description The svg of the location. */
457
+ svg: string;
458
+ /** @description The location of the location. */
459
+ location: string;
460
+ };
461
+ };
462
+ /** @description The vars of the theme. */
463
+ vars?: { [key: string]: unknown };
246
464
  };
465
+ /** @description Preferences specific to dashboard behavior */
466
+ dashboard: { [key: string]: unknown };
467
+ };
247
468
  };
248
- /** @description Preferences specific to dashboard behavior */
249
- DashboardPrefs: {
250
- [key: string]: unknown;
469
+ /** Format: date-time */
470
+ created_at?: string;
471
+ /** Format: date-time */
472
+ updated_at?: string;
473
+ /** Format: date-time */
474
+ deleted_at?: string;
475
+ }[];
476
+ };
477
+ OrganizationPayload: {
478
+ name?: string;
479
+ country?: string;
480
+ region?: string;
481
+ description?: string;
482
+ /** @description The notify org update of the organization. */
483
+ notifyOrgUpdate?: boolean;
484
+ preferences?: {
485
+ theme: {
486
+ /**
487
+ * Format: uuid
488
+ * @description Theme ID.
489
+ */
490
+ id: string;
491
+ logo: {
492
+ desktopView: {
493
+ /** @description The svg of the location. */
494
+ svg: string;
495
+ /** @description The location of the location. */
496
+ location: string;
497
+ };
498
+ mobileView: {
499
+ /** @description The svg of the location. */
500
+ svg: string;
501
+ /** @description The location of the location. */
502
+ location: string;
503
+ };
504
+ darkDesktopView: {
505
+ /** @description The svg of the location. */
506
+ svg: string;
507
+ /** @description The location of the location. */
508
+ location: string;
509
+ };
510
+ darkMobileView: {
511
+ /** @description The svg of the location. */
512
+ svg: string;
513
+ /** @description The location of the location. */
514
+ location: string;
515
+ };
516
+ };
517
+ /** @description The vars of the theme. */
518
+ vars?: { [key: string]: unknown };
251
519
  };
252
- Preferences: {
520
+ /** @description Preferences specific to dashboard behavior */
521
+ dashboard: { [key: string]: unknown };
522
+ };
523
+ };
524
+ AvailableTeam: {
525
+ /** Format: uuid */
526
+ id?: string;
527
+ name?: string;
528
+ description?: string;
529
+ owner?: string;
530
+ metadata?: { [key: string]: string };
531
+ /** Format: date-time */
532
+ created_at?: string;
533
+ /** Format: date-time */
534
+ updated_at?: string;
535
+ /** Format: date-time */
536
+ deleted_at?: string;
537
+ };
538
+ TeamsPage: {
539
+ /** @description Current page number of the result set. */
540
+ page?: number;
541
+ /** @description Number of items per page. */
542
+ page_size?: number;
543
+ /** @description Total number of items available. */
544
+ total_count?: number;
545
+ /** @description The teams of the teamspage. */
546
+ teams?: {
547
+ /** Format: uuid */
548
+ id?: string;
549
+ name?: string;
550
+ description?: string;
551
+ owner?: string;
552
+ metadata?: { [key: string]: string };
553
+ /** Format: date-time */
554
+ created_at?: string;
555
+ /** Format: date-time */
556
+ updated_at?: string;
557
+ /** Format: date-time */
558
+ deleted_at?: string;
559
+ }[];
560
+ };
561
+ TeamsOrganizationsMapping: {
562
+ /** Format: uuid */
563
+ id?: string;
564
+ /** Format: uuid */
565
+ orgId?: string;
566
+ /** Format: uuid */
567
+ team_id?: string;
568
+ /** Format: date-time */
569
+ created_at?: string;
570
+ /** Format: date-time */
571
+ updated_at?: string;
572
+ /** Format: date-time */
573
+ deleted_at?: string;
574
+ };
575
+ TeamsOrganizationsMappingPage: {
576
+ /** @description Current page number of the result set. */
577
+ page?: number;
578
+ /** @description Number of items per page. */
579
+ page_size?: number;
580
+ /** @description Total number of items available. */
581
+ total_count?: number;
582
+ /** @description The teams organizations mapping of the teamsorganizationsmappingpage. */
583
+ teamsOrganizationsMapping?: {
584
+ /** Format: uuid */
585
+ id?: string;
586
+ /** Format: uuid */
587
+ orgId?: string;
588
+ /** Format: uuid */
589
+ team_id?: string;
590
+ /** Format: date-time */
591
+ created_at?: string;
592
+ /** Format: date-time */
593
+ updated_at?: string;
594
+ /** Format: date-time */
595
+ deleted_at?: string;
596
+ }[];
597
+ };
598
+ };
599
+ responses: {
600
+ /** Invalid request body or request param */
601
+ 400: {
602
+ content: {
603
+ "text/plain": string;
604
+ };
605
+ };
606
+ /** Expired JWT token used or insufficient privilege */
607
+ 401: {
608
+ content: {
609
+ "text/plain": string;
610
+ };
611
+ };
612
+ /** Result not found */
613
+ 404: {
614
+ content: {
615
+ "text/plain": string;
616
+ };
617
+ };
618
+ /** Internal server error */
619
+ 500: {
620
+ content: {
621
+ "text/plain": string;
622
+ };
623
+ };
624
+ };
625
+ parameters: {
626
+ orgId: string;
627
+ /** @description Get responses by page */
628
+ page: string;
629
+ /** @description Get responses by pagesize */
630
+ pagesize: string;
631
+ /** @description Get responses that match search param value */
632
+ search: string;
633
+ /** @description Get ordered responses */
634
+ order: string;
635
+ /** @description Get all possible entries */
636
+ all: boolean;
637
+ teamId: string;
638
+ };
639
+ requestBodies: {
640
+ /** Body for creating or updating an organization */
641
+ organizationPayload: {
642
+ content: {
643
+ "application/json": {
644
+ name?: string;
645
+ country?: string;
646
+ region?: string;
647
+ description?: string;
648
+ /** @description The notify org update of the organization. */
649
+ notifyOrgUpdate?: boolean;
650
+ preferences?: {
253
651
  theme: {
254
- /**
255
- * Format: uuid
256
- * @description Theme ID.
257
- */
258
- id: string;
259
- logo: {
260
- desktopView: {
652
+ /**
653
+ * Format: uuid
654
+ * @description Theme ID.
655
+ */
656
+ id: string;
657
+ logo: {
658
+ desktopView: {
659
+ /** @description The svg of the location. */
660
+ svg: string;
661
+ /** @description The location of the location. */
662
+ location: string;
663
+ };
664
+ mobileView: {
665
+ /** @description The svg of the location. */
666
+ svg: string;
667
+ /** @description The location of the location. */
668
+ location: string;
669
+ };
670
+ darkDesktopView: {
671
+ /** @description The svg of the location. */
672
+ svg: string;
673
+ /** @description The location of the location. */
674
+ location: string;
675
+ };
676
+ darkMobileView: {
677
+ /** @description The svg of the location. */
678
+ svg: string;
679
+ /** @description The location of the location. */
680
+ location: string;
681
+ };
682
+ };
683
+ /** @description The vars of the theme. */
684
+ vars?: { [key: string]: unknown };
685
+ };
686
+ /** @description Preferences specific to dashboard behavior */
687
+ dashboard: { [key: string]: unknown };
688
+ };
689
+ };
690
+ };
691
+ };
692
+ };
693
+ }
694
+
695
+ export interface operations {
696
+ /** Returns organizations for the current user. */
697
+ getOrgs: {
698
+ parameters: {
699
+ query: {
700
+ /** Get responses by page */
701
+ page?: string;
702
+ /** Get responses by pagesize */
703
+ pagesize?: string;
704
+ /** Get responses that match search param value */
705
+ search?: string;
706
+ /** Get ordered responses */
707
+ order?: string;
708
+ /** Get all possible entries */
709
+ all?: boolean;
710
+ };
711
+ };
712
+ responses: {
713
+ /** Organizations response */
714
+ 200: {
715
+ content: {
716
+ "application/json": {
717
+ /** @description Current page number of the result set. */
718
+ page?: number;
719
+ /** @description Number of items per page. */
720
+ page_size?: number;
721
+ /** @description Total number of items available. */
722
+ total_count?: number;
723
+ /** @description The organizations of the organizationspage. */
724
+ organizations?: {
725
+ /**
726
+ * Format: uuid
727
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
728
+ */
729
+ id?: string;
730
+ name?: string;
731
+ description?: string;
732
+ country?: string;
733
+ region?: string;
734
+ owner?: string;
735
+ metadata?: {
736
+ preferences: {
737
+ theme: {
738
+ /**
739
+ * Format: uuid
740
+ * @description Theme ID.
741
+ */
742
+ id: string;
743
+ logo: {
744
+ desktopView: {
261
745
  /** @description The svg of the location. */
262
746
  svg: string;
263
747
  /** @description The location of the location. */
264
748
  location: string;
265
- };
266
- mobileView: {
749
+ };
750
+ mobileView: {
267
751
  /** @description The svg of the location. */
268
752
  svg: string;
269
753
  /** @description The location of the location. */
270
754
  location: string;
271
- };
272
- darkDesktopView: {
755
+ };
756
+ darkDesktopView: {
273
757
  /** @description The svg of the location. */
274
758
  svg: string;
275
759
  /** @description The location of the location. */
276
760
  location: string;
277
- };
278
- darkMobileView: {
761
+ };
762
+ darkMobileView: {
279
763
  /** @description The svg of the location. */
280
764
  svg: string;
281
765
  /** @description The location of the location. */
282
766
  location: string;
767
+ };
283
768
  };
284
- };
285
- /** @description The vars of the theme. */
286
- vars?: {
287
- [key: string]: unknown;
288
- };
289
- };
290
- /** @description Preferences specific to dashboard behavior */
291
- dashboard: {
292
- [key: string]: unknown;
293
- };
769
+ /** @description The vars of the theme. */
770
+ vars?: { [key: string]: unknown };
771
+ };
772
+ /** @description Preferences specific to dashboard behavior */
773
+ dashboard: { [key: string]: unknown };
774
+ };
775
+ };
776
+ /** Format: date-time */
777
+ created_at?: string;
778
+ /** Format: date-time */
779
+ updated_at?: string;
780
+ /** Format: date-time */
781
+ deleted_at?: string;
782
+ }[];
783
+ };
294
784
  };
295
- OrgMetadata: {
296
- preferences: {
297
- theme: {
785
+ };
786
+ /** No content */
787
+ 204: never;
788
+ /** Expired JWT token used or insufficient privilege */
789
+ 401: {
790
+ content: {
791
+ "text/plain": string;
792
+ };
793
+ };
794
+ /** Internal server error */
795
+ 500: {
796
+ content: {
797
+ "text/plain": string;
798
+ };
799
+ };
800
+ };
801
+ };
802
+ /** Creates a new organization. */
803
+ createOrg: {
804
+ responses: {
805
+ /** Single-organization page response */
806
+ 201: {
807
+ content: {
808
+ "application/json": {
809
+ /** @description Current page number of the result set. */
810
+ page?: number;
811
+ /** @description Number of items per page. */
812
+ page_size?: number;
813
+ /** @description Total number of items available. */
814
+ total_count?: number;
815
+ /** @description The organizations of the organizationpage. */
816
+ organizations?: {
817
+ /**
818
+ * Format: uuid
819
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
820
+ */
821
+ id?: string;
822
+ name?: string;
823
+ description?: string;
824
+ country?: string;
825
+ region?: string;
826
+ owner?: string;
827
+ metadata?: {
828
+ preferences: {
829
+ theme: {
298
830
  /**
299
831
  * Format: uuid
300
832
  * @description Theme ID.
301
833
  */
302
834
  id: string;
303
835
  logo: {
304
- desktopView: {
305
- /** @description The svg of the location. */
306
- svg: string;
307
- /** @description The location of the location. */
308
- location: string;
309
- };
310
- mobileView: {
311
- /** @description The svg of the location. */
312
- svg: string;
313
- /** @description The location of the location. */
314
- location: string;
315
- };
316
- darkDesktopView: {
317
- /** @description The svg of the location. */
318
- svg: string;
319
- /** @description The location of the location. */
320
- location: string;
321
- };
322
- darkMobileView: {
323
- /** @description The svg of the location. */
324
- svg: string;
325
- /** @description The location of the location. */
326
- location: string;
327
- };
836
+ desktopView: {
837
+ /** @description The svg of the location. */
838
+ svg: string;
839
+ /** @description The location of the location. */
840
+ location: string;
841
+ };
842
+ mobileView: {
843
+ /** @description The svg of the location. */
844
+ svg: string;
845
+ /** @description The location of the location. */
846
+ location: string;
847
+ };
848
+ darkDesktopView: {
849
+ /** @description The svg of the location. */
850
+ svg: string;
851
+ /** @description The location of the location. */
852
+ location: string;
853
+ };
854
+ darkMobileView: {
855
+ /** @description The svg of the location. */
856
+ svg: string;
857
+ /** @description The location of the location. */
858
+ location: string;
859
+ };
328
860
  };
329
861
  /** @description The vars of the theme. */
330
- vars?: {
331
- [key: string]: unknown;
332
- };
862
+ vars?: { [key: string]: unknown };
863
+ };
864
+ /** @description Preferences specific to dashboard behavior */
865
+ dashboard: { [key: string]: unknown };
866
+ };
867
+ };
868
+ /** Format: date-time */
869
+ created_at?: string;
870
+ /** Format: date-time */
871
+ updated_at?: string;
872
+ /** Format: date-time */
873
+ deleted_at?: string;
874
+ }[];
875
+ };
876
+ };
877
+ };
878
+ /** Invalid request body or request param */
879
+ 400: {
880
+ content: {
881
+ "text/plain": string;
882
+ };
883
+ };
884
+ /** Expired JWT token used or insufficient privilege */
885
+ 401: {
886
+ content: {
887
+ "text/plain": string;
888
+ };
889
+ };
890
+ /** Internal server error */
891
+ 500: {
892
+ content: {
893
+ "text/plain": string;
894
+ };
895
+ };
896
+ };
897
+ /** Body for creating or updating an organization */
898
+ requestBody: {
899
+ content: {
900
+ "application/json": {
901
+ name?: string;
902
+ country?: string;
903
+ region?: string;
904
+ description?: string;
905
+ /** @description The notify org update of the organization. */
906
+ notifyOrgUpdate?: boolean;
907
+ preferences?: {
908
+ theme: {
909
+ /**
910
+ * Format: uuid
911
+ * @description Theme ID.
912
+ */
913
+ id: string;
914
+ logo: {
915
+ desktopView: {
916
+ /** @description The svg of the location. */
917
+ svg: string;
918
+ /** @description The location of the location. */
919
+ location: string;
333
920
  };
334
- /** @description Preferences specific to dashboard behavior */
335
- dashboard: {
336
- [key: string]: unknown;
921
+ mobileView: {
922
+ /** @description The svg of the location. */
923
+ svg: string;
924
+ /** @description The location of the location. */
925
+ location: string;
337
926
  };
927
+ darkDesktopView: {
928
+ /** @description The svg of the location. */
929
+ svg: string;
930
+ /** @description The location of the location. */
931
+ location: string;
932
+ };
933
+ darkMobileView: {
934
+ /** @description The svg of the location. */
935
+ svg: string;
936
+ /** @description The location of the location. */
937
+ location: string;
938
+ };
939
+ };
940
+ /** @description The vars of the theme. */
941
+ vars?: { [key: string]: unknown };
338
942
  };
943
+ /** @description Preferences specific to dashboard behavior */
944
+ dashboard: { [key: string]: unknown };
945
+ };
339
946
  };
340
- Organization: {
947
+ };
948
+ };
949
+ };
950
+ getOrgByDomain: {
951
+ parameters: {
952
+ query: {
953
+ domain: string;
954
+ };
955
+ };
956
+ responses: {
957
+ /** Successful response */
958
+ 200: {
959
+ content: {
960
+ "application/json": {
341
961
  /**
342
962
  * Format: uuid
343
963
  * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
@@ -357,49 +977,45 @@ export interface components {
357
977
  */
358
978
  owner: string;
359
979
  metadata: {
360
- preferences: {
361
- theme: {
362
- /**
363
- * Format: uuid
364
- * @description Theme ID.
365
- */
366
- id: string;
367
- logo: {
368
- desktopView: {
369
- /** @description The svg of the location. */
370
- svg: string;
371
- /** @description The location of the location. */
372
- location: string;
373
- };
374
- mobileView: {
375
- /** @description The svg of the location. */
376
- svg: string;
377
- /** @description The location of the location. */
378
- location: string;
379
- };
380
- darkDesktopView: {
381
- /** @description The svg of the location. */
382
- svg: string;
383
- /** @description The location of the location. */
384
- location: string;
385
- };
386
- darkMobileView: {
387
- /** @description The svg of the location. */
388
- svg: string;
389
- /** @description The location of the location. */
390
- location: string;
391
- };
392
- };
393
- /** @description The vars of the theme. */
394
- vars?: {
395
- [key: string]: unknown;
396
- };
980
+ preferences: {
981
+ theme: {
982
+ /**
983
+ * Format: uuid
984
+ * @description Theme ID.
985
+ */
986
+ id: string;
987
+ logo: {
988
+ desktopView: {
989
+ /** @description The svg of the location. */
990
+ svg: string;
991
+ /** @description The location of the location. */
992
+ location: string;
397
993
  };
398
- /** @description Preferences specific to dashboard behavior */
399
- dashboard: {
400
- [key: string]: unknown;
994
+ mobileView: {
995
+ /** @description The svg of the location. */
996
+ svg: string;
997
+ /** @description The location of the location. */
998
+ location: string;
999
+ };
1000
+ darkDesktopView: {
1001
+ /** @description The svg of the location. */
1002
+ svg: string;
1003
+ /** @description The location of the location. */
1004
+ location: string;
401
1005
  };
1006
+ darkMobileView: {
1007
+ /** @description The svg of the location. */
1008
+ svg: string;
1009
+ /** @description The location of the location. */
1010
+ location: string;
1011
+ };
1012
+ };
1013
+ /** @description The vars of the theme. */
1014
+ vars?: { [key: string]: unknown };
402
1015
  };
1016
+ /** @description Preferences specific to dashboard behavior */
1017
+ dashboard: { [key: string]: unknown };
1018
+ };
403
1019
  };
404
1020
  /** Format: date-time */
405
1021
  created_at: string;
@@ -409,144 +1025,33 @@ export interface components {
409
1025
  deleted_at?: string;
410
1026
  /** @description The domain of the organization. */
411
1027
  domain?: string | null;
1028
+ };
412
1029
  };
413
- AvailableOrganization: {
414
- /**
415
- * Format: uuid
416
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
417
- */
418
- id?: string;
419
- name?: string;
420
- description?: string;
421
- country?: string;
422
- region?: string;
423
- owner?: string;
424
- metadata?: {
425
- preferences: {
426
- theme: {
427
- /**
428
- * Format: uuid
429
- * @description Theme ID.
430
- */
431
- id: string;
432
- logo: {
433
- desktopView: {
434
- /** @description The svg of the location. */
435
- svg: string;
436
- /** @description The location of the location. */
437
- location: string;
438
- };
439
- mobileView: {
440
- /** @description The svg of the location. */
441
- svg: string;
442
- /** @description The location of the location. */
443
- location: string;
444
- };
445
- darkDesktopView: {
446
- /** @description The svg of the location. */
447
- svg: string;
448
- /** @description The location of the location. */
449
- location: string;
450
- };
451
- darkMobileView: {
452
- /** @description The svg of the location. */
453
- svg: string;
454
- /** @description The location of the location. */
455
- location: string;
456
- };
457
- };
458
- /** @description The vars of the theme. */
459
- vars?: {
460
- [key: string]: unknown;
461
- };
462
- };
463
- /** @description Preferences specific to dashboard behavior */
464
- dashboard: {
465
- [key: string]: unknown;
466
- };
467
- };
468
- };
469
- /** Format: date-time */
470
- created_at?: string;
471
- /** Format: date-time */
472
- updated_at?: string;
473
- /** Format: date-time */
474
- deleted_at?: string;
475
- };
476
- OrganizationsPage: {
477
- /** @description Current page number of the result set. */
478
- page?: number;
479
- /** @description Number of items per page. */
480
- page_size?: number;
481
- /** @description Total number of items available. */
482
- total_count?: number;
483
- /** @description The organizations of the organizationspage. */
484
- organizations?: {
485
- /**
486
- * Format: uuid
487
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
488
- */
489
- id?: string;
490
- name?: string;
491
- description?: string;
492
- country?: string;
493
- region?: string;
494
- owner?: string;
495
- metadata?: {
496
- preferences: {
497
- theme: {
498
- /**
499
- * Format: uuid
500
- * @description Theme ID.
501
- */
502
- id: string;
503
- logo: {
504
- desktopView: {
505
- /** @description The svg of the location. */
506
- svg: string;
507
- /** @description The location of the location. */
508
- location: string;
509
- };
510
- mobileView: {
511
- /** @description The svg of the location. */
512
- svg: string;
513
- /** @description The location of the location. */
514
- location: string;
515
- };
516
- darkDesktopView: {
517
- /** @description The svg of the location. */
518
- svg: string;
519
- /** @description The location of the location. */
520
- location: string;
521
- };
522
- darkMobileView: {
523
- /** @description The svg of the location. */
524
- svg: string;
525
- /** @description The location of the location. */
526
- location: string;
527
- };
528
- };
529
- /** @description The vars of the theme. */
530
- vars?: {
531
- [key: string]: unknown;
532
- };
533
- };
534
- /** @description Preferences specific to dashboard behavior */
535
- dashboard: {
536
- [key: string]: unknown;
537
- };
538
- };
539
- };
540
- /** Format: date-time */
541
- created_at?: string;
542
- /** Format: date-time */
543
- updated_at?: string;
544
- /** Format: date-time */
545
- deleted_at?: string;
546
- }[];
1030
+ };
1031
+ /** Expired JWT token used or insufficient privilege */
1032
+ 401: {
1033
+ content: {
1034
+ "text/plain": string;
547
1035
  };
548
- /** @description Single-organization wrapper used by current meshery-cloud organization handlers. */
549
- OrganizationPage: {
1036
+ };
1037
+ /** Organization not found */
1038
+ 404: unknown;
1039
+ /** Internal server error */
1040
+ 500: unknown;
1041
+ };
1042
+ };
1043
+ /** Returns the organization in the single-item page wrapper currently emitted by meshery-cloud. */
1044
+ getOrg: {
1045
+ parameters: {
1046
+ path: {
1047
+ orgId: string;
1048
+ };
1049
+ };
1050
+ responses: {
1051
+ /** Single-organization page response */
1052
+ 200: {
1053
+ content: {
1054
+ "application/json": {
550
1055
  /** @description Current page number of the result set. */
551
1056
  page?: number;
552
1057
  /** @description Number of items per page. */
@@ -555,1463 +1060,539 @@ export interface components {
555
1060
  total_count?: number;
556
1061
  /** @description The organizations of the organizationpage. */
557
1062
  organizations?: {
558
- /**
559
- * Format: uuid
560
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
561
- */
562
- id?: string;
563
- name?: string;
564
- description?: string;
565
- country?: string;
566
- region?: string;
567
- owner?: string;
568
- metadata?: {
569
- preferences: {
570
- theme: {
571
- /**
572
- * Format: uuid
573
- * @description Theme ID.
574
- */
575
- id: string;
576
- logo: {
577
- desktopView: {
578
- /** @description The svg of the location. */
579
- svg: string;
580
- /** @description The location of the location. */
581
- location: string;
582
- };
583
- mobileView: {
584
- /** @description The svg of the location. */
585
- svg: string;
586
- /** @description The location of the location. */
587
- location: string;
588
- };
589
- darkDesktopView: {
590
- /** @description The svg of the location. */
591
- svg: string;
592
- /** @description The location of the location. */
593
- location: string;
594
- };
595
- darkMobileView: {
596
- /** @description The svg of the location. */
597
- svg: string;
598
- /** @description The location of the location. */
599
- location: string;
600
- };
601
- };
602
- /** @description The vars of the theme. */
603
- vars?: {
604
- [key: string]: unknown;
605
- };
606
- };
607
- /** @description Preferences specific to dashboard behavior */
608
- dashboard: {
609
- [key: string]: unknown;
610
- };
611
- };
612
- };
613
- /** Format: date-time */
614
- created_at?: string;
615
- /** Format: date-time */
616
- updated_at?: string;
617
- /** Format: date-time */
618
- deleted_at?: string;
619
- }[];
620
- };
621
- OrganizationPayload: {
622
- name?: string;
623
- country?: string;
624
- region?: string;
625
- description?: string;
626
- /** @description The notify org update of the organization. */
627
- notifyOrgUpdate?: boolean;
628
- preferences?: {
629
- theme: {
1063
+ /**
1064
+ * Format: uuid
1065
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1066
+ */
1067
+ id?: string;
1068
+ name?: string;
1069
+ description?: string;
1070
+ country?: string;
1071
+ region?: string;
1072
+ owner?: string;
1073
+ metadata?: {
1074
+ preferences: {
1075
+ theme: {
630
1076
  /**
631
1077
  * Format: uuid
632
1078
  * @description Theme ID.
633
1079
  */
634
1080
  id: string;
635
1081
  logo: {
636
- desktopView: {
637
- /** @description The svg of the location. */
638
- svg: string;
639
- /** @description The location of the location. */
640
- location: string;
641
- };
642
- mobileView: {
643
- /** @description The svg of the location. */
644
- svg: string;
645
- /** @description The location of the location. */
646
- location: string;
647
- };
648
- darkDesktopView: {
649
- /** @description The svg of the location. */
650
- svg: string;
651
- /** @description The location of the location. */
652
- location: string;
653
- };
654
- darkMobileView: {
655
- /** @description The svg of the location. */
656
- svg: string;
657
- /** @description The location of the location. */
658
- location: string;
659
- };
1082
+ desktopView: {
1083
+ /** @description The svg of the location. */
1084
+ svg: string;
1085
+ /** @description The location of the location. */
1086
+ location: string;
1087
+ };
1088
+ mobileView: {
1089
+ /** @description The svg of the location. */
1090
+ svg: string;
1091
+ /** @description The location of the location. */
1092
+ location: string;
1093
+ };
1094
+ darkDesktopView: {
1095
+ /** @description The svg of the location. */
1096
+ svg: string;
1097
+ /** @description The location of the location. */
1098
+ location: string;
1099
+ };
1100
+ darkMobileView: {
1101
+ /** @description The svg of the location. */
1102
+ svg: string;
1103
+ /** @description The location of the location. */
1104
+ location: string;
1105
+ };
660
1106
  };
661
1107
  /** @description The vars of the theme. */
662
- vars?: {
663
- [key: string]: unknown;
664
- };
665
- };
666
- /** @description Preferences specific to dashboard behavior */
667
- dashboard: {
668
- [key: string]: unknown;
669
- };
670
- };
1108
+ vars?: { [key: string]: unknown };
1109
+ };
1110
+ /** @description Preferences specific to dashboard behavior */
1111
+ dashboard: { [key: string]: unknown };
1112
+ };
1113
+ };
1114
+ /** Format: date-time */
1115
+ created_at?: string;
1116
+ /** Format: date-time */
1117
+ updated_at?: string;
1118
+ /** Format: date-time */
1119
+ deleted_at?: string;
1120
+ }[];
1121
+ };
671
1122
  };
672
- AvailableTeam: {
673
- /** Format: uuid */
674
- id?: string;
675
- name?: string;
676
- description?: string;
677
- owner?: string;
678
- metadata?: {
679
- [key: string]: string;
680
- };
681
- /** Format: date-time */
682
- created_at?: string;
683
- /** Format: date-time */
684
- updated_at?: string;
685
- /** Format: date-time */
686
- deleted_at?: string;
1123
+ };
1124
+ /** Expired JWT token used or insufficient privilege */
1125
+ 401: {
1126
+ content: {
1127
+ "text/plain": string;
687
1128
  };
688
- TeamsPage: {
689
- /** @description Current page number of the result set. */
690
- page?: number;
691
- /** @description Number of items per page. */
692
- page_size?: number;
693
- /** @description Total number of items available. */
694
- total_count?: number;
695
- /** @description The teams of the teamspage. */
696
- teams?: {
697
- /** Format: uuid */
698
- id?: string;
699
- name?: string;
700
- description?: string;
701
- owner?: string;
702
- metadata?: {
703
- [key: string]: string;
704
- };
705
- /** Format: date-time */
706
- created_at?: string;
707
- /** Format: date-time */
708
- updated_at?: string;
709
- /** Format: date-time */
710
- deleted_at?: string;
711
- }[];
1129
+ };
1130
+ /** Result not found */
1131
+ 404: {
1132
+ content: {
1133
+ "text/plain": string;
712
1134
  };
713
- TeamsOrganizationsMapping: {
714
- /** Format: uuid */
715
- id?: string;
716
- /** Format: uuid */
717
- orgId?: string;
718
- /** Format: uuid */
719
- team_id?: string;
720
- /** Format: date-time */
721
- created_at?: string;
722
- /** Format: date-time */
723
- updated_at?: string;
724
- /** Format: date-time */
725
- deleted_at?: string;
1135
+ };
1136
+ /** Internal server error */
1137
+ 500: {
1138
+ content: {
1139
+ "text/plain": string;
726
1140
  };
727
- TeamsOrganizationsMappingPage: {
1141
+ };
1142
+ };
1143
+ };
1144
+ /** Updates the organization. */
1145
+ handleUpdateOrg: {
1146
+ parameters: {
1147
+ path: {
1148
+ orgId: string;
1149
+ };
1150
+ };
1151
+ responses: {
1152
+ /** Single-organization page response for the updated organization */
1153
+ 200: {
1154
+ content: {
1155
+ "application/json": {
728
1156
  /** @description Current page number of the result set. */
729
1157
  page?: number;
730
1158
  /** @description Number of items per page. */
731
1159
  page_size?: number;
732
1160
  /** @description Total number of items available. */
733
1161
  total_count?: number;
734
- /** @description The teams organizations mapping of the teamsorganizationsmappingpage. */
735
- teamsOrganizationsMapping?: {
736
- /** Format: uuid */
737
- id?: string;
738
- /** Format: uuid */
739
- orgId?: string;
740
- /** Format: uuid */
741
- team_id?: string;
742
- /** Format: date-time */
743
- created_at?: string;
744
- /** Format: date-time */
745
- updated_at?: string;
746
- /** Format: date-time */
747
- deleted_at?: string;
1162
+ /** @description The organizations of the organizationpage. */
1163
+ organizations?: {
1164
+ /**
1165
+ * Format: uuid
1166
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1167
+ */
1168
+ id?: string;
1169
+ name?: string;
1170
+ description?: string;
1171
+ country?: string;
1172
+ region?: string;
1173
+ owner?: string;
1174
+ metadata?: {
1175
+ preferences: {
1176
+ theme: {
1177
+ /**
1178
+ * Format: uuid
1179
+ * @description Theme ID.
1180
+ */
1181
+ id: string;
1182
+ logo: {
1183
+ desktopView: {
1184
+ /** @description The svg of the location. */
1185
+ svg: string;
1186
+ /** @description The location of the location. */
1187
+ location: string;
1188
+ };
1189
+ mobileView: {
1190
+ /** @description The svg of the location. */
1191
+ svg: string;
1192
+ /** @description The location of the location. */
1193
+ location: string;
1194
+ };
1195
+ darkDesktopView: {
1196
+ /** @description The svg of the location. */
1197
+ svg: string;
1198
+ /** @description The location of the location. */
1199
+ location: string;
1200
+ };
1201
+ darkMobileView: {
1202
+ /** @description The svg of the location. */
1203
+ svg: string;
1204
+ /** @description The location of the location. */
1205
+ location: string;
1206
+ };
1207
+ };
1208
+ /** @description The vars of the theme. */
1209
+ vars?: { [key: string]: unknown };
1210
+ };
1211
+ /** @description Preferences specific to dashboard behavior */
1212
+ dashboard: { [key: string]: unknown };
1213
+ };
1214
+ };
1215
+ /** Format: date-time */
1216
+ created_at?: string;
1217
+ /** Format: date-time */
1218
+ updated_at?: string;
1219
+ /** Format: date-time */
1220
+ deleted_at?: string;
748
1221
  }[];
1222
+ };
749
1223
  };
750
- };
751
- responses: {
752
- /** @description Invalid request body or request param */
753
- 400: {
754
- headers: {
755
- [name: string]: unknown;
756
- };
757
- content: {
758
- "text/plain": string;
759
- };
760
- };
761
- /** @description Expired JWT token used or insufficient privilege */
762
- 401: {
763
- headers: {
764
- [name: string]: unknown;
765
- };
766
- content: {
767
- "text/plain": string;
768
- };
1224
+ };
1225
+ /** Invalid request body or request param */
1226
+ 400: {
1227
+ content: {
1228
+ "text/plain": string;
769
1229
  };
770
- /** @description Result not found */
771
- 404: {
772
- headers: {
773
- [name: string]: unknown;
774
- };
775
- content: {
776
- "text/plain": string;
777
- };
1230
+ };
1231
+ /** Expired JWT token used or insufficient privilege */
1232
+ 401: {
1233
+ content: {
1234
+ "text/plain": string;
778
1235
  };
779
- /** @description Internal server error */
780
- 500: {
781
- headers: {
782
- [name: string]: unknown;
783
- };
784
- content: {
785
- "text/plain": string;
786
- };
1236
+ };
1237
+ /** Result not found */
1238
+ 404: {
1239
+ content: {
1240
+ "text/plain": string;
787
1241
  };
788
- };
789
- parameters: {
790
- orgId: string;
791
- /** @description Get responses by page */
792
- page: string;
793
- /** @description Get responses by pagesize */
794
- pagesize: string;
795
- /** @description Get responses that match search param value */
796
- search: string;
797
- /** @description Get ordered responses */
798
- order: string;
799
- /** @description Get all possible entries */
800
- all: boolean;
801
- teamId: string;
802
- };
803
- requestBodies: {
804
- /** @description Body for creating or updating an organization */
805
- organizationPayload: {
806
- content: {
807
- "application/json": {
808
- name?: string;
809
- country?: string;
810
- region?: string;
811
- description?: string;
812
- /** @description The notify org update of the organization. */
813
- notifyOrgUpdate?: boolean;
814
- preferences?: {
815
- theme: {
816
- /**
817
- * Format: uuid
818
- * @description Theme ID.
819
- */
820
- id: string;
821
- logo: {
822
- desktopView: {
823
- /** @description The svg of the location. */
824
- svg: string;
825
- /** @description The location of the location. */
826
- location: string;
827
- };
828
- mobileView: {
829
- /** @description The svg of the location. */
830
- svg: string;
831
- /** @description The location of the location. */
832
- location: string;
833
- };
834
- darkDesktopView: {
835
- /** @description The svg of the location. */
836
- svg: string;
837
- /** @description The location of the location. */
838
- location: string;
839
- };
840
- darkMobileView: {
841
- /** @description The svg of the location. */
842
- svg: string;
843
- /** @description The location of the location. */
844
- location: string;
845
- };
846
- };
847
- /** @description The vars of the theme. */
848
- vars?: {
849
- [key: string]: unknown;
850
- };
851
- };
852
- /** @description Preferences specific to dashboard behavior */
853
- dashboard: {
854
- [key: string]: unknown;
855
- };
856
- };
857
- };
858
- };
1242
+ };
1243
+ /** Internal server error */
1244
+ 500: {
1245
+ content: {
1246
+ "text/plain": string;
859
1247
  };
1248
+ };
860
1249
  };
861
- headers: never;
862
- pathItems: never;
863
- }
864
- export type $defs = Record<string, never>;
865
- export interface operations {
866
- getOrgs: {
867
- parameters: {
868
- query?: {
869
- /** @description Get responses by page */
870
- page?: string;
871
- /** @description Get responses by pagesize */
872
- pagesize?: string;
873
- /** @description Get responses that match search param value */
874
- search?: string;
875
- /** @description Get ordered responses */
876
- order?: string;
877
- /** @description Get all possible entries */
878
- all?: boolean;
879
- };
880
- header?: never;
881
- path?: never;
882
- cookie?: never;
883
- };
884
- requestBody?: never;
885
- responses: {
886
- /** @description Organizations response */
887
- 200: {
888
- headers: {
889
- [name: string]: unknown;
890
- };
891
- content: {
892
- "application/json": {
893
- /** @description Current page number of the result set. */
894
- page?: number;
895
- /** @description Number of items per page. */
896
- page_size?: number;
897
- /** @description Total number of items available. */
898
- total_count?: number;
899
- /** @description The organizations of the organizationspage. */
900
- organizations?: {
901
- /**
902
- * Format: uuid
903
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
904
- */
905
- id?: string;
906
- name?: string;
907
- description?: string;
908
- country?: string;
909
- region?: string;
910
- owner?: string;
911
- metadata?: {
912
- preferences: {
913
- theme: {
914
- /**
915
- * Format: uuid
916
- * @description Theme ID.
917
- */
918
- id: string;
919
- logo: {
920
- desktopView: {
921
- /** @description The svg of the location. */
922
- svg: string;
923
- /** @description The location of the location. */
924
- location: string;
925
- };
926
- mobileView: {
927
- /** @description The svg of the location. */
928
- svg: string;
929
- /** @description The location of the location. */
930
- location: string;
931
- };
932
- darkDesktopView: {
933
- /** @description The svg of the location. */
934
- svg: string;
935
- /** @description The location of the location. */
936
- location: string;
937
- };
938
- darkMobileView: {
939
- /** @description The svg of the location. */
940
- svg: string;
941
- /** @description The location of the location. */
942
- location: string;
943
- };
944
- };
945
- /** @description The vars of the theme. */
946
- vars?: {
947
- [key: string]: unknown;
948
- };
949
- };
950
- /** @description Preferences specific to dashboard behavior */
951
- dashboard: {
952
- [key: string]: unknown;
953
- };
954
- };
955
- };
956
- /** Format: date-time */
957
- created_at?: string;
958
- /** Format: date-time */
959
- updated_at?: string;
960
- /** Format: date-time */
961
- deleted_at?: string;
962
- }[];
963
- };
964
- };
965
- };
966
- /** @description No content */
967
- 204: {
968
- headers: {
969
- [name: string]: unknown;
970
- };
971
- content?: never;
972
- };
973
- /** @description Expired JWT token used or insufficient privilege */
974
- 401: {
975
- headers: {
976
- [name: string]: unknown;
1250
+ /** Body for creating or updating an organization */
1251
+ requestBody: {
1252
+ content: {
1253
+ "application/json": {
1254
+ name?: string;
1255
+ country?: string;
1256
+ region?: string;
1257
+ description?: string;
1258
+ /** @description The notify org update of the organization. */
1259
+ notifyOrgUpdate?: boolean;
1260
+ preferences?: {
1261
+ theme: {
1262
+ /**
1263
+ * Format: uuid
1264
+ * @description Theme ID.
1265
+ */
1266
+ id: string;
1267
+ logo: {
1268
+ desktopView: {
1269
+ /** @description The svg of the location. */
1270
+ svg: string;
1271
+ /** @description The location of the location. */
1272
+ location: string;
977
1273
  };
978
- content: {
979
- "text/plain": string;
1274
+ mobileView: {
1275
+ /** @description The svg of the location. */
1276
+ svg: string;
1277
+ /** @description The location of the location. */
1278
+ location: string;
980
1279
  };
981
- };
982
- /** @description Internal server error */
983
- 500: {
984
- headers: {
985
- [name: string]: unknown;
1280
+ darkDesktopView: {
1281
+ /** @description The svg of the location. */
1282
+ svg: string;
1283
+ /** @description The location of the location. */
1284
+ location: string;
986
1285
  };
987
- content: {
988
- "text/plain": string;
1286
+ darkMobileView: {
1287
+ /** @description The svg of the location. */
1288
+ svg: string;
1289
+ /** @description The location of the location. */
1290
+ location: string;
989
1291
  };
1292
+ };
1293
+ /** @description The vars of the theme. */
1294
+ vars?: { [key: string]: unknown };
990
1295
  };
1296
+ /** @description Preferences specific to dashboard behavior */
1297
+ dashboard: { [key: string]: unknown };
1298
+ };
991
1299
  };
1300
+ };
992
1301
  };
993
- createOrg: {
994
- parameters: {
995
- query?: never;
996
- header?: never;
997
- path?: never;
998
- cookie?: never;
999
- };
1000
- /** @description Body for creating or updating an organization */
1001
- requestBody: {
1002
- content: {
1003
- "application/json": {
1004
- name?: string;
1005
- country?: string;
1006
- region?: string;
1007
- description?: string;
1008
- /** @description The notify org update of the organization. */
1009
- notifyOrgUpdate?: boolean;
1010
- preferences?: {
1011
- theme: {
1012
- /**
1013
- * Format: uuid
1014
- * @description Theme ID.
1015
- */
1016
- id: string;
1017
- logo: {
1018
- desktopView: {
1019
- /** @description The svg of the location. */
1020
- svg: string;
1021
- /** @description The location of the location. */
1022
- location: string;
1023
- };
1024
- mobileView: {
1025
- /** @description The svg of the location. */
1026
- svg: string;
1027
- /** @description The location of the location. */
1028
- location: string;
1029
- };
1030
- darkDesktopView: {
1031
- /** @description The svg of the location. */
1032
- svg: string;
1033
- /** @description The location of the location. */
1034
- location: string;
1035
- };
1036
- darkMobileView: {
1037
- /** @description The svg of the location. */
1038
- svg: string;
1039
- /** @description The location of the location. */
1040
- location: string;
1041
- };
1042
- };
1043
- /** @description The vars of the theme. */
1044
- vars?: {
1045
- [key: string]: unknown;
1046
- };
1047
- };
1048
- /** @description Preferences specific to dashboard behavior */
1049
- dashboard: {
1050
- [key: string]: unknown;
1051
- };
1052
- };
1053
- };
1054
- };
1055
- };
1056
- responses: {
1057
- /** @description Single-organization page response */
1058
- 201: {
1059
- headers: {
1060
- [name: string]: unknown;
1061
- };
1062
- content: {
1063
- "application/json": {
1064
- /** @description Current page number of the result set. */
1065
- page?: number;
1066
- /** @description Number of items per page. */
1067
- page_size?: number;
1068
- /** @description Total number of items available. */
1069
- total_count?: number;
1070
- /** @description The organizations of the organizationpage. */
1071
- organizations?: {
1072
- /**
1073
- * Format: uuid
1074
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1075
- */
1076
- id?: string;
1077
- name?: string;
1078
- description?: string;
1079
- country?: string;
1080
- region?: string;
1081
- owner?: string;
1082
- metadata?: {
1083
- preferences: {
1084
- theme: {
1085
- /**
1086
- * Format: uuid
1087
- * @description Theme ID.
1088
- */
1089
- id: string;
1090
- logo: {
1091
- desktopView: {
1092
- /** @description The svg of the location. */
1093
- svg: string;
1094
- /** @description The location of the location. */
1095
- location: string;
1096
- };
1097
- mobileView: {
1098
- /** @description The svg of the location. */
1099
- svg: string;
1100
- /** @description The location of the location. */
1101
- location: string;
1102
- };
1103
- darkDesktopView: {
1104
- /** @description The svg of the location. */
1105
- svg: string;
1106
- /** @description The location of the location. */
1107
- location: string;
1108
- };
1109
- darkMobileView: {
1110
- /** @description The svg of the location. */
1111
- svg: string;
1112
- /** @description The location of the location. */
1113
- location: string;
1114
- };
1115
- };
1116
- /** @description The vars of the theme. */
1117
- vars?: {
1118
- [key: string]: unknown;
1119
- };
1120
- };
1121
- /** @description Preferences specific to dashboard behavior */
1122
- dashboard: {
1123
- [key: string]: unknown;
1124
- };
1125
- };
1126
- };
1127
- /** Format: date-time */
1128
- created_at?: string;
1129
- /** Format: date-time */
1130
- updated_at?: string;
1131
- /** Format: date-time */
1132
- deleted_at?: string;
1133
- }[];
1134
- };
1135
- };
1136
- };
1137
- /** @description Invalid request body or request param */
1138
- 400: {
1139
- headers: {
1140
- [name: string]: unknown;
1141
- };
1142
- content: {
1143
- "text/plain": string;
1144
- };
1145
- };
1146
- /** @description Expired JWT token used or insufficient privilege */
1147
- 401: {
1148
- headers: {
1149
- [name: string]: unknown;
1150
- };
1151
- content: {
1152
- "text/plain": string;
1153
- };
1154
- };
1155
- /** @description Internal server error */
1156
- 500: {
1157
- headers: {
1158
- [name: string]: unknown;
1159
- };
1160
- content: {
1161
- "text/plain": string;
1162
- };
1163
- };
1164
- };
1302
+ };
1303
+ /** Deletes the organization. */
1304
+ deleteOrg: {
1305
+ parameters: {
1306
+ path: {
1307
+ orgId: string;
1308
+ };
1165
1309
  };
1166
- getOrgByDomain: {
1167
- parameters: {
1168
- query: {
1169
- domain: string;
1170
- };
1171
- header?: never;
1172
- path?: never;
1173
- cookie?: never;
1310
+ responses: {
1311
+ /** Organization deleted */
1312
+ 204: never;
1313
+ /** Invalid request body or request param */
1314
+ 400: {
1315
+ content: {
1316
+ "text/plain": string;
1174
1317
  };
1175
- requestBody?: never;
1176
- responses: {
1177
- /** @description Successful response */
1178
- 200: {
1179
- headers: {
1180
- [name: string]: unknown;
1181
- };
1182
- content: {
1183
- "application/json": {
1184
- /**
1185
- * Format: uuid
1186
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1187
- */
1188
- id: string;
1189
- /** @description Name of the organization. */
1190
- name: string;
1191
- /** @description The country of the organization. */
1192
- country: string;
1193
- /** @description The region of the organization. */
1194
- region: string;
1195
- /** @description Description of the organization. */
1196
- description: string;
1197
- /**
1198
- * Format: uuid
1199
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1200
- */
1201
- owner: string;
1202
- metadata: {
1203
- preferences: {
1204
- theme: {
1205
- /**
1206
- * Format: uuid
1207
- * @description Theme ID.
1208
- */
1209
- id: string;
1210
- logo: {
1211
- desktopView: {
1212
- /** @description The svg of the location. */
1213
- svg: string;
1214
- /** @description The location of the location. */
1215
- location: string;
1216
- };
1217
- mobileView: {
1218
- /** @description The svg of the location. */
1219
- svg: string;
1220
- /** @description The location of the location. */
1221
- location: string;
1222
- };
1223
- darkDesktopView: {
1224
- /** @description The svg of the location. */
1225
- svg: string;
1226
- /** @description The location of the location. */
1227
- location: string;
1228
- };
1229
- darkMobileView: {
1230
- /** @description The svg of the location. */
1231
- svg: string;
1232
- /** @description The location of the location. */
1233
- location: string;
1234
- };
1235
- };
1236
- /** @description The vars of the theme. */
1237
- vars?: {
1238
- [key: string]: unknown;
1239
- };
1240
- };
1241
- /** @description Preferences specific to dashboard behavior */
1242
- dashboard: {
1243
- [key: string]: unknown;
1244
- };
1245
- };
1246
- };
1247
- /** Format: date-time */
1248
- created_at: string;
1249
- /** Format: date-time */
1250
- updated_at: string;
1251
- /** Format: date-time */
1252
- deleted_at?: string;
1253
- /** @description The domain of the organization. */
1254
- domain?: string | null;
1255
- };
1256
- };
1257
- };
1258
- /** @description Expired JWT token used or insufficient privilege */
1259
- 401: {
1260
- headers: {
1261
- [name: string]: unknown;
1262
- };
1263
- content: {
1264
- "text/plain": string;
1265
- };
1266
- };
1267
- /** @description Organization not found */
1268
- 404: {
1269
- headers: {
1270
- [name: string]: unknown;
1271
- };
1272
- content?: never;
1273
- };
1274
- /** @description Internal server error */
1275
- 500: {
1276
- headers: {
1277
- [name: string]: unknown;
1278
- };
1279
- content?: never;
1280
- };
1318
+ };
1319
+ /** Expired JWT token used or insufficient privilege */
1320
+ 401: {
1321
+ content: {
1322
+ "text/plain": string;
1281
1323
  };
1282
- };
1283
- getOrg: {
1284
- parameters: {
1285
- query?: never;
1286
- header?: never;
1287
- path: {
1288
- orgId: string;
1289
- };
1290
- cookie?: never;
1324
+ };
1325
+ /** Result not found */
1326
+ 404: {
1327
+ content: {
1328
+ "text/plain": string;
1291
1329
  };
1292
- requestBody?: never;
1293
- responses: {
1294
- /** @description Single-organization page response */
1295
- 200: {
1296
- headers: {
1297
- [name: string]: unknown;
1298
- };
1299
- content: {
1300
- "application/json": {
1301
- /** @description Current page number of the result set. */
1302
- page?: number;
1303
- /** @description Number of items per page. */
1304
- page_size?: number;
1305
- /** @description Total number of items available. */
1306
- total_count?: number;
1307
- /** @description The organizations of the organizationpage. */
1308
- organizations?: {
1309
- /**
1310
- * Format: uuid
1311
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1312
- */
1313
- id?: string;
1314
- name?: string;
1315
- description?: string;
1316
- country?: string;
1317
- region?: string;
1318
- owner?: string;
1319
- metadata?: {
1320
- preferences: {
1321
- theme: {
1322
- /**
1323
- * Format: uuid
1324
- * @description Theme ID.
1325
- */
1326
- id: string;
1327
- logo: {
1328
- desktopView: {
1329
- /** @description The svg of the location. */
1330
- svg: string;
1331
- /** @description The location of the location. */
1332
- location: string;
1333
- };
1334
- mobileView: {
1335
- /** @description The svg of the location. */
1336
- svg: string;
1337
- /** @description The location of the location. */
1338
- location: string;
1339
- };
1340
- darkDesktopView: {
1341
- /** @description The svg of the location. */
1342
- svg: string;
1343
- /** @description The location of the location. */
1344
- location: string;
1345
- };
1346
- darkMobileView: {
1347
- /** @description The svg of the location. */
1348
- svg: string;
1349
- /** @description The location of the location. */
1350
- location: string;
1351
- };
1352
- };
1353
- /** @description The vars of the theme. */
1354
- vars?: {
1355
- [key: string]: unknown;
1356
- };
1357
- };
1358
- /** @description Preferences specific to dashboard behavior */
1359
- dashboard: {
1360
- [key: string]: unknown;
1361
- };
1362
- };
1363
- };
1364
- /** Format: date-time */
1365
- created_at?: string;
1366
- /** Format: date-time */
1367
- updated_at?: string;
1368
- /** Format: date-time */
1369
- deleted_at?: string;
1370
- }[];
1371
- };
1372
- };
1373
- };
1374
- /** @description Expired JWT token used or insufficient privilege */
1375
- 401: {
1376
- headers: {
1377
- [name: string]: unknown;
1378
- };
1379
- content: {
1380
- "text/plain": string;
1381
- };
1382
- };
1383
- /** @description Result not found */
1384
- 404: {
1385
- headers: {
1386
- [name: string]: unknown;
1387
- };
1388
- content: {
1389
- "text/plain": string;
1390
- };
1391
- };
1392
- /** @description Internal server error */
1393
- 500: {
1394
- headers: {
1395
- [name: string]: unknown;
1396
- };
1397
- content: {
1398
- "text/plain": string;
1399
- };
1400
- };
1330
+ };
1331
+ /** Internal server error */
1332
+ 500: {
1333
+ content: {
1334
+ "text/plain": string;
1401
1335
  };
1336
+ };
1402
1337
  };
1403
- handleUpdateOrg: {
1404
- parameters: {
1405
- query?: never;
1406
- header?: never;
1407
- path: {
1408
- orgId: string;
1409
- };
1410
- cookie?: never;
1411
- };
1412
- /** @description Body for creating or updating an organization */
1413
- requestBody: {
1414
- content: {
1415
- "application/json": {
1416
- name?: string;
1417
- country?: string;
1418
- region?: string;
1419
- description?: string;
1420
- /** @description The notify org update of the organization. */
1421
- notifyOrgUpdate?: boolean;
1422
- preferences?: {
1423
- theme: {
1424
- /**
1425
- * Format: uuid
1426
- * @description Theme ID.
1427
- */
1428
- id: string;
1429
- logo: {
1430
- desktopView: {
1431
- /** @description The svg of the location. */
1432
- svg: string;
1433
- /** @description The location of the location. */
1434
- location: string;
1435
- };
1436
- mobileView: {
1437
- /** @description The svg of the location. */
1438
- svg: string;
1439
- /** @description The location of the location. */
1440
- location: string;
1441
- };
1442
- darkDesktopView: {
1443
- /** @description The svg of the location. */
1444
- svg: string;
1445
- /** @description The location of the location. */
1446
- location: string;
1447
- };
1448
- darkMobileView: {
1449
- /** @description The svg of the location. */
1450
- svg: string;
1451
- /** @description The location of the location. */
1452
- location: string;
1453
- };
1454
- };
1455
- /** @description The vars of the theme. */
1456
- vars?: {
1457
- [key: string]: unknown;
1458
- };
1459
- };
1460
- /** @description Preferences specific to dashboard behavior */
1461
- dashboard: {
1462
- [key: string]: unknown;
1463
- };
1464
- };
1338
+ };
1339
+ /** Returns preferences for the specified organization. */
1340
+ getOrgPreferences: {
1341
+ parameters: {
1342
+ path: {
1343
+ orgId: string;
1344
+ };
1345
+ };
1346
+ responses: {
1347
+ /** Organization metadata, including preferences */
1348
+ 200: {
1349
+ content: {
1350
+ "application/json": {
1351
+ preferences: {
1352
+ theme: {
1353
+ /**
1354
+ * Format: uuid
1355
+ * @description Theme ID.
1356
+ */
1357
+ id: string;
1358
+ logo: {
1359
+ desktopView: {
1360
+ /** @description The svg of the location. */
1361
+ svg: string;
1362
+ /** @description The location of the location. */
1363
+ location: string;
1364
+ };
1365
+ mobileView: {
1366
+ /** @description The svg of the location. */
1367
+ svg: string;
1368
+ /** @description The location of the location. */
1369
+ location: string;
1370
+ };
1371
+ darkDesktopView: {
1372
+ /** @description The svg of the location. */
1373
+ svg: string;
1374
+ /** @description The location of the location. */
1375
+ location: string;
1376
+ };
1377
+ darkMobileView: {
1378
+ /** @description The svg of the location. */
1379
+ svg: string;
1380
+ /** @description The location of the location. */
1381
+ location: string;
1382
+ };
1465
1383
  };
1384
+ /** @description The vars of the theme. */
1385
+ vars?: { [key: string]: unknown };
1386
+ };
1387
+ /** @description Preferences specific to dashboard behavior */
1388
+ dashboard: { [key: string]: unknown };
1466
1389
  };
1390
+ };
1467
1391
  };
1468
- responses: {
1469
- /** @description Single-organization page response for the updated organization */
1470
- 200: {
1471
- headers: {
1472
- [name: string]: unknown;
1473
- };
1474
- content: {
1475
- "application/json": {
1476
- /** @description Current page number of the result set. */
1477
- page?: number;
1478
- /** @description Number of items per page. */
1479
- page_size?: number;
1480
- /** @description Total number of items available. */
1481
- total_count?: number;
1482
- /** @description The organizations of the organizationpage. */
1483
- organizations?: {
1484
- /**
1485
- * Format: uuid
1486
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1487
- */
1488
- id?: string;
1489
- name?: string;
1490
- description?: string;
1491
- country?: string;
1492
- region?: string;
1493
- owner?: string;
1494
- metadata?: {
1495
- preferences: {
1496
- theme: {
1497
- /**
1498
- * Format: uuid
1499
- * @description Theme ID.
1500
- */
1501
- id: string;
1502
- logo: {
1503
- desktopView: {
1504
- /** @description The svg of the location. */
1505
- svg: string;
1506
- /** @description The location of the location. */
1507
- location: string;
1508
- };
1509
- mobileView: {
1510
- /** @description The svg of the location. */
1511
- svg: string;
1512
- /** @description The location of the location. */
1513
- location: string;
1514
- };
1515
- darkDesktopView: {
1516
- /** @description The svg of the location. */
1517
- svg: string;
1518
- /** @description The location of the location. */
1519
- location: string;
1520
- };
1521
- darkMobileView: {
1522
- /** @description The svg of the location. */
1523
- svg: string;
1524
- /** @description The location of the location. */
1525
- location: string;
1526
- };
1527
- };
1528
- /** @description The vars of the theme. */
1529
- vars?: {
1530
- [key: string]: unknown;
1531
- };
1532
- };
1533
- /** @description Preferences specific to dashboard behavior */
1534
- dashboard: {
1535
- [key: string]: unknown;
1536
- };
1537
- };
1538
- };
1539
- /** Format: date-time */
1540
- created_at?: string;
1541
- /** Format: date-time */
1542
- updated_at?: string;
1543
- /** Format: date-time */
1544
- deleted_at?: string;
1545
- }[];
1546
- };
1547
- };
1548
- };
1549
- /** @description Invalid request body or request param */
1550
- 400: {
1551
- headers: {
1552
- [name: string]: unknown;
1553
- };
1554
- content: {
1555
- "text/plain": string;
1556
- };
1557
- };
1558
- /** @description Expired JWT token used or insufficient privilege */
1559
- 401: {
1560
- headers: {
1561
- [name: string]: unknown;
1562
- };
1563
- content: {
1564
- "text/plain": string;
1565
- };
1566
- };
1567
- /** @description Result not found */
1568
- 404: {
1569
- headers: {
1570
- [name: string]: unknown;
1571
- };
1572
- content: {
1573
- "text/plain": string;
1574
- };
1575
- };
1576
- /** @description Internal server error */
1577
- 500: {
1578
- headers: {
1579
- [name: string]: unknown;
1580
- };
1581
- content: {
1582
- "text/plain": string;
1583
- };
1584
- };
1392
+ };
1393
+ /** Expired JWT token used or insufficient privilege */
1394
+ 401: {
1395
+ content: {
1396
+ "text/plain": string;
1585
1397
  };
1586
- };
1587
- deleteOrg: {
1588
- parameters: {
1589
- query?: never;
1590
- header?: never;
1591
- path: {
1592
- orgId: string;
1593
- };
1594
- cookie?: never;
1398
+ };
1399
+ /** Result not found */
1400
+ 404: {
1401
+ content: {
1402
+ "text/plain": string;
1595
1403
  };
1596
- requestBody?: never;
1597
- responses: {
1598
- /** @description Organization deleted */
1599
- 204: {
1600
- headers: {
1601
- [name: string]: unknown;
1602
- };
1603
- content?: never;
1604
- };
1605
- /** @description Invalid request body or request param */
1606
- 400: {
1607
- headers: {
1608
- [name: string]: unknown;
1609
- };
1610
- content: {
1611
- "text/plain": string;
1612
- };
1613
- };
1614
- /** @description Expired JWT token used or insufficient privilege */
1615
- 401: {
1616
- headers: {
1617
- [name: string]: unknown;
1618
- };
1619
- content: {
1620
- "text/plain": string;
1621
- };
1622
- };
1623
- /** @description Result not found */
1624
- 404: {
1625
- headers: {
1626
- [name: string]: unknown;
1627
- };
1628
- content: {
1629
- "text/plain": string;
1630
- };
1631
- };
1632
- /** @description Internal server error */
1633
- 500: {
1634
- headers: {
1635
- [name: string]: unknown;
1636
- };
1637
- content: {
1638
- "text/plain": string;
1639
- };
1640
- };
1404
+ };
1405
+ /** Internal server error */
1406
+ 500: {
1407
+ content: {
1408
+ "text/plain": string;
1641
1409
  };
1410
+ };
1642
1411
  };
1643
- getOrgPreferences: {
1644
- parameters: {
1645
- query?: never;
1646
- header?: never;
1647
- path: {
1648
- orgId: string;
1649
- };
1650
- cookie?: never;
1651
- };
1652
- requestBody?: never;
1653
- responses: {
1654
- /** @description Organization metadata, including preferences */
1655
- 200: {
1656
- headers: {
1657
- [name: string]: unknown;
1658
- };
1659
- content: {
1660
- "application/json": {
1661
- preferences: {
1662
- theme: {
1663
- /**
1664
- * Format: uuid
1665
- * @description Theme ID.
1666
- */
1667
- id: string;
1668
- logo: {
1669
- desktopView: {
1670
- /** @description The svg of the location. */
1671
- svg: string;
1672
- /** @description The location of the location. */
1673
- location: string;
1674
- };
1675
- mobileView: {
1676
- /** @description The svg of the location. */
1677
- svg: string;
1678
- /** @description The location of the location. */
1679
- location: string;
1680
- };
1681
- darkDesktopView: {
1682
- /** @description The svg of the location. */
1683
- svg: string;
1684
- /** @description The location of the location. */
1685
- location: string;
1686
- };
1687
- darkMobileView: {
1688
- /** @description The svg of the location. */
1689
- svg: string;
1690
- /** @description The location of the location. */
1691
- location: string;
1692
- };
1693
- };
1694
- /** @description The vars of the theme. */
1695
- vars?: {
1696
- [key: string]: unknown;
1697
- };
1698
- };
1699
- /** @description Preferences specific to dashboard behavior */
1700
- dashboard: {
1701
- [key: string]: unknown;
1702
- };
1703
- };
1704
- };
1705
- };
1706
- };
1707
- /** @description Expired JWT token used or insufficient privilege */
1708
- 401: {
1709
- headers: {
1710
- [name: string]: unknown;
1711
- };
1712
- content: {
1713
- "text/plain": string;
1714
- };
1715
- };
1716
- /** @description Result not found */
1717
- 404: {
1718
- headers: {
1719
- [name: string]: unknown;
1720
- };
1721
- content: {
1722
- "text/plain": string;
1723
- };
1724
- };
1725
- /** @description Internal server error */
1726
- 500: {
1727
- headers: {
1728
- [name: string]: unknown;
1729
- };
1730
- content: {
1731
- "text/plain": string;
1732
- };
1733
- };
1734
- };
1412
+ };
1413
+ /** Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact. */
1414
+ addTeamToOrg: {
1415
+ parameters: {
1416
+ path: {
1417
+ orgId: string;
1418
+ teamId: string;
1419
+ };
1735
1420
  };
1736
- addTeamToOrg: {
1737
- parameters: {
1738
- query?: never;
1739
- header?: never;
1740
- path: {
1741
- orgId: string;
1742
- teamId: string;
1743
- };
1744
- cookie?: never;
1745
- };
1746
- requestBody?: {
1747
- content: {
1748
- "application/json": {
1749
- /**
1750
- * @description Internal action to perform on the team resource.
1751
- * @enum {string}
1752
- */
1753
- action?: "delete";
1754
- };
1755
- };
1756
- };
1757
- responses: {
1758
- /** @description Team added to organization or team tombstoned */
1759
- 201: {
1760
- headers: {
1761
- [name: string]: unknown;
1762
- };
1763
- content: {
1764
- "application/json": {
1765
- /** @description Current page number of the result set. */
1766
- page?: number;
1767
- /** @description Number of items per page. */
1768
- page_size?: number;
1769
- /** @description Total number of items available. */
1770
- total_count?: number;
1771
- /** @description The teams organizations mapping of the teamsorganizationsmappingpage. */
1772
- teamsOrganizationsMapping?: {
1773
- /** Format: uuid */
1774
- id?: string;
1775
- /** Format: uuid */
1776
- orgId?: string;
1777
- /** Format: uuid */
1778
- team_id?: string;
1779
- /** Format: date-time */
1780
- created_at?: string;
1781
- /** Format: date-time */
1782
- updated_at?: string;
1783
- /** Format: date-time */
1784
- deleted_at?: string;
1785
- }[];
1786
- } | {
1787
- /** @description Current page number of the result set. */
1788
- page?: number;
1789
- /** @description Number of items per page. */
1790
- page_size?: number;
1791
- /** @description Total number of items available. */
1792
- total_count?: number;
1793
- /** @description The teams of the teamspage. */
1794
- teams?: {
1795
- /** Format: uuid */
1796
- id?: string;
1797
- name?: string;
1798
- description?: string;
1799
- owner?: string;
1800
- metadata?: {
1801
- [key: string]: string;
1802
- };
1803
- /** Format: date-time */
1804
- created_at?: string;
1805
- /** Format: date-time */
1806
- updated_at?: string;
1807
- /** Format: date-time */
1808
- deleted_at?: string;
1809
- }[];
1810
- };
1811
- };
1812
- };
1813
- /** @description Bad request */
1814
- 400: {
1815
- headers: {
1816
- [name: string]: unknown;
1817
- };
1818
- content?: never;
1819
- };
1820
- /** @description Unauthorized */
1821
- 401: {
1822
- headers: {
1823
- [name: string]: unknown;
1824
- };
1825
- content?: never;
1826
- };
1827
- /** @description Not found */
1828
- 404: {
1829
- headers: {
1830
- [name: string]: unknown;
1831
- };
1832
- content?: never;
1833
- };
1834
- /** @description Internal server error */
1835
- 500: {
1836
- headers: {
1837
- [name: string]: unknown;
1838
- };
1839
- content?: never;
1840
- };
1421
+ responses: {
1422
+ /** Team added to organization or team tombstoned */
1423
+ 201: {
1424
+ content: {
1425
+ "application/json":
1426
+ | {
1427
+ /** @description Current page number of the result set. */
1428
+ page?: number;
1429
+ /** @description Number of items per page. */
1430
+ page_size?: number;
1431
+ /** @description Total number of items available. */
1432
+ total_count?: number;
1433
+ /** @description The teams organizations mapping of the teamsorganizationsmappingpage. */
1434
+ teamsOrganizationsMapping?: {
1435
+ /** Format: uuid */
1436
+ id?: string;
1437
+ /** Format: uuid */
1438
+ orgId?: string;
1439
+ /** Format: uuid */
1440
+ team_id?: string;
1441
+ /** Format: date-time */
1442
+ created_at?: string;
1443
+ /** Format: date-time */
1444
+ updated_at?: string;
1445
+ /** Format: date-time */
1446
+ deleted_at?: string;
1447
+ }[];
1448
+ }
1449
+ | {
1450
+ /** @description Current page number of the result set. */
1451
+ page?: number;
1452
+ /** @description Number of items per page. */
1453
+ page_size?: number;
1454
+ /** @description Total number of items available. */
1455
+ total_count?: number;
1456
+ /** @description The teams of the teamspage. */
1457
+ teams?: {
1458
+ /** Format: uuid */
1459
+ id?: string;
1460
+ name?: string;
1461
+ description?: string;
1462
+ owner?: string;
1463
+ metadata?: { [key: string]: string };
1464
+ /** Format: date-time */
1465
+ created_at?: string;
1466
+ /** Format: date-time */
1467
+ updated_at?: string;
1468
+ /** Format: date-time */
1469
+ deleted_at?: string;
1470
+ }[];
1471
+ };
1841
1472
  };
1473
+ };
1474
+ /** Bad request */
1475
+ 400: unknown;
1476
+ /** Unauthorized */
1477
+ 401: unknown;
1478
+ /** Not found */
1479
+ 404: unknown;
1480
+ /** Internal server error */
1481
+ 500: unknown;
1842
1482
  };
1843
- removeTeamFromOrg: {
1844
- parameters: {
1845
- query?: never;
1846
- header?: never;
1847
- path: {
1848
- orgId: string;
1849
- teamId: string;
1850
- };
1851
- cookie?: never;
1483
+ requestBody: {
1484
+ content: {
1485
+ "application/json": {
1486
+ /**
1487
+ * @description Internal action to perform on the team resource.
1488
+ * @enum {string}
1489
+ */
1490
+ action?: "delete";
1852
1491
  };
1853
- requestBody?: never;
1854
- responses: {
1855
- /** @description Team removed from organization */
1856
- 200: {
1857
- headers: {
1858
- [name: string]: unknown;
1859
- };
1860
- content: {
1861
- "application/json": {
1862
- /** @description Current page number of the result set. */
1863
- page?: number;
1864
- /** @description Number of items per page. */
1865
- page_size?: number;
1866
- /** @description Total number of items available. */
1867
- total_count?: number;
1868
- /** @description The teams organizations mapping of the teamsorganizationsmappingpage. */
1869
- teamsOrganizationsMapping?: {
1870
- /** Format: uuid */
1871
- id?: string;
1872
- /** Format: uuid */
1873
- orgId?: string;
1874
- /** Format: uuid */
1875
- team_id?: string;
1876
- /** Format: date-time */
1877
- created_at?: string;
1878
- /** Format: date-time */
1879
- updated_at?: string;
1880
- /** Format: date-time */
1881
- deleted_at?: string;
1882
- }[];
1883
- };
1884
- };
1885
- };
1886
- /** @description Bad request */
1887
- 400: {
1888
- headers: {
1889
- [name: string]: unknown;
1890
- };
1891
- content?: never;
1892
- };
1893
- /** @description Unauthorized */
1894
- 401: {
1895
- headers: {
1896
- [name: string]: unknown;
1897
- };
1898
- content?: never;
1899
- };
1900
- /** @description Not found */
1901
- 404: {
1902
- headers: {
1903
- [name: string]: unknown;
1904
- };
1905
- content?: never;
1906
- };
1907
- /** @description Internal server error */
1908
- 500: {
1909
- headers: {
1910
- [name: string]: unknown;
1911
- };
1912
- content?: never;
1913
- };
1492
+ };
1493
+ };
1494
+ };
1495
+ /** Removes (unassigns) a team from an organization. */
1496
+ removeTeamFromOrg: {
1497
+ parameters: {
1498
+ path: {
1499
+ orgId: string;
1500
+ teamId: string;
1501
+ };
1502
+ };
1503
+ responses: {
1504
+ /** Team removed from organization */
1505
+ 200: {
1506
+ content: {
1507
+ "application/json": {
1508
+ /** @description Current page number of the result set. */
1509
+ page?: number;
1510
+ /** @description Number of items per page. */
1511
+ page_size?: number;
1512
+ /** @description Total number of items available. */
1513
+ total_count?: number;
1514
+ /** @description The teams organizations mapping of the teamsorganizationsmappingpage. */
1515
+ teamsOrganizationsMapping?: {
1516
+ /** Format: uuid */
1517
+ id?: string;
1518
+ /** Format: uuid */
1519
+ orgId?: string;
1520
+ /** Format: uuid */
1521
+ team_id?: string;
1522
+ /** Format: date-time */
1523
+ created_at?: string;
1524
+ /** Format: date-time */
1525
+ updated_at?: string;
1526
+ /** Format: date-time */
1527
+ deleted_at?: string;
1528
+ }[];
1529
+ };
1914
1530
  };
1531
+ };
1532
+ /** Bad request */
1533
+ 400: unknown;
1534
+ /** Unauthorized */
1535
+ 401: unknown;
1536
+ /** Not found */
1537
+ 404: unknown;
1538
+ /** Internal server error */
1539
+ 500: unknown;
1915
1540
  };
1916
- addUserToOrg: {
1917
- parameters: {
1918
- query?: never;
1919
- header?: never;
1920
- path: {
1921
- orgId: string;
1922
- userId: string;
1923
- };
1924
- cookie?: never;
1541
+ };
1542
+ addUserToOrg: {
1543
+ parameters: {
1544
+ path: {
1545
+ orgId: string;
1546
+ userId: string;
1547
+ };
1548
+ };
1549
+ responses: {
1550
+ /** User added to organization */
1551
+ 201: {
1552
+ content: {
1553
+ "application/json": { [key: string]: unknown };
1925
1554
  };
1926
- requestBody?: never;
1927
- responses: {
1928
- /** @description User added to organization */
1929
- 201: {
1930
- headers: {
1931
- [name: string]: unknown;
1932
- };
1933
- content: {
1934
- "application/json": {
1935
- [key: string]: unknown;
1936
- };
1937
- };
1938
- };
1939
- /** @description Invalid request body or request param */
1940
- 400: {
1941
- headers: {
1942
- [name: string]: unknown;
1943
- };
1944
- content: {
1945
- "text/plain": string;
1946
- };
1947
- };
1948
- /** @description Unauthorized */
1949
- 401: {
1950
- headers: {
1951
- [name: string]: unknown;
1952
- };
1953
- content?: never;
1954
- };
1955
- /** @description Result not found */
1956
- 404: {
1957
- headers: {
1958
- [name: string]: unknown;
1959
- };
1960
- content: {
1961
- "text/plain": string;
1962
- };
1963
- };
1964
- /** @description Internal server error */
1965
- 500: {
1966
- headers: {
1967
- [name: string]: unknown;
1968
- };
1969
- content?: never;
1970
- };
1555
+ };
1556
+ /** Invalid request body or request param */
1557
+ 400: {
1558
+ content: {
1559
+ "text/plain": string;
1971
1560
  };
1972
- };
1973
- deleteUserFromOrg: {
1974
- parameters: {
1975
- query?: never;
1976
- header?: never;
1977
- path: {
1978
- orgId: string;
1979
- userId: string;
1980
- };
1981
- cookie?: never;
1561
+ };
1562
+ /** Unauthorized */
1563
+ 401: unknown;
1564
+ /** Result not found */
1565
+ 404: {
1566
+ content: {
1567
+ "text/plain": string;
1982
1568
  };
1983
- requestBody?: never;
1984
- responses: {
1985
- /** @description User removed from organization */
1986
- 204: {
1987
- headers: {
1988
- [name: string]: unknown;
1989
- };
1990
- content?: never;
1991
- };
1992
- /** @description Unauthorized */
1993
- 401: {
1994
- headers: {
1995
- [name: string]: unknown;
1996
- };
1997
- content?: never;
1998
- };
1999
- /** @description Result not found */
2000
- 404: {
2001
- headers: {
2002
- [name: string]: unknown;
2003
- };
2004
- content: {
2005
- "text/plain": string;
2006
- };
2007
- };
2008
- /** @description Internal server error */
2009
- 500: {
2010
- headers: {
2011
- [name: string]: unknown;
2012
- };
2013
- content?: never;
2014
- };
1569
+ };
1570
+ /** Internal server error */
1571
+ 500: unknown;
1572
+ };
1573
+ };
1574
+ deleteUserFromOrg: {
1575
+ parameters: {
1576
+ path: {
1577
+ orgId: string;
1578
+ userId: string;
1579
+ };
1580
+ };
1581
+ responses: {
1582
+ /** User removed from organization */
1583
+ 204: never;
1584
+ /** Unauthorized */
1585
+ 401: unknown;
1586
+ /** Result not found */
1587
+ 404: {
1588
+ content: {
1589
+ "text/plain": string;
2015
1590
  };
1591
+ };
1592
+ /** Internal server error */
1593
+ 500: unknown;
2016
1594
  };
1595
+ };
2017
1596
  }
1597
+
1598
+ export interface external {}