@cloudfleet/sdk 0.0.1-726a305 → 0.0.1-75259b5

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/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  export * from "./client.gen";
2
2
  export * from "./schemas.gen";
3
3
  export * from "./sdk.gen";
4
+ export * from "./services/kubernetes";
5
+ export * as KubernetesTypes from "./services/kubernetes/types";
4
6
  export * from "./types.gen";
5
7
  export * from "./zod.gen";
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  export * from "./client.gen";
2
2
  export * from "./schemas.gen";
3
3
  export * from "./sdk.gen";
4
+ export * from "./services/kubernetes";
5
+ export * as KubernetesTypes from "./services/kubernetes/types";
4
6
  export * from "./types.gen";
5
7
  export * from "./zod.gen";
6
8
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
@@ -71,6 +71,191 @@ export declare const BillingContactSchema: {
71
71
  readonly required: readonly ["email", "first_name", "last_name"];
72
72
  readonly additionalProperties: false;
73
73
  };
74
+ export declare const BillingCreditsSchema: {
75
+ readonly type: "object";
76
+ readonly properties: {
77
+ readonly id: {
78
+ readonly type: "string";
79
+ readonly description: "Generated unique identifier of the promotional code.";
80
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
81
+ };
82
+ readonly date_created: {
83
+ readonly type: "string";
84
+ readonly format: "date-time";
85
+ readonly description: "Date of the credit application. ISO 8601 date string in the UTC timezone.";
86
+ readonly example: "2023-12-20T13:53:32.000Z";
87
+ };
88
+ readonly code: {
89
+ readonly type: "string";
90
+ readonly description: "Promotional code used by the customer.";
91
+ readonly example: "VQ4SCMB";
92
+ };
93
+ readonly description: {
94
+ readonly type: "string";
95
+ readonly description: "Description of the promotional code.";
96
+ readonly example: "10% off on all products";
97
+ };
98
+ readonly products: {
99
+ readonly type: "array";
100
+ readonly items: {
101
+ readonly type: "string";
102
+ };
103
+ readonly description: "List of product SKUs that the promotional code can be used on.";
104
+ readonly example: readonly ["SKU123", "SKU456"];
105
+ };
106
+ readonly type: {
107
+ readonly type: "string";
108
+ readonly description: "Type of the promotional code.";
109
+ readonly example: "credit";
110
+ readonly enum: readonly ["credit", "discount"];
111
+ };
112
+ readonly value: {
113
+ readonly type: "number";
114
+ readonly format: "float";
115
+ readonly description: "Value of the promotional code.";
116
+ readonly example: 10;
117
+ };
118
+ readonly billing_period: {
119
+ readonly type: "string";
120
+ readonly format: "date-time";
121
+ readonly description: "Date of the billing cycle. An ISO 8601 date string in the UTC timezone.";
122
+ readonly example: "2023-12-20T13:53:32.000Z";
123
+ };
124
+ readonly value_remaining: {
125
+ readonly type: "number";
126
+ readonly format: "float";
127
+ readonly description: "Value of the promotional code.";
128
+ readonly example: 10;
129
+ };
130
+ };
131
+ readonly required: readonly ["date_created", "code", "type", "value", "billing_period"];
132
+ readonly additionalProperties: false;
133
+ };
134
+ export declare const ChartCreateInputSchema: {
135
+ readonly type: "object";
136
+ readonly properties: {
137
+ readonly values: {
138
+ readonly type: "string";
139
+ readonly description: "Values to be used in the chart.";
140
+ };
141
+ readonly version_channel: {
142
+ readonly type: "string";
143
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
144
+ readonly description: "Version of the chart.";
145
+ readonly example: "2.x.x-cfke.x";
146
+ };
147
+ readonly name: {
148
+ readonly type: "string";
149
+ readonly maxLength: 63;
150
+ readonly minLength: 1;
151
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
152
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
153
+ readonly example: "postgresql-0";
154
+ };
155
+ readonly namespace: {
156
+ readonly type: "string";
157
+ readonly maxLength: 63;
158
+ readonly minLength: 1;
159
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
160
+ readonly description: "Namespace of the chart deployment";
161
+ readonly example: "default";
162
+ };
163
+ readonly chart: {
164
+ readonly type: "string";
165
+ readonly maxLength: 63;
166
+ readonly minLength: 1;
167
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
168
+ readonly description: "Name of the chart listing";
169
+ readonly example: "postgresql";
170
+ };
171
+ };
172
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart"];
173
+ readonly additionalProperties: false;
174
+ };
175
+ export declare const ChartSchema: {
176
+ readonly type: "object";
177
+ readonly properties: {
178
+ readonly values: {
179
+ readonly type: "string";
180
+ readonly description: "Values to be used in the chart.";
181
+ };
182
+ readonly version_channel: {
183
+ readonly type: "string";
184
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
185
+ readonly description: "Version of the chart.";
186
+ readonly example: "2.x.x-cfke.x";
187
+ };
188
+ readonly name: {
189
+ readonly type: "string";
190
+ readonly maxLength: 63;
191
+ readonly minLength: 1;
192
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
193
+ readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
194
+ readonly example: "postgresql-0";
195
+ };
196
+ readonly namespace: {
197
+ readonly type: "string";
198
+ readonly maxLength: 63;
199
+ readonly minLength: 1;
200
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
201
+ readonly description: "Namespace of the chart deployment";
202
+ readonly example: "default";
203
+ };
204
+ readonly chart: {
205
+ readonly type: "string";
206
+ readonly maxLength: 63;
207
+ readonly minLength: 1;
208
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
209
+ readonly description: "Name of the chart listing";
210
+ readonly example: "postgresql";
211
+ };
212
+ readonly status: {
213
+ readonly type: "string";
214
+ readonly description: "Status of the chart deployment.";
215
+ readonly example: "active";
216
+ readonly enum: readonly ["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady"];
217
+ };
218
+ readonly version_current: {
219
+ readonly type: "string";
220
+ readonly description: "Current version of the chart deployment.";
221
+ readonly example: "2.1.33-cfke.11";
222
+ };
223
+ readonly created_at: {
224
+ readonly type: "string";
225
+ readonly description: "Creation date and time of the chart deployment.";
226
+ readonly example: "2024-09-12T09:11:27Z";
227
+ };
228
+ readonly updated_at: {
229
+ readonly type: "string";
230
+ readonly description: "Last update date and time of the chart deployment.";
231
+ readonly example: "2024-09-12T09:11:27Z";
232
+ };
233
+ readonly ready: {
234
+ readonly type: "boolean";
235
+ readonly description: "Indicates if the chart deployment is ready to be used.";
236
+ readonly example: true;
237
+ };
238
+ };
239
+ readonly required: readonly ["values", "version_channel", "name", "namespace", "chart", "status", "version_current", "created_at", "updated_at", "ready"];
240
+ readonly additionalProperties: false;
241
+ };
242
+ export declare const ChartUpdateInputSchema: {
243
+ readonly type: "object";
244
+ readonly properties: {
245
+ readonly values: {
246
+ readonly type: "string";
247
+ readonly description: "Values to be used in the chart.";
248
+ };
249
+ readonly version_channel: {
250
+ readonly type: "string";
251
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
252
+ readonly description: "Version of the chart.";
253
+ readonly example: "2.x.x-cfke.x";
254
+ };
255
+ };
256
+ readonly required: readonly ["values", "version_channel"];
257
+ readonly additionalProperties: false;
258
+ };
74
259
  export declare const ClusterCreateInputSchema: {
75
260
  readonly type: "object";
76
261
  readonly properties: {
@@ -921,6 +1106,54 @@ export declare const InvoiceSchema: {
921
1106
  };
922
1107
  readonly additionalProperties: false;
923
1108
  };
1109
+ export declare const MarketplaceListingSchema: {
1110
+ readonly type: "object";
1111
+ readonly properties: {
1112
+ readonly id: {
1113
+ readonly type: "string";
1114
+ readonly maxLength: 63;
1115
+ readonly minLength: 1;
1116
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1117
+ readonly description: "Id of the chart listing";
1118
+ readonly example: "portworx-enterprise-disaster-recovery-baremetal";
1119
+ };
1120
+ readonly name: {
1121
+ readonly type: "string";
1122
+ readonly description: "Name of the chart listing";
1123
+ readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
1124
+ };
1125
+ readonly developer: {
1126
+ readonly type: "string";
1127
+ readonly description: "Author of the chart listing";
1128
+ readonly example: "Portworx";
1129
+ };
1130
+ readonly description: {
1131
+ readonly type: "string";
1132
+ readonly description: "Short description of the chart listing";
1133
+ readonly example: "Run Kubernetes with unmatched scalability, availability, and self-service access to any storage";
1134
+ };
1135
+ readonly logoUrl: {
1136
+ readonly type: "string";
1137
+ readonly description: "Logo of the chart listing";
1138
+ readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
1139
+ };
1140
+ readonly longDescription: {
1141
+ readonly type: "string";
1142
+ readonly description: "Long description of the chart listing";
1143
+ readonly example: "Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....";
1144
+ };
1145
+ readonly categories: {
1146
+ readonly type: "array";
1147
+ readonly items: {
1148
+ readonly type: "string";
1149
+ readonly example: "AI & Machine Learning";
1150
+ };
1151
+ readonly description: "Tags of the chart";
1152
+ };
1153
+ };
1154
+ readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription"];
1155
+ readonly additionalProperties: false;
1156
+ };
924
1157
  export declare const OrganizationCreateInputSchema: {
925
1158
  readonly type: "object";
926
1159
  readonly properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.g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BAAsB;;;;;;;;;;;;;;;;;;;;CAoBzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCd,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;CAmBzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Fd,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDxB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDb,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCxB,CAAC"}
@@ -72,6 +72,191 @@ export const BillingContactSchema = {
72
72
  required: ['email', 'first_name', 'last_name'],
73
73
  additionalProperties: false
74
74
  };
75
+ export const BillingCreditsSchema = {
76
+ type: 'object',
77
+ properties: {
78
+ id: {
79
+ type: 'string',
80
+ description: 'Generated unique identifier of the promotional code.',
81
+ example: '7kUZnH7nnKUFfvc4NK2KQF'
82
+ },
83
+ date_created: {
84
+ type: 'string',
85
+ format: 'date-time',
86
+ description: 'Date of the credit application. ISO 8601 date string in the UTC timezone.',
87
+ example: '2023-12-20T13:53:32.000Z'
88
+ },
89
+ code: {
90
+ type: 'string',
91
+ description: 'Promotional code used by the customer.',
92
+ example: 'VQ4SCMB'
93
+ },
94
+ description: {
95
+ type: 'string',
96
+ description: 'Description of the promotional code.',
97
+ example: '10% off on all products'
98
+ },
99
+ products: {
100
+ type: 'array',
101
+ items: {
102
+ type: 'string'
103
+ },
104
+ description: 'List of product SKUs that the promotional code can be used on.',
105
+ example: ['SKU123', 'SKU456']
106
+ },
107
+ type: {
108
+ type: 'string',
109
+ description: 'Type of the promotional code.',
110
+ example: 'credit',
111
+ enum: ['credit', 'discount']
112
+ },
113
+ value: {
114
+ type: 'number',
115
+ format: 'float',
116
+ description: 'Value of the promotional code.',
117
+ example: 10
118
+ },
119
+ billing_period: {
120
+ type: 'string',
121
+ format: 'date-time',
122
+ description: 'Date of the billing cycle. An ISO 8601 date string in the UTC timezone.',
123
+ example: '2023-12-20T13:53:32.000Z'
124
+ },
125
+ value_remaining: {
126
+ type: 'number',
127
+ format: 'float',
128
+ description: 'Value of the promotional code.',
129
+ example: 10
130
+ }
131
+ },
132
+ required: ['date_created', 'code', 'type', 'value', 'billing_period'],
133
+ additionalProperties: false
134
+ };
135
+ export const ChartCreateInputSchema = {
136
+ type: 'object',
137
+ properties: {
138
+ values: {
139
+ type: 'string',
140
+ description: 'Values to be used in the chart.'
141
+ },
142
+ version_channel: {
143
+ type: 'string',
144
+ pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
145
+ description: 'Version of the chart.',
146
+ example: '2.x.x-cfke.x'
147
+ },
148
+ name: {
149
+ type: 'string',
150
+ maxLength: 63,
151
+ minLength: 1,
152
+ pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
153
+ description: 'Unique identifier of the chart deployment aka name of the helm release.',
154
+ example: 'postgresql-0'
155
+ },
156
+ namespace: {
157
+ type: 'string',
158
+ maxLength: 63,
159
+ minLength: 1,
160
+ pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
161
+ description: 'Namespace of the chart deployment',
162
+ example: 'default'
163
+ },
164
+ chart: {
165
+ type: 'string',
166
+ maxLength: 63,
167
+ minLength: 1,
168
+ pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
169
+ description: 'Name of the chart listing',
170
+ example: 'postgresql'
171
+ }
172
+ },
173
+ required: ['values', 'version_channel', 'name', 'namespace', 'chart'],
174
+ additionalProperties: false
175
+ };
176
+ export const ChartSchema = {
177
+ type: 'object',
178
+ properties: {
179
+ values: {
180
+ type: 'string',
181
+ description: 'Values to be used in the chart.'
182
+ },
183
+ version_channel: {
184
+ type: 'string',
185
+ pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
186
+ description: 'Version of the chart.',
187
+ example: '2.x.x-cfke.x'
188
+ },
189
+ name: {
190
+ type: 'string',
191
+ maxLength: 63,
192
+ minLength: 1,
193
+ pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
194
+ description: 'Unique identifier of the chart deployment aka name of the helm release.',
195
+ example: 'postgresql-0'
196
+ },
197
+ namespace: {
198
+ type: 'string',
199
+ maxLength: 63,
200
+ minLength: 1,
201
+ pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
202
+ description: 'Namespace of the chart deployment',
203
+ example: 'default'
204
+ },
205
+ chart: {
206
+ type: 'string',
207
+ maxLength: 63,
208
+ minLength: 1,
209
+ pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
210
+ description: 'Name of the chart listing',
211
+ example: 'postgresql'
212
+ },
213
+ status: {
214
+ type: 'string',
215
+ description: 'Status of the chart deployment.',
216
+ example: 'active',
217
+ enum: ['InstallSucceeded', 'InstallFailed', 'UpgradeSucceeded', 'UpgradeFailed', 'TestSucceeded', 'TestFailed', 'RollbackSucceeded', 'RollbackFailed', 'UninstallSucceeded', 'UninstallFailed', 'ArtifactFailed', 'DependencyNotReady']
218
+ },
219
+ version_current: {
220
+ type: 'string',
221
+ description: 'Current version of the chart deployment.',
222
+ example: '2.1.33-cfke.11'
223
+ },
224
+ created_at: {
225
+ type: 'string',
226
+ description: 'Creation date and time of the chart deployment.',
227
+ example: '2024-09-12T09:11:27Z'
228
+ },
229
+ updated_at: {
230
+ type: 'string',
231
+ description: 'Last update date and time of the chart deployment.',
232
+ example: '2024-09-12T09:11:27Z'
233
+ },
234
+ ready: {
235
+ type: 'boolean',
236
+ description: 'Indicates if the chart deployment is ready to be used.',
237
+ example: true
238
+ }
239
+ },
240
+ required: ['values', 'version_channel', 'name', 'namespace', 'chart', 'status', 'version_current', 'created_at', 'updated_at', 'ready'],
241
+ additionalProperties: false
242
+ };
243
+ export const ChartUpdateInputSchema = {
244
+ type: 'object',
245
+ properties: {
246
+ values: {
247
+ type: 'string',
248
+ description: 'Values to be used in the chart.'
249
+ },
250
+ version_channel: {
251
+ type: 'string',
252
+ pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
253
+ description: 'Version of the chart.',
254
+ example: '2.x.x-cfke.x'
255
+ }
256
+ },
257
+ required: ['values', 'version_channel'],
258
+ additionalProperties: false
259
+ };
75
260
  export const ClusterCreateInputSchema = {
76
261
  type: 'object',
77
262
  properties: {
@@ -948,6 +1133,54 @@ export const InvoiceSchema = {
948
1133
  },
949
1134
  additionalProperties: false
950
1135
  };
1136
+ export const MarketplaceListingSchema = {
1137
+ type: 'object',
1138
+ properties: {
1139
+ id: {
1140
+ type: 'string',
1141
+ maxLength: 63,
1142
+ minLength: 1,
1143
+ pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
1144
+ description: 'Id of the chart listing',
1145
+ example: 'portworx-enterprise-disaster-recovery-baremetal'
1146
+ },
1147
+ name: {
1148
+ type: 'string',
1149
+ description: 'Name of the chart listing',
1150
+ example: 'Portworx Enterprise + Disaster Recovery - Baremetal'
1151
+ },
1152
+ developer: {
1153
+ type: 'string',
1154
+ description: 'Author of the chart listing',
1155
+ example: 'Portworx'
1156
+ },
1157
+ description: {
1158
+ type: 'string',
1159
+ description: 'Short description of the chart listing',
1160
+ example: 'Run Kubernetes with unmatched scalability, availability, and self-service access to any storage'
1161
+ },
1162
+ logoUrl: {
1163
+ type: 'string',
1164
+ description: 'Logo of the chart listing',
1165
+ example: 'https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png'
1166
+ },
1167
+ longDescription: {
1168
+ type: 'string',
1169
+ description: 'Long description of the chart listing',
1170
+ example: 'Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....'
1171
+ },
1172
+ categories: {
1173
+ type: 'array',
1174
+ items: {
1175
+ type: 'string',
1176
+ example: 'AI & Machine Learning'
1177
+ },
1178
+ description: 'Tags of the chart'
1179
+ }
1180
+ },
1181
+ required: ['id', 'name', 'developer', 'description', 'logoUrl', 'longDescription'],
1182
+ additionalProperties: false
1183
+ };
951
1184
  export const OrganizationCreateInputSchema = {
952
1185
  type: 'object',
953
1186
  properties: {