@appwrite.io/console 1.10.0 → 2.0.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 (745) hide show
  1. package/.github/workflows/publish.yml +9 -8
  2. package/CHANGELOG.md +6 -0
  3. package/LICENSE +1 -1
  4. package/README.md +4 -4
  5. package/dist/cjs/sdk.js +15239 -6070
  6. package/dist/cjs/sdk.js.map +1 -1
  7. package/dist/esm/sdk.js +15237 -6071
  8. package/dist/esm/sdk.js.map +1 -1
  9. package/dist/iife/sdk.js +15239 -6070
  10. package/docs/examples/account/create-billing-address.md +8 -8
  11. package/docs/examples/account/create-email-password-session.md +4 -4
  12. package/docs/examples/account/create-email-token.md +5 -5
  13. package/docs/examples/account/{update-magic-u-r-l-session.md → create-email-verification.md} +3 -4
  14. package/docs/examples/account/{update-m-f-a.md → create-jwt.md} +3 -3
  15. package/docs/examples/account/{create-magic-u-r-l-token.md → create-magic-url-token.md} +6 -6
  16. package/docs/examples/account/create-mfa-authenticator.md +3 -3
  17. package/docs/examples/account/create-mfa-challenge.md +3 -3
  18. package/docs/examples/account/create-mfa-recovery-codes.md +1 -1
  19. package/docs/examples/account/{create-o-auth2token.md → create-o-auth-2-session.md} +6 -6
  20. package/docs/examples/account/{create-o-auth2session.md → create-o-auth-2-token.md} +6 -6
  21. package/docs/examples/account/create-phone-token.md +4 -4
  22. package/docs/examples/account/create-push-target.md +5 -5
  23. package/docs/examples/account/create-recovery.md +4 -4
  24. package/docs/examples/account/create-session.md +4 -4
  25. package/docs/examples/account/create-verification.md +3 -3
  26. package/docs/examples/account/create.md +6 -6
  27. package/docs/examples/account/delete-billing-address.md +3 -3
  28. package/docs/examples/account/delete-identity.md +3 -3
  29. package/docs/examples/account/delete-mfa-authenticator.md +3 -3
  30. package/docs/examples/account/delete-payment-method.md +3 -3
  31. package/docs/examples/account/delete-push-target.md +3 -3
  32. package/docs/examples/account/delete-session.md +3 -3
  33. package/docs/examples/account/get-billing-address.md +3 -3
  34. package/docs/examples/account/get-coupon.md +3 -3
  35. package/docs/examples/account/get-mfa-recovery-codes.md +1 -1
  36. package/docs/examples/account/get-payment-method.md +3 -3
  37. package/docs/examples/account/get-session.md +3 -3
  38. package/docs/examples/account/list-billing-addresses.md +3 -3
  39. package/docs/examples/account/list-identities.md +4 -3
  40. package/docs/examples/account/list-invoices.md +3 -3
  41. package/docs/examples/account/list-logs.md +4 -3
  42. package/docs/examples/account/list-mfa-factors.md +1 -1
  43. package/docs/examples/account/list-payment-methods.md +3 -3
  44. package/docs/examples/account/update-billing-address.md +9 -9
  45. package/docs/examples/account/update-email-verification.md +14 -0
  46. package/docs/examples/account/update-email.md +4 -4
  47. package/docs/examples/account/update-magic-url-session.md +14 -0
  48. package/docs/examples/account/update-mfa-authenticator.md +4 -4
  49. package/docs/examples/account/update-mfa-challenge.md +4 -4
  50. package/docs/examples/account/update-mfa-recovery-codes.md +1 -1
  51. package/docs/examples/account/{create-j-w-t.md → update-mfa.md} +3 -1
  52. package/docs/examples/account/update-name.md +3 -3
  53. package/docs/examples/account/update-password.md +4 -4
  54. package/docs/examples/account/update-payment-method-mandate-options.md +3 -3
  55. package/docs/examples/account/update-payment-method-provider.md +6 -5
  56. package/docs/examples/account/update-payment-method.md +6 -5
  57. package/docs/examples/account/update-phone-session.md +4 -4
  58. package/docs/examples/account/update-phone-verification.md +4 -4
  59. package/docs/examples/account/update-phone.md +4 -4
  60. package/docs/examples/account/update-prefs.md +7 -3
  61. package/docs/examples/account/update-push-target.md +4 -4
  62. package/docs/examples/account/update-recovery.md +5 -5
  63. package/docs/examples/account/update-session.md +3 -3
  64. package/docs/examples/account/update-verification.md +4 -4
  65. package/docs/examples/assistant/chat.md +3 -3
  66. package/docs/examples/avatars/get-browser.md +6 -6
  67. package/docs/examples/avatars/get-credit-card.md +6 -6
  68. package/docs/examples/avatars/get-favicon.md +3 -3
  69. package/docs/examples/avatars/get-flag.md +6 -6
  70. package/docs/examples/avatars/get-image.md +5 -5
  71. package/docs/examples/avatars/get-initials.md +6 -6
  72. package/docs/examples/avatars/{get-q-r.md → get-qr.md} +6 -6
  73. package/docs/examples/avatars/get-screenshot.md +35 -0
  74. package/docs/examples/backups/create-archive.md +4 -4
  75. package/docs/examples/backups/create-policy.md +9 -9
  76. package/docs/examples/backups/create-restoration.md +6 -6
  77. package/docs/examples/backups/delete-archive.md +3 -3
  78. package/docs/examples/backups/delete-policy.md +3 -3
  79. package/docs/examples/backups/get-archive.md +3 -3
  80. package/docs/examples/backups/get-policy.md +3 -3
  81. package/docs/examples/backups/get-restoration.md +3 -3
  82. package/docs/examples/backups/list-archives.md +3 -3
  83. package/docs/examples/backups/list-policies.md +3 -3
  84. package/docs/examples/backups/list-restorations.md +3 -3
  85. package/docs/examples/backups/update-policy.md +7 -7
  86. package/docs/examples/console/create-program-membership.md +3 -3
  87. package/docs/examples/console/create-source.md +7 -7
  88. package/docs/examples/console/get-campaign.md +3 -3
  89. package/docs/examples/console/get-coupon.md +3 -3
  90. package/docs/examples/console/{plans.md → get-plan.md} +3 -1
  91. package/docs/examples/console/get-plans.md +13 -0
  92. package/docs/examples/console/{regions.md → get-program.md} +3 -1
  93. package/docs/examples/console/get-regions.md +13 -0
  94. package/docs/examples/console/get-resource.md +4 -4
  95. package/docs/examples/console/suggest-columns.md +17 -0
  96. package/docs/examples/console/suggest-indexes.md +16 -0
  97. package/docs/examples/databases/create-boolean-attribute.md +8 -8
  98. package/docs/examples/databases/create-collection.md +11 -9
  99. package/docs/examples/databases/create-datetime-attribute.md +8 -8
  100. package/docs/examples/databases/create-document.md +15 -8
  101. package/docs/examples/databases/create-documents.md +6 -5
  102. package/docs/examples/databases/create-email-attribute.md +8 -8
  103. package/docs/examples/databases/create-enum-attribute.md +9 -9
  104. package/docs/examples/databases/create-float-attribute.md +10 -10
  105. package/docs/examples/databases/create-index.md +9 -9
  106. package/docs/examples/databases/create-integer-attribute.md +10 -10
  107. package/docs/examples/databases/create-ip-attribute.md +8 -8
  108. package/docs/examples/databases/create-line-attribute.md +17 -0
  109. package/docs/examples/databases/create-operations.md +24 -0
  110. package/docs/examples/databases/create-point-attribute.md +17 -0
  111. package/docs/examples/databases/create-polygon-attribute.md +17 -0
  112. package/docs/examples/databases/create-relationship-attribute.md +10 -10
  113. package/docs/examples/databases/create-string-attribute.md +10 -10
  114. package/docs/examples/databases/create-transaction.md +13 -0
  115. package/docs/examples/databases/create-url-attribute.md +8 -8
  116. package/docs/examples/databases/create.md +5 -5
  117. package/docs/examples/databases/decrement-document-attribute.md +9 -8
  118. package/docs/examples/databases/delete-attribute.md +5 -5
  119. package/docs/examples/databases/delete-collection.md +4 -4
  120. package/docs/examples/databases/delete-document.md +6 -5
  121. package/docs/examples/databases/delete-documents.md +6 -5
  122. package/docs/examples/databases/delete-index.md +5 -5
  123. package/docs/examples/databases/{get-database-usage.md → delete-transaction.md} +4 -5
  124. package/docs/examples/databases/delete.md +3 -3
  125. package/docs/examples/databases/get-attribute.md +5 -5
  126. package/docs/examples/databases/get-collection-usage.md +6 -6
  127. package/docs/examples/databases/get-collection.md +4 -4
  128. package/docs/examples/databases/get-document.md +7 -6
  129. package/docs/examples/databases/get-index.md +5 -5
  130. package/docs/examples/databases/get-transaction.md +13 -0
  131. package/docs/examples/databases/get-usage.md +5 -4
  132. package/docs/examples/databases/get.md +3 -3
  133. package/docs/examples/databases/increment-document-attribute.md +9 -8
  134. package/docs/examples/databases/list-attributes.md +6 -5
  135. package/docs/examples/databases/list-collection-logs.md +5 -5
  136. package/docs/examples/databases/list-collections.md +6 -5
  137. package/docs/examples/databases/list-document-logs.md +6 -6
  138. package/docs/examples/databases/list-documents.md +7 -5
  139. package/docs/examples/databases/list-indexes.md +6 -5
  140. package/docs/examples/databases/list-logs.md +4 -4
  141. package/docs/examples/databases/list-transactions.md +13 -0
  142. package/docs/examples/databases/list-usage.md +13 -0
  143. package/docs/examples/databases/list.md +5 -4
  144. package/docs/examples/databases/update-boolean-attribute.md +8 -8
  145. package/docs/examples/databases/update-collection.md +9 -9
  146. package/docs/examples/databases/update-datetime-attribute.md +8 -8
  147. package/docs/examples/databases/update-document.md +15 -8
  148. package/docs/examples/databases/update-documents.md +13 -6
  149. package/docs/examples/databases/update-email-attribute.md +8 -8
  150. package/docs/examples/databases/update-enum-attribute.md +9 -9
  151. package/docs/examples/databases/update-float-attribute.md +10 -10
  152. package/docs/examples/databases/update-integer-attribute.md +10 -10
  153. package/docs/examples/databases/update-ip-attribute.md +8 -8
  154. package/docs/examples/databases/update-line-attribute.md +18 -0
  155. package/docs/examples/databases/update-point-attribute.md +18 -0
  156. package/docs/examples/databases/update-polygon-attribute.md +18 -0
  157. package/docs/examples/databases/update-relationship-attribute.md +7 -7
  158. package/docs/examples/databases/update-string-attribute.md +9 -9
  159. package/docs/examples/databases/update-transaction.md +15 -0
  160. package/docs/examples/databases/update-url-attribute.md +8 -8
  161. package/docs/examples/databases/update.md +5 -5
  162. package/docs/examples/databases/upsert-document.md +15 -8
  163. package/docs/examples/databases/upsert-documents.md +6 -5
  164. package/docs/examples/domains/create-preset-google-workspace.md +3 -3
  165. package/docs/examples/domains/create-preset-i-cloud.md +3 -3
  166. package/docs/examples/domains/create-preset-mailgun.md +3 -3
  167. package/docs/examples/domains/create-preset-outlook.md +3 -3
  168. package/docs/examples/domains/create-preset-proton-mail.md +3 -3
  169. package/docs/examples/domains/create-preset-zoho.md +3 -3
  170. package/docs/examples/domains/create-record-a.md +7 -7
  171. package/docs/examples/domains/{create-record-a-a-a-a.md → create-record-aaaa.md} +7 -7
  172. package/docs/examples/domains/create-record-alias.md +7 -7
  173. package/docs/examples/domains/{create-record-n-s.md → create-record-caa.md} +7 -7
  174. package/docs/examples/domains/{create-record-c-a-a.md → create-record-cname.md} +7 -7
  175. package/docs/examples/domains/{create-record-h-t-t-p-s.md → create-record-https.md} +7 -7
  176. package/docs/examples/domains/create-record-mx.md +18 -0
  177. package/docs/examples/domains/create-record-ns.md +17 -0
  178. package/docs/examples/domains/create-record-srv.md +20 -0
  179. package/docs/examples/domains/{create-record-c-n-a-m-e.md → create-record-txt.md} +7 -7
  180. package/docs/examples/domains/create.md +4 -4
  181. package/docs/examples/domains/delete-record.md +4 -4
  182. package/docs/examples/domains/delete.md +3 -3
  183. package/docs/examples/domains/get-preset-google-workspace.md +3 -3
  184. package/docs/examples/domains/get-preset-i-cloud.md +3 -3
  185. package/docs/examples/domains/get-preset-mailgun.md +3 -3
  186. package/docs/examples/domains/get-preset-outlook.md +3 -3
  187. package/docs/examples/domains/get-preset-proton-mail.md +3 -3
  188. package/docs/examples/domains/get-preset-zoho.md +3 -3
  189. package/docs/examples/domains/get-record.md +4 -4
  190. package/docs/examples/domains/get-zone.md +3 -3
  191. package/docs/examples/domains/get.md +3 -3
  192. package/docs/examples/domains/list-records.md +4 -4
  193. package/docs/examples/domains/list.md +4 -4
  194. package/docs/examples/domains/update-nameservers.md +3 -3
  195. package/docs/examples/domains/update-record-a.md +8 -8
  196. package/docs/examples/domains/update-record-aaaa.md +18 -0
  197. package/docs/examples/domains/update-record-alias.md +8 -8
  198. package/docs/examples/domains/update-record-caa.md +18 -0
  199. package/docs/examples/domains/update-record-cname.md +18 -0
  200. package/docs/examples/domains/update-record-https.md +18 -0
  201. package/docs/examples/domains/update-record-mx.md +19 -0
  202. package/docs/examples/domains/update-record-ns.md +18 -0
  203. package/docs/examples/domains/update-record-srv.md +21 -0
  204. package/docs/examples/domains/update-record-txt.md +18 -0
  205. package/docs/examples/domains/update-team.md +4 -4
  206. package/docs/examples/domains/update-zone.md +4 -4
  207. package/docs/examples/functions/create-deployment.md +7 -7
  208. package/docs/examples/functions/create-duplicate-deployment.md +5 -5
  209. package/docs/examples/functions/create-execution.md +9 -9
  210. package/docs/examples/functions/create-template-deployment.md +10 -9
  211. package/docs/examples/functions/create-variable.md +6 -6
  212. package/docs/examples/functions/create-vcs-deployment.md +7 -7
  213. package/docs/examples/functions/create.md +21 -21
  214. package/docs/examples/functions/delete-deployment.md +4 -4
  215. package/docs/examples/functions/delete-execution.md +4 -4
  216. package/docs/examples/functions/delete-variable.md +4 -4
  217. package/docs/examples/functions/delete.md +3 -3
  218. package/docs/examples/functions/get-deployment-download.md +5 -5
  219. package/docs/examples/functions/get-deployment.md +4 -4
  220. package/docs/examples/functions/get-execution.md +4 -4
  221. package/docs/examples/functions/get-template.md +3 -3
  222. package/docs/examples/functions/get-usage.md +5 -5
  223. package/docs/examples/functions/get-variable.md +4 -4
  224. package/docs/examples/functions/get.md +3 -3
  225. package/docs/examples/functions/list-deployments.md +6 -5
  226. package/docs/examples/functions/list-executions.md +5 -4
  227. package/docs/examples/functions/list-templates.md +7 -6
  228. package/docs/examples/functions/list-usage.md +4 -4
  229. package/docs/examples/functions/list-variables.md +3 -3
  230. package/docs/examples/functions/list.md +5 -4
  231. package/docs/examples/functions/update-deployment-status.md +4 -4
  232. package/docs/examples/functions/update-function-deployment.md +4 -4
  233. package/docs/examples/functions/update-variable.md +7 -7
  234. package/docs/examples/functions/update.md +21 -21
  235. package/docs/examples/graphql/mutation.md +3 -3
  236. package/docs/examples/graphql/query.md +3 -3
  237. package/docs/examples/health/get-certificate.md +3 -3
  238. package/docs/examples/health/get-failed-jobs.md +5 -5
  239. package/docs/examples/health/get-queue-billing-project-aggregation.md +3 -3
  240. package/docs/examples/health/get-queue-billing-team-aggregation.md +3 -3
  241. package/docs/examples/health/get-queue-builds.md +3 -3
  242. package/docs/examples/health/get-queue-certificates.md +3 -3
  243. package/docs/examples/health/get-queue-databases.md +4 -4
  244. package/docs/examples/health/get-queue-deletes.md +3 -3
  245. package/docs/examples/health/get-queue-functions.md +3 -3
  246. package/docs/examples/health/get-queue-logs.md +3 -3
  247. package/docs/examples/health/get-queue-mails.md +3 -3
  248. package/docs/examples/health/get-queue-messaging.md +3 -3
  249. package/docs/examples/health/get-queue-migrations.md +3 -3
  250. package/docs/examples/health/get-queue-priority-builds.md +3 -3
  251. package/docs/examples/health/get-queue-region-manager.md +3 -3
  252. package/docs/examples/health/get-queue-stats-resources.md +3 -3
  253. package/docs/examples/health/get-queue-threats.md +13 -0
  254. package/docs/examples/health/get-queue-usage.md +3 -3
  255. package/docs/examples/health/get-queue-webhooks.md +3 -3
  256. package/docs/examples/messaging/create-apns-provider.md +10 -10
  257. package/docs/examples/messaging/create-email.md +14 -14
  258. package/docs/examples/messaging/create-fcm-provider.md +6 -6
  259. package/docs/examples/messaging/create-mailgun-provider.md +12 -12
  260. package/docs/examples/messaging/{create-msg91provider.md → create-msg-91-provider.md} +8 -8
  261. package/docs/examples/messaging/create-push.md +21 -21
  262. package/docs/examples/messaging/create-resend-provider.md +20 -0
  263. package/docs/examples/messaging/create-sendgrid-provider.md +10 -10
  264. package/docs/examples/messaging/create-sms.md +9 -9
  265. package/docs/examples/messaging/create-smtp-provider.md +16 -16
  266. package/docs/examples/messaging/create-subscriber.md +5 -5
  267. package/docs/examples/messaging/create-telesign-provider.md +8 -8
  268. package/docs/examples/messaging/create-textmagic-provider.md +8 -8
  269. package/docs/examples/messaging/create-topic.md +5 -5
  270. package/docs/examples/messaging/create-twilio-provider.md +8 -8
  271. package/docs/examples/messaging/create-vonage-provider.md +8 -8
  272. package/docs/examples/messaging/delete-provider.md +3 -3
  273. package/docs/examples/messaging/delete-subscriber.md +4 -4
  274. package/docs/examples/messaging/delete-topic.md +3 -3
  275. package/docs/examples/messaging/delete.md +3 -3
  276. package/docs/examples/messaging/get-message.md +3 -3
  277. package/docs/examples/messaging/get-provider.md +3 -3
  278. package/docs/examples/messaging/get-subscriber.md +4 -4
  279. package/docs/examples/messaging/get-topic.md +3 -3
  280. package/docs/examples/messaging/list-message-logs.md +5 -4
  281. package/docs/examples/messaging/list-messages.md +5 -4
  282. package/docs/examples/messaging/list-provider-logs.md +5 -4
  283. package/docs/examples/messaging/list-providers.md +5 -4
  284. package/docs/examples/messaging/list-subscriber-logs.md +5 -4
  285. package/docs/examples/messaging/list-subscribers.md +6 -5
  286. package/docs/examples/messaging/list-targets.md +5 -4
  287. package/docs/examples/messaging/list-topic-logs.md +5 -4
  288. package/docs/examples/messaging/list-topics.md +5 -4
  289. package/docs/examples/messaging/update-apns-provider.md +10 -10
  290. package/docs/examples/messaging/update-email.md +14 -14
  291. package/docs/examples/messaging/update-fcm-provider.md +6 -6
  292. package/docs/examples/messaging/update-mailgun-provider.md +12 -12
  293. package/docs/examples/messaging/{update-msg91provider.md → update-msg-91-provider.md} +8 -8
  294. package/docs/examples/messaging/update-push.md +21 -21
  295. package/docs/examples/messaging/update-resend-provider.md +20 -0
  296. package/docs/examples/messaging/update-sendgrid-provider.md +10 -10
  297. package/docs/examples/messaging/update-sms.md +9 -9
  298. package/docs/examples/messaging/update-smtp-provider.md +16 -16
  299. package/docs/examples/messaging/update-telesign-provider.md +8 -8
  300. package/docs/examples/messaging/update-textmagic-provider.md +8 -8
  301. package/docs/examples/messaging/update-topic.md +5 -5
  302. package/docs/examples/messaging/update-twilio-provider.md +8 -8
  303. package/docs/examples/messaging/update-vonage-provider.md +8 -8
  304. package/docs/examples/migrations/create-appwrite-migration.md +6 -6
  305. package/docs/examples/migrations/create-csv-export.md +21 -0
  306. package/docs/examples/migrations/{create-csv-migration.md → create-csv-import.md} +6 -5
  307. package/docs/examples/migrations/create-firebase-migration.md +4 -4
  308. package/docs/examples/migrations/create-n-host-migration.md +10 -10
  309. package/docs/examples/migrations/create-supabase-migration.md +9 -9
  310. package/docs/examples/migrations/delete.md +3 -3
  311. package/docs/examples/migrations/get-appwrite-report.md +6 -6
  312. package/docs/examples/migrations/get-firebase-report.md +4 -4
  313. package/docs/examples/migrations/get-n-host-report.md +10 -10
  314. package/docs/examples/migrations/get-supabase-report.md +9 -9
  315. package/docs/examples/migrations/get.md +3 -3
  316. package/docs/examples/migrations/list.md +5 -4
  317. package/docs/examples/migrations/retry.md +3 -3
  318. package/docs/examples/organizations/add-credit.md +4 -4
  319. package/docs/examples/organizations/cancel-downgrade.md +3 -3
  320. package/docs/examples/organizations/create-downgrade-feedback.md +17 -0
  321. package/docs/examples/organizations/create-invoice-payment.md +5 -5
  322. package/docs/examples/organizations/create.md +13 -12
  323. package/docs/examples/organizations/delete-backup-payment-method.md +3 -3
  324. package/docs/examples/organizations/delete-billing-address.md +3 -3
  325. package/docs/examples/organizations/delete-default-payment-method.md +3 -3
  326. package/docs/examples/organizations/delete.md +3 -3
  327. package/docs/examples/organizations/estimation-create-organization.md +8 -7
  328. package/docs/examples/organizations/estimation-delete-organization.md +3 -3
  329. package/docs/examples/organizations/estimation-update-plan.md +7 -7
  330. package/docs/examples/organizations/get-aggregation.md +6 -4
  331. package/docs/examples/organizations/get-available-credits.md +3 -3
  332. package/docs/examples/organizations/get-billing-address.md +4 -4
  333. package/docs/examples/organizations/get-credit.md +4 -4
  334. package/docs/examples/organizations/get-invoice-download.md +4 -4
  335. package/docs/examples/organizations/get-invoice-view.md +4 -4
  336. package/docs/examples/organizations/get-invoice.md +4 -4
  337. package/docs/examples/organizations/get-payment-method.md +4 -4
  338. package/docs/examples/organizations/get-plan.md +3 -3
  339. package/docs/examples/organizations/get-scopes.md +3 -3
  340. package/docs/examples/organizations/get-usage.md +5 -5
  341. package/docs/examples/organizations/list-aggregations.md +4 -4
  342. package/docs/examples/organizations/list-credits.md +4 -4
  343. package/docs/examples/organizations/list-invoices.md +4 -4
  344. package/docs/examples/organizations/list.md +4 -4
  345. package/docs/examples/organizations/set-backup-payment-method.md +4 -4
  346. package/docs/examples/organizations/set-billing-address.md +4 -4
  347. package/docs/examples/organizations/set-billing-email.md +4 -4
  348. package/docs/examples/organizations/set-billing-tax-id.md +4 -4
  349. package/docs/examples/organizations/set-default-payment-method.md +4 -4
  350. package/docs/examples/organizations/update-budget.md +5 -5
  351. package/docs/examples/organizations/update-plan.md +11 -11
  352. package/docs/examples/organizations/update-projects.md +4 -4
  353. package/docs/examples/organizations/validate-invoice.md +4 -4
  354. package/docs/examples/organizations/validate-payment.md +4 -4
  355. package/docs/examples/project/create-variable.md +5 -5
  356. package/docs/examples/project/delete-variable.md +3 -3
  357. package/docs/examples/project/get-usage.md +5 -5
  358. package/docs/examples/project/get-variable.md +3 -3
  359. package/docs/examples/project/update-variable.md +6 -6
  360. package/docs/examples/projects/create-dev-key.md +5 -5
  361. package/docs/examples/projects/{create-j-w-t.md → create-jwt.md} +5 -5
  362. package/docs/examples/projects/create-key.md +6 -6
  363. package/docs/examples/projects/create-platform.md +8 -8
  364. package/docs/examples/projects/create-smtp-test.md +12 -12
  365. package/docs/examples/projects/create-webhook.md +10 -10
  366. package/docs/examples/projects/create.md +16 -16
  367. package/docs/examples/projects/delete-dev-key.md +4 -4
  368. package/docs/examples/projects/delete-email-template.md +5 -5
  369. package/docs/examples/projects/delete-key.md +4 -4
  370. package/docs/examples/projects/delete-platform.md +4 -4
  371. package/docs/examples/projects/delete-sms-template.md +5 -5
  372. package/docs/examples/projects/delete-webhook.md +4 -4
  373. package/docs/examples/projects/delete.md +3 -3
  374. package/docs/examples/projects/get-dev-key.md +4 -4
  375. package/docs/examples/projects/get-email-template.md +5 -5
  376. package/docs/examples/projects/get-key.md +4 -4
  377. package/docs/examples/projects/get-platform.md +4 -4
  378. package/docs/examples/projects/get-sms-template.md +5 -5
  379. package/docs/examples/projects/get-webhook.md +4 -4
  380. package/docs/examples/projects/get.md +3 -3
  381. package/docs/examples/projects/list-dev-keys.md +4 -4
  382. package/docs/examples/projects/list-keys.md +4 -3
  383. package/docs/examples/projects/list-platforms.md +4 -3
  384. package/docs/examples/projects/list-webhooks.md +4 -3
  385. package/docs/examples/projects/list.md +5 -4
  386. package/docs/examples/projects/update-api-status-all.md +4 -4
  387. package/docs/examples/projects/update-api-status.md +6 -6
  388. package/docs/examples/projects/update-auth-duration.md +4 -4
  389. package/docs/examples/projects/update-auth-limit.md +4 -4
  390. package/docs/examples/projects/update-auth-password-dictionary.md +4 -4
  391. package/docs/examples/projects/update-auth-password-history.md +4 -4
  392. package/docs/examples/projects/update-auth-sessions-limit.md +4 -4
  393. package/docs/examples/projects/update-auth-status.md +5 -5
  394. package/docs/examples/projects/update-dev-key.md +6 -6
  395. package/docs/examples/projects/update-email-template.md +10 -10
  396. package/docs/examples/projects/update-key.md +7 -7
  397. package/docs/examples/projects/update-memberships-privacy.md +6 -6
  398. package/docs/examples/projects/update-mock-numbers.md +4 -4
  399. package/docs/examples/projects/{update-o-auth2.md → update-o-auth-2.md} +7 -7
  400. package/docs/examples/projects/update-personal-data-check.md +4 -4
  401. package/docs/examples/projects/update-platform.md +8 -8
  402. package/docs/examples/projects/update-service-status-all.md +4 -4
  403. package/docs/examples/projects/update-service-status.md +5 -5
  404. package/docs/examples/projects/update-session-alerts.md +4 -4
  405. package/docs/examples/projects/update-session-invalidation.md +14 -0
  406. package/docs/examples/projects/update-sms-template.md +6 -6
  407. package/docs/examples/projects/update-smtp.md +12 -12
  408. package/docs/examples/projects/update-status.md +14 -0
  409. package/docs/examples/projects/update-team.md +4 -4
  410. package/docs/examples/projects/update-webhook-signature.md +4 -4
  411. package/docs/examples/projects/update-webhook.md +11 -11
  412. package/docs/examples/projects/update.md +13 -13
  413. package/docs/examples/proxy/{create-a-p-i-rule.md → create-api-rule.md} +3 -3
  414. package/docs/examples/proxy/create-function-rule.md +5 -5
  415. package/docs/examples/proxy/create-redirect-rule.md +8 -8
  416. package/docs/examples/proxy/create-site-rule.md +5 -5
  417. package/docs/examples/proxy/delete-rule.md +3 -3
  418. package/docs/examples/proxy/get-rule.md +3 -3
  419. package/docs/examples/proxy/list-rules.md +5 -4
  420. package/docs/examples/proxy/update-rule-verification.md +3 -3
  421. package/docs/examples/sites/create-deployment.md +8 -8
  422. package/docs/examples/sites/create-duplicate-deployment.md +4 -4
  423. package/docs/examples/sites/create-template-deployment.md +10 -9
  424. package/docs/examples/sites/create-variable.md +6 -6
  425. package/docs/examples/sites/create-vcs-deployment.md +7 -7
  426. package/docs/examples/sites/create.md +21 -21
  427. package/docs/examples/sites/delete-deployment.md +4 -4
  428. package/docs/examples/sites/delete-log.md +4 -4
  429. package/docs/examples/sites/delete-variable.md +4 -4
  430. package/docs/examples/sites/delete.md +3 -3
  431. package/docs/examples/sites/get-deployment-download.md +5 -5
  432. package/docs/examples/sites/get-deployment.md +4 -4
  433. package/docs/examples/sites/get-log.md +4 -4
  434. package/docs/examples/sites/get-template.md +3 -3
  435. package/docs/examples/sites/get-usage.md +5 -5
  436. package/docs/examples/sites/get-variable.md +4 -4
  437. package/docs/examples/sites/get.md +3 -3
  438. package/docs/examples/sites/list-deployments.md +6 -5
  439. package/docs/examples/sites/list-logs.md +5 -4
  440. package/docs/examples/sites/list-templates.md +6 -6
  441. package/docs/examples/sites/list-usage.md +4 -4
  442. package/docs/examples/sites/list-variables.md +3 -3
  443. package/docs/examples/sites/list.md +5 -4
  444. package/docs/examples/sites/update-deployment-status.md +4 -4
  445. package/docs/examples/sites/update-site-deployment.md +4 -4
  446. package/docs/examples/sites/update-variable.md +7 -7
  447. package/docs/examples/sites/update.md +21 -21
  448. package/docs/examples/storage/create-bucket.md +14 -13
  449. package/docs/examples/storage/create-file.md +7 -7
  450. package/docs/examples/storage/delete-bucket.md +3 -3
  451. package/docs/examples/storage/delete-file.md +4 -4
  452. package/docs/examples/storage/get-bucket-usage.md +5 -5
  453. package/docs/examples/storage/get-bucket.md +3 -3
  454. package/docs/examples/storage/get-file-download.md +5 -5
  455. package/docs/examples/storage/get-file-preview.md +16 -16
  456. package/docs/examples/storage/get-file-view.md +5 -5
  457. package/docs/examples/storage/get-file.md +4 -4
  458. package/docs/examples/storage/get-usage.md +4 -4
  459. package/docs/examples/storage/list-buckets.md +5 -4
  460. package/docs/examples/storage/list-files.md +6 -5
  461. package/docs/examples/storage/update-bucket.md +14 -13
  462. package/docs/examples/storage/update-file.md +7 -7
  463. package/docs/examples/tablesdb/create-boolean-column.md +18 -0
  464. package/docs/examples/tablesdb/create-datetime-column.md +18 -0
  465. package/docs/examples/tablesdb/create-email-column.md +18 -0
  466. package/docs/examples/tablesdb/create-enum-column.md +19 -0
  467. package/docs/examples/tablesdb/create-float-column.md +20 -0
  468. package/docs/examples/tablesdb/create-index.md +19 -0
  469. package/docs/examples/tablesdb/create-integer-column.md +20 -0
  470. package/docs/examples/tablesdb/create-ip-column.md +18 -0
  471. package/docs/examples/tablesdb/create-line-column.md +17 -0
  472. package/docs/examples/tablesdb/create-operations.md +24 -0
  473. package/docs/examples/tablesdb/create-point-column.md +17 -0
  474. package/docs/examples/tablesdb/create-polygon-column.md +17 -0
  475. package/docs/examples/tablesdb/create-relationship-column.md +20 -0
  476. package/docs/examples/tablesdb/create-row.md +24 -0
  477. package/docs/examples/tablesdb/create-rows.md +16 -0
  478. package/docs/examples/tablesdb/create-string-column.md +20 -0
  479. package/docs/examples/tablesdb/create-table.md +20 -0
  480. package/docs/examples/tablesdb/create-transaction.md +13 -0
  481. package/docs/examples/tablesdb/create-url-column.md +18 -0
  482. package/docs/examples/tablesdb/create.md +15 -0
  483. package/docs/examples/tablesdb/decrement-row-column.md +19 -0
  484. package/docs/examples/tablesdb/delete-column.md +15 -0
  485. package/docs/examples/tablesdb/delete-index.md +15 -0
  486. package/docs/examples/tablesdb/delete-row.md +16 -0
  487. package/docs/examples/tablesdb/delete-rows.md +16 -0
  488. package/docs/examples/tablesdb/delete-table.md +14 -0
  489. package/docs/examples/tablesdb/delete-transaction.md +13 -0
  490. package/docs/examples/tablesdb/delete.md +13 -0
  491. package/docs/examples/tablesdb/get-column.md +15 -0
  492. package/docs/examples/tablesdb/get-index.md +15 -0
  493. package/docs/examples/tablesdb/get-row.md +17 -0
  494. package/docs/examples/tablesdb/get-table-usage.md +15 -0
  495. package/docs/examples/tablesdb/get-table.md +14 -0
  496. package/docs/examples/tablesdb/get-transaction.md +13 -0
  497. package/docs/examples/tablesdb/get-usage.md +14 -0
  498. package/docs/examples/tablesdb/get.md +13 -0
  499. package/docs/examples/tablesdb/increment-row-column.md +19 -0
  500. package/docs/examples/tablesdb/list-columns.md +16 -0
  501. package/docs/examples/tablesdb/list-indexes.md +16 -0
  502. package/docs/examples/tablesdb/list-row-logs.md +16 -0
  503. package/docs/examples/tablesdb/list-rows.md +17 -0
  504. package/docs/examples/tablesdb/list-table-logs.md +15 -0
  505. package/docs/examples/tablesdb/list-tables.md +16 -0
  506. package/docs/examples/tablesdb/list-transactions.md +13 -0
  507. package/docs/examples/tablesdb/list-usage.md +13 -0
  508. package/docs/examples/tablesdb/list.md +15 -0
  509. package/docs/examples/tablesdb/update-boolean-column.md +18 -0
  510. package/docs/examples/tablesdb/update-datetime-column.md +18 -0
  511. package/docs/examples/tablesdb/update-email-column.md +18 -0
  512. package/docs/examples/tablesdb/update-enum-column.md +19 -0
  513. package/docs/examples/tablesdb/update-float-column.md +20 -0
  514. package/docs/examples/tablesdb/update-integer-column.md +20 -0
  515. package/docs/examples/tablesdb/update-ip-column.md +18 -0
  516. package/docs/examples/tablesdb/update-line-column.md +18 -0
  517. package/docs/examples/tablesdb/update-point-column.md +18 -0
  518. package/docs/examples/tablesdb/update-polygon-column.md +18 -0
  519. package/docs/examples/tablesdb/update-relationship-column.md +17 -0
  520. package/docs/examples/tablesdb/update-row.md +24 -0
  521. package/docs/examples/tablesdb/update-rows.md +23 -0
  522. package/docs/examples/tablesdb/update-string-column.md +19 -0
  523. package/docs/examples/tablesdb/update-table.md +18 -0
  524. package/docs/examples/tablesdb/update-transaction.md +15 -0
  525. package/docs/examples/tablesdb/update-url-column.md +18 -0
  526. package/docs/examples/tablesdb/update.md +15 -0
  527. package/docs/examples/tablesdb/upsert-row.md +24 -0
  528. package/docs/examples/tablesdb/upsert-rows.md +16 -0
  529. package/docs/examples/teams/create-membership.md +9 -9
  530. package/docs/examples/teams/create.md +5 -5
  531. package/docs/examples/teams/delete-membership.md +4 -4
  532. package/docs/examples/teams/delete.md +3 -3
  533. package/docs/examples/teams/get-membership.md +4 -4
  534. package/docs/examples/teams/get-prefs.md +3 -3
  535. package/docs/examples/teams/get.md +3 -3
  536. package/docs/examples/teams/list-logs.md +5 -4
  537. package/docs/examples/teams/list-memberships.md +6 -5
  538. package/docs/examples/teams/list.md +5 -4
  539. package/docs/examples/teams/update-membership-status.md +6 -6
  540. package/docs/examples/teams/update-membership.md +5 -5
  541. package/docs/examples/teams/update-name.md +4 -4
  542. package/docs/examples/teams/update-prefs.md +4 -4
  543. package/docs/examples/tokens/create-file-token.md +5 -5
  544. package/docs/examples/tokens/delete.md +3 -3
  545. package/docs/examples/tokens/get.md +3 -3
  546. package/docs/examples/tokens/list.md +6 -5
  547. package/docs/examples/tokens/update.md +4 -4
  548. package/docs/examples/users/{create-m-d5user.md → create-argon-2-user.md} +6 -6
  549. package/docs/examples/users/create-bcrypt-user.md +6 -6
  550. package/docs/examples/users/{create-j-w-t.md → create-jwt.md} +5 -5
  551. package/docs/examples/users/{create-argon2user.md → create-md-5-user.md} +6 -6
  552. package/docs/examples/users/create-mfa-recovery-codes.md +3 -3
  553. package/docs/examples/users/{create-p-h-pass-user.md → create-ph-pass-user.md} +6 -6
  554. package/docs/examples/users/create-scrypt-modified-user.md +9 -9
  555. package/docs/examples/users/create-scrypt-user.md +11 -11
  556. package/docs/examples/users/create-session.md +3 -3
  557. package/docs/examples/users/{create-s-h-a-user.md → create-sha-user.md} +7 -7
  558. package/docs/examples/users/create-target.md +8 -8
  559. package/docs/examples/users/create-token.md +5 -5
  560. package/docs/examples/users/create.md +7 -7
  561. package/docs/examples/users/delete-identity.md +3 -3
  562. package/docs/examples/users/delete-mfa-authenticator.md +4 -4
  563. package/docs/examples/users/delete-session.md +4 -4
  564. package/docs/examples/users/delete-sessions.md +3 -3
  565. package/docs/examples/users/delete-target.md +4 -4
  566. package/docs/examples/users/delete.md +3 -3
  567. package/docs/examples/users/get-mfa-recovery-codes.md +3 -3
  568. package/docs/examples/users/get-prefs.md +3 -3
  569. package/docs/examples/users/get-target.md +4 -4
  570. package/docs/examples/users/get-usage.md +4 -4
  571. package/docs/examples/users/get.md +3 -3
  572. package/docs/examples/users/list-identities.md +5 -4
  573. package/docs/examples/users/list-logs.md +5 -4
  574. package/docs/examples/users/list-memberships.md +6 -5
  575. package/docs/examples/users/list-mfa-factors.md +3 -3
  576. package/docs/examples/users/list-sessions.md +4 -3
  577. package/docs/examples/users/list-targets.md +5 -4
  578. package/docs/examples/users/list.md +5 -4
  579. package/docs/examples/users/update-email-verification.md +4 -4
  580. package/docs/examples/users/update-email.md +4 -4
  581. package/docs/examples/users/update-labels.md +4 -4
  582. package/docs/examples/users/update-mfa-recovery-codes.md +3 -3
  583. package/docs/examples/users/update-mfa.md +4 -4
  584. package/docs/examples/users/update-name.md +4 -4
  585. package/docs/examples/users/update-password.md +4 -4
  586. package/docs/examples/users/update-phone-verification.md +4 -4
  587. package/docs/examples/users/update-phone.md +4 -4
  588. package/docs/examples/users/update-prefs.md +4 -4
  589. package/docs/examples/users/update-status.md +4 -4
  590. package/docs/examples/users/update-target.md +7 -7
  591. package/docs/examples/vcs/create-repository-detection.md +6 -6
  592. package/docs/examples/vcs/create-repository.md +5 -5
  593. package/docs/examples/vcs/delete-installation.md +3 -3
  594. package/docs/examples/vcs/get-installation.md +3 -3
  595. package/docs/examples/vcs/get-repository-contents.md +6 -6
  596. package/docs/examples/vcs/get-repository.md +4 -4
  597. package/docs/examples/vcs/list-installations.md +5 -4
  598. package/docs/examples/vcs/list-repositories.md +6 -5
  599. package/docs/examples/vcs/list-repository-branches.md +4 -4
  600. package/docs/examples/vcs/update-external-deployments.md +5 -5
  601. package/package.json +4 -4
  602. package/src/client.ts +42 -7
  603. package/src/enums/api-service.ts +1 -0
  604. package/src/enums/attribute-status.ts +7 -0
  605. package/src/enums/billing-plan-group.ts +5 -0
  606. package/src/enums/build-runtime.ts +2 -0
  607. package/src/enums/column-status.ts +7 -0
  608. package/src/enums/credit-card.ts +1 -1
  609. package/src/enums/database-type.ts +4 -0
  610. package/src/enums/deployment-status.ts +7 -0
  611. package/src/enums/execution-method.ts +1 -0
  612. package/src/enums/execution-status.ts +7 -0
  613. package/src/enums/execution-trigger.ts +5 -0
  614. package/src/enums/framework.ts +1 -0
  615. package/src/enums/health-antivirus-status.ts +5 -0
  616. package/src/enums/health-check-status.ts +4 -0
  617. package/src/enums/index-status.ts +7 -0
  618. package/src/enums/index-type.ts +1 -0
  619. package/src/enums/message-status.ts +7 -0
  620. package/src/enums/o-auth-provider.ts +3 -0
  621. package/src/enums/platform.ts +4 -0
  622. package/src/enums/proxy-rule-deployment-resource-type.ts +4 -0
  623. package/src/enums/proxy-rule-status.ts +6 -0
  624. package/src/enums/region.ts +3 -0
  625. package/src/enums/runtime.ts +2 -0
  626. package/src/enums/status.ts +4 -0
  627. package/src/enums/template-reference-type.ts +5 -0
  628. package/src/enums/theme.ts +4 -0
  629. package/src/enums/timezone.ts +421 -0
  630. package/src/enums/{user-usage-range.ts → usage-range.ts} +1 -1
  631. package/src/enums/{v-c-s-deployment-type.ts → vcs-reference-type.ts} +1 -1
  632. package/src/index.ts +27 -11
  633. package/src/models.ts +1692 -238
  634. package/src/operator.ts +308 -0
  635. package/src/query.ts +246 -2
  636. package/src/services/account.ts +2205 -223
  637. package/src/services/assistant.ts +29 -3
  638. package/src/services/avatars.ts +486 -33
  639. package/src/services/backups.ts +389 -42
  640. package/src/services/console.ts +492 -19
  641. package/src/services/databases.ts +3521 -431
  642. package/src/services/domains.ts +1684 -197
  643. package/src/services/functions.ts +1162 -149
  644. package/src/services/graphql.ts +55 -4
  645. package/src/services/health.ts +560 -41
  646. package/src/services/locale.ts +9 -0
  647. package/src/services/messaging.ts +3367 -380
  648. package/src/services/migrations.ts +641 -65
  649. package/src/services/organizations.ts +1323 -128
  650. package/src/services/project.ts +168 -17
  651. package/src/services/projects.ts +2742 -266
  652. package/src/services/proxy.ts +265 -26
  653. package/src/services/realtime.ts +437 -0
  654. package/src/services/sites.ts +1098 -140
  655. package/src/services/storage.ts +651 -82
  656. package/src/services/tables-db.ts +5439 -0
  657. package/src/services/teams.ts +512 -55
  658. package/src/services/tokens.ts +167 -16
  659. package/src/services/users.ts +1873 -181
  660. package/src/services/vcs.ts +359 -39
  661. package/types/client.d.ts +14 -5
  662. package/types/enums/api-service.d.ts +1 -0
  663. package/types/enums/attribute-status.d.ts +7 -0
  664. package/types/enums/billing-plan-group.d.ts +5 -0
  665. package/types/enums/build-runtime.d.ts +3 -1
  666. package/types/enums/column-status.d.ts +7 -0
  667. package/types/enums/credit-card.d.ts +1 -1
  668. package/types/enums/database-type.d.ts +4 -0
  669. package/types/enums/deployment-status.d.ts +7 -0
  670. package/types/enums/execution-method.d.ts +2 -1
  671. package/types/enums/execution-status.d.ts +7 -0
  672. package/types/enums/execution-trigger.d.ts +5 -0
  673. package/types/enums/framework.d.ts +1 -0
  674. package/types/enums/health-antivirus-status.d.ts +5 -0
  675. package/types/enums/health-check-status.d.ts +4 -0
  676. package/types/enums/index-status.d.ts +7 -0
  677. package/types/enums/index-type.d.ts +2 -1
  678. package/types/enums/message-status.d.ts +7 -0
  679. package/types/enums/o-auth-provider.d.ts +4 -1
  680. package/types/enums/platform.d.ts +4 -0
  681. package/types/enums/proxy-rule-deployment-resource-type.d.ts +4 -0
  682. package/types/enums/proxy-rule-status.d.ts +6 -0
  683. package/types/enums/region.d.ts +4 -1
  684. package/types/enums/runtime.d.ts +3 -1
  685. package/types/enums/status.d.ts +4 -0
  686. package/types/enums/template-reference-type.d.ts +5 -0
  687. package/types/enums/theme.d.ts +4 -0
  688. package/types/enums/timezone.d.ts +421 -0
  689. package/types/enums/{site-usage-range.d.ts → usage-range.d.ts} +1 -1
  690. package/types/enums/{v-c-s-deployment-type.d.ts → vcs-reference-type.d.ts} +1 -1
  691. package/types/index.d.ts +27 -11
  692. package/types/models.d.ts +1664 -245
  693. package/types/operator.d.ts +180 -0
  694. package/types/query.d.ts +198 -2
  695. package/types/services/account.d.ts +985 -123
  696. package/types/services/assistant.d.ts +13 -2
  697. package/types/services/avatars.d.ts +244 -26
  698. package/types/services/backups.d.ts +190 -30
  699. package/types/services/console.d.ts +201 -14
  700. package/types/services/databases.d.ts +1731 -284
  701. package/types/services/domains.d.ts +904 -152
  702. package/types/services/functions.d.ts +616 -125
  703. package/types/services/graphql.d.ts +24 -2
  704. package/types/services/health.d.ts +245 -23
  705. package/types/services/messaging.d.ts +1660 -271
  706. package/types/services/migrations.d.ts +319 -53
  707. package/types/services/organizations.d.ts +635 -97
  708. package/types/services/project.d.ts +81 -12
  709. package/types/services/projects.d.ts +1308 -202
  710. package/types/services/proxy.d.ts +128 -19
  711. package/types/services/realtime.d.ts +118 -0
  712. package/types/services/sites.d.ts +577 -116
  713. package/types/services/storage.d.ts +354 -73
  714. package/types/services/tables-db.d.ts +2040 -0
  715. package/types/services/teams.d.ts +260 -44
  716. package/types/services/tokens.d.ts +80 -12
  717. package/types/services/users.d.ts +881 -124
  718. package/types/services/vcs.d.ts +179 -31
  719. package/docs/examples/domains/create-record-m-x.md +0 -18
  720. package/docs/examples/domains/create-record-s-r-v.md +0 -20
  721. package/docs/examples/domains/create-record-t-x-t.md +0 -17
  722. package/docs/examples/domains/update-record-a-a-a-a.md +0 -18
  723. package/docs/examples/domains/update-record-c-a-a.md +0 -18
  724. package/docs/examples/domains/update-record-c-n-a-m-e.md +0 -18
  725. package/docs/examples/domains/update-record-h-t-t-p-s.md +0 -18
  726. package/docs/examples/domains/update-record-m-x.md +0 -19
  727. package/docs/examples/domains/update-record-n-s.md +0 -18
  728. package/docs/examples/domains/update-record-s-r-v.md +0 -21
  729. package/docs/examples/domains/update-record-t-x-t.md +0 -18
  730. package/src/enums/billing-plan.ts +0 -5
  731. package/src/enums/database-usage-range.ts +0 -5
  732. package/src/enums/function-usage-range.ts +0 -5
  733. package/src/enums/site-usage-range.ts +0 -5
  734. package/src/enums/storage-usage-range.ts +0 -5
  735. package/types/enums/billing-plan.d.ts +0 -5
  736. package/types/enums/database-usage-range.d.ts +0 -5
  737. package/types/enums/function-usage-range.d.ts +0 -5
  738. package/types/enums/storage-usage-range.d.ts +0 -5
  739. package/types/enums/user-usage-range.d.ts +0 -5
  740. /package/docs/examples/health/{get-d-b.md → get-db.md} +0 -0
  741. /package/docs/examples/locale/{list-countries-e-u.md → list-countries-eu.md} +0 -0
  742. /package/src/enums/{s-m-t-p-secure.ts → smtp-secure.ts} +0 -0
  743. /package/src/enums/{v-c-s-detection-type.ts → vcs-detection-type.ts} +0 -0
  744. /package/types/enums/{s-m-t-p-secure.d.ts → smtp-secure.d.ts} +0 -0
  745. /package/types/enums/{v-c-s-detection-type.d.ts → vcs-detection-type.d.ts} +0 -0
package/src/models.ts CHANGED
@@ -1,3 +1,18 @@
1
+ import { DatabaseType } from "./enums/database-type"
2
+ import { AttributeStatus } from "./enums/attribute-status"
3
+ import { ColumnStatus } from "./enums/column-status"
4
+ import { IndexStatus } from "./enums/index-status"
5
+ import { DeploymentStatus } from "./enums/deployment-status"
6
+ import { ExecutionTrigger } from "./enums/execution-trigger"
7
+ import { ExecutionStatus } from "./enums/execution-status"
8
+ import { PlatformType } from "./enums/platform-type"
9
+ import { HealthAntivirusStatus } from "./enums/health-antivirus-status"
10
+ import { HealthCheckStatus } from "./enums/health-check-status"
11
+ import { ProxyRuleDeploymentResourceType } from "./enums/proxy-rule-deployment-resource-type"
12
+ import { ProxyRuleStatus } from "./enums/proxy-rule-status"
13
+ import { MessageStatus } from "./enums/message-status"
14
+ import { BillingPlanGroup } from "./enums/billing-plan-group"
15
+
1
16
  /**
2
17
  * Appwrite Models
3
18
  */
@@ -5,12 +20,26 @@ export namespace Models {
5
20
 
6
21
  declare const __default: unique symbol;
7
22
 
23
+ /**
24
+ * Rows List
25
+ */
26
+ export type RowList<Row extends Models.Row = Models.DefaultRow> = {
27
+ /**
28
+ * Total number of rows that matched your query.
29
+ */
30
+ total: number;
31
+ /**
32
+ * List of rows.
33
+ */
34
+ rows: Row[];
35
+ }
36
+
8
37
  /**
9
38
  * Documents List
10
39
  */
11
40
  export type DocumentList<Document extends Models.Document = Models.DefaultDocument> = {
12
41
  /**
13
- * Total number of documents documents that matched your query.
42
+ * Total number of documents that matched your query.
14
43
  */
15
44
  total: number;
16
45
  /**
@@ -19,12 +48,26 @@ export namespace Models {
19
48
  documents: Document[];
20
49
  }
21
50
 
51
+ /**
52
+ * Tables List
53
+ */
54
+ export type TableList = {
55
+ /**
56
+ * Total number of tables that matched your query.
57
+ */
58
+ total: number;
59
+ /**
60
+ * List of tables.
61
+ */
62
+ tables: Table[];
63
+ }
64
+
22
65
  /**
23
66
  * Collections List
24
67
  */
25
68
  export type CollectionList = {
26
69
  /**
27
- * Total number of collections documents that matched your query.
70
+ * Total number of collections that matched your query.
28
71
  */
29
72
  total: number;
30
73
  /**
@@ -38,7 +81,7 @@ export namespace Models {
38
81
  */
39
82
  export type DatabaseList = {
40
83
  /**
41
- * Total number of databases documents that matched your query.
84
+ * Total number of databases that matched your query.
42
85
  */
43
86
  total: number;
44
87
  /**
@@ -52,7 +95,7 @@ export namespace Models {
52
95
  */
53
96
  export type IndexList = {
54
97
  /**
55
- * Total number of indexes documents that matched your query.
98
+ * Total number of indexes that matched your query.
56
99
  */
57
100
  total: number;
58
101
  /**
@@ -61,12 +104,26 @@ export namespace Models {
61
104
  indexes: Index[];
62
105
  }
63
106
 
107
+ /**
108
+ * Column Indexes List
109
+ */
110
+ export type ColumnIndexList = {
111
+ /**
112
+ * Total number of indexes that matched your query.
113
+ */
114
+ total: number;
115
+ /**
116
+ * List of indexes.
117
+ */
118
+ indexes: ColumnIndex[];
119
+ }
120
+
64
121
  /**
65
122
  * Users List
66
123
  */
67
124
  export type UserList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
68
125
  /**
69
- * Total number of users documents that matched your query.
126
+ * Total number of users that matched your query.
70
127
  */
71
128
  total: number;
72
129
  /**
@@ -80,7 +137,7 @@ export namespace Models {
80
137
  */
81
138
  export type SessionList = {
82
139
  /**
83
- * Total number of sessions documents that matched your query.
140
+ * Total number of sessions that matched your query.
84
141
  */
85
142
  total: number;
86
143
  /**
@@ -94,7 +151,7 @@ export namespace Models {
94
151
  */
95
152
  export type IdentityList = {
96
153
  /**
97
- * Total number of identities documents that matched your query.
154
+ * Total number of identities that matched your query.
98
155
  */
99
156
  total: number;
100
157
  /**
@@ -108,7 +165,7 @@ export namespace Models {
108
165
  */
109
166
  export type LogList = {
110
167
  /**
111
- * Total number of logs documents that matched your query.
168
+ * Total number of logs that matched your query.
112
169
  */
113
170
  total: number;
114
171
  /**
@@ -122,7 +179,7 @@ export namespace Models {
122
179
  */
123
180
  export type FileList = {
124
181
  /**
125
- * Total number of files documents that matched your query.
182
+ * Total number of files that matched your query.
126
183
  */
127
184
  total: number;
128
185
  /**
@@ -136,7 +193,7 @@ export namespace Models {
136
193
  */
137
194
  export type BucketList = {
138
195
  /**
139
- * Total number of buckets documents that matched your query.
196
+ * Total number of buckets that matched your query.
140
197
  */
141
198
  total: number;
142
199
  /**
@@ -150,7 +207,7 @@ export namespace Models {
150
207
  */
151
208
  export type ResourceTokenList = {
152
209
  /**
153
- * Total number of tokens documents that matched your query.
210
+ * Total number of tokens that matched your query.
154
211
  */
155
212
  total: number;
156
213
  /**
@@ -164,7 +221,7 @@ export namespace Models {
164
221
  */
165
222
  export type TeamList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
166
223
  /**
167
- * Total number of teams documents that matched your query.
224
+ * Total number of teams that matched your query.
168
225
  */
169
226
  total: number;
170
227
  /**
@@ -178,7 +235,7 @@ export namespace Models {
178
235
  */
179
236
  export type MembershipList = {
180
237
  /**
181
- * Total number of memberships documents that matched your query.
238
+ * Total number of memberships that matched your query.
182
239
  */
183
240
  total: number;
184
241
  /**
@@ -192,7 +249,7 @@ export namespace Models {
192
249
  */
193
250
  export type SiteList = {
194
251
  /**
195
- * Total number of sites documents that matched your query.
252
+ * Total number of sites that matched your query.
196
253
  */
197
254
  total: number;
198
255
  /**
@@ -206,7 +263,7 @@ export namespace Models {
206
263
  */
207
264
  export type TemplateSiteList = {
208
265
  /**
209
- * Total number of templates documents that matched your query.
266
+ * Total number of templates that matched your query.
210
267
  */
211
268
  total: number;
212
269
  /**
@@ -220,7 +277,7 @@ export namespace Models {
220
277
  */
221
278
  export type FunctionList = {
222
279
  /**
223
- * Total number of functions documents that matched your query.
280
+ * Total number of functions that matched your query.
224
281
  */
225
282
  total: number;
226
283
  /**
@@ -234,7 +291,7 @@ export namespace Models {
234
291
  */
235
292
  export type TemplateFunctionList = {
236
293
  /**
237
- * Total number of templates documents that matched your query.
294
+ * Total number of templates that matched your query.
238
295
  */
239
296
  total: number;
240
297
  /**
@@ -248,7 +305,7 @@ export namespace Models {
248
305
  */
249
306
  export type InstallationList = {
250
307
  /**
251
- * Total number of installations documents that matched your query.
308
+ * Total number of installations that matched your query.
252
309
  */
253
310
  total: number;
254
311
  /**
@@ -262,7 +319,7 @@ export namespace Models {
262
319
  */
263
320
  export type ProviderRepositoryFrameworkList = {
264
321
  /**
265
- * Total number of frameworkProviderRepositories documents that matched your query.
322
+ * Total number of frameworkProviderRepositories that matched your query.
266
323
  */
267
324
  total: number;
268
325
  /**
@@ -276,7 +333,7 @@ export namespace Models {
276
333
  */
277
334
  export type ProviderRepositoryRuntimeList = {
278
335
  /**
279
- * Total number of runtimeProviderRepositories documents that matched your query.
336
+ * Total number of runtimeProviderRepositories that matched your query.
280
337
  */
281
338
  total: number;
282
339
  /**
@@ -290,7 +347,7 @@ export namespace Models {
290
347
  */
291
348
  export type BranchList = {
292
349
  /**
293
- * Total number of branches documents that matched your query.
350
+ * Total number of branches that matched your query.
294
351
  */
295
352
  total: number;
296
353
  /**
@@ -304,7 +361,7 @@ export namespace Models {
304
361
  */
305
362
  export type FrameworkList = {
306
363
  /**
307
- * Total number of frameworks documents that matched your query.
364
+ * Total number of frameworks that matched your query.
308
365
  */
309
366
  total: number;
310
367
  /**
@@ -318,7 +375,7 @@ export namespace Models {
318
375
  */
319
376
  export type RuntimeList = {
320
377
  /**
321
- * Total number of runtimes documents that matched your query.
378
+ * Total number of runtimes that matched your query.
322
379
  */
323
380
  total: number;
324
381
  /**
@@ -332,7 +389,7 @@ export namespace Models {
332
389
  */
333
390
  export type DeploymentList = {
334
391
  /**
335
- * Total number of deployments documents that matched your query.
392
+ * Total number of deployments that matched your query.
336
393
  */
337
394
  total: number;
338
395
  /**
@@ -346,7 +403,7 @@ export namespace Models {
346
403
  */
347
404
  export type ExecutionList = {
348
405
  /**
349
- * Total number of executions documents that matched your query.
406
+ * Total number of executions that matched your query.
350
407
  */
351
408
  total: number;
352
409
  /**
@@ -360,7 +417,7 @@ export namespace Models {
360
417
  */
361
418
  export type ProjectList = {
362
419
  /**
363
- * Total number of projects documents that matched your query.
420
+ * Total number of projects that matched your query.
364
421
  */
365
422
  total: number;
366
423
  /**
@@ -374,7 +431,7 @@ export namespace Models {
374
431
  */
375
432
  export type WebhookList = {
376
433
  /**
377
- * Total number of webhooks documents that matched your query.
434
+ * Total number of webhooks that matched your query.
378
435
  */
379
436
  total: number;
380
437
  /**
@@ -388,7 +445,7 @@ export namespace Models {
388
445
  */
389
446
  export type KeyList = {
390
447
  /**
391
- * Total number of keys documents that matched your query.
448
+ * Total number of keys that matched your query.
392
449
  */
393
450
  total: number;
394
451
  /**
@@ -402,7 +459,7 @@ export namespace Models {
402
459
  */
403
460
  export type DevKeyList = {
404
461
  /**
405
- * Total number of devKeys documents that matched your query.
462
+ * Total number of devKeys that matched your query.
406
463
  */
407
464
  total: number;
408
465
  /**
@@ -416,7 +473,7 @@ export namespace Models {
416
473
  */
417
474
  export type PlatformList = {
418
475
  /**
419
- * Total number of platforms documents that matched your query.
476
+ * Total number of platforms that matched your query.
420
477
  */
421
478
  total: number;
422
479
  /**
@@ -430,7 +487,7 @@ export namespace Models {
430
487
  */
431
488
  export type CountryList = {
432
489
  /**
433
- * Total number of countries documents that matched your query.
490
+ * Total number of countries that matched your query.
434
491
  */
435
492
  total: number;
436
493
  /**
@@ -444,7 +501,7 @@ export namespace Models {
444
501
  */
445
502
  export type ContinentList = {
446
503
  /**
447
- * Total number of continents documents that matched your query.
504
+ * Total number of continents that matched your query.
448
505
  */
449
506
  total: number;
450
507
  /**
@@ -458,7 +515,7 @@ export namespace Models {
458
515
  */
459
516
  export type LanguageList = {
460
517
  /**
461
- * Total number of languages documents that matched your query.
518
+ * Total number of languages that matched your query.
462
519
  */
463
520
  total: number;
464
521
  /**
@@ -472,7 +529,7 @@ export namespace Models {
472
529
  */
473
530
  export type CurrencyList = {
474
531
  /**
475
- * Total number of currencies documents that matched your query.
532
+ * Total number of currencies that matched your query.
476
533
  */
477
534
  total: number;
478
535
  /**
@@ -486,7 +543,7 @@ export namespace Models {
486
543
  */
487
544
  export type PhoneList = {
488
545
  /**
489
- * Total number of phones documents that matched your query.
546
+ * Total number of phones that matched your query.
490
547
  */
491
548
  total: number;
492
549
  /**
@@ -500,7 +557,7 @@ export namespace Models {
500
557
  */
501
558
  export type VariableList = {
502
559
  /**
503
- * Total number of variables documents that matched your query.
560
+ * Total number of variables that matched your query.
504
561
  */
505
562
  total: number;
506
563
  /**
@@ -514,7 +571,7 @@ export namespace Models {
514
571
  */
515
572
  export type ProxyRuleList = {
516
573
  /**
517
- * Total number of rules documents that matched your query.
574
+ * Total number of rules that matched your query.
518
575
  */
519
576
  total: number;
520
577
  /**
@@ -528,7 +585,7 @@ export namespace Models {
528
585
  */
529
586
  export type LocaleCodeList = {
530
587
  /**
531
- * Total number of localeCodes documents that matched your query.
588
+ * Total number of localeCodes that matched your query.
532
589
  */
533
590
  total: number;
534
591
  /**
@@ -542,7 +599,7 @@ export namespace Models {
542
599
  */
543
600
  export type ProviderList = {
544
601
  /**
545
- * Total number of providers documents that matched your query.
602
+ * Total number of providers that matched your query.
546
603
  */
547
604
  total: number;
548
605
  /**
@@ -556,7 +613,7 @@ export namespace Models {
556
613
  */
557
614
  export type MessageList = {
558
615
  /**
559
- * Total number of messages documents that matched your query.
616
+ * Total number of messages that matched your query.
560
617
  */
561
618
  total: number;
562
619
  /**
@@ -570,7 +627,7 @@ export namespace Models {
570
627
  */
571
628
  export type TopicList = {
572
629
  /**
573
- * Total number of topics documents that matched your query.
630
+ * Total number of topics that matched your query.
574
631
  */
575
632
  total: number;
576
633
  /**
@@ -584,7 +641,7 @@ export namespace Models {
584
641
  */
585
642
  export type SubscriberList = {
586
643
  /**
587
- * Total number of subscribers documents that matched your query.
644
+ * Total number of subscribers that matched your query.
588
645
  */
589
646
  total: number;
590
647
  /**
@@ -598,7 +655,7 @@ export namespace Models {
598
655
  */
599
656
  export type TargetList = {
600
657
  /**
601
- * Total number of targets documents that matched your query.
658
+ * Total number of targets that matched your query.
602
659
  */
603
660
  total: number;
604
661
  /**
@@ -607,12 +664,26 @@ export namespace Models {
607
664
  targets: Target[];
608
665
  }
609
666
 
667
+ /**
668
+ * Transaction List
669
+ */
670
+ export type TransactionList = {
671
+ /**
672
+ * Total number of transactions that matched your query.
673
+ */
674
+ total: number;
675
+ /**
676
+ * List of transactions.
677
+ */
678
+ transactions: Transaction[];
679
+ }
680
+
610
681
  /**
611
682
  * Migrations List
612
683
  */
613
684
  export type MigrationList = {
614
685
  /**
615
- * Total number of migrations documents that matched your query.
686
+ * Total number of migrations that matched your query.
616
687
  */
617
688
  total: number;
618
689
  /**
@@ -626,7 +697,7 @@ export namespace Models {
626
697
  */
627
698
  export type SpecificationList = {
628
699
  /**
629
- * Total number of specifications documents that matched your query.
700
+ * Total number of specifications that matched your query.
630
701
  */
631
702
  total: number;
632
703
  /**
@@ -640,7 +711,7 @@ export namespace Models {
640
711
  */
641
712
  export type VcsContentList = {
642
713
  /**
643
- * Total number of contents documents that matched your query.
714
+ * Total number of contents that matched your query.
644
715
  */
645
716
  total: number;
646
717
  /**
@@ -670,9 +741,13 @@ export namespace Models {
670
741
  */
671
742
  $updatedAt: string;
672
743
  /**
673
- * If database is enabled. Can be &#039;enabled&#039; or &#039;disabled&#039;. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.
744
+ * 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.
674
745
  */
675
746
  enabled: boolean;
747
+ /**
748
+ * Database type.
749
+ */
750
+ type: DatabaseType;
676
751
  /**
677
752
  * Database backup policies.
678
753
  */
@@ -712,7 +787,7 @@ export namespace Models {
712
787
  */
713
788
  name: string;
714
789
  /**
715
- * Collection enabled. Can be &#039;enabled&#039; or &#039;disabled&#039;. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.
790
+ * Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.
716
791
  */
717
792
  enabled: boolean;
718
793
  /**
@@ -722,7 +797,7 @@ export namespace Models {
722
797
  /**
723
798
  * Collection attributes.
724
799
  */
725
- attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributeString)[];
800
+ attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributePoint | Models.AttributeLine | Models.AttributePolygon | Models.AttributeString)[];
726
801
  /**
727
802
  * Collection indexes.
728
803
  */
@@ -740,7 +815,7 @@ export namespace Models {
740
815
  /**
741
816
  * List of attributes.
742
817
  */
743
- attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributeString)[];
818
+ attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributePoint | Models.AttributeLine | Models.AttributePolygon | Models.AttributeString)[];
744
819
  }
745
820
 
746
821
  /**
@@ -758,7 +833,7 @@ export namespace Models {
758
833
  /**
759
834
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
760
835
  */
761
- status: string;
836
+ status: AttributeStatus;
762
837
  /**
763
838
  * Error message. Displays error generated on failure of creating or deleting an attribute.
764
839
  */
@@ -808,7 +883,7 @@ export namespace Models {
808
883
  /**
809
884
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
810
885
  */
811
- status: string;
886
+ status: AttributeStatus;
812
887
  /**
813
888
  * Error message. Displays error generated on failure of creating or deleting an attribute.
814
889
  */
@@ -858,7 +933,7 @@ export namespace Models {
858
933
  /**
859
934
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
860
935
  */
861
- status: string;
936
+ status: AttributeStatus;
862
937
  /**
863
938
  * Error message. Displays error generated on failure of creating or deleting an attribute.
864
939
  */
@@ -908,7 +983,7 @@ export namespace Models {
908
983
  /**
909
984
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
910
985
  */
911
- status: string;
986
+ status: AttributeStatus;
912
987
  /**
913
988
  * Error message. Displays error generated on failure of creating or deleting an attribute.
914
989
  */
@@ -938,37 +1013,853 @@ export namespace Models {
938
1013
  /**
939
1014
  * AttributeEmail
940
1015
  */
941
- export type AttributeEmail = {
1016
+ export type AttributeEmail = {
1017
+ /**
1018
+ * Attribute Key.
1019
+ */
1020
+ key: string;
1021
+ /**
1022
+ * Attribute type.
1023
+ */
1024
+ type: string;
1025
+ /**
1026
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1027
+ */
1028
+ status: AttributeStatus;
1029
+ /**
1030
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1031
+ */
1032
+ error: string;
1033
+ /**
1034
+ * Is attribute required?
1035
+ */
1036
+ required: boolean;
1037
+ /**
1038
+ * Is attribute an array?
1039
+ */
1040
+ array?: boolean;
1041
+ /**
1042
+ * Attribute creation date in ISO 8601 format.
1043
+ */
1044
+ $createdAt: string;
1045
+ /**
1046
+ * Attribute update date in ISO 8601 format.
1047
+ */
1048
+ $updatedAt: string;
1049
+ /**
1050
+ * String format.
1051
+ */
1052
+ format: string;
1053
+ /**
1054
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1055
+ */
1056
+ default?: string;
1057
+ }
1058
+
1059
+ /**
1060
+ * AttributeEnum
1061
+ */
1062
+ export type AttributeEnum = {
1063
+ /**
1064
+ * Attribute Key.
1065
+ */
1066
+ key: string;
1067
+ /**
1068
+ * Attribute type.
1069
+ */
1070
+ type: string;
1071
+ /**
1072
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1073
+ */
1074
+ status: AttributeStatus;
1075
+ /**
1076
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1077
+ */
1078
+ error: string;
1079
+ /**
1080
+ * Is attribute required?
1081
+ */
1082
+ required: boolean;
1083
+ /**
1084
+ * Is attribute an array?
1085
+ */
1086
+ array?: boolean;
1087
+ /**
1088
+ * Attribute creation date in ISO 8601 format.
1089
+ */
1090
+ $createdAt: string;
1091
+ /**
1092
+ * Attribute update date in ISO 8601 format.
1093
+ */
1094
+ $updatedAt: string;
1095
+ /**
1096
+ * Array of elements in enumerated type.
1097
+ */
1098
+ elements: string[];
1099
+ /**
1100
+ * String format.
1101
+ */
1102
+ format: string;
1103
+ /**
1104
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1105
+ */
1106
+ default?: string;
1107
+ }
1108
+
1109
+ /**
1110
+ * AttributeIP
1111
+ */
1112
+ export type AttributeIp = {
1113
+ /**
1114
+ * Attribute Key.
1115
+ */
1116
+ key: string;
1117
+ /**
1118
+ * Attribute type.
1119
+ */
1120
+ type: string;
1121
+ /**
1122
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1123
+ */
1124
+ status: AttributeStatus;
1125
+ /**
1126
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1127
+ */
1128
+ error: string;
1129
+ /**
1130
+ * Is attribute required?
1131
+ */
1132
+ required: boolean;
1133
+ /**
1134
+ * Is attribute an array?
1135
+ */
1136
+ array?: boolean;
1137
+ /**
1138
+ * Attribute creation date in ISO 8601 format.
1139
+ */
1140
+ $createdAt: string;
1141
+ /**
1142
+ * Attribute update date in ISO 8601 format.
1143
+ */
1144
+ $updatedAt: string;
1145
+ /**
1146
+ * String format.
1147
+ */
1148
+ format: string;
1149
+ /**
1150
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1151
+ */
1152
+ default?: string;
1153
+ }
1154
+
1155
+ /**
1156
+ * AttributeURL
1157
+ */
1158
+ export type AttributeUrl = {
1159
+ /**
1160
+ * Attribute Key.
1161
+ */
1162
+ key: string;
1163
+ /**
1164
+ * Attribute type.
1165
+ */
1166
+ type: string;
1167
+ /**
1168
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1169
+ */
1170
+ status: AttributeStatus;
1171
+ /**
1172
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1173
+ */
1174
+ error: string;
1175
+ /**
1176
+ * Is attribute required?
1177
+ */
1178
+ required: boolean;
1179
+ /**
1180
+ * Is attribute an array?
1181
+ */
1182
+ array?: boolean;
1183
+ /**
1184
+ * Attribute creation date in ISO 8601 format.
1185
+ */
1186
+ $createdAt: string;
1187
+ /**
1188
+ * Attribute update date in ISO 8601 format.
1189
+ */
1190
+ $updatedAt: string;
1191
+ /**
1192
+ * String format.
1193
+ */
1194
+ format: string;
1195
+ /**
1196
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1197
+ */
1198
+ default?: string;
1199
+ }
1200
+
1201
+ /**
1202
+ * AttributeDatetime
1203
+ */
1204
+ export type AttributeDatetime = {
1205
+ /**
1206
+ * Attribute Key.
1207
+ */
1208
+ key: string;
1209
+ /**
1210
+ * Attribute type.
1211
+ */
1212
+ type: string;
1213
+ /**
1214
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1215
+ */
1216
+ status: AttributeStatus;
1217
+ /**
1218
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1219
+ */
1220
+ error: string;
1221
+ /**
1222
+ * Is attribute required?
1223
+ */
1224
+ required: boolean;
1225
+ /**
1226
+ * Is attribute an array?
1227
+ */
1228
+ array?: boolean;
1229
+ /**
1230
+ * Attribute creation date in ISO 8601 format.
1231
+ */
1232
+ $createdAt: string;
1233
+ /**
1234
+ * Attribute update date in ISO 8601 format.
1235
+ */
1236
+ $updatedAt: string;
1237
+ /**
1238
+ * ISO 8601 format.
1239
+ */
1240
+ format: string;
1241
+ /**
1242
+ * Default value for attribute when not provided. Only null is optional
1243
+ */
1244
+ default?: string;
1245
+ }
1246
+
1247
+ /**
1248
+ * AttributeRelationship
1249
+ */
1250
+ export type AttributeRelationship = {
1251
+ /**
1252
+ * Attribute Key.
1253
+ */
1254
+ key: string;
1255
+ /**
1256
+ * Attribute type.
1257
+ */
1258
+ type: string;
1259
+ /**
1260
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1261
+ */
1262
+ status: AttributeStatus;
1263
+ /**
1264
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1265
+ */
1266
+ error: string;
1267
+ /**
1268
+ * Is attribute required?
1269
+ */
1270
+ required: boolean;
1271
+ /**
1272
+ * Is attribute an array?
1273
+ */
1274
+ array?: boolean;
1275
+ /**
1276
+ * Attribute creation date in ISO 8601 format.
1277
+ */
1278
+ $createdAt: string;
1279
+ /**
1280
+ * Attribute update date in ISO 8601 format.
1281
+ */
1282
+ $updatedAt: string;
1283
+ /**
1284
+ * The ID of the related collection.
1285
+ */
1286
+ relatedCollection: string;
1287
+ /**
1288
+ * The type of the relationship.
1289
+ */
1290
+ relationType: string;
1291
+ /**
1292
+ * Is the relationship two-way?
1293
+ */
1294
+ twoWay: boolean;
1295
+ /**
1296
+ * The key of the two-way relationship.
1297
+ */
1298
+ twoWayKey: string;
1299
+ /**
1300
+ * How deleting the parent document will propagate to child documents.
1301
+ */
1302
+ onDelete: string;
1303
+ /**
1304
+ * Whether this is the parent or child side of the relationship
1305
+ */
1306
+ side: string;
1307
+ }
1308
+
1309
+ /**
1310
+ * AttributePoint
1311
+ */
1312
+ export type AttributePoint = {
1313
+ /**
1314
+ * Attribute Key.
1315
+ */
1316
+ key: string;
1317
+ /**
1318
+ * Attribute type.
1319
+ */
1320
+ type: string;
1321
+ /**
1322
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1323
+ */
1324
+ status: AttributeStatus;
1325
+ /**
1326
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1327
+ */
1328
+ error: string;
1329
+ /**
1330
+ * Is attribute required?
1331
+ */
1332
+ required: boolean;
1333
+ /**
1334
+ * Is attribute an array?
1335
+ */
1336
+ array?: boolean;
1337
+ /**
1338
+ * Attribute creation date in ISO 8601 format.
1339
+ */
1340
+ $createdAt: string;
1341
+ /**
1342
+ * Attribute update date in ISO 8601 format.
1343
+ */
1344
+ $updatedAt: string;
1345
+ /**
1346
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1347
+ */
1348
+ default?: any[];
1349
+ }
1350
+
1351
+ /**
1352
+ * AttributeLine
1353
+ */
1354
+ export type AttributeLine = {
1355
+ /**
1356
+ * Attribute Key.
1357
+ */
1358
+ key: string;
1359
+ /**
1360
+ * Attribute type.
1361
+ */
1362
+ type: string;
1363
+ /**
1364
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1365
+ */
1366
+ status: AttributeStatus;
1367
+ /**
1368
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1369
+ */
1370
+ error: string;
1371
+ /**
1372
+ * Is attribute required?
1373
+ */
1374
+ required: boolean;
1375
+ /**
1376
+ * Is attribute an array?
1377
+ */
1378
+ array?: boolean;
1379
+ /**
1380
+ * Attribute creation date in ISO 8601 format.
1381
+ */
1382
+ $createdAt: string;
1383
+ /**
1384
+ * Attribute update date in ISO 8601 format.
1385
+ */
1386
+ $updatedAt: string;
1387
+ /**
1388
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1389
+ */
1390
+ default?: any[];
1391
+ }
1392
+
1393
+ /**
1394
+ * AttributePolygon
1395
+ */
1396
+ export type AttributePolygon = {
1397
+ /**
1398
+ * Attribute Key.
1399
+ */
1400
+ key: string;
1401
+ /**
1402
+ * Attribute type.
1403
+ */
1404
+ type: string;
1405
+ /**
1406
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1407
+ */
1408
+ status: AttributeStatus;
1409
+ /**
1410
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1411
+ */
1412
+ error: string;
1413
+ /**
1414
+ * Is attribute required?
1415
+ */
1416
+ required: boolean;
1417
+ /**
1418
+ * Is attribute an array?
1419
+ */
1420
+ array?: boolean;
1421
+ /**
1422
+ * Attribute creation date in ISO 8601 format.
1423
+ */
1424
+ $createdAt: string;
1425
+ /**
1426
+ * Attribute update date in ISO 8601 format.
1427
+ */
1428
+ $updatedAt: string;
1429
+ /**
1430
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1431
+ */
1432
+ default?: any[];
1433
+ }
1434
+
1435
+ /**
1436
+ * Table
1437
+ */
1438
+ export type Table = {
1439
+ /**
1440
+ * Table ID.
1441
+ */
1442
+ $id: string;
1443
+ /**
1444
+ * Table creation date in ISO 8601 format.
1445
+ */
1446
+ $createdAt: string;
1447
+ /**
1448
+ * Table update date in ISO 8601 format.
1449
+ */
1450
+ $updatedAt: string;
1451
+ /**
1452
+ * Table permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
1453
+ */
1454
+ $permissions: string[];
1455
+ /**
1456
+ * Database ID.
1457
+ */
1458
+ databaseId: string;
1459
+ /**
1460
+ * Table name.
1461
+ */
1462
+ name: string;
1463
+ /**
1464
+ * Table enabled. Can be 'enabled' or 'disabled'. When disabled, the table is inaccessible to users, but remains accessible to Server SDKs using API keys.
1465
+ */
1466
+ enabled: boolean;
1467
+ /**
1468
+ * Whether row-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
1469
+ */
1470
+ rowSecurity: boolean;
1471
+ /**
1472
+ * Table columns.
1473
+ */
1474
+ columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnString)[];
1475
+ /**
1476
+ * Table indexes.
1477
+ */
1478
+ indexes: ColumnIndex[];
1479
+ }
1480
+
1481
+ /**
1482
+ * Columns List
1483
+ */
1484
+ export type ColumnList = {
1485
+ /**
1486
+ * Total number of columns in the given table.
1487
+ */
1488
+ total: number;
1489
+ /**
1490
+ * List of columns.
1491
+ */
1492
+ columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnString)[];
1493
+ }
1494
+
1495
+ /**
1496
+ * ColumnString
1497
+ */
1498
+ export type ColumnString = {
1499
+ /**
1500
+ * Column Key.
1501
+ */
1502
+ key: string;
1503
+ /**
1504
+ * Column type.
1505
+ */
1506
+ type: string;
1507
+ /**
1508
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1509
+ */
1510
+ status: ColumnStatus;
1511
+ /**
1512
+ * Error message. Displays error generated on failure of creating or deleting an column.
1513
+ */
1514
+ error: string;
1515
+ /**
1516
+ * Is column required?
1517
+ */
1518
+ required: boolean;
1519
+ /**
1520
+ * Is column an array?
1521
+ */
1522
+ array?: boolean;
1523
+ /**
1524
+ * Column creation date in ISO 8601 format.
1525
+ */
1526
+ $createdAt: string;
1527
+ /**
1528
+ * Column update date in ISO 8601 format.
1529
+ */
1530
+ $updatedAt: string;
1531
+ /**
1532
+ * Column size.
1533
+ */
1534
+ size: number;
1535
+ /**
1536
+ * Default value for column when not provided. Cannot be set when column is required.
1537
+ */
1538
+ default?: string;
1539
+ /**
1540
+ * Defines whether this column is encrypted or not.
1541
+ */
1542
+ encrypt?: boolean;
1543
+ }
1544
+
1545
+ /**
1546
+ * ColumnInteger
1547
+ */
1548
+ export type ColumnInteger = {
1549
+ /**
1550
+ * Column Key.
1551
+ */
1552
+ key: string;
1553
+ /**
1554
+ * Column type.
1555
+ */
1556
+ type: string;
1557
+ /**
1558
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1559
+ */
1560
+ status: ColumnStatus;
1561
+ /**
1562
+ * Error message. Displays error generated on failure of creating or deleting an column.
1563
+ */
1564
+ error: string;
1565
+ /**
1566
+ * Is column required?
1567
+ */
1568
+ required: boolean;
1569
+ /**
1570
+ * Is column an array?
1571
+ */
1572
+ array?: boolean;
1573
+ /**
1574
+ * Column creation date in ISO 8601 format.
1575
+ */
1576
+ $createdAt: string;
1577
+ /**
1578
+ * Column update date in ISO 8601 format.
1579
+ */
1580
+ $updatedAt: string;
1581
+ /**
1582
+ * Minimum value to enforce for new documents.
1583
+ */
1584
+ min?: number;
1585
+ /**
1586
+ * Maximum value to enforce for new documents.
1587
+ */
1588
+ max?: number;
1589
+ /**
1590
+ * Default value for column when not provided. Cannot be set when column is required.
1591
+ */
1592
+ default?: number;
1593
+ }
1594
+
1595
+ /**
1596
+ * ColumnFloat
1597
+ */
1598
+ export type ColumnFloat = {
1599
+ /**
1600
+ * Column Key.
1601
+ */
1602
+ key: string;
1603
+ /**
1604
+ * Column type.
1605
+ */
1606
+ type: string;
1607
+ /**
1608
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1609
+ */
1610
+ status: ColumnStatus;
1611
+ /**
1612
+ * Error message. Displays error generated on failure of creating or deleting an column.
1613
+ */
1614
+ error: string;
1615
+ /**
1616
+ * Is column required?
1617
+ */
1618
+ required: boolean;
1619
+ /**
1620
+ * Is column an array?
1621
+ */
1622
+ array?: boolean;
1623
+ /**
1624
+ * Column creation date in ISO 8601 format.
1625
+ */
1626
+ $createdAt: string;
1627
+ /**
1628
+ * Column update date in ISO 8601 format.
1629
+ */
1630
+ $updatedAt: string;
1631
+ /**
1632
+ * Minimum value to enforce for new documents.
1633
+ */
1634
+ min?: number;
1635
+ /**
1636
+ * Maximum value to enforce for new documents.
1637
+ */
1638
+ max?: number;
1639
+ /**
1640
+ * Default value for column when not provided. Cannot be set when column is required.
1641
+ */
1642
+ default?: number;
1643
+ }
1644
+
1645
+ /**
1646
+ * ColumnBoolean
1647
+ */
1648
+ export type ColumnBoolean = {
1649
+ /**
1650
+ * Column Key.
1651
+ */
1652
+ key: string;
1653
+ /**
1654
+ * Column type.
1655
+ */
1656
+ type: string;
1657
+ /**
1658
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1659
+ */
1660
+ status: ColumnStatus;
1661
+ /**
1662
+ * Error message. Displays error generated on failure of creating or deleting an column.
1663
+ */
1664
+ error: string;
1665
+ /**
1666
+ * Is column required?
1667
+ */
1668
+ required: boolean;
1669
+ /**
1670
+ * Is column an array?
1671
+ */
1672
+ array?: boolean;
1673
+ /**
1674
+ * Column creation date in ISO 8601 format.
1675
+ */
1676
+ $createdAt: string;
1677
+ /**
1678
+ * Column update date in ISO 8601 format.
1679
+ */
1680
+ $updatedAt: string;
1681
+ /**
1682
+ * Default value for column when not provided. Cannot be set when column is required.
1683
+ */
1684
+ default?: boolean;
1685
+ }
1686
+
1687
+ /**
1688
+ * ColumnEmail
1689
+ */
1690
+ export type ColumnEmail = {
1691
+ /**
1692
+ * Column Key.
1693
+ */
1694
+ key: string;
1695
+ /**
1696
+ * Column type.
1697
+ */
1698
+ type: string;
1699
+ /**
1700
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1701
+ */
1702
+ status: ColumnStatus;
1703
+ /**
1704
+ * Error message. Displays error generated on failure of creating or deleting an column.
1705
+ */
1706
+ error: string;
1707
+ /**
1708
+ * Is column required?
1709
+ */
1710
+ required: boolean;
1711
+ /**
1712
+ * Is column an array?
1713
+ */
1714
+ array?: boolean;
1715
+ /**
1716
+ * Column creation date in ISO 8601 format.
1717
+ */
1718
+ $createdAt: string;
1719
+ /**
1720
+ * Column update date in ISO 8601 format.
1721
+ */
1722
+ $updatedAt: string;
1723
+ /**
1724
+ * String format.
1725
+ */
1726
+ format: string;
1727
+ /**
1728
+ * Default value for column when not provided. Cannot be set when column is required.
1729
+ */
1730
+ default?: string;
1731
+ }
1732
+
1733
+ /**
1734
+ * ColumnEnum
1735
+ */
1736
+ export type ColumnEnum = {
1737
+ /**
1738
+ * Column Key.
1739
+ */
1740
+ key: string;
1741
+ /**
1742
+ * Column type.
1743
+ */
1744
+ type: string;
1745
+ /**
1746
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1747
+ */
1748
+ status: ColumnStatus;
1749
+ /**
1750
+ * Error message. Displays error generated on failure of creating or deleting an column.
1751
+ */
1752
+ error: string;
1753
+ /**
1754
+ * Is column required?
1755
+ */
1756
+ required: boolean;
1757
+ /**
1758
+ * Is column an array?
1759
+ */
1760
+ array?: boolean;
1761
+ /**
1762
+ * Column creation date in ISO 8601 format.
1763
+ */
1764
+ $createdAt: string;
1765
+ /**
1766
+ * Column update date in ISO 8601 format.
1767
+ */
1768
+ $updatedAt: string;
1769
+ /**
1770
+ * Array of elements in enumerated type.
1771
+ */
1772
+ elements: string[];
1773
+ /**
1774
+ * String format.
1775
+ */
1776
+ format: string;
1777
+ /**
1778
+ * Default value for column when not provided. Cannot be set when column is required.
1779
+ */
1780
+ default?: string;
1781
+ }
1782
+
1783
+ /**
1784
+ * ColumnIP
1785
+ */
1786
+ export type ColumnIp = {
1787
+ /**
1788
+ * Column Key.
1789
+ */
1790
+ key: string;
1791
+ /**
1792
+ * Column type.
1793
+ */
1794
+ type: string;
1795
+ /**
1796
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1797
+ */
1798
+ status: ColumnStatus;
1799
+ /**
1800
+ * Error message. Displays error generated on failure of creating or deleting an column.
1801
+ */
1802
+ error: string;
1803
+ /**
1804
+ * Is column required?
1805
+ */
1806
+ required: boolean;
1807
+ /**
1808
+ * Is column an array?
1809
+ */
1810
+ array?: boolean;
1811
+ /**
1812
+ * Column creation date in ISO 8601 format.
1813
+ */
1814
+ $createdAt: string;
1815
+ /**
1816
+ * Column update date in ISO 8601 format.
1817
+ */
1818
+ $updatedAt: string;
1819
+ /**
1820
+ * String format.
1821
+ */
1822
+ format: string;
1823
+ /**
1824
+ * Default value for column when not provided. Cannot be set when column is required.
1825
+ */
1826
+ default?: string;
1827
+ }
1828
+
1829
+ /**
1830
+ * ColumnURL
1831
+ */
1832
+ export type ColumnUrl = {
942
1833
  /**
943
- * Attribute Key.
1834
+ * Column Key.
944
1835
  */
945
1836
  key: string;
946
1837
  /**
947
- * Attribute type.
1838
+ * Column type.
948
1839
  */
949
1840
  type: string;
950
1841
  /**
951
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1842
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
952
1843
  */
953
- status: string;
1844
+ status: ColumnStatus;
954
1845
  /**
955
- * Error message. Displays error generated on failure of creating or deleting an attribute.
1846
+ * Error message. Displays error generated on failure of creating or deleting an column.
956
1847
  */
957
1848
  error: string;
958
1849
  /**
959
- * Is attribute required?
1850
+ * Is column required?
960
1851
  */
961
1852
  required: boolean;
962
1853
  /**
963
- * Is attribute an array?
1854
+ * Is column an array?
964
1855
  */
965
1856
  array?: boolean;
966
1857
  /**
967
- * Attribute creation date in ISO 8601 format.
1858
+ * Column creation date in ISO 8601 format.
968
1859
  */
969
1860
  $createdAt: string;
970
1861
  /**
971
- * Attribute update date in ISO 8601 format.
1862
+ * Column update date in ISO 8601 format.
972
1863
  */
973
1864
  $updatedAt: string;
974
1865
  /**
@@ -976,265 +1867,307 @@ export namespace Models {
976
1867
  */
977
1868
  format: string;
978
1869
  /**
979
- * Default value for attribute when not provided. Cannot be set when attribute is required.
1870
+ * Default value for column when not provided. Cannot be set when column is required.
980
1871
  */
981
1872
  default?: string;
982
1873
  }
983
1874
 
984
1875
  /**
985
- * AttributeEnum
1876
+ * ColumnDatetime
986
1877
  */
987
- export type AttributeEnum = {
1878
+ export type ColumnDatetime = {
988
1879
  /**
989
- * Attribute Key.
1880
+ * Column Key.
990
1881
  */
991
1882
  key: string;
992
1883
  /**
993
- * Attribute type.
1884
+ * Column type.
994
1885
  */
995
1886
  type: string;
996
1887
  /**
997
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1888
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
998
1889
  */
999
- status: string;
1890
+ status: ColumnStatus;
1000
1891
  /**
1001
- * Error message. Displays error generated on failure of creating or deleting an attribute.
1892
+ * Error message. Displays error generated on failure of creating or deleting an column.
1002
1893
  */
1003
1894
  error: string;
1004
1895
  /**
1005
- * Is attribute required?
1896
+ * Is column required?
1006
1897
  */
1007
1898
  required: boolean;
1008
1899
  /**
1009
- * Is attribute an array?
1900
+ * Is column an array?
1010
1901
  */
1011
1902
  array?: boolean;
1012
1903
  /**
1013
- * Attribute creation date in ISO 8601 format.
1904
+ * Column creation date in ISO 8601 format.
1014
1905
  */
1015
1906
  $createdAt: string;
1016
1907
  /**
1017
- * Attribute update date in ISO 8601 format.
1908
+ * Column update date in ISO 8601 format.
1018
1909
  */
1019
1910
  $updatedAt: string;
1020
1911
  /**
1021
- * Array of elements in enumerated type.
1022
- */
1023
- elements: string[];
1024
- /**
1025
- * String format.
1912
+ * ISO 8601 format.
1026
1913
  */
1027
1914
  format: string;
1028
1915
  /**
1029
- * Default value for attribute when not provided. Cannot be set when attribute is required.
1916
+ * Default value for column when not provided. Only null is optional
1030
1917
  */
1031
1918
  default?: string;
1032
1919
  }
1033
1920
 
1034
1921
  /**
1035
- * AttributeIP
1922
+ * ColumnRelationship
1036
1923
  */
1037
- export type AttributeIp = {
1924
+ export type ColumnRelationship = {
1038
1925
  /**
1039
- * Attribute Key.
1926
+ * Column Key.
1040
1927
  */
1041
1928
  key: string;
1042
1929
  /**
1043
- * Attribute type.
1930
+ * Column type.
1044
1931
  */
1045
1932
  type: string;
1046
1933
  /**
1047
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1934
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1048
1935
  */
1049
- status: string;
1936
+ status: ColumnStatus;
1050
1937
  /**
1051
- * Error message. Displays error generated on failure of creating or deleting an attribute.
1938
+ * Error message. Displays error generated on failure of creating or deleting an column.
1052
1939
  */
1053
1940
  error: string;
1054
1941
  /**
1055
- * Is attribute required?
1942
+ * Is column required?
1056
1943
  */
1057
1944
  required: boolean;
1058
1945
  /**
1059
- * Is attribute an array?
1946
+ * Is column an array?
1060
1947
  */
1061
1948
  array?: boolean;
1062
1949
  /**
1063
- * Attribute creation date in ISO 8601 format.
1950
+ * Column creation date in ISO 8601 format.
1064
1951
  */
1065
1952
  $createdAt: string;
1066
1953
  /**
1067
- * Attribute update date in ISO 8601 format.
1954
+ * Column update date in ISO 8601 format.
1068
1955
  */
1069
1956
  $updatedAt: string;
1070
1957
  /**
1071
- * String format.
1958
+ * The ID of the related table.
1072
1959
  */
1073
- format: string;
1960
+ relatedTable: string;
1074
1961
  /**
1075
- * Default value for attribute when not provided. Cannot be set when attribute is required.
1962
+ * The type of the relationship.
1076
1963
  */
1077
- default?: string;
1964
+ relationType: string;
1965
+ /**
1966
+ * Is the relationship two-way?
1967
+ */
1968
+ twoWay: boolean;
1969
+ /**
1970
+ * The key of the two-way relationship.
1971
+ */
1972
+ twoWayKey: string;
1973
+ /**
1974
+ * How deleting the parent document will propagate to child documents.
1975
+ */
1976
+ onDelete: string;
1977
+ /**
1978
+ * Whether this is the parent or child side of the relationship
1979
+ */
1980
+ side: string;
1078
1981
  }
1079
1982
 
1080
1983
  /**
1081
- * AttributeURL
1984
+ * ColumnPoint
1082
1985
  */
1083
- export type AttributeUrl = {
1986
+ export type ColumnPoint = {
1084
1987
  /**
1085
- * Attribute Key.
1988
+ * Column Key.
1086
1989
  */
1087
1990
  key: string;
1088
1991
  /**
1089
- * Attribute type.
1992
+ * Column type.
1090
1993
  */
1091
1994
  type: string;
1092
1995
  /**
1093
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1996
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1094
1997
  */
1095
- status: string;
1998
+ status: ColumnStatus;
1096
1999
  /**
1097
- * Error message. Displays error generated on failure of creating or deleting an attribute.
2000
+ * Error message. Displays error generated on failure of creating or deleting an column.
1098
2001
  */
1099
2002
  error: string;
1100
2003
  /**
1101
- * Is attribute required?
2004
+ * Is column required?
1102
2005
  */
1103
2006
  required: boolean;
1104
2007
  /**
1105
- * Is attribute an array?
2008
+ * Is column an array?
1106
2009
  */
1107
2010
  array?: boolean;
1108
2011
  /**
1109
- * Attribute creation date in ISO 8601 format.
2012
+ * Column creation date in ISO 8601 format.
1110
2013
  */
1111
2014
  $createdAt: string;
1112
2015
  /**
1113
- * Attribute update date in ISO 8601 format.
2016
+ * Column update date in ISO 8601 format.
1114
2017
  */
1115
2018
  $updatedAt: string;
1116
2019
  /**
1117
- * String format.
1118
- */
1119
- format: string;
1120
- /**
1121
- * Default value for attribute when not provided. Cannot be set when attribute is required.
2020
+ * Default value for column when not provided. Cannot be set when column is required.
1122
2021
  */
1123
- default?: string;
2022
+ default?: any[];
1124
2023
  }
1125
2024
 
1126
2025
  /**
1127
- * AttributeDatetime
2026
+ * ColumnLine
1128
2027
  */
1129
- export type AttributeDatetime = {
2028
+ export type ColumnLine = {
1130
2029
  /**
1131
- * Attribute Key.
2030
+ * Column Key.
1132
2031
  */
1133
2032
  key: string;
1134
2033
  /**
1135
- * Attribute type.
2034
+ * Column type.
1136
2035
  */
1137
2036
  type: string;
1138
2037
  /**
1139
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
2038
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1140
2039
  */
1141
- status: string;
2040
+ status: ColumnStatus;
1142
2041
  /**
1143
- * Error message. Displays error generated on failure of creating or deleting an attribute.
2042
+ * Error message. Displays error generated on failure of creating or deleting an column.
1144
2043
  */
1145
2044
  error: string;
1146
2045
  /**
1147
- * Is attribute required?
2046
+ * Is column required?
1148
2047
  */
1149
2048
  required: boolean;
1150
2049
  /**
1151
- * Is attribute an array?
2050
+ * Is column an array?
1152
2051
  */
1153
2052
  array?: boolean;
1154
2053
  /**
1155
- * Attribute creation date in ISO 8601 format.
2054
+ * Column creation date in ISO 8601 format.
1156
2055
  */
1157
2056
  $createdAt: string;
1158
2057
  /**
1159
- * Attribute update date in ISO 8601 format.
2058
+ * Column update date in ISO 8601 format.
1160
2059
  */
1161
2060
  $updatedAt: string;
1162
2061
  /**
1163
- * ISO 8601 format.
1164
- */
1165
- format: string;
1166
- /**
1167
- * Default value for attribute when not provided. Only null is optional
2062
+ * Default value for column when not provided. Cannot be set when column is required.
1168
2063
  */
1169
- default?: string;
2064
+ default?: any[];
1170
2065
  }
1171
2066
 
1172
2067
  /**
1173
- * AttributeRelationship
2068
+ * ColumnPolygon
1174
2069
  */
1175
- export type AttributeRelationship = {
2070
+ export type ColumnPolygon = {
1176
2071
  /**
1177
- * Attribute Key.
2072
+ * Column Key.
1178
2073
  */
1179
2074
  key: string;
1180
2075
  /**
1181
- * Attribute type.
2076
+ * Column type.
1182
2077
  */
1183
2078
  type: string;
1184
2079
  /**
1185
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
2080
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1186
2081
  */
1187
- status: string;
2082
+ status: ColumnStatus;
1188
2083
  /**
1189
- * Error message. Displays error generated on failure of creating or deleting an attribute.
2084
+ * Error message. Displays error generated on failure of creating or deleting an column.
1190
2085
  */
1191
2086
  error: string;
1192
2087
  /**
1193
- * Is attribute required?
2088
+ * Is column required?
1194
2089
  */
1195
2090
  required: boolean;
1196
2091
  /**
1197
- * Is attribute an array?
2092
+ * Is column an array?
1198
2093
  */
1199
2094
  array?: boolean;
1200
2095
  /**
1201
- * Attribute creation date in ISO 8601 format.
2096
+ * Column creation date in ISO 8601 format.
1202
2097
  */
1203
2098
  $createdAt: string;
1204
2099
  /**
1205
- * Attribute update date in ISO 8601 format.
2100
+ * Column update date in ISO 8601 format.
1206
2101
  */
1207
2102
  $updatedAt: string;
1208
2103
  /**
1209
- * The ID of the related collection.
2104
+ * Default value for column when not provided. Cannot be set when column is required.
1210
2105
  */
1211
- relatedCollection: string;
2106
+ default?: any[];
2107
+ }
2108
+
2109
+ /**
2110
+ * Index
2111
+ */
2112
+ export type Index = {
1212
2113
  /**
1213
- * The type of the relationship.
2114
+ * Index ID.
1214
2115
  */
1215
- relationType: string;
2116
+ $id: string;
1216
2117
  /**
1217
- * Is the relationship two-way?
2118
+ * Index creation date in ISO 8601 format.
1218
2119
  */
1219
- twoWay: boolean;
2120
+ $createdAt: string;
1220
2121
  /**
1221
- * The key of the two-way relationship.
2122
+ * Index update date in ISO 8601 format.
1222
2123
  */
1223
- twoWayKey: string;
2124
+ $updatedAt: string;
1224
2125
  /**
1225
- * How deleting the parent document will propagate to child documents.
2126
+ * Index key.
1226
2127
  */
1227
- onDelete: string;
2128
+ key: string;
1228
2129
  /**
1229
- * Whether this is the parent or child side of the relationship
2130
+ * Index type.
1230
2131
  */
1231
- side: string;
2132
+ type: string;
2133
+ /**
2134
+ * Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
2135
+ */
2136
+ status: IndexStatus;
2137
+ /**
2138
+ * Error message. Displays error generated on failure of creating or deleting an index.
2139
+ */
2140
+ error: string;
2141
+ /**
2142
+ * Index attributes.
2143
+ */
2144
+ attributes: string[];
2145
+ /**
2146
+ * Index attributes length.
2147
+ */
2148
+ lengths: number[];
2149
+ /**
2150
+ * Index orders.
2151
+ */
2152
+ orders?: string[];
1232
2153
  }
1233
2154
 
1234
2155
  /**
1235
2156
  * Index
1236
2157
  */
1237
- export type Index = {
2158
+ export type ColumnIndex = {
2159
+ /**
2160
+ * Index ID.
2161
+ */
2162
+ $id: string;
2163
+ /**
2164
+ * Index creation date in ISO 8601 format.
2165
+ */
2166
+ $createdAt: string;
2167
+ /**
2168
+ * Index update date in ISO 8601 format.
2169
+ */
2170
+ $updatedAt: string;
1238
2171
  /**
1239
2172
  * Index Key.
1240
2173
  */
@@ -1252,27 +2185,58 @@ export namespace Models {
1252
2185
  */
1253
2186
  error: string;
1254
2187
  /**
1255
- * Index attributes.
2188
+ * Index columns.
1256
2189
  */
1257
- attributes: string[];
2190
+ columns: string[];
1258
2191
  /**
1259
- * Index attributes length.
2192
+ * Index columns length.
1260
2193
  */
1261
2194
  lengths: number[];
1262
2195
  /**
1263
2196
  * Index orders.
1264
2197
  */
1265
2198
  orders?: string[];
2199
+ }
2200
+
2201
+ /**
2202
+ * Row
2203
+ */
2204
+ export type Row = {
1266
2205
  /**
1267
- * Index creation date in ISO 8601 format.
2206
+ * Row ID.
2207
+ */
2208
+ $id: string;
2209
+ /**
2210
+ * Row automatically incrementing ID.
2211
+ */
2212
+ $sequence: number;
2213
+ /**
2214
+ * Table ID.
2215
+ */
2216
+ $tableId: string;
2217
+ /**
2218
+ * Database ID.
2219
+ */
2220
+ $databaseId: string;
2221
+ /**
2222
+ * Row creation date in ISO 8601 format.
1268
2223
  */
1269
2224
  $createdAt: string;
1270
2225
  /**
1271
- * Index update date in ISO 8601 format.
2226
+ * Row update date in ISO 8601 format.
1272
2227
  */
1273
2228
  $updatedAt: string;
2229
+ /**
2230
+ * Row permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
2231
+ */
2232
+ $permissions: string[];
1274
2233
  }
1275
2234
 
2235
+ export type DefaultRow = Row & {
2236
+ [key: string]: any;
2237
+ [__default]: true;
2238
+ };
2239
+
1276
2240
  /**
1277
2241
  * Document
1278
2242
  */
@@ -1830,7 +2794,7 @@ export namespace Models {
1830
2794
  */
1831
2795
  country: string;
1832
2796
  /**
1833
- * Continent code. A two character continent code &quot;AF&quot; for Africa, &quot;AN&quot; for Antarctica, &quot;AS&quot; for Asia, &quot;EU&quot; for Europe, &quot;NA&quot; for North America, &quot;OC&quot; for Oceania, and &quot;SA&quot; for South America.
2797
+ * Continent code. A two character continent code "AF" for Africa, "AN" for Antarctica, "AS" for Asia, "EU" for Europe, "NA" for North America, "OC" for Oceania, and "SA" for South America.
1834
2798
  */
1835
2799
  continentCode: string;
1836
2800
  /**
@@ -1963,6 +2927,10 @@ export namespace Models {
1963
2927
  * Virus scanning is enabled.
1964
2928
  */
1965
2929
  antivirus: boolean;
2930
+ /**
2931
+ * Image transformations are enabled.
2932
+ */
2933
+ transformations: boolean;
1966
2934
  }
1967
2935
 
1968
2936
  /**
@@ -2112,7 +3080,7 @@ export namespace Models {
2112
3080
  */
2113
3081
  enabled: boolean;
2114
3082
  /**
2115
- * Is the site 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 site to update it with the latest configuration.
3083
+ * Is the site deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the site to update it with the latest configuration.
2116
3084
  */
2117
3085
  live: boolean;
2118
3086
  /**
@@ -2124,7 +3092,7 @@ export namespace Models {
2124
3092
  */
2125
3093
  framework: string;
2126
3094
  /**
2127
- * Site&#039;s active deployment ID.
3095
+ * Site's active deployment ID.
2128
3096
  */
2129
3097
  deploymentId: string;
2130
3098
  /**
@@ -2140,7 +3108,7 @@ export namespace Models {
2140
3108
  */
2141
3109
  deploymentScreenshotDark: string;
2142
3110
  /**
2143
- * Site&#039;s latest deployment ID.
3111
+ * Site's latest deployment ID.
2144
3112
  */
2145
3113
  latestDeploymentId: string;
2146
3114
  /**
@@ -2148,7 +3116,7 @@ export namespace Models {
2148
3116
  */
2149
3117
  latestDeploymentCreatedAt: string;
2150
3118
  /**
2151
- * Status of latest deployment. Possible values are &quot;waiting&quot;, &quot;processing&quot;, &quot;building&quot;, &quot;ready&quot;, and &quot;failed&quot;.
3119
+ * Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
2152
3120
  */
2153
3121
  latestDeploymentStatus: string;
2154
3122
  /**
@@ -2338,7 +3306,7 @@ export namespace Models {
2338
3306
  */
2339
3307
  enabled: boolean;
2340
3308
  /**
2341
- * 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.
3309
+ * Is the function deployed with the latest configuration? This is set to false if you'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.
2342
3310
  */
2343
3311
  live: boolean;
2344
3312
  /**
@@ -2350,7 +3318,7 @@ export namespace Models {
2350
3318
  */
2351
3319
  runtime: string;
2352
3320
  /**
2353
- * Function&#039;s active deployment ID.
3321
+ * Function's active deployment ID.
2354
3322
  */
2355
3323
  deploymentId: string;
2356
3324
  /**
@@ -2358,7 +3326,7 @@ export namespace Models {
2358
3326
  */
2359
3327
  deploymentCreatedAt: string;
2360
3328
  /**
2361
- * Function&#039;s latest deployment ID.
3329
+ * Function's latest deployment ID.
2362
3330
  */
2363
3331
  latestDeploymentId: string;
2364
3332
  /**
@@ -2366,7 +3334,7 @@ export namespace Models {
2366
3334
  */
2367
3335
  latestDeploymentCreatedAt: string;
2368
3336
  /**
2369
- * Status of latest deployment. Possible values are &quot;waiting&quot;, &quot;processing&quot;, &quot;building&quot;, &quot;ready&quot;, and &quot;failed&quot;.
3337
+ * Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
2370
3338
  */
2371
3339
  latestDeploymentStatus: string;
2372
3340
  /**
@@ -2612,13 +3580,17 @@ export namespace Models {
2612
3580
  */
2613
3581
  private: boolean;
2614
3582
  /**
2615
- * VCS (Version Control System) repository&#039;s default branch name.
3583
+ * VCS (Version Control System) repository's default branch name.
2616
3584
  */
2617
3585
  defaultBranch: string;
2618
3586
  /**
2619
3587
  * Last commit date in ISO 8601 format.
2620
3588
  */
2621
3589
  pushedAt: string;
3590
+ /**
3591
+ * Environment variables found in .env files
3592
+ */
3593
+ variables: string[];
2622
3594
  }
2623
3595
 
2624
3596
  /**
@@ -2646,7 +3618,7 @@ export namespace Models {
2646
3618
  */
2647
3619
  private: boolean;
2648
3620
  /**
2649
- * VCS (Version Control System) repository&#039;s default branch name.
3621
+ * VCS (Version Control System) repository's default branch name.
2650
3622
  */
2651
3623
  defaultBranch: string;
2652
3624
  /**
@@ -2654,7 +3626,11 @@ export namespace Models {
2654
3626
  */
2655
3627
  pushedAt: string;
2656
3628
  /**
2657
- * Auto-detected framework. Empty if type is not &quot;framework&quot;.
3629
+ * Environment variables found in .env files
3630
+ */
3631
+ variables: string[];
3632
+ /**
3633
+ * Auto-detected framework. Empty if type is not "framework".
2658
3634
  */
2659
3635
  framework: string;
2660
3636
  }
@@ -2684,7 +3660,7 @@ export namespace Models {
2684
3660
  */
2685
3661
  private: boolean;
2686
3662
  /**
2687
- * VCS (Version Control System) repository&#039;s default branch name.
3663
+ * VCS (Version Control System) repository's default branch name.
2688
3664
  */
2689
3665
  defaultBranch: string;
2690
3666
  /**
@@ -2692,7 +3668,11 @@ export namespace Models {
2692
3668
  */
2693
3669
  pushedAt: string;
2694
3670
  /**
2695
- * Auto-detected runtime. Empty if type is not &quot;runtime&quot;.
3671
+ * Environment variables found in .env files
3672
+ */
3673
+ variables: string[];
3674
+ /**
3675
+ * Auto-detected runtime. Empty if type is not "runtime".
2696
3676
  */
2697
3677
  runtime: string;
2698
3678
  }
@@ -2701,6 +3681,10 @@ export namespace Models {
2701
3681
  * DetectionFramework
2702
3682
  */
2703
3683
  export type DetectionFramework = {
3684
+ /**
3685
+ * Environment variables found in .env files
3686
+ */
3687
+ variables?: DetectionVariable[];
2704
3688
  /**
2705
3689
  * Framework
2706
3690
  */
@@ -2723,6 +3707,10 @@ export namespace Models {
2723
3707
  * DetectionRuntime
2724
3708
  */
2725
3709
  export type DetectionRuntime = {
3710
+ /**
3711
+ * Environment variables found in .env files
3712
+ */
3713
+ variables?: DetectionVariable[];
2726
3714
  /**
2727
3715
  * Runtime
2728
3716
  */
@@ -2737,6 +3725,20 @@ export namespace Models {
2737
3725
  commands: string;
2738
3726
  }
2739
3727
 
3728
+ /**
3729
+ * DetectionVariable
3730
+ */
3731
+ export type DetectionVariable = {
3732
+ /**
3733
+ * Name of environment variable
3734
+ */
3735
+ name: string;
3736
+ /**
3737
+ * Value of environment variable
3738
+ */
3739
+ value: string;
3740
+ }
3741
+
2740
3742
  /**
2741
3743
  * VcsContents
2742
3744
  */
@@ -2916,9 +3918,9 @@ export namespace Models {
2916
3918
  */
2917
3919
  screenshotDark: string;
2918
3920
  /**
2919
- * The deployment status. Possible values are &quot;waiting&quot;, &quot;processing&quot;, &quot;building&quot;, &quot;ready&quot;, and &quot;failed&quot;.
3921
+ * The deployment status. Possible values are "waiting", "processing", "building", "ready", and "failed".
2920
3922
  */
2921
- status: string;
3923
+ status: DeploymentStatus;
2922
3924
  /**
2923
3925
  * The build logs.
2924
3926
  */
@@ -2939,10 +3941,6 @@ export namespace Models {
2939
3941
  * The url of the vcs provider repository
2940
3942
  */
2941
3943
  providerRepositoryUrl: string;
2942
- /**
2943
- * The branch of the vcs repository
2944
- */
2945
- providerBranch: string;
2946
3944
  /**
2947
3945
  * The commit hash of the vcs commit
2948
3946
  */
@@ -2963,6 +3961,10 @@ export namespace Models {
2963
3961
  * The url of the vcs commit
2964
3962
  */
2965
3963
  providerCommitUrl: string;
3964
+ /**
3965
+ * The branch of the vcs repository
3966
+ */
3967
+ providerBranch: string;
2966
3968
  /**
2967
3969
  * The branch of the vcs repository
2968
3970
  */
@@ -2982,7 +3984,7 @@ export namespace Models {
2982
3984
  */
2983
3985
  $createdAt: string;
2984
3986
  /**
2985
- * Execution upate date in ISO 8601 format.
3987
+ * Execution update date in ISO 8601 format.
2986
3988
  */
2987
3989
  $updatedAt: string;
2988
3990
  /**
@@ -2993,14 +3995,18 @@ export namespace Models {
2993
3995
  * Function ID.
2994
3996
  */
2995
3997
  functionId: string;
3998
+ /**
3999
+ * Function's deployment ID used to create the execution.
4000
+ */
4001
+ deploymentId: string;
2996
4002
  /**
2997
4003
  * The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.
2998
4004
  */
2999
- trigger: string;
4005
+ trigger: ExecutionTrigger;
3000
4006
  /**
3001
- * The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.
4007
+ * The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, `failed`, or `scheduled`.
3002
4008
  */
3003
- status: string;
4009
+ status: ExecutionStatus;
3004
4010
  /**
3005
4011
  * HTTP request method type.
3006
4012
  */
@@ -3010,7 +4016,7 @@ export namespace Models {
3010
4016
  */
3011
4017
  requestPath: string;
3012
4018
  /**
3013
- * HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
4019
+ * HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
3014
4020
  */
3015
4021
  requestHeaders: Headers[];
3016
4022
  /**
@@ -3120,7 +4126,7 @@ export namespace Models {
3120
4126
  */
3121
4127
  authPasswordHistory: number;
3122
4128
  /**
3123
- * Whether or not to check user&#039;s password against most commonly used passwords.
4129
+ * Whether or not to check user's password against most commonly used passwords.
3124
4130
  */
3125
4131
  authPasswordDictionary: boolean;
3126
4132
  /**
@@ -3147,6 +4153,10 @@ export namespace Models {
3147
4153
  * Whether or not to show user MFA status in the teams membership response.
3148
4154
  */
3149
4155
  authMembershipsMfa: boolean;
4156
+ /**
4157
+ * Whether or not all existing sessions should be invalidated on password change
4158
+ */
4159
+ authInvalidateSessions: boolean;
3150
4160
  /**
3151
4161
  * List of Auth Providers.
3152
4162
  */
@@ -3248,9 +4258,13 @@ export namespace Models {
3248
4258
  */
3249
4259
  serviceStatusForAvatars: boolean;
3250
4260
  /**
3251
- * Databases service status
4261
+ * Databases (legacy) service status
3252
4262
  */
3253
4263
  serviceStatusForDatabases: boolean;
4264
+ /**
4265
+ * TablesDB service status
4266
+ */
4267
+ serviceStatusForTablesdb: boolean;
3254
4268
  /**
3255
4269
  * Locale service status
3256
4270
  */
@@ -3291,6 +4305,18 @@ export namespace Models {
3291
4305
  * Project region
3292
4306
  */
3293
4307
  region: string;
4308
+ /**
4309
+ * Project status
4310
+ */
4311
+ status: string;
4312
+ /**
4313
+ * Billing limits reached
4314
+ */
4315
+ billingLimits: BillingLimits;
4316
+ /**
4317
+ * Project blocks information
4318
+ */
4319
+ blocks: Block[];
3294
4320
  }
3295
4321
 
3296
4322
  /**
@@ -3492,9 +4518,9 @@ export namespace Models {
3492
4518
  */
3493
4519
  name: string;
3494
4520
  /**
3495
- * Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.
4521
+ * Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, flutter-linux, flutter-macos, flutter-windows, apple-ios, apple-macos, apple-watchos, apple-tvos, android, unity, react-native-ios, react-native-android.
3496
4522
  */
3497
- type: string;
4523
+ type: PlatformType;
3498
4524
  /**
3499
4525
  * Platform Key. iOS bundle ID or Android package name. Empty string for other platforms.
3500
4526
  */
@@ -3546,11 +4572,11 @@ export namespace Models {
3546
4572
  */
3547
4573
  secret: boolean;
3548
4574
  /**
3549
- * Service to which the variable belongs. Possible values are &quot;project&quot;, &quot;function&quot;
4575
+ * Service to which the variable belongs. Possible values are "project", "function"
3550
4576
  */
3551
4577
  resourceType: string;
3552
4578
  /**
3553
- * 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.
4579
+ * ID of resource to which the variable belongs. If resourceType is "project", it is empty. If resourceType is "function", it is ID of the function.
3554
4580
  */
3555
4581
  resourceId: string;
3556
4582
  }
@@ -3662,9 +4688,9 @@ export namespace Models {
3662
4688
  */
3663
4689
  version: string;
3664
4690
  /**
3665
- * Antivirus status. Possible values can are: `disabled`, `offline`, `online`
4691
+ * Antivirus status. Possible values are: `disabled`, `offline`, `online`
3666
4692
  */
3667
- status: string;
4693
+ status: HealthAntivirusStatus;
3668
4694
  }
3669
4695
 
3670
4696
  /**
@@ -3690,9 +4716,9 @@ export namespace Models {
3690
4716
  */
3691
4717
  ping: number;
3692
4718
  /**
3693
- * Service status. Possible values can are: `pass`, `fail`
4719
+ * Service status. Possible values are: `pass`, `fail`
3694
4720
  */
3695
- status: string;
4721
+ status: HealthCheckStatus;
3696
4722
  }
3697
4723
 
3698
4724
  /**
@@ -3795,10 +4821,18 @@ export namespace Models {
3795
4821
  * Total aggregated number of collections.
3796
4822
  */
3797
4823
  collectionsTotal: number;
4824
+ /**
4825
+ * Total aggregated number of tables.
4826
+ */
4827
+ tablesTotal: number;
3798
4828
  /**
3799
4829
  * Total aggregated number of documents.
3800
4830
  */
3801
4831
  documentsTotal: number;
4832
+ /**
4833
+ * Total aggregated number of rows.
4834
+ */
4835
+ rowsTotal: number;
3802
4836
  /**
3803
4837
  * Total aggregated number of total databases storage in bytes.
3804
4838
  */
@@ -3819,10 +4853,18 @@ export namespace Models {
3819
4853
  * Aggregated number of collections per period.
3820
4854
  */
3821
4855
  collections: Metric[];
4856
+ /**
4857
+ * Aggregated number of tables per period.
4858
+ */
4859
+ tables: Metric[];
3822
4860
  /**
3823
4861
  * Aggregated number of documents per period.
3824
4862
  */
3825
4863
  documents: Metric[];
4864
+ /**
4865
+ * Aggregated number of rows per period.
4866
+ */
4867
+ rows: Metric[];
3826
4868
  /**
3827
4869
  * An array of the aggregated number of databases storage in bytes per period.
3828
4870
  */
@@ -3848,11 +4890,19 @@ export namespace Models {
3848
4890
  /**
3849
4891
  * Total aggregated number of collections.
3850
4892
  */
3851
- collectionsTotal: number;
4893
+ collectionsTotal: number;
4894
+ /**
4895
+ * Total aggregated number of tables.
4896
+ */
4897
+ tablesTotal: number;
3852
4898
  /**
3853
4899
  * Total aggregated number of documents.
3854
4900
  */
3855
4901
  documentsTotal: number;
4902
+ /**
4903
+ * Total aggregated number of rows.
4904
+ */
4905
+ rowsTotal: number;
3856
4906
  /**
3857
4907
  * Total aggregated number of total storage used in bytes.
3858
4908
  */
@@ -3869,10 +4919,18 @@ export namespace Models {
3869
4919
  * Aggregated number of collections per period.
3870
4920
  */
3871
4921
  collections: Metric[];
4922
+ /**
4923
+ * Aggregated number of tables per period.
4924
+ */
4925
+ tables: Metric[];
3872
4926
  /**
3873
4927
  * Aggregated number of documents per period.
3874
4928
  */
3875
4929
  documents: Metric[];
4930
+ /**
4931
+ * Aggregated number of rows per period.
4932
+ */
4933
+ rows: Metric[];
3876
4934
  /**
3877
4935
  * Aggregated storage used in bytes per period.
3878
4936
  */
@@ -3887,6 +4945,24 @@ export namespace Models {
3887
4945
  databaseWrites: Metric[];
3888
4946
  }
3889
4947
 
4948
+ /**
4949
+ * UsageTable
4950
+ */
4951
+ export type UsageTable = {
4952
+ /**
4953
+ * Time range of the usage stats.
4954
+ */
4955
+ range: string;
4956
+ /**
4957
+ * Total aggregated number of of rows.
4958
+ */
4959
+ rowsTotal: number;
4960
+ /**
4961
+ * Aggregated number of rows per period.
4962
+ */
4963
+ rows: Metric[];
4964
+ }
4965
+
3890
4966
  /**
3891
4967
  * UsageCollection
3892
4968
  */
@@ -4475,6 +5551,10 @@ export namespace Models {
4475
5551
  * Total aggregated number of documents.
4476
5552
  */
4477
5553
  documentsTotal: number;
5554
+ /**
5555
+ * Total aggregated number of rows.
5556
+ */
5557
+ rowsTotal: number;
4478
5558
  /**
4479
5559
  * Total aggregated number of databases.
4480
5560
  */
@@ -4599,6 +5679,22 @@ export namespace Models {
4599
5679
  * Aggregated stats for total backups storage.
4600
5680
  */
4601
5681
  backupsStorageTotal: number;
5682
+ /**
5683
+ * An array of aggregated number of screenshots generated.
5684
+ */
5685
+ screenshotsGenerated: Metric[];
5686
+ /**
5687
+ * Total aggregated number of screenshots generated.
5688
+ */
5689
+ screenshotsGeneratedTotal: number;
5690
+ /**
5691
+ * An array of aggregated number of Imagine credits in the given period.
5692
+ */
5693
+ imagineCredits: Metric[];
5694
+ /**
5695
+ * Total aggregated number of Imagine credits.
5696
+ */
5697
+ imagineCreditsTotal: number;
4602
5698
  }
4603
5699
 
4604
5700
  /**
@@ -4658,43 +5754,43 @@ export namespace Models {
4658
5754
  */
4659
5755
  domain: string;
4660
5756
  /**
4661
- * Action definition for the rule. Possible values are &quot;api&quot;, &quot;deployment&quot;, or &quot;redirect&quot;
5757
+ * Action definition for the rule. Possible values are "api", "deployment", or "redirect"
4662
5758
  */
4663
5759
  type: string;
4664
5760
  /**
4665
- * Defines how the rule was created. Possible values are &quot;manual&quot; or &quot;deployment&quot;
5761
+ * Defines how the rule was created. Possible values are "manual" or "deployment"
4666
5762
  */
4667
5763
  trigger: string;
4668
5764
  /**
4669
- * URL to redirect to. Used if type is &quot;redirect&quot;
5765
+ * URL to redirect to. Used if type is "redirect"
4670
5766
  */
4671
5767
  redirectUrl: string;
4672
5768
  /**
4673
- * Status code to apply during redirect. Used if type is &quot;redirect&quot;
5769
+ * Status code to apply during redirect. Used if type is "redirect"
4674
5770
  */
4675
5771
  redirectStatusCode: number;
4676
5772
  /**
4677
- * ID of deployment. Used if type is &quot;deployment&quot;
5773
+ * ID of deployment. Used if type is "deployment"
4678
5774
  */
4679
5775
  deploymentId: string;
4680
5776
  /**
4681
- * Type of deployment. Possible values are &quot;function&quot;, &quot;site&quot;. Used if rule&#039;s type is &quot;deployment&quot;.
5777
+ * Type of deployment. Possible values are "function", "site". Used if rule's type is "deployment".
4682
5778
  */
4683
- deploymentResourceType: string;
5779
+ deploymentResourceType: ProxyRuleDeploymentResourceType;
4684
5780
  /**
4685
- * ID deployment&#039;s resource. Used if type is &quot;deployment&quot;
5781
+ * ID deployment's resource. Used if type is "deployment"
4686
5782
  */
4687
5783
  deploymentResourceId: string;
4688
5784
  /**
4689
- * Name of Git branch that updates rule. Used if type is &quot;deployment&quot;
5785
+ * Name of Git branch that updates rule. Used if type is "deployment"
4690
5786
  */
4691
5787
  deploymentVcsProviderBranch: string;
4692
5788
  /**
4693
- * Domain verification status. Possible values are &quot;created&quot;, &quot;verifying&quot;, &quot;verified&quot; and &quot;unverified&quot;
5789
+ * Domain verification status. Possible values are "created", "verifying", "verified" and "unverified"
4694
5790
  */
4695
- status: string;
5791
+ status: ProxyRuleStatus;
4696
5792
  /**
4697
- * Certificate generation logs. This will return an empty string if generation did not run, or succeeded.
5793
+ * Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.
4698
5794
  */
4699
5795
  logs: string;
4700
5796
  /**
@@ -4767,10 +5863,18 @@ export namespace Models {
4767
5863
  * A target for your Appwrite custom domains.
4768
5864
  */
4769
5865
  _APP_DOMAIN_TARGET_A: string;
5866
+ /**
5867
+ * Maximum build timeout in seconds.
5868
+ */
5869
+ _APP_COMPUTE_BUILD_TIMEOUT: number;
4770
5870
  /**
4771
5871
  * AAAA target for your Appwrite custom domains.
4772
5872
  */
4773
5873
  _APP_DOMAIN_TARGET_AAAA: string;
5874
+ /**
5875
+ * CAA target for your Appwrite custom domains.
5876
+ */
5877
+ _APP_DOMAIN_TARGET_CAA: string;
4774
5878
  /**
4775
5879
  * Maximum file size allowed for file upload in bytes.
4776
5880
  */
@@ -4780,7 +5884,7 @@ export namespace Models {
4780
5884
  */
4781
5885
  _APP_COMPUTE_SIZE_LIMIT: number;
4782
5886
  /**
4783
- * 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;.
5887
+ * Defines if usage stats are enabled. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'.
4784
5888
  */
4785
5889
  _APP_USAGE_STATS: string;
4786
5890
  /**
@@ -4978,7 +6082,7 @@ export namespace Models {
4978
6082
  /**
4979
6083
  * Status of delivery.
4980
6084
  */
4981
- status: string;
6085
+ status: MessageStatus;
4982
6086
  }
4983
6087
 
4984
6088
  /**
@@ -5019,6 +6123,36 @@ export namespace Models {
5019
6123
  subscribe: string[];
5020
6124
  }
5021
6125
 
6126
+ /**
6127
+ * Transaction
6128
+ */
6129
+ export type Transaction = {
6130
+ /**
6131
+ * Transaction ID.
6132
+ */
6133
+ $id: string;
6134
+ /**
6135
+ * Transaction creation time in ISO 8601 format.
6136
+ */
6137
+ $createdAt: string;
6138
+ /**
6139
+ * Transaction update date in ISO 8601 format.
6140
+ */
6141
+ $updatedAt: string;
6142
+ /**
6143
+ * Current status of the transaction. One of: pending, committing, committed, rolled_back, failed.
6144
+ */
6145
+ status: string;
6146
+ /**
6147
+ * Number of operations in the transaction.
6148
+ */
6149
+ operations: number;
6150
+ /**
6151
+ * Expiration time in ISO 8601 format.
6152
+ */
6153
+ expiresAt: string;
6154
+ }
6155
+
5022
6156
  /**
5023
6157
  * Subscriber
5024
6158
  */
@@ -5155,6 +6289,10 @@ export namespace Models {
5155
6289
  * All errors that occurred during the migration process.
5156
6290
  */
5157
6291
  errors: string[];
6292
+ /**
6293
+ * Migration options used during the migration process.
6294
+ */
6295
+ options: object;
5158
6296
  }
5159
6297
 
5160
6298
  /**
@@ -5174,9 +6312,9 @@ export namespace Models {
5174
6312
  */
5175
6313
  database: number;
5176
6314
  /**
5177
- * Number of documents to be migrated.
6315
+ * Number of rows to be migrated.
5178
6316
  */
5179
- document: number;
6317
+ row: number;
5180
6318
  /**
5181
6319
  * Number of files to be migrated.
5182
6320
  */
@@ -5203,6 +6341,10 @@ export namespace Models {
5203
6341
  * AdditionalResource
5204
6342
  */
5205
6343
  export type AdditionalResource = {
6344
+ /**
6345
+ * Resource name
6346
+ */
6347
+ name: string;
5206
6348
  /**
5207
6349
  * Resource unit
5208
6350
  */
@@ -5219,6 +6361,10 @@ export namespace Models {
5219
6361
  * Resource value
5220
6362
  */
5221
6363
  value: number;
6364
+ /**
6365
+ * Description on invoice
6366
+ */
6367
+ invoiceDesc: string;
5222
6368
  }
5223
6369
 
5224
6370
  /**
@@ -5325,6 +6471,40 @@ export namespace Models {
5325
6471
  * Aggregated amount
5326
6472
  */
5327
6473
  amount: number;
6474
+ /**
6475
+ * Aggregation project breakdown
6476
+ */
6477
+ breakdown: AggregationBreakdown[];
6478
+ /**
6479
+ * Usage resources
6480
+ */
6481
+ resources: UsageResources[];
6482
+ }
6483
+
6484
+ /**
6485
+ * AggregationBreakdown
6486
+ */
6487
+ export type AggregationBreakdown = {
6488
+ /**
6489
+ * Aggregation ID.
6490
+ */
6491
+ $id: string;
6492
+ /**
6493
+ * Project name
6494
+ */
6495
+ name: string;
6496
+ /**
6497
+ * Project region
6498
+ */
6499
+ region: string;
6500
+ /**
6501
+ * Aggregated amount
6502
+ */
6503
+ amount: number;
6504
+ /**
6505
+ *
6506
+ */
6507
+ resources: UsageResources[];
5328
6508
  }
5329
6509
 
5330
6510
  /**
@@ -5472,7 +6652,7 @@ export namespace Models {
5472
6652
  */
5473
6653
  projects: number;
5474
6654
  /**
5475
- * Platofrms
6655
+ * Platforms
5476
6656
  */
5477
6657
  platforms: number;
5478
6658
  /**
@@ -5487,6 +6667,18 @@ export namespace Models {
5487
6667
  * Databases
5488
6668
  */
5489
6669
  databases: number;
6670
+ /**
6671
+ * Database reads per month
6672
+ */
6673
+ databasesReads: number;
6674
+ /**
6675
+ * Database writes per month
6676
+ */
6677
+ databasesWrites: number;
6678
+ /**
6679
+ * Database batch size limit
6680
+ */
6681
+ databasesBatchSize: number;
5490
6682
  /**
5491
6683
  * Buckets
5492
6684
  */
@@ -5499,18 +6691,46 @@ export namespace Models {
5499
6691
  * Functions
5500
6692
  */
5501
6693
  functions: number;
6694
+ /**
6695
+ * Sites
6696
+ */
6697
+ sites: number;
5502
6698
  /**
5503
6699
  * Function executions
5504
6700
  */
5505
6701
  executions: number;
6702
+ /**
6703
+ * GB hours for functions
6704
+ */
6705
+ GBHours: number;
5506
6706
  /**
5507
6707
  * Realtime connections
5508
6708
  */
5509
6709
  realtime: number;
6710
+ /**
6711
+ * Messages per month
6712
+ */
6713
+ messages: number;
6714
+ /**
6715
+ * Topics for messaging
6716
+ */
6717
+ topics: number;
6718
+ /**
6719
+ * SMS authentications per month
6720
+ */
6721
+ authPhone: number;
6722
+ /**
6723
+ * Custom domains
6724
+ */
6725
+ domains: number;
5510
6726
  /**
5511
6727
  * Log days
5512
6728
  */
5513
6729
  logs: number;
6730
+ /**
6731
+ * Alert threshold percentage
6732
+ */
6733
+ alertLimit: number;
5514
6734
  /**
5515
6735
  * Additional resources
5516
6736
  */
@@ -5571,6 +6791,10 @@ export namespace Models {
5571
6791
  * Does plan support backup policies.
5572
6792
  */
5573
6793
  backupsEnabled: boolean;
6794
+ /**
6795
+ * Whether usage addons are calculated per project.
6796
+ */
6797
+ usagePerProject: boolean;
5574
6798
  /**
5575
6799
  * How many policies does plan support
5576
6800
  */
@@ -5587,6 +6811,18 @@ export namespace Models {
5587
6811
  * Does the plan support encrypted string attributes or not.
5588
6812
  */
5589
6813
  databasesAllowEncrypt: boolean;
6814
+ /**
6815
+ * Plan specific limits
6816
+ */
6817
+ limits?: BillingPlanLimits;
6818
+ /**
6819
+ * Group of this billing plan for variants
6820
+ */
6821
+ group: BillingPlanGroup;
6822
+ /**
6823
+ * Details of the program this plan is a part of.
6824
+ */
6825
+ program?: Program;
5590
6826
  }
5591
6827
 
5592
6828
  /**
@@ -5597,6 +6833,10 @@ export namespace Models {
5597
6833
  * Addon seats
5598
6834
  */
5599
6835
  seats: BillingPlanAddonDetails;
6836
+ /**
6837
+ * Addon projects
6838
+ */
6839
+ projects: BillingPlanAddonDetails;
5600
6840
  }
5601
6841
 
5602
6842
  /**
@@ -5607,6 +6847,10 @@ export namespace Models {
5607
6847
  * Is the addon supported in the plan?
5608
6848
  */
5609
6849
  supported: boolean;
6850
+ /**
6851
+ * Addon plan included value
6852
+ */
6853
+ planIncluded: number;
5610
6854
  /**
5611
6855
  * Addon limit
5612
6856
  */
@@ -5627,6 +6871,24 @@ export namespace Models {
5627
6871
  * Resource value
5628
6872
  */
5629
6873
  value: number;
6874
+ /**
6875
+ * Description on invoice
6876
+ */
6877
+ invoiceDesc: string;
6878
+ }
6879
+
6880
+ /**
6881
+ * BillingPlanLimits
6882
+ */
6883
+ export type BillingPlanLimits = {
6884
+ /**
6885
+ * Credits limit per billing cycle
6886
+ */
6887
+ credits?: number;
6888
+ /**
6889
+ * Daily credits limit (if applicable)
6890
+ */
6891
+ dailyCredits?: number;
5630
6892
  }
5631
6893
 
5632
6894
  /**
@@ -5661,6 +6923,36 @@ export namespace Models {
5661
6923
  * Auth phone limit
5662
6924
  */
5663
6925
  authPhone: number;
6926
+ /**
6927
+ * Budget limit percentage
6928
+ */
6929
+ budgetLimit: number;
6930
+ }
6931
+
6932
+ /**
6933
+ * Block
6934
+ */
6935
+ export type Block = {
6936
+ /**
6937
+ * Block creation date in ISO 8601 format.
6938
+ */
6939
+ $createdAt: string;
6940
+ /**
6941
+ * Resource type that is blocked
6942
+ */
6943
+ resourceType: string;
6944
+ /**
6945
+ * Resource identifier that is blocked
6946
+ */
6947
+ resourceId: string;
6948
+ /**
6949
+ * Reason for the block
6950
+ */
6951
+ reason: string;
6952
+ /**
6953
+ * Block expiration date in ISO 8601 format.
6954
+ */
6955
+ expiredAt: string;
5664
6956
  }
5665
6957
 
5666
6958
  /**
@@ -5717,6 +7009,48 @@ export namespace Models {
5717
7009
  footer?: boolean;
5718
7010
  }
5719
7011
 
7012
+ /**
7013
+ * Program
7014
+ */
7015
+ export type Program = {
7016
+ /**
7017
+ * Program ID
7018
+ */
7019
+ $id: string;
7020
+ /**
7021
+ * Program title
7022
+ */
7023
+ title: string;
7024
+ /**
7025
+ * Program description
7026
+ */
7027
+ description: string;
7028
+ /**
7029
+ * Program tag for highlighting on console
7030
+ */
7031
+ tag: string;
7032
+ /**
7033
+ * Program icon for highlighting on console
7034
+ */
7035
+ icon: string;
7036
+ /**
7037
+ * URL for more information on this program
7038
+ */
7039
+ url: string;
7040
+ /**
7041
+ * Whether this program is active
7042
+ */
7043
+ active: boolean;
7044
+ /**
7045
+ * Whether this program is external
7046
+ */
7047
+ external: boolean;
7048
+ /**
7049
+ * Billing plan ID that this is program is associated with.
7050
+ */
7051
+ billingPlanId: string;
7052
+ }
7053
+
5720
7054
  /**
5721
7055
  * Coupon
5722
7056
  */
@@ -5833,6 +7167,52 @@ export namespace Models {
5833
7167
  available: number;
5834
7168
  }
5835
7169
 
7170
+ /**
7171
+ * Downgrade Feedback
7172
+ */
7173
+ export type DowngradeFeedback = {
7174
+ /**
7175
+ * Feedback ID.
7176
+ */
7177
+ $id: string;
7178
+ /**
7179
+ * Feedback creation date in ISO 8601 format.
7180
+ */
7181
+ $createdAt: string;
7182
+ /**
7183
+ * Feedback update date in ISO 8601 format.
7184
+ */
7185
+ $updatedAt: string;
7186
+ /**
7187
+ * Feedback reason
7188
+ */
7189
+ title: string;
7190
+ /**
7191
+ * Feedback message
7192
+ */
7193
+ message: string;
7194
+ /**
7195
+ * Plan ID downgrading from
7196
+ */
7197
+ fromPlanId: string;
7198
+ /**
7199
+ * Plan ID downgrading to
7200
+ */
7201
+ toPlanId: string;
7202
+ /**
7203
+ * Organization ID
7204
+ */
7205
+ teamId: string;
7206
+ /**
7207
+ * User ID who submitted feedback
7208
+ */
7209
+ userId: string;
7210
+ /**
7211
+ * Console version
7212
+ */
7213
+ version: string;
7214
+ }
7215
+
5836
7216
  /**
5837
7217
  * Invoice
5838
7218
  */
@@ -5868,7 +7248,7 @@ export namespace Models {
5868
7248
  /**
5869
7249
  * Usage breakdown per resource
5870
7250
  */
5871
- usage: UsageInvoice[];
7251
+ usage: UsageResources[];
5872
7252
  /**
5873
7253
  * Invoice Amount
5874
7254
  */
@@ -5964,9 +7344,17 @@ export namespace Models {
5964
7344
  */
5965
7345
  budgetAlerts: number[];
5966
7346
  /**
5967
- * Billing plan selected. Can be one of `tier-0`, `tier-1` or `tier-2`.
7347
+ * Organization's billing plan ID.
5968
7348
  */
5969
7349
  billingPlan: string;
7350
+ /**
7351
+ * Organization's billing plan ID.
7352
+ */
7353
+ billingPlanId: string;
7354
+ /**
7355
+ * Organization's billing plan.
7356
+ */
7357
+ billingPlanDetails: BillingPlan;
5970
7358
  /**
5971
7359
  * Billing email set for the organization.
5972
7360
  */
@@ -6024,19 +7412,19 @@ export namespace Models {
6024
7412
  */
6025
7413
  agreementBAA: string;
6026
7414
  /**
6027
- * Program manager&#039;s name.
7415
+ * Program manager's name.
6028
7416
  */
6029
7417
  programManagerName: string;
6030
7418
  /**
6031
- * Program manager&#039;s calendar link.
7419
+ * Program manager's calendar link.
6032
7420
  */
6033
7421
  programManagerCalendar: string;
6034
7422
  /**
6035
- * Program&#039;s discord channel name.
7423
+ * Program's discord channel name.
6036
7424
  */
6037
7425
  programDiscordChannelName: string;
6038
7426
  /**
6039
- * Program&#039;s discord channel URL.
7427
+ * Program's discord channel URL.
6040
7428
  */
6041
7429
  programDiscordChannelUrl: string;
6042
7430
  /**
@@ -6055,12 +7443,38 @@ export namespace Models {
6055
7443
  * Marked for deletion
6056
7444
  */
6057
7445
  markedForDeletion: boolean;
7446
+ /**
7447
+ * Product with which the organization is associated (appwrite or imagine)
7448
+ */
7449
+ platform: string;
6058
7450
  /**
6059
7451
  * Selected projects
6060
7452
  */
6061
7453
  projects: string[];
6062
7454
  }
6063
7455
 
7456
+ /**
7457
+ * PaymentAuthentication
7458
+ */
7459
+ export type PaymentAuthentication = {
7460
+ /**
7461
+ * Message for the end user to show on Console.
7462
+ */
7463
+ message: string;
7464
+ /**
7465
+ * Stripe client secret to use for validation.
7466
+ */
7467
+ clientSecret: string;
7468
+ /**
7469
+ * Organization ID for which the payment authentication is needed.
7470
+ */
7471
+ organizationId: string;
7472
+ /**
7473
+ * Invoice ID against which the payment needs to be validated.
7474
+ */
7475
+ invoiceId: string;
7476
+ }
7477
+
6064
7478
  /**
6065
7479
  * paymentMethod
6066
7480
  */
@@ -6125,12 +7539,16 @@ export namespace Models {
6125
7539
  * Country of the payment method
6126
7540
  */
6127
7541
  country: string;
7542
+ /**
7543
+ * State of the payment method
7544
+ */
7545
+ state: string;
6128
7546
  /**
6129
7547
  * Last payment error associated with the payment method.
6130
7548
  */
6131
7549
  lastError: string;
6132
7550
  /**
6133
- * True when it&#039;s the default payment method.
7551
+ * True when it's the default payment method.
6134
7552
  */
6135
7553
  default: boolean;
6136
7554
  /**
@@ -6341,6 +7759,22 @@ export namespace Models {
6341
7759
  * Aggregated stats for total file transformations.
6342
7760
  */
6343
7761
  imageTransformationsTotal: number;
7762
+ /**
7763
+ * Aggregated stats for file transformations.
7764
+ */
7765
+ screenshotsGenerated: Metric[];
7766
+ /**
7767
+ * Aggregated stats for total file transformations.
7768
+ */
7769
+ screenshotsGeneratedTotal: number;
7770
+ /**
7771
+ * Aggregated stats for imagine credits.
7772
+ */
7773
+ imagineCredits: Metric[];
7774
+ /**
7775
+ * Aggregated stats for total imagine credits.
7776
+ */
7777
+ imagineCreditsTotal: number;
6344
7778
  /**
6345
7779
  * Aggregated stats for total users.
6346
7780
  */
@@ -6467,6 +7901,18 @@ export namespace Models {
6467
7901
  * Aggregated stats for total file transformations.
6468
7902
  */
6469
7903
  imageTransformationsTotal: number;
7904
+ /**
7905
+ * Aggregated stats for file transformations.
7906
+ */
7907
+ screenshotsGenerated: Metric[];
7908
+ /**
7909
+ * Aggregated stats for total file transformations.
7910
+ */
7911
+ screenshotsGeneratedTotal: number;
7912
+ /**
7913
+ * Aggregated stats for imagine credits.
7914
+ */
7915
+ imagineCredits: number;
6470
7916
  }
6471
7917
 
6472
7918
  /**
@@ -6490,11 +7936,11 @@ export namespace Models {
6490
7936
  */
6491
7937
  domain: string;
6492
7938
  /**
6493
- * Domain registrar (e.g. &quot;appwrite&quot; or &quot;third_party&quot;).
7939
+ * Domain registrar (e.g. "appwrite" or "third_party").
6494
7940
  */
6495
7941
  registrar: string;
6496
7942
  /**
6497
- * Nameservers setting. &quot;Appwrite&quot; or empty string.
7943
+ * Nameservers setting. "Appwrite" or empty string.
6498
7944
  */
6499
7945
  nameservers: string;
6500
7946
  /**
@@ -6578,9 +8024,9 @@ export namespace Models {
6578
8024
  }
6579
8025
 
6580
8026
  /**
6581
- * UsageInvoice
8027
+ * UsageResource
6582
8028
  */
6583
- export type UsageInvoice = {
8029
+ export type UsageResources = {
6584
8030
  /**
6585
8031
  * Invoice name
6586
8032
  */
@@ -6601,6 +8047,10 @@ export namespace Models {
6601
8047
  * Invoice description
6602
8048
  */
6603
8049
  desc: string;
8050
+ /**
8051
+ * Resource ID
8052
+ */
8053
+ resourceId: string;
6604
8054
  }
6605
8055
 
6606
8056
  /**
@@ -6639,6 +8089,10 @@ export namespace Models {
6639
8089
  * Image transformation additional resources
6640
8090
  */
6641
8091
  imageTransformations: AdditionalResource;
8092
+ /**
8093
+ * Credits additional resources
8094
+ */
8095
+ credits: AdditionalResource;
6642
8096
  }
6643
8097
 
6644
8098
  /**
@@ -6716,7 +8170,7 @@ export namespace Models {
6716
8170
  */
6717
8171
  trialEndDate?: string;
6718
8172
  /**
6719
- * Organization&#039;s existing credits
8173
+ * Organization's existing credits
6720
8174
  */
6721
8175
  organizationCredits: number;
6722
8176
  }
@@ -6750,7 +8204,7 @@ export namespace Models {
6750
8204
  */
6751
8205
  export type AggregationTeamList = {
6752
8206
  /**
6753
- * Total number of aggregations documents that matched your query.
8207
+ * Total number of aggregations that matched your query.
6754
8208
  */
6755
8209
  total: number;
6756
8210
  /**
@@ -6764,7 +8218,7 @@ export namespace Models {
6764
8218
  */
6765
8219
  export type BackupArchiveList = {
6766
8220
  /**
6767
- * Total number of archives documents that matched your query.
8221
+ * Total number of archives that matched your query.
6768
8222
  */
6769
8223
  total: number;
6770
8224
  /**
@@ -6778,7 +8232,7 @@ export namespace Models {
6778
8232
  */
6779
8233
  export type BackupPolicyList = {
6780
8234
  /**
6781
- * Total number of policies documents that matched your query.
8235
+ * Total number of policies that matched your query.
6782
8236
  */
6783
8237
  total: number;
6784
8238
  /**
@@ -6792,7 +8246,7 @@ export namespace Models {
6792
8246
  */
6793
8247
  export type BackupRestorationList = {
6794
8248
  /**
6795
- * Total number of restorations documents that matched your query.
8249
+ * Total number of restorations that matched your query.
6796
8250
  */
6797
8251
  total: number;
6798
8252
  /**
@@ -6806,7 +8260,7 @@ export namespace Models {
6806
8260
  */
6807
8261
  export type InvoiceList = {
6808
8262
  /**
6809
- * Total number of invoices documents that matched your query.
8263
+ * Total number of invoices that matched your query.
6810
8264
  */
6811
8265
  total: number;
6812
8266
  /**
@@ -6820,7 +8274,7 @@ export namespace Models {
6820
8274
  */
6821
8275
  export type BillingAddressList = {
6822
8276
  /**
6823
- * Total number of billingAddresses documents that matched your query.
8277
+ * Total number of billingAddresses that matched your query.
6824
8278
  */
6825
8279
  total: number;
6826
8280
  /**
@@ -6834,7 +8288,7 @@ export namespace Models {
6834
8288
  */
6835
8289
  export type BillingPlanList = {
6836
8290
  /**
6837
- * Total number of plans documents that matched your query.
8291
+ * Total number of plans that matched your query.
6838
8292
  */
6839
8293
  total: number;
6840
8294
  /**
@@ -6844,11 +8298,11 @@ export namespace Models {
6844
8298
  }
6845
8299
 
6846
8300
  /**
6847
- * Organizations List
8301
+ * Organizations list
6848
8302
  */
6849
8303
  export type OrganizationList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
6850
8304
  /**
6851
- * Total number of teams documents that matched your query.
8305
+ * Total number of teams that matched your query.
6852
8306
  */
6853
8307
  total: number;
6854
8308
  /**
@@ -6862,7 +8316,7 @@ export namespace Models {
6862
8316
  */
6863
8317
  export type PaymentMethodList = {
6864
8318
  /**
6865
- * Total number of paymentMethods documents that matched your query.
8319
+ * Total number of paymentMethods that matched your query.
6866
8320
  */
6867
8321
  total: number;
6868
8322
  /**
@@ -6876,7 +8330,7 @@ export namespace Models {
6876
8330
  */
6877
8331
  export type ConsoleRegionList = {
6878
8332
  /**
6879
- * Total number of regions documents that matched your query.
8333
+ * Total number of regions that matched your query.
6880
8334
  */
6881
8335
  total: number;
6882
8336
  /**
@@ -6890,7 +8344,7 @@ export namespace Models {
6890
8344
  */
6891
8345
  export type DomainsList = {
6892
8346
  /**
6893
- * Total number of domains documents that matched your query.
8347
+ * Total number of domains that matched your query.
6894
8348
  */
6895
8349
  total: number;
6896
8350
  /**
@@ -6904,7 +8358,7 @@ export namespace Models {
6904
8358
  */
6905
8359
  export type DnsRecordsList = {
6906
8360
  /**
6907
- * Total number of dnsRecords documents that matched your query.
8361
+ * Total number of dnsRecords that matched your query.
6908
8362
  */
6909
8363
  total: number;
6910
8364
  /**