@appwrite.io/console 14.0.0 → 15.1.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 +1 -1
- package/dist/cjs/sdk.js +1256 -636
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +1256 -637
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +1256 -636
- package/package.json +1 -1
- package/types/client.d.ts +15 -3
- package/types/enums/project-policy-id.d.ts +2 -1
- package/types/enums/project-service-id.d.ts +2 -1
- package/types/enums/query-suggestion-resource.d.ts +1 -0
- package/types/index.d.ts +1 -0
- package/types/models.d.ts +275 -76
- package/types/services/apps.d.ts +38 -2
- package/types/services/compute.d.ts +10 -10
- package/types/services/databases.d.ts +14 -0
- package/types/services/oauth-2.d.ts +270 -0
- package/types/services/project.d.ts +27 -8
- package/types/services/usage.d.ts +98 -20
|
@@ -1864,6 +1864,25 @@ export declare class Project {
|
|
|
1864
1864
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1865
1865
|
*/
|
|
1866
1866
|
updateDenyAliasedEmailPolicy(enabled: boolean): Promise<Models.Project>;
|
|
1867
|
+
/**
|
|
1868
|
+
* Configures if only corporate email addresses (non-free and non-disposable domains) are allowed during new user sign-ups and email updates.
|
|
1869
|
+
*
|
|
1870
|
+
* @param {boolean} params.enabled - Set whether or not to restrict sign-ups and email updates to corporate email addresses only.
|
|
1871
|
+
* @throws {AppwriteException}
|
|
1872
|
+
* @returns {Promise<Models.Project>}
|
|
1873
|
+
*/
|
|
1874
|
+
updateDenyCorporateEmailPolicy(params: {
|
|
1875
|
+
enabled: boolean;
|
|
1876
|
+
}): Promise<Models.Project>;
|
|
1877
|
+
/**
|
|
1878
|
+
* Configures if only corporate email addresses (non-free and non-disposable domains) are allowed during new user sign-ups and email updates.
|
|
1879
|
+
*
|
|
1880
|
+
* @param {boolean} enabled - Set whether or not to restrict sign-ups and email updates to corporate email addresses only.
|
|
1881
|
+
* @throws {AppwriteException}
|
|
1882
|
+
* @returns {Promise<Models.Project>}
|
|
1883
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1884
|
+
*/
|
|
1885
|
+
updateDenyCorporateEmailPolicy(enabled: boolean): Promise<Models.Project>;
|
|
1867
1886
|
/**
|
|
1868
1887
|
* Configures if disposable emails from known temporary domains are denied during new users sign-ups and email updates.
|
|
1869
1888
|
*
|
|
@@ -2126,22 +2145,22 @@ export declare class Project {
|
|
|
2126
2145
|
/**
|
|
2127
2146
|
* Get a policy by its unique ID. This endpoint returns the current configuration for the requested project policy.
|
|
2128
2147
|
*
|
|
2129
|
-
* @param {ProjectPolicyId} params.policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, deny-aliased-email, deny-disposable-email, deny-free-email.
|
|
2148
|
+
* @param {ProjectPolicyId} params.policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email.
|
|
2130
2149
|
* @throws {AppwriteException}
|
|
2131
|
-
* @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail>}
|
|
2150
|
+
* @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail>}
|
|
2132
2151
|
*/
|
|
2133
2152
|
getPolicy(params: {
|
|
2134
2153
|
policyId: ProjectPolicyId;
|
|
2135
|
-
}): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail>;
|
|
2154
|
+
}): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail>;
|
|
2136
2155
|
/**
|
|
2137
2156
|
* Get a policy by its unique ID. This endpoint returns the current configuration for the requested project policy.
|
|
2138
2157
|
*
|
|
2139
|
-
* @param {ProjectPolicyId} policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, deny-aliased-email, deny-disposable-email, deny-free-email.
|
|
2158
|
+
* @param {ProjectPolicyId} policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email.
|
|
2140
2159
|
* @throws {AppwriteException}
|
|
2141
|
-
* @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail>}
|
|
2160
|
+
* @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail>}
|
|
2142
2161
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2143
2162
|
*/
|
|
2144
|
-
getPolicy(policyId: ProjectPolicyId): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail>;
|
|
2163
|
+
getPolicy(policyId: ProjectPolicyId): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail>;
|
|
2145
2164
|
/**
|
|
2146
2165
|
* Update properties of a specific protocol. Use this endpoint to enable or disable a protocol in your project.
|
|
2147
2166
|
*
|
|
@@ -2167,7 +2186,7 @@ export declare class Project {
|
|
|
2167
2186
|
/**
|
|
2168
2187
|
* Update properties of a specific service. Use this endpoint to enable or disable a service in your project.
|
|
2169
2188
|
*
|
|
2170
|
-
* @param {ProjectServiceId} params.serviceId - Service name. Can be one of: account, avatars, databases, tablesdb, locale, health, project, storage, teams, users, vcs, sites, functions, proxy, graphql, migrations, messaging, advisor
|
|
2189
|
+
* @param {ProjectServiceId} params.serviceId - Service name. Can be one of: account, avatars, databases, tablesdb, locale, health, project, storage, teams, users, vcs, sites, functions, proxy, graphql, migrations, messaging, advisor, oauth2
|
|
2171
2190
|
* @param {boolean} params.enabled - Service status.
|
|
2172
2191
|
* @throws {AppwriteException}
|
|
2173
2192
|
* @returns {Promise<Models.Project>}
|
|
@@ -2179,7 +2198,7 @@ export declare class Project {
|
|
|
2179
2198
|
/**
|
|
2180
2199
|
* Update properties of a specific service. Use this endpoint to enable or disable a service in your project.
|
|
2181
2200
|
*
|
|
2182
|
-
* @param {ProjectServiceId} serviceId - Service name. Can be one of: account, avatars, databases, tablesdb, locale, health, project, storage, teams, users, vcs, sites, functions, proxy, graphql, migrations, messaging, advisor
|
|
2201
|
+
* @param {ProjectServiceId} serviceId - Service name. Can be one of: account, avatars, databases, tablesdb, locale, health, project, storage, teams, users, vcs, sites, functions, proxy, graphql, migrations, messaging, advisor, oauth2
|
|
2183
2202
|
* @param {boolean} enabled - Service status.
|
|
2184
2203
|
* @throws {AppwriteException}
|
|
2185
2204
|
* @returns {Promise<Models.Project>}
|
|
@@ -4,47 +4,125 @@ export declare class Usage {
|
|
|
4
4
|
client: Client;
|
|
5
5
|
constructor(client: Client);
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Aggregate usage event metrics. `metrics[]` (1-10) is required; the response always contains one entry per requested metric, each with its own `points[]` time series.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* **Two response shapes**:
|
|
10
|
+
* - Omit `interval` for a flat top-N table — one point per dimension combination, no time axis. Useful for "top 10 paths by bandwidth in the last 7 days".
|
|
11
|
+
* - Pass `interval` (`1m`, `15m`, `30m`, `1h`, `1d`) for a time series — one point per (time bucket × dimension combination).
|
|
12
|
+
*
|
|
13
|
+
* `dimensions[]` breaks each point down by one or more attributes (service, path, status, country, …). Pass multiple metrics to render stacked charts in one round-trip. `resource` and `resourceId` filter the underlying events. `orderBy=value`+`orderDir=desc`+`limit=N` returns the top-N by aggregated value. When `startAt` is omitted, the default window adapts to `interval` (or 7d when interval is omitted).
|
|
14
|
+
*
|
|
15
|
+
* @param {string[]} params.metrics - One to ten metric names. Single-metric callers pass a one-element array. Example: `metrics[]=executions` or `metrics[]=executions&metrics[]=executions.compute` for stacked charts.
|
|
16
|
+
* @param {string} params.resource - Resource type filter (singular form). Common values: function, site, database, bucket, file, webhook, team, user, project.
|
|
17
|
+
* @param {string} params.resourceId - Resource id filter.
|
|
18
|
+
* @param {string} params.interval - Time interval size. Omit (null) for a flat aggregate over the whole window. Allowed: 1m, 15m, 30m, 1h, 1d.
|
|
19
|
+
* @param {string[]} params.dimensions - Break-down dimensions (max 10). Allowed: path, method, status, service, country, region, hostname, osName, clientType, clientName, deviceName, teamId, resourceId.
|
|
20
|
+
* @param {string} params.startAt - Range start in ISO 8601. Defaults adapt to interval (7d for the no-interval aggregate).
|
|
21
|
+
* @param {string} params.endAt - Range end in ISO 8601. Defaults to the current time.
|
|
22
|
+
* @param {string} params.orderBy - Column to order by. Allowed: time, value. Default time when an interval is set; otherwise value.
|
|
23
|
+
* @param {string} params.orderDir - Sort direction: asc or desc. Default desc — paired with the default limit, returns the most recent / highest-value groups first.
|
|
24
|
+
* @param {number} params.limit - Maximum rows to return (1-5000).
|
|
25
|
+
* @param {number} params.offset - Pagination offset (0-100000).
|
|
11
26
|
* @throws {AppwriteException}
|
|
12
27
|
* @returns {Promise<Models.UsageEventList>}
|
|
13
28
|
*/
|
|
14
|
-
listEvents(params
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
listEvents(params: {
|
|
30
|
+
metrics: string[];
|
|
31
|
+
resource?: string;
|
|
32
|
+
resourceId?: string;
|
|
33
|
+
interval?: string;
|
|
34
|
+
dimensions?: string[];
|
|
35
|
+
startAt?: string;
|
|
36
|
+
endAt?: string;
|
|
37
|
+
orderBy?: string;
|
|
38
|
+
orderDir?: string;
|
|
39
|
+
limit?: number;
|
|
40
|
+
offset?: number;
|
|
17
41
|
}): Promise<Models.UsageEventList>;
|
|
18
42
|
/**
|
|
19
|
-
*
|
|
43
|
+
* Aggregate usage event metrics. `metrics[]` (1-10) is required; the response always contains one entry per requested metric, each with its own `points[]` time series.
|
|
44
|
+
*
|
|
45
|
+
* **Two response shapes**:
|
|
46
|
+
* - Omit `interval` for a flat top-N table — one point per dimension combination, no time axis. Useful for "top 10 paths by bandwidth in the last 7 days".
|
|
47
|
+
* - Pass `interval` (`1m`, `15m`, `30m`, `1h`, `1d`) for a time series — one point per (time bucket × dimension combination).
|
|
48
|
+
*
|
|
49
|
+
* `dimensions[]` breaks each point down by one or more attributes (service, path, status, country, …). Pass multiple metrics to render stacked charts in one round-trip. `resource` and `resourceId` filter the underlying events. `orderBy=value`+`orderDir=desc`+`limit=N` returns the top-N by aggregated value. When `startAt` is omitted, the default window adapts to `interval` (or 7d when interval is omitted).
|
|
20
50
|
*
|
|
21
|
-
* @param {string[]}
|
|
22
|
-
* @param {
|
|
51
|
+
* @param {string[]} metrics - One to ten metric names. Single-metric callers pass a one-element array. Example: `metrics[]=executions` or `metrics[]=executions&metrics[]=executions.compute` for stacked charts.
|
|
52
|
+
* @param {string} resource - Resource type filter (singular form). Common values: function, site, database, bucket, file, webhook, team, user, project.
|
|
53
|
+
* @param {string} resourceId - Resource id filter.
|
|
54
|
+
* @param {string} interval - Time interval size. Omit (null) for a flat aggregate over the whole window. Allowed: 1m, 15m, 30m, 1h, 1d.
|
|
55
|
+
* @param {string[]} dimensions - Break-down dimensions (max 10). Allowed: path, method, status, service, country, region, hostname, osName, clientType, clientName, deviceName, teamId, resourceId.
|
|
56
|
+
* @param {string} startAt - Range start in ISO 8601. Defaults adapt to interval (7d for the no-interval aggregate).
|
|
57
|
+
* @param {string} endAt - Range end in ISO 8601. Defaults to the current time.
|
|
58
|
+
* @param {string} orderBy - Column to order by. Allowed: time, value. Default time when an interval is set; otherwise value.
|
|
59
|
+
* @param {string} orderDir - Sort direction: asc or desc. Default desc — paired with the default limit, returns the most recent / highest-value groups first.
|
|
60
|
+
* @param {number} limit - Maximum rows to return (1-5000).
|
|
61
|
+
* @param {number} offset - Pagination offset (0-100000).
|
|
23
62
|
* @throws {AppwriteException}
|
|
24
63
|
* @returns {Promise<Models.UsageEventList>}
|
|
25
64
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
26
65
|
*/
|
|
27
|
-
listEvents(
|
|
66
|
+
listEvents(metrics: string[], resource?: string, resourceId?: string, interval?: string, dimensions?: string[], startAt?: string, endAt?: string, orderBy?: string, orderDir?: string, limit?: number, offset?: number): Promise<Models.UsageEventList>;
|
|
28
67
|
/**
|
|
29
|
-
*
|
|
68
|
+
* Aggregate usage gauge snapshots. Gauges are point-in-time values (storage totals, resource counts, …); each point carries the latest snapshot in its interval via `argMax(value, time)`. `metrics[]` (1-10) is required; the response always contains one entry per requested metric, each with its own `points[]` time series.
|
|
30
69
|
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
70
|
+
* **Two response shapes**:
|
|
71
|
+
* - Omit `interval` for a flat top-N table — `argMax(value, time)` per dimension combination over the whole window, no time axis. Useful for "top 10 resources by current storage".
|
|
72
|
+
* - Pass `interval` (`1m`, `15m`, `30m`, `1h`, `1d`) for a time series — one snapshot per (time bucket × dimension combination).
|
|
73
|
+
*
|
|
74
|
+
* `dimensions[]` breaks each point down further. Supported on gauges: `resourceId`, `teamId`, `service`, `resource`. `service` and `resource` enable per-service / per-resource-type panels (e.g. storage-by-service: group `files.storage`, `deployments.storage`, `builds.storage`, `databases.storage` by `service`). Pass multiple metrics to render stacked charts in one round-trip. `resourceId` and `teamId` parameters filter the underlying rows. `orderBy=value`+`orderDir=desc`+`limit=N` returns the top-N. When `startAt` is omitted, the default window adapts to interval (or 7d when interval is omitted).
|
|
75
|
+
*
|
|
76
|
+
* @param {string[]} params.metrics - One to ten metric names. Single-metric callers pass a one-element array. Example: `metrics[]=files.storage` or `metrics[]=files.storage&metrics[]=deployments.storage` for stacked charts.
|
|
77
|
+
* @param {string} params.resourceId - Resource id filter.
|
|
78
|
+
* @param {string} params.teamId - Team id filter.
|
|
79
|
+
* @param {string} params.interval - Time interval size. Omit (null) for a flat aggregate over the whole window. Allowed: 1m, 15m, 30m, 1h, 1d.
|
|
80
|
+
* @param {string[]} params.dimensions - Break-down dimensions. Allowed: resourceId, teamId, service, resource.
|
|
81
|
+
* @param {string} params.startAt - Range start in ISO 8601. Defaults to endAt - 7d.
|
|
82
|
+
* @param {string} params.endAt - Range end in ISO 8601. Defaults to the current time.
|
|
83
|
+
* @param {string} params.orderBy - Column to order by. Allowed: time, value. Default time.
|
|
84
|
+
* @param {string} params.orderDir - Sort direction: asc or desc. Default desc — paired with the default limit, this returns the most recent groups first. Pass asc for chronological charting.
|
|
85
|
+
* @param {number} params.limit - Maximum rows to return (1-5000).
|
|
86
|
+
* @param {number} params.offset - Pagination offset (0-100000).
|
|
33
87
|
* @throws {AppwriteException}
|
|
34
88
|
* @returns {Promise<Models.UsageGaugeList>}
|
|
35
89
|
*/
|
|
36
|
-
listGauges(params
|
|
37
|
-
|
|
38
|
-
|
|
90
|
+
listGauges(params: {
|
|
91
|
+
metrics: string[];
|
|
92
|
+
resourceId?: string;
|
|
93
|
+
teamId?: string;
|
|
94
|
+
interval?: string;
|
|
95
|
+
dimensions?: string[];
|
|
96
|
+
startAt?: string;
|
|
97
|
+
endAt?: string;
|
|
98
|
+
orderBy?: string;
|
|
99
|
+
orderDir?: string;
|
|
100
|
+
limit?: number;
|
|
101
|
+
offset?: number;
|
|
39
102
|
}): Promise<Models.UsageGaugeList>;
|
|
40
103
|
/**
|
|
41
|
-
*
|
|
104
|
+
* Aggregate usage gauge snapshots. Gauges are point-in-time values (storage totals, resource counts, …); each point carries the latest snapshot in its interval via `argMax(value, time)`. `metrics[]` (1-10) is required; the response always contains one entry per requested metric, each with its own `points[]` time series.
|
|
105
|
+
*
|
|
106
|
+
* **Two response shapes**:
|
|
107
|
+
* - Omit `interval` for a flat top-N table — `argMax(value, time)` per dimension combination over the whole window, no time axis. Useful for "top 10 resources by current storage".
|
|
108
|
+
* - Pass `interval` (`1m`, `15m`, `30m`, `1h`, `1d`) for a time series — one snapshot per (time bucket × dimension combination).
|
|
109
|
+
*
|
|
110
|
+
* `dimensions[]` breaks each point down further. Supported on gauges: `resourceId`, `teamId`, `service`, `resource`. `service` and `resource` enable per-service / per-resource-type panels (e.g. storage-by-service: group `files.storage`, `deployments.storage`, `builds.storage`, `databases.storage` by `service`). Pass multiple metrics to render stacked charts in one round-trip. `resourceId` and `teamId` parameters filter the underlying rows. `orderBy=value`+`orderDir=desc`+`limit=N` returns the top-N. When `startAt` is omitted, the default window adapts to interval (or 7d when interval is omitted).
|
|
42
111
|
*
|
|
43
|
-
* @param {string[]}
|
|
44
|
-
* @param {
|
|
112
|
+
* @param {string[]} metrics - One to ten metric names. Single-metric callers pass a one-element array. Example: `metrics[]=files.storage` or `metrics[]=files.storage&metrics[]=deployments.storage` for stacked charts.
|
|
113
|
+
* @param {string} resourceId - Resource id filter.
|
|
114
|
+
* @param {string} teamId - Team id filter.
|
|
115
|
+
* @param {string} interval - Time interval size. Omit (null) for a flat aggregate over the whole window. Allowed: 1m, 15m, 30m, 1h, 1d.
|
|
116
|
+
* @param {string[]} dimensions - Break-down dimensions. Allowed: resourceId, teamId, service, resource.
|
|
117
|
+
* @param {string} startAt - Range start in ISO 8601. Defaults to endAt - 7d.
|
|
118
|
+
* @param {string} endAt - Range end in ISO 8601. Defaults to the current time.
|
|
119
|
+
* @param {string} orderBy - Column to order by. Allowed: time, value. Default time.
|
|
120
|
+
* @param {string} orderDir - Sort direction: asc or desc. Default desc — paired with the default limit, this returns the most recent groups first. Pass asc for chronological charting.
|
|
121
|
+
* @param {number} limit - Maximum rows to return (1-5000).
|
|
122
|
+
* @param {number} offset - Pagination offset (0-100000).
|
|
45
123
|
* @throws {AppwriteException}
|
|
46
124
|
* @returns {Promise<Models.UsageGaugeList>}
|
|
47
125
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
48
126
|
*/
|
|
49
|
-
listGauges(
|
|
127
|
+
listGauges(metrics: string[], resourceId?: string, teamId?: string, interval?: string, dimensions?: string[], startAt?: string, endAt?: string, orderBy?: string, orderDir?: string, limit?: number, offset?: number): Promise<Models.UsageGaugeList>;
|
|
50
128
|
}
|