Skip to content

Commit 0389599

Browse files
committed
chore: regenerate sdks
1 parent 31ee921 commit 0389599

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+271
-125
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repositories {
3939
Next, add the dependency to your project's `build.gradle(.kts)` file:
4040

4141
```groovy
42-
implementation("io.appwrite:sdk-for-kotlin:11.1.0")
42+
implementation("io.appwrite:sdk-for-kotlin:11.2.0")
4343
```
4444

4545
### Maven
@@ -50,7 +50,7 @@ Add this to your project's `pom.xml` file:
5050
<dependency>
5151
<groupId>io.appwrite</groupId>
5252
<artifactId>sdk-for-kotlin</artifactId>
53-
<version>11.1.0</version>
53+
<version>11.2.0</version>
5454
</dependency>
5555
</dependencies>
5656
```

src/main/kotlin/io/appwrite/Client.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ class Client @JvmOverloads constructor(
5858
init {
5959
headers = mutableMapOf(
6060
"content-type" to "application/json",
61-
"user-agent" to "AppwriteKotlinSDK/11.1.0 ${System.getProperty("http.agent")}",
61+
"user-agent" to "AppwriteKotlinSDK/11.2.0 ${System.getProperty("http.agent")}",
6262
"x-sdk-name" to "Kotlin",
6363
"x-sdk-platform" to "server",
6464
"x-sdk-language" to "kotlin",
65-
"x-sdk-version" to "11.1.0",
65+
"x-sdk-version" to "11.2.0",
6666
"x-appwrite-response-format" to "1.8.0",
6767
)
6868

src/main/kotlin/io/appwrite/Query.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ class Query(
4141

4242
fun orderDesc(attribute: String) = Query("orderDesc", attribute).toJson()
4343

44-
fun orderRandom() = Query("orderRandom").toJson()
45-
4644
fun cursorBefore(documentId: String) = Query("cursorBefore", null, listOf(documentId)).toJson()
4745

4846
fun cursorAfter(documentId: String) = Query("cursorAfter", null, listOf(documentId)).toJson()
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package io.appwrite.enums
2+
3+
import com.google.gson.annotations.SerializedName
4+
5+
enum class AttributeStatus(val value: String) {
6+
@SerializedName("available")
7+
AVAILABLE("available"),
8+
@SerializedName("processing")
9+
PROCESSING("processing"),
10+
@SerializedName("deleting")
11+
DELETING("deleting"),
12+
@SerializedName("stuck")
13+
STUCK("stuck"),
14+
@SerializedName("failed")
15+
FAILED("failed");
16+
17+
override fun toString() = value
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package io.appwrite.enums
2+
3+
import com.google.gson.annotations.SerializedName
4+
5+
enum class DeploymentStatus(val value: String) {
6+
@SerializedName("waiting")
7+
WAITING("waiting"),
8+
@SerializedName("processing")
9+
PROCESSING("processing"),
10+
@SerializedName("building")
11+
BUILDING("building"),
12+
@SerializedName("ready")
13+
READY("ready"),
14+
@SerializedName("failed")
15+
FAILED("failed");
16+
17+
override fun toString() = value
18+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package io.appwrite.enums
2+
3+
import com.google.gson.annotations.SerializedName
4+
5+
enum class ExecutionStatus(val value: String) {
6+
@SerializedName("waiting")
7+
WAITING("waiting"),
8+
@SerializedName("processing")
9+
PROCESSING("processing"),
10+
@SerializedName("completed")
11+
COMPLETED("completed"),
12+
@SerializedName("failed")
13+
FAILED("failed");
14+
15+
override fun toString() = value
16+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package io.appwrite.enums
2+
3+
import com.google.gson.annotations.SerializedName
4+
5+
enum class ExecutionTrigger(val value: String) {
6+
@SerializedName("http")
7+
HTTP("http"),
8+
@SerializedName("schedule")
9+
SCHEDULE("schedule"),
10+
@SerializedName("event")
11+
EVENT("event");
12+
13+
override fun toString() = value
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package io.appwrite.enums
2+
3+
import com.google.gson.annotations.SerializedName
4+
5+
enum class HealthAntivirusStatus(val value: String) {
6+
@SerializedName("disabled")
7+
DISABLED("disabled"),
8+
@SerializedName("offline")
9+
OFFLINE("offline"),
10+
@SerializedName("online")
11+
ONLINE("online");
12+
13+
override fun toString() = value
14+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package io.appwrite.enums
2+
3+
import com.google.gson.annotations.SerializedName
4+
5+
enum class HealthCheckStatus(val value: String) {
6+
@SerializedName("pass")
7+
PASS("pass"),
8+
@SerializedName("fail")
9+
FAIL("fail");
10+
11+
override fun toString() = value
12+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package io.appwrite.enums
2+
3+
import com.google.gson.annotations.SerializedName
4+
5+
enum class IndexStatus(val value: String) {
6+
@SerializedName("available")
7+
AVAILABLE("available"),
8+
@SerializedName("processing")
9+
PROCESSING("processing"),
10+
@SerializedName("deleting")
11+
DELETING("deleting"),
12+
@SerializedName("stuck")
13+
STUCK("stuck"),
14+
@SerializedName("failed")
15+
FAILED("failed");
16+
17+
override fun toString() = value
18+
}

0 commit comments

Comments
 (0)