@omnibase/core-js 0.9.16 → 0.9.18

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.
Files changed (187) hide show
  1. package/.openapi-generator/FILES +12 -8
  2. package/README.md +9 -7
  3. package/docs/CheckPermissionRequestWithSubjectId.md +41 -0
  4. package/docs/CheckPermissionRequestWithSubjectSet.md +41 -0
  5. package/docs/CreateRelationshipRequestWithSubjectId.md +41 -0
  6. package/docs/CreateRelationshipRequestWithSubjectSet.md +41 -0
  7. package/docs/DeleteRelationshipRequestWithSubjectId.md +41 -0
  8. package/docs/DeleteRelationshipRequestWithSubjectSet.md +41 -0
  9. package/docs/NamespaceDefinition.md +2 -0
  10. package/docs/V1TenantsApi.md +12 -4
  11. package/package.json +1 -1
  12. package/src/apis/V1AuthApi.ts +1 -1
  13. package/src/apis/V1ConfigurationApi.ts +1 -1
  14. package/src/apis/V1EventsApi.ts +1 -1
  15. package/src/apis/V1PaymentsApi.ts +1 -1
  16. package/src/apis/V1PermissionsApi.ts +1 -1
  17. package/src/apis/V1StorageApi.ts +1 -1
  18. package/src/apis/V1StripeApi.ts +1 -1
  19. package/src/apis/V1TenantsApi.ts +14 -6
  20. package/src/models/AcceptInvite200Response.ts +1 -1
  21. package/src/models/AcceptInviteRequest.ts +1 -1
  22. package/src/models/AcceptInviteResponse.ts +1 -1
  23. package/src/models/ActiveTenantResponse.ts +1 -1
  24. package/src/models/AddSubscription200Response.ts +1 -1
  25. package/src/models/AddSubscriptionRequest.ts +1 -1
  26. package/src/models/AddSubscriptionResponse.ts +1 -1
  27. package/src/models/ArchiveAllResponse.ts +1 -1
  28. package/src/models/ArchiveAllStripeConfig200Response.ts +1 -1
  29. package/src/models/BadRequest.ts +1 -1
  30. package/src/models/BadRequestResponse.ts +1 -1
  31. package/src/models/BillingInterval.ts +1 -1
  32. package/src/models/BillingStatusResponse.ts +1 -1
  33. package/src/models/CheckPermission200Response.ts +1 -1
  34. package/src/models/CheckPermissionRequest.ts +22 -22
  35. package/src/models/{CheckPermissionRequestOneOf.ts → CheckPermissionRequestWithSubjectId.ts} +16 -16
  36. package/src/models/{CheckPermissionRequestOneOf1.ts → CheckPermissionRequestWithSubjectSet.ts} +16 -16
  37. package/src/models/CheckPermissionResponse.ts +1 -1
  38. package/src/models/ConfigHistoryItem.ts +1 -1
  39. package/src/models/ConfigHistoryPagination.ts +1 -1
  40. package/src/models/ConfigHistoryResponse.ts +1 -1
  41. package/src/models/ConflictResponse.ts +1 -1
  42. package/src/models/ConvertStripeIDToConfigID200Response.ts +1 -1
  43. package/src/models/CreateCheckout200Response.ts +1 -1
  44. package/src/models/CreateCheckoutRequest.ts +1 -1
  45. package/src/models/CreateCheckoutResponse.ts +1 -1
  46. package/src/models/CreateCustomerPortal200Response.ts +1 -1
  47. package/src/models/CreateEmailTemplateRequest.ts +1 -1
  48. package/src/models/CreateInvite200Response.ts +1 -1
  49. package/src/models/CreateOrUpdateEmailTemplate200Response.ts +1 -1
  50. package/src/models/CreateOrUpdateEmailTemplate200ResponseAllOfData.ts +1 -1
  51. package/src/models/CreatePortalRequest.ts +1 -1
  52. package/src/models/CreatePortalResponse.ts +1 -1
  53. package/src/models/CreateRelationship200Response.ts +1 -1
  54. package/src/models/CreateRelationshipRequest.ts +22 -22
  55. package/src/models/{CreateRelationshipRequestOneOf.ts → CreateRelationshipRequestWithSubjectId.ts} +16 -16
  56. package/src/models/{CreateRelationshipRequestOneOf1.ts → CreateRelationshipRequestWithSubjectSet.ts} +16 -16
  57. package/src/models/CreateRelationshipResponse.ts +1 -1
  58. package/src/models/CreateRole200Response.ts +1 -1
  59. package/src/models/CreateRoleRequest.ts +1 -1
  60. package/src/models/CreateTenant200Response.ts +1 -1
  61. package/src/models/CreateTenantRequest.ts +1 -1
  62. package/src/models/CreateTenantResponse.ts +1 -1
  63. package/src/models/CreateTenantUserInviteRequest.ts +1 -1
  64. package/src/models/CreateTenantUserInviteResponse.ts +1 -1
  65. package/src/models/CreateUser200Response.ts +1 -1
  66. package/src/models/CreateUserRequest.ts +1 -1
  67. package/src/models/CreateUserRequestName.ts +1 -1
  68. package/src/models/CurrencyCode.ts +1 -1
  69. package/src/models/DeleteEmailTemplate200Response.ts +1 -1
  70. package/src/models/DeleteEmailTemplate200ResponseAllOfData.ts +1 -1
  71. package/src/models/DeleteObject200Response.ts +1 -1
  72. package/src/models/DeleteObjectRequest.ts +1 -1
  73. package/src/models/DeleteRelationship200Response.ts +1 -1
  74. package/src/models/DeleteRelationshipRequest.ts +22 -22
  75. package/src/models/DeleteRelationshipRequestWithSubjectId.ts +93 -0
  76. package/src/models/DeleteRelationshipRequestWithSubjectSet.ts +101 -0
  77. package/src/models/DeleteRelationshipResponse.ts +1 -1
  78. package/src/models/DeleteRole200Response.ts +1 -1
  79. package/src/models/DeleteRoleResponse.ts +1 -1
  80. package/src/models/DeleteTenant200Response.ts +1 -1
  81. package/src/models/DeleteTenantResponse.ts +1 -1
  82. package/src/models/DeleteTenantUserRequest.ts +1 -1
  83. package/src/models/DeployPermissionNamespaces200Response.ts +1 -1
  84. package/src/models/DownloadFile200Response.ts +1 -1
  85. package/src/models/DownloadRequest.ts +1 -1
  86. package/src/models/DownloadResponse.ts +1 -1
  87. package/src/models/EmailTemplate.ts +1 -1
  88. package/src/models/ErrorResponse.ts +1 -1
  89. package/src/models/ForbiddenResponse.ts +1 -1
  90. package/src/models/GetActiveTenant200Response.ts +1 -1
  91. package/src/models/GetEmailTemplates200Response.ts +1 -1
  92. package/src/models/GetEmailTemplates200ResponseAllOfData.ts +1 -1
  93. package/src/models/GetIdentity200Response.ts +1 -1
  94. package/src/models/GetRoleDefinitions200Response.ts +1 -1
  95. package/src/models/GetSession200Response.ts +1 -1
  96. package/src/models/GetStripeConfig200Response.ts +1 -1
  97. package/src/models/GetStripeConfigHistory200Response.ts +1 -1
  98. package/src/models/GetTenantBillingStatus200Response.ts +1 -1
  99. package/src/models/GetTenantJWT200Response.ts +1 -1
  100. package/src/models/InternalServerError.ts +1 -1
  101. package/src/models/InternalServerErrorResponse.ts +1 -1
  102. package/src/models/JWTTokenResponse.ts +1 -1
  103. package/src/models/KratosIdentity.ts +1 -1
  104. package/src/models/KratosIdentityCredentials.ts +1 -1
  105. package/src/models/KratosIdentityCredentialsPassword.ts +1 -1
  106. package/src/models/KratosIdentityRecoveryAddressesInner.ts +1 -1
  107. package/src/models/KratosIdentityTraits.ts +1 -1
  108. package/src/models/KratosIdentityTraitsName.ts +1 -1
  109. package/src/models/KratosIdentityVerifiableAddressesInner.ts +1 -1
  110. package/src/models/ListRoles200Response.ts +1 -1
  111. package/src/models/ListTenantSubscriptions200Response.ts +1 -1
  112. package/src/models/ListTenantUsers200Response.ts +1 -1
  113. package/src/models/ListTenants200Response.ts +1 -1
  114. package/src/models/ListTenantsResponse.ts +1 -1
  115. package/src/models/Logout200Response.ts +1 -1
  116. package/src/models/LogoutResponse.ts +1 -1
  117. package/src/models/MessageResponse.ts +1 -1
  118. package/src/models/Meter.ts +1 -1
  119. package/src/models/MeterCustomerMapping.ts +1 -1
  120. package/src/models/MeterDefaultAggregation.ts +1 -1
  121. package/src/models/MeterValueSettings.ts +1 -1
  122. package/src/models/MeterWithStripeID.ts +1 -1
  123. package/src/models/MigrationErrorResponse.ts +1 -1
  124. package/src/models/MigrationSuccessResponse.ts +1 -1
  125. package/src/models/NamespaceDefinition.ts +9 -1
  126. package/src/models/NamespaceDefinitionsResponse.ts +1 -1
  127. package/src/models/NamespaceDeploymentResponse.ts +1 -1
  128. package/src/models/NotFound.ts +1 -1
  129. package/src/models/NotFoundResponse.ts +1 -1
  130. package/src/models/PerUnitBillingScheme.ts +1 -1
  131. package/src/models/PerUnitPrice.ts +1 -1
  132. package/src/models/Price.ts +1 -1
  133. package/src/models/PriceDisplay.ts +1 -1
  134. package/src/models/PriceLimit.ts +1 -1
  135. package/src/models/PriceUI.ts +1 -1
  136. package/src/models/PriceWithStripeID.ts +1 -1
  137. package/src/models/Product.ts +1 -1
  138. package/src/models/ProductUI.ts +1 -1
  139. package/src/models/ProductWithStripeIDs.ts +1 -1
  140. package/src/models/PullStripeConfig200Response.ts +1 -1
  141. package/src/models/RecordUsageRequest.ts +1 -1
  142. package/src/models/Relationship.ts +1 -1
  143. package/src/models/RemoveSubscription200Response.ts +1 -1
  144. package/src/models/RemoveSubscriptionRequest.ts +1 -1
  145. package/src/models/RemoveSubscriptionResponse.ts +1 -1
  146. package/src/models/Role.ts +1 -1
  147. package/src/models/RolesListResponse.ts +1 -1
  148. package/src/models/SchemasConflictResponse.ts +1 -1
  149. package/src/models/SessionResponse.ts +1 -1
  150. package/src/models/StripeConfigResponse.ts +1 -1
  151. package/src/models/StripeConfigUpdateRequest.ts +1 -1
  152. package/src/models/StripeConfigValidateRequest.ts +1 -1
  153. package/src/models/StripeConfiguration.ts +1 -1
  154. package/src/models/StripeConfigurationWithIDs.ts +1 -1
  155. package/src/models/StripeIDConversionResponse.ts +1 -1
  156. package/src/models/SubjectSet.ts +1 -1
  157. package/src/models/SubjectSetRequest.ts +1 -1
  158. package/src/models/SubscriptionResponse.ts +1 -1
  159. package/src/models/SuccessResponse.ts +1 -1
  160. package/src/models/SuccessResponseData.ts +1 -1
  161. package/src/models/SwitchActiveTenant200Response.ts +1 -1
  162. package/src/models/SwitchTenantRequest.ts +1 -1
  163. package/src/models/SwitchTenantResponse.ts +1 -1
  164. package/src/models/Tenant.ts +1 -1
  165. package/src/models/TenantInvite.ts +1 -1
  166. package/src/models/TenantSettings.ts +1 -1
  167. package/src/models/TenantUserResponse.ts +1 -1
  168. package/src/models/Tier.ts +1 -1
  169. package/src/models/TierUpTo.ts +1 -1
  170. package/src/models/TieredBillingScheme.ts +1 -1
  171. package/src/models/TieredPrice.ts +1 -1
  172. package/src/models/TiersMode.ts +1 -1
  173. package/src/models/Unauthorized.ts +1 -1
  174. package/src/models/UnauthorizedResponse.ts +1 -1
  175. package/src/models/UpdateRoleRequest.ts +1 -1
  176. package/src/models/UpdateTenantUserRole200Response.ts +1 -1
  177. package/src/models/UpdateTenantUserRoleRequest.ts +1 -1
  178. package/src/models/UpdateTenantUserRoleResponse.ts +1 -1
  179. package/src/models/UploadFile200Response.ts +1 -1
  180. package/src/models/UploadRequest.ts +1 -1
  181. package/src/models/UploadResponse.ts +1 -1
  182. package/src/models/UsageType.ts +1 -1
  183. package/src/models/UserTenantListItem.ts +1 -1
  184. package/src/models/WhoAmI200Response.ts +1 -1
  185. package/src/models/WhoAmIResponse.ts +1 -1
  186. package/src/models/index.ts +6 -4
  187. package/src/runtime.ts +1 -1
@@ -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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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 { CheckPermissionRequestOneOf } from './CheckPermissionRequestOneOf';
15
+ import type { CheckPermissionRequestWithSubjectId } from './CheckPermissionRequestWithSubjectId';
16
16
  import {
17
- instanceOfCheckPermissionRequestOneOf,
18
- CheckPermissionRequestOneOfFromJSON,
19
- CheckPermissionRequestOneOfFromJSONTyped,
20
- CheckPermissionRequestOneOfToJSON,
21
- } from './CheckPermissionRequestOneOf';
22
- import type { CheckPermissionRequestOneOf1 } from './CheckPermissionRequestOneOf1';
17
+ instanceOfCheckPermissionRequestWithSubjectId,
18
+ CheckPermissionRequestWithSubjectIdFromJSON,
19
+ CheckPermissionRequestWithSubjectIdFromJSONTyped,
20
+ CheckPermissionRequestWithSubjectIdToJSON,
21
+ } from './CheckPermissionRequestWithSubjectId';
22
+ import type { CheckPermissionRequestWithSubjectSet } from './CheckPermissionRequestWithSubjectSet';
23
23
  import {
24
- instanceOfCheckPermissionRequestOneOf1,
25
- CheckPermissionRequestOneOf1FromJSON,
26
- CheckPermissionRequestOneOf1FromJSONTyped,
27
- CheckPermissionRequestOneOf1ToJSON,
28
- } from './CheckPermissionRequestOneOf1';
24
+ instanceOfCheckPermissionRequestWithSubjectSet,
25
+ CheckPermissionRequestWithSubjectSetFromJSON,
26
+ CheckPermissionRequestWithSubjectSetFromJSONTyped,
27
+ CheckPermissionRequestWithSubjectSetToJSON,
28
+ } from './CheckPermissionRequestWithSubjectSet';
29
29
 
30
30
  /**
31
31
  * @type CheckPermissionRequest
32
32
  * Check permission request. Must provide exactly one of subject_id or subject_set.
33
33
  * @export
34
34
  */
35
- export type CheckPermissionRequest = CheckPermissionRequestOneOf | CheckPermissionRequestOneOf1;
35
+ export type CheckPermissionRequest = CheckPermissionRequestWithSubjectId | CheckPermissionRequestWithSubjectSet;
36
36
 
37
37
  export function CheckPermissionRequestFromJSON(json: any): CheckPermissionRequest {
38
38
  return CheckPermissionRequestFromJSONTyped(json, false);
@@ -45,11 +45,11 @@ export function CheckPermissionRequestFromJSONTyped(json: any, ignoreDiscriminat
45
45
  if (typeof json !== 'object') {
46
46
  return json;
47
47
  }
48
- if (instanceOfCheckPermissionRequestOneOf(json)) {
49
- return CheckPermissionRequestOneOfFromJSONTyped(json, true);
48
+ if (instanceOfCheckPermissionRequestWithSubjectId(json)) {
49
+ return CheckPermissionRequestWithSubjectIdFromJSONTyped(json, true);
50
50
  }
51
- if (instanceOfCheckPermissionRequestOneOf1(json)) {
52
- return CheckPermissionRequestOneOf1FromJSONTyped(json, true);
51
+ if (instanceOfCheckPermissionRequestWithSubjectSet(json)) {
52
+ return CheckPermissionRequestWithSubjectSetFromJSONTyped(json, true);
53
53
  }
54
54
  return {} as any;
55
55
  }
@@ -65,11 +65,11 @@ export function CheckPermissionRequestToJSONTyped(value?: CheckPermissionRequest
65
65
  if (typeof value !== 'object') {
66
66
  return value;
67
67
  }
68
- if (instanceOfCheckPermissionRequestOneOf(value)) {
69
- return CheckPermissionRequestOneOfToJSON(value as CheckPermissionRequestOneOf);
68
+ if (instanceOfCheckPermissionRequestWithSubjectId(value)) {
69
+ return CheckPermissionRequestWithSubjectIdToJSON(value as CheckPermissionRequestWithSubjectId);
70
70
  }
71
- if (instanceOfCheckPermissionRequestOneOf1(value)) {
72
- return CheckPermissionRequestOneOf1ToJSON(value as CheckPermissionRequestOneOf1);
71
+ if (instanceOfCheckPermissionRequestWithSubjectSet(value)) {
72
+ return CheckPermissionRequestWithSubjectSetToJSON(value as CheckPermissionRequestWithSubjectSet);
73
73
  }
74
74
  return {};
75
75
  }
@@ -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.16
7
+ * The version of the OpenAPI document: 0.9.18
8
8
  * Contact: support@omnibase.dev
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,41 +14,41 @@
14
14
 
15
15
  import { mapValues } from '../runtime';
16
16
  /**
17
- *
17
+ * Check permission request using a direct subject identifier
18
18
  * @export
19
- * @interface CheckPermissionRequestOneOf
19
+ * @interface CheckPermissionRequestWithSubjectId
20
20
  */
21
- export interface CheckPermissionRequestOneOf {
21
+ export interface CheckPermissionRequestWithSubjectId {
22
22
  /**
23
23
  * The namespace of the permission check
24
24
  * @type {string}
25
- * @memberof CheckPermissionRequestOneOf
25
+ * @memberof CheckPermissionRequestWithSubjectId
26
26
  */
27
27
  namespace: string;
28
28
  /**
29
29
  * The object to check permissions on
30
30
  * @type {string}
31
- * @memberof CheckPermissionRequestOneOf
31
+ * @memberof CheckPermissionRequestWithSubjectId
32
32
  */
33
33
  object: string;
34
34
  /**
35
35
  * The relation/permission to check
36
36
  * @type {string}
37
- * @memberof CheckPermissionRequestOneOf
37
+ * @memberof CheckPermissionRequestWithSubjectId
38
38
  */
39
39
  relation: string;
40
40
  /**
41
41
  * Direct subject identifier
42
42
  * @type {string}
43
- * @memberof CheckPermissionRequestOneOf
43
+ * @memberof CheckPermissionRequestWithSubjectId
44
44
  */
45
45
  subjectId: string;
46
46
  }
47
47
 
48
48
  /**
49
- * Check if a given object implements the CheckPermissionRequestOneOf interface.
49
+ * Check if a given object implements the CheckPermissionRequestWithSubjectId interface.
50
50
  */
51
- export function instanceOfCheckPermissionRequestOneOf(value: object): value is CheckPermissionRequestOneOf {
51
+ export function instanceOfCheckPermissionRequestWithSubjectId(value: object): value is CheckPermissionRequestWithSubjectId {
52
52
  if (!('namespace' in value) || value['namespace'] === undefined) return false;
53
53
  if (!('object' in value) || value['object'] === undefined) return false;
54
54
  if (!('relation' in value) || value['relation'] === undefined) return false;
@@ -56,11 +56,11 @@ export function instanceOfCheckPermissionRequestOneOf(value: object): value is C
56
56
  return true;
57
57
  }
58
58
 
59
- export function CheckPermissionRequestOneOfFromJSON(json: any): CheckPermissionRequestOneOf {
60
- return CheckPermissionRequestOneOfFromJSONTyped(json, false);
59
+ export function CheckPermissionRequestWithSubjectIdFromJSON(json: any): CheckPermissionRequestWithSubjectId {
60
+ return CheckPermissionRequestWithSubjectIdFromJSONTyped(json, false);
61
61
  }
62
62
 
63
- export function CheckPermissionRequestOneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckPermissionRequestOneOf {
63
+ export function CheckPermissionRequestWithSubjectIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckPermissionRequestWithSubjectId {
64
64
  if (json == null) {
65
65
  return json;
66
66
  }
@@ -73,11 +73,11 @@ export function CheckPermissionRequestOneOfFromJSONTyped(json: any, ignoreDiscri
73
73
  };
74
74
  }
75
75
 
76
- export function CheckPermissionRequestOneOfToJSON(json: any): CheckPermissionRequestOneOf {
77
- return CheckPermissionRequestOneOfToJSONTyped(json, false);
76
+ export function CheckPermissionRequestWithSubjectIdToJSON(json: any): CheckPermissionRequestWithSubjectId {
77
+ return CheckPermissionRequestWithSubjectIdToJSONTyped(json, false);
78
78
  }
79
79
 
80
- export function CheckPermissionRequestOneOfToJSONTyped(value?: CheckPermissionRequestOneOf | null, ignoreDiscriminator: boolean = false): any {
80
+ export function CheckPermissionRequestWithSubjectIdToJSONTyped(value?: CheckPermissionRequestWithSubjectId | null, ignoreDiscriminator: boolean = false): any {
81
81
  if (value == null) {
82
82
  return value;
83
83
  }
@@ -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.16
7
+ * The version of the OpenAPI document: 0.9.18
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
+ * Check permission request using a subject set
26
26
  * @export
27
- * @interface CheckPermissionRequestOneOf1
27
+ * @interface CheckPermissionRequestWithSubjectSet
28
28
  */
29
- export interface CheckPermissionRequestOneOf1 {
29
+ export interface CheckPermissionRequestWithSubjectSet {
30
30
  /**
31
31
  * The namespace of the permission check
32
32
  * @type {string}
33
- * @memberof CheckPermissionRequestOneOf1
33
+ * @memberof CheckPermissionRequestWithSubjectSet
34
34
  */
35
35
  namespace: string;
36
36
  /**
37
37
  * The object to check permissions on
38
38
  * @type {string}
39
- * @memberof CheckPermissionRequestOneOf1
39
+ * @memberof CheckPermissionRequestWithSubjectSet
40
40
  */
41
41
  object: string;
42
42
  /**
43
43
  * The relation/permission to check
44
44
  * @type {string}
45
- * @memberof CheckPermissionRequestOneOf1
45
+ * @memberof CheckPermissionRequestWithSubjectSet
46
46
  */
47
47
  relation: string;
48
48
  /**
49
49
  *
50
50
  * @type {SubjectSetRequest}
51
- * @memberof CheckPermissionRequestOneOf1
51
+ * @memberof CheckPermissionRequestWithSubjectSet
52
52
  */
53
53
  subjectSet: SubjectSetRequest;
54
54
  }
55
55
 
56
56
  /**
57
- * Check if a given object implements the CheckPermissionRequestOneOf1 interface.
57
+ * Check if a given object implements the CheckPermissionRequestWithSubjectSet interface.
58
58
  */
59
- export function instanceOfCheckPermissionRequestOneOf1(value: object): value is CheckPermissionRequestOneOf1 {
59
+ export function instanceOfCheckPermissionRequestWithSubjectSet(value: object): value is CheckPermissionRequestWithSubjectSet {
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 instanceOfCheckPermissionRequestOneOf1(value: object): value is
64
64
  return true;
65
65
  }
66
66
 
67
- export function CheckPermissionRequestOneOf1FromJSON(json: any): CheckPermissionRequestOneOf1 {
68
- return CheckPermissionRequestOneOf1FromJSONTyped(json, false);
67
+ export function CheckPermissionRequestWithSubjectSetFromJSON(json: any): CheckPermissionRequestWithSubjectSet {
68
+ return CheckPermissionRequestWithSubjectSetFromJSONTyped(json, false);
69
69
  }
70
70
 
71
- export function CheckPermissionRequestOneOf1FromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckPermissionRequestOneOf1 {
71
+ export function CheckPermissionRequestWithSubjectSetFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckPermissionRequestWithSubjectSet {
72
72
  if (json == null) {
73
73
  return json;
74
74
  }
@@ -81,11 +81,11 @@ export function CheckPermissionRequestOneOf1FromJSONTyped(json: any, ignoreDiscr
81
81
  };
82
82
  }
83
83
 
84
- export function CheckPermissionRequestOneOf1ToJSON(json: any): CheckPermissionRequestOneOf1 {
85
- return CheckPermissionRequestOneOf1ToJSONTyped(json, false);
84
+ export function CheckPermissionRequestWithSubjectSetToJSON(json: any): CheckPermissionRequestWithSubjectSet {
85
+ return CheckPermissionRequestWithSubjectSetToJSONTyped(json, false);
86
86
  }
87
87
 
88
- export function CheckPermissionRequestOneOf1ToJSONTyped(value?: CheckPermissionRequestOneOf1 | null, ignoreDiscriminator: boolean = false): any {
88
+ export function CheckPermissionRequestWithSubjectSetToJSONTyped(value?: CheckPermissionRequestWithSubjectSet | 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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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.16
7
+ * The version of the OpenAPI document: 0.9.18
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 { CreateRelationshipRequestOneOf } from './CreateRelationshipRequestOneOf';
15
+ import type { CreateRelationshipRequestWithSubjectId } from './CreateRelationshipRequestWithSubjectId';
16
16
  import {
17
- instanceOfCreateRelationshipRequestOneOf,
18
- CreateRelationshipRequestOneOfFromJSON,
19
- CreateRelationshipRequestOneOfFromJSONTyped,
20
- CreateRelationshipRequestOneOfToJSON,
21
- } from './CreateRelationshipRequestOneOf';
22
- import type { CreateRelationshipRequestOneOf1 } from './CreateRelationshipRequestOneOf1';
17
+ instanceOfCreateRelationshipRequestWithSubjectId,
18
+ CreateRelationshipRequestWithSubjectIdFromJSON,
19
+ CreateRelationshipRequestWithSubjectIdFromJSONTyped,
20
+ CreateRelationshipRequestWithSubjectIdToJSON,
21
+ } from './CreateRelationshipRequestWithSubjectId';
22
+ import type { CreateRelationshipRequestWithSubjectSet } from './CreateRelationshipRequestWithSubjectSet';
23
23
  import {
24
- instanceOfCreateRelationshipRequestOneOf1,
25
- CreateRelationshipRequestOneOf1FromJSON,
26
- CreateRelationshipRequestOneOf1FromJSONTyped,
27
- CreateRelationshipRequestOneOf1ToJSON,
28
- } from './CreateRelationshipRequestOneOf1';
24
+ instanceOfCreateRelationshipRequestWithSubjectSet,
25
+ CreateRelationshipRequestWithSubjectSetFromJSON,
26
+ CreateRelationshipRequestWithSubjectSetFromJSONTyped,
27
+ CreateRelationshipRequestWithSubjectSetToJSON,
28
+ } from './CreateRelationshipRequestWithSubjectSet';
29
29
 
30
30
  /**
31
31
  * @type CreateRelationshipRequest
32
32
  * Create relationship request. Must provide exactly one of subject_id or subject_set.
33
33
  * @export
34
34
  */
35
- export type CreateRelationshipRequest = CreateRelationshipRequestOneOf | CreateRelationshipRequestOneOf1;
35
+ export type CreateRelationshipRequest = CreateRelationshipRequestWithSubjectId | CreateRelationshipRequestWithSubjectSet;
36
36
 
37
37
  export function CreateRelationshipRequestFromJSON(json: any): CreateRelationshipRequest {
38
38
  return CreateRelationshipRequestFromJSONTyped(json, false);
@@ -45,11 +45,11 @@ export function CreateRelationshipRequestFromJSONTyped(json: any, ignoreDiscrimi
45
45
  if (typeof json !== 'object') {
46
46
  return json;
47
47
  }
48
- if (instanceOfCreateRelationshipRequestOneOf(json)) {
49
- return CreateRelationshipRequestOneOfFromJSONTyped(json, true);
48
+ if (instanceOfCreateRelationshipRequestWithSubjectId(json)) {
49
+ return CreateRelationshipRequestWithSubjectIdFromJSONTyped(json, true);
50
50
  }
51
- if (instanceOfCreateRelationshipRequestOneOf1(json)) {
52
- return CreateRelationshipRequestOneOf1FromJSONTyped(json, true);
51
+ if (instanceOfCreateRelationshipRequestWithSubjectSet(json)) {
52
+ return CreateRelationshipRequestWithSubjectSetFromJSONTyped(json, true);
53
53
  }
54
54
  return {} as any;
55
55
  }
@@ -65,11 +65,11 @@ export function CreateRelationshipRequestToJSONTyped(value?: CreateRelationshipR
65
65
  if (typeof value !== 'object') {
66
66
  return value;
67
67
  }
68
- if (instanceOfCreateRelationshipRequestOneOf(value)) {
69
- return CreateRelationshipRequestOneOfToJSON(value as CreateRelationshipRequestOneOf);
68
+ if (instanceOfCreateRelationshipRequestWithSubjectId(value)) {
69
+ return CreateRelationshipRequestWithSubjectIdToJSON(value as CreateRelationshipRequestWithSubjectId);
70
70
  }
71
- if (instanceOfCreateRelationshipRequestOneOf1(value)) {
72
- return CreateRelationshipRequestOneOf1ToJSON(value as CreateRelationshipRequestOneOf1);
71
+ if (instanceOfCreateRelationshipRequestWithSubjectSet(value)) {
72
+ return CreateRelationshipRequestWithSubjectSetToJSON(value as CreateRelationshipRequestWithSubjectSet);
73
73
  }
74
74
  return {};
75
75
  }