node-appwrite 15.0.0 → 15.0.1

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 (73) hide show
  1. package/dist/client.js +7 -4
  2. package/dist/client.js.map +1 -1
  3. package/dist/client.mjs +7 -4
  4. package/dist/client.mjs.map +1 -1
  5. package/dist/models.d.mts +2 -2
  6. package/dist/models.d.ts +2 -2
  7. package/dist/services/account.d.mts +0 -86
  8. package/dist/services/account.d.ts +0 -86
  9. package/dist/services/account.js +86 -172
  10. package/dist/services/account.js.map +1 -1
  11. package/dist/services/account.mjs +86 -172
  12. package/dist/services/account.mjs.map +1 -1
  13. package/dist/services/avatars.d.mts +0 -14
  14. package/dist/services/avatars.d.ts +0 -14
  15. package/dist/services/avatars.js +14 -28
  16. package/dist/services/avatars.js.map +1 -1
  17. package/dist/services/avatars.mjs +14 -28
  18. package/dist/services/avatars.mjs.map +1 -1
  19. package/dist/services/databases.d.mts +0 -84
  20. package/dist/services/databases.d.ts +0 -84
  21. package/dist/services/databases.js +84 -168
  22. package/dist/services/databases.js.map +1 -1
  23. package/dist/services/databases.mjs +84 -168
  24. package/dist/services/databases.mjs.map +1 -1
  25. package/dist/services/functions.d.mts +0 -48
  26. package/dist/services/functions.d.ts +0 -48
  27. package/dist/services/functions.js +48 -96
  28. package/dist/services/functions.js.map +1 -1
  29. package/dist/services/functions.mjs +48 -96
  30. package/dist/services/functions.mjs.map +1 -1
  31. package/dist/services/graphql.d.mts +0 -4
  32. package/dist/services/graphql.d.ts +0 -4
  33. package/dist/services/graphql.js +4 -8
  34. package/dist/services/graphql.js.map +1 -1
  35. package/dist/services/graphql.mjs +4 -8
  36. package/dist/services/graphql.mjs.map +1 -1
  37. package/dist/services/health.d.mts +0 -46
  38. package/dist/services/health.d.ts +0 -46
  39. package/dist/services/health.js +46 -92
  40. package/dist/services/health.js.map +1 -1
  41. package/dist/services/health.mjs +46 -92
  42. package/dist/services/health.mjs.map +1 -1
  43. package/dist/services/locale.d.mts +0 -16
  44. package/dist/services/locale.d.ts +0 -16
  45. package/dist/services/locale.js +16 -32
  46. package/dist/services/locale.js.map +1 -1
  47. package/dist/services/locale.mjs +16 -32
  48. package/dist/services/locale.mjs.map +1 -1
  49. package/dist/services/messaging.d.mts +3 -95
  50. package/dist/services/messaging.d.ts +3 -95
  51. package/dist/services/messaging.js +95 -187
  52. package/dist/services/messaging.js.map +1 -1
  53. package/dist/services/messaging.mjs +95 -187
  54. package/dist/services/messaging.mjs.map +1 -1
  55. package/dist/services/storage.d.mts +0 -26
  56. package/dist/services/storage.d.ts +0 -26
  57. package/dist/services/storage.js +26 -52
  58. package/dist/services/storage.js.map +1 -1
  59. package/dist/services/storage.mjs +26 -52
  60. package/dist/services/storage.mjs.map +1 -1
  61. package/dist/services/teams.d.mts +0 -26
  62. package/dist/services/teams.d.ts +0 -26
  63. package/dist/services/teams.js +26 -52
  64. package/dist/services/teams.js.map +1 -1
  65. package/dist/services/teams.mjs +26 -52
  66. package/dist/services/teams.mjs.map +1 -1
  67. package/dist/services/users.d.mts +0 -84
  68. package/dist/services/users.d.ts +0 -84
  69. package/dist/services/users.js +84 -168
  70. package/dist/services/users.js.map +1 -1
  71. package/dist/services/users.mjs +84 -168
  72. package/dist/services/users.mjs.map +1 -1
  73. package/package.json +1 -1
@@ -7,8 +7,6 @@ declare class Health {
7
7
  client: Client;
8
8
  constructor(client: Client);
9
9
  /**
10
- * Get HTTP
11
- *
12
10
  * Check the Appwrite HTTP server is up and responsive.
13
11
  *
14
12
  * @throws {AppwriteException}
@@ -16,8 +14,6 @@ declare class Health {
16
14
  */
17
15
  get(): Promise<Models.HealthStatus>;
18
16
  /**
19
- * Get antivirus
20
- *
21
17
  * Check the Appwrite Antivirus server is up and connection is successful.
22
18
  *
23
19
  * @throws {AppwriteException}
@@ -25,8 +21,6 @@ declare class Health {
25
21
  */
26
22
  getAntivirus(): Promise<Models.HealthAntivirus>;
27
23
  /**
28
- * Get cache
29
- *
30
24
  * Check the Appwrite in-memory cache servers are up and connection is successful.
31
25
  *
32
26
  * @throws {AppwriteException}
@@ -34,8 +28,6 @@ declare class Health {
34
28
  */
35
29
  getCache(): Promise<Models.HealthStatus>;
36
30
  /**
37
- * Get the SSL certificate for a domain
38
- *
39
31
  * Get the SSL certificate for a domain
40
32
  *
41
33
  * @param {string} domain
@@ -44,8 +36,6 @@ declare class Health {
44
36
  */
45
37
  getCertificate(domain?: string): Promise<Models.HealthCertificate>;
46
38
  /**
47
- * Get DB
48
- *
49
39
  * Check the Appwrite database servers are up and connection is successful.
50
40
  *
51
41
  * @throws {AppwriteException}
@@ -53,8 +43,6 @@ declare class Health {
53
43
  */
54
44
  getDB(): Promise<Models.HealthStatus>;
55
45
  /**
56
- * Get pubsub
57
- *
58
46
  * Check the Appwrite pub-sub servers are up and connection is successful.
59
47
  *
60
48
  * @throws {AppwriteException}
@@ -62,8 +50,6 @@ declare class Health {
62
50
  */
63
51
  getPubSub(): Promise<Models.HealthStatus>;
64
52
  /**
65
- * Get queue
66
- *
67
53
  * Check the Appwrite queue messaging servers are up and connection is successful.
68
54
  *
69
55
  * @throws {AppwriteException}
@@ -71,8 +57,6 @@ declare class Health {
71
57
  */
72
58
  getQueue(): Promise<Models.HealthStatus>;
73
59
  /**
74
- * Get builds queue
75
- *
76
60
  * Get the number of builds that are waiting to be processed in the Appwrite internal queue server.
77
61
  *
78
62
  * @param {number} threshold
@@ -81,8 +65,6 @@ declare class Health {
81
65
  */
82
66
  getQueueBuilds(threshold?: number): Promise<Models.HealthQueue>;
83
67
  /**
84
- * Get certificates queue
85
- *
86
68
  * Get the number of certificates that are waiting to be issued against [Letsencrypt](https://letsencrypt.org/) in the Appwrite internal queue server.
87
69
  *
88
70
  * @param {number} threshold
@@ -91,8 +73,6 @@ declare class Health {
91
73
  */
92
74
  getQueueCertificates(threshold?: number): Promise<Models.HealthQueue>;
93
75
  /**
94
- * Get databases queue
95
- *
96
76
  * Get the number of database changes that are waiting to be processed in the Appwrite internal queue server.
97
77
  *
98
78
  * @param {string} name
@@ -102,8 +82,6 @@ declare class Health {
102
82
  */
103
83
  getQueueDatabases(name?: string, threshold?: number): Promise<Models.HealthQueue>;
104
84
  /**
105
- * Get deletes queue
106
- *
107
85
  * Get the number of background destructive changes that are waiting to be processed in the Appwrite internal queue server.
108
86
  *
109
87
  * @param {number} threshold
@@ -112,8 +90,6 @@ declare class Health {
112
90
  */
113
91
  getQueueDeletes(threshold?: number): Promise<Models.HealthQueue>;
114
92
  /**
115
- * Get number of failed queue jobs
116
- *
117
93
  * Returns the amount of failed jobs in a given queue.
118
94
 
119
95
  *
@@ -124,8 +100,6 @@ declare class Health {
124
100
  */
125
101
  getFailedJobs(name: Name, threshold?: number): Promise<Models.HealthQueue>;
126
102
  /**
127
- * Get functions queue
128
- *
129
103
  * Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.
130
104
  *
131
105
  * @param {number} threshold
@@ -134,8 +108,6 @@ declare class Health {
134
108
  */
135
109
  getQueueFunctions(threshold?: number): Promise<Models.HealthQueue>;
136
110
  /**
137
- * Get logs queue
138
- *
139
111
  * Get the number of logs that are waiting to be processed in the Appwrite internal queue server.
140
112
  *
141
113
  * @param {number} threshold
@@ -144,8 +116,6 @@ declare class Health {
144
116
  */
145
117
  getQueueLogs(threshold?: number): Promise<Models.HealthQueue>;
146
118
  /**
147
- * Get mails queue
148
- *
149
119
  * Get the number of mails that are waiting to be processed in the Appwrite internal queue server.
150
120
  *
151
121
  * @param {number} threshold
@@ -154,8 +124,6 @@ declare class Health {
154
124
  */
155
125
  getQueueMails(threshold?: number): Promise<Models.HealthQueue>;
156
126
  /**
157
- * Get messaging queue
158
- *
159
127
  * Get the number of messages that are waiting to be processed in the Appwrite internal queue server.
160
128
  *
161
129
  * @param {number} threshold
@@ -164,8 +132,6 @@ declare class Health {
164
132
  */
165
133
  getQueueMessaging(threshold?: number): Promise<Models.HealthQueue>;
166
134
  /**
167
- * Get migrations queue
168
- *
169
135
  * Get the number of migrations that are waiting to be processed in the Appwrite internal queue server.
170
136
  *
171
137
  * @param {number} threshold
@@ -174,8 +140,6 @@ declare class Health {
174
140
  */
175
141
  getQueueMigrations(threshold?: number): Promise<Models.HealthQueue>;
176
142
  /**
177
- * Get usage queue
178
- *
179
143
  * Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.
180
144
  *
181
145
  * @param {number} threshold
@@ -184,8 +148,6 @@ declare class Health {
184
148
  */
185
149
  getQueueUsage(threshold?: number): Promise<Models.HealthQueue>;
186
150
  /**
187
- * Get usage dump queue
188
- *
189
151
  * Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.
190
152
  *
191
153
  * @param {number} threshold
@@ -194,8 +156,6 @@ declare class Health {
194
156
  */
195
157
  getQueueUsageDump(threshold?: number): Promise<Models.HealthQueue>;
196
158
  /**
197
- * Get webhooks queue
198
- *
199
159
  * Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server.
200
160
  *
201
161
  * @param {number} threshold
@@ -204,8 +164,6 @@ declare class Health {
204
164
  */
205
165
  getQueueWebhooks(threshold?: number): Promise<Models.HealthQueue>;
206
166
  /**
207
- * Get storage
208
- *
209
167
  * Check the Appwrite storage device is up and connection is successful.
210
168
  *
211
169
  * @throws {AppwriteException}
@@ -213,8 +171,6 @@ declare class Health {
213
171
  */
214
172
  getStorage(): Promise<Models.HealthStatus>;
215
173
  /**
216
- * Get local storage
217
- *
218
174
  * Check the Appwrite local storage device is up and connection is successful.
219
175
  *
220
176
  * @throws {AppwriteException}
@@ -222,8 +178,6 @@ declare class Health {
222
178
  */
223
179
  getStorageLocal(): Promise<Models.HealthStatus>;
224
180
  /**
225
- * Get time
226
- *
227
181
  * Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https://en.wikipedia.org/wiki/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.
228
182
  *
229
183
  * @throws {AppwriteException}