@appwrite.io/console 1.9.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 (746) hide show
  1. package/.github/workflows/publish.yml +9 -8
  2. package/CHANGELOG.md +51 -6
  3. package/LICENSE +1 -1
  4. package/README.md +84 -4
  5. package/dist/cjs/sdk.js +15258 -6036
  6. package/dist/cjs/sdk.js.map +1 -1
  7. package/dist/esm/sdk.js +15256 -6037
  8. package/dist/esm/sdk.js.map +1 -1
  9. package/dist/iife/sdk.js +15258 -6036
  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 +16 -11
  101. package/docs/examples/databases/create-documents.md +7 -6
  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 +13 -0
  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 +14 -0
  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 -5
  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 +1925 -239
  634. package/src/operator.ts +308 -0
  635. package/src/query.ts +246 -2
  636. package/src/services/account.ts +2278 -235
  637. package/src/services/assistant.ts +29 -3
  638. package/src/services/avatars.ts +511 -52
  639. package/src/services/backups.ts +400 -42
  640. package/src/services/console.ts +499 -19
  641. package/src/services/databases.ts +3584 -430
  642. package/src/services/domains.ts +1795 -266
  643. package/src/services/functions.ts +1197 -155
  644. package/src/services/graphql.ts +56 -4
  645. package/src/services/health.ts +586 -42
  646. package/src/services/locale.ts +18 -2
  647. package/src/services/messaging.ts +3418 -386
  648. package/src/services/migrations.ts +653 -65
  649. package/src/services/organizations.ts +1411 -126
  650. package/src/services/project.ts +173 -17
  651. package/src/services/projects.ts +2808 -282
  652. package/src/services/proxy.ts +272 -26
  653. package/src/services/realtime.ts +437 -0
  654. package/src/services/sites.ts +1129 -143
  655. package/src/services/storage.ts +672 -89
  656. package/src/services/tables-db.ts +5439 -0
  657. package/src/services/teams.ts +535 -65
  658. package/src/services/tokens.ts +171 -16
  659. package/src/services/users.ts +1916 -182
  660. package/src/services/vcs.ts +373 -41
  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 +1877 -422
  693. package/types/operator.d.ts +180 -0
  694. package/types/query.d.ts +198 -2
  695. package/types/services/account.d.ts +1020 -158
  696. package/types/services/assistant.d.ts +13 -2
  697. package/types/services/avatars.d.ts +263 -45
  698. package/types/services/backups.d.ts +190 -30
  699. package/types/services/console.d.ts +202 -15
  700. package/types/services/databases.d.ts +1756 -299
  701. package/types/services/domains.d.ts +971 -219
  702. package/types/services/functions.d.ts +622 -131
  703. package/types/services/graphql.d.ts +24 -2
  704. package/types/services/health.d.ts +246 -24
  705. package/types/services/locale.d.ts +2 -2
  706. package/types/services/messaging.d.ts +1670 -281
  707. package/types/services/migrations.d.ts +319 -53
  708. package/types/services/organizations.d.ts +664 -109
  709. package/types/services/project.d.ts +81 -12
  710. package/types/services/projects.d.ts +1308 -202
  711. package/types/services/proxy.d.ts +128 -19
  712. package/types/services/realtime.d.ts +118 -0
  713. package/types/services/sites.d.ts +580 -119
  714. package/types/services/storage.d.ts +362 -81
  715. package/types/services/tables-db.d.ts +2040 -0
  716. package/types/services/teams.d.ts +277 -61
  717. package/types/services/tokens.d.ts +80 -12
  718. package/types/services/users.d.ts +906 -149
  719. package/types/services/vcs.d.ts +182 -34
  720. package/docs/examples/domains/create-record-m-x.md +0 -18
  721. package/docs/examples/domains/create-record-s-r-v.md +0 -20
  722. package/docs/examples/domains/create-record-t-x-t.md +0 -17
  723. package/docs/examples/domains/update-record-a-a-a-a.md +0 -18
  724. package/docs/examples/domains/update-record-c-a-a.md +0 -18
  725. package/docs/examples/domains/update-record-c-n-a-m-e.md +0 -18
  726. package/docs/examples/domains/update-record-h-t-t-p-s.md +0 -18
  727. package/docs/examples/domains/update-record-m-x.md +0 -19
  728. package/docs/examples/domains/update-record-n-s.md +0 -18
  729. package/docs/examples/domains/update-record-s-r-v.md +0 -21
  730. package/docs/examples/domains/update-record-t-x-t.md +0 -18
  731. package/src/enums/billing-plan.ts +0 -5
  732. package/src/enums/database-usage-range.ts +0 -5
  733. package/src/enums/function-usage-range.ts +0 -5
  734. package/src/enums/site-usage-range.ts +0 -5
  735. package/src/enums/storage-usage-range.ts +0 -5
  736. package/types/enums/billing-plan.d.ts +0 -5
  737. package/types/enums/database-usage-range.d.ts +0 -5
  738. package/types/enums/function-usage-range.d.ts +0 -5
  739. package/types/enums/storage-usage-range.d.ts +0 -5
  740. package/types/enums/user-usage-range.d.ts +0 -5
  741. /package/docs/examples/health/{get-d-b.md → get-db.md} +0 -0
  742. /package/docs/examples/locale/{list-countries-e-u.md → list-countries-eu.md} +0 -0
  743. /package/src/enums/{s-m-t-p-secure.ts → smtp-secure.ts} +0 -0
  744. /package/src/enums/{v-c-s-detection-type.ts → vcs-detection-type.ts} +0 -0
  745. /package/types/enums/{s-m-t-p-secure.d.ts → smtp-secure.d.ts} +0 -0
  746. /package/types/enums/{v-c-s-detection-type.d.ts → vcs-detection-type.d.ts} +0 -0
package/types/models.d.ts CHANGED
@@ -1,13 +1,41 @@
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";
1
15
  /**
2
16
  * Appwrite Models
3
17
  */
4
18
  export declare namespace Models {
19
+ const __default: unique symbol;
20
+ /**
21
+ * Rows List
22
+ */
23
+ export type RowList<Row extends Models.Row = Models.DefaultRow> = {
24
+ /**
25
+ * Total number of rows that matched your query.
26
+ */
27
+ total: number;
28
+ /**
29
+ * List of rows.
30
+ */
31
+ rows: Row[];
32
+ };
5
33
  /**
6
34
  * Documents List
7
35
  */
8
- type DocumentList<Document extends Models.Document> = {
36
+ export type DocumentList<Document extends Models.Document = Models.DefaultDocument> = {
9
37
  /**
10
- * Total number of documents documents that matched your query.
38
+ * Total number of documents that matched your query.
11
39
  */
12
40
  total: number;
13
41
  /**
@@ -15,12 +43,25 @@ export declare namespace Models {
15
43
  */
16
44
  documents: Document[];
17
45
  };
46
+ /**
47
+ * Tables List
48
+ */
49
+ export type TableList = {
50
+ /**
51
+ * Total number of tables that matched your query.
52
+ */
53
+ total: number;
54
+ /**
55
+ * List of tables.
56
+ */
57
+ tables: Table[];
58
+ };
18
59
  /**
19
60
  * Collections List
20
61
  */
21
- type CollectionList = {
62
+ export type CollectionList = {
22
63
  /**
23
- * Total number of collections documents that matched your query.
64
+ * Total number of collections that matched your query.
24
65
  */
25
66
  total: number;
26
67
  /**
@@ -31,9 +72,9 @@ export declare namespace Models {
31
72
  /**
32
73
  * Databases List
33
74
  */
34
- type DatabaseList = {
75
+ export type DatabaseList = {
35
76
  /**
36
- * Total number of databases documents that matched your query.
77
+ * Total number of databases that matched your query.
37
78
  */
38
79
  total: number;
39
80
  /**
@@ -44,9 +85,9 @@ export declare namespace Models {
44
85
  /**
45
86
  * Indexes List
46
87
  */
47
- type IndexList = {
88
+ export type IndexList = {
48
89
  /**
49
- * Total number of indexes documents that matched your query.
90
+ * Total number of indexes that matched your query.
50
91
  */
51
92
  total: number;
52
93
  /**
@@ -54,12 +95,25 @@ export declare namespace Models {
54
95
  */
55
96
  indexes: Index[];
56
97
  };
98
+ /**
99
+ * Column Indexes List
100
+ */
101
+ export type ColumnIndexList = {
102
+ /**
103
+ * Total number of indexes that matched your query.
104
+ */
105
+ total: number;
106
+ /**
107
+ * List of indexes.
108
+ */
109
+ indexes: ColumnIndex[];
110
+ };
57
111
  /**
58
112
  * Users List
59
113
  */
60
- type UserList<Preferences extends Models.Preferences> = {
114
+ export type UserList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
61
115
  /**
62
- * Total number of users documents that matched your query.
116
+ * Total number of users that matched your query.
63
117
  */
64
118
  total: number;
65
119
  /**
@@ -70,9 +124,9 @@ export declare namespace Models {
70
124
  /**
71
125
  * Sessions List
72
126
  */
73
- type SessionList = {
127
+ export type SessionList = {
74
128
  /**
75
- * Total number of sessions documents that matched your query.
129
+ * Total number of sessions that matched your query.
76
130
  */
77
131
  total: number;
78
132
  /**
@@ -83,9 +137,9 @@ export declare namespace Models {
83
137
  /**
84
138
  * Identities List
85
139
  */
86
- type IdentityList = {
140
+ export type IdentityList = {
87
141
  /**
88
- * Total number of identities documents that matched your query.
142
+ * Total number of identities that matched your query.
89
143
  */
90
144
  total: number;
91
145
  /**
@@ -96,9 +150,9 @@ export declare namespace Models {
96
150
  /**
97
151
  * Logs List
98
152
  */
99
- type LogList = {
153
+ export type LogList = {
100
154
  /**
101
- * Total number of logs documents that matched your query.
155
+ * Total number of logs that matched your query.
102
156
  */
103
157
  total: number;
104
158
  /**
@@ -109,9 +163,9 @@ export declare namespace Models {
109
163
  /**
110
164
  * Files List
111
165
  */
112
- type FileList = {
166
+ export type FileList = {
113
167
  /**
114
- * Total number of files documents that matched your query.
168
+ * Total number of files that matched your query.
115
169
  */
116
170
  total: number;
117
171
  /**
@@ -122,9 +176,9 @@ export declare namespace Models {
122
176
  /**
123
177
  * Buckets List
124
178
  */
125
- type BucketList = {
179
+ export type BucketList = {
126
180
  /**
127
- * Total number of buckets documents that matched your query.
181
+ * Total number of buckets that matched your query.
128
182
  */
129
183
  total: number;
130
184
  /**
@@ -135,9 +189,9 @@ export declare namespace Models {
135
189
  /**
136
190
  * Resource Tokens List
137
191
  */
138
- type ResourceTokenList = {
192
+ export type ResourceTokenList = {
139
193
  /**
140
- * Total number of tokens documents that matched your query.
194
+ * Total number of tokens that matched your query.
141
195
  */
142
196
  total: number;
143
197
  /**
@@ -148,9 +202,9 @@ export declare namespace Models {
148
202
  /**
149
203
  * Teams List
150
204
  */
151
- type TeamList<Preferences extends Models.Preferences> = {
205
+ export type TeamList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
152
206
  /**
153
- * Total number of teams documents that matched your query.
207
+ * Total number of teams that matched your query.
154
208
  */
155
209
  total: number;
156
210
  /**
@@ -161,9 +215,9 @@ export declare namespace Models {
161
215
  /**
162
216
  * Memberships List
163
217
  */
164
- type MembershipList = {
218
+ export type MembershipList = {
165
219
  /**
166
- * Total number of memberships documents that matched your query.
220
+ * Total number of memberships that matched your query.
167
221
  */
168
222
  total: number;
169
223
  /**
@@ -174,9 +228,9 @@ export declare namespace Models {
174
228
  /**
175
229
  * Sites List
176
230
  */
177
- type SiteList = {
231
+ export type SiteList = {
178
232
  /**
179
- * Total number of sites documents that matched your query.
233
+ * Total number of sites that matched your query.
180
234
  */
181
235
  total: number;
182
236
  /**
@@ -187,9 +241,9 @@ export declare namespace Models {
187
241
  /**
188
242
  * Site Templates List
189
243
  */
190
- type TemplateSiteList = {
244
+ export type TemplateSiteList = {
191
245
  /**
192
- * Total number of templates documents that matched your query.
246
+ * Total number of templates that matched your query.
193
247
  */
194
248
  total: number;
195
249
  /**
@@ -200,9 +254,9 @@ export declare namespace Models {
200
254
  /**
201
255
  * Functions List
202
256
  */
203
- type FunctionList = {
257
+ export type FunctionList = {
204
258
  /**
205
- * Total number of functions documents that matched your query.
259
+ * Total number of functions that matched your query.
206
260
  */
207
261
  total: number;
208
262
  /**
@@ -213,9 +267,9 @@ export declare namespace Models {
213
267
  /**
214
268
  * Function Templates List
215
269
  */
216
- type TemplateFunctionList = {
270
+ export type TemplateFunctionList = {
217
271
  /**
218
- * Total number of templates documents that matched your query.
272
+ * Total number of templates that matched your query.
219
273
  */
220
274
  total: number;
221
275
  /**
@@ -226,9 +280,9 @@ export declare namespace Models {
226
280
  /**
227
281
  * Installations List
228
282
  */
229
- type InstallationList = {
283
+ export type InstallationList = {
230
284
  /**
231
- * Total number of installations documents that matched your query.
285
+ * Total number of installations that matched your query.
232
286
  */
233
287
  total: number;
234
288
  /**
@@ -239,9 +293,9 @@ export declare namespace Models {
239
293
  /**
240
294
  * Framework Provider Repositories List
241
295
  */
242
- type ProviderRepositoryFrameworkList = {
296
+ export type ProviderRepositoryFrameworkList = {
243
297
  /**
244
- * Total number of frameworkProviderRepositories documents that matched your query.
298
+ * Total number of frameworkProviderRepositories that matched your query.
245
299
  */
246
300
  total: number;
247
301
  /**
@@ -252,9 +306,9 @@ export declare namespace Models {
252
306
  /**
253
307
  * Runtime Provider Repositories List
254
308
  */
255
- type ProviderRepositoryRuntimeList = {
309
+ export type ProviderRepositoryRuntimeList = {
256
310
  /**
257
- * Total number of runtimeProviderRepositories documents that matched your query.
311
+ * Total number of runtimeProviderRepositories that matched your query.
258
312
  */
259
313
  total: number;
260
314
  /**
@@ -265,9 +319,9 @@ export declare namespace Models {
265
319
  /**
266
320
  * Branches List
267
321
  */
268
- type BranchList = {
322
+ export type BranchList = {
269
323
  /**
270
- * Total number of branches documents that matched your query.
324
+ * Total number of branches that matched your query.
271
325
  */
272
326
  total: number;
273
327
  /**
@@ -278,9 +332,9 @@ export declare namespace Models {
278
332
  /**
279
333
  * Frameworks List
280
334
  */
281
- type FrameworkList = {
335
+ export type FrameworkList = {
282
336
  /**
283
- * Total number of frameworks documents that matched your query.
337
+ * Total number of frameworks that matched your query.
284
338
  */
285
339
  total: number;
286
340
  /**
@@ -291,9 +345,9 @@ export declare namespace Models {
291
345
  /**
292
346
  * Runtimes List
293
347
  */
294
- type RuntimeList = {
348
+ export type RuntimeList = {
295
349
  /**
296
- * Total number of runtimes documents that matched your query.
350
+ * Total number of runtimes that matched your query.
297
351
  */
298
352
  total: number;
299
353
  /**
@@ -304,9 +358,9 @@ export declare namespace Models {
304
358
  /**
305
359
  * Deployments List
306
360
  */
307
- type DeploymentList = {
361
+ export type DeploymentList = {
308
362
  /**
309
- * Total number of deployments documents that matched your query.
363
+ * Total number of deployments that matched your query.
310
364
  */
311
365
  total: number;
312
366
  /**
@@ -317,9 +371,9 @@ export declare namespace Models {
317
371
  /**
318
372
  * Executions List
319
373
  */
320
- type ExecutionList = {
374
+ export type ExecutionList = {
321
375
  /**
322
- * Total number of executions documents that matched your query.
376
+ * Total number of executions that matched your query.
323
377
  */
324
378
  total: number;
325
379
  /**
@@ -330,9 +384,9 @@ export declare namespace Models {
330
384
  /**
331
385
  * Projects List
332
386
  */
333
- type ProjectList = {
387
+ export type ProjectList = {
334
388
  /**
335
- * Total number of projects documents that matched your query.
389
+ * Total number of projects that matched your query.
336
390
  */
337
391
  total: number;
338
392
  /**
@@ -343,9 +397,9 @@ export declare namespace Models {
343
397
  /**
344
398
  * Webhooks List
345
399
  */
346
- type WebhookList = {
400
+ export type WebhookList = {
347
401
  /**
348
- * Total number of webhooks documents that matched your query.
402
+ * Total number of webhooks that matched your query.
349
403
  */
350
404
  total: number;
351
405
  /**
@@ -356,9 +410,9 @@ export declare namespace Models {
356
410
  /**
357
411
  * API Keys List
358
412
  */
359
- type KeyList = {
413
+ export type KeyList = {
360
414
  /**
361
- * Total number of keys documents that matched your query.
415
+ * Total number of keys that matched your query.
362
416
  */
363
417
  total: number;
364
418
  /**
@@ -369,9 +423,9 @@ export declare namespace Models {
369
423
  /**
370
424
  * Dev Keys List
371
425
  */
372
- type DevKeyList = {
426
+ export type DevKeyList = {
373
427
  /**
374
- * Total number of devKeys documents that matched your query.
428
+ * Total number of devKeys that matched your query.
375
429
  */
376
430
  total: number;
377
431
  /**
@@ -382,9 +436,9 @@ export declare namespace Models {
382
436
  /**
383
437
  * Platforms List
384
438
  */
385
- type PlatformList = {
439
+ export type PlatformList = {
386
440
  /**
387
- * Total number of platforms documents that matched your query.
441
+ * Total number of platforms that matched your query.
388
442
  */
389
443
  total: number;
390
444
  /**
@@ -395,9 +449,9 @@ export declare namespace Models {
395
449
  /**
396
450
  * Countries List
397
451
  */
398
- type CountryList = {
452
+ export type CountryList = {
399
453
  /**
400
- * Total number of countries documents that matched your query.
454
+ * Total number of countries that matched your query.
401
455
  */
402
456
  total: number;
403
457
  /**
@@ -408,9 +462,9 @@ export declare namespace Models {
408
462
  /**
409
463
  * Continents List
410
464
  */
411
- type ContinentList = {
465
+ export type ContinentList = {
412
466
  /**
413
- * Total number of continents documents that matched your query.
467
+ * Total number of continents that matched your query.
414
468
  */
415
469
  total: number;
416
470
  /**
@@ -421,9 +475,9 @@ export declare namespace Models {
421
475
  /**
422
476
  * Languages List
423
477
  */
424
- type LanguageList = {
478
+ export type LanguageList = {
425
479
  /**
426
- * Total number of languages documents that matched your query.
480
+ * Total number of languages that matched your query.
427
481
  */
428
482
  total: number;
429
483
  /**
@@ -434,9 +488,9 @@ export declare namespace Models {
434
488
  /**
435
489
  * Currencies List
436
490
  */
437
- type CurrencyList = {
491
+ export type CurrencyList = {
438
492
  /**
439
- * Total number of currencies documents that matched your query.
493
+ * Total number of currencies that matched your query.
440
494
  */
441
495
  total: number;
442
496
  /**
@@ -447,9 +501,9 @@ export declare namespace Models {
447
501
  /**
448
502
  * Phones List
449
503
  */
450
- type PhoneList = {
504
+ export type PhoneList = {
451
505
  /**
452
- * Total number of phones documents that matched your query.
506
+ * Total number of phones that matched your query.
453
507
  */
454
508
  total: number;
455
509
  /**
@@ -460,9 +514,9 @@ export declare namespace Models {
460
514
  /**
461
515
  * Variables List
462
516
  */
463
- type VariableList = {
517
+ export type VariableList = {
464
518
  /**
465
- * Total number of variables documents that matched your query.
519
+ * Total number of variables that matched your query.
466
520
  */
467
521
  total: number;
468
522
  /**
@@ -473,9 +527,9 @@ export declare namespace Models {
473
527
  /**
474
528
  * Rule List
475
529
  */
476
- type ProxyRuleList = {
530
+ export type ProxyRuleList = {
477
531
  /**
478
- * Total number of rules documents that matched your query.
532
+ * Total number of rules that matched your query.
479
533
  */
480
534
  total: number;
481
535
  /**
@@ -486,9 +540,9 @@ export declare namespace Models {
486
540
  /**
487
541
  * Locale codes list
488
542
  */
489
- type LocaleCodeList = {
543
+ export type LocaleCodeList = {
490
544
  /**
491
- * Total number of localeCodes documents that matched your query.
545
+ * Total number of localeCodes that matched your query.
492
546
  */
493
547
  total: number;
494
548
  /**
@@ -499,9 +553,9 @@ export declare namespace Models {
499
553
  /**
500
554
  * Provider list
501
555
  */
502
- type ProviderList = {
556
+ export type ProviderList = {
503
557
  /**
504
- * Total number of providers documents that matched your query.
558
+ * Total number of providers that matched your query.
505
559
  */
506
560
  total: number;
507
561
  /**
@@ -512,9 +566,9 @@ export declare namespace Models {
512
566
  /**
513
567
  * Message list
514
568
  */
515
- type MessageList = {
569
+ export type MessageList = {
516
570
  /**
517
- * Total number of messages documents that matched your query.
571
+ * Total number of messages that matched your query.
518
572
  */
519
573
  total: number;
520
574
  /**
@@ -525,9 +579,9 @@ export declare namespace Models {
525
579
  /**
526
580
  * Topic list
527
581
  */
528
- type TopicList = {
582
+ export type TopicList = {
529
583
  /**
530
- * Total number of topics documents that matched your query.
584
+ * Total number of topics that matched your query.
531
585
  */
532
586
  total: number;
533
587
  /**
@@ -538,9 +592,9 @@ export declare namespace Models {
538
592
  /**
539
593
  * Subscriber list
540
594
  */
541
- type SubscriberList = {
595
+ export type SubscriberList = {
542
596
  /**
543
- * Total number of subscribers documents that matched your query.
597
+ * Total number of subscribers that matched your query.
544
598
  */
545
599
  total: number;
546
600
  /**
@@ -551,9 +605,9 @@ export declare namespace Models {
551
605
  /**
552
606
  * Target list
553
607
  */
554
- type TargetList = {
608
+ export type TargetList = {
555
609
  /**
556
- * Total number of targets documents that matched your query.
610
+ * Total number of targets that matched your query.
557
611
  */
558
612
  total: number;
559
613
  /**
@@ -561,12 +615,25 @@ export declare namespace Models {
561
615
  */
562
616
  targets: Target[];
563
617
  };
618
+ /**
619
+ * Transaction List
620
+ */
621
+ export type TransactionList = {
622
+ /**
623
+ * Total number of transactions that matched your query.
624
+ */
625
+ total: number;
626
+ /**
627
+ * List of transactions.
628
+ */
629
+ transactions: Transaction[];
630
+ };
564
631
  /**
565
632
  * Migrations List
566
633
  */
567
- type MigrationList = {
634
+ export type MigrationList = {
568
635
  /**
569
- * Total number of migrations documents that matched your query.
636
+ * Total number of migrations that matched your query.
570
637
  */
571
638
  total: number;
572
639
  /**
@@ -577,9 +644,9 @@ export declare namespace Models {
577
644
  /**
578
645
  * Specifications List
579
646
  */
580
- type SpecificationList = {
647
+ export type SpecificationList = {
581
648
  /**
582
- * Total number of specifications documents that matched your query.
649
+ * Total number of specifications that matched your query.
583
650
  */
584
651
  total: number;
585
652
  /**
@@ -590,9 +657,9 @@ export declare namespace Models {
590
657
  /**
591
658
  * VCS Content List
592
659
  */
593
- type VcsContentList = {
660
+ export type VcsContentList = {
594
661
  /**
595
- * Total number of contents documents that matched your query.
662
+ * Total number of contents that matched your query.
596
663
  */
597
664
  total: number;
598
665
  /**
@@ -603,7 +670,7 @@ export declare namespace Models {
603
670
  /**
604
671
  * Database
605
672
  */
606
- type Database = {
673
+ export type Database = {
607
674
  /**
608
675
  * Database ID.
609
676
  */
@@ -621,9 +688,13 @@ export declare namespace Models {
621
688
  */
622
689
  $updatedAt: string;
623
690
  /**
624
- * 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.
691
+ * 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.
625
692
  */
626
693
  enabled: boolean;
694
+ /**
695
+ * Database type.
696
+ */
697
+ type: DatabaseType;
627
698
  /**
628
699
  * Database backup policies.
629
700
  */
@@ -636,7 +707,7 @@ export declare namespace Models {
636
707
  /**
637
708
  * Collection
638
709
  */
639
- type Collection = {
710
+ export type Collection = {
640
711
  /**
641
712
  * Collection ID.
642
713
  */
@@ -662,7 +733,7 @@ export declare namespace Models {
662
733
  */
663
734
  name: string;
664
735
  /**
665
- * 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.
736
+ * Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.
666
737
  */
667
738
  enabled: boolean;
668
739
  /**
@@ -672,7 +743,7 @@ export declare namespace Models {
672
743
  /**
673
744
  * Collection attributes.
674
745
  */
675
- attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributeString)[];
746
+ 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)[];
676
747
  /**
677
748
  * Collection indexes.
678
749
  */
@@ -681,7 +752,7 @@ export declare namespace Models {
681
752
  /**
682
753
  * Attributes List
683
754
  */
684
- type AttributeList = {
755
+ export type AttributeList = {
685
756
  /**
686
757
  * Total number of attributes in the given collection.
687
758
  */
@@ -689,12 +760,12 @@ export declare namespace Models {
689
760
  /**
690
761
  * List of attributes.
691
762
  */
692
- attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributeString)[];
763
+ 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)[];
693
764
  };
694
765
  /**
695
766
  * AttributeString
696
767
  */
697
- type AttributeString = {
768
+ export type AttributeString = {
698
769
  /**
699
770
  * Attribute Key.
700
771
  */
@@ -706,7 +777,7 @@ export declare namespace Models {
706
777
  /**
707
778
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
708
779
  */
709
- status: string;
780
+ status: AttributeStatus;
710
781
  /**
711
782
  * Error message. Displays error generated on failure of creating or deleting an attribute.
712
783
  */
@@ -743,7 +814,7 @@ export declare namespace Models {
743
814
  /**
744
815
  * AttributeInteger
745
816
  */
746
- type AttributeInteger = {
817
+ export type AttributeInteger = {
747
818
  /**
748
819
  * Attribute Key.
749
820
  */
@@ -755,7 +826,7 @@ export declare namespace Models {
755
826
  /**
756
827
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
757
828
  */
758
- status: string;
829
+ status: AttributeStatus;
759
830
  /**
760
831
  * Error message. Displays error generated on failure of creating or deleting an attribute.
761
832
  */
@@ -792,7 +863,7 @@ export declare namespace Models {
792
863
  /**
793
864
  * AttributeFloat
794
865
  */
795
- type AttributeFloat = {
866
+ export type AttributeFloat = {
796
867
  /**
797
868
  * Attribute Key.
798
869
  */
@@ -804,7 +875,7 @@ export declare namespace Models {
804
875
  /**
805
876
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
806
877
  */
807
- status: string;
878
+ status: AttributeStatus;
808
879
  /**
809
880
  * Error message. Displays error generated on failure of creating or deleting an attribute.
810
881
  */
@@ -841,7 +912,7 @@ export declare namespace Models {
841
912
  /**
842
913
  * AttributeBoolean
843
914
  */
844
- type AttributeBoolean = {
915
+ export type AttributeBoolean = {
845
916
  /**
846
917
  * Attribute Key.
847
918
  */
@@ -853,7 +924,232 @@ export declare namespace Models {
853
924
  /**
854
925
  * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
855
926
  */
856
- status: string;
927
+ status: AttributeStatus;
928
+ /**
929
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
930
+ */
931
+ error: string;
932
+ /**
933
+ * Is attribute required?
934
+ */
935
+ required: boolean;
936
+ /**
937
+ * Is attribute an array?
938
+ */
939
+ array?: boolean;
940
+ /**
941
+ * Attribute creation date in ISO 8601 format.
942
+ */
943
+ $createdAt: string;
944
+ /**
945
+ * Attribute update date in ISO 8601 format.
946
+ */
947
+ $updatedAt: string;
948
+ /**
949
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
950
+ */
951
+ default?: boolean;
952
+ };
953
+ /**
954
+ * AttributeEmail
955
+ */
956
+ export type AttributeEmail = {
957
+ /**
958
+ * Attribute Key.
959
+ */
960
+ key: string;
961
+ /**
962
+ * Attribute type.
963
+ */
964
+ type: string;
965
+ /**
966
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
967
+ */
968
+ status: AttributeStatus;
969
+ /**
970
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
971
+ */
972
+ error: string;
973
+ /**
974
+ * Is attribute required?
975
+ */
976
+ required: boolean;
977
+ /**
978
+ * Is attribute an array?
979
+ */
980
+ array?: boolean;
981
+ /**
982
+ * Attribute creation date in ISO 8601 format.
983
+ */
984
+ $createdAt: string;
985
+ /**
986
+ * Attribute update date in ISO 8601 format.
987
+ */
988
+ $updatedAt: string;
989
+ /**
990
+ * String format.
991
+ */
992
+ format: string;
993
+ /**
994
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
995
+ */
996
+ default?: string;
997
+ };
998
+ /**
999
+ * AttributeEnum
1000
+ */
1001
+ export type AttributeEnum = {
1002
+ /**
1003
+ * Attribute Key.
1004
+ */
1005
+ key: string;
1006
+ /**
1007
+ * Attribute type.
1008
+ */
1009
+ type: string;
1010
+ /**
1011
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1012
+ */
1013
+ status: AttributeStatus;
1014
+ /**
1015
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1016
+ */
1017
+ error: string;
1018
+ /**
1019
+ * Is attribute required?
1020
+ */
1021
+ required: boolean;
1022
+ /**
1023
+ * Is attribute an array?
1024
+ */
1025
+ array?: boolean;
1026
+ /**
1027
+ * Attribute creation date in ISO 8601 format.
1028
+ */
1029
+ $createdAt: string;
1030
+ /**
1031
+ * Attribute update date in ISO 8601 format.
1032
+ */
1033
+ $updatedAt: string;
1034
+ /**
1035
+ * Array of elements in enumerated type.
1036
+ */
1037
+ elements: string[];
1038
+ /**
1039
+ * String format.
1040
+ */
1041
+ format: string;
1042
+ /**
1043
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1044
+ */
1045
+ default?: string;
1046
+ };
1047
+ /**
1048
+ * AttributeIP
1049
+ */
1050
+ export type AttributeIp = {
1051
+ /**
1052
+ * Attribute Key.
1053
+ */
1054
+ key: string;
1055
+ /**
1056
+ * Attribute type.
1057
+ */
1058
+ type: string;
1059
+ /**
1060
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1061
+ */
1062
+ status: AttributeStatus;
1063
+ /**
1064
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1065
+ */
1066
+ error: string;
1067
+ /**
1068
+ * Is attribute required?
1069
+ */
1070
+ required: boolean;
1071
+ /**
1072
+ * Is attribute an array?
1073
+ */
1074
+ array?: boolean;
1075
+ /**
1076
+ * Attribute creation date in ISO 8601 format.
1077
+ */
1078
+ $createdAt: string;
1079
+ /**
1080
+ * Attribute update date in ISO 8601 format.
1081
+ */
1082
+ $updatedAt: string;
1083
+ /**
1084
+ * String format.
1085
+ */
1086
+ format: string;
1087
+ /**
1088
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1089
+ */
1090
+ default?: string;
1091
+ };
1092
+ /**
1093
+ * AttributeURL
1094
+ */
1095
+ export type AttributeUrl = {
1096
+ /**
1097
+ * Attribute Key.
1098
+ */
1099
+ key: string;
1100
+ /**
1101
+ * Attribute type.
1102
+ */
1103
+ type: string;
1104
+ /**
1105
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1106
+ */
1107
+ status: AttributeStatus;
1108
+ /**
1109
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1110
+ */
1111
+ error: string;
1112
+ /**
1113
+ * Is attribute required?
1114
+ */
1115
+ required: boolean;
1116
+ /**
1117
+ * Is attribute an array?
1118
+ */
1119
+ array?: boolean;
1120
+ /**
1121
+ * Attribute creation date in ISO 8601 format.
1122
+ */
1123
+ $createdAt: string;
1124
+ /**
1125
+ * Attribute update date in ISO 8601 format.
1126
+ */
1127
+ $updatedAt: string;
1128
+ /**
1129
+ * String format.
1130
+ */
1131
+ format: string;
1132
+ /**
1133
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1134
+ */
1135
+ default?: string;
1136
+ };
1137
+ /**
1138
+ * AttributeDatetime
1139
+ */
1140
+ export type AttributeDatetime = {
1141
+ /**
1142
+ * Attribute Key.
1143
+ */
1144
+ key: string;
1145
+ /**
1146
+ * Attribute type.
1147
+ */
1148
+ type: string;
1149
+ /**
1150
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1151
+ */
1152
+ status: AttributeStatus;
857
1153
  /**
858
1154
  * Error message. Displays error generated on failure of creating or deleting an attribute.
859
1155
  */
@@ -875,44 +1171,617 @@ export declare namespace Models {
875
1171
  */
876
1172
  $updatedAt: string;
877
1173
  /**
878
- * Default value for attribute when not provided. Cannot be set when attribute is required.
1174
+ * ISO 8601 format.
1175
+ */
1176
+ format: string;
1177
+ /**
1178
+ * Default value for attribute when not provided. Only null is optional
1179
+ */
1180
+ default?: string;
1181
+ };
1182
+ /**
1183
+ * AttributeRelationship
1184
+ */
1185
+ export type AttributeRelationship = {
1186
+ /**
1187
+ * Attribute Key.
1188
+ */
1189
+ key: string;
1190
+ /**
1191
+ * Attribute type.
1192
+ */
1193
+ type: string;
1194
+ /**
1195
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1196
+ */
1197
+ status: AttributeStatus;
1198
+ /**
1199
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1200
+ */
1201
+ error: string;
1202
+ /**
1203
+ * Is attribute required?
1204
+ */
1205
+ required: boolean;
1206
+ /**
1207
+ * Is attribute an array?
1208
+ */
1209
+ array?: boolean;
1210
+ /**
1211
+ * Attribute creation date in ISO 8601 format.
1212
+ */
1213
+ $createdAt: string;
1214
+ /**
1215
+ * Attribute update date in ISO 8601 format.
1216
+ */
1217
+ $updatedAt: string;
1218
+ /**
1219
+ * The ID of the related collection.
1220
+ */
1221
+ relatedCollection: string;
1222
+ /**
1223
+ * The type of the relationship.
1224
+ */
1225
+ relationType: string;
1226
+ /**
1227
+ * Is the relationship two-way?
1228
+ */
1229
+ twoWay: boolean;
1230
+ /**
1231
+ * The key of the two-way relationship.
1232
+ */
1233
+ twoWayKey: string;
1234
+ /**
1235
+ * How deleting the parent document will propagate to child documents.
1236
+ */
1237
+ onDelete: string;
1238
+ /**
1239
+ * Whether this is the parent or child side of the relationship
1240
+ */
1241
+ side: string;
1242
+ };
1243
+ /**
1244
+ * AttributePoint
1245
+ */
1246
+ export type AttributePoint = {
1247
+ /**
1248
+ * Attribute Key.
1249
+ */
1250
+ key: string;
1251
+ /**
1252
+ * Attribute type.
1253
+ */
1254
+ type: string;
1255
+ /**
1256
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1257
+ */
1258
+ status: AttributeStatus;
1259
+ /**
1260
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1261
+ */
1262
+ error: string;
1263
+ /**
1264
+ * Is attribute required?
1265
+ */
1266
+ required: boolean;
1267
+ /**
1268
+ * Is attribute an array?
1269
+ */
1270
+ array?: boolean;
1271
+ /**
1272
+ * Attribute creation date in ISO 8601 format.
1273
+ */
1274
+ $createdAt: string;
1275
+ /**
1276
+ * Attribute update date in ISO 8601 format.
1277
+ */
1278
+ $updatedAt: string;
1279
+ /**
1280
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1281
+ */
1282
+ default?: any[];
1283
+ };
1284
+ /**
1285
+ * AttributeLine
1286
+ */
1287
+ export type AttributeLine = {
1288
+ /**
1289
+ * Attribute Key.
1290
+ */
1291
+ key: string;
1292
+ /**
1293
+ * Attribute type.
1294
+ */
1295
+ type: string;
1296
+ /**
1297
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1298
+ */
1299
+ status: AttributeStatus;
1300
+ /**
1301
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1302
+ */
1303
+ error: string;
1304
+ /**
1305
+ * Is attribute required?
1306
+ */
1307
+ required: boolean;
1308
+ /**
1309
+ * Is attribute an array?
1310
+ */
1311
+ array?: boolean;
1312
+ /**
1313
+ * Attribute creation date in ISO 8601 format.
1314
+ */
1315
+ $createdAt: string;
1316
+ /**
1317
+ * Attribute update date in ISO 8601 format.
1318
+ */
1319
+ $updatedAt: string;
1320
+ /**
1321
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1322
+ */
1323
+ default?: any[];
1324
+ };
1325
+ /**
1326
+ * AttributePolygon
1327
+ */
1328
+ export type AttributePolygon = {
1329
+ /**
1330
+ * Attribute Key.
1331
+ */
1332
+ key: string;
1333
+ /**
1334
+ * Attribute type.
1335
+ */
1336
+ type: string;
1337
+ /**
1338
+ * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1339
+ */
1340
+ status: AttributeStatus;
1341
+ /**
1342
+ * Error message. Displays error generated on failure of creating or deleting an attribute.
1343
+ */
1344
+ error: string;
1345
+ /**
1346
+ * Is attribute required?
1347
+ */
1348
+ required: boolean;
1349
+ /**
1350
+ * Is attribute an array?
1351
+ */
1352
+ array?: boolean;
1353
+ /**
1354
+ * Attribute creation date in ISO 8601 format.
1355
+ */
1356
+ $createdAt: string;
1357
+ /**
1358
+ * Attribute update date in ISO 8601 format.
1359
+ */
1360
+ $updatedAt: string;
1361
+ /**
1362
+ * Default value for attribute when not provided. Cannot be set when attribute is required.
1363
+ */
1364
+ default?: any[];
1365
+ };
1366
+ /**
1367
+ * Table
1368
+ */
1369
+ export type Table = {
1370
+ /**
1371
+ * Table ID.
1372
+ */
1373
+ $id: string;
1374
+ /**
1375
+ * Table creation date in ISO 8601 format.
1376
+ */
1377
+ $createdAt: string;
1378
+ /**
1379
+ * Table update date in ISO 8601 format.
1380
+ */
1381
+ $updatedAt: string;
1382
+ /**
1383
+ * Table permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
1384
+ */
1385
+ $permissions: string[];
1386
+ /**
1387
+ * Database ID.
1388
+ */
1389
+ databaseId: string;
1390
+ /**
1391
+ * Table name.
1392
+ */
1393
+ name: string;
1394
+ /**
1395
+ * Table enabled. Can be 'enabled' or 'disabled'. When disabled, the table is inaccessible to users, but remains accessible to Server SDKs using API keys.
1396
+ */
1397
+ enabled: boolean;
1398
+ /**
1399
+ * Whether row-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
1400
+ */
1401
+ rowSecurity: boolean;
1402
+ /**
1403
+ * Table columns.
1404
+ */
1405
+ 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)[];
1406
+ /**
1407
+ * Table indexes.
1408
+ */
1409
+ indexes: ColumnIndex[];
1410
+ };
1411
+ /**
1412
+ * Columns List
1413
+ */
1414
+ export type ColumnList = {
1415
+ /**
1416
+ * Total number of columns in the given table.
1417
+ */
1418
+ total: number;
1419
+ /**
1420
+ * List of columns.
1421
+ */
1422
+ 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)[];
1423
+ };
1424
+ /**
1425
+ * ColumnString
1426
+ */
1427
+ export type ColumnString = {
1428
+ /**
1429
+ * Column Key.
1430
+ */
1431
+ key: string;
1432
+ /**
1433
+ * Column type.
1434
+ */
1435
+ type: string;
1436
+ /**
1437
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1438
+ */
1439
+ status: ColumnStatus;
1440
+ /**
1441
+ * Error message. Displays error generated on failure of creating or deleting an column.
1442
+ */
1443
+ error: string;
1444
+ /**
1445
+ * Is column required?
1446
+ */
1447
+ required: boolean;
1448
+ /**
1449
+ * Is column an array?
1450
+ */
1451
+ array?: boolean;
1452
+ /**
1453
+ * Column creation date in ISO 8601 format.
1454
+ */
1455
+ $createdAt: string;
1456
+ /**
1457
+ * Column update date in ISO 8601 format.
1458
+ */
1459
+ $updatedAt: string;
1460
+ /**
1461
+ * Column size.
1462
+ */
1463
+ size: number;
1464
+ /**
1465
+ * Default value for column when not provided. Cannot be set when column is required.
1466
+ */
1467
+ default?: string;
1468
+ /**
1469
+ * Defines whether this column is encrypted or not.
1470
+ */
1471
+ encrypt?: boolean;
1472
+ };
1473
+ /**
1474
+ * ColumnInteger
1475
+ */
1476
+ export type ColumnInteger = {
1477
+ /**
1478
+ * Column Key.
1479
+ */
1480
+ key: string;
1481
+ /**
1482
+ * Column type.
1483
+ */
1484
+ type: string;
1485
+ /**
1486
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1487
+ */
1488
+ status: ColumnStatus;
1489
+ /**
1490
+ * Error message. Displays error generated on failure of creating or deleting an column.
1491
+ */
1492
+ error: string;
1493
+ /**
1494
+ * Is column required?
1495
+ */
1496
+ required: boolean;
1497
+ /**
1498
+ * Is column an array?
1499
+ */
1500
+ array?: boolean;
1501
+ /**
1502
+ * Column creation date in ISO 8601 format.
1503
+ */
1504
+ $createdAt: string;
1505
+ /**
1506
+ * Column update date in ISO 8601 format.
1507
+ */
1508
+ $updatedAt: string;
1509
+ /**
1510
+ * Minimum value to enforce for new documents.
1511
+ */
1512
+ min?: number;
1513
+ /**
1514
+ * Maximum value to enforce for new documents.
1515
+ */
1516
+ max?: number;
1517
+ /**
1518
+ * Default value for column when not provided. Cannot be set when column is required.
1519
+ */
1520
+ default?: number;
1521
+ };
1522
+ /**
1523
+ * ColumnFloat
1524
+ */
1525
+ export type ColumnFloat = {
1526
+ /**
1527
+ * Column Key.
1528
+ */
1529
+ key: string;
1530
+ /**
1531
+ * Column type.
1532
+ */
1533
+ type: string;
1534
+ /**
1535
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1536
+ */
1537
+ status: ColumnStatus;
1538
+ /**
1539
+ * Error message. Displays error generated on failure of creating or deleting an column.
1540
+ */
1541
+ error: string;
1542
+ /**
1543
+ * Is column required?
1544
+ */
1545
+ required: boolean;
1546
+ /**
1547
+ * Is column an array?
1548
+ */
1549
+ array?: boolean;
1550
+ /**
1551
+ * Column creation date in ISO 8601 format.
1552
+ */
1553
+ $createdAt: string;
1554
+ /**
1555
+ * Column update date in ISO 8601 format.
1556
+ */
1557
+ $updatedAt: string;
1558
+ /**
1559
+ * Minimum value to enforce for new documents.
1560
+ */
1561
+ min?: number;
1562
+ /**
1563
+ * Maximum value to enforce for new documents.
1564
+ */
1565
+ max?: number;
1566
+ /**
1567
+ * Default value for column when not provided. Cannot be set when column is required.
1568
+ */
1569
+ default?: number;
1570
+ };
1571
+ /**
1572
+ * ColumnBoolean
1573
+ */
1574
+ export type ColumnBoolean = {
1575
+ /**
1576
+ * Column Key.
1577
+ */
1578
+ key: string;
1579
+ /**
1580
+ * Column type.
1581
+ */
1582
+ type: string;
1583
+ /**
1584
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1585
+ */
1586
+ status: ColumnStatus;
1587
+ /**
1588
+ * Error message. Displays error generated on failure of creating or deleting an column.
1589
+ */
1590
+ error: string;
1591
+ /**
1592
+ * Is column required?
1593
+ */
1594
+ required: boolean;
1595
+ /**
1596
+ * Is column an array?
1597
+ */
1598
+ array?: boolean;
1599
+ /**
1600
+ * Column creation date in ISO 8601 format.
1601
+ */
1602
+ $createdAt: string;
1603
+ /**
1604
+ * Column update date in ISO 8601 format.
1605
+ */
1606
+ $updatedAt: string;
1607
+ /**
1608
+ * Default value for column when not provided. Cannot be set when column is required.
1609
+ */
1610
+ default?: boolean;
1611
+ };
1612
+ /**
1613
+ * ColumnEmail
1614
+ */
1615
+ export type ColumnEmail = {
1616
+ /**
1617
+ * Column Key.
1618
+ */
1619
+ key: string;
1620
+ /**
1621
+ * Column type.
1622
+ */
1623
+ type: string;
1624
+ /**
1625
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1626
+ */
1627
+ status: ColumnStatus;
1628
+ /**
1629
+ * Error message. Displays error generated on failure of creating or deleting an column.
1630
+ */
1631
+ error: string;
1632
+ /**
1633
+ * Is column required?
1634
+ */
1635
+ required: boolean;
1636
+ /**
1637
+ * Is column an array?
1638
+ */
1639
+ array?: boolean;
1640
+ /**
1641
+ * Column creation date in ISO 8601 format.
1642
+ */
1643
+ $createdAt: string;
1644
+ /**
1645
+ * Column update date in ISO 8601 format.
1646
+ */
1647
+ $updatedAt: string;
1648
+ /**
1649
+ * String format.
1650
+ */
1651
+ format: string;
1652
+ /**
1653
+ * Default value for column when not provided. Cannot be set when column is required.
1654
+ */
1655
+ default?: string;
1656
+ };
1657
+ /**
1658
+ * ColumnEnum
1659
+ */
1660
+ export type ColumnEnum = {
1661
+ /**
1662
+ * Column Key.
1663
+ */
1664
+ key: string;
1665
+ /**
1666
+ * Column type.
1667
+ */
1668
+ type: string;
1669
+ /**
1670
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1671
+ */
1672
+ status: ColumnStatus;
1673
+ /**
1674
+ * Error message. Displays error generated on failure of creating or deleting an column.
1675
+ */
1676
+ error: string;
1677
+ /**
1678
+ * Is column required?
1679
+ */
1680
+ required: boolean;
1681
+ /**
1682
+ * Is column an array?
1683
+ */
1684
+ array?: boolean;
1685
+ /**
1686
+ * Column creation date in ISO 8601 format.
1687
+ */
1688
+ $createdAt: string;
1689
+ /**
1690
+ * Column update date in ISO 8601 format.
1691
+ */
1692
+ $updatedAt: string;
1693
+ /**
1694
+ * Array of elements in enumerated type.
1695
+ */
1696
+ elements: string[];
1697
+ /**
1698
+ * String format.
1699
+ */
1700
+ format: string;
1701
+ /**
1702
+ * Default value for column when not provided. Cannot be set when column is required.
1703
+ */
1704
+ default?: string;
1705
+ };
1706
+ /**
1707
+ * ColumnIP
1708
+ */
1709
+ export type ColumnIp = {
1710
+ /**
1711
+ * Column Key.
1712
+ */
1713
+ key: string;
1714
+ /**
1715
+ * Column type.
1716
+ */
1717
+ type: string;
1718
+ /**
1719
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1720
+ */
1721
+ status: ColumnStatus;
1722
+ /**
1723
+ * Error message. Displays error generated on failure of creating or deleting an column.
1724
+ */
1725
+ error: string;
1726
+ /**
1727
+ * Is column required?
1728
+ */
1729
+ required: boolean;
1730
+ /**
1731
+ * Is column an array?
1732
+ */
1733
+ array?: boolean;
1734
+ /**
1735
+ * Column creation date in ISO 8601 format.
1736
+ */
1737
+ $createdAt: string;
1738
+ /**
1739
+ * Column update date in ISO 8601 format.
1740
+ */
1741
+ $updatedAt: string;
1742
+ /**
1743
+ * String format.
1744
+ */
1745
+ format: string;
1746
+ /**
1747
+ * Default value for column when not provided. Cannot be set when column is required.
879
1748
  */
880
- default?: boolean;
1749
+ default?: string;
881
1750
  };
882
1751
  /**
883
- * AttributeEmail
1752
+ * ColumnURL
884
1753
  */
885
- type AttributeEmail = {
1754
+ export type ColumnUrl = {
886
1755
  /**
887
- * Attribute Key.
1756
+ * Column Key.
888
1757
  */
889
1758
  key: string;
890
1759
  /**
891
- * Attribute type.
1760
+ * Column type.
892
1761
  */
893
1762
  type: string;
894
1763
  /**
895
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1764
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
896
1765
  */
897
- status: string;
1766
+ status: ColumnStatus;
898
1767
  /**
899
- * Error message. Displays error generated on failure of creating or deleting an attribute.
1768
+ * Error message. Displays error generated on failure of creating or deleting an column.
900
1769
  */
901
1770
  error: string;
902
1771
  /**
903
- * Is attribute required?
1772
+ * Is column required?
904
1773
  */
905
1774
  required: boolean;
906
1775
  /**
907
- * Is attribute an array?
1776
+ * Is column an array?
908
1777
  */
909
1778
  array?: boolean;
910
1779
  /**
911
- * Attribute creation date in ISO 8601 format.
1780
+ * Column creation date in ISO 8601 format.
912
1781
  */
913
1782
  $createdAt: string;
914
1783
  /**
915
- * Attribute update date in ISO 8601 format.
1784
+ * Column update date in ISO 8601 format.
916
1785
  */
917
1786
  $updatedAt: string;
918
1787
  /**
@@ -920,259 +1789,300 @@ export declare namespace Models {
920
1789
  */
921
1790
  format: string;
922
1791
  /**
923
- * Default value for attribute when not provided. Cannot be set when attribute is required.
1792
+ * Default value for column when not provided. Cannot be set when column is required.
924
1793
  */
925
1794
  default?: string;
926
1795
  };
927
1796
  /**
928
- * AttributeEnum
1797
+ * ColumnDatetime
929
1798
  */
930
- type AttributeEnum = {
1799
+ export type ColumnDatetime = {
931
1800
  /**
932
- * Attribute Key.
1801
+ * Column Key.
933
1802
  */
934
1803
  key: string;
935
1804
  /**
936
- * Attribute type.
1805
+ * Column type.
937
1806
  */
938
1807
  type: string;
939
1808
  /**
940
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1809
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
941
1810
  */
942
- status: string;
1811
+ status: ColumnStatus;
943
1812
  /**
944
- * Error message. Displays error generated on failure of creating or deleting an attribute.
1813
+ * Error message. Displays error generated on failure of creating or deleting an column.
945
1814
  */
946
1815
  error: string;
947
1816
  /**
948
- * Is attribute required?
1817
+ * Is column required?
949
1818
  */
950
1819
  required: boolean;
951
1820
  /**
952
- * Is attribute an array?
1821
+ * Is column an array?
953
1822
  */
954
1823
  array?: boolean;
955
1824
  /**
956
- * Attribute creation date in ISO 8601 format.
1825
+ * Column creation date in ISO 8601 format.
957
1826
  */
958
1827
  $createdAt: string;
959
1828
  /**
960
- * Attribute update date in ISO 8601 format.
1829
+ * Column update date in ISO 8601 format.
961
1830
  */
962
1831
  $updatedAt: string;
963
1832
  /**
964
- * Array of elements in enumerated type.
965
- */
966
- elements: string[];
967
- /**
968
- * String format.
1833
+ * ISO 8601 format.
969
1834
  */
970
1835
  format: string;
971
1836
  /**
972
- * Default value for attribute when not provided. Cannot be set when attribute is required.
1837
+ * Default value for column when not provided. Only null is optional
973
1838
  */
974
1839
  default?: string;
975
1840
  };
976
1841
  /**
977
- * AttributeIP
1842
+ * ColumnRelationship
978
1843
  */
979
- type AttributeIp = {
1844
+ export type ColumnRelationship = {
980
1845
  /**
981
- * Attribute Key.
1846
+ * Column Key.
982
1847
  */
983
1848
  key: string;
984
1849
  /**
985
- * Attribute type.
1850
+ * Column type.
986
1851
  */
987
1852
  type: string;
988
1853
  /**
989
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1854
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
990
1855
  */
991
- status: string;
1856
+ status: ColumnStatus;
992
1857
  /**
993
- * Error message. Displays error generated on failure of creating or deleting an attribute.
1858
+ * Error message. Displays error generated on failure of creating or deleting an column.
994
1859
  */
995
1860
  error: string;
996
1861
  /**
997
- * Is attribute required?
1862
+ * Is column required?
998
1863
  */
999
1864
  required: boolean;
1000
1865
  /**
1001
- * Is attribute an array?
1866
+ * Is column an array?
1002
1867
  */
1003
1868
  array?: boolean;
1004
1869
  /**
1005
- * Attribute creation date in ISO 8601 format.
1870
+ * Column creation date in ISO 8601 format.
1006
1871
  */
1007
1872
  $createdAt: string;
1008
1873
  /**
1009
- * Attribute update date in ISO 8601 format.
1874
+ * Column update date in ISO 8601 format.
1010
1875
  */
1011
1876
  $updatedAt: string;
1012
1877
  /**
1013
- * String format.
1878
+ * The ID of the related table.
1014
1879
  */
1015
- format: string;
1880
+ relatedTable: string;
1016
1881
  /**
1017
- * Default value for attribute when not provided. Cannot be set when attribute is required.
1882
+ * The type of the relationship.
1018
1883
  */
1019
- default?: string;
1884
+ relationType: string;
1885
+ /**
1886
+ * Is the relationship two-way?
1887
+ */
1888
+ twoWay: boolean;
1889
+ /**
1890
+ * The key of the two-way relationship.
1891
+ */
1892
+ twoWayKey: string;
1893
+ /**
1894
+ * How deleting the parent document will propagate to child documents.
1895
+ */
1896
+ onDelete: string;
1897
+ /**
1898
+ * Whether this is the parent or child side of the relationship
1899
+ */
1900
+ side: string;
1020
1901
  };
1021
1902
  /**
1022
- * AttributeURL
1903
+ * ColumnPoint
1023
1904
  */
1024
- type AttributeUrl = {
1905
+ export type ColumnPoint = {
1025
1906
  /**
1026
- * Attribute Key.
1907
+ * Column Key.
1027
1908
  */
1028
1909
  key: string;
1029
1910
  /**
1030
- * Attribute type.
1911
+ * Column type.
1031
1912
  */
1032
1913
  type: string;
1033
1914
  /**
1034
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1915
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1035
1916
  */
1036
- status: string;
1917
+ status: ColumnStatus;
1037
1918
  /**
1038
- * Error message. Displays error generated on failure of creating or deleting an attribute.
1919
+ * Error message. Displays error generated on failure of creating or deleting an column.
1039
1920
  */
1040
1921
  error: string;
1041
1922
  /**
1042
- * Is attribute required?
1923
+ * Is column required?
1043
1924
  */
1044
1925
  required: boolean;
1045
1926
  /**
1046
- * Is attribute an array?
1927
+ * Is column an array?
1047
1928
  */
1048
1929
  array?: boolean;
1049
1930
  /**
1050
- * Attribute creation date in ISO 8601 format.
1931
+ * Column creation date in ISO 8601 format.
1051
1932
  */
1052
1933
  $createdAt: string;
1053
1934
  /**
1054
- * Attribute update date in ISO 8601 format.
1935
+ * Column update date in ISO 8601 format.
1055
1936
  */
1056
1937
  $updatedAt: string;
1057
1938
  /**
1058
- * String format.
1059
- */
1060
- format: string;
1061
- /**
1062
- * Default value for attribute when not provided. Cannot be set when attribute is required.
1939
+ * Default value for column when not provided. Cannot be set when column is required.
1063
1940
  */
1064
- default?: string;
1941
+ default?: any[];
1065
1942
  };
1066
1943
  /**
1067
- * AttributeDatetime
1944
+ * ColumnLine
1068
1945
  */
1069
- type AttributeDatetime = {
1946
+ export type ColumnLine = {
1070
1947
  /**
1071
- * Attribute Key.
1948
+ * Column Key.
1072
1949
  */
1073
1950
  key: string;
1074
1951
  /**
1075
- * Attribute type.
1952
+ * Column type.
1076
1953
  */
1077
1954
  type: string;
1078
1955
  /**
1079
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1956
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1080
1957
  */
1081
- status: string;
1958
+ status: ColumnStatus;
1082
1959
  /**
1083
- * Error message. Displays error generated on failure of creating or deleting an attribute.
1960
+ * Error message. Displays error generated on failure of creating or deleting an column.
1084
1961
  */
1085
1962
  error: string;
1086
1963
  /**
1087
- * Is attribute required?
1964
+ * Is column required?
1088
1965
  */
1089
1966
  required: boolean;
1090
1967
  /**
1091
- * Is attribute an array?
1968
+ * Is column an array?
1092
1969
  */
1093
1970
  array?: boolean;
1094
1971
  /**
1095
- * Attribute creation date in ISO 8601 format.
1972
+ * Column creation date in ISO 8601 format.
1096
1973
  */
1097
1974
  $createdAt: string;
1098
1975
  /**
1099
- * Attribute update date in ISO 8601 format.
1976
+ * Column update date in ISO 8601 format.
1100
1977
  */
1101
1978
  $updatedAt: string;
1102
1979
  /**
1103
- * ISO 8601 format.
1104
- */
1105
- format: string;
1106
- /**
1107
- * Default value for attribute when not provided. Only null is optional
1980
+ * Default value for column when not provided. Cannot be set when column is required.
1108
1981
  */
1109
- default?: string;
1982
+ default?: any[];
1110
1983
  };
1111
1984
  /**
1112
- * AttributeRelationship
1985
+ * ColumnPolygon
1113
1986
  */
1114
- type AttributeRelationship = {
1987
+ export type ColumnPolygon = {
1115
1988
  /**
1116
- * Attribute Key.
1989
+ * Column Key.
1117
1990
  */
1118
1991
  key: string;
1119
1992
  /**
1120
- * Attribute type.
1993
+ * Column type.
1121
1994
  */
1122
1995
  type: string;
1123
1996
  /**
1124
- * Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1997
+ * Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
1125
1998
  */
1126
- status: string;
1999
+ status: ColumnStatus;
1127
2000
  /**
1128
- * Error message. Displays error generated on failure of creating or deleting an attribute.
2001
+ * Error message. Displays error generated on failure of creating or deleting an column.
1129
2002
  */
1130
2003
  error: string;
1131
2004
  /**
1132
- * Is attribute required?
2005
+ * Is column required?
1133
2006
  */
1134
2007
  required: boolean;
1135
2008
  /**
1136
- * Is attribute an array?
2009
+ * Is column an array?
1137
2010
  */
1138
2011
  array?: boolean;
1139
2012
  /**
1140
- * Attribute creation date in ISO 8601 format.
2013
+ * Column creation date in ISO 8601 format.
1141
2014
  */
1142
2015
  $createdAt: string;
1143
2016
  /**
1144
- * Attribute update date in ISO 8601 format.
2017
+ * Column update date in ISO 8601 format.
1145
2018
  */
1146
2019
  $updatedAt: string;
1147
2020
  /**
1148
- * The ID of the related collection.
2021
+ * Default value for column when not provided. Cannot be set when column is required.
1149
2022
  */
1150
- relatedCollection: string;
2023
+ default?: any[];
2024
+ };
2025
+ /**
2026
+ * Index
2027
+ */
2028
+ export type Index = {
1151
2029
  /**
1152
- * The type of the relationship.
2030
+ * Index ID.
1153
2031
  */
1154
- relationType: string;
2032
+ $id: string;
1155
2033
  /**
1156
- * Is the relationship two-way?
2034
+ * Index creation date in ISO 8601 format.
1157
2035
  */
1158
- twoWay: boolean;
2036
+ $createdAt: string;
1159
2037
  /**
1160
- * The key of the two-way relationship.
2038
+ * Index update date in ISO 8601 format.
1161
2039
  */
1162
- twoWayKey: string;
2040
+ $updatedAt: string;
1163
2041
  /**
1164
- * How deleting the parent document will propagate to child documents.
2042
+ * Index key.
1165
2043
  */
1166
- onDelete: string;
2044
+ key: string;
1167
2045
  /**
1168
- * Whether this is the parent or child side of the relationship
2046
+ * Index type.
1169
2047
  */
1170
- side: string;
2048
+ type: string;
2049
+ /**
2050
+ * Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
2051
+ */
2052
+ status: IndexStatus;
2053
+ /**
2054
+ * Error message. Displays error generated on failure of creating or deleting an index.
2055
+ */
2056
+ error: string;
2057
+ /**
2058
+ * Index attributes.
2059
+ */
2060
+ attributes: string[];
2061
+ /**
2062
+ * Index attributes length.
2063
+ */
2064
+ lengths: number[];
2065
+ /**
2066
+ * Index orders.
2067
+ */
2068
+ orders?: string[];
1171
2069
  };
1172
2070
  /**
1173
2071
  * Index
1174
2072
  */
1175
- type Index = {
2073
+ export type ColumnIndex = {
2074
+ /**
2075
+ * Index ID.
2076
+ */
2077
+ $id: string;
2078
+ /**
2079
+ * Index creation date in ISO 8601 format.
2080
+ */
2081
+ $createdAt: string;
2082
+ /**
2083
+ * Index update date in ISO 8601 format.
2084
+ */
2085
+ $updatedAt: string;
1176
2086
  /**
1177
2087
  * Index Key.
1178
2088
  */
@@ -1190,30 +2100,59 @@ export declare namespace Models {
1190
2100
  */
1191
2101
  error: string;
1192
2102
  /**
1193
- * Index attributes.
2103
+ * Index columns.
1194
2104
  */
1195
- attributes: string[];
2105
+ columns: string[];
1196
2106
  /**
1197
- * Index attributes length.
2107
+ * Index columns length.
1198
2108
  */
1199
2109
  lengths: number[];
1200
2110
  /**
1201
2111
  * Index orders.
1202
2112
  */
1203
2113
  orders?: string[];
2114
+ };
2115
+ /**
2116
+ * Row
2117
+ */
2118
+ export type Row = {
1204
2119
  /**
1205
- * Index creation date in ISO 8601 format.
2120
+ * Row ID.
2121
+ */
2122
+ $id: string;
2123
+ /**
2124
+ * Row automatically incrementing ID.
2125
+ */
2126
+ $sequence: number;
2127
+ /**
2128
+ * Table ID.
2129
+ */
2130
+ $tableId: string;
2131
+ /**
2132
+ * Database ID.
2133
+ */
2134
+ $databaseId: string;
2135
+ /**
2136
+ * Row creation date in ISO 8601 format.
1206
2137
  */
1207
2138
  $createdAt: string;
1208
2139
  /**
1209
- * Index update date in ISO 8601 format.
2140
+ * Row update date in ISO 8601 format.
1210
2141
  */
1211
2142
  $updatedAt: string;
2143
+ /**
2144
+ * Row permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
2145
+ */
2146
+ $permissions: string[];
2147
+ };
2148
+ export type DefaultRow = Row & {
2149
+ [key: string]: any;
2150
+ [__default]: true;
1212
2151
  };
1213
2152
  /**
1214
2153
  * Document
1215
2154
  */
1216
- type Document = {
2155
+ export type Document = {
1217
2156
  /**
1218
2157
  * Document ID.
1219
2158
  */
@@ -1242,12 +2181,15 @@ export declare namespace Models {
1242
2181
  * Document permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
1243
2182
  */
1244
2183
  $permissions: string[];
2184
+ };
2185
+ export type DefaultDocument = Document & {
1245
2186
  [key: string]: any;
2187
+ [__default]: true;
1246
2188
  };
1247
2189
  /**
1248
2190
  * Log
1249
2191
  */
1250
- type Log = {
2192
+ export type Log = {
1251
2193
  /**
1252
2194
  * Event name.
1253
2195
  */
@@ -1336,7 +2278,7 @@ export declare namespace Models {
1336
2278
  /**
1337
2279
  * User
1338
2280
  */
1339
- type User<Preferences extends Models.Preferences> = {
2281
+ export type User<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
1340
2282
  /**
1341
2283
  * User ID.
1342
2284
  */
@@ -1417,7 +2359,7 @@ export declare namespace Models {
1417
2359
  /**
1418
2360
  * AlgoMD5
1419
2361
  */
1420
- type AlgoMd5 = {
2362
+ export type AlgoMd5 = {
1421
2363
  /**
1422
2364
  * Algo type.
1423
2365
  */
@@ -1426,7 +2368,7 @@ export declare namespace Models {
1426
2368
  /**
1427
2369
  * AlgoSHA
1428
2370
  */
1429
- type AlgoSha = {
2371
+ export type AlgoSha = {
1430
2372
  /**
1431
2373
  * Algo type.
1432
2374
  */
@@ -1435,7 +2377,7 @@ export declare namespace Models {
1435
2377
  /**
1436
2378
  * AlgoPHPass
1437
2379
  */
1438
- type AlgoPhpass = {
2380
+ export type AlgoPhpass = {
1439
2381
  /**
1440
2382
  * Algo type.
1441
2383
  */
@@ -1444,7 +2386,7 @@ export declare namespace Models {
1444
2386
  /**
1445
2387
  * AlgoBcrypt
1446
2388
  */
1447
- type AlgoBcrypt = {
2389
+ export type AlgoBcrypt = {
1448
2390
  /**
1449
2391
  * Algo type.
1450
2392
  */
@@ -1453,7 +2395,7 @@ export declare namespace Models {
1453
2395
  /**
1454
2396
  * AlgoScrypt
1455
2397
  */
1456
- type AlgoScrypt = {
2398
+ export type AlgoScrypt = {
1457
2399
  /**
1458
2400
  * Algo type.
1459
2401
  */
@@ -1478,7 +2420,7 @@ export declare namespace Models {
1478
2420
  /**
1479
2421
  * AlgoScryptModified
1480
2422
  */
1481
- type AlgoScryptModified = {
2423
+ export type AlgoScryptModified = {
1482
2424
  /**
1483
2425
  * Algo type.
1484
2426
  */
@@ -1499,7 +2441,7 @@ export declare namespace Models {
1499
2441
  /**
1500
2442
  * AlgoArgon2
1501
2443
  */
1502
- type AlgoArgon2 = {
2444
+ export type AlgoArgon2 = {
1503
2445
  /**
1504
2446
  * Algo type.
1505
2447
  */
@@ -1520,13 +2462,15 @@ export declare namespace Models {
1520
2462
  /**
1521
2463
  * Preferences
1522
2464
  */
1523
- type Preferences = {
2465
+ export type Preferences = {};
2466
+ export type DefaultPreferences = Preferences & {
1524
2467
  [key: string]: any;
2468
+ [__default]: true;
1525
2469
  };
1526
2470
  /**
1527
2471
  * Session
1528
2472
  */
1529
- type Session = {
2473
+ export type Session = {
1530
2474
  /**
1531
2475
  * Session ID.
1532
2476
  */
@@ -1647,7 +2591,7 @@ export declare namespace Models {
1647
2591
  /**
1648
2592
  * Identity
1649
2593
  */
1650
- type Identity = {
2594
+ export type Identity = {
1651
2595
  /**
1652
2596
  * Identity ID.
1653
2597
  */
@@ -1692,7 +2636,7 @@ export declare namespace Models {
1692
2636
  /**
1693
2637
  * Token
1694
2638
  */
1695
- type Token = {
2639
+ export type Token = {
1696
2640
  /**
1697
2641
  * Token ID.
1698
2642
  */
@@ -1721,7 +2665,7 @@ export declare namespace Models {
1721
2665
  /**
1722
2666
  * JWT
1723
2667
  */
1724
- type Jwt = {
2668
+ export type Jwt = {
1725
2669
  /**
1726
2670
  * JWT encoded string.
1727
2671
  */
@@ -1730,7 +2674,7 @@ export declare namespace Models {
1730
2674
  /**
1731
2675
  * Locale
1732
2676
  */
1733
- type Locale = {
2677
+ export type Locale = {
1734
2678
  /**
1735
2679
  * User IP address.
1736
2680
  */
@@ -1744,7 +2688,7 @@ export declare namespace Models {
1744
2688
  */
1745
2689
  country: string;
1746
2690
  /**
1747
- * 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.
2691
+ * 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.
1748
2692
  */
1749
2693
  continentCode: string;
1750
2694
  /**
@@ -1763,7 +2707,7 @@ export declare namespace Models {
1763
2707
  /**
1764
2708
  * LocaleCode
1765
2709
  */
1766
- type LocaleCode = {
2710
+ export type LocaleCode = {
1767
2711
  /**
1768
2712
  * Locale codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
1769
2713
  */
@@ -1776,7 +2720,7 @@ export declare namespace Models {
1776
2720
  /**
1777
2721
  * File
1778
2722
  */
1779
- type File = {
2723
+ export type File = {
1780
2724
  /**
1781
2725
  * File ID.
1782
2726
  */
@@ -1825,7 +2769,7 @@ export declare namespace Models {
1825
2769
  /**
1826
2770
  * Bucket
1827
2771
  */
1828
- type Bucket = {
2772
+ export type Bucket = {
1829
2773
  /**
1830
2774
  * Bucket ID.
1831
2775
  */
@@ -1874,11 +2818,15 @@ export declare namespace Models {
1874
2818
  * Virus scanning is enabled.
1875
2819
  */
1876
2820
  antivirus: boolean;
2821
+ /**
2822
+ * Image transformations are enabled.
2823
+ */
2824
+ transformations: boolean;
1877
2825
  };
1878
2826
  /**
1879
2827
  * ResourceToken
1880
2828
  */
1881
- type ResourceToken = {
2829
+ export type ResourceToken = {
1882
2830
  /**
1883
2831
  * Token ID.
1884
2832
  */
@@ -1911,7 +2859,7 @@ export declare namespace Models {
1911
2859
  /**
1912
2860
  * Team
1913
2861
  */
1914
- type Team<Preferences extends Models.Preferences> = {
2862
+ export type Team<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
1915
2863
  /**
1916
2864
  * Team ID.
1917
2865
  */
@@ -1940,7 +2888,7 @@ export declare namespace Models {
1940
2888
  /**
1941
2889
  * Membership
1942
2890
  */
1943
- type Membership = {
2891
+ export type Membership = {
1944
2892
  /**
1945
2893
  * Membership ID.
1946
2894
  */
@@ -1997,7 +2945,7 @@ export declare namespace Models {
1997
2945
  /**
1998
2946
  * Site
1999
2947
  */
2000
- type Site = {
2948
+ export type Site = {
2001
2949
  /**
2002
2950
  * Site ID.
2003
2951
  */
@@ -2019,7 +2967,7 @@ export declare namespace Models {
2019
2967
  */
2020
2968
  enabled: boolean;
2021
2969
  /**
2022
- * 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.
2970
+ * 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.
2023
2971
  */
2024
2972
  live: boolean;
2025
2973
  /**
@@ -2031,7 +2979,7 @@ export declare namespace Models {
2031
2979
  */
2032
2980
  framework: string;
2033
2981
  /**
2034
- * Site&#039;s active deployment ID.
2982
+ * Site's active deployment ID.
2035
2983
  */
2036
2984
  deploymentId: string;
2037
2985
  /**
@@ -2047,7 +2995,7 @@ export declare namespace Models {
2047
2995
  */
2048
2996
  deploymentScreenshotDark: string;
2049
2997
  /**
2050
- * Site&#039;s latest deployment ID.
2998
+ * Site's latest deployment ID.
2051
2999
  */
2052
3000
  latestDeploymentId: string;
2053
3001
  /**
@@ -2055,7 +3003,7 @@ export declare namespace Models {
2055
3003
  */
2056
3004
  latestDeploymentCreatedAt: string;
2057
3005
  /**
2058
- * Status of latest deployment. Possible values are &quot;waiting&quot;, &quot;processing&quot;, &quot;building&quot;, &quot;ready&quot;, and &quot;failed&quot;.
3006
+ * Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
2059
3007
  */
2060
3008
  latestDeploymentStatus: string;
2061
3009
  /**
@@ -2118,7 +3066,7 @@ export declare namespace Models {
2118
3066
  /**
2119
3067
  * Template Site
2120
3068
  */
2121
- type TemplateSite = {
3069
+ export type TemplateSite = {
2122
3070
  /**
2123
3071
  * Site Template ID.
2124
3072
  */
@@ -2175,7 +3123,7 @@ export declare namespace Models {
2175
3123
  /**
2176
3124
  * Template Framework
2177
3125
  */
2178
- type TemplateFramework = {
3126
+ export type TemplateFramework = {
2179
3127
  /**
2180
3128
  * Parent framework key.
2181
3129
  */
@@ -2216,7 +3164,7 @@ export declare namespace Models {
2216
3164
  /**
2217
3165
  * Function
2218
3166
  */
2219
- type Function = {
3167
+ export type Function = {
2220
3168
  /**
2221
3169
  * Function ID.
2222
3170
  */
@@ -2242,7 +3190,7 @@ export declare namespace Models {
2242
3190
  */
2243
3191
  enabled: boolean;
2244
3192
  /**
2245
- * 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.
3193
+ * 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.
2246
3194
  */
2247
3195
  live: boolean;
2248
3196
  /**
@@ -2254,7 +3202,7 @@ export declare namespace Models {
2254
3202
  */
2255
3203
  runtime: string;
2256
3204
  /**
2257
- * Function&#039;s active deployment ID.
3205
+ * Function's active deployment ID.
2258
3206
  */
2259
3207
  deploymentId: string;
2260
3208
  /**
@@ -2262,7 +3210,7 @@ export declare namespace Models {
2262
3210
  */
2263
3211
  deploymentCreatedAt: string;
2264
3212
  /**
2265
- * Function&#039;s latest deployment ID.
3213
+ * Function's latest deployment ID.
2266
3214
  */
2267
3215
  latestDeploymentId: string;
2268
3216
  /**
@@ -2270,7 +3218,7 @@ export declare namespace Models {
2270
3218
  */
2271
3219
  latestDeploymentCreatedAt: string;
2272
3220
  /**
2273
- * Status of latest deployment. Possible values are &quot;waiting&quot;, &quot;processing&quot;, &quot;building&quot;, &quot;ready&quot;, and &quot;failed&quot;.
3221
+ * Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
2274
3222
  */
2275
3223
  latestDeploymentStatus: string;
2276
3224
  /**
@@ -2333,7 +3281,7 @@ export declare namespace Models {
2333
3281
  /**
2334
3282
  * Template Function
2335
3283
  */
2336
- type TemplateFunction = {
3284
+ export type TemplateFunction = {
2337
3285
  /**
2338
3286
  * Function Template Icon.
2339
3287
  */
@@ -2406,7 +3354,7 @@ export declare namespace Models {
2406
3354
  /**
2407
3355
  * Template Runtime
2408
3356
  */
2409
- type TemplateRuntime = {
3357
+ export type TemplateRuntime = {
2410
3358
  /**
2411
3359
  * Runtime Name.
2412
3360
  */
@@ -2427,7 +3375,7 @@ export declare namespace Models {
2427
3375
  /**
2428
3376
  * Template Variable
2429
3377
  */
2430
- type TemplateVariable = {
3378
+ export type TemplateVariable = {
2431
3379
  /**
2432
3380
  * Variable Name.
2433
3381
  */
@@ -2460,7 +3408,7 @@ export declare namespace Models {
2460
3408
  /**
2461
3409
  * Installation
2462
3410
  */
2463
- type Installation = {
3411
+ export type Installation = {
2464
3412
  /**
2465
3413
  * Function ID.
2466
3414
  */
@@ -2489,7 +3437,7 @@ export declare namespace Models {
2489
3437
  /**
2490
3438
  * ProviderRepository
2491
3439
  */
2492
- type ProviderRepository = {
3440
+ export type ProviderRepository = {
2493
3441
  /**
2494
3442
  * VCS (Version Control System) repository ID.
2495
3443
  */
@@ -2510,15 +3458,23 @@ export declare namespace Models {
2510
3458
  * Is VCS (Version Control System) repository private?
2511
3459
  */
2512
3460
  private: boolean;
3461
+ /**
3462
+ * VCS (Version Control System) repository's default branch name.
3463
+ */
3464
+ defaultBranch: string;
2513
3465
  /**
2514
3466
  * Last commit date in ISO 8601 format.
2515
3467
  */
2516
3468
  pushedAt: string;
3469
+ /**
3470
+ * Environment variables found in .env files
3471
+ */
3472
+ variables: string[];
2517
3473
  };
2518
3474
  /**
2519
3475
  * ProviderRepositoryFramework
2520
3476
  */
2521
- type ProviderRepositoryFramework = {
3477
+ export type ProviderRepositoryFramework = {
2522
3478
  /**
2523
3479
  * VCS (Version Control System) repository ID.
2524
3480
  */
@@ -2539,19 +3495,27 @@ export declare namespace Models {
2539
3495
  * Is VCS (Version Control System) repository private?
2540
3496
  */
2541
3497
  private: boolean;
3498
+ /**
3499
+ * VCS (Version Control System) repository's default branch name.
3500
+ */
3501
+ defaultBranch: string;
2542
3502
  /**
2543
3503
  * Last commit date in ISO 8601 format.
2544
3504
  */
2545
3505
  pushedAt: string;
2546
3506
  /**
2547
- * Auto-detected framework. Empty if type is not &quot;framework&quot;.
3507
+ * Environment variables found in .env files
3508
+ */
3509
+ variables: string[];
3510
+ /**
3511
+ * Auto-detected framework. Empty if type is not "framework".
2548
3512
  */
2549
3513
  framework: string;
2550
3514
  };
2551
3515
  /**
2552
3516
  * ProviderRepositoryRuntime
2553
3517
  */
2554
- type ProviderRepositoryRuntime = {
3518
+ export type ProviderRepositoryRuntime = {
2555
3519
  /**
2556
3520
  * VCS (Version Control System) repository ID.
2557
3521
  */
@@ -2572,19 +3536,31 @@ export declare namespace Models {
2572
3536
  * Is VCS (Version Control System) repository private?
2573
3537
  */
2574
3538
  private: boolean;
3539
+ /**
3540
+ * VCS (Version Control System) repository's default branch name.
3541
+ */
3542
+ defaultBranch: string;
2575
3543
  /**
2576
3544
  * Last commit date in ISO 8601 format.
2577
3545
  */
2578
3546
  pushedAt: string;
2579
3547
  /**
2580
- * Auto-detected runtime. Empty if type is not &quot;runtime&quot;.
3548
+ * Environment variables found in .env files
3549
+ */
3550
+ variables: string[];
3551
+ /**
3552
+ * Auto-detected runtime. Empty if type is not "runtime".
2581
3553
  */
2582
3554
  runtime: string;
2583
3555
  };
2584
3556
  /**
2585
3557
  * DetectionFramework
2586
3558
  */
2587
- type DetectionFramework = {
3559
+ export type DetectionFramework = {
3560
+ /**
3561
+ * Environment variables found in .env files
3562
+ */
3563
+ variables?: DetectionVariable[];
2588
3564
  /**
2589
3565
  * Framework
2590
3566
  */
@@ -2605,7 +3581,11 @@ export declare namespace Models {
2605
3581
  /**
2606
3582
  * DetectionRuntime
2607
3583
  */
2608
- type DetectionRuntime = {
3584
+ export type DetectionRuntime = {
3585
+ /**
3586
+ * Environment variables found in .env files
3587
+ */
3588
+ variables?: DetectionVariable[];
2609
3589
  /**
2610
3590
  * Runtime
2611
3591
  */
@@ -2619,10 +3599,23 @@ export declare namespace Models {
2619
3599
  */
2620
3600
  commands: string;
2621
3601
  };
3602
+ /**
3603
+ * DetectionVariable
3604
+ */
3605
+ export type DetectionVariable = {
3606
+ /**
3607
+ * Name of environment variable
3608
+ */
3609
+ name: string;
3610
+ /**
3611
+ * Value of environment variable
3612
+ */
3613
+ value: string;
3614
+ };
2622
3615
  /**
2623
3616
  * VcsContents
2624
3617
  */
2625
- type VcsContent = {
3618
+ export type VcsContent = {
2626
3619
  /**
2627
3620
  * Content size in bytes. Only files have size, and for directories, 0 is returned.
2628
3621
  */
@@ -2639,7 +3632,7 @@ export declare namespace Models {
2639
3632
  /**
2640
3633
  * Branch
2641
3634
  */
2642
- type Branch = {
3635
+ export type Branch = {
2643
3636
  /**
2644
3637
  * Branch Name.
2645
3638
  */
@@ -2648,7 +3641,7 @@ export declare namespace Models {
2648
3641
  /**
2649
3642
  * Runtime
2650
3643
  */
2651
- type Runtime = {
3644
+ export type Runtime = {
2652
3645
  /**
2653
3646
  * Runtime ID.
2654
3647
  */
@@ -2685,7 +3678,7 @@ export declare namespace Models {
2685
3678
  /**
2686
3679
  * Framework
2687
3680
  */
2688
- type Framework = {
3681
+ export type Framework = {
2689
3682
  /**
2690
3683
  * Framework key.
2691
3684
  */
@@ -2710,7 +3703,7 @@ export declare namespace Models {
2710
3703
  /**
2711
3704
  * Framework Adapter
2712
3705
  */
2713
- type FrameworkAdapter = {
3706
+ export type FrameworkAdapter = {
2714
3707
  /**
2715
3708
  * Adapter key.
2716
3709
  */
@@ -2735,7 +3728,7 @@ export declare namespace Models {
2735
3728
  /**
2736
3729
  * Deployment
2737
3730
  */
2738
- type Deployment = {
3731
+ export type Deployment = {
2739
3732
  /**
2740
3733
  * Deployment ID.
2741
3734
  */
@@ -2793,9 +3786,9 @@ export declare namespace Models {
2793
3786
  */
2794
3787
  screenshotDark: string;
2795
3788
  /**
2796
- * The deployment status. Possible values are &quot;waiting&quot;, &quot;processing&quot;, &quot;building&quot;, &quot;ready&quot;, and &quot;failed&quot;.
3789
+ * The deployment status. Possible values are "waiting", "processing", "building", "ready", and "failed".
2797
3790
  */
2798
- status: string;
3791
+ status: DeploymentStatus;
2799
3792
  /**
2800
3793
  * The build logs.
2801
3794
  */
@@ -2816,10 +3809,6 @@ export declare namespace Models {
2816
3809
  * The url of the vcs provider repository
2817
3810
  */
2818
3811
  providerRepositoryUrl: string;
2819
- /**
2820
- * The branch of the vcs repository
2821
- */
2822
- providerBranch: string;
2823
3812
  /**
2824
3813
  * The commit hash of the vcs commit
2825
3814
  */
@@ -2840,6 +3829,10 @@ export declare namespace Models {
2840
3829
  * The url of the vcs commit
2841
3830
  */
2842
3831
  providerCommitUrl: string;
3832
+ /**
3833
+ * The branch of the vcs repository
3834
+ */
3835
+ providerBranch: string;
2843
3836
  /**
2844
3837
  * The branch of the vcs repository
2845
3838
  */
@@ -2848,7 +3841,7 @@ export declare namespace Models {
2848
3841
  /**
2849
3842
  * Execution
2850
3843
  */
2851
- type Execution = {
3844
+ export type Execution = {
2852
3845
  /**
2853
3846
  * Execution ID.
2854
3847
  */
@@ -2858,7 +3851,7 @@ export declare namespace Models {
2858
3851
  */
2859
3852
  $createdAt: string;
2860
3853
  /**
2861
- * Execution upate date in ISO 8601 format.
3854
+ * Execution update date in ISO 8601 format.
2862
3855
  */
2863
3856
  $updatedAt: string;
2864
3857
  /**
@@ -2869,14 +3862,18 @@ export declare namespace Models {
2869
3862
  * Function ID.
2870
3863
  */
2871
3864
  functionId: string;
3865
+ /**
3866
+ * Function's deployment ID used to create the execution.
3867
+ */
3868
+ deploymentId: string;
2872
3869
  /**
2873
3870
  * The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.
2874
3871
  */
2875
- trigger: string;
3872
+ trigger: ExecutionTrigger;
2876
3873
  /**
2877
- * The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.
3874
+ * The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, `failed`, or `scheduled`.
2878
3875
  */
2879
- status: string;
3876
+ status: ExecutionStatus;
2880
3877
  /**
2881
3878
  * HTTP request method type.
2882
3879
  */
@@ -2886,7 +3883,7 @@ export declare namespace Models {
2886
3883
  */
2887
3884
  requestPath: string;
2888
3885
  /**
2889
- * HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
3886
+ * HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
2890
3887
  */
2891
3888
  requestHeaders: Headers[];
2892
3889
  /**
@@ -2921,7 +3918,7 @@ export declare namespace Models {
2921
3918
  /**
2922
3919
  * Project
2923
3920
  */
2924
- type Project = {
3921
+ export type Project = {
2925
3922
  /**
2926
3923
  * Project ID.
2927
3924
  */
@@ -2995,7 +3992,7 @@ export declare namespace Models {
2995
3992
  */
2996
3993
  authPasswordHistory: number;
2997
3994
  /**
2998
- * Whether or not to check user&#039;s password against most commonly used passwords.
3995
+ * Whether or not to check user's password against most commonly used passwords.
2999
3996
  */
3000
3997
  authPasswordDictionary: boolean;
3001
3998
  /**
@@ -3022,6 +4019,10 @@ export declare namespace Models {
3022
4019
  * Whether or not to show user MFA status in the teams membership response.
3023
4020
  */
3024
4021
  authMembershipsMfa: boolean;
4022
+ /**
4023
+ * Whether or not all existing sessions should be invalidated on password change
4024
+ */
4025
+ authInvalidateSessions: boolean;
3025
4026
  /**
3026
4027
  * List of Auth Providers.
3027
4028
  */
@@ -3123,9 +4124,13 @@ export declare namespace Models {
3123
4124
  */
3124
4125
  serviceStatusForAvatars: boolean;
3125
4126
  /**
3126
- * Databases service status
4127
+ * Databases (legacy) service status
3127
4128
  */
3128
4129
  serviceStatusForDatabases: boolean;
4130
+ /**
4131
+ * TablesDB service status
4132
+ */
4133
+ serviceStatusForTablesdb: boolean;
3129
4134
  /**
3130
4135
  * Locale service status
3131
4136
  */
@@ -3166,11 +4171,23 @@ export declare namespace Models {
3166
4171
  * Project region
3167
4172
  */
3168
4173
  region: string;
4174
+ /**
4175
+ * Project status
4176
+ */
4177
+ status: string;
4178
+ /**
4179
+ * Billing limits reached
4180
+ */
4181
+ billingLimits: BillingLimits;
4182
+ /**
4183
+ * Project blocks information
4184
+ */
4185
+ blocks: Block[];
3169
4186
  };
3170
4187
  /**
3171
4188
  * Webhook
3172
4189
  */
3173
- type Webhook = {
4190
+ export type Webhook = {
3174
4191
  /**
3175
4192
  * Webhook ID.
3176
4193
  */
@@ -3227,7 +4244,7 @@ export declare namespace Models {
3227
4244
  /**
3228
4245
  * Key
3229
4246
  */
3230
- type Key = {
4247
+ export type Key = {
3231
4248
  /**
3232
4249
  * Key ID.
3233
4250
  */
@@ -3268,7 +4285,7 @@ export declare namespace Models {
3268
4285
  /**
3269
4286
  * DevKey
3270
4287
  */
3271
- type DevKey = {
4288
+ export type DevKey = {
3272
4289
  /**
3273
4290
  * Key ID.
3274
4291
  */
@@ -3305,7 +4322,7 @@ export declare namespace Models {
3305
4322
  /**
3306
4323
  * Mock Number
3307
4324
  */
3308
- type MockNumber = {
4325
+ export type MockNumber = {
3309
4326
  /**
3310
4327
  * Mock phone number for testing phone authentication. Useful for testing phone authentication without sending an SMS.
3311
4328
  */
@@ -3318,7 +4335,7 @@ export declare namespace Models {
3318
4335
  /**
3319
4336
  * AuthProvider
3320
4337
  */
3321
- type AuthProvider = {
4338
+ export type AuthProvider = {
3322
4339
  /**
3323
4340
  * Auth Provider.
3324
4341
  */
@@ -3343,7 +4360,7 @@ export declare namespace Models {
3343
4360
  /**
3344
4361
  * Platform
3345
4362
  */
3346
- type Platform = {
4363
+ export type Platform = {
3347
4364
  /**
3348
4365
  * Platform ID.
3349
4366
  */
@@ -3361,9 +4378,9 @@ export declare namespace Models {
3361
4378
  */
3362
4379
  name: string;
3363
4380
  /**
3364
- * Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.
4381
+ * 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.
3365
4382
  */
3366
- type: string;
4383
+ type: PlatformType;
3367
4384
  /**
3368
4385
  * Platform Key. iOS bundle ID or Android package name. Empty string for other platforms.
3369
4386
  */
@@ -3388,7 +4405,7 @@ export declare namespace Models {
3388
4405
  /**
3389
4406
  * Variable
3390
4407
  */
3391
- type Variable = {
4408
+ export type Variable = {
3392
4409
  /**
3393
4410
  * Variable ID.
3394
4411
  */
@@ -3414,18 +4431,18 @@ export declare namespace Models {
3414
4431
  */
3415
4432
  secret: boolean;
3416
4433
  /**
3417
- * Service to which the variable belongs. Possible values are &quot;project&quot;, &quot;function&quot;
4434
+ * Service to which the variable belongs. Possible values are "project", "function"
3418
4435
  */
3419
4436
  resourceType: string;
3420
4437
  /**
3421
- * 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.
4438
+ * 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.
3422
4439
  */
3423
4440
  resourceId: string;
3424
4441
  };
3425
4442
  /**
3426
4443
  * Country
3427
4444
  */
3428
- type Country = {
4445
+ export type Country = {
3429
4446
  /**
3430
4447
  * Country name.
3431
4448
  */
@@ -3438,7 +4455,7 @@ export declare namespace Models {
3438
4455
  /**
3439
4456
  * Continent
3440
4457
  */
3441
- type Continent = {
4458
+ export type Continent = {
3442
4459
  /**
3443
4460
  * Continent name.
3444
4461
  */
@@ -3451,7 +4468,7 @@ export declare namespace Models {
3451
4468
  /**
3452
4469
  * Language
3453
4470
  */
3454
- type Language = {
4471
+ export type Language = {
3455
4472
  /**
3456
4473
  * Language name.
3457
4474
  */
@@ -3468,7 +4485,7 @@ export declare namespace Models {
3468
4485
  /**
3469
4486
  * Currency
3470
4487
  */
3471
- type Currency = {
4488
+ export type Currency = {
3472
4489
  /**
3473
4490
  * Currency symbol.
3474
4491
  */
@@ -3501,7 +4518,7 @@ export declare namespace Models {
3501
4518
  /**
3502
4519
  * Phone
3503
4520
  */
3504
- type Phone = {
4521
+ export type Phone = {
3505
4522
  /**
3506
4523
  * Phone code.
3507
4524
  */
@@ -3518,20 +4535,20 @@ export declare namespace Models {
3518
4535
  /**
3519
4536
  * Health Antivirus
3520
4537
  */
3521
- type HealthAntivirus = {
4538
+ export type HealthAntivirus = {
3522
4539
  /**
3523
4540
  * Antivirus version.
3524
4541
  */
3525
4542
  version: string;
3526
4543
  /**
3527
- * Antivirus status. Possible values can are: `disabled`, `offline`, `online`
4544
+ * Antivirus status. Possible values are: `disabled`, `offline`, `online`
3528
4545
  */
3529
- status: string;
4546
+ status: HealthAntivirusStatus;
3530
4547
  };
3531
4548
  /**
3532
4549
  * Health Queue
3533
4550
  */
3534
- type HealthQueue = {
4551
+ export type HealthQueue = {
3535
4552
  /**
3536
4553
  * Amount of actions in the queue.
3537
4554
  */
@@ -3540,7 +4557,7 @@ export declare namespace Models {
3540
4557
  /**
3541
4558
  * Health Status
3542
4559
  */
3543
- type HealthStatus = {
4560
+ export type HealthStatus = {
3544
4561
  /**
3545
4562
  * Name of the service.
3546
4563
  */
@@ -3550,14 +4567,14 @@ export declare namespace Models {
3550
4567
  */
3551
4568
  ping: number;
3552
4569
  /**
3553
- * Service status. Possible values can are: `pass`, `fail`
4570
+ * Service status. Possible values are: `pass`, `fail`
3554
4571
  */
3555
- status: string;
4572
+ status: HealthCheckStatus;
3556
4573
  };
3557
4574
  /**
3558
4575
  * Health Certificate
3559
4576
  */
3560
- type HealthCertificate = {
4577
+ export type HealthCertificate = {
3561
4578
  /**
3562
4579
  * Certificate name
3563
4580
  */
@@ -3586,7 +4603,7 @@ export declare namespace Models {
3586
4603
  /**
3587
4604
  * Health Time
3588
4605
  */
3589
- type HealthTime = {
4606
+ export type HealthTime = {
3590
4607
  /**
3591
4608
  * Current unix timestamp on trustful remote server.
3592
4609
  */
@@ -3603,7 +4620,7 @@ export declare namespace Models {
3603
4620
  /**
3604
4621
  * Metric
3605
4622
  */
3606
- type Metric = {
4623
+ export type Metric = {
3607
4624
  /**
3608
4625
  * The value of this metric at the timestamp.
3609
4626
  */
@@ -3616,7 +4633,7 @@ export declare namespace Models {
3616
4633
  /**
3617
4634
  * Metric Breakdown
3618
4635
  */
3619
- type MetricBreakdown = {
4636
+ export type MetricBreakdown = {
3620
4637
  /**
3621
4638
  * Resource ID.
3622
4639
  */
@@ -3637,7 +4654,7 @@ export declare namespace Models {
3637
4654
  /**
3638
4655
  * UsageDatabases
3639
4656
  */
3640
- type UsageDatabases = {
4657
+ export type UsageDatabases = {
3641
4658
  /**
3642
4659
  * Time range of the usage stats.
3643
4660
  */
@@ -3650,10 +4667,18 @@ export declare namespace Models {
3650
4667
  * Total aggregated number of collections.
3651
4668
  */
3652
4669
  collectionsTotal: number;
4670
+ /**
4671
+ * Total aggregated number of tables.
4672
+ */
4673
+ tablesTotal: number;
3653
4674
  /**
3654
4675
  * Total aggregated number of documents.
3655
4676
  */
3656
4677
  documentsTotal: number;
4678
+ /**
4679
+ * Total aggregated number of rows.
4680
+ */
4681
+ rowsTotal: number;
3657
4682
  /**
3658
4683
  * Total aggregated number of total databases storage in bytes.
3659
4684
  */
@@ -3674,10 +4699,18 @@ export declare namespace Models {
3674
4699
  * Aggregated number of collections per period.
3675
4700
  */
3676
4701
  collections: Metric[];
4702
+ /**
4703
+ * Aggregated number of tables per period.
4704
+ */
4705
+ tables: Metric[];
3677
4706
  /**
3678
4707
  * Aggregated number of documents per period.
3679
4708
  */
3680
4709
  documents: Metric[];
4710
+ /**
4711
+ * Aggregated number of rows per period.
4712
+ */
4713
+ rows: Metric[];
3681
4714
  /**
3682
4715
  * An array of the aggregated number of databases storage in bytes per period.
3683
4716
  */
@@ -3694,7 +4727,7 @@ export declare namespace Models {
3694
4727
  /**
3695
4728
  * UsageDatabase
3696
4729
  */
3697
- type UsageDatabase = {
4730
+ export type UsageDatabase = {
3698
4731
  /**
3699
4732
  * Time range of the usage stats.
3700
4733
  */
@@ -3703,10 +4736,18 @@ export declare namespace Models {
3703
4736
  * Total aggregated number of collections.
3704
4737
  */
3705
4738
  collectionsTotal: number;
4739
+ /**
4740
+ * Total aggregated number of tables.
4741
+ */
4742
+ tablesTotal: number;
3706
4743
  /**
3707
4744
  * Total aggregated number of documents.
3708
4745
  */
3709
- documentsTotal: number;
4746
+ documentsTotal: number;
4747
+ /**
4748
+ * Total aggregated number of rows.
4749
+ */
4750
+ rowsTotal: number;
3710
4751
  /**
3711
4752
  * Total aggregated number of total storage used in bytes.
3712
4753
  */
@@ -3723,10 +4764,18 @@ export declare namespace Models {
3723
4764
  * Aggregated number of collections per period.
3724
4765
  */
3725
4766
  collections: Metric[];
4767
+ /**
4768
+ * Aggregated number of tables per period.
4769
+ */
4770
+ tables: Metric[];
3726
4771
  /**
3727
4772
  * Aggregated number of documents per period.
3728
4773
  */
3729
4774
  documents: Metric[];
4775
+ /**
4776
+ * Aggregated number of rows per period.
4777
+ */
4778
+ rows: Metric[];
3730
4779
  /**
3731
4780
  * Aggregated storage used in bytes per period.
3732
4781
  */
@@ -3740,10 +4789,27 @@ export declare namespace Models {
3740
4789
  */
3741
4790
  databaseWrites: Metric[];
3742
4791
  };
4792
+ /**
4793
+ * UsageTable
4794
+ */
4795
+ export type UsageTable = {
4796
+ /**
4797
+ * Time range of the usage stats.
4798
+ */
4799
+ range: string;
4800
+ /**
4801
+ * Total aggregated number of of rows.
4802
+ */
4803
+ rowsTotal: number;
4804
+ /**
4805
+ * Aggregated number of rows per period.
4806
+ */
4807
+ rows: Metric[];
4808
+ };
3743
4809
  /**
3744
4810
  * UsageCollection
3745
4811
  */
3746
- type UsageCollection = {
4812
+ export type UsageCollection = {
3747
4813
  /**
3748
4814
  * Time range of the usage stats.
3749
4815
  */
@@ -3760,7 +4826,7 @@ export declare namespace Models {
3760
4826
  /**
3761
4827
  * UsageUsers
3762
4828
  */
3763
- type UsageUsers = {
4829
+ export type UsageUsers = {
3764
4830
  /**
3765
4831
  * Time range of the usage stats.
3766
4832
  */
@@ -3785,7 +4851,7 @@ export declare namespace Models {
3785
4851
  /**
3786
4852
  * StorageUsage
3787
4853
  */
3788
- type UsageStorage = {
4854
+ export type UsageStorage = {
3789
4855
  /**
3790
4856
  * Time range of the usage stats.
3791
4857
  */
@@ -3818,7 +4884,7 @@ export declare namespace Models {
3818
4884
  /**
3819
4885
  * UsageBuckets
3820
4886
  */
3821
- type UsageBuckets = {
4887
+ export type UsageBuckets = {
3822
4888
  /**
3823
4889
  * Time range of the usage stats.
3824
4890
  */
@@ -3851,7 +4917,7 @@ export declare namespace Models {
3851
4917
  /**
3852
4918
  * UsageFunctions
3853
4919
  */
3854
- type UsageFunctions = {
4920
+ export type UsageFunctions = {
3855
4921
  /**
3856
4922
  * Time range of the usage stats.
3857
4923
  */
@@ -3956,7 +5022,7 @@ export declare namespace Models {
3956
5022
  /**
3957
5023
  * UsageFunction
3958
5024
  */
3959
- type UsageFunction = {
5025
+ export type UsageFunction = {
3960
5026
  /**
3961
5027
  * The time range of the usage stats.
3962
5028
  */
@@ -4057,7 +5123,7 @@ export declare namespace Models {
4057
5123
  /**
4058
5124
  * UsageSites
4059
5125
  */
4060
- type UsageSites = {
5126
+ export type UsageSites = {
4061
5127
  /**
4062
5128
  * Time range of the usage stats.
4063
5129
  */
@@ -4186,7 +5252,7 @@ export declare namespace Models {
4186
5252
  /**
4187
5253
  * UsageSite
4188
5254
  */
4189
- type UsageSite = {
5255
+ export type UsageSite = {
4190
5256
  /**
4191
5257
  * The time range of the usage stats.
4192
5258
  */
@@ -4311,7 +5377,7 @@ export declare namespace Models {
4311
5377
  /**
4312
5378
  * UsageProject
4313
5379
  */
4314
- type UsageProject = {
5380
+ export type UsageProject = {
4315
5381
  /**
4316
5382
  * Total aggregated number of function executions.
4317
5383
  */
@@ -4320,6 +5386,10 @@ export declare namespace Models {
4320
5386
  * Total aggregated number of documents.
4321
5387
  */
4322
5388
  documentsTotal: number;
5389
+ /**
5390
+ * Total aggregated number of rows.
5391
+ */
5392
+ rowsTotal: number;
4323
5393
  /**
4324
5394
  * Total aggregated number of databases.
4325
5395
  */
@@ -4444,11 +5514,27 @@ export declare namespace Models {
4444
5514
  * Aggregated stats for total backups storage.
4445
5515
  */
4446
5516
  backupsStorageTotal: number;
5517
+ /**
5518
+ * An array of aggregated number of screenshots generated.
5519
+ */
5520
+ screenshotsGenerated: Metric[];
5521
+ /**
5522
+ * Total aggregated number of screenshots generated.
5523
+ */
5524
+ screenshotsGeneratedTotal: number;
5525
+ /**
5526
+ * An array of aggregated number of Imagine credits in the given period.
5527
+ */
5528
+ imagineCredits: Metric[];
5529
+ /**
5530
+ * Total aggregated number of Imagine credits.
5531
+ */
5532
+ imagineCreditsTotal: number;
4447
5533
  };
4448
5534
  /**
4449
5535
  * Headers
4450
5536
  */
4451
- type Headers = {
5537
+ export type Headers = {
4452
5538
  /**
4453
5539
  * Header name.
4454
5540
  */
@@ -4461,7 +5547,7 @@ export declare namespace Models {
4461
5547
  /**
4462
5548
  * Specification
4463
5549
  */
4464
- type Specification = {
5550
+ export type Specification = {
4465
5551
  /**
4466
5552
  * Memory size in MB.
4467
5553
  */
@@ -4482,7 +5568,7 @@ export declare namespace Models {
4482
5568
  /**
4483
5569
  * Rule
4484
5570
  */
4485
- type ProxyRule = {
5571
+ export type ProxyRule = {
4486
5572
  /**
4487
5573
  * Rule ID.
4488
5574
  */
@@ -4500,43 +5586,43 @@ export declare namespace Models {
4500
5586
  */
4501
5587
  domain: string;
4502
5588
  /**
4503
- * Action definition for the rule. Possible values are &quot;api&quot;, &quot;deployment&quot;, or &quot;redirect&quot;
5589
+ * Action definition for the rule. Possible values are "api", "deployment", or "redirect"
4504
5590
  */
4505
5591
  type: string;
4506
5592
  /**
4507
- * Defines how the rule was created. Possible values are &quot;manual&quot; or &quot;deployment&quot;
5593
+ * Defines how the rule was created. Possible values are "manual" or "deployment"
4508
5594
  */
4509
5595
  trigger: string;
4510
5596
  /**
4511
- * URL to redirect to. Used if type is &quot;redirect&quot;
5597
+ * URL to redirect to. Used if type is "redirect"
4512
5598
  */
4513
5599
  redirectUrl: string;
4514
5600
  /**
4515
- * Status code to apply during redirect. Used if type is &quot;redirect&quot;
5601
+ * Status code to apply during redirect. Used if type is "redirect"
4516
5602
  */
4517
5603
  redirectStatusCode: number;
4518
5604
  /**
4519
- * ID of deployment. Used if type is &quot;deployment&quot;
5605
+ * ID of deployment. Used if type is "deployment"
4520
5606
  */
4521
5607
  deploymentId: string;
4522
5608
  /**
4523
- * Type of deployment. Possible values are &quot;function&quot;, &quot;site&quot;. Used if rule&#039;s type is &quot;deployment&quot;.
5609
+ * Type of deployment. Possible values are "function", "site". Used if rule's type is "deployment".
4524
5610
  */
4525
- deploymentResourceType: string;
5611
+ deploymentResourceType: ProxyRuleDeploymentResourceType;
4526
5612
  /**
4527
- * ID deployment&#039;s resource. Used if type is &quot;deployment&quot;
5613
+ * ID deployment's resource. Used if type is "deployment"
4528
5614
  */
4529
5615
  deploymentResourceId: string;
4530
5616
  /**
4531
- * Name of Git branch that updates rule. Used if type is &quot;deployment&quot;
5617
+ * Name of Git branch that updates rule. Used if type is "deployment"
4532
5618
  */
4533
5619
  deploymentVcsProviderBranch: string;
4534
5620
  /**
4535
- * Domain verification status. Possible values are &quot;created&quot;, &quot;verifying&quot;, &quot;verified&quot; and &quot;unverified&quot;
5621
+ * Domain verification status. Possible values are "created", "verifying", "verified" and "unverified"
4536
5622
  */
4537
- status: string;
5623
+ status: ProxyRuleStatus;
4538
5624
  /**
4539
- * Certificate generation logs. This will return an empty string if generation did not run, or succeeded.
5625
+ * Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.
4540
5626
  */
4541
5627
  logs: string;
4542
5628
  /**
@@ -4547,7 +5633,7 @@ export declare namespace Models {
4547
5633
  /**
4548
5634
  * SmsTemplate
4549
5635
  */
4550
- type SmsTemplate = {
5636
+ export type SmsTemplate = {
4551
5637
  /**
4552
5638
  * Template type
4553
5639
  */
@@ -4564,7 +5650,7 @@ export declare namespace Models {
4564
5650
  /**
4565
5651
  * EmailTemplate
4566
5652
  */
4567
- type EmailTemplate = {
5653
+ export type EmailTemplate = {
4568
5654
  /**
4569
5655
  * Template type
4570
5656
  */
@@ -4597,7 +5683,7 @@ export declare namespace Models {
4597
5683
  /**
4598
5684
  * Console Variables
4599
5685
  */
4600
- type ConsoleVariables = {
5686
+ export type ConsoleVariables = {
4601
5687
  /**
4602
5688
  * CNAME target for your Appwrite custom domains.
4603
5689
  */
@@ -4606,10 +5692,18 @@ export declare namespace Models {
4606
5692
  * A target for your Appwrite custom domains.
4607
5693
  */
4608
5694
  _APP_DOMAIN_TARGET_A: string;
5695
+ /**
5696
+ * Maximum build timeout in seconds.
5697
+ */
5698
+ _APP_COMPUTE_BUILD_TIMEOUT: number;
4609
5699
  /**
4610
5700
  * AAAA target for your Appwrite custom domains.
4611
5701
  */
4612
5702
  _APP_DOMAIN_TARGET_AAAA: string;
5703
+ /**
5704
+ * CAA target for your Appwrite custom domains.
5705
+ */
5706
+ _APP_DOMAIN_TARGET_CAA: string;
4613
5707
  /**
4614
5708
  * Maximum file size allowed for file upload in bytes.
4615
5709
  */
@@ -4619,7 +5713,7 @@ export declare namespace Models {
4619
5713
  */
4620
5714
  _APP_COMPUTE_SIZE_LIMIT: number;
4621
5715
  /**
4622
- * 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;.
5716
+ * Defines if usage stats are enabled. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'.
4623
5717
  */
4624
5718
  _APP_USAGE_STATS: string;
4625
5719
  /**
@@ -4654,7 +5748,7 @@ export declare namespace Models {
4654
5748
  /**
4655
5749
  * MFA Challenge
4656
5750
  */
4657
- type MfaChallenge = {
5751
+ export type MfaChallenge = {
4658
5752
  /**
4659
5753
  * Token ID.
4660
5754
  */
@@ -4675,7 +5769,7 @@ export declare namespace Models {
4675
5769
  /**
4676
5770
  * MFA Recovery Codes
4677
5771
  */
4678
- type MfaRecoveryCodes = {
5772
+ export type MfaRecoveryCodes = {
4679
5773
  /**
4680
5774
  * Recovery codes.
4681
5775
  */
@@ -4684,7 +5778,7 @@ export declare namespace Models {
4684
5778
  /**
4685
5779
  * MFAType
4686
5780
  */
4687
- type MfaType = {
5781
+ export type MfaType = {
4688
5782
  /**
4689
5783
  * Secret token used for TOTP factor.
4690
5784
  */
@@ -4697,7 +5791,7 @@ export declare namespace Models {
4697
5791
  /**
4698
5792
  * MFAFactors
4699
5793
  */
4700
- type MfaFactors = {
5794
+ export type MfaFactors = {
4701
5795
  /**
4702
5796
  * Can TOTP be used for MFA challenge for this account.
4703
5797
  */
@@ -4718,7 +5812,7 @@ export declare namespace Models {
4718
5812
  /**
4719
5813
  * Provider
4720
5814
  */
4721
- type Provider = {
5815
+ export type Provider = {
4722
5816
  /**
4723
5817
  * Provider ID.
4724
5818
  */
@@ -4759,7 +5853,7 @@ export declare namespace Models {
4759
5853
  /**
4760
5854
  * Message
4761
5855
  */
4762
- type Message = {
5856
+ export type Message = {
4763
5857
  /**
4764
5858
  * Message ID.
4765
5859
  */
@@ -4811,12 +5905,12 @@ export declare namespace Models {
4811
5905
  /**
4812
5906
  * Status of delivery.
4813
5907
  */
4814
- status: string;
5908
+ status: MessageStatus;
4815
5909
  };
4816
5910
  /**
4817
5911
  * Topic
4818
5912
  */
4819
- type Topic = {
5913
+ export type Topic = {
4820
5914
  /**
4821
5915
  * Topic ID.
4822
5916
  */
@@ -4850,10 +5944,39 @@ export declare namespace Models {
4850
5944
  */
4851
5945
  subscribe: string[];
4852
5946
  };
5947
+ /**
5948
+ * Transaction
5949
+ */
5950
+ export type Transaction = {
5951
+ /**
5952
+ * Transaction ID.
5953
+ */
5954
+ $id: string;
5955
+ /**
5956
+ * Transaction creation time in ISO 8601 format.
5957
+ */
5958
+ $createdAt: string;
5959
+ /**
5960
+ * Transaction update date in ISO 8601 format.
5961
+ */
5962
+ $updatedAt: string;
5963
+ /**
5964
+ * Current status of the transaction. One of: pending, committing, committed, rolled_back, failed.
5965
+ */
5966
+ status: string;
5967
+ /**
5968
+ * Number of operations in the transaction.
5969
+ */
5970
+ operations: number;
5971
+ /**
5972
+ * Expiration time in ISO 8601 format.
5973
+ */
5974
+ expiresAt: string;
5975
+ };
4853
5976
  /**
4854
5977
  * Subscriber
4855
5978
  */
4856
- type Subscriber = {
5979
+ export type Subscriber = {
4857
5980
  /**
4858
5981
  * Subscriber ID.
4859
5982
  */
@@ -4894,7 +6017,7 @@ export declare namespace Models {
4894
6017
  /**
4895
6018
  * Target
4896
6019
  */
4897
- type Target = {
6020
+ export type Target = {
4898
6021
  /**
4899
6022
  * Target ID.
4900
6023
  */
@@ -4935,7 +6058,7 @@ export declare namespace Models {
4935
6058
  /**
4936
6059
  * Migration
4937
6060
  */
4938
- type Migration = {
6061
+ export type Migration = {
4939
6062
  /**
4940
6063
  * Migration ID.
4941
6064
  */
@@ -4984,11 +6107,15 @@ export declare namespace Models {
4984
6107
  * All errors that occurred during the migration process.
4985
6108
  */
4986
6109
  errors: string[];
6110
+ /**
6111
+ * Migration options used during the migration process.
6112
+ */
6113
+ options: object;
4987
6114
  };
4988
6115
  /**
4989
6116
  * Migration Report
4990
6117
  */
4991
- type MigrationReport = {
6118
+ export type MigrationReport = {
4992
6119
  /**
4993
6120
  * Number of users to be migrated.
4994
6121
  */
@@ -5002,9 +6129,9 @@ export declare namespace Models {
5002
6129
  */
5003
6130
  database: number;
5004
6131
  /**
5005
- * Number of documents to be migrated.
6132
+ * Number of rows to be migrated.
5006
6133
  */
5007
- document: number;
6134
+ row: number;
5008
6135
  /**
5009
6136
  * Number of files to be migrated.
5010
6137
  */
@@ -5029,7 +6156,11 @@ export declare namespace Models {
5029
6156
  /**
5030
6157
  * AdditionalResource
5031
6158
  */
5032
- type AdditionalResource = {
6159
+ export type AdditionalResource = {
6160
+ /**
6161
+ * Resource name
6162
+ */
6163
+ name: string;
5033
6164
  /**
5034
6165
  * Resource unit
5035
6166
  */
@@ -5046,11 +6177,15 @@ export declare namespace Models {
5046
6177
  * Resource value
5047
6178
  */
5048
6179
  value: number;
6180
+ /**
6181
+ * Description on invoice
6182
+ */
6183
+ invoiceDesc: string;
5049
6184
  };
5050
6185
  /**
5051
6186
  * AggregationTeam
5052
6187
  */
5053
- type AggregationTeam = {
6188
+ export type AggregationTeam = {
5054
6189
  /**
5055
6190
  * Aggregation ID.
5056
6191
  */
@@ -5151,11 +6286,44 @@ export declare namespace Models {
5151
6286
  * Aggregated amount
5152
6287
  */
5153
6288
  amount: number;
6289
+ /**
6290
+ * Aggregation project breakdown
6291
+ */
6292
+ breakdown: AggregationBreakdown[];
6293
+ /**
6294
+ * Usage resources
6295
+ */
6296
+ resources: UsageResources[];
6297
+ };
6298
+ /**
6299
+ * AggregationBreakdown
6300
+ */
6301
+ export type AggregationBreakdown = {
6302
+ /**
6303
+ * Aggregation ID.
6304
+ */
6305
+ $id: string;
6306
+ /**
6307
+ * Project name
6308
+ */
6309
+ name: string;
6310
+ /**
6311
+ * Project region
6312
+ */
6313
+ region: string;
6314
+ /**
6315
+ * Aggregated amount
6316
+ */
6317
+ amount: number;
6318
+ /**
6319
+ *
6320
+ */
6321
+ resources: UsageResources[];
5154
6322
  };
5155
6323
  /**
5156
6324
  * Archive
5157
6325
  */
5158
- type BackupArchive = {
6326
+ export type BackupArchive = {
5159
6327
  /**
5160
6328
  * Archive ID.
5161
6329
  */
@@ -5208,7 +6376,7 @@ export declare namespace Models {
5208
6376
  /**
5209
6377
  * BillingAddress
5210
6378
  */
5211
- type BillingAddress = {
6379
+ export type BillingAddress = {
5212
6380
  /**
5213
6381
  * Region ID
5214
6382
  */
@@ -5245,7 +6413,7 @@ export declare namespace Models {
5245
6413
  /**
5246
6414
  * billingPlan
5247
6415
  */
5248
- type BillingPlan = {
6416
+ export type BillingPlan = {
5249
6417
  /**
5250
6418
  * Plan ID.
5251
6419
  */
@@ -5291,7 +6459,11 @@ export declare namespace Models {
5291
6459
  */
5292
6460
  webhooks: number;
5293
6461
  /**
5294
- * Platofrms
6462
+ * Projects
6463
+ */
6464
+ projects: number;
6465
+ /**
6466
+ * Platforms
5295
6467
  */
5296
6468
  platforms: number;
5297
6469
  /**
@@ -5306,6 +6478,18 @@ export declare namespace Models {
5306
6478
  * Databases
5307
6479
  */
5308
6480
  databases: number;
6481
+ /**
6482
+ * Database reads per month
6483
+ */
6484
+ databasesReads: number;
6485
+ /**
6486
+ * Database writes per month
6487
+ */
6488
+ databasesWrites: number;
6489
+ /**
6490
+ * Database batch size limit
6491
+ */
6492
+ databasesBatchSize: number;
5309
6493
  /**
5310
6494
  * Buckets
5311
6495
  */
@@ -5318,18 +6502,46 @@ export declare namespace Models {
5318
6502
  * Functions
5319
6503
  */
5320
6504
  functions: number;
6505
+ /**
6506
+ * Sites
6507
+ */
6508
+ sites: number;
5321
6509
  /**
5322
6510
  * Function executions
5323
6511
  */
5324
6512
  executions: number;
6513
+ /**
6514
+ * GB hours for functions
6515
+ */
6516
+ GBHours: number;
5325
6517
  /**
5326
6518
  * Realtime connections
5327
6519
  */
5328
6520
  realtime: number;
6521
+ /**
6522
+ * Messages per month
6523
+ */
6524
+ messages: number;
6525
+ /**
6526
+ * Topics for messaging
6527
+ */
6528
+ topics: number;
6529
+ /**
6530
+ * SMS authentications per month
6531
+ */
6532
+ authPhone: number;
6533
+ /**
6534
+ * Custom domains
6535
+ */
6536
+ domains: number;
5329
6537
  /**
5330
6538
  * Log days
5331
6539
  */
5332
6540
  logs: number;
6541
+ /**
6542
+ * Alert threshold percentage
6543
+ */
6544
+ alertLimit: number;
5333
6545
  /**
5334
6546
  * Additional resources
5335
6547
  */
@@ -5390,6 +6602,10 @@ export declare namespace Models {
5390
6602
  * Does plan support backup policies.
5391
6603
  */
5392
6604
  backupsEnabled: boolean;
6605
+ /**
6606
+ * Whether usage addons are calculated per project.
6607
+ */
6608
+ usagePerProject: boolean;
5393
6609
  /**
5394
6610
  * How many policies does plan support
5395
6611
  */
@@ -5406,24 +6622,44 @@ export declare namespace Models {
5406
6622
  * Does the plan support encrypted string attributes or not.
5407
6623
  */
5408
6624
  databasesAllowEncrypt: boolean;
6625
+ /**
6626
+ * Plan specific limits
6627
+ */
6628
+ limits?: BillingPlanLimits;
6629
+ /**
6630
+ * Group of this billing plan for variants
6631
+ */
6632
+ group: BillingPlanGroup;
6633
+ /**
6634
+ * Details of the program this plan is a part of.
6635
+ */
6636
+ program?: Program;
5409
6637
  };
5410
6638
  /**
5411
6639
  * BillingPlanAddon
5412
6640
  */
5413
- type BillingPlanAddon = {
6641
+ export type BillingPlanAddon = {
5414
6642
  /**
5415
6643
  * Addon seats
5416
6644
  */
5417
6645
  seats: BillingPlanAddonDetails;
6646
+ /**
6647
+ * Addon projects
6648
+ */
6649
+ projects: BillingPlanAddonDetails;
5418
6650
  };
5419
6651
  /**
5420
6652
  * BillingPlanAddonDetails
5421
6653
  */
5422
- type BillingPlanAddonDetails = {
6654
+ export type BillingPlanAddonDetails = {
5423
6655
  /**
5424
6656
  * Is the addon supported in the plan?
5425
6657
  */
5426
6658
  supported: boolean;
6659
+ /**
6660
+ * Addon plan included value
6661
+ */
6662
+ planIncluded: number;
5427
6663
  /**
5428
6664
  * Addon limit
5429
6665
  */
@@ -5444,11 +6680,28 @@ export declare namespace Models {
5444
6680
  * Resource value
5445
6681
  */
5446
6682
  value: number;
6683
+ /**
6684
+ * Description on invoice
6685
+ */
6686
+ invoiceDesc: string;
6687
+ };
6688
+ /**
6689
+ * BillingPlanLimits
6690
+ */
6691
+ export type BillingPlanLimits = {
6692
+ /**
6693
+ * Credits limit per billing cycle
6694
+ */
6695
+ credits?: number;
6696
+ /**
6697
+ * Daily credits limit (if applicable)
6698
+ */
6699
+ dailyCredits?: number;
5447
6700
  };
5448
6701
  /**
5449
6702
  * BillingLimits
5450
6703
  */
5451
- type BillingLimits = {
6704
+ export type BillingLimits = {
5452
6705
  /**
5453
6706
  * Bandwidth limit
5454
6707
  */
@@ -5477,11 +6730,40 @@ export declare namespace Models {
5477
6730
  * Auth phone limit
5478
6731
  */
5479
6732
  authPhone: number;
6733
+ /**
6734
+ * Budget limit percentage
6735
+ */
6736
+ budgetLimit: number;
6737
+ };
6738
+ /**
6739
+ * Block
6740
+ */
6741
+ export type Block = {
6742
+ /**
6743
+ * Block creation date in ISO 8601 format.
6744
+ */
6745
+ $createdAt: string;
6746
+ /**
6747
+ * Resource type that is blocked
6748
+ */
6749
+ resourceType: string;
6750
+ /**
6751
+ * Resource identifier that is blocked
6752
+ */
6753
+ resourceId: string;
6754
+ /**
6755
+ * Reason for the block
6756
+ */
6757
+ reason: string;
6758
+ /**
6759
+ * Block expiration date in ISO 8601 format.
6760
+ */
6761
+ expiredAt: string;
5480
6762
  };
5481
6763
  /**
5482
6764
  * Campaign
5483
6765
  */
5484
- type Campaign = {
6766
+ export type Campaign = {
5485
6767
  /**
5486
6768
  * Campaign ID
5487
6769
  */
@@ -5531,10 +6813,51 @@ export declare namespace Models {
5531
6813
  */
5532
6814
  footer?: boolean;
5533
6815
  };
6816
+ /**
6817
+ * Program
6818
+ */
6819
+ export type Program = {
6820
+ /**
6821
+ * Program ID
6822
+ */
6823
+ $id: string;
6824
+ /**
6825
+ * Program title
6826
+ */
6827
+ title: string;
6828
+ /**
6829
+ * Program description
6830
+ */
6831
+ description: string;
6832
+ /**
6833
+ * Program tag for highlighting on console
6834
+ */
6835
+ tag: string;
6836
+ /**
6837
+ * Program icon for highlighting on console
6838
+ */
6839
+ icon: string;
6840
+ /**
6841
+ * URL for more information on this program
6842
+ */
6843
+ url: string;
6844
+ /**
6845
+ * Whether this program is active
6846
+ */
6847
+ active: boolean;
6848
+ /**
6849
+ * Whether this program is external
6850
+ */
6851
+ external: boolean;
6852
+ /**
6853
+ * Billing plan ID that this is program is associated with.
6854
+ */
6855
+ billingPlanId: string;
6856
+ };
5534
6857
  /**
5535
6858
  * Coupon
5536
6859
  */
5537
- type Coupon = {
6860
+ export type Coupon = {
5538
6861
  /**
5539
6862
  * coupon ID
5540
6863
  */
@@ -5571,7 +6894,7 @@ export declare namespace Models {
5571
6894
  /**
5572
6895
  * Credit
5573
6896
  */
5574
- type Credit = {
6897
+ export type Credit = {
5575
6898
  /**
5576
6899
  * Credit ID.
5577
6900
  */
@@ -5617,10 +6940,19 @@ export declare namespace Models {
5617
6940
  */
5618
6941
  status: string;
5619
6942
  };
6943
+ /**
6944
+ * CreditAvailable
6945
+ */
6946
+ export type CreditAvailable = {
6947
+ /**
6948
+ * Total available credits for the organization.
6949
+ */
6950
+ available: number;
6951
+ };
5620
6952
  /**
5621
6953
  * CreditList
5622
6954
  */
5623
- type CreditList = {
6955
+ export type CreditList = {
5624
6956
  /**
5625
6957
  * Credits
5626
6958
  */
@@ -5634,10 +6966,55 @@ export declare namespace Models {
5634
6966
  */
5635
6967
  available: number;
5636
6968
  };
6969
+ /**
6970
+ * Downgrade Feedback
6971
+ */
6972
+ export type DowngradeFeedback = {
6973
+ /**
6974
+ * Feedback ID.
6975
+ */
6976
+ $id: string;
6977
+ /**
6978
+ * Feedback creation date in ISO 8601 format.
6979
+ */
6980
+ $createdAt: string;
6981
+ /**
6982
+ * Feedback update date in ISO 8601 format.
6983
+ */
6984
+ $updatedAt: string;
6985
+ /**
6986
+ * Feedback reason
6987
+ */
6988
+ title: string;
6989
+ /**
6990
+ * Feedback message
6991
+ */
6992
+ message: string;
6993
+ /**
6994
+ * Plan ID downgrading from
6995
+ */
6996
+ fromPlanId: string;
6997
+ /**
6998
+ * Plan ID downgrading to
6999
+ */
7000
+ toPlanId: string;
7001
+ /**
7002
+ * Organization ID
7003
+ */
7004
+ teamId: string;
7005
+ /**
7006
+ * User ID who submitted feedback
7007
+ */
7008
+ userId: string;
7009
+ /**
7010
+ * Console version
7011
+ */
7012
+ version: string;
7013
+ };
5637
7014
  /**
5638
7015
  * Invoice
5639
7016
  */
5640
- type Invoice = {
7017
+ export type Invoice = {
5641
7018
  /**
5642
7019
  * Invoice ID.
5643
7020
  */
@@ -5669,7 +7046,7 @@ export declare namespace Models {
5669
7046
  /**
5670
7047
  * Usage breakdown per resource
5671
7048
  */
5672
- usage: UsageInvoice[];
7049
+ usage: UsageResources[];
5673
7050
  /**
5674
7051
  * Invoice Amount
5675
7052
  */
@@ -5730,7 +7107,7 @@ export declare namespace Models {
5730
7107
  /**
5731
7108
  * Organization
5732
7109
  */
5733
- type Organization<Preferences extends Models.Preferences> = {
7110
+ export type Organization<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
5734
7111
  /**
5735
7112
  * Team ID.
5736
7113
  */
@@ -5764,9 +7141,17 @@ export declare namespace Models {
5764
7141
  */
5765
7142
  budgetAlerts: number[];
5766
7143
  /**
5767
- * Billing plan selected. Can be one of `tier-0`, `tier-1` or `tier-2`.
7144
+ * Organization's billing plan ID.
5768
7145
  */
5769
7146
  billingPlan: string;
7147
+ /**
7148
+ * Organization's billing plan ID.
7149
+ */
7150
+ billingPlanId: string;
7151
+ /**
7152
+ * Organization's billing plan.
7153
+ */
7154
+ billingPlanDetails: BillingPlan;
5770
7155
  /**
5771
7156
  * Billing email set for the organization.
5772
7157
  */
@@ -5824,19 +7209,19 @@ export declare namespace Models {
5824
7209
  */
5825
7210
  agreementBAA: string;
5826
7211
  /**
5827
- * Program manager&#039;s name.
7212
+ * Program manager's name.
5828
7213
  */
5829
7214
  programManagerName: string;
5830
7215
  /**
5831
- * Program manager&#039;s calendar link.
7216
+ * Program manager's calendar link.
5832
7217
  */
5833
7218
  programManagerCalendar: string;
5834
7219
  /**
5835
- * Program&#039;s discord channel name.
7220
+ * Program's discord channel name.
5836
7221
  */
5837
7222
  programDiscordChannelName: string;
5838
7223
  /**
5839
- * Program&#039;s discord channel URL.
7224
+ * Program's discord channel URL.
5840
7225
  */
5841
7226
  programDiscordChannelUrl: string;
5842
7227
  /**
@@ -5855,11 +7240,40 @@ export declare namespace Models {
5855
7240
  * Marked for deletion
5856
7241
  */
5857
7242
  markedForDeletion: boolean;
7243
+ /**
7244
+ * Product with which the organization is associated (appwrite or imagine)
7245
+ */
7246
+ platform: string;
7247
+ /**
7248
+ * Selected projects
7249
+ */
7250
+ projects: string[];
7251
+ };
7252
+ /**
7253
+ * PaymentAuthentication
7254
+ */
7255
+ export type PaymentAuthentication = {
7256
+ /**
7257
+ * Message for the end user to show on Console.
7258
+ */
7259
+ message: string;
7260
+ /**
7261
+ * Stripe client secret to use for validation.
7262
+ */
7263
+ clientSecret: string;
7264
+ /**
7265
+ * Organization ID for which the payment authentication is needed.
7266
+ */
7267
+ organizationId: string;
7268
+ /**
7269
+ * Invoice ID against which the payment needs to be validated.
7270
+ */
7271
+ invoiceId: string;
5858
7272
  };
5859
7273
  /**
5860
7274
  * paymentMethod
5861
7275
  */
5862
- type PaymentMethod = {
7276
+ export type PaymentMethod = {
5863
7277
  /**
5864
7278
  * Payment Method ID.
5865
7279
  */
@@ -5920,12 +7334,16 @@ export declare namespace Models {
5920
7334
  * Country of the payment method
5921
7335
  */
5922
7336
  country: string;
7337
+ /**
7338
+ * State of the payment method
7339
+ */
7340
+ state: string;
5923
7341
  /**
5924
7342
  * Last payment error associated with the payment method.
5925
7343
  */
5926
7344
  lastError: string;
5927
7345
  /**
5928
- * True when it&#039;s the default payment method.
7346
+ * True when it's the default payment method.
5929
7347
  */
5930
7348
  default: boolean;
5931
7349
  /**
@@ -5940,7 +7358,7 @@ export declare namespace Models {
5940
7358
  /**
5941
7359
  * backup
5942
7360
  */
5943
- type BackupPolicy = {
7361
+ export type BackupPolicy = {
5944
7362
  /**
5945
7363
  * Backup policy ID.
5946
7364
  */
@@ -5989,7 +7407,7 @@ export declare namespace Models {
5989
7407
  /**
5990
7408
  * Region
5991
7409
  */
5992
- type ConsoleRegion = {
7410
+ export type ConsoleRegion = {
5993
7411
  /**
5994
7412
  * Region ID
5995
7413
  */
@@ -6018,7 +7436,7 @@ export declare namespace Models {
6018
7436
  /**
6019
7437
  * Restoration
6020
7438
  */
6021
- type BackupRestoration = {
7439
+ export type BackupRestoration = {
6022
7440
  /**
6023
7441
  * Restoration ID.
6024
7442
  */
@@ -6067,7 +7485,7 @@ export declare namespace Models {
6067
7485
  /**
6068
7486
  * Review
6069
7487
  */
6070
- type Review = {
7488
+ export type Review = {
6071
7489
  /**
6072
7490
  * Name of user
6073
7491
  */
@@ -6088,7 +7506,7 @@ export declare namespace Models {
6088
7506
  /**
6089
7507
  * Roles
6090
7508
  */
6091
- type Roles = {
7509
+ export type Roles = {
6092
7510
  /**
6093
7511
  * Array of scopes accessible to current user.
6094
7512
  */
@@ -6101,7 +7519,7 @@ export declare namespace Models {
6101
7519
  /**
6102
7520
  * UsageOrganization
6103
7521
  */
6104
- type UsageOrganization = {
7522
+ export type UsageOrganization = {
6105
7523
  /**
6106
7524
  * Aggregated stats for number of requests.
6107
7525
  */
@@ -6130,6 +7548,22 @@ export declare namespace Models {
6130
7548
  * Aggregated stats for total file transformations.
6131
7549
  */
6132
7550
  imageTransformationsTotal: number;
7551
+ /**
7552
+ * Aggregated stats for file transformations.
7553
+ */
7554
+ screenshotsGenerated: Metric[];
7555
+ /**
7556
+ * Aggregated stats for total file transformations.
7557
+ */
7558
+ screenshotsGeneratedTotal: number;
7559
+ /**
7560
+ * Aggregated stats for imagine credits.
7561
+ */
7562
+ imagineCredits: Metric[];
7563
+ /**
7564
+ * Aggregated stats for total imagine credits.
7565
+ */
7566
+ imagineCreditsTotal: number;
6133
7567
  /**
6134
7568
  * Aggregated stats for total users.
6135
7569
  */
@@ -6194,7 +7628,7 @@ export declare namespace Models {
6194
7628
  /**
6195
7629
  * UsageOrganizationProject
6196
7630
  */
6197
- type UsageOrganizationProject = {
7631
+ export type UsageOrganizationProject = {
6198
7632
  /**
6199
7633
  * projectId
6200
7634
  */
@@ -6255,11 +7689,23 @@ export declare namespace Models {
6255
7689
  * Aggregated stats for total file transformations.
6256
7690
  */
6257
7691
  imageTransformationsTotal: number;
7692
+ /**
7693
+ * Aggregated stats for file transformations.
7694
+ */
7695
+ screenshotsGenerated: Metric[];
7696
+ /**
7697
+ * Aggregated stats for total file transformations.
7698
+ */
7699
+ screenshotsGeneratedTotal: number;
7700
+ /**
7701
+ * Aggregated stats for imagine credits.
7702
+ */
7703
+ imagineCredits: number;
6258
7704
  };
6259
7705
  /**
6260
7706
  * Domain
6261
7707
  */
6262
- type Domain = {
7708
+ export type Domain = {
6263
7709
  /**
6264
7710
  * Domain ID.
6265
7711
  */
@@ -6277,11 +7723,11 @@ export declare namespace Models {
6277
7723
  */
6278
7724
  domain: string;
6279
7725
  /**
6280
- * Domain registrar (e.g. &quot;appwrite&quot; or &quot;third_party&quot;).
7726
+ * Domain registrar (e.g. "appwrite" or "third_party").
6281
7727
  */
6282
7728
  registrar: string;
6283
7729
  /**
6284
- * Nameservers setting. &quot;Appwrite&quot; or empty string.
7730
+ * Nameservers setting. "Appwrite" or empty string.
6285
7731
  */
6286
7732
  nameservers: string;
6287
7733
  /**
@@ -6312,7 +7758,7 @@ export declare namespace Models {
6312
7758
  /**
6313
7759
  * DNSRecord
6314
7760
  */
6315
- type DnsRecord = {
7761
+ export type DnsRecord = {
6316
7762
  /**
6317
7763
  * DNS Record ID.
6318
7764
  */
@@ -6363,9 +7809,9 @@ export declare namespace Models {
6363
7809
  comment: string;
6364
7810
  };
6365
7811
  /**
6366
- * UsageInvoice
7812
+ * UsageResource
6367
7813
  */
6368
- type UsageInvoice = {
7814
+ export type UsageResources = {
6369
7815
  /**
6370
7816
  * Invoice name
6371
7817
  */
@@ -6386,11 +7832,15 @@ export declare namespace Models {
6386
7832
  * Invoice description
6387
7833
  */
6388
7834
  desc: string;
7835
+ /**
7836
+ * Resource ID
7837
+ */
7838
+ resourceId: string;
6389
7839
  };
6390
7840
  /**
6391
7841
  * usageBillingPlan
6392
7842
  */
6393
- type UsageBillingPlan = {
7843
+ export type UsageBillingPlan = {
6394
7844
  /**
6395
7845
  * Bandwidth additional resources
6396
7846
  */
@@ -6423,11 +7873,15 @@ export declare namespace Models {
6423
7873
  * Image transformation additional resources
6424
7874
  */
6425
7875
  imageTransformations: AdditionalResource;
7876
+ /**
7877
+ * Credits additional resources
7878
+ */
7879
+ credits: AdditionalResource;
6426
7880
  };
6427
7881
  /**
6428
7882
  * Estimation
6429
7883
  */
6430
- type Estimation = {
7884
+ export type Estimation = {
6431
7885
  /**
6432
7886
  * Total amount
6433
7887
  */
@@ -6464,7 +7918,7 @@ export declare namespace Models {
6464
7918
  /**
6465
7919
  * EstimationUpdatePlan
6466
7920
  */
6467
- type EstimationUpdatePlan = {
7921
+ export type EstimationUpdatePlan = {
6468
7922
  /**
6469
7923
  * Total amount
6470
7924
  */
@@ -6498,14 +7952,14 @@ export declare namespace Models {
6498
7952
  */
6499
7953
  trialEndDate?: string;
6500
7954
  /**
6501
- * Organization&#039;s existing credits
7955
+ * Organization's existing credits
6502
7956
  */
6503
7957
  organizationCredits: number;
6504
7958
  };
6505
7959
  /**
6506
7960
  * EstimationDeleteOrganization
6507
7961
  */
6508
- type EstimationDeleteOrganization = {
7962
+ export type EstimationDeleteOrganization = {
6509
7963
  /**
6510
7964
  * List of unpaid invoices
6511
7965
  */
@@ -6514,7 +7968,7 @@ export declare namespace Models {
6514
7968
  /**
6515
7969
  * EstimationItem
6516
7970
  */
6517
- type EstimationItem = {
7971
+ export type EstimationItem = {
6518
7972
  /**
6519
7973
  * Label
6520
7974
  */
@@ -6527,9 +7981,9 @@ export declare namespace Models {
6527
7981
  /**
6528
7982
  * Aggregation team list
6529
7983
  */
6530
- type AggregationTeamList = {
7984
+ export type AggregationTeamList = {
6531
7985
  /**
6532
- * Total number of aggregations documents that matched your query.
7986
+ * Total number of aggregations that matched your query.
6533
7987
  */
6534
7988
  total: number;
6535
7989
  /**
@@ -6540,9 +7994,9 @@ export declare namespace Models {
6540
7994
  /**
6541
7995
  * Backup archive list
6542
7996
  */
6543
- type BackupArchiveList = {
7997
+ export type BackupArchiveList = {
6544
7998
  /**
6545
- * Total number of archives documents that matched your query.
7999
+ * Total number of archives that matched your query.
6546
8000
  */
6547
8001
  total: number;
6548
8002
  /**
@@ -6553,9 +8007,9 @@ export declare namespace Models {
6553
8007
  /**
6554
8008
  * Backup policy list
6555
8009
  */
6556
- type BackupPolicyList = {
8010
+ export type BackupPolicyList = {
6557
8011
  /**
6558
- * Total number of policies documents that matched your query.
8012
+ * Total number of policies that matched your query.
6559
8013
  */
6560
8014
  total: number;
6561
8015
  /**
@@ -6566,9 +8020,9 @@ export declare namespace Models {
6566
8020
  /**
6567
8021
  * Backup restoration list
6568
8022
  */
6569
- type BackupRestorationList = {
8023
+ export type BackupRestorationList = {
6570
8024
  /**
6571
- * Total number of restorations documents that matched your query.
8025
+ * Total number of restorations that matched your query.
6572
8026
  */
6573
8027
  total: number;
6574
8028
  /**
@@ -6579,9 +8033,9 @@ export declare namespace Models {
6579
8033
  /**
6580
8034
  * Billing invoices list
6581
8035
  */
6582
- type InvoiceList = {
8036
+ export type InvoiceList = {
6583
8037
  /**
6584
- * Total number of invoices documents that matched your query.
8038
+ * Total number of invoices that matched your query.
6585
8039
  */
6586
8040
  total: number;
6587
8041
  /**
@@ -6592,9 +8046,9 @@ export declare namespace Models {
6592
8046
  /**
6593
8047
  * Billing address list
6594
8048
  */
6595
- type BillingAddressList = {
8049
+ export type BillingAddressList = {
6596
8050
  /**
6597
- * Total number of billingAddresses documents that matched your query.
8051
+ * Total number of billingAddresses that matched your query.
6598
8052
  */
6599
8053
  total: number;
6600
8054
  /**
@@ -6605,9 +8059,9 @@ export declare namespace Models {
6605
8059
  /**
6606
8060
  * Billing plan list
6607
8061
  */
6608
- type BillingPlanList = {
8062
+ export type BillingPlanList = {
6609
8063
  /**
6610
- * Total number of plans documents that matched your query.
8064
+ * Total number of plans that matched your query.
6611
8065
  */
6612
8066
  total: number;
6613
8067
  /**
@@ -6616,11 +8070,11 @@ export declare namespace Models {
6616
8070
  plans: BillingPlan[];
6617
8071
  };
6618
8072
  /**
6619
- * Organizations List
8073
+ * Organizations list
6620
8074
  */
6621
- type OrganizationList<Preferences extends Models.Preferences> = {
8075
+ export type OrganizationList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
6622
8076
  /**
6623
- * Total number of teams documents that matched your query.
8077
+ * Total number of teams that matched your query.
6624
8078
  */
6625
8079
  total: number;
6626
8080
  /**
@@ -6631,9 +8085,9 @@ export declare namespace Models {
6631
8085
  /**
6632
8086
  * Payment methods list
6633
8087
  */
6634
- type PaymentMethodList = {
8088
+ export type PaymentMethodList = {
6635
8089
  /**
6636
- * Total number of paymentMethods documents that matched your query.
8090
+ * Total number of paymentMethods that matched your query.
6637
8091
  */
6638
8092
  total: number;
6639
8093
  /**
@@ -6644,9 +8098,9 @@ export declare namespace Models {
6644
8098
  /**
6645
8099
  * Regions list
6646
8100
  */
6647
- type ConsoleRegionList = {
8101
+ export type ConsoleRegionList = {
6648
8102
  /**
6649
- * Total number of regions documents that matched your query.
8103
+ * Total number of regions that matched your query.
6650
8104
  */
6651
8105
  total: number;
6652
8106
  /**
@@ -6657,9 +8111,9 @@ export declare namespace Models {
6657
8111
  /**
6658
8112
  * Domains list
6659
8113
  */
6660
- type DomainsList = {
8114
+ export type DomainsList = {
6661
8115
  /**
6662
- * Total number of domains documents that matched your query.
8116
+ * Total number of domains that matched your query.
6663
8117
  */
6664
8118
  total: number;
6665
8119
  /**
@@ -6670,9 +8124,9 @@ export declare namespace Models {
6670
8124
  /**
6671
8125
  * DNS records list
6672
8126
  */
6673
- type DnsRecordsList = {
8127
+ export type DnsRecordsList = {
6674
8128
  /**
6675
- * Total number of dnsRecords documents that matched your query.
8129
+ * Total number of dnsRecords that matched your query.
6676
8130
  */
6677
8131
  total: number;
6678
8132
  /**
@@ -6680,4 +8134,5 @@ export declare namespace Models {
6680
8134
  */
6681
8135
  dnsRecords: DnsRecord[];
6682
8136
  };
8137
+ export {};
6683
8138
  }