@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.
@@ -0,0 +1,13 @@
1
+ import type { ClientOptions } from './types.gen';
2
+ import { type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
3
+ /**
4
+ * The `createClientConfig()` function will be called on client initialization
5
+ * and the returned object will become the client's initial configuration.
6
+ *
7
+ * You may want to initialize your client this way instead of calling
8
+ * `setConfig()`. This is useful for example if you're using Next.js
9
+ * to ensure your client always has the correct values.
10
+ */
11
+ export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
12
+ export declare const client: import("@hey-api/client-fetch").Client;
13
+ //# sourceMappingURL=client.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.gen.d.ts","sourceRoot":"","sources":["../src/client.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,IAAI,oBAAoB,EAA8B,MAAM,uBAAuB,CAAC;AAE5H;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,oBAAoB,GAAG,aAAa,IAAI,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,oBAAoB,GAAG,CAAC,CAAC,KAAK,MAAM,CAAC,QAAQ,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;AAE7K,eAAO,MAAM,MAAM,wCAEhB,CAAC"}
@@ -0,0 +1,6 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { createClient, createConfig } from '@hey-api/client-fetch';
3
+ export const client = createClient(createConfig({
4
+ baseUrl: 'https://api.cloudfleet.ai/v1'
5
+ }));
6
+ //# sourceMappingURL=client.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.gen.js","sourceRoot":"","sources":["../src/client.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAA2D,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAY5H,MAAM,CAAC,MAAM,MAAM,GAAG,YAAY,CAAC,YAAY,CAAgB;IAC3D,OAAO,EAAE,8BAA8B;CAC1C,CAAC,CAAC,CAAC"}
@@ -1,3 +1,76 @@
1
+ export declare const BillingContactSchema: {
2
+ readonly type: "object";
3
+ readonly properties: {
4
+ readonly company: {
5
+ readonly type: "string";
6
+ readonly maxLength: 120;
7
+ readonly minLength: 2;
8
+ readonly 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,}$";
9
+ readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
10
+ readonly example: "ACME Corp.";
11
+ };
12
+ readonly address1: {
13
+ readonly type: "string";
14
+ readonly nullable: true;
15
+ readonly description: "Street address, P.O. box, c/o";
16
+ readonly example: "123 Main St.";
17
+ };
18
+ readonly address2: {
19
+ readonly type: "string";
20
+ readonly nullable: true;
21
+ readonly description: "Apartment, suite, unit, building, floor, etc.";
22
+ readonly example: "Suite 100";
23
+ };
24
+ readonly postalCode: {
25
+ readonly type: "string";
26
+ readonly nullable: true;
27
+ readonly description: "Postal code as a string.";
28
+ readonly example: "94105";
29
+ };
30
+ readonly city: {
31
+ readonly type: "string";
32
+ readonly nullable: true;
33
+ readonly description: "City or town name.";
34
+ readonly example: "San Francisco";
35
+ };
36
+ readonly state: {
37
+ readonly type: "string";
38
+ readonly nullable: true;
39
+ readonly description: "State, province, or region name.";
40
+ readonly example: "CA";
41
+ };
42
+ readonly country: {
43
+ readonly type: "string";
44
+ readonly nullable: true;
45
+ readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
46
+ readonly example: "US";
47
+ };
48
+ readonly phone: {
49
+ readonly type: "string";
50
+ readonly nullable: true;
51
+ readonly description: "Phone number as a string.";
52
+ readonly example: "+1 555 555 5555";
53
+ };
54
+ readonly email: {
55
+ readonly type: "string";
56
+ readonly format: "email";
57
+ readonly description: "Email address used for billing as a string.";
58
+ readonly example: "email@example.com";
59
+ };
60
+ readonly first_name: {
61
+ readonly type: "string";
62
+ readonly description: "First name of the billing contact person.";
63
+ readonly example: "John";
64
+ };
65
+ readonly last_name: {
66
+ readonly type: "string";
67
+ readonly description: "Last name of the billing contact person.";
68
+ readonly example: "Doe";
69
+ };
70
+ };
71
+ readonly required: readonly ["email", "first_name", "last_name"];
72
+ readonly additionalProperties: false;
73
+ };
1
74
  export declare const ClusterCreateInputSchema: {
2
75
  readonly type: "object";
3
76
  readonly properties: {
@@ -80,8 +153,31 @@ export declare const ClusterJoinInformationSchema: {
80
153
  readonly additionalProperties: false;
81
154
  readonly description: "Versions of the different components of the cluster.";
82
155
  };
156
+ readonly third_party_api_access_config: {
157
+ readonly type: "object";
158
+ readonly properties: {
159
+ readonly metadata_url: {
160
+ readonly type: "string";
161
+ readonly description: "Kubernetes metadata server.";
162
+ readonly example: "https://10.31.64.4";
163
+ };
164
+ readonly aws_role_arn: {
165
+ readonly type: "string";
166
+ readonly description: "AWS Role ARN.";
167
+ readonly example: "arn:aws:iam::891376988828:role/0371f8fd-e164-48e1-b9e7-c3bdc3b4f403";
168
+ };
169
+ readonly gcp_workload_identity_provider: {
170
+ readonly type: "string";
171
+ readonly description: "GCP Workload Identity provider.";
172
+ readonly example: "//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc";
173
+ };
174
+ };
175
+ readonly required: readonly ["metadata_url", "aws_role_arn", "gcp_workload_identity_provider"];
176
+ readonly additionalProperties: false;
177
+ readonly description: "OIDC Information for hosts to access to third party API's.";
178
+ };
83
179
  };
84
- readonly required: readonly ["certificate_authority", "endpoint", "auth_key", "bootstrap_token", "versions"];
180
+ readonly required: readonly ["certificate_authority", "endpoint", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
85
181
  readonly additionalProperties: false;
86
182
  };
87
183
  export declare const ClusterSchema: {
@@ -1095,51 +1191,9 @@ export declare const InvoiceSchema: {
1095
1191
  };
1096
1192
  readonly additionalProperties: false;
1097
1193
  };
1098
- export declare const OrganizationContactInfoSchema: {
1194
+ export declare const OrganizationCreateInputSchema: {
1099
1195
  readonly type: "object";
1100
1196
  readonly properties: {
1101
- readonly address1: {
1102
- readonly type: "string";
1103
- readonly nullable: true;
1104
- readonly description: "Street address, P.O. box, c/o";
1105
- readonly example: "123 Main St.";
1106
- };
1107
- readonly address2: {
1108
- readonly type: "string";
1109
- readonly nullable: true;
1110
- readonly description: "Apartment, suite, unit, building, floor, etc.";
1111
- readonly example: "Suite 100";
1112
- };
1113
- readonly postalCode: {
1114
- readonly type: "string";
1115
- readonly nullable: true;
1116
- readonly description: "Postal code as a string.";
1117
- readonly example: "94105";
1118
- };
1119
- readonly city: {
1120
- readonly type: "string";
1121
- readonly nullable: true;
1122
- readonly description: "City or town name.";
1123
- readonly example: "San Francisco";
1124
- };
1125
- readonly state: {
1126
- readonly type: "string";
1127
- readonly nullable: true;
1128
- readonly description: "State, province, or region name.";
1129
- readonly example: "CA";
1130
- };
1131
- readonly country: {
1132
- readonly type: "string";
1133
- readonly nullable: true;
1134
- readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
1135
- readonly example: "US";
1136
- };
1137
- readonly phone: {
1138
- readonly type: "string";
1139
- readonly nullable: true;
1140
- readonly description: "Phone number as a string.";
1141
- readonly example: "+1 555 555 5555";
1142
- };
1143
1197
  readonly email: {
1144
1198
  readonly type: "string";
1145
1199
  readonly format: "email";
@@ -1156,165 +1210,39 @@ export declare const OrganizationContactInfoSchema: {
1156
1210
  readonly description: "Last name of the billing contact person.";
1157
1211
  readonly example: "Doe";
1158
1212
  };
1159
- };
1160
- readonly required: readonly ["email", "first_name", "last_name"];
1161
- readonly additionalProperties: false;
1162
- };
1163
- export declare const OrganizationCreateInputSchema: {
1164
- readonly type: "object";
1165
- readonly properties: {
1166
- readonly name: {
1213
+ readonly company_name: {
1167
1214
  readonly type: "string";
1168
1215
  readonly maxLength: 120;
1169
- readonly minLength: 5;
1216
+ readonly minLength: 2;
1170
1217
  readonly 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,}$";
1171
1218
  readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1172
1219
  readonly example: "ACME Corp.";
1173
1220
  };
1174
- readonly contactInfo: {
1175
- readonly type: "object";
1176
- readonly properties: {
1177
- readonly address1: {
1178
- readonly type: "string";
1179
- readonly description: "Street address, P.O. box, c/o";
1180
- readonly example: "123 Main St.";
1181
- };
1182
- readonly address2: {
1183
- readonly type: "string";
1184
- readonly description: "Apartment, suite, unit, building, floor, etc.";
1185
- readonly example: "Suite 100";
1186
- };
1187
- readonly postalCode: {
1188
- readonly type: "string";
1189
- readonly description: "Postal code as a string.";
1190
- readonly example: "94105";
1191
- };
1192
- readonly city: {
1193
- readonly type: "string";
1194
- readonly description: "City or town name.";
1195
- readonly example: "San Francisco";
1196
- };
1197
- readonly state: {
1198
- readonly type: "string";
1199
- readonly description: "State, province, or region name.";
1200
- readonly example: "CA";
1201
- };
1202
- readonly country: {
1203
- readonly type: "string";
1204
- readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
1205
- readonly example: "US";
1206
- };
1207
- readonly phone: {
1208
- readonly type: "string";
1209
- readonly description: "Phone number as a string.";
1210
- readonly example: "+1 555 555 5555";
1211
- };
1212
- readonly email: {
1213
- readonly type: "string";
1214
- readonly format: "email";
1215
- readonly description: "Email address used for billing as a string.";
1216
- readonly example: "email@example.com";
1217
- };
1218
- readonly first_name: {
1219
- readonly type: "string";
1220
- readonly description: "First name of the billing contact person.";
1221
- readonly example: "John";
1222
- };
1223
- readonly last_name: {
1224
- readonly type: "string";
1225
- readonly description: "Last name of the billing contact person.";
1226
- readonly example: "Doe";
1227
- };
1228
- };
1229
- readonly required: readonly ["email", "first_name", "last_name"];
1230
- readonly additionalProperties: false;
1231
- readonly description: "Organization contact information and billing address.";
1232
- };
1233
1221
  readonly password: {
1234
1222
  readonly type: "string";
1235
1223
  readonly minLength: 8;
1236
1224
  readonly 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.";
1237
1225
  };
1238
1226
  };
1239
- readonly required: readonly ["name", "contactInfo", "password"];
1227
+ readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
1240
1228
  readonly additionalProperties: false;
1241
1229
  };
1242
1230
  export declare const OrganizationSchema: {
1243
1231
  readonly type: "object";
1244
1232
  readonly properties: {
1245
- readonly name: {
1246
- readonly type: "string";
1247
- readonly maxLength: 120;
1248
- readonly minLength: 5;
1249
- readonly 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,}$";
1250
- readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1251
- readonly example: "ACME Corp.";
1252
- };
1253
- readonly contactInfo: {
1254
- readonly type: "object";
1255
- readonly properties: {
1256
- readonly address1: {
1257
- readonly type: "string";
1258
- readonly description: "Street address, P.O. box, c/o";
1259
- readonly example: "123 Main St.";
1260
- };
1261
- readonly address2: {
1262
- readonly type: "string";
1263
- readonly description: "Apartment, suite, unit, building, floor, etc.";
1264
- readonly example: "Suite 100";
1265
- };
1266
- readonly postalCode: {
1267
- readonly type: "string";
1268
- readonly description: "Postal code as a string.";
1269
- readonly example: "94105";
1270
- };
1271
- readonly city: {
1272
- readonly type: "string";
1273
- readonly description: "City or town name.";
1274
- readonly example: "San Francisco";
1275
- };
1276
- readonly state: {
1277
- readonly type: "string";
1278
- readonly description: "State, province, or region name.";
1279
- readonly example: "CA";
1280
- };
1281
- readonly country: {
1282
- readonly type: "string";
1283
- readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
1284
- readonly example: "US";
1285
- };
1286
- readonly phone: {
1287
- readonly type: "string";
1288
- readonly description: "Phone number as a string.";
1289
- readonly example: "+1 555 555 5555";
1290
- };
1291
- readonly email: {
1292
- readonly type: "string";
1293
- readonly format: "email";
1294
- readonly description: "Email address used for billing as a string.";
1295
- readonly example: "email@example.com";
1296
- };
1297
- readonly first_name: {
1298
- readonly type: "string";
1299
- readonly description: "First name of the billing contact person.";
1300
- readonly example: "John";
1301
- };
1302
- readonly last_name: {
1303
- readonly type: "string";
1304
- readonly description: "Last name of the billing contact person.";
1305
- readonly example: "Doe";
1306
- };
1307
- };
1308
- readonly required: readonly ["email", "first_name", "last_name"];
1309
- readonly additionalProperties: false;
1310
- readonly description: "Organization contact information and billing address.";
1311
- };
1312
1233
  readonly id: {
1313
1234
  readonly type: "string";
1314
1235
  readonly format: "uuid";
1315
1236
  readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
1316
1237
  readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1317
1238
  };
1239
+ readonly name: {
1240
+ readonly type: "string";
1241
+ readonly maxLength: 120;
1242
+ readonly minLength: 2;
1243
+ readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1244
+ readonly example: "ACME Corp.";
1245
+ };
1318
1246
  readonly date_created: {
1319
1247
  readonly type: "string";
1320
1248
  readonly format: "date-time";
@@ -1403,96 +1331,13 @@ export declare const OrganizationSchema: {
1403
1331
  readonly additionalProperties: false;
1404
1332
  readonly 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.";
1405
1333
  };
1406
- readonly pending_actions: {
1407
- readonly type: "array";
1408
- readonly items: {
1409
- readonly type: "string";
1410
- readonly example: "signup-payment-method";
1411
- readonly enum: readonly ["signup-billing-address", "signup-payment-method", "signup-invite-team", "signup-create-cluster"];
1412
- };
1413
- readonly description: "List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.";
1414
- };
1415
1334
  readonly status: {
1416
1335
  readonly type: "string";
1417
1336
  readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1418
1337
  readonly enum: readonly ["active", "closed", "suspended"];
1419
1338
  };
1420
1339
  };
1421
- readonly required: readonly ["name", "contactInfo", "id", "date_created", "quota", "pending_actions", "status"];
1422
- readonly additionalProperties: false;
1423
- };
1424
- export declare const OrganizationUpdateInputSchema: {
1425
- readonly type: "object";
1426
- readonly properties: {
1427
- readonly name: {
1428
- readonly type: "string";
1429
- readonly maxLength: 120;
1430
- readonly minLength: 5;
1431
- readonly 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,}$";
1432
- readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1433
- readonly example: "ACME Corp.";
1434
- };
1435
- readonly contactInfo: {
1436
- readonly type: "object";
1437
- readonly properties: {
1438
- readonly address1: {
1439
- readonly type: "string";
1440
- readonly description: "Street address, P.O. box, c/o";
1441
- readonly example: "123 Main St.";
1442
- };
1443
- readonly address2: {
1444
- readonly type: "string";
1445
- readonly description: "Apartment, suite, unit, building, floor, etc.";
1446
- readonly example: "Suite 100";
1447
- };
1448
- readonly postalCode: {
1449
- readonly type: "string";
1450
- readonly description: "Postal code as a string.";
1451
- readonly example: "94105";
1452
- };
1453
- readonly city: {
1454
- readonly type: "string";
1455
- readonly description: "City or town name.";
1456
- readonly example: "San Francisco";
1457
- };
1458
- readonly state: {
1459
- readonly type: "string";
1460
- readonly description: "State, province, or region name.";
1461
- readonly example: "CA";
1462
- };
1463
- readonly country: {
1464
- readonly type: "string";
1465
- readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
1466
- readonly example: "US";
1467
- };
1468
- readonly phone: {
1469
- readonly type: "string";
1470
- readonly description: "Phone number as a string.";
1471
- readonly example: "+1 555 555 5555";
1472
- };
1473
- readonly email: {
1474
- readonly type: "string";
1475
- readonly format: "email";
1476
- readonly description: "Email address used for billing as a string.";
1477
- readonly example: "email@example.com";
1478
- };
1479
- readonly first_name: {
1480
- readonly type: "string";
1481
- readonly description: "First name of the billing contact person.";
1482
- readonly example: "John";
1483
- };
1484
- readonly last_name: {
1485
- readonly type: "string";
1486
- readonly description: "Last name of the billing contact person.";
1487
- readonly example: "Doe";
1488
- };
1489
- };
1490
- readonly required: readonly ["email", "first_name", "last_name"];
1491
- readonly additionalProperties: false;
1492
- readonly description: "Organization contact information and billing address.";
1493
- };
1494
- };
1495
- readonly required: readonly ["contactInfo"];
1340
+ readonly required: readonly ["id", "date_created", "quota", "status"];
1496
1341
  readonly additionalProperties: false;
1497
1342
  };
1498
1343
  export declare const PaymentMethodSchema: {
@@ -1629,29 +1474,85 @@ export declare const TokenUpdateInputSchema: {
1629
1474
  export declare const UsageSchema: {
1630
1475
  readonly type: "object";
1631
1476
  readonly properties: {
1632
- readonly id: {
1477
+ readonly hour: {
1633
1478
  readonly type: "string";
1634
- readonly format: "uuid";
1635
- readonly description: "Unique identifier of the Usage object, equal to subscription id of the task . UUID v4 string in canonical form";
1636
- readonly example: "8897e84c-2ba1-42fa-9d35-964c80a4ff0f";
1479
+ readonly description: "Hour of the usage";
1480
+ readonly example: "2019-01-01T00:00:00.000Z";
1637
1481
  };
1638
- readonly task_id: {
1482
+ readonly cluster_id: {
1639
1483
  readonly type: "string";
1640
1484
  readonly format: "uuid";
1641
- readonly description: "Unique identifier of the project. UUID v4 string in canonical form";
1642
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
1485
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1486
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1643
1487
  };
1644
- readonly unit: {
1488
+ readonly cluster_tier: {
1645
1489
  readonly type: "string";
1646
- readonly description: "Unit of measurement. E.g. GiB, seconds, etc";
1647
- readonly example: "second";
1490
+ readonly description: "Tier of the cluster.";
1491
+ readonly example: "pro";
1492
+ readonly enum: readonly [""];
1648
1493
  };
1649
- readonly amount: {
1650
- readonly type: "number";
1651
- readonly format: "float";
1494
+ readonly product: {
1495
+ readonly type: "string";
1496
+ readonly description: "The product the usage is associated with";
1497
+ readonly example: "cfke_infra_compute";
1498
+ readonly enum: readonly ["cfke_infra_compute", "cfke_nodes", "cfke_controlplane"];
1499
+ };
1500
+ readonly node_name: {
1501
+ readonly type: "string";
1502
+ readonly description: "Name of the Kubernetes node";
1503
+ readonly example: "flexible-moth-956037384";
1504
+ };
1505
+ readonly sku: {
1506
+ readonly type: "string";
1507
+ readonly description: "SKU of the Kubernetes node";
1508
+ readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
1509
+ };
1510
+ readonly cpu: {
1511
+ readonly anyOf: readonly [{
1512
+ readonly type: "number";
1513
+ readonly format: "float";
1514
+ readonly description: "CPU core count of the node";
1515
+ readonly example: 4;
1516
+ }, {
1517
+ readonly type: "string";
1518
+ readonly enum: readonly [""];
1519
+ }];
1520
+ };
1521
+ readonly price: {
1522
+ readonly anyOf: readonly [{
1523
+ readonly type: "number";
1524
+ readonly format: "float";
1525
+ readonly description: "Price";
1526
+ readonly example: 4;
1527
+ }, {
1528
+ readonly type: "string";
1529
+ readonly enum: readonly [""];
1530
+ }];
1531
+ };
1532
+ readonly value: {
1533
+ readonly anyOf: readonly [{
1534
+ readonly type: "number";
1535
+ readonly format: "float";
1536
+ readonly description: "Value";
1537
+ readonly example: 4;
1538
+ }, {
1539
+ readonly type: "string";
1540
+ readonly enum: readonly [""];
1541
+ }];
1542
+ };
1543
+ readonly total: {
1544
+ readonly anyOf: readonly [{
1545
+ readonly type: "number";
1546
+ readonly format: "float";
1547
+ readonly description: "Total";
1548
+ readonly example: 4;
1549
+ }, {
1550
+ readonly type: "string";
1551
+ readonly enum: readonly [""];
1552
+ }];
1652
1553
  };
1653
1554
  };
1654
- readonly required: readonly ["id", "task_id", "unit", "amount"];
1555
+ readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
1655
1556
  readonly additionalProperties: false;
1656
1557
  };
1657
1558
  export declare const UserCreateInputSchema: {
@@ -1686,7 +1587,7 @@ export declare const UserCreateInputSchema: {
1686
1587
  readonly password: {
1687
1588
  readonly type: "string";
1688
1589
  readonly minLength: 8;
1689
- readonly description: "User password. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.";
1590
+ readonly description: "User password. Must be at least 8 characters long.";
1690
1591
  };
1691
1592
  readonly status: {
1692
1593
  readonly type: "string";
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC3B,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmD/B,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;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