appwrite 11.0.2 → 13.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/appwrite/client.rb +54 -76
- data/lib/appwrite/enums/image_format.rb +1 -0
- data/lib/appwrite/enums/name.rb +1 -2
- data/lib/appwrite/enums/runtime.rb +4 -0
- data/lib/appwrite/models/attribute_boolean.rb +10 -0
- data/lib/appwrite/models/attribute_datetime.rb +10 -0
- data/lib/appwrite/models/attribute_email.rb +10 -0
- data/lib/appwrite/models/attribute_enum.rb +10 -0
- data/lib/appwrite/models/attribute_float.rb +10 -0
- data/lib/appwrite/models/attribute_integer.rb +10 -0
- data/lib/appwrite/models/attribute_ip.rb +10 -0
- data/lib/appwrite/models/attribute_relationship.rb +10 -0
- data/lib/appwrite/models/attribute_string.rb +10 -0
- data/lib/appwrite/models/attribute_url.rb +10 -0
- data/lib/appwrite/models/build.rb +67 -0
- data/lib/appwrite/models/deployment.rb +5 -0
- data/lib/appwrite/models/document.rb +4 -9
- data/lib/appwrite/models/document_list.rb +1 -2
- data/lib/appwrite/models/execution.rb +8 -3
- data/lib/appwrite/models/function.rb +13 -3
- data/lib/appwrite/models/index.rb +13 -3
- data/lib/appwrite/models/preferences.rb +4 -9
- data/lib/appwrite/models/runtime.rb +5 -0
- data/lib/appwrite/models/specification.rb +42 -0
- data/lib/appwrite/models/specification_list.rb +32 -0
- data/lib/appwrite/multipart.rb +127 -0
- data/lib/appwrite/payload.rb +94 -0
- data/lib/appwrite/services/account.rb +52 -58
- data/lib/appwrite/services/avatars.rb +23 -21
- data/lib/appwrite/services/databases.rb +136 -114
- data/lib/appwrite/services/functions.rb +174 -72
- data/lib/appwrite/services/graphql.rb +2 -2
- data/lib/appwrite/services/health.rb +15 -15
- data/lib/appwrite/services/messaging.rb +225 -225
- data/lib/appwrite/services/storage.rb +40 -40
- data/lib/appwrite/services/teams.rb +19 -19
- data/lib/appwrite/services/users.rb +104 -68
- data/lib/appwrite.rb +5 -1
- metadata +7 -3
- data/lib/appwrite/input_file.rb +0 -33
@@ -18,8 +18,8 @@ module Appwrite
|
|
18
18
|
api_path = '/storage/buckets'
|
19
19
|
|
20
20
|
api_params = {
|
21
|
-
|
22
|
-
|
21
|
+
queries: queries,
|
22
|
+
search: search,
|
23
23
|
}
|
24
24
|
|
25
25
|
api_headers = {
|
@@ -62,16 +62,16 @@ module Appwrite
|
|
62
62
|
end
|
63
63
|
|
64
64
|
api_params = {
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
65
|
+
bucketId: bucket_id,
|
66
|
+
name: name,
|
67
|
+
permissions: permissions,
|
68
|
+
fileSecurity: file_security,
|
69
|
+
enabled: enabled,
|
70
|
+
maximumFileSize: maximum_file_size,
|
71
|
+
allowedFileExtensions: allowed_file_extensions,
|
72
|
+
compression: compression,
|
73
|
+
encryption: encryption,
|
74
|
+
antivirus: antivirus,
|
75
75
|
}
|
76
76
|
|
77
77
|
api_headers = {
|
@@ -146,15 +146,15 @@ module Appwrite
|
|
146
146
|
end
|
147
147
|
|
148
148
|
api_params = {
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
149
|
+
name: name,
|
150
|
+
permissions: permissions,
|
151
|
+
fileSecurity: file_security,
|
152
|
+
enabled: enabled,
|
153
|
+
maximumFileSize: maximum_file_size,
|
154
|
+
allowedFileExtensions: allowed_file_extensions,
|
155
|
+
compression: compression,
|
156
|
+
encryption: encryption,
|
157
|
+
antivirus: antivirus,
|
158
158
|
}
|
159
159
|
|
160
160
|
api_headers = {
|
@@ -217,8 +217,8 @@ module Appwrite
|
|
217
217
|
end
|
218
218
|
|
219
219
|
api_params = {
|
220
|
-
|
221
|
-
|
220
|
+
queries: queries,
|
221
|
+
search: search,
|
222
222
|
}
|
223
223
|
|
224
224
|
api_headers = {
|
@@ -256,7 +256,7 @@ module Appwrite
|
|
256
256
|
#
|
257
257
|
# @param [String] bucket_id Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https://appwrite.io/docs/server/storage#createBucket).
|
258
258
|
# @param [String] file_id File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
|
259
|
-
# @param [
|
259
|
+
# @param [Payload] file Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https://appwrite.io/docs/products/storage/upload-download#input-file).
|
260
260
|
# @param [Array] permissions An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
261
261
|
#
|
262
262
|
# @return [File]
|
@@ -277,9 +277,9 @@ module Appwrite
|
|
277
277
|
end
|
278
278
|
|
279
279
|
api_params = {
|
280
|
-
|
281
|
-
|
282
|
-
|
280
|
+
fileId: file_id,
|
281
|
+
file: file,
|
282
|
+
permissions: permissions,
|
283
283
|
}
|
284
284
|
|
285
285
|
api_headers = {
|
@@ -361,8 +361,8 @@ module Appwrite
|
|
361
361
|
end
|
362
362
|
|
363
363
|
api_params = {
|
364
|
-
|
365
|
-
|
364
|
+
name: name,
|
365
|
+
permissions: permissions,
|
366
366
|
}
|
367
367
|
|
368
368
|
api_headers = {
|
@@ -487,17 +487,17 @@ module Appwrite
|
|
487
487
|
end
|
488
488
|
|
489
489
|
api_params = {
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
490
|
+
width: width,
|
491
|
+
height: height,
|
492
|
+
gravity: gravity,
|
493
|
+
quality: quality,
|
494
|
+
borderWidth: border_width,
|
495
|
+
borderColor: border_color,
|
496
|
+
borderRadius: border_radius,
|
497
|
+
opacity: opacity,
|
498
|
+
rotation: rotation,
|
499
|
+
background: background,
|
500
|
+
output: output,
|
501
501
|
}
|
502
502
|
|
503
503
|
api_headers = {
|
@@ -18,8 +18,8 @@ module Appwrite
|
|
18
18
|
api_path = '/teams'
|
19
19
|
|
20
20
|
api_params = {
|
21
|
-
|
22
|
-
|
21
|
+
queries: queries,
|
22
|
+
search: search,
|
23
23
|
}
|
24
24
|
|
25
25
|
api_headers = {
|
@@ -57,9 +57,9 @@ module Appwrite
|
|
57
57
|
end
|
58
58
|
|
59
59
|
api_params = {
|
60
|
-
|
61
|
-
|
62
|
-
|
60
|
+
teamId: team_id,
|
61
|
+
name: name,
|
62
|
+
roles: roles,
|
63
63
|
}
|
64
64
|
|
65
65
|
api_headers = {
|
@@ -125,7 +125,7 @@ module Appwrite
|
|
125
125
|
end
|
126
126
|
|
127
127
|
api_params = {
|
128
|
-
|
128
|
+
name: name,
|
129
129
|
}
|
130
130
|
|
131
131
|
api_headers = {
|
@@ -189,8 +189,8 @@ module Appwrite
|
|
189
189
|
end
|
190
190
|
|
191
191
|
api_params = {
|
192
|
-
|
193
|
-
|
192
|
+
queries: queries,
|
193
|
+
search: search,
|
194
194
|
}
|
195
195
|
|
196
196
|
api_headers = {
|
@@ -234,7 +234,7 @@ module Appwrite
|
|
234
234
|
# @param [String] email Email of the new team member.
|
235
235
|
# @param [String] user_id ID of the user to be added to a team.
|
236
236
|
# @param [String] phone Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
|
237
|
-
# @param [String] url URL to redirect the user back to your app from the invitation email.
|
237
|
+
# @param [String] url URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.
|
238
238
|
# @param [String] name Name of the new team member. Max length: 128 chars.
|
239
239
|
#
|
240
240
|
# @return [Membership]
|
@@ -251,12 +251,12 @@ module Appwrite
|
|
251
251
|
end
|
252
252
|
|
253
253
|
api_params = {
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
254
|
+
email: email,
|
255
|
+
userId: user_id,
|
256
|
+
phone: phone,
|
257
|
+
roles: roles,
|
258
|
+
url: url,
|
259
|
+
name: name,
|
260
260
|
}
|
261
261
|
|
262
262
|
api_headers = {
|
@@ -338,7 +338,7 @@ module Appwrite
|
|
338
338
|
end
|
339
339
|
|
340
340
|
api_params = {
|
341
|
-
|
341
|
+
roles: roles,
|
342
342
|
}
|
343
343
|
|
344
344
|
api_headers = {
|
@@ -428,8 +428,8 @@ module Appwrite
|
|
428
428
|
end
|
429
429
|
|
430
430
|
api_params = {
|
431
|
-
|
432
|
-
|
431
|
+
userId: user_id,
|
432
|
+
secret: secret,
|
433
433
|
}
|
434
434
|
|
435
435
|
api_headers = {
|
@@ -499,7 +499,7 @@ module Appwrite
|
|
499
499
|
end
|
500
500
|
|
501
501
|
api_params = {
|
502
|
-
|
502
|
+
prefs: prefs,
|
503
503
|
}
|
504
504
|
|
505
505
|
api_headers = {
|
@@ -18,8 +18,8 @@ module Appwrite
|
|
18
18
|
api_path = '/users'
|
19
19
|
|
20
20
|
api_params = {
|
21
|
-
|
22
|
-
|
21
|
+
queries: queries,
|
22
|
+
search: search,
|
23
23
|
}
|
24
24
|
|
25
25
|
api_headers = {
|
@@ -53,11 +53,11 @@ module Appwrite
|
|
53
53
|
end
|
54
54
|
|
55
55
|
api_params = {
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
56
|
+
userId: user_id,
|
57
|
+
email: email,
|
58
|
+
phone: phone,
|
59
|
+
password: password,
|
60
|
+
name: name,
|
61
61
|
}
|
62
62
|
|
63
63
|
api_headers = {
|
@@ -101,10 +101,10 @@ module Appwrite
|
|
101
101
|
end
|
102
102
|
|
103
103
|
api_params = {
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
104
|
+
userId: user_id,
|
105
|
+
email: email,
|
106
|
+
password: password,
|
107
|
+
name: name,
|
108
108
|
}
|
109
109
|
|
110
110
|
api_headers = {
|
@@ -148,10 +148,10 @@ module Appwrite
|
|
148
148
|
end
|
149
149
|
|
150
150
|
api_params = {
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
151
|
+
userId: user_id,
|
152
|
+
email: email,
|
153
|
+
password: password,
|
154
|
+
name: name,
|
155
155
|
}
|
156
156
|
|
157
157
|
api_headers = {
|
@@ -178,8 +178,8 @@ module Appwrite
|
|
178
178
|
api_path = '/users/identities'
|
179
179
|
|
180
180
|
api_params = {
|
181
|
-
|
182
|
-
|
181
|
+
queries: queries,
|
182
|
+
search: search,
|
183
183
|
}
|
184
184
|
|
185
185
|
api_headers = {
|
@@ -252,10 +252,10 @@ module Appwrite
|
|
252
252
|
end
|
253
253
|
|
254
254
|
api_params = {
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
255
|
+
userId: user_id,
|
256
|
+
email: email,
|
257
|
+
password: password,
|
258
|
+
name: name,
|
259
259
|
}
|
260
260
|
|
261
261
|
api_headers = {
|
@@ -299,10 +299,10 @@ module Appwrite
|
|
299
299
|
end
|
300
300
|
|
301
301
|
api_params = {
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
302
|
+
userId: user_id,
|
303
|
+
email: email,
|
304
|
+
password: password,
|
305
|
+
name: name,
|
306
306
|
}
|
307
307
|
|
308
308
|
api_headers = {
|
@@ -371,15 +371,15 @@ module Appwrite
|
|
371
371
|
end
|
372
372
|
|
373
373
|
api_params = {
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
374
|
+
userId: user_id,
|
375
|
+
email: email,
|
376
|
+
password: password,
|
377
|
+
passwordSalt: password_salt,
|
378
|
+
passwordCpu: password_cpu,
|
379
|
+
passwordMemory: password_memory,
|
380
|
+
passwordParallel: password_parallel,
|
381
|
+
passwordLength: password_length,
|
382
|
+
name: name,
|
383
383
|
}
|
384
384
|
|
385
385
|
api_headers = {
|
@@ -439,13 +439,13 @@ module Appwrite
|
|
439
439
|
end
|
440
440
|
|
441
441
|
api_params = {
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
442
|
+
userId: user_id,
|
443
|
+
email: email,
|
444
|
+
password: password,
|
445
|
+
passwordSalt: password_salt,
|
446
|
+
passwordSaltSeparator: password_salt_separator,
|
447
|
+
passwordSignerKey: password_signer_key,
|
448
|
+
name: name,
|
449
449
|
}
|
450
450
|
|
451
451
|
api_headers = {
|
@@ -490,11 +490,11 @@ module Appwrite
|
|
490
490
|
end
|
491
491
|
|
492
492
|
api_params = {
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
493
|
+
userId: user_id,
|
494
|
+
email: email,
|
495
|
+
password: password,
|
496
|
+
passwordVersion: password_version,
|
497
|
+
name: name,
|
498
498
|
}
|
499
499
|
|
500
500
|
api_headers = {
|
@@ -594,7 +594,7 @@ module Appwrite
|
|
594
594
|
end
|
595
595
|
|
596
596
|
api_params = {
|
597
|
-
|
597
|
+
email: email,
|
598
598
|
}
|
599
599
|
|
600
600
|
api_headers = {
|
@@ -611,6 +611,42 @@ module Appwrite
|
|
611
611
|
end
|
612
612
|
|
613
613
|
|
614
|
+
# Use this endpoint to create a JSON Web Token for user by its unique ID. You
|
615
|
+
# can use the resulting JWT to authenticate on behalf of the user. The JWT
|
616
|
+
# secret will become invalid if the session it uses gets deleted.
|
617
|
+
#
|
618
|
+
# @param [String] user_id User ID.
|
619
|
+
# @param [String] session_id Session ID. Use the string 'recent' to use the most recent session. Defaults to the most recent session.
|
620
|
+
# @param [Integer] duration Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.
|
621
|
+
#
|
622
|
+
# @return [Jwt]
|
623
|
+
def create_jwt(user_id:, session_id: nil, duration: nil)
|
624
|
+
api_path = '/users/{userId}/jwts'
|
625
|
+
.gsub('{userId}', user_id)
|
626
|
+
|
627
|
+
if user_id.nil?
|
628
|
+
raise Appwrite::Exception.new('Missing required parameter: "userId"')
|
629
|
+
end
|
630
|
+
|
631
|
+
api_params = {
|
632
|
+
sessionId: session_id,
|
633
|
+
duration: duration,
|
634
|
+
}
|
635
|
+
|
636
|
+
api_headers = {
|
637
|
+
"content-type": 'application/json',
|
638
|
+
}
|
639
|
+
|
640
|
+
@client.call(
|
641
|
+
method: 'POST',
|
642
|
+
path: api_path,
|
643
|
+
headers: api_headers,
|
644
|
+
params: api_params,
|
645
|
+
response_type: Models::Jwt
|
646
|
+
)
|
647
|
+
end
|
648
|
+
|
649
|
+
|
614
650
|
# Update the user labels by its unique ID.
|
615
651
|
#
|
616
652
|
# Labels can be used to grant access to resources. While teams are a way for
|
@@ -635,7 +671,7 @@ module Appwrite
|
|
635
671
|
end
|
636
672
|
|
637
673
|
api_params = {
|
638
|
-
|
674
|
+
labels: labels,
|
639
675
|
}
|
640
676
|
|
641
677
|
api_headers = {
|
@@ -667,7 +703,7 @@ module Appwrite
|
|
667
703
|
end
|
668
704
|
|
669
705
|
api_params = {
|
670
|
-
|
706
|
+
queries: queries,
|
671
707
|
}
|
672
708
|
|
673
709
|
api_headers = {
|
@@ -733,7 +769,7 @@ module Appwrite
|
|
733
769
|
end
|
734
770
|
|
735
771
|
api_params = {
|
736
|
-
|
772
|
+
mfa: mfa,
|
737
773
|
}
|
738
774
|
|
739
775
|
api_headers = {
|
@@ -934,7 +970,7 @@ module Appwrite
|
|
934
970
|
end
|
935
971
|
|
936
972
|
api_params = {
|
937
|
-
|
973
|
+
name: name,
|
938
974
|
}
|
939
975
|
|
940
976
|
api_headers = {
|
@@ -970,7 +1006,7 @@ module Appwrite
|
|
970
1006
|
end
|
971
1007
|
|
972
1008
|
api_params = {
|
973
|
-
|
1009
|
+
password: password,
|
974
1010
|
}
|
975
1011
|
|
976
1012
|
api_headers = {
|
@@ -1006,7 +1042,7 @@ module Appwrite
|
|
1006
1042
|
end
|
1007
1043
|
|
1008
1044
|
api_params = {
|
1009
|
-
|
1045
|
+
number: number,
|
1010
1046
|
}
|
1011
1047
|
|
1012
1048
|
api_headers = {
|
@@ -1074,7 +1110,7 @@ module Appwrite
|
|
1074
1110
|
end
|
1075
1111
|
|
1076
1112
|
api_params = {
|
1077
|
-
|
1113
|
+
prefs: prefs,
|
1078
1114
|
}
|
1079
1115
|
|
1080
1116
|
api_headers = {
|
@@ -1240,7 +1276,7 @@ module Appwrite
|
|
1240
1276
|
end
|
1241
1277
|
|
1242
1278
|
api_params = {
|
1243
|
-
|
1279
|
+
status: status,
|
1244
1280
|
}
|
1245
1281
|
|
1246
1282
|
api_headers = {
|
@@ -1272,7 +1308,7 @@ module Appwrite
|
|
1272
1308
|
end
|
1273
1309
|
|
1274
1310
|
api_params = {
|
1275
|
-
|
1311
|
+
queries: queries,
|
1276
1312
|
}
|
1277
1313
|
|
1278
1314
|
api_headers = {
|
@@ -1320,11 +1356,11 @@ module Appwrite
|
|
1320
1356
|
end
|
1321
1357
|
|
1322
1358
|
api_params = {
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1359
|
+
targetId: target_id,
|
1360
|
+
providerType: provider_type,
|
1361
|
+
identifier: identifier,
|
1362
|
+
providerId: provider_id,
|
1363
|
+
name: name,
|
1328
1364
|
}
|
1329
1365
|
|
1330
1366
|
api_headers = {
|
@@ -1400,9 +1436,9 @@ module Appwrite
|
|
1400
1436
|
end
|
1401
1437
|
|
1402
1438
|
api_params = {
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1439
|
+
identifier: identifier,
|
1440
|
+
providerId: provider_id,
|
1441
|
+
name: name,
|
1406
1442
|
}
|
1407
1443
|
|
1408
1444
|
api_headers = {
|
@@ -1474,8 +1510,8 @@ module Appwrite
|
|
1474
1510
|
end
|
1475
1511
|
|
1476
1512
|
api_params = {
|
1477
|
-
|
1478
|
-
|
1513
|
+
length: length,
|
1514
|
+
expire: expire,
|
1479
1515
|
}
|
1480
1516
|
|
1481
1517
|
api_headers = {
|
@@ -1511,7 +1547,7 @@ module Appwrite
|
|
1511
1547
|
end
|
1512
1548
|
|
1513
1549
|
api_params = {
|
1514
|
-
|
1550
|
+
emailVerification: email_verification,
|
1515
1551
|
}
|
1516
1552
|
|
1517
1553
|
api_headers = {
|
@@ -1547,7 +1583,7 @@ module Appwrite
|
|
1547
1583
|
end
|
1548
1584
|
|
1549
1585
|
api_params = {
|
1550
|
-
|
1586
|
+
phoneVerification: phone_verification,
|
1551
1587
|
}
|
1552
1588
|
|
1553
1589
|
api_headers = {
|
data/lib/appwrite.rb
CHANGED
@@ -6,7 +6,8 @@ require 'mime/types'
|
|
6
6
|
require_relative 'appwrite/client'
|
7
7
|
require_relative 'appwrite/service'
|
8
8
|
require_relative 'appwrite/exception'
|
9
|
-
require_relative 'appwrite/
|
9
|
+
require_relative 'appwrite/payload'
|
10
|
+
require_relative 'appwrite/multipart'
|
10
11
|
require_relative 'appwrite/query'
|
11
12
|
require_relative 'appwrite/permission'
|
12
13
|
require_relative 'appwrite/role'
|
@@ -40,6 +41,7 @@ require_relative 'appwrite/models/message_list'
|
|
40
41
|
require_relative 'appwrite/models/topic_list'
|
41
42
|
require_relative 'appwrite/models/subscriber_list'
|
42
43
|
require_relative 'appwrite/models/target_list'
|
44
|
+
require_relative 'appwrite/models/specification_list'
|
43
45
|
require_relative 'appwrite/models/database'
|
44
46
|
require_relative 'appwrite/models/collection'
|
45
47
|
require_relative 'appwrite/models/attribute_list'
|
@@ -79,6 +81,7 @@ require_relative 'appwrite/models/function'
|
|
79
81
|
require_relative 'appwrite/models/runtime'
|
80
82
|
require_relative 'appwrite/models/deployment'
|
81
83
|
require_relative 'appwrite/models/execution'
|
84
|
+
require_relative 'appwrite/models/build'
|
82
85
|
require_relative 'appwrite/models/variable'
|
83
86
|
require_relative 'appwrite/models/country'
|
84
87
|
require_relative 'appwrite/models/continent'
|
@@ -91,6 +94,7 @@ require_relative 'appwrite/models/health_status'
|
|
91
94
|
require_relative 'appwrite/models/health_certificate'
|
92
95
|
require_relative 'appwrite/models/health_time'
|
93
96
|
require_relative 'appwrite/models/headers'
|
97
|
+
require_relative 'appwrite/models/specification'
|
94
98
|
require_relative 'appwrite/models/mfa_challenge'
|
95
99
|
require_relative 'appwrite/models/mfa_recovery_codes'
|
96
100
|
require_relative 'appwrite/models/mfa_type'
|
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: 13.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: 2024-
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mime-types
|
@@ -52,7 +52,6 @@ files:
|
|
52
52
|
- lib/appwrite/enums/smtp_encryption.rb
|
53
53
|
- lib/appwrite/exception.rb
|
54
54
|
- lib/appwrite/id.rb
|
55
|
-
- lib/appwrite/input_file.rb
|
56
55
|
- lib/appwrite/models/algo_argon2.rb
|
57
56
|
- lib/appwrite/models/algo_bcrypt.rb
|
58
57
|
- lib/appwrite/models/algo_md5.rb
|
@@ -73,6 +72,7 @@ files:
|
|
73
72
|
- lib/appwrite/models/attribute_url.rb
|
74
73
|
- lib/appwrite/models/bucket.rb
|
75
74
|
- lib/appwrite/models/bucket_list.rb
|
75
|
+
- lib/appwrite/models/build.rb
|
76
76
|
- lib/appwrite/models/collection.rb
|
77
77
|
- lib/appwrite/models/collection_list.rb
|
78
78
|
- lib/appwrite/models/continent.rb
|
@@ -128,6 +128,8 @@ files:
|
|
128
128
|
- lib/appwrite/models/runtime_list.rb
|
129
129
|
- lib/appwrite/models/session.rb
|
130
130
|
- lib/appwrite/models/session_list.rb
|
131
|
+
- lib/appwrite/models/specification.rb
|
132
|
+
- lib/appwrite/models/specification_list.rb
|
131
133
|
- lib/appwrite/models/subscriber.rb
|
132
134
|
- lib/appwrite/models/subscriber_list.rb
|
133
135
|
- lib/appwrite/models/target.rb
|
@@ -141,6 +143,8 @@ files:
|
|
141
143
|
- lib/appwrite/models/user_list.rb
|
142
144
|
- lib/appwrite/models/variable.rb
|
143
145
|
- lib/appwrite/models/variable_list.rb
|
146
|
+
- lib/appwrite/multipart.rb
|
147
|
+
- lib/appwrite/payload.rb
|
144
148
|
- lib/appwrite/permission.rb
|
145
149
|
- lib/appwrite/query.rb
|
146
150
|
- lib/appwrite/role.rb
|