appwrite 21.1.0 → 23.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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/lib/appwrite/client.rb +48 -2
  3. data/lib/appwrite/enums/backup_services.rb +3 -0
  4. data/lib/appwrite/enums/build_runtime.rb +2 -0
  5. data/lib/appwrite/enums/database_type.rb +2 -0
  6. data/lib/appwrite/enums/databases_index_type.rb +10 -0
  7. data/lib/appwrite/enums/o_auth_provider.rb +1 -0
  8. data/lib/appwrite/enums/platform_type.rb +11 -0
  9. data/lib/appwrite/enums/protocol_id.rb +9 -0
  10. data/lib/appwrite/enums/runtime.rb +2 -0
  11. data/lib/appwrite/enums/scopes.rb +8 -0
  12. data/lib/appwrite/enums/service_id.rb +23 -0
  13. data/lib/appwrite/enums/{index_type.rb → tables_db_index_type.rb} +1 -1
  14. data/lib/appwrite/enums/template_reference_type.rb +1 -1
  15. data/lib/appwrite/models/auth_provider.rb +47 -0
  16. data/lib/appwrite/models/billing_limits.rb +62 -0
  17. data/lib/appwrite/models/block.rb +47 -0
  18. data/lib/appwrite/models/database.rb +2 -0
  19. data/lib/appwrite/models/dev_key.rb +62 -0
  20. data/lib/appwrite/models/function.rb +15 -5
  21. data/lib/appwrite/models/key.rb +67 -0
  22. data/lib/appwrite/models/key_list.rb +32 -0
  23. data/lib/appwrite/models/log.rb +5 -0
  24. data/lib/appwrite/models/mock_number.rb +32 -0
  25. data/lib/appwrite/models/platform_android.rb +71 -0
  26. data/lib/appwrite/models/platform_apple.rb +71 -0
  27. data/lib/appwrite/models/platform_linux.rb +71 -0
  28. data/lib/appwrite/models/platform_list.rb +32 -0
  29. data/lib/appwrite/models/platform_web.rb +71 -0
  30. data/lib/appwrite/models/platform_windows.rb +71 -0
  31. data/lib/appwrite/models/project.rb +412 -0
  32. data/lib/appwrite/models/site.rb +20 -5
  33. data/lib/appwrite/models/user.rb +13 -3
  34. data/lib/appwrite/models/webhook.rb +87 -0
  35. data/lib/appwrite/models/webhook_list.rb +32 -0
  36. data/lib/appwrite/service.rb +1 -1
  37. data/lib/appwrite/services/account.rb +47 -2
  38. data/lib/appwrite/services/activities.rb +3 -1
  39. data/lib/appwrite/services/avatars.rb +9 -1
  40. data/lib/appwrite/services/backups.rb +13 -1
  41. data/lib/appwrite/services/databases.rb +133 -7
  42. data/lib/appwrite/services/functions.rb +41 -7
  43. data/lib/appwrite/services/graphql.rb +5 -3
  44. data/lib/appwrite/services/health.rb +22 -117
  45. data/lib/appwrite/services/locale.rb +9 -1
  46. data/lib/appwrite/services/messaging.rb +49 -1
  47. data/lib/appwrite/services/project.rb +1011 -0
  48. data/lib/appwrite/services/sites.rb +44 -7
  49. data/lib/appwrite/services/storage.rb +14 -1
  50. data/lib/appwrite/services/tables_db.rb +133 -7
  51. data/lib/appwrite/services/teams.rb +14 -1
  52. data/lib/appwrite/services/tokens.rb +6 -1
  53. data/lib/appwrite/services/users.rb +85 -2
  54. data/lib/appwrite/services/webhooks.rb +249 -0
  55. data/lib/appwrite.rb +23 -1
  56. metadata +25 -3
@@ -34,6 +34,7 @@ module Appwrite
34
34
  params: api_params,
35
35
  response_type: Models::DatabaseList
36
36
  )
37
+
37
38
  end
38
39
 
39
40
  # Create a new Database.
@@ -72,6 +73,7 @@ module Appwrite
72
73
  params: api_params,
73
74
  response_type: Models::Database
74
75
  )
76
+
75
77
  end
76
78
 
77
79
  # List transactions across all databases.
@@ -96,6 +98,7 @@ module Appwrite
96
98
  params: api_params,
97
99
  response_type: Models::TransactionList
98
100
  )
101
+
99
102
  end
100
103
 
101
104
  # Create a new transaction.
@@ -121,6 +124,7 @@ module Appwrite
121
124
  params: api_params,
122
125
  response_type: Models::Transaction
123
126
  )
127
+
124
128
  end
125
129
 
126
130
  # Get a transaction by its unique ID.
@@ -149,6 +153,7 @@ module Appwrite
149
153
  params: api_params,
150
154
  response_type: Models::Transaction
151
155
  )
156
+
152
157
  end
153
158
 
154
159
  # Update a transaction, to either commit or roll back its operations.
@@ -182,6 +187,7 @@ module Appwrite
182
187
  params: api_params,
183
188
  response_type: Models::Transaction
184
189
  )
190
+
185
191
  end
186
192
 
187
193
  # Delete a transaction by its unique ID.
@@ -210,6 +216,7 @@ module Appwrite
210
216
  headers: api_headers,
211
217
  params: api_params,
212
218
  )
219
+
213
220
  end
214
221
 
215
222
  # Create multiple operations in a single transaction.
@@ -241,6 +248,7 @@ module Appwrite
241
248
  params: api_params,
242
249
  response_type: Models::Transaction
243
250
  )
251
+
244
252
  end
245
253
 
246
254
  # Get a database by its unique ID. This endpoint response returns a JSON
@@ -270,6 +278,7 @@ module Appwrite
270
278
  params: api_params,
271
279
  response_type: Models::Database
272
280
  )
281
+
273
282
  end
274
283
 
275
284
  # Update a database by its unique ID.
@@ -303,6 +312,7 @@ module Appwrite
303
312
  params: api_params,
304
313
  response_type: Models::Database
305
314
  )
315
+
306
316
  end
307
317
 
308
318
  # Delete a database by its unique ID. Only API keys with with databases.write
@@ -332,6 +342,7 @@ module Appwrite
332
342
  headers: api_headers,
333
343
  params: api_params,
334
344
  )
345
+
335
346
  end
336
347
 
337
348
  # Get a list of all tables that belong to the provided databaseId. You can
@@ -367,6 +378,7 @@ module Appwrite
367
378
  params: api_params,
368
379
  response_type: Models::TableList
369
380
  )
381
+
370
382
  end
371
383
 
372
384
  # Create a new Table. Before using this route, you should create a new
@@ -421,6 +433,7 @@ module Appwrite
421
433
  params: api_params,
422
434
  response_type: Models::Table
423
435
  )
436
+
424
437
  end
425
438
 
426
439
  # Get a table by its unique ID. This endpoint response returns a JSON object
@@ -456,6 +469,7 @@ module Appwrite
456
469
  params: api_params,
457
470
  response_type: Models::Table
458
471
  )
472
+
459
473
  end
460
474
 
461
475
  # Update a table by its unique ID.
@@ -466,9 +480,10 @@ module Appwrite
466
480
  # @param [Array] permissions An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).
467
481
  # @param [] row_security Enables configuring permissions for individual rows. A user needs one of row or table-level permissions to access a row. [Learn more about permissions](https://appwrite.io/docs/permissions).
468
482
  # @param [] enabled Is table enabled? When set to 'disabled', users cannot access the table but Server SDKs with and API key can still read and write to the table. No data is lost when this is toggled.
483
+ # @param [] purge When true, purge all cached list responses for this table as part of the update. Use this to force readers to see fresh data immediately instead of waiting for the cache TTL to expire.
469
484
  #
470
485
  # @return [Table]
471
- def update_table(database_id:, table_id:, name: nil, permissions: nil, row_security: nil, enabled: nil)
486
+ def update_table(database_id:, table_id:, name: nil, permissions: nil, row_security: nil, enabled: nil, purge: nil)
472
487
  api_path = '/tablesdb/{databaseId}/tables/{tableId}'
473
488
  .gsub('{databaseId}', database_id)
474
489
  .gsub('{tableId}', table_id)
@@ -486,6 +501,7 @@ module Appwrite
486
501
  permissions: permissions,
487
502
  rowSecurity: row_security,
488
503
  enabled: enabled,
504
+ purge: purge,
489
505
  }
490
506
 
491
507
  api_headers = {
@@ -499,6 +515,7 @@ module Appwrite
499
515
  params: api_params,
500
516
  response_type: Models::Table
501
517
  )
518
+
502
519
  end
503
520
 
504
521
  # Delete a table by its unique ID. Only users with write permissions have
@@ -534,6 +551,7 @@ module Appwrite
534
551
  headers: api_headers,
535
552
  params: api_params,
536
553
  )
554
+
537
555
  end
538
556
 
539
557
  # List columns in the table.
@@ -572,6 +590,7 @@ module Appwrite
572
590
  params: api_params,
573
591
  response_type: Models::ColumnList
574
592
  )
593
+
575
594
  end
576
595
 
577
596
  # Create a boolean column.
@@ -624,6 +643,7 @@ module Appwrite
624
643
  params: api_params,
625
644
  response_type: Models::ColumnBoolean
626
645
  )
646
+
627
647
  end
628
648
 
629
649
  # Update a boolean column. Changing the `default` value will not update
@@ -680,6 +700,7 @@ module Appwrite
680
700
  params: api_params,
681
701
  response_type: Models::ColumnBoolean
682
702
  )
703
+
683
704
  end
684
705
 
685
706
  # Create a date time column according to the ISO 8601 standard.
@@ -731,6 +752,7 @@ module Appwrite
731
752
  params: api_params,
732
753
  response_type: Models::ColumnDatetime
733
754
  )
755
+
734
756
  end
735
757
 
736
758
  # Update a date time column. Changing the `default` value will not update
@@ -787,6 +809,7 @@ module Appwrite
787
809
  params: api_params,
788
810
  response_type: Models::ColumnDatetime
789
811
  )
812
+
790
813
  end
791
814
 
792
815
  # Create an email column.
@@ -839,6 +862,7 @@ module Appwrite
839
862
  params: api_params,
840
863
  response_type: Models::ColumnEmail
841
864
  )
865
+
842
866
  end
843
867
 
844
868
  # Update an email column. Changing the `default` value will not update
@@ -896,6 +920,7 @@ module Appwrite
896
920
  params: api_params,
897
921
  response_type: Models::ColumnEmail
898
922
  )
923
+
899
924
  end
900
925
 
901
926
  # Create an enumeration column. The `elements` param acts as a white-list of
@@ -954,6 +979,7 @@ module Appwrite
954
979
  params: api_params,
955
980
  response_type: Models::ColumnEnum
956
981
  )
982
+
957
983
  end
958
984
 
959
985
  # Update an enum column. Changing the `default` value will not update already
@@ -1017,6 +1043,7 @@ module Appwrite
1017
1043
  params: api_params,
1018
1044
  response_type: Models::ColumnEnum
1019
1045
  )
1046
+
1020
1047
  end
1021
1048
 
1022
1049
  # Create a float column. Optionally, minimum and maximum values can be
@@ -1074,6 +1101,7 @@ module Appwrite
1074
1101
  params: api_params,
1075
1102
  response_type: Models::ColumnFloat
1076
1103
  )
1104
+
1077
1105
  end
1078
1106
 
1079
1107
  # Update a float column. Changing the `default` value will not update already
@@ -1135,6 +1163,7 @@ module Appwrite
1135
1163
  params: api_params,
1136
1164
  response_type: Models::ColumnFloat
1137
1165
  )
1166
+
1138
1167
  end
1139
1168
 
1140
1169
  # Create an integer column. Optionally, minimum and maximum values can be
@@ -1192,6 +1221,7 @@ module Appwrite
1192
1221
  params: api_params,
1193
1222
  response_type: Models::ColumnInteger
1194
1223
  )
1224
+
1195
1225
  end
1196
1226
 
1197
1227
  # Update an integer column. Changing the `default` value will not update
@@ -1253,6 +1283,7 @@ module Appwrite
1253
1283
  params: api_params,
1254
1284
  response_type: Models::ColumnInteger
1255
1285
  )
1286
+
1256
1287
  end
1257
1288
 
1258
1289
  # Create IP address column.
@@ -1305,6 +1336,7 @@ module Appwrite
1305
1336
  params: api_params,
1306
1337
  response_type: Models::ColumnIp
1307
1338
  )
1339
+
1308
1340
  end
1309
1341
 
1310
1342
  # Update an ip column. Changing the `default` value will not update already
@@ -1362,6 +1394,7 @@ module Appwrite
1362
1394
  params: api_params,
1363
1395
  response_type: Models::ColumnIp
1364
1396
  )
1397
+
1365
1398
  end
1366
1399
 
1367
1400
  # Create a geometric line column.
@@ -1411,6 +1444,7 @@ module Appwrite
1411
1444
  params: api_params,
1412
1445
  response_type: Models::ColumnLine
1413
1446
  )
1447
+
1414
1448
  end
1415
1449
 
1416
1450
  # Update a line column. Changing the `default` value will not update already
@@ -1463,6 +1497,7 @@ module Appwrite
1463
1497
  params: api_params,
1464
1498
  response_type: Models::ColumnLine
1465
1499
  )
1500
+
1466
1501
  end
1467
1502
 
1468
1503
  # Create a longtext column.
@@ -1517,6 +1552,7 @@ module Appwrite
1517
1552
  params: api_params,
1518
1553
  response_type: Models::ColumnLongtext
1519
1554
  )
1555
+
1520
1556
  end
1521
1557
 
1522
1558
  # Update a longtext column. Changing the `default` value will not update
@@ -1574,6 +1610,7 @@ module Appwrite
1574
1610
  params: api_params,
1575
1611
  response_type: Models::ColumnLongtext
1576
1612
  )
1613
+
1577
1614
  end
1578
1615
 
1579
1616
  # Create a mediumtext column.
@@ -1628,6 +1665,7 @@ module Appwrite
1628
1665
  params: api_params,
1629
1666
  response_type: Models::ColumnMediumtext
1630
1667
  )
1668
+
1631
1669
  end
1632
1670
 
1633
1671
  # Update a mediumtext column. Changing the `default` value will not update
@@ -1685,6 +1723,7 @@ module Appwrite
1685
1723
  params: api_params,
1686
1724
  response_type: Models::ColumnMediumtext
1687
1725
  )
1726
+
1688
1727
  end
1689
1728
 
1690
1729
  # Create a geometric point column.
@@ -1734,6 +1773,7 @@ module Appwrite
1734
1773
  params: api_params,
1735
1774
  response_type: Models::ColumnPoint
1736
1775
  )
1776
+
1737
1777
  end
1738
1778
 
1739
1779
  # Update a point column. Changing the `default` value will not update already
@@ -1786,6 +1826,7 @@ module Appwrite
1786
1826
  params: api_params,
1787
1827
  response_type: Models::ColumnPoint
1788
1828
  )
1829
+
1789
1830
  end
1790
1831
 
1791
1832
  # Create a geometric polygon column.
@@ -1835,6 +1876,7 @@ module Appwrite
1835
1876
  params: api_params,
1836
1877
  response_type: Models::ColumnPolygon
1837
1878
  )
1879
+
1838
1880
  end
1839
1881
 
1840
1882
  # Update a polygon column. Changing the `default` value will not update
@@ -1887,6 +1929,7 @@ module Appwrite
1887
1929
  params: api_params,
1888
1930
  response_type: Models::ColumnPolygon
1889
1931
  )
1932
+
1890
1933
  end
1891
1934
 
1892
1935
  # Create relationship column. [Learn more about relationship
@@ -1944,6 +1987,7 @@ module Appwrite
1944
1987
  params: api_params,
1945
1988
  response_type: Models::ColumnRelationship
1946
1989
  )
1990
+
1947
1991
  end
1948
1992
 
1949
1993
  #
@@ -2007,6 +2051,7 @@ module Appwrite
2007
2051
  params: api_params,
2008
2052
  response_type: Models::ColumnString
2009
2053
  )
2054
+
2010
2055
  end
2011
2056
 
2012
2057
  #
@@ -2069,6 +2114,7 @@ module Appwrite
2069
2114
  params: api_params,
2070
2115
  response_type: Models::ColumnString
2071
2116
  )
2117
+
2072
2118
  end
2073
2119
 
2074
2120
  # Create a text column.
@@ -2123,6 +2169,7 @@ module Appwrite
2123
2169
  params: api_params,
2124
2170
  response_type: Models::ColumnText
2125
2171
  )
2172
+
2126
2173
  end
2127
2174
 
2128
2175
  # Update a text column. Changing the `default` value will not update already
@@ -2180,6 +2227,7 @@ module Appwrite
2180
2227
  params: api_params,
2181
2228
  response_type: Models::ColumnText
2182
2229
  )
2230
+
2183
2231
  end
2184
2232
 
2185
2233
  # Create a URL column.
@@ -2232,6 +2280,7 @@ module Appwrite
2232
2280
  params: api_params,
2233
2281
  response_type: Models::ColumnUrl
2234
2282
  )
2283
+
2235
2284
  end
2236
2285
 
2237
2286
  # Update an url column. Changing the `default` value will not update already
@@ -2289,6 +2338,7 @@ module Appwrite
2289
2338
  params: api_params,
2290
2339
  response_type: Models::ColumnUrl
2291
2340
  )
2341
+
2292
2342
  end
2293
2343
 
2294
2344
  # Create a varchar column.
@@ -2349,6 +2399,7 @@ module Appwrite
2349
2399
  params: api_params,
2350
2400
  response_type: Models::ColumnVarchar
2351
2401
  )
2402
+
2352
2403
  end
2353
2404
 
2354
2405
  # Update a varchar column. Changing the `default` value will not update
@@ -2408,6 +2459,7 @@ module Appwrite
2408
2459
  params: api_params,
2409
2460
  response_type: Models::ColumnVarchar
2410
2461
  )
2462
+
2411
2463
  end
2412
2464
 
2413
2465
  # Get column by ID.
@@ -2416,7 +2468,7 @@ module Appwrite
2416
2468
  # @param [String] table_id Table ID.
2417
2469
  # @param [String] key Column Key.
2418
2470
  #
2419
- # @return []
2471
+ # @return [ColumnBoolean, ColumnInteger, ColumnFloat, ColumnEmail, ColumnEnum, ColumnUrl, ColumnIp, ColumnDatetime, ColumnRelationship, ColumnString]
2420
2472
  def get_column(database_id:, table_id:, key:)
2421
2473
  api_path = '/tablesdb/{databaseId}/tables/{tableId}/columns/{key}'
2422
2474
  .gsub('{databaseId}', database_id)
@@ -2441,13 +2493,69 @@ module Appwrite
2441
2493
  api_headers = {
2442
2494
  }
2443
2495
 
2444
- @client.call(
2496
+ response = @client.call(
2445
2497
  method: 'GET',
2446
2498
  path: api_path,
2447
2499
  headers: api_headers,
2448
2500
  params: api_params,
2449
- response_type: Models::ColumnBoolean
2450
2501
  )
2502
+
2503
+ unless response.is_a?(Hash)
2504
+ raise Exception, "Expected object response when hydrating a response model"
2505
+ end
2506
+
2507
+ if response['type'] == 'string' && response['format'] == 'email'
2508
+
2509
+ return Models::ColumnEmail.from(map: response)
2510
+ end
2511
+
2512
+ if response['type'] == 'string' && response['format'] == 'enum'
2513
+
2514
+ return Models::ColumnEnum.from(map: response)
2515
+ end
2516
+
2517
+ if response['type'] == 'string' && response['format'] == 'url'
2518
+
2519
+ return Models::ColumnUrl.from(map: response)
2520
+ end
2521
+
2522
+ if response['type'] == 'string' && response['format'] == 'ip'
2523
+
2524
+ return Models::ColumnIp.from(map: response)
2525
+ end
2526
+
2527
+ if response['type'] == 'boolean'
2528
+
2529
+ return Models::ColumnBoolean.from(map: response)
2530
+ end
2531
+
2532
+ if response['type'] == 'integer'
2533
+
2534
+ return Models::ColumnInteger.from(map: response)
2535
+ end
2536
+
2537
+ if response['type'] == 'double'
2538
+
2539
+ return Models::ColumnFloat.from(map: response)
2540
+ end
2541
+
2542
+ if response['type'] == 'datetime'
2543
+
2544
+ return Models::ColumnDatetime.from(map: response)
2545
+ end
2546
+
2547
+ if response['type'] == 'relationship'
2548
+
2549
+ return Models::ColumnRelationship.from(map: response)
2550
+ end
2551
+
2552
+ if response['type'] == 'string'
2553
+
2554
+ return Models::ColumnString.from(map: response)
2555
+ end
2556
+
2557
+ raise Exception, "Unable to match response to any expected response model"
2558
+
2451
2559
  end
2452
2560
 
2453
2561
  # Deletes a column.
@@ -2488,6 +2596,7 @@ module Appwrite
2488
2596
  headers: api_headers,
2489
2597
  params: api_params,
2490
2598
  )
2599
+
2491
2600
  end
2492
2601
 
2493
2602
  # Update relationship column. [Learn more about relationship
@@ -2535,6 +2644,7 @@ module Appwrite
2535
2644
  params: api_params,
2536
2645
  response_type: Models::ColumnRelationship
2537
2646
  )
2647
+
2538
2648
  end
2539
2649
 
2540
2650
  # List indexes on the table.
@@ -2573,6 +2683,7 @@ module Appwrite
2573
2683
  params: api_params,
2574
2684
  response_type: Models::ColumnIndexList
2575
2685
  )
2686
+
2576
2687
  end
2577
2688
 
2578
2689
  # Creates an index on the columns listed. Your index should include all the
@@ -2582,7 +2693,7 @@ module Appwrite
2582
2693
  # @param [String] database_id Database ID.
2583
2694
  # @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
2584
2695
  # @param [String] key Index Key.
2585
- # @param [IndexType] type Index type.
2696
+ # @param [TablesDBIndexType] type Index type.
2586
2697
  # @param [Array] columns Array of columns to index. Maximum of 100 columns are allowed, each 32 characters long.
2587
2698
  # @param [Array] orders Array of index orders. Maximum of 100 orders are allowed.
2588
2699
  # @param [Array] lengths Length of index. Maximum of 100
@@ -2632,6 +2743,7 @@ module Appwrite
2632
2743
  params: api_params,
2633
2744
  response_type: Models::ColumnIndex
2634
2745
  )
2746
+
2635
2747
  end
2636
2748
 
2637
2749
  # Get index by ID.
@@ -2672,6 +2784,7 @@ module Appwrite
2672
2784
  params: api_params,
2673
2785
  response_type: Models::ColumnIndex
2674
2786
  )
2787
+
2675
2788
  end
2676
2789
 
2677
2790
  # Delete an index.
@@ -2712,6 +2825,7 @@ module Appwrite
2712
2825
  headers: api_headers,
2713
2826
  params: api_params,
2714
2827
  )
2828
+
2715
2829
  end
2716
2830
 
2717
2831
  # Get a list of all the user's rows in a given table. You can use the query
@@ -2722,7 +2836,7 @@ module Appwrite
2722
2836
  # @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.
2723
2837
  # @param [String] transaction_id Transaction ID to read uncommitted changes within the transaction.
2724
2838
  # @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).
2839
+ # @param [Integer] ttl TTL (seconds) for caching list responses. Responses are stored in an in-memory key-value cache, keyed per project, table, schema version (columns and indexes), caller authorization roles, and the exact query — so users with different permissions never share cached entries. Schema changes invalidate cached entries automatically; row writes do not, so choose a TTL you are comfortable serving as stale data. Set to 0 to disable caching. Must be between 0 and 86400 (24 hours).
2726
2840
  #
2727
2841
  # @return [RowList]
2728
2842
  def list_rows(database_id:, table_id:, queries: nil, transaction_id: nil, total: nil, ttl: nil)
@@ -2755,6 +2869,7 @@ module Appwrite
2755
2869
  params: api_params,
2756
2870
  response_type: Models::RowList
2757
2871
  )
2872
+
2758
2873
  end
2759
2874
 
2760
2875
  # Create a new Row. Before using this route, you should create a new table
@@ -2809,6 +2924,7 @@ module Appwrite
2809
2924
  params: api_params,
2810
2925
  response_type: Models::Row
2811
2926
  )
2927
+
2812
2928
  end
2813
2929
 
2814
2930
  # Create new Rows. Before using this route, you should create a new table
@@ -2855,6 +2971,7 @@ module Appwrite
2855
2971
  params: api_params,
2856
2972
  response_type: Models::RowList
2857
2973
  )
2974
+
2858
2975
  end
2859
2976
 
2860
2977
  # Create or update Rows. Before using this route, you should create a new
@@ -2902,6 +3019,7 @@ module Appwrite
2902
3019
  params: api_params,
2903
3020
  response_type: Models::RowList
2904
3021
  )
3022
+
2905
3023
  end
2906
3024
 
2907
3025
  # Update all rows that match your queries, if no queries are submitted then
@@ -2944,6 +3062,7 @@ module Appwrite
2944
3062
  params: api_params,
2945
3063
  response_type: Models::RowList
2946
3064
  )
3065
+
2947
3066
  end
2948
3067
 
2949
3068
  # Bulk delete rows using queries, if no queries are passed then all rows are
@@ -2984,6 +3103,7 @@ module Appwrite
2984
3103
  params: api_params,
2985
3104
  response_type: Models::RowList
2986
3105
  )
3106
+
2987
3107
  end
2988
3108
 
2989
3109
  # Get a row by its unique ID. This endpoint response returns a JSON object
@@ -3029,6 +3149,7 @@ module Appwrite
3029
3149
  params: api_params,
3030
3150
  response_type: Models::Row
3031
3151
  )
3152
+
3032
3153
  end
3033
3154
 
3034
3155
  # Create or update a Row. Before using this route, you should create a new
@@ -3079,6 +3200,7 @@ module Appwrite
3079
3200
  params: api_params,
3080
3201
  response_type: Models::Row
3081
3202
  )
3203
+
3082
3204
  end
3083
3205
 
3084
3206
  # Update a row by its unique ID. Using the patch method you can pass only
@@ -3127,6 +3249,7 @@ module Appwrite
3127
3249
  params: api_params,
3128
3250
  response_type: Models::Row
3129
3251
  )
3252
+
3130
3253
  end
3131
3254
 
3132
3255
  # Delete a row by its unique ID.
@@ -3169,6 +3292,7 @@ module Appwrite
3169
3292
  headers: api_headers,
3170
3293
  params: api_params,
3171
3294
  )
3295
+
3172
3296
  end
3173
3297
 
3174
3298
  # Decrement a specific column of a row by a given value.
@@ -3222,6 +3346,7 @@ module Appwrite
3222
3346
  params: api_params,
3223
3347
  response_type: Models::Row
3224
3348
  )
3349
+
3225
3350
  end
3226
3351
 
3227
3352
  # Increment a specific column of a row by a given value.
@@ -3275,7 +3400,8 @@ module Appwrite
3275
3400
  params: api_params,
3276
3401
  response_type: Models::Row
3277
3402
  )
3403
+
3278
3404
  end
3279
3405
 
3280
3406
  end
3281
- end
3407
+ end