appwrite 21.0.0 → 21.1.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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/appwrite/client.rb +1 -1
  3. data/lib/appwrite/enums/backup_services.rb +9 -0
  4. data/lib/appwrite/enums/build_runtime.rb +22 -3
  5. data/lib/appwrite/enums/runtime.rb +22 -3
  6. data/lib/appwrite/enums/scopes.rb +11 -0
  7. data/lib/appwrite/models/activity_event.rb +182 -0
  8. data/lib/appwrite/models/activity_event_list.rb +32 -0
  9. data/lib/appwrite/models/attribute_longtext.rb +8 -3
  10. data/lib/appwrite/models/attribute_mediumtext.rb +8 -3
  11. data/lib/appwrite/models/attribute_text.rb +8 -3
  12. data/lib/appwrite/models/attribute_varchar.rb +8 -3
  13. data/lib/appwrite/models/backup_archive.rb +82 -0
  14. data/lib/appwrite/models/backup_archive_list.rb +32 -0
  15. data/lib/appwrite/models/backup_policy.rb +77 -0
  16. data/lib/appwrite/models/backup_policy_list.rb +32 -0
  17. data/lib/appwrite/models/backup_restoration.rb +77 -0
  18. data/lib/appwrite/models/backup_restoration_list.rb +32 -0
  19. data/lib/appwrite/models/collection.rb +13 -3
  20. data/lib/appwrite/models/column_longtext.rb +8 -3
  21. data/lib/appwrite/models/column_mediumtext.rb +8 -3
  22. data/lib/appwrite/models/column_text.rb +8 -3
  23. data/lib/appwrite/models/column_varchar.rb +8 -3
  24. data/lib/appwrite/models/database.rb +13 -3
  25. data/lib/appwrite/models/table.rb +13 -3
  26. data/lib/appwrite/query.rb +18 -0
  27. data/lib/appwrite/services/activities.rb +64 -0
  28. data/lib/appwrite/services/backups.rb +383 -0
  29. data/lib/appwrite/services/databases.rb +66 -56
  30. data/lib/appwrite/services/health.rb +148 -0
  31. data/lib/appwrite/services/messaging.rb +1 -1
  32. data/lib/appwrite/services/sites.rb +2 -6
  33. data/lib/appwrite/services/storage.rb +2 -2
  34. data/lib/appwrite/services/tables_db.rb +15 -5
  35. data/lib/appwrite/services/teams.rb +2 -2
  36. data/lib/appwrite.rb +11 -1
  37. metadata +13 -3
  38. data/lib/appwrite/enums/roles.rb +0 -9
@@ -98,6 +98,34 @@ module Appwrite
98
98
  )
99
99
  end
100
100
 
101
+ # Get console pausing health status. Monitors projects approaching the pause
102
+ # threshold to detect potential issues with console access tracking.
103
+ #
104
+ #
105
+ # @param [Integer] threshold Percentage threshold of projects approaching pause. When hit (equal or higher), endpoint returns server error. Default value is 10.
106
+ # @param [Integer] inactivity_days Number of days of inactivity before a project is paused. Should match the plan's projectInactivityDays setting. Default value is 7.
107
+ #
108
+ # @return [HealthStatus]
109
+ def get_console_pausing(threshold: nil, inactivity_days: nil)
110
+ api_path = '/health/console-pausing'
111
+
112
+ api_params = {
113
+ threshold: threshold,
114
+ inactivityDays: inactivity_days,
115
+ }
116
+
117
+ api_headers = {
118
+ }
119
+
120
+ @client.call(
121
+ method: 'GET',
122
+ path: api_path,
123
+ headers: api_headers,
124
+ params: api_params,
125
+ response_type: Models::HealthStatus
126
+ )
127
+ end
128
+
101
129
  # Check the Appwrite database servers are up and connection is successful.
102
130
  #
103
131
  #
@@ -167,6 +195,54 @@ module Appwrite
167
195
  )
168
196
  end
169
197
 
198
+ # Get billing project aggregation queue.
199
+ #
200
+ # @param [Integer] threshold Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.
201
+ #
202
+ # @return [HealthQueue]
203
+ def get_queue_billing_project_aggregation(threshold: nil)
204
+ api_path = '/health/queue/billing-project-aggregation'
205
+
206
+ api_params = {
207
+ threshold: threshold,
208
+ }
209
+
210
+ api_headers = {
211
+ }
212
+
213
+ @client.call(
214
+ method: 'GET',
215
+ path: api_path,
216
+ headers: api_headers,
217
+ params: api_params,
218
+ response_type: Models::HealthQueue
219
+ )
220
+ end
221
+
222
+ # Get billing team aggregation queue.
223
+ #
224
+ # @param [Integer] threshold Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.
225
+ #
226
+ # @return [HealthQueue]
227
+ def get_queue_billing_team_aggregation(threshold: nil)
228
+ api_path = '/health/queue/billing-team-aggregation'
229
+
230
+ api_params = {
231
+ threshold: threshold,
232
+ }
233
+
234
+ api_headers = {
235
+ }
236
+
237
+ @client.call(
238
+ method: 'GET',
239
+ path: api_path,
240
+ headers: api_headers,
241
+ params: api_params,
242
+ response_type: Models::HealthQueue
243
+ )
244
+ end
245
+
170
246
  # Get the number of builds that are waiting to be processed in the Appwrite
171
247
  # internal queue server.
172
248
  #
@@ -192,6 +268,30 @@ module Appwrite
192
268
  )
193
269
  end
194
270
 
271
+ # Get the priority builds queue size.
272
+ #
273
+ # @param [Integer] threshold Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 500.
274
+ #
275
+ # @return [HealthQueue]
276
+ def get_queue_priority_builds(threshold: nil)
277
+ api_path = '/health/queue/builds-priority'
278
+
279
+ api_params = {
280
+ threshold: threshold,
281
+ }
282
+
283
+ api_headers = {
284
+ }
285
+
286
+ @client.call(
287
+ method: 'GET',
288
+ path: api_path,
289
+ headers: api_headers,
290
+ params: api_params,
291
+ response_type: Models::HealthQueue
292
+ )
293
+ end
294
+
195
295
  # Get the number of certificates that are waiting to be issued against
196
296
  # [Letsencrypt](https://letsencrypt.org/) in the Appwrite internal queue
197
297
  # server.
@@ -426,6 +526,30 @@ module Appwrite
426
526
  )
427
527
  end
428
528
 
529
+ # Get region manager queue.
530
+ #
531
+ # @param [Integer] threshold Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 100.
532
+ #
533
+ # @return [HealthQueue]
534
+ def get_queue_region_manager(threshold: nil)
535
+ api_path = '/health/queue/region-manager'
536
+
537
+ api_params = {
538
+ threshold: threshold,
539
+ }
540
+
541
+ api_headers = {
542
+ }
543
+
544
+ @client.call(
545
+ method: 'GET',
546
+ path: api_path,
547
+ headers: api_headers,
548
+ params: api_params,
549
+ response_type: Models::HealthQueue
550
+ )
551
+ end
552
+
429
553
  # Get the number of metrics that are waiting to be processed in the Appwrite
430
554
  # stats resources queue.
431
555
  #
@@ -476,6 +600,30 @@ module Appwrite
476
600
  )
477
601
  end
478
602
 
603
+ # Get threats queue.
604
+ #
605
+ # @param [Integer] threshold Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 100.
606
+ #
607
+ # @return [HealthQueue]
608
+ def get_queue_threats(threshold: nil)
609
+ api_path = '/health/queue/threats'
610
+
611
+ api_params = {
612
+ threshold: threshold,
613
+ }
614
+
615
+ api_headers = {
616
+ }
617
+
618
+ @client.call(
619
+ method: 'GET',
620
+ path: api_path,
621
+ headers: api_headers,
622
+ params: api_params,
623
+ response_type: Models::HealthQueue
624
+ )
625
+ end
626
+
479
627
  # Get the number of webhooks that are waiting to be processed in the Appwrite
480
628
  # internal queue server.
481
629
  #
@@ -1802,7 +1802,7 @@ module Appwrite
1802
1802
  # Get a list of all subscribers from the current Appwrite project.
1803
1803
  #
1804
1804
  # @param [String] topic_id Topic ID. The topic ID subscribed to.
1805
- # @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, provider, type, enabled
1805
+ # @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: targetId, topicId, userId, providerType
1806
1806
  # @param [String] search Search term to filter your list results. Max length: 256 chars.
1807
1807
  # @param [] total When set to false, the total count returned will be 0 and will not be calculated.
1808
1808
  #
@@ -360,13 +360,13 @@ module Appwrite
360
360
  #
361
361
  # @param [String] site_id Site ID.
362
362
  # @param [file] code Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.
363
- # @param [] activate Automatically activate the deployment when it is finished building.
364
363
  # @param [String] install_command Install Commands.
365
364
  # @param [String] build_command Build Commands.
366
365
  # @param [String] output_directory Output Directory.
366
+ # @param [] activate Automatically activate the deployment when it is finished building.
367
367
  #
368
368
  # @return [Deployment]
369
- def create_deployment(site_id:, code:, activate:, install_command: nil, build_command: nil, output_directory: nil, on_progress: nil)
369
+ def create_deployment(site_id:, code:, install_command: nil, build_command: nil, output_directory: nil, activate: nil, on_progress: nil)
370
370
  api_path = '/sites/{siteId}/deployments'
371
371
  .gsub('{siteId}', site_id)
372
372
 
@@ -378,10 +378,6 @@ module Appwrite
378
378
  raise Appwrite::Exception.new('Missing required parameter: "code"')
379
379
  end
380
380
 
381
- if activate.nil?
382
- raise Appwrite::Exception.new('Missing required parameter: "activate"')
383
- end
384
-
385
381
  api_params = {
386
382
  installCommand: install_command,
387
383
  buildCommand: build_command,
@@ -43,7 +43,7 @@ module Appwrite
43
43
  # @param [Array] permissions An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
44
44
  # @param [] file_security Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https://appwrite.io/docs/permissions).
45
45
  # @param [] enabled Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.
46
- # @param [Integer] maximum_file_size Maximum file size allowed in bytes. Maximum allowed value is 30MB.
46
+ # @param [Integer] maximum_file_size Maximum file size allowed in bytes. Maximum allowed value is 5GB.
47
47
  # @param [Array] allowed_file_extensions Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.
48
48
  # @param [Compression] compression Compression algorithm chosen for compression. Can be one of none, [gzip](https://en.wikipedia.org/wiki/Gzip), or [zstd](https://en.wikipedia.org/wiki/Zstd), For file size above 20MB compression is skipped even if it's enabled
49
49
  # @param [] encryption Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled
@@ -125,7 +125,7 @@ module Appwrite
125
125
  # @param [Array] permissions An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).
126
126
  # @param [] file_security Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https://appwrite.io/docs/permissions).
127
127
  # @param [] enabled Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.
128
- # @param [Integer] maximum_file_size Maximum file size allowed in bytes. Maximum allowed value is 30MB.
128
+ # @param [Integer] maximum_file_size Maximum file size allowed in bytes. Maximum allowed value is 5GB.
129
129
  # @param [Array] allowed_file_extensions Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.
130
130
  # @param [Compression] compression Compression algorithm chosen for compression. Can be one of none, [gzip](https://en.wikipedia.org/wiki/Gzip), or [zstd](https://en.wikipedia.org/wiki/Zstd), For file size above 20MB compression is skipped even if it's enabled
131
131
  # @param [] encryption Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled
@@ -1474,9 +1474,10 @@ module Appwrite
1474
1474
  # @param [] required Is column required?
1475
1475
  # @param [String] default Default value for column when not provided. Cannot be set when column is required.
1476
1476
  # @param [] array Is column an array?
1477
+ # @param [] encrypt Toggle encryption for the column. Encryption enhances security by not storing any plain text values in the database. However, encrypted columns cannot be queried.
1477
1478
  #
1478
1479
  # @return [ColumnLongtext]
1479
- def create_longtext_column(database_id:, table_id:, key:, required:, default: nil, array: nil)
1480
+ def create_longtext_column(database_id:, table_id:, key:, required:, default: nil, array: nil, encrypt: nil)
1480
1481
  api_path = '/tablesdb/{databaseId}/tables/{tableId}/columns/longtext'
1481
1482
  .gsub('{databaseId}', database_id)
1482
1483
  .gsub('{tableId}', table_id)
@@ -1502,6 +1503,7 @@ module Appwrite
1502
1503
  required: required,
1503
1504
  default: default,
1504
1505
  array: array,
1506
+ encrypt: encrypt,
1505
1507
  }
1506
1508
 
1507
1509
  api_headers = {
@@ -1583,9 +1585,10 @@ module Appwrite
1583
1585
  # @param [] required Is column required?
1584
1586
  # @param [String] default Default value for column when not provided. Cannot be set when column is required.
1585
1587
  # @param [] array Is column an array?
1588
+ # @param [] encrypt Toggle encryption for the column. Encryption enhances security by not storing any plain text values in the database. However, encrypted columns cannot be queried.
1586
1589
  #
1587
1590
  # @return [ColumnMediumtext]
1588
- def create_mediumtext_column(database_id:, table_id:, key:, required:, default: nil, array: nil)
1591
+ def create_mediumtext_column(database_id:, table_id:, key:, required:, default: nil, array: nil, encrypt: nil)
1589
1592
  api_path = '/tablesdb/{databaseId}/tables/{tableId}/columns/mediumtext'
1590
1593
  .gsub('{databaseId}', database_id)
1591
1594
  .gsub('{tableId}', table_id)
@@ -1611,6 +1614,7 @@ module Appwrite
1611
1614
  required: required,
1612
1615
  default: default,
1613
1616
  array: array,
1617
+ encrypt: encrypt,
1614
1618
  }
1615
1619
 
1616
1620
  api_headers = {
@@ -2076,9 +2080,10 @@ module Appwrite
2076
2080
  # @param [] required Is column required?
2077
2081
  # @param [String] default Default value for column when not provided. Cannot be set when column is required.
2078
2082
  # @param [] array Is column an array?
2083
+ # @param [] encrypt Toggle encryption for the column. Encryption enhances security by not storing any plain text values in the database. However, encrypted columns cannot be queried.
2079
2084
  #
2080
2085
  # @return [ColumnText]
2081
- def create_text_column(database_id:, table_id:, key:, required:, default: nil, array: nil)
2086
+ def create_text_column(database_id:, table_id:, key:, required:, default: nil, array: nil, encrypt: nil)
2082
2087
  api_path = '/tablesdb/{databaseId}/tables/{tableId}/columns/text'
2083
2088
  .gsub('{databaseId}', database_id)
2084
2089
  .gsub('{tableId}', table_id)
@@ -2104,6 +2109,7 @@ module Appwrite
2104
2109
  required: required,
2105
2110
  default: default,
2106
2111
  array: array,
2112
+ encrypt: encrypt,
2107
2113
  }
2108
2114
 
2109
2115
  api_headers = {
@@ -2295,9 +2301,10 @@ module Appwrite
2295
2301
  # @param [] required Is column required?
2296
2302
  # @param [String] default Default value for column when not provided. Cannot be set when column is required.
2297
2303
  # @param [] array Is column an array?
2304
+ # @param [] encrypt Toggle encryption for the column. Encryption enhances security by not storing any plain text values in the database. However, encrypted columns cannot be queried.
2298
2305
  #
2299
2306
  # @return [ColumnVarchar]
2300
- def create_varchar_column(database_id:, table_id:, key:, size:, required:, default: nil, array: nil)
2307
+ def create_varchar_column(database_id:, table_id:, key:, size:, required:, default: nil, array: nil, encrypt: nil)
2301
2308
  api_path = '/tablesdb/{databaseId}/tables/{tableId}/columns/varchar'
2302
2309
  .gsub('{databaseId}', database_id)
2303
2310
  .gsub('{tableId}', table_id)
@@ -2328,6 +2335,7 @@ module Appwrite
2328
2335
  required: required,
2329
2336
  default: default,
2330
2337
  array: array,
2338
+ encrypt: encrypt,
2331
2339
  }
2332
2340
 
2333
2341
  api_headers = {
@@ -2714,9 +2722,10 @@ module Appwrite
2714
2722
  # @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.
2715
2723
  # @param [String] transaction_id Transaction ID to read uncommitted changes within the transaction.
2716
2724
  # @param [] total When set to false, the total count returned will be 0 and will not be calculated.
2725
+ # @param [Integer] ttl TTL (seconds) for cached responses when caching is enabled for select queries. Must be between 0 and 86400 (24 hours).
2717
2726
  #
2718
2727
  # @return [RowList]
2719
- def list_rows(database_id:, table_id:, queries: nil, transaction_id: nil, total: nil)
2728
+ def list_rows(database_id:, table_id:, queries: nil, transaction_id: nil, total: nil, ttl: nil)
2720
2729
  api_path = '/tablesdb/{databaseId}/tables/{tableId}/rows'
2721
2730
  .gsub('{databaseId}', database_id)
2722
2731
  .gsub('{tableId}', table_id)
@@ -2733,6 +2742,7 @@ module Appwrite
2733
2742
  queries: queries,
2734
2743
  transactionId: transaction_id,
2735
2744
  total: total,
2745
+ ttl: ttl,
2736
2746
  }
2737
2747
 
2738
2748
  api_headers = {
@@ -226,7 +226,7 @@ module Appwrite
226
226
  #
227
227
  #
228
228
  # @param [String] team_id Team ID.
229
- # @param [Array] roles Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 32 characters long.
229
+ # @param [Array] roles Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 81 characters long.
230
230
  # @param [String] email Email of the new team member.
231
231
  # @param [String] user_id ID of the user to be added to a team.
232
232
  # @param [String] phone Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
@@ -311,7 +311,7 @@ module Appwrite
311
311
  #
312
312
  # @param [String] team_id Team ID.
313
313
  # @param [String] membership_id Membership ID.
314
- # @param [Array] roles An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 32 characters long.
314
+ # @param [Array] roles An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 81 characters long.
315
315
  #
316
316
  # @return [Membership]
317
317
  def update_membership(team_id:, membership_id:, roles:)
data/lib/appwrite.rb CHANGED
@@ -144,6 +144,14 @@ require_relative 'appwrite/models/topic'
144
144
  require_relative 'appwrite/models/transaction'
145
145
  require_relative 'appwrite/models/subscriber'
146
146
  require_relative 'appwrite/models/target'
147
+ require_relative 'appwrite/models/activity_event'
148
+ require_relative 'appwrite/models/backup_archive'
149
+ require_relative 'appwrite/models/backup_policy'
150
+ require_relative 'appwrite/models/backup_restoration'
151
+ require_relative 'appwrite/models/activity_event_list'
152
+ require_relative 'appwrite/models/backup_archive_list'
153
+ require_relative 'appwrite/models/backup_policy_list'
154
+ require_relative 'appwrite/models/backup_restoration_list'
147
155
 
148
156
  require_relative 'appwrite/enums/authenticator_type'
149
157
  require_relative 'appwrite/enums/authentication_factor'
@@ -155,6 +163,7 @@ require_relative 'appwrite/enums/theme'
155
163
  require_relative 'appwrite/enums/timezone'
156
164
  require_relative 'appwrite/enums/browser_permission'
157
165
  require_relative 'appwrite/enums/image_format'
166
+ require_relative 'appwrite/enums/backup_services'
158
167
  require_relative 'appwrite/enums/relationship_type'
159
168
  require_relative 'appwrite/enums/relation_mutate'
160
169
  require_relative 'appwrite/enums/index_type'
@@ -173,7 +182,6 @@ require_relative 'appwrite/enums/build_runtime'
173
182
  require_relative 'appwrite/enums/adapter'
174
183
  require_relative 'appwrite/enums/compression'
175
184
  require_relative 'appwrite/enums/image_gravity'
176
- require_relative 'appwrite/enums/roles'
177
185
  require_relative 'appwrite/enums/password_hash'
178
186
  require_relative 'appwrite/enums/messaging_provider_type'
179
187
  require_relative 'appwrite/enums/database_type'
@@ -188,7 +196,9 @@ require_relative 'appwrite/enums/health_check_status'
188
196
  require_relative 'appwrite/enums/message_status'
189
197
 
190
198
  require_relative 'appwrite/services/account'
199
+ require_relative 'appwrite/services/activities'
191
200
  require_relative 'appwrite/services/avatars'
201
+ require_relative 'appwrite/services/backups'
192
202
  require_relative 'appwrite/services/databases'
193
203
  require_relative 'appwrite/services/functions'
194
204
  require_relative 'appwrite/services/graphql'
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: 21.0.0
4
+ version: 21.1.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-02-02 00:00:00.000000000 Z
11
+ date: 2026-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types
@@ -36,6 +36,7 @@ files:
36
36
  - lib/appwrite/enums/attribute_status.rb
37
37
  - lib/appwrite/enums/authentication_factor.rb
38
38
  - lib/appwrite/enums/authenticator_type.rb
39
+ - lib/appwrite/enums/backup_services.rb
39
40
  - lib/appwrite/enums/browser.rb
40
41
  - lib/appwrite/enums/browser_permission.rb
41
42
  - lib/appwrite/enums/build_runtime.rb
@@ -65,7 +66,6 @@ files:
65
66
  - lib/appwrite/enums/password_hash.rb
66
67
  - lib/appwrite/enums/relation_mutate.rb
67
68
  - lib/appwrite/enums/relationship_type.rb
68
- - lib/appwrite/enums/roles.rb
69
69
  - lib/appwrite/enums/runtime.rb
70
70
  - lib/appwrite/enums/scopes.rb
71
71
  - lib/appwrite/enums/smtp_encryption.rb
@@ -76,6 +76,8 @@ files:
76
76
  - lib/appwrite/exception.rb
77
77
  - lib/appwrite/id.rb
78
78
  - lib/appwrite/input_file.rb
79
+ - lib/appwrite/models/activity_event.rb
80
+ - lib/appwrite/models/activity_event_list.rb
79
81
  - lib/appwrite/models/algo_argon2.rb
80
82
  - lib/appwrite/models/algo_bcrypt.rb
81
83
  - lib/appwrite/models/algo_md5.rb
@@ -101,6 +103,12 @@ files:
101
103
  - lib/appwrite/models/attribute_text.rb
102
104
  - lib/appwrite/models/attribute_url.rb
103
105
  - lib/appwrite/models/attribute_varchar.rb
106
+ - lib/appwrite/models/backup_archive.rb
107
+ - lib/appwrite/models/backup_archive_list.rb
108
+ - lib/appwrite/models/backup_policy.rb
109
+ - lib/appwrite/models/backup_policy_list.rb
110
+ - lib/appwrite/models/backup_restoration.rb
111
+ - lib/appwrite/models/backup_restoration_list.rb
104
112
  - lib/appwrite/models/bucket.rb
105
113
  - lib/appwrite/models/bucket_list.rb
106
114
  - lib/appwrite/models/collection.rb
@@ -213,7 +221,9 @@ files:
213
221
  - lib/appwrite/role.rb
214
222
  - lib/appwrite/service.rb
215
223
  - lib/appwrite/services/account.rb
224
+ - lib/appwrite/services/activities.rb
216
225
  - lib/appwrite/services/avatars.rb
226
+ - lib/appwrite/services/backups.rb
217
227
  - lib/appwrite/services/databases.rb
218
228
  - lib/appwrite/services/functions.rb
219
229
  - lib/appwrite/services/graphql.rb
@@ -1,9 +0,0 @@
1
- module Appwrite
2
- module Enums
3
- module Roles
4
- ADMIN = 'admin'
5
- DEVELOPER = 'developer'
6
- OWNER = 'owner'
7
- end
8
- end
9
- end