@appwrite.io/console 0.3.0 → 0.4.1
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/.github/workflows/publish.yml +2 -2
- package/README.md +3 -3
- package/dist/cjs/sdk.js +1354 -1197
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +1354 -1197
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +1354 -1197
- package/docs/examples/functions/create.md +1 -1
- package/docs/examples/functions/update.md +1 -1
- package/docs/examples/{projects/get-usage.md → health/get-queue-builds.md} +3 -3
- package/docs/examples/{account/create-with-invite-code.md → health/get-queue-databases.md} +3 -3
- package/docs/examples/health/get-queue-deletes.md +18 -0
- package/docs/examples/health/get-queue-mails.md +18 -0
- package/docs/examples/health/get-queue-messaging.md +18 -0
- package/docs/examples/health/get-queue-migrations.md +18 -0
- package/docs/examples/project/get-usage.md +1 -1
- package/docs/examples/teams/create-membership.md +1 -1
- package/package.json +3 -2
- package/src/client.ts +1 -1
- package/src/models.ts +147 -279
- package/src/query.ts +1 -1
- package/src/role.ts +72 -6
- package/src/services/account.ts +154 -204
- package/src/services/assistant.ts +3 -3
- package/src/services/avatars.ts +32 -31
- package/src/services/console.ts +4 -4
- package/src/services/databases.ts +195 -195
- package/src/services/functions.ts +117 -126
- package/src/services/graphql.ts +8 -8
- package/src/services/health.ts +219 -50
- package/src/services/locale.ts +31 -31
- package/src/services/migrations.ts +48 -48
- package/src/services/project.ts +40 -22
- package/src/services/projects.ts +143 -170
- package/src/services/proxy.ts +15 -15
- package/src/services/storage.ts +74 -84
- package/src/services/teams.ts +62 -66
- package/src/services/users.ts +132 -135
- package/src/services/vcs.ts +27 -27
- package/types/models.d.ts +147 -279
- package/types/role.d.ts +62 -0
- package/types/services/account.d.ts +61 -70
- package/types/services/avatars.d.ts +11 -10
- package/types/services/console.d.ts +1 -1
- package/types/services/databases.d.ts +51 -51
- package/types/services/functions.d.ts +32 -27
- package/types/services/graphql.d.ts +2 -2
- package/types/services/health.d.ts +85 -14
- package/types/services/locale.d.ts +7 -7
- package/types/services/project.d.ts +4 -2
- package/types/services/projects.d.ts +26 -36
- package/types/services/storage.d.ts +13 -13
- package/types/services/teams.d.ts +20 -20
- package/types/services/users.d.ts +45 -44
package/types/models.d.ts
CHANGED
|
@@ -470,7 +470,7 @@ export declare namespace Models {
|
|
|
470
470
|
*/
|
|
471
471
|
$updatedAt: string;
|
|
472
472
|
/**
|
|
473
|
-
* Collection permissions. [Learn more about permissions](/docs/permissions).
|
|
473
|
+
* Collection permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
474
474
|
*/
|
|
475
475
|
$permissions: string[];
|
|
476
476
|
/**
|
|
@@ -486,7 +486,7 @@ export declare namespace Models {
|
|
|
486
486
|
*/
|
|
487
487
|
enabled: boolean;
|
|
488
488
|
/**
|
|
489
|
-
* Whether document-level permissions are enabled. [Learn more about permissions](/docs/permissions).
|
|
489
|
+
* Whether document-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
490
490
|
*/
|
|
491
491
|
documentSecurity: boolean;
|
|
492
492
|
/**
|
|
@@ -959,7 +959,7 @@ export declare namespace Models {
|
|
|
959
959
|
*/
|
|
960
960
|
$updatedAt: string;
|
|
961
961
|
/**
|
|
962
|
-
* Document permissions. [Learn more about permissions](/docs/permissions).
|
|
962
|
+
* Document permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
963
963
|
*/
|
|
964
964
|
$permissions: string[];
|
|
965
965
|
[key: string]: any;
|
|
@@ -1229,67 +1229,6 @@ export declare namespace Models {
|
|
|
1229
1229
|
*/
|
|
1230
1230
|
threads: number;
|
|
1231
1231
|
};
|
|
1232
|
-
/**
|
|
1233
|
-
* Account
|
|
1234
|
-
*/
|
|
1235
|
-
type Account<Preferences extends Models.Preferences> = {
|
|
1236
|
-
/**
|
|
1237
|
-
* User ID.
|
|
1238
|
-
*/
|
|
1239
|
-
$id: string;
|
|
1240
|
-
/**
|
|
1241
|
-
* User creation date in ISO 8601 format.
|
|
1242
|
-
*/
|
|
1243
|
-
$createdAt: string;
|
|
1244
|
-
/**
|
|
1245
|
-
* User update date in ISO 8601 format.
|
|
1246
|
-
*/
|
|
1247
|
-
$updatedAt: string;
|
|
1248
|
-
/**
|
|
1249
|
-
* User name.
|
|
1250
|
-
*/
|
|
1251
|
-
name: string;
|
|
1252
|
-
/**
|
|
1253
|
-
* User registration date in ISO 8601 format.
|
|
1254
|
-
*/
|
|
1255
|
-
registration: string;
|
|
1256
|
-
/**
|
|
1257
|
-
* User status. Pass `true` for enabled and `false` for disabled.
|
|
1258
|
-
*/
|
|
1259
|
-
status: boolean;
|
|
1260
|
-
/**
|
|
1261
|
-
* Labels for the user.
|
|
1262
|
-
*/
|
|
1263
|
-
labels: string[];
|
|
1264
|
-
/**
|
|
1265
|
-
* Password update time in ISO 8601 format.
|
|
1266
|
-
*/
|
|
1267
|
-
passwordUpdate: string;
|
|
1268
|
-
/**
|
|
1269
|
-
* User email address.
|
|
1270
|
-
*/
|
|
1271
|
-
email: string;
|
|
1272
|
-
/**
|
|
1273
|
-
* User phone number in E.164 format.
|
|
1274
|
-
*/
|
|
1275
|
-
phone: string;
|
|
1276
|
-
/**
|
|
1277
|
-
* Email verification status.
|
|
1278
|
-
*/
|
|
1279
|
-
emailVerification: boolean;
|
|
1280
|
-
/**
|
|
1281
|
-
* Phone verification status.
|
|
1282
|
-
*/
|
|
1283
|
-
phoneVerification: boolean;
|
|
1284
|
-
/**
|
|
1285
|
-
* User preferences as a key-value object
|
|
1286
|
-
*/
|
|
1287
|
-
prefs: Preferences;
|
|
1288
|
-
/**
|
|
1289
|
-
* Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
|
|
1290
|
-
*/
|
|
1291
|
-
accessedAt: string;
|
|
1292
|
-
};
|
|
1293
1232
|
/**
|
|
1294
1233
|
* Preferences
|
|
1295
1234
|
*/
|
|
@@ -1547,7 +1486,7 @@ export declare namespace Models {
|
|
|
1547
1486
|
*/
|
|
1548
1487
|
$updatedAt: string;
|
|
1549
1488
|
/**
|
|
1550
|
-
* File permissions. [Learn more about permissions](/docs/permissions).
|
|
1489
|
+
* File permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1551
1490
|
*/
|
|
1552
1491
|
$permissions: string[];
|
|
1553
1492
|
/**
|
|
@@ -1592,11 +1531,11 @@ export declare namespace Models {
|
|
|
1592
1531
|
*/
|
|
1593
1532
|
$updatedAt: string;
|
|
1594
1533
|
/**
|
|
1595
|
-
* Bucket permissions. [Learn more about permissions](/docs/permissions).
|
|
1534
|
+
* Bucket permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1596
1535
|
*/
|
|
1597
1536
|
$permissions: string[];
|
|
1598
1537
|
/**
|
|
1599
|
-
* Whether file-level security is enabled. [Learn more about permissions](/docs/permissions).
|
|
1538
|
+
* Whether file-level security is enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1600
1539
|
*/
|
|
1601
1540
|
fileSecurity: boolean;
|
|
1602
1541
|
/**
|
|
@@ -2274,26 +2213,14 @@ export declare namespace Models {
|
|
|
2274
2213
|
* Users service status
|
|
2275
2214
|
*/
|
|
2276
2215
|
serviceStatusForUsers: boolean;
|
|
2277
|
-
/**
|
|
2278
|
-
* VCS service status
|
|
2279
|
-
*/
|
|
2280
|
-
serviceStatusForVcs: boolean;
|
|
2281
2216
|
/**
|
|
2282
2217
|
* Functions service status
|
|
2283
2218
|
*/
|
|
2284
2219
|
serviceStatusForFunctions: boolean;
|
|
2285
|
-
/**
|
|
2286
|
-
* Proxy service status
|
|
2287
|
-
*/
|
|
2288
|
-
serviceStatusForProxy: boolean;
|
|
2289
2220
|
/**
|
|
2290
2221
|
* GraphQL service status
|
|
2291
2222
|
*/
|
|
2292
2223
|
serviceStatusForGraphql: boolean;
|
|
2293
|
-
/**
|
|
2294
|
-
* Migrations service status
|
|
2295
|
-
*/
|
|
2296
|
-
serviceStatusForMigrations: boolean;
|
|
2297
2224
|
};
|
|
2298
2225
|
/**
|
|
2299
2226
|
* Webhook
|
|
@@ -2647,360 +2574,301 @@ export declare namespace Models {
|
|
|
2647
2574
|
date: string;
|
|
2648
2575
|
};
|
|
2649
2576
|
/**
|
|
2650
|
-
*
|
|
2577
|
+
* Metric Breakdown
|
|
2651
2578
|
*/
|
|
2652
|
-
type
|
|
2653
|
-
/**
|
|
2654
|
-
* The time range of the usage stats.
|
|
2655
|
-
*/
|
|
2656
|
-
range: string;
|
|
2657
|
-
/**
|
|
2658
|
-
* Aggregated stats for total number of documents.
|
|
2659
|
-
*/
|
|
2660
|
-
databasesCount: Metric[];
|
|
2579
|
+
type MetricBreakdown = {
|
|
2661
2580
|
/**
|
|
2662
|
-
*
|
|
2663
|
-
*/
|
|
2664
|
-
documentsCount: Metric[];
|
|
2665
|
-
/**
|
|
2666
|
-
* Aggregated stats for total number of collections.
|
|
2667
|
-
*/
|
|
2668
|
-
collectionsCount: Metric[];
|
|
2669
|
-
/**
|
|
2670
|
-
* Aggregated stats for documents created.
|
|
2671
|
-
*/
|
|
2672
|
-
databasesCreate: Metric[];
|
|
2673
|
-
/**
|
|
2674
|
-
* Aggregated stats for documents read.
|
|
2675
|
-
*/
|
|
2676
|
-
databasesRead: Metric[];
|
|
2677
|
-
/**
|
|
2678
|
-
* Aggregated stats for documents updated.
|
|
2581
|
+
* Resource ID.
|
|
2679
2582
|
*/
|
|
2680
|
-
|
|
2583
|
+
resourceId: string;
|
|
2681
2584
|
/**
|
|
2682
|
-
*
|
|
2585
|
+
* Resource name.
|
|
2683
2586
|
*/
|
|
2684
|
-
|
|
2587
|
+
name: string;
|
|
2685
2588
|
/**
|
|
2686
|
-
*
|
|
2589
|
+
* The value of this metric at the timestamp.
|
|
2687
2590
|
*/
|
|
2688
|
-
|
|
2591
|
+
value: number;
|
|
2592
|
+
};
|
|
2593
|
+
/**
|
|
2594
|
+
* UsageDatabases
|
|
2595
|
+
*/
|
|
2596
|
+
type UsageDatabases = {
|
|
2689
2597
|
/**
|
|
2690
|
-
*
|
|
2598
|
+
* Time range of the usage stats.
|
|
2691
2599
|
*/
|
|
2692
|
-
|
|
2600
|
+
range: string;
|
|
2693
2601
|
/**
|
|
2694
|
-
*
|
|
2602
|
+
* Total aggregated number of databases.
|
|
2695
2603
|
*/
|
|
2696
|
-
|
|
2604
|
+
databasesTotal: number;
|
|
2697
2605
|
/**
|
|
2698
|
-
*
|
|
2606
|
+
* Total aggregated number of collections.
|
|
2699
2607
|
*/
|
|
2700
|
-
|
|
2608
|
+
collectionsTotal: number;
|
|
2701
2609
|
/**
|
|
2702
|
-
*
|
|
2610
|
+
* Total aggregated number of documents.
|
|
2703
2611
|
*/
|
|
2704
|
-
|
|
2612
|
+
documentsTotal: number;
|
|
2705
2613
|
/**
|
|
2706
|
-
* Aggregated
|
|
2614
|
+
* Aggregated number of databases per period.
|
|
2707
2615
|
*/
|
|
2708
|
-
|
|
2616
|
+
databases: Metric[];
|
|
2709
2617
|
/**
|
|
2710
|
-
* Aggregated
|
|
2618
|
+
* Aggregated number of collections per period.
|
|
2711
2619
|
*/
|
|
2712
|
-
|
|
2620
|
+
collections: Metric[];
|
|
2713
2621
|
/**
|
|
2714
|
-
* Aggregated
|
|
2622
|
+
* Aggregated number of documents per period.
|
|
2715
2623
|
*/
|
|
2716
|
-
|
|
2624
|
+
documents: Metric[];
|
|
2717
2625
|
};
|
|
2718
2626
|
/**
|
|
2719
2627
|
* UsageDatabase
|
|
2720
2628
|
*/
|
|
2721
2629
|
type UsageDatabase = {
|
|
2722
2630
|
/**
|
|
2723
|
-
*
|
|
2631
|
+
* Time range of the usage stats.
|
|
2724
2632
|
*/
|
|
2725
2633
|
range: string;
|
|
2726
2634
|
/**
|
|
2727
|
-
*
|
|
2728
|
-
*/
|
|
2729
|
-
documentsCount: Metric[];
|
|
2730
|
-
/**
|
|
2731
|
-
* Aggregated stats for total number of collections.
|
|
2732
|
-
*/
|
|
2733
|
-
collectionsCount: Metric[];
|
|
2734
|
-
/**
|
|
2735
|
-
* Aggregated stats for documents created.
|
|
2736
|
-
*/
|
|
2737
|
-
documentsCreate: Metric[];
|
|
2738
|
-
/**
|
|
2739
|
-
* Aggregated stats for documents read.
|
|
2740
|
-
*/
|
|
2741
|
-
documentsRead: Metric[];
|
|
2742
|
-
/**
|
|
2743
|
-
* Aggregated stats for documents updated.
|
|
2744
|
-
*/
|
|
2745
|
-
documentsUpdate: Metric[];
|
|
2746
|
-
/**
|
|
2747
|
-
* Aggregated stats for documents deleted.
|
|
2635
|
+
* Total aggregated number of collections.
|
|
2748
2636
|
*/
|
|
2749
|
-
|
|
2637
|
+
collectionsTotal: number;
|
|
2750
2638
|
/**
|
|
2751
|
-
*
|
|
2639
|
+
* Total aggregated number of documents.
|
|
2752
2640
|
*/
|
|
2753
|
-
|
|
2641
|
+
documentsTotal: number;
|
|
2754
2642
|
/**
|
|
2755
|
-
* Aggregated
|
|
2643
|
+
* Aggregated number of collections per period.
|
|
2756
2644
|
*/
|
|
2757
|
-
|
|
2645
|
+
collections: Metric[];
|
|
2758
2646
|
/**
|
|
2759
|
-
* Aggregated
|
|
2647
|
+
* Aggregated number of documents per period.
|
|
2760
2648
|
*/
|
|
2761
|
-
|
|
2762
|
-
/**
|
|
2763
|
-
* Aggregated stats for collections delete.
|
|
2764
|
-
*/
|
|
2765
|
-
collectionsDelete: Metric[];
|
|
2649
|
+
documents: Metric[];
|
|
2766
2650
|
};
|
|
2767
2651
|
/**
|
|
2768
2652
|
* UsageCollection
|
|
2769
2653
|
*/
|
|
2770
2654
|
type UsageCollection = {
|
|
2771
2655
|
/**
|
|
2772
|
-
*
|
|
2656
|
+
* Time range of the usage stats.
|
|
2773
2657
|
*/
|
|
2774
2658
|
range: string;
|
|
2775
2659
|
/**
|
|
2776
|
-
*
|
|
2777
|
-
*/
|
|
2778
|
-
documentsCount: Metric[];
|
|
2779
|
-
/**
|
|
2780
|
-
* Aggregated stats for documents created.
|
|
2660
|
+
* Total aggregated number of of documents.
|
|
2781
2661
|
*/
|
|
2782
|
-
|
|
2662
|
+
documentsTotal: number;
|
|
2783
2663
|
/**
|
|
2784
|
-
* Aggregated
|
|
2664
|
+
* Aggregated number of documents per period.
|
|
2785
2665
|
*/
|
|
2786
|
-
|
|
2787
|
-
/**
|
|
2788
|
-
* Aggregated stats for documents updated.
|
|
2789
|
-
*/
|
|
2790
|
-
documentsUpdate: Metric[];
|
|
2791
|
-
/**
|
|
2792
|
-
* Aggregated stats for documents deleted.
|
|
2793
|
-
*/
|
|
2794
|
-
documentsDelete: Metric[];
|
|
2666
|
+
documents: Metric[];
|
|
2795
2667
|
};
|
|
2796
2668
|
/**
|
|
2797
2669
|
* UsageUsers
|
|
2798
2670
|
*/
|
|
2799
2671
|
type UsageUsers = {
|
|
2800
2672
|
/**
|
|
2801
|
-
*
|
|
2673
|
+
* Time range of the usage stats.
|
|
2802
2674
|
*/
|
|
2803
2675
|
range: string;
|
|
2804
2676
|
/**
|
|
2805
|
-
*
|
|
2677
|
+
* Total aggregated number of statistics of users.
|
|
2806
2678
|
*/
|
|
2807
|
-
|
|
2679
|
+
usersTotal: number;
|
|
2808
2680
|
/**
|
|
2809
|
-
*
|
|
2681
|
+
* Total aggregated number of active sessions.
|
|
2810
2682
|
*/
|
|
2811
|
-
|
|
2683
|
+
sessionsTotal: number;
|
|
2812
2684
|
/**
|
|
2813
|
-
* Aggregated
|
|
2685
|
+
* Aggregated number of users per period.
|
|
2814
2686
|
*/
|
|
2815
|
-
|
|
2816
|
-
/**
|
|
2817
|
-
* Aggregated stats for users updated.
|
|
2818
|
-
*/
|
|
2819
|
-
usersUpdate: Metric[];
|
|
2820
|
-
/**
|
|
2821
|
-
* Aggregated stats for users deleted.
|
|
2822
|
-
*/
|
|
2823
|
-
usersDelete: Metric[];
|
|
2824
|
-
/**
|
|
2825
|
-
* Aggregated stats for sessions created.
|
|
2826
|
-
*/
|
|
2827
|
-
sessionsCreate: Metric[];
|
|
2828
|
-
/**
|
|
2829
|
-
* Aggregated stats for sessions created for a provider ( email, anonymous or oauth2 ).
|
|
2830
|
-
*/
|
|
2831
|
-
sessionsProviderCreate: Metric[];
|
|
2687
|
+
users: Metric[];
|
|
2832
2688
|
/**
|
|
2833
|
-
* Aggregated
|
|
2689
|
+
* Aggregated number of active sessions per period.
|
|
2834
2690
|
*/
|
|
2835
|
-
|
|
2691
|
+
sessions: Metric[];
|
|
2836
2692
|
};
|
|
2837
2693
|
/**
|
|
2838
2694
|
* StorageUsage
|
|
2839
2695
|
*/
|
|
2840
2696
|
type UsageStorage = {
|
|
2841
2697
|
/**
|
|
2842
|
-
*
|
|
2698
|
+
* Time range of the usage stats.
|
|
2843
2699
|
*/
|
|
2844
2700
|
range: string;
|
|
2845
2701
|
/**
|
|
2846
|
-
*
|
|
2702
|
+
* Total aggregated number of buckets
|
|
2847
2703
|
*/
|
|
2848
|
-
|
|
2704
|
+
bucketsTotal: number;
|
|
2849
2705
|
/**
|
|
2850
|
-
*
|
|
2706
|
+
* Total aggregated number of files.
|
|
2851
2707
|
*/
|
|
2852
|
-
|
|
2708
|
+
filesTotal: number;
|
|
2853
2709
|
/**
|
|
2854
|
-
*
|
|
2710
|
+
* Total aggregated number of files storage (in bytes).
|
|
2855
2711
|
*/
|
|
2856
|
-
|
|
2712
|
+
filesStorageTotal: number;
|
|
2857
2713
|
/**
|
|
2858
|
-
* Aggregated
|
|
2714
|
+
* Aggregated number of buckets per period.
|
|
2859
2715
|
*/
|
|
2860
|
-
|
|
2716
|
+
buckets: Metric[];
|
|
2861
2717
|
/**
|
|
2862
|
-
* Aggregated
|
|
2718
|
+
* Aggregated number of files per period.
|
|
2863
2719
|
*/
|
|
2864
|
-
|
|
2720
|
+
files: Metric[];
|
|
2865
2721
|
/**
|
|
2866
|
-
* Aggregated
|
|
2722
|
+
* Aggregated number of files storage (in bytes) per period .
|
|
2867
2723
|
*/
|
|
2868
|
-
|
|
2724
|
+
storage: Metric[];
|
|
2725
|
+
};
|
|
2726
|
+
/**
|
|
2727
|
+
* UsageBuckets
|
|
2728
|
+
*/
|
|
2729
|
+
type UsageBuckets = {
|
|
2869
2730
|
/**
|
|
2870
|
-
*
|
|
2731
|
+
* Time range of the usage stats.
|
|
2871
2732
|
*/
|
|
2872
|
-
|
|
2733
|
+
range: string;
|
|
2873
2734
|
/**
|
|
2874
|
-
*
|
|
2735
|
+
* Total aggregated number of bucket files.
|
|
2875
2736
|
*/
|
|
2876
|
-
|
|
2737
|
+
filesTotal: number;
|
|
2877
2738
|
/**
|
|
2878
|
-
*
|
|
2739
|
+
* Total aggregated number of bucket files storage (in bytes).
|
|
2879
2740
|
*/
|
|
2880
|
-
|
|
2741
|
+
filesStorageTotal: number;
|
|
2881
2742
|
/**
|
|
2882
|
-
* Aggregated
|
|
2743
|
+
* Aggregated number of bucket files per period.
|
|
2883
2744
|
*/
|
|
2884
|
-
|
|
2745
|
+
files: Metric[];
|
|
2885
2746
|
/**
|
|
2886
|
-
* Aggregated
|
|
2747
|
+
* Aggregated number of bucket storage files (in bytes) per period.
|
|
2887
2748
|
*/
|
|
2888
|
-
|
|
2749
|
+
storage: Metric[];
|
|
2889
2750
|
};
|
|
2890
2751
|
/**
|
|
2891
|
-
*
|
|
2752
|
+
* UsageFunctions
|
|
2892
2753
|
*/
|
|
2893
|
-
type
|
|
2754
|
+
type UsageFunctions = {
|
|
2894
2755
|
/**
|
|
2895
|
-
*
|
|
2756
|
+
* Time range of the usage stats.
|
|
2896
2757
|
*/
|
|
2897
2758
|
range: string;
|
|
2898
2759
|
/**
|
|
2899
|
-
*
|
|
2760
|
+
* Total aggregated number of functions.
|
|
2900
2761
|
*/
|
|
2901
|
-
|
|
2762
|
+
functionsTotal: number;
|
|
2902
2763
|
/**
|
|
2903
|
-
*
|
|
2764
|
+
* Total aggregated number of functions deployments.
|
|
2904
2765
|
*/
|
|
2905
|
-
|
|
2766
|
+
deploymentsTotal: number;
|
|
2906
2767
|
/**
|
|
2907
|
-
*
|
|
2768
|
+
* Total aggregated sum of functions deployment storage.
|
|
2908
2769
|
*/
|
|
2909
|
-
|
|
2770
|
+
deploymentsStorageTotal: number;
|
|
2910
2771
|
/**
|
|
2911
|
-
*
|
|
2772
|
+
* Total aggregated number of functions build.
|
|
2912
2773
|
*/
|
|
2913
|
-
|
|
2774
|
+
buildsTotal: number;
|
|
2914
2775
|
/**
|
|
2915
|
-
*
|
|
2776
|
+
* total aggregated sum of functions build storage.
|
|
2916
2777
|
*/
|
|
2917
|
-
|
|
2778
|
+
buildsStorageTotal: number;
|
|
2918
2779
|
/**
|
|
2919
|
-
*
|
|
2780
|
+
* Total aggregated sum of functions build compute time.
|
|
2920
2781
|
*/
|
|
2921
|
-
|
|
2922
|
-
};
|
|
2923
|
-
/**
|
|
2924
|
-
* UsageFunctions
|
|
2925
|
-
*/
|
|
2926
|
-
type UsageFunctions = {
|
|
2782
|
+
buildsTimeTotal: number;
|
|
2927
2783
|
/**
|
|
2928
|
-
*
|
|
2784
|
+
* Total aggregated number of functions execution.
|
|
2929
2785
|
*/
|
|
2930
|
-
|
|
2786
|
+
executionsTotal: number;
|
|
2931
2787
|
/**
|
|
2932
|
-
*
|
|
2788
|
+
* Total aggregated sum of functions execution compute time.
|
|
2933
2789
|
*/
|
|
2934
|
-
|
|
2790
|
+
executionsTimeTotal: number;
|
|
2935
2791
|
/**
|
|
2936
|
-
* Aggregated
|
|
2792
|
+
* Aggregated number of functions per period.
|
|
2937
2793
|
*/
|
|
2938
|
-
|
|
2794
|
+
functions: Metric[];
|
|
2939
2795
|
/**
|
|
2940
|
-
* Aggregated
|
|
2796
|
+
* Aggregated number of functions deployment per period.
|
|
2941
2797
|
*/
|
|
2942
|
-
|
|
2798
|
+
deployments: Metric[];
|
|
2943
2799
|
/**
|
|
2944
|
-
* Aggregated
|
|
2800
|
+
* Aggregated number of functions deployment storage per period.
|
|
2945
2801
|
*/
|
|
2946
|
-
|
|
2802
|
+
deploymentsStorage: Metric[];
|
|
2947
2803
|
/**
|
|
2948
|
-
* Aggregated
|
|
2804
|
+
* Aggregated number of functions build per period.
|
|
2949
2805
|
*/
|
|
2950
|
-
|
|
2806
|
+
builds: Metric[];
|
|
2951
2807
|
/**
|
|
2952
|
-
* Aggregated
|
|
2808
|
+
* Aggregated sum of functions build storage per period.
|
|
2953
2809
|
*/
|
|
2954
|
-
|
|
2810
|
+
buildsStorage: Metric[];
|
|
2955
2811
|
/**
|
|
2956
|
-
* Aggregated
|
|
2812
|
+
* Aggregated sum of functions build compute time per period.
|
|
2957
2813
|
*/
|
|
2958
|
-
|
|
2814
|
+
buildsTime: Metric[];
|
|
2959
2815
|
/**
|
|
2960
|
-
* Aggregated
|
|
2816
|
+
* Aggregated number of functions execution per period.
|
|
2961
2817
|
*/
|
|
2962
|
-
|
|
2818
|
+
executions: Metric[];
|
|
2819
|
+
/**
|
|
2820
|
+
* Aggregated number of functions execution compute time per period.
|
|
2821
|
+
*/
|
|
2822
|
+
executionsTime: Metric[];
|
|
2963
2823
|
};
|
|
2964
2824
|
/**
|
|
2965
2825
|
* UsageProject
|
|
2966
2826
|
*/
|
|
2967
2827
|
type UsageProject = {
|
|
2968
2828
|
/**
|
|
2969
|
-
*
|
|
2829
|
+
* Total aggregated number of function executions.
|
|
2970
2830
|
*/
|
|
2971
|
-
|
|
2831
|
+
executionsTotal: number;
|
|
2972
2832
|
/**
|
|
2973
|
-
*
|
|
2833
|
+
* Total aggregated number of documents.
|
|
2974
2834
|
*/
|
|
2975
|
-
|
|
2835
|
+
documentsTotal: number;
|
|
2976
2836
|
/**
|
|
2977
|
-
*
|
|
2837
|
+
* Total aggregated number of databases.
|
|
2978
2838
|
*/
|
|
2979
|
-
|
|
2839
|
+
databasesTotal: number;
|
|
2980
2840
|
/**
|
|
2981
|
-
*
|
|
2841
|
+
* Total aggregated number of users.
|
|
2982
2842
|
*/
|
|
2983
|
-
|
|
2843
|
+
usersTotal: number;
|
|
2984
2844
|
/**
|
|
2985
|
-
*
|
|
2845
|
+
* Total aggregated sum of files storage size (in bytes).
|
|
2986
2846
|
*/
|
|
2987
|
-
|
|
2847
|
+
filesStorageTotal: number;
|
|
2988
2848
|
/**
|
|
2989
|
-
*
|
|
2849
|
+
* Total aggregated number of buckets.
|
|
2990
2850
|
*/
|
|
2991
|
-
|
|
2851
|
+
bucketsTotal: number;
|
|
2852
|
+
/**
|
|
2853
|
+
* Aggregated number of requests per period.
|
|
2854
|
+
*/
|
|
2855
|
+
requests: Metric[];
|
|
2856
|
+
/**
|
|
2857
|
+
* Aggregated number of consumed bandwidth per period.
|
|
2858
|
+
*/
|
|
2859
|
+
network: Metric[];
|
|
2992
2860
|
/**
|
|
2993
|
-
* Aggregated
|
|
2861
|
+
* Aggregated number of users per period.
|
|
2994
2862
|
*/
|
|
2995
2863
|
users: Metric[];
|
|
2996
2864
|
/**
|
|
2997
|
-
* Aggregated
|
|
2865
|
+
* Aggregated breakdown in totals of executions by functions.
|
|
2998
2866
|
*/
|
|
2999
|
-
|
|
2867
|
+
executionsBreakdown: MetricBreakdown[];
|
|
3000
2868
|
/**
|
|
3001
|
-
* Aggregated
|
|
2869
|
+
* Aggregated breakdown in totals of usage by buckets.
|
|
3002
2870
|
*/
|
|
3003
|
-
|
|
2871
|
+
bucketsBreakdown: MetricBreakdown[];
|
|
3004
2872
|
};
|
|
3005
2873
|
/**
|
|
3006
2874
|
* Headers
|
|
@@ -3182,7 +3050,7 @@ export declare namespace Models {
|
|
|
3182
3050
|
/**
|
|
3183
3051
|
* All errors that occurred during the migration process.
|
|
3184
3052
|
*/
|
|
3185
|
-
errors: string;
|
|
3053
|
+
errors: string[];
|
|
3186
3054
|
};
|
|
3187
3055
|
/**
|
|
3188
3056
|
* Migration Report
|