@appwrite.io/console 0.3.0 → 0.4.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.
- 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 +124 -285
- 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 +124 -285
- 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
|
|
@@ -2651,356 +2578,268 @@ export declare namespace Models {
|
|
|
2651
2578
|
*/
|
|
2652
2579
|
type UsageDatabases = {
|
|
2653
2580
|
/**
|
|
2654
|
-
*
|
|
2581
|
+
* Time range of the usage stats.
|
|
2655
2582
|
*/
|
|
2656
2583
|
range: string;
|
|
2657
2584
|
/**
|
|
2658
|
-
*
|
|
2659
|
-
*/
|
|
2660
|
-
databasesCount: Metric[];
|
|
2661
|
-
/**
|
|
2662
|
-
* Aggregated stats for total number of documents.
|
|
2585
|
+
* Total aggregated number of databases.
|
|
2663
2586
|
*/
|
|
2664
|
-
|
|
2587
|
+
databasesTotal: number;
|
|
2665
2588
|
/**
|
|
2666
|
-
*
|
|
2589
|
+
* Total aggregated number of collections.
|
|
2667
2590
|
*/
|
|
2668
|
-
|
|
2591
|
+
collectionsTotal: number;
|
|
2669
2592
|
/**
|
|
2670
|
-
*
|
|
2593
|
+
* Total aggregated number of documents.
|
|
2671
2594
|
*/
|
|
2672
|
-
|
|
2595
|
+
documentsTotal: number;
|
|
2673
2596
|
/**
|
|
2674
|
-
* Aggregated
|
|
2597
|
+
* Aggregated number of databases per period.
|
|
2675
2598
|
*/
|
|
2676
|
-
|
|
2677
|
-
/**
|
|
2678
|
-
* Aggregated stats for documents updated.
|
|
2679
|
-
*/
|
|
2680
|
-
databasesUpdate: Metric[];
|
|
2681
|
-
/**
|
|
2682
|
-
* Aggregated stats for total number of collections.
|
|
2683
|
-
*/
|
|
2684
|
-
databasesDelete: Metric[];
|
|
2685
|
-
/**
|
|
2686
|
-
* Aggregated stats for documents created.
|
|
2687
|
-
*/
|
|
2688
|
-
documentsCreate: Metric[];
|
|
2689
|
-
/**
|
|
2690
|
-
* Aggregated stats for documents read.
|
|
2691
|
-
*/
|
|
2692
|
-
documentsRead: Metric[];
|
|
2693
|
-
/**
|
|
2694
|
-
* Aggregated stats for documents updated.
|
|
2695
|
-
*/
|
|
2696
|
-
documentsUpdate: Metric[];
|
|
2697
|
-
/**
|
|
2698
|
-
* Aggregated stats for documents deleted.
|
|
2699
|
-
*/
|
|
2700
|
-
documentsDelete: Metric[];
|
|
2701
|
-
/**
|
|
2702
|
-
* Aggregated stats for collections created.
|
|
2703
|
-
*/
|
|
2704
|
-
collectionsCreate: Metric[];
|
|
2705
|
-
/**
|
|
2706
|
-
* Aggregated stats for collections read.
|
|
2707
|
-
*/
|
|
2708
|
-
collectionsRead: Metric[];
|
|
2599
|
+
databases: Metric[];
|
|
2709
2600
|
/**
|
|
2710
|
-
* Aggregated
|
|
2601
|
+
* Aggregated number of collections per period.
|
|
2711
2602
|
*/
|
|
2712
|
-
|
|
2603
|
+
collections: Metric[];
|
|
2713
2604
|
/**
|
|
2714
|
-
* Aggregated
|
|
2605
|
+
* Aggregated number of documents per period.
|
|
2715
2606
|
*/
|
|
2716
|
-
|
|
2607
|
+
documents: Metric[];
|
|
2717
2608
|
};
|
|
2718
2609
|
/**
|
|
2719
2610
|
* UsageDatabase
|
|
2720
2611
|
*/
|
|
2721
2612
|
type UsageDatabase = {
|
|
2722
2613
|
/**
|
|
2723
|
-
*
|
|
2614
|
+
* Time range of the usage stats.
|
|
2724
2615
|
*/
|
|
2725
2616
|
range: string;
|
|
2726
2617
|
/**
|
|
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.
|
|
2618
|
+
* Total aggregated number of collections.
|
|
2748
2619
|
*/
|
|
2749
|
-
|
|
2620
|
+
collectionsTotal: number;
|
|
2750
2621
|
/**
|
|
2751
|
-
*
|
|
2622
|
+
* Total aggregated number of documents.
|
|
2752
2623
|
*/
|
|
2753
|
-
|
|
2624
|
+
documentsTotal: number;
|
|
2754
2625
|
/**
|
|
2755
|
-
* Aggregated
|
|
2626
|
+
* Aggregated number of collections per period.
|
|
2756
2627
|
*/
|
|
2757
|
-
|
|
2628
|
+
collections: Metric[];
|
|
2758
2629
|
/**
|
|
2759
|
-
* Aggregated
|
|
2630
|
+
* Aggregated number of documents per period.
|
|
2760
2631
|
*/
|
|
2761
|
-
|
|
2762
|
-
/**
|
|
2763
|
-
* Aggregated stats for collections delete.
|
|
2764
|
-
*/
|
|
2765
|
-
collectionsDelete: Metric[];
|
|
2632
|
+
documents: Metric[];
|
|
2766
2633
|
};
|
|
2767
2634
|
/**
|
|
2768
2635
|
* UsageCollection
|
|
2769
2636
|
*/
|
|
2770
2637
|
type UsageCollection = {
|
|
2771
2638
|
/**
|
|
2772
|
-
*
|
|
2639
|
+
* Time range of the usage stats.
|
|
2773
2640
|
*/
|
|
2774
2641
|
range: string;
|
|
2775
2642
|
/**
|
|
2776
|
-
*
|
|
2777
|
-
*/
|
|
2778
|
-
documentsCount: Metric[];
|
|
2779
|
-
/**
|
|
2780
|
-
* Aggregated stats for documents created.
|
|
2643
|
+
* Total aggregated number of of documents.
|
|
2781
2644
|
*/
|
|
2782
|
-
|
|
2645
|
+
documentsTotal: number;
|
|
2783
2646
|
/**
|
|
2784
|
-
* Aggregated
|
|
2647
|
+
* Aggregated number of documents per period.
|
|
2785
2648
|
*/
|
|
2786
|
-
|
|
2787
|
-
/**
|
|
2788
|
-
* Aggregated stats for documents updated.
|
|
2789
|
-
*/
|
|
2790
|
-
documentsUpdate: Metric[];
|
|
2791
|
-
/**
|
|
2792
|
-
* Aggregated stats for documents deleted.
|
|
2793
|
-
*/
|
|
2794
|
-
documentsDelete: Metric[];
|
|
2649
|
+
documents: Metric[];
|
|
2795
2650
|
};
|
|
2796
2651
|
/**
|
|
2797
2652
|
* UsageUsers
|
|
2798
2653
|
*/
|
|
2799
2654
|
type UsageUsers = {
|
|
2800
2655
|
/**
|
|
2801
|
-
*
|
|
2656
|
+
* Time range of the usage stats.
|
|
2802
2657
|
*/
|
|
2803
2658
|
range: string;
|
|
2804
2659
|
/**
|
|
2805
|
-
*
|
|
2660
|
+
* Total aggregated number of statistics of users.
|
|
2806
2661
|
*/
|
|
2807
|
-
|
|
2662
|
+
usersTotal: number;
|
|
2808
2663
|
/**
|
|
2809
|
-
*
|
|
2664
|
+
* Total aggregated number of active sessions.
|
|
2810
2665
|
*/
|
|
2811
|
-
|
|
2666
|
+
sessionsTotal: number;
|
|
2812
2667
|
/**
|
|
2813
|
-
* Aggregated
|
|
2668
|
+
* Aggregated number of users per period.
|
|
2814
2669
|
*/
|
|
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[];
|
|
2670
|
+
users: Metric[];
|
|
2832
2671
|
/**
|
|
2833
|
-
* Aggregated
|
|
2672
|
+
* Aggregated number of active sessions per period.
|
|
2834
2673
|
*/
|
|
2835
|
-
|
|
2674
|
+
sessions: Metric[];
|
|
2836
2675
|
};
|
|
2837
2676
|
/**
|
|
2838
2677
|
* StorageUsage
|
|
2839
2678
|
*/
|
|
2840
2679
|
type UsageStorage = {
|
|
2841
2680
|
/**
|
|
2842
|
-
*
|
|
2681
|
+
* Time range of the usage stats.
|
|
2843
2682
|
*/
|
|
2844
2683
|
range: string;
|
|
2845
2684
|
/**
|
|
2846
|
-
*
|
|
2685
|
+
* Total aggregated number of buckets
|
|
2847
2686
|
*/
|
|
2848
|
-
|
|
2687
|
+
bucketsTotal: number;
|
|
2849
2688
|
/**
|
|
2850
|
-
*
|
|
2689
|
+
* Total aggregated number of files.
|
|
2851
2690
|
*/
|
|
2852
|
-
|
|
2691
|
+
filesTotal: number;
|
|
2853
2692
|
/**
|
|
2854
|
-
*
|
|
2693
|
+
* Total aggregated number of files storage (in bytes).
|
|
2855
2694
|
*/
|
|
2856
|
-
|
|
2695
|
+
filesStorageTotal: number;
|
|
2857
2696
|
/**
|
|
2858
|
-
* Aggregated
|
|
2697
|
+
* Aggregated number of buckets per period.
|
|
2859
2698
|
*/
|
|
2860
|
-
|
|
2699
|
+
buckets: Metric[];
|
|
2861
2700
|
/**
|
|
2862
|
-
* Aggregated
|
|
2701
|
+
* Aggregated number of files per period.
|
|
2863
2702
|
*/
|
|
2864
|
-
|
|
2703
|
+
files: Metric[];
|
|
2865
2704
|
/**
|
|
2866
|
-
* Aggregated
|
|
2705
|
+
* Aggregated number of files storage (in bytes) per period .
|
|
2867
2706
|
*/
|
|
2868
|
-
|
|
2707
|
+
storage: Metric[];
|
|
2708
|
+
};
|
|
2709
|
+
/**
|
|
2710
|
+
* UsageBuckets
|
|
2711
|
+
*/
|
|
2712
|
+
type UsageBuckets = {
|
|
2869
2713
|
/**
|
|
2870
|
-
*
|
|
2714
|
+
* Time range of the usage stats.
|
|
2871
2715
|
*/
|
|
2872
|
-
|
|
2716
|
+
range: string;
|
|
2873
2717
|
/**
|
|
2874
|
-
*
|
|
2718
|
+
* Total aggregated number of bucket files.
|
|
2875
2719
|
*/
|
|
2876
|
-
|
|
2720
|
+
filesTotal: number;
|
|
2877
2721
|
/**
|
|
2878
|
-
*
|
|
2722
|
+
* Total aggregated number of bucket files storage (in bytes).
|
|
2879
2723
|
*/
|
|
2880
|
-
|
|
2724
|
+
filesStorageTotal: number;
|
|
2881
2725
|
/**
|
|
2882
|
-
* Aggregated
|
|
2726
|
+
* Aggregated number of bucket files per period.
|
|
2883
2727
|
*/
|
|
2884
|
-
|
|
2728
|
+
files: Metric[];
|
|
2885
2729
|
/**
|
|
2886
|
-
* Aggregated
|
|
2730
|
+
* Aggregated number of bucket storage files (in bytes) per period.
|
|
2887
2731
|
*/
|
|
2888
|
-
|
|
2732
|
+
storage: Metric[];
|
|
2889
2733
|
};
|
|
2890
2734
|
/**
|
|
2891
|
-
*
|
|
2735
|
+
* UsageFunctions
|
|
2892
2736
|
*/
|
|
2893
|
-
type
|
|
2737
|
+
type UsageFunctions = {
|
|
2894
2738
|
/**
|
|
2895
|
-
*
|
|
2739
|
+
* Time range of the usage stats.
|
|
2896
2740
|
*/
|
|
2897
2741
|
range: string;
|
|
2898
2742
|
/**
|
|
2899
|
-
*
|
|
2743
|
+
* Total aggregated number of functions.
|
|
2900
2744
|
*/
|
|
2901
|
-
|
|
2745
|
+
functionsTotal: number;
|
|
2902
2746
|
/**
|
|
2903
|
-
*
|
|
2747
|
+
* Total aggregated number of functions deployments.
|
|
2904
2748
|
*/
|
|
2905
|
-
|
|
2749
|
+
deploymentsTotal: number;
|
|
2906
2750
|
/**
|
|
2907
|
-
*
|
|
2751
|
+
* Total aggregated sum of functions deployment storage.
|
|
2908
2752
|
*/
|
|
2909
|
-
|
|
2753
|
+
deploymentsStorageTotal: number;
|
|
2910
2754
|
/**
|
|
2911
|
-
*
|
|
2755
|
+
* Total aggregated number of functions build.
|
|
2912
2756
|
*/
|
|
2913
|
-
|
|
2757
|
+
buildsTotal: number;
|
|
2914
2758
|
/**
|
|
2915
|
-
*
|
|
2759
|
+
* total aggregated sum of functions build storage.
|
|
2916
2760
|
*/
|
|
2917
|
-
|
|
2761
|
+
buildsStorageTotal: number;
|
|
2918
2762
|
/**
|
|
2919
|
-
*
|
|
2763
|
+
* Total aggregated sum of functions build compute time.
|
|
2920
2764
|
*/
|
|
2921
|
-
|
|
2922
|
-
};
|
|
2923
|
-
/**
|
|
2924
|
-
* UsageFunctions
|
|
2925
|
-
*/
|
|
2926
|
-
type UsageFunctions = {
|
|
2765
|
+
buildsTimeTotal: number;
|
|
2927
2766
|
/**
|
|
2928
|
-
*
|
|
2767
|
+
* Total aggregated number of functions execution.
|
|
2929
2768
|
*/
|
|
2930
|
-
|
|
2769
|
+
executionsTotal: number;
|
|
2931
2770
|
/**
|
|
2932
|
-
*
|
|
2771
|
+
* Total aggregated sum of functions execution compute time.
|
|
2933
2772
|
*/
|
|
2934
|
-
|
|
2773
|
+
executionsTimeTotal: number;
|
|
2935
2774
|
/**
|
|
2936
|
-
* Aggregated
|
|
2775
|
+
* Aggregated number of functions per period.
|
|
2937
2776
|
*/
|
|
2938
|
-
|
|
2777
|
+
functions: Metric[];
|
|
2939
2778
|
/**
|
|
2940
|
-
* Aggregated
|
|
2779
|
+
* Aggregated number of functions deployment per period.
|
|
2941
2780
|
*/
|
|
2942
|
-
|
|
2781
|
+
deployments: Metric[];
|
|
2943
2782
|
/**
|
|
2944
|
-
* Aggregated
|
|
2783
|
+
* Aggregated number of functions deployment storage per period.
|
|
2945
2784
|
*/
|
|
2946
|
-
|
|
2785
|
+
deploymentsStorage: Metric[];
|
|
2947
2786
|
/**
|
|
2948
|
-
* Aggregated
|
|
2787
|
+
* Aggregated number of functions build per period.
|
|
2949
2788
|
*/
|
|
2950
|
-
|
|
2789
|
+
builds: Metric[];
|
|
2951
2790
|
/**
|
|
2952
|
-
* Aggregated
|
|
2791
|
+
* Aggregated sum of functions build storage per period.
|
|
2953
2792
|
*/
|
|
2954
|
-
|
|
2793
|
+
buildsStorage: Metric[];
|
|
2955
2794
|
/**
|
|
2956
|
-
* Aggregated
|
|
2795
|
+
* Aggregated sum of functions build compute time per period.
|
|
2957
2796
|
*/
|
|
2958
|
-
|
|
2797
|
+
buildsTime: Metric[];
|
|
2959
2798
|
/**
|
|
2960
|
-
* Aggregated
|
|
2799
|
+
* Aggregated number of functions execution per period.
|
|
2961
2800
|
*/
|
|
2962
|
-
|
|
2801
|
+
executions: Metric[];
|
|
2802
|
+
/**
|
|
2803
|
+
* Aggregated number of functions execution compute time per period.
|
|
2804
|
+
*/
|
|
2805
|
+
executionsTime: Metric[];
|
|
2963
2806
|
};
|
|
2964
2807
|
/**
|
|
2965
2808
|
* UsageProject
|
|
2966
2809
|
*/
|
|
2967
2810
|
type UsageProject = {
|
|
2968
2811
|
/**
|
|
2969
|
-
*
|
|
2970
|
-
*/
|
|
2971
|
-
range: string;
|
|
2972
|
-
/**
|
|
2973
|
-
* Aggregated stats for number of requests.
|
|
2812
|
+
* Total aggregated number of function executions.
|
|
2974
2813
|
*/
|
|
2975
|
-
|
|
2814
|
+
executionsTotal: number;
|
|
2976
2815
|
/**
|
|
2977
|
-
*
|
|
2816
|
+
* Total aggregated number of documents.
|
|
2978
2817
|
*/
|
|
2979
|
-
|
|
2818
|
+
documentsTotal: number;
|
|
2980
2819
|
/**
|
|
2981
|
-
*
|
|
2820
|
+
* Total aggregated number of databases.
|
|
2982
2821
|
*/
|
|
2983
|
-
|
|
2822
|
+
databasesTotal: number;
|
|
2984
2823
|
/**
|
|
2985
|
-
*
|
|
2824
|
+
* Total aggregated number of users.
|
|
2986
2825
|
*/
|
|
2987
|
-
|
|
2826
|
+
usersTotal: number;
|
|
2988
2827
|
/**
|
|
2989
|
-
*
|
|
2828
|
+
* Total aggregated sum of files storage size (in bytes).
|
|
2990
2829
|
*/
|
|
2991
|
-
|
|
2830
|
+
filesStorageTotal: number;
|
|
2992
2831
|
/**
|
|
2993
|
-
*
|
|
2832
|
+
* Total aggregated number of buckets.
|
|
2994
2833
|
*/
|
|
2995
|
-
|
|
2834
|
+
bucketsTotal: number;
|
|
2996
2835
|
/**
|
|
2997
|
-
* Aggregated
|
|
2836
|
+
* Aggregated number of requests per period.
|
|
2998
2837
|
*/
|
|
2999
|
-
|
|
2838
|
+
requests: string[];
|
|
3000
2839
|
/**
|
|
3001
|
-
* Aggregated
|
|
2840
|
+
* Aggregated number of consumed bandwidth per period.
|
|
3002
2841
|
*/
|
|
3003
|
-
|
|
2842
|
+
network: string[];
|
|
3004
2843
|
};
|
|
3005
2844
|
/**
|
|
3006
2845
|
* Headers
|
|
@@ -3182,7 +3021,7 @@ export declare namespace Models {
|
|
|
3182
3021
|
/**
|
|
3183
3022
|
* All errors that occurred during the migration process.
|
|
3184
3023
|
*/
|
|
3185
|
-
errors: string;
|
|
3024
|
+
errors: string[];
|
|
3186
3025
|
};
|
|
3187
3026
|
/**
|
|
3188
3027
|
* Migration Report
|