appbuild-oceanbase-console 1.12.2 → 1.13.0

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.
Files changed (53) hide show
  1. package/dist/cjs/package.json +3 -0
  2. package/dist/cjs/sdk.js +3837 -1017
  3. package/dist/cjs/sdk.js.map +1 -1
  4. package/dist/esm/package.json +3 -0
  5. package/dist/esm/sdk.js +3831 -1018
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +10131 -3554
  8. package/package.json +7 -2
  9. package/types/channel.d.ts +74 -0
  10. package/types/client.d.ts +84 -16
  11. package/types/enums/appwrite-migration-resource.d.ts +25 -0
  12. package/types/enums/backup-services.d.ts +5 -0
  13. package/types/enums/billing-plan-group.d.ts +5 -0
  14. package/types/enums/browser-permission.d.ts +22 -0
  15. package/types/enums/domain-purchase-status.d.ts +6 -0
  16. package/types/enums/domain-transfer-status-enum.d.ts +10 -0
  17. package/types/enums/filter-type.d.ts +4 -0
  18. package/types/enums/firebase-migration-resource.d.ts +12 -0
  19. package/types/enums/frameworks.d.ts +17 -0
  20. package/types/enums/n-host-migration-resource.d.ts +13 -0
  21. package/types/enums/order-by.d.ts +4 -0
  22. package/types/enums/registration-type.d.ts +6 -0
  23. package/types/enums/resource-type.d.ts +6 -0
  24. package/types/enums/runtimes.d.ts +180 -0
  25. package/types/enums/scopes.d.ts +70 -0
  26. package/types/enums/supabase-migration-resource.d.ts +13 -0
  27. package/types/enums/template-reference-type.d.ts +5 -0
  28. package/types/enums/use-cases.d.ts +11 -0
  29. package/types/enums/vcs-reference-type.d.ts +5 -0
  30. package/types/index.d.ts +119 -96
  31. package/types/migrations.d.ts +10 -9
  32. package/types/models.d.ts +1270 -136
  33. package/types/query.d.ts +60 -8
  34. package/types/services/account.d.ts +162 -39
  35. package/types/services/activities.d.ts +46 -0
  36. package/types/services/avatars.d.ts +9 -8
  37. package/types/services/backups.d.ts +13 -12
  38. package/types/services/console.d.ts +41 -3
  39. package/types/services/databases.d.ts +384 -68
  40. package/types/services/domains.d.ts +223 -0
  41. package/types/services/functions.d.ts +46 -31
  42. package/types/services/health.d.ts +49 -6
  43. package/types/services/messaging.d.ts +2 -2
  44. package/types/services/organizations.d.ts +203 -36
  45. package/types/services/projects.d.ts +151 -210
  46. package/types/services/realtime.d.ts +26 -10
  47. package/types/services/sites.d.ts +49 -29
  48. package/types/services/storage.d.ts +12 -12
  49. package/types/services/tables-db.d.ts +352 -34
  50. package/types/services/teams.d.ts +4 -4
  51. package/types/services/users.d.ts +26 -2
  52. package/types/services/vcs.d.ts +4 -1
  53. package/types/services/webhooks.d.ts +165 -0
package/types/models.d.ts CHANGED
@@ -11,6 +11,9 @@ import { HealthCheckStatus } from "./enums/health-check-status";
11
11
  import { ProxyRuleDeploymentResourceType } from "./enums/proxy-rule-deployment-resource-type";
12
12
  import { ProxyRuleStatus } from "./enums/proxy-rule-status";
13
13
  import { MessageStatus } from "./enums/message-status";
14
+ import { BillingPlanGroup } from "./enums/billing-plan-group";
15
+ import { DomainTransferStatusEnum } from "./enums/domain-transfer-status-enum";
16
+ import { DomainPurchaseStatus } from "./enums/domain-purchase-status";
14
17
  /**
15
18
  * Appwrite Models
16
19
  */
@@ -523,6 +526,19 @@ export declare namespace Models {
523
526
  */
524
527
  variables: Variable[];
525
528
  };
529
+ /**
530
+ * Status List
531
+ */
532
+ export type HealthStatusList = {
533
+ /**
534
+ * Total number of statuses that matched your query.
535
+ */
536
+ total: number;
537
+ /**
538
+ * List of statuses.
539
+ */
540
+ statuses: HealthStatus[];
541
+ };
526
542
  /**
527
543
  * Rule List
528
544
  */
@@ -536,6 +552,19 @@ export declare namespace Models {
536
552
  */
537
553
  rules: ProxyRule[];
538
554
  };
555
+ /**
556
+ * Schedules List
557
+ */
558
+ export type ScheduleList = {
559
+ /**
560
+ * Total number of schedules that matched your query.
561
+ */
562
+ total: number;
563
+ /**
564
+ * List of schedules.
565
+ */
566
+ schedules: Schedule[];
567
+ };
539
568
  /**
540
569
  * Locale codes list
541
570
  */
@@ -742,11 +771,19 @@ export declare namespace Models {
742
771
  /**
743
772
  * Collection attributes.
744
773
  */
745
- attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributePoint | Models.AttributeLine | Models.AttributePolygon | Models.AttributeString)[];
774
+ attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributePoint | Models.AttributeLine | Models.AttributePolygon | Models.AttributeVarchar | Models.AttributeText | Models.AttributeMediumtext | Models.AttributeLongtext | Models.AttributeString)[];
746
775
  /**
747
776
  * Collection indexes.
748
777
  */
749
778
  indexes: Index[];
779
+ /**
780
+ * Maximum document size in bytes. Returns 0 when no limit applies.
781
+ */
782
+ bytesMax: number;
783
+ /**
784
+ * Currently used document size in bytes based on defined attributes.
785
+ */
786
+ bytesUsed: number;
750
787
  };
751
788
  /**
752
789
  * Attributes List
@@ -759,7 +796,7 @@ export declare namespace Models {
759
796
  /**
760
797
  * List of attributes.
761
798
  */
762
- attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributePoint | Models.AttributeLine | Models.AttributePolygon | Models.AttributeString)[];
799
+ attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributePoint | Models.AttributeLine | Models.AttributePolygon | Models.AttributeVarchar | Models.AttributeText | Models.AttributeMediumtext | Models.AttributeLongtext | Models.AttributeString)[];
763
800
  };
764
801
  /**
765
802
  * AttributeString
@@ -849,11 +886,11 @@ export declare namespace Models {
849
886
  /**
850
887
  * Minimum value to enforce for new documents.
851
888
  */
852
- min?: number;
889
+ min?: number | bigint;
853
890
  /**
854
891
  * Maximum value to enforce for new documents.
855
892
  */
856
- max?: number;
893
+ max?: number | bigint;
857
894
  /**
858
895
  * Default value for attribute when not provided. Cannot be set when attribute is required.
859
896
  */
@@ -1362,6 +1399,190 @@ export declare namespace Models {
1362
1399
  */
1363
1400
  default?: any[];
1364
1401
  };
1402
+ /**
1403
+ * AttributeVarchar
1404
+ */
1405
+ export type AttributeVarchar = {
1406
+ /**
1407
+ * Attribute Key.
1408
+ */
1409
+ key: string;
1410
+ /**
1411
+ * Attribute type.
1412
+ */
1413
+ type: string;
1414
+ /**
1415
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1416
+ */
1417
+ status: AttributeStatus;
1418
+ /**
1419
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1420
+ */
1421
+ error: string;
1422
+ /**
1423
+ * Is attribute required?
1424
+ */
1425
+ required: boolean;
1426
+ /**
1427
+ * Is attribute an array?
1428
+ */
1429
+ array?: boolean;
1430
+ /**
1431
+ * Attribute creation date in ISO 8601 format.
1432
+ */
1433
+ $createdAt: string;
1434
+ /**
1435
+ * Attribute update date in ISO 8601 format.
1436
+ */
1437
+ $updatedAt: string;
1438
+ /**
1439
+ * Attribute size.
1440
+ */
1441
+ size: number;
1442
+ /**
1443
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1444
+ */
1445
+ default?: string;
1446
+ /**
1447
+ * Defines whether this attribute is encrypted or not.
1448
+ */
1449
+ encrypt?: boolean;
1450
+ };
1451
+ /**
1452
+ * AttributeText
1453
+ */
1454
+ export type AttributeText = {
1455
+ /**
1456
+ * Attribute Key.
1457
+ */
1458
+ key: string;
1459
+ /**
1460
+ * Attribute type.
1461
+ */
1462
+ type: string;
1463
+ /**
1464
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1465
+ */
1466
+ status: AttributeStatus;
1467
+ /**
1468
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1469
+ */
1470
+ error: string;
1471
+ /**
1472
+ * Is attribute required?
1473
+ */
1474
+ required: boolean;
1475
+ /**
1476
+ * Is attribute an array?
1477
+ */
1478
+ array?: boolean;
1479
+ /**
1480
+ * Attribute creation date in ISO 8601 format.
1481
+ */
1482
+ $createdAt: string;
1483
+ /**
1484
+ * Attribute update date in ISO 8601 format.
1485
+ */
1486
+ $updatedAt: string;
1487
+ /**
1488
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1489
+ */
1490
+ default?: string;
1491
+ /**
1492
+ * Defines whether this attribute is encrypted or not.
1493
+ */
1494
+ encrypt?: boolean;
1495
+ };
1496
+ /**
1497
+ * AttributeMediumtext
1498
+ */
1499
+ export type AttributeMediumtext = {
1500
+ /**
1501
+ * Attribute Key.
1502
+ */
1503
+ key: string;
1504
+ /**
1505
+ * Attribute type.
1506
+ */
1507
+ type: string;
1508
+ /**
1509
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1510
+ */
1511
+ status: AttributeStatus;
1512
+ /**
1513
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1514
+ */
1515
+ error: string;
1516
+ /**
1517
+ * Is attribute required?
1518
+ */
1519
+ required: boolean;
1520
+ /**
1521
+ * Is attribute an array?
1522
+ */
1523
+ array?: boolean;
1524
+ /**
1525
+ * Attribute creation date in ISO 8601 format.
1526
+ */
1527
+ $createdAt: string;
1528
+ /**
1529
+ * Attribute update date in ISO 8601 format.
1530
+ */
1531
+ $updatedAt: string;
1532
+ /**
1533
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1534
+ */
1535
+ default?: string;
1536
+ /**
1537
+ * Defines whether this attribute is encrypted or not.
1538
+ */
1539
+ encrypt?: boolean;
1540
+ };
1541
+ /**
1542
+ * AttributeLongtext
1543
+ */
1544
+ export type AttributeLongtext = {
1545
+ /**
1546
+ * Attribute Key.
1547
+ */
1548
+ key: string;
1549
+ /**
1550
+ * Attribute type.
1551
+ */
1552
+ type: string;
1553
+ /**
1554
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1555
+ */
1556
+ status: AttributeStatus;
1557
+ /**
1558
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1559
+ */
1560
+ error: string;
1561
+ /**
1562
+ * Is attribute required?
1563
+ */
1564
+ required: boolean;
1565
+ /**
1566
+ * Is attribute an array?
1567
+ */
1568
+ array?: boolean;
1569
+ /**
1570
+ * Attribute creation date in ISO 8601 format.
1571
+ */
1572
+ $createdAt: string;
1573
+ /**
1574
+ * Attribute update date in ISO 8601 format.
1575
+ */
1576
+ $updatedAt: string;
1577
+ /**
1578
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1579
+ */
1580
+ default?: string;
1581
+ /**
1582
+ * Defines whether this attribute is encrypted or not.
1583
+ */
1584
+ encrypt?: boolean;
1585
+ };
1365
1586
  /**
1366
1587
  * Table
1367
1588
  */
@@ -1401,11 +1622,19 @@ export declare namespace Models {
1401
1622
  /**
1402
1623
  * Table columns.
1403
1624
  */
1404
- columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnString)[];
1625
+ columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnVarchar | Models.ColumnText | Models.ColumnMediumtext | Models.ColumnLongtext | Models.ColumnString)[];
1405
1626
  /**
1406
1627
  * Table indexes.
1407
1628
  */
1408
1629
  indexes: ColumnIndex[];
1630
+ /**
1631
+ * Maximum row size in bytes. Returns 0 when no limit applies.
1632
+ */
1633
+ bytesMax: number;
1634
+ /**
1635
+ * Currently used row size in bytes based on defined columns.
1636
+ */
1637
+ bytesUsed: number;
1409
1638
  };
1410
1639
  /**
1411
1640
  * Columns List
@@ -1418,7 +1647,7 @@ export declare namespace Models {
1418
1647
  /**
1419
1648
  * List of columns.
1420
1649
  */
1421
- columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnString)[];
1650
+ columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnVarchar | Models.ColumnText | Models.ColumnMediumtext | Models.ColumnLongtext | Models.ColumnString)[];
1422
1651
  };
1423
1652
  /**
1424
1653
  * ColumnString
@@ -1508,11 +1737,11 @@ export declare namespace Models {
1508
1737
  /**
1509
1738
  * Minimum value to enforce for new documents.
1510
1739
  */
1511
- min?: number;
1740
+ min?: number | bigint;
1512
1741
  /**
1513
1742
  * Maximum value to enforce for new documents.
1514
1743
  */
1515
- max?: number;
1744
+ max?: number | bigint;
1516
1745
  /**
1517
1746
  * Default value for column when not provided. Cannot be set when column is required.
1518
1747
  */
@@ -2022,58 +2251,242 @@ export declare namespace Models {
2022
2251
  default?: any[];
2023
2252
  };
2024
2253
  /**
2025
- * Index
2254
+ * ColumnVarchar
2026
2255
  */
2027
- export type Index = {
2256
+ export type ColumnVarchar = {
2028
2257
  /**
2029
- * Index ID.
2258
+ * Column Key.
2030
2259
  */
2031
- $id: string;
2260
+ key: string;
2032
2261
  /**
2033
- * Index creation date in ISO 8601 format.
2262
+ * Column type.
2034
2263
  */
2035
- $createdAt: string;
2264
+ type: string;
2036
2265
  /**
2037
- * Index update date in ISO 8601 format.
2266
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
2038
2267
  */
2039
- $updatedAt: string;
2268
+ status: ColumnStatus;
2040
2269
  /**
2041
- * Index key.
2270
+ * Error message. Displays error generated on failure of creating or deleting an column.
2042
2271
  */
2043
- key: string;
2272
+ error: string;
2044
2273
  /**
2045
- * Index type.
2274
+ * Is column required?
2046
2275
  */
2047
- type: string;
2276
+ required: boolean;
2048
2277
  /**
2049
- * Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
2278
+ * Is column an array?
2050
2279
  */
2051
- status: IndexStatus;
2280
+ array?: boolean;
2052
2281
  /**
2053
- * Error message. Displays error generated on failure of creating or deleting an index.
2282
+ * Column creation date in ISO 8601 format.
2054
2283
  */
2055
- error: string;
2284
+ $createdAt: string;
2056
2285
  /**
2057
- * Index attributes.
2286
+ * Column update date in ISO 8601 format.
2058
2287
  */
2059
- attributes: string[];
2288
+ $updatedAt: string;
2060
2289
  /**
2061
- * Index attributes length.
2290
+ * Column size.
2062
2291
  */
2063
- lengths: number[];
2292
+ size: number;
2064
2293
  /**
2065
- * Index orders.
2294
+ * Default value for column when not provided. Cannot be set when column is required.
2066
2295
  */
2067
- orders?: string[];
2296
+ default?: string;
2297
+ /**
2298
+ * Defines whether this column is encrypted or not.
2299
+ */
2300
+ encrypt?: boolean;
2068
2301
  };
2069
2302
  /**
2070
- * Index
2303
+ * ColumnText
2071
2304
  */
2072
- export type ColumnIndex = {
2305
+ export type ColumnText = {
2073
2306
  /**
2074
- * Index ID.
2307
+ * Column Key.
2075
2308
  */
2076
- $id: string;
2309
+ key: string;
2310
+ /**
2311
+ * Column type.
2312
+ */
2313
+ type: string;
2314
+ /**
2315
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
2316
+ */
2317
+ status: ColumnStatus;
2318
+ /**
2319
+ * Error message. Displays error generated on failure of creating or deleting an column.
2320
+ */
2321
+ error: string;
2322
+ /**
2323
+ * Is column required?
2324
+ */
2325
+ required: boolean;
2326
+ /**
2327
+ * Is column an array?
2328
+ */
2329
+ array?: boolean;
2330
+ /**
2331
+ * Column creation date in ISO 8601 format.
2332
+ */
2333
+ $createdAt: string;
2334
+ /**
2335
+ * Column update date in ISO 8601 format.
2336
+ */
2337
+ $updatedAt: string;
2338
+ /**
2339
+ * Default value for column when not provided. Cannot be set when column is required.
2340
+ */
2341
+ default?: string;
2342
+ /**
2343
+ * Defines whether this column is encrypted or not.
2344
+ */
2345
+ encrypt?: boolean;
2346
+ };
2347
+ /**
2348
+ * ColumnMediumtext
2349
+ */
2350
+ export type ColumnMediumtext = {
2351
+ /**
2352
+ * Column Key.
2353
+ */
2354
+ key: string;
2355
+ /**
2356
+ * Column type.
2357
+ */
2358
+ type: string;
2359
+ /**
2360
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
2361
+ */
2362
+ status: ColumnStatus;
2363
+ /**
2364
+ * Error message. Displays error generated on failure of creating or deleting an column.
2365
+ */
2366
+ error: string;
2367
+ /**
2368
+ * Is column required?
2369
+ */
2370
+ required: boolean;
2371
+ /**
2372
+ * Is column an array?
2373
+ */
2374
+ array?: boolean;
2375
+ /**
2376
+ * Column creation date in ISO 8601 format.
2377
+ */
2378
+ $createdAt: string;
2379
+ /**
2380
+ * Column update date in ISO 8601 format.
2381
+ */
2382
+ $updatedAt: string;
2383
+ /**
2384
+ * Default value for column when not provided. Cannot be set when column is required.
2385
+ */
2386
+ default?: string;
2387
+ /**
2388
+ * Defines whether this column is encrypted or not.
2389
+ */
2390
+ encrypt?: boolean;
2391
+ };
2392
+ /**
2393
+ * ColumnLongtext
2394
+ */
2395
+ export type ColumnLongtext = {
2396
+ /**
2397
+ * Column Key.
2398
+ */
2399
+ key: string;
2400
+ /**
2401
+ * Column type.
2402
+ */
2403
+ type: string;
2404
+ /**
2405
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
2406
+ */
2407
+ status: ColumnStatus;
2408
+ /**
2409
+ * Error message. Displays error generated on failure of creating or deleting an column.
2410
+ */
2411
+ error: string;
2412
+ /**
2413
+ * Is column required?
2414
+ */
2415
+ required: boolean;
2416
+ /**
2417
+ * Is column an array?
2418
+ */
2419
+ array?: boolean;
2420
+ /**
2421
+ * Column creation date in ISO 8601 format.
2422
+ */
2423
+ $createdAt: string;
2424
+ /**
2425
+ * Column update date in ISO 8601 format.
2426
+ */
2427
+ $updatedAt: string;
2428
+ /**
2429
+ * Default value for column when not provided. Cannot be set when column is required.
2430
+ */
2431
+ default?: string;
2432
+ /**
2433
+ * Defines whether this column is encrypted or not.
2434
+ */
2435
+ encrypt?: boolean;
2436
+ };
2437
+ /**
2438
+ * Index
2439
+ */
2440
+ export type Index = {
2441
+ /**
2442
+ * Index ID.
2443
+ */
2444
+ $id: string;
2445
+ /**
2446
+ * Index creation date in ISO 8601 format.
2447
+ */
2448
+ $createdAt: string;
2449
+ /**
2450
+ * Index update date in ISO 8601 format.
2451
+ */
2452
+ $updatedAt: string;
2453
+ /**
2454
+ * Index key.
2455
+ */
2456
+ key: string;
2457
+ /**
2458
+ * Index type.
2459
+ */
2460
+ type: string;
2461
+ /**
2462
+ * Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
2463
+ */
2464
+ status: IndexStatus;
2465
+ /**
2466
+ * Error message. Displays error generated on failure of creating or deleting an index.
2467
+ */
2468
+ error: string;
2469
+ /**
2470
+ * Index attributes.
2471
+ */
2472
+ attributes: string[];
2473
+ /**
2474
+ * Index attributes length.
2475
+ */
2476
+ lengths: number[];
2477
+ /**
2478
+ * Index orders.
2479
+ */
2480
+ orders?: string[];
2481
+ };
2482
+ /**
2483
+ * Index
2484
+ */
2485
+ export type ColumnIndex = {
2486
+ /**
2487
+ * Index ID.
2488
+ */
2489
+ $id: string;
2077
2490
  /**
2078
2491
  * Index creation date in ISO 8601 format.
2079
2492
  */
@@ -2120,9 +2533,9 @@ export declare namespace Models {
2120
2533
  */
2121
2534
  $id: string;
2122
2535
  /**
2123
- * Row automatically incrementing ID.
2536
+ * Row sequence ID.
2124
2537
  */
2125
- $sequence: number;
2538
+ $sequence: string;
2126
2539
  /**
2127
2540
  * Table ID.
2128
2541
  */
@@ -2157,9 +2570,9 @@ export declare namespace Models {
2157
2570
  */
2158
2571
  $id: string;
2159
2572
  /**
2160
- * Document automatically incrementing ID.
2573
+ * Document sequence ID.
2161
2574
  */
2162
- $sequence: number;
2575
+ $sequence: string;
2163
2576
  /**
2164
2577
  * Collection ID.
2165
2578
  */
@@ -2194,15 +2607,15 @@ export declare namespace Models {
2194
2607
  */
2195
2608
  event: string;
2196
2609
  /**
2197
- * User ID.
2610
+ * User ID of the actor recorded for this log. During impersonation, this is the original impersonator, not the impersonated target user.
2198
2611
  */
2199
2612
  userId: string;
2200
2613
  /**
2201
- * User Email.
2614
+ * User email of the actor recorded for this log. During impersonation, this is the original impersonator.
2202
2615
  */
2203
2616
  userEmail: string;
2204
2617
  /**
2205
- * User Name.
2618
+ * User name of the actor recorded for this log. During impersonation, this is the original impersonator.
2206
2619
  */
2207
2620
  userName: string;
2208
2621
  /**
@@ -2354,6 +2767,14 @@ export declare namespace Models {
2354
2767
  * Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
2355
2768
  */
2356
2769
  accessedAt: string;
2770
+ /**
2771
+ * Whether the user can impersonate other users.
2772
+ */
2773
+ impersonator?: boolean;
2774
+ /**
2775
+ * ID of the original actor performing the impersonation. Present only when the current request is impersonating another user. Internal audit logs attribute the action to this user, while the impersonated target is recorded only in internal audit payload data.
2776
+ */
2777
+ impersonatorUserId?: string;
2357
2778
  };
2358
2779
  /**
2359
2780
  * AlgoMD5
@@ -2764,6 +3185,14 @@ export declare namespace Models {
2764
3185
  * Total number of chunks uploaded
2765
3186
  */
2766
3187
  chunksUploaded: number;
3188
+ /**
3189
+ * Whether file contents are encrypted at rest.
3190
+ */
3191
+ encryption: boolean;
3192
+ /**
3193
+ * Compression algorithm used for the file. Will be one of none, [gzip](https://en.wikipedia.org/wiki/Gzip), or [zstd](https://en.wikipedia.org/wiki/Zstd).
3194
+ */
3195
+ compression: string;
2767
3196
  };
2768
3197
  /**
2769
3198
  * Bucket
@@ -2806,7 +3235,7 @@ export declare namespace Models {
2806
3235
  */
2807
3236
  allowedFileExtensions: string[];
2808
3237
  /**
2809
- * Compression algorithm choosen for compression. Will be one of none, [gzip](https://en.wikipedia.org/wiki/Gzip), or [zstd](https://en.wikipedia.org/wiki/Zstd).
3238
+ * Compression algorithm chosen for compression. Will be one of none, [gzip](https://en.wikipedia.org/wiki/Gzip), or [zstd](https://en.wikipedia.org/wiki/Zstd).
2810
3239
  */
2811
3240
  compression: string;
2812
3241
  /**
@@ -2821,6 +3250,10 @@ export declare namespace Models {
2821
3250
  * Image transformations are enabled.
2822
3251
  */
2823
3252
  transformations: boolean;
3253
+ /**
3254
+ * Total size of this bucket in bytes.
3255
+ */
3256
+ totalSize: number;
2824
3257
  };
2825
3258
  /**
2826
3259
  * ResourceToken
@@ -2977,6 +3410,10 @@ export declare namespace Models {
2977
3410
  * Site framework.
2978
3411
  */
2979
3412
  framework: string;
3413
+ /**
3414
+ * How many days to keep the non-active deployments before they will be automatically deleted.
3415
+ */
3416
+ deploymentRetention: number;
2980
3417
  /**
2981
3418
  * Site's active deployment ID.
2982
3419
  */
@@ -3021,6 +3458,10 @@ export declare namespace Models {
3021
3458
  * The build command used to build the site.
3022
3459
  */
3023
3460
  buildCommand: string;
3461
+ /**
3462
+ * Custom command to use when starting site runtime.
3463
+ */
3464
+ startCommand: string;
3024
3465
  /**
3025
3466
  * The directory where the site build output is located.
3026
3467
  */
@@ -3046,9 +3487,13 @@ export declare namespace Models {
3046
3487
  */
3047
3488
  providerSilentMode: boolean;
3048
3489
  /**
3049
- * Machine specification for builds and executions.
3490
+ * Machine specification for deployment builds.
3050
3491
  */
3051
- specification: string;
3492
+ buildSpecification: string;
3493
+ /**
3494
+ * Machine specification for SSR executions.
3495
+ */
3496
+ runtimeSpecification: string;
3052
3497
  /**
3053
3498
  * Site build runtime.
3054
3499
  */
@@ -3200,6 +3645,10 @@ export declare namespace Models {
3200
3645
  * Function execution and build runtime.
3201
3646
  */
3202
3647
  runtime: string;
3648
+ /**
3649
+ * How many days to keep the non-active deployments before they will be automatically deleted.
3650
+ */
3651
+ deploymentRetention: number;
3203
3652
  /**
3204
3653
  * Function's active deployment ID.
3205
3654
  */
@@ -3273,9 +3722,13 @@ export declare namespace Models {
3273
3722
  */
3274
3723
  providerSilentMode: boolean;
3275
3724
  /**
3276
- * Machine specification for builds and executions.
3725
+ * Machine specification for deployment builds.
3277
3726
  */
3278
- specification: string;
3727
+ buildSpecification: string;
3728
+ /**
3729
+ * Machine specification for executions.
3730
+ */
3731
+ runtimeSpecification: string;
3279
3732
  };
3280
3733
  /**
3281
3734
  * Template Function
@@ -3461,6 +3914,14 @@ export declare namespace Models {
3461
3914
  * VCS (Version Control System) repository's default branch name.
3462
3915
  */
3463
3916
  defaultBranch: string;
3917
+ /**
3918
+ * VCS (Version Control System) installation ID.
3919
+ */
3920
+ providerInstallationId: string;
3921
+ /**
3922
+ * Is VCS (Version Control System) repository authorized for the installation?
3923
+ */
3924
+ authorized: boolean;
3464
3925
  /**
3465
3926
  * Last commit date in ISO 8601 format.
3466
3927
  */
@@ -3498,6 +3959,14 @@ export declare namespace Models {
3498
3959
  * VCS (Version Control System) repository's default branch name.
3499
3960
  */
3500
3961
  defaultBranch: string;
3962
+ /**
3963
+ * VCS (Version Control System) installation ID.
3964
+ */
3965
+ providerInstallationId: string;
3966
+ /**
3967
+ * Is VCS (Version Control System) repository authorized for the installation?
3968
+ */
3969
+ authorized: boolean;
3501
3970
  /**
3502
3971
  * Last commit date in ISO 8601 format.
3503
3972
  */
@@ -3539,6 +4008,14 @@ export declare namespace Models {
3539
4008
  * VCS (Version Control System) repository's default branch name.
3540
4009
  */
3541
4010
  defaultBranch: string;
4011
+ /**
4012
+ * VCS (Version Control System) installation ID.
4013
+ */
4014
+ providerInstallationId: string;
4015
+ /**
4016
+ * Is VCS (Version Control System) repository authorized for the installation?
4017
+ */
4018
+ authorized: boolean;
3542
4019
  /**
3543
4020
  * Last commit date in ISO 8601 format.
3544
4021
  */
@@ -3785,7 +4262,7 @@ export declare namespace Models {
3785
4262
  */
3786
4263
  screenshotDark: string;
3787
4264
  /**
3788
- * The deployment status. Possible values are "waiting", "processing", "building", "ready", and "failed".
4265
+ * The deployment status. Possible values are "waiting", "processing", "building", "ready", "canceled" and "failed".
3789
4266
  */
3790
4267
  status: DeploymentStatus;
3791
4268
  /**
@@ -3986,14 +4463,14 @@ export declare namespace Models {
3986
4463
  * Max sessions allowed per user. 100 maximum.
3987
4464
  */
3988
4465
  authSessionsLimit: number;
3989
- /**
3990
- * Max allowed passwords in the history list per user. Max passwords limit allowed in history is 20. Use 0 for disabling password history.
3991
- */
3992
- authPasswordHistory: number;
3993
4466
  /**
3994
4467
  * Max database storage in bytes allowed for this project. 0 is unlimited. Default is 1GB (1073741824 bytes).
3995
4468
  */
3996
4469
  authDatabasesStorageLimit: number;
4470
+ /**
4471
+ * Max allowed passwords in the history list per user. Max passwords limit allowed in history is 20. Use 0 for disabling password history.
4472
+ */
4473
+ authPasswordHistory: number;
3997
4474
  /**
3998
4475
  * Whether or not to check user's password against most commonly used passwords.
3999
4476
  */
@@ -4090,6 +4567,14 @@ export declare namespace Models {
4090
4567
  * Last ping datetime in ISO 8601 format.
4091
4568
  */
4092
4569
  pingedAt: string;
4570
+ /**
4571
+ * Labels for the project.
4572
+ */
4573
+ labels: string[];
4574
+ /**
4575
+ * Project status
4576
+ */
4577
+ status: string;
4093
4578
  /**
4094
4579
  * Email/Password auth method status
4095
4580
  */
@@ -4174,10 +4659,6 @@ export declare namespace Models {
4174
4659
  * Project region
4175
4660
  */
4176
4661
  region: string;
4177
- /**
4178
- * Project status
4179
- */
4180
- status: string;
4181
4662
  /**
4182
4663
  * Billing limits reached
4183
4664
  */
@@ -4186,6 +4667,10 @@ export declare namespace Models {
4186
4667
  * Project blocks information
4187
4668
  */
4188
4669
  blocks: Block[];
4670
+ /**
4671
+ * Last time the project was accessed via console. Used with plan's projectInactivityDays to determine if project is paused.
4672
+ */
4673
+ consoleAccessedAt: string;
4189
4674
  };
4190
4675
  /**
4191
4676
  * Webhook
@@ -5132,125 +5617,125 @@ export declare namespace Models {
5132
5617
  */
5133
5618
  range: string;
5134
5619
  /**
5135
- * Total aggregated number of functions deployments.
5620
+ * Total aggregated number of sites.
5621
+ */
5622
+ sitesTotal: number;
5623
+ /**
5624
+ * Aggregated number of sites per period.
5625
+ */
5626
+ sites: Metric[];
5627
+ /**
5628
+ * Total aggregated number of sites deployments.
5136
5629
  */
5137
5630
  deploymentsTotal: number;
5138
5631
  /**
5139
- * Total aggregated sum of functions deployment storage.
5632
+ * Total aggregated sum of sites deployment storage.
5140
5633
  */
5141
5634
  deploymentsStorageTotal: number;
5142
5635
  /**
5143
- * Total aggregated number of functions build.
5636
+ * Total aggregated number of sites build.
5144
5637
  */
5145
5638
  buildsTotal: number;
5146
5639
  /**
5147
- * total aggregated sum of functions build storage.
5640
+ * total aggregated sum of sites build storage.
5148
5641
  */
5149
5642
  buildsStorageTotal: number;
5150
5643
  /**
5151
- * Total aggregated sum of functions build compute time.
5644
+ * Total aggregated sum of sites build compute time.
5152
5645
  */
5153
5646
  buildsTimeTotal: number;
5154
5647
  /**
5155
- * Total aggregated sum of functions build mbSeconds.
5648
+ * Total aggregated sum of sites build mbSeconds.
5156
5649
  */
5157
5650
  buildsMbSecondsTotal: number;
5158
5651
  /**
5159
- * Total aggregated number of functions execution.
5652
+ * Total aggregated number of sites execution.
5160
5653
  */
5161
5654
  executionsTotal: number;
5162
5655
  /**
5163
- * Total aggregated sum of functions execution compute time.
5656
+ * Total aggregated sum of sites execution compute time.
5164
5657
  */
5165
5658
  executionsTimeTotal: number;
5166
5659
  /**
5167
- * Total aggregated sum of functions execution mbSeconds.
5660
+ * Total aggregated sum of sites execution mbSeconds.
5168
5661
  */
5169
5662
  executionsMbSecondsTotal: number;
5170
5663
  /**
5171
- * Aggregated number of functions deployment per period.
5664
+ * Total aggregated number of requests.
5665
+ */
5666
+ requestsTotal: number;
5667
+ /**
5668
+ * Aggregated number of requests per period.
5669
+ */
5670
+ requests: Metric[];
5671
+ /**
5672
+ * Total aggregated inbound bandwidth.
5673
+ */
5674
+ inboundTotal: number;
5675
+ /**
5676
+ * Aggregated number of inbound bandwidth per period.
5677
+ */
5678
+ inbound: Metric[];
5679
+ /**
5680
+ * Total aggregated outbound bandwidth.
5681
+ */
5682
+ outboundTotal: number;
5683
+ /**
5684
+ * Aggregated number of outbound bandwidth per period.
5685
+ */
5686
+ outbound: Metric[];
5687
+ /**
5688
+ * Aggregated number of sites deployment per period.
5172
5689
  */
5173
5690
  deployments: Metric[];
5174
5691
  /**
5175
- * Aggregated number of functions deployment storage per period.
5692
+ * Aggregated number of sites deployment storage per period.
5176
5693
  */
5177
5694
  deploymentsStorage: Metric[];
5178
5695
  /**
5179
- * Total aggregated number of successful function builds.
5696
+ * Total aggregated number of successful site builds.
5180
5697
  */
5181
5698
  buildsSuccessTotal: number;
5182
5699
  /**
5183
- * Total aggregated number of failed function builds.
5700
+ * Total aggregated number of failed site builds.
5184
5701
  */
5185
5702
  buildsFailedTotal: number;
5186
5703
  /**
5187
- * Aggregated number of functions build per period.
5704
+ * Aggregated number of sites build per period.
5188
5705
  */
5189
5706
  builds: Metric[];
5190
5707
  /**
5191
- * Aggregated sum of functions build storage per period.
5708
+ * Aggregated sum of sites build storage per period.
5192
5709
  */
5193
5710
  buildsStorage: Metric[];
5194
5711
  /**
5195
- * Aggregated sum of functions build compute time per period.
5712
+ * Aggregated sum of sites build compute time per period.
5196
5713
  */
5197
5714
  buildsTime: Metric[];
5198
5715
  /**
5199
- * Aggregated sum of functions build mbSeconds per period.
5716
+ * Aggregated sum of sites build mbSeconds per period.
5200
5717
  */
5201
5718
  buildsMbSeconds: Metric[];
5202
5719
  /**
5203
- * Aggregated number of functions execution per period.
5720
+ * Aggregated number of sites execution per period.
5204
5721
  */
5205
5722
  executions: Metric[];
5206
5723
  /**
5207
- * Aggregated number of functions execution compute time per period.
5724
+ * Aggregated number of sites execution compute time per period.
5208
5725
  */
5209
5726
  executionsTime: Metric[];
5210
5727
  /**
5211
- * Aggregated number of functions mbSeconds per period.
5728
+ * Aggregated number of sites mbSeconds per period.
5212
5729
  */
5213
5730
  executionsMbSeconds: Metric[];
5214
5731
  /**
5215
- * Aggregated number of successful function builds per period.
5732
+ * Aggregated number of successful site builds per period.
5216
5733
  */
5217
5734
  buildsSuccess: Metric[];
5218
5735
  /**
5219
- * Aggregated number of failed function builds per period.
5736
+ * Aggregated number of failed site builds per period.
5220
5737
  */
5221
5738
  buildsFailed: Metric[];
5222
- /**
5223
- * Total aggregated number of sites.
5224
- */
5225
- sitesTotal: number;
5226
- /**
5227
- * Aggregated number of sites per period.
5228
- */
5229
- sites: Metric[];
5230
- /**
5231
- * Total aggregated number of requests.
5232
- */
5233
- requestsTotal: number;
5234
- /**
5235
- * Aggregated number of requests per period.
5236
- */
5237
- requests: Metric[];
5238
- /**
5239
- * Total aggregated inbound bandwidth.
5240
- */
5241
- inboundTotal: number;
5242
- /**
5243
- * Aggregated number of inbound bandwidth per period.
5244
- */
5245
- inbound: Metric[];
5246
- /**
5247
- * Total aggregated outbound bandwidth.
5248
- */
5249
- outboundTotal: number;
5250
- /**
5251
- * Aggregated number of outbound bandwidth per period.
5252
- */
5253
- outbound: Metric[];
5254
5739
  };
5255
5740
  /**
5256
5741
  * UsageSite
@@ -5509,6 +5994,22 @@ export declare namespace Models {
5509
5994
  * Total aggregated number of image transformations.
5510
5995
  */
5511
5996
  imageTransformationsTotal: number;
5997
+ /**
5998
+ * Aggregated number of function executions per period.
5999
+ */
6000
+ functionsExecutions: Metric[];
6001
+ /**
6002
+ * Total aggregated number of function executions.
6003
+ */
6004
+ functionsExecutionsTotal: number;
6005
+ /**
6006
+ * Aggregated number of site executions per period.
6007
+ */
6008
+ sitesExecutions: Metric[];
6009
+ /**
6010
+ * Total aggregated number of site executions.
6011
+ */
6012
+ sitesExecutionsTotal: number;
5512
6013
  /**
5513
6014
  * Aggregated stats for total network bandwidth.
5514
6015
  */
@@ -5518,13 +6019,45 @@ export declare namespace Models {
5518
6019
  */
5519
6020
  backupsStorageTotal: number;
5520
6021
  /**
5521
- * An array of aggregated number of image transformations.
6022
+ * An array of aggregated number of screenshots generated.
5522
6023
  */
5523
6024
  screenshotsGenerated: Metric[];
5524
6025
  /**
5525
- * Total aggregated number of image transformations.
6026
+ * Total aggregated number of screenshots generated.
5526
6027
  */
5527
6028
  screenshotsGeneratedTotal: number;
6029
+ /**
6030
+ * An array of aggregated number of Imagine credits in the given period.
6031
+ */
6032
+ imagineCredits: Metric[];
6033
+ /**
6034
+ * Total aggregated number of Imagine credits.
6035
+ */
6036
+ imagineCreditsTotal: number;
6037
+ /**
6038
+ * Current aggregated number of open Realtime connections.
6039
+ */
6040
+ realtimeConnectionsTotal: number;
6041
+ /**
6042
+ * Total number of Realtime messages sent to clients.
6043
+ */
6044
+ realtimeMessagesTotal: number;
6045
+ /**
6046
+ * Total consumed Realtime bandwidth (in bytes).
6047
+ */
6048
+ realtimeBandwidthTotal: number;
6049
+ /**
6050
+ * Aggregated number of open Realtime connections per period.
6051
+ */
6052
+ realtimeConnections: Metric[];
6053
+ /**
6054
+ * Aggregated number of Realtime messages sent to clients per period.
6055
+ */
6056
+ realtimeMessages: Metric[];
6057
+ /**
6058
+ * Aggregated consumed Realtime bandwidth (in bytes) per period.
6059
+ */
6060
+ realtimeBandwidth: Metric[];
5528
6061
  };
5529
6062
  /**
5530
6063
  * Headers
@@ -5617,7 +6150,7 @@ export declare namespace Models {
5617
6150
  */
5618
6151
  status: ProxyRuleStatus;
5619
6152
  /**
5620
- * Certificate generation logs. This will return an empty string if generation did not run, or succeeded.
6153
+ * Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.
5621
6154
  */
5622
6155
  logs: string;
5623
6156
  /**
@@ -5625,6 +6158,55 @@ export declare namespace Models {
5625
6158
  */
5626
6159
  renewAt: string;
5627
6160
  };
6161
+ /**
6162
+ * Schedule
6163
+ */
6164
+ export type Schedule = {
6165
+ /**
6166
+ * Schedule ID.
6167
+ */
6168
+ $id: string;
6169
+ /**
6170
+ * Schedule creation date in ISO 8601 format.
6171
+ */
6172
+ $createdAt: string;
6173
+ /**
6174
+ * Schedule update date in ISO 8601 format.
6175
+ */
6176
+ $updatedAt: string;
6177
+ /**
6178
+ * The resource type associated with this schedule.
6179
+ */
6180
+ resourceType: string;
6181
+ /**
6182
+ * The resource ID associated with this schedule.
6183
+ */
6184
+ resourceId: string;
6185
+ /**
6186
+ * Change-tracking timestamp used by the scheduler to detect resource changes in ISO 8601 format.
6187
+ */
6188
+ resourceUpdatedAt: string;
6189
+ /**
6190
+ * The project ID associated with this schedule.
6191
+ */
6192
+ projectId: string;
6193
+ /**
6194
+ * The CRON schedule expression.
6195
+ */
6196
+ schedule: string;
6197
+ /**
6198
+ * Schedule data used to store resource-specific context needed for execution.
6199
+ */
6200
+ data: object;
6201
+ /**
6202
+ * Whether the schedule is active.
6203
+ */
6204
+ active: boolean;
6205
+ /**
6206
+ * The region where the schedule is deployed.
6207
+ */
6208
+ region: string;
6209
+ };
5628
6210
  /**
5629
6211
  * SmsTemplate
5630
6212
  */
@@ -5724,7 +6306,7 @@ export declare namespace Models {
5724
6306
  */
5725
6307
  _APP_ASSISTANT_ENABLED: boolean;
5726
6308
  /**
5727
- * A domain to use for site URLs.
6309
+ * A comma separated list of domains to use for site URLs.
5728
6310
  */
5729
6311
  _APP_DOMAIN_SITES: string;
5730
6312
  /**
@@ -5739,6 +6321,50 @@ export declare namespace Models {
5739
6321
  * Comma-separated list of nameservers.
5740
6322
  */
5741
6323
  _APP_DOMAINS_NAMESERVERS: string;
6324
+ /**
6325
+ * Database adapter in use.
6326
+ */
6327
+ _APP_DB_ADAPTER: string;
6328
+ /**
6329
+ * Whether the database adapter supports relationships.
6330
+ */
6331
+ supportForRelationships: boolean;
6332
+ /**
6333
+ * Whether the database adapter supports operators.
6334
+ */
6335
+ supportForOperators: boolean;
6336
+ /**
6337
+ * Whether the database adapter supports spatial attributes.
6338
+ */
6339
+ supportForSpatials: boolean;
6340
+ /**
6341
+ * Whether the database adapter supports spatial indexes on nullable columns.
6342
+ */
6343
+ supportForSpatialIndexNull: boolean;
6344
+ /**
6345
+ * Whether the database adapter supports fulltext wildcard search.
6346
+ */
6347
+ supportForFulltextWildcard: boolean;
6348
+ /**
6349
+ * Whether the database adapter supports multiple fulltext indexes per collection.
6350
+ */
6351
+ supportForMultipleFulltextIndexes: boolean;
6352
+ /**
6353
+ * Whether the database adapter supports resizing attributes.
6354
+ */
6355
+ supportForAttributeResizing: boolean;
6356
+ /**
6357
+ * Whether the database adapter supports fixed schemas with row width limits.
6358
+ */
6359
+ supportForSchemas: boolean;
6360
+ /**
6361
+ * Maximum index length supported by the database adapter.
6362
+ */
6363
+ maxIndexLength: number;
6364
+ /**
6365
+ * Whether the database adapter uses integer sequence IDs.
6366
+ */
6367
+ supportForIntegerIds: boolean;
5742
6368
  };
5743
6369
  /**
5744
6370
  * MFA Challenge
@@ -6114,44 +6740,201 @@ export declare namespace Models {
6114
6740
  /**
6115
6741
  * Number of users to be migrated.
6116
6742
  */
6117
- user: number;
6743
+ user: number;
6744
+ /**
6745
+ * Number of teams to be migrated.
6746
+ */
6747
+ team: number;
6748
+ /**
6749
+ * Number of databases to be migrated.
6750
+ */
6751
+ database: number;
6752
+ /**
6753
+ * Number of rows to be migrated.
6754
+ */
6755
+ row: number;
6756
+ /**
6757
+ * Number of files to be migrated.
6758
+ */
6759
+ file: number;
6760
+ /**
6761
+ * Number of buckets to be migrated.
6762
+ */
6763
+ bucket: number;
6764
+ /**
6765
+ * Number of functions to be migrated.
6766
+ */
6767
+ function: number;
6768
+ /**
6769
+ * Number of sites to be migrated.
6770
+ */
6771
+ site: number;
6772
+ /**
6773
+ * Number of providers to be migrated.
6774
+ */
6775
+ provider: number;
6776
+ /**
6777
+ * Number of topics to be migrated.
6778
+ */
6779
+ topic: number;
6780
+ /**
6781
+ * Number of subscribers to be migrated.
6782
+ */
6783
+ subscriber: number;
6784
+ /**
6785
+ * Number of messages to be migrated.
6786
+ */
6787
+ message: number;
6788
+ /**
6789
+ * Size of files to be migrated in mb.
6790
+ */
6791
+ size: number;
6792
+ /**
6793
+ * Version of the Appwrite instance to be migrated.
6794
+ */
6795
+ version: string;
6796
+ };
6797
+ /**
6798
+ * ActivityEvent
6799
+ */
6800
+ export type ActivityEvent = {
6801
+ /**
6802
+ * Event ID.
6803
+ */
6804
+ $id: string;
6805
+ /**
6806
+ * User type.
6807
+ */
6808
+ userType: string;
6809
+ /**
6810
+ * User ID.
6811
+ */
6812
+ userId: string;
6813
+ /**
6814
+ * User Email.
6815
+ */
6816
+ userEmail: string;
6817
+ /**
6818
+ * User Name.
6819
+ */
6820
+ userName: string;
6821
+ /**
6822
+ * Resource parent.
6823
+ */
6824
+ resourceParent: string;
6825
+ /**
6826
+ * Resource type.
6827
+ */
6828
+ resourceType: string;
6829
+ /**
6830
+ * Resource ID.
6831
+ */
6832
+ resourceId: string;
6833
+ /**
6834
+ * Resource.
6835
+ */
6836
+ resource: string;
6837
+ /**
6838
+ * Event name.
6839
+ */
6840
+ event: string;
6841
+ /**
6842
+ * User agent.
6843
+ */
6844
+ userAgent: string;
6845
+ /**
6846
+ * IP address.
6847
+ */
6848
+ ip: string;
6849
+ /**
6850
+ * API mode when event triggered.
6851
+ */
6852
+ mode: string;
6853
+ /**
6854
+ * Location.
6855
+ */
6856
+ country: string;
6857
+ /**
6858
+ * Log creation date in ISO 8601 format.
6859
+ */
6860
+ time: string;
6861
+ /**
6862
+ * Project ID.
6863
+ */
6864
+ projectId: string;
6865
+ /**
6866
+ * Team ID.
6867
+ */
6868
+ teamId: string;
6869
+ /**
6870
+ * Hostname.
6871
+ */
6872
+ hostname: string;
6873
+ /**
6874
+ * Operating system code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/os.json).
6875
+ */
6876
+ osCode: string;
6877
+ /**
6878
+ * Operating system name.
6879
+ */
6880
+ osName: string;
6881
+ /**
6882
+ * Operating system version.
6883
+ */
6884
+ osVersion: string;
6885
+ /**
6886
+ * Client type.
6887
+ */
6888
+ clientType: string;
6889
+ /**
6890
+ * Client code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/clients.json).
6891
+ */
6892
+ clientCode: string;
6893
+ /**
6894
+ * Client name.
6895
+ */
6896
+ clientName: string;
6118
6897
  /**
6119
- * Number of teams to be migrated.
6898
+ * Client version.
6120
6899
  */
6121
- team: number;
6900
+ clientVersion: string;
6122
6901
  /**
6123
- * Number of databases to be migrated.
6902
+ * Client engine name.
6124
6903
  */
6125
- database: number;
6904
+ clientEngine: string;
6126
6905
  /**
6127
- * Number of rows to be migrated.
6906
+ * Client engine name.
6128
6907
  */
6129
- row: number;
6908
+ clientEngineVersion: string;
6130
6909
  /**
6131
- * Number of files to be migrated.
6910
+ * Device name.
6132
6911
  */
6133
- file: number;
6912
+ deviceName: string;
6134
6913
  /**
6135
- * Number of buckets to be migrated.
6914
+ * Device brand name.
6136
6915
  */
6137
- bucket: number;
6916
+ deviceBrand: string;
6138
6917
  /**
6139
- * Number of functions to be migrated.
6918
+ * Device model name.
6140
6919
  */
6141
- function: number;
6920
+ deviceModel: string;
6142
6921
  /**
6143
- * Size of files to be migrated in mb.
6922
+ * Country two-character ISO 3166-1 alpha code.
6144
6923
  */
6145
- size: number;
6924
+ countryCode: string;
6146
6925
  /**
6147
- * Version of the Appwrite instance to be migrated.
6926
+ * Country name.
6148
6927
  */
6149
- version: string;
6928
+ countryName: string;
6150
6929
  };
6151
6930
  /**
6152
6931
  * AdditionalResource
6153
6932
  */
6154
6933
  export type AdditionalResource = {
6934
+ /**
6935
+ * Resource name
6936
+ */
6937
+ name: string;
6155
6938
  /**
6156
6939
  * Resource unit
6157
6940
  */
@@ -6168,6 +6951,10 @@ export declare namespace Models {
6168
6951
  * Resource value
6169
6952
  */
6170
6953
  value: number;
6954
+ /**
6955
+ * Description on invoice
6956
+ */
6957
+ invoiceDesc: string;
6171
6958
  };
6172
6959
  /**
6173
6960
  * AggregationTeam
@@ -6234,9 +7021,17 @@ export declare namespace Models {
6234
7021
  */
6235
7022
  usageBandwidth: number;
6236
7023
  /**
6237
- * Total realtime usage for the billing period
7024
+ * Peak concurrent realtime connections for the billing period
6238
7025
  */
6239
7026
  usageRealtime: number;
7027
+ /**
7028
+ * Total realtime messages sent for the billing period
7029
+ */
7030
+ usageRealtimeMessages: number;
7031
+ /**
7032
+ * Total realtime bandwidth usage for the billing period
7033
+ */
7034
+ usageRealtimeBandwidth: number;
6240
7035
  /**
6241
7036
  * Additional members
6242
7037
  */
@@ -6278,9 +7073,9 @@ export declare namespace Models {
6278
7073
  */
6279
7074
  breakdown: AggregationBreakdown[];
6280
7075
  /**
6281
- *
7076
+ * Usage resources
6282
7077
  */
6283
- resources: UsageResources;
7078
+ resources: UsageResources[];
6284
7079
  };
6285
7080
  /**
6286
7081
  * AggregationBreakdown
@@ -6437,6 +7232,10 @@ export declare namespace Models {
6437
7232
  * Image Transformations
6438
7233
  */
6439
7234
  imageTransformations: number;
7235
+ /**
7236
+ * Screenshots generated
7237
+ */
7238
+ screenshotsGenerated: number;
6440
7239
  /**
6441
7240
  * Members
6442
7241
  */
@@ -6450,7 +7249,7 @@ export declare namespace Models {
6450
7249
  */
6451
7250
  projects: number;
6452
7251
  /**
6453
- * Platofrms
7252
+ * Platforms
6454
7253
  */
6455
7254
  platforms: number;
6456
7255
  /**
@@ -6497,6 +7296,10 @@ export declare namespace Models {
6497
7296
  * Function executions
6498
7297
  */
6499
7298
  executions: number;
7299
+ /**
7300
+ * Rolling max executions retained per function/site
7301
+ */
7302
+ executionsRetentionCount: number;
6500
7303
  /**
6501
7304
  * GB hours for functions
6502
7305
  */
@@ -6525,6 +7328,10 @@ export declare namespace Models {
6525
7328
  * Log days
6526
7329
  */
6527
7330
  logs: number;
7331
+ /**
7332
+ * Number of days of console inactivity before a project is paused. 0 means pausing is disabled.
7333
+ */
7334
+ projectInactivityDays: number;
6528
7335
  /**
6529
7336
  * Alert threshold percentage
6530
7337
  */
@@ -6609,6 +7416,18 @@ export declare namespace Models {
6609
7416
  * Does the plan support encrypted string attributes or not.
6610
7417
  */
6611
7418
  databasesAllowEncrypt: boolean;
7419
+ /**
7420
+ * Plan specific limits
7421
+ */
7422
+ limits?: BillingPlanLimits;
7423
+ /**
7424
+ * Group of this billing plan for variants
7425
+ */
7426
+ group: BillingPlanGroup;
7427
+ /**
7428
+ * Details of the program this plan is a part of.
7429
+ */
7430
+ program?: Program;
6612
7431
  };
6613
7432
  /**
6614
7433
  * BillingPlanAddon
@@ -6618,6 +7437,10 @@ export declare namespace Models {
6618
7437
  * Addon seats
6619
7438
  */
6620
7439
  seats: BillingPlanAddonDetails;
7440
+ /**
7441
+ * Addon projects
7442
+ */
7443
+ projects: BillingPlanAddonDetails;
6621
7444
  };
6622
7445
  /**
6623
7446
  * BillingPlanAddonDetails
@@ -6651,6 +7474,23 @@ export declare namespace Models {
6651
7474
  * Resource value
6652
7475
  */
6653
7476
  value: number;
7477
+ /**
7478
+ * Description on invoice
7479
+ */
7480
+ invoiceDesc: string;
7481
+ };
7482
+ /**
7483
+ * BillingPlanLimits
7484
+ */
7485
+ export type BillingPlanLimits = {
7486
+ /**
7487
+ * Credits limit per billing cycle
7488
+ */
7489
+ credits?: number;
7490
+ /**
7491
+ * Daily credits limit (if applicable)
7492
+ */
7493
+ dailyCredits?: number;
6654
7494
  };
6655
7495
  /**
6656
7496
  * BillingLimits
@@ -6684,6 +7524,10 @@ export declare namespace Models {
6684
7524
  * Auth phone limit
6685
7525
  */
6686
7526
  authPhone: number;
7527
+ /**
7528
+ * Budget limit percentage
7529
+ */
7530
+ budgetLimit: number;
6687
7531
  };
6688
7532
  /**
6689
7533
  * Block
@@ -6763,6 +7607,47 @@ export declare namespace Models {
6763
7607
  */
6764
7608
  footer?: boolean;
6765
7609
  };
7610
+ /**
7611
+ * Program
7612
+ */
7613
+ export type Program = {
7614
+ /**
7615
+ * Program ID
7616
+ */
7617
+ $id: string;
7618
+ /**
7619
+ * Program title
7620
+ */
7621
+ title: string;
7622
+ /**
7623
+ * Program description
7624
+ */
7625
+ description: string;
7626
+ /**
7627
+ * Program tag for highlighting on console
7628
+ */
7629
+ tag: string;
7630
+ /**
7631
+ * Program icon for highlighting on console
7632
+ */
7633
+ icon: string;
7634
+ /**
7635
+ * URL for more information on this program
7636
+ */
7637
+ url: string;
7638
+ /**
7639
+ * Whether this program is active
7640
+ */
7641
+ active: boolean;
7642
+ /**
7643
+ * Whether this program is external
7644
+ */
7645
+ external: boolean;
7646
+ /**
7647
+ * Billing plan ID that this is program is associated with.
7648
+ */
7649
+ billingPlanId: string;
7650
+ };
6766
7651
  /**
6767
7652
  * Coupon
6768
7653
  */
@@ -6875,6 +7760,51 @@ export declare namespace Models {
6875
7760
  */
6876
7761
  available: number;
6877
7762
  };
7763
+ /**
7764
+ * Downgrade Feedback
7765
+ */
7766
+ export type DowngradeFeedback = {
7767
+ /**
7768
+ * Feedback ID.
7769
+ */
7770
+ $id: string;
7771
+ /**
7772
+ * Feedback creation date in ISO 8601 format.
7773
+ */
7774
+ $createdAt: string;
7775
+ /**
7776
+ * Feedback update date in ISO 8601 format.
7777
+ */
7778
+ $updatedAt: string;
7779
+ /**
7780
+ * Feedback reason
7781
+ */
7782
+ title: string;
7783
+ /**
7784
+ * Feedback message
7785
+ */
7786
+ message: string;
7787
+ /**
7788
+ * Plan ID downgrading from
7789
+ */
7790
+ fromPlanId: string;
7791
+ /**
7792
+ * Plan ID downgrading to
7793
+ */
7794
+ toPlanId: string;
7795
+ /**
7796
+ * Organization ID
7797
+ */
7798
+ teamId: string;
7799
+ /**
7800
+ * User ID who submitted feedback
7801
+ */
7802
+ userId: string;
7803
+ /**
7804
+ * Console version
7805
+ */
7806
+ version: string;
7807
+ };
6878
7808
  /**
6879
7809
  * Invoice
6880
7810
  */
@@ -7005,9 +7935,17 @@ export declare namespace Models {
7005
7935
  */
7006
7936
  budgetAlerts: number[];
7007
7937
  /**
7008
- * Billing plan selected. Can be one of `tier-0`, `tier-1` or `tier-2`.
7938
+ * Organization's billing plan ID.
7009
7939
  */
7010
7940
  billingPlan: string;
7941
+ /**
7942
+ * Organization's billing plan ID.
7943
+ */
7944
+ billingPlanId: string;
7945
+ /**
7946
+ * Organization's billing plan.
7947
+ */
7948
+ billingPlanDetails: BillingPlan;
7011
7949
  /**
7012
7950
  * Billing email set for the organization.
7013
7951
  */
@@ -7105,6 +8043,27 @@ export declare namespace Models {
7105
8043
  */
7106
8044
  projects: string[];
7107
8045
  };
8046
+ /**
8047
+ * PaymentAuthentication
8048
+ */
8049
+ export type PaymentAuthentication = {
8050
+ /**
8051
+ * Message for the end user to show on Console.
8052
+ */
8053
+ message: string;
8054
+ /**
8055
+ * Stripe client secret to use for validation.
8056
+ */
8057
+ clientSecret: string;
8058
+ /**
8059
+ * Organization ID for which the payment authentication is needed.
8060
+ */
8061
+ organizationId: string;
8062
+ /**
8063
+ * Invoice ID against which the payment needs to be validated.
8064
+ */
8065
+ invoiceId: string;
8066
+ };
7108
8067
  /**
7109
8068
  * paymentMethod
7110
8069
  */
@@ -7169,6 +8128,10 @@ export declare namespace Models {
7169
8128
  * Country of the payment method
7170
8129
  */
7171
8130
  country: string;
8131
+ /**
8132
+ * State of the payment method
8133
+ */
8134
+ state: string;
7172
8135
  /**
7173
8136
  * Last payment error associated with the payment method.
7174
8137
  */
@@ -7387,6 +8350,14 @@ export declare namespace Models {
7387
8350
  * Aggregated stats for total file transformations.
7388
8351
  */
7389
8352
  screenshotsGeneratedTotal: number;
8353
+ /**
8354
+ * Aggregated stats for imagine credits.
8355
+ */
8356
+ imagineCredits: Metric[];
8357
+ /**
8358
+ * Aggregated stats for total imagine credits.
8359
+ */
8360
+ imagineCreditsTotal: number;
7390
8361
  /**
7391
8362
  * Aggregated stats for total users.
7392
8363
  */
@@ -7520,6 +8491,10 @@ export declare namespace Models {
7520
8491
  * Aggregated stats for total file transformations.
7521
8492
  */
7522
8493
  screenshotsGeneratedTotal: number;
8494
+ /**
8495
+ * Aggregated stats for imagine credits.
8496
+ */
8497
+ imagineCredits: number;
7523
8498
  };
7524
8499
  /**
7525
8500
  * Domain
@@ -7562,9 +8537,13 @@ export declare namespace Models {
7562
8537
  */
7563
8538
  autoRenewal: boolean;
7564
8539
  /**
7565
- * Renewal price (in USD).
8540
+ * Renewal price (in cents).
7566
8541
  */
7567
8542
  renewalPrice: number;
8543
+ /**
8544
+ * Transfer status for domains being transferred in.
8545
+ */
8546
+ transferStatus: DomainTransferStatusEnum;
7568
8547
  /**
7569
8548
  * Team ID.
7570
8549
  */
@@ -7574,6 +8553,51 @@ export declare namespace Models {
7574
8553
  */
7575
8554
  dnsRecords: DnsRecord[];
7576
8555
  };
8556
+ /**
8557
+ * DomainPurchase
8558
+ */
8559
+ export type DomainPurchase = {
8560
+ /**
8561
+ * Purchase/invoice ID.
8562
+ */
8563
+ $id: string;
8564
+ /**
8565
+ * Purchase creation time in ISO 8601 format.
8566
+ */
8567
+ $createdAt: string;
8568
+ /**
8569
+ * Purchase update date in ISO 8601 format.
8570
+ */
8571
+ $updatedAt: string;
8572
+ /**
8573
+ * Domain document ID.
8574
+ */
8575
+ domainId: string;
8576
+ /**
8577
+ * Domain name.
8578
+ */
8579
+ domain: string;
8580
+ /**
8581
+ * Team ID that owns the domain.
8582
+ */
8583
+ organizationId: string;
8584
+ /**
8585
+ * Domain purchase status.
8586
+ */
8587
+ status: DomainPurchaseStatus;
8588
+ /**
8589
+ * Stripe client secret for 3DS; empty when not applicable.
8590
+ */
8591
+ clientSecret: string;
8592
+ /**
8593
+ * Purchase amount.
8594
+ */
8595
+ amount: number;
8596
+ /**
8597
+ * Currency code.
8598
+ */
8599
+ currency: string;
8600
+ };
7577
8601
  /**
7578
8602
  * DNSRecord
7579
8603
  */
@@ -7651,6 +8675,10 @@ export declare namespace Models {
7651
8675
  * Invoice description
7652
8676
  */
7653
8677
  desc: string;
8678
+ /**
8679
+ * Resource ID
8680
+ */
8681
+ resourceId: string;
7654
8682
  };
7655
8683
  /**
7656
8684
  * usageBillingPlan
@@ -7688,6 +8716,10 @@ export declare namespace Models {
7688
8716
  * Image transformation additional resources
7689
8717
  */
7690
8718
  imageTransformations: AdditionalResource;
8719
+ /**
8720
+ * Credits additional resources
8721
+ */
8722
+ credits: AdditionalResource;
7691
8723
  };
7692
8724
  /**
7693
8725
  * Estimation
@@ -7789,6 +8821,95 @@ export declare namespace Models {
7789
8821
  */
7790
8822
  value: number;
7791
8823
  };
8824
+ /**
8825
+ * DomainPrice
8826
+ */
8827
+ export type DomainPrice = {
8828
+ /**
8829
+ * Domain name.
8830
+ */
8831
+ domain: string;
8832
+ /**
8833
+ * Top-level domain for the requested domain.
8834
+ */
8835
+ tld: string;
8836
+ /**
8837
+ * Whether the domain is currently available for registration.
8838
+ */
8839
+ available: boolean;
8840
+ /**
8841
+ * Domain registration price.
8842
+ */
8843
+ price: number;
8844
+ /**
8845
+ * Price period in years.
8846
+ */
8847
+ periodYears: number;
8848
+ /**
8849
+ * Whether the domain is a premium domain.
8850
+ */
8851
+ premium: boolean;
8852
+ };
8853
+ /**
8854
+ * DomainSuggestion
8855
+ */
8856
+ export type DomainSuggestion = {
8857
+ /**
8858
+ * Domain suggestion.
8859
+ */
8860
+ domain: string;
8861
+ /**
8862
+ * Is the domain premium?
8863
+ */
8864
+ premium: boolean;
8865
+ /**
8866
+ * Domain price.
8867
+ */
8868
+ price?: number;
8869
+ /**
8870
+ * Is the domain available?
8871
+ */
8872
+ available: boolean;
8873
+ };
8874
+ /**
8875
+ * domainTransferOut
8876
+ */
8877
+ export type DomainTransferOut = {
8878
+ /**
8879
+ * Domain transfer authorization code.
8880
+ */
8881
+ authCode: string;
8882
+ };
8883
+ /**
8884
+ * domainTransferStatus
8885
+ */
8886
+ export type DomainTransferStatus = {
8887
+ /**
8888
+ * Transfer status.
8889
+ */
8890
+ status: DomainTransferStatusEnum;
8891
+ /**
8892
+ * Additional transfer status information.
8893
+ */
8894
+ reason: string;
8895
+ /**
8896
+ * Transfer status timestamp in ISO 8601 format.
8897
+ */
8898
+ timestamp: string;
8899
+ };
8900
+ /**
8901
+ * Activity event list
8902
+ */
8903
+ export type ActivityEventList = {
8904
+ /**
8905
+ * Total number of events that matched your query.
8906
+ */
8907
+ total: number;
8908
+ /**
8909
+ * List of events.
8910
+ */
8911
+ events: ActivityEvent[];
8912
+ };
7792
8913
  /**
7793
8914
  * Aggregation team list
7794
8915
  */
@@ -7945,5 +9066,18 @@ export declare namespace Models {
7945
9066
  */
7946
9067
  dnsRecords: DnsRecord[];
7947
9068
  };
9069
+ /**
9070
+ * Domain suggestions list
9071
+ */
9072
+ export type DomainSuggestionsList = {
9073
+ /**
9074
+ * Total number of suggestions that matched your query.
9075
+ */
9076
+ total: number;
9077
+ /**
9078
+ * List of suggestions.
9079
+ */
9080
+ suggestions: DomainSuggestion[];
9081
+ };
7948
9082
  export {};
7949
9083
  }