@appwrite.io/console 18.1.0 → 18.2.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.
@@ -127,29 +127,44 @@ export declare class Sites {
127
127
  /**
128
128
  * Get a list of all frameworks that are currently available on the server instance.
129
129
  *
130
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
131
+ * @throws {AppwriteException}
132
+ * @returns {Promise<Models.FrameworkList>}
133
+ */
134
+ listFrameworks(params?: {
135
+ total?: boolean;
136
+ }): Promise<Models.FrameworkList>;
137
+ /**
138
+ * Get a list of all frameworks that are currently available on the server instance.
139
+ *
140
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
130
141
  * @throws {AppwriteException}
131
142
  * @returns {Promise<Models.FrameworkList>}
143
+ * @deprecated Use the object parameter style method for a better developer experience.
132
144
  */
133
- listFrameworks(): Promise<Models.FrameworkList>;
145
+ listFrameworks(total?: boolean): Promise<Models.FrameworkList>;
134
146
  /**
135
147
  * List allowed site specifications for this instance.
136
148
  *
137
149
  * @param {string} params.type - Specification type to list. Can be one of: runtimes, builds. Defaults to runtimes.
150
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
138
151
  * @throws {AppwriteException}
139
152
  * @returns {Promise<Models.SpecificationList>}
140
153
  */
141
154
  listSpecifications(params?: {
142
155
  type?: string;
156
+ total?: boolean;
143
157
  }): Promise<Models.SpecificationList>;
144
158
  /**
145
159
  * List allowed site specifications for this instance.
146
160
  *
147
161
  * @param {string} type - Specification type to list. Can be one of: runtimes, builds. Defaults to runtimes.
162
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
148
163
  * @throws {AppwriteException}
149
164
  * @returns {Promise<Models.SpecificationList>}
150
165
  * @deprecated Use the object parameter style method for a better developer experience.
151
166
  */
152
- listSpecifications(type?: string): Promise<Models.SpecificationList>;
167
+ listSpecifications(type?: string, total?: boolean): Promise<Models.SpecificationList>;
153
168
  /**
154
169
  * List available site templates. You can use template details in [createSite](/docs/references/cloud/server-nodejs/sites#create) method.
155
170
  *
@@ -157,6 +172,7 @@ export declare class Sites {
157
172
  * @param {SiteTemplateUseCase[]} params.useCases - List of use cases allowed for filtering site templates. Maximum of 100 use cases are allowed.
158
173
  * @param {number} params.limit - Limit the number of templates returned in the response. Default limit is 25, and maximum limit is 5000.
159
174
  * @param {number} params.offset - Offset the list of returned templates. Maximum offset is 5000.
175
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
160
176
  * @throws {AppwriteException}
161
177
  * @returns {Promise<Models.TemplateSiteList>}
162
178
  */
@@ -165,6 +181,7 @@ export declare class Sites {
165
181
  useCases?: SiteTemplateUseCase[];
166
182
  limit?: number;
167
183
  offset?: number;
184
+ total?: boolean;
168
185
  }): Promise<Models.TemplateSiteList>;
169
186
  /**
170
187
  * List available site templates. You can use template details in [createSite](/docs/references/cloud/server-nodejs/sites#create) method.
@@ -173,11 +190,12 @@ export declare class Sites {
173
190
  * @param {SiteTemplateUseCase[]} useCases - List of use cases allowed for filtering site templates. Maximum of 100 use cases are allowed.
174
191
  * @param {number} limit - Limit the number of templates returned in the response. Default limit is 25, and maximum limit is 5000.
175
192
  * @param {number} offset - Offset the list of returned templates. Maximum offset is 5000.
193
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
176
194
  * @throws {AppwriteException}
177
195
  * @returns {Promise<Models.TemplateSiteList>}
178
196
  * @deprecated Use the object parameter style method for a better developer experience.
179
197
  */
180
- listTemplates(frameworks?: Framework[], useCases?: SiteTemplateUseCase[], limit?: number, offset?: number): Promise<Models.TemplateSiteList>;
198
+ listTemplates(frameworks?: Framework[], useCases?: SiteTemplateUseCase[], limit?: number, offset?: number, total?: boolean): Promise<Models.TemplateSiteList>;
181
199
  /**
182
200
  * Get a site template using ID. You can use template details in [createSite](/docs/references/cloud/server-nodejs/sites#create) method.
183
201
  *
@@ -79,21 +79,24 @@ export declare class TablesDB {
79
79
  * List transactions across all databases.
80
80
  *
81
81
  * @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).
82
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
82
83
  * @throws {AppwriteException}
83
84
  * @returns {Promise<Models.TransactionList>}
84
85
  */
85
86
  listTransactions(params?: {
86
87
  queries?: string[];
88
+ total?: boolean;
87
89
  }): Promise<Models.TransactionList>;
88
90
  /**
89
91
  * List transactions across all databases.
90
92
  *
91
93
  * @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).
94
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
92
95
  * @throws {AppwriteException}
93
96
  * @returns {Promise<Models.TransactionList>}
94
97
  * @deprecated Use the object parameter style method for a better developer experience.
95
98
  */
96
- listTransactions(queries?: string[]): Promise<Models.TransactionList>;
99
+ listTransactions(queries?: string[], total?: boolean): Promise<Models.TransactionList>;
97
100
  /**
98
101
  * Create a new transaction.
99
102
  *
@@ -33,7 +33,7 @@ export declare class Teams {
33
33
  *
34
34
  * @param {string} params.teamId - Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
35
35
  * @param {string} params.name - Team name. Max length: 128 chars.
36
- * @param {string[]} params.roles - Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 32 characters long.
36
+ * @param {string[]} params.roles - Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 81 characters long.
37
37
  * @throws {AppwriteException}
38
38
  * @returns {Promise<Models.Team<Preferences>>}
39
39
  */
@@ -47,7 +47,7 @@ export declare class Teams {
47
47
  *
48
48
  * @param {string} teamId - Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
49
49
  * @param {string} name - Team name. Max length: 128 chars.
50
- * @param {string[]} roles - Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 32 characters long.
50
+ * @param {string[]} roles - Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 81 characters long.
51
51
  * @throws {AppwriteException}
52
52
  * @returns {Promise<Models.Team<Preferences>>}
53
53
  * @deprecated Use the object parameter style method for a better developer experience.
@@ -20,9 +20,9 @@ export declare class Usage {
20
20
  * `dimensions[]` breaks each point down by one or more attributes (service, path, status, country, …). `queries[]` filters the underlying events using the standard Utopia query syntax — `equal("path", ["/v1/storage/files"])`, `equal("resourceType", ["bucket"])`, `equal("resourceId", ["abc123"])`, `startsWith("path", ["/v1/storage"])`, `equal("status", ["200", "201"])`, `isNotNull("resourceId")`. Supported attributes: see `queries[]` param. Supported methods: `equal`, `notEqual`, `contains`, `startsWith`, `endsWith`, `isNull`, `isNotNull`. Pass multiple metrics to render stacked charts in one round-trip. `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).
21
21
  *
22
22
  * @param {(UsageEventMetric | (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. On console: `metrics[]=affiliates.clicks`.
23
- * @param {string[]} params.queries - Up to 10 filter queries in Utopia syntax. Allowed attributes, also published as the `UsageEventDimension` enum: path, method, status, service, resourceType, resourceId, teamId, country, continentCode, city, region, hostname, ip, osName, clientType, clientName, deviceName, sdk, sdkVersion, isp, autonomousSystemNumber, autonomousSystemOrganization, connectionType, connectionUsageType, connectionOrganization. Allowed methods: equal, notEqual, contains, startsWith, endsWith, isNull, isNotNull. Example: `queries[]=equal("resourceType", ["bucket"])`.
23
+ * @param {string[]} params.queries - Up to 10 filter queries in Utopia syntax. Allowed attributes, also published as the `UsageEventDimension` enum: path, method, status, service, resourceType, resourceId, teamId, country, continentCode, city, region, hostname, ip, osName, clientType, clientName, deviceName, sdk, sdkVersion, protocol, queryKeys, accept, acceptLanguage, postalCode, latitude, longitude, timeZone, weatherCode, isp, autonomousSystemNumber, autonomousSystemOrganization, connectionType, connectionUsageType, connectionOrganization. Allowed methods: equal, notEqual, contains, startsWith, endsWith, isNull, isNotNull. Example: `queries[]=equal("resourceType", ["bucket"])`.
24
24
  * @param {UsageInterval} params.interval - Time interval size. Omit (null) for a flat aggregate over the whole window. Allowed: 1m, 15m, 30m, 1h, 1d.
25
- * @param {UsageEventDimension[]} params.dimensions - Break-down dimensions (max 10). Allowed: path, method, status, service, resourceType, country, continentCode, city, region, hostname, ip, osName, clientType, clientName, deviceName, sdk, sdkVersion, teamId, resourceId, isp, autonomousSystemNumber, autonomousSystemOrganization, connectionType, connectionUsageType, connectionOrganization.
25
+ * @param {UsageEventDimension[]} params.dimensions - Break-down dimensions (max 10). Allowed: path, method, status, service, resourceType, country, continentCode, city, region, hostname, ip, osName, clientType, clientName, deviceName, sdk, sdkVersion, teamId, resourceId, protocol, queryKeys, accept, acceptLanguage, postalCode, latitude, longitude, timeZone, weatherCode, isp, autonomousSystemNumber, autonomousSystemOrganization, connectionType, connectionUsageType, connectionOrganization.
26
26
  * @param {string} params.startAt - Range start in ISO 8601. Defaults adapt to interval (7d for the no-interval aggregate).
27
27
  * @param {string} params.endAt - Range end in ISO 8601. Defaults to the current time.
28
28
  * @param {UsageOrderBy} params.orderBy - Column to order by. Allowed: time, value. Default time when an interval is set; otherwise value.
@@ -54,9 +54,9 @@ export declare class Usage {
54
54
  * `dimensions[]` breaks each point down by one or more attributes (service, path, status, country, …). `queries[]` filters the underlying events using the standard Utopia query syntax — `equal("path", ["/v1/storage/files"])`, `equal("resourceType", ["bucket"])`, `equal("resourceId", ["abc123"])`, `startsWith("path", ["/v1/storage"])`, `equal("status", ["200", "201"])`, `isNotNull("resourceId")`. Supported attributes: see `queries[]` param. Supported methods: `equal`, `notEqual`, `contains`, `startsWith`, `endsWith`, `isNull`, `isNotNull`. Pass multiple metrics to render stacked charts in one round-trip. `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).
55
55
  *
56
56
  * @param {(UsageEventMetric | (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. On console: `metrics[]=affiliates.clicks`.
57
- * @param {string[]} queries - Up to 10 filter queries in Utopia syntax. Allowed attributes, also published as the `UsageEventDimension` enum: path, method, status, service, resourceType, resourceId, teamId, country, continentCode, city, region, hostname, ip, osName, clientType, clientName, deviceName, sdk, sdkVersion, isp, autonomousSystemNumber, autonomousSystemOrganization, connectionType, connectionUsageType, connectionOrganization. Allowed methods: equal, notEqual, contains, startsWith, endsWith, isNull, isNotNull. Example: `queries[]=equal("resourceType", ["bucket"])`.
57
+ * @param {string[]} queries - Up to 10 filter queries in Utopia syntax. Allowed attributes, also published as the `UsageEventDimension` enum: path, method, status, service, resourceType, resourceId, teamId, country, continentCode, city, region, hostname, ip, osName, clientType, clientName, deviceName, sdk, sdkVersion, protocol, queryKeys, accept, acceptLanguage, postalCode, latitude, longitude, timeZone, weatherCode, isp, autonomousSystemNumber, autonomousSystemOrganization, connectionType, connectionUsageType, connectionOrganization. Allowed methods: equal, notEqual, contains, startsWith, endsWith, isNull, isNotNull. Example: `queries[]=equal("resourceType", ["bucket"])`.
58
58
  * @param {UsageInterval} interval - Time interval size. Omit (null) for a flat aggregate over the whole window. Allowed: 1m, 15m, 30m, 1h, 1d.
59
- * @param {UsageEventDimension[]} dimensions - Break-down dimensions (max 10). Allowed: path, method, status, service, resourceType, country, continentCode, city, region, hostname, ip, osName, clientType, clientName, deviceName, sdk, sdkVersion, teamId, resourceId, isp, autonomousSystemNumber, autonomousSystemOrganization, connectionType, connectionUsageType, connectionOrganization.
59
+ * @param {UsageEventDimension[]} dimensions - Break-down dimensions (max 10). Allowed: path, method, status, service, resourceType, country, continentCode, city, region, hostname, ip, osName, clientType, clientName, deviceName, sdk, sdkVersion, teamId, resourceId, protocol, queryKeys, accept, acceptLanguage, postalCode, latitude, longitude, timeZone, weatherCode, isp, autonomousSystemNumber, autonomousSystemOrganization, connectionType, connectionUsageType, connectionOrganization.
60
60
  * @param {string} startAt - Range start in ISO 8601. Defaults adapt to interval (7d for the no-interval aggregate).
61
61
  * @param {string} endAt - Range end in ISO 8601. Defaults to the current time.
62
62
  * @param {UsageOrderBy} orderBy - Column to order by. Allowed: time, value. Default time when an interval is set; otherwise value.
@@ -39,6 +39,7 @@ export declare class Vcs {
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
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
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
42
43
  * @throws {AppwriteException}
43
44
  * @returns {Promise<Models.ProviderRepositoryRuntimeList | Models.ProviderRepositoryFrameworkList>}
44
45
  */
@@ -47,6 +48,7 @@ export declare class Vcs {
47
48
  type: VCSDetectionType;
48
49
  search?: string;
49
50
  queries?: string[];
51
+ total?: boolean;
50
52
  }): Promise<Models.ProviderRepositoryRuntimeList | Models.ProviderRepositoryFrameworkList>;
51
53
  /**
52
54
  * Get a list of GitHub repositories available through your installation. This endpoint returns repositories with their basic information, detected runtime environments, and latest push dates. You can optionally filter repositories using a search term. Each repository's runtime is automatically detected based on its contents and language statistics. The GitHub installation must be properly configured for this endpoint to work.
@@ -55,11 +57,12 @@ export declare class Vcs {
55
57
  * @param {VCSDetectionType} type - Detector type. Must be one of the following: runtime, framework
56
58
  * @param {string} search - Search term to filter your list results. Max length: 256 chars.
57
59
  * @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.
60
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
58
61
  * @throws {AppwriteException}
59
62
  * @returns {Promise<Models.ProviderRepositoryRuntimeList | Models.ProviderRepositoryFrameworkList>}
60
63
  * @deprecated Use the object parameter style method for a better developer experience.
61
64
  */
62
- listRepositories(installationId: string, type: VCSDetectionType, search?: string, queries?: string[]): Promise<Models.ProviderRepositoryRuntimeList | Models.ProviderRepositoryFrameworkList>;
65
+ listRepositories(installationId: string, type: VCSDetectionType, search?: string, queries?: string[], total?: boolean): Promise<Models.ProviderRepositoryRuntimeList | Models.ProviderRepositoryFrameworkList>;
63
66
  /**
64
67
  * 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.
65
68
  *
@@ -118,6 +121,7 @@ export declare class Vcs {
118
121
  * @param {string} params.providerRepositoryId - Repository Id
119
122
  * @param {string} params.search - Search term to filter your list results. Max length: 256 chars.
120
123
  * @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, cursorAfter, and cursorBefore
124
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
121
125
  * @throws {AppwriteException}
122
126
  * @returns {Promise<Models.BranchList>}
123
127
  */
@@ -126,6 +130,7 @@ export declare class Vcs {
126
130
  providerRepositoryId: string;
127
131
  search?: string;
128
132
  queries?: string[];
133
+ total?: boolean;
129
134
  }): Promise<Models.BranchList>;
130
135
  /**
131
136
  * Get a list of branches from a GitHub repository in your installation. This endpoint supports filtering by a search term and pagination using query strings such as `Query.limit()`, `Query.offset()`, `Query.cursorAfter()`, and `Query.cursorBefore()`. It returns branch names along with the total number of matches. The GitHub installation must be properly configured and have access to the requested repository for this endpoint to work.
@@ -135,11 +140,12 @@ export declare class Vcs {
135
140
  * @param {string} providerRepositoryId - Repository Id
136
141
  * @param {string} search - Search term to filter your list results. Max length: 256 chars.
137
142
  * @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, cursorAfter, and cursorBefore
143
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
138
144
  * @throws {AppwriteException}
139
145
  * @returns {Promise<Models.BranchList>}
140
146
  * @deprecated Use the object parameter style method for a better developer experience.
141
147
  */
142
- listRepositoryBranches(installationId: string, providerRepositoryId: string, search?: string, queries?: string[]): Promise<Models.BranchList>;
148
+ listRepositoryBranches(installationId: string, providerRepositoryId: string, search?: string, queries?: string[], total?: boolean): Promise<Models.BranchList>;
143
149
  /**
144
150
  * Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.
145
151
  *
@@ -264,6 +270,7 @@ export declare class Vcs {
264
270
  * @param {string} params.installationId - Installation Id
265
271
  * @param {string} params.search - Search term to filter your list results. Max length: 256 chars.
266
272
  * @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
273
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
267
274
  * @throws {AppwriteException}
268
275
  * @returns {Promise<Models.VcsNamespaceList>}
269
276
  */
@@ -271,6 +278,7 @@ export declare class Vcs {
271
278
  installationId: string;
272
279
  search?: string;
273
280
  queries?: string[];
281
+ total?: boolean;
274
282
  }): Promise<Models.VcsNamespaceList>;
275
283
  /**
276
284
  * List provider namespaces available to a VCS installation. This can include the user personal namespace and any groups or organizations the installation can browse.
@@ -278,9 +286,10 @@ export declare class Vcs {
278
286
  * @param {string} installationId - Installation Id
279
287
  * @param {string} search - Search term to filter your list results. Max length: 256 chars.
280
288
  * @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
289
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
281
290
  * @throws {AppwriteException}
282
291
  * @returns {Promise<Models.VcsNamespaceList>}
283
292
  * @deprecated Use the object parameter style method for a better developer experience.
284
293
  */
285
- listNamespaces(installationId: string, search?: string, queries?: string[]): Promise<Models.VcsNamespaceList>;
294
+ listNamespaces(installationId: string, search?: string, queries?: string[], total?: boolean): Promise<Models.VcsNamespaceList>;
286
295
  }
@@ -74,21 +74,24 @@ export declare class VectorsDB {
74
74
  * List transactions across all databases.
75
75
  *
76
76
  * @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).
77
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
77
78
  * @throws {AppwriteException}
78
79
  * @returns {Promise<Models.TransactionList>}
79
80
  */
80
81
  listTransactions(params?: {
81
82
  queries?: string[];
83
+ total?: boolean;
82
84
  }): Promise<Models.TransactionList>;
83
85
  /**
84
86
  * List transactions across all databases.
85
87
  *
86
88
  * @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).
89
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
87
90
  * @throws {AppwriteException}
88
91
  * @returns {Promise<Models.TransactionList>}
89
92
  * @deprecated Use the object parameter style method for a better developer experience.
90
93
  */
91
- listTransactions(queries?: string[]): Promise<Models.TransactionList>;
94
+ listTransactions(queries?: string[], total?: boolean): Promise<Models.TransactionList>;
92
95
  /**
93
96
  * Create a new transaction.
94
97
  *
@@ -97,7 +97,7 @@ export declare class Webhooks {
97
97
  * @param {boolean} params.enabled - Enable or disable a webhook.
98
98
  * @param {boolean} params.tls - Certificate verification, false for disabled or true for enabled.
99
99
  * @param {string} params.authUsername - Webhook HTTP user. Max length: 256 chars.
100
- * @param {string} params.authPassword - Webhook HTTP password. Max length: 256 chars.
100
+ * @param {string} params.authPassword - Webhook HTTP password. Max length: 256 chars. Omit to keep the current password; it is cleared when the URL changes or TLS verification is disabled.
101
101
  * @throws {AppwriteException}
102
102
  * @returns {Promise<Models.Webhook>}
103
103
  */
@@ -121,7 +121,7 @@ export declare class Webhooks {
121
121
  * @param {boolean} enabled - Enable or disable a webhook.
122
122
  * @param {boolean} tls - Certificate verification, false for disabled or true for enabled.
123
123
  * @param {string} authUsername - Webhook HTTP user. Max length: 256 chars.
124
- * @param {string} authPassword - Webhook HTTP password. Max length: 256 chars.
124
+ * @param {string} authPassword - Webhook HTTP password. Max length: 256 chars. Omit to keep the current password; it is cleared when the URL changes or TLS verification is disabled.
125
125
  * @throws {AppwriteException}
126
126
  * @returns {Promise<Models.Webhook>}
127
127
  * @deprecated Use the object parameter style method for a better developer experience.