@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,46 +4,221 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/entitlement/features": {
8
- parameters: {
9
- query?: never;
10
- header?: never;
11
- path?: never;
12
- cookie?: never;
13
- };
14
- /** Get all features defined across plans */
15
- get: operations["getFeatures"];
16
- put?: never;
17
- post?: never;
18
- delete?: never;
19
- options?: never;
20
- head?: never;
21
- patch?: never;
22
- trace?: never;
7
+ "/api/entitlement/features": {
8
+ get: operations["getFeatures"];
9
+ };
10
+ "/api/entitlement/subscriptions/organizations/{orgId}/features": {
11
+ get: operations["getFeaturesByOrganization"];
12
+ };
13
+ }
14
+
15
+ export interface components {
16
+ schemas: {
17
+ /** @description A feature is a quantified entitlement granted to an organization through its subscription plan, such as the number of components allowed in a design. */
18
+ Feature: {
19
+ /**
20
+ * Format: uuid
21
+ * @description Unique identifier for the feature.
22
+ */
23
+ id: string;
24
+ /**
25
+ * Format: uuid
26
+ * @description Identifier of the plan granting this feature.
27
+ */
28
+ plan_id: string;
29
+ /** @description The plan granting this feature. Populated only when the association is explicitly loaded. */
30
+ plan?: {
31
+ /**
32
+ * Format: uuid
33
+ * @description Unique identifier for the plan.
34
+ */
35
+ id: string;
36
+ /**
37
+ * @description Display name of the plan.
38
+ * @enum {string}
39
+ */
40
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
41
+ /**
42
+ * @description Billing cadence for the plan (monthly, annually, or none).
43
+ * @enum {string}
44
+ */
45
+ cadence: "none" | "monthly" | "annually";
46
+ /**
47
+ * @description Unit of consumption this plan charges against (e.g. user).
48
+ * @enum {string}
49
+ */
50
+ unit: "user" | "free";
51
+ /** @description Minimum number of units required for the plan. */
52
+ minimumUnits: number;
53
+ /** @description Price per unit of the plan. */
54
+ pricePerUnit: number;
55
+ /**
56
+ * @description Currency in which the plan is priced.
57
+ * @enum {string}
58
+ */
59
+ currency: "usd";
60
+ };
61
+ /**
62
+ * @description Name of the entitled feature.
63
+ * @enum {string}
64
+ */
65
+ name:
66
+ | "ComponentsInDesign"
67
+ | "RelationshipsInDesign"
68
+ | "DesignsInWorkspace"
69
+ | "WorkspacesInOrganization"
70
+ | "ImageSizeInDesign"
71
+ | "SizePerDesign";
72
+ /**
73
+ * Format: double
74
+ * @description Quantity of the feature granted by the plan. The sentinel value 999999999999 denotes unlimited.
75
+ */
76
+ quantity: number;
77
+ /**
78
+ * Format: date-time
79
+ * @description Timestamp when the resource was created.
80
+ */
81
+ created_at: string;
82
+ /**
83
+ * Format: date-time
84
+ * @description Timestamp when the resource was updated.
85
+ */
86
+ updated_at: string;
23
87
  };
24
- "/api/entitlement/subscriptions/organizations/{orgId}/features": {
25
- parameters: {
26
- query?: never;
27
- header?: never;
28
- path?: never;
29
- cookie?: never;
30
- };
31
- /** Get the active features entitled to an organization through its subscriptions */
32
- get: operations["getFeaturesByOrganization"];
33
- put?: never;
34
- post?: never;
35
- delete?: never;
36
- options?: never;
37
- head?: never;
38
- patch?: never;
39
- trace?: never;
88
+ /**
89
+ * @description Enumeration of feature names that can be granted by a plan.
90
+ * @enum {string}
91
+ */
92
+ FeatureName:
93
+ | "ComponentsInDesign"
94
+ | "RelationshipsInDesign"
95
+ | "DesignsInWorkspace"
96
+ | "WorkspacesInOrganization"
97
+ | "ImageSizeInDesign"
98
+ | "SizePerDesign";
99
+ /** @description List of features. */
100
+ FeaturesPage: {
101
+ /**
102
+ * Format: uuid
103
+ * @description Unique identifier for the feature.
104
+ */
105
+ id: string;
106
+ /**
107
+ * Format: uuid
108
+ * @description Identifier of the plan granting this feature.
109
+ */
110
+ plan_id: string;
111
+ /** @description The plan granting this feature. Populated only when the association is explicitly loaded. */
112
+ plan?: {
113
+ /**
114
+ * Format: uuid
115
+ * @description Unique identifier for the plan.
116
+ */
117
+ id: string;
118
+ /**
119
+ * @description Display name of the plan.
120
+ * @enum {string}
121
+ */
122
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
123
+ /**
124
+ * @description Billing cadence for the plan (monthly, annually, or none).
125
+ * @enum {string}
126
+ */
127
+ cadence: "none" | "monthly" | "annually";
128
+ /**
129
+ * @description Unit of consumption this plan charges against (e.g. user).
130
+ * @enum {string}
131
+ */
132
+ unit: "user" | "free";
133
+ /** @description Minimum number of units required for the plan. */
134
+ minimumUnits: number;
135
+ /** @description Price per unit of the plan. */
136
+ pricePerUnit: number;
137
+ /**
138
+ * @description Currency in which the plan is priced.
139
+ * @enum {string}
140
+ */
141
+ currency: "usd";
142
+ };
143
+ /**
144
+ * @description Name of the entitled feature.
145
+ * @enum {string}
146
+ */
147
+ name:
148
+ | "ComponentsInDesign"
149
+ | "RelationshipsInDesign"
150
+ | "DesignsInWorkspace"
151
+ | "WorkspacesInOrganization"
152
+ | "ImageSizeInDesign"
153
+ | "SizePerDesign";
154
+ /**
155
+ * Format: double
156
+ * @description Quantity of the feature granted by the plan. The sentinel value 999999999999 denotes unlimited.
157
+ */
158
+ quantity: number;
159
+ /**
160
+ * Format: date-time
161
+ * @description Timestamp when the resource was created.
162
+ */
163
+ created_at: string;
164
+ /**
165
+ * Format: date-time
166
+ * @description Timestamp when the resource was updated.
167
+ */
168
+ updated_at: string;
169
+ }[];
170
+ };
171
+ responses: {
172
+ /** Invalid request body or request param */
173
+ 400: {
174
+ content: {
175
+ "text/plain": string;
176
+ };
40
177
  };
178
+ /** Expired JWT token used or insufficient privilege */
179
+ 401: {
180
+ content: {
181
+ "text/plain": string;
182
+ };
183
+ };
184
+ /** Result not found */
185
+ 404: {
186
+ content: {
187
+ "text/plain": string;
188
+ };
189
+ };
190
+ /** Internal server error */
191
+ 500: {
192
+ content: {
193
+ "text/plain": string;
194
+ };
195
+ };
196
+ };
197
+ parameters: {
198
+ /** @description The ID of the organization */
199
+ orgId: string;
200
+ /** @description Get responses by page */
201
+ page: string;
202
+ /** @description Get responses by pagesize */
203
+ pagesize: string;
204
+ };
41
205
  }
42
- export type webhooks = Record<string, never>;
43
- export interface components {
44
- schemas: {
45
- /** @description A feature is a quantified entitlement granted to an organization through its subscription plan, such as the number of components allowed in a design. */
46
- Feature: {
206
+
207
+ export interface operations {
208
+ getFeatures: {
209
+ parameters: {
210
+ query: {
211
+ /** Get responses by page */
212
+ page?: string;
213
+ /** Get responses by pagesize */
214
+ pagesize?: string;
215
+ };
216
+ };
217
+ responses: {
218
+ /** Features response */
219
+ 200: {
220
+ content: {
221
+ "application/json": {
47
222
  /**
48
223
  * Format: uuid
49
224
  * @description Unique identifier for the feature.
@@ -56,41 +231,47 @@ export interface components {
56
231
  plan_id: string;
57
232
  /** @description The plan granting this feature. Populated only when the association is explicitly loaded. */
58
233
  plan?: {
59
- /**
60
- * Format: uuid
61
- * @description Unique identifier for the plan.
62
- */
63
- id: string;
64
- /**
65
- * @description Display name of the plan.
66
- * @enum {string}
67
- */
68
- name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
69
- /**
70
- * @description Billing cadence for the plan (monthly, annually, or none).
71
- * @enum {string}
72
- */
73
- cadence: "none" | "monthly" | "annually";
74
- /**
75
- * @description Unit of consumption this plan charges against (e.g. user).
76
- * @enum {string}
77
- */
78
- unit: "user" | "free";
79
- /** @description Minimum number of units required for the plan. */
80
- minimumUnits: number;
81
- /** @description Price per unit of the plan. */
82
- pricePerUnit: number;
83
- /**
84
- * @description Currency in which the plan is priced.
85
- * @enum {string}
86
- */
87
- currency: "usd";
234
+ /**
235
+ * Format: uuid
236
+ * @description Unique identifier for the plan.
237
+ */
238
+ id: string;
239
+ /**
240
+ * @description Display name of the plan.
241
+ * @enum {string}
242
+ */
243
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
244
+ /**
245
+ * @description Billing cadence for the plan (monthly, annually, or none).
246
+ * @enum {string}
247
+ */
248
+ cadence: "none" | "monthly" | "annually";
249
+ /**
250
+ * @description Unit of consumption this plan charges against (e.g. user).
251
+ * @enum {string}
252
+ */
253
+ unit: "user" | "free";
254
+ /** @description Minimum number of units required for the plan. */
255
+ minimumUnits: number;
256
+ /** @description Price per unit of the plan. */
257
+ pricePerUnit: number;
258
+ /**
259
+ * @description Currency in which the plan is priced.
260
+ * @enum {string}
261
+ */
262
+ currency: "usd";
88
263
  };
89
264
  /**
90
265
  * @description Name of the entitled feature.
91
266
  * @enum {string}
92
267
  */
93
- name: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
268
+ name:
269
+ | "ComponentsInDesign"
270
+ | "RelationshipsInDesign"
271
+ | "DesignsInWorkspace"
272
+ | "WorkspacesInOrganization"
273
+ | "ImageSizeInDesign"
274
+ | "SizePerDesign";
94
275
  /**
95
276
  * Format: double
96
277
  * @description Quantity of the feature granted by the plan. The sentinel value 999999999999 denotes unlimited.
@@ -106,14 +287,41 @@ export interface components {
106
287
  * @description Timestamp when the resource was updated.
107
288
  */
108
289
  updated_at: string;
290
+ }[];
109
291
  };
110
- /**
111
- * @description Enumeration of feature names that can be granted by a plan.
112
- * @enum {string}
113
- */
114
- FeatureName: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
115
- /** @description List of features. */
116
- FeaturesPage: {
292
+ };
293
+ /** Invalid request body or request param */
294
+ 400: {
295
+ content: {
296
+ "text/plain": string;
297
+ };
298
+ };
299
+ /** Expired JWT token used or insufficient privilege */
300
+ 401: {
301
+ content: {
302
+ "text/plain": string;
303
+ };
304
+ };
305
+ /** Internal server error */
306
+ 500: {
307
+ content: {
308
+ "text/plain": string;
309
+ };
310
+ };
311
+ };
312
+ };
313
+ getFeaturesByOrganization: {
314
+ parameters: {
315
+ path: {
316
+ /** The ID of the organization */
317
+ orgId: string;
318
+ };
319
+ };
320
+ responses: {
321
+ /** Features response */
322
+ 200: {
323
+ content: {
324
+ "application/json": {
117
325
  /**
118
326
  * Format: uuid
119
327
  * @description Unique identifier for the feature.
@@ -126,41 +334,47 @@ export interface components {
126
334
  plan_id: string;
127
335
  /** @description The plan granting this feature. Populated only when the association is explicitly loaded. */
128
336
  plan?: {
129
- /**
130
- * Format: uuid
131
- * @description Unique identifier for the plan.
132
- */
133
- id: string;
134
- /**
135
- * @description Display name of the plan.
136
- * @enum {string}
137
- */
138
- name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
139
- /**
140
- * @description Billing cadence for the plan (monthly, annually, or none).
141
- * @enum {string}
142
- */
143
- cadence: "none" | "monthly" | "annually";
144
- /**
145
- * @description Unit of consumption this plan charges against (e.g. user).
146
- * @enum {string}
147
- */
148
- unit: "user" | "free";
149
- /** @description Minimum number of units required for the plan. */
150
- minimumUnits: number;
151
- /** @description Price per unit of the plan. */
152
- pricePerUnit: number;
153
- /**
154
- * @description Currency in which the plan is priced.
155
- * @enum {string}
156
- */
157
- currency: "usd";
337
+ /**
338
+ * Format: uuid
339
+ * @description Unique identifier for the plan.
340
+ */
341
+ id: string;
342
+ /**
343
+ * @description Display name of the plan.
344
+ * @enum {string}
345
+ */
346
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
347
+ /**
348
+ * @description Billing cadence for the plan (monthly, annually, or none).
349
+ * @enum {string}
350
+ */
351
+ cadence: "none" | "monthly" | "annually";
352
+ /**
353
+ * @description Unit of consumption this plan charges against (e.g. user).
354
+ * @enum {string}
355
+ */
356
+ unit: "user" | "free";
357
+ /** @description Minimum number of units required for the plan. */
358
+ minimumUnits: number;
359
+ /** @description Price per unit of the plan. */
360
+ pricePerUnit: number;
361
+ /**
362
+ * @description Currency in which the plan is priced.
363
+ * @enum {string}
364
+ */
365
+ currency: "usd";
158
366
  };
159
367
  /**
160
368
  * @description Name of the entitled feature.
161
369
  * @enum {string}
162
370
  */
163
- name: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
371
+ name:
372
+ | "ComponentsInDesign"
373
+ | "RelationshipsInDesign"
374
+ | "DesignsInWorkspace"
375
+ | "WorkspacesInOrganization"
376
+ | "ImageSizeInDesign"
377
+ | "SizePerDesign";
164
378
  /**
165
379
  * Format: double
166
380
  * @description Quantity of the feature granted by the plan. The sentinel value 999999999999 denotes unlimited.
@@ -176,295 +390,35 @@ export interface components {
176
390
  * @description Timestamp when the resource was updated.
177
391
  */
178
392
  updated_at: string;
179
- }[];
180
- };
181
- responses: {
182
- /** @description Invalid request body or request param */
183
- 400: {
184
- headers: {
185
- [name: string]: unknown;
186
- };
187
- content: {
188
- "text/plain": string;
189
- };
190
- };
191
- /** @description Expired JWT token used or insufficient privilege */
192
- 401: {
193
- headers: {
194
- [name: string]: unknown;
195
- };
196
- content: {
197
- "text/plain": string;
198
- };
199
- };
200
- /** @description Result not found */
201
- 404: {
202
- headers: {
203
- [name: string]: unknown;
204
- };
205
- content: {
206
- "text/plain": string;
207
- };
208
- };
209
- /** @description Internal server error */
210
- 500: {
211
- headers: {
212
- [name: string]: unknown;
213
- };
214
- content: {
215
- "text/plain": string;
216
- };
393
+ }[];
217
394
  };
218
- };
219
- parameters: {
220
- /** @description The ID of the organization */
221
- orgId: string;
222
- /** @description Get responses by page */
223
- page: string;
224
- /** @description Get responses by pagesize */
225
- pagesize: string;
226
- };
227
- requestBodies: never;
228
- headers: never;
229
- pathItems: never;
230
- }
231
- export type $defs = Record<string, never>;
232
- export interface operations {
233
- getFeatures: {
234
- parameters: {
235
- query?: {
236
- /** @description Get responses by page */
237
- page?: string;
238
- /** @description Get responses by pagesize */
239
- pagesize?: string;
240
- };
241
- header?: never;
242
- path?: never;
243
- cookie?: never;
395
+ };
396
+ /** Invalid request body or request param */
397
+ 400: {
398
+ content: {
399
+ "text/plain": string;
244
400
  };
245
- requestBody?: never;
246
- responses: {
247
- /** @description Features response */
248
- 200: {
249
- headers: {
250
- [name: string]: unknown;
251
- };
252
- content: {
253
- "application/json": {
254
- /**
255
- * Format: uuid
256
- * @description Unique identifier for the feature.
257
- */
258
- id: string;
259
- /**
260
- * Format: uuid
261
- * @description Identifier of the plan granting this feature.
262
- */
263
- plan_id: string;
264
- /** @description The plan granting this feature. Populated only when the association is explicitly loaded. */
265
- plan?: {
266
- /**
267
- * Format: uuid
268
- * @description Unique identifier for the plan.
269
- */
270
- id: string;
271
- /**
272
- * @description Display name of the plan.
273
- * @enum {string}
274
- */
275
- name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
276
- /**
277
- * @description Billing cadence for the plan (monthly, annually, or none).
278
- * @enum {string}
279
- */
280
- cadence: "none" | "monthly" | "annually";
281
- /**
282
- * @description Unit of consumption this plan charges against (e.g. user).
283
- * @enum {string}
284
- */
285
- unit: "user" | "free";
286
- /** @description Minimum number of units required for the plan. */
287
- minimumUnits: number;
288
- /** @description Price per unit of the plan. */
289
- pricePerUnit: number;
290
- /**
291
- * @description Currency in which the plan is priced.
292
- * @enum {string}
293
- */
294
- currency: "usd";
295
- };
296
- /**
297
- * @description Name of the entitled feature.
298
- * @enum {string}
299
- */
300
- name: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
301
- /**
302
- * Format: double
303
- * @description Quantity of the feature granted by the plan. The sentinel value 999999999999 denotes unlimited.
304
- */
305
- quantity: number;
306
- /**
307
- * Format: date-time
308
- * @description Timestamp when the resource was created.
309
- */
310
- created_at: string;
311
- /**
312
- * Format: date-time
313
- * @description Timestamp when the resource was updated.
314
- */
315
- updated_at: string;
316
- }[];
317
- };
318
- };
319
- /** @description Invalid request body or request param */
320
- 400: {
321
- headers: {
322
- [name: string]: unknown;
323
- };
324
- content: {
325
- "text/plain": string;
326
- };
327
- };
328
- /** @description Expired JWT token used or insufficient privilege */
329
- 401: {
330
- headers: {
331
- [name: string]: unknown;
332
- };
333
- content: {
334
- "text/plain": string;
335
- };
336
- };
337
- /** @description Internal server error */
338
- 500: {
339
- headers: {
340
- [name: string]: unknown;
341
- };
342
- content: {
343
- "text/plain": string;
344
- };
345
- };
401
+ };
402
+ /** Expired JWT token used or insufficient privilege */
403
+ 401: {
404
+ content: {
405
+ "text/plain": string;
346
406
  };
347
- };
348
- getFeaturesByOrganization: {
349
- parameters: {
350
- query?: never;
351
- header?: never;
352
- path: {
353
- /** @description The ID of the organization */
354
- orgId: string;
355
- };
356
- cookie?: never;
407
+ };
408
+ /** Result not found */
409
+ 404: {
410
+ content: {
411
+ "text/plain": string;
357
412
  };
358
- requestBody?: never;
359
- responses: {
360
- /** @description Features response */
361
- 200: {
362
- headers: {
363
- [name: string]: unknown;
364
- };
365
- content: {
366
- "application/json": {
367
- /**
368
- * Format: uuid
369
- * @description Unique identifier for the feature.
370
- */
371
- id: string;
372
- /**
373
- * Format: uuid
374
- * @description Identifier of the plan granting this feature.
375
- */
376
- plan_id: string;
377
- /** @description The plan granting this feature. Populated only when the association is explicitly loaded. */
378
- plan?: {
379
- /**
380
- * Format: uuid
381
- * @description Unique identifier for the plan.
382
- */
383
- id: string;
384
- /**
385
- * @description Display name of the plan.
386
- * @enum {string}
387
- */
388
- name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
389
- /**
390
- * @description Billing cadence for the plan (monthly, annually, or none).
391
- * @enum {string}
392
- */
393
- cadence: "none" | "monthly" | "annually";
394
- /**
395
- * @description Unit of consumption this plan charges against (e.g. user).
396
- * @enum {string}
397
- */
398
- unit: "user" | "free";
399
- /** @description Minimum number of units required for the plan. */
400
- minimumUnits: number;
401
- /** @description Price per unit of the plan. */
402
- pricePerUnit: number;
403
- /**
404
- * @description Currency in which the plan is priced.
405
- * @enum {string}
406
- */
407
- currency: "usd";
408
- };
409
- /**
410
- * @description Name of the entitled feature.
411
- * @enum {string}
412
- */
413
- name: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
414
- /**
415
- * Format: double
416
- * @description Quantity of the feature granted by the plan. The sentinel value 999999999999 denotes unlimited.
417
- */
418
- quantity: number;
419
- /**
420
- * Format: date-time
421
- * @description Timestamp when the resource was created.
422
- */
423
- created_at: string;
424
- /**
425
- * Format: date-time
426
- * @description Timestamp when the resource was updated.
427
- */
428
- updated_at: string;
429
- }[];
430
- };
431
- };
432
- /** @description Invalid request body or request param */
433
- 400: {
434
- headers: {
435
- [name: string]: unknown;
436
- };
437
- content: {
438
- "text/plain": string;
439
- };
440
- };
441
- /** @description Expired JWT token used or insufficient privilege */
442
- 401: {
443
- headers: {
444
- [name: string]: unknown;
445
- };
446
- content: {
447
- "text/plain": string;
448
- };
449
- };
450
- /** @description Result not found */
451
- 404: {
452
- headers: {
453
- [name: string]: unknown;
454
- };
455
- content: {
456
- "text/plain": string;
457
- };
458
- };
459
- /** @description Internal server error */
460
- 500: {
461
- headers: {
462
- [name: string]: unknown;
463
- };
464
- content: {
465
- "text/plain": string;
466
- };
467
- };
413
+ };
414
+ /** Internal server error */
415
+ 500: {
416
+ content: {
417
+ "text/plain": string;
468
418
  };
419
+ };
469
420
  };
421
+ };
470
422
  }
423
+
424
+ export interface external {}