@omnibase/core-js 0.9.16 → 0.9.17
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.
- package/.openapi-generator/FILES +12 -8
- package/README.md +9 -7
- package/docs/CheckPermissionRequestWithSubjectId.md +41 -0
- package/docs/CheckPermissionRequestWithSubjectSet.md +41 -0
- package/docs/CreateRelationshipRequestWithSubjectId.md +41 -0
- package/docs/CreateRelationshipRequestWithSubjectSet.md +41 -0
- package/docs/DeleteRelationshipRequestWithSubjectId.md +41 -0
- package/docs/DeleteRelationshipRequestWithSubjectSet.md +41 -0
- package/package.json +1 -1
- package/src/apis/V1AuthApi.ts +1 -1
- package/src/apis/V1ConfigurationApi.ts +1 -1
- package/src/apis/V1EventsApi.ts +1 -1
- package/src/apis/V1PaymentsApi.ts +1 -1
- package/src/apis/V1PermissionsApi.ts +1 -1
- package/src/apis/V1StorageApi.ts +1 -1
- package/src/apis/V1StripeApi.ts +1 -1
- package/src/apis/V1TenantsApi.ts +1 -1
- package/src/models/AcceptInvite200Response.ts +1 -1
- package/src/models/AcceptInviteRequest.ts +1 -1
- package/src/models/AcceptInviteResponse.ts +1 -1
- package/src/models/ActiveTenantResponse.ts +1 -1
- package/src/models/AddSubscription200Response.ts +1 -1
- package/src/models/AddSubscriptionRequest.ts +1 -1
- package/src/models/AddSubscriptionResponse.ts +1 -1
- package/src/models/ArchiveAllResponse.ts +1 -1
- package/src/models/ArchiveAllStripeConfig200Response.ts +1 -1
- package/src/models/BadRequest.ts +1 -1
- package/src/models/BadRequestResponse.ts +1 -1
- package/src/models/BillingInterval.ts +1 -1
- package/src/models/BillingStatusResponse.ts +1 -1
- package/src/models/CheckPermission200Response.ts +1 -1
- package/src/models/CheckPermissionRequest.ts +22 -22
- package/src/models/{CheckPermissionRequestOneOf.ts → CheckPermissionRequestWithSubjectId.ts} +16 -16
- package/src/models/{CheckPermissionRequestOneOf1.ts → CheckPermissionRequestWithSubjectSet.ts} +16 -16
- package/src/models/CheckPermissionResponse.ts +1 -1
- package/src/models/ConfigHistoryItem.ts +1 -1
- package/src/models/ConfigHistoryPagination.ts +1 -1
- package/src/models/ConfigHistoryResponse.ts +1 -1
- package/src/models/ConflictResponse.ts +1 -1
- package/src/models/ConvertStripeIDToConfigID200Response.ts +1 -1
- package/src/models/CreateCheckout200Response.ts +1 -1
- package/src/models/CreateCheckoutRequest.ts +1 -1
- package/src/models/CreateCheckoutResponse.ts +1 -1
- package/src/models/CreateCustomerPortal200Response.ts +1 -1
- package/src/models/CreateEmailTemplateRequest.ts +1 -1
- package/src/models/CreateInvite200Response.ts +1 -1
- package/src/models/CreateOrUpdateEmailTemplate200Response.ts +1 -1
- package/src/models/CreateOrUpdateEmailTemplate200ResponseAllOfData.ts +1 -1
- package/src/models/CreatePortalRequest.ts +1 -1
- package/src/models/CreatePortalResponse.ts +1 -1
- package/src/models/CreateRelationship200Response.ts +1 -1
- package/src/models/CreateRelationshipRequest.ts +22 -22
- package/src/models/{CreateRelationshipRequestOneOf.ts → CreateRelationshipRequestWithSubjectId.ts} +16 -16
- package/src/models/{CreateRelationshipRequestOneOf1.ts → CreateRelationshipRequestWithSubjectSet.ts} +16 -16
- package/src/models/CreateRelationshipResponse.ts +1 -1
- package/src/models/CreateRole200Response.ts +1 -1
- package/src/models/CreateRoleRequest.ts +1 -1
- package/src/models/CreateTenant200Response.ts +1 -1
- package/src/models/CreateTenantRequest.ts +1 -1
- package/src/models/CreateTenantResponse.ts +1 -1
- package/src/models/CreateTenantUserInviteRequest.ts +1 -1
- package/src/models/CreateTenantUserInviteResponse.ts +1 -1
- package/src/models/CreateUser200Response.ts +1 -1
- package/src/models/CreateUserRequest.ts +1 -1
- package/src/models/CreateUserRequestName.ts +1 -1
- package/src/models/CurrencyCode.ts +1 -1
- package/src/models/DeleteEmailTemplate200Response.ts +1 -1
- package/src/models/DeleteEmailTemplate200ResponseAllOfData.ts +1 -1
- package/src/models/DeleteObject200Response.ts +1 -1
- package/src/models/DeleteObjectRequest.ts +1 -1
- package/src/models/DeleteRelationship200Response.ts +1 -1
- package/src/models/DeleteRelationshipRequest.ts +22 -22
- package/src/models/DeleteRelationshipRequestWithSubjectId.ts +93 -0
- package/src/models/DeleteRelationshipRequestWithSubjectSet.ts +101 -0
- package/src/models/DeleteRelationshipResponse.ts +1 -1
- package/src/models/DeleteRole200Response.ts +1 -1
- package/src/models/DeleteRoleResponse.ts +1 -1
- package/src/models/DeleteTenant200Response.ts +1 -1
- package/src/models/DeleteTenantResponse.ts +1 -1
- package/src/models/DeleteTenantUserRequest.ts +1 -1
- package/src/models/DeployPermissionNamespaces200Response.ts +1 -1
- package/src/models/DownloadFile200Response.ts +1 -1
- package/src/models/DownloadRequest.ts +1 -1
- package/src/models/DownloadResponse.ts +1 -1
- package/src/models/EmailTemplate.ts +1 -1
- package/src/models/ErrorResponse.ts +1 -1
- package/src/models/ForbiddenResponse.ts +1 -1
- package/src/models/GetActiveTenant200Response.ts +1 -1
- package/src/models/GetEmailTemplates200Response.ts +1 -1
- package/src/models/GetEmailTemplates200ResponseAllOfData.ts +1 -1
- package/src/models/GetIdentity200Response.ts +1 -1
- package/src/models/GetRoleDefinitions200Response.ts +1 -1
- package/src/models/GetSession200Response.ts +1 -1
- package/src/models/GetStripeConfig200Response.ts +1 -1
- package/src/models/GetStripeConfigHistory200Response.ts +1 -1
- package/src/models/GetTenantBillingStatus200Response.ts +1 -1
- package/src/models/GetTenantJWT200Response.ts +1 -1
- package/src/models/InternalServerError.ts +1 -1
- package/src/models/InternalServerErrorResponse.ts +1 -1
- package/src/models/JWTTokenResponse.ts +1 -1
- package/src/models/KratosIdentity.ts +1 -1
- package/src/models/KratosIdentityCredentials.ts +1 -1
- package/src/models/KratosIdentityCredentialsPassword.ts +1 -1
- package/src/models/KratosIdentityRecoveryAddressesInner.ts +1 -1
- package/src/models/KratosIdentityTraits.ts +1 -1
- package/src/models/KratosIdentityTraitsName.ts +1 -1
- package/src/models/KratosIdentityVerifiableAddressesInner.ts +1 -1
- package/src/models/ListRoles200Response.ts +1 -1
- package/src/models/ListTenantSubscriptions200Response.ts +1 -1
- package/src/models/ListTenantUsers200Response.ts +1 -1
- package/src/models/ListTenants200Response.ts +1 -1
- package/src/models/ListTenantsResponse.ts +1 -1
- package/src/models/Logout200Response.ts +1 -1
- package/src/models/LogoutResponse.ts +1 -1
- package/src/models/MessageResponse.ts +1 -1
- package/src/models/Meter.ts +1 -1
- package/src/models/MeterCustomerMapping.ts +1 -1
- package/src/models/MeterDefaultAggregation.ts +1 -1
- package/src/models/MeterValueSettings.ts +1 -1
- package/src/models/MeterWithStripeID.ts +1 -1
- package/src/models/MigrationErrorResponse.ts +1 -1
- package/src/models/MigrationSuccessResponse.ts +1 -1
- package/src/models/NamespaceDefinition.ts +1 -1
- package/src/models/NamespaceDefinitionsResponse.ts +1 -1
- package/src/models/NamespaceDeploymentResponse.ts +1 -1
- package/src/models/NotFound.ts +1 -1
- package/src/models/NotFoundResponse.ts +1 -1
- package/src/models/PerUnitBillingScheme.ts +1 -1
- package/src/models/PerUnitPrice.ts +1 -1
- package/src/models/Price.ts +1 -1
- package/src/models/PriceDisplay.ts +1 -1
- package/src/models/PriceLimit.ts +1 -1
- package/src/models/PriceUI.ts +1 -1
- package/src/models/PriceWithStripeID.ts +1 -1
- package/src/models/Product.ts +1 -1
- package/src/models/ProductUI.ts +1 -1
- package/src/models/ProductWithStripeIDs.ts +1 -1
- package/src/models/PullStripeConfig200Response.ts +1 -1
- package/src/models/RecordUsageRequest.ts +1 -1
- package/src/models/Relationship.ts +1 -1
- package/src/models/RemoveSubscription200Response.ts +1 -1
- package/src/models/RemoveSubscriptionRequest.ts +1 -1
- package/src/models/RemoveSubscriptionResponse.ts +1 -1
- package/src/models/Role.ts +1 -1
- package/src/models/RolesListResponse.ts +1 -1
- package/src/models/SchemasConflictResponse.ts +1 -1
- package/src/models/SessionResponse.ts +1 -1
- package/src/models/StripeConfigResponse.ts +1 -1
- package/src/models/StripeConfigUpdateRequest.ts +1 -1
- package/src/models/StripeConfigValidateRequest.ts +1 -1
- package/src/models/StripeConfiguration.ts +1 -1
- package/src/models/StripeConfigurationWithIDs.ts +1 -1
- package/src/models/StripeIDConversionResponse.ts +1 -1
- package/src/models/SubjectSet.ts +1 -1
- package/src/models/SubjectSetRequest.ts +1 -1
- package/src/models/SubscriptionResponse.ts +1 -1
- package/src/models/SuccessResponse.ts +1 -1
- package/src/models/SuccessResponseData.ts +1 -1
- package/src/models/SwitchActiveTenant200Response.ts +1 -1
- package/src/models/SwitchTenantRequest.ts +1 -1
- package/src/models/SwitchTenantResponse.ts +1 -1
- package/src/models/Tenant.ts +1 -1
- package/src/models/TenantInvite.ts +1 -1
- package/src/models/TenantSettings.ts +1 -1
- package/src/models/TenantUserResponse.ts +1 -1
- package/src/models/Tier.ts +1 -1
- package/src/models/TierUpTo.ts +1 -1
- package/src/models/TieredBillingScheme.ts +1 -1
- package/src/models/TieredPrice.ts +1 -1
- package/src/models/TiersMode.ts +1 -1
- package/src/models/Unauthorized.ts +1 -1
- package/src/models/UnauthorizedResponse.ts +1 -1
- package/src/models/UpdateRoleRequest.ts +1 -1
- package/src/models/UpdateTenantUserRole200Response.ts +1 -1
- package/src/models/UpdateTenantUserRoleRequest.ts +1 -1
- package/src/models/UpdateTenantUserRoleResponse.ts +1 -1
- package/src/models/UploadFile200Response.ts +1 -1
- package/src/models/UploadRequest.ts +1 -1
- package/src/models/UploadResponse.ts +1 -1
- package/src/models/UsageType.ts +1 -1
- package/src/models/UserTenantListItem.ts +1 -1
- package/src/models/WhoAmI200Response.ts +1 -1
- package/src/models/WhoAmIResponse.ts +1 -1
- package/src/models/index.ts +6 -4
- package/src/runtime.ts +1 -1
package/src/models/{CreateRelationshipRequestOneOf1.ts → CreateRelationshipRequestWithSubjectSet.ts}
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,41 +22,41 @@ import {
|
|
|
22
22
|
} from './SubjectSetRequest';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Create relationship request using a subject set
|
|
26
26
|
* @export
|
|
27
|
-
* @interface
|
|
27
|
+
* @interface CreateRelationshipRequestWithSubjectSet
|
|
28
28
|
*/
|
|
29
|
-
export interface
|
|
29
|
+
export interface CreateRelationshipRequestWithSubjectSet {
|
|
30
30
|
/**
|
|
31
31
|
* The namespace for the relationship
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof CreateRelationshipRequestWithSubjectSet
|
|
34
34
|
*/
|
|
35
35
|
namespace: string;
|
|
36
36
|
/**
|
|
37
37
|
* The object in the relationship
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof CreateRelationshipRequestWithSubjectSet
|
|
40
40
|
*/
|
|
41
41
|
object: string;
|
|
42
42
|
/**
|
|
43
43
|
* The relation type
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof CreateRelationshipRequestWithSubjectSet
|
|
46
46
|
*/
|
|
47
47
|
relation: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {SubjectSetRequest}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof CreateRelationshipRequestWithSubjectSet
|
|
52
52
|
*/
|
|
53
53
|
subjectSet: SubjectSetRequest;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
* Check if a given object implements the
|
|
57
|
+
* Check if a given object implements the CreateRelationshipRequestWithSubjectSet interface.
|
|
58
58
|
*/
|
|
59
|
-
export function
|
|
59
|
+
export function instanceOfCreateRelationshipRequestWithSubjectSet(value: object): value is CreateRelationshipRequestWithSubjectSet {
|
|
60
60
|
if (!('namespace' in value) || value['namespace'] === undefined) return false;
|
|
61
61
|
if (!('object' in value) || value['object'] === undefined) return false;
|
|
62
62
|
if (!('relation' in value) || value['relation'] === undefined) return false;
|
|
@@ -64,11 +64,11 @@ export function instanceOfCreateRelationshipRequestOneOf1(value: object): value
|
|
|
64
64
|
return true;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
export function
|
|
68
|
-
return
|
|
67
|
+
export function CreateRelationshipRequestWithSubjectSetFromJSON(json: any): CreateRelationshipRequestWithSubjectSet {
|
|
68
|
+
return CreateRelationshipRequestWithSubjectSetFromJSONTyped(json, false);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export function
|
|
71
|
+
export function CreateRelationshipRequestWithSubjectSetFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRelationshipRequestWithSubjectSet {
|
|
72
72
|
if (json == null) {
|
|
73
73
|
return json;
|
|
74
74
|
}
|
|
@@ -81,11 +81,11 @@ export function CreateRelationshipRequestOneOf1FromJSONTyped(json: any, ignoreDi
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export function
|
|
85
|
-
return
|
|
84
|
+
export function CreateRelationshipRequestWithSubjectSetToJSON(json: any): CreateRelationshipRequestWithSubjectSet {
|
|
85
|
+
return CreateRelationshipRequestWithSubjectSetToJSONTyped(json, false);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export function
|
|
88
|
+
export function CreateRelationshipRequestWithSubjectSetToJSONTyped(value?: CreateRelationshipRequestWithSubjectSet | null, ignoreDiscriminator: boolean = false): any {
|
|
89
89
|
if (value == null) {
|
|
90
90
|
return value;
|
|
91
91
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,27 +12,27 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import type {
|
|
15
|
+
import type { DeleteRelationshipRequestWithSubjectId } from './DeleteRelationshipRequestWithSubjectId';
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
22
|
-
import type {
|
|
17
|
+
instanceOfDeleteRelationshipRequestWithSubjectId,
|
|
18
|
+
DeleteRelationshipRequestWithSubjectIdFromJSON,
|
|
19
|
+
DeleteRelationshipRequestWithSubjectIdFromJSONTyped,
|
|
20
|
+
DeleteRelationshipRequestWithSubjectIdToJSON,
|
|
21
|
+
} from './DeleteRelationshipRequestWithSubjectId';
|
|
22
|
+
import type { DeleteRelationshipRequestWithSubjectSet } from './DeleteRelationshipRequestWithSubjectSet';
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from './
|
|
24
|
+
instanceOfDeleteRelationshipRequestWithSubjectSet,
|
|
25
|
+
DeleteRelationshipRequestWithSubjectSetFromJSON,
|
|
26
|
+
DeleteRelationshipRequestWithSubjectSetFromJSONTyped,
|
|
27
|
+
DeleteRelationshipRequestWithSubjectSetToJSON,
|
|
28
|
+
} from './DeleteRelationshipRequestWithSubjectSet';
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* @type DeleteRelationshipRequest
|
|
32
32
|
* Delete relationship request. Must provide exactly one of subject_id or subject_set.
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export type DeleteRelationshipRequest =
|
|
35
|
+
export type DeleteRelationshipRequest = DeleteRelationshipRequestWithSubjectId | DeleteRelationshipRequestWithSubjectSet;
|
|
36
36
|
|
|
37
37
|
export function DeleteRelationshipRequestFromJSON(json: any): DeleteRelationshipRequest {
|
|
38
38
|
return DeleteRelationshipRequestFromJSONTyped(json, false);
|
|
@@ -45,11 +45,11 @@ export function DeleteRelationshipRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
45
45
|
if (typeof json !== 'object') {
|
|
46
46
|
return json;
|
|
47
47
|
}
|
|
48
|
-
if (
|
|
49
|
-
return
|
|
48
|
+
if (instanceOfDeleteRelationshipRequestWithSubjectId(json)) {
|
|
49
|
+
return DeleteRelationshipRequestWithSubjectIdFromJSONTyped(json, true);
|
|
50
50
|
}
|
|
51
|
-
if (
|
|
52
|
-
return
|
|
51
|
+
if (instanceOfDeleteRelationshipRequestWithSubjectSet(json)) {
|
|
52
|
+
return DeleteRelationshipRequestWithSubjectSetFromJSONTyped(json, true);
|
|
53
53
|
}
|
|
54
54
|
return {} as any;
|
|
55
55
|
}
|
|
@@ -65,11 +65,11 @@ export function DeleteRelationshipRequestToJSONTyped(value?: DeleteRelationshipR
|
|
|
65
65
|
if (typeof value !== 'object') {
|
|
66
66
|
return value;
|
|
67
67
|
}
|
|
68
|
-
if (
|
|
69
|
-
return
|
|
68
|
+
if (instanceOfDeleteRelationshipRequestWithSubjectId(value)) {
|
|
69
|
+
return DeleteRelationshipRequestWithSubjectIdToJSON(value as DeleteRelationshipRequestWithSubjectId);
|
|
70
70
|
}
|
|
71
|
-
if (
|
|
72
|
-
return
|
|
71
|
+
if (instanceOfDeleteRelationshipRequestWithSubjectSet(value)) {
|
|
72
|
+
return DeleteRelationshipRequestWithSubjectSetToJSON(value as DeleteRelationshipRequestWithSubjectSet);
|
|
73
73
|
}
|
|
74
74
|
return {};
|
|
75
75
|
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Omnibase REST API
|
|
5
|
+
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
|
+
* Contact: support@omnibase.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Delete relationship request using a direct subject identifier
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DeleteRelationshipRequestWithSubjectId
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteRelationshipRequestWithSubjectId {
|
|
22
|
+
/**
|
|
23
|
+
* The namespace for the relationship
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof DeleteRelationshipRequestWithSubjectId
|
|
26
|
+
*/
|
|
27
|
+
namespace: string;
|
|
28
|
+
/**
|
|
29
|
+
* The object in the relationship
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof DeleteRelationshipRequestWithSubjectId
|
|
32
|
+
*/
|
|
33
|
+
object: string;
|
|
34
|
+
/**
|
|
35
|
+
* The relation type
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof DeleteRelationshipRequestWithSubjectId
|
|
38
|
+
*/
|
|
39
|
+
relation: string;
|
|
40
|
+
/**
|
|
41
|
+
* Direct subject identifier
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof DeleteRelationshipRequestWithSubjectId
|
|
44
|
+
*/
|
|
45
|
+
subjectId: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the DeleteRelationshipRequestWithSubjectId interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfDeleteRelationshipRequestWithSubjectId(value: object): value is DeleteRelationshipRequestWithSubjectId {
|
|
52
|
+
if (!('namespace' in value) || value['namespace'] === undefined) return false;
|
|
53
|
+
if (!('object' in value) || value['object'] === undefined) return false;
|
|
54
|
+
if (!('relation' in value) || value['relation'] === undefined) return false;
|
|
55
|
+
if (!('subjectId' in value) || value['subjectId'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function DeleteRelationshipRequestWithSubjectIdFromJSON(json: any): DeleteRelationshipRequestWithSubjectId {
|
|
60
|
+
return DeleteRelationshipRequestWithSubjectIdFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DeleteRelationshipRequestWithSubjectIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteRelationshipRequestWithSubjectId {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'namespace': json['namespace'],
|
|
70
|
+
'object': json['object'],
|
|
71
|
+
'relation': json['relation'],
|
|
72
|
+
'subjectId': json['subject_id'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function DeleteRelationshipRequestWithSubjectIdToJSON(json: any): DeleteRelationshipRequestWithSubjectId {
|
|
77
|
+
return DeleteRelationshipRequestWithSubjectIdToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function DeleteRelationshipRequestWithSubjectIdToJSONTyped(value?: DeleteRelationshipRequestWithSubjectId | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'namespace': value['namespace'],
|
|
88
|
+
'object': value['object'],
|
|
89
|
+
'relation': value['relation'],
|
|
90
|
+
'subject_id': value['subjectId'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Omnibase REST API
|
|
5
|
+
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
|
+
* Contact: support@omnibase.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { SubjectSetRequest } from './SubjectSetRequest';
|
|
17
|
+
import {
|
|
18
|
+
SubjectSetRequestFromJSON,
|
|
19
|
+
SubjectSetRequestFromJSONTyped,
|
|
20
|
+
SubjectSetRequestToJSON,
|
|
21
|
+
SubjectSetRequestToJSONTyped,
|
|
22
|
+
} from './SubjectSetRequest';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Delete relationship request using a subject set
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DeleteRelationshipRequestWithSubjectSet
|
|
28
|
+
*/
|
|
29
|
+
export interface DeleteRelationshipRequestWithSubjectSet {
|
|
30
|
+
/**
|
|
31
|
+
* The namespace for the relationship
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DeleteRelationshipRequestWithSubjectSet
|
|
34
|
+
*/
|
|
35
|
+
namespace: string;
|
|
36
|
+
/**
|
|
37
|
+
* The object in the relationship
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DeleteRelationshipRequestWithSubjectSet
|
|
40
|
+
*/
|
|
41
|
+
object: string;
|
|
42
|
+
/**
|
|
43
|
+
* The relation type
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DeleteRelationshipRequestWithSubjectSet
|
|
46
|
+
*/
|
|
47
|
+
relation: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {SubjectSetRequest}
|
|
51
|
+
* @memberof DeleteRelationshipRequestWithSubjectSet
|
|
52
|
+
*/
|
|
53
|
+
subjectSet: SubjectSetRequest;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the DeleteRelationshipRequestWithSubjectSet interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfDeleteRelationshipRequestWithSubjectSet(value: object): value is DeleteRelationshipRequestWithSubjectSet {
|
|
60
|
+
if (!('namespace' in value) || value['namespace'] === undefined) return false;
|
|
61
|
+
if (!('object' in value) || value['object'] === undefined) return false;
|
|
62
|
+
if (!('relation' in value) || value['relation'] === undefined) return false;
|
|
63
|
+
if (!('subjectSet' in value) || value['subjectSet'] === undefined) return false;
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function DeleteRelationshipRequestWithSubjectSetFromJSON(json: any): DeleteRelationshipRequestWithSubjectSet {
|
|
68
|
+
return DeleteRelationshipRequestWithSubjectSetFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function DeleteRelationshipRequestWithSubjectSetFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteRelationshipRequestWithSubjectSet {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'namespace': json['namespace'],
|
|
78
|
+
'object': json['object'],
|
|
79
|
+
'relation': json['relation'],
|
|
80
|
+
'subjectSet': SubjectSetRequestFromJSON(json['subject_set']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function DeleteRelationshipRequestWithSubjectSetToJSON(json: any): DeleteRelationshipRequestWithSubjectSet {
|
|
85
|
+
return DeleteRelationshipRequestWithSubjectSetToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function DeleteRelationshipRequestWithSubjectSetToJSONTyped(value?: DeleteRelationshipRequestWithSubjectSet | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'namespace': value['namespace'],
|
|
96
|
+
'object': value['object'],
|
|
97
|
+
'relation': value['relation'],
|
|
98
|
+
'subject_set': SubjectSetRequestToJSON(value['subjectSet']),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Omnibase REST API
|
|
5
5
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control via Ory Keto ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.9.
|
|
7
|
+
* The version of the OpenAPI document: 0.9.17
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|