@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
|
@@ -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 @@
|
|
|
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"}
|
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -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: {
|
|
@@ -1118,51 +1191,9 @@ export declare const InvoiceSchema: {
|
|
|
1118
1191
|
};
|
|
1119
1192
|
readonly additionalProperties: false;
|
|
1120
1193
|
};
|
|
1121
|
-
export declare const
|
|
1194
|
+
export declare const OrganizationCreateInputSchema: {
|
|
1122
1195
|
readonly type: "object";
|
|
1123
1196
|
readonly properties: {
|
|
1124
|
-
readonly address1: {
|
|
1125
|
-
readonly type: "string";
|
|
1126
|
-
readonly nullable: true;
|
|
1127
|
-
readonly description: "Street address, P.O. box, c/o";
|
|
1128
|
-
readonly example: "123 Main St.";
|
|
1129
|
-
};
|
|
1130
|
-
readonly address2: {
|
|
1131
|
-
readonly type: "string";
|
|
1132
|
-
readonly nullable: true;
|
|
1133
|
-
readonly description: "Apartment, suite, unit, building, floor, etc.";
|
|
1134
|
-
readonly example: "Suite 100";
|
|
1135
|
-
};
|
|
1136
|
-
readonly postalCode: {
|
|
1137
|
-
readonly type: "string";
|
|
1138
|
-
readonly nullable: true;
|
|
1139
|
-
readonly description: "Postal code as a string.";
|
|
1140
|
-
readonly example: "94105";
|
|
1141
|
-
};
|
|
1142
|
-
readonly city: {
|
|
1143
|
-
readonly type: "string";
|
|
1144
|
-
readonly nullable: true;
|
|
1145
|
-
readonly description: "City or town name.";
|
|
1146
|
-
readonly example: "San Francisco";
|
|
1147
|
-
};
|
|
1148
|
-
readonly state: {
|
|
1149
|
-
readonly type: "string";
|
|
1150
|
-
readonly nullable: true;
|
|
1151
|
-
readonly description: "State, province, or region name.";
|
|
1152
|
-
readonly example: "CA";
|
|
1153
|
-
};
|
|
1154
|
-
readonly country: {
|
|
1155
|
-
readonly type: "string";
|
|
1156
|
-
readonly nullable: true;
|
|
1157
|
-
readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
|
|
1158
|
-
readonly example: "US";
|
|
1159
|
-
};
|
|
1160
|
-
readonly phone: {
|
|
1161
|
-
readonly type: "string";
|
|
1162
|
-
readonly nullable: true;
|
|
1163
|
-
readonly description: "Phone number as a string.";
|
|
1164
|
-
readonly example: "+1 555 555 5555";
|
|
1165
|
-
};
|
|
1166
1197
|
readonly email: {
|
|
1167
1198
|
readonly type: "string";
|
|
1168
1199
|
readonly format: "email";
|
|
@@ -1179,14 +1210,7 @@ export declare const OrganizationContactInfoSchema: {
|
|
|
1179
1210
|
readonly description: "Last name of the billing contact person.";
|
|
1180
1211
|
readonly example: "Doe";
|
|
1181
1212
|
};
|
|
1182
|
-
|
|
1183
|
-
readonly required: readonly ["email", "first_name", "last_name"];
|
|
1184
|
-
readonly additionalProperties: false;
|
|
1185
|
-
};
|
|
1186
|
-
export declare const OrganizationCreateInputSchema: {
|
|
1187
|
-
readonly type: "object";
|
|
1188
|
-
readonly properties: {
|
|
1189
|
-
readonly name: {
|
|
1213
|
+
readonly company_name: {
|
|
1190
1214
|
readonly type: "string";
|
|
1191
1215
|
readonly maxLength: 120;
|
|
1192
1216
|
readonly minLength: 2;
|
|
@@ -1194,150 +1218,31 @@ export declare const OrganizationCreateInputSchema: {
|
|
|
1194
1218
|
readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
|
|
1195
1219
|
readonly example: "ACME Corp.";
|
|
1196
1220
|
};
|
|
1197
|
-
readonly contactInfo: {
|
|
1198
|
-
readonly type: "object";
|
|
1199
|
-
readonly properties: {
|
|
1200
|
-
readonly address1: {
|
|
1201
|
-
readonly type: "string";
|
|
1202
|
-
readonly description: "Street address, P.O. box, c/o";
|
|
1203
|
-
readonly example: "123 Main St.";
|
|
1204
|
-
};
|
|
1205
|
-
readonly address2: {
|
|
1206
|
-
readonly type: "string";
|
|
1207
|
-
readonly description: "Apartment, suite, unit, building, floor, etc.";
|
|
1208
|
-
readonly example: "Suite 100";
|
|
1209
|
-
};
|
|
1210
|
-
readonly postalCode: {
|
|
1211
|
-
readonly type: "string";
|
|
1212
|
-
readonly description: "Postal code as a string.";
|
|
1213
|
-
readonly example: "94105";
|
|
1214
|
-
};
|
|
1215
|
-
readonly city: {
|
|
1216
|
-
readonly type: "string";
|
|
1217
|
-
readonly description: "City or town name.";
|
|
1218
|
-
readonly example: "San Francisco";
|
|
1219
|
-
};
|
|
1220
|
-
readonly state: {
|
|
1221
|
-
readonly type: "string";
|
|
1222
|
-
readonly description: "State, province, or region name.";
|
|
1223
|
-
readonly example: "CA";
|
|
1224
|
-
};
|
|
1225
|
-
readonly country: {
|
|
1226
|
-
readonly type: "string";
|
|
1227
|
-
readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
|
|
1228
|
-
readonly example: "US";
|
|
1229
|
-
};
|
|
1230
|
-
readonly phone: {
|
|
1231
|
-
readonly type: "string";
|
|
1232
|
-
readonly description: "Phone number as a string.";
|
|
1233
|
-
readonly example: "+1 555 555 5555";
|
|
1234
|
-
};
|
|
1235
|
-
readonly email: {
|
|
1236
|
-
readonly type: "string";
|
|
1237
|
-
readonly format: "email";
|
|
1238
|
-
readonly description: "Email address used for billing as a string.";
|
|
1239
|
-
readonly example: "email@example.com";
|
|
1240
|
-
};
|
|
1241
|
-
readonly first_name: {
|
|
1242
|
-
readonly type: "string";
|
|
1243
|
-
readonly description: "First name of the billing contact person.";
|
|
1244
|
-
readonly example: "John";
|
|
1245
|
-
};
|
|
1246
|
-
readonly last_name: {
|
|
1247
|
-
readonly type: "string";
|
|
1248
|
-
readonly description: "Last name of the billing contact person.";
|
|
1249
|
-
readonly example: "Doe";
|
|
1250
|
-
};
|
|
1251
|
-
};
|
|
1252
|
-
readonly required: readonly ["email", "first_name", "last_name"];
|
|
1253
|
-
readonly additionalProperties: false;
|
|
1254
|
-
readonly description: "Organization contact information and billing address.";
|
|
1255
|
-
};
|
|
1256
1221
|
readonly password: {
|
|
1257
1222
|
readonly type: "string";
|
|
1258
1223
|
readonly minLength: 8;
|
|
1259
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.";
|
|
1260
1225
|
};
|
|
1261
1226
|
};
|
|
1262
|
-
readonly required: readonly ["
|
|
1227
|
+
readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
|
|
1263
1228
|
readonly additionalProperties: false;
|
|
1264
1229
|
};
|
|
1265
1230
|
export declare const OrganizationSchema: {
|
|
1266
1231
|
readonly type: "object";
|
|
1267
1232
|
readonly properties: {
|
|
1233
|
+
readonly id: {
|
|
1234
|
+
readonly type: "string";
|
|
1235
|
+
readonly format: "uuid";
|
|
1236
|
+
readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
|
|
1237
|
+
readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
|
|
1238
|
+
};
|
|
1268
1239
|
readonly name: {
|
|
1269
1240
|
readonly type: "string";
|
|
1270
1241
|
readonly maxLength: 120;
|
|
1271
1242
|
readonly minLength: 2;
|
|
1272
|
-
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,}$";
|
|
1273
1243
|
readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
|
|
1274
1244
|
readonly example: "ACME Corp.";
|
|
1275
1245
|
};
|
|
1276
|
-
readonly contactInfo: {
|
|
1277
|
-
readonly type: "object";
|
|
1278
|
-
readonly properties: {
|
|
1279
|
-
readonly address1: {
|
|
1280
|
-
readonly type: "string";
|
|
1281
|
-
readonly description: "Street address, P.O. box, c/o";
|
|
1282
|
-
readonly example: "123 Main St.";
|
|
1283
|
-
};
|
|
1284
|
-
readonly address2: {
|
|
1285
|
-
readonly type: "string";
|
|
1286
|
-
readonly description: "Apartment, suite, unit, building, floor, etc.";
|
|
1287
|
-
readonly example: "Suite 100";
|
|
1288
|
-
};
|
|
1289
|
-
readonly postalCode: {
|
|
1290
|
-
readonly type: "string";
|
|
1291
|
-
readonly description: "Postal code as a string.";
|
|
1292
|
-
readonly example: "94105";
|
|
1293
|
-
};
|
|
1294
|
-
readonly city: {
|
|
1295
|
-
readonly type: "string";
|
|
1296
|
-
readonly description: "City or town name.";
|
|
1297
|
-
readonly example: "San Francisco";
|
|
1298
|
-
};
|
|
1299
|
-
readonly state: {
|
|
1300
|
-
readonly type: "string";
|
|
1301
|
-
readonly description: "State, province, or region name.";
|
|
1302
|
-
readonly example: "CA";
|
|
1303
|
-
};
|
|
1304
|
-
readonly country: {
|
|
1305
|
-
readonly type: "string";
|
|
1306
|
-
readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
|
|
1307
|
-
readonly example: "US";
|
|
1308
|
-
};
|
|
1309
|
-
readonly phone: {
|
|
1310
|
-
readonly type: "string";
|
|
1311
|
-
readonly description: "Phone number as a string.";
|
|
1312
|
-
readonly example: "+1 555 555 5555";
|
|
1313
|
-
};
|
|
1314
|
-
readonly email: {
|
|
1315
|
-
readonly type: "string";
|
|
1316
|
-
readonly format: "email";
|
|
1317
|
-
readonly description: "Email address used for billing as a string.";
|
|
1318
|
-
readonly example: "email@example.com";
|
|
1319
|
-
};
|
|
1320
|
-
readonly first_name: {
|
|
1321
|
-
readonly type: "string";
|
|
1322
|
-
readonly description: "First name of the billing contact person.";
|
|
1323
|
-
readonly example: "John";
|
|
1324
|
-
};
|
|
1325
|
-
readonly last_name: {
|
|
1326
|
-
readonly type: "string";
|
|
1327
|
-
readonly description: "Last name of the billing contact person.";
|
|
1328
|
-
readonly example: "Doe";
|
|
1329
|
-
};
|
|
1330
|
-
};
|
|
1331
|
-
readonly required: readonly ["email", "first_name", "last_name"];
|
|
1332
|
-
readonly additionalProperties: false;
|
|
1333
|
-
readonly description: "Organization contact information and billing address.";
|
|
1334
|
-
};
|
|
1335
|
-
readonly id: {
|
|
1336
|
-
readonly type: "string";
|
|
1337
|
-
readonly format: "uuid";
|
|
1338
|
-
readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
|
|
1339
|
-
readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
|
|
1340
|
-
};
|
|
1341
1246
|
readonly date_created: {
|
|
1342
1247
|
readonly type: "string";
|
|
1343
1248
|
readonly format: "date-time";
|
|
@@ -1426,96 +1331,13 @@ export declare const OrganizationSchema: {
|
|
|
1426
1331
|
readonly additionalProperties: false;
|
|
1427
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.";
|
|
1428
1333
|
};
|
|
1429
|
-
readonly pending_actions: {
|
|
1430
|
-
readonly type: "array";
|
|
1431
|
-
readonly items: {
|
|
1432
|
-
readonly type: "string";
|
|
1433
|
-
readonly example: "signup-payment-method";
|
|
1434
|
-
readonly enum: readonly ["signup-billing-address", "signup-payment-method", "signup-invite-team", "signup-create-cluster"];
|
|
1435
|
-
};
|
|
1436
|
-
readonly description: "List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.";
|
|
1437
|
-
};
|
|
1438
1334
|
readonly status: {
|
|
1439
1335
|
readonly type: "string";
|
|
1440
1336
|
readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
|
|
1441
1337
|
readonly enum: readonly ["active", "closed", "suspended"];
|
|
1442
1338
|
};
|
|
1443
1339
|
};
|
|
1444
|
-
readonly required: readonly ["
|
|
1445
|
-
readonly additionalProperties: false;
|
|
1446
|
-
};
|
|
1447
|
-
export declare const OrganizationUpdateInputSchema: {
|
|
1448
|
-
readonly type: "object";
|
|
1449
|
-
readonly properties: {
|
|
1450
|
-
readonly name: {
|
|
1451
|
-
readonly type: "string";
|
|
1452
|
-
readonly maxLength: 120;
|
|
1453
|
-
readonly minLength: 2;
|
|
1454
|
-
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,}$";
|
|
1455
|
-
readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
|
|
1456
|
-
readonly example: "ACME Corp.";
|
|
1457
|
-
};
|
|
1458
|
-
readonly contactInfo: {
|
|
1459
|
-
readonly type: "object";
|
|
1460
|
-
readonly properties: {
|
|
1461
|
-
readonly address1: {
|
|
1462
|
-
readonly type: "string";
|
|
1463
|
-
readonly description: "Street address, P.O. box, c/o";
|
|
1464
|
-
readonly example: "123 Main St.";
|
|
1465
|
-
};
|
|
1466
|
-
readonly address2: {
|
|
1467
|
-
readonly type: "string";
|
|
1468
|
-
readonly description: "Apartment, suite, unit, building, floor, etc.";
|
|
1469
|
-
readonly example: "Suite 100";
|
|
1470
|
-
};
|
|
1471
|
-
readonly postalCode: {
|
|
1472
|
-
readonly type: "string";
|
|
1473
|
-
readonly description: "Postal code as a string.";
|
|
1474
|
-
readonly example: "94105";
|
|
1475
|
-
};
|
|
1476
|
-
readonly city: {
|
|
1477
|
-
readonly type: "string";
|
|
1478
|
-
readonly description: "City or town name.";
|
|
1479
|
-
readonly example: "San Francisco";
|
|
1480
|
-
};
|
|
1481
|
-
readonly state: {
|
|
1482
|
-
readonly type: "string";
|
|
1483
|
-
readonly description: "State, province, or region name.";
|
|
1484
|
-
readonly example: "CA";
|
|
1485
|
-
};
|
|
1486
|
-
readonly country: {
|
|
1487
|
-
readonly type: "string";
|
|
1488
|
-
readonly description: "Country as a ISO 3166-1 alpha-2 country code.";
|
|
1489
|
-
readonly example: "US";
|
|
1490
|
-
};
|
|
1491
|
-
readonly phone: {
|
|
1492
|
-
readonly type: "string";
|
|
1493
|
-
readonly description: "Phone number as a string.";
|
|
1494
|
-
readonly example: "+1 555 555 5555";
|
|
1495
|
-
};
|
|
1496
|
-
readonly email: {
|
|
1497
|
-
readonly type: "string";
|
|
1498
|
-
readonly format: "email";
|
|
1499
|
-
readonly description: "Email address used for billing as a string.";
|
|
1500
|
-
readonly example: "email@example.com";
|
|
1501
|
-
};
|
|
1502
|
-
readonly first_name: {
|
|
1503
|
-
readonly type: "string";
|
|
1504
|
-
readonly description: "First name of the billing contact person.";
|
|
1505
|
-
readonly example: "John";
|
|
1506
|
-
};
|
|
1507
|
-
readonly last_name: {
|
|
1508
|
-
readonly type: "string";
|
|
1509
|
-
readonly description: "Last name of the billing contact person.";
|
|
1510
|
-
readonly example: "Doe";
|
|
1511
|
-
};
|
|
1512
|
-
};
|
|
1513
|
-
readonly required: readonly ["email", "first_name", "last_name"];
|
|
1514
|
-
readonly additionalProperties: false;
|
|
1515
|
-
readonly description: "Organization contact information and billing address.";
|
|
1516
|
-
};
|
|
1517
|
-
};
|
|
1518
|
-
readonly required: readonly ["contactInfo"];
|
|
1340
|
+
readonly required: readonly ["id", "date_created", "quota", "status"];
|
|
1519
1341
|
readonly additionalProperties: false;
|
|
1520
1342
|
};
|
|
1521
1343
|
export declare const PaymentMethodSchema: {
|
|
@@ -1652,23 +1474,29 @@ export declare const TokenUpdateInputSchema: {
|
|
|
1652
1474
|
export declare const UsageSchema: {
|
|
1653
1475
|
readonly type: "object";
|
|
1654
1476
|
readonly properties: {
|
|
1477
|
+
readonly hour: {
|
|
1478
|
+
readonly type: "string";
|
|
1479
|
+
readonly description: "Hour of the usage";
|
|
1480
|
+
readonly example: "2019-01-01T00:00:00.000Z";
|
|
1481
|
+
};
|
|
1655
1482
|
readonly cluster_id: {
|
|
1656
1483
|
readonly type: "string";
|
|
1657
1484
|
readonly format: "uuid";
|
|
1658
1485
|
readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
|
|
1659
1486
|
readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
|
|
1660
1487
|
};
|
|
1661
|
-
readonly hour: {
|
|
1662
|
-
readonly type: "string";
|
|
1663
|
-
readonly description: "Hour of the usage";
|
|
1664
|
-
readonly example: "2019-01-01T00:00:00.000Z";
|
|
1665
|
-
};
|
|
1666
1488
|
readonly cluster_tier: {
|
|
1667
1489
|
readonly type: "string";
|
|
1668
1490
|
readonly description: "Tier of the cluster.";
|
|
1669
1491
|
readonly example: "pro";
|
|
1670
1492
|
readonly enum: readonly [""];
|
|
1671
1493
|
};
|
|
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
|
+
};
|
|
1672
1500
|
readonly node_name: {
|
|
1673
1501
|
readonly type: "string";
|
|
1674
1502
|
readonly description: "Name of the Kubernetes node";
|
|
@@ -1701,11 +1529,11 @@ export declare const UsageSchema: {
|
|
|
1701
1529
|
readonly enum: readonly [""];
|
|
1702
1530
|
}];
|
|
1703
1531
|
};
|
|
1704
|
-
readonly
|
|
1532
|
+
readonly value: {
|
|
1705
1533
|
readonly anyOf: readonly [{
|
|
1706
1534
|
readonly type: "number";
|
|
1707
1535
|
readonly format: "float";
|
|
1708
|
-
readonly description: "
|
|
1536
|
+
readonly description: "Value";
|
|
1709
1537
|
readonly example: 4;
|
|
1710
1538
|
}, {
|
|
1711
1539
|
readonly type: "string";
|
|
@@ -1723,14 +1551,8 @@ export declare const UsageSchema: {
|
|
|
1723
1551
|
readonly enum: readonly [""];
|
|
1724
1552
|
}];
|
|
1725
1553
|
};
|
|
1726
|
-
readonly usage_type: {
|
|
1727
|
-
readonly type: "string";
|
|
1728
|
-
readonly description: "Type of usage.";
|
|
1729
|
-
readonly example: "managed-compute";
|
|
1730
|
-
readonly enum: readonly ["managed-compute", "control-plane-nodes", "control-plane"];
|
|
1731
|
-
};
|
|
1732
1554
|
};
|
|
1733
|
-
readonly required: readonly ["cluster_id", "cluster_tier", "node_name", "sku", "cpu", "price", "
|
|
1555
|
+
readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
|
|
1734
1556
|
readonly additionalProperties: false;
|
|
1735
1557
|
};
|
|
1736
1558
|
export declare const UserCreateInputSchema: {
|
|
@@ -1765,7 +1587,7 @@ export declare const UserCreateInputSchema: {
|
|
|
1765
1587
|
readonly password: {
|
|
1766
1588
|
readonly type: "string";
|
|
1767
1589
|
readonly minLength: 8;
|
|
1768
|
-
readonly description: "User password. Must be at least 8 characters long
|
|
1590
|
+
readonly description: "User password. Must be at least 8 characters long.";
|
|
1769
1591
|
};
|
|
1770
1592
|
readonly status: {
|
|
1771
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E/B,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFhB,CAAC;AAE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