@appwrite.io/console 0.1.1 → 0.3.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.
Files changed (317) hide show
  1. package/.github/workflows/publish.yml +18 -0
  2. package/README.md +2 -2
  3. package/dist/cjs/sdk.js +2417 -630
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +2413 -631
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +2417 -630
  8. package/docs/examples/account/create-anonymous-session.md +1 -1
  9. package/docs/examples/account/create-email-session.md +1 -1
  10. package/docs/examples/account/create-j-w-t.md +1 -1
  11. package/docs/examples/account/create-magic-u-r-l-session.md +1 -1
  12. package/docs/examples/account/create-o-auth2session.md +1 -1
  13. package/docs/examples/account/create-phone-session.md +1 -1
  14. package/docs/examples/account/create-phone-verification.md +1 -1
  15. package/docs/examples/account/create-recovery.md +1 -1
  16. package/docs/examples/account/create-verification.md +1 -1
  17. package/docs/examples/account/create-with-invite-code.md +18 -0
  18. package/docs/examples/account/create.md +1 -1
  19. package/docs/examples/account/delete-identity.md +18 -0
  20. package/docs/examples/account/delete-session.md +1 -1
  21. package/docs/examples/account/delete-sessions.md +1 -1
  22. package/docs/examples/account/get-prefs.md +1 -1
  23. package/docs/examples/account/get-session.md +1 -1
  24. package/docs/examples/account/get.md +1 -1
  25. package/docs/examples/account/list-identities.md +18 -0
  26. package/docs/examples/account/list-logs.md +1 -1
  27. package/docs/examples/account/list-sessions.md +1 -1
  28. package/docs/examples/account/update-email.md +1 -1
  29. package/docs/examples/account/update-magic-u-r-l-session.md +1 -1
  30. package/docs/examples/account/update-name.md +1 -1
  31. package/docs/examples/account/update-password.md +1 -1
  32. package/docs/examples/account/update-phone-session.md +1 -1
  33. package/docs/examples/account/update-phone-verification.md +1 -1
  34. package/docs/examples/account/update-phone.md +1 -1
  35. package/docs/examples/account/update-prefs.md +1 -1
  36. package/docs/examples/account/update-recovery.md +1 -1
  37. package/docs/examples/account/update-session.md +1 -1
  38. package/docs/examples/account/update-status.md +1 -1
  39. package/docs/examples/account/update-verification.md +1 -1
  40. package/docs/examples/assistant/chat.md +18 -0
  41. package/docs/examples/avatars/get-browser.md +1 -1
  42. package/docs/examples/avatars/get-credit-card.md +1 -1
  43. package/docs/examples/avatars/get-favicon.md +1 -1
  44. package/docs/examples/avatars/get-flag.md +1 -1
  45. package/docs/examples/avatars/get-image.md +1 -1
  46. package/docs/examples/avatars/get-initials.md +1 -1
  47. package/docs/examples/avatars/get-q-r.md +1 -1
  48. package/docs/examples/console/variables.md +1 -1
  49. package/docs/examples/databases/create-boolean-attribute.md +1 -1
  50. package/docs/examples/databases/create-collection.md +1 -1
  51. package/docs/examples/databases/create-datetime-attribute.md +1 -1
  52. package/docs/examples/databases/create-document.md +1 -1
  53. package/docs/examples/databases/create-email-attribute.md +1 -1
  54. package/docs/examples/databases/create-enum-attribute.md +1 -1
  55. package/docs/examples/databases/create-float-attribute.md +1 -1
  56. package/docs/examples/databases/create-index.md +1 -1
  57. package/docs/examples/databases/create-integer-attribute.md +1 -1
  58. package/docs/examples/databases/create-ip-attribute.md +1 -1
  59. package/docs/examples/databases/create-relationship-attribute.md +1 -1
  60. package/docs/examples/databases/create-string-attribute.md +1 -1
  61. package/docs/examples/databases/create-url-attribute.md +1 -1
  62. package/docs/examples/databases/create.md +1 -1
  63. package/docs/examples/databases/delete-attribute.md +1 -1
  64. package/docs/examples/databases/delete-collection.md +1 -1
  65. package/docs/examples/databases/delete-document.md +1 -1
  66. package/docs/examples/databases/delete-index.md +1 -1
  67. package/docs/examples/databases/delete.md +1 -1
  68. package/docs/examples/databases/get-attribute.md +1 -1
  69. package/docs/examples/databases/get-collection-usage.md +1 -1
  70. package/docs/examples/databases/get-collection.md +1 -1
  71. package/docs/examples/databases/get-database-usage.md +1 -1
  72. package/docs/examples/databases/get-document.md +1 -1
  73. package/docs/examples/databases/get-index.md +1 -1
  74. package/docs/examples/databases/get-usage.md +1 -1
  75. package/docs/examples/databases/get.md +1 -1
  76. package/docs/examples/databases/list-attributes.md +1 -1
  77. package/docs/examples/databases/list-collection-logs.md +1 -1
  78. package/docs/examples/databases/list-collections.md +1 -1
  79. package/docs/examples/databases/list-document-logs.md +1 -1
  80. package/docs/examples/databases/list-documents.md +1 -1
  81. package/docs/examples/databases/list-indexes.md +1 -1
  82. package/docs/examples/databases/list-logs.md +1 -1
  83. package/docs/examples/databases/list.md +1 -1
  84. package/docs/examples/databases/update-boolean-attribute.md +1 -1
  85. package/docs/examples/databases/update-collection.md +1 -1
  86. package/docs/examples/databases/update-datetime-attribute.md +1 -1
  87. package/docs/examples/databases/update-document.md +1 -1
  88. package/docs/examples/databases/update-email-attribute.md +1 -1
  89. package/docs/examples/databases/update-enum-attribute.md +1 -1
  90. package/docs/examples/databases/update-float-attribute.md +1 -1
  91. package/docs/examples/databases/update-integer-attribute.md +1 -1
  92. package/docs/examples/databases/update-ip-attribute.md +1 -1
  93. package/docs/examples/databases/update-relationship-attribute.md +1 -1
  94. package/docs/examples/databases/update-string-attribute.md +1 -1
  95. package/docs/examples/databases/update-url-attribute.md +1 -1
  96. package/docs/examples/databases/update.md +1 -1
  97. package/docs/examples/functions/create-build.md +1 -1
  98. package/docs/examples/functions/create-deployment.md +2 -2
  99. package/docs/examples/functions/create-execution.md +1 -1
  100. package/docs/examples/functions/create-variable.md +1 -1
  101. package/docs/examples/functions/create.md +1 -1
  102. package/docs/examples/functions/delete-deployment.md +1 -1
  103. package/docs/examples/functions/delete-variable.md +1 -1
  104. package/docs/examples/functions/delete.md +1 -1
  105. package/docs/examples/functions/download-deployment.md +14 -0
  106. package/docs/examples/functions/get-deployment.md +1 -1
  107. package/docs/examples/functions/get-execution.md +1 -1
  108. package/docs/examples/functions/get-function-usage.md +1 -1
  109. package/docs/examples/functions/get-usage.md +1 -1
  110. package/docs/examples/functions/get-variable.md +1 -1
  111. package/docs/examples/functions/get.md +1 -1
  112. package/docs/examples/functions/list-deployments.md +1 -1
  113. package/docs/examples/functions/list-executions.md +1 -1
  114. package/docs/examples/functions/list-runtimes.md +1 -1
  115. package/docs/examples/functions/list-variables.md +1 -1
  116. package/docs/examples/functions/list.md +1 -1
  117. package/docs/examples/functions/update-deployment.md +1 -1
  118. package/docs/examples/functions/update-variable.md +1 -1
  119. package/docs/examples/functions/update.md +2 -2
  120. package/docs/examples/graphql/mutation.md +1 -1
  121. package/docs/examples/graphql/query.md +1 -1
  122. package/docs/examples/health/get-antivirus.md +1 -1
  123. package/docs/examples/health/get-cache.md +1 -1
  124. package/docs/examples/health/get-d-b.md +1 -1
  125. package/docs/examples/health/get-pub-sub.md +18 -0
  126. package/docs/examples/health/get-queue-certificates.md +1 -1
  127. package/docs/examples/health/get-queue-functions.md +1 -1
  128. package/docs/examples/health/get-queue-logs.md +1 -1
  129. package/docs/examples/health/get-queue-webhooks.md +1 -1
  130. package/docs/examples/health/get-queue.md +18 -0
  131. package/docs/examples/health/get-storage-local.md +1 -1
  132. package/docs/examples/health/get-time.md +1 -1
  133. package/docs/examples/health/get.md +1 -1
  134. package/docs/examples/locale/get.md +1 -1
  135. package/docs/examples/locale/list-codes.md +18 -0
  136. package/docs/examples/locale/list-continents.md +1 -1
  137. package/docs/examples/locale/list-countries-e-u.md +1 -1
  138. package/docs/examples/locale/list-countries-phones.md +1 -1
  139. package/docs/examples/locale/list-countries.md +1 -1
  140. package/docs/examples/locale/list-currencies.md +1 -1
  141. package/docs/examples/locale/list-languages.md +1 -1
  142. package/docs/examples/migrations/create-appwrite-migration.md +18 -0
  143. package/docs/examples/migrations/create-firebase-migration.md +18 -0
  144. package/docs/examples/migrations/create-firebase-o-auth-migration.md +18 -0
  145. package/docs/examples/migrations/create-n-host-migration.md +18 -0
  146. package/docs/examples/migrations/create-supabase-migration.md +18 -0
  147. package/docs/examples/migrations/delete-firebase-auth.md +18 -0
  148. package/docs/examples/migrations/delete.md +18 -0
  149. package/docs/examples/migrations/get-appwrite-report.md +18 -0
  150. package/docs/examples/migrations/get-firebase-report-o-auth.md +18 -0
  151. package/docs/examples/migrations/get-firebase-report.md +18 -0
  152. package/docs/examples/migrations/get-n-host-report.md +18 -0
  153. package/docs/examples/migrations/get-supabase-report.md +18 -0
  154. package/docs/examples/migrations/get.md +18 -0
  155. package/docs/examples/migrations/list-firebase-projects.md +18 -0
  156. package/docs/examples/migrations/list.md +18 -0
  157. package/docs/examples/migrations/retry.md +18 -0
  158. package/docs/examples/project/create-variable.md +18 -0
  159. package/docs/examples/project/delete-variable.md +18 -0
  160. package/docs/examples/project/get-usage.md +18 -0
  161. package/docs/examples/project/get-variable.md +18 -0
  162. package/docs/examples/project/list-variables.md +18 -0
  163. package/docs/examples/project/update-variable.md +18 -0
  164. package/docs/examples/projects/create-key.md +1 -1
  165. package/docs/examples/projects/create-platform.md +1 -1
  166. package/docs/examples/projects/create-webhook.md +1 -1
  167. package/docs/examples/projects/create.md +2 -2
  168. package/docs/examples/projects/delete-email-template.md +18 -0
  169. package/docs/examples/projects/delete-key.md +1 -1
  170. package/docs/examples/projects/delete-platform.md +1 -1
  171. package/docs/examples/projects/delete-sms-template.md +18 -0
  172. package/docs/examples/projects/delete-webhook.md +1 -1
  173. package/docs/examples/projects/delete.md +2 -2
  174. package/docs/examples/projects/get-email-template.md +18 -0
  175. package/docs/examples/projects/get-key.md +1 -1
  176. package/docs/examples/projects/get-platform.md +1 -1
  177. package/docs/examples/projects/get-sms-template.md +18 -0
  178. package/docs/examples/projects/get-usage.md +1 -1
  179. package/docs/examples/projects/get-webhook.md +1 -1
  180. package/docs/examples/projects/get.md +1 -1
  181. package/docs/examples/projects/list-keys.md +1 -1
  182. package/docs/examples/projects/list-platforms.md +1 -1
  183. package/docs/examples/projects/list-webhooks.md +1 -1
  184. package/docs/examples/projects/list.md +1 -1
  185. package/docs/examples/projects/update-auth-duration.md +1 -1
  186. package/docs/examples/projects/update-auth-limit.md +1 -1
  187. package/docs/examples/projects/update-auth-password-dictionary.md +1 -1
  188. package/docs/examples/projects/update-auth-password-history.md +1 -1
  189. package/docs/examples/projects/update-auth-sessions-limit.md +1 -1
  190. package/docs/examples/projects/update-auth-status.md +1 -1
  191. package/docs/examples/projects/update-email-template.md +18 -0
  192. package/docs/examples/projects/update-key.md +1 -1
  193. package/docs/examples/projects/update-o-auth2.md +1 -1
  194. package/docs/examples/projects/{delete-domain.md → update-personal-data-check.md} +2 -2
  195. package/docs/examples/projects/update-platform.md +1 -1
  196. package/docs/examples/projects/{create-domain.md → update-service-status-all.md} +2 -2
  197. package/docs/examples/projects/update-service-status.md +1 -1
  198. package/docs/examples/projects/update-sms-template.md +18 -0
  199. package/docs/examples/projects/{get-domain.md → update-smtp-configuration.md} +2 -2
  200. package/docs/examples/projects/{list-domains.md → update-team.md} +2 -2
  201. package/docs/examples/projects/update-webhook-signature.md +1 -1
  202. package/docs/examples/projects/update-webhook.md +1 -1
  203. package/docs/examples/projects/update.md +1 -1
  204. package/docs/examples/proxy/create-rule.md +18 -0
  205. package/docs/examples/proxy/delete-rule.md +18 -0
  206. package/docs/examples/proxy/get-rule.md +18 -0
  207. package/docs/examples/proxy/list-rules.md +18 -0
  208. package/docs/examples/proxy/update-rule-verification.md +18 -0
  209. package/docs/examples/storage/create-bucket.md +1 -1
  210. package/docs/examples/storage/create-file.md +1 -1
  211. package/docs/examples/storage/delete-bucket.md +1 -1
  212. package/docs/examples/storage/delete-file.md +1 -1
  213. package/docs/examples/storage/get-bucket-usage.md +1 -1
  214. package/docs/examples/storage/get-bucket.md +1 -1
  215. package/docs/examples/storage/get-file-download.md +1 -1
  216. package/docs/examples/storage/get-file-preview.md +1 -1
  217. package/docs/examples/storage/get-file-view.md +1 -1
  218. package/docs/examples/storage/get-file.md +1 -1
  219. package/docs/examples/storage/get-usage.md +1 -1
  220. package/docs/examples/storage/list-buckets.md +1 -1
  221. package/docs/examples/storage/list-files.md +1 -1
  222. package/docs/examples/storage/update-bucket.md +1 -1
  223. package/docs/examples/storage/update-file.md +1 -1
  224. package/docs/examples/teams/create-membership.md +1 -1
  225. package/docs/examples/teams/create.md +1 -1
  226. package/docs/examples/teams/delete-membership.md +1 -1
  227. package/docs/examples/teams/delete.md +1 -1
  228. package/docs/examples/teams/get-membership.md +1 -1
  229. package/docs/examples/teams/get-prefs.md +1 -1
  230. package/docs/examples/teams/get.md +1 -1
  231. package/docs/examples/teams/list-logs.md +1 -1
  232. package/docs/examples/teams/list-memberships.md +1 -1
  233. package/docs/examples/teams/list.md +1 -1
  234. package/docs/examples/teams/update-membership-status.md +1 -1
  235. package/docs/examples/teams/{update-membership-roles.md → update-membership.md} +2 -2
  236. package/docs/examples/teams/update-name.md +1 -1
  237. package/docs/examples/teams/update-prefs.md +1 -1
  238. package/docs/examples/users/create-argon2user.md +1 -1
  239. package/docs/examples/users/create-bcrypt-user.md +1 -1
  240. package/docs/examples/users/create-m-d5user.md +1 -1
  241. package/docs/examples/users/create-p-h-pass-user.md +1 -1
  242. package/docs/examples/users/create-s-h-a-user.md +1 -1
  243. package/docs/examples/users/create-scrypt-modified-user.md +1 -1
  244. package/docs/examples/users/create-scrypt-user.md +1 -1
  245. package/docs/examples/users/create.md +1 -1
  246. package/docs/examples/users/delete-identity.md +18 -0
  247. package/docs/examples/users/delete-session.md +1 -1
  248. package/docs/examples/users/delete-sessions.md +1 -1
  249. package/docs/examples/users/delete.md +1 -1
  250. package/docs/examples/users/get-prefs.md +1 -1
  251. package/docs/examples/users/get-usage.md +1 -1
  252. package/docs/examples/users/get.md +1 -1
  253. package/docs/examples/users/list-identities.md +18 -0
  254. package/docs/examples/users/list-logs.md +1 -1
  255. package/docs/examples/users/list-memberships.md +1 -1
  256. package/docs/examples/users/list-sessions.md +1 -1
  257. package/docs/examples/users/list.md +1 -1
  258. package/docs/examples/users/update-email-verification.md +1 -1
  259. package/docs/examples/users/update-email.md +1 -1
  260. package/docs/examples/users/update-labels.md +18 -0
  261. package/docs/examples/users/update-name.md +1 -1
  262. package/docs/examples/users/update-password.md +1 -1
  263. package/docs/examples/users/update-phone-verification.md +1 -1
  264. package/docs/examples/users/update-phone.md +1 -1
  265. package/docs/examples/users/update-prefs.md +1 -1
  266. package/docs/examples/users/update-status.md +1 -1
  267. package/docs/examples/vcs/create-repository-detection.md +18 -0
  268. package/docs/examples/vcs/create-repository.md +18 -0
  269. package/docs/examples/vcs/delete-installation.md +18 -0
  270. package/docs/examples/vcs/get-installation.md +18 -0
  271. package/docs/examples/vcs/get-repository.md +18 -0
  272. package/docs/examples/vcs/list-installations.md +18 -0
  273. package/docs/examples/vcs/list-repositories.md +18 -0
  274. package/docs/examples/vcs/list-repository-branches.md +18 -0
  275. package/docs/examples/vcs/update-external-deployments.md +18 -0
  276. package/package.json +1 -1
  277. package/src/client.ts +2 -2
  278. package/src/index.ts +5 -0
  279. package/src/models.ts +750 -78
  280. package/src/services/account.ts +1102 -995
  281. package/src/services/assistant.ts +38 -0
  282. package/src/services/avatars.ts +337 -337
  283. package/src/services/console.ts +16 -16
  284. package/src/services/databases.ts +2170 -2140
  285. package/src/services/functions.ts +808 -652
  286. package/src/services/graphql.ts +47 -47
  287. package/src/services/health.ts +226 -189
  288. package/src/services/locale.ts +156 -137
  289. package/src/services/migrations.ts +707 -0
  290. package/src/services/project.ts +174 -0
  291. package/src/services/projects.ts +1538 -1283
  292. package/src/services/proxy.ts +150 -0
  293. package/src/services/storage.ts +576 -571
  294. package/src/services/teams.ts +502 -501
  295. package/src/services/users.ts +1094 -1006
  296. package/src/services/vcs.ts +272 -0
  297. package/types/index.d.ts +5 -0
  298. package/types/models.d.ts +750 -78
  299. package/types/services/account.d.ts +80 -40
  300. package/types/services/assistant.d.ts +14 -0
  301. package/types/services/avatars.d.ts +7 -7
  302. package/types/services/console.d.ts +1 -1
  303. package/types/services/databases.d.ts +60 -54
  304. package/types/services/functions.d.ts +66 -31
  305. package/types/services/graphql.d.ts +2 -2
  306. package/types/services/health.d.ts +31 -12
  307. package/types/services/locale.d.ts +17 -7
  308. package/types/services/migrations.d.ts +185 -0
  309. package/types/services/project.d.ts +70 -0
  310. package/types/services/projects.d.ts +150 -80
  311. package/types/services/proxy.d.ts +59 -0
  312. package/types/services/storage.d.ts +17 -16
  313. package/types/services/teams.d.ts +17 -16
  314. package/types/services/users.d.ts +63 -26
  315. package/types/services/vcs.d.ts +97 -0
  316. package/.travis.yml +0 -32
  317. package/docs/examples/projects/update-domain-verification.md +0 -18
package/types/models.d.ts CHANGED
@@ -77,6 +77,19 @@ export declare namespace Models {
77
77
  */
78
78
  sessions: Session[];
79
79
  };
80
+ /**
81
+ * Identities List
82
+ */
83
+ type IdentityList = {
84
+ /**
85
+ * Total number of identities documents that matched your query.
86
+ */
87
+ total: number;
88
+ /**
89
+ * List of identities.
90
+ */
91
+ identities: Identity[];
92
+ };
80
93
  /**
81
94
  * Logs List
82
95
  */
@@ -155,6 +168,45 @@ export declare namespace Models {
155
168
  */
156
169
  functions: Function[];
157
170
  };
171
+ /**
172
+ * Installations List
173
+ */
174
+ type InstallationList = {
175
+ /**
176
+ * Total number of installations documents that matched your query.
177
+ */
178
+ total: number;
179
+ /**
180
+ * List of installations.
181
+ */
182
+ installations: Installation[];
183
+ };
184
+ /**
185
+ * Provider Repositories List
186
+ */
187
+ type ProviderRepositoryList = {
188
+ /**
189
+ * Total number of providerRepositories documents that matched your query.
190
+ */
191
+ total: number;
192
+ /**
193
+ * List of providerRepositories.
194
+ */
195
+ providerRepositories: ProviderRepository[];
196
+ };
197
+ /**
198
+ * Branches List
199
+ */
200
+ type BranchList = {
201
+ /**
202
+ * Total number of branches documents that matched your query.
203
+ */
204
+ total: number;
205
+ /**
206
+ * List of branches.
207
+ */
208
+ branches: Branch[];
209
+ };
158
210
  /**
159
211
  * Runtimes List
160
212
  */
@@ -246,19 +298,6 @@ export declare namespace Models {
246
298
  */
247
299
  platforms: Platform[];
248
300
  };
249
- /**
250
- * Domains List
251
- */
252
- type DomainList = {
253
- /**
254
- * Total number of domains documents that matched your query.
255
- */
256
- total: number;
257
- /**
258
- * List of domains.
259
- */
260
- domains: Domain[];
261
- };
262
301
  /**
263
302
  * Countries List
264
303
  */
@@ -337,6 +376,58 @@ export declare namespace Models {
337
376
  */
338
377
  variables: Variable[];
339
378
  };
379
+ /**
380
+ * Rule List
381
+ */
382
+ type ProxyRuleList = {
383
+ /**
384
+ * Total number of rules documents that matched your query.
385
+ */
386
+ total: number;
387
+ /**
388
+ * List of rules.
389
+ */
390
+ rules: ProxyRule[];
391
+ };
392
+ /**
393
+ * Locale codes list
394
+ */
395
+ type LocaleCodeList = {
396
+ /**
397
+ * Total number of localeCodes documents that matched your query.
398
+ */
399
+ total: number;
400
+ /**
401
+ * List of localeCodes.
402
+ */
403
+ localeCodes: LocaleCode[];
404
+ };
405
+ /**
406
+ * Migrations List
407
+ */
408
+ type MigrationList = {
409
+ /**
410
+ * Total number of migrations documents that matched your query.
411
+ */
412
+ total: number;
413
+ /**
414
+ * List of migrations.
415
+ */
416
+ migrations: Migration[];
417
+ };
418
+ /**
419
+ * Migrations Firebase Projects List
420
+ */
421
+ type FirebaseProjectList = {
422
+ /**
423
+ * Total number of projects documents that matched your query.
424
+ */
425
+ total: number;
426
+ /**
427
+ * List of projects.
428
+ */
429
+ projects: FirebaseProject[];
430
+ };
340
431
  /**
341
432
  * Database
342
433
  */
@@ -357,6 +448,10 @@ export declare namespace Models {
357
448
  * Database update date in ISO 8601 format.
358
449
  */
359
450
  $updatedAt: string;
451
+ /**
452
+ * If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.
453
+ */
454
+ enabled: boolean;
360
455
  };
361
456
  /**
362
457
  * Collection
@@ -387,7 +482,7 @@ export declare namespace Models {
387
482
  */
388
483
  name: string;
389
484
  /**
390
- * Collection enabled.
485
+ * Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.
391
486
  */
392
487
  enabled: boolean;
393
488
  /**
@@ -432,6 +527,10 @@ export declare namespace Models {
432
527
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
433
528
  */
434
529
  status: string;
530
+ /**
531
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
532
+ */
533
+ error: string;
435
534
  /**
436
535
  * Is attribute required?
437
536
  */
@@ -465,6 +564,10 @@ export declare namespace Models {
465
564
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
466
565
  */
467
566
  status: string;
567
+ /**
568
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
569
+ */
570
+ error: string;
468
571
  /**
469
572
  * Is attribute required?
470
573
  */
@@ -502,6 +605,10 @@ export declare namespace Models {
502
605
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
503
606
  */
504
607
  status: string;
608
+ /**
609
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
610
+ */
611
+ error: string;
505
612
  /**
506
613
  * Is attribute required?
507
614
  */
@@ -539,6 +646,10 @@ export declare namespace Models {
539
646
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
540
647
  */
541
648
  status: string;
649
+ /**
650
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
651
+ */
652
+ error: string;
542
653
  /**
543
654
  * Is attribute required?
544
655
  */
@@ -568,6 +679,10 @@ export declare namespace Models {
568
679
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
569
680
  */
570
681
  status: string;
682
+ /**
683
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
684
+ */
685
+ error: string;
571
686
  /**
572
687
  * Is attribute required?
573
688
  */
@@ -601,6 +716,10 @@ export declare namespace Models {
601
716
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
602
717
  */
603
718
  status: string;
719
+ /**
720
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
721
+ */
722
+ error: string;
604
723
  /**
605
724
  * Is attribute required?
606
725
  */
@@ -638,6 +757,10 @@ export declare namespace Models {
638
757
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
639
758
  */
640
759
  status: string;
760
+ /**
761
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
762
+ */
763
+ error: string;
641
764
  /**
642
765
  * Is attribute required?
643
766
  */
@@ -671,6 +794,10 @@ export declare namespace Models {
671
794
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
672
795
  */
673
796
  status: string;
797
+ /**
798
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
799
+ */
800
+ error: string;
674
801
  /**
675
802
  * Is attribute required?
676
803
  */
@@ -704,6 +831,10 @@ export declare namespace Models {
704
831
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
705
832
  */
706
833
  status: string;
834
+ /**
835
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
836
+ */
837
+ error: string;
707
838
  /**
708
839
  * Is attribute required?
709
840
  */
@@ -737,6 +868,10 @@ export declare namespace Models {
737
868
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
738
869
  */
739
870
  status: string;
871
+ /**
872
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
873
+ */
874
+ error: string;
740
875
  /**
741
876
  * Is attribute required?
742
877
  */
@@ -786,6 +921,10 @@ export declare namespace Models {
786
921
  * Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
787
922
  */
788
923
  status: string;
924
+ /**
925
+ * Error message. Displays error generated on failure of creating or deleting an index.
926
+ */
927
+ error: string;
789
928
  /**
790
929
  * Index attributes.
791
930
  */
@@ -954,6 +1093,10 @@ export declare namespace Models {
954
1093
  * User status. Pass `true` for enabled and `false` for disabled.
955
1094
  */
956
1095
  status: boolean;
1096
+ /**
1097
+ * Labels for the user.
1098
+ */
1099
+ labels: string[];
957
1100
  /**
958
1101
  * Password update time in ISO 8601 format.
959
1102
  */
@@ -978,6 +1121,10 @@ export declare namespace Models {
978
1121
  * User preferences as a key-value object
979
1122
  */
980
1123
  prefs: Preferences;
1124
+ /**
1125
+ * Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
1126
+ */
1127
+ accessedAt: string;
981
1128
  };
982
1129
  /**
983
1130
  * AlgoMD5
@@ -1082,6 +1229,67 @@ export declare namespace Models {
1082
1229
  */
1083
1230
  threads: number;
1084
1231
  };
1232
+ /**
1233
+ * Account
1234
+ */
1235
+ type Account<Preferences extends Models.Preferences> = {
1236
+ /**
1237
+ * User ID.
1238
+ */
1239
+ $id: string;
1240
+ /**
1241
+ * User creation date in ISO 8601 format.
1242
+ */
1243
+ $createdAt: string;
1244
+ /**
1245
+ * User update date in ISO 8601 format.
1246
+ */
1247
+ $updatedAt: string;
1248
+ /**
1249
+ * User name.
1250
+ */
1251
+ name: string;
1252
+ /**
1253
+ * User registration date in ISO 8601 format.
1254
+ */
1255
+ registration: string;
1256
+ /**
1257
+ * User status. Pass `true` for enabled and `false` for disabled.
1258
+ */
1259
+ status: boolean;
1260
+ /**
1261
+ * Labels for the user.
1262
+ */
1263
+ labels: string[];
1264
+ /**
1265
+ * Password update time in ISO 8601 format.
1266
+ */
1267
+ passwordUpdate: string;
1268
+ /**
1269
+ * User email address.
1270
+ */
1271
+ email: string;
1272
+ /**
1273
+ * User phone number in E.164 format.
1274
+ */
1275
+ phone: string;
1276
+ /**
1277
+ * Email verification status.
1278
+ */
1279
+ emailVerification: boolean;
1280
+ /**
1281
+ * Phone verification status.
1282
+ */
1283
+ phoneVerification: boolean;
1284
+ /**
1285
+ * User preferences as a key-value object
1286
+ */
1287
+ prefs: Preferences;
1288
+ /**
1289
+ * Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
1290
+ */
1291
+ accessedAt: string;
1292
+ };
1085
1293
  /**
1086
1294
  * Preferences
1087
1295
  */
@@ -1193,6 +1401,51 @@ export declare namespace Models {
1193
1401
  */
1194
1402
  current: boolean;
1195
1403
  };
1404
+ /**
1405
+ * Identity
1406
+ */
1407
+ type Identity = {
1408
+ /**
1409
+ * Identity ID.
1410
+ */
1411
+ $id: string;
1412
+ /**
1413
+ * Identity creation date in ISO 8601 format.
1414
+ */
1415
+ $createdAt: string;
1416
+ /**
1417
+ * Identity update date in ISO 8601 format.
1418
+ */
1419
+ $updatedAt: string;
1420
+ /**
1421
+ * User ID.
1422
+ */
1423
+ userId: string;
1424
+ /**
1425
+ * Identity Provider.
1426
+ */
1427
+ provider: string;
1428
+ /**
1429
+ * ID of the User in the Identity Provider.
1430
+ */
1431
+ providerUid: string;
1432
+ /**
1433
+ * Email of the User in the Identity Provider.
1434
+ */
1435
+ providerEmail: string;
1436
+ /**
1437
+ * Identity Provider Access Token.
1438
+ */
1439
+ providerAccessToken: string;
1440
+ /**
1441
+ * The date of when the access token expires in ISO 8601 format.
1442
+ */
1443
+ providerAccessTokenExpiry: string;
1444
+ /**
1445
+ * Identity Provider Refresh Token.
1446
+ */
1447
+ providerRefreshToken: string;
1448
+ };
1196
1449
  /**
1197
1450
  * Token
1198
1451
  */
@@ -1260,6 +1513,19 @@ export declare namespace Models {
1260
1513
  */
1261
1514
  currency: string;
1262
1515
  };
1516
+ /**
1517
+ * LocaleCode
1518
+ */
1519
+ type LocaleCode = {
1520
+ /**
1521
+ * Locale codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
1522
+ */
1523
+ code: string;
1524
+ /**
1525
+ * Locale name
1526
+ */
1527
+ name: string;
1528
+ };
1263
1529
  /**
1264
1530
  * File
1265
1531
  */
@@ -1472,6 +1738,14 @@ export declare namespace Models {
1472
1738
  * Function enabled.
1473
1739
  */
1474
1740
  enabled: boolean;
1741
+ /**
1742
+ * Is the function deployed with the latest configuration? This is set to false if you&#039;ve changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.
1743
+ */
1744
+ live: boolean;
1745
+ /**
1746
+ * Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.
1747
+ */
1748
+ logging: boolean;
1475
1749
  /**
1476
1750
  * Function execution runtime.
1477
1751
  */
@@ -1493,17 +1767,121 @@ export declare namespace Models {
1493
1767
  */
1494
1768
  schedule: string;
1495
1769
  /**
1496
- * Function&#039;s next scheduled execution time in ISO 8601 format.
1770
+ * Function execution timeout in seconds.
1497
1771
  */
1498
- scheduleNext: string;
1772
+ timeout: number;
1499
1773
  /**
1500
- * Function&#039;s previous scheduled execution time in ISO 8601 format.
1774
+ * The entrypoint file used to execute the deployment.
1501
1775
  */
1502
- schedulePrevious: string;
1776
+ entrypoint: string;
1503
1777
  /**
1504
- * Function execution timeout in seconds.
1778
+ * The build command used to build the deployment.
1505
1779
  */
1506
- timeout: number;
1780
+ commands: string;
1781
+ /**
1782
+ * Version of Open Runtimes used for the function.
1783
+ */
1784
+ version: string;
1785
+ /**
1786
+ * Function VCS (Version Control System) installation id.
1787
+ */
1788
+ installationId: string;
1789
+ /**
1790
+ * VCS (Version Control System) Repository ID
1791
+ */
1792
+ providerRepositoryId: string;
1793
+ /**
1794
+ * VCS (Version Control System) branch name
1795
+ */
1796
+ providerBranch: string;
1797
+ /**
1798
+ * Path to function in VCS (Version Control System) repository
1799
+ */
1800
+ providerRootDirectory: string;
1801
+ /**
1802
+ * Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests
1803
+ */
1804
+ providerSilentMode: boolean;
1805
+ };
1806
+ /**
1807
+ * Installation
1808
+ */
1809
+ type Installation = {
1810
+ /**
1811
+ * Function ID.
1812
+ */
1813
+ $id: string;
1814
+ /**
1815
+ * Function creation date in ISO 8601 format.
1816
+ */
1817
+ $createdAt: string;
1818
+ /**
1819
+ * Function update date in ISO 8601 format.
1820
+ */
1821
+ $updatedAt: string;
1822
+ /**
1823
+ * VCS (Version Control System) provider name.
1824
+ */
1825
+ provider: string;
1826
+ /**
1827
+ * VCS (Version Control System) organization name.
1828
+ */
1829
+ organization: string;
1830
+ /**
1831
+ * VCS (Version Control System) installation ID.
1832
+ */
1833
+ providerInstallationId: string;
1834
+ };
1835
+ /**
1836
+ * ProviderRepository
1837
+ */
1838
+ type ProviderRepository = {
1839
+ /**
1840
+ * VCS (Version Control System) repository ID.
1841
+ */
1842
+ id: string;
1843
+ /**
1844
+ * VCS (Version Control System) repository name.
1845
+ */
1846
+ name: string;
1847
+ /**
1848
+ * VCS (Version Control System) organization name
1849
+ */
1850
+ organization: string;
1851
+ /**
1852
+ * VCS (Version Control System) provider name.
1853
+ */
1854
+ provider: string;
1855
+ /**
1856
+ * Is VCS (Version Control System) repository private?
1857
+ */
1858
+ private: boolean;
1859
+ /**
1860
+ * Auto-detected runtime suggestion. Empty if getting response of getRuntime().
1861
+ */
1862
+ runtime: string;
1863
+ /**
1864
+ * Last commit date in ISO 8601 format.
1865
+ */
1866
+ pushedAt: string;
1867
+ };
1868
+ /**
1869
+ * Detection
1870
+ */
1871
+ type Detection = {
1872
+ /**
1873
+ * Runtime
1874
+ */
1875
+ runtime: string;
1876
+ };
1877
+ /**
1878
+ * Branch
1879
+ */
1880
+ type Branch = {
1881
+ /**
1882
+ * Branch Name.
1883
+ */
1884
+ name: string;
1507
1885
  };
1508
1886
  /**
1509
1887
  * Runtime
@@ -1554,6 +1932,10 @@ export declare namespace Models {
1554
1932
  * Deployment update date in ISO 8601 format.
1555
1933
  */
1556
1934
  $updatedAt: string;
1935
+ /**
1936
+ * Type of deployment.
1937
+ */
1938
+ type: string;
1557
1939
  /**
1558
1940
  * Resource ID.
1559
1941
  */
@@ -1579,21 +1961,57 @@ export declare namespace Models {
1579
1961
  */
1580
1962
  activate: boolean;
1581
1963
  /**
1582
- * The deployment status. Possible values are &quot;processing&quot;, &quot;building&quot;, &quot;pending&quot;, &quot;ready&quot;, and &quot;failed&quot;.
1964
+ * The deployment status. Possible values are &quot;processing&quot;, &quot;building&quot;, &quot;waiting&quot;, &quot;ready&quot;, and &quot;failed&quot;.
1583
1965
  */
1584
1966
  status: string;
1585
1967
  /**
1586
- * The build stdout.
1587
- */
1588
- buildStdout: string;
1589
- /**
1590
- * The build stderr.
1968
+ * The build logs.
1591
1969
  */
1592
- buildStderr: string;
1970
+ buildLogs: string;
1593
1971
  /**
1594
1972
  * The current build time in seconds.
1595
1973
  */
1596
1974
  buildTime: number;
1975
+ /**
1976
+ * The name of the vcs provider repository
1977
+ */
1978
+ providerRepositoryName: string;
1979
+ /**
1980
+ * The name of the vcs provider repository owner
1981
+ */
1982
+ providerRepositoryOwner: string;
1983
+ /**
1984
+ * The url of the vcs provider repository
1985
+ */
1986
+ providerRepositoryUrl: string;
1987
+ /**
1988
+ * The branch of the vcs repository
1989
+ */
1990
+ providerBranch: string;
1991
+ /**
1992
+ * The commit hash of the vcs commit
1993
+ */
1994
+ providerCommitHash: string;
1995
+ /**
1996
+ * The url of vcs commit author
1997
+ */
1998
+ providerCommitAuthorUrl: string;
1999
+ /**
2000
+ * The name of vcs commit author
2001
+ */
2002
+ providerCommitAuthor: string;
2003
+ /**
2004
+ * The commit message
2005
+ */
2006
+ providerCommitMessage: string;
2007
+ /**
2008
+ * The url of the vcs commit
2009
+ */
2010
+ providerCommitUrl: string;
2011
+ /**
2012
+ * The branch of the vcs repository
2013
+ */
2014
+ providerBranchUrl: string;
1597
2015
  };
1598
2016
  /**
1599
2017
  * Execution
@@ -1628,23 +2046,39 @@ export declare namespace Models {
1628
2046
  */
1629
2047
  status: string;
1630
2048
  /**
1631
- * The script status code.
2049
+ * HTTP request method type.
2050
+ */
2051
+ requestMethod: string;
2052
+ /**
2053
+ * HTTP request path and query.
2054
+ */
2055
+ requestPath: string;
2056
+ /**
2057
+ * HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
1632
2058
  */
1633
- statusCode: number;
2059
+ requestHeaders: Headers[];
1634
2060
  /**
1635
- * The script response output string. Logs the last 4,000 characters of the execution response output.
2061
+ * HTTP response status code.
1636
2062
  */
1637
- response: string;
2063
+ responseStatusCode: number;
1638
2064
  /**
1639
- * The script stdout output string. Logs the last 4,000 characters of the execution stdout output. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
2065
+ * HTTP response body. This will return empty unless execution is created as synchronous.
1640
2066
  */
1641
- stdout: string;
2067
+ responseBody: string;
1642
2068
  /**
1643
- * The script stderr output string. Logs the last 4,000 characters of the execution stderr output. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
2069
+ * HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
1644
2070
  */
1645
- stderr: string;
2071
+ responseHeaders: Headers[];
1646
2072
  /**
1647
- * The script execution duration in seconds.
2073
+ * Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
2074
+ */
2075
+ logs: string;
2076
+ /**
2077
+ * Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
2078
+ */
2079
+ errors: string;
2080
+ /**
2081
+ * Function execution duration in seconds.
1648
2082
  */
1649
2083
  duration: number;
1650
2084
  };
@@ -1728,6 +2162,10 @@ export declare namespace Models {
1728
2162
  * Whether or not to check user&#039;s password against most commonly used passwords.
1729
2163
  */
1730
2164
  authPasswordDictionary: boolean;
2165
+ /**
2166
+ * Whether or not to check the user password for similarity with their personal data.
2167
+ */
2168
+ authPersonalDataCheck: boolean;
1731
2169
  /**
1732
2170
  * List of Providers.
1733
2171
  */
@@ -1745,9 +2183,41 @@ export declare namespace Models {
1745
2183
  */
1746
2184
  keys: Key[];
1747
2185
  /**
1748
- * List of Domains.
2186
+ * Status for custom SMTP
2187
+ */
2188
+ smtpEnabled: boolean;
2189
+ /**
2190
+ * SMTP sender name
2191
+ */
2192
+ smtpSenderName: string;
2193
+ /**
2194
+ * SMTP sender email
2195
+ */
2196
+ smtpSenderEmail: string;
2197
+ /**
2198
+ * SMTP reply to email
2199
+ */
2200
+ smtpReplyTo: string;
2201
+ /**
2202
+ * SMTP server host name
2203
+ */
2204
+ smtpHost: string;
2205
+ /**
2206
+ * SMTP server port
2207
+ */
2208
+ smtpPort: number;
2209
+ /**
2210
+ * SMTP server username
2211
+ */
2212
+ smtpUsername: string;
2213
+ /**
2214
+ * SMTP server password
2215
+ */
2216
+ smtpPassword: string;
2217
+ /**
2218
+ * SMTP server secure protocol
1749
2219
  */
1750
- domains: Domain[];
2220
+ smtpSecure: string;
1751
2221
  /**
1752
2222
  * Email/Password auth method status
1753
2223
  */
@@ -1804,14 +2274,26 @@ export declare namespace Models {
1804
2274
  * Users service status
1805
2275
  */
1806
2276
  serviceStatusForUsers: boolean;
2277
+ /**
2278
+ * VCS service status
2279
+ */
2280
+ serviceStatusForVcs: boolean;
1807
2281
  /**
1808
2282
  * Functions service status
1809
2283
  */
1810
2284
  serviceStatusForFunctions: boolean;
2285
+ /**
2286
+ * Proxy service status
2287
+ */
2288
+ serviceStatusForProxy: boolean;
1811
2289
  /**
1812
2290
  * GraphQL service status
1813
2291
  */
1814
2292
  serviceStatusForGraphql: boolean;
2293
+ /**
2294
+ * Migrations service status
2295
+ */
2296
+ serviceStatusForMigrations: boolean;
1815
2297
  };
1816
2298
  /**
1817
2299
  * Webhook
@@ -1891,7 +2373,7 @@ export declare namespace Models {
1891
2373
  */
1892
2374
  secret: string;
1893
2375
  /**
1894
- * Most recent access date in ISO 8601 format.
2376
+ * Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
1895
2377
  */
1896
2378
  accessedAt: string;
1897
2379
  /**
@@ -1899,47 +2381,14 @@ export declare namespace Models {
1899
2381
  */
1900
2382
  sdks: string[];
1901
2383
  };
1902
- /**
1903
- * Domain
1904
- */
1905
- type Domain = {
1906
- /**
1907
- * Domain ID.
1908
- */
1909
- $id: string;
1910
- /**
1911
- * Domain creation date in ISO 8601 format.
1912
- */
1913
- $createdAt: string;
1914
- /**
1915
- * Domain update date in ISO 8601 format.
1916
- */
1917
- $updatedAt: string;
1918
- /**
1919
- * Domain name.
1920
- */
1921
- domain: string;
1922
- /**
1923
- * Registerable domain name.
1924
- */
1925
- registerable: string;
1926
- /**
1927
- * TLD name.
1928
- */
1929
- tld: string;
1930
- /**
1931
- * Verification process status.
1932
- */
1933
- verification: boolean;
1934
- /**
1935
- * Certificate ID.
1936
- */
1937
- certificateId: string;
1938
- };
1939
2384
  /**
1940
2385
  * Provider
1941
2386
  */
1942
2387
  type Provider = {
2388
+ /**
2389
+ * Provider.
2390
+ */
2391
+ key: string;
1943
2392
  /**
1944
2393
  * Provider name.
1945
2394
  */
@@ -2027,9 +2476,13 @@ export declare namespace Models {
2027
2476
  */
2028
2477
  value: string;
2029
2478
  /**
2030
- * Function ID.
2479
+ * Service to which the variable belongs. Possible values are &quot;project&quot;, &quot;function&quot;
2031
2480
  */
2032
- functionId: string;
2481
+ resourceType: string;
2482
+ /**
2483
+ * ID of resource to which the variable belongs. If resourceType is &quot;project&quot;, it is empty. If resourceType is &quot;function&quot;, it is ID of the function.
2484
+ */
2485
+ resourceId: string;
2033
2486
  };
2034
2487
  /**
2035
2488
  * Country
@@ -2150,6 +2603,10 @@ export declare namespace Models {
2150
2603
  * Health Status
2151
2604
  */
2152
2605
  type HealthStatus = {
2606
+ /**
2607
+ * Name of the service.
2608
+ */
2609
+ name: string;
2153
2610
  /**
2154
2611
  * Duration in milliseconds how long the health check took.
2155
2612
  */
@@ -2545,6 +3002,110 @@ export declare namespace Models {
2545
3002
  */
2546
3003
  buckets: Metric[];
2547
3004
  };
3005
+ /**
3006
+ * Headers
3007
+ */
3008
+ type Headers = {
3009
+ /**
3010
+ * Header name.
3011
+ */
3012
+ name: string;
3013
+ /**
3014
+ * Header value.
3015
+ */
3016
+ value: string;
3017
+ };
3018
+ /**
3019
+ * Rule
3020
+ */
3021
+ type ProxyRule = {
3022
+ /**
3023
+ * Rule ID.
3024
+ */
3025
+ $id: string;
3026
+ /**
3027
+ * Rule creation date in ISO 8601 format.
3028
+ */
3029
+ $createdAt: string;
3030
+ /**
3031
+ * Rule update date in ISO 8601 format.
3032
+ */
3033
+ $updatedAt: string;
3034
+ /**
3035
+ * Domain name.
3036
+ */
3037
+ domain: string;
3038
+ /**
3039
+ * Action definition for the rule. Possible values are &quot;api&quot;, &quot;function&quot;, or &quot;redirect&quot;
3040
+ */
3041
+ resourceType: string;
3042
+ /**
3043
+ * ID of resource for the action type. If resourceType is &quot;api&quot; or &quot;url&quot;, it is empty. If resourceType is &quot;function&quot;, it is ID of the function.
3044
+ */
3045
+ resourceId: string;
3046
+ /**
3047
+ * Domain verification status. Possible values are &quot;created&quot;, &quot;verifying&quot;, &quot;verified&quot; and &quot;unverified&quot;
3048
+ */
3049
+ status: string;
3050
+ /**
3051
+ * Certificate generation logs. This will return an empty string if generation did not run, or succeeded.
3052
+ */
3053
+ logs: string;
3054
+ /**
3055
+ * Certificate auto-renewal date in ISO 8601 format.
3056
+ */
3057
+ renewAt: string;
3058
+ };
3059
+ /**
3060
+ * SmsTemplate
3061
+ */
3062
+ type SmsTemplate = {
3063
+ /**
3064
+ * Template type
3065
+ */
3066
+ type: string;
3067
+ /**
3068
+ * Template locale
3069
+ */
3070
+ locale: string;
3071
+ /**
3072
+ * Template message
3073
+ */
3074
+ message: string;
3075
+ };
3076
+ /**
3077
+ * EmailTemplate
3078
+ */
3079
+ type EmailTemplate = {
3080
+ /**
3081
+ * Template type
3082
+ */
3083
+ type: string;
3084
+ /**
3085
+ * Template locale
3086
+ */
3087
+ locale: string;
3088
+ /**
3089
+ * Template message
3090
+ */
3091
+ message: string;
3092
+ /**
3093
+ * Name of the sender
3094
+ */
3095
+ senderName: string;
3096
+ /**
3097
+ * Email of the sender
3098
+ */
3099
+ senderEmail: string;
3100
+ /**
3101
+ * Reply to email address
3102
+ */
3103
+ replyTo: string;
3104
+ /**
3105
+ * Email subject
3106
+ */
3107
+ subject: string;
3108
+ };
2548
3109
  /**
2549
3110
  * Console Variables
2550
3111
  */
@@ -2565,5 +3126,116 @@ export declare namespace Models {
2565
3126
  * Defines if usage stats are enabled. This value is set to &#039;enabled&#039; by default, to disable the usage stats set the value to &#039;disabled&#039;.
2566
3127
  */
2567
3128
  _APP_USAGE_STATS: string;
3129
+ /**
3130
+ * Defines if VCS (Version Control System) is enabled.
3131
+ */
3132
+ _APP_VCS_ENABLED: boolean;
3133
+ /**
3134
+ * Defines if main domain is configured. If so, custom domains can be created.
3135
+ */
3136
+ _APP_DOMAIN_ENABLED: boolean;
3137
+ /**
3138
+ * Defines if AI assistant is enabled.
3139
+ */
3140
+ _APP_ASSISTANT_ENABLED: boolean;
3141
+ };
3142
+ /**
3143
+ * Migration
3144
+ */
3145
+ type Migration = {
3146
+ /**
3147
+ * Migration ID.
3148
+ */
3149
+ $id: string;
3150
+ /**
3151
+ * Variable creation date in ISO 8601 format.
3152
+ */
3153
+ $createdAt: string;
3154
+ /**
3155
+ * Variable creation date in ISO 8601 format.
3156
+ */
3157
+ $updatedAt: string;
3158
+ /**
3159
+ * Migration status ( pending, processing, failed, completed )
3160
+ */
3161
+ status: string;
3162
+ /**
3163
+ * Migration stage ( init, processing, source-check, destination-check, migrating, finished )
3164
+ */
3165
+ stage: string;
3166
+ /**
3167
+ * A string containing the type of source of the migration.
3168
+ */
3169
+ source: string;
3170
+ /**
3171
+ * Resources to migration.
3172
+ */
3173
+ resources: string[];
3174
+ /**
3175
+ * A group of counters that represent the total progress of the migration.
3176
+ */
3177
+ statusCounters: object;
3178
+ /**
3179
+ * An array of objects containing the report data of the resources that were migrated.
3180
+ */
3181
+ resourceData: object;
3182
+ /**
3183
+ * All errors that occurred during the migration process.
3184
+ */
3185
+ errors: string;
3186
+ };
3187
+ /**
3188
+ * Migration Report
3189
+ */
3190
+ type MigrationReport = {
3191
+ /**
3192
+ * Number of users to be migrated.
3193
+ */
3194
+ user: number;
3195
+ /**
3196
+ * Number of teams to be migrated.
3197
+ */
3198
+ team: number;
3199
+ /**
3200
+ * Number of databases to be migrated.
3201
+ */
3202
+ database: number;
3203
+ /**
3204
+ * Number of documents to be migrated.
3205
+ */
3206
+ document: number;
3207
+ /**
3208
+ * Number of files to be migrated.
3209
+ */
3210
+ file: number;
3211
+ /**
3212
+ * Number of buckets to be migrated.
3213
+ */
3214
+ bucket: number;
3215
+ /**
3216
+ * Number of functions to be migrated.
3217
+ */
3218
+ function: number;
3219
+ /**
3220
+ * Size of files to be migrated in mb.
3221
+ */
3222
+ size: number;
3223
+ /**
3224
+ * Version of the Appwrite instance to be migrated.
3225
+ */
3226
+ version: string;
3227
+ };
3228
+ /**
3229
+ * MigrationFirebaseProject
3230
+ */
3231
+ type FirebaseProject = {
3232
+ /**
3233
+ * Project ID.
3234
+ */
3235
+ projectId: string;
3236
+ /**
3237
+ * Project display name.
3238
+ */
3239
+ displayName: string;
2568
3240
  };
2569
3241
  }