@cloudfleet/sdk 0.0.1-e2d1408 → 0.0.1-f0c84a6
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/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +6 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/schemas.gen.d.ts +98 -276
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +99 -277
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +30 -14
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +69 -61
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +94 -208
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +222 -683
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +29 -70
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -5
package/dist/schemas.gen.js
CHANGED
|
@@ -1,4 +1,77 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export const BillingContactSchema = {
|
|
3
|
+
type: 'object',
|
|
4
|
+
properties: {
|
|
5
|
+
company: {
|
|
6
|
+
type: 'string',
|
|
7
|
+
maxLength: 120,
|
|
8
|
+
minLength: 2,
|
|
9
|
+
pattern: '^(?!\\s)(?!.*\\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$',
|
|
10
|
+
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
11
|
+
example: 'ACME Corp.'
|
|
12
|
+
},
|
|
13
|
+
address1: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
nullable: true,
|
|
16
|
+
description: 'Street address, P.O. box, c/o',
|
|
17
|
+
example: '123 Main St.'
|
|
18
|
+
},
|
|
19
|
+
address2: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
nullable: true,
|
|
22
|
+
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
23
|
+
example: 'Suite 100'
|
|
24
|
+
},
|
|
25
|
+
postalCode: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
nullable: true,
|
|
28
|
+
description: 'Postal code as a string.',
|
|
29
|
+
example: '94105'
|
|
30
|
+
},
|
|
31
|
+
city: {
|
|
32
|
+
type: 'string',
|
|
33
|
+
nullable: true,
|
|
34
|
+
description: 'City or town name.',
|
|
35
|
+
example: 'San Francisco'
|
|
36
|
+
},
|
|
37
|
+
state: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
nullable: true,
|
|
40
|
+
description: 'State, province, or region name.',
|
|
41
|
+
example: 'CA'
|
|
42
|
+
},
|
|
43
|
+
country: {
|
|
44
|
+
type: 'string',
|
|
45
|
+
nullable: true,
|
|
46
|
+
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
47
|
+
example: 'US'
|
|
48
|
+
},
|
|
49
|
+
phone: {
|
|
50
|
+
type: 'string',
|
|
51
|
+
nullable: true,
|
|
52
|
+
description: 'Phone number as a string.',
|
|
53
|
+
example: '+1 555 555 5555'
|
|
54
|
+
},
|
|
55
|
+
email: {
|
|
56
|
+
type: 'string',
|
|
57
|
+
format: 'email',
|
|
58
|
+
description: 'Email address used for billing as a string.',
|
|
59
|
+
example: 'email@example.com'
|
|
60
|
+
},
|
|
61
|
+
first_name: {
|
|
62
|
+
type: 'string',
|
|
63
|
+
description: 'First name of the billing contact person.',
|
|
64
|
+
example: 'John'
|
|
65
|
+
},
|
|
66
|
+
last_name: {
|
|
67
|
+
type: 'string',
|
|
68
|
+
description: 'Last name of the billing contact person.',
|
|
69
|
+
example: 'Doe'
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
required: ['email', 'first_name', 'last_name'],
|
|
73
|
+
additionalProperties: false
|
|
74
|
+
};
|
|
2
75
|
export const ClusterCreateInputSchema = {
|
|
3
76
|
type: 'object',
|
|
4
77
|
properties: {
|
|
@@ -1145,51 +1218,9 @@ export const InvoiceSchema = {
|
|
|
1145
1218
|
},
|
|
1146
1219
|
additionalProperties: false
|
|
1147
1220
|
};
|
|
1148
|
-
export const
|
|
1221
|
+
export const OrganizationCreateInputSchema = {
|
|
1149
1222
|
type: 'object',
|
|
1150
1223
|
properties: {
|
|
1151
|
-
address1: {
|
|
1152
|
-
type: 'string',
|
|
1153
|
-
nullable: true,
|
|
1154
|
-
description: 'Street address, P.O. box, c/o',
|
|
1155
|
-
example: '123 Main St.'
|
|
1156
|
-
},
|
|
1157
|
-
address2: {
|
|
1158
|
-
type: 'string',
|
|
1159
|
-
nullable: true,
|
|
1160
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1161
|
-
example: 'Suite 100'
|
|
1162
|
-
},
|
|
1163
|
-
postalCode: {
|
|
1164
|
-
type: 'string',
|
|
1165
|
-
nullable: true,
|
|
1166
|
-
description: 'Postal code as a string.',
|
|
1167
|
-
example: '94105'
|
|
1168
|
-
},
|
|
1169
|
-
city: {
|
|
1170
|
-
type: 'string',
|
|
1171
|
-
nullable: true,
|
|
1172
|
-
description: 'City or town name.',
|
|
1173
|
-
example: 'San Francisco'
|
|
1174
|
-
},
|
|
1175
|
-
state: {
|
|
1176
|
-
type: 'string',
|
|
1177
|
-
nullable: true,
|
|
1178
|
-
description: 'State, province, or region name.',
|
|
1179
|
-
example: 'CA'
|
|
1180
|
-
},
|
|
1181
|
-
country: {
|
|
1182
|
-
type: 'string',
|
|
1183
|
-
nullable: true,
|
|
1184
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1185
|
-
example: 'US'
|
|
1186
|
-
},
|
|
1187
|
-
phone: {
|
|
1188
|
-
type: 'string',
|
|
1189
|
-
nullable: true,
|
|
1190
|
-
description: 'Phone number as a string.',
|
|
1191
|
-
example: '+1 555 555 5555'
|
|
1192
|
-
},
|
|
1193
1224
|
email: {
|
|
1194
1225
|
type: 'string',
|
|
1195
1226
|
format: 'email',
|
|
@@ -1205,15 +1236,8 @@ export const OrganizationContactInfoSchema = {
|
|
|
1205
1236
|
type: 'string',
|
|
1206
1237
|
description: 'Last name of the billing contact person.',
|
|
1207
1238
|
example: 'Doe'
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1211
|
-
additionalProperties: false
|
|
1212
|
-
};
|
|
1213
|
-
export const OrganizationCreateInputSchema = {
|
|
1214
|
-
type: 'object',
|
|
1215
|
-
properties: {
|
|
1216
|
-
name: {
|
|
1239
|
+
},
|
|
1240
|
+
company_name: {
|
|
1217
1241
|
type: 'string',
|
|
1218
1242
|
maxLength: 120,
|
|
1219
1243
|
minLength: 2,
|
|
@@ -1221,150 +1245,31 @@ export const OrganizationCreateInputSchema = {
|
|
|
1221
1245
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1222
1246
|
example: 'ACME Corp.'
|
|
1223
1247
|
},
|
|
1224
|
-
contactInfo: {
|
|
1225
|
-
type: 'object',
|
|
1226
|
-
properties: {
|
|
1227
|
-
address1: {
|
|
1228
|
-
type: 'string',
|
|
1229
|
-
description: 'Street address, P.O. box, c/o',
|
|
1230
|
-
example: '123 Main St.'
|
|
1231
|
-
},
|
|
1232
|
-
address2: {
|
|
1233
|
-
type: 'string',
|
|
1234
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1235
|
-
example: 'Suite 100'
|
|
1236
|
-
},
|
|
1237
|
-
postalCode: {
|
|
1238
|
-
type: 'string',
|
|
1239
|
-
description: 'Postal code as a string.',
|
|
1240
|
-
example: '94105'
|
|
1241
|
-
},
|
|
1242
|
-
city: {
|
|
1243
|
-
type: 'string',
|
|
1244
|
-
description: 'City or town name.',
|
|
1245
|
-
example: 'San Francisco'
|
|
1246
|
-
},
|
|
1247
|
-
state: {
|
|
1248
|
-
type: 'string',
|
|
1249
|
-
description: 'State, province, or region name.',
|
|
1250
|
-
example: 'CA'
|
|
1251
|
-
},
|
|
1252
|
-
country: {
|
|
1253
|
-
type: 'string',
|
|
1254
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1255
|
-
example: 'US'
|
|
1256
|
-
},
|
|
1257
|
-
phone: {
|
|
1258
|
-
type: 'string',
|
|
1259
|
-
description: 'Phone number as a string.',
|
|
1260
|
-
example: '+1 555 555 5555'
|
|
1261
|
-
},
|
|
1262
|
-
email: {
|
|
1263
|
-
type: 'string',
|
|
1264
|
-
format: 'email',
|
|
1265
|
-
description: 'Email address used for billing as a string.',
|
|
1266
|
-
example: 'email@example.com'
|
|
1267
|
-
},
|
|
1268
|
-
first_name: {
|
|
1269
|
-
type: 'string',
|
|
1270
|
-
description: 'First name of the billing contact person.',
|
|
1271
|
-
example: 'John'
|
|
1272
|
-
},
|
|
1273
|
-
last_name: {
|
|
1274
|
-
type: 'string',
|
|
1275
|
-
description: 'Last name of the billing contact person.',
|
|
1276
|
-
example: 'Doe'
|
|
1277
|
-
}
|
|
1278
|
-
},
|
|
1279
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1280
|
-
additionalProperties: false,
|
|
1281
|
-
description: 'Organization contact information and billing address.'
|
|
1282
|
-
},
|
|
1283
1248
|
password: {
|
|
1284
1249
|
type: 'string',
|
|
1285
1250
|
minLength: 8,
|
|
1286
1251
|
description: 'Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.'
|
|
1287
1252
|
}
|
|
1288
1253
|
},
|
|
1289
|
-
required: ['
|
|
1254
|
+
required: ['email', 'first_name', 'last_name', 'company_name', 'password'],
|
|
1290
1255
|
additionalProperties: false
|
|
1291
1256
|
};
|
|
1292
1257
|
export const OrganizationSchema = {
|
|
1293
1258
|
type: 'object',
|
|
1294
1259
|
properties: {
|
|
1260
|
+
id: {
|
|
1261
|
+
type: 'string',
|
|
1262
|
+
format: 'uuid',
|
|
1263
|
+
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
1264
|
+
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
1265
|
+
},
|
|
1295
1266
|
name: {
|
|
1296
1267
|
type: 'string',
|
|
1297
1268
|
maxLength: 120,
|
|
1298
1269
|
minLength: 2,
|
|
1299
|
-
pattern: '^(?!\\s)(?!.*\\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$',
|
|
1300
1270
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1301
1271
|
example: 'ACME Corp.'
|
|
1302
1272
|
},
|
|
1303
|
-
contactInfo: {
|
|
1304
|
-
type: 'object',
|
|
1305
|
-
properties: {
|
|
1306
|
-
address1: {
|
|
1307
|
-
type: 'string',
|
|
1308
|
-
description: 'Street address, P.O. box, c/o',
|
|
1309
|
-
example: '123 Main St.'
|
|
1310
|
-
},
|
|
1311
|
-
address2: {
|
|
1312
|
-
type: 'string',
|
|
1313
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1314
|
-
example: 'Suite 100'
|
|
1315
|
-
},
|
|
1316
|
-
postalCode: {
|
|
1317
|
-
type: 'string',
|
|
1318
|
-
description: 'Postal code as a string.',
|
|
1319
|
-
example: '94105'
|
|
1320
|
-
},
|
|
1321
|
-
city: {
|
|
1322
|
-
type: 'string',
|
|
1323
|
-
description: 'City or town name.',
|
|
1324
|
-
example: 'San Francisco'
|
|
1325
|
-
},
|
|
1326
|
-
state: {
|
|
1327
|
-
type: 'string',
|
|
1328
|
-
description: 'State, province, or region name.',
|
|
1329
|
-
example: 'CA'
|
|
1330
|
-
},
|
|
1331
|
-
country: {
|
|
1332
|
-
type: 'string',
|
|
1333
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1334
|
-
example: 'US'
|
|
1335
|
-
},
|
|
1336
|
-
phone: {
|
|
1337
|
-
type: 'string',
|
|
1338
|
-
description: 'Phone number as a string.',
|
|
1339
|
-
example: '+1 555 555 5555'
|
|
1340
|
-
},
|
|
1341
|
-
email: {
|
|
1342
|
-
type: 'string',
|
|
1343
|
-
format: 'email',
|
|
1344
|
-
description: 'Email address used for billing as a string.',
|
|
1345
|
-
example: 'email@example.com'
|
|
1346
|
-
},
|
|
1347
|
-
first_name: {
|
|
1348
|
-
type: 'string',
|
|
1349
|
-
description: 'First name of the billing contact person.',
|
|
1350
|
-
example: 'John'
|
|
1351
|
-
},
|
|
1352
|
-
last_name: {
|
|
1353
|
-
type: 'string',
|
|
1354
|
-
description: 'Last name of the billing contact person.',
|
|
1355
|
-
example: 'Doe'
|
|
1356
|
-
}
|
|
1357
|
-
},
|
|
1358
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1359
|
-
additionalProperties: false,
|
|
1360
|
-
description: 'Organization contact information and billing address.'
|
|
1361
|
-
},
|
|
1362
|
-
id: {
|
|
1363
|
-
type: 'string',
|
|
1364
|
-
format: 'uuid',
|
|
1365
|
-
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
1366
|
-
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
1367
|
-
},
|
|
1368
1273
|
date_created: {
|
|
1369
1274
|
type: 'string',
|
|
1370
1275
|
format: 'date-time',
|
|
@@ -1453,96 +1358,13 @@ export const OrganizationSchema = {
|
|
|
1453
1358
|
additionalProperties: false,
|
|
1454
1359
|
description: 'For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.'
|
|
1455
1360
|
},
|
|
1456
|
-
pending_actions: {
|
|
1457
|
-
type: 'array',
|
|
1458
|
-
items: {
|
|
1459
|
-
type: 'string',
|
|
1460
|
-
example: 'signup-payment-method',
|
|
1461
|
-
enum: ['signup-billing-address', 'signup-payment-method', 'signup-invite-team', 'signup-create-cluster']
|
|
1462
|
-
},
|
|
1463
|
-
description: 'List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.'
|
|
1464
|
-
},
|
|
1465
1361
|
status: {
|
|
1466
1362
|
type: 'string',
|
|
1467
1363
|
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
1468
1364
|
enum: ['active', 'closed', 'suspended']
|
|
1469
1365
|
}
|
|
1470
1366
|
},
|
|
1471
|
-
required: ['
|
|
1472
|
-
additionalProperties: false
|
|
1473
|
-
};
|
|
1474
|
-
export const OrganizationUpdateInputSchema = {
|
|
1475
|
-
type: 'object',
|
|
1476
|
-
properties: {
|
|
1477
|
-
name: {
|
|
1478
|
-
type: 'string',
|
|
1479
|
-
maxLength: 120,
|
|
1480
|
-
minLength: 2,
|
|
1481
|
-
pattern: '^(?!\\s)(?!.*\\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$',
|
|
1482
|
-
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1483
|
-
example: 'ACME Corp.'
|
|
1484
|
-
},
|
|
1485
|
-
contactInfo: {
|
|
1486
|
-
type: 'object',
|
|
1487
|
-
properties: {
|
|
1488
|
-
address1: {
|
|
1489
|
-
type: 'string',
|
|
1490
|
-
description: 'Street address, P.O. box, c/o',
|
|
1491
|
-
example: '123 Main St.'
|
|
1492
|
-
},
|
|
1493
|
-
address2: {
|
|
1494
|
-
type: 'string',
|
|
1495
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1496
|
-
example: 'Suite 100'
|
|
1497
|
-
},
|
|
1498
|
-
postalCode: {
|
|
1499
|
-
type: 'string',
|
|
1500
|
-
description: 'Postal code as a string.',
|
|
1501
|
-
example: '94105'
|
|
1502
|
-
},
|
|
1503
|
-
city: {
|
|
1504
|
-
type: 'string',
|
|
1505
|
-
description: 'City or town name.',
|
|
1506
|
-
example: 'San Francisco'
|
|
1507
|
-
},
|
|
1508
|
-
state: {
|
|
1509
|
-
type: 'string',
|
|
1510
|
-
description: 'State, province, or region name.',
|
|
1511
|
-
example: 'CA'
|
|
1512
|
-
},
|
|
1513
|
-
country: {
|
|
1514
|
-
type: 'string',
|
|
1515
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1516
|
-
example: 'US'
|
|
1517
|
-
},
|
|
1518
|
-
phone: {
|
|
1519
|
-
type: 'string',
|
|
1520
|
-
description: 'Phone number as a string.',
|
|
1521
|
-
example: '+1 555 555 5555'
|
|
1522
|
-
},
|
|
1523
|
-
email: {
|
|
1524
|
-
type: 'string',
|
|
1525
|
-
format: 'email',
|
|
1526
|
-
description: 'Email address used for billing as a string.',
|
|
1527
|
-
example: 'email@example.com'
|
|
1528
|
-
},
|
|
1529
|
-
first_name: {
|
|
1530
|
-
type: 'string',
|
|
1531
|
-
description: 'First name of the billing contact person.',
|
|
1532
|
-
example: 'John'
|
|
1533
|
-
},
|
|
1534
|
-
last_name: {
|
|
1535
|
-
type: 'string',
|
|
1536
|
-
description: 'Last name of the billing contact person.',
|
|
1537
|
-
example: 'Doe'
|
|
1538
|
-
}
|
|
1539
|
-
},
|
|
1540
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1541
|
-
additionalProperties: false,
|
|
1542
|
-
description: 'Organization contact information and billing address.'
|
|
1543
|
-
}
|
|
1544
|
-
},
|
|
1545
|
-
required: ['contactInfo'],
|
|
1367
|
+
required: ['id', 'date_created', 'quota', 'status'],
|
|
1546
1368
|
additionalProperties: false
|
|
1547
1369
|
};
|
|
1548
1370
|
export const PaymentMethodSchema = {
|
|
@@ -1679,23 +1501,29 @@ export const TokenUpdateInputSchema = {
|
|
|
1679
1501
|
export const UsageSchema = {
|
|
1680
1502
|
type: 'object',
|
|
1681
1503
|
properties: {
|
|
1504
|
+
hour: {
|
|
1505
|
+
type: 'string',
|
|
1506
|
+
description: 'Hour of the usage',
|
|
1507
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
1508
|
+
},
|
|
1682
1509
|
cluster_id: {
|
|
1683
1510
|
type: 'string',
|
|
1684
1511
|
format: 'uuid',
|
|
1685
1512
|
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1686
1513
|
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1687
1514
|
},
|
|
1688
|
-
hour: {
|
|
1689
|
-
type: 'string',
|
|
1690
|
-
description: 'Hour of the usage',
|
|
1691
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1692
|
-
},
|
|
1693
1515
|
cluster_tier: {
|
|
1694
1516
|
type: 'string',
|
|
1695
1517
|
description: 'Tier of the cluster.',
|
|
1696
1518
|
example: 'pro',
|
|
1697
1519
|
enum: ['']
|
|
1698
1520
|
},
|
|
1521
|
+
product: {
|
|
1522
|
+
type: 'string',
|
|
1523
|
+
description: 'The product the usage is associated with',
|
|
1524
|
+
example: 'cfke_infra_compute',
|
|
1525
|
+
enum: ['cfke_infra_compute', 'cfke_nodes', 'cfke_controlplane']
|
|
1526
|
+
},
|
|
1699
1527
|
node_name: {
|
|
1700
1528
|
type: 'string',
|
|
1701
1529
|
description: 'Name of the Kubernetes node',
|
|
@@ -1734,12 +1562,12 @@ export const UsageSchema = {
|
|
|
1734
1562
|
}
|
|
1735
1563
|
]
|
|
1736
1564
|
},
|
|
1737
|
-
|
|
1565
|
+
value: {
|
|
1738
1566
|
anyOf: [
|
|
1739
1567
|
{
|
|
1740
1568
|
type: 'number',
|
|
1741
1569
|
format: 'float',
|
|
1742
|
-
description: '
|
|
1570
|
+
description: 'Value',
|
|
1743
1571
|
example: 4
|
|
1744
1572
|
},
|
|
1745
1573
|
{
|
|
@@ -1761,15 +1589,9 @@ export const UsageSchema = {
|
|
|
1761
1589
|
enum: ['']
|
|
1762
1590
|
}
|
|
1763
1591
|
]
|
|
1764
|
-
},
|
|
1765
|
-
usage_type: {
|
|
1766
|
-
type: 'string',
|
|
1767
|
-
description: 'Type of usage.',
|
|
1768
|
-
example: 'managed-compute',
|
|
1769
|
-
enum: ['managed-compute', 'control-plane-nodes', 'control-plane']
|
|
1770
1592
|
}
|
|
1771
1593
|
},
|
|
1772
|
-
required: ['cluster_id', 'cluster_tier', 'node_name', 'sku', 'cpu', 'price', '
|
|
1594
|
+
required: ['cluster_id', 'cluster_tier', 'product', 'node_name', 'sku', 'cpu', 'price', 'value', 'total'],
|
|
1773
1595
|
additionalProperties: false
|
|
1774
1596
|
};
|
|
1775
1597
|
export const UserCreateInputSchema = {
|
|
@@ -1804,7 +1626,7 @@ export const UserCreateInputSchema = {
|
|
|
1804
1626
|
password: {
|
|
1805
1627
|
type: 'string',
|
|
1806
1628
|
minLength: 8,
|
|
1807
|
-
description: 'User password. Must be at least 8 characters long
|
|
1629
|
+
description: 'User password. Must be at least 8 characters long.'
|
|
1808
1630
|
},
|
|
1809
1631
|
status: {
|
|
1810
1632
|
type: 'string',
|