@appwrite.io/console 1.5.2 → 1.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 (53) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/sdk.js +7673 -9723
  3. package/dist/cjs/sdk.js.map +1 -1
  4. package/dist/esm/sdk.js +7673 -9723
  5. package/dist/esm/sdk.js.map +1 -1
  6. package/dist/iife/sdk.js +7673 -9723
  7. package/docs/examples/organizations/validate-invoice.md +14 -0
  8. package/package.json +1 -1
  9. package/src/client.ts +21 -4
  10. package/src/enums/o-auth-provider.ts +1 -0
  11. package/src/models.ts +118 -6
  12. package/src/services/account.ts +126 -430
  13. package/src/services/assistant.ts +2 -7
  14. package/src/services/avatars.ts +7 -21
  15. package/src/services/backups.ts +24 -84
  16. package/src/services/console.ts +14 -49
  17. package/src/services/databases.ts +96 -336
  18. package/src/services/functions.ts +55 -192
  19. package/src/services/graphql.ts +4 -14
  20. package/src/services/health.ts +50 -175
  21. package/src/services/locale.ts +16 -56
  22. package/src/services/messaging.ts +92 -322
  23. package/src/services/migrations.ts +24 -84
  24. package/src/services/organizations.ts +86 -196
  25. package/src/services/project.ts +12 -42
  26. package/src/services/projects.ts +92 -322
  27. package/src/services/proxy.ts +10 -35
  28. package/src/services/storage.ts +27 -93
  29. package/src/services/teams.ts +28 -98
  30. package/src/services/users.ts +86 -301
  31. package/src/services/vcs.ts +20 -70
  32. package/types/enums/o-auth-provider.d.ts +1 -0
  33. package/types/models.d.ts +118 -6
  34. package/types/services/account.d.ts +4 -128
  35. package/types/services/assistant.d.ts +0 -2
  36. package/types/services/avatars.d.ts +0 -14
  37. package/types/services/backups.d.ts +0 -24
  38. package/types/services/console.d.ts +0 -14
  39. package/types/services/databases.d.ts +0 -96
  40. package/types/services/functions.d.ts +0 -56
  41. package/types/services/graphql.d.ts +0 -4
  42. package/types/services/health.d.ts +0 -50
  43. package/types/services/locale.d.ts +0 -16
  44. package/types/services/messaging.d.ts +0 -92
  45. package/types/services/migrations.d.ts +0 -24
  46. package/types/services/organizations.d.ts +11 -58
  47. package/types/services/project.d.ts +0 -12
  48. package/types/services/projects.d.ts +0 -92
  49. package/types/services/proxy.d.ts +0 -10
  50. package/types/services/storage.d.ts +0 -30
  51. package/types/services/teams.d.ts +0 -28
  52. package/types/services/users.d.ts +0 -86
  53. package/types/services/vcs.d.ts +0 -20
@@ -6,8 +6,6 @@ export declare class Messaging {
6
6
  client: Client;
7
7
  constructor(client: Client);
8
8
  /**
9
- * List messages
10
- *
11
9
  * Get a list of all messages from the current Appwrite project.
12
10
  *
13
11
  * @param {string[]} queries
@@ -17,8 +15,6 @@ export declare class Messaging {
17
15
  */
18
16
  listMessages(queries?: string[], search?: string): Promise<Models.MessageList>;
19
17
  /**
20
- * Create email
21
- *
22
18
  * Create a new email message.
23
19
  *
24
20
  * @param {string} messageId
@@ -38,8 +34,6 @@ export declare class Messaging {
38
34
  */
39
35
  createEmail(messageId: string, subject: string, content: string, topics?: string[], users?: string[], targets?: string[], cc?: string[], bcc?: string[], attachments?: string[], draft?: boolean, html?: boolean, scheduledAt?: string): Promise<Models.Message>;
40
36
  /**
41
- * Update email
42
- *
43
37
  * Update an email message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
44
38
 
45
39
  *
@@ -60,8 +54,6 @@ export declare class Messaging {
60
54
  */
61
55
  updateEmail(messageId: string, topics?: string[], users?: string[], targets?: string[], subject?: string, content?: string, draft?: boolean, html?: boolean, cc?: string[], bcc?: string[], scheduledAt?: string, attachments?: string[]): Promise<Models.Message>;
62
56
  /**
63
- * Create push notification
64
- *
65
57
  * Create a new push notification.
66
58
  *
67
59
  * @param {string} messageId
@@ -88,8 +80,6 @@ export declare class Messaging {
88
80
  */
89
81
  createPush(messageId: string, title?: string, body?: string, topics?: string[], users?: string[], targets?: string[], data?: object, action?: string, image?: string, icon?: string, sound?: string, color?: string, tag?: string, badge?: number, draft?: boolean, scheduledAt?: string, contentAvailable?: boolean, critical?: boolean, priority?: MessagePriority): Promise<Models.Message>;
90
82
  /**
91
- * Update push notification
92
- *
93
83
  * Update a push notification by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
94
84
 
95
85
  *
@@ -117,8 +107,6 @@ export declare class Messaging {
117
107
  */
118
108
  updatePush(messageId: string, topics?: string[], users?: string[], targets?: string[], title?: string, body?: string, data?: object, action?: string, image?: string, icon?: string, sound?: string, color?: string, tag?: string, badge?: number, draft?: boolean, scheduledAt?: string, contentAvailable?: boolean, critical?: boolean, priority?: MessagePriority): Promise<Models.Message>;
119
109
  /**
120
- * Create SMS
121
- *
122
110
  * Create a new SMS message.
123
111
  *
124
112
  * @param {string} messageId
@@ -133,8 +121,6 @@ export declare class Messaging {
133
121
  */
134
122
  createSms(messageId: string, content: string, topics?: string[], users?: string[], targets?: string[], draft?: boolean, scheduledAt?: string): Promise<Models.Message>;
135
123
  /**
136
- * Update SMS
137
- *
138
124
  * Update an SMS message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
139
125
 
140
126
  *
@@ -150,8 +136,6 @@ export declare class Messaging {
150
136
  */
151
137
  updateSms(messageId: string, topics?: string[], users?: string[], targets?: string[], content?: string, draft?: boolean, scheduledAt?: string): Promise<Models.Message>;
152
138
  /**
153
- * Get message
154
- *
155
139
  * Get a message by its unique ID.
156
140
 
157
141
  *
@@ -161,8 +145,6 @@ export declare class Messaging {
161
145
  */
162
146
  getMessage(messageId: string): Promise<Models.Message>;
163
147
  /**
164
- * Delete message
165
- *
166
148
  * Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.
167
149
  *
168
150
  * @param {string} messageId
@@ -171,8 +153,6 @@ export declare class Messaging {
171
153
  */
172
154
  delete(messageId: string): Promise<{}>;
173
155
  /**
174
- * List message logs
175
- *
176
156
  * Get the message activity logs listed by its unique ID.
177
157
  *
178
158
  * @param {string} messageId
@@ -182,8 +162,6 @@ export declare class Messaging {
182
162
  */
183
163
  listMessageLogs(messageId: string, queries?: string[]): Promise<Models.LogList>;
184
164
  /**
185
- * List message targets
186
- *
187
165
  * Get a list of the targets associated with a message.
188
166
  *
189
167
  * @param {string} messageId
@@ -193,8 +171,6 @@ export declare class Messaging {
193
171
  */
194
172
  listTargets(messageId: string, queries?: string[]): Promise<Models.TargetList>;
195
173
  /**
196
- * List providers
197
- *
198
174
  * Get a list of all providers from the current Appwrite project.
199
175
  *
200
176
  * @param {string[]} queries
@@ -204,8 +180,6 @@ export declare class Messaging {
204
180
  */
205
181
  listProviders(queries?: string[], search?: string): Promise<Models.ProviderList>;
206
182
  /**
207
- * Create APNS provider
208
- *
209
183
  * Create a new Apple Push Notification service provider.
210
184
  *
211
185
  * @param {string} providerId
@@ -221,8 +195,6 @@ export declare class Messaging {
221
195
  */
222
196
  createApnsProvider(providerId: string, name: string, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean, enabled?: boolean): Promise<Models.Provider>;
223
197
  /**
224
- * Update APNS provider
225
- *
226
198
  * Update a Apple Push Notification service provider by its unique ID.
227
199
  *
228
200
  * @param {string} providerId
@@ -238,8 +210,6 @@ export declare class Messaging {
238
210
  */
239
211
  updateApnsProvider(providerId: string, name?: string, enabled?: boolean, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean): Promise<Models.Provider>;
240
212
  /**
241
- * Create FCM provider
242
- *
243
213
  * Create a new Firebase Cloud Messaging provider.
244
214
  *
245
215
  * @param {string} providerId
@@ -251,8 +221,6 @@ export declare class Messaging {
251
221
  */
252
222
  createFcmProvider(providerId: string, name: string, serviceAccountJSON?: object, enabled?: boolean): Promise<Models.Provider>;
253
223
  /**
254
- * Update FCM provider
255
- *
256
224
  * Update a Firebase Cloud Messaging provider by its unique ID.
257
225
  *
258
226
  * @param {string} providerId
@@ -264,8 +232,6 @@ export declare class Messaging {
264
232
  */
265
233
  updateFcmProvider(providerId: string, name?: string, enabled?: boolean, serviceAccountJSON?: object): Promise<Models.Provider>;
266
234
  /**
267
- * Create Mailgun provider
268
- *
269
235
  * Create a new Mailgun provider.
270
236
  *
271
237
  * @param {string} providerId
@@ -283,8 +249,6 @@ export declare class Messaging {
283
249
  */
284
250
  createMailgunProvider(providerId: string, name: string, apiKey?: string, domain?: string, isEuRegion?: boolean, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
285
251
  /**
286
- * Update Mailgun provider
287
- *
288
252
  * Update a Mailgun provider by its unique ID.
289
253
  *
290
254
  * @param {string} providerId
@@ -302,8 +266,6 @@ export declare class Messaging {
302
266
  */
303
267
  updateMailgunProvider(providerId: string, name?: string, apiKey?: string, domain?: string, isEuRegion?: boolean, enabled?: boolean, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string): Promise<Models.Provider>;
304
268
  /**
305
- * Create Msg91 provider
306
- *
307
269
  * Create a new MSG91 provider.
308
270
  *
309
271
  * @param {string} providerId
@@ -317,8 +279,6 @@ export declare class Messaging {
317
279
  */
318
280
  createMsg91Provider(providerId: string, name: string, templateId?: string, senderId?: string, authKey?: string, enabled?: boolean): Promise<Models.Provider>;
319
281
  /**
320
- * Update Msg91 provider
321
- *
322
282
  * Update a MSG91 provider by its unique ID.
323
283
  *
324
284
  * @param {string} providerId
@@ -332,8 +292,6 @@ export declare class Messaging {
332
292
  */
333
293
  updateMsg91Provider(providerId: string, name?: string, enabled?: boolean, templateId?: string, senderId?: string, authKey?: string): Promise<Models.Provider>;
334
294
  /**
335
- * Create Sendgrid provider
336
- *
337
295
  * Create a new Sendgrid provider.
338
296
  *
339
297
  * @param {string} providerId
@@ -349,8 +307,6 @@ export declare class Messaging {
349
307
  */
350
308
  createSendgridProvider(providerId: string, name: string, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
351
309
  /**
352
- * Update Sendgrid provider
353
- *
354
310
  * Update a Sendgrid provider by its unique ID.
355
311
  *
356
312
  * @param {string} providerId
@@ -366,8 +322,6 @@ export declare class Messaging {
366
322
  */
367
323
  updateSendgridProvider(providerId: string, name?: string, enabled?: boolean, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string): Promise<Models.Provider>;
368
324
  /**
369
- * Create SMTP provider
370
- *
371
325
  * Create a new SMTP provider.
372
326
  *
373
327
  * @param {string} providerId
@@ -389,8 +343,6 @@ export declare class Messaging {
389
343
  */
390
344
  createSmtpProvider(providerId: string, name: string, host: string, port?: number, username?: string, password?: string, encryption?: SmtpEncryption, autoTLS?: boolean, mailer?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
391
345
  /**
392
- * Update SMTP provider
393
- *
394
346
  * Update a SMTP provider by its unique ID.
395
347
  *
396
348
  * @param {string} providerId
@@ -412,8 +364,6 @@ export declare class Messaging {
412
364
  */
413
365
  updateSmtpProvider(providerId: string, name?: string, host?: string, port?: number, username?: string, password?: string, encryption?: SmtpEncryption, autoTLS?: boolean, mailer?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
414
366
  /**
415
- * Create Telesign provider
416
- *
417
367
  * Create a new Telesign provider.
418
368
  *
419
369
  * @param {string} providerId
@@ -427,8 +377,6 @@ export declare class Messaging {
427
377
  */
428
378
  createTelesignProvider(providerId: string, name: string, from?: string, customerId?: string, apiKey?: string, enabled?: boolean): Promise<Models.Provider>;
429
379
  /**
430
- * Update Telesign provider
431
- *
432
380
  * Update a Telesign provider by its unique ID.
433
381
  *
434
382
  * @param {string} providerId
@@ -442,8 +390,6 @@ export declare class Messaging {
442
390
  */
443
391
  updateTelesignProvider(providerId: string, name?: string, enabled?: boolean, customerId?: string, apiKey?: string, from?: string): Promise<Models.Provider>;
444
392
  /**
445
- * Create Textmagic provider
446
- *
447
393
  * Create a new Textmagic provider.
448
394
  *
449
395
  * @param {string} providerId
@@ -457,8 +403,6 @@ export declare class Messaging {
457
403
  */
458
404
  createTextmagicProvider(providerId: string, name: string, from?: string, username?: string, apiKey?: string, enabled?: boolean): Promise<Models.Provider>;
459
405
  /**
460
- * Update Textmagic provider
461
- *
462
406
  * Update a Textmagic provider by its unique ID.
463
407
  *
464
408
  * @param {string} providerId
@@ -472,8 +416,6 @@ export declare class Messaging {
472
416
  */
473
417
  updateTextmagicProvider(providerId: string, name?: string, enabled?: boolean, username?: string, apiKey?: string, from?: string): Promise<Models.Provider>;
474
418
  /**
475
- * Create Twilio provider
476
- *
477
419
  * Create a new Twilio provider.
478
420
  *
479
421
  * @param {string} providerId
@@ -487,8 +429,6 @@ export declare class Messaging {
487
429
  */
488
430
  createTwilioProvider(providerId: string, name: string, from?: string, accountSid?: string, authToken?: string, enabled?: boolean): Promise<Models.Provider>;
489
431
  /**
490
- * Update Twilio provider
491
- *
492
432
  * Update a Twilio provider by its unique ID.
493
433
  *
494
434
  * @param {string} providerId
@@ -502,8 +442,6 @@ export declare class Messaging {
502
442
  */
503
443
  updateTwilioProvider(providerId: string, name?: string, enabled?: boolean, accountSid?: string, authToken?: string, from?: string): Promise<Models.Provider>;
504
444
  /**
505
- * Create Vonage provider
506
- *
507
445
  * Create a new Vonage provider.
508
446
  *
509
447
  * @param {string} providerId
@@ -517,8 +455,6 @@ export declare class Messaging {
517
455
  */
518
456
  createVonageProvider(providerId: string, name: string, from?: string, apiKey?: string, apiSecret?: string, enabled?: boolean): Promise<Models.Provider>;
519
457
  /**
520
- * Update Vonage provider
521
- *
522
458
  * Update a Vonage provider by its unique ID.
523
459
  *
524
460
  * @param {string} providerId
@@ -532,8 +468,6 @@ export declare class Messaging {
532
468
  */
533
469
  updateVonageProvider(providerId: string, name?: string, enabled?: boolean, apiKey?: string, apiSecret?: string, from?: string): Promise<Models.Provider>;
534
470
  /**
535
- * Get provider
536
- *
537
471
  * Get a provider by its unique ID.
538
472
 
539
473
  *
@@ -543,8 +477,6 @@ export declare class Messaging {
543
477
  */
544
478
  getProvider(providerId: string): Promise<Models.Provider>;
545
479
  /**
546
- * Delete provider
547
- *
548
480
  * Delete a provider by its unique ID.
549
481
  *
550
482
  * @param {string} providerId
@@ -553,8 +485,6 @@ export declare class Messaging {
553
485
  */
554
486
  deleteProvider(providerId: string): Promise<{}>;
555
487
  /**
556
- * List provider logs
557
- *
558
488
  * Get the provider activity logs listed by its unique ID.
559
489
  *
560
490
  * @param {string} providerId
@@ -564,8 +494,6 @@ export declare class Messaging {
564
494
  */
565
495
  listProviderLogs(providerId: string, queries?: string[]): Promise<Models.LogList>;
566
496
  /**
567
- * List subscriber logs
568
- *
569
497
  * Get the subscriber activity logs listed by its unique ID.
570
498
  *
571
499
  * @param {string} subscriberId
@@ -575,8 +503,6 @@ export declare class Messaging {
575
503
  */
576
504
  listSubscriberLogs(subscriberId: string, queries?: string[]): Promise<Models.LogList>;
577
505
  /**
578
- * List topics
579
- *
580
506
  * Get a list of all topics from the current Appwrite project.
581
507
  *
582
508
  * @param {string[]} queries
@@ -586,8 +512,6 @@ export declare class Messaging {
586
512
  */
587
513
  listTopics(queries?: string[], search?: string): Promise<Models.TopicList>;
588
514
  /**
589
- * Create topic
590
- *
591
515
  * Create a new topic.
592
516
  *
593
517
  * @param {string} topicId
@@ -598,8 +522,6 @@ export declare class Messaging {
598
522
  */
599
523
  createTopic(topicId: string, name: string, subscribe?: string[]): Promise<Models.Topic>;
600
524
  /**
601
- * Get topic
602
- *
603
525
  * Get a topic by its unique ID.
604
526
 
605
527
  *
@@ -609,8 +531,6 @@ export declare class Messaging {
609
531
  */
610
532
  getTopic(topicId: string): Promise<Models.Topic>;
611
533
  /**
612
- * Update topic
613
- *
614
534
  * Update a topic by its unique ID.
615
535
 
616
536
  *
@@ -622,8 +542,6 @@ export declare class Messaging {
622
542
  */
623
543
  updateTopic(topicId: string, name?: string, subscribe?: string[]): Promise<Models.Topic>;
624
544
  /**
625
- * Delete topic
626
- *
627
545
  * Delete a topic by its unique ID.
628
546
  *
629
547
  * @param {string} topicId
@@ -632,8 +550,6 @@ export declare class Messaging {
632
550
  */
633
551
  deleteTopic(topicId: string): Promise<{}>;
634
552
  /**
635
- * List topic logs
636
- *
637
553
  * Get the topic activity logs listed by its unique ID.
638
554
  *
639
555
  * @param {string} topicId
@@ -643,8 +559,6 @@ export declare class Messaging {
643
559
  */
644
560
  listTopicLogs(topicId: string, queries?: string[]): Promise<Models.LogList>;
645
561
  /**
646
- * List subscribers
647
- *
648
562
  * Get a list of all subscribers from the current Appwrite project.
649
563
  *
650
564
  * @param {string} topicId
@@ -655,8 +569,6 @@ export declare class Messaging {
655
569
  */
656
570
  listSubscribers(topicId: string, queries?: string[], search?: string): Promise<Models.SubscriberList>;
657
571
  /**
658
- * Create subscriber
659
- *
660
572
  * Create a new subscriber.
661
573
  *
662
574
  * @param {string} topicId
@@ -667,8 +579,6 @@ export declare class Messaging {
667
579
  */
668
580
  createSubscriber(topicId: string, subscriberId: string, targetId: string): Promise<Models.Subscriber>;
669
581
  /**
670
- * Get subscriber
671
- *
672
582
  * Get a subscriber by its unique ID.
673
583
 
674
584
  *
@@ -679,8 +589,6 @@ export declare class Messaging {
679
589
  */
680
590
  getSubscriber(topicId: string, subscriberId: string): Promise<Models.Subscriber>;
681
591
  /**
682
- * Delete subscriber
683
- *
684
592
  * Delete a subscriber by its unique ID.
685
593
  *
686
594
  * @param {string} topicId
@@ -4,8 +4,6 @@ export declare class Migrations {
4
4
  client: Client;
5
5
  constructor(client: Client);
6
6
  /**
7
- * List migrations
8
- *
9
7
  * List all migrations in the current project. This endpoint returns a list of all migrations including their status, progress, and any errors that occurred during the migration process.
10
8
  *
11
9
  * @param {string[]} queries
@@ -15,8 +13,6 @@ export declare class Migrations {
15
13
  */
16
14
  list(queries?: string[], search?: string): Promise<Models.MigrationList>;
17
15
  /**
18
- * Migrate Appwrite data
19
- *
20
16
  * Migrate data from another Appwrite project to your current project. This endpoint allows you to migrate resources like databases, collections, documents, users, and files from an existing Appwrite project.
21
17
  *
22
18
  * @param {string[]} resources
@@ -28,8 +24,6 @@ export declare class Migrations {
28
24
  */
29
25
  createAppwriteMigration(resources: string[], endpoint: string, projectId: string, apiKey: string): Promise<Models.Migration>;
30
26
  /**
31
- * Generate a report on Appwrite data
32
- *
33
27
  * Generate a report of the data in an Appwrite project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.
34
28
  *
35
29
  * @param {string[]} resources
@@ -41,8 +35,6 @@ export declare class Migrations {
41
35
  */
42
36
  getAppwriteReport(resources: string[], endpoint: string, projectID: string, key: string): Promise<Models.MigrationReport>;
43
37
  /**
44
- * Migrate Firebase data
45
- *
46
38
  * Migrate data from a Firebase project to your Appwrite project. This endpoint allows you to migrate resources like authentication and other supported services from a Firebase project.
47
39
  *
48
40
  * @param {string[]} resources
@@ -52,8 +44,6 @@ export declare class Migrations {
52
44
  */
53
45
  createFirebaseMigration(resources: string[], serviceAccount: string): Promise<Models.Migration>;
54
46
  /**
55
- * Generate a report on Firebase data
56
- *
57
47
  * Generate a report of the data in a Firebase project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.
58
48
  *
59
49
  * @param {string[]} resources
@@ -63,8 +53,6 @@ export declare class Migrations {
63
53
  */
64
54
  getFirebaseReport(resources: string[], serviceAccount: string): Promise<Models.MigrationReport>;
65
55
  /**
66
- * Migrate NHost data
67
- *
68
56
  * Migrate data from an NHost project to your Appwrite project. This endpoint allows you to migrate resources like authentication, databases, and other supported services from an NHost project.
69
57
  *
70
58
  * @param {string[]} resources
@@ -80,8 +68,6 @@ export declare class Migrations {
80
68
  */
81
69
  createNHostMigration(resources: string[], subdomain: string, region: string, adminSecret: string, database: string, username: string, password: string, port?: number): Promise<Models.Migration>;
82
70
  /**
83
- * Generate a report on NHost Data
84
- *
85
71
  * Generate a detailed report of the data in an NHost project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.
86
72
  *
87
73
  * @param {string[]} resources
@@ -97,8 +83,6 @@ export declare class Migrations {
97
83
  */
98
84
  getNHostReport(resources: string[], subdomain: string, region: string, adminSecret: string, database: string, username: string, password: string, port?: number): Promise<Models.MigrationReport>;
99
85
  /**
100
- * Migrate Supabase data
101
- *
102
86
  * Migrate data from a Supabase project to your Appwrite project. This endpoint allows you to migrate resources like authentication, databases, and other supported services from a Supabase project.
103
87
  *
104
88
  * @param {string[]} resources
@@ -113,8 +97,6 @@ export declare class Migrations {
113
97
  */
114
98
  createSupabaseMigration(resources: string[], endpoint: string, apiKey: string, databaseHost: string, username: string, password: string, port?: number): Promise<Models.Migration>;
115
99
  /**
116
- * Generate a report on Supabase Data
117
- *
118
100
  * Generate a report of the data in a Supabase project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.
119
101
  *
120
102
  * @param {string[]} resources
@@ -129,8 +111,6 @@ export declare class Migrations {
129
111
  */
130
112
  getSupabaseReport(resources: string[], endpoint: string, apiKey: string, databaseHost: string, username: string, password: string, port?: number): Promise<Models.MigrationReport>;
131
113
  /**
132
- * Get migration
133
- *
134
114
  * Get a migration by its unique ID. This endpoint returns detailed information about a specific migration including its current status, progress, and any errors that occurred during the migration process.
135
115
  *
136
116
  * @param {string} migrationId
@@ -139,8 +119,6 @@ export declare class Migrations {
139
119
  */
140
120
  get(migrationId: string): Promise<Models.Migration>;
141
121
  /**
142
- * Retry migration
143
- *
144
122
  * Retry a failed migration. This endpoint allows you to retry a migration that has previously failed.
145
123
  *
146
124
  * @param {string} migrationId
@@ -149,8 +127,6 @@ export declare class Migrations {
149
127
  */
150
128
  retry(migrationId: string): Promise<Models.Migration>;
151
129
  /**
152
- * Delete migration
153
- *
154
130
  * Delete a migration by its unique ID. This endpoint allows you to remove a migration from your project&#039;s migration history.
155
131
  *
156
132
  * @param {string} migrationId