Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = 'co.permify'
version = '1.4.2'
version = '1.4.3'

repositories {
mavenCentral()
Expand Down Expand Up @@ -119,8 +119,8 @@ task execute(type: JavaExec) {
}

ext {
jackson_version = "2.17.1"
jakarta_annotation_version = "2.1.1"
jackson_version = "2.14.1"
jakarta_annotation_version = "1.3.5"
beanvalidation_version = "3.0.2"
junit_version = "4.13.2"
}
Expand Down
8 changes: 4 additions & 4 deletions generator/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Permify API",
"description": "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.",
"version": "v1.4.2",
"version": "v1.4.3",
"contact": {
"name": "API Support",
"url": "https://github.com/Permify/permify/issues",
Expand Down Expand Up @@ -418,7 +418,7 @@
{
"label": "cURL",
"lang": "curl",
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/attributes/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"metadata\": {\n \"snap_token\": \"\"\n },\n \"filter\": {\n \"entity\": {\n \"type\": \"organization\",\n \"ids\": [\n \"1\"\n ]\n },\n \"attributes\": [\n \"private\"\n ]\n }\n}'"
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/attributes/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n metadata: {\n snap_token: \"\",\n },\n filter: {\n entity: {\n type: \"organization\",\n ids: [\n \"1\"\n ]\n },\n attributes: [\n \"private\"\n ],\n }\n}'"
}
]
}
Expand Down Expand Up @@ -532,7 +532,7 @@
{
"label": "cURL",
"lang": "curl",
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/relationships/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"metadata\": {\n \"snap_token\": \"\"\n },\n \"filter\": {\n \"entity\": {\n \"type\": \"organization\",\n \"ids\": [\n \"1\"\n ]\n },\n \"relation\": \"member\",\n \"subject\": {\n \"type\": \"\",\n \"ids\": [],\n \"relation\": \"\"\n }\n }\n}'"
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/relationships/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n metadata: {\n snap_token: \"\",\n },\n filter: {\n entity: {\n type: \"organization\",\n ids: [\n \"1\"\n ]\n },\n relation: \"member\",\n subject: {\n type: \"\",\n ids: [],\n relation: \"\"\n }\n }\n}'"
}
]
}
Expand Down Expand Up @@ -3534,4 +3534,4 @@
"in": "header"
}
}
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>permify-java</artifactId>
<packaging>jar</packaging>
<name>Permify Java</name>
<version>1.4.2</version>
<version>1.4.3</version>
<url>https://github.com/Permify/permify-java</url>
<description>Java SDK for Permify - Authorization as a Service</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/api/BundleApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/api/DataApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/api/PermissionApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/api/SchemaApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/api/TenancyApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/api/WatchApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/client/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/client/ApiResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/co/permify/sdk/client/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -15,7 +15,7 @@

@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
public static final String VERSION = "v1.4.2";
public static final String VERSION = "v1.4.3";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/client/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/client/RFC3339DateFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/AbstractType.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/Any.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/Argument.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/Attribute.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/AttributeFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/AttributeType.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/BundleDeleteBody.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/BundleReadBody.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/BundleReadResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/BundleRunResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/BundleWriteBody.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/CheckBody.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/CheckResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/CheckedExpr.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/Child.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/Comprehension.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/ComputedAttribute.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/permify/sdk/model/ComputedUserSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Permify API
* Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
*
* The version of the OpenAPI document: v1.4.2
* The version of the OpenAPI document: v1.4.3
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading