@appwrite.io/console 15.8.0 → 16.1.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 (54) hide show
  1. package/README.md +5 -6
  2. package/dist/cjs/package.json +1 -1
  3. package/dist/cjs/sdk.js +8360 -4537
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/package.json +1 -1
  6. package/dist/esm/sdk.js +8359 -4538
  7. package/dist/esm/sdk.js.map +1 -1
  8. package/dist/iife/sdk.js +8360 -4537
  9. package/package.json +59 -50
  10. package/types/client.d.ts +13 -2
  11. package/types/enums/{addon.d.ts → addon-key.d.ts} +1 -1
  12. package/types/enums/authentication-factor.d.ts +2 -1
  13. package/types/enums/build-runtime.d.ts +4 -1
  14. package/types/enums/embedding-model.d.ts +1 -3
  15. package/types/enums/execution-resource-type.d.ts +4 -0
  16. package/types/enums/image-gravity.d.ts +1 -0
  17. package/types/enums/invalidation-type.d.ts +5 -0
  18. package/types/enums/o-auth-provider.d.ts +5 -0
  19. package/types/enums/project-key-scopes.d.ts +20 -3
  20. package/types/enums/project-o-auth-provider-id.d.ts +5 -0
  21. package/types/enums/project-policy-id.d.ts +1 -0
  22. package/types/enums/query-suggestion-resource.d.ts +5 -1
  23. package/types/enums/runtime.d.ts +4 -1
  24. package/types/enums/usage-event-dimension.d.ts +27 -0
  25. package/types/enums/usage-event-metric.d.ts +55 -0
  26. package/types/enums/usage-gauge-dimension.d.ts +7 -0
  27. package/types/enums/usage-gauge-metric.d.ts +50 -0
  28. package/types/enums/usage-interval.d.ts +7 -0
  29. package/types/enums/usage-order-by.d.ts +4 -0
  30. package/types/enums/usage-order-direction.d.ts +4 -0
  31. package/types/index.d.ts +19 -6
  32. package/types/models.d.ts +764 -313
  33. package/types/services/account.d.ts +8 -8
  34. package/types/services/affiliates.d.ts +162 -0
  35. package/types/services/apps.d.ts +6 -6
  36. package/types/services/avatars.d.ts +44 -0
  37. package/types/services/databases.d.ts +8 -8
  38. package/types/services/documents-db.d.ts +13 -7
  39. package/types/services/domains.d.ts +82 -54
  40. package/types/services/embeddings.d.ts +31 -0
  41. package/types/services/functions.d.ts +6 -6
  42. package/types/services/mongo.d.ts +17 -23
  43. package/types/services/mysql.d.ts +17 -23
  44. package/types/services/organizations.d.ts +5 -5
  45. package/types/services/postgresql.d.ts +17 -23
  46. package/types/services/project.d.ts +171 -15
  47. package/types/services/proxy.d.ts +30 -0
  48. package/types/services/sites.d.ts +15 -8
  49. package/types/services/storage.d.ts +6 -6
  50. package/types/services/tables-db.d.ts +37 -12
  51. package/types/services/usage.d.ts +52 -38
  52. package/types/services/users.d.ts +24 -2
  53. package/types/services/vectors-db.d.ts +15 -34
  54. package/types/services/waf.d.ts +11 -2
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # Appwrite Console SDK
2
2
 
3
3
  ![License](https://img.shields.io/github/license/appwrite/sdk-for-console.svg?style=flat-square)
4
- ![Version](https://img.shields.io/badge/api%20version-1.9.5-blue.svg?style=flat-square)
4
+ ![Version](https://img.shields.io/badge/api%20version-2.0.0-blue.svg?style=flat-square)
5
5
  [![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
6
6
  [![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
7
7
  [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
8
8
 
9
- **This SDK is compatible with Appwrite server version 1.9.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-console/releases).**
9
+ **This SDK targets Appwrite server version latest as shipped on Appwrite Cloud.** Self-hosted releases can lag behind Cloud — if you run an older self-hosted build, use a matching older SDK from [previous releases](https://github.com/appwrite/sdk-for-console/releases) when APIs differ.
10
10
 
11
11
  Appwrite is an open-source backend as a service server that abstracts and simplifies complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Console SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
12
12
 
@@ -25,7 +25,7 @@ npm install @appwrite.io/console --save
25
25
  If you're using a bundler (like [Rollup](https://rollupjs.org/) or [webpack](https://webpack.js.org/)), you can import the Appwrite module when you need it:
26
26
 
27
27
  ```js
28
- import { Client, Account } from "@appwrite.io/console";
28
+ import { Client, Account } from '@appwrite.io/console';
29
29
  ```
30
30
 
31
31
  ### CDN
@@ -33,10 +33,9 @@ import { Client, Account } from "@appwrite.io/console";
33
33
  To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
34
34
 
35
35
  ```html
36
- <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@15.8.0"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@16.1.0"></script>
37
37
  ```
38
38
 
39
-
40
39
  ## Getting Started
41
40
 
42
41
  ### Add your Web Platform
@@ -188,4 +187,4 @@ This library is auto-generated by Appwrite custom [SDK Generator](https://github
188
187
 
189
188
  ## License
190
189
 
191
- Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information.
190
+ Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information.
@@ -1,3 +1,3 @@
1
1
  {
2
2
  "type": "commonjs"
3
- }
3
+ }