appwrite 25.1.0 → 26.0.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.
- checksums.yaml +4 -4
- data/lib/appwrite/client.rb +18 -4
- data/lib/appwrite/enums/billing_plan_group.rb +9 -0
- data/lib/appwrite/enums/database_status.rb +9 -0
- data/lib/appwrite/enums/o_auth2_oidc_prompt.rb +10 -0
- data/lib/appwrite/enums/o_auth_provider.rb +1 -0
- data/lib/appwrite/enums/organization_key_scopes.rb +4 -0
- data/lib/appwrite/enums/project_key_scopes.rb +7 -2
- data/lib/appwrite/enums/project_o_auth2_oidc_prompt.rb +10 -0
- data/lib/appwrite/enums/project_o_auth_provider_id.rb +1 -0
- data/lib/appwrite/enums/project_policy_id.rb +1 -0
- data/lib/appwrite/enums/project_service_id.rb +1 -0
- data/lib/appwrite/models/activity_event.rb +3 -73
- data/lib/appwrite/models/additional_resource.rb +52 -0
- data/lib/appwrite/models/backup_policy.rb +5 -0
- data/lib/appwrite/models/billing_plan.rb +379 -0
- data/lib/appwrite/models/billing_plan_addon.rb +32 -0
- data/lib/appwrite/models/billing_plan_addon_details.rb +62 -0
- data/lib/appwrite/models/billing_plan_dedicated_database_limits.rb +117 -0
- data/lib/appwrite/models/billing_plan_limits.rb +32 -0
- data/lib/appwrite/models/billing_plan_supported_addons.rb +37 -0
- data/lib/appwrite/models/block.rb +5 -0
- data/lib/appwrite/models/database.rb +19 -0
- data/lib/appwrite/models/locale.rb +58 -3
- data/lib/appwrite/models/membership.rb +5 -0
- data/lib/appwrite/models/o_auth2_appwrite.rb +42 -0
- data/lib/appwrite/models/o_auth2_oidc.rb +13 -3
- data/lib/appwrite/models/organization.rb +197 -0
- data/lib/appwrite/models/policy_deny_corporate_email.rb +32 -0
- data/lib/appwrite/models/policy_membership_privacy.rb +8 -3
- data/lib/appwrite/models/program.rb +67 -0
- data/lib/appwrite/models/project.rb +46 -11
- data/lib/appwrite/models/usage_billing_plan.rb +77 -0
- data/lib/appwrite/models/user.rb +25 -0
- data/lib/appwrite/query.rb +13 -1
- data/lib/appwrite/services/account.rb +42 -1
- data/lib/appwrite/services/activities.rb +2 -0
- data/lib/appwrite/services/advisor.rb +4 -0
- data/lib/appwrite/services/avatars.rb +8 -0
- data/lib/appwrite/services/backups.rb +25 -1
- data/lib/appwrite/services/databases.rb +107 -0
- data/lib/appwrite/services/functions.rb +30 -4
- data/lib/appwrite/services/graphql.rb +2 -0
- data/lib/appwrite/services/locale.rb +8 -0
- data/lib/appwrite/services/messaging.rb +42 -136
- data/lib/appwrite/services/organization.rb +268 -3
- data/lib/appwrite/services/presences.rb +4 -0
- data/lib/appwrite/services/project.rb +190 -9
- data/lib/appwrite/services/proxy.rb +7 -0
- data/lib/appwrite/services/sites.rb +25 -1
- data/lib/appwrite/services/storage.rb +11 -0
- data/lib/appwrite/services/tables_db.rb +68 -1
- data/lib/appwrite/services/teams.rb +11 -0
- data/lib/appwrite/services/tokens.rb +4 -0
- data/lib/appwrite/services/users.rb +38 -1
- data/lib/appwrite/services/webhooks.rb +5 -0
- data/lib/appwrite.rb +16 -15
- metadata +18 -17
- data/lib/appwrite/enums/health_antivirus_status.rb +0 -9
- data/lib/appwrite/enums/health_check_status.rb +0 -8
- data/lib/appwrite/enums/health_queue_name.rb +0 -19
- data/lib/appwrite/models/health_antivirus.rb +0 -49
- data/lib/appwrite/models/health_certificate.rb +0 -52
- data/lib/appwrite/models/health_queue.rb +0 -27
- data/lib/appwrite/models/health_status.rb +0 -53
- data/lib/appwrite/models/health_status_list.rb +0 -32
- data/lib/appwrite/models/health_time.rb +0 -37
- data/lib/appwrite/models/usage_event.rb +0 -72
- data/lib/appwrite/models/usage_event_list.rb +0 -32
- data/lib/appwrite/models/usage_gauge.rb +0 -47
- data/lib/appwrite/models/usage_gauge_list.rb +0 -32
- data/lib/appwrite/services/health.rb +0 -681
- data/lib/appwrite/services/usage.rb +0 -88
|
@@ -10,7 +10,7 @@ module Appwrite
|
|
|
10
10
|
# Get a list of all the project's users. You can use the query params to
|
|
11
11
|
# filter your results.
|
|
12
12
|
#
|
|
13
|
-
# @param [Array] queries Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels, impersonator
|
|
13
|
+
# @param [Array] queries Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels, impersonator, accessedAt
|
|
14
14
|
# @param [String] search Search term to filter your list results. Max length: 256 chars.
|
|
15
15
|
# @param [] total When set to false, the total count returned will be 0 and will not be calculated.
|
|
16
16
|
#
|
|
@@ -26,6 +26,7 @@ module Appwrite
|
|
|
26
26
|
|
|
27
27
|
api_headers = {
|
|
28
28
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
29
|
+
"accept": 'application/json',
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
@client.call(
|
|
@@ -65,6 +66,7 @@ module Appwrite
|
|
|
65
66
|
api_headers = {
|
|
66
67
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
67
68
|
"content-type": 'application/json',
|
|
69
|
+
"accept": 'application/json',
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
@client.call(
|
|
@@ -113,6 +115,7 @@ module Appwrite
|
|
|
113
115
|
api_headers = {
|
|
114
116
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
115
117
|
"content-type": 'application/json',
|
|
118
|
+
"accept": 'application/json',
|
|
116
119
|
}
|
|
117
120
|
|
|
118
121
|
@client.call(
|
|
@@ -161,6 +164,7 @@ module Appwrite
|
|
|
161
164
|
api_headers = {
|
|
162
165
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
163
166
|
"content-type": 'application/json',
|
|
167
|
+
"accept": 'application/json',
|
|
164
168
|
}
|
|
165
169
|
|
|
166
170
|
@client.call(
|
|
@@ -191,6 +195,7 @@ module Appwrite
|
|
|
191
195
|
|
|
192
196
|
api_headers = {
|
|
193
197
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
198
|
+
"accept": 'application/json',
|
|
194
199
|
}
|
|
195
200
|
|
|
196
201
|
@client.call(
|
|
@@ -269,6 +274,7 @@ module Appwrite
|
|
|
269
274
|
api_headers = {
|
|
270
275
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
271
276
|
"content-type": 'application/json',
|
|
277
|
+
"accept": 'application/json',
|
|
272
278
|
}
|
|
273
279
|
|
|
274
280
|
@client.call(
|
|
@@ -317,6 +323,7 @@ module Appwrite
|
|
|
317
323
|
api_headers = {
|
|
318
324
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
319
325
|
"content-type": 'application/json',
|
|
326
|
+
"accept": 'application/json',
|
|
320
327
|
}
|
|
321
328
|
|
|
322
329
|
@client.call(
|
|
@@ -395,6 +402,7 @@ module Appwrite
|
|
|
395
402
|
api_headers = {
|
|
396
403
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
397
404
|
"content-type": 'application/json',
|
|
405
|
+
"accept": 'application/json',
|
|
398
406
|
}
|
|
399
407
|
|
|
400
408
|
@client.call(
|
|
@@ -462,6 +470,7 @@ module Appwrite
|
|
|
462
470
|
api_headers = {
|
|
463
471
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
464
472
|
"content-type": 'application/json',
|
|
473
|
+
"accept": 'application/json',
|
|
465
474
|
}
|
|
466
475
|
|
|
467
476
|
@client.call(
|
|
@@ -512,6 +521,7 @@ module Appwrite
|
|
|
512
521
|
api_headers = {
|
|
513
522
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
514
523
|
"content-type": 'application/json',
|
|
524
|
+
"accept": 'application/json',
|
|
515
525
|
}
|
|
516
526
|
|
|
517
527
|
@client.call(
|
|
@@ -542,6 +552,7 @@ module Appwrite
|
|
|
542
552
|
|
|
543
553
|
api_headers = {
|
|
544
554
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
555
|
+
"accept": 'application/json',
|
|
545
556
|
}
|
|
546
557
|
|
|
547
558
|
@client.call(
|
|
@@ -614,6 +625,7 @@ module Appwrite
|
|
|
614
625
|
api_headers = {
|
|
615
626
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
616
627
|
"content-type": 'application/json',
|
|
628
|
+
"accept": 'application/json',
|
|
617
629
|
}
|
|
618
630
|
|
|
619
631
|
@client.call(
|
|
@@ -656,6 +668,7 @@ module Appwrite
|
|
|
656
668
|
api_headers = {
|
|
657
669
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
658
670
|
"content-type": 'application/json',
|
|
671
|
+
"accept": 'application/json',
|
|
659
672
|
}
|
|
660
673
|
|
|
661
674
|
@client.call(
|
|
@@ -693,6 +706,7 @@ module Appwrite
|
|
|
693
706
|
api_headers = {
|
|
694
707
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
695
708
|
"content-type": 'application/json',
|
|
709
|
+
"accept": 'application/json',
|
|
696
710
|
}
|
|
697
711
|
|
|
698
712
|
@client.call(
|
|
@@ -735,6 +749,7 @@ module Appwrite
|
|
|
735
749
|
api_headers = {
|
|
736
750
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
737
751
|
"content-type": 'application/json',
|
|
752
|
+
"accept": 'application/json',
|
|
738
753
|
}
|
|
739
754
|
|
|
740
755
|
@client.call(
|
|
@@ -769,6 +784,7 @@ module Appwrite
|
|
|
769
784
|
|
|
770
785
|
api_headers = {
|
|
771
786
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
787
|
+
"accept": 'application/json',
|
|
772
788
|
}
|
|
773
789
|
|
|
774
790
|
@client.call(
|
|
@@ -805,6 +821,7 @@ module Appwrite
|
|
|
805
821
|
|
|
806
822
|
api_headers = {
|
|
807
823
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
824
|
+
"accept": 'application/json',
|
|
808
825
|
}
|
|
809
826
|
|
|
810
827
|
@client.call(
|
|
@@ -842,6 +859,7 @@ module Appwrite
|
|
|
842
859
|
api_headers = {
|
|
843
860
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
844
861
|
"content-type": 'application/json',
|
|
862
|
+
"accept": 'application/json',
|
|
845
863
|
}
|
|
846
864
|
|
|
847
865
|
@client.call(
|
|
@@ -908,6 +926,7 @@ module Appwrite
|
|
|
908
926
|
|
|
909
927
|
api_headers = {
|
|
910
928
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
929
|
+
"accept": 'application/json',
|
|
911
930
|
}
|
|
912
931
|
|
|
913
932
|
@client.call(
|
|
@@ -941,6 +960,7 @@ module Appwrite
|
|
|
941
960
|
|
|
942
961
|
api_headers = {
|
|
943
962
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
963
|
+
"accept": 'application/json',
|
|
944
964
|
}
|
|
945
965
|
|
|
946
966
|
@client.call(
|
|
@@ -975,6 +995,7 @@ module Appwrite
|
|
|
975
995
|
api_headers = {
|
|
976
996
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
977
997
|
"content-type": 'application/json',
|
|
998
|
+
"accept": 'application/json',
|
|
978
999
|
}
|
|
979
1000
|
|
|
980
1001
|
@client.call(
|
|
@@ -1009,6 +1030,7 @@ module Appwrite
|
|
|
1009
1030
|
api_headers = {
|
|
1010
1031
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1011
1032
|
"content-type": 'application/json',
|
|
1033
|
+
"accept": 'application/json',
|
|
1012
1034
|
}
|
|
1013
1035
|
|
|
1014
1036
|
@client.call(
|
|
@@ -1046,6 +1068,7 @@ module Appwrite
|
|
|
1046
1068
|
api_headers = {
|
|
1047
1069
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1048
1070
|
"content-type": 'application/json',
|
|
1071
|
+
"accept": 'application/json',
|
|
1049
1072
|
}
|
|
1050
1073
|
|
|
1051
1074
|
@client.call(
|
|
@@ -1083,6 +1106,7 @@ module Appwrite
|
|
|
1083
1106
|
api_headers = {
|
|
1084
1107
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1085
1108
|
"content-type": 'application/json',
|
|
1109
|
+
"accept": 'application/json',
|
|
1086
1110
|
}
|
|
1087
1111
|
|
|
1088
1112
|
@client.call(
|
|
@@ -1120,6 +1144,7 @@ module Appwrite
|
|
|
1120
1144
|
api_headers = {
|
|
1121
1145
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1122
1146
|
"content-type": 'application/json',
|
|
1147
|
+
"accept": 'application/json',
|
|
1123
1148
|
}
|
|
1124
1149
|
|
|
1125
1150
|
@client.call(
|
|
@@ -1150,6 +1175,7 @@ module Appwrite
|
|
|
1150
1175
|
|
|
1151
1176
|
api_headers = {
|
|
1152
1177
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1178
|
+
"accept": 'application/json',
|
|
1153
1179
|
}
|
|
1154
1180
|
|
|
1155
1181
|
@client.call(
|
|
@@ -1189,6 +1215,7 @@ module Appwrite
|
|
|
1189
1215
|
api_headers = {
|
|
1190
1216
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1191
1217
|
"content-type": 'application/json',
|
|
1218
|
+
"accept": 'application/json',
|
|
1192
1219
|
}
|
|
1193
1220
|
|
|
1194
1221
|
@client.call(
|
|
@@ -1221,6 +1248,7 @@ module Appwrite
|
|
|
1221
1248
|
|
|
1222
1249
|
api_headers = {
|
|
1223
1250
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1251
|
+
"accept": 'application/json',
|
|
1224
1252
|
}
|
|
1225
1253
|
|
|
1226
1254
|
@client.call(
|
|
@@ -1257,6 +1285,7 @@ module Appwrite
|
|
|
1257
1285
|
api_headers = {
|
|
1258
1286
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1259
1287
|
"content-type": 'application/json',
|
|
1288
|
+
"accept": 'application/json',
|
|
1260
1289
|
}
|
|
1261
1290
|
|
|
1262
1291
|
@client.call(
|
|
@@ -1361,6 +1390,7 @@ module Appwrite
|
|
|
1361
1390
|
api_headers = {
|
|
1362
1391
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1363
1392
|
"content-type": 'application/json',
|
|
1393
|
+
"accept": 'application/json',
|
|
1364
1394
|
}
|
|
1365
1395
|
|
|
1366
1396
|
@client.call(
|
|
@@ -1395,6 +1425,7 @@ module Appwrite
|
|
|
1395
1425
|
|
|
1396
1426
|
api_headers = {
|
|
1397
1427
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1428
|
+
"accept": 'application/json',
|
|
1398
1429
|
}
|
|
1399
1430
|
|
|
1400
1431
|
@client.call(
|
|
@@ -1448,6 +1479,7 @@ module Appwrite
|
|
|
1448
1479
|
api_headers = {
|
|
1449
1480
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1450
1481
|
"content-type": 'application/json',
|
|
1482
|
+
"accept": 'application/json',
|
|
1451
1483
|
}
|
|
1452
1484
|
|
|
1453
1485
|
@client.call(
|
|
@@ -1484,6 +1516,7 @@ module Appwrite
|
|
|
1484
1516
|
|
|
1485
1517
|
api_headers = {
|
|
1486
1518
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1519
|
+
"accept": 'application/json',
|
|
1487
1520
|
}
|
|
1488
1521
|
|
|
1489
1522
|
@client.call(
|
|
@@ -1527,6 +1560,7 @@ module Appwrite
|
|
|
1527
1560
|
api_headers = {
|
|
1528
1561
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1529
1562
|
"content-type": 'application/json',
|
|
1563
|
+
"accept": 'application/json',
|
|
1530
1564
|
}
|
|
1531
1565
|
|
|
1532
1566
|
@client.call(
|
|
@@ -1602,6 +1636,7 @@ module Appwrite
|
|
|
1602
1636
|
api_headers = {
|
|
1603
1637
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1604
1638
|
"content-type": 'application/json',
|
|
1639
|
+
"accept": 'application/json',
|
|
1605
1640
|
}
|
|
1606
1641
|
|
|
1607
1642
|
@client.call(
|
|
@@ -1639,6 +1674,7 @@ module Appwrite
|
|
|
1639
1674
|
api_headers = {
|
|
1640
1675
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1641
1676
|
"content-type": 'application/json',
|
|
1677
|
+
"accept": 'application/json',
|
|
1642
1678
|
}
|
|
1643
1679
|
|
|
1644
1680
|
@client.call(
|
|
@@ -1676,6 +1712,7 @@ module Appwrite
|
|
|
1676
1712
|
api_headers = {
|
|
1677
1713
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
1678
1714
|
"content-type": 'application/json',
|
|
1715
|
+
"accept": 'application/json',
|
|
1679
1716
|
}
|
|
1680
1717
|
|
|
1681
1718
|
@client.call(
|
|
@@ -24,6 +24,7 @@ module Appwrite
|
|
|
24
24
|
|
|
25
25
|
api_headers = {
|
|
26
26
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
27
|
+
"accept": 'application/json',
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
@client.call(
|
|
@@ -84,6 +85,7 @@ module Appwrite
|
|
|
84
85
|
api_headers = {
|
|
85
86
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
86
87
|
"content-type": 'application/json',
|
|
88
|
+
"accept": 'application/json',
|
|
87
89
|
}
|
|
88
90
|
|
|
89
91
|
@client.call(
|
|
@@ -115,6 +117,7 @@ module Appwrite
|
|
|
115
117
|
|
|
116
118
|
api_headers = {
|
|
117
119
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
120
|
+
"accept": 'application/json',
|
|
118
121
|
}
|
|
119
122
|
|
|
120
123
|
@client.call(
|
|
@@ -173,6 +176,7 @@ module Appwrite
|
|
|
173
176
|
api_headers = {
|
|
174
177
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
175
178
|
"content-type": 'application/json',
|
|
179
|
+
"accept": 'application/json',
|
|
176
180
|
}
|
|
177
181
|
|
|
178
182
|
@client.call(
|
|
@@ -239,6 +243,7 @@ module Appwrite
|
|
|
239
243
|
api_headers = {
|
|
240
244
|
"X-Appwrite-Project": @client.get_config('project'),
|
|
241
245
|
"content-type": 'application/json',
|
|
246
|
+
"accept": 'application/json',
|
|
242
247
|
}
|
|
243
248
|
|
|
244
249
|
@client.call(
|
data/lib/appwrite.rb
CHANGED
|
@@ -48,7 +48,6 @@ require_relative 'appwrite/models/variable_list'
|
|
|
48
48
|
require_relative 'appwrite/models/mock_number_list'
|
|
49
49
|
require_relative 'appwrite/models/policy_list'
|
|
50
50
|
require_relative 'appwrite/models/email_template_list'
|
|
51
|
-
require_relative 'appwrite/models/health_status_list'
|
|
52
51
|
require_relative 'appwrite/models/proxy_rule_list'
|
|
53
52
|
require_relative 'appwrite/models/locale_code_list'
|
|
54
53
|
require_relative 'appwrite/models/provider_list'
|
|
@@ -174,6 +173,7 @@ require_relative 'appwrite/models/o_auth2_facebook'
|
|
|
174
173
|
require_relative 'appwrite/models/o_auth2_tradeshift'
|
|
175
174
|
require_relative 'appwrite/models/o_auth2_paypal'
|
|
176
175
|
require_relative 'appwrite/models/o_auth2_gitlab'
|
|
176
|
+
require_relative 'appwrite/models/o_auth2_appwrite'
|
|
177
177
|
require_relative 'appwrite/models/o_auth2_authentik'
|
|
178
178
|
require_relative 'appwrite/models/o_auth2_auth0'
|
|
179
179
|
require_relative 'appwrite/models/o_auth2_fusion_auth'
|
|
@@ -206,11 +206,6 @@ require_relative 'appwrite/models/continent'
|
|
|
206
206
|
require_relative 'appwrite/models/language'
|
|
207
207
|
require_relative 'appwrite/models/currency'
|
|
208
208
|
require_relative 'appwrite/models/phone'
|
|
209
|
-
require_relative 'appwrite/models/health_antivirus'
|
|
210
|
-
require_relative 'appwrite/models/health_queue'
|
|
211
|
-
require_relative 'appwrite/models/health_status'
|
|
212
|
-
require_relative 'appwrite/models/health_certificate'
|
|
213
|
-
require_relative 'appwrite/models/health_time'
|
|
214
209
|
require_relative 'appwrite/models/headers'
|
|
215
210
|
require_relative 'appwrite/models/specification'
|
|
216
211
|
require_relative 'appwrite/models/proxy_rule'
|
|
@@ -229,22 +224,29 @@ require_relative 'appwrite/models/insight'
|
|
|
229
224
|
require_relative 'appwrite/models/insight_cta'
|
|
230
225
|
require_relative 'appwrite/models/report'
|
|
231
226
|
require_relative 'appwrite/models/activity_event'
|
|
227
|
+
require_relative 'appwrite/models/additional_resource'
|
|
232
228
|
require_relative 'appwrite/models/backup_archive'
|
|
233
229
|
require_relative 'appwrite/models/billing_limits'
|
|
230
|
+
require_relative 'appwrite/models/billing_plan'
|
|
231
|
+
require_relative 'appwrite/models/billing_plan_addon'
|
|
232
|
+
require_relative 'appwrite/models/billing_plan_addon_details'
|
|
233
|
+
require_relative 'appwrite/models/billing_plan_limits'
|
|
234
|
+
require_relative 'appwrite/models/billing_plan_dedicated_database_limits'
|
|
235
|
+
require_relative 'appwrite/models/billing_plan_supported_addons'
|
|
234
236
|
require_relative 'appwrite/models/block'
|
|
237
|
+
require_relative 'appwrite/models/organization'
|
|
235
238
|
require_relative 'appwrite/models/backup_policy'
|
|
236
239
|
require_relative 'appwrite/models/policy_deny_aliased_email'
|
|
237
240
|
require_relative 'appwrite/models/policy_deny_disposable_email'
|
|
238
241
|
require_relative 'appwrite/models/policy_deny_free_email'
|
|
242
|
+
require_relative 'appwrite/models/policy_deny_corporate_email'
|
|
243
|
+
require_relative 'appwrite/models/program'
|
|
239
244
|
require_relative 'appwrite/models/backup_restoration'
|
|
240
|
-
require_relative 'appwrite/models/
|
|
241
|
-
require_relative 'appwrite/models/usage_gauge'
|
|
245
|
+
require_relative 'appwrite/models/usage_billing_plan'
|
|
242
246
|
require_relative 'appwrite/models/activity_event_list'
|
|
243
247
|
require_relative 'appwrite/models/backup_archive_list'
|
|
244
248
|
require_relative 'appwrite/models/backup_policy_list'
|
|
245
249
|
require_relative 'appwrite/models/backup_restoration_list'
|
|
246
|
-
require_relative 'appwrite/models/usage_event_list'
|
|
247
|
-
require_relative 'appwrite/models/usage_gauge_list'
|
|
248
250
|
|
|
249
251
|
require_relative 'appwrite/enums/authenticator_type'
|
|
250
252
|
require_relative 'appwrite/enums/authentication_factor'
|
|
@@ -267,13 +269,13 @@ require_relative 'appwrite/enums/template_reference_type'
|
|
|
267
269
|
require_relative 'appwrite/enums/vcs_reference_type'
|
|
268
270
|
require_relative 'appwrite/enums/deployment_download_type'
|
|
269
271
|
require_relative 'appwrite/enums/execution_method'
|
|
270
|
-
require_relative 'appwrite/enums/health_queue_name'
|
|
271
272
|
require_relative 'appwrite/enums/message_priority'
|
|
272
273
|
require_relative 'appwrite/enums/smtp_encryption'
|
|
273
274
|
require_relative 'appwrite/enums/organization_key_scopes'
|
|
274
275
|
require_relative 'appwrite/enums/region'
|
|
275
276
|
require_relative 'appwrite/enums/project_auth_method_id'
|
|
276
277
|
require_relative 'appwrite/enums/project_o_auth2_google_prompt'
|
|
278
|
+
require_relative 'appwrite/enums/project_o_auth2_oidc_prompt'
|
|
277
279
|
require_relative 'appwrite/enums/project_o_auth_provider_id'
|
|
278
280
|
require_relative 'appwrite/enums/project_policy_id'
|
|
279
281
|
require_relative 'appwrite/enums/project_protocol_id'
|
|
@@ -292,6 +294,7 @@ require_relative 'appwrite/enums/tables_db_index_type'
|
|
|
292
294
|
require_relative 'appwrite/enums/password_hash'
|
|
293
295
|
require_relative 'appwrite/enums/messaging_provider_type'
|
|
294
296
|
require_relative 'appwrite/enums/database_type'
|
|
297
|
+
require_relative 'appwrite/enums/database_status'
|
|
295
298
|
require_relative 'appwrite/enums/attribute_status'
|
|
296
299
|
require_relative 'appwrite/enums/column_status'
|
|
297
300
|
require_relative 'appwrite/enums/index_status'
|
|
@@ -299,12 +302,12 @@ require_relative 'appwrite/enums/deployment_status'
|
|
|
299
302
|
require_relative 'appwrite/enums/execution_trigger'
|
|
300
303
|
require_relative 'appwrite/enums/execution_status'
|
|
301
304
|
require_relative 'appwrite/enums/o_auth2_google_prompt'
|
|
305
|
+
require_relative 'appwrite/enums/o_auth2_oidc_prompt'
|
|
302
306
|
require_relative 'appwrite/enums/platform_type'
|
|
303
|
-
require_relative 'appwrite/enums/health_antivirus_status'
|
|
304
|
-
require_relative 'appwrite/enums/health_check_status'
|
|
305
307
|
require_relative 'appwrite/enums/proxy_rule_deployment_resource_type'
|
|
306
308
|
require_relative 'appwrite/enums/proxy_rule_status'
|
|
307
309
|
require_relative 'appwrite/enums/message_status'
|
|
310
|
+
require_relative 'appwrite/enums/billing_plan_group'
|
|
308
311
|
|
|
309
312
|
require_relative 'appwrite/services/account'
|
|
310
313
|
require_relative 'appwrite/services/activities'
|
|
@@ -313,7 +316,6 @@ require_relative 'appwrite/services/backups'
|
|
|
313
316
|
require_relative 'appwrite/services/databases'
|
|
314
317
|
require_relative 'appwrite/services/functions'
|
|
315
318
|
require_relative 'appwrite/services/graphql'
|
|
316
|
-
require_relative 'appwrite/services/health'
|
|
317
319
|
require_relative 'appwrite/services/locale'
|
|
318
320
|
require_relative 'appwrite/services/messaging'
|
|
319
321
|
require_relative 'appwrite/services/organization'
|
|
@@ -326,6 +328,5 @@ require_relative 'appwrite/services/storage'
|
|
|
326
328
|
require_relative 'appwrite/services/tables_db'
|
|
327
329
|
require_relative 'appwrite/services/teams'
|
|
328
330
|
require_relative 'appwrite/services/tokens'
|
|
329
|
-
require_relative 'appwrite/services/usage'
|
|
330
331
|
require_relative 'appwrite/services/users'
|
|
331
332
|
require_relative 'appwrite/services/webhooks'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appwrite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 26.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Appwrite Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mime-types
|
|
@@ -37,6 +37,7 @@ files:
|
|
|
37
37
|
- lib/appwrite/enums/authentication_factor.rb
|
|
38
38
|
- lib/appwrite/enums/authenticator_type.rb
|
|
39
39
|
- lib/appwrite/enums/backup_services.rb
|
|
40
|
+
- lib/appwrite/enums/billing_plan_group.rb
|
|
40
41
|
- lib/appwrite/enums/browser.rb
|
|
41
42
|
- lib/appwrite/enums/browser_permission.rb
|
|
42
43
|
- lib/appwrite/enums/browser_theme.rb
|
|
@@ -44,6 +45,7 @@ files:
|
|
|
44
45
|
- lib/appwrite/enums/column_status.rb
|
|
45
46
|
- lib/appwrite/enums/compression.rb
|
|
46
47
|
- lib/appwrite/enums/credit_card.rb
|
|
48
|
+
- lib/appwrite/enums/database_status.rb
|
|
47
49
|
- lib/appwrite/enums/database_type.rb
|
|
48
50
|
- lib/appwrite/enums/databases_index_type.rb
|
|
49
51
|
- lib/appwrite/enums/deployment_download_type.rb
|
|
@@ -53,9 +55,6 @@ files:
|
|
|
53
55
|
- lib/appwrite/enums/execution_trigger.rb
|
|
54
56
|
- lib/appwrite/enums/flag.rb
|
|
55
57
|
- lib/appwrite/enums/framework.rb
|
|
56
|
-
- lib/appwrite/enums/health_antivirus_status.rb
|
|
57
|
-
- lib/appwrite/enums/health_check_status.rb
|
|
58
|
-
- lib/appwrite/enums/health_queue_name.rb
|
|
59
58
|
- lib/appwrite/enums/image_format.rb
|
|
60
59
|
- lib/appwrite/enums/image_gravity.rb
|
|
61
60
|
- lib/appwrite/enums/index_status.rb
|
|
@@ -63,6 +62,7 @@ files:
|
|
|
63
62
|
- lib/appwrite/enums/message_status.rb
|
|
64
63
|
- lib/appwrite/enums/messaging_provider_type.rb
|
|
65
64
|
- lib/appwrite/enums/o_auth2_google_prompt.rb
|
|
65
|
+
- lib/appwrite/enums/o_auth2_oidc_prompt.rb
|
|
66
66
|
- lib/appwrite/enums/o_auth_provider.rb
|
|
67
67
|
- lib/appwrite/enums/order_by.rb
|
|
68
68
|
- lib/appwrite/enums/organization_key_scopes.rb
|
|
@@ -73,6 +73,7 @@ files:
|
|
|
73
73
|
- lib/appwrite/enums/project_email_template_locale.rb
|
|
74
74
|
- lib/appwrite/enums/project_key_scopes.rb
|
|
75
75
|
- lib/appwrite/enums/project_o_auth2_google_prompt.rb
|
|
76
|
+
- lib/appwrite/enums/project_o_auth2_oidc_prompt.rb
|
|
76
77
|
- lib/appwrite/enums/project_o_auth_provider_id.rb
|
|
77
78
|
- lib/appwrite/enums/project_policy_id.rb
|
|
78
79
|
- lib/appwrite/enums/project_protocol_id.rb
|
|
@@ -96,6 +97,7 @@ files:
|
|
|
96
97
|
- lib/appwrite/input_file.rb
|
|
97
98
|
- lib/appwrite/models/activity_event.rb
|
|
98
99
|
- lib/appwrite/models/activity_event_list.rb
|
|
100
|
+
- lib/appwrite/models/additional_resource.rb
|
|
99
101
|
- lib/appwrite/models/algo_argon2.rb
|
|
100
102
|
- lib/appwrite/models/algo_bcrypt.rb
|
|
101
103
|
- lib/appwrite/models/algo_md5.rb
|
|
@@ -129,6 +131,12 @@ files:
|
|
|
129
131
|
- lib/appwrite/models/backup_restoration.rb
|
|
130
132
|
- lib/appwrite/models/backup_restoration_list.rb
|
|
131
133
|
- lib/appwrite/models/billing_limits.rb
|
|
134
|
+
- lib/appwrite/models/billing_plan.rb
|
|
135
|
+
- lib/appwrite/models/billing_plan_addon.rb
|
|
136
|
+
- lib/appwrite/models/billing_plan_addon_details.rb
|
|
137
|
+
- lib/appwrite/models/billing_plan_dedicated_database_limits.rb
|
|
138
|
+
- lib/appwrite/models/billing_plan_limits.rb
|
|
139
|
+
- lib/appwrite/models/billing_plan_supported_addons.rb
|
|
132
140
|
- lib/appwrite/models/block.rb
|
|
133
141
|
- lib/appwrite/models/bucket.rb
|
|
134
142
|
- lib/appwrite/models/bucket_list.rb
|
|
@@ -181,12 +189,6 @@ files:
|
|
|
181
189
|
- lib/appwrite/models/function.rb
|
|
182
190
|
- lib/appwrite/models/function_list.rb
|
|
183
191
|
- lib/appwrite/models/headers.rb
|
|
184
|
-
- lib/appwrite/models/health_antivirus.rb
|
|
185
|
-
- lib/appwrite/models/health_certificate.rb
|
|
186
|
-
- lib/appwrite/models/health_queue.rb
|
|
187
|
-
- lib/appwrite/models/health_status.rb
|
|
188
|
-
- lib/appwrite/models/health_status_list.rb
|
|
189
|
-
- lib/appwrite/models/health_time.rb
|
|
190
192
|
- lib/appwrite/models/identity.rb
|
|
191
193
|
- lib/appwrite/models/identity_list.rb
|
|
192
194
|
- lib/appwrite/models/index.rb
|
|
@@ -216,6 +218,7 @@ files:
|
|
|
216
218
|
- lib/appwrite/models/mock_number_list.rb
|
|
217
219
|
- lib/appwrite/models/o_auth2_amazon.rb
|
|
218
220
|
- lib/appwrite/models/o_auth2_apple.rb
|
|
221
|
+
- lib/appwrite/models/o_auth2_appwrite.rb
|
|
219
222
|
- lib/appwrite/models/o_auth2_auth0.rb
|
|
220
223
|
- lib/appwrite/models/o_auth2_authentik.rb
|
|
221
224
|
- lib/appwrite/models/o_auth2_autodesk.rb
|
|
@@ -255,6 +258,7 @@ files:
|
|
|
255
258
|
- lib/appwrite/models/o_auth2_yandex.rb
|
|
256
259
|
- lib/appwrite/models/o_auth2_zoho.rb
|
|
257
260
|
- lib/appwrite/models/o_auth2_zoom.rb
|
|
261
|
+
- lib/appwrite/models/organization.rb
|
|
258
262
|
- lib/appwrite/models/phone.rb
|
|
259
263
|
- lib/appwrite/models/phone_list.rb
|
|
260
264
|
- lib/appwrite/models/platform_android.rb
|
|
@@ -264,6 +268,7 @@ files:
|
|
|
264
268
|
- lib/appwrite/models/platform_web.rb
|
|
265
269
|
- lib/appwrite/models/platform_windows.rb
|
|
266
270
|
- lib/appwrite/models/policy_deny_aliased_email.rb
|
|
271
|
+
- lib/appwrite/models/policy_deny_corporate_email.rb
|
|
267
272
|
- lib/appwrite/models/policy_deny_disposable_email.rb
|
|
268
273
|
- lib/appwrite/models/policy_deny_free_email.rb
|
|
269
274
|
- lib/appwrite/models/policy_list.rb
|
|
@@ -280,6 +285,7 @@ files:
|
|
|
280
285
|
- lib/appwrite/models/preferences.rb
|
|
281
286
|
- lib/appwrite/models/presence.rb
|
|
282
287
|
- lib/appwrite/models/presence_list.rb
|
|
288
|
+
- lib/appwrite/models/program.rb
|
|
283
289
|
- lib/appwrite/models/project.rb
|
|
284
290
|
- lib/appwrite/models/project_auth_method.rb
|
|
285
291
|
- lib/appwrite/models/project_list.rb
|
|
@@ -316,10 +322,7 @@ files:
|
|
|
316
322
|
- lib/appwrite/models/topic_list.rb
|
|
317
323
|
- lib/appwrite/models/transaction.rb
|
|
318
324
|
- lib/appwrite/models/transaction_list.rb
|
|
319
|
-
- lib/appwrite/models/
|
|
320
|
-
- lib/appwrite/models/usage_event_list.rb
|
|
321
|
-
- lib/appwrite/models/usage_gauge.rb
|
|
322
|
-
- lib/appwrite/models/usage_gauge_list.rb
|
|
325
|
+
- lib/appwrite/models/usage_billing_plan.rb
|
|
323
326
|
- lib/appwrite/models/user.rb
|
|
324
327
|
- lib/appwrite/models/user_list.rb
|
|
325
328
|
- lib/appwrite/models/variable.rb
|
|
@@ -339,7 +342,6 @@ files:
|
|
|
339
342
|
- lib/appwrite/services/databases.rb
|
|
340
343
|
- lib/appwrite/services/functions.rb
|
|
341
344
|
- lib/appwrite/services/graphql.rb
|
|
342
|
-
- lib/appwrite/services/health.rb
|
|
343
345
|
- lib/appwrite/services/locale.rb
|
|
344
346
|
- lib/appwrite/services/messaging.rb
|
|
345
347
|
- lib/appwrite/services/organization.rb
|
|
@@ -351,7 +353,6 @@ files:
|
|
|
351
353
|
- lib/appwrite/services/tables_db.rb
|
|
352
354
|
- lib/appwrite/services/teams.rb
|
|
353
355
|
- lib/appwrite/services/tokens.rb
|
|
354
|
-
- lib/appwrite/services/usage.rb
|
|
355
356
|
- lib/appwrite/services/users.rb
|
|
356
357
|
- lib/appwrite/services/webhooks.rb
|
|
357
358
|
homepage: https://appwrite.io/support
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
module Appwrite
|
|
2
|
-
module Enums
|
|
3
|
-
module HealthQueueName
|
|
4
|
-
V1_DATABASE = 'v1-database'
|
|
5
|
-
V1_DELETES = 'v1-deletes'
|
|
6
|
-
V1_AUDITS = 'v1-audits'
|
|
7
|
-
V1_MAILS = 'v1-mails'
|
|
8
|
-
V1_FUNCTIONS = 'v1-functions'
|
|
9
|
-
V1_STATS_RESOURCES = 'v1-stats-resources'
|
|
10
|
-
V1_STATS_USAGE = 'v1-stats-usage'
|
|
11
|
-
V1_WEBHOOKS = 'v1-webhooks'
|
|
12
|
-
V1_CERTIFICATES = 'v1-certificates'
|
|
13
|
-
V1_BUILDS = 'v1-builds'
|
|
14
|
-
V1_SCREENSHOTS = 'v1-screenshots'
|
|
15
|
-
V1_MESSAGING = 'v1-messaging'
|
|
16
|
-
V1_MIGRATIONS = 'v1-migrations'
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
end
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
#frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Appwrite
|
|
4
|
-
module Models
|
|
5
|
-
class HealthAntivirus
|
|
6
|
-
attr_reader :version
|
|
7
|
-
attr_reader :status
|
|
8
|
-
|
|
9
|
-
def initialize(
|
|
10
|
-
version:,
|
|
11
|
-
status:
|
|
12
|
-
)
|
|
13
|
-
@version = version
|
|
14
|
-
@status = validate_status(status)
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
def self.from(map:)
|
|
18
|
-
HealthAntivirus.new(
|
|
19
|
-
version: map["version"],
|
|
20
|
-
status: map["status"]
|
|
21
|
-
)
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
def to_map
|
|
25
|
-
{
|
|
26
|
-
"version": @version,
|
|
27
|
-
"status": @status
|
|
28
|
-
}
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
private
|
|
32
|
-
|
|
33
|
-
def validate_status(status)
|
|
34
|
-
valid_status = [
|
|
35
|
-
Appwrite::Enums::HealthAntivirusStatus::DISABLED,
|
|
36
|
-
Appwrite::Enums::HealthAntivirusStatus::OFFLINE,
|
|
37
|
-
Appwrite::Enums::HealthAntivirusStatus::ONLINE,
|
|
38
|
-
]
|
|
39
|
-
|
|
40
|
-
unless valid_status.include?(status)
|
|
41
|
-
raise ArgumentError, "Invalid " + status + ". Must be one of: " + valid_status.join(', ')
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
status
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|