appwrite-cli 13.5.0 → 13.6.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 (51) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +2 -2
  3. package/cli.ts +4 -2
  4. package/dist/bundle-win-arm64.mjs +658 -52
  5. package/dist/cli.cjs +658 -52
  6. package/dist/index.cjs +33 -14
  7. package/dist/index.js +33 -14
  8. package/dist/lib/commands/schema.d.ts.map +1 -1
  9. package/dist/lib/commands/services/activities.d.ts +3 -0
  10. package/dist/lib/commands/services/activities.d.ts.map +1 -0
  11. package/dist/lib/commands/services/backups.d.ts +3 -0
  12. package/dist/lib/commands/services/backups.d.ts.map +1 -0
  13. package/dist/lib/constants.d.ts +1 -1
  14. package/dist/lib/json.d.ts.map +1 -1
  15. package/docs/examples/account/create-key.md +5 -0
  16. package/docs/examples/account/delete-key.md +4 -0
  17. package/docs/examples/account/get-key.md +4 -0
  18. package/docs/examples/account/list-keys.md +3 -0
  19. package/docs/examples/account/update-key.md +6 -0
  20. package/docs/examples/activities/get-event.md +4 -0
  21. package/docs/examples/activities/list-events.md +3 -0
  22. package/docs/examples/backups/create-archive.md +4 -0
  23. package/docs/examples/backups/create-policy.md +7 -0
  24. package/docs/examples/backups/create-restoration.md +5 -0
  25. package/docs/examples/backups/delete-archive.md +4 -0
  26. package/docs/examples/backups/delete-policy.md +4 -0
  27. package/docs/examples/backups/get-archive.md +4 -0
  28. package/docs/examples/backups/get-policy.md +4 -0
  29. package/docs/examples/backups/get-restoration.md +4 -0
  30. package/docs/examples/backups/list-archives.md +3 -0
  31. package/docs/examples/backups/list-policies.md +3 -0
  32. package/docs/examples/backups/list-restorations.md +3 -0
  33. package/docs/examples/backups/update-policy.md +4 -0
  34. package/install.ps1 +2 -2
  35. package/install.sh +1 -1
  36. package/lib/commands/schema.ts +1 -3
  37. package/lib/commands/services/account.ts +234 -0
  38. package/lib/commands/services/activities.ts +51 -0
  39. package/lib/commands/services/backups.ts +184 -0
  40. package/lib/commands/services/health.ts +55 -0
  41. package/lib/commands/services/projects.ts +1 -1
  42. package/lib/commands/services/storage.ts +2 -2
  43. package/lib/constants.ts +1 -1
  44. package/lib/json.ts +6 -1
  45. package/package.json +2 -2
  46. package/scoop/appwrite.config.json +3 -3
  47. package/dist/lib/commands/services/console.d.ts +0 -3
  48. package/dist/lib/commands/services/console.d.ts.map +0 -1
  49. package/docs/examples/console/get-resource.md +0 -5
  50. package/docs/examples/console/variables.md +0 -3
  51. package/lib/commands/services/console.ts +0 -49
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ ## 13.6.0
4
+
5
+ * Fix large double values (e.g. `1.7976931348623157e+308`) being expanded into huge integer literals.
6
+ * Added `activities` command with `list-events` and `get-event`.
7
+ * Added `backups` command with full support for archives, policies, and restorations.
8
+ * Added account billing commands (addresses, coupons, invoices).
9
+ * Added account API key management commands.
10
+ * Added account payment method management commands (including provider and mandate updates).
11
+
3
12
  ## 13.5.0
4
13
 
5
14
  * New: Added CLI commands under projects: `list-schedules`, `create-schedule`, and `get-schedule` for managing project schedules.
@@ -9,6 +18,7 @@
9
18
 
10
19
  * Add `--queries` option to `list-keys` command
11
20
  * Add `--key-id` option to `create-key` command
21
+ * Add support for the new `Backups` service
12
22
  * Add `encrypt` param support to new string type attributes
13
23
  * Fix `bignumber.js` bundler conflict by removing direct dependency in favor of transitive dependency from `json-bigint`
14
24
  * Fix missing region in console failUrl for failed deployments
package/README.md CHANGED
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
29
29
 
30
30
  ```sh
31
31
  $ appwrite -v
32
- 13.5.0
32
+ 13.6.0
33
33
  ```
34
34
 
35
35
  ### Install using prebuilt binaries
@@ -60,7 +60,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
60
60
  Once the installation completes, you can verify your install using
61
61
  ```
62
62
  $ appwrite -v
63
- 13.5.0
63
+ 13.6.0
64
64
  ```
65
65
 
66
66
  ## Getting Started
package/cli.ts CHANGED
@@ -25,7 +25,8 @@ import { update } from './lib/commands/update.js';
25
25
  import { generate } from './lib/commands/generate.js';
26
26
 
27
27
  import { account } from './lib/commands/services/account.js';
28
- import { console } from './lib/commands/services/console.js';
28
+ import { activities } from './lib/commands/services/activities.js';
29
+ import { backups } from './lib/commands/services/backups.js';
29
30
  import { databases } from './lib/commands/services/databases.js';
30
31
  import { functions } from './lib/commands/services/functions.js';
31
32
  import { graphql } from './lib/commands/services/graphql.js';
@@ -134,7 +135,8 @@ if (process.argv.includes('-v') || process.argv.includes('--version')) {
134
135
  .addCommand(generate)
135
136
  .addCommand(logout)
136
137
  .addCommand(account)
137
- .addCommand(console)
138
+ .addCommand(activities)
139
+ .addCommand(backups)
138
140
  .addCommand(databases)
139
141
  .addCommand(functions)
140
142
  .addCommand(graphql)