@appwrite.io/console 15.4.0 → 15.6.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.
@@ -666,6 +666,34 @@ export declare class Mysql {
666
666
  * @deprecated Use the object parameter style method for a better developer experience.
667
667
  */
668
668
  createMigration(databaseId: string, targetType: string, specification?: string): Promise<Models.DedicatedDatabase>;
669
+ /**
670
+ * List the lifecycle operations recorded for a dedicated database, newest first. Every provision, update, restore, backup and replication action is recorded here with its outcome, including an attempt that was abandoned because another worker took over the database.
671
+ *
672
+ * @param {string} params.databaseId - Database ID.
673
+ * @param {string} params.status - Filter by operation status.
674
+ * @param {number} params.limit - Maximum number of operations to return.
675
+ * @param {number} params.offset - Number of operations to skip.
676
+ * @throws {AppwriteException}
677
+ * @returns {Promise<Models.DedicatedDatabaseOperationList>}
678
+ */
679
+ listOperations(params: {
680
+ databaseId: string;
681
+ status?: string;
682
+ limit?: number;
683
+ offset?: number;
684
+ }): Promise<Models.DedicatedDatabaseOperationList>;
685
+ /**
686
+ * List the lifecycle operations recorded for a dedicated database, newest first. Every provision, update, restore, backup and replication action is recorded here with its outcome, including an attempt that was abandoned because another worker took over the database.
687
+ *
688
+ * @param {string} databaseId - Database ID.
689
+ * @param {string} status - Filter by operation status.
690
+ * @param {number} limit - Maximum number of operations to return.
691
+ * @param {number} offset - Number of operations to skip.
692
+ * @throws {AppwriteException}
693
+ * @returns {Promise<Models.DedicatedDatabaseOperationList>}
694
+ * @deprecated Use the object parameter style method for a better developer experience.
695
+ */
696
+ listOperations(databaseId: string, status?: string, limit?: number, offset?: number): Promise<Models.DedicatedDatabaseOperationList>;
669
697
  /**
670
698
  * Get available point-in-time recovery windows for a dedicated database. Returns the earliest and latest recovery points.
671
699
  *
@@ -38,6 +38,110 @@ export declare class Organization {
38
38
  * @returns {Promise<{}>}
39
39
  */
40
40
  delete(): Promise<{}>;
41
+ /**
42
+ * List app installations on the organization. Any organization member can read installations.
43
+ *
44
+ * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.
45
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
46
+ * @throws {AppwriteException}
47
+ * @returns {Promise<Models.AppInstallationList>}
48
+ */
49
+ listInstallations(params?: {
50
+ queries?: string[];
51
+ total?: boolean;
52
+ }): Promise<Models.AppInstallationList>;
53
+ /**
54
+ * List app installations on the organization. Any organization member can read installations.
55
+ *
56
+ * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.
57
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
58
+ * @throws {AppwriteException}
59
+ * @returns {Promise<Models.AppInstallationList>}
60
+ * @deprecated Use the object parameter style method for a better developer experience.
61
+ */
62
+ listInstallations(queries?: string[], total?: boolean): Promise<Models.AppInstallationList>;
63
+ /**
64
+ * Install an app on the organization. Only organization members with the owner role can install apps. The installation is granted the scopes the app currently requests.
65
+ *
66
+ * @param {string} params.appId - Application unique ID.
67
+ * @param {string} params.authorizationDetails - Authorization details granted to the installation as a JSON array of objects, each with a `type` and app-defined fields. The Appwrite Console stores authorized project IDs here.
68
+ * @throws {AppwriteException}
69
+ * @returns {Promise<Models.AppInstallation>}
70
+ */
71
+ createInstallation(params: {
72
+ appId: string;
73
+ authorizationDetails?: string;
74
+ }): Promise<Models.AppInstallation>;
75
+ /**
76
+ * Install an app on the organization. Only organization members with the owner role can install apps. The installation is granted the scopes the app currently requests.
77
+ *
78
+ * @param {string} appId - Application unique ID.
79
+ * @param {string} authorizationDetails - Authorization details granted to the installation as a JSON array of objects, each with a `type` and app-defined fields. The Appwrite Console stores authorized project IDs here.
80
+ * @throws {AppwriteException}
81
+ * @returns {Promise<Models.AppInstallation>}
82
+ * @deprecated Use the object parameter style method for a better developer experience.
83
+ */
84
+ createInstallation(appId: string, authorizationDetails?: string): Promise<Models.AppInstallation>;
85
+ /**
86
+ * Get an app installation on the organization by its unique ID. Any organization member can read installations.
87
+ *
88
+ * @param {string} params.installationId - Installation unique ID.
89
+ * @throws {AppwriteException}
90
+ * @returns {Promise<Models.AppInstallation>}
91
+ */
92
+ getInstallation(params: {
93
+ installationId: string;
94
+ }): Promise<Models.AppInstallation>;
95
+ /**
96
+ * Get an app installation on the organization by its unique ID. Any organization member can read installations.
97
+ *
98
+ * @param {string} installationId - Installation unique ID.
99
+ * @throws {AppwriteException}
100
+ * @returns {Promise<Models.AppInstallation>}
101
+ * @deprecated Use the object parameter style method for a better developer experience.
102
+ */
103
+ getInstallation(installationId: string): Promise<Models.AppInstallation>;
104
+ /**
105
+ * Update an app installation on the organization. Only organization members with the owner role can update installations. The installation's granted scopes are refreshed to the scopes the app currently requests; previously issued installation access tokens are revoked.
106
+ *
107
+ * @param {string} params.installationId - Installation unique ID.
108
+ * @param {string} params.authorizationDetails - Authorization details granted to the installation as a JSON array of objects, each with a `type` and app-defined fields. Omit to keep the current value.
109
+ * @throws {AppwriteException}
110
+ * @returns {Promise<Models.AppInstallation>}
111
+ */
112
+ updateInstallation(params: {
113
+ installationId: string;
114
+ authorizationDetails?: string;
115
+ }): Promise<Models.AppInstallation>;
116
+ /**
117
+ * Update an app installation on the organization. Only organization members with the owner role can update installations. The installation's granted scopes are refreshed to the scopes the app currently requests; previously issued installation access tokens are revoked.
118
+ *
119
+ * @param {string} installationId - Installation unique ID.
120
+ * @param {string} authorizationDetails - Authorization details granted to the installation as a JSON array of objects, each with a `type` and app-defined fields. Omit to keep the current value.
121
+ * @throws {AppwriteException}
122
+ * @returns {Promise<Models.AppInstallation>}
123
+ * @deprecated Use the object parameter style method for a better developer experience.
124
+ */
125
+ updateInstallation(installationId: string, authorizationDetails?: string): Promise<Models.AppInstallation>;
126
+ /**
127
+ * Uninstall an app from the organization by its installation ID. Only organization members with the owner role can remove installations. Previously issued installation access tokens are revoked.
128
+ *
129
+ * @param {string} params.installationId - Installation unique ID.
130
+ * @throws {AppwriteException}
131
+ * @returns {Promise<{}>}
132
+ */
133
+ deleteInstallation(params: {
134
+ installationId: string;
135
+ }): Promise<{}>;
136
+ /**
137
+ * Uninstall an app from the organization by its installation ID. Only organization members with the owner role can remove installations. Previously issued installation access tokens are revoked.
138
+ *
139
+ * @param {string} installationId - Installation unique ID.
140
+ * @throws {AppwriteException}
141
+ * @returns {Promise<{}>}
142
+ * @deprecated Use the object parameter style method for a better developer experience.
143
+ */
144
+ deleteInstallation(installationId: string): Promise<{}>;
41
145
  /**
42
146
  * Get a list of all API keys from the current organization.
43
147
  *
@@ -729,6 +729,34 @@ export declare class Postgresql {
729
729
  * @deprecated Use the object parameter style method for a better developer experience.
730
730
  */
731
731
  createMigration(databaseId: string, targetType: string, specification?: string): Promise<Models.DedicatedDatabase>;
732
+ /**
733
+ * List the lifecycle operations recorded for a dedicated database, newest first. Every provision, update, restore, backup and replication action is recorded here with its outcome, including an attempt that was abandoned because another worker took over the database.
734
+ *
735
+ * @param {string} params.databaseId - Database ID.
736
+ * @param {string} params.status - Filter by operation status.
737
+ * @param {number} params.limit - Maximum number of operations to return.
738
+ * @param {number} params.offset - Number of operations to skip.
739
+ * @throws {AppwriteException}
740
+ * @returns {Promise<Models.DedicatedDatabaseOperationList>}
741
+ */
742
+ listOperations(params: {
743
+ databaseId: string;
744
+ status?: string;
745
+ limit?: number;
746
+ offset?: number;
747
+ }): Promise<Models.DedicatedDatabaseOperationList>;
748
+ /**
749
+ * List the lifecycle operations recorded for a dedicated database, newest first. Every provision, update, restore, backup and replication action is recorded here with its outcome, including an attempt that was abandoned because another worker took over the database.
750
+ *
751
+ * @param {string} databaseId - Database ID.
752
+ * @param {string} status - Filter by operation status.
753
+ * @param {number} limit - Maximum number of operations to return.
754
+ * @param {number} offset - Number of operations to skip.
755
+ * @throws {AppwriteException}
756
+ * @returns {Promise<Models.DedicatedDatabaseOperationList>}
757
+ * @deprecated Use the object parameter style method for a better developer experience.
758
+ */
759
+ listOperations(databaseId: string, status?: string, limit?: number, offset?: number): Promise<Models.DedicatedDatabaseOperationList>;
732
760
  /**
733
761
  * Get available point-in-time recovery windows for a dedicated database. Returns the earliest and latest recovery points.
734
762
  *
@@ -353,6 +353,7 @@ export declare class Project {
353
353
  * @param {number} params.refreshTokenDuration - Refresh token duration in seconds for confidential clients (server-side apps that authenticate with a client secret). Leave empty to use default 1 year.
354
354
  * @param {number} params.publicAccessTokenDuration - Access token duration in seconds for public clients (SPAs, mobile, and native apps that cannot keep a client secret). Leave empty to use default 1 hour.
355
355
  * @param {number} params.publicRefreshTokenDuration - Refresh token duration in seconds for public clients (SPAs, mobile, and native apps that cannot keep a client secret). Leave empty to use default 30 days.
356
+ * @param {number} params.installationAccessTokenDuration - Access token duration in seconds for app installation access tokens. Leave empty to use default 1 hour.
356
357
  * @param {boolean} params.confidentialPkce - When enabled, PKCE is required for confidential clients (server-side flows using client_secret). PKCE is always required for public clients regardless of this setting.
357
358
  * @param {string} params.verificationUrl - URL to your application page where users enter the device flow user code. Required to enable the Device Authorization Grant.
358
359
  * @param {number} params.userCodeLength - Number of characters in the device flow user code, excluding the formatting separator. Shorter codes are easier to type but weaker; pair short codes with short expiry. Leave empty to use default 8.
@@ -371,6 +372,7 @@ export declare class Project {
371
372
  refreshTokenDuration?: number;
372
373
  publicAccessTokenDuration?: number;
373
374
  publicRefreshTokenDuration?: number;
375
+ installationAccessTokenDuration?: number;
374
376
  confidentialPkce?: boolean;
375
377
  verificationUrl?: string;
376
378
  userCodeLength?: number;
@@ -389,6 +391,7 @@ export declare class Project {
389
391
  * @param {number} refreshTokenDuration - Refresh token duration in seconds for confidential clients (server-side apps that authenticate with a client secret). Leave empty to use default 1 year.
390
392
  * @param {number} publicAccessTokenDuration - Access token duration in seconds for public clients (SPAs, mobile, and native apps that cannot keep a client secret). Leave empty to use default 1 hour.
391
393
  * @param {number} publicRefreshTokenDuration - Refresh token duration in seconds for public clients (SPAs, mobile, and native apps that cannot keep a client secret). Leave empty to use default 30 days.
394
+ * @param {number} installationAccessTokenDuration - Access token duration in seconds for app installation access tokens. Leave empty to use default 1 hour.
392
395
  * @param {boolean} confidentialPkce - When enabled, PKCE is required for confidential clients (server-side flows using client_secret). PKCE is always required for public clients regardless of this setting.
393
396
  * @param {string} verificationUrl - URL to your application page where users enter the device flow user code. Required to enable the Device Authorization Grant.
394
397
  * @param {number} userCodeLength - Number of characters in the device flow user code, excluding the formatting separator. Shorter codes are easier to type but weaker; pair short codes with short expiry. Leave empty to use default 8.
@@ -399,7 +402,7 @@ export declare class Project {
399
402
  * @returns {Promise<Models.Project>}
400
403
  * @deprecated Use the object parameter style method for a better developer experience.
401
404
  */
402
- updateOAuth2Server(enabled: boolean, authorizationUrl: string, scopes?: string[], authorizationDetailsTypes?: string[], accessTokenDuration?: number, refreshTokenDuration?: number, publicAccessTokenDuration?: number, publicRefreshTokenDuration?: number, confidentialPkce?: boolean, verificationUrl?: string, userCodeLength?: number, userCodeFormat?: string, deviceCodeDuration?: number, defaultScopes?: string[]): Promise<Models.Project>;
405
+ updateOAuth2Server(enabled: boolean, authorizationUrl: string, scopes?: string[], authorizationDetailsTypes?: string[], accessTokenDuration?: number, refreshTokenDuration?: number, publicAccessTokenDuration?: number, publicRefreshTokenDuration?: number, installationAccessTokenDuration?: number, confidentialPkce?: boolean, verificationUrl?: string, userCodeLength?: number, userCodeFormat?: string, deviceCodeDuration?: number, defaultScopes?: string[]): Promise<Models.Project>;
403
406
  /**
404
407
  * Update the project OAuth2 Amazon configuration.
405
408
  *
@@ -186,31 +186,6 @@ export declare class Projects {
186
186
  * @deprecated Use the object parameter style method for a better developer experience.
187
187
  */
188
188
  listDevKeys(projectId: string, queries?: string[]): Promise<Models.DevKeyList>;
189
- /**
190
- * Create a new project dev key. Dev keys are project specific and allow you to bypass rate limits and get better error logging during development. Strictly meant for development purposes only.
191
- *
192
- * @param {string} params.projectId - Project unique ID.
193
- * @param {string} params.name - Key name. Max length: 128 chars.
194
- * @param {string} params.expire - Expiration time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
195
- * @throws {AppwriteException}
196
- * @returns {Promise<Models.DevKey>}
197
- */
198
- createDevKey(params: {
199
- projectId: string;
200
- name: string;
201
- expire: string;
202
- }): Promise<Models.DevKey>;
203
- /**
204
- * Create a new project dev key. Dev keys are project specific and allow you to bypass rate limits and get better error logging during development. Strictly meant for development purposes only.
205
- *
206
- * @param {string} projectId - Project unique ID.
207
- * @param {string} name - Key name. Max length: 128 chars.
208
- * @param {string} expire - Expiration time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
209
- * @throws {AppwriteException}
210
- * @returns {Promise<Models.DevKey>}
211
- * @deprecated Use the object parameter style method for a better developer experience.
212
- */
213
- createDevKey(projectId: string, name: string, expire: string): Promise<Models.DevKey>;
214
189
  /**
215
190
  * Get a project\'s dev key by its unique ID. Dev keys are project specific and allow you to bypass rate limits and get better error logging during development.
216
191
  *
@@ -171,7 +171,7 @@ export declare class Storage {
171
171
  * Get a list of all the user files. You can use the query params to filter your results.
172
172
  *
173
173
  * @param {string} params.bucketId - Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https://appwrite.io/docs/server/storage#createBucket).
174
- * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded
174
+ * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, folder, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded
175
175
  * @param {string} params.search - Search term to filter your list results. Max length: 256 chars.
176
176
  * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
177
177
  * @throws {AppwriteException}
@@ -187,7 +187,7 @@ export declare class Storage {
187
187
  * Get a list of all the user files. You can use the query params to filter your results.
188
188
  *
189
189
  * @param {string} bucketId - Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https://appwrite.io/docs/server/storage#createBucket).
190
- * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded
190
+ * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, folder, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded
191
191
  * @param {string} search - Search term to filter your list results. Max length: 256 chars.
192
192
  * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
193
193
  * @throws {AppwriteException}
@@ -368,6 +368,34 @@ export declare class TablesDB {
368
368
  * @deprecated Use the object parameter style method for a better developer experience.
369
369
  */
370
370
  deleteMigration(databaseId: string, migrationId: string): Promise<{}>;
371
+ /**
372
+ * List the lifecycle operations recorded for a dedicated database, newest first. Every provision, update, restore, backup and replication action is recorded here with its outcome, including an attempt that was abandoned because another worker took over the database.
373
+ *
374
+ * @param {string} params.databaseId - Database ID.
375
+ * @param {string} params.status - Filter by operation status.
376
+ * @param {number} params.limit - Maximum number of operations to return.
377
+ * @param {number} params.offset - Number of operations to skip.
378
+ * @throws {AppwriteException}
379
+ * @returns {Promise<Models.DedicatedDatabaseOperationList>}
380
+ */
381
+ listOperations(params: {
382
+ databaseId: string;
383
+ status?: string;
384
+ limit?: number;
385
+ offset?: number;
386
+ }): Promise<Models.DedicatedDatabaseOperationList>;
387
+ /**
388
+ * List the lifecycle operations recorded for a dedicated database, newest first. Every provision, update, restore, backup and replication action is recorded here with its outcome, including an attempt that was abandoned because another worker took over the database.
389
+ *
390
+ * @param {string} databaseId - Database ID.
391
+ * @param {string} status - Filter by operation status.
392
+ * @param {number} limit - Maximum number of operations to return.
393
+ * @param {number} offset - Number of operations to skip.
394
+ * @throws {AppwriteException}
395
+ * @returns {Promise<Models.DedicatedDatabaseOperationList>}
396
+ * @deprecated Use the object parameter style method for a better developer experience.
397
+ */
398
+ listOperations(databaseId: string, status?: string, limit?: number, offset?: number): Promise<Models.DedicatedDatabaseOperationList>;
371
399
  /**
372
400
  * Get high availability status for a dedicated database. Returns replica statuses, replication lag, and sync mode.
373
401
  *
@@ -113,6 +113,125 @@ export declare class Teams {
113
113
  * @deprecated Use the object parameter style method for a better developer experience.
114
114
  */
115
115
  delete(teamId: string): Promise<{}>;
116
+ /**
117
+ * List app installations on a team. Any team member can read installations.
118
+ *
119
+ * @param {string} params.teamId - Team ID.
120
+ * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.
121
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
122
+ * @throws {AppwriteException}
123
+ * @returns {Promise<Models.AppInstallationList>}
124
+ */
125
+ listInstallations(params: {
126
+ teamId: string;
127
+ queries?: string[];
128
+ total?: boolean;
129
+ }): Promise<Models.AppInstallationList>;
130
+ /**
131
+ * List app installations on a team. Any team member can read installations.
132
+ *
133
+ * @param {string} teamId - Team ID.
134
+ * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.
135
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
136
+ * @throws {AppwriteException}
137
+ * @returns {Promise<Models.AppInstallationList>}
138
+ * @deprecated Use the object parameter style method for a better developer experience.
139
+ */
140
+ listInstallations(teamId: string, queries?: string[], total?: boolean): Promise<Models.AppInstallationList>;
141
+ /**
142
+ * Install an app on a team. When authenticated as a user, only team members with the owner role can install apps. Requests using an API key or in admin mode can install apps on any team. The installation is granted the scopes the app currently requests.
143
+ *
144
+ * @param {string} params.teamId - Team ID.
145
+ * @param {string} params.appId - Application unique ID.
146
+ * @param {string} params.authorizationDetails - Authorization details granted to the installation as a JSON array of objects, each with a `type` and app-defined fields. The Appwrite Console stores authorized project IDs here.
147
+ * @throws {AppwriteException}
148
+ * @returns {Promise<Models.AppInstallation>}
149
+ */
150
+ createInstallation(params: {
151
+ teamId: string;
152
+ appId: string;
153
+ authorizationDetails?: string;
154
+ }): Promise<Models.AppInstallation>;
155
+ /**
156
+ * Install an app on a team. When authenticated as a user, only team members with the owner role can install apps. Requests using an API key or in admin mode can install apps on any team. The installation is granted the scopes the app currently requests.
157
+ *
158
+ * @param {string} teamId - Team ID.
159
+ * @param {string} appId - Application unique ID.
160
+ * @param {string} authorizationDetails - Authorization details granted to the installation as a JSON array of objects, each with a `type` and app-defined fields. The Appwrite Console stores authorized project IDs here.
161
+ * @throws {AppwriteException}
162
+ * @returns {Promise<Models.AppInstallation>}
163
+ * @deprecated Use the object parameter style method for a better developer experience.
164
+ */
165
+ createInstallation(teamId: string, appId: string, authorizationDetails?: string): Promise<Models.AppInstallation>;
166
+ /**
167
+ * Get an app installation on a team by its unique ID. Any team member can read installations.
168
+ *
169
+ * @param {string} params.teamId - Team ID.
170
+ * @param {string} params.installationId - Installation unique ID.
171
+ * @throws {AppwriteException}
172
+ * @returns {Promise<Models.AppInstallation>}
173
+ */
174
+ getInstallation(params: {
175
+ teamId: string;
176
+ installationId: string;
177
+ }): Promise<Models.AppInstallation>;
178
+ /**
179
+ * Get an app installation on a team by its unique ID. Any team member can read installations.
180
+ *
181
+ * @param {string} teamId - Team ID.
182
+ * @param {string} installationId - Installation unique ID.
183
+ * @throws {AppwriteException}
184
+ * @returns {Promise<Models.AppInstallation>}
185
+ * @deprecated Use the object parameter style method for a better developer experience.
186
+ */
187
+ getInstallation(teamId: string, installationId: string): Promise<Models.AppInstallation>;
188
+ /**
189
+ * Update an app installation on a team. Only team members with the owner role can update installations. The installation's granted scopes are refreshed to the scopes the app currently requests; previously issued installation access tokens are revoked.
190
+ *
191
+ * @param {string} params.teamId - Team ID.
192
+ * @param {string} params.installationId - Installation unique ID.
193
+ * @param {string} params.authorizationDetails - Authorization details granted to the installation as a JSON array of objects, each with a `type` and app-defined fields. Omit to keep the current value.
194
+ * @throws {AppwriteException}
195
+ * @returns {Promise<Models.AppInstallation>}
196
+ */
197
+ updateInstallation(params: {
198
+ teamId: string;
199
+ installationId: string;
200
+ authorizationDetails?: string;
201
+ }): Promise<Models.AppInstallation>;
202
+ /**
203
+ * Update an app installation on a team. Only team members with the owner role can update installations. The installation's granted scopes are refreshed to the scopes the app currently requests; previously issued installation access tokens are revoked.
204
+ *
205
+ * @param {string} teamId - Team ID.
206
+ * @param {string} installationId - Installation unique ID.
207
+ * @param {string} authorizationDetails - Authorization details granted to the installation as a JSON array of objects, each with a `type` and app-defined fields. Omit to keep the current value.
208
+ * @throws {AppwriteException}
209
+ * @returns {Promise<Models.AppInstallation>}
210
+ * @deprecated Use the object parameter style method for a better developer experience.
211
+ */
212
+ updateInstallation(teamId: string, installationId: string, authorizationDetails?: string): Promise<Models.AppInstallation>;
213
+ /**
214
+ * Uninstall an app from a team by its installation ID. Only team members with the owner role can remove installations. Previously issued installation access tokens are revoked.
215
+ *
216
+ * @param {string} params.teamId - Team ID.
217
+ * @param {string} params.installationId - Installation unique ID.
218
+ * @throws {AppwriteException}
219
+ * @returns {Promise<{}>}
220
+ */
221
+ deleteInstallation(params: {
222
+ teamId: string;
223
+ installationId: string;
224
+ }): Promise<{}>;
225
+ /**
226
+ * Uninstall an app from a team by its installation ID. Only team members with the owner role can remove installations. Previously issued installation access tokens are revoked.
227
+ *
228
+ * @param {string} teamId - Team ID.
229
+ * @param {string} installationId - Installation unique ID.
230
+ * @throws {AppwriteException}
231
+ * @returns {Promise<{}>}
232
+ * @deprecated Use the object parameter style method for a better developer experience.
233
+ */
234
+ deleteInstallation(teamId: string, installationId: string): Promise<{}>;
116
235
  /**
117
236
  * Get the team activity logs list by its unique ID.
118
237
  *
@@ -64,6 +64,8 @@ export declare class Usage {
64
64
  /**
65
65
  * 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.
66
66
  *
67
+ * A metric with no stored samples in the window returns an empty `points[]`. A metric that really did read zero returns a point whose `value` is `0`, so "no such series" and "a genuine zero" are different answers.
68
+ *
67
69
  * **Two response shapes**:
68
70
  * - 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".
69
71
  * - Pass `interval` (`1m`, `15m`, `30m`, `1h`, `1d`) for a time series — one snapshot per (time bucket × dimension combination).
@@ -98,6 +100,8 @@ export declare class Usage {
98
100
  /**
99
101
  * 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.
100
102
  *
103
+ * A metric with no stored samples in the window returns an empty `points[]`. A metric that really did read zero returns a point whose `value` is `0`, so "no such series" and "a genuine zero" are different answers.
104
+ *
101
105
  * **Two response shapes**:
102
106
  * - 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".
103
107
  * - Pass `interval` (`1m`, `15m`, `30m`, `1h`, `1d`) for a time series — one snapshot per (time bucket × dimension combination).
@@ -38,7 +38,7 @@ export declare class Vcs {
38
38
  * @param {string} params.installationId - Installation Id
39
39
  * @param {VCSDetectionType} params.type - Detector type. Must be one of the following: runtime, framework
40
40
  * @param {string} params.search - Search term to filter your list results. Max length: 256 chars.
41
- * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset
41
+ * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit, offset, and equal on namespace.
42
42
  * @throws {AppwriteException}
43
43
  * @returns {Promise<Models.ProviderRepositoryRuntimeList | Models.ProviderRepositoryFrameworkList>}
44
44
  */
@@ -54,7 +54,7 @@ export declare class Vcs {
54
54
  * @param {string} installationId - Installation Id
55
55
  * @param {VCSDetectionType} type - Detector type. Must be one of the following: runtime, framework
56
56
  * @param {string} search - Search term to filter your list results. Max length: 256 chars.
57
- * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset
57
+ * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit, offset, and equal on namespace.
58
58
  * @throws {AppwriteException}
59
59
  * @returns {Promise<Models.ProviderRepositoryRuntimeList | Models.ProviderRepositoryFrameworkList>}
60
60
  * @deprecated Use the object parameter style method for a better developer experience.
@@ -66,6 +66,7 @@ export declare class Vcs {
66
66
  * @param {string} params.installationId - Installation Id
67
67
  * @param {string} params.name - Repository name (slug)
68
68
  * @param {boolean} params.xprivate - Mark repository public or private
69
+ * @param {string} params.providerNamespace - Namespace of the git repository. Defaults to the installation's own namespace.
69
70
  * @throws {AppwriteException}
70
71
  * @returns {Promise<Models.ProviderRepository>}
71
72
  */
@@ -73,6 +74,7 @@ export declare class Vcs {
73
74
  installationId: string;
74
75
  name: string;
75
76
  xprivate: boolean;
77
+ providerNamespace?: string;
76
78
  }): Promise<Models.ProviderRepository>;
77
79
  /**
78
80
  * Create a new GitHub repository through your installation. This endpoint allows you to create either a public or private repository by specifying a name and visibility setting. The repository will be created under your GitHub user account or organization, depending on your installation type. The GitHub installation must be properly configured and have the necessary permissions for repository creation.
@@ -80,11 +82,12 @@ export declare class Vcs {
80
82
  * @param {string} installationId - Installation Id
81
83
  * @param {string} name - Repository name (slug)
82
84
  * @param {boolean} xprivate - Mark repository public or private
85
+ * @param {string} providerNamespace - Namespace of the git repository. Defaults to the installation's own namespace.
83
86
  * @throws {AppwriteException}
84
87
  * @returns {Promise<Models.ProviderRepository>}
85
88
  * @deprecated Use the object parameter style method for a better developer experience.
86
89
  */
87
- createRepository(installationId: string, name: string, xprivate: boolean): Promise<Models.ProviderRepository>;
90
+ createRepository(installationId: string, name: string, xprivate: boolean, providerNamespace?: string): Promise<Models.ProviderRepository>;
88
91
  /**
89
92
  * Get detailed information about a specific GitHub repository from your installation. This endpoint returns repository details including its ID, name, visibility status, organization, and latest push date. The GitHub installation must be properly configured and have access to the requested repository for this endpoint to work.
90
93
  *
@@ -255,4 +258,29 @@ export declare class Vcs {
255
258
  * @deprecated Use the object parameter style method for a better developer experience.
256
259
  */
257
260
  deleteInstallation(installationId: string): Promise<{}>;
261
+ /**
262
+ * List provider namespaces available to a VCS installation. This can include the user personal namespace and any groups or organizations the installation can browse.
263
+ *
264
+ * @param {string} params.installationId - Installation Id
265
+ * @param {string} params.search - Search term to filter your list results. Max length: 256 chars.
266
+ * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset
267
+ * @throws {AppwriteException}
268
+ * @returns {Promise<Models.VcsNamespaceList>}
269
+ */
270
+ listNamespaces(params: {
271
+ installationId: string;
272
+ search?: string;
273
+ queries?: string[];
274
+ }): Promise<Models.VcsNamespaceList>;
275
+ /**
276
+ * List provider namespaces available to a VCS installation. This can include the user personal namespace and any groups or organizations the installation can browse.
277
+ *
278
+ * @param {string} installationId - Installation Id
279
+ * @param {string} search - Search term to filter your list results. Max length: 256 chars.
280
+ * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset
281
+ * @throws {AppwriteException}
282
+ * @returns {Promise<Models.VcsNamespaceList>}
283
+ * @deprecated Use the object parameter style method for a better developer experience.
284
+ */
285
+ listNamespaces(installationId: string, search?: string, queries?: string[]): Promise<Models.VcsNamespaceList>;
258
286
  }
@@ -606,6 +606,42 @@ export declare class VectorsDB {
606
606
  * @deprecated Use the object parameter style method for a better developer experience.
607
607
  */
608
608
  deleteDocuments<Document extends Models.Document = Models.DefaultDocument>(databaseId: string, collectionId: string, queries?: string[], transactionId?: string): Promise<Models.DocumentList<Document>>;
609
+ /**
610
+ * Get a list of all the user's documents in a given collection using a POST request. This behaves identically to the list documents endpoint but accepts the queries in the request body, allowing much larger `queries` arrays than can fit in a URL query string.
611
+ *
612
+ *
613
+ * @param {string} params.databaseId - Database ID.
614
+ * @param {string} params.collectionId - Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).
615
+ * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.
616
+ * @param {string} params.transactionId - Transaction ID to read uncommitted changes within the transaction.
617
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
618
+ * @param {number} params.ttl - TTL (seconds) for cached responses when caching is enabled for select queries. Must be between 0 and 86400 (24 hours).
619
+ * @throws {AppwriteException}
620
+ * @returns {Promise<Models.DocumentList<Document>>}
621
+ */
622
+ createQuery<Document extends Models.Document = Models.DefaultDocument>(params: {
623
+ databaseId: string;
624
+ collectionId: string;
625
+ queries?: string[];
626
+ transactionId?: string;
627
+ total?: boolean;
628
+ ttl?: number;
629
+ }): Promise<Models.DocumentList<Document>>;
630
+ /**
631
+ * Get a list of all the user's documents in a given collection using a POST request. This behaves identically to the list documents endpoint but accepts the queries in the request body, allowing much larger `queries` arrays than can fit in a URL query string.
632
+ *
633
+ *
634
+ * @param {string} databaseId - Database ID.
635
+ * @param {string} collectionId - Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).
636
+ * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.
637
+ * @param {string} transactionId - Transaction ID to read uncommitted changes within the transaction.
638
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
639
+ * @param {number} ttl - TTL (seconds) for cached responses when caching is enabled for select queries. Must be between 0 and 86400 (24 hours).
640
+ * @throws {AppwriteException}
641
+ * @returns {Promise<Models.DocumentList<Document>>}
642
+ * @deprecated Use the object parameter style method for a better developer experience.
643
+ */
644
+ createQuery<Document extends Models.Document = Models.DefaultDocument>(databaseId: string, collectionId: string, queries?: string[], transactionId?: string, total?: boolean, ttl?: number): Promise<Models.DocumentList<Document>>;
609
645
  /**
610
646
  * Get a document by its unique ID. This endpoint response returns a JSON object with the document data.
611
647
  *
@@ -872,6 +908,34 @@ export declare class VectorsDB {
872
908
  * @deprecated Use the object parameter style method for a better developer experience.
873
909
  */
874
910
  createFailover(databaseId: string, targetReplicaId?: string): Promise<Models.DedicatedDatabase>;
911
+ /**
912
+ * List the lifecycle operations recorded for a dedicated database, newest first. Every provision, update, restore, backup and replication action is recorded here with its outcome, including an attempt that was abandoned because another worker took over the database.
913
+ *
914
+ * @param {string} params.databaseId - Database ID.
915
+ * @param {string} params.status - Filter by operation status.
916
+ * @param {number} params.limit - Maximum number of operations to return.
917
+ * @param {number} params.offset - Number of operations to skip.
918
+ * @throws {AppwriteException}
919
+ * @returns {Promise<Models.DedicatedDatabaseOperationList>}
920
+ */
921
+ listOperations(params: {
922
+ databaseId: string;
923
+ status?: string;
924
+ limit?: number;
925
+ offset?: number;
926
+ }): Promise<Models.DedicatedDatabaseOperationList>;
927
+ /**
928
+ * List the lifecycle operations recorded for a dedicated database, newest first. Every provision, update, restore, backup and replication action is recorded here with its outcome, including an attempt that was abandoned because another worker took over the database.
929
+ *
930
+ * @param {string} databaseId - Database ID.
931
+ * @param {string} status - Filter by operation status.
932
+ * @param {number} limit - Maximum number of operations to return.
933
+ * @param {number} offset - Number of operations to skip.
934
+ * @throws {AppwriteException}
935
+ * @returns {Promise<Models.DedicatedDatabaseOperationList>}
936
+ * @deprecated Use the object parameter style method for a better developer experience.
937
+ */
938
+ listOperations(databaseId: string, status?: string, limit?: number, offset?: number): Promise<Models.DedicatedDatabaseOperationList>;
875
939
  /**
876
940
  * Get high availability status for a dedicated database. Returns replica statuses, replication lag, and sync mode.
877
941
  *