@meshery/schemas 1.2.14 → 1.2.16

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 (151) hide show
  1. package/dist/cloudApi.d.mts +1516 -1516
  2. package/dist/cloudApi.d.ts +1516 -1516
  3. package/dist/constructs/v1alpha1/capability/Capability.d.ts +114 -0
  4. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -0
  5. package/dist/constructs/v1alpha1/core/Core.d.ts +832 -0
  6. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +2 -0
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +53 -0
  8. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +2 -0
  9. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1937 -0
  10. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +2 -0
  11. package/dist/constructs/v1beta1/academy/Academy.d.ts +6417 -0
  12. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +2 -0
  13. package/dist/constructs/v1beta1/badge/Badge.d.ts +546 -0
  14. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +2 -0
  15. package/dist/constructs/v1beta1/capability/Capability.d.ts +114 -0
  16. package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +2 -0
  17. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +53 -0
  18. package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +2 -0
  19. package/dist/constructs/v1beta1/category/Category.d.ts +46 -0
  20. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +2 -0
  21. package/dist/constructs/v1beta1/component/Component.d.ts +869 -0
  22. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +2 -0
  23. package/dist/constructs/v1beta1/connection/Connection.d.ts +1300 -0
  24. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +2 -0
  25. package/dist/constructs/v1beta1/core/Core.d.ts +832 -0
  26. package/dist/constructs/v1beta1/core/CoreSchema.d.ts +2 -0
  27. package/dist/constructs/v1beta1/credential/Credential.d.ts +530 -0
  28. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +2 -0
  29. package/dist/constructs/v1beta1/environment/Environment.d.ts +759 -0
  30. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +2 -0
  31. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6338 -0
  32. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +2 -0
  33. package/dist/constructs/v1beta1/event/Event.d.ts +570 -0
  34. package/dist/constructs/v1beta1/event/EventSchema.d.ts +2 -0
  35. package/dist/constructs/v1beta1/feature/Feature.d.ts +308 -0
  36. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +2 -0
  37. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +983 -0
  38. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +2 -0
  39. package/dist/constructs/v1beta1/key/Key.d.ts +514 -0
  40. package/dist/constructs/v1beta1/key/KeySchema.d.ts +2 -0
  41. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +642 -0
  42. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +2 -0
  43. package/dist/constructs/v1beta1/model/Model.d.ts +659 -0
  44. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +2 -0
  45. package/dist/constructs/v1beta1/organization/Organization.d.ts +1598 -0
  46. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +2 -0
  47. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +18407 -0
  48. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +2 -0
  49. package/dist/constructs/v1beta1/plan/Plan.d.ts +149 -0
  50. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +2 -0
  51. package/dist/constructs/v1beta1/relationship/Relationship.d.ts +1921 -0
  52. package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +2 -0
  53. package/dist/constructs/v1beta1/role/Role.d.ts +745 -0
  54. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +2 -0
  55. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +374 -0
  56. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +2 -0
  57. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +68 -0
  58. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +2 -0
  59. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +752 -0
  60. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +2 -0
  61. package/dist/constructs/v1beta1/support/Support.d.ts +91 -0
  62. package/dist/constructs/v1beta1/support/SupportSchema.d.ts +2 -0
  63. package/dist/constructs/v1beta1/team/Team.d.ts +846 -0
  64. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2 -0
  65. package/dist/constructs/v1beta1/token/Token.d.ts +539 -0
  66. package/dist/constructs/v1beta1/token/TokenSchema.d.ts +2 -0
  67. package/dist/constructs/v1beta1/user/User.d.ts +1677 -0
  68. package/dist/constructs/v1beta1/user/UserSchema.d.ts +2 -0
  69. package/dist/constructs/v1beta1/view/View.d.ts +759 -0
  70. package/dist/constructs/v1beta1/view/ViewSchema.d.ts +2 -0
  71. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4947 -0
  72. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +2 -0
  73. package/dist/constructs/v1beta2/academy/Academy.d.ts +7762 -0
  74. package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +2 -0
  75. package/dist/constructs/v1beta2/badge/Badge.d.ts +563 -0
  76. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +2 -0
  77. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +53 -0
  78. package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +2 -0
  79. package/dist/constructs/v1beta2/component/Component.d.ts +887 -0
  80. package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +2 -0
  81. package/dist/constructs/v1beta2/connection/Connection.d.ts +1330 -0
  82. package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +2 -0
  83. package/dist/constructs/v1beta2/core/Core.d.ts +866 -0
  84. package/dist/constructs/v1beta2/core/CoreSchema.d.ts +2 -0
  85. package/dist/constructs/v1beta2/credential/Credential.d.ts +519 -0
  86. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +2 -0
  87. package/dist/constructs/v1beta2/design/Design.d.ts +19039 -0
  88. package/dist/constructs/v1beta2/design/DesignSchema.d.ts +2 -0
  89. package/dist/constructs/v1beta2/event/Event.d.ts +626 -0
  90. package/dist/constructs/v1beta2/event/EventSchema.d.ts +2 -0
  91. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1052 -0
  92. package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +2 -0
  93. package/dist/constructs/v1beta2/key/Key.d.ts +524 -0
  94. package/dist/constructs/v1beta2/key/KeySchema.d.ts +2 -0
  95. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +652 -0
  96. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +2 -0
  97. package/dist/constructs/v1beta2/model/Model.d.ts +697 -0
  98. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +2 -0
  99. package/dist/constructs/v1beta2/organization/Organization.d.ts +1915 -0
  100. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +2 -0
  101. package/dist/constructs/v1beta2/plan/Plan.d.ts +162 -0
  102. package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +2 -0
  103. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2134 -0
  104. package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +2 -0
  105. package/dist/constructs/v1beta2/role/Role.d.ts +752 -0
  106. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +2 -0
  107. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +431 -0
  108. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +2 -0
  109. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +785 -0
  110. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +2 -0
  111. package/dist/constructs/v1beta2/team/Team.d.ts +960 -0
  112. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +2 -0
  113. package/dist/constructs/v1beta2/token/Token.d.ts +544 -0
  114. package/dist/constructs/v1beta2/token/TokenSchema.d.ts +2 -0
  115. package/dist/constructs/v1beta2/user/User.d.ts +1677 -0
  116. package/dist/constructs/v1beta2/user/UserSchema.d.ts +2 -0
  117. package/dist/constructs/v1beta2/view/View.d.ts +767 -0
  118. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +2 -0
  119. package/dist/constructs/v1beta3/academy/Academy.d.ts +7762 -0
  120. package/dist/constructs/v1beta3/academy/AcademySchema.d.ts +2 -0
  121. package/dist/constructs/v1beta3/component/Component.d.ts +892 -0
  122. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +2 -0
  123. package/dist/constructs/v1beta3/connection/Connection.d.ts +1414 -0
  124. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +2 -0
  125. package/dist/constructs/v1beta3/design/Design.d.ts +5704 -0
  126. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +2 -0
  127. package/dist/constructs/v1beta3/environment/Environment.d.ts +785 -0
  128. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +2 -0
  129. package/dist/constructs/v1beta3/event/Event.d.ts +720 -0
  130. package/dist/constructs/v1beta3/event/EventSchema.d.ts +2 -0
  131. package/dist/constructs/v1beta3/filter/Filter.d.ts +1452 -0
  132. package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +2 -0
  133. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1060 -0
  134. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +2 -0
  135. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +813 -0
  136. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +2 -0
  137. package/dist/constructs/v1beta3/plan/Plan.d.ts +199 -0
  138. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +2 -0
  139. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2134 -0
  140. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +2 -0
  141. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +915 -0
  142. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +2 -0
  143. package/dist/constructs/v1beta3/token/Token.d.ts +544 -0
  144. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +2 -0
  145. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5086 -0
  146. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +2 -0
  147. package/dist/index.js +1 -1
  148. package/dist/index.mjs +1 -1
  149. package/dist/mesheryApi.d.mts +546 -546
  150. package/dist/mesheryApi.d.ts +546 -546
  151. package/package.json +2 -2
@@ -0,0 +1,1598 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
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";
62
+ };
63
+ Location: {
64
+ /** @description The svg of the location. */
65
+ svg: string;
66
+ /** @description The location of the location. */
67
+ location: string;
68
+ };
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
+ };
94
+ };
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;
107
+ };
108
+ mobileView: {
109
+ /** @description The svg of the location. */
110
+ svg: string;
111
+ /** @description The location of the location. */
112
+ location: string;
113
+ };
114
+ darkDesktopView: {
115
+ /** @description The svg of the location. */
116
+ svg: string;
117
+ /** @description The location of the location. */
118
+ location: string;
119
+ };
120
+ darkMobileView: {
121
+ /** @description The svg of the location. */
122
+ svg: string;
123
+ /** @description The location of the location. */
124
+ location: string;
125
+ };
126
+ };
127
+ /** @description The vars of the theme. */
128
+ vars?: { [key: string]: unknown };
129
+ };
130
+ /** @description Preferences specific to dashboard behavior */
131
+ DashboardPrefs: { [key: string]: unknown };
132
+ Preferences: {
133
+ theme: {
134
+ /**
135
+ * Format: uuid
136
+ * @description Theme ID.
137
+ */
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: {
159
+ /** @description The svg of the location. */
160
+ svg: string;
161
+ /** @description The location of the location. */
162
+ location: string;
163
+ };
164
+ };
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: {
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: {
241
+ /** @description The svg of the location. */
242
+ svg: string;
243
+ /** @description The location of the location. */
244
+ location: string;
245
+ };
246
+ mobileView: {
247
+ /** @description The svg of the location. */
248
+ svg: string;
249
+ /** @description The location of the location. */
250
+ location: string;
251
+ };
252
+ darkDesktopView: {
253
+ /** @description The svg of the location. */
254
+ svg: string;
255
+ /** @description The location of the location. */
256
+ location: string;
257
+ };
258
+ darkMobileView: {
259
+ /** @description The svg of the location. */
260
+ svg: string;
261
+ /** @description The location of the location. */
262
+ location: string;
263
+ };
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 };
270
+ };
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: {
295
+ /**
296
+ * Format: uuid
297
+ * @description Theme ID.
298
+ */
299
+ id: string;
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: {
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?: { [key: string]: unknown };
395
+ };
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 };
464
+ };
465
+ /** @description Preferences specific to dashboard behavior */
466
+ dashboard: { [key: string]: unknown };
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
+ };
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 };
519
+ };
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?: {
651
+ theme: {
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: {
745
+ /** @description The svg of the location. */
746
+ svg: string;
747
+ /** @description The location of the location. */
748
+ location: string;
749
+ };
750
+ mobileView: {
751
+ /** @description The svg of the location. */
752
+ svg: string;
753
+ /** @description The location of the location. */
754
+ location: string;
755
+ };
756
+ darkDesktopView: {
757
+ /** @description The svg of the location. */
758
+ svg: string;
759
+ /** @description The location of the location. */
760
+ location: string;
761
+ };
762
+ darkMobileView: {
763
+ /** @description The svg of the location. */
764
+ svg: string;
765
+ /** @description The location of the location. */
766
+ location: string;
767
+ };
768
+ };
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
+ };
784
+ };
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: {
830
+ /**
831
+ * Format: uuid
832
+ * @description Theme ID.
833
+ */
834
+ id: string;
835
+ logo: {
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
+ };
860
+ };
861
+ /** @description The vars of the theme. */
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;
920
+ };
921
+ mobileView: {
922
+ /** @description The svg of the location. */
923
+ svg: string;
924
+ /** @description The location of the location. */
925
+ location: string;
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 };
942
+ };
943
+ /** @description Preferences specific to dashboard behavior */
944
+ dashboard: { [key: string]: unknown };
945
+ };
946
+ };
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": {
961
+ /**
962
+ * Format: uuid
963
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
964
+ */
965
+ id: string;
966
+ /** @description Name of the organization. */
967
+ name: string;
968
+ /** @description The country of the organization. */
969
+ country: string;
970
+ /** @description The region of the organization. */
971
+ region: string;
972
+ /** @description Description of the organization. */
973
+ description: string;
974
+ /**
975
+ * Format: uuid
976
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
977
+ */
978
+ owner: string;
979
+ metadata: {
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;
993
+ };
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;
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 };
1015
+ };
1016
+ /** @description Preferences specific to dashboard behavior */
1017
+ dashboard: { [key: string]: unknown };
1018
+ };
1019
+ };
1020
+ /** Format: date-time */
1021
+ created_at: string;
1022
+ /** Format: date-time */
1023
+ updated_at: string;
1024
+ /** Format: date-time */
1025
+ deleted_at?: string;
1026
+ /** @description The domain of the organization. */
1027
+ domain?: string | null;
1028
+ };
1029
+ };
1030
+ };
1031
+ /** Expired JWT token used or insufficient privilege */
1032
+ 401: {
1033
+ content: {
1034
+ "text/plain": string;
1035
+ };
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": {
1055
+ /** @description Current page number of the result set. */
1056
+ page?: number;
1057
+ /** @description Number of items per page. */
1058
+ page_size?: number;
1059
+ /** @description Total number of items available. */
1060
+ total_count?: number;
1061
+ /** @description The organizations of the organizationpage. */
1062
+ organizations?: {
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: {
1076
+ /**
1077
+ * Format: uuid
1078
+ * @description Theme ID.
1079
+ */
1080
+ id: string;
1081
+ logo: {
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
+ };
1106
+ };
1107
+ /** @description The vars of the theme. */
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
+ };
1122
+ };
1123
+ };
1124
+ /** Expired JWT token used or insufficient privilege */
1125
+ 401: {
1126
+ content: {
1127
+ "text/plain": string;
1128
+ };
1129
+ };
1130
+ /** Result not found */
1131
+ 404: {
1132
+ content: {
1133
+ "text/plain": string;
1134
+ };
1135
+ };
1136
+ /** Internal server error */
1137
+ 500: {
1138
+ content: {
1139
+ "text/plain": string;
1140
+ };
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": {
1156
+ /** @description Current page number of the result set. */
1157
+ page?: number;
1158
+ /** @description Number of items per page. */
1159
+ page_size?: number;
1160
+ /** @description Total number of items available. */
1161
+ total_count?: number;
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;
1221
+ }[];
1222
+ };
1223
+ };
1224
+ };
1225
+ /** Invalid request body or request param */
1226
+ 400: {
1227
+ content: {
1228
+ "text/plain": string;
1229
+ };
1230
+ };
1231
+ /** Expired JWT token used or insufficient privilege */
1232
+ 401: {
1233
+ content: {
1234
+ "text/plain": string;
1235
+ };
1236
+ };
1237
+ /** Result not found */
1238
+ 404: {
1239
+ content: {
1240
+ "text/plain": string;
1241
+ };
1242
+ };
1243
+ /** Internal server error */
1244
+ 500: {
1245
+ content: {
1246
+ "text/plain": string;
1247
+ };
1248
+ };
1249
+ };
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;
1273
+ };
1274
+ mobileView: {
1275
+ /** @description The svg of the location. */
1276
+ svg: string;
1277
+ /** @description The location of the location. */
1278
+ location: string;
1279
+ };
1280
+ darkDesktopView: {
1281
+ /** @description The svg of the location. */
1282
+ svg: string;
1283
+ /** @description The location of the location. */
1284
+ location: string;
1285
+ };
1286
+ darkMobileView: {
1287
+ /** @description The svg of the location. */
1288
+ svg: string;
1289
+ /** @description The location of the location. */
1290
+ location: string;
1291
+ };
1292
+ };
1293
+ /** @description The vars of the theme. */
1294
+ vars?: { [key: string]: unknown };
1295
+ };
1296
+ /** @description Preferences specific to dashboard behavior */
1297
+ dashboard: { [key: string]: unknown };
1298
+ };
1299
+ };
1300
+ };
1301
+ };
1302
+ };
1303
+ /** Deletes the organization. */
1304
+ deleteOrg: {
1305
+ parameters: {
1306
+ path: {
1307
+ orgId: string;
1308
+ };
1309
+ };
1310
+ responses: {
1311
+ /** Organization deleted */
1312
+ 204: never;
1313
+ /** Invalid request body or request param */
1314
+ 400: {
1315
+ content: {
1316
+ "text/plain": string;
1317
+ };
1318
+ };
1319
+ /** Expired JWT token used or insufficient privilege */
1320
+ 401: {
1321
+ content: {
1322
+ "text/plain": string;
1323
+ };
1324
+ };
1325
+ /** Result not found */
1326
+ 404: {
1327
+ content: {
1328
+ "text/plain": string;
1329
+ };
1330
+ };
1331
+ /** Internal server error */
1332
+ 500: {
1333
+ content: {
1334
+ "text/plain": string;
1335
+ };
1336
+ };
1337
+ };
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
+ };
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 };
1389
+ };
1390
+ };
1391
+ };
1392
+ };
1393
+ /** Expired JWT token used or insufficient privilege */
1394
+ 401: {
1395
+ content: {
1396
+ "text/plain": string;
1397
+ };
1398
+ };
1399
+ /** Result not found */
1400
+ 404: {
1401
+ content: {
1402
+ "text/plain": string;
1403
+ };
1404
+ };
1405
+ /** Internal server error */
1406
+ 500: {
1407
+ content: {
1408
+ "text/plain": string;
1409
+ };
1410
+ };
1411
+ };
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
+ };
1420
+ };
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
+ };
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;
1482
+ };
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";
1491
+ };
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
+ };
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;
1540
+ };
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 };
1554
+ };
1555
+ };
1556
+ /** Invalid request body or request param */
1557
+ 400: {
1558
+ content: {
1559
+ "text/plain": string;
1560
+ };
1561
+ };
1562
+ /** Unauthorized */
1563
+ 401: unknown;
1564
+ /** Result not found */
1565
+ 404: {
1566
+ content: {
1567
+ "text/plain": string;
1568
+ };
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;
1590
+ };
1591
+ };
1592
+ /** Internal server error */
1593
+ 500: unknown;
1594
+ };
1595
+ };
1596
+ }
1597
+
1598
+ export interface external {}