@appwrite.io/console 1.5.2 → 1.7.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 (607) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/README.md +3 -3
  3. package/dist/cjs/sdk.js +11874 -11100
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +11872 -11101
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +11874 -11100
  8. package/docs/examples/account/create-anonymous-session.md +1 -1
  9. package/docs/examples/account/create-billing-address.md +1 -1
  10. package/docs/examples/account/create-email-password-session.md +1 -1
  11. package/docs/examples/account/create-email-token.md +1 -1
  12. package/docs/examples/account/create-j-w-t.md +1 -1
  13. package/docs/examples/account/create-magic-u-r-l-token.md +1 -1
  14. package/docs/examples/account/create-mfa-authenticator.md +1 -1
  15. package/docs/examples/account/create-mfa-challenge.md +1 -1
  16. package/docs/examples/account/create-mfa-recovery-codes.md +1 -1
  17. package/docs/examples/account/create-o-auth2session.md +1 -1
  18. package/docs/examples/account/create-o-auth2token.md +1 -1
  19. package/docs/examples/account/create-payment-method.md +1 -1
  20. package/docs/examples/account/create-phone-token.md +1 -1
  21. package/docs/examples/account/create-phone-verification.md +1 -1
  22. package/docs/examples/account/create-push-target.md +1 -1
  23. package/docs/examples/account/create-recovery.md +1 -1
  24. package/docs/examples/account/create-session.md +1 -1
  25. package/docs/examples/account/create-verification.md +1 -1
  26. package/docs/examples/account/create.md +1 -1
  27. package/docs/examples/account/delete-billing-address.md +1 -1
  28. package/docs/examples/account/delete-identity.md +1 -1
  29. package/docs/examples/account/delete-mfa-authenticator.md +1 -1
  30. package/docs/examples/account/delete-payment-method.md +1 -1
  31. package/docs/examples/account/delete-push-target.md +1 -1
  32. package/docs/examples/account/delete-session.md +1 -1
  33. package/docs/examples/account/delete-sessions.md +1 -1
  34. package/docs/examples/account/delete.md +1 -1
  35. package/docs/examples/account/get-billing-address.md +1 -1
  36. package/docs/examples/account/get-coupon.md +1 -1
  37. package/docs/examples/account/get-mfa-recovery-codes.md +1 -1
  38. package/docs/examples/account/get-payment-method.md +1 -1
  39. package/docs/examples/account/get-prefs.md +1 -1
  40. package/docs/examples/account/get-session.md +1 -1
  41. package/docs/examples/account/get.md +1 -1
  42. package/docs/examples/account/list-billing-addresses.md +1 -1
  43. package/docs/examples/account/list-identities.md +1 -1
  44. package/docs/examples/account/list-invoices.md +1 -1
  45. package/docs/examples/account/list-logs.md +1 -1
  46. package/docs/examples/account/list-mfa-factors.md +1 -1
  47. package/docs/examples/account/list-payment-methods.md +1 -1
  48. package/docs/examples/account/list-sessions.md +1 -1
  49. package/docs/examples/account/update-billing-address.md +1 -1
  50. package/docs/examples/account/update-email.md +1 -1
  51. package/docs/examples/account/update-m-f-a.md +1 -1
  52. package/docs/examples/account/update-magic-u-r-l-session.md +1 -1
  53. package/docs/examples/account/update-mfa-authenticator.md +1 -1
  54. package/docs/examples/account/update-mfa-challenge.md +1 -1
  55. package/docs/examples/account/update-mfa-recovery-codes.md +1 -1
  56. package/docs/examples/account/update-name.md +1 -1
  57. package/docs/examples/account/update-password.md +1 -1
  58. package/docs/examples/account/update-payment-method-mandate-options.md +1 -1
  59. package/docs/examples/account/update-payment-method-provider.md +1 -1
  60. package/docs/examples/account/update-payment-method.md +1 -1
  61. package/docs/examples/account/update-phone-session.md +1 -1
  62. package/docs/examples/account/update-phone-verification.md +1 -1
  63. package/docs/examples/account/update-phone.md +1 -1
  64. package/docs/examples/account/update-prefs.md +1 -1
  65. package/docs/examples/account/update-push-target.md +1 -1
  66. package/docs/examples/account/update-recovery.md +1 -1
  67. package/docs/examples/account/update-session.md +1 -1
  68. package/docs/examples/account/update-status.md +1 -1
  69. package/docs/examples/account/update-verification.md +1 -1
  70. package/docs/examples/assistant/chat.md +1 -1
  71. package/docs/examples/avatars/get-browser.md +2 -2
  72. package/docs/examples/avatars/get-credit-card.md +2 -2
  73. package/docs/examples/avatars/get-favicon.md +1 -1
  74. package/docs/examples/avatars/get-flag.md +2 -2
  75. package/docs/examples/avatars/get-image.md +1 -1
  76. package/docs/examples/avatars/get-initials.md +1 -1
  77. package/docs/examples/avatars/get-q-r.md +1 -1
  78. package/docs/examples/backups/create-archive.md +1 -1
  79. package/docs/examples/backups/create-policy.md +1 -1
  80. package/docs/examples/backups/create-restoration.md +1 -1
  81. package/docs/examples/backups/delete-archive.md +1 -1
  82. package/docs/examples/backups/delete-policy.md +1 -1
  83. package/docs/examples/backups/get-archive.md +1 -1
  84. package/docs/examples/backups/get-policy.md +1 -1
  85. package/docs/examples/backups/get-restoration.md +1 -1
  86. package/docs/examples/backups/list-archives.md +1 -1
  87. package/docs/examples/backups/list-policies.md +1 -1
  88. package/docs/examples/backups/list-restorations.md +1 -1
  89. package/docs/examples/backups/update-policy.md +1 -1
  90. package/docs/examples/console/create-program-membership.md +1 -1
  91. package/docs/examples/console/create-source.md +1 -1
  92. package/docs/examples/console/get-campaign.md +1 -1
  93. package/docs/examples/console/get-coupon.md +1 -1
  94. package/docs/examples/console/get-resource.md +14 -0
  95. package/docs/examples/console/plans.md +1 -1
  96. package/docs/examples/console/regions.md +1 -1
  97. package/docs/examples/console/variables.md +1 -1
  98. package/docs/examples/databases/create-boolean-attribute.md +1 -1
  99. package/docs/examples/databases/create-collection.md +1 -1
  100. package/docs/examples/databases/create-datetime-attribute.md +1 -1
  101. package/docs/examples/databases/create-document.md +4 -2
  102. package/docs/examples/databases/create-documents.md +15 -0
  103. package/docs/examples/databases/create-email-attribute.md +1 -1
  104. package/docs/examples/databases/create-enum-attribute.md +1 -1
  105. package/docs/examples/databases/create-float-attribute.md +1 -1
  106. package/docs/examples/databases/create-index.md +3 -2
  107. package/docs/examples/databases/create-integer-attribute.md +1 -1
  108. package/docs/examples/databases/create-ip-attribute.md +1 -1
  109. package/docs/examples/databases/create-relationship-attribute.md +1 -1
  110. package/docs/examples/databases/create-string-attribute.md +1 -1
  111. package/docs/examples/databases/create-url-attribute.md +1 -1
  112. package/docs/examples/databases/create.md +1 -1
  113. package/docs/examples/databases/delete-attribute.md +1 -1
  114. package/docs/examples/databases/delete-collection.md +1 -1
  115. package/docs/examples/databases/delete-document.md +1 -1
  116. package/docs/examples/databases/delete-documents.md +15 -0
  117. package/docs/examples/databases/delete-index.md +1 -1
  118. package/docs/examples/databases/delete.md +1 -1
  119. package/docs/examples/databases/get-attribute.md +1 -1
  120. package/docs/examples/databases/get-collection-usage.md +1 -1
  121. package/docs/examples/databases/get-collection.md +1 -1
  122. package/docs/examples/databases/get-database-usage.md +1 -1
  123. package/docs/examples/databases/get-document.md +1 -1
  124. package/docs/examples/databases/get-index.md +1 -1
  125. package/docs/examples/databases/get-usage.md +1 -1
  126. package/docs/examples/databases/get.md +1 -1
  127. package/docs/examples/databases/list-attributes.md +1 -1
  128. package/docs/examples/databases/list-collection-logs.md +1 -1
  129. package/docs/examples/databases/list-collections.md +1 -1
  130. package/docs/examples/databases/list-document-logs.md +1 -1
  131. package/docs/examples/databases/list-documents.md +1 -1
  132. package/docs/examples/databases/list-indexes.md +1 -1
  133. package/docs/examples/databases/list-logs.md +1 -1
  134. package/docs/examples/databases/list.md +1 -1
  135. package/docs/examples/databases/update-boolean-attribute.md +1 -1
  136. package/docs/examples/databases/update-collection.md +1 -1
  137. package/docs/examples/databases/update-datetime-attribute.md +1 -1
  138. package/docs/examples/databases/update-document.md +1 -1
  139. package/docs/examples/databases/update-documents.md +16 -0
  140. package/docs/examples/databases/update-email-attribute.md +1 -1
  141. package/docs/examples/databases/update-enum-attribute.md +1 -1
  142. package/docs/examples/databases/update-float-attribute.md +1 -1
  143. package/docs/examples/databases/update-integer-attribute.md +1 -1
  144. package/docs/examples/databases/update-ip-attribute.md +1 -1
  145. package/docs/examples/databases/update-relationship-attribute.md +1 -1
  146. package/docs/examples/databases/update-string-attribute.md +1 -1
  147. package/docs/examples/databases/update-url-attribute.md +1 -1
  148. package/docs/examples/databases/update.md +1 -1
  149. package/docs/examples/databases/upsert-documents.md +15 -0
  150. package/docs/examples/domains/create-preset-google-workspace.md +13 -0
  151. package/docs/examples/domains/create-preset-i-cloud.md +13 -0
  152. package/docs/examples/domains/create-preset-mailgun.md +13 -0
  153. package/docs/examples/domains/create-preset-outlook.md +13 -0
  154. package/docs/examples/domains/create-preset-proton-mail.md +13 -0
  155. package/docs/examples/domains/create-preset-zoho.md +13 -0
  156. package/docs/examples/domains/create-record-a-a-a-a.md +17 -0
  157. package/docs/examples/domains/create-record-a.md +17 -0
  158. package/docs/examples/domains/create-record-alias.md +17 -0
  159. package/docs/examples/domains/create-record-c-a-a.md +17 -0
  160. package/docs/examples/domains/create-record-c-n-a-m-e.md +17 -0
  161. package/docs/examples/domains/create-record-h-t-t-p-s.md +17 -0
  162. package/docs/examples/domains/create-record-m-x.md +18 -0
  163. package/docs/examples/domains/create-record-n-s.md +17 -0
  164. package/docs/examples/domains/create-record-s-r-v.md +20 -0
  165. package/docs/examples/domains/create-record-t-x-t.md +17 -0
  166. package/docs/examples/domains/create.md +14 -0
  167. package/docs/examples/domains/delete-record.md +14 -0
  168. package/docs/examples/domains/delete.md +13 -0
  169. package/docs/examples/domains/get-preset-google-workspace.md +13 -0
  170. package/docs/examples/domains/get-preset-i-cloud.md +13 -0
  171. package/docs/examples/domains/get-preset-mailgun.md +13 -0
  172. package/docs/examples/domains/get-preset-outlook.md +13 -0
  173. package/docs/examples/domains/get-preset-proton-mail.md +13 -0
  174. package/docs/examples/domains/get-preset-zoho.md +13 -0
  175. package/docs/examples/domains/get-record.md +14 -0
  176. package/docs/examples/domains/get-zone.md +13 -0
  177. package/docs/examples/domains/get.md +13 -0
  178. package/docs/examples/domains/list-records.md +14 -0
  179. package/docs/examples/domains/list.md +14 -0
  180. package/docs/examples/domains/update-nameservers.md +13 -0
  181. package/docs/examples/domains/update-record-a-a-a-a.md +18 -0
  182. package/docs/examples/domains/update-record-a.md +18 -0
  183. package/docs/examples/domains/update-record-alias.md +18 -0
  184. package/docs/examples/domains/update-record-c-a-a.md +18 -0
  185. package/docs/examples/domains/update-record-c-n-a-m-e.md +18 -0
  186. package/docs/examples/domains/update-record-h-t-t-p-s.md +18 -0
  187. package/docs/examples/domains/update-record-m-x.md +19 -0
  188. package/docs/examples/domains/update-record-n-s.md +18 -0
  189. package/docs/examples/domains/update-record-s-r-v.md +21 -0
  190. package/docs/examples/domains/update-record-t-x-t.md +18 -0
  191. package/docs/examples/domains/update-team.md +14 -0
  192. package/docs/examples/domains/update-zone.md +14 -0
  193. package/docs/examples/functions/create-deployment.md +1 -1
  194. package/docs/examples/functions/create-duplicate-deployment.md +15 -0
  195. package/docs/examples/functions/create-execution.md +1 -1
  196. package/docs/examples/functions/create-template-deployment.md +18 -0
  197. package/docs/examples/functions/create-variable.md +3 -2
  198. package/docs/examples/functions/create-vcs-deployment.md +16 -0
  199. package/docs/examples/functions/create.md +3 -3
  200. package/docs/examples/functions/delete-deployment.md +1 -1
  201. package/docs/examples/functions/delete-execution.md +1 -1
  202. package/docs/examples/functions/delete-variable.md +1 -1
  203. package/docs/examples/functions/delete.md +1 -1
  204. package/docs/examples/functions/get-deployment-download.md +4 -3
  205. package/docs/examples/functions/get-deployment.md +1 -1
  206. package/docs/examples/functions/get-execution.md +1 -1
  207. package/docs/examples/functions/get-template.md +1 -1
  208. package/docs/examples/functions/get-usage.md +2 -1
  209. package/docs/examples/functions/get-variable.md +1 -1
  210. package/docs/examples/functions/get.md +1 -1
  211. package/docs/examples/functions/list-deployments.md +1 -1
  212. package/docs/examples/functions/list-executions.md +2 -3
  213. package/docs/examples/functions/list-runtimes.md +1 -1
  214. package/docs/examples/functions/list-specifications.md +1 -1
  215. package/docs/examples/functions/list-templates.md +1 -1
  216. package/docs/examples/functions/list-usage.md +13 -0
  217. package/docs/examples/functions/list-variables.md +1 -1
  218. package/docs/examples/functions/list.md +1 -1
  219. package/docs/examples/functions/update-deployment-status.md +14 -0
  220. package/docs/examples/functions/update-function-deployment.md +14 -0
  221. package/docs/examples/functions/update-variable.md +3 -2
  222. package/docs/examples/functions/update.md +1 -1
  223. package/docs/examples/graphql/mutation.md +1 -1
  224. package/docs/examples/graphql/query.md +1 -1
  225. package/docs/examples/health/get-antivirus.md +1 -1
  226. package/docs/examples/health/get-cache.md +1 -1
  227. package/docs/examples/health/get-certificate.md +1 -1
  228. package/docs/examples/health/get-d-b.md +1 -1
  229. package/docs/examples/health/get-failed-jobs.md +1 -1
  230. package/docs/examples/health/get-pub-sub.md +1 -1
  231. package/docs/examples/health/get-queue-billing-aggregation.md +1 -1
  232. package/docs/examples/health/get-queue-builds.md +1 -1
  233. package/docs/examples/health/get-queue-certificates.md +1 -1
  234. package/docs/examples/health/get-queue-databases.md +1 -1
  235. package/docs/examples/health/get-queue-deletes.md +1 -1
  236. package/docs/examples/health/get-queue-functions.md +1 -1
  237. package/docs/examples/health/get-queue-logs.md +1 -1
  238. package/docs/examples/health/get-queue-mails.md +1 -1
  239. package/docs/examples/health/get-queue-messaging.md +1 -1
  240. package/docs/examples/health/get-queue-migrations.md +1 -1
  241. package/docs/examples/health/get-queue-priority-builds.md +1 -1
  242. package/docs/examples/health/get-queue-region-manager.md +13 -0
  243. package/docs/examples/health/get-queue-stats-resources.md +1 -1
  244. package/docs/examples/health/get-queue-usage.md +1 -1
  245. package/docs/examples/health/get-queue-webhooks.md +1 -1
  246. package/docs/examples/health/get-storage-local.md +1 -1
  247. package/docs/examples/health/get-storage.md +1 -1
  248. package/docs/examples/health/get-time.md +1 -1
  249. package/docs/examples/health/get.md +1 -1
  250. package/docs/examples/locale/get.md +1 -1
  251. package/docs/examples/locale/list-codes.md +1 -1
  252. package/docs/examples/locale/list-continents.md +1 -1
  253. package/docs/examples/locale/list-countries-e-u.md +1 -1
  254. package/docs/examples/locale/list-countries-phones.md +1 -1
  255. package/docs/examples/locale/list-countries.md +1 -1
  256. package/docs/examples/locale/list-currencies.md +1 -1
  257. package/docs/examples/locale/list-languages.md +1 -1
  258. package/docs/examples/messaging/create-apns-provider.md +1 -1
  259. package/docs/examples/messaging/create-email.md +1 -1
  260. package/docs/examples/messaging/create-fcm-provider.md +1 -1
  261. package/docs/examples/messaging/create-mailgun-provider.md +1 -1
  262. package/docs/examples/messaging/create-msg91provider.md +1 -1
  263. package/docs/examples/messaging/create-push.md +1 -1
  264. package/docs/examples/messaging/create-sendgrid-provider.md +1 -1
  265. package/docs/examples/messaging/create-sms.md +1 -1
  266. package/docs/examples/messaging/create-smtp-provider.md +1 -1
  267. package/docs/examples/messaging/create-subscriber.md +1 -1
  268. package/docs/examples/messaging/create-telesign-provider.md +1 -1
  269. package/docs/examples/messaging/create-textmagic-provider.md +1 -1
  270. package/docs/examples/messaging/create-topic.md +1 -1
  271. package/docs/examples/messaging/create-twilio-provider.md +1 -1
  272. package/docs/examples/messaging/create-vonage-provider.md +1 -1
  273. package/docs/examples/messaging/delete-provider.md +1 -1
  274. package/docs/examples/messaging/delete-subscriber.md +1 -1
  275. package/docs/examples/messaging/delete-topic.md +1 -1
  276. package/docs/examples/messaging/delete.md +1 -1
  277. package/docs/examples/messaging/get-message.md +1 -1
  278. package/docs/examples/messaging/get-provider.md +1 -1
  279. package/docs/examples/messaging/get-subscriber.md +1 -1
  280. package/docs/examples/messaging/get-topic.md +1 -1
  281. package/docs/examples/messaging/list-message-logs.md +1 -1
  282. package/docs/examples/messaging/list-messages.md +1 -1
  283. package/docs/examples/messaging/list-provider-logs.md +1 -1
  284. package/docs/examples/messaging/list-providers.md +1 -1
  285. package/docs/examples/messaging/list-subscriber-logs.md +1 -1
  286. package/docs/examples/messaging/list-subscribers.md +1 -1
  287. package/docs/examples/messaging/list-targets.md +1 -1
  288. package/docs/examples/messaging/list-topic-logs.md +1 -1
  289. package/docs/examples/messaging/list-topics.md +1 -1
  290. package/docs/examples/messaging/update-apns-provider.md +1 -1
  291. package/docs/examples/messaging/update-email.md +1 -1
  292. package/docs/examples/messaging/update-fcm-provider.md +1 -1
  293. package/docs/examples/messaging/update-mailgun-provider.md +1 -1
  294. package/docs/examples/messaging/update-msg91provider.md +1 -1
  295. package/docs/examples/messaging/update-push.md +1 -1
  296. package/docs/examples/messaging/update-sendgrid-provider.md +1 -1
  297. package/docs/examples/messaging/update-sms.md +1 -1
  298. package/docs/examples/messaging/update-smtp-provider.md +1 -1
  299. package/docs/examples/messaging/update-telesign-provider.md +1 -1
  300. package/docs/examples/messaging/update-textmagic-provider.md +1 -1
  301. package/docs/examples/messaging/update-topic.md +1 -1
  302. package/docs/examples/messaging/update-twilio-provider.md +1 -1
  303. package/docs/examples/messaging/update-vonage-provider.md +1 -1
  304. package/docs/examples/migrations/create-appwrite-migration.md +1 -1
  305. package/docs/examples/migrations/create-csv-migration.md +15 -0
  306. package/docs/examples/migrations/create-firebase-migration.md +1 -1
  307. package/docs/examples/migrations/create-n-host-migration.md +1 -1
  308. package/docs/examples/migrations/create-supabase-migration.md +1 -1
  309. package/docs/examples/migrations/delete.md +1 -1
  310. package/docs/examples/migrations/get-appwrite-report.md +1 -1
  311. package/docs/examples/migrations/get-firebase-report.md +1 -1
  312. package/docs/examples/migrations/get-n-host-report.md +1 -1
  313. package/docs/examples/migrations/get-supabase-report.md +1 -1
  314. package/docs/examples/migrations/get.md +1 -1
  315. package/docs/examples/migrations/list.md +1 -1
  316. package/docs/examples/migrations/retry.md +1 -1
  317. package/docs/examples/organizations/add-credit.md +1 -1
  318. package/docs/examples/organizations/create-invoice-payment.md +1 -1
  319. package/docs/examples/organizations/create.md +1 -1
  320. package/docs/examples/organizations/delete-backup-payment-method.md +1 -1
  321. package/docs/examples/organizations/delete-billing-address.md +1 -1
  322. package/docs/examples/organizations/delete-default-payment-method.md +1 -1
  323. package/docs/examples/organizations/delete.md +1 -1
  324. package/docs/examples/organizations/get-aggregation.md +1 -1
  325. package/docs/examples/organizations/get-billing-address.md +1 -1
  326. package/docs/examples/organizations/get-credit.md +1 -1
  327. package/docs/examples/organizations/get-invoice-download.md +1 -1
  328. package/docs/examples/organizations/get-invoice-view.md +1 -1
  329. package/docs/examples/organizations/get-invoice.md +1 -1
  330. package/docs/examples/organizations/get-payment-method.md +1 -1
  331. package/docs/examples/organizations/get-plan.md +1 -1
  332. package/docs/examples/organizations/get-scopes.md +1 -1
  333. package/docs/examples/organizations/list-aggregations.md +1 -1
  334. package/docs/examples/organizations/list-credits.md +1 -1
  335. package/docs/examples/organizations/list-invoices.md +1 -1
  336. package/docs/examples/organizations/list.md +1 -1
  337. package/docs/examples/organizations/set-backup-payment-method.md +1 -1
  338. package/docs/examples/organizations/set-billing-address.md +1 -1
  339. package/docs/examples/organizations/set-billing-email.md +1 -1
  340. package/docs/examples/organizations/set-billing-tax-id.md +1 -1
  341. package/docs/examples/organizations/set-default-payment-method.md +1 -1
  342. package/docs/examples/organizations/update-budget.md +1 -1
  343. package/docs/examples/organizations/update-plan.md +1 -1
  344. package/docs/examples/organizations/validate-invoice.md +14 -0
  345. package/docs/examples/project/create-variable.md +3 -2
  346. package/docs/examples/project/delete-variable.md +1 -1
  347. package/docs/examples/project/get-usage.md +1 -1
  348. package/docs/examples/project/get-variable.md +1 -1
  349. package/docs/examples/project/list-variables.md +1 -1
  350. package/docs/examples/project/update-variable.md +3 -2
  351. package/docs/examples/projects/create-dev-key.md +15 -0
  352. package/docs/examples/projects/create-j-w-t.md +1 -1
  353. package/docs/examples/projects/create-key.md +1 -1
  354. package/docs/examples/projects/create-platform.md +1 -1
  355. package/docs/examples/projects/create-smtp-test.md +1 -1
  356. package/docs/examples/projects/create-webhook.md +1 -1
  357. package/docs/examples/projects/create.md +2 -2
  358. package/docs/examples/projects/delete-dev-key.md +14 -0
  359. package/docs/examples/projects/delete-email-template.md +1 -1
  360. package/docs/examples/projects/delete-key.md +1 -1
  361. package/docs/examples/projects/delete-platform.md +1 -1
  362. package/docs/examples/projects/delete-sms-template.md +1 -1
  363. package/docs/examples/projects/delete-webhook.md +1 -1
  364. package/docs/examples/projects/delete.md +1 -1
  365. package/docs/examples/projects/get-dev-key.md +14 -0
  366. package/docs/examples/projects/get-email-template.md +1 -1
  367. package/docs/examples/projects/get-key.md +1 -1
  368. package/docs/examples/projects/get-platform.md +1 -1
  369. package/docs/examples/projects/get-sms-template.md +1 -1
  370. package/docs/examples/projects/get-webhook.md +1 -1
  371. package/docs/examples/projects/get.md +1 -1
  372. package/docs/examples/projects/list-dev-keys.md +14 -0
  373. package/docs/examples/projects/list-keys.md +1 -1
  374. package/docs/examples/projects/list-platforms.md +1 -1
  375. package/docs/examples/projects/list-webhooks.md +1 -1
  376. package/docs/examples/projects/list.md +1 -1
  377. package/docs/examples/projects/update-api-status-all.md +1 -1
  378. package/docs/examples/projects/update-api-status.md +1 -1
  379. package/docs/examples/projects/update-auth-duration.md +1 -1
  380. package/docs/examples/projects/update-auth-limit.md +1 -1
  381. package/docs/examples/projects/update-auth-password-dictionary.md +1 -1
  382. package/docs/examples/projects/update-auth-password-history.md +1 -1
  383. package/docs/examples/projects/update-auth-sessions-limit.md +1 -1
  384. package/docs/examples/projects/update-auth-status.md +1 -1
  385. package/docs/examples/projects/update-dev-key.md +16 -0
  386. package/docs/examples/projects/update-email-template.md +1 -1
  387. package/docs/examples/projects/update-key.md +1 -1
  388. package/docs/examples/projects/update-memberships-privacy.md +1 -1
  389. package/docs/examples/projects/update-mock-numbers.md +1 -1
  390. package/docs/examples/projects/update-o-auth2.md +1 -1
  391. package/docs/examples/projects/update-personal-data-check.md +1 -1
  392. package/docs/examples/projects/update-platform.md +1 -1
  393. package/docs/examples/projects/update-service-status-all.md +1 -1
  394. package/docs/examples/projects/update-service-status.md +1 -1
  395. package/docs/examples/projects/update-session-alerts.md +1 -1
  396. package/docs/examples/projects/update-sms-template.md +1 -1
  397. package/docs/examples/projects/update-smtp.md +1 -1
  398. package/docs/examples/projects/update-team.md +1 -1
  399. package/docs/examples/projects/update-webhook-signature.md +1 -1
  400. package/docs/examples/projects/update-webhook.md +1 -1
  401. package/docs/examples/projects/update.md +1 -1
  402. package/docs/examples/proxy/create-a-p-i-rule.md +13 -0
  403. package/docs/examples/proxy/create-function-rule.md +15 -0
  404. package/docs/examples/proxy/create-redirect-rule.md +15 -0
  405. package/docs/examples/proxy/create-site-rule.md +15 -0
  406. package/docs/examples/proxy/delete-rule.md +1 -1
  407. package/docs/examples/proxy/get-rule.md +1 -1
  408. package/docs/examples/proxy/list-rules.md +1 -1
  409. package/docs/examples/proxy/update-rule-verification.md +1 -1
  410. package/docs/examples/sites/create-deployment.md +18 -0
  411. package/docs/examples/sites/create-duplicate-deployment.md +14 -0
  412. package/docs/examples/sites/create-template-deployment.md +18 -0
  413. package/docs/examples/sites/create-variable.md +16 -0
  414. package/docs/examples/sites/create-vcs-deployment.md +16 -0
  415. package/docs/examples/sites/create.md +30 -0
  416. package/docs/examples/sites/delete-deployment.md +14 -0
  417. package/docs/examples/sites/delete-log.md +14 -0
  418. package/docs/examples/sites/delete-variable.md +14 -0
  419. package/docs/examples/sites/delete.md +13 -0
  420. package/docs/examples/sites/get-deployment-download.md +15 -0
  421. package/docs/examples/sites/get-deployment.md +14 -0
  422. package/docs/examples/sites/get-log.md +14 -0
  423. package/docs/examples/sites/get-template.md +13 -0
  424. package/docs/examples/sites/get-usage.md +14 -0
  425. package/docs/examples/sites/get-variable.md +14 -0
  426. package/docs/examples/sites/get.md +13 -0
  427. package/docs/examples/sites/list-deployments.md +15 -0
  428. package/docs/examples/sites/list-frameworks.md +11 -0
  429. package/docs/examples/sites/list-logs.md +14 -0
  430. package/docs/examples/sites/list-specifications.md +11 -0
  431. package/docs/examples/sites/list-templates.md +16 -0
  432. package/docs/examples/sites/list-usage.md +13 -0
  433. package/docs/examples/sites/list-variables.md +13 -0
  434. package/docs/examples/sites/list.md +14 -0
  435. package/docs/examples/sites/update-deployment-status.md +14 -0
  436. package/docs/examples/sites/update-site-deployment.md +14 -0
  437. package/docs/examples/sites/update-variable.md +17 -0
  438. package/docs/examples/sites/update.md +30 -0
  439. package/docs/examples/storage/create-bucket.md +1 -1
  440. package/docs/examples/storage/create-file.md +1 -1
  441. package/docs/examples/storage/delete-bucket.md +1 -1
  442. package/docs/examples/storage/delete-file.md +1 -1
  443. package/docs/examples/storage/get-bucket-usage.md +1 -1
  444. package/docs/examples/storage/get-bucket.md +1 -1
  445. package/docs/examples/storage/get-file-download.md +3 -2
  446. package/docs/examples/storage/get-file-preview.md +4 -3
  447. package/docs/examples/storage/get-file-view.md +3 -2
  448. package/docs/examples/storage/get-file.md +1 -1
  449. package/docs/examples/storage/get-usage.md +1 -1
  450. package/docs/examples/storage/list-buckets.md +1 -1
  451. package/docs/examples/storage/list-files.md +1 -1
  452. package/docs/examples/storage/update-bucket.md +1 -1
  453. package/docs/examples/storage/update-file.md +1 -1
  454. package/docs/examples/teams/create-membership.md +1 -1
  455. package/docs/examples/teams/create.md +1 -1
  456. package/docs/examples/teams/delete-membership.md +1 -1
  457. package/docs/examples/teams/delete.md +1 -1
  458. package/docs/examples/teams/get-membership.md +1 -1
  459. package/docs/examples/teams/get-prefs.md +1 -1
  460. package/docs/examples/teams/get.md +1 -1
  461. package/docs/examples/teams/list-logs.md +1 -1
  462. package/docs/examples/teams/list-memberships.md +1 -1
  463. package/docs/examples/teams/list.md +1 -1
  464. package/docs/examples/teams/update-membership-status.md +1 -1
  465. package/docs/examples/teams/update-membership.md +1 -1
  466. package/docs/examples/teams/update-name.md +1 -1
  467. package/docs/examples/teams/update-prefs.md +1 -1
  468. package/docs/examples/tokens/create-file-token.md +15 -0
  469. package/docs/examples/tokens/delete.md +13 -0
  470. package/docs/examples/tokens/get.md +13 -0
  471. package/docs/examples/tokens/list.md +15 -0
  472. package/docs/examples/tokens/update.md +14 -0
  473. package/docs/examples/users/create-argon2user.md +1 -1
  474. package/docs/examples/users/create-bcrypt-user.md +1 -1
  475. package/docs/examples/users/create-j-w-t.md +1 -1
  476. package/docs/examples/users/create-m-d5user.md +1 -1
  477. package/docs/examples/users/create-mfa-recovery-codes.md +1 -1
  478. package/docs/examples/users/create-p-h-pass-user.md +1 -1
  479. package/docs/examples/users/create-s-h-a-user.md +1 -1
  480. package/docs/examples/users/create-scrypt-modified-user.md +1 -1
  481. package/docs/examples/users/create-scrypt-user.md +1 -1
  482. package/docs/examples/users/create-session.md +1 -1
  483. package/docs/examples/users/create-target.md +1 -1
  484. package/docs/examples/users/create-token.md +1 -1
  485. package/docs/examples/users/create.md +1 -1
  486. package/docs/examples/users/delete-identity.md +1 -1
  487. package/docs/examples/users/delete-mfa-authenticator.md +1 -1
  488. package/docs/examples/users/delete-session.md +1 -1
  489. package/docs/examples/users/delete-sessions.md +1 -1
  490. package/docs/examples/users/delete-target.md +1 -1
  491. package/docs/examples/users/delete.md +1 -1
  492. package/docs/examples/users/get-mfa-recovery-codes.md +1 -1
  493. package/docs/examples/users/get-prefs.md +1 -1
  494. package/docs/examples/users/get-target.md +1 -1
  495. package/docs/examples/users/get-usage.md +1 -1
  496. package/docs/examples/users/get.md +1 -1
  497. package/docs/examples/users/list-identities.md +1 -1
  498. package/docs/examples/users/list-logs.md +1 -1
  499. package/docs/examples/users/list-memberships.md +4 -2
  500. package/docs/examples/users/list-mfa-factors.md +1 -1
  501. package/docs/examples/users/list-sessions.md +1 -1
  502. package/docs/examples/users/list-targets.md +1 -1
  503. package/docs/examples/users/list.md +1 -1
  504. package/docs/examples/users/update-email-verification.md +1 -1
  505. package/docs/examples/users/update-email.md +1 -1
  506. package/docs/examples/users/update-labels.md +1 -1
  507. package/docs/examples/users/update-mfa-recovery-codes.md +1 -1
  508. package/docs/examples/users/update-mfa.md +1 -1
  509. package/docs/examples/users/update-name.md +1 -1
  510. package/docs/examples/users/update-password.md +1 -1
  511. package/docs/examples/users/update-phone-verification.md +1 -1
  512. package/docs/examples/users/update-phone.md +1 -1
  513. package/docs/examples/users/update-prefs.md +1 -1
  514. package/docs/examples/users/update-status.md +1 -1
  515. package/docs/examples/users/update-target.md +1 -1
  516. package/docs/examples/vcs/create-repository-detection.md +3 -2
  517. package/docs/examples/vcs/create-repository.md +1 -1
  518. package/docs/examples/vcs/delete-installation.md +1 -1
  519. package/docs/examples/vcs/get-installation.md +1 -1
  520. package/docs/examples/vcs/get-repository-contents.md +1 -1
  521. package/docs/examples/vcs/get-repository.md +1 -1
  522. package/docs/examples/vcs/list-installations.md +1 -1
  523. package/docs/examples/vcs/list-repositories.md +3 -2
  524. package/docs/examples/vcs/list-repository-branches.md +1 -1
  525. package/docs/examples/vcs/update-external-deployments.md +1 -1
  526. package/package.json +1 -1
  527. package/src/client.ts +32 -5
  528. package/src/enums/adapter.ts +4 -0
  529. package/src/enums/api-service.ts +1 -0
  530. package/src/enums/build-runtime.ts +62 -0
  531. package/src/enums/console-resource-type.ts +3 -0
  532. package/src/enums/deployment-download-type.ts +4 -0
  533. package/src/enums/framework.ts +16 -0
  534. package/src/enums/image-format.ts +0 -1
  535. package/src/enums/name.ts +0 -1
  536. package/src/enums/o-auth-provider.ts +1 -0
  537. package/src/enums/region.ts +2 -1
  538. package/src/enums/runtime.ts +4 -3
  539. package/src/enums/site-usage-range.ts +5 -0
  540. package/src/enums/status-code.ts +6 -0
  541. package/src/enums/v-c-s-deployment-type.ts +5 -0
  542. package/src/enums/v-c-s-detection-type.ts +4 -0
  543. package/src/index.ts +13 -2
  544. package/src/models.ts +1171 -188
  545. package/src/services/account.ts +126 -446
  546. package/src/services/assistant.ts +2 -7
  547. package/src/services/avatars.ts +7 -28
  548. package/src/services/backups.ts +24 -90
  549. package/src/services/console.ts +48 -52
  550. package/src/services/databases.ts +241 -350
  551. package/src/services/domains.ts +1821 -0
  552. package/src/services/functions.ts +216 -248
  553. package/src/services/graphql.ts +4 -14
  554. package/src/services/health.ts +56 -206
  555. package/src/services/locale.ts +16 -64
  556. package/src/services/messaging.ts +92 -335
  557. package/src/services/migrations.ts +66 -89
  558. package/src/services/organizations.ts +84 -241
  559. package/src/services/project.ts +20 -45
  560. package/src/services/projects.ts +262 -330
  561. package/src/services/proxy.ts +129 -44
  562. package/src/services/sites.ts +1104 -0
  563. package/src/services/storage.ts +42 -105
  564. package/src/services/teams.ts +28 -104
  565. package/src/services/tokens.ts +160 -0
  566. package/src/services/users.ts +94 -313
  567. package/src/services/vcs.ts +70 -108
  568. package/types/enums/adapter.d.ts +4 -0
  569. package/types/enums/api-service.d.ts +1 -0
  570. package/types/enums/build-runtime.d.ts +62 -0
  571. package/types/enums/console-resource-type.d.ts +3 -0
  572. package/types/enums/deployment-download-type.d.ts +4 -0
  573. package/types/enums/framework.d.ts +16 -0
  574. package/types/enums/image-format.d.ts +0 -1
  575. package/types/enums/name.d.ts +0 -1
  576. package/types/enums/o-auth-provider.d.ts +1 -0
  577. package/types/enums/region.d.ts +3 -2
  578. package/types/enums/runtime.d.ts +5 -4
  579. package/types/enums/site-usage-range.d.ts +5 -0
  580. package/types/enums/status-code.d.ts +6 -0
  581. package/types/enums/v-c-s-deployment-type.d.ts +5 -0
  582. package/types/enums/v-c-s-detection-type.d.ts +4 -0
  583. package/types/index.d.ts +13 -2
  584. package/types/models.d.ts +1171 -188
  585. package/types/services/account.d.ts +4 -128
  586. package/types/services/assistant.d.ts +0 -2
  587. package/types/services/avatars.d.ts +0 -14
  588. package/types/services/backups.d.ts +0 -24
  589. package/types/services/console.d.ts +9 -13
  590. package/types/services/databases.d.ts +43 -97
  591. package/types/services/domains.d.ts +524 -0
  592. package/types/services/functions.d.ts +58 -84
  593. package/types/services/graphql.d.ts +0 -4
  594. package/types/services/health.d.ts +6 -56
  595. package/types/services/locale.d.ts +0 -16
  596. package/types/services/messaging.d.ts +0 -92
  597. package/types/services/migrations.d.ts +9 -23
  598. package/types/services/organizations.d.ts +11 -68
  599. package/types/services/project.d.ts +4 -14
  600. package/types/services/projects.d.ts +47 -91
  601. package/types/services/proxy.d.ts +31 -13
  602. package/types/services/sites.d.ts +319 -0
  603. package/types/services/storage.d.ts +6 -33
  604. package/types/services/teams.d.ts +0 -28
  605. package/types/services/tokens.d.ts +51 -0
  606. package/types/services/users.d.ts +3 -87
  607. package/types/services/vcs.d.ts +14 -31
package/types/models.d.ts CHANGED
@@ -132,6 +132,19 @@ export declare namespace Models {
132
132
  */
133
133
  buckets: Bucket[];
134
134
  };
135
+ /**
136
+ * Resource Tokens List
137
+ */
138
+ type ResourceTokenList = {
139
+ /**
140
+ * Total number of tokens documents that matched your query.
141
+ */
142
+ total: number;
143
+ /**
144
+ * List of tokens.
145
+ */
146
+ tokens: ResourceToken[];
147
+ };
135
148
  /**
136
149
  * Teams List
137
150
  */
@@ -158,6 +171,32 @@ export declare namespace Models {
158
171
  */
159
172
  memberships: Membership[];
160
173
  };
174
+ /**
175
+ * Sites List
176
+ */
177
+ type SiteList = {
178
+ /**
179
+ * Total number of sites documents that matched your query.
180
+ */
181
+ total: number;
182
+ /**
183
+ * List of sites.
184
+ */
185
+ sites: Site[];
186
+ };
187
+ /**
188
+ * Site Templates List
189
+ */
190
+ type TemplateSiteList = {
191
+ /**
192
+ * Total number of templates documents that matched your query.
193
+ */
194
+ total: number;
195
+ /**
196
+ * List of templates.
197
+ */
198
+ templates: TemplateSite[];
199
+ };
161
200
  /**
162
201
  * Functions List
163
202
  */
@@ -198,17 +237,30 @@ export declare namespace Models {
198
237
  installations: Installation[];
199
238
  };
200
239
  /**
201
- * Provider Repositories List
240
+ * Framework Provider Repositories List
241
+ */
242
+ type ProviderRepositoryFrameworkList = {
243
+ /**
244
+ * Total number of frameworkProviderRepositories documents that matched your query.
245
+ */
246
+ total: number;
247
+ /**
248
+ * List of frameworkProviderRepositories.
249
+ */
250
+ frameworkProviderRepositories: ProviderRepositoryFramework[];
251
+ };
252
+ /**
253
+ * Runtime Provider Repositories List
202
254
  */
203
- type ProviderRepositoryList = {
255
+ type ProviderRepositoryRuntimeList = {
204
256
  /**
205
- * Total number of providerRepositories documents that matched your query.
257
+ * Total number of runtimeProviderRepositories documents that matched your query.
206
258
  */
207
259
  total: number;
208
260
  /**
209
- * List of providerRepositories.
261
+ * List of runtimeProviderRepositories.
210
262
  */
211
- providerRepositories: ProviderRepository[];
263
+ runtimeProviderRepositories: ProviderRepositoryRuntime[];
212
264
  };
213
265
  /**
214
266
  * Branches List
@@ -223,6 +275,19 @@ export declare namespace Models {
223
275
  */
224
276
  branches: Branch[];
225
277
  };
278
+ /**
279
+ * Frameworks List
280
+ */
281
+ type FrameworkList = {
282
+ /**
283
+ * Total number of frameworks documents that matched your query.
284
+ */
285
+ total: number;
286
+ /**
287
+ * List of frameworks.
288
+ */
289
+ frameworks: Framework[];
290
+ };
226
291
  /**
227
292
  * Runtimes List
228
293
  */
@@ -301,6 +366,19 @@ export declare namespace Models {
301
366
  */
302
367
  keys: Key[];
303
368
  };
369
+ /**
370
+ * Dev Keys List
371
+ */
372
+ type DevKeyList = {
373
+ /**
374
+ * Total number of devKeys documents that matched your query.
375
+ */
376
+ total: number;
377
+ /**
378
+ * List of devKeys.
379
+ */
380
+ devKeys: DevKey[];
381
+ };
304
382
  /**
305
383
  * Platforms List
306
384
  */
@@ -594,7 +672,7 @@ export declare namespace Models {
594
672
  /**
595
673
  * Collection attributes.
596
674
  */
597
- attributes: string[];
675
+ attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributeString)[];
598
676
  /**
599
677
  * Collection indexes.
600
678
  */
@@ -611,7 +689,7 @@ export declare namespace Models {
611
689
  /**
612
690
  * List of attributes.
613
691
  */
614
- attributes: string[];
692
+ attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributeString)[];
615
693
  };
616
694
  /**
617
695
  * AttributeString
@@ -1111,6 +1189,10 @@ export declare namespace Models {
1111
1189
  * Index attributes.
1112
1190
  */
1113
1191
  attributes: string[];
1192
+ /**
1193
+ * Index attributes length.
1194
+ */
1195
+ lengths: number[];
1114
1196
  /**
1115
1197
  * Index orders.
1116
1198
  */
@@ -1785,6 +1867,39 @@ export declare namespace Models {
1785
1867
  */
1786
1868
  antivirus: boolean;
1787
1869
  };
1870
+ /**
1871
+ * ResourceToken
1872
+ */
1873
+ type ResourceToken = {
1874
+ /**
1875
+ * Token ID.
1876
+ */
1877
+ $id: string;
1878
+ /**
1879
+ * Token creation date in ISO 8601 format.
1880
+ */
1881
+ $createdAt: string;
1882
+ /**
1883
+ * Resource ID.
1884
+ */
1885
+ resourceId: string;
1886
+ /**
1887
+ * Resource type.
1888
+ */
1889
+ resourceType: string;
1890
+ /**
1891
+ * Token expiration date in ISO 8601 format.
1892
+ */
1893
+ expire: string;
1894
+ /**
1895
+ * JWT encoded string.
1896
+ */
1897
+ secret: string;
1898
+ /**
1899
+ * Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
1900
+ */
1901
+ accessedAt: string;
1902
+ };
1788
1903
  /**
1789
1904
  * Team
1790
1905
  */
@@ -1871,6 +1986,225 @@ export declare namespace Models {
1871
1986
  */
1872
1987
  roles: string[];
1873
1988
  };
1989
+ /**
1990
+ * Site
1991
+ */
1992
+ type Site = {
1993
+ /**
1994
+ * Site ID.
1995
+ */
1996
+ $id: string;
1997
+ /**
1998
+ * Site creation date in ISO 8601 format.
1999
+ */
2000
+ $createdAt: string;
2001
+ /**
2002
+ * Site update date in ISO 8601 format.
2003
+ */
2004
+ $updatedAt: string;
2005
+ /**
2006
+ * Site name.
2007
+ */
2008
+ name: string;
2009
+ /**
2010
+ * Site enabled.
2011
+ */
2012
+ enabled: boolean;
2013
+ /**
2014
+ * 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.
2015
+ */
2016
+ live: boolean;
2017
+ /**
2018
+ * When disabled, request logs will exclude logs and errors, and site responses will be slightly faster.
2019
+ */
2020
+ logging: boolean;
2021
+ /**
2022
+ * Site framework.
2023
+ */
2024
+ framework: string;
2025
+ /**
2026
+ * Site's active deployment ID.
2027
+ */
2028
+ deploymentId: string;
2029
+ /**
2030
+ * Active deployment creation date in ISO 8601 format.
2031
+ */
2032
+ deploymentCreatedAt: string;
2033
+ /**
2034
+ * Screenshot of active deployment with light theme preference file ID.
2035
+ */
2036
+ deploymentScreenshotLight: string;
2037
+ /**
2038
+ * Screenshot of active deployment with dark theme preference file ID.
2039
+ */
2040
+ deploymentScreenshotDark: string;
2041
+ /**
2042
+ * Site's latest deployment ID.
2043
+ */
2044
+ latestDeploymentId: string;
2045
+ /**
2046
+ * Latest deployment creation date in ISO 8601 format.
2047
+ */
2048
+ latestDeploymentCreatedAt: string;
2049
+ /**
2050
+ * Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
2051
+ */
2052
+ latestDeploymentStatus: string;
2053
+ /**
2054
+ * Site variables.
2055
+ */
2056
+ vars: Variable[];
2057
+ /**
2058
+ * Site request timeout in seconds.
2059
+ */
2060
+ timeout: number;
2061
+ /**
2062
+ * The install command used to install the site dependencies.
2063
+ */
2064
+ installCommand: string;
2065
+ /**
2066
+ * The build command used to build the site.
2067
+ */
2068
+ buildCommand: string;
2069
+ /**
2070
+ * The directory where the site build output is located.
2071
+ */
2072
+ outputDirectory: string;
2073
+ /**
2074
+ * Site VCS (Version Control System) installation id.
2075
+ */
2076
+ installationId: string;
2077
+ /**
2078
+ * VCS (Version Control System) Repository ID
2079
+ */
2080
+ providerRepositoryId: string;
2081
+ /**
2082
+ * VCS (Version Control System) branch name
2083
+ */
2084
+ providerBranch: string;
2085
+ /**
2086
+ * Path to site in VCS (Version Control System) repository
2087
+ */
2088
+ providerRootDirectory: string;
2089
+ /**
2090
+ * Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests
2091
+ */
2092
+ providerSilentMode: boolean;
2093
+ /**
2094
+ * Machine specification for builds and executions.
2095
+ */
2096
+ specification: string;
2097
+ /**
2098
+ * Site build runtime.
2099
+ */
2100
+ buildRuntime: string;
2101
+ /**
2102
+ * Site framework adapter.
2103
+ */
2104
+ adapter: string;
2105
+ /**
2106
+ * Name of fallback file to use instead of 404 page. If null, Appwrite 404 page will be displayed.
2107
+ */
2108
+ fallbackFile: string;
2109
+ };
2110
+ /**
2111
+ * Template Site
2112
+ */
2113
+ type TemplateSite = {
2114
+ /**
2115
+ * Site Template ID.
2116
+ */
2117
+ key: string;
2118
+ /**
2119
+ * Site Template Name.
2120
+ */
2121
+ name: string;
2122
+ /**
2123
+ * Short description of template
2124
+ */
2125
+ tagline: string;
2126
+ /**
2127
+ * URL hosting a template demo.
2128
+ */
2129
+ demoUrl: string;
2130
+ /**
2131
+ * File URL with preview screenshot in dark theme preference.
2132
+ */
2133
+ screenshotDark: string;
2134
+ /**
2135
+ * File URL with preview screenshot in light theme preference.
2136
+ */
2137
+ screenshotLight: string;
2138
+ /**
2139
+ * Site use cases.
2140
+ */
2141
+ useCases: string[];
2142
+ /**
2143
+ * List of frameworks that can be used with this template.
2144
+ */
2145
+ frameworks: TemplateFramework[];
2146
+ /**
2147
+ * VCS (Version Control System) Provider.
2148
+ */
2149
+ vcsProvider: string;
2150
+ /**
2151
+ * VCS (Version Control System) Repository ID
2152
+ */
2153
+ providerRepositoryId: string;
2154
+ /**
2155
+ * VCS (Version Control System) Owner.
2156
+ */
2157
+ providerOwner: string;
2158
+ /**
2159
+ * VCS (Version Control System) branch version (tag).
2160
+ */
2161
+ providerVersion: string;
2162
+ /**
2163
+ * Site variables.
2164
+ */
2165
+ variables: TemplateVariable[];
2166
+ };
2167
+ /**
2168
+ * Template Framework
2169
+ */
2170
+ type TemplateFramework = {
2171
+ /**
2172
+ * Parent framework key.
2173
+ */
2174
+ key: string;
2175
+ /**
2176
+ * Framework Name.
2177
+ */
2178
+ name: string;
2179
+ /**
2180
+ * The install command used to install the dependencies.
2181
+ */
2182
+ installCommand: string;
2183
+ /**
2184
+ * The build command used to build the deployment.
2185
+ */
2186
+ buildCommand: string;
2187
+ /**
2188
+ * The output directory to store the build output.
2189
+ */
2190
+ outputDirectory: string;
2191
+ /**
2192
+ * Path to site in VCS (Version Control System) repository
2193
+ */
2194
+ providerRootDirectory: string;
2195
+ /**
2196
+ * Runtime used during build step of template.
2197
+ */
2198
+ buildRuntime: string;
2199
+ /**
2200
+ * Site framework runtime
2201
+ */
2202
+ adapter: string;
2203
+ /**
2204
+ * Fallback file for SPA. Only relevant for static serve runtime.
2205
+ */
2206
+ fallbackFile: string;
2207
+ };
1874
2208
  /**
1875
2209
  * Function
1876
2210
  */
@@ -1904,17 +2238,33 @@ export declare namespace Models {
1904
2238
  */
1905
2239
  live: boolean;
1906
2240
  /**
1907
- * Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.
2241
+ * When disabled, executions will exclude logs and errors, and will be slightly faster.
1908
2242
  */
1909
2243
  logging: boolean;
1910
2244
  /**
1911
- * Function execution runtime.
2245
+ * Function execution and build runtime.
1912
2246
  */
1913
2247
  runtime: string;
1914
2248
  /**
1915
2249
  * Function's active deployment ID.
1916
2250
  */
1917
- deployment: string;
2251
+ deploymentId: string;
2252
+ /**
2253
+ * Active deployment creation date in ISO 8601 format.
2254
+ */
2255
+ deploymentCreatedAt: string;
2256
+ /**
2257
+ * Function's latest deployment ID.
2258
+ */
2259
+ latestDeploymentId: string;
2260
+ /**
2261
+ * Latest deployment creation date in ISO 8601 format.
2262
+ */
2263
+ latestDeploymentCreatedAt: string;
2264
+ /**
2265
+ * Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
2266
+ */
2267
+ latestDeploymentStatus: string;
1918
2268
  /**
1919
2269
  * Allowed permission scopes.
1920
2270
  */
@@ -2082,6 +2432,10 @@ export declare namespace Models {
2082
2432
  * Variable Value.
2083
2433
  */
2084
2434
  value: string;
2435
+ /**
2436
+ * Variable secret flag. Secret variables can only be updated or deleted, but never read.
2437
+ */
2438
+ secret: boolean;
2085
2439
  /**
2086
2440
  * Variable Placeholder.
2087
2441
  */
@@ -2148,28 +2502,119 @@ export declare namespace Models {
2148
2502
  * Is VCS (Version Control System) repository private?
2149
2503
  */
2150
2504
  private: boolean;
2151
- /**
2152
- * Auto-detected runtime suggestion. Empty if getting response of getRuntime().
2153
- */
2154
- runtime: string;
2155
2505
  /**
2156
2506
  * Last commit date in ISO 8601 format.
2157
2507
  */
2158
2508
  pushedAt: string;
2159
2509
  };
2160
2510
  /**
2161
- * Detection
2511
+ * ProviderRepositoryFramework
2162
2512
  */
2163
- type Detection = {
2513
+ type ProviderRepositoryFramework = {
2164
2514
  /**
2165
- * Runtime
2515
+ * VCS (Version Control System) repository ID.
2166
2516
  */
2167
- runtime: string;
2168
- };
2169
- /**
2170
- * VcsContents
2171
- */
2172
- type VcsContent = {
2517
+ id: string;
2518
+ /**
2519
+ * VCS (Version Control System) repository name.
2520
+ */
2521
+ name: string;
2522
+ /**
2523
+ * VCS (Version Control System) organization name
2524
+ */
2525
+ organization: string;
2526
+ /**
2527
+ * VCS (Version Control System) provider name.
2528
+ */
2529
+ provider: string;
2530
+ /**
2531
+ * Is VCS (Version Control System) repository private?
2532
+ */
2533
+ private: boolean;
2534
+ /**
2535
+ * Last commit date in ISO 8601 format.
2536
+ */
2537
+ pushedAt: string;
2538
+ /**
2539
+ * Auto-detected framework. Empty if type is not "framework".
2540
+ */
2541
+ framework: string;
2542
+ };
2543
+ /**
2544
+ * ProviderRepositoryRuntime
2545
+ */
2546
+ type ProviderRepositoryRuntime = {
2547
+ /**
2548
+ * VCS (Version Control System) repository ID.
2549
+ */
2550
+ id: string;
2551
+ /**
2552
+ * VCS (Version Control System) repository name.
2553
+ */
2554
+ name: string;
2555
+ /**
2556
+ * VCS (Version Control System) organization name
2557
+ */
2558
+ organization: string;
2559
+ /**
2560
+ * VCS (Version Control System) provider name.
2561
+ */
2562
+ provider: string;
2563
+ /**
2564
+ * Is VCS (Version Control System) repository private?
2565
+ */
2566
+ private: boolean;
2567
+ /**
2568
+ * Last commit date in ISO 8601 format.
2569
+ */
2570
+ pushedAt: string;
2571
+ /**
2572
+ * Auto-detected runtime. Empty if type is not "runtime".
2573
+ */
2574
+ runtime: string;
2575
+ };
2576
+ /**
2577
+ * DetectionFramework
2578
+ */
2579
+ type DetectionFramework = {
2580
+ /**
2581
+ * Framework
2582
+ */
2583
+ framework: string;
2584
+ /**
2585
+ * Site Install Command
2586
+ */
2587
+ installCommand: string;
2588
+ /**
2589
+ * Site Build Command
2590
+ */
2591
+ buildCommand: string;
2592
+ /**
2593
+ * Site Output Directory
2594
+ */
2595
+ outputDirectory: string;
2596
+ };
2597
+ /**
2598
+ * DetectionRuntime
2599
+ */
2600
+ type DetectionRuntime = {
2601
+ /**
2602
+ * Runtime
2603
+ */
2604
+ runtime: string;
2605
+ /**
2606
+ * Function Entrypoint
2607
+ */
2608
+ entrypoint: string;
2609
+ /**
2610
+ * Function install and build commands
2611
+ */
2612
+ commands: string;
2613
+ };
2614
+ /**
2615
+ * VcsContents
2616
+ */
2617
+ type VcsContent = {
2173
2618
  /**
2174
2619
  * Content size in bytes. Only files have size, and for directories, 0 is returned.
2175
2620
  */
@@ -2229,6 +2674,56 @@ export declare namespace Models {
2229
2674
  */
2230
2675
  supports: string[];
2231
2676
  };
2677
+ /**
2678
+ * Framework
2679
+ */
2680
+ type Framework = {
2681
+ /**
2682
+ * Framework key.
2683
+ */
2684
+ key: string;
2685
+ /**
2686
+ * Framework Name.
2687
+ */
2688
+ name: string;
2689
+ /**
2690
+ * Default runtime version.
2691
+ */
2692
+ buildRuntime: string;
2693
+ /**
2694
+ * List of supported runtime versions.
2695
+ */
2696
+ runtimes: string[];
2697
+ /**
2698
+ * List of supported adapters.
2699
+ */
2700
+ adapters: FrameworkAdapter[];
2701
+ };
2702
+ /**
2703
+ * Framework Adapter
2704
+ */
2705
+ type FrameworkAdapter = {
2706
+ /**
2707
+ * Adapter key.
2708
+ */
2709
+ key: string;
2710
+ /**
2711
+ * Default command to download dependencies.
2712
+ */
2713
+ installCommand: string;
2714
+ /**
2715
+ * Default command to build site into output directory.
2716
+ */
2717
+ buildCommand: string;
2718
+ /**
2719
+ * Default output directory of build.
2720
+ */
2721
+ outputDirectory: string;
2722
+ /**
2723
+ * Name of fallback file to use instead of 404 page. If null, Appwrite 404 page will be displayed.
2724
+ */
2725
+ fallbackFile: string;
2726
+ };
2232
2727
  /**
2233
2728
  * Deployment
2234
2729
  */
@@ -2264,11 +2759,15 @@ export declare namespace Models {
2264
2759
  /**
2265
2760
  * The code size in bytes.
2266
2761
  */
2267
- size: number;
2762
+ sourceSize: number;
2268
2763
  /**
2269
2764
  * The build output size in bytes.
2270
2765
  */
2271
2766
  buildSize: number;
2767
+ /**
2768
+ * The total size in bytes (source and build output).
2769
+ */
2770
+ totalSize: number;
2272
2771
  /**
2273
2772
  * The current build ID.
2274
2773
  */
@@ -2278,7 +2777,15 @@ export declare namespace Models {
2278
2777
  */
2279
2778
  activate: boolean;
2280
2779
  /**
2281
- * The deployment status. Possible values are "processing", "building", "waiting", "ready", and "failed".
2780
+ * Screenshot with light theme preference file ID.
2781
+ */
2782
+ screenshotLight: string;
2783
+ /**
2784
+ * Screenshot with dark theme preference file ID.
2785
+ */
2786
+ screenshotDark: string;
2787
+ /**
2788
+ * The deployment status. Possible values are "waiting", "processing", "building", "ready", and "failed".
2282
2789
  */
2283
2790
  status: string;
2284
2791
  /**
@@ -2288,7 +2795,7 @@ export declare namespace Models {
2288
2795
  /**
2289
2796
  * The current build time in seconds.
2290
2797
  */
2291
- buildTime: number;
2798
+ buildDuration: number;
2292
2799
  /**
2293
2800
  * The name of the vcs provider repository
2294
2801
  */
@@ -2395,7 +2902,7 @@ export declare namespace Models {
2395
2902
  */
2396
2903
  errors: string;
2397
2904
  /**
2398
- * Function execution duration in seconds.
2905
+ * Resource(function/site) execution duration in seconds.
2399
2906
  */
2400
2907
  duration: number;
2401
2908
  /**
@@ -2403,47 +2910,6 @@ export declare namespace Models {
2403
2910
  */
2404
2911
  scheduledAt?: string;
2405
2912
  };
2406
- /**
2407
- * Build
2408
- */
2409
- type Build = {
2410
- /**
2411
- * Build ID.
2412
- */
2413
- $id: string;
2414
- /**
2415
- * The deployment that created this build.
2416
- */
2417
- deploymentId: string;
2418
- /**
2419
- * The build status. There are a few different types and each one means something different. \nFailed - The deployment build has failed. More details can usually be found in buildStderr\nReady - The deployment build was successful and the deployment is ready to be deployed\nProcessing - The deployment is currently waiting to have a build triggered\nBuilding - The deployment is currently being built
2420
- */
2421
- status: string;
2422
- /**
2423
- * The stdout of the build.
2424
- */
2425
- stdout: string;
2426
- /**
2427
- * The stderr of the build.
2428
- */
2429
- stderr: string;
2430
- /**
2431
- * The deployment creation date in ISO 8601 format.
2432
- */
2433
- startTime: string;
2434
- /**
2435
- * The time the build was finished in ISO 8601 format.
2436
- */
2437
- endTime: string;
2438
- /**
2439
- * The build duration in seconds.
2440
- */
2441
- duration: number;
2442
- /**
2443
- * The code size in bytes.
2444
- */
2445
- size: number;
2446
- };
2447
2913
  /**
2448
2914
  * Project
2449
2915
  */
@@ -2564,6 +3030,10 @@ export declare namespace Models {
2564
3030
  * List of API Keys.
2565
3031
  */
2566
3032
  keys: Key[];
3033
+ /**
3034
+ * List of dev keys.
3035
+ */
3036
+ devKeys: DevKey[];
2567
3037
  /**
2568
3038
  * Status for custom SMTP
2569
3039
  */
@@ -2668,6 +3138,10 @@ export declare namespace Models {
2668
3138
  * Users service status
2669
3139
  */
2670
3140
  serviceStatusForUsers: boolean;
3141
+ /**
3142
+ * Sites service status
3143
+ */
3144
+ serviceStatusForSites: boolean;
2671
3145
  /**
2672
3146
  * Functions service status
2673
3147
  */
@@ -2783,6 +3257,43 @@ export declare namespace Models {
2783
3257
  */
2784
3258
  sdks: string[];
2785
3259
  };
3260
+ /**
3261
+ * DevKey
3262
+ */
3263
+ type DevKey = {
3264
+ /**
3265
+ * Key ID.
3266
+ */
3267
+ $id: string;
3268
+ /**
3269
+ * Key creation date in ISO 8601 format.
3270
+ */
3271
+ $createdAt: string;
3272
+ /**
3273
+ * Key update date in ISO 8601 format.
3274
+ */
3275
+ $updatedAt: string;
3276
+ /**
3277
+ * Key name.
3278
+ */
3279
+ name: string;
3280
+ /**
3281
+ * Key expiration date in ISO 8601 format.
3282
+ */
3283
+ expire: string;
3284
+ /**
3285
+ * Secret key.
3286
+ */
3287
+ secret: string;
3288
+ /**
3289
+ * Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
3290
+ */
3291
+ accessedAt: string;
3292
+ /**
3293
+ * List of SDK user agents that used this key.
3294
+ */
3295
+ sdks: string[];
3296
+ };
2786
3297
  /**
2787
3298
  * Mock Number
2788
3299
  */
@@ -2890,6 +3401,10 @@ export declare namespace Models {
2890
3401
  * Variable value.
2891
3402
  */
2892
3403
  value: string;
3404
+ /**
3405
+ * Variable secret flag. Secret variables can only be updated or deleted, but never read.
3406
+ */
3407
+ secret: boolean;
2893
3408
  /**
2894
3409
  * Service to which the variable belongs. Possible values are "project", "function"
2895
3410
  */
@@ -3284,59 +3799,261 @@ export declare namespace Models {
3284
3799
  */
3285
3800
  buckets: Metric[];
3286
3801
  /**
3287
- * Aggregated number of files per period.
3802
+ * Aggregated number of files per period.
3803
+ */
3804
+ files: Metric[];
3805
+ /**
3806
+ * Aggregated number of files storage (in bytes) per period .
3807
+ */
3808
+ storage: Metric[];
3809
+ };
3810
+ /**
3811
+ * UsageBuckets
3812
+ */
3813
+ type UsageBuckets = {
3814
+ /**
3815
+ * Time range of the usage stats.
3816
+ */
3817
+ range: string;
3818
+ /**
3819
+ * Total aggregated number of bucket files.
3820
+ */
3821
+ filesTotal: number;
3822
+ /**
3823
+ * Total aggregated number of bucket files storage (in bytes).
3824
+ */
3825
+ filesStorageTotal: number;
3826
+ /**
3827
+ * Aggregated number of bucket files per period.
3828
+ */
3829
+ files: Metric[];
3830
+ /**
3831
+ * Aggregated number of bucket storage files (in bytes) per period.
3832
+ */
3833
+ storage: Metric[];
3834
+ /**
3835
+ * Aggregated number of files transformations per period.
3836
+ */
3837
+ imageTransformations: Metric[];
3838
+ /**
3839
+ * Total aggregated number of files transformations.
3840
+ */
3841
+ imageTransformationsTotal: number;
3842
+ };
3843
+ /**
3844
+ * UsageFunctions
3845
+ */
3846
+ type UsageFunctions = {
3847
+ /**
3848
+ * Time range of the usage stats.
3849
+ */
3850
+ range: string;
3851
+ /**
3852
+ * Total aggregated number of functions.
3853
+ */
3854
+ functionsTotal: number;
3855
+ /**
3856
+ * Total aggregated number of functions deployments.
3857
+ */
3858
+ deploymentsTotal: number;
3859
+ /**
3860
+ * Total aggregated sum of functions deployment storage.
3861
+ */
3862
+ deploymentsStorageTotal: number;
3863
+ /**
3864
+ * Total aggregated number of functions build.
3865
+ */
3866
+ buildsTotal: number;
3867
+ /**
3868
+ * total aggregated sum of functions build storage.
3869
+ */
3870
+ buildsStorageTotal: number;
3871
+ /**
3872
+ * Total aggregated sum of functions build compute time.
3873
+ */
3874
+ buildsTimeTotal: number;
3875
+ /**
3876
+ * Total aggregated sum of functions build mbSeconds.
3877
+ */
3878
+ buildsMbSecondsTotal: number;
3879
+ /**
3880
+ * Total aggregated number of functions execution.
3881
+ */
3882
+ executionsTotal: number;
3883
+ /**
3884
+ * Total aggregated sum of functions execution compute time.
3885
+ */
3886
+ executionsTimeTotal: number;
3887
+ /**
3888
+ * Total aggregated sum of functions execution mbSeconds.
3889
+ */
3890
+ executionsMbSecondsTotal: number;
3891
+ /**
3892
+ * Aggregated number of functions per period.
3893
+ */
3894
+ functions: Metric[];
3895
+ /**
3896
+ * Aggregated number of functions deployment per period.
3897
+ */
3898
+ deployments: Metric[];
3899
+ /**
3900
+ * Aggregated number of functions deployment storage per period.
3901
+ */
3902
+ deploymentsStorage: Metric[];
3903
+ /**
3904
+ * Total aggregated number of successful function builds.
3905
+ */
3906
+ buildsSuccessTotal: number;
3907
+ /**
3908
+ * Total aggregated number of failed function builds.
3909
+ */
3910
+ buildsFailedTotal: number;
3911
+ /**
3912
+ * Aggregated number of functions build per period.
3913
+ */
3914
+ builds: Metric[];
3915
+ /**
3916
+ * Aggregated sum of functions build storage per period.
3917
+ */
3918
+ buildsStorage: Metric[];
3919
+ /**
3920
+ * Aggregated sum of functions build compute time per period.
3921
+ */
3922
+ buildsTime: Metric[];
3923
+ /**
3924
+ * Aggregated sum of functions build mbSeconds per period.
3925
+ */
3926
+ buildsMbSeconds: Metric[];
3927
+ /**
3928
+ * Aggregated number of functions execution per period.
3929
+ */
3930
+ executions: Metric[];
3931
+ /**
3932
+ * Aggregated number of functions execution compute time per period.
3933
+ */
3934
+ executionsTime: Metric[];
3935
+ /**
3936
+ * Aggregated number of functions mbSeconds per period.
3937
+ */
3938
+ executionsMbSeconds: Metric[];
3939
+ /**
3940
+ * Aggregated number of successful function builds per period.
3941
+ */
3942
+ buildsSuccess: Metric[];
3943
+ /**
3944
+ * Aggregated number of failed function builds per period.
3945
+ */
3946
+ buildsFailed: Metric[];
3947
+ };
3948
+ /**
3949
+ * UsageFunction
3950
+ */
3951
+ type UsageFunction = {
3952
+ /**
3953
+ * The time range of the usage stats.
3954
+ */
3955
+ range: string;
3956
+ /**
3957
+ * Total aggregated number of function deployments.
3958
+ */
3959
+ deploymentsTotal: number;
3960
+ /**
3961
+ * Total aggregated sum of function deployments storage.
3962
+ */
3963
+ deploymentsStorageTotal: number;
3964
+ /**
3965
+ * Total aggregated number of function builds.
3966
+ */
3967
+ buildsTotal: number;
3968
+ /**
3969
+ * Total aggregated number of successful function builds.
3970
+ */
3971
+ buildsSuccessTotal: number;
3972
+ /**
3973
+ * Total aggregated number of failed function builds.
3974
+ */
3975
+ buildsFailedTotal: number;
3976
+ /**
3977
+ * total aggregated sum of function builds storage.
3978
+ */
3979
+ buildsStorageTotal: number;
3980
+ /**
3981
+ * Total aggregated sum of function builds compute time.
3982
+ */
3983
+ buildsTimeTotal: number;
3984
+ /**
3985
+ * Average builds compute time.
3986
+ */
3987
+ buildsTimeAverage: number;
3988
+ /**
3989
+ * Total aggregated sum of function builds mbSeconds.
3990
+ */
3991
+ buildsMbSecondsTotal: number;
3992
+ /**
3993
+ * Total aggregated number of function executions.
3994
+ */
3995
+ executionsTotal: number;
3996
+ /**
3997
+ * Total aggregated sum of function executions compute time.
3998
+ */
3999
+ executionsTimeTotal: number;
4000
+ /**
4001
+ * Total aggregated sum of function executions mbSeconds.
4002
+ */
4003
+ executionsMbSecondsTotal: number;
4004
+ /**
4005
+ * Aggregated number of function deployments per period.
4006
+ */
4007
+ deployments: Metric[];
4008
+ /**
4009
+ * Aggregated number of function deployments storage per period.
4010
+ */
4011
+ deploymentsStorage: Metric[];
4012
+ /**
4013
+ * Aggregated number of function builds per period.
3288
4014
  */
3289
- files: Metric[];
4015
+ builds: Metric[];
3290
4016
  /**
3291
- * Aggregated number of files storage (in bytes) per period .
4017
+ * Aggregated sum of function builds storage per period.
3292
4018
  */
3293
- storage: Metric[];
3294
- };
3295
- /**
3296
- * UsageBuckets
3297
- */
3298
- type UsageBuckets = {
4019
+ buildsStorage: Metric[];
3299
4020
  /**
3300
- * Time range of the usage stats.
4021
+ * Aggregated sum of function builds compute time per period.
3301
4022
  */
3302
- range: string;
4023
+ buildsTime: Metric[];
3303
4024
  /**
3304
- * Total aggregated number of bucket files.
4025
+ * Aggregated number of function builds mbSeconds per period.
3305
4026
  */
3306
- filesTotal: number;
4027
+ buildsMbSeconds: Metric[];
3307
4028
  /**
3308
- * Total aggregated number of bucket files storage (in bytes).
4029
+ * Aggregated number of function executions per period.
3309
4030
  */
3310
- filesStorageTotal: number;
4031
+ executions: Metric[];
3311
4032
  /**
3312
- * Aggregated number of bucket files per period.
4033
+ * Aggregated number of function executions compute time per period.
3313
4034
  */
3314
- files: Metric[];
4035
+ executionsTime: Metric[];
3315
4036
  /**
3316
- * Aggregated number of bucket storage files (in bytes) per period.
4037
+ * Aggregated number of function mbSeconds per period.
3317
4038
  */
3318
- storage: Metric[];
4039
+ executionsMbSeconds: Metric[];
3319
4040
  /**
3320
- * Aggregated number of files transformations per period.
4041
+ * Aggregated number of successful builds per period.
3321
4042
  */
3322
- imageTransformations: Metric[];
4043
+ buildsSuccess: Metric[];
3323
4044
  /**
3324
- * Total aggregated number of files transformations.
4045
+ * Aggregated number of failed builds per period.
3325
4046
  */
3326
- imageTransformationsTotal: number;
4047
+ buildsFailed: Metric[];
3327
4048
  };
3328
4049
  /**
3329
- * UsageFunctions
4050
+ * UsageSites
3330
4051
  */
3331
- type UsageFunctions = {
4052
+ type UsageSites = {
3332
4053
  /**
3333
4054
  * Time range of the usage stats.
3334
4055
  */
3335
4056
  range: string;
3336
- /**
3337
- * Total aggregated number of functions.
3338
- */
3339
- functionsTotal: number;
3340
4057
  /**
3341
4058
  * Total aggregated number of functions deployments.
3342
4059
  */
@@ -3373,10 +4090,6 @@ export declare namespace Models {
3373
4090
  * Total aggregated sum of functions execution mbSeconds.
3374
4091
  */
3375
4092
  executionsMbSecondsTotal: number;
3376
- /**
3377
- * Aggregated number of functions per period.
3378
- */
3379
- functions: Metric[];
3380
4093
  /**
3381
4094
  * Aggregated number of functions deployment per period.
3382
4095
  */
@@ -3385,6 +4098,14 @@ export declare namespace Models {
3385
4098
  * Aggregated number of functions deployment storage per period.
3386
4099
  */
3387
4100
  deploymentsStorage: Metric[];
4101
+ /**
4102
+ * Total aggregated number of successful function builds.
4103
+ */
4104
+ buildsSuccessTotal: number;
4105
+ /**
4106
+ * Total aggregated number of failed function builds.
4107
+ */
4108
+ buildsFailedTotal: number;
3388
4109
  /**
3389
4110
  * Aggregated number of functions build per period.
3390
4111
  */
@@ -3413,11 +4134,51 @@ export declare namespace Models {
3413
4134
  * Aggregated number of functions mbSeconds per period.
3414
4135
  */
3415
4136
  executionsMbSeconds: Metric[];
4137
+ /**
4138
+ * Aggregated number of successful function builds per period.
4139
+ */
4140
+ buildsSuccess: Metric[];
4141
+ /**
4142
+ * Aggregated number of failed function builds per period.
4143
+ */
4144
+ buildsFailed: Metric[];
4145
+ /**
4146
+ * Total aggregated number of sites.
4147
+ */
4148
+ sitesTotal: number;
4149
+ /**
4150
+ * Aggregated number of sites per period.
4151
+ */
4152
+ sites: Metric[];
4153
+ /**
4154
+ * Total aggregated number of requests.
4155
+ */
4156
+ requestsTotal: number;
4157
+ /**
4158
+ * Aggregated number of requests per period.
4159
+ */
4160
+ requests: Metric[];
4161
+ /**
4162
+ * Total aggregated inbound bandwidth.
4163
+ */
4164
+ inboundTotal: number;
4165
+ /**
4166
+ * Aggregated number of inbound bandwidth per period.
4167
+ */
4168
+ inbound: Metric[];
4169
+ /**
4170
+ * Total aggregated outbound bandwidth.
4171
+ */
4172
+ outboundTotal: number;
4173
+ /**
4174
+ * Aggregated number of outbound bandwidth per period.
4175
+ */
4176
+ outbound: Metric[];
3416
4177
  };
3417
4178
  /**
3418
- * UsageFunction
4179
+ * UsageSite
3419
4180
  */
3420
- type UsageFunction = {
4181
+ type UsageSite = {
3421
4182
  /**
3422
4183
  * The time range of the usage stats.
3423
4184
  */
@@ -3434,6 +4195,14 @@ export declare namespace Models {
3434
4195
  * Total aggregated number of function builds.
3435
4196
  */
3436
4197
  buildsTotal: number;
4198
+ /**
4199
+ * Total aggregated number of successful function builds.
4200
+ */
4201
+ buildsSuccessTotal: number;
4202
+ /**
4203
+ * Total aggregated number of failed function builds.
4204
+ */
4205
+ buildsFailedTotal: number;
3437
4206
  /**
3438
4207
  * total aggregated sum of function builds storage.
3439
4208
  */
@@ -3442,6 +4211,10 @@ export declare namespace Models {
3442
4211
  * Total aggregated sum of function builds compute time.
3443
4212
  */
3444
4213
  buildsTimeTotal: number;
4214
+ /**
4215
+ * Average builds compute time.
4216
+ */
4217
+ buildsTimeAverage: number;
3445
4218
  /**
3446
4219
  * Total aggregated sum of function builds mbSeconds.
3447
4220
  */
@@ -3494,6 +4267,38 @@ export declare namespace Models {
3494
4267
  * Aggregated number of function mbSeconds per period.
3495
4268
  */
3496
4269
  executionsMbSeconds: Metric[];
4270
+ /**
4271
+ * Aggregated number of successful builds per period.
4272
+ */
4273
+ buildsSuccess: Metric[];
4274
+ /**
4275
+ * Aggregated number of failed builds per period.
4276
+ */
4277
+ buildsFailed: Metric[];
4278
+ /**
4279
+ * Total aggregated number of requests.
4280
+ */
4281
+ requestsTotal: number;
4282
+ /**
4283
+ * Aggregated number of requests per period.
4284
+ */
4285
+ requests: Metric[];
4286
+ /**
4287
+ * Total aggregated inbound bandwidth.
4288
+ */
4289
+ inboundTotal: number;
4290
+ /**
4291
+ * Aggregated number of inbound bandwidth per period.
4292
+ */
4293
+ inbound: Metric[];
4294
+ /**
4295
+ * Total aggregated outbound bandwidth.
4296
+ */
4297
+ outboundTotal: number;
4298
+ /**
4299
+ * Aggregated number of outbound bandwidth per period.
4300
+ */
4301
+ outbound: Metric[];
3497
4302
  };
3498
4303
  /**
3499
4304
  * UsageProject
@@ -3548,11 +4353,11 @@ export declare namespace Models {
3548
4353
  */
3549
4354
  buildsMbSecondsTotal: number;
3550
4355
  /**
3551
- * Total number of databases reads.
4356
+ * Aggregated stats for total databases reads.
3552
4357
  */
3553
4358
  databasesReadsTotal: number;
3554
4359
  /**
3555
- * Total number of databases writes.
4360
+ * Aggregated stats for total databases writes.
3556
4361
  */
3557
4362
  databasesWritesTotal: number;
3558
4363
  /**
@@ -3596,11 +4401,11 @@ export declare namespace Models {
3596
4401
  */
3597
4402
  functionsStorageBreakdown: MetricBreakdown[];
3598
4403
  /**
3599
- * Total aggregated number of phone auth.
4404
+ * Aggregated stats for total auth phone.
3600
4405
  */
3601
4406
  authPhoneTotal: number;
3602
4407
  /**
3603
- * Estimated total aggregated cost of phone auth.
4408
+ * Aggregated stats for total auth phone estimation.
3604
4409
  */
3605
4410
  authPhoneEstimate: number;
3606
4411
  /**
@@ -3608,11 +4413,11 @@ export declare namespace Models {
3608
4413
  */
3609
4414
  authPhoneCountryBreakdown: MetricBreakdown[];
3610
4415
  /**
3611
- * An array of aggregated number of database reads.
4416
+ * Aggregated stats for database reads.
3612
4417
  */
3613
4418
  databasesReads: Metric[];
3614
4419
  /**
3615
- * An array of aggregated number of database writes.
4420
+ * Aggregated stats for database writes.
3616
4421
  */
3617
4422
  databasesWrites: Metric[];
3618
4423
  /**
@@ -3623,6 +4428,14 @@ export declare namespace Models {
3623
4428
  * Total aggregated number of image transformations.
3624
4429
  */
3625
4430
  imageTransformationsTotal: number;
4431
+ /**
4432
+ * Aggregated stats for total network bandwidth.
4433
+ */
4434
+ networkTotal: number;
4435
+ /**
4436
+ * Aggregated stats for total backups storage.
4437
+ */
4438
+ backupsStorageTotal: number;
3626
4439
  };
3627
4440
  /**
3628
4441
  * Headers
@@ -3679,13 +4492,37 @@ export declare namespace Models {
3679
4492
  */
3680
4493
  domain: string;
3681
4494
  /**
3682
- * Action definition for the rule. Possible values are "api", "function", or "redirect"
4495
+ * Action definition for the rule. Possible values are "api", "deployment", or "redirect"
3683
4496
  */
3684
- resourceType: string;
4497
+ type: string;
3685
4498
  /**
3686
- * ID of resource for the action type. If resourceType is "api" or "url", it is empty. If resourceType is "function", it is ID of the function.
4499
+ * Defines how the rule was created. Possible values are "manual" or "deployment"
3687
4500
  */
3688
- resourceId: string;
4501
+ trigger: string;
4502
+ /**
4503
+ * URL to redirect to. Used if type is "redirect"
4504
+ */
4505
+ redirectUrl: string;
4506
+ /**
4507
+ * Status code to apply during redirect. Used if type is "redirect"
4508
+ */
4509
+ redirectStatusCode: number;
4510
+ /**
4511
+ * ID of deployment. Used if type is "deployment"
4512
+ */
4513
+ deploymentId: string;
4514
+ /**
4515
+ * Type of deployment. Possible values are "function", "site". Used if rule's type is "deployment".
4516
+ */
4517
+ deploymentResourceType: string;
4518
+ /**
4519
+ * ID deployment's resource. Used if type is "deployment"
4520
+ */
4521
+ deploymentResourceId: string;
4522
+ /**
4523
+ * Name of Git branch that updates rule. Used if type is "deployment"
4524
+ */
4525
+ deploymentVcsProviderBranch: string;
3689
4526
  /**
3690
4527
  * Domain verification status. Possible values are "created", "verifying", "verified" and "unverified"
3691
4528
  */
@@ -3756,7 +4593,15 @@ export declare namespace Models {
3756
4593
  /**
3757
4594
  * CNAME target for your Appwrite custom domains.
3758
4595
  */
3759
- _APP_DOMAIN_TARGET: string;
4596
+ _APP_DOMAIN_TARGET_CNAME: string;
4597
+ /**
4598
+ * A target for your Appwrite custom domains.
4599
+ */
4600
+ _APP_DOMAIN_TARGET_A: string;
4601
+ /**
4602
+ * AAAA target for your Appwrite custom domains.
4603
+ */
4604
+ _APP_DOMAIN_TARGET_AAAA: string;
3760
4605
  /**
3761
4606
  * Maximum file size allowed for file upload in bytes.
3762
4607
  */
@@ -3764,7 +4609,7 @@ export declare namespace Models {
3764
4609
  /**
3765
4610
  * Maximum file size allowed for deployment in bytes.
3766
4611
  */
3767
- _APP_FUNCTIONS_SIZE_LIMIT: number;
4612
+ _APP_COMPUTE_SIZE_LIMIT: number;
3768
4613
  /**
3769
4614
  * Defines if usage stats are enabled. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'.
3770
4615
  */
@@ -3781,6 +4626,22 @@ export declare namespace Models {
3781
4626
  * Defines if AI assistant is enabled.
3782
4627
  */
3783
4628
  _APP_ASSISTANT_ENABLED: boolean;
4629
+ /**
4630
+ * A domain to use for site URLs.
4631
+ */
4632
+ _APP_DOMAIN_SITES: string;
4633
+ /**
4634
+ * A domain to use for function URLs.
4635
+ */
4636
+ _APP_DOMAIN_FUNCTIONS: string;
4637
+ /**
4638
+ * Defines if HTTPS is enforced for all requests.
4639
+ */
4640
+ _APP_OPTIONS_FORCE_HTTPS: string;
4641
+ /**
4642
+ * Comma-separated list of nameservers.
4643
+ */
4644
+ _APP_DOMAINS_NAMESERVERS: string;
3784
4645
  };
3785
4646
  /**
3786
4647
  * MFA Challenge
@@ -4099,6 +4960,10 @@ export declare namespace Models {
4099
4960
  * Resources to migrate.
4100
4961
  */
4101
4962
  resources: string[];
4963
+ /**
4964
+ * Id of the resource to migrate.
4965
+ */
4966
+ resourceId: string;
4102
4967
  /**
4103
4968
  * A group of counters that represent the total progress of the migration.
4104
4969
  */
@@ -4340,6 +5205,10 @@ export declare namespace Models {
4340
5205
  * Region ID
4341
5206
  */
4342
5207
  $id: string;
5208
+ /**
5209
+ * User ID
5210
+ */
5211
+ userId: string;
4343
5212
  /**
4344
5213
  * Street address
4345
5214
  */
@@ -4456,11 +5325,15 @@ export declare namespace Models {
4456
5325
  /**
4457
5326
  * Additional resources
4458
5327
  */
4459
- usage: AdditionalResource[];
5328
+ usage: UsageBillingPlan;
4460
5329
  /**
4461
5330
  * Addons
4462
5331
  */
4463
- addons: BillingPlanAddon[];
5332
+ addons: BillingPlanAddon;
5333
+ /**
5334
+ * Budget cap enabled or disabled.
5335
+ */
5336
+ budgetCapEnabled: boolean;
4464
5337
  /**
4465
5338
  * Custom SMTP
4466
5339
  */
@@ -4514,6 +5387,15 @@ export declare namespace Models {
4514
5387
  * BillingPlanAddon
4515
5388
  */
4516
5389
  type BillingPlanAddon = {
5390
+ /**
5391
+ * Addon seats
5392
+ */
5393
+ seats: BillingPlanAddonDetails;
5394
+ };
5395
+ /**
5396
+ * BillingPlanAddonDetails
5397
+ */
5398
+ type BillingPlanAddonDetails = {
4517
5399
  /**
4518
5400
  * Is the addon supported in the plan?
4519
5401
  */
@@ -4539,6 +5421,39 @@ export declare namespace Models {
4539
5421
  */
4540
5422
  value: number;
4541
5423
  };
5424
+ /**
5425
+ * BillingLimits
5426
+ */
5427
+ type BillingLimits = {
5428
+ /**
5429
+ * Bandwidth limit
5430
+ */
5431
+ bandwidth: number;
5432
+ /**
5433
+ * Storage limit
5434
+ */
5435
+ storage: number;
5436
+ /**
5437
+ * Users limit
5438
+ */
5439
+ users: number;
5440
+ /**
5441
+ * Executions limit
5442
+ */
5443
+ executions: number;
5444
+ /**
5445
+ * GBHours limit
5446
+ */
5447
+ GBHours: number;
5448
+ /**
5449
+ * Image transformations limit
5450
+ */
5451
+ imageTransformations: number;
5452
+ /**
5453
+ * Auth phone limit
5454
+ */
5455
+ authPhone: number;
5456
+ };
4542
5457
  /**
4543
5458
  * Campaign
4544
5459
  */
@@ -4624,6 +5539,10 @@ export declare namespace Models {
4624
5539
  * Status of the coupon. Can be one of `disabled`, `active` or `expired`.
4625
5540
  */
4626
5541
  status: string;
5542
+ /**
5543
+ * If the coupon is only valid for new organizations or not.
5544
+ */
5545
+ onlyNewOrgs: boolean;
4627
5546
  };
4628
5547
  /**
4629
5548
  * Credit
@@ -4726,7 +5645,7 @@ export declare namespace Models {
4726
5645
  /**
4727
5646
  * Usage breakdown per resource
4728
5647
  */
4729
- usage: object;
5648
+ usage: UsageInvoice[];
4730
5649
  /**
4731
5650
  * Invoice Amount
4732
5651
  */
@@ -4899,7 +5818,7 @@ export declare namespace Models {
4899
5818
  /**
4900
5819
  * Billing limits reached
4901
5820
  */
4902
- billingLimits: object;
5821
+ billingLimits: BillingLimits;
4903
5822
  /**
4904
5823
  * Billing plan downgrade
4905
5824
  */
@@ -5056,7 +5975,11 @@ export declare namespace Models {
5056
5975
  */
5057
5976
  name: string;
5058
5977
  /**
5059
- * Is the region disabled.
5978
+ * Does the organization have access to this region.
5979
+ */
5980
+ available: boolean;
5981
+ /**
5982
+ * Does the backend support this region.
5060
5983
  */
5061
5984
  disabled: boolean;
5062
5985
  /**
@@ -5152,138 +6075,172 @@ export declare namespace Models {
5152
6075
  roles: string[];
5153
6076
  };
5154
6077
  /**
5155
- * UsageOrganization
6078
+ * Domain
5156
6079
  */
5157
- type UsageOrganization = {
6080
+ type Domain = {
5158
6081
  /**
5159
- * Aggregated stats for number of requests.
6082
+ * Domain ID.
5160
6083
  */
5161
- bandwidth: Metric[];
6084
+ $id: string;
5162
6085
  /**
5163
- * Aggregated stats for consumed bandwidth.
6086
+ * Domain creation time in ISO 8601 format.
5164
6087
  */
5165
- users: Metric[];
6088
+ $createdAt: string;
5166
6089
  /**
5167
- * Aggregated stats for function executions.
6090
+ * Domain update date in ISO 8601 format.
5168
6091
  */
5169
- executions: Metric[];
6092
+ $updatedAt: string;
5170
6093
  /**
5171
- * Aggregated stats for database reads.
6094
+ * Domain name.
5172
6095
  */
5173
- databasesReads: Metric[];
6096
+ domain: string;
5174
6097
  /**
5175
- * Aggregated stats for database writes.
6098
+ * Domain registrar (e.g. "appwrite" or "third_party").
5176
6099
  */
5177
- databasesWrites: Metric[];
6100
+ registrar: string;
5178
6101
  /**
5179
- * Aggregated stats for file transformations.
6102
+ * Nameservers setting. "Appwrite" or empty string.
5180
6103
  */
5181
- imageTransformations: Metric[];
6104
+ nameservers: string;
5182
6105
  /**
5183
- * Aggregated stats for total file transformations.
6106
+ * Domain expiry date in ISO 8601 format.
5184
6107
  */
5185
- imageTransformationsTotal: number;
6108
+ expire: string;
5186
6109
  /**
5187
- * Aggregated stats for total users.
6110
+ * Domain renewal date in ISO 8601 format.
5188
6111
  */
5189
- usersTotal: number;
6112
+ renewal: string;
5190
6113
  /**
5191
- * Aggregated stats for total executions.
6114
+ * If set to true, the domain will automatically renew.
5192
6115
  */
5193
- executionsTotal: number;
6116
+ autoRenewal: boolean;
5194
6117
  /**
5195
- * Aggregated stats for function executions in mb seconds.
6118
+ * Renewal price (in USD).
5196
6119
  */
5197
- executionsMBSecondsTotal: number;
6120
+ renewalPrice: number;
5198
6121
  /**
5199
- * Aggregated stats for function builds in mb seconds.
6122
+ * Team ID.
5200
6123
  */
5201
- buildsMBSecondsTotal: number;
6124
+ teamId: string;
5202
6125
  /**
5203
- * Aggregated stats for total file storage.
6126
+ * Dns records
5204
6127
  */
5205
- filesStorageTotal: number;
6128
+ dnsRecords: DnsRecord[];
6129
+ };
6130
+ /**
6131
+ * DNSRecord
6132
+ */
6133
+ type DnsRecord = {
5206
6134
  /**
5207
- * Aggregated stats for total builds storage.
6135
+ * DNS Record ID.
5208
6136
  */
5209
- buildsStorageTotal: number;
6137
+ $id: string;
5210
6138
  /**
5211
- * Aggregated stats for total deployments storage.
6139
+ * DNS Record creation time in ISO 8601 format.
5212
6140
  */
5213
- deploymentsStorageTotal: number;
6141
+ $createdAt: string;
5214
6142
  /**
5215
- * Aggregated stats for total databases storage.
6143
+ * DNS Record update date in ISO 8601 format.
5216
6144
  */
5217
- databasesStorageTotal: number;
6145
+ $updatedAt: string;
5218
6146
  /**
5219
- * Aggregated stats for total databases storage reads.
6147
+ * DNS record type (e.g. A, CNAME, MX).
5220
6148
  */
5221
- databasesReadsTotal: number;
6149
+ type: string;
5222
6150
  /**
5223
- * Aggregated stats for total databases storage writes.
6151
+ * Record name or subdomain.
5224
6152
  */
5225
- databasesWritesTotal: number;
6153
+ name: string;
5226
6154
  /**
5227
- * Aggregated stats for total backups storage.
6155
+ * Value of the record (IP address, domain, etc.).
5228
6156
  */
5229
- backupsStorageTotal: number;
6157
+ value: string;
5230
6158
  /**
5231
- * Aggregated stats for total storage.
6159
+ * Time to live (in seconds).
5232
6160
  */
5233
- storageTotal: number;
6161
+ ttl: number;
5234
6162
  /**
5235
- * Aggregated stats for total phone authentication SMS.
6163
+ * Record priority (commonly used for MX).
5236
6164
  */
5237
- authPhoneTotal: number;
6165
+ priority: number;
5238
6166
  /**
5239
- * Aggregated stats for estimated phone authentication SMS cost.
6167
+ * Whether this record is locked (read-only).
5240
6168
  */
5241
- authPhoneEstimate: number;
6169
+ lock: boolean;
5242
6170
  /**
5243
- * Aggregated stats for each projects.
6171
+ * Record weight (used for SRV records).
5244
6172
  */
5245
- projects: UsageOrganizationProject[];
6173
+ weight: number;
6174
+ /**
6175
+ * Target port (used for SRV records).
6176
+ */
6177
+ port: number;
6178
+ /**
6179
+ * Comment for the DNS record.
6180
+ */
6181
+ comment: string;
5246
6182
  };
5247
6183
  /**
5248
- * UsageOrganizationProject
6184
+ * UsageInvoice
5249
6185
  */
5250
- type UsageOrganizationProject = {
6186
+ type UsageInvoice = {
5251
6187
  /**
5252
- * projectId
6188
+ * Invoice name
5253
6189
  */
5254
- projectId: string;
6190
+ name: string;
5255
6191
  /**
5256
- * Aggregated stats for number of requests.
6192
+ * Invoice value
5257
6193
  */
5258
- bandwidth: Metric[];
6194
+ value: number;
5259
6195
  /**
5260
- * Aggregated stats for consumed bandwidth.
6196
+ * Invoice amount
5261
6197
  */
5262
- users: Metric[];
6198
+ amount: number;
5263
6199
  /**
5264
- * Aggregated stats for function executions.
6200
+ * Invoice rate
5265
6201
  */
5266
- executions: number;
6202
+ rate: number;
5267
6203
  /**
5268
- * Aggregated stats for function executions in mb seconds.
6204
+ * Invoice description
5269
6205
  */
5270
- executionsMBSeconds: number;
6206
+ desc: string;
6207
+ };
6208
+ /**
6209
+ * usageBillingPlan
6210
+ */
6211
+ type UsageBillingPlan = {
5271
6212
  /**
5272
- * Aggregated stats for function builds in mb seconds.
6213
+ * Bandwidth additional resources
5273
6214
  */
5274
- buildsMBSeconds: number;
6215
+ bandwidth: AdditionalResource;
5275
6216
  /**
5276
- * Aggregated stats for number of documents.
6217
+ * Executions additional resources
5277
6218
  */
5278
- storage: number;
6219
+ executions: AdditionalResource;
5279
6220
  /**
5280
- * Aggregated stats for phone authentication.
6221
+ * Member additional resources
5281
6222
  */
5282
- authPhoneTotal: number;
6223
+ member: AdditionalResource;
5283
6224
  /**
5284
- * Aggregated stats for phone authentication estimated cost.
6225
+ * Realtime additional resources
5285
6226
  */
5286
- authPhoneEstimate: number;
6227
+ realtime: AdditionalResource;
6228
+ /**
6229
+ * Storage additional resources
6230
+ */
6231
+ storage: AdditionalResource;
6232
+ /**
6233
+ * User additional resources
6234
+ */
6235
+ users: AdditionalResource;
6236
+ /**
6237
+ * GBHour additional resources
6238
+ */
6239
+ GBHours: AdditionalResource;
6240
+ /**
6241
+ * Image transformation additional resources
6242
+ */
6243
+ imageTransformations: AdditionalResource;
5287
6244
  };
5288
6245
  /**
5289
6246
  * Aggregation team list
@@ -5338,7 +6295,7 @@ export declare namespace Models {
5338
6295
  restorations: BackupRestoration[];
5339
6296
  };
5340
6297
  /**
5341
- * Billing Invoices List
6298
+ * Billing invoices list
5342
6299
  */
5343
6300
  type InvoiceList = {
5344
6301
  /**
@@ -5390,7 +6347,7 @@ export declare namespace Models {
5390
6347
  teams: Organization<Preferences>[];
5391
6348
  };
5392
6349
  /**
5393
- * Payment Methods List
6350
+ * Payment methods list
5394
6351
  */
5395
6352
  type PaymentMethodList = {
5396
6353
  /**
@@ -5415,4 +6372,30 @@ export declare namespace Models {
5415
6372
  */
5416
6373
  regions: ConsoleRegion[];
5417
6374
  };
6375
+ /**
6376
+ * Domains list
6377
+ */
6378
+ type DomainsList = {
6379
+ /**
6380
+ * Total number of domains documents that matched your query.
6381
+ */
6382
+ total: number;
6383
+ /**
6384
+ * List of domains.
6385
+ */
6386
+ domains: Domain[];
6387
+ };
6388
+ /**
6389
+ * DNS records list
6390
+ */
6391
+ type DnsRecordsList = {
6392
+ /**
6393
+ * Total number of dnsRecords documents that matched your query.
6394
+ */
6395
+ total: number;
6396
+ /**
6397
+ * List of dnsRecords.
6398
+ */
6399
+ dnsRecords: DnsRecord[];
6400
+ };
5418
6401
  }