@appwrite.io/console 1.4.5 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/iife/sdk.js CHANGED
@@ -281,7 +281,7 @@
281
281
  'x-sdk-name': 'Console',
282
282
  'x-sdk-platform': 'console',
283
283
  'x-sdk-language': 'web',
284
- 'x-sdk-version': '1.4.5',
284
+ 'x-sdk-version': '1.4.6',
285
285
  'X-Appwrite-Response-Format': '1.6.0',
286
286
  };
287
287
  this.realtime = {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@appwrite.io/console",
3
3
  "homepage": "https://appwrite.io/support",
4
4
  "description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5
- "version": "1.4.5",
5
+ "version": "1.4.6",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "dist/cjs/sdk.js",
8
8
  "exports": {
package/src/client.ts CHANGED
@@ -316,7 +316,7 @@ class Client {
316
316
  'x-sdk-name': 'Console',
317
317
  'x-sdk-platform': 'console',
318
318
  'x-sdk-language': 'web',
319
- 'x-sdk-version': '1.4.5',
319
+ 'x-sdk-version': '1.4.6',
320
320
  'X-Appwrite-Response-Format': '1.6.0',
321
321
  };
322
322
 
package/src/models.ts CHANGED
@@ -3097,7 +3097,7 @@ export namespace Models {
3097
3097
  /**
3098
3098
  * Resource ID.
3099
3099
  */
3100
- resourceId: string;
3100
+ resourceId?: string;
3101
3101
  /**
3102
3102
  * Resource name.
3103
3103
  */
@@ -3106,6 +3106,10 @@ export namespace Models {
3106
3106
  * The value of this metric at the timestamp.
3107
3107
  */
3108
3108
  value: number;
3109
+ /**
3110
+ * The estimated value of this metric at the end of the period.
3111
+ */
3112
+ estimate?: number;
3109
3113
  }
3110
3114
  /**
3111
3115
  * UsageDatabases
@@ -3543,6 +3547,18 @@ export namespace Models {
3543
3547
  * Aggregated breakdown in totals of functions storage size (in bytes).
3544
3548
  */
3545
3549
  functionsStorageBreakdown: MetricBreakdown[];
3550
+ /**
3551
+ * Total aggregated number of phone auth.
3552
+ */
3553
+ authPhoneTotal: number;
3554
+ /**
3555
+ * Estimated total aggregated cost of phone auth.
3556
+ */
3557
+ authPhoneEstimate: number;
3558
+ /**
3559
+ * Aggregated breakdown in totals of phone auth by country.
3560
+ */
3561
+ authPhoneCountryBreakdown: MetricBreakdown[];
3546
3562
  }
3547
3563
  /**
3548
3564
  * Headers
@@ -5026,10 +5042,6 @@ export namespace Models {
5026
5042
  * Aggregated stats for function executions.
5027
5043
  */
5028
5044
  executions: Metric[];
5029
- /**
5030
- * Aggregated stats for phone authentication.
5031
- */
5032
- authPhone: Metric;
5033
5045
  /**
5034
5046
  * Aggregated stats for total users.
5035
5047
  */
@@ -5071,9 +5083,13 @@ export namespace Models {
5071
5083
  */
5072
5084
  storageTotal: number;
5073
5085
  /**
5074
- * Breakdown of phone authentication stats by country code.
5086
+ * Aggregated stats for total phone authentication SMS.
5087
+ */
5088
+ authPhoneTotal: number;
5089
+ /**
5090
+ * Aggregated stats for estimated phone authentication SMS cost.
5075
5091
  */
5076
- authPhoneBreakdown: MetricBreakdown;
5092
+ authPhoneEstimate: number;
5077
5093
  /**
5078
5094
  * Aggregated stats for each projects.
5079
5095
  */
@@ -5111,6 +5127,14 @@ export namespace Models {
5111
5127
  * Aggregated stats for number of documents.
5112
5128
  */
5113
5129
  storage: number;
5130
+ /**
5131
+ * Aggregated stats for phone authentication.
5132
+ */
5133
+ authPhoneTotal: number;
5134
+ /**
5135
+ * Aggregated stats for phone authentication estimated cost.
5136
+ */
5137
+ authPhoneEstimate: number;
5114
5138
  }
5115
5139
  /**
5116
5140
  * Aggregation team list
package/types/models.d.ts CHANGED
@@ -3097,7 +3097,7 @@ export declare namespace Models {
3097
3097
  /**
3098
3098
  * Resource ID.
3099
3099
  */
3100
- resourceId: string;
3100
+ resourceId?: string;
3101
3101
  /**
3102
3102
  * Resource name.
3103
3103
  */
@@ -3106,6 +3106,10 @@ export declare namespace Models {
3106
3106
  * The value of this metric at the timestamp.
3107
3107
  */
3108
3108
  value: number;
3109
+ /**
3110
+ * The estimated value of this metric at the end of the period.
3111
+ */
3112
+ estimate?: number;
3109
3113
  };
3110
3114
  /**
3111
3115
  * UsageDatabases
@@ -3543,6 +3547,18 @@ export declare namespace Models {
3543
3547
  * Aggregated breakdown in totals of functions storage size (in bytes).
3544
3548
  */
3545
3549
  functionsStorageBreakdown: MetricBreakdown[];
3550
+ /**
3551
+ * Total aggregated number of phone auth.
3552
+ */
3553
+ authPhoneTotal: number;
3554
+ /**
3555
+ * Estimated total aggregated cost of phone auth.
3556
+ */
3557
+ authPhoneEstimate: number;
3558
+ /**
3559
+ * Aggregated breakdown in totals of phone auth by country.
3560
+ */
3561
+ authPhoneCountryBreakdown: MetricBreakdown[];
3546
3562
  };
3547
3563
  /**
3548
3564
  * Headers
@@ -5026,10 +5042,6 @@ export declare namespace Models {
5026
5042
  * Aggregated stats for function executions.
5027
5043
  */
5028
5044
  executions: Metric[];
5029
- /**
5030
- * Aggregated stats for phone authentication.
5031
- */
5032
- authPhone: Metric;
5033
5045
  /**
5034
5046
  * Aggregated stats for total users.
5035
5047
  */
@@ -5071,9 +5083,13 @@ export declare namespace Models {
5071
5083
  */
5072
5084
  storageTotal: number;
5073
5085
  /**
5074
- * Breakdown of phone authentication stats by country code.
5086
+ * Aggregated stats for total phone authentication SMS.
5087
+ */
5088
+ authPhoneTotal: number;
5089
+ /**
5090
+ * Aggregated stats for estimated phone authentication SMS cost.
5075
5091
  */
5076
- authPhoneBreakdown: MetricBreakdown;
5092
+ authPhoneEstimate: number;
5077
5093
  /**
5078
5094
  * Aggregated stats for each projects.
5079
5095
  */
@@ -5111,6 +5127,14 @@ export declare namespace Models {
5111
5127
  * Aggregated stats for number of documents.
5112
5128
  */
5113
5129
  storage: number;
5130
+ /**
5131
+ * Aggregated stats for phone authentication.
5132
+ */
5133
+ authPhoneTotal: number;
5134
+ /**
5135
+ * Aggregated stats for phone authentication estimated cost.
5136
+ */
5137
+ authPhoneEstimate: number;
5114
5138
  };
5115
5139
  /**
5116
5140
  * Aggregation team list