@meshery/schemas 0.8.127 → 0.8.129
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.
- package/dist/{Core-vaTzd8cz.d.mts → Core-BiYtFM4v.d.mts} +1 -1
- package/dist/{Core-vaTzd8cz.d.ts → Core-BiYtFM4v.d.ts} +1 -1
- package/dist/cloudApi.d.mts +13676 -3825
- package/dist/cloudApi.d.ts +13676 -3825
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +1 -1
- package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
- package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
- package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.js +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
- package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
- package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
- package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.js +1 -0
- package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
- package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
- package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.js +2 -1
- package/dist/constructs/v1beta1/event/EventSchema.mjs +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.js +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.js +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.mjs +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +2 -1
- package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
- package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +2 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.js +2 -1
- package/dist/constructs/v1beta1/plan/PlanSchema.mjs +2 -1
- package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
- package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
- package/dist/constructs/v1beta1/role/Role.js +1 -0
- package/dist/constructs/v1beta1/role/Role.mjs +0 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
- package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
- package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +1 -1
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
- package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
- package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
- package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.js +2 -1
- package/dist/constructs/v1beta1/user/UserSchema.mjs +2 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +283 -43
- package/dist/index.mjs +283 -43
- package/dist/mesheryApi.d.mts +2025 -183
- package/dist/mesheryApi.d.ts +2025 -183
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -2,772 +2,6 @@
|
|
|
2
2
|
* This file was automatically generated from OpenAPI schema.
|
|
3
3
|
* Do not manually modify this file.
|
|
4
4
|
*/
|
|
5
|
-
declare const FeatureSchema:
|
|
6
|
-
readonly openapi: "3.0.0";
|
|
7
|
-
readonly info: {
|
|
8
|
-
readonly title: "feature";
|
|
9
|
-
readonly description: "OpenAPI schema for the Features construct with entitlement-related properties";
|
|
10
|
-
readonly version: "v1beta1";
|
|
11
|
-
};
|
|
12
|
-
readonly tags: readonly [{
|
|
13
|
-
readonly name: "Features";
|
|
14
|
-
readonly description: "Operations related to features and entitlements";
|
|
15
|
-
}];
|
|
16
|
-
readonly paths: {
|
|
17
|
-
readonly "/api/entitlement/features": {
|
|
18
|
-
readonly get: {
|
|
19
|
-
readonly "x-internal": readonly ["cloud"];
|
|
20
|
-
readonly operationId: "getFeatures";
|
|
21
|
-
readonly tags: readonly ["Features"];
|
|
22
|
-
readonly summary: "Get all features associated with plans";
|
|
23
|
-
readonly responses: {
|
|
24
|
-
readonly "200": {
|
|
25
|
-
readonly description: "Features fetched successfully";
|
|
26
|
-
readonly content: {
|
|
27
|
-
readonly "application/json": {
|
|
28
|
-
readonly schema: {
|
|
29
|
-
readonly type: "array";
|
|
30
|
-
readonly items: {
|
|
31
|
-
readonly "x-go-type": "Feature";
|
|
32
|
-
readonly type: "object";
|
|
33
|
-
readonly required: readonly ["id", "plan_id", "quantity", "feature"];
|
|
34
|
-
readonly properties: {
|
|
35
|
-
readonly id: {
|
|
36
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
37
|
-
readonly db: "id";
|
|
38
|
-
};
|
|
39
|
-
readonly type: "string";
|
|
40
|
-
readonly format: "uuid";
|
|
41
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
42
|
-
readonly "x-go-type": "uuid.UUID";
|
|
43
|
-
readonly "x-go-type-import": {
|
|
44
|
-
readonly path: "github.com/gofrs/uuid";
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
readonly plan_id: {
|
|
48
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
49
|
-
readonly db: "plan_id";
|
|
50
|
-
};
|
|
51
|
-
readonly type: "string";
|
|
52
|
-
readonly format: "uuid";
|
|
53
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
54
|
-
readonly "x-go-type": "uuid.UUID";
|
|
55
|
-
readonly "x-go-type-import": {
|
|
56
|
-
readonly path: "github.com/gofrs/uuid";
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
readonly plan: {
|
|
60
|
-
readonly "x-go-type": "plan.Plan";
|
|
61
|
-
readonly "x-go-type-import": {
|
|
62
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/plan";
|
|
63
|
-
};
|
|
64
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
65
|
-
readonly belongs_to: "plans";
|
|
66
|
-
readonly fk_id: "PlanId";
|
|
67
|
-
readonly yaml: "plan,omitempty";
|
|
68
|
-
readonly json: "plan,omitempty";
|
|
69
|
-
};
|
|
70
|
-
readonly type: "object";
|
|
71
|
-
readonly properties: {
|
|
72
|
-
readonly id: {
|
|
73
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
74
|
-
readonly db: "id";
|
|
75
|
-
readonly json: "id";
|
|
76
|
-
readonly csv: "id";
|
|
77
|
-
};
|
|
78
|
-
readonly type: "string";
|
|
79
|
-
readonly format: "uuid";
|
|
80
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
81
|
-
readonly "x-go-type": "uuid.UUID";
|
|
82
|
-
readonly "x-go-type-import": {
|
|
83
|
-
readonly path: "github.com/gofrs/uuid";
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
readonly name: {
|
|
87
|
-
readonly type: "string";
|
|
88
|
-
readonly "x-go-type": "PlanName";
|
|
89
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
90
|
-
readonly db: "name";
|
|
91
|
-
readonly json: "name";
|
|
92
|
-
readonly csv: "name";
|
|
93
|
-
};
|
|
94
|
-
readonly description: "Name of the plan";
|
|
95
|
-
readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
|
|
96
|
-
};
|
|
97
|
-
readonly cadence: {
|
|
98
|
-
readonly "x-go-type": "PlanCadence";
|
|
99
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
100
|
-
readonly db: "cadence";
|
|
101
|
-
readonly json: "cadence";
|
|
102
|
-
readonly csv: "cadence";
|
|
103
|
-
};
|
|
104
|
-
readonly type: "string";
|
|
105
|
-
readonly enum: readonly ["monthly", "yearly"];
|
|
106
|
-
};
|
|
107
|
-
readonly unit: {
|
|
108
|
-
readonly "x-go-type": "PlanUnit";
|
|
109
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
110
|
-
readonly db: "unit";
|
|
111
|
-
readonly json: "unit";
|
|
112
|
-
readonly csv: "unit";
|
|
113
|
-
};
|
|
114
|
-
readonly type: "string";
|
|
115
|
-
readonly enum: readonly ["user", "free"];
|
|
116
|
-
};
|
|
117
|
-
readonly minimum_units: {
|
|
118
|
-
readonly type: "integer";
|
|
119
|
-
readonly description: "Minimum number of units required for the plan";
|
|
120
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
121
|
-
readonly db: "minimum_units";
|
|
122
|
-
readonly json: "minimum_units";
|
|
123
|
-
readonly csv: "minimum_units";
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
readonly price_per_unit: {
|
|
127
|
-
readonly type: "number";
|
|
128
|
-
readonly description: "Price per unit of the plan";
|
|
129
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
130
|
-
readonly db: "price_per_unit";
|
|
131
|
-
readonly json: "price_per_unit";
|
|
132
|
-
readonly csv: "price_per_unit";
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
readonly currency: {
|
|
136
|
-
readonly "x-go-type": "Currency";
|
|
137
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
138
|
-
readonly db: "currency";
|
|
139
|
-
readonly json: "currency";
|
|
140
|
-
readonly csv: "currency";
|
|
141
|
-
};
|
|
142
|
-
readonly type: "string";
|
|
143
|
-
readonly enum: readonly ["usd"];
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
|
|
147
|
-
};
|
|
148
|
-
readonly name: {
|
|
149
|
-
readonly "x-go-type": "FeatureName";
|
|
150
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
151
|
-
readonly db: "name";
|
|
152
|
-
};
|
|
153
|
-
readonly type: "string";
|
|
154
|
-
readonly enum: readonly ["ComponentsInDesign", "RelationshipsInDesign", "DesignsInWorkspace", "WorkspacesInOrganization", "ImageSizeInDesign", "SizePerDesign"];
|
|
155
|
-
readonly description: "Enumeration of possible feature types";
|
|
156
|
-
};
|
|
157
|
-
readonly quantity: {
|
|
158
|
-
readonly type: "number";
|
|
159
|
-
readonly description: "Quantity of the feature allowed, use 9999999999 for unlimited";
|
|
160
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
161
|
-
readonly db: "quantity";
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
readonly created_at: {
|
|
165
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
166
|
-
readonly db: "created_at";
|
|
167
|
-
};
|
|
168
|
-
readonly type: "string";
|
|
169
|
-
readonly format: "date-time";
|
|
170
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
171
|
-
};
|
|
172
|
-
readonly updated_at: {
|
|
173
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
174
|
-
readonly db: "updated_at";
|
|
175
|
-
};
|
|
176
|
-
readonly type: "string";
|
|
177
|
-
readonly format: "date-time";
|
|
178
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
readonly additionalProperties: false;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
};
|
|
187
|
-
readonly "400": {
|
|
188
|
-
readonly description: "Invalid request body or request param";
|
|
189
|
-
readonly content: {
|
|
190
|
-
readonly "text/plain": {
|
|
191
|
-
readonly schema: {
|
|
192
|
-
readonly type: "string";
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
readonly "401": {
|
|
198
|
-
readonly description: "Expired JWT token used or insufficient privilege";
|
|
199
|
-
readonly content: {
|
|
200
|
-
readonly "text/plain": {
|
|
201
|
-
readonly schema: {
|
|
202
|
-
readonly type: "string";
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
readonly "500": {
|
|
208
|
-
readonly description: "Internal server error";
|
|
209
|
-
readonly content: {
|
|
210
|
-
readonly "text/plain": {
|
|
211
|
-
readonly schema: {
|
|
212
|
-
readonly type: "string";
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
readonly "/api/entitlement/subscriptions/organizations/{organizationId}/features": {
|
|
221
|
-
readonly get: {
|
|
222
|
-
readonly "x-internal": readonly ["cloud"];
|
|
223
|
-
readonly operationId: "getFeaturesByOrganization";
|
|
224
|
-
readonly tags: readonly ["Features"];
|
|
225
|
-
readonly summary: "Get all features associated with plans";
|
|
226
|
-
readonly parameters: readonly [{
|
|
227
|
-
readonly name: "organizationId";
|
|
228
|
-
readonly in: "path";
|
|
229
|
-
readonly description: "The ID of the organization";
|
|
230
|
-
readonly required: true;
|
|
231
|
-
readonly schema: {
|
|
232
|
-
readonly type: "string";
|
|
233
|
-
readonly format: "uuid";
|
|
234
|
-
readonly "x-go-type": "uuid.UUID";
|
|
235
|
-
readonly "x-go-type-import": {
|
|
236
|
-
readonly path: "github.com/gofrs/uuid";
|
|
237
|
-
};
|
|
238
|
-
};
|
|
239
|
-
}];
|
|
240
|
-
readonly responses: {
|
|
241
|
-
readonly "200": {
|
|
242
|
-
readonly description: "Features fetched successfully";
|
|
243
|
-
readonly content: {
|
|
244
|
-
readonly "application/json": {
|
|
245
|
-
readonly schema: {
|
|
246
|
-
readonly type: "array";
|
|
247
|
-
readonly items: {
|
|
248
|
-
readonly "x-go-type": "Feature";
|
|
249
|
-
readonly type: "object";
|
|
250
|
-
readonly required: readonly ["id", "plan_id", "quantity", "feature"];
|
|
251
|
-
readonly properties: {
|
|
252
|
-
readonly id: {
|
|
253
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
254
|
-
readonly db: "id";
|
|
255
|
-
};
|
|
256
|
-
readonly type: "string";
|
|
257
|
-
readonly format: "uuid";
|
|
258
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
259
|
-
readonly "x-go-type": "uuid.UUID";
|
|
260
|
-
readonly "x-go-type-import": {
|
|
261
|
-
readonly path: "github.com/gofrs/uuid";
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
readonly plan_id: {
|
|
265
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
266
|
-
readonly db: "plan_id";
|
|
267
|
-
};
|
|
268
|
-
readonly type: "string";
|
|
269
|
-
readonly format: "uuid";
|
|
270
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
271
|
-
readonly "x-go-type": "uuid.UUID";
|
|
272
|
-
readonly "x-go-type-import": {
|
|
273
|
-
readonly path: "github.com/gofrs/uuid";
|
|
274
|
-
};
|
|
275
|
-
};
|
|
276
|
-
readonly plan: {
|
|
277
|
-
readonly "x-go-type": "plan.Plan";
|
|
278
|
-
readonly "x-go-type-import": {
|
|
279
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/plan";
|
|
280
|
-
};
|
|
281
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
282
|
-
readonly belongs_to: "plans";
|
|
283
|
-
readonly fk_id: "PlanId";
|
|
284
|
-
readonly yaml: "plan,omitempty";
|
|
285
|
-
readonly json: "plan,omitempty";
|
|
286
|
-
};
|
|
287
|
-
readonly type: "object";
|
|
288
|
-
readonly properties: {
|
|
289
|
-
readonly id: {
|
|
290
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
291
|
-
readonly db: "id";
|
|
292
|
-
readonly json: "id";
|
|
293
|
-
readonly csv: "id";
|
|
294
|
-
};
|
|
295
|
-
readonly type: "string";
|
|
296
|
-
readonly format: "uuid";
|
|
297
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
298
|
-
readonly "x-go-type": "uuid.UUID";
|
|
299
|
-
readonly "x-go-type-import": {
|
|
300
|
-
readonly path: "github.com/gofrs/uuid";
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
readonly name: {
|
|
304
|
-
readonly type: "string";
|
|
305
|
-
readonly "x-go-type": "PlanName";
|
|
306
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
307
|
-
readonly db: "name";
|
|
308
|
-
readonly json: "name";
|
|
309
|
-
readonly csv: "name";
|
|
310
|
-
};
|
|
311
|
-
readonly description: "Name of the plan";
|
|
312
|
-
readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
|
|
313
|
-
};
|
|
314
|
-
readonly cadence: {
|
|
315
|
-
readonly "x-go-type": "PlanCadence";
|
|
316
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
317
|
-
readonly db: "cadence";
|
|
318
|
-
readonly json: "cadence";
|
|
319
|
-
readonly csv: "cadence";
|
|
320
|
-
};
|
|
321
|
-
readonly type: "string";
|
|
322
|
-
readonly enum: readonly ["monthly", "yearly"];
|
|
323
|
-
};
|
|
324
|
-
readonly unit: {
|
|
325
|
-
readonly "x-go-type": "PlanUnit";
|
|
326
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
327
|
-
readonly db: "unit";
|
|
328
|
-
readonly json: "unit";
|
|
329
|
-
readonly csv: "unit";
|
|
330
|
-
};
|
|
331
|
-
readonly type: "string";
|
|
332
|
-
readonly enum: readonly ["user", "free"];
|
|
333
|
-
};
|
|
334
|
-
readonly minimum_units: {
|
|
335
|
-
readonly type: "integer";
|
|
336
|
-
readonly description: "Minimum number of units required for the plan";
|
|
337
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
338
|
-
readonly db: "minimum_units";
|
|
339
|
-
readonly json: "minimum_units";
|
|
340
|
-
readonly csv: "minimum_units";
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
readonly price_per_unit: {
|
|
344
|
-
readonly type: "number";
|
|
345
|
-
readonly description: "Price per unit of the plan";
|
|
346
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
347
|
-
readonly db: "price_per_unit";
|
|
348
|
-
readonly json: "price_per_unit";
|
|
349
|
-
readonly csv: "price_per_unit";
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
readonly currency: {
|
|
353
|
-
readonly "x-go-type": "Currency";
|
|
354
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
355
|
-
readonly db: "currency";
|
|
356
|
-
readonly json: "currency";
|
|
357
|
-
readonly csv: "currency";
|
|
358
|
-
};
|
|
359
|
-
readonly type: "string";
|
|
360
|
-
readonly enum: readonly ["usd"];
|
|
361
|
-
};
|
|
362
|
-
};
|
|
363
|
-
readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
|
|
364
|
-
};
|
|
365
|
-
readonly name: {
|
|
366
|
-
readonly "x-go-type": "FeatureName";
|
|
367
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
368
|
-
readonly db: "name";
|
|
369
|
-
};
|
|
370
|
-
readonly type: "string";
|
|
371
|
-
readonly enum: readonly ["ComponentsInDesign", "RelationshipsInDesign", "DesignsInWorkspace", "WorkspacesInOrganization", "ImageSizeInDesign", "SizePerDesign"];
|
|
372
|
-
readonly description: "Enumeration of possible feature types";
|
|
373
|
-
};
|
|
374
|
-
readonly quantity: {
|
|
375
|
-
readonly type: "number";
|
|
376
|
-
readonly description: "Quantity of the feature allowed, use 9999999999 for unlimited";
|
|
377
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
378
|
-
readonly db: "quantity";
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
readonly created_at: {
|
|
382
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
383
|
-
readonly db: "created_at";
|
|
384
|
-
};
|
|
385
|
-
readonly type: "string";
|
|
386
|
-
readonly format: "date-time";
|
|
387
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
388
|
-
};
|
|
389
|
-
readonly updated_at: {
|
|
390
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
391
|
-
readonly db: "updated_at";
|
|
392
|
-
};
|
|
393
|
-
readonly type: "string";
|
|
394
|
-
readonly format: "date-time";
|
|
395
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
readonly additionalProperties: false;
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
};
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
|
-
readonly "400": {
|
|
405
|
-
readonly description: "Invalid request body or request param";
|
|
406
|
-
readonly content: {
|
|
407
|
-
readonly "text/plain": {
|
|
408
|
-
readonly schema: {
|
|
409
|
-
readonly type: "string";
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
};
|
|
413
|
-
};
|
|
414
|
-
readonly "401": {
|
|
415
|
-
readonly description: "Expired JWT token used or insufficient privilege";
|
|
416
|
-
readonly content: {
|
|
417
|
-
readonly "text/plain": {
|
|
418
|
-
readonly schema: {
|
|
419
|
-
readonly type: "string";
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
|
-
readonly "500": {
|
|
425
|
-
readonly description: "Internal server error";
|
|
426
|
-
readonly content: {
|
|
427
|
-
readonly "text/plain": {
|
|
428
|
-
readonly schema: {
|
|
429
|
-
readonly type: "string";
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
};
|
|
433
|
-
};
|
|
434
|
-
};
|
|
435
|
-
};
|
|
436
|
-
};
|
|
437
|
-
};
|
|
438
|
-
readonly components: {
|
|
439
|
-
readonly parameters: {
|
|
440
|
-
readonly organization_id: {
|
|
441
|
-
readonly name: "organizationId";
|
|
442
|
-
readonly in: "path";
|
|
443
|
-
readonly description: "The ID of the organization";
|
|
444
|
-
readonly required: true;
|
|
445
|
-
readonly schema: {
|
|
446
|
-
readonly type: "string";
|
|
447
|
-
readonly format: "uuid";
|
|
448
|
-
readonly "x-go-type": "uuid.UUID";
|
|
449
|
-
readonly "x-go-type-import": {
|
|
450
|
-
readonly path: "github.com/gofrs/uuid";
|
|
451
|
-
};
|
|
452
|
-
};
|
|
453
|
-
};
|
|
454
|
-
};
|
|
455
|
-
readonly schemas: {
|
|
456
|
-
readonly FeaturesPage: {
|
|
457
|
-
readonly type: "array";
|
|
458
|
-
readonly items: {
|
|
459
|
-
readonly "x-go-type": "Feature";
|
|
460
|
-
readonly type: "object";
|
|
461
|
-
readonly required: readonly ["id", "plan_id", "quantity", "feature"];
|
|
462
|
-
readonly properties: {
|
|
463
|
-
readonly id: {
|
|
464
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
465
|
-
readonly db: "id";
|
|
466
|
-
};
|
|
467
|
-
readonly type: "string";
|
|
468
|
-
readonly format: "uuid";
|
|
469
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
470
|
-
readonly "x-go-type": "uuid.UUID";
|
|
471
|
-
readonly "x-go-type-import": {
|
|
472
|
-
readonly path: "github.com/gofrs/uuid";
|
|
473
|
-
};
|
|
474
|
-
};
|
|
475
|
-
readonly plan_id: {
|
|
476
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
477
|
-
readonly db: "plan_id";
|
|
478
|
-
};
|
|
479
|
-
readonly type: "string";
|
|
480
|
-
readonly format: "uuid";
|
|
481
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
482
|
-
readonly "x-go-type": "uuid.UUID";
|
|
483
|
-
readonly "x-go-type-import": {
|
|
484
|
-
readonly path: "github.com/gofrs/uuid";
|
|
485
|
-
};
|
|
486
|
-
};
|
|
487
|
-
readonly plan: {
|
|
488
|
-
readonly "x-go-type": "plan.Plan";
|
|
489
|
-
readonly "x-go-type-import": {
|
|
490
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/plan";
|
|
491
|
-
};
|
|
492
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
493
|
-
readonly belongs_to: "plans";
|
|
494
|
-
readonly fk_id: "PlanId";
|
|
495
|
-
readonly yaml: "plan,omitempty";
|
|
496
|
-
readonly json: "plan,omitempty";
|
|
497
|
-
};
|
|
498
|
-
readonly type: "object";
|
|
499
|
-
readonly properties: {
|
|
500
|
-
readonly id: {
|
|
501
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
502
|
-
readonly db: "id";
|
|
503
|
-
readonly json: "id";
|
|
504
|
-
readonly csv: "id";
|
|
505
|
-
};
|
|
506
|
-
readonly type: "string";
|
|
507
|
-
readonly format: "uuid";
|
|
508
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
509
|
-
readonly "x-go-type": "uuid.UUID";
|
|
510
|
-
readonly "x-go-type-import": {
|
|
511
|
-
readonly path: "github.com/gofrs/uuid";
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
readonly name: {
|
|
515
|
-
readonly type: "string";
|
|
516
|
-
readonly "x-go-type": "PlanName";
|
|
517
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
518
|
-
readonly db: "name";
|
|
519
|
-
readonly json: "name";
|
|
520
|
-
readonly csv: "name";
|
|
521
|
-
};
|
|
522
|
-
readonly description: "Name of the plan";
|
|
523
|
-
readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
|
|
524
|
-
};
|
|
525
|
-
readonly cadence: {
|
|
526
|
-
readonly "x-go-type": "PlanCadence";
|
|
527
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
528
|
-
readonly db: "cadence";
|
|
529
|
-
readonly json: "cadence";
|
|
530
|
-
readonly csv: "cadence";
|
|
531
|
-
};
|
|
532
|
-
readonly type: "string";
|
|
533
|
-
readonly enum: readonly ["monthly", "yearly"];
|
|
534
|
-
};
|
|
535
|
-
readonly unit: {
|
|
536
|
-
readonly "x-go-type": "PlanUnit";
|
|
537
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
538
|
-
readonly db: "unit";
|
|
539
|
-
readonly json: "unit";
|
|
540
|
-
readonly csv: "unit";
|
|
541
|
-
};
|
|
542
|
-
readonly type: "string";
|
|
543
|
-
readonly enum: readonly ["user", "free"];
|
|
544
|
-
};
|
|
545
|
-
readonly minimum_units: {
|
|
546
|
-
readonly type: "integer";
|
|
547
|
-
readonly description: "Minimum number of units required for the plan";
|
|
548
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
549
|
-
readonly db: "minimum_units";
|
|
550
|
-
readonly json: "minimum_units";
|
|
551
|
-
readonly csv: "minimum_units";
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
|
-
readonly price_per_unit: {
|
|
555
|
-
readonly type: "number";
|
|
556
|
-
readonly description: "Price per unit of the plan";
|
|
557
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
558
|
-
readonly db: "price_per_unit";
|
|
559
|
-
readonly json: "price_per_unit";
|
|
560
|
-
readonly csv: "price_per_unit";
|
|
561
|
-
};
|
|
562
|
-
};
|
|
563
|
-
readonly currency: {
|
|
564
|
-
readonly "x-go-type": "Currency";
|
|
565
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
566
|
-
readonly db: "currency";
|
|
567
|
-
readonly json: "currency";
|
|
568
|
-
readonly csv: "currency";
|
|
569
|
-
};
|
|
570
|
-
readonly type: "string";
|
|
571
|
-
readonly enum: readonly ["usd"];
|
|
572
|
-
};
|
|
573
|
-
};
|
|
574
|
-
readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
|
|
575
|
-
};
|
|
576
|
-
readonly name: {
|
|
577
|
-
readonly "x-go-type": "FeatureName";
|
|
578
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
579
|
-
readonly db: "name";
|
|
580
|
-
};
|
|
581
|
-
readonly type: "string";
|
|
582
|
-
readonly enum: readonly ["ComponentsInDesign", "RelationshipsInDesign", "DesignsInWorkspace", "WorkspacesInOrganization", "ImageSizeInDesign", "SizePerDesign"];
|
|
583
|
-
readonly description: "Enumeration of possible feature types";
|
|
584
|
-
};
|
|
585
|
-
readonly quantity: {
|
|
586
|
-
readonly type: "number";
|
|
587
|
-
readonly description: "Quantity of the feature allowed, use 9999999999 for unlimited";
|
|
588
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
589
|
-
readonly db: "quantity";
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
readonly created_at: {
|
|
593
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
594
|
-
readonly db: "created_at";
|
|
595
|
-
};
|
|
596
|
-
readonly type: "string";
|
|
597
|
-
readonly format: "date-time";
|
|
598
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
599
|
-
};
|
|
600
|
-
readonly updated_at: {
|
|
601
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
602
|
-
readonly db: "updated_at";
|
|
603
|
-
};
|
|
604
|
-
readonly type: "string";
|
|
605
|
-
readonly format: "date-time";
|
|
606
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
607
|
-
};
|
|
608
|
-
};
|
|
609
|
-
readonly additionalProperties: false;
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
|
-
readonly FeatureName: {
|
|
613
|
-
readonly type: "string";
|
|
614
|
-
readonly enum: readonly ["ComponentsInDesign", "RelationshipsInDesign", "DesignsInWorkspace", "WorkspacesInOrganization", "ImageSizeInDesign", "SizePerDesign"];
|
|
615
|
-
readonly description: "Enumeration of possible feature types";
|
|
616
|
-
};
|
|
617
|
-
readonly Feature: {
|
|
618
|
-
readonly type: "object";
|
|
619
|
-
readonly required: readonly ["id", "plan_id", "quantity", "feature"];
|
|
620
|
-
readonly properties: {
|
|
621
|
-
readonly id: {
|
|
622
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
623
|
-
readonly db: "id";
|
|
624
|
-
};
|
|
625
|
-
readonly type: "string";
|
|
626
|
-
readonly format: "uuid";
|
|
627
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
628
|
-
readonly "x-go-type": "uuid.UUID";
|
|
629
|
-
readonly "x-go-type-import": {
|
|
630
|
-
readonly path: "github.com/gofrs/uuid";
|
|
631
|
-
};
|
|
632
|
-
};
|
|
633
|
-
readonly plan_id: {
|
|
634
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
635
|
-
readonly db: "plan_id";
|
|
636
|
-
};
|
|
637
|
-
readonly type: "string";
|
|
638
|
-
readonly format: "uuid";
|
|
639
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
640
|
-
readonly "x-go-type": "uuid.UUID";
|
|
641
|
-
readonly "x-go-type-import": {
|
|
642
|
-
readonly path: "github.com/gofrs/uuid";
|
|
643
|
-
};
|
|
644
|
-
};
|
|
645
|
-
readonly plan: {
|
|
646
|
-
readonly "x-go-type": "plan.Plan";
|
|
647
|
-
readonly "x-go-type-import": {
|
|
648
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/plan";
|
|
649
|
-
};
|
|
650
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
651
|
-
readonly belongs_to: "plans";
|
|
652
|
-
readonly fk_id: "PlanId";
|
|
653
|
-
readonly yaml: "plan,omitempty";
|
|
654
|
-
readonly json: "plan,omitempty";
|
|
655
|
-
};
|
|
656
|
-
readonly type: "object";
|
|
657
|
-
readonly properties: {
|
|
658
|
-
readonly id: {
|
|
659
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
660
|
-
readonly db: "id";
|
|
661
|
-
readonly json: "id";
|
|
662
|
-
readonly csv: "id";
|
|
663
|
-
};
|
|
664
|
-
readonly type: "string";
|
|
665
|
-
readonly format: "uuid";
|
|
666
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
667
|
-
readonly "x-go-type": "uuid.UUID";
|
|
668
|
-
readonly "x-go-type-import": {
|
|
669
|
-
readonly path: "github.com/gofrs/uuid";
|
|
670
|
-
};
|
|
671
|
-
};
|
|
672
|
-
readonly name: {
|
|
673
|
-
readonly type: "string";
|
|
674
|
-
readonly "x-go-type": "PlanName";
|
|
675
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
676
|
-
readonly db: "name";
|
|
677
|
-
readonly json: "name";
|
|
678
|
-
readonly csv: "name";
|
|
679
|
-
};
|
|
680
|
-
readonly description: "Name of the plan";
|
|
681
|
-
readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
|
|
682
|
-
};
|
|
683
|
-
readonly cadence: {
|
|
684
|
-
readonly "x-go-type": "PlanCadence";
|
|
685
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
686
|
-
readonly db: "cadence";
|
|
687
|
-
readonly json: "cadence";
|
|
688
|
-
readonly csv: "cadence";
|
|
689
|
-
};
|
|
690
|
-
readonly type: "string";
|
|
691
|
-
readonly enum: readonly ["monthly", "yearly"];
|
|
692
|
-
};
|
|
693
|
-
readonly unit: {
|
|
694
|
-
readonly "x-go-type": "PlanUnit";
|
|
695
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
696
|
-
readonly db: "unit";
|
|
697
|
-
readonly json: "unit";
|
|
698
|
-
readonly csv: "unit";
|
|
699
|
-
};
|
|
700
|
-
readonly type: "string";
|
|
701
|
-
readonly enum: readonly ["user", "free"];
|
|
702
|
-
};
|
|
703
|
-
readonly minimum_units: {
|
|
704
|
-
readonly type: "integer";
|
|
705
|
-
readonly description: "Minimum number of units required for the plan";
|
|
706
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
707
|
-
readonly db: "minimum_units";
|
|
708
|
-
readonly json: "minimum_units";
|
|
709
|
-
readonly csv: "minimum_units";
|
|
710
|
-
};
|
|
711
|
-
};
|
|
712
|
-
readonly price_per_unit: {
|
|
713
|
-
readonly type: "number";
|
|
714
|
-
readonly description: "Price per unit of the plan";
|
|
715
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
716
|
-
readonly db: "price_per_unit";
|
|
717
|
-
readonly json: "price_per_unit";
|
|
718
|
-
readonly csv: "price_per_unit";
|
|
719
|
-
};
|
|
720
|
-
};
|
|
721
|
-
readonly currency: {
|
|
722
|
-
readonly "x-go-type": "Currency";
|
|
723
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
724
|
-
readonly db: "currency";
|
|
725
|
-
readonly json: "currency";
|
|
726
|
-
readonly csv: "currency";
|
|
727
|
-
};
|
|
728
|
-
readonly type: "string";
|
|
729
|
-
readonly enum: readonly ["usd"];
|
|
730
|
-
};
|
|
731
|
-
};
|
|
732
|
-
readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
|
|
733
|
-
};
|
|
734
|
-
readonly name: {
|
|
735
|
-
readonly "x-go-type": "FeatureName";
|
|
736
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
737
|
-
readonly db: "name";
|
|
738
|
-
};
|
|
739
|
-
readonly type: "string";
|
|
740
|
-
readonly enum: readonly ["ComponentsInDesign", "RelationshipsInDesign", "DesignsInWorkspace", "WorkspacesInOrganization", "ImageSizeInDesign", "SizePerDesign"];
|
|
741
|
-
readonly description: "Enumeration of possible feature types";
|
|
742
|
-
};
|
|
743
|
-
readonly quantity: {
|
|
744
|
-
readonly type: "number";
|
|
745
|
-
readonly description: "Quantity of the feature allowed, use 9999999999 for unlimited";
|
|
746
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
747
|
-
readonly db: "quantity";
|
|
748
|
-
};
|
|
749
|
-
};
|
|
750
|
-
readonly created_at: {
|
|
751
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
752
|
-
readonly db: "created_at";
|
|
753
|
-
};
|
|
754
|
-
readonly type: "string";
|
|
755
|
-
readonly format: "date-time";
|
|
756
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
757
|
-
};
|
|
758
|
-
readonly updated_at: {
|
|
759
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
760
|
-
readonly db: "updated_at";
|
|
761
|
-
};
|
|
762
|
-
readonly type: "string";
|
|
763
|
-
readonly format: "date-time";
|
|
764
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
765
|
-
};
|
|
766
|
-
};
|
|
767
|
-
readonly additionalProperties: false;
|
|
768
|
-
};
|
|
769
|
-
};
|
|
770
|
-
};
|
|
771
|
-
};
|
|
5
|
+
declare const FeatureSchema: Record<string, unknown>;
|
|
772
6
|
|
|
773
7
|
export { FeatureSchema as default };
|