@cloudfleet/sdk 0.0.1-76812fb → 0.0.1-76e2a56
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 +180 -279
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +193 -280
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +33 -17
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +71 -63
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +125 -216
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +295 -697
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +63 -67
- 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: {
|
|
@@ -81,9 +154,32 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
81
154
|
required: ['kubernetes', 'tailscale', 'containerd'],
|
|
82
155
|
additionalProperties: false,
|
|
83
156
|
description: 'Versions of the different components of the cluster.'
|
|
157
|
+
},
|
|
158
|
+
third_party_api_access_config: {
|
|
159
|
+
type: 'object',
|
|
160
|
+
properties: {
|
|
161
|
+
metadata_url: {
|
|
162
|
+
type: 'string',
|
|
163
|
+
description: 'Kubernetes metadata server.',
|
|
164
|
+
example: 'https://10.31.64.4'
|
|
165
|
+
},
|
|
166
|
+
aws_role_arn: {
|
|
167
|
+
type: 'string',
|
|
168
|
+
description: 'AWS Role ARN.',
|
|
169
|
+
example: 'arn:aws:iam::891376988828:role/0371f8fd-e164-48e1-b9e7-c3bdc3b4f403'
|
|
170
|
+
},
|
|
171
|
+
gcp_workload_identity_provider: {
|
|
172
|
+
type: 'string',
|
|
173
|
+
description: 'GCP Workload Identity provider.',
|
|
174
|
+
example: '//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc'
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
required: ['metadata_url', 'aws_role_arn', 'gcp_workload_identity_provider'],
|
|
178
|
+
additionalProperties: false,
|
|
179
|
+
description: "OIDC Information for hosts to access to third party API's."
|
|
84
180
|
}
|
|
85
181
|
},
|
|
86
|
-
required: ['certificate_authority', 'endpoint', 'auth_key', 'bootstrap_token', 'versions'],
|
|
182
|
+
required: ['certificate_authority', 'endpoint', 'auth_key', 'bootstrap_token', 'versions', 'third_party_api_access_config'],
|
|
87
183
|
additionalProperties: false
|
|
88
184
|
};
|
|
89
185
|
export const ClusterSchema = {
|
|
@@ -1122,51 +1218,9 @@ export const InvoiceSchema = {
|
|
|
1122
1218
|
},
|
|
1123
1219
|
additionalProperties: false
|
|
1124
1220
|
};
|
|
1125
|
-
export const
|
|
1221
|
+
export const OrganizationCreateInputSchema = {
|
|
1126
1222
|
type: 'object',
|
|
1127
1223
|
properties: {
|
|
1128
|
-
address1: {
|
|
1129
|
-
type: 'string',
|
|
1130
|
-
nullable: true,
|
|
1131
|
-
description: 'Street address, P.O. box, c/o',
|
|
1132
|
-
example: '123 Main St.'
|
|
1133
|
-
},
|
|
1134
|
-
address2: {
|
|
1135
|
-
type: 'string',
|
|
1136
|
-
nullable: true,
|
|
1137
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1138
|
-
example: 'Suite 100'
|
|
1139
|
-
},
|
|
1140
|
-
postalCode: {
|
|
1141
|
-
type: 'string',
|
|
1142
|
-
nullable: true,
|
|
1143
|
-
description: 'Postal code as a string.',
|
|
1144
|
-
example: '94105'
|
|
1145
|
-
},
|
|
1146
|
-
city: {
|
|
1147
|
-
type: 'string',
|
|
1148
|
-
nullable: true,
|
|
1149
|
-
description: 'City or town name.',
|
|
1150
|
-
example: 'San Francisco'
|
|
1151
|
-
},
|
|
1152
|
-
state: {
|
|
1153
|
-
type: 'string',
|
|
1154
|
-
nullable: true,
|
|
1155
|
-
description: 'State, province, or region name.',
|
|
1156
|
-
example: 'CA'
|
|
1157
|
-
},
|
|
1158
|
-
country: {
|
|
1159
|
-
type: 'string',
|
|
1160
|
-
nullable: true,
|
|
1161
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1162
|
-
example: 'US'
|
|
1163
|
-
},
|
|
1164
|
-
phone: {
|
|
1165
|
-
type: 'string',
|
|
1166
|
-
nullable: true,
|
|
1167
|
-
description: 'Phone number as a string.',
|
|
1168
|
-
example: '+1 555 555 5555'
|
|
1169
|
-
},
|
|
1170
1224
|
email: {
|
|
1171
1225
|
type: 'string',
|
|
1172
1226
|
format: 'email',
|
|
@@ -1182,166 +1236,40 @@ export const OrganizationContactInfoSchema = {
|
|
|
1182
1236
|
type: 'string',
|
|
1183
1237
|
description: 'Last name of the billing contact person.',
|
|
1184
1238
|
example: 'Doe'
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1188
|
-
additionalProperties: false
|
|
1189
|
-
};
|
|
1190
|
-
export const OrganizationCreateInputSchema = {
|
|
1191
|
-
type: 'object',
|
|
1192
|
-
properties: {
|
|
1193
|
-
name: {
|
|
1239
|
+
},
|
|
1240
|
+
company_name: {
|
|
1194
1241
|
type: 'string',
|
|
1195
1242
|
maxLength: 120,
|
|
1196
|
-
minLength:
|
|
1243
|
+
minLength: 2,
|
|
1197
1244
|
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,}$',
|
|
1198
1245
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1199
1246
|
example: 'ACME Corp.'
|
|
1200
1247
|
},
|
|
1201
|
-
contactInfo: {
|
|
1202
|
-
type: 'object',
|
|
1203
|
-
properties: {
|
|
1204
|
-
address1: {
|
|
1205
|
-
type: 'string',
|
|
1206
|
-
description: 'Street address, P.O. box, c/o',
|
|
1207
|
-
example: '123 Main St.'
|
|
1208
|
-
},
|
|
1209
|
-
address2: {
|
|
1210
|
-
type: 'string',
|
|
1211
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1212
|
-
example: 'Suite 100'
|
|
1213
|
-
},
|
|
1214
|
-
postalCode: {
|
|
1215
|
-
type: 'string',
|
|
1216
|
-
description: 'Postal code as a string.',
|
|
1217
|
-
example: '94105'
|
|
1218
|
-
},
|
|
1219
|
-
city: {
|
|
1220
|
-
type: 'string',
|
|
1221
|
-
description: 'City or town name.',
|
|
1222
|
-
example: 'San Francisco'
|
|
1223
|
-
},
|
|
1224
|
-
state: {
|
|
1225
|
-
type: 'string',
|
|
1226
|
-
description: 'State, province, or region name.',
|
|
1227
|
-
example: 'CA'
|
|
1228
|
-
},
|
|
1229
|
-
country: {
|
|
1230
|
-
type: 'string',
|
|
1231
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1232
|
-
example: 'US'
|
|
1233
|
-
},
|
|
1234
|
-
phone: {
|
|
1235
|
-
type: 'string',
|
|
1236
|
-
description: 'Phone number as a string.',
|
|
1237
|
-
example: '+1 555 555 5555'
|
|
1238
|
-
},
|
|
1239
|
-
email: {
|
|
1240
|
-
type: 'string',
|
|
1241
|
-
format: 'email',
|
|
1242
|
-
description: 'Email address used for billing as a string.',
|
|
1243
|
-
example: 'email@example.com'
|
|
1244
|
-
},
|
|
1245
|
-
first_name: {
|
|
1246
|
-
type: 'string',
|
|
1247
|
-
description: 'First name of the billing contact person.',
|
|
1248
|
-
example: 'John'
|
|
1249
|
-
},
|
|
1250
|
-
last_name: {
|
|
1251
|
-
type: 'string',
|
|
1252
|
-
description: 'Last name of the billing contact person.',
|
|
1253
|
-
example: 'Doe'
|
|
1254
|
-
}
|
|
1255
|
-
},
|
|
1256
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1257
|
-
additionalProperties: false,
|
|
1258
|
-
description: 'Organization contact information and billing address.'
|
|
1259
|
-
},
|
|
1260
1248
|
password: {
|
|
1261
1249
|
type: 'string',
|
|
1262
1250
|
minLength: 8,
|
|
1263
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.'
|
|
1264
1252
|
}
|
|
1265
1253
|
},
|
|
1266
|
-
required: ['
|
|
1254
|
+
required: ['email', 'first_name', 'last_name', 'company_name', 'password'],
|
|
1267
1255
|
additionalProperties: false
|
|
1268
1256
|
};
|
|
1269
1257
|
export const OrganizationSchema = {
|
|
1270
1258
|
type: 'object',
|
|
1271
1259
|
properties: {
|
|
1272
|
-
name: {
|
|
1273
|
-
type: 'string',
|
|
1274
|
-
maxLength: 120,
|
|
1275
|
-
minLength: 5,
|
|
1276
|
-
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,}$',
|
|
1277
|
-
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1278
|
-
example: 'ACME Corp.'
|
|
1279
|
-
},
|
|
1280
|
-
contactInfo: {
|
|
1281
|
-
type: 'object',
|
|
1282
|
-
properties: {
|
|
1283
|
-
address1: {
|
|
1284
|
-
type: 'string',
|
|
1285
|
-
description: 'Street address, P.O. box, c/o',
|
|
1286
|
-
example: '123 Main St.'
|
|
1287
|
-
},
|
|
1288
|
-
address2: {
|
|
1289
|
-
type: 'string',
|
|
1290
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1291
|
-
example: 'Suite 100'
|
|
1292
|
-
},
|
|
1293
|
-
postalCode: {
|
|
1294
|
-
type: 'string',
|
|
1295
|
-
description: 'Postal code as a string.',
|
|
1296
|
-
example: '94105'
|
|
1297
|
-
},
|
|
1298
|
-
city: {
|
|
1299
|
-
type: 'string',
|
|
1300
|
-
description: 'City or town name.',
|
|
1301
|
-
example: 'San Francisco'
|
|
1302
|
-
},
|
|
1303
|
-
state: {
|
|
1304
|
-
type: 'string',
|
|
1305
|
-
description: 'State, province, or region name.',
|
|
1306
|
-
example: 'CA'
|
|
1307
|
-
},
|
|
1308
|
-
country: {
|
|
1309
|
-
type: 'string',
|
|
1310
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1311
|
-
example: 'US'
|
|
1312
|
-
},
|
|
1313
|
-
phone: {
|
|
1314
|
-
type: 'string',
|
|
1315
|
-
description: 'Phone number as a string.',
|
|
1316
|
-
example: '+1 555 555 5555'
|
|
1317
|
-
},
|
|
1318
|
-
email: {
|
|
1319
|
-
type: 'string',
|
|
1320
|
-
format: 'email',
|
|
1321
|
-
description: 'Email address used for billing as a string.',
|
|
1322
|
-
example: 'email@example.com'
|
|
1323
|
-
},
|
|
1324
|
-
first_name: {
|
|
1325
|
-
type: 'string',
|
|
1326
|
-
description: 'First name of the billing contact person.',
|
|
1327
|
-
example: 'John'
|
|
1328
|
-
},
|
|
1329
|
-
last_name: {
|
|
1330
|
-
type: 'string',
|
|
1331
|
-
description: 'Last name of the billing contact person.',
|
|
1332
|
-
example: 'Doe'
|
|
1333
|
-
}
|
|
1334
|
-
},
|
|
1335
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1336
|
-
additionalProperties: false,
|
|
1337
|
-
description: 'Organization contact information and billing address.'
|
|
1338
|
-
},
|
|
1339
1260
|
id: {
|
|
1340
1261
|
type: 'string',
|
|
1341
1262
|
format: 'uuid',
|
|
1342
1263
|
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
1343
1264
|
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
1344
1265
|
},
|
|
1266
|
+
name: {
|
|
1267
|
+
type: 'string',
|
|
1268
|
+
maxLength: 120,
|
|
1269
|
+
minLength: 2,
|
|
1270
|
+
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1271
|
+
example: 'ACME Corp.'
|
|
1272
|
+
},
|
|
1345
1273
|
date_created: {
|
|
1346
1274
|
type: 'string',
|
|
1347
1275
|
format: 'date-time',
|
|
@@ -1430,96 +1358,13 @@ export const OrganizationSchema = {
|
|
|
1430
1358
|
additionalProperties: false,
|
|
1431
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.'
|
|
1432
1360
|
},
|
|
1433
|
-
pending_actions: {
|
|
1434
|
-
type: 'array',
|
|
1435
|
-
items: {
|
|
1436
|
-
type: 'string',
|
|
1437
|
-
example: 'signup-payment-method',
|
|
1438
|
-
enum: ['signup-billing-address', 'signup-payment-method', 'signup-invite-team', 'signup-create-cluster']
|
|
1439
|
-
},
|
|
1440
|
-
description: 'List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.'
|
|
1441
|
-
},
|
|
1442
1361
|
status: {
|
|
1443
1362
|
type: 'string',
|
|
1444
1363
|
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
1445
1364
|
enum: ['active', 'closed', 'suspended']
|
|
1446
1365
|
}
|
|
1447
1366
|
},
|
|
1448
|
-
required: ['
|
|
1449
|
-
additionalProperties: false
|
|
1450
|
-
};
|
|
1451
|
-
export const OrganizationUpdateInputSchema = {
|
|
1452
|
-
type: 'object',
|
|
1453
|
-
properties: {
|
|
1454
|
-
name: {
|
|
1455
|
-
type: 'string',
|
|
1456
|
-
maxLength: 120,
|
|
1457
|
-
minLength: 5,
|
|
1458
|
-
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,}$',
|
|
1459
|
-
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1460
|
-
example: 'ACME Corp.'
|
|
1461
|
-
},
|
|
1462
|
-
contactInfo: {
|
|
1463
|
-
type: 'object',
|
|
1464
|
-
properties: {
|
|
1465
|
-
address1: {
|
|
1466
|
-
type: 'string',
|
|
1467
|
-
description: 'Street address, P.O. box, c/o',
|
|
1468
|
-
example: '123 Main St.'
|
|
1469
|
-
},
|
|
1470
|
-
address2: {
|
|
1471
|
-
type: 'string',
|
|
1472
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1473
|
-
example: 'Suite 100'
|
|
1474
|
-
},
|
|
1475
|
-
postalCode: {
|
|
1476
|
-
type: 'string',
|
|
1477
|
-
description: 'Postal code as a string.',
|
|
1478
|
-
example: '94105'
|
|
1479
|
-
},
|
|
1480
|
-
city: {
|
|
1481
|
-
type: 'string',
|
|
1482
|
-
description: 'City or town name.',
|
|
1483
|
-
example: 'San Francisco'
|
|
1484
|
-
},
|
|
1485
|
-
state: {
|
|
1486
|
-
type: 'string',
|
|
1487
|
-
description: 'State, province, or region name.',
|
|
1488
|
-
example: 'CA'
|
|
1489
|
-
},
|
|
1490
|
-
country: {
|
|
1491
|
-
type: 'string',
|
|
1492
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1493
|
-
example: 'US'
|
|
1494
|
-
},
|
|
1495
|
-
phone: {
|
|
1496
|
-
type: 'string',
|
|
1497
|
-
description: 'Phone number as a string.',
|
|
1498
|
-
example: '+1 555 555 5555'
|
|
1499
|
-
},
|
|
1500
|
-
email: {
|
|
1501
|
-
type: 'string',
|
|
1502
|
-
format: 'email',
|
|
1503
|
-
description: 'Email address used for billing as a string.',
|
|
1504
|
-
example: 'email@example.com'
|
|
1505
|
-
},
|
|
1506
|
-
first_name: {
|
|
1507
|
-
type: 'string',
|
|
1508
|
-
description: 'First name of the billing contact person.',
|
|
1509
|
-
example: 'John'
|
|
1510
|
-
},
|
|
1511
|
-
last_name: {
|
|
1512
|
-
type: 'string',
|
|
1513
|
-
description: 'Last name of the billing contact person.',
|
|
1514
|
-
example: 'Doe'
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1518
|
-
additionalProperties: false,
|
|
1519
|
-
description: 'Organization contact information and billing address.'
|
|
1520
|
-
}
|
|
1521
|
-
},
|
|
1522
|
-
required: ['contactInfo'],
|
|
1367
|
+
required: ['id', 'date_created', 'quota', 'status'],
|
|
1523
1368
|
additionalProperties: false
|
|
1524
1369
|
};
|
|
1525
1370
|
export const PaymentMethodSchema = {
|
|
@@ -1656,29 +1501,97 @@ export const TokenUpdateInputSchema = {
|
|
|
1656
1501
|
export const UsageSchema = {
|
|
1657
1502
|
type: 'object',
|
|
1658
1503
|
properties: {
|
|
1659
|
-
|
|
1504
|
+
hour: {
|
|
1660
1505
|
type: 'string',
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
example: '8897e84c-2ba1-42fa-9d35-964c80a4ff0f'
|
|
1506
|
+
description: 'Hour of the usage',
|
|
1507
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
1664
1508
|
},
|
|
1665
|
-
|
|
1509
|
+
cluster_id: {
|
|
1666
1510
|
type: 'string',
|
|
1667
1511
|
format: 'uuid',
|
|
1668
|
-
description: 'Unique identifier of the
|
|
1669
|
-
example: '
|
|
1512
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1513
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1670
1514
|
},
|
|
1671
|
-
|
|
1515
|
+
cluster_tier: {
|
|
1672
1516
|
type: 'string',
|
|
1673
|
-
description: '
|
|
1674
|
-
example: '
|
|
1517
|
+
description: 'Tier of the cluster.',
|
|
1518
|
+
example: 'pro',
|
|
1519
|
+
enum: ['']
|
|
1675
1520
|
},
|
|
1676
|
-
|
|
1677
|
-
type: '
|
|
1678
|
-
|
|
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
|
+
},
|
|
1527
|
+
node_name: {
|
|
1528
|
+
type: 'string',
|
|
1529
|
+
description: 'Name of the Kubernetes node',
|
|
1530
|
+
example: 'flexible-moth-956037384'
|
|
1531
|
+
},
|
|
1532
|
+
sku: {
|
|
1533
|
+
type: 'string',
|
|
1534
|
+
description: 'SKU of the Kubernetes node',
|
|
1535
|
+
example: 'GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT'
|
|
1536
|
+
},
|
|
1537
|
+
cpu: {
|
|
1538
|
+
anyOf: [
|
|
1539
|
+
{
|
|
1540
|
+
type: 'number',
|
|
1541
|
+
format: 'float',
|
|
1542
|
+
description: 'CPU core count of the node',
|
|
1543
|
+
example: 4
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
type: 'string',
|
|
1547
|
+
enum: ['']
|
|
1548
|
+
}
|
|
1549
|
+
]
|
|
1550
|
+
},
|
|
1551
|
+
price: {
|
|
1552
|
+
anyOf: [
|
|
1553
|
+
{
|
|
1554
|
+
type: 'number',
|
|
1555
|
+
format: 'float',
|
|
1556
|
+
description: 'Price',
|
|
1557
|
+
example: 4
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
type: 'string',
|
|
1561
|
+
enum: ['']
|
|
1562
|
+
}
|
|
1563
|
+
]
|
|
1564
|
+
},
|
|
1565
|
+
value: {
|
|
1566
|
+
anyOf: [
|
|
1567
|
+
{
|
|
1568
|
+
type: 'number',
|
|
1569
|
+
format: 'float',
|
|
1570
|
+
description: 'Value',
|
|
1571
|
+
example: 4
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
type: 'string',
|
|
1575
|
+
enum: ['']
|
|
1576
|
+
}
|
|
1577
|
+
]
|
|
1578
|
+
},
|
|
1579
|
+
total: {
|
|
1580
|
+
anyOf: [
|
|
1581
|
+
{
|
|
1582
|
+
type: 'number',
|
|
1583
|
+
format: 'float',
|
|
1584
|
+
description: 'Total',
|
|
1585
|
+
example: 4
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
type: 'string',
|
|
1589
|
+
enum: ['']
|
|
1590
|
+
}
|
|
1591
|
+
]
|
|
1679
1592
|
}
|
|
1680
1593
|
},
|
|
1681
|
-
required: ['
|
|
1594
|
+
required: ['cluster_id', 'cluster_tier', 'product', 'node_name', 'sku', 'cpu', 'price', 'value', 'total'],
|
|
1682
1595
|
additionalProperties: false
|
|
1683
1596
|
};
|
|
1684
1597
|
export const UserCreateInputSchema = {
|
|
@@ -1713,7 +1626,7 @@ export const UserCreateInputSchema = {
|
|
|
1713
1626
|
password: {
|
|
1714
1627
|
type: 'string',
|
|
1715
1628
|
minLength: 8,
|
|
1716
|
-
description: 'User password. Must be at least 8 characters long
|
|
1629
|
+
description: 'User password. Must be at least 8 characters long.'
|
|
1717
1630
|
},
|
|
1718
1631
|
status: {
|
|
1719
1632
|
type: 'string',
|