@appwrite.io/console 1.0.0 → 1.1.0-rc.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.
- package/README.md +3 -3
- package/dist/cjs/sdk.js +4844 -3627
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +4843 -3628
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +4844 -3627
- package/docs/examples/{functions/list-specifications.md → account/create-payment-method.md} +3 -3
- package/docs/examples/account/delete-mfa-authenticator.md +2 -1
- package/docs/examples/account/delete-payment-method.md +13 -0
- package/docs/examples/account/get-billing-address.md +13 -0
- package/docs/examples/account/get-payment-method.md +13 -0
- package/docs/examples/{functions/get-template.md → account/list-billing-addresses.md} +4 -4
- package/docs/examples/account/list-credits.md +14 -0
- package/docs/examples/account/list-invoices.md +13 -0
- package/docs/examples/account/list-payment-methods.md +13 -0
- package/docs/examples/account/update-payment-method-mandate-options.md +13 -0
- package/docs/examples/account/update-payment-method-provider.md +15 -0
- package/docs/examples/account/update-payment-method.md +15 -0
- package/docs/examples/backups/create-archive.md +14 -0
- package/docs/examples/backups/create-policy.md +19 -0
- package/docs/examples/backups/create-restoration.md +16 -0
- package/docs/examples/backups/delete-archive.md +13 -0
- package/docs/examples/backups/delete-policy.md +13 -0
- package/docs/examples/backups/get-archive.md +13 -0
- package/docs/examples/backups/get-policy.md +13 -0
- package/docs/examples/backups/get-restoration.md +13 -0
- package/docs/examples/backups/list-archives.md +13 -0
- package/docs/examples/backups/list-policies.md +13 -0
- package/docs/examples/backups/list-restorations.md +13 -0
- package/docs/examples/backups/update-policy.md +17 -0
- package/docs/examples/console/create-source.md +17 -0
- package/docs/examples/console/get-copon.md +13 -0
- package/docs/examples/console/plans.md +11 -0
- package/docs/examples/console/regions.md +11 -0
- package/docs/examples/functions/create-build.md +1 -1
- package/docs/examples/functions/create-execution.md +1 -2
- package/docs/examples/functions/create.md +1 -3
- package/docs/examples/functions/{get-deployment-download.md → download-deployment.md} +1 -1
- package/docs/examples/functions/update.md +1 -3
- package/docs/examples/organizations/add-credit.md +14 -0
- package/docs/examples/organizations/create-invoice-payment.md +15 -0
- package/docs/examples/organizations/create.md +17 -0
- package/docs/examples/organizations/delete-backup-payment-method.md +13 -0
- package/docs/examples/organizations/delete-billing-address.md +13 -0
- package/docs/examples/organizations/delete-default-payment-method.md +13 -0
- package/docs/examples/organizations/delete.md +13 -0
- package/docs/examples/organizations/get-aggregation.md +14 -0
- package/docs/examples/organizations/get-billing-address.md +14 -0
- package/docs/examples/organizations/get-credit.md +14 -0
- package/docs/examples/organizations/get-invoice-download.md +14 -0
- package/docs/examples/organizations/get-invoice-view.md +14 -0
- package/docs/examples/organizations/get-invoice.md +14 -0
- package/docs/examples/organizations/get-payment-method.md +14 -0
- package/docs/examples/organizations/get-plan.md +13 -0
- package/docs/examples/organizations/get-usage.md +15 -0
- package/docs/examples/organizations/list-aggregations.md +14 -0
- package/docs/examples/organizations/list-invoices.md +14 -0
- package/docs/examples/organizations/list.md +14 -0
- package/docs/examples/organizations/set-backup-payment-method.md +14 -0
- package/docs/examples/organizations/set-billing-address.md +14 -0
- package/docs/examples/organizations/set-billing-email.md +14 -0
- package/docs/examples/organizations/set-billing-tax-id.md +14 -0
- package/docs/examples/organizations/set-default-payment-method.md +14 -0
- package/docs/examples/organizations/update-budget.md +15 -0
- package/docs/examples/organizations/update-plan.md +16 -0
- package/package.json +1 -1
- package/src/client.ts +5 -20
- package/src/enums/billing-plan.ts +5 -0
- package/src/enums/email-template-type.ts +0 -2
- package/src/enums/platform-type.ts +0 -2
- package/src/enums/runtime.ts +0 -1
- package/src/index.ts +4 -1
- package/src/models.ts +956 -282
- package/src/services/account.ts +412 -20
- package/src/services/assistant.ts +2 -0
- package/src/services/avatars.ts +36 -0
- package/src/services/backups.ts +425 -0
- package/src/services/console.ts +122 -0
- package/src/services/databases.ts +49 -0
- package/src/services/functions.ts +41 -189
- package/src/services/graphql.ts +3 -0
- package/src/services/health.ts +24 -0
- package/src/services/locale.ts +9 -0
- package/src/services/messaging.ts +47 -0
- package/src/services/migrations.ts +17 -0
- package/src/services/organizations.ts +896 -0
- package/src/services/project.ts +7 -0
- package/src/services/projects.ts +42 -105
- package/src/services/proxy.ts +6 -0
- package/src/services/storage.ts +28 -0
- package/src/services/teams.ts +15 -0
- package/src/services/users.ts +43 -36
- package/src/services/vcs.ts +9 -34
- package/types/client.d.ts +0 -1
- package/types/enums/billing-plan.d.ts +5 -0
- package/types/enums/email-template-type.d.ts +1 -3
- package/types/enums/platform-type.d.ts +1 -3
- package/types/enums/runtime.d.ts +1 -2
- package/types/index.d.ts +4 -1
- package/types/models.d.ts +956 -282
- package/types/services/account.d.ts +105 -1
- package/types/services/backups.d.ts +128 -0
- package/types/services/console.d.ts +38 -0
- package/types/services/functions.d.ts +8 -67
- package/types/services/organizations.d.ts +273 -0
- package/types/services/projects.d.ts +1 -32
- package/types/services/users.d.ts +0 -12
- package/types/services/vcs.d.ts +0 -11
- package/docs/examples/functions/delete-execution.md +0 -14
- package/docs/examples/functions/list-templates.md +0 -16
- package/docs/examples/functions/update-deployment-build.md +0 -14
- package/docs/examples/projects/create-j-w-t.md +0 -15
- package/docs/examples/projects/update-mock-numbers.md +0 -14
- package/docs/examples/projects/update-session-alerts.md +0 -14
- package/docs/examples/users/create-j-w-t.md +0 -15
- package/docs/examples/vcs/get-repository-contents.md +0 -15
package/src/services/locale.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Service } from '../service';
|
|
1
2
|
import { AppwriteException, Client, type Payload, UploadProgress } from '../client';
|
|
2
3
|
import type { Models } from '../models';
|
|
3
4
|
|
|
@@ -27,6 +28,7 @@ export class Locale {
|
|
|
27
28
|
'content-type': 'application/json',
|
|
28
29
|
}
|
|
29
30
|
|
|
31
|
+
|
|
30
32
|
return await this.client.call(
|
|
31
33
|
'get',
|
|
32
34
|
uri,
|
|
@@ -51,6 +53,7 @@ export class Locale {
|
|
|
51
53
|
'content-type': 'application/json',
|
|
52
54
|
}
|
|
53
55
|
|
|
56
|
+
|
|
54
57
|
return await this.client.call(
|
|
55
58
|
'get',
|
|
56
59
|
uri,
|
|
@@ -75,6 +78,7 @@ export class Locale {
|
|
|
75
78
|
'content-type': 'application/json',
|
|
76
79
|
}
|
|
77
80
|
|
|
81
|
+
|
|
78
82
|
return await this.client.call(
|
|
79
83
|
'get',
|
|
80
84
|
uri,
|
|
@@ -99,6 +103,7 @@ export class Locale {
|
|
|
99
103
|
'content-type': 'application/json',
|
|
100
104
|
}
|
|
101
105
|
|
|
106
|
+
|
|
102
107
|
return await this.client.call(
|
|
103
108
|
'get',
|
|
104
109
|
uri,
|
|
@@ -123,6 +128,7 @@ export class Locale {
|
|
|
123
128
|
'content-type': 'application/json',
|
|
124
129
|
}
|
|
125
130
|
|
|
131
|
+
|
|
126
132
|
return await this.client.call(
|
|
127
133
|
'get',
|
|
128
134
|
uri,
|
|
@@ -147,6 +153,7 @@ export class Locale {
|
|
|
147
153
|
'content-type': 'application/json',
|
|
148
154
|
}
|
|
149
155
|
|
|
156
|
+
|
|
150
157
|
return await this.client.call(
|
|
151
158
|
'get',
|
|
152
159
|
uri,
|
|
@@ -171,6 +178,7 @@ export class Locale {
|
|
|
171
178
|
'content-type': 'application/json',
|
|
172
179
|
}
|
|
173
180
|
|
|
181
|
+
|
|
174
182
|
return await this.client.call(
|
|
175
183
|
'get',
|
|
176
184
|
uri,
|
|
@@ -195,6 +203,7 @@ export class Locale {
|
|
|
195
203
|
'content-type': 'application/json',
|
|
196
204
|
}
|
|
197
205
|
|
|
206
|
+
|
|
198
207
|
return await this.client.call(
|
|
199
208
|
'get',
|
|
200
209
|
uri,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Service } from '../service';
|
|
1
2
|
import { AppwriteException, Client, type Payload, UploadProgress } from '../client';
|
|
2
3
|
import type { Models } from '../models';
|
|
3
4
|
import { SmtpEncryption } from '../enums/smtp-encryption';
|
|
@@ -34,6 +35,7 @@ export class Messaging {
|
|
|
34
35
|
'content-type': 'application/json',
|
|
35
36
|
}
|
|
36
37
|
|
|
38
|
+
|
|
37
39
|
return await this.client.call(
|
|
38
40
|
'get',
|
|
39
41
|
uri,
|
|
@@ -115,6 +117,7 @@ export class Messaging {
|
|
|
115
117
|
'content-type': 'application/json',
|
|
116
118
|
}
|
|
117
119
|
|
|
120
|
+
|
|
118
121
|
return await this.client.call(
|
|
119
122
|
'post',
|
|
120
123
|
uri,
|
|
@@ -188,6 +191,7 @@ export class Messaging {
|
|
|
188
191
|
'content-type': 'application/json',
|
|
189
192
|
}
|
|
190
193
|
|
|
194
|
+
|
|
191
195
|
return await this.client.call(
|
|
192
196
|
'patch',
|
|
193
197
|
uri,
|
|
@@ -285,6 +289,7 @@ export class Messaging {
|
|
|
285
289
|
'content-type': 'application/json',
|
|
286
290
|
}
|
|
287
291
|
|
|
292
|
+
|
|
288
293
|
return await this.client.call(
|
|
289
294
|
'post',
|
|
290
295
|
uri,
|
|
@@ -374,6 +379,7 @@ export class Messaging {
|
|
|
374
379
|
'content-type': 'application/json',
|
|
375
380
|
}
|
|
376
381
|
|
|
382
|
+
|
|
377
383
|
return await this.client.call(
|
|
378
384
|
'patch',
|
|
379
385
|
uri,
|
|
@@ -432,6 +438,7 @@ export class Messaging {
|
|
|
432
438
|
'content-type': 'application/json',
|
|
433
439
|
}
|
|
434
440
|
|
|
441
|
+
|
|
435
442
|
return await this.client.call(
|
|
436
443
|
'post',
|
|
437
444
|
uri,
|
|
@@ -485,6 +492,7 @@ export class Messaging {
|
|
|
485
492
|
'content-type': 'application/json',
|
|
486
493
|
}
|
|
487
494
|
|
|
495
|
+
|
|
488
496
|
return await this.client.call(
|
|
489
497
|
'patch',
|
|
490
498
|
uri,
|
|
@@ -514,6 +522,7 @@ export class Messaging {
|
|
|
514
522
|
'content-type': 'application/json',
|
|
515
523
|
}
|
|
516
524
|
|
|
525
|
+
|
|
517
526
|
return await this.client.call(
|
|
518
527
|
'get',
|
|
519
528
|
uri,
|
|
@@ -542,6 +551,7 @@ export class Messaging {
|
|
|
542
551
|
'content-type': 'application/json',
|
|
543
552
|
}
|
|
544
553
|
|
|
554
|
+
|
|
545
555
|
return await this.client.call(
|
|
546
556
|
'delete',
|
|
547
557
|
uri,
|
|
@@ -574,6 +584,7 @@ export class Messaging {
|
|
|
574
584
|
'content-type': 'application/json',
|
|
575
585
|
}
|
|
576
586
|
|
|
587
|
+
|
|
577
588
|
return await this.client.call(
|
|
578
589
|
'get',
|
|
579
590
|
uri,
|
|
@@ -606,6 +617,7 @@ export class Messaging {
|
|
|
606
617
|
'content-type': 'application/json',
|
|
607
618
|
}
|
|
608
619
|
|
|
620
|
+
|
|
609
621
|
return await this.client.call(
|
|
610
622
|
'get',
|
|
611
623
|
uri,
|
|
@@ -638,6 +650,7 @@ export class Messaging {
|
|
|
638
650
|
'content-type': 'application/json',
|
|
639
651
|
}
|
|
640
652
|
|
|
653
|
+
|
|
641
654
|
return await this.client.call(
|
|
642
655
|
'get',
|
|
643
656
|
uri,
|
|
@@ -700,6 +713,7 @@ export class Messaging {
|
|
|
700
713
|
'content-type': 'application/json',
|
|
701
714
|
}
|
|
702
715
|
|
|
716
|
+
|
|
703
717
|
return await this.client.call(
|
|
704
718
|
'post',
|
|
705
719
|
uri,
|
|
@@ -756,6 +770,7 @@ export class Messaging {
|
|
|
756
770
|
'content-type': 'application/json',
|
|
757
771
|
}
|
|
758
772
|
|
|
773
|
+
|
|
759
774
|
return await this.client.call(
|
|
760
775
|
'patch',
|
|
761
776
|
uri,
|
|
@@ -802,6 +817,7 @@ export class Messaging {
|
|
|
802
817
|
'content-type': 'application/json',
|
|
803
818
|
}
|
|
804
819
|
|
|
820
|
+
|
|
805
821
|
return await this.client.call(
|
|
806
822
|
'post',
|
|
807
823
|
uri,
|
|
@@ -842,6 +858,7 @@ export class Messaging {
|
|
|
842
858
|
'content-type': 'application/json',
|
|
843
859
|
}
|
|
844
860
|
|
|
861
|
+
|
|
845
862
|
return await this.client.call(
|
|
846
863
|
'patch',
|
|
847
864
|
uri,
|
|
@@ -912,6 +929,7 @@ export class Messaging {
|
|
|
912
929
|
'content-type': 'application/json',
|
|
913
930
|
}
|
|
914
931
|
|
|
932
|
+
|
|
915
933
|
return await this.client.call(
|
|
916
934
|
'post',
|
|
917
935
|
uri,
|
|
@@ -976,6 +994,7 @@ export class Messaging {
|
|
|
976
994
|
'content-type': 'application/json',
|
|
977
995
|
}
|
|
978
996
|
|
|
997
|
+
|
|
979
998
|
return await this.client.call(
|
|
980
999
|
'patch',
|
|
981
1000
|
uri,
|
|
@@ -1030,6 +1049,7 @@ export class Messaging {
|
|
|
1030
1049
|
'content-type': 'application/json',
|
|
1031
1050
|
}
|
|
1032
1051
|
|
|
1052
|
+
|
|
1033
1053
|
return await this.client.call(
|
|
1034
1054
|
'post',
|
|
1035
1055
|
uri,
|
|
@@ -1078,6 +1098,7 @@ export class Messaging {
|
|
|
1078
1098
|
'content-type': 'application/json',
|
|
1079
1099
|
}
|
|
1080
1100
|
|
|
1101
|
+
|
|
1081
1102
|
return await this.client.call(
|
|
1082
1103
|
'patch',
|
|
1083
1104
|
uri,
|
|
@@ -1140,6 +1161,7 @@ export class Messaging {
|
|
|
1140
1161
|
'content-type': 'application/json',
|
|
1141
1162
|
}
|
|
1142
1163
|
|
|
1164
|
+
|
|
1143
1165
|
return await this.client.call(
|
|
1144
1166
|
'post',
|
|
1145
1167
|
uri,
|
|
@@ -1196,6 +1218,7 @@ export class Messaging {
|
|
|
1196
1218
|
'content-type': 'application/json',
|
|
1197
1219
|
}
|
|
1198
1220
|
|
|
1221
|
+
|
|
1199
1222
|
return await this.client.call(
|
|
1200
1223
|
'patch',
|
|
1201
1224
|
uri,
|
|
@@ -1285,6 +1308,7 @@ export class Messaging {
|
|
|
1285
1308
|
'content-type': 'application/json',
|
|
1286
1309
|
}
|
|
1287
1310
|
|
|
1311
|
+
|
|
1288
1312
|
return await this.client.call(
|
|
1289
1313
|
'post',
|
|
1290
1314
|
uri,
|
|
@@ -1365,6 +1389,7 @@ export class Messaging {
|
|
|
1365
1389
|
'content-type': 'application/json',
|
|
1366
1390
|
}
|
|
1367
1391
|
|
|
1392
|
+
|
|
1368
1393
|
return await this.client.call(
|
|
1369
1394
|
'patch',
|
|
1370
1395
|
uri,
|
|
@@ -1419,6 +1444,7 @@ export class Messaging {
|
|
|
1419
1444
|
'content-type': 'application/json',
|
|
1420
1445
|
}
|
|
1421
1446
|
|
|
1447
|
+
|
|
1422
1448
|
return await this.client.call(
|
|
1423
1449
|
'post',
|
|
1424
1450
|
uri,
|
|
@@ -1467,6 +1493,7 @@ export class Messaging {
|
|
|
1467
1493
|
'content-type': 'application/json',
|
|
1468
1494
|
}
|
|
1469
1495
|
|
|
1496
|
+
|
|
1470
1497
|
return await this.client.call(
|
|
1471
1498
|
'patch',
|
|
1472
1499
|
uri,
|
|
@@ -1521,6 +1548,7 @@ export class Messaging {
|
|
|
1521
1548
|
'content-type': 'application/json',
|
|
1522
1549
|
}
|
|
1523
1550
|
|
|
1551
|
+
|
|
1524
1552
|
return await this.client.call(
|
|
1525
1553
|
'post',
|
|
1526
1554
|
uri,
|
|
@@ -1569,6 +1597,7 @@ export class Messaging {
|
|
|
1569
1597
|
'content-type': 'application/json',
|
|
1570
1598
|
}
|
|
1571
1599
|
|
|
1600
|
+
|
|
1572
1601
|
return await this.client.call(
|
|
1573
1602
|
'patch',
|
|
1574
1603
|
uri,
|
|
@@ -1623,6 +1652,7 @@ export class Messaging {
|
|
|
1623
1652
|
'content-type': 'application/json',
|
|
1624
1653
|
}
|
|
1625
1654
|
|
|
1655
|
+
|
|
1626
1656
|
return await this.client.call(
|
|
1627
1657
|
'post',
|
|
1628
1658
|
uri,
|
|
@@ -1671,6 +1701,7 @@ export class Messaging {
|
|
|
1671
1701
|
'content-type': 'application/json',
|
|
1672
1702
|
}
|
|
1673
1703
|
|
|
1704
|
+
|
|
1674
1705
|
return await this.client.call(
|
|
1675
1706
|
'patch',
|
|
1676
1707
|
uri,
|
|
@@ -1725,6 +1756,7 @@ export class Messaging {
|
|
|
1725
1756
|
'content-type': 'application/json',
|
|
1726
1757
|
}
|
|
1727
1758
|
|
|
1759
|
+
|
|
1728
1760
|
return await this.client.call(
|
|
1729
1761
|
'post',
|
|
1730
1762
|
uri,
|
|
@@ -1773,6 +1805,7 @@ export class Messaging {
|
|
|
1773
1805
|
'content-type': 'application/json',
|
|
1774
1806
|
}
|
|
1775
1807
|
|
|
1808
|
+
|
|
1776
1809
|
return await this.client.call(
|
|
1777
1810
|
'patch',
|
|
1778
1811
|
uri,
|
|
@@ -1802,6 +1835,7 @@ export class Messaging {
|
|
|
1802
1835
|
'content-type': 'application/json',
|
|
1803
1836
|
}
|
|
1804
1837
|
|
|
1838
|
+
|
|
1805
1839
|
return await this.client.call(
|
|
1806
1840
|
'get',
|
|
1807
1841
|
uri,
|
|
@@ -1830,6 +1864,7 @@ export class Messaging {
|
|
|
1830
1864
|
'content-type': 'application/json',
|
|
1831
1865
|
}
|
|
1832
1866
|
|
|
1867
|
+
|
|
1833
1868
|
return await this.client.call(
|
|
1834
1869
|
'delete',
|
|
1835
1870
|
uri,
|
|
@@ -1862,6 +1897,7 @@ export class Messaging {
|
|
|
1862
1897
|
'content-type': 'application/json',
|
|
1863
1898
|
}
|
|
1864
1899
|
|
|
1900
|
+
|
|
1865
1901
|
return await this.client.call(
|
|
1866
1902
|
'get',
|
|
1867
1903
|
uri,
|
|
@@ -1894,6 +1930,7 @@ export class Messaging {
|
|
|
1894
1930
|
'content-type': 'application/json',
|
|
1895
1931
|
}
|
|
1896
1932
|
|
|
1933
|
+
|
|
1897
1934
|
return await this.client.call(
|
|
1898
1935
|
'get',
|
|
1899
1936
|
uri,
|
|
@@ -1926,6 +1963,7 @@ export class Messaging {
|
|
|
1926
1963
|
'content-type': 'application/json',
|
|
1927
1964
|
}
|
|
1928
1965
|
|
|
1966
|
+
|
|
1929
1967
|
return await this.client.call(
|
|
1930
1968
|
'get',
|
|
1931
1969
|
uri,
|
|
@@ -1968,6 +2006,7 @@ export class Messaging {
|
|
|
1968
2006
|
'content-type': 'application/json',
|
|
1969
2007
|
}
|
|
1970
2008
|
|
|
2009
|
+
|
|
1971
2010
|
return await this.client.call(
|
|
1972
2011
|
'post',
|
|
1973
2012
|
uri,
|
|
@@ -1997,6 +2036,7 @@ export class Messaging {
|
|
|
1997
2036
|
'content-type': 'application/json',
|
|
1998
2037
|
}
|
|
1999
2038
|
|
|
2039
|
+
|
|
2000
2040
|
return await this.client.call(
|
|
2001
2041
|
'get',
|
|
2002
2042
|
uri,
|
|
@@ -2034,6 +2074,7 @@ export class Messaging {
|
|
|
2034
2074
|
'content-type': 'application/json',
|
|
2035
2075
|
}
|
|
2036
2076
|
|
|
2077
|
+
|
|
2037
2078
|
return await this.client.call(
|
|
2038
2079
|
'patch',
|
|
2039
2080
|
uri,
|
|
@@ -2062,6 +2103,7 @@ export class Messaging {
|
|
|
2062
2103
|
'content-type': 'application/json',
|
|
2063
2104
|
}
|
|
2064
2105
|
|
|
2106
|
+
|
|
2065
2107
|
return await this.client.call(
|
|
2066
2108
|
'delete',
|
|
2067
2109
|
uri,
|
|
@@ -2094,6 +2136,7 @@ export class Messaging {
|
|
|
2094
2136
|
'content-type': 'application/json',
|
|
2095
2137
|
}
|
|
2096
2138
|
|
|
2139
|
+
|
|
2097
2140
|
return await this.client.call(
|
|
2098
2141
|
'get',
|
|
2099
2142
|
uri,
|
|
@@ -2130,6 +2173,7 @@ export class Messaging {
|
|
|
2130
2173
|
'content-type': 'application/json',
|
|
2131
2174
|
}
|
|
2132
2175
|
|
|
2176
|
+
|
|
2133
2177
|
return await this.client.call(
|
|
2134
2178
|
'get',
|
|
2135
2179
|
uri,
|
|
@@ -2172,6 +2216,7 @@ export class Messaging {
|
|
|
2172
2216
|
'content-type': 'application/json',
|
|
2173
2217
|
}
|
|
2174
2218
|
|
|
2219
|
+
|
|
2175
2220
|
return await this.client.call(
|
|
2176
2221
|
'post',
|
|
2177
2222
|
uri,
|
|
@@ -2205,6 +2250,7 @@ export class Messaging {
|
|
|
2205
2250
|
'content-type': 'application/json',
|
|
2206
2251
|
}
|
|
2207
2252
|
|
|
2253
|
+
|
|
2208
2254
|
return await this.client.call(
|
|
2209
2255
|
'get',
|
|
2210
2256
|
uri,
|
|
@@ -2237,6 +2283,7 @@ export class Messaging {
|
|
|
2237
2283
|
'content-type': 'application/json',
|
|
2238
2284
|
}
|
|
2239
2285
|
|
|
2286
|
+
|
|
2240
2287
|
return await this.client.call(
|
|
2241
2288
|
'delete',
|
|
2242
2289
|
uri,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Service } from '../service';
|
|
1
2
|
import { AppwriteException, Client, type Payload, UploadProgress } from '../client';
|
|
2
3
|
import type { Models } from '../models';
|
|
3
4
|
|
|
@@ -32,6 +33,7 @@ export class Migrations {
|
|
|
32
33
|
'content-type': 'application/json',
|
|
33
34
|
}
|
|
34
35
|
|
|
36
|
+
|
|
35
37
|
return await this.client.call(
|
|
36
38
|
'get',
|
|
37
39
|
uri,
|
|
@@ -83,6 +85,7 @@ export class Migrations {
|
|
|
83
85
|
'content-type': 'application/json',
|
|
84
86
|
}
|
|
85
87
|
|
|
88
|
+
|
|
86
89
|
return await this.client.call(
|
|
87
90
|
'post',
|
|
88
91
|
uri,
|
|
@@ -134,6 +137,7 @@ export class Migrations {
|
|
|
134
137
|
'content-type': 'application/json',
|
|
135
138
|
}
|
|
136
139
|
|
|
140
|
+
|
|
137
141
|
return await this.client.call(
|
|
138
142
|
'get',
|
|
139
143
|
uri,
|
|
@@ -171,6 +175,7 @@ export class Migrations {
|
|
|
171
175
|
'content-type': 'application/json',
|
|
172
176
|
}
|
|
173
177
|
|
|
178
|
+
|
|
174
179
|
return await this.client.call(
|
|
175
180
|
'post',
|
|
176
181
|
uri,
|
|
@@ -194,6 +199,7 @@ export class Migrations {
|
|
|
194
199
|
'content-type': 'application/json',
|
|
195
200
|
}
|
|
196
201
|
|
|
202
|
+
|
|
197
203
|
return await this.client.call(
|
|
198
204
|
'get',
|
|
199
205
|
uri,
|
|
@@ -231,6 +237,7 @@ export class Migrations {
|
|
|
231
237
|
'content-type': 'application/json',
|
|
232
238
|
}
|
|
233
239
|
|
|
240
|
+
|
|
234
241
|
return await this.client.call(
|
|
235
242
|
'post',
|
|
236
243
|
uri,
|
|
@@ -254,6 +261,7 @@ export class Migrations {
|
|
|
254
261
|
'content-type': 'application/json',
|
|
255
262
|
}
|
|
256
263
|
|
|
264
|
+
|
|
257
265
|
return await this.client.call(
|
|
258
266
|
'get',
|
|
259
267
|
uri,
|
|
@@ -291,6 +299,7 @@ export class Migrations {
|
|
|
291
299
|
'content-type': 'application/json',
|
|
292
300
|
}
|
|
293
301
|
|
|
302
|
+
|
|
294
303
|
return await this.client.call(
|
|
295
304
|
'get',
|
|
296
305
|
uri,
|
|
@@ -328,6 +337,7 @@ export class Migrations {
|
|
|
328
337
|
'content-type': 'application/json',
|
|
329
338
|
}
|
|
330
339
|
|
|
340
|
+
|
|
331
341
|
return await this.client.call(
|
|
332
342
|
'get',
|
|
333
343
|
uri,
|
|
@@ -404,6 +414,7 @@ export class Migrations {
|
|
|
404
414
|
'content-type': 'application/json',
|
|
405
415
|
}
|
|
406
416
|
|
|
417
|
+
|
|
407
418
|
return await this.client.call(
|
|
408
419
|
'post',
|
|
409
420
|
uri,
|
|
@@ -480,6 +491,7 @@ export class Migrations {
|
|
|
480
491
|
'content-type': 'application/json',
|
|
481
492
|
}
|
|
482
493
|
|
|
494
|
+
|
|
483
495
|
return await this.client.call(
|
|
484
496
|
'get',
|
|
485
497
|
uri,
|
|
@@ -549,6 +561,7 @@ export class Migrations {
|
|
|
549
561
|
'content-type': 'application/json',
|
|
550
562
|
}
|
|
551
563
|
|
|
564
|
+
|
|
552
565
|
return await this.client.call(
|
|
553
566
|
'post',
|
|
554
567
|
uri,
|
|
@@ -618,6 +631,7 @@ export class Migrations {
|
|
|
618
631
|
'content-type': 'application/json',
|
|
619
632
|
}
|
|
620
633
|
|
|
634
|
+
|
|
621
635
|
return await this.client.call(
|
|
622
636
|
'get',
|
|
623
637
|
uri,
|
|
@@ -645,6 +659,7 @@ export class Migrations {
|
|
|
645
659
|
'content-type': 'application/json',
|
|
646
660
|
}
|
|
647
661
|
|
|
662
|
+
|
|
648
663
|
return await this.client.call(
|
|
649
664
|
'get',
|
|
650
665
|
uri,
|
|
@@ -672,6 +687,7 @@ export class Migrations {
|
|
|
672
687
|
'content-type': 'application/json',
|
|
673
688
|
}
|
|
674
689
|
|
|
690
|
+
|
|
675
691
|
return await this.client.call(
|
|
676
692
|
'patch',
|
|
677
693
|
uri,
|
|
@@ -699,6 +715,7 @@ export class Migrations {
|
|
|
699
715
|
'content-type': 'application/json',
|
|
700
716
|
}
|
|
701
717
|
|
|
718
|
+
|
|
702
719
|
return await this.client.call(
|
|
703
720
|
'delete',
|
|
704
721
|
uri,
|