@cloudfleet/sdk 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- export * from './types.gen';
2
- export * from './sdk.gen';
3
1
  export * from "./schemas.gen";
2
+ export * from "./sdk.gen";
3
+ export * from "./types.gen";
4
+ export * from "./zod.gen";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
- export * from './types.gen';
2
- export * from './sdk.gen';
3
1
  export * from "./schemas.gen";
2
+ export * from "./sdk.gen";
3
+ export * from "./types.gen";
4
+ export * from "./zod.gen";
4
5
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
@@ -733,7 +733,7 @@ export declare const InviteSchema: {
733
733
  readonly date_created: {
734
734
  readonly type: "string";
735
735
  readonly format: "date-time";
736
- readonly description: "Creationg date of the project. ISO 8601 date string in UTC timezone";
736
+ readonly description: "Creation date of the project. ISO 8601 date string in UTC timezone";
737
737
  readonly example: "2023-11-02T16:08:14.338Z";
738
738
  };
739
739
  readonly email: {
@@ -1160,23 +1160,93 @@ export declare const OrganizationContactInfoSchema: {
1160
1160
  readonly required: readonly ["email", "first_name", "last_name"];
1161
1161
  readonly additionalProperties: false;
1162
1162
  };
1163
- export declare const OrganizationSchema: {
1163
+ export declare const OrganizationCreateInputSchema: {
1164
1164
  readonly type: "object";
1165
1165
  readonly properties: {
1166
- readonly id: {
1166
+ readonly name: {
1167
1167
  readonly type: "string";
1168
- readonly format: "uuid";
1169
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
1170
- readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1168
+ readonly maxLength: 120;
1169
+ readonly minLength: 5;
1170
+ 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
+ readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1172
+ readonly example: "ACME Corp.";
1171
1173
  };
1172
- readonly date_created: {
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
+ readonly password: {
1173
1234
  readonly type: "string";
1174
- readonly format: "date-time";
1175
- readonly description: "Creationg date of the organization. ISO 8601 date string in UTC timezone";
1176
- readonly example: "2023-11-02T16:08:14.338Z";
1235
+ readonly minLength: 8;
1236
+ 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.";
1177
1237
  };
1238
+ };
1239
+ readonly required: readonly ["name", "contactInfo", "password"];
1240
+ readonly additionalProperties: false;
1241
+ };
1242
+ export declare const OrganizationSchema: {
1243
+ readonly type: "object";
1244
+ readonly properties: {
1178
1245
  readonly name: {
1179
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,}$";
1180
1250
  readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1181
1251
  readonly example: "ACME Corp.";
1182
1252
  };
@@ -1239,6 +1309,18 @@ export declare const OrganizationSchema: {
1239
1309
  readonly additionalProperties: false;
1240
1310
  readonly description: "Organization contact information and billing address.";
1241
1311
  };
1312
+ readonly id: {
1313
+ readonly type: "string";
1314
+ readonly format: "uuid";
1315
+ readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
1316
+ readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1317
+ };
1318
+ readonly date_created: {
1319
+ readonly type: "string";
1320
+ readonly format: "date-time";
1321
+ readonly description: "Creation date of the organization. ISO 8601 date string in UTC timezone";
1322
+ readonly example: "2023-11-02T16:08:14.338Z";
1323
+ };
1242
1324
  readonly quota: {
1243
1325
  readonly type: "object";
1244
1326
  readonly properties: {
@@ -1336,7 +1418,81 @@ export declare const OrganizationSchema: {
1336
1418
  readonly enum: readonly ["active", "closed", "suspended"];
1337
1419
  };
1338
1420
  };
1339
- readonly required: readonly ["date_created", "contactInfo", "quota"];
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
1496
  readonly additionalProperties: false;
1341
1497
  };
1342
1498
  export declare const PaymentMethodSchema: {
@@ -1392,9 +1548,38 @@ export declare const PaymentMethodSchema: {
1392
1548
  readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1393
1549
  readonly additionalProperties: false;
1394
1550
  };
1551
+ export declare const TokenCreateInputSchema: {
1552
+ readonly type: "object";
1553
+ readonly properties: {
1554
+ readonly name: {
1555
+ readonly type: "string";
1556
+ readonly description: "Human readable access token name.";
1557
+ readonly example: "deployment-token";
1558
+ };
1559
+ readonly role: {
1560
+ readonly type: "string";
1561
+ readonly description: "Role assumed by the token.";
1562
+ readonly example: "User";
1563
+ readonly enum: readonly ["Administrator", "User"];
1564
+ };
1565
+ };
1566
+ readonly required: readonly ["name", "role"];
1567
+ readonly additionalProperties: false;
1568
+ };
1395
1569
  export declare const TokenSchema: {
1396
1570
  readonly type: "object";
1397
1571
  readonly properties: {
1572
+ readonly name: {
1573
+ readonly type: "string";
1574
+ readonly description: "Human readable access token name.";
1575
+ readonly example: "deployment-token";
1576
+ };
1577
+ readonly role: {
1578
+ readonly type: "string";
1579
+ readonly description: "Role assumed by the token.";
1580
+ readonly example: "User";
1581
+ readonly enum: readonly ["Administrator", "User"];
1582
+ };
1398
1583
  readonly id: {
1399
1584
  readonly type: "string";
1400
1585
  readonly description: "Generated unique identifier of the access token.";
@@ -1402,28 +1587,34 @@ export declare const TokenSchema: {
1402
1587
  };
1403
1588
  readonly secret: {
1404
1589
  readonly type: "string";
1405
- readonly format: "uuid";
1406
1590
  readonly description: "Access token secret. Unmasked only during creation.";
1407
1591
  readonly example: "vq4SCMBsrgmBxbax80WDXuXoFNZAckI8";
1408
1592
  };
1409
- readonly name: {
1410
- readonly type: "string";
1411
- readonly description: "Human readable access token name.";
1412
- readonly example: "CI/CD token";
1413
- };
1414
1593
  readonly date_created: {
1415
1594
  readonly type: "string";
1416
1595
  readonly format: "date-time";
1417
- readonly description: "Creationg date of the access token. ISO 8601 date string in UTC timezone";
1596
+ readonly description: "Creation date of the access token. ISO 8601 date string in UTC timezone";
1418
1597
  readonly example: "2023-12-20T13:53:32.000Z";
1419
1598
  };
1599
+ };
1600
+ readonly required: readonly ["name", "role", "date_created"];
1601
+ readonly additionalProperties: false;
1602
+ };
1603
+ export declare const TokenUpdateInputSchema: {
1604
+ readonly type: "object";
1605
+ readonly properties: {
1606
+ readonly name: {
1607
+ readonly type: "string";
1608
+ readonly description: "Human readable access token name.";
1609
+ readonly example: "deployment-token";
1610
+ };
1420
1611
  readonly role: {
1421
1612
  readonly type: "string";
1422
1613
  readonly description: "Role assumed by the token.";
1614
+ readonly example: "User";
1423
1615
  readonly enum: readonly ["Administrator", "User"];
1424
1616
  };
1425
1617
  };
1426
- readonly required: readonly ["date_created"];
1427
1618
  readonly additionalProperties: false;
1428
1619
  };
1429
1620
  export declare const UsageSchema: {
@@ -1454,21 +1645,54 @@ export declare const UsageSchema: {
1454
1645
  readonly required: readonly ["id", "task_id", "unit", "amount"];
1455
1646
  readonly additionalProperties: false;
1456
1647
  };
1457
- export declare const UserSchema: {
1648
+ export declare const UserCreateInputSchema: {
1458
1649
  readonly type: "object";
1459
1650
  readonly properties: {
1460
- readonly id: {
1651
+ readonly email: {
1461
1652
  readonly type: "string";
1462
- readonly format: "uuid";
1463
- readonly description: "Unique identifier of the user. UUID v4 string in canonical form";
1464
- readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1653
+ readonly format: "email";
1654
+ readonly description: "User email address.";
1655
+ readonly example: "email@example.com";
1465
1656
  };
1466
- readonly date_created: {
1657
+ readonly first_name: {
1467
1658
  readonly type: "string";
1468
- readonly format: "date-time";
1469
- readonly description: "Creationg date of the user. ISO 8601 date string in UTC timezone";
1470
- readonly example: "2023-11-02T16:08:14.338Z";
1659
+ readonly description: "User first name.";
1660
+ readonly example: "John";
1471
1661
  };
1662
+ readonly last_name: {
1663
+ readonly type: "string";
1664
+ readonly description: "User last name.";
1665
+ readonly example: "Doe";
1666
+ };
1667
+ readonly code: {
1668
+ readonly type: "string";
1669
+ readonly description: "Generated unique invite code.";
1670
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
1671
+ };
1672
+ readonly password: {
1673
+ readonly type: "string";
1674
+ readonly minLength: 8;
1675
+ 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.";
1676
+ };
1677
+ readonly status: {
1678
+ readonly type: "string";
1679
+ readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
1680
+ readonly example: "active";
1681
+ readonly enum: readonly ["active", "inactive"];
1682
+ };
1683
+ readonly role: {
1684
+ readonly type: "string";
1685
+ readonly description: "User role. Can be 'Administrator', 'User'.";
1686
+ readonly example: "User";
1687
+ readonly enum: readonly ["Administrator", "User"];
1688
+ };
1689
+ };
1690
+ readonly required: readonly ["email", "first_name", "last_name", "password"];
1691
+ readonly additionalProperties: false;
1692
+ };
1693
+ export declare const UserSchema: {
1694
+ readonly type: "object";
1695
+ readonly properties: {
1472
1696
  readonly email: {
1473
1697
  readonly type: "string";
1474
1698
  readonly format: "email";
@@ -1491,6 +1715,24 @@ export declare const UserSchema: {
1491
1715
  readonly example: "User";
1492
1716
  readonly enum: readonly ["Administrator", "User"];
1493
1717
  };
1718
+ readonly status: {
1719
+ readonly type: "string";
1720
+ readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
1721
+ readonly example: "active";
1722
+ readonly enum: readonly ["active", "inactive"];
1723
+ };
1724
+ readonly id: {
1725
+ readonly type: "string";
1726
+ readonly format: "uuid";
1727
+ readonly description: "Unique identifier of the user. UUID v4 string in canonical form";
1728
+ readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1729
+ };
1730
+ readonly date_created: {
1731
+ readonly type: "string";
1732
+ readonly format: "date-time";
1733
+ readonly description: "Creation date of the user. ISO 8601 date string in UTC timezone";
1734
+ readonly example: "2023-11-02T16:08:14.338Z";
1735
+ };
1494
1736
  readonly cluster_permissions: {
1495
1737
  readonly type: "array";
1496
1738
  readonly items: {
@@ -1513,6 +1755,35 @@ export declare const UserSchema: {
1513
1755
  readonly additionalProperties: false;
1514
1756
  };
1515
1757
  };
1758
+ };
1759
+ readonly required: readonly ["email", "first_name", "last_name", "role", "status", "id", "date_created"];
1760
+ readonly additionalProperties: false;
1761
+ };
1762
+ export declare const UserUpdateInputSchema: {
1763
+ readonly type: "object";
1764
+ readonly properties: {
1765
+ readonly email: {
1766
+ readonly type: "string";
1767
+ readonly format: "email";
1768
+ readonly description: "User email address.";
1769
+ readonly example: "email@example.com";
1770
+ };
1771
+ readonly first_name: {
1772
+ readonly type: "string";
1773
+ readonly description: "User first name.";
1774
+ readonly example: "John";
1775
+ };
1776
+ readonly last_name: {
1777
+ readonly type: "string";
1778
+ readonly description: "User last name.";
1779
+ readonly example: "Doe";
1780
+ };
1781
+ readonly role: {
1782
+ readonly type: "string";
1783
+ readonly description: "User role. Can be 'Administrator', 'User'.";
1784
+ readonly example: "User";
1785
+ readonly enum: readonly ["Administrator", "User"];
1786
+ };
1516
1787
  readonly status: {
1517
1788
  readonly type: "string";
1518
1789
  readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
@@ -1520,7 +1791,6 @@ export declare const UserSchema: {
1520
1791
  readonly enum: readonly ["active", "inactive"];
1521
1792
  };
1522
1793
  };
1523
- readonly required: readonly ["date_created"];
1524
1794
  readonly additionalProperties: false;
1525
1795
  };
1526
1796
  //# sourceMappingURL=schemas.gen.d.ts.map
@@ -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;;;;;;;;;;;;;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