node-appwrite 19.2.0-rc.1 → 20.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 (111) hide show
  1. package/dist/client.d.mts +10 -0
  2. package/dist/client.d.ts +10 -0
  3. package/dist/client.js +2 -2
  4. package/dist/client.js.map +1 -1
  5. package/dist/client.mjs +2 -2
  6. package/dist/client.mjs.map +1 -1
  7. package/dist/enums/attribute-status.d.mts +9 -0
  8. package/dist/enums/attribute-status.d.ts +9 -0
  9. package/dist/enums/attribute-status.js +14 -0
  10. package/dist/enums/attribute-status.js.map +1 -0
  11. package/dist/enums/attribute-status.mjs +13 -0
  12. package/dist/enums/attribute-status.mjs.map +1 -0
  13. package/dist/enums/column-status.d.mts +9 -0
  14. package/dist/enums/column-status.d.ts +9 -0
  15. package/dist/enums/column-status.js +14 -0
  16. package/dist/enums/column-status.js.map +1 -0
  17. package/dist/enums/column-status.mjs +13 -0
  18. package/dist/enums/column-status.mjs.map +1 -0
  19. package/dist/enums/database-type.d.mts +6 -0
  20. package/dist/enums/database-type.d.ts +6 -0
  21. package/dist/enums/database-type.js +11 -0
  22. package/dist/enums/database-type.js.map +1 -0
  23. package/dist/enums/database-type.mjs +10 -0
  24. package/dist/enums/database-type.mjs.map +1 -0
  25. package/dist/enums/deployment-status.d.mts +9 -0
  26. package/dist/enums/deployment-status.d.ts +9 -0
  27. package/dist/enums/deployment-status.js +14 -0
  28. package/dist/enums/deployment-status.js.map +1 -0
  29. package/dist/enums/deployment-status.mjs +13 -0
  30. package/dist/enums/deployment-status.mjs.map +1 -0
  31. package/dist/enums/execution-status.d.mts +8 -0
  32. package/dist/enums/execution-status.d.ts +8 -0
  33. package/dist/enums/execution-status.js +13 -0
  34. package/dist/enums/execution-status.js.map +1 -0
  35. package/dist/enums/execution-status.mjs +12 -0
  36. package/dist/enums/execution-status.mjs.map +1 -0
  37. package/dist/enums/execution-trigger.d.mts +7 -0
  38. package/dist/enums/execution-trigger.d.ts +7 -0
  39. package/dist/enums/execution-trigger.js +12 -0
  40. package/dist/enums/execution-trigger.js.map +1 -0
  41. package/dist/enums/execution-trigger.mjs +11 -0
  42. package/dist/enums/execution-trigger.mjs.map +1 -0
  43. package/dist/enums/health-antivirus-status.d.mts +7 -0
  44. package/dist/enums/health-antivirus-status.d.ts +7 -0
  45. package/dist/enums/health-antivirus-status.js +12 -0
  46. package/dist/enums/health-antivirus-status.js.map +1 -0
  47. package/dist/enums/health-antivirus-status.mjs +11 -0
  48. package/dist/enums/health-antivirus-status.mjs.map +1 -0
  49. package/dist/enums/health-check-status.d.mts +6 -0
  50. package/dist/enums/health-check-status.d.ts +6 -0
  51. package/dist/enums/health-check-status.js +11 -0
  52. package/dist/enums/health-check-status.js.map +1 -0
  53. package/dist/enums/health-check-status.mjs +10 -0
  54. package/dist/enums/health-check-status.mjs.map +1 -0
  55. package/dist/enums/index-status.d.mts +9 -0
  56. package/dist/enums/index-status.d.ts +9 -0
  57. package/dist/enums/index-status.js +14 -0
  58. package/dist/enums/index-status.js.map +1 -0
  59. package/dist/enums/index-status.mjs +13 -0
  60. package/dist/enums/index-status.mjs.map +1 -0
  61. package/dist/enums/message-status.d.mts +9 -0
  62. package/dist/enums/message-status.d.ts +9 -0
  63. package/dist/enums/message-status.js +14 -0
  64. package/dist/enums/message-status.js.map +1 -0
  65. package/dist/enums/message-status.mjs +13 -0
  66. package/dist/enums/message-status.mjs.map +1 -0
  67. package/dist/index.d.mts +10 -0
  68. package/dist/index.d.ts +10 -0
  69. package/dist/index.js +50 -0
  70. package/dist/index.js.map +1 -1
  71. package/dist/index.mjs +10 -0
  72. package/dist/index.mjs.map +1 -1
  73. package/dist/models.d.mts +45 -76
  74. package/dist/models.d.ts +45 -76
  75. package/dist/services/account.d.mts +10 -0
  76. package/dist/services/account.d.ts +10 -0
  77. package/dist/services/avatars.d.mts +10 -0
  78. package/dist/services/avatars.d.ts +10 -0
  79. package/dist/services/databases.d.mts +24 -173
  80. package/dist/services/databases.d.ts +24 -173
  81. package/dist/services/databases.js +12 -239
  82. package/dist/services/databases.js.map +1 -1
  83. package/dist/services/databases.mjs +12 -239
  84. package/dist/services/databases.mjs.map +1 -1
  85. package/dist/services/functions.d.mts +10 -0
  86. package/dist/services/functions.d.ts +10 -0
  87. package/dist/services/graphql.d.mts +10 -0
  88. package/dist/services/graphql.d.ts +10 -0
  89. package/dist/services/health.d.mts +10 -0
  90. package/dist/services/health.d.ts +10 -0
  91. package/dist/services/locale.d.mts +10 -0
  92. package/dist/services/locale.d.ts +10 -0
  93. package/dist/services/messaging.d.mts +10 -0
  94. package/dist/services/messaging.d.ts +10 -0
  95. package/dist/services/sites.d.mts +10 -0
  96. package/dist/services/sites.d.ts +10 -0
  97. package/dist/services/storage.d.mts +10 -0
  98. package/dist/services/storage.d.ts +10 -0
  99. package/dist/services/tables-db.d.mts +22 -171
  100. package/dist/services/tables-db.d.ts +22 -171
  101. package/dist/services/tables-db.js +12 -239
  102. package/dist/services/tables-db.js.map +1 -1
  103. package/dist/services/tables-db.mjs +12 -239
  104. package/dist/services/tables-db.mjs.map +1 -1
  105. package/dist/services/teams.d.mts +10 -0
  106. package/dist/services/teams.d.ts +10 -0
  107. package/dist/services/tokens.d.mts +10 -0
  108. package/dist/services/tokens.d.ts +10 -0
  109. package/dist/services/users.d.mts +10 -0
  110. package/dist/services/users.d.ts +10 -0
  111. package/package.json +1 -1
@@ -77,173 +77,6 @@ class TablesDB {
77
77
  payload
78
78
  );
79
79
  }
80
- listTransactions(paramsOrFirst) {
81
- let params;
82
- if (!paramsOrFirst || paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
83
- params = paramsOrFirst || {};
84
- } else {
85
- params = {
86
- queries: paramsOrFirst
87
- };
88
- }
89
- const queries = params.queries;
90
- const apiPath = "/tablesdb/transactions";
91
- const payload = {};
92
- if (typeof queries !== "undefined") {
93
- payload["queries"] = queries;
94
- }
95
- const uri = new URL(this.client.config.endpoint + apiPath);
96
- const apiHeaders = {};
97
- return this.client.call(
98
- "get",
99
- uri,
100
- apiHeaders,
101
- payload
102
- );
103
- }
104
- createTransaction(paramsOrFirst) {
105
- let params;
106
- if (!paramsOrFirst || paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
107
- params = paramsOrFirst || {};
108
- } else {
109
- params = {
110
- ttl: paramsOrFirst
111
- };
112
- }
113
- const ttl = params.ttl;
114
- const apiPath = "/tablesdb/transactions";
115
- const payload = {};
116
- if (typeof ttl !== "undefined") {
117
- payload["ttl"] = ttl;
118
- }
119
- const uri = new URL(this.client.config.endpoint + apiPath);
120
- const apiHeaders = {
121
- "content-type": "application/json"
122
- };
123
- return this.client.call(
124
- "post",
125
- uri,
126
- apiHeaders,
127
- payload
128
- );
129
- }
130
- getTransaction(paramsOrFirst) {
131
- let params;
132
- if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
133
- params = paramsOrFirst || {};
134
- } else {
135
- params = {
136
- transactionId: paramsOrFirst
137
- };
138
- }
139
- const transactionId = params.transactionId;
140
- if (typeof transactionId === "undefined") {
141
- throw new client.AppwriteException('Missing required parameter: "transactionId"');
142
- }
143
- const apiPath = "/tablesdb/transactions/{transactionId}".replace("{transactionId}", transactionId);
144
- const payload = {};
145
- const uri = new URL(this.client.config.endpoint + apiPath);
146
- const apiHeaders = {};
147
- return this.client.call(
148
- "get",
149
- uri,
150
- apiHeaders,
151
- payload
152
- );
153
- }
154
- updateTransaction(paramsOrFirst, ...rest) {
155
- let params;
156
- if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
157
- params = paramsOrFirst || {};
158
- } else {
159
- params = {
160
- transactionId: paramsOrFirst,
161
- commit: rest[0],
162
- rollback: rest[1]
163
- };
164
- }
165
- const transactionId = params.transactionId;
166
- const commit = params.commit;
167
- const rollback = params.rollback;
168
- if (typeof transactionId === "undefined") {
169
- throw new client.AppwriteException('Missing required parameter: "transactionId"');
170
- }
171
- const apiPath = "/tablesdb/transactions/{transactionId}".replace("{transactionId}", transactionId);
172
- const payload = {};
173
- if (typeof commit !== "undefined") {
174
- payload["commit"] = commit;
175
- }
176
- if (typeof rollback !== "undefined") {
177
- payload["rollback"] = rollback;
178
- }
179
- const uri = new URL(this.client.config.endpoint + apiPath);
180
- const apiHeaders = {
181
- "content-type": "application/json"
182
- };
183
- return this.client.call(
184
- "patch",
185
- uri,
186
- apiHeaders,
187
- payload
188
- );
189
- }
190
- deleteTransaction(paramsOrFirst) {
191
- let params;
192
- if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
193
- params = paramsOrFirst || {};
194
- } else {
195
- params = {
196
- transactionId: paramsOrFirst
197
- };
198
- }
199
- const transactionId = params.transactionId;
200
- if (typeof transactionId === "undefined") {
201
- throw new client.AppwriteException('Missing required parameter: "transactionId"');
202
- }
203
- const apiPath = "/tablesdb/transactions/{transactionId}".replace("{transactionId}", transactionId);
204
- const payload = {};
205
- const uri = new URL(this.client.config.endpoint + apiPath);
206
- const apiHeaders = {
207
- "content-type": "application/json"
208
- };
209
- return this.client.call(
210
- "delete",
211
- uri,
212
- apiHeaders,
213
- payload
214
- );
215
- }
216
- createOperations(paramsOrFirst, ...rest) {
217
- let params;
218
- if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
219
- params = paramsOrFirst || {};
220
- } else {
221
- params = {
222
- transactionId: paramsOrFirst,
223
- operations: rest[0]
224
- };
225
- }
226
- const transactionId = params.transactionId;
227
- const operations = params.operations;
228
- if (typeof transactionId === "undefined") {
229
- throw new client.AppwriteException('Missing required parameter: "transactionId"');
230
- }
231
- const apiPath = "/tablesdb/transactions/{transactionId}/operations".replace("{transactionId}", transactionId);
232
- const payload = {};
233
- if (typeof operations !== "undefined") {
234
- payload["operations"] = operations;
235
- }
236
- const uri = new URL(this.client.config.endpoint + apiPath);
237
- const apiHeaders = {
238
- "content-type": "application/json"
239
- };
240
- return this.client.call(
241
- "post",
242
- uri,
243
- apiHeaders,
244
- payload
245
- );
246
- }
247
80
  get(paramsOrFirst) {
248
81
  let params;
249
82
  if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
@@ -2350,14 +2183,12 @@ class TablesDB {
2350
2183
  params = {
2351
2184
  databaseId: paramsOrFirst,
2352
2185
  tableId: rest[0],
2353
- queries: rest[1],
2354
- transactionId: rest[2]
2186
+ queries: rest[1]
2355
2187
  };
2356
2188
  }
2357
2189
  const databaseId = params.databaseId;
2358
2190
  const tableId = params.tableId;
2359
2191
  const queries = params.queries;
2360
- const transactionId = params.transactionId;
2361
2192
  if (typeof databaseId === "undefined") {
2362
2193
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2363
2194
  }
@@ -2369,9 +2200,6 @@ class TablesDB {
2369
2200
  if (typeof queries !== "undefined") {
2370
2201
  payload["queries"] = queries;
2371
2202
  }
2372
- if (typeof transactionId !== "undefined") {
2373
- payload["transactionId"] = transactionId;
2374
- }
2375
2203
  const uri = new URL(this.client.config.endpoint + apiPath);
2376
2204
  const apiHeaders = {};
2377
2205
  return this.client.call(
@@ -2391,8 +2219,7 @@ class TablesDB {
2391
2219
  tableId: rest[0],
2392
2220
  rowId: rest[1],
2393
2221
  data: rest[2],
2394
- permissions: rest[3],
2395
- transactionId: rest[4]
2222
+ permissions: rest[3]
2396
2223
  };
2397
2224
  }
2398
2225
  const databaseId = params.databaseId;
@@ -2400,7 +2227,6 @@ class TablesDB {
2400
2227
  const rowId = params.rowId;
2401
2228
  const data = params.data;
2402
2229
  const permissions = params.permissions;
2403
- const transactionId = params.transactionId;
2404
2230
  if (typeof databaseId === "undefined") {
2405
2231
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2406
2232
  }
@@ -2424,9 +2250,6 @@ class TablesDB {
2424
2250
  if (typeof permissions !== "undefined") {
2425
2251
  payload["permissions"] = permissions;
2426
2252
  }
2427
- if (typeof transactionId !== "undefined") {
2428
- payload["transactionId"] = transactionId;
2429
- }
2430
2253
  const uri = new URL(this.client.config.endpoint + apiPath);
2431
2254
  const apiHeaders = {
2432
2255
  "content-type": "application/json"
@@ -2446,14 +2269,12 @@ class TablesDB {
2446
2269
  params = {
2447
2270
  databaseId: paramsOrFirst,
2448
2271
  tableId: rest[0],
2449
- rows: rest[1],
2450
- transactionId: rest[2]
2272
+ rows: rest[1]
2451
2273
  };
2452
2274
  }
2453
2275
  const databaseId = params.databaseId;
2454
2276
  const tableId = params.tableId;
2455
2277
  const rows = params.rows;
2456
- const transactionId = params.transactionId;
2457
2278
  if (typeof databaseId === "undefined") {
2458
2279
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2459
2280
  }
@@ -2468,9 +2289,6 @@ class TablesDB {
2468
2289
  if (typeof rows !== "undefined") {
2469
2290
  payload["rows"] = rows;
2470
2291
  }
2471
- if (typeof transactionId !== "undefined") {
2472
- payload["transactionId"] = transactionId;
2473
- }
2474
2292
  const uri = new URL(this.client.config.endpoint + apiPath);
2475
2293
  const apiHeaders = {
2476
2294
  "content-type": "application/json"
@@ -2490,14 +2308,12 @@ class TablesDB {
2490
2308
  params = {
2491
2309
  databaseId: paramsOrFirst,
2492
2310
  tableId: rest[0],
2493
- rows: rest[1],
2494
- transactionId: rest[2]
2311
+ rows: rest[1]
2495
2312
  };
2496
2313
  }
2497
2314
  const databaseId = params.databaseId;
2498
2315
  const tableId = params.tableId;
2499
2316
  const rows = params.rows;
2500
- const transactionId = params.transactionId;
2501
2317
  if (typeof databaseId === "undefined") {
2502
2318
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2503
2319
  }
@@ -2512,9 +2328,6 @@ class TablesDB {
2512
2328
  if (typeof rows !== "undefined") {
2513
2329
  payload["rows"] = rows;
2514
2330
  }
2515
- if (typeof transactionId !== "undefined") {
2516
- payload["transactionId"] = transactionId;
2517
- }
2518
2331
  const uri = new URL(this.client.config.endpoint + apiPath);
2519
2332
  const apiHeaders = {
2520
2333
  "content-type": "application/json"
@@ -2535,15 +2348,13 @@ class TablesDB {
2535
2348
  databaseId: paramsOrFirst,
2536
2349
  tableId: rest[0],
2537
2350
  data: rest[1],
2538
- queries: rest[2],
2539
- transactionId: rest[3]
2351
+ queries: rest[2]
2540
2352
  };
2541
2353
  }
2542
2354
  const databaseId = params.databaseId;
2543
2355
  const tableId = params.tableId;
2544
2356
  const data = params.data;
2545
2357
  const queries = params.queries;
2546
- const transactionId = params.transactionId;
2547
2358
  if (typeof databaseId === "undefined") {
2548
2359
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2549
2360
  }
@@ -2558,9 +2369,6 @@ class TablesDB {
2558
2369
  if (typeof queries !== "undefined") {
2559
2370
  payload["queries"] = queries;
2560
2371
  }
2561
- if (typeof transactionId !== "undefined") {
2562
- payload["transactionId"] = transactionId;
2563
- }
2564
2372
  const uri = new URL(this.client.config.endpoint + apiPath);
2565
2373
  const apiHeaders = {
2566
2374
  "content-type": "application/json"
@@ -2580,14 +2388,12 @@ class TablesDB {
2580
2388
  params = {
2581
2389
  databaseId: paramsOrFirst,
2582
2390
  tableId: rest[0],
2583
- queries: rest[1],
2584
- transactionId: rest[2]
2391
+ queries: rest[1]
2585
2392
  };
2586
2393
  }
2587
2394
  const databaseId = params.databaseId;
2588
2395
  const tableId = params.tableId;
2589
2396
  const queries = params.queries;
2590
- const transactionId = params.transactionId;
2591
2397
  if (typeof databaseId === "undefined") {
2592
2398
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2593
2399
  }
@@ -2599,9 +2405,6 @@ class TablesDB {
2599
2405
  if (typeof queries !== "undefined") {
2600
2406
  payload["queries"] = queries;
2601
2407
  }
2602
- if (typeof transactionId !== "undefined") {
2603
- payload["transactionId"] = transactionId;
2604
- }
2605
2408
  const uri = new URL(this.client.config.endpoint + apiPath);
2606
2409
  const apiHeaders = {
2607
2410
  "content-type": "application/json"
@@ -2622,15 +2425,13 @@ class TablesDB {
2622
2425
  databaseId: paramsOrFirst,
2623
2426
  tableId: rest[0],
2624
2427
  rowId: rest[1],
2625
- queries: rest[2],
2626
- transactionId: rest[3]
2428
+ queries: rest[2]
2627
2429
  };
2628
2430
  }
2629
2431
  const databaseId = params.databaseId;
2630
2432
  const tableId = params.tableId;
2631
2433
  const rowId = params.rowId;
2632
2434
  const queries = params.queries;
2633
- const transactionId = params.transactionId;
2634
2435
  if (typeof databaseId === "undefined") {
2635
2436
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2636
2437
  }
@@ -2645,9 +2446,6 @@ class TablesDB {
2645
2446
  if (typeof queries !== "undefined") {
2646
2447
  payload["queries"] = queries;
2647
2448
  }
2648
- if (typeof transactionId !== "undefined") {
2649
- payload["transactionId"] = transactionId;
2650
- }
2651
2449
  const uri = new URL(this.client.config.endpoint + apiPath);
2652
2450
  const apiHeaders = {};
2653
2451
  return this.client.call(
@@ -2667,8 +2465,7 @@ class TablesDB {
2667
2465
  tableId: rest[0],
2668
2466
  rowId: rest[1],
2669
2467
  data: rest[2],
2670
- permissions: rest[3],
2671
- transactionId: rest[4]
2468
+ permissions: rest[3]
2672
2469
  };
2673
2470
  }
2674
2471
  const databaseId = params.databaseId;
@@ -2676,7 +2473,6 @@ class TablesDB {
2676
2473
  const rowId = params.rowId;
2677
2474
  const data = params.data;
2678
2475
  const permissions = params.permissions;
2679
- const transactionId = params.transactionId;
2680
2476
  if (typeof databaseId === "undefined") {
2681
2477
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2682
2478
  }
@@ -2694,9 +2490,6 @@ class TablesDB {
2694
2490
  if (typeof permissions !== "undefined") {
2695
2491
  payload["permissions"] = permissions;
2696
2492
  }
2697
- if (typeof transactionId !== "undefined") {
2698
- payload["transactionId"] = transactionId;
2699
- }
2700
2493
  const uri = new URL(this.client.config.endpoint + apiPath);
2701
2494
  const apiHeaders = {
2702
2495
  "content-type": "application/json"
@@ -2718,8 +2511,7 @@ class TablesDB {
2718
2511
  tableId: rest[0],
2719
2512
  rowId: rest[1],
2720
2513
  data: rest[2],
2721
- permissions: rest[3],
2722
- transactionId: rest[4]
2514
+ permissions: rest[3]
2723
2515
  };
2724
2516
  }
2725
2517
  const databaseId = params.databaseId;
@@ -2727,7 +2519,6 @@ class TablesDB {
2727
2519
  const rowId = params.rowId;
2728
2520
  const data = params.data;
2729
2521
  const permissions = params.permissions;
2730
- const transactionId = params.transactionId;
2731
2522
  if (typeof databaseId === "undefined") {
2732
2523
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2733
2524
  }
@@ -2745,9 +2536,6 @@ class TablesDB {
2745
2536
  if (typeof permissions !== "undefined") {
2746
2537
  payload["permissions"] = permissions;
2747
2538
  }
2748
- if (typeof transactionId !== "undefined") {
2749
- payload["transactionId"] = transactionId;
2750
- }
2751
2539
  const uri = new URL(this.client.config.endpoint + apiPath);
2752
2540
  const apiHeaders = {
2753
2541
  "content-type": "application/json"
@@ -2767,14 +2555,12 @@ class TablesDB {
2767
2555
  params = {
2768
2556
  databaseId: paramsOrFirst,
2769
2557
  tableId: rest[0],
2770
- rowId: rest[1],
2771
- transactionId: rest[2]
2558
+ rowId: rest[1]
2772
2559
  };
2773
2560
  }
2774
2561
  const databaseId = params.databaseId;
2775
2562
  const tableId = params.tableId;
2776
2563
  const rowId = params.rowId;
2777
- const transactionId = params.transactionId;
2778
2564
  if (typeof databaseId === "undefined") {
2779
2565
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2780
2566
  }
@@ -2786,9 +2572,6 @@ class TablesDB {
2786
2572
  }
2787
2573
  const apiPath = "/tablesdb/{databaseId}/tables/{tableId}/rows/{rowId}".replace("{databaseId}", databaseId).replace("{tableId}", tableId).replace("{rowId}", rowId);
2788
2574
  const payload = {};
2789
- if (typeof transactionId !== "undefined") {
2790
- payload["transactionId"] = transactionId;
2791
- }
2792
2575
  const uri = new URL(this.client.config.endpoint + apiPath);
2793
2576
  const apiHeaders = {
2794
2577
  "content-type": "application/json"
@@ -2811,8 +2594,7 @@ class TablesDB {
2811
2594
  rowId: rest[1],
2812
2595
  column: rest[2],
2813
2596
  value: rest[3],
2814
- min: rest[4],
2815
- transactionId: rest[5]
2597
+ min: rest[4]
2816
2598
  };
2817
2599
  }
2818
2600
  const databaseId = params.databaseId;
@@ -2821,7 +2603,6 @@ class TablesDB {
2821
2603
  const column = params.column;
2822
2604
  const value = params.value;
2823
2605
  const min = params.min;
2824
- const transactionId = params.transactionId;
2825
2606
  if (typeof databaseId === "undefined") {
2826
2607
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2827
2608
  }
@@ -2842,9 +2623,6 @@ class TablesDB {
2842
2623
  if (typeof min !== "undefined") {
2843
2624
  payload["min"] = min;
2844
2625
  }
2845
- if (typeof transactionId !== "undefined") {
2846
- payload["transactionId"] = transactionId;
2847
- }
2848
2626
  const uri = new URL(this.client.config.endpoint + apiPath);
2849
2627
  const apiHeaders = {
2850
2628
  "content-type": "application/json"
@@ -2867,8 +2645,7 @@ class TablesDB {
2867
2645
  rowId: rest[1],
2868
2646
  column: rest[2],
2869
2647
  value: rest[3],
2870
- max: rest[4],
2871
- transactionId: rest[5]
2648
+ max: rest[4]
2872
2649
  };
2873
2650
  }
2874
2651
  const databaseId = params.databaseId;
@@ -2877,7 +2654,6 @@ class TablesDB {
2877
2654
  const column = params.column;
2878
2655
  const value = params.value;
2879
2656
  const max = params.max;
2880
- const transactionId = params.transactionId;
2881
2657
  if (typeof databaseId === "undefined") {
2882
2658
  throw new client.AppwriteException('Missing required parameter: "databaseId"');
2883
2659
  }
@@ -2898,9 +2674,6 @@ class TablesDB {
2898
2674
  if (typeof max !== "undefined") {
2899
2675
  payload["max"] = max;
2900
2676
  }
2901
- if (typeof transactionId !== "undefined") {
2902
- payload["transactionId"] = transactionId;
2903
- }
2904
2677
  const uri = new URL(this.client.config.endpoint + apiPath);
2905
2678
  const apiHeaders = {
2906
2679
  "content-type": "application/json"