Skip to content

Commit feaab47

Browse files
committed
chore: regenerate sdk
1 parent e35c1f3 commit feaab47

File tree

8 files changed

+83
-83
lines changed

8 files changed

+83
-83
lines changed

library/src/main/java/io/appwrite/services/Account.kt

Lines changed: 45 additions & 45 deletions
Large diffs are not rendered by default.

library/src/main/java/io/appwrite/services/Databases.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Databases(client: Client) : Service(client) {
3737
val apiParams = mutableMapOf<String, Any?>(
3838
"queries" to queries,
3939
)
40-
val apiHeaders = mutableMapOf(
40+
val apiHeaders = mutableMapOf<String, String>(
4141
)
4242
val converter: (Any) -> io.appwrite.models.DocumentList<T> = {
4343
@Suppress("UNCHECKED_CAST")
@@ -102,7 +102,7 @@ class Databases(client: Client) : Service(client) {
102102
"data" to data,
103103
"permissions" to permissions,
104104
)
105-
val apiHeaders = mutableMapOf(
105+
val apiHeaders = mutableMapOf<String, String>(
106106
"content-type" to "application/json",
107107
)
108108
val converter: (Any) -> io.appwrite.models.Document<T> = {
@@ -171,7 +171,7 @@ class Databases(client: Client) : Service(client) {
171171
val apiParams = mutableMapOf<String, Any?>(
172172
"queries" to queries,
173173
)
174-
val apiHeaders = mutableMapOf(
174+
val apiHeaders = mutableMapOf<String, String>(
175175
)
176176
val converter: (Any) -> io.appwrite.models.Document<T> = {
177177
@Suppress("UNCHECKED_CAST")
@@ -239,7 +239,7 @@ class Databases(client: Client) : Service(client) {
239239
"data" to data,
240240
"permissions" to permissions,
241241
)
242-
val apiHeaders = mutableMapOf(
242+
val apiHeaders = mutableMapOf<String, String>(
243243
"content-type" to "application/json",
244244
)
245245
val converter: (Any) -> io.appwrite.models.Document<T> = {
@@ -303,7 +303,7 @@ class Databases(client: Client) : Service(client) {
303303

304304
val apiParams = mutableMapOf<String, Any?>(
305305
)
306-
val apiHeaders = mutableMapOf(
306+
val apiHeaders = mutableMapOf<String, String>(
307307
"content-type" to "application/json",
308308
)
309309
return client.call(

library/src/main/java/io/appwrite/services/Functions.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Functions(client: Client) : Service(client) {
3636
"queries" to queries,
3737
"search" to search,
3838
)
39-
val apiHeaders = mutableMapOf(
39+
val apiHeaders = mutableMapOf<String, String>(
4040
)
4141
val converter: (Any) -> io.appwrite.models.ExecutionList = {
4242
@Suppress("UNCHECKED_CAST")
@@ -86,7 +86,7 @@ class Functions(client: Client) : Service(client) {
8686
"headers" to headers,
8787
"scheduledAt" to scheduledAt,
8888
)
89-
val apiHeaders = mutableMapOf(
89+
val apiHeaders = mutableMapOf<String, String>(
9090
"content-type" to "application/json",
9191
)
9292
val converter: (Any) -> io.appwrite.models.Execution = {
@@ -121,7 +121,7 @@ class Functions(client: Client) : Service(client) {
121121

122122
val apiParams = mutableMapOf<String, Any?>(
123123
)
124-
val apiHeaders = mutableMapOf(
124+
val apiHeaders = mutableMapOf<String, String>(
125125
)
126126
val converter: (Any) -> io.appwrite.models.Execution = {
127127
@Suppress("UNCHECKED_CAST")

library/src/main/java/io/appwrite/services/Graphql.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Graphql(client: Client) : Service(client) {
2929
val apiParams = mutableMapOf<String, Any?>(
3030
"query" to query,
3131
)
32-
val apiHeaders = mutableMapOf(
32+
val apiHeaders = mutableMapOf<String, String>(
3333
"x-sdk-graphql" to "true",
3434
"content-type" to "application/json",
3535
)
@@ -61,7 +61,7 @@ class Graphql(client: Client) : Service(client) {
6161
val apiParams = mutableMapOf<String, Any?>(
6262
"query" to query,
6363
)
64-
val apiHeaders = mutableMapOf(
64+
val apiHeaders = mutableMapOf<String, String>(
6565
"x-sdk-graphql" to "true",
6666
"content-type" to "application/json",
6767
)

library/src/main/java/io/appwrite/services/Locale.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Locale(client: Client) : Service(client) {
2626

2727
val apiParams = mutableMapOf<String, Any?>(
2828
)
29-
val apiHeaders = mutableMapOf(
29+
val apiHeaders = mutableMapOf<String, String>(
3030
)
3131
val converter: (Any) -> io.appwrite.models.Locale = {
3232
@Suppress("UNCHECKED_CAST")
@@ -54,7 +54,7 @@ class Locale(client: Client) : Service(client) {
5454

5555
val apiParams = mutableMapOf<String, Any?>(
5656
)
57-
val apiHeaders = mutableMapOf(
57+
val apiHeaders = mutableMapOf<String, String>(
5858
)
5959
val converter: (Any) -> io.appwrite.models.LocaleCodeList = {
6060
@Suppress("UNCHECKED_CAST")
@@ -82,7 +82,7 @@ class Locale(client: Client) : Service(client) {
8282

8383
val apiParams = mutableMapOf<String, Any?>(
8484
)
85-
val apiHeaders = mutableMapOf(
85+
val apiHeaders = mutableMapOf<String, String>(
8686
)
8787
val converter: (Any) -> io.appwrite.models.ContinentList = {
8888
@Suppress("UNCHECKED_CAST")
@@ -110,7 +110,7 @@ class Locale(client: Client) : Service(client) {
110110

111111
val apiParams = mutableMapOf<String, Any?>(
112112
)
113-
val apiHeaders = mutableMapOf(
113+
val apiHeaders = mutableMapOf<String, String>(
114114
)
115115
val converter: (Any) -> io.appwrite.models.CountryList = {
116116
@Suppress("UNCHECKED_CAST")
@@ -138,7 +138,7 @@ class Locale(client: Client) : Service(client) {
138138

139139
val apiParams = mutableMapOf<String, Any?>(
140140
)
141-
val apiHeaders = mutableMapOf(
141+
val apiHeaders = mutableMapOf<String, String>(
142142
)
143143
val converter: (Any) -> io.appwrite.models.CountryList = {
144144
@Suppress("UNCHECKED_CAST")
@@ -166,7 +166,7 @@ class Locale(client: Client) : Service(client) {
166166

167167
val apiParams = mutableMapOf<String, Any?>(
168168
)
169-
val apiHeaders = mutableMapOf(
169+
val apiHeaders = mutableMapOf<String, String>(
170170
)
171171
val converter: (Any) -> io.appwrite.models.PhoneList = {
172172
@Suppress("UNCHECKED_CAST")
@@ -194,7 +194,7 @@ class Locale(client: Client) : Service(client) {
194194

195195
val apiParams = mutableMapOf<String, Any?>(
196196
)
197-
val apiHeaders = mutableMapOf(
197+
val apiHeaders = mutableMapOf<String, String>(
198198
)
199199
val converter: (Any) -> io.appwrite.models.CurrencyList = {
200200
@Suppress("UNCHECKED_CAST")
@@ -222,7 +222,7 @@ class Locale(client: Client) : Service(client) {
222222

223223
val apiParams = mutableMapOf<String, Any?>(
224224
)
225-
val apiHeaders = mutableMapOf(
225+
val apiHeaders = mutableMapOf<String, String>(
226226
)
227227
val converter: (Any) -> io.appwrite.models.LanguageList = {
228228
@Suppress("UNCHECKED_CAST")

library/src/main/java/io/appwrite/services/Messaging.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Messaging(client: Client) : Service(client) {
3535
"subscriberId" to subscriberId,
3636
"targetId" to targetId,
3737
)
38-
val apiHeaders = mutableMapOf(
38+
val apiHeaders = mutableMapOf<String, String>(
3939
"content-type" to "application/json",
4040
)
4141
val converter: (Any) -> io.appwrite.models.Subscriber = {
@@ -70,7 +70,7 @@ class Messaging(client: Client) : Service(client) {
7070

7171
val apiParams = mutableMapOf<String, Any?>(
7272
)
73-
val apiHeaders = mutableMapOf(
73+
val apiHeaders = mutableMapOf<String, String>(
7474
"content-type" to "application/json",
7575
)
7676
return client.call(

library/src/main/java/io/appwrite/services/Storage.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Storage(client: Client) : Service(client) {
3838
"queries" to queries,
3939
"search" to search,
4040
)
41-
val apiHeaders = mutableMapOf(
41+
val apiHeaders = mutableMapOf<String, String>(
4242
)
4343
val converter: (Any) -> io.appwrite.models.FileList = {
4444
@Suppress("UNCHECKED_CAST")
@@ -80,7 +80,7 @@ class Storage(client: Client) : Service(client) {
8080
"file" to file,
8181
"permissions" to permissions,
8282
)
83-
val apiHeaders = mutableMapOf(
83+
val apiHeaders = mutableMapOf<String, String>(
8484
"content-type" to "multipart/form-data",
8585
)
8686
val converter: (Any) -> io.appwrite.models.File = {
@@ -119,7 +119,7 @@ class Storage(client: Client) : Service(client) {
119119

120120
val apiParams = mutableMapOf<String, Any?>(
121121
)
122-
val apiHeaders = mutableMapOf(
122+
val apiHeaders = mutableMapOf<String, String>(
123123
)
124124
val converter: (Any) -> io.appwrite.models.File = {
125125
@Suppress("UNCHECKED_CAST")
@@ -160,7 +160,7 @@ class Storage(client: Client) : Service(client) {
160160
"name" to name,
161161
"permissions" to permissions,
162162
)
163-
val apiHeaders = mutableMapOf(
163+
val apiHeaders = mutableMapOf<String, String>(
164164
"content-type" to "application/json",
165165
)
166166
val converter: (Any) -> io.appwrite.models.File = {
@@ -195,7 +195,7 @@ class Storage(client: Client) : Service(client) {
195195

196196
val apiParams = mutableMapOf<String, Any?>(
197197
)
198-
val apiHeaders = mutableMapOf(
198+
val apiHeaders = mutableMapOf<String, String>(
199199
"content-type" to "application/json",
200200
)
201201
return client.call(

library/src/main/java/io/appwrite/services/Teams.kt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Teams(client: Client) : Service(client) {
3434
"queries" to queries,
3535
"search" to search,
3636
)
37-
val apiHeaders = mutableMapOf(
37+
val apiHeaders = mutableMapOf<String, String>(
3838
)
3939
val converter: (Any) -> io.appwrite.models.TeamList<T> = {
4040
@Suppress("UNCHECKED_CAST")
@@ -90,7 +90,7 @@ class Teams(client: Client) : Service(client) {
9090
"name" to name,
9191
"roles" to roles,
9292
)
93-
val apiHeaders = mutableMapOf(
93+
val apiHeaders = mutableMapOf<String, String>(
9494
"content-type" to "application/json",
9595
)
9696
val converter: (Any) -> io.appwrite.models.Team<T> = {
@@ -143,7 +143,7 @@ class Teams(client: Client) : Service(client) {
143143

144144
val apiParams = mutableMapOf<String, Any?>(
145145
)
146-
val apiHeaders = mutableMapOf(
146+
val apiHeaders = mutableMapOf<String, String>(
147147
)
148148
val converter: (Any) -> io.appwrite.models.Team<T> = {
149149
@Suppress("UNCHECKED_CAST")
@@ -191,7 +191,7 @@ class Teams(client: Client) : Service(client) {
191191
val apiParams = mutableMapOf<String, Any?>(
192192
"name" to name,
193193
)
194-
val apiHeaders = mutableMapOf(
194+
val apiHeaders = mutableMapOf<String, String>(
195195
"content-type" to "application/json",
196196
)
197197
val converter: (Any) -> io.appwrite.models.Team<T> = {
@@ -239,7 +239,7 @@ class Teams(client: Client) : Service(client) {
239239

240240
val apiParams = mutableMapOf<String, Any?>(
241241
)
242-
val apiHeaders = mutableMapOf(
242+
val apiHeaders = mutableMapOf<String, String>(
243243
"content-type" to "application/json",
244244
)
245245
return client.call(
@@ -273,7 +273,7 @@ class Teams(client: Client) : Service(client) {
273273
"queries" to queries,
274274
"search" to search,
275275
)
276-
val apiHeaders = mutableMapOf(
276+
val apiHeaders = mutableMapOf<String, String>(
277277
)
278278
val converter: (Any) -> io.appwrite.models.MembershipList = {
279279
@Suppress("UNCHECKED_CAST")
@@ -323,7 +323,7 @@ class Teams(client: Client) : Service(client) {
323323
"url" to url,
324324
"name" to name,
325325
)
326-
val apiHeaders = mutableMapOf(
326+
val apiHeaders = mutableMapOf<String, String>(
327327
"content-type" to "application/json",
328328
)
329329
val converter: (Any) -> io.appwrite.models.Membership = {
@@ -358,7 +358,7 @@ class Teams(client: Client) : Service(client) {
358358

359359
val apiParams = mutableMapOf<String, Any?>(
360360
)
361-
val apiHeaders = mutableMapOf(
361+
val apiHeaders = mutableMapOf<String, String>(
362362
)
363363
val converter: (Any) -> io.appwrite.models.Membership = {
364364
@Suppress("UNCHECKED_CAST")
@@ -395,7 +395,7 @@ class Teams(client: Client) : Service(client) {
395395
val apiParams = mutableMapOf<String, Any?>(
396396
"roles" to roles,
397397
)
398-
val apiHeaders = mutableMapOf(
398+
val apiHeaders = mutableMapOf<String, String>(
399399
"content-type" to "application/json",
400400
)
401401
val converter: (Any) -> io.appwrite.models.Membership = {
@@ -430,7 +430,7 @@ class Teams(client: Client) : Service(client) {
430430

431431
val apiParams = mutableMapOf<String, Any?>(
432432
)
433-
val apiHeaders = mutableMapOf(
433+
val apiHeaders = mutableMapOf<String, String>(
434434
"content-type" to "application/json",
435435
)
436436
return client.call(
@@ -466,7 +466,7 @@ class Teams(client: Client) : Service(client) {
466466
"userId" to userId,
467467
"secret" to secret,
468468
)
469-
val apiHeaders = mutableMapOf(
469+
val apiHeaders = mutableMapOf<String, String>(
470470
"content-type" to "application/json",
471471
)
472472
val converter: (Any) -> io.appwrite.models.Membership = {
@@ -499,7 +499,7 @@ class Teams(client: Client) : Service(client) {
499499

500500
val apiParams = mutableMapOf<String, Any?>(
501501
)
502-
val apiHeaders = mutableMapOf(
502+
val apiHeaders = mutableMapOf<String, String>(
503503
)
504504
val converter: (Any) -> io.appwrite.models.Preferences<T> = {
505505
@Suppress("UNCHECKED_CAST")
@@ -547,7 +547,7 @@ class Teams(client: Client) : Service(client) {
547547
val apiParams = mutableMapOf<String, Any?>(
548548
"prefs" to prefs,
549549
)
550-
val apiHeaders = mutableMapOf(
550+
val apiHeaders = mutableMapOf<String, String>(
551551
"content-type" to "application/json",
552552
)
553553
val converter: (Any) -> io.appwrite.models.Preferences<T> = {

0 commit comments

Comments
 (0)