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
The table of contents is too big for display.
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.6.0'
version = '1.6.1'

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
2 changes: 0 additions & 2 deletions docs/AttributeType.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
## Enum


* `UNSPECIFIED` (value: `"ATTRIBUTE_TYPE_UNSPECIFIED"`)

* `BOOLEAN` (value: `"ATTRIBUTE_TYPE_BOOLEAN"`)

* `BOOLEAN_ARRAY` (value: `"ATTRIBUTE_TYPE_BOOLEAN_ARRAY"`)
Expand Down
2 changes: 0 additions & 2 deletions docs/CheckResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
## Enum


* `UNSPECIFIED` (value: `"CHECK_RESULT_UNSPECIFIED"`)

* `ALLOWED` (value: `"CHECK_RESULT_ALLOWED"`)

* `DENIED` (value: `"CHECK_RESULT_DENIED"`)
Expand Down
2 changes: 0 additions & 2 deletions docs/Component.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
## Enum


* `UNSPECIFIED` (value: `"COMPONENT_UNSPECIFIED"`)

* `PARSER` (value: `"COMPONENT_PARSER"`)

* `TYPE_CHECKER` (value: `"COMPONENT_TYPE_CHECKER"`)
Expand Down
2 changes: 0 additions & 2 deletions docs/DataChangeOperation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
## Enum


* `UNSPECIFIED` (value: `"OPERATION_UNSPECIFIED"`)

* `CREATE` (value: `"OPERATION_CREATE"`)

* `DELETE` (value: `"OPERATION_DELETE"`)
Expand Down
2 changes: 0 additions & 2 deletions docs/EntityDefinitionReference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
## Enum


* `UNSPECIFIED` (value: `"REFERENCE_UNSPECIFIED"`)

* `RELATION` (value: `"REFERENCE_RELATION"`)

* `PERMISSION` (value: `"REFERENCE_PERMISSION"`)
Expand Down
2 changes: 0 additions & 2 deletions docs/ExpandTreeNodeOperation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
## Enum


* `UNSPECIFIED` (value: `"OPERATION_UNSPECIFIED"`)

* `UNION` (value: `"OPERATION_UNION"`)

* `INTERSECTION` (value: `"OPERATION_INTERSECTION"`)
Expand Down
11 changes: 0 additions & 11 deletions docs/NullValue.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/PrimitiveType.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
## Enum


* `PRIMITIVE_TYPE_UNSPECIFIED` (value: `"PRIMITIVE_TYPE_UNSPECIFIED"`)

* `BOOL` (value: `"BOOL"`)

* `INT64` (value: `"INT64"`)
Expand Down
2 changes: 0 additions & 2 deletions docs/RewriteOperation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
## Enum


* `UNSPECIFIED` (value: `"OPERATION_UNSPECIFIED"`)

* `UNION` (value: `"OPERATION_UNION"`)

* `INTERSECTION` (value: `"OPERATION_INTERSECTION"`)
Expand Down
2 changes: 0 additions & 2 deletions docs/SchemaDefinitionReference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
## Enum


* `UNSPECIFIED` (value: `"REFERENCE_UNSPECIFIED"`)

* `ENTITY` (value: `"REFERENCE_ENTITY"`)

* `RULE` (value: `"REFERENCE_RULE"`)
Expand Down
2 changes: 0 additions & 2 deletions docs/WellKnownType.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
## Enum


* `WELL_KNOWN_TYPE_UNSPECIFIED` (value: `"WELL_KNOWN_TYPE_UNSPECIFIED"`)

* `ANY` (value: `"ANY"`)

* `TIMESTAMP` (value: `"TIMESTAMP"`)
Expand Down
46 changes: 11 additions & 35 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.6.0",
"version": "v1.6.1",
"contact": {
"name": "API Support",
"url": "https://github.com/Permify/permify/issues",
Expand Down Expand Up @@ -1507,7 +1507,6 @@
"AttributeType": {
"type": "string",
"enum": [
"ATTRIBUTE_TYPE_UNSPECIFIED",
"ATTRIBUTE_TYPE_BOOLEAN",
"ATTRIBUTE_TYPE_BOOLEAN_ARRAY",
"ATTRIBUTE_TYPE_STRING",
Expand All @@ -1517,8 +1516,7 @@
"ATTRIBUTE_TYPE_DOUBLE",
"ATTRIBUTE_TYPE_DOUBLE_ARRAY"
],
"default": "ATTRIBUTE_TYPE_UNSPECIFIED",
"description": "Enumerates the types of attribute.\n\n - ATTRIBUTE_TYPE_UNSPECIFIED: Not specified attribute type. This is the default value.\n - ATTRIBUTE_TYPE_BOOLEAN: A boolean attribute type.\n - ATTRIBUTE_TYPE_BOOLEAN_ARRAY: A boolean array attribute type.\n - ATTRIBUTE_TYPE_STRING: A string attribute type.\n - ATTRIBUTE_TYPE_STRING_ARRAY: A string array attribute type.\n - ATTRIBUTE_TYPE_INTEGER: An integer attribute type.\n - ATTRIBUTE_TYPE_INTEGER_ARRAY: An integer array attribute type.\n - ATTRIBUTE_TYPE_DOUBLE: A double attribute type.\n - ATTRIBUTE_TYPE_DOUBLE_ARRAY: A double array attribute type."
"description": "Enumerates the types of attribute.\n\n - ATTRIBUTE_TYPE_BOOLEAN: A boolean attribute type.\n - ATTRIBUTE_TYPE_BOOLEAN_ARRAY: A boolean array attribute type.\n - ATTRIBUTE_TYPE_STRING: A string attribute type.\n - ATTRIBUTE_TYPE_STRING_ARRAY: A string array attribute type.\n - ATTRIBUTE_TYPE_INTEGER: An integer attribute type.\n - ATTRIBUTE_TYPE_INTEGER_ARRAY: An integer array attribute type.\n - ATTRIBUTE_TYPE_DOUBLE: A double attribute type.\n - ATTRIBUTE_TYPE_DOUBLE_ARRAY: A double array attribute type."
},
"BulkCheckBody": {
"type": "object",
Expand Down Expand Up @@ -1659,12 +1657,10 @@
"CheckResult": {
"type": "string",
"enum": [
"CHECK_RESULT_UNSPECIFIED",
"CHECK_RESULT_ALLOWED",
"CHECK_RESULT_DENIED"
],
"default": "CHECK_RESULT_UNSPECIFIED",
"description": "Enumerates results of a check operation.\n\n - CHECK_RESULT_UNSPECIFIED: Not specified check result. This is the default value.\n - CHECK_RESULT_ALLOWED: Represents a successful check (the check allowed the operation).\n - CHECK_RESULT_DENIED: Represents a failed check (the check denied the operation)."
"description": "Enumerates results of a check operation.\n\n - CHECK_RESULT_ALLOWED: Represents a successful check (the check allowed the operation).\n - CHECK_RESULT_DENIED: Represents a failed check (the check denied the operation)."
},
"CheckedExpr": {
"type": "object",
Expand Down Expand Up @@ -1715,13 +1711,11 @@
"Component": {
"type": "string",
"enum": [
"COMPONENT_UNSPECIFIED",
"COMPONENT_PARSER",
"COMPONENT_TYPE_CHECKER",
"COMPONENT_RUNTIME"
],
"default": "COMPONENT_UNSPECIFIED",
"description": "CEL component specifier.\n\n - COMPONENT_UNSPECIFIED: Unspecified, default.\n - COMPONENT_PARSER: Parser. Converts a CEL string to an AST.\n - COMPONENT_TYPE_CHECKER: Type checker. Checks that references in an AST are defined and types\nagree.\n - COMPONENT_RUNTIME: Runtime. Evaluates a parsed and optionally checked CEL AST against a\ncontext."
"description": "CEL component specifier.\n\n - COMPONENT_PARSER: Parser. Converts a CEL string to an AST.\n - COMPONENT_TYPE_CHECKER: Type checker. Checks that references in an AST are defined and types\nagree.\n - COMPONENT_RUNTIME: Runtime. Evaluates a parsed and optionally checked CEL AST against a\ncontext."
},
"Comprehension": {
"type": "object",
Expand Down Expand Up @@ -1980,12 +1974,10 @@
"DataChange.Operation": {
"type": "string",
"enum": [
"OPERATION_UNSPECIFIED",
"OPERATION_CREATE",
"OPERATION_DELETE"
],
"default": "OPERATION_UNSPECIFIED",
"description": " - OPERATION_UNSPECIFIED: Default operation, not specified.\n - OPERATION_CREATE: Creation operation.\n - OPERATION_DELETE: Deletion operation."
"description": " - OPERATION_CREATE: Creation operation.\n - OPERATION_DELETE: Deletion operation."
},
"DataChanges": {
"type": "object",
Expand Down Expand Up @@ -2097,13 +2089,11 @@
"EntityDefinition.Reference": {
"type": "string",
"enum": [
"REFERENCE_UNSPECIFIED",
"REFERENCE_RELATION",
"REFERENCE_PERMISSION",
"REFERENCE_ATTRIBUTE"
],
"default": "REFERENCE_UNSPECIFIED",
"description": "The Reference enum specifies whether a name pertains to a relation, permission, or attribute.\n\n - REFERENCE_UNSPECIFIED: Default, unspecified reference.\n - REFERENCE_RELATION: Indicates that the name refers to a relation.\n - REFERENCE_PERMISSION: Indicates that the name refers to a permission.\n - REFERENCE_ATTRIBUTE: Indicates that the name refers to an attribute."
"description": "The Reference enum specifies whether a name pertains to a relation, permission, or attribute.\n\n - REFERENCE_RELATION: Indicates that the name refers to a relation.\n - REFERENCE_PERMISSION: Indicates that the name refers to a permission.\n - REFERENCE_ATTRIBUTE: Indicates that the name refers to an attribute."
},
"EntityFilter": {
"type": "object",
Expand Down Expand Up @@ -2188,12 +2178,10 @@
"ExpandTreeNode.Operation": {
"type": "string",
"enum": [
"OPERATION_UNSPECIFIED",
"OPERATION_UNION",
"OPERATION_INTERSECTION",
"OPERATION_EXCLUSION"
],
"default": "OPERATION_UNSPECIFIED",
"description": "Operation is an enum representing the type of operation to be applied on the tree node."
},
"Expr": {
Expand Down Expand Up @@ -2481,11 +2469,7 @@
},
"NullValue": {
"type": "string",
"enum": [
"NULL_VALUE"
],
"default": "NULL_VALUE",
"description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value."
"description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`."
},
"PartialWriteBody": {
"type": "object",
Expand Down Expand Up @@ -2798,16 +2782,14 @@
"PrimitiveType": {
"type": "string",
"enum": [
"PRIMITIVE_TYPE_UNSPECIFIED",
"BOOL",
"INT64",
"UINT64",
"DOUBLE",
"STRING",
"BYTES"
],
"default": "PRIMITIVE_TYPE_UNSPECIFIED",
"description": "CEL primitive types.\n\n - PRIMITIVE_TYPE_UNSPECIFIED: Unspecified type.\n - BOOL: Boolean type.\n - INT64: Int64 type.\n\nProto-based integer values are widened to int64.\n - UINT64: Uint64 type.\n\nProto-based unsigned integer values are widened to uint64.\n - DOUBLE: Double type.\n\nProto-based float values are widened to double values.\n - STRING: String type.\n - BYTES: Bytes type."
"description": "CEL primitive types.\n\n - BOOL: Boolean type.\n - INT64: Int64 type.\n\nProto-based integer values are widened to int64.\n - UINT64: Uint64 type.\n\nProto-based unsigned integer values are widened to uint64.\n - DOUBLE: Double type.\n\nProto-based float values are widened to double values.\n - STRING: String type.\n - BYTES: Bytes type."
},
"ReadAttributesBody": {
"type": "object",
Expand Down Expand Up @@ -2965,13 +2947,11 @@
"Rewrite.Operation": {
"type": "string",
"enum": [
"OPERATION_UNSPECIFIED",
"OPERATION_UNION",
"OPERATION_INTERSECTION",
"OPERATION_EXCLUSION"
],
"default": "OPERATION_UNSPECIFIED",
"description": "Operation enum includes potential rewrite operations.\nOPERATION_UNION: Represents a union operation.\nOPERATION_INTERSECTION: Represents an intersection operation.\nOPERATION_EXCLUSION: Represents an exclusion operation.\n\n - OPERATION_UNSPECIFIED: Default, unspecified operation.\n - OPERATION_UNION: Represents a union operation.\n - OPERATION_INTERSECTION: Represents an intersection operation.\n - OPERATION_EXCLUSION: Represents an exclusion operation."
"description": "Operation enum includes potential rewrite operations.\nOPERATION_UNION: Represents a union operation.\nOPERATION_INTERSECTION: Represents an intersection operation.\nOPERATION_EXCLUSION: Represents an exclusion operation.\n\n - OPERATION_UNION: Represents a union operation.\n - OPERATION_INTERSECTION: Represents an intersection operation.\n - OPERATION_EXCLUSION: Represents an exclusion operation."
},
"RuleDefinition": {
"type": "object",
Expand Down Expand Up @@ -3076,12 +3056,10 @@
"SchemaDefinition.Reference": {
"type": "string",
"enum": [
"REFERENCE_UNSPECIFIED",
"REFERENCE_ENTITY",
"REFERENCE_RULE"
],
"default": "REFERENCE_UNSPECIFIED",
"description": "The Reference enum helps distinguish whether a name corresponds to an entity or a rule.\n\n - REFERENCE_UNSPECIFIED: Default, unspecified reference.\n - REFERENCE_ENTITY: Indicates that the name refers to an entity.\n - REFERENCE_RULE: Indicates that the name refers to a rule."
"description": "The Reference enum helps distinguish whether a name corresponds to an entity or a rule.\n\n - REFERENCE_ENTITY: Indicates that the name refers to an entity.\n - REFERENCE_RULE: Indicates that the name refers to a rule."
},
"SchemaList": {
"type": "object",
Expand Down Expand Up @@ -3523,13 +3501,11 @@
"WellKnownType": {
"type": "string",
"enum": [
"WELL_KNOWN_TYPE_UNSPECIFIED",
"ANY",
"TIMESTAMP",
"DURATION"
],
"default": "WELL_KNOWN_TYPE_UNSPECIFIED",
"description": "Well-known protobuf types treated with first-class support in CEL.\n\n - WELL_KNOWN_TYPE_UNSPECIFIED: Unspecified type.\n - ANY: Well-known protobuf.Any type.\n\nAny types are a polymorphic message type. During type-checking they are\ntreated like `DYN` types, but at runtime they are resolved to a specific\nmessage type specified at evaluation time.\n - TIMESTAMP: Well-known protobuf.Timestamp type, internally referenced as `timestamp`.\n - DURATION: Well-known protobuf.Duration type, internally referenced as `duration`."
"description": "Well-known protobuf types treated with first-class support in CEL.\n\n - ANY: Well-known protobuf.Any type.\n\nAny types are a polymorphic message type. During type-checking they are\ntreated like `DYN` types, but at runtime they are resolved to a specific\nmessage type specified at evaluation time.\n - TIMESTAMP: Well-known protobuf.Timestamp type, internally referenced as `timestamp`.\n - DURATION: Well-known protobuf.Duration type, internally referenced as `duration`."
},
"WriteRelationshipsBody": {
"type": "object",
Expand Down
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.6.0</version>
<version>1.6.1</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.6.0
* The version of the OpenAPI document: v1.6.1
* 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.6.0
* The version of the OpenAPI document: v1.6.1
* 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.6.0
* The version of the OpenAPI document: v1.6.1
* 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.6.0
* The version of the OpenAPI document: v1.6.1
* 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.6.0
* The version of the OpenAPI document: v1.6.1
* 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.6.0
* The version of the OpenAPI document: v1.6.1
* 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.6.0
* The version of the OpenAPI document: v1.6.1
* 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.6.0
* The version of the OpenAPI document: v1.6.1
* 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.6.0
* The version of the OpenAPI document: v1.6.1
* Contact: hello@permify.co
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading