@appwrite.io/console 1.4.5 → 1.4.7

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 (49) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/sdk.js +217 -18
  3. package/dist/cjs/sdk.js.map +1 -1
  4. package/dist/esm/sdk.js +218 -19
  5. package/dist/esm/sdk.js.map +1 -1
  6. package/dist/iife/sdk.js +217 -18
  7. package/docs/examples/health/get-queue-usage-count.md +13 -0
  8. package/docs/examples/messaging/create-push.md +8 -5
  9. package/docs/examples/messaging/update-push.md +5 -2
  10. package/package.json +1 -1
  11. package/src/client.ts +1 -1
  12. package/src/enums/message-priority.ts +4 -0
  13. package/src/index.ts +1 -0
  14. package/src/models.ts +31 -7
  15. package/src/services/account.ts +19 -2
  16. package/src/services/assistant.ts +1 -0
  17. package/src/services/backups.ts +14 -2
  18. package/src/services/console.ts +8 -2
  19. package/src/services/databases.ts +3 -0
  20. package/src/services/functions.ts +4 -0
  21. package/src/services/health.ts +31 -0
  22. package/src/services/messaging.ts +29 -10
  23. package/src/services/migrations.ts +12 -0
  24. package/src/services/organizations.ts +30 -2
  25. package/src/services/project.ts +1 -0
  26. package/src/services/projects.ts +48 -2
  27. package/src/services/proxy.ts +1 -0
  28. package/src/services/storage.ts +4 -0
  29. package/src/services/users.ts +4 -2
  30. package/src/services/vcs.ts +13 -0
  31. package/types/enums/message-priority.d.ts +4 -0
  32. package/types/index.d.ts +1 -0
  33. package/types/models.d.ts +31 -7
  34. package/types/services/account.d.ts +19 -2
  35. package/types/services/assistant.d.ts +1 -0
  36. package/types/services/backups.d.ts +14 -2
  37. package/types/services/console.d.ts +8 -2
  38. package/types/services/databases.d.ts +3 -0
  39. package/types/services/functions.d.ts +4 -0
  40. package/types/services/health.d.ts +12 -0
  41. package/types/services/messaging.d.ts +11 -4
  42. package/types/services/migrations.d.ts +12 -0
  43. package/types/services/organizations.d.ts +30 -2
  44. package/types/services/project.d.ts +1 -0
  45. package/types/services/projects.d.ts +48 -2
  46. package/types/services/proxy.d.ts +1 -0
  47. package/types/services/storage.d.ts +4 -0
  48. package/types/services/users.d.ts +4 -2
  49. package/types/services/vcs.d.ts +13 -0
@@ -6,6 +6,7 @@ export declare class Vcs {
6
6
  /**
7
7
  * List repositories
8
8
  *
9
+ * Get a list of GitHub repositories available through your installation. This endpoint returns repositories with their basic information, detected runtime environments, and latest push dates. You can optionally filter repositories using a search term. Each repository's runtime is automatically detected based on its contents and language statistics. The GitHub installation must be properly configured for this endpoint to work.
9
10
  *
10
11
  * @param {string} installationId
11
12
  * @param {string} search
@@ -16,6 +17,7 @@ export declare class Vcs {
16
17
  /**
17
18
  * Create repository
18
19
  *
20
+ * Create a new GitHub repository through your installation. This endpoint allows you to create either a public or private repository by specifying a name and visibility setting. The repository will be created under your GitHub user account or organization, depending on your installation type. The GitHub installation must be properly configured and have the necessary permissions for repository creation.
19
21
  *
20
22
  * @param {string} installationId
21
23
  * @param {string} name
@@ -27,6 +29,7 @@ export declare class Vcs {
27
29
  /**
28
30
  * Get repository
29
31
  *
32
+ * Get detailed information about a specific GitHub repository from your installation. This endpoint returns repository details including its ID, name, visibility status, organization, and latest push date. The GitHub installation must be properly configured and have access to the requested repository for this endpoint to work.
30
33
  *
31
34
  * @param {string} installationId
32
35
  * @param {string} providerRepositoryId
@@ -37,6 +40,8 @@ export declare class Vcs {
37
40
  /**
38
41
  * List repository branches
39
42
  *
43
+ * Get a list of all branches from a GitHub repository in your installation. This endpoint returns the names of all branches in the repository and their total count. The GitHub installation must be properly configured and have access to the requested repository for this endpoint to work.
44
+
40
45
  *
41
46
  * @param {string} installationId
42
47
  * @param {string} providerRepositoryId
@@ -47,6 +52,8 @@ export declare class Vcs {
47
52
  /**
48
53
  * Get files and directories of a VCS repository
49
54
  *
55
+ * Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.
56
+
50
57
  *
51
58
  * @param {string} installationId
52
59
  * @param {string} providerRepositoryId
@@ -58,6 +65,7 @@ export declare class Vcs {
58
65
  /**
59
66
  * Detect runtime settings from source code
60
67
  *
68
+ * Analyze a GitHub repository to automatically detect the programming language and runtime environment. This endpoint scans the repository's files and language statistics to determine the appropriate runtime settings for your function. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.
61
69
  *
62
70
  * @param {string} installationId
63
71
  * @param {string} providerRepositoryId
@@ -69,6 +77,7 @@ export declare class Vcs {
69
77
  /**
70
78
  * Authorize external deployment
71
79
  *
80
+ * Authorize and create deployments for a GitHub pull request in your project. This endpoint allows external contributions by creating deployments from pull requests, enabling preview environments for code review. The pull request must be open and not previously authorized. The GitHub installation must be properly configured and have access to both the repository and pull request for this endpoint to work.
72
81
  *
73
82
  * @param {string} installationId
74
83
  * @param {string} repositoryId
@@ -80,6 +89,8 @@ export declare class Vcs {
80
89
  /**
81
90
  * List installations
82
91
  *
92
+ * List all VCS installations configured for the current project. This endpoint returns a list of installations including their provider, organization, and other configuration details.
93
+
83
94
  *
84
95
  * @param {string[]} queries
85
96
  * @param {string} search
@@ -90,6 +101,7 @@ export declare class Vcs {
90
101
  /**
91
102
  * Get installation
92
103
  *
104
+ * Get a VCS installation by its unique ID. This endpoint returns the installation's details including its provider, organization, and configuration.
93
105
  *
94
106
  * @param {string} installationId
95
107
  * @throws {AppwriteException}
@@ -99,6 +111,7 @@ export declare class Vcs {
99
111
  /**
100
112
  * Delete installation
101
113
  *
114
+ * Delete a VCS installation by its unique ID. This endpoint removes the installation and all its associated repositories from the project.
102
115
  *
103
116
  * @param {string} installationId
104
117
  * @throws {AppwriteException}