@omnibase/core-js 0.9.1 → 0.9.3
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 +19 -18
- package/README.md +44 -44
- package/dist/apis/{DatabaseApi.d.ts → V1DatabaseApi.d.ts} +2 -2
- package/dist/apis/{DatabaseApi.js → V1DatabaseApi.js} +5 -5
- package/dist/{esm/apis/PaymentsApi.d.ts → apis/V1PaymentsApi.d.ts} +2 -2
- package/dist/apis/{PaymentsApi.js → V1PaymentsApi.js} +7 -7
- package/dist/{esm/apis/PermissionsApi.d.ts → apis/V1PermissionsApi.d.ts} +2 -2
- package/dist/apis/{PermissionsApi.js → V1PermissionsApi.js} +7 -7
- package/dist/{esm/apis/StorageApi.d.ts → apis/V1StorageApi.d.ts} +12 -12
- package/dist/apis/{StorageApi.js → V1StorageApi.js} +22 -22
- package/dist/{esm/apis/StripeApi.d.ts → apis/V1StripeApi.d.ts} +2 -2
- package/dist/apis/{StripeApi.js → V1StripeApi.js} +12 -12
- package/dist/{esm/apis/TenantsApi.d.ts → apis/V1TenantsApi.d.ts} +2 -2
- package/dist/apis/{TenantsApi.js → V1TenantsApi.js} +21 -21
- package/dist/apis/index.d.ts +6 -6
- package/dist/apis/index.js +6 -6
- package/dist/esm/apis/{DatabaseApi.d.ts → V1DatabaseApi.d.ts} +2 -2
- package/dist/esm/apis/{DatabaseApi.js → V1DatabaseApi.js} +3 -3
- package/dist/{apis/PaymentsApi.d.ts → esm/apis/V1PaymentsApi.d.ts} +2 -2
- package/dist/esm/apis/{PaymentsApi.js → V1PaymentsApi.js} +5 -5
- package/dist/{apis/PermissionsApi.d.ts → esm/apis/V1PermissionsApi.d.ts} +2 -2
- package/dist/esm/apis/{PermissionsApi.js → V1PermissionsApi.js} +5 -5
- package/dist/{apis/StorageApi.d.ts → esm/apis/V1StorageApi.d.ts} +12 -12
- package/dist/esm/apis/{StorageApi.js → V1StorageApi.js} +21 -21
- package/dist/{apis/StripeApi.d.ts → esm/apis/V1StripeApi.d.ts} +2 -2
- package/dist/esm/apis/{StripeApi.js → V1StripeApi.js} +10 -10
- package/dist/{apis/TenantsApi.d.ts → esm/apis/V1TenantsApi.d.ts} +2 -2
- package/dist/esm/apis/{TenantsApi.js → V1TenantsApi.js} +19 -19
- package/dist/esm/apis/index.d.ts +6 -6
- package/dist/esm/apis/index.js +6 -6
- package/dist/esm/models/AcceptInvite200Response.d.ts +1 -1
- package/dist/esm/models/AcceptInvite200Response.js +1 -1
- package/dist/{models/StorageDownloadPost200Response.d.ts → esm/models/ApiV1StorageDownloadPost200Response.d.ts} +11 -11
- package/dist/esm/models/{StorageDownloadPost200Response.js → ApiV1StorageDownloadPost200Response.js} +9 -9
- package/dist/esm/models/{StorageObjectDelete200Response.d.ts → ApiV1StorageObjectDelete200Response.d.ts} +11 -11
- package/dist/esm/models/{StorageObjectDelete200Response.js → ApiV1StorageObjectDelete200Response.js} +9 -9
- package/dist/{models/StorageUploadPost200Response.d.ts → esm/models/ApiV1StorageUploadPost200Response.d.ts} +11 -11
- package/dist/esm/models/{StorageUploadPost200Response.js → ApiV1StorageUploadPost200Response.js} +9 -9
- package/dist/esm/models/ArchiveAllStripeConfig200Response.d.ts +1 -1
- package/dist/esm/models/ArchiveAllStripeConfig200Response.js +1 -1
- package/dist/esm/models/AssignRole200Response.d.ts +1 -1
- package/dist/esm/models/AssignRole200Response.js +1 -1
- package/dist/esm/models/CheckPermission200Response.d.ts +1 -1
- package/dist/esm/models/CheckPermission200Response.js +1 -1
- package/dist/esm/models/ClientRelationship.d.ts +1 -1
- package/dist/esm/models/ClientRelationship.js +1 -1
- package/dist/esm/models/ClientSubjectSet.d.ts +1 -1
- package/dist/esm/models/ClientSubjectSet.js +1 -1
- package/dist/esm/models/CreateCheckout200Response.d.ts +1 -1
- package/dist/esm/models/CreateCheckout200Response.js +1 -1
- package/dist/esm/models/CreateCustomerPortal200Response.d.ts +1 -1
- package/dist/esm/models/CreateCustomerPortal200Response.js +1 -1
- package/dist/esm/models/CreateInvite200Response.d.ts +1 -1
- package/dist/esm/models/CreateInvite200Response.js +1 -1
- package/dist/esm/models/CreateRelationship200Response.d.ts +1 -1
- package/dist/esm/models/CreateRelationship200Response.js +1 -1
- package/dist/esm/models/CreateRole200Response.d.ts +1 -1
- package/dist/esm/models/CreateRole200Response.js +1 -1
- package/dist/esm/models/CreateTenant200Response.d.ts +1 -1
- package/dist/esm/models/CreateTenant200Response.js +1 -1
- package/dist/esm/models/DeleteRole200Response.d.ts +1 -1
- package/dist/esm/models/DeleteRole200Response.js +1 -1
- package/dist/esm/models/DeleteTenant200Response.d.ts +1 -1
- package/dist/esm/models/DeleteTenant200Response.js +1 -1
- package/dist/esm/models/DeployPermissionNamespaces200Response.d.ts +1 -1
- package/dist/esm/models/DeployPermissionNamespaces200Response.js +1 -1
- package/dist/esm/models/GetRoleDefinitions200Response.d.ts +1 -1
- package/dist/esm/models/GetRoleDefinitions200Response.js +1 -1
- package/dist/esm/models/GetStripeConfig200Response.d.ts +1 -1
- package/dist/esm/models/GetStripeConfig200Response.js +1 -1
- package/dist/esm/models/GetStripeConfigHistory200Response.d.ts +1 -1
- package/dist/esm/models/GetStripeConfigHistory200Response.js +1 -1
- package/dist/esm/models/GetTenantBillingStatus200Response.d.ts +1 -1
- package/dist/esm/models/GetTenantBillingStatus200Response.js +1 -1
- package/dist/esm/models/GetTenantJWT200Response.d.ts +1 -1
- package/dist/esm/models/GetTenantJWT200Response.js +1 -1
- package/dist/esm/models/HandlersBadRequestResponse.d.ts +1 -1
- package/dist/esm/models/HandlersBadRequestResponse.js +1 -1
- package/dist/esm/models/HandlersForbiddenResponse.d.ts +1 -1
- package/dist/esm/models/HandlersForbiddenResponse.js +1 -1
- package/dist/esm/models/HandlersInternalServerErrorResponse.d.ts +1 -1
- package/dist/esm/models/HandlersInternalServerErrorResponse.js +1 -1
- package/dist/esm/models/HandlersNotFoundErrorResponse.d.ts +1 -1
- package/dist/esm/models/HandlersNotFoundErrorResponse.js +1 -1
- package/dist/esm/models/HandlersSuccessResponse.d.ts +1 -1
- package/dist/esm/models/HandlersSuccessResponse.js +1 -1
- package/dist/esm/models/HandlersUnauthorizedResponse.d.ts +1 -1
- package/dist/esm/models/HandlersUnauthorizedResponse.js +1 -1
- package/dist/esm/models/ListRoles200Response.d.ts +1 -1
- package/dist/esm/models/ListRoles200Response.js +1 -1
- package/dist/esm/models/ListTenantSubscriptions200Response.d.ts +1 -1
- package/dist/esm/models/ListTenantSubscriptions200Response.js +1 -1
- package/dist/esm/models/ListTenantUsers200Response.d.ts +1 -1
- package/dist/esm/models/ListTenantUsers200Response.js +1 -1
- package/dist/esm/models/ModelsBillingStatusResponse.d.ts +1 -1
- package/dist/esm/models/ModelsBillingStatusResponse.js +1 -1
- package/dist/esm/models/ModelsDeleteObjectRequest.d.ts +1 -1
- package/dist/esm/models/ModelsDeleteObjectRequest.js +1 -1
- package/dist/esm/models/ModelsDownloadRequest.d.ts +1 -1
- package/dist/esm/models/ModelsDownloadRequest.js +1 -1
- package/dist/esm/models/ModelsDownloadResponse.d.ts +1 -1
- package/dist/esm/models/ModelsDownloadResponse.js +1 -1
- package/dist/esm/models/ModelsMessageResponse.d.ts +1 -1
- package/dist/esm/models/ModelsMessageResponse.js +1 -1
- package/dist/esm/models/ModelsMeter.d.ts +1 -1
- package/dist/esm/models/ModelsMeter.js +1 -1
- package/dist/esm/models/ModelsMeterCustomerMapping.d.ts +1 -1
- package/dist/esm/models/ModelsMeterCustomerMapping.js +1 -1
- package/dist/esm/models/ModelsMeterDefaultAggregation.d.ts +1 -1
- package/dist/esm/models/ModelsMeterDefaultAggregation.js +1 -1
- package/dist/esm/models/ModelsMeterValueSettings.d.ts +1 -1
- package/dist/esm/models/ModelsMeterValueSettings.js +1 -1
- package/dist/esm/models/ModelsMeterWithStripeID.d.ts +1 -1
- package/dist/esm/models/ModelsMeterWithStripeID.js +1 -1
- package/dist/esm/models/ModelsNamespaceDefinition.d.ts +1 -1
- package/dist/esm/models/ModelsNamespaceDefinition.js +1 -1
- package/dist/esm/models/ModelsPrice.d.ts +1 -1
- package/dist/esm/models/ModelsPrice.js +1 -1
- package/dist/esm/models/ModelsPriceDisplay.d.ts +1 -1
- package/dist/esm/models/ModelsPriceDisplay.js +1 -1
- package/dist/esm/models/ModelsPriceLimit.d.ts +1 -1
- package/dist/esm/models/ModelsPriceLimit.js +1 -1
- package/dist/esm/models/ModelsPriceUI.d.ts +1 -1
- package/dist/esm/models/ModelsPriceUI.js +1 -1
- package/dist/esm/models/ModelsPriceWithStripeID.d.ts +1 -1
- package/dist/esm/models/ModelsPriceWithStripeID.js +1 -1
- package/dist/esm/models/ModelsProduct.d.ts +1 -1
- package/dist/esm/models/ModelsProduct.js +1 -1
- package/dist/esm/models/ModelsProductUI.d.ts +1 -1
- package/dist/esm/models/ModelsProductUI.js +1 -1
- package/dist/esm/models/ModelsProductWithStripeIDs.d.ts +1 -1
- package/dist/esm/models/ModelsProductWithStripeIDs.js +1 -1
- package/dist/esm/models/ModelsRole.d.ts +1 -1
- package/dist/esm/models/ModelsRole.js +1 -1
- package/dist/esm/models/ModelsStripeConfiguration.d.ts +1 -1
- package/dist/esm/models/ModelsStripeConfiguration.js +1 -1
- package/dist/esm/models/ModelsStripeConfigurationWithIDs.d.ts +1 -1
- package/dist/esm/models/ModelsStripeConfigurationWithIDs.js +1 -1
- package/dist/esm/models/ModelsSubscriptionResponse.d.ts +1 -1
- package/dist/esm/models/ModelsSubscriptionResponse.js +1 -1
- package/dist/esm/models/ModelsTenant.d.ts +1 -1
- package/dist/esm/models/ModelsTenant.js +1 -1
- package/dist/esm/models/ModelsTenantInvite.d.ts +1 -1
- package/dist/esm/models/ModelsTenantInvite.js +1 -1
- package/dist/esm/models/ModelsTenantSettings.d.ts +1 -1
- package/dist/esm/models/ModelsTenantSettings.js +1 -1
- package/dist/esm/models/ModelsTier.d.ts +1 -1
- package/dist/esm/models/ModelsTier.js +1 -1
- package/dist/esm/models/ModelsUploadRequest.d.ts +1 -1
- package/dist/esm/models/ModelsUploadRequest.js +1 -1
- package/dist/esm/models/ModelsUploadResponse.d.ts +1 -1
- package/dist/esm/models/ModelsUploadResponse.js +1 -1
- package/dist/esm/models/PullStripeConfig200Response.d.ts +1 -1
- package/dist/esm/models/PullStripeConfig200Response.js +1 -1
- package/dist/esm/models/SwitchActiveTenant200Response.d.ts +1 -1
- package/dist/esm/models/SwitchActiveTenant200Response.js +1 -1
- package/dist/esm/models/TenantsAcceptInviteRequest.d.ts +1 -1
- package/dist/esm/models/TenantsAcceptInviteRequest.js +1 -1
- package/dist/esm/models/TenantsAcceptInviteResponse.d.ts +4 -4
- package/dist/esm/models/TenantsAcceptInviteResponse.js +10 -4
- package/dist/esm/models/TenantsAssignRoleRequest.d.ts +1 -1
- package/dist/esm/models/TenantsAssignRoleRequest.js +1 -1
- package/dist/esm/models/TenantsAssignRoleResponse.d.ts +2 -2
- package/dist/esm/models/TenantsAssignRoleResponse.js +4 -2
- package/dist/esm/models/TenantsCreateRoleRequest.d.ts +1 -1
- package/dist/esm/models/TenantsCreateRoleRequest.js +1 -1
- package/dist/esm/models/TenantsCreateTenantRequest.d.ts +1 -1
- package/dist/esm/models/TenantsCreateTenantRequest.js +1 -1
- package/dist/esm/models/TenantsCreateTenantResponse.d.ts +1 -1
- package/dist/esm/models/TenantsCreateTenantResponse.js +1 -1
- package/dist/esm/models/TenantsCreateTenantUserInviteRequest.d.ts +1 -1
- package/dist/esm/models/TenantsCreateTenantUserInviteRequest.js +1 -1
- package/dist/esm/models/TenantsCreateTenantUserInviteResponse.d.ts +3 -3
- package/dist/esm/models/TenantsCreateTenantUserInviteResponse.js +7 -3
- package/dist/esm/models/TenantsDeleteRoleResponse.d.ts +2 -2
- package/dist/esm/models/TenantsDeleteRoleResponse.js +4 -2
- package/dist/esm/models/TenantsDeleteTenantResponse.d.ts +2 -2
- package/dist/esm/models/TenantsDeleteTenantResponse.js +4 -2
- package/dist/esm/models/TenantsDeleteTenantUserRequest.d.ts +1 -1
- package/dist/esm/models/TenantsDeleteTenantUserRequest.js +1 -1
- package/dist/esm/models/TenantsJWTTokenResponse.d.ts +2 -2
- package/dist/esm/models/TenantsJWTTokenResponse.js +4 -2
- package/dist/esm/models/TenantsNamespaceDefinitionsResponse.d.ts +2 -2
- package/dist/esm/models/TenantsNamespaceDefinitionsResponse.js +5 -3
- package/dist/esm/models/TenantsRolesListResponse.d.ts +2 -2
- package/dist/esm/models/TenantsRolesListResponse.js +5 -3
- package/dist/esm/models/TenantsSwitchTenantRequest.d.ts +1 -1
- package/dist/esm/models/TenantsSwitchTenantRequest.js +1 -1
- package/dist/esm/models/TenantsSwitchTenantResponse.d.ts +3 -3
- package/dist/esm/models/TenantsSwitchTenantResponse.js +7 -3
- package/dist/esm/models/TenantsTenantUserResponse.d.ts +6 -6
- package/dist/esm/models/TenantsTenantUserResponse.js +16 -6
- package/dist/esm/models/TenantsUpdateRoleRequest.d.ts +1 -1
- package/dist/esm/models/TenantsUpdateRoleRequest.js +1 -1
- package/dist/esm/models/TenantsUpdateTenantUserRoleRequest.d.ts +1 -1
- package/dist/esm/models/TenantsUpdateTenantUserRoleRequest.js +1 -1
- package/dist/esm/models/TenantsUpdateTenantUserRoleResponse.d.ts +2 -2
- package/dist/esm/models/TenantsUpdateTenantUserRoleResponse.js +4 -2
- package/dist/esm/models/UpdateTenantUserRole200Response.d.ts +1 -1
- package/dist/esm/models/UpdateTenantUserRole200Response.js +1 -1
- package/dist/esm/models/V1ArchiveAllResponse.d.ts +6 -6
- package/dist/esm/models/V1ArchiveAllResponse.js +16 -6
- package/dist/esm/models/V1CheckPermissionRequest.d.ts +1 -1
- package/dist/esm/models/V1CheckPermissionRequest.js +1 -1
- package/dist/esm/models/V1CheckPermissionResponse.d.ts +2 -2
- package/dist/esm/models/V1CheckPermissionResponse.js +4 -2
- package/dist/esm/models/V1ConfigHistoryItem.d.ts +5 -5
- package/dist/esm/models/V1ConfigHistoryItem.js +13 -5
- package/dist/esm/models/V1ConfigHistoryPagination.d.ts +7 -7
- package/dist/esm/models/V1ConfigHistoryPagination.js +19 -7
- package/dist/esm/models/V1ConfigHistoryResponse.d.ts +3 -3
- package/dist/esm/models/V1ConfigHistoryResponse.js +8 -4
- package/dist/esm/models/V1CreateCheckoutRequest.d.ts +1 -1
- package/dist/esm/models/V1CreateCheckoutRequest.js +1 -1
- package/dist/esm/models/V1CreateCheckoutResponse.d.ts +3 -3
- package/dist/esm/models/V1CreateCheckoutResponse.js +7 -3
- package/dist/esm/models/V1CreatePortalRequest.d.ts +1 -1
- package/dist/esm/models/V1CreatePortalRequest.js +1 -1
- package/dist/esm/models/V1CreatePortalResponse.d.ts +1 -1
- package/dist/esm/models/V1CreatePortalResponse.js +1 -1
- package/dist/esm/models/V1CreateRelationshipRequest.d.ts +1 -1
- package/dist/esm/models/V1CreateRelationshipRequest.js +1 -1
- package/dist/esm/models/V1CreateRelationshipResponse.d.ts +3 -3
- package/dist/esm/models/V1CreateRelationshipResponse.js +7 -3
- package/dist/esm/models/V1MigrationErrorResponse.d.ts +3 -3
- package/dist/esm/models/V1MigrationErrorResponse.js +7 -3
- package/dist/esm/models/V1MigrationSuccessResponse.d.ts +3 -3
- package/dist/esm/models/V1MigrationSuccessResponse.js +7 -3
- package/dist/esm/models/V1NamespaceDeploymentResponse.d.ts +5 -5
- package/dist/esm/models/V1NamespaceDeploymentResponse.js +13 -5
- package/dist/esm/models/V1RecordUsageRequest.d.ts +1 -1
- package/dist/esm/models/V1RecordUsageRequest.js +1 -1
- package/dist/esm/models/V1StripeConfigResponse.d.ts +6 -6
- package/dist/esm/models/V1StripeConfigResponse.js +16 -6
- package/dist/esm/models/V1SubjectSetRequest.d.ts +1 -1
- package/dist/esm/models/V1SubjectSetRequest.js +1 -1
- package/dist/esm/models/index.d.ts +3 -3
- package/dist/esm/models/index.js +3 -3
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +2 -2
- package/dist/models/AcceptInvite200Response.d.ts +1 -1
- package/dist/models/AcceptInvite200Response.js +1 -1
- package/dist/{esm/models/StorageDownloadPost200Response.d.ts → models/ApiV1StorageDownloadPost200Response.d.ts} +11 -11
- package/dist/models/{StorageDownloadPost200Response.js → ApiV1StorageDownloadPost200Response.js} +14 -14
- package/dist/models/{StorageObjectDelete200Response.d.ts → ApiV1StorageObjectDelete200Response.d.ts} +11 -11
- package/dist/models/{StorageObjectDelete200Response.js → ApiV1StorageObjectDelete200Response.js} +14 -14
- package/dist/{esm/models/StorageUploadPost200Response.d.ts → models/ApiV1StorageUploadPost200Response.d.ts} +11 -11
- package/dist/models/{StorageUploadPost200Response.js → ApiV1StorageUploadPost200Response.js} +14 -14
- package/dist/models/ArchiveAllStripeConfig200Response.d.ts +1 -1
- package/dist/models/ArchiveAllStripeConfig200Response.js +1 -1
- package/dist/models/AssignRole200Response.d.ts +1 -1
- package/dist/models/AssignRole200Response.js +1 -1
- package/dist/models/CheckPermission200Response.d.ts +1 -1
- package/dist/models/CheckPermission200Response.js +1 -1
- package/dist/models/ClientRelationship.d.ts +1 -1
- package/dist/models/ClientRelationship.js +1 -1
- package/dist/models/ClientSubjectSet.d.ts +1 -1
- package/dist/models/ClientSubjectSet.js +1 -1
- package/dist/models/CreateCheckout200Response.d.ts +1 -1
- package/dist/models/CreateCheckout200Response.js +1 -1
- package/dist/models/CreateCustomerPortal200Response.d.ts +1 -1
- package/dist/models/CreateCustomerPortal200Response.js +1 -1
- package/dist/models/CreateInvite200Response.d.ts +1 -1
- package/dist/models/CreateInvite200Response.js +1 -1
- package/dist/models/CreateRelationship200Response.d.ts +1 -1
- package/dist/models/CreateRelationship200Response.js +1 -1
- package/dist/models/CreateRole200Response.d.ts +1 -1
- package/dist/models/CreateRole200Response.js +1 -1
- package/dist/models/CreateTenant200Response.d.ts +1 -1
- package/dist/models/CreateTenant200Response.js +1 -1
- package/dist/models/DeleteRole200Response.d.ts +1 -1
- package/dist/models/DeleteRole200Response.js +1 -1
- package/dist/models/DeleteTenant200Response.d.ts +1 -1
- package/dist/models/DeleteTenant200Response.js +1 -1
- package/dist/models/DeployPermissionNamespaces200Response.d.ts +1 -1
- package/dist/models/DeployPermissionNamespaces200Response.js +1 -1
- package/dist/models/GetRoleDefinitions200Response.d.ts +1 -1
- package/dist/models/GetRoleDefinitions200Response.js +1 -1
- package/dist/models/GetStripeConfig200Response.d.ts +1 -1
- package/dist/models/GetStripeConfig200Response.js +1 -1
- package/dist/models/GetStripeConfigHistory200Response.d.ts +1 -1
- package/dist/models/GetStripeConfigHistory200Response.js +1 -1
- package/dist/models/GetTenantBillingStatus200Response.d.ts +1 -1
- package/dist/models/GetTenantBillingStatus200Response.js +1 -1
- package/dist/models/GetTenantJWT200Response.d.ts +1 -1
- package/dist/models/GetTenantJWT200Response.js +1 -1
- package/dist/models/HandlersBadRequestResponse.d.ts +1 -1
- package/dist/models/HandlersBadRequestResponse.js +1 -1
- package/dist/models/HandlersForbiddenResponse.d.ts +1 -1
- package/dist/models/HandlersForbiddenResponse.js +1 -1
- package/dist/models/HandlersInternalServerErrorResponse.d.ts +1 -1
- package/dist/models/HandlersInternalServerErrorResponse.js +1 -1
- package/dist/models/HandlersNotFoundErrorResponse.d.ts +1 -1
- package/dist/models/HandlersNotFoundErrorResponse.js +1 -1
- package/dist/models/HandlersSuccessResponse.d.ts +1 -1
- package/dist/models/HandlersSuccessResponse.js +1 -1
- package/dist/models/HandlersUnauthorizedResponse.d.ts +1 -1
- package/dist/models/HandlersUnauthorizedResponse.js +1 -1
- package/dist/models/ListRoles200Response.d.ts +1 -1
- package/dist/models/ListRoles200Response.js +1 -1
- package/dist/models/ListTenantSubscriptions200Response.d.ts +1 -1
- package/dist/models/ListTenantSubscriptions200Response.js +1 -1
- package/dist/models/ListTenantUsers200Response.d.ts +1 -1
- package/dist/models/ListTenantUsers200Response.js +1 -1
- package/dist/models/ModelsBillingStatusResponse.d.ts +1 -1
- package/dist/models/ModelsBillingStatusResponse.js +1 -1
- package/dist/models/ModelsDeleteObjectRequest.d.ts +1 -1
- package/dist/models/ModelsDeleteObjectRequest.js +1 -1
- package/dist/models/ModelsDownloadRequest.d.ts +1 -1
- package/dist/models/ModelsDownloadRequest.js +1 -1
- package/dist/models/ModelsDownloadResponse.d.ts +1 -1
- package/dist/models/ModelsDownloadResponse.js +1 -1
- package/dist/models/ModelsMessageResponse.d.ts +1 -1
- package/dist/models/ModelsMessageResponse.js +1 -1
- package/dist/models/ModelsMeter.d.ts +1 -1
- package/dist/models/ModelsMeter.js +1 -1
- package/dist/models/ModelsMeterCustomerMapping.d.ts +1 -1
- package/dist/models/ModelsMeterCustomerMapping.js +1 -1
- package/dist/models/ModelsMeterDefaultAggregation.d.ts +1 -1
- package/dist/models/ModelsMeterDefaultAggregation.js +1 -1
- package/dist/models/ModelsMeterValueSettings.d.ts +1 -1
- package/dist/models/ModelsMeterValueSettings.js +1 -1
- package/dist/models/ModelsMeterWithStripeID.d.ts +1 -1
- package/dist/models/ModelsMeterWithStripeID.js +1 -1
- package/dist/models/ModelsNamespaceDefinition.d.ts +1 -1
- package/dist/models/ModelsNamespaceDefinition.js +1 -1
- package/dist/models/ModelsPrice.d.ts +1 -1
- package/dist/models/ModelsPrice.js +1 -1
- package/dist/models/ModelsPriceDisplay.d.ts +1 -1
- package/dist/models/ModelsPriceDisplay.js +1 -1
- package/dist/models/ModelsPriceLimit.d.ts +1 -1
- package/dist/models/ModelsPriceLimit.js +1 -1
- package/dist/models/ModelsPriceUI.d.ts +1 -1
- package/dist/models/ModelsPriceUI.js +1 -1
- package/dist/models/ModelsPriceWithStripeID.d.ts +1 -1
- package/dist/models/ModelsPriceWithStripeID.js +1 -1
- package/dist/models/ModelsProduct.d.ts +1 -1
- package/dist/models/ModelsProduct.js +1 -1
- package/dist/models/ModelsProductUI.d.ts +1 -1
- package/dist/models/ModelsProductUI.js +1 -1
- package/dist/models/ModelsProductWithStripeIDs.d.ts +1 -1
- package/dist/models/ModelsProductWithStripeIDs.js +1 -1
- package/dist/models/ModelsRole.d.ts +1 -1
- package/dist/models/ModelsRole.js +1 -1
- package/dist/models/ModelsStripeConfiguration.d.ts +1 -1
- package/dist/models/ModelsStripeConfiguration.js +1 -1
- package/dist/models/ModelsStripeConfigurationWithIDs.d.ts +1 -1
- package/dist/models/ModelsStripeConfigurationWithIDs.js +1 -1
- package/dist/models/ModelsSubscriptionResponse.d.ts +1 -1
- package/dist/models/ModelsSubscriptionResponse.js +1 -1
- package/dist/models/ModelsTenant.d.ts +1 -1
- package/dist/models/ModelsTenant.js +1 -1
- package/dist/models/ModelsTenantInvite.d.ts +1 -1
- package/dist/models/ModelsTenantInvite.js +1 -1
- package/dist/models/ModelsTenantSettings.d.ts +1 -1
- package/dist/models/ModelsTenantSettings.js +1 -1
- package/dist/models/ModelsTier.d.ts +1 -1
- package/dist/models/ModelsTier.js +1 -1
- package/dist/models/ModelsUploadRequest.d.ts +1 -1
- package/dist/models/ModelsUploadRequest.js +1 -1
- package/dist/models/ModelsUploadResponse.d.ts +1 -1
- package/dist/models/ModelsUploadResponse.js +1 -1
- package/dist/models/PullStripeConfig200Response.d.ts +1 -1
- package/dist/models/PullStripeConfig200Response.js +1 -1
- package/dist/models/SwitchActiveTenant200Response.d.ts +1 -1
- package/dist/models/SwitchActiveTenant200Response.js +1 -1
- package/dist/models/TenantsAcceptInviteRequest.d.ts +1 -1
- package/dist/models/TenantsAcceptInviteRequest.js +1 -1
- package/dist/models/TenantsAcceptInviteResponse.d.ts +4 -4
- package/dist/models/TenantsAcceptInviteResponse.js +10 -4
- package/dist/models/TenantsAssignRoleRequest.d.ts +1 -1
- package/dist/models/TenantsAssignRoleRequest.js +1 -1
- package/dist/models/TenantsAssignRoleResponse.d.ts +2 -2
- package/dist/models/TenantsAssignRoleResponse.js +4 -2
- package/dist/models/TenantsCreateRoleRequest.d.ts +1 -1
- package/dist/models/TenantsCreateRoleRequest.js +1 -1
- package/dist/models/TenantsCreateTenantRequest.d.ts +1 -1
- package/dist/models/TenantsCreateTenantRequest.js +1 -1
- package/dist/models/TenantsCreateTenantResponse.d.ts +1 -1
- package/dist/models/TenantsCreateTenantResponse.js +1 -1
- package/dist/models/TenantsCreateTenantUserInviteRequest.d.ts +1 -1
- package/dist/models/TenantsCreateTenantUserInviteRequest.js +1 -1
- package/dist/models/TenantsCreateTenantUserInviteResponse.d.ts +3 -3
- package/dist/models/TenantsCreateTenantUserInviteResponse.js +7 -3
- package/dist/models/TenantsDeleteRoleResponse.d.ts +2 -2
- package/dist/models/TenantsDeleteRoleResponse.js +4 -2
- package/dist/models/TenantsDeleteTenantResponse.d.ts +2 -2
- package/dist/models/TenantsDeleteTenantResponse.js +4 -2
- package/dist/models/TenantsDeleteTenantUserRequest.d.ts +1 -1
- package/dist/models/TenantsDeleteTenantUserRequest.js +1 -1
- package/dist/models/TenantsJWTTokenResponse.d.ts +2 -2
- package/dist/models/TenantsJWTTokenResponse.js +4 -2
- package/dist/models/TenantsNamespaceDefinitionsResponse.d.ts +2 -2
- package/dist/models/TenantsNamespaceDefinitionsResponse.js +5 -3
- package/dist/models/TenantsRolesListResponse.d.ts +2 -2
- package/dist/models/TenantsRolesListResponse.js +5 -3
- package/dist/models/TenantsSwitchTenantRequest.d.ts +1 -1
- package/dist/models/TenantsSwitchTenantRequest.js +1 -1
- package/dist/models/TenantsSwitchTenantResponse.d.ts +3 -3
- package/dist/models/TenantsSwitchTenantResponse.js +7 -3
- package/dist/models/TenantsTenantUserResponse.d.ts +6 -6
- package/dist/models/TenantsTenantUserResponse.js +16 -6
- package/dist/models/TenantsUpdateRoleRequest.d.ts +1 -1
- package/dist/models/TenantsUpdateRoleRequest.js +1 -1
- package/dist/models/TenantsUpdateTenantUserRoleRequest.d.ts +1 -1
- package/dist/models/TenantsUpdateTenantUserRoleRequest.js +1 -1
- package/dist/models/TenantsUpdateTenantUserRoleResponse.d.ts +2 -2
- package/dist/models/TenantsUpdateTenantUserRoleResponse.js +4 -2
- package/dist/models/UpdateTenantUserRole200Response.d.ts +1 -1
- package/dist/models/UpdateTenantUserRole200Response.js +1 -1
- package/dist/models/V1ArchiveAllResponse.d.ts +6 -6
- package/dist/models/V1ArchiveAllResponse.js +16 -6
- package/dist/models/V1CheckPermissionRequest.d.ts +1 -1
- package/dist/models/V1CheckPermissionRequest.js +1 -1
- package/dist/models/V1CheckPermissionResponse.d.ts +2 -2
- package/dist/models/V1CheckPermissionResponse.js +4 -2
- package/dist/models/V1ConfigHistoryItem.d.ts +5 -5
- package/dist/models/V1ConfigHistoryItem.js +13 -5
- package/dist/models/V1ConfigHistoryPagination.d.ts +7 -7
- package/dist/models/V1ConfigHistoryPagination.js +19 -7
- package/dist/models/V1ConfigHistoryResponse.d.ts +3 -3
- package/dist/models/V1ConfigHistoryResponse.js +8 -4
- package/dist/models/V1CreateCheckoutRequest.d.ts +1 -1
- package/dist/models/V1CreateCheckoutRequest.js +1 -1
- package/dist/models/V1CreateCheckoutResponse.d.ts +3 -3
- package/dist/models/V1CreateCheckoutResponse.js +7 -3
- package/dist/models/V1CreatePortalRequest.d.ts +1 -1
- package/dist/models/V1CreatePortalRequest.js +1 -1
- package/dist/models/V1CreatePortalResponse.d.ts +1 -1
- package/dist/models/V1CreatePortalResponse.js +1 -1
- package/dist/models/V1CreateRelationshipRequest.d.ts +1 -1
- package/dist/models/V1CreateRelationshipRequest.js +1 -1
- package/dist/models/V1CreateRelationshipResponse.d.ts +3 -3
- package/dist/models/V1CreateRelationshipResponse.js +7 -3
- package/dist/models/V1MigrationErrorResponse.d.ts +3 -3
- package/dist/models/V1MigrationErrorResponse.js +7 -3
- package/dist/models/V1MigrationSuccessResponse.d.ts +3 -3
- package/dist/models/V1MigrationSuccessResponse.js +7 -3
- package/dist/models/V1NamespaceDeploymentResponse.d.ts +5 -5
- package/dist/models/V1NamespaceDeploymentResponse.js +13 -5
- package/dist/models/V1RecordUsageRequest.d.ts +1 -1
- package/dist/models/V1RecordUsageRequest.js +1 -1
- package/dist/models/V1StripeConfigResponse.d.ts +6 -6
- package/dist/models/V1StripeConfigResponse.js +16 -6
- package/dist/models/V1SubjectSetRequest.d.ts +1 -1
- package/dist/models/V1SubjectSetRequest.js +1 -1
- package/dist/models/index.d.ts +3 -3
- package/dist/models/index.js +3 -3
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/docs/{StorageDownloadPost200Response.md → ApiV1StorageDownloadPost200Response.md} +4 -4
- package/docs/{StorageObjectDelete200Response.md → ApiV1StorageObjectDelete200Response.md} +4 -4
- package/docs/{StorageUploadPost200Response.md → ApiV1StorageUploadPost200Response.md} +4 -4
- package/docs/{DatabaseApi.md → V1DatabaseApi.md} +5 -5
- package/docs/{PaymentsApi.md → V1PaymentsApi.md} +11 -11
- package/docs/{PermissionsApi.md → V1PermissionsApi.md} +11 -11
- package/docs/{StorageApi.md → V1StorageApi.md} +29 -29
- package/docs/{StripeApi.md → V1StripeApi.md} +26 -26
- package/docs/{TenantsApi.md → V1TenantsApi.md} +53 -53
- package/package.json +1 -1
- package/src/apis/{DatabaseApi.ts → V1DatabaseApi.ts} +3 -3
- package/src/apis/{PaymentsApi.ts → V1PaymentsApi.ts} +5 -5
- package/src/apis/{PermissionsApi.ts → V1PermissionsApi.ts} +5 -5
- package/src/apis/{StorageApi.ts → V1StorageApi.ts} +32 -32
- package/src/apis/{StripeApi.ts → V1StripeApi.ts} +10 -10
- package/src/apis/{TenantsApi.ts → V1TenantsApi.ts} +19 -19
- package/src/apis/index.ts +6 -6
- package/src/models/AcceptInvite200Response.ts +1 -1
- package/src/models/{StorageDownloadPost200Response.ts → ApiV1StorageDownloadPost200Response.ts} +13 -13
- package/src/models/{StorageObjectDelete200Response.ts → ApiV1StorageObjectDelete200Response.ts} +13 -13
- package/src/models/{StorageUploadPost200Response.ts → ApiV1StorageUploadPost200Response.ts} +13 -13
- package/src/models/ArchiveAllStripeConfig200Response.ts +1 -1
- package/src/models/AssignRole200Response.ts +1 -1
- package/src/models/CheckPermission200Response.ts +1 -1
- package/src/models/ClientRelationship.ts +1 -1
- package/src/models/ClientSubjectSet.ts +1 -1
- package/src/models/CreateCheckout200Response.ts +1 -1
- package/src/models/CreateCustomerPortal200Response.ts +1 -1
- package/src/models/CreateInvite200Response.ts +1 -1
- package/src/models/CreateRelationship200Response.ts +1 -1
- package/src/models/CreateRole200Response.ts +1 -1
- package/src/models/CreateTenant200Response.ts +1 -1
- package/src/models/DeleteRole200Response.ts +1 -1
- package/src/models/DeleteTenant200Response.ts +1 -1
- package/src/models/DeployPermissionNamespaces200Response.ts +1 -1
- package/src/models/GetRoleDefinitions200Response.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/HandlersBadRequestResponse.ts +1 -1
- package/src/models/HandlersForbiddenResponse.ts +1 -1
- package/src/models/HandlersInternalServerErrorResponse.ts +1 -1
- package/src/models/HandlersNotFoundErrorResponse.ts +1 -1
- package/src/models/HandlersSuccessResponse.ts +1 -1
- package/src/models/HandlersUnauthorizedResponse.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/ModelsBillingStatusResponse.ts +1 -1
- package/src/models/ModelsDeleteObjectRequest.ts +1 -1
- package/src/models/ModelsDownloadRequest.ts +1 -1
- package/src/models/ModelsDownloadResponse.ts +1 -1
- package/src/models/ModelsMessageResponse.ts +1 -1
- package/src/models/ModelsMeter.ts +1 -1
- package/src/models/ModelsMeterCustomerMapping.ts +1 -1
- package/src/models/ModelsMeterDefaultAggregation.ts +1 -1
- package/src/models/ModelsMeterValueSettings.ts +1 -1
- package/src/models/ModelsMeterWithStripeID.ts +1 -1
- package/src/models/ModelsNamespaceDefinition.ts +1 -1
- package/src/models/ModelsPrice.ts +1 -1
- package/src/models/ModelsPriceDisplay.ts +1 -1
- package/src/models/ModelsPriceLimit.ts +1 -1
- package/src/models/ModelsPriceUI.ts +1 -1
- package/src/models/ModelsPriceWithStripeID.ts +1 -1
- package/src/models/ModelsProduct.ts +1 -1
- package/src/models/ModelsProductUI.ts +1 -1
- package/src/models/ModelsProductWithStripeIDs.ts +1 -1
- package/src/models/ModelsRole.ts +1 -1
- package/src/models/ModelsStripeConfiguration.ts +1 -1
- package/src/models/ModelsStripeConfigurationWithIDs.ts +1 -1
- package/src/models/ModelsSubscriptionResponse.ts +1 -1
- package/src/models/ModelsTenant.ts +1 -1
- package/src/models/ModelsTenantInvite.ts +1 -1
- package/src/models/ModelsTenantSettings.ts +1 -1
- package/src/models/ModelsTier.ts +1 -1
- package/src/models/ModelsUploadRequest.ts +1 -1
- package/src/models/ModelsUploadResponse.ts +1 -1
- package/src/models/PullStripeConfig200Response.ts +1 -1
- package/src/models/SwitchActiveTenant200Response.ts +1 -1
- package/src/models/TenantsAcceptInviteRequest.ts +1 -1
- package/src/models/TenantsAcceptInviteResponse.ts +10 -7
- package/src/models/TenantsAssignRoleRequest.ts +1 -1
- package/src/models/TenantsAssignRoleResponse.ts +4 -3
- package/src/models/TenantsCreateRoleRequest.ts +1 -1
- package/src/models/TenantsCreateTenantRequest.ts +1 -1
- package/src/models/TenantsCreateTenantResponse.ts +1 -1
- package/src/models/TenantsCreateTenantUserInviteRequest.ts +1 -1
- package/src/models/TenantsCreateTenantUserInviteResponse.ts +7 -5
- package/src/models/TenantsDeleteRoleResponse.ts +4 -3
- package/src/models/TenantsDeleteTenantResponse.ts +4 -3
- package/src/models/TenantsDeleteTenantUserRequest.ts +1 -1
- package/src/models/TenantsJWTTokenResponse.ts +4 -3
- package/src/models/TenantsNamespaceDefinitionsResponse.ts +5 -4
- package/src/models/TenantsRolesListResponse.ts +5 -4
- package/src/models/TenantsSwitchTenantRequest.ts +1 -1
- package/src/models/TenantsSwitchTenantResponse.ts +7 -5
- package/src/models/TenantsTenantUserResponse.ts +16 -11
- package/src/models/TenantsUpdateRoleRequest.ts +1 -1
- package/src/models/TenantsUpdateTenantUserRoleRequest.ts +1 -1
- package/src/models/TenantsUpdateTenantUserRoleResponse.ts +4 -3
- package/src/models/UpdateTenantUserRole200Response.ts +1 -1
- package/src/models/V1ArchiveAllResponse.ts +16 -11
- package/src/models/V1CheckPermissionRequest.ts +1 -1
- package/src/models/V1CheckPermissionResponse.ts +4 -3
- package/src/models/V1ConfigHistoryItem.ts +13 -9
- package/src/models/V1ConfigHistoryPagination.ts +19 -13
- package/src/models/V1ConfigHistoryResponse.ts +8 -6
- package/src/models/V1CreateCheckoutRequest.ts +1 -1
- package/src/models/V1CreateCheckoutResponse.ts +7 -5
- package/src/models/V1CreatePortalRequest.ts +1 -1
- package/src/models/V1CreatePortalResponse.ts +1 -1
- package/src/models/V1CreateRelationshipRequest.ts +1 -1
- package/src/models/V1CreateRelationshipResponse.ts +7 -5
- package/src/models/V1MigrationErrorResponse.ts +7 -5
- package/src/models/V1MigrationSuccessResponse.ts +7 -5
- package/src/models/V1NamespaceDeploymentResponse.ts +13 -9
- package/src/models/V1RecordUsageRequest.ts +1 -1
- package/src/models/V1StripeConfigResponse.ts +16 -11
- package/src/models/V1SubjectSetRequest.ts +1 -1
- package/src/models/index.ts +3 -3
- package/src/runtime.ts +2 -2
- package/dist/esm/models/StripeConfigArchiveAllPost200Response.d.ts +0 -39
- package/dist/esm/models/StripeConfigArchiveAllPost200Response.js +0 -44
- package/dist/esm/models/StripeConfigGet200Response.d.ts +0 -39
- package/dist/esm/models/StripeConfigGet200Response.js +0 -44
- package/dist/esm/models/StripeConfigHistoryGet200Response.d.ts +0 -39
- package/dist/esm/models/StripeConfigHistoryGet200Response.js +0 -44
- package/dist/esm/models/StripeConfigPullGet200Response.d.ts +0 -39
- package/dist/esm/models/StripeConfigPullGet200Response.js +0 -44
- package/dist/models/StripeConfigArchiveAllPost200Response.d.ts +0 -39
- package/dist/models/StripeConfigArchiveAllPost200Response.js +0 -51
- package/dist/models/StripeConfigGet200Response.d.ts +0 -39
- package/dist/models/StripeConfigGet200Response.js +0 -51
- package/dist/models/StripeConfigHistoryGet200Response.d.ts +0 -39
- package/dist/models/StripeConfigHistoryGet200Response.js +0 -51
- package/dist/models/StripeConfigPullGet200Response.d.ts +0 -39
- package/dist/models/StripeConfigPullGet200Response.js +0 -51
- package/docs/StripeConfigArchiveAllPost200Response.md +0 -36
- package/docs/StripeConfigGet200Response.md +0 -36
- package/docs/StripeConfigHistoryGet200Response.md +0 -36
- package/docs/StripeConfigPullGet200Response.md +0 -36
- package/src/models/StripeConfigArchiveAllPost200Response.ts +0 -81
- package/src/models/StripeConfigGet200Response.ts +0 -81
- package/src/models/StripeConfigHistoryGet200Response.ts +0 -81
- package/src/models/StripeConfigPullGet200Response.ts +0 -81
|
@@ -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.3
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,7 +25,7 @@ import { CheckPermission200ResponseFromJSON, CreateRelationship200ResponseFromJS
|
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
|
-
export class
|
|
28
|
+
export class V1PermissionsApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
30
|
* Checks if a subject has a specific permission on an object using Ory Keto. ## Authentication Requires session authentication. ## Request Format Provide either `subject_id` or `subject_set` (not both). ## Use Cases - Verify user permissions before performing actions - Implement fine-grained access control - Check role-based permissions
|
|
31
31
|
* Check permission
|
|
@@ -41,7 +41,7 @@ export class PermissionsApi extends runtime.BaseAPI {
|
|
|
41
41
|
if (this.configuration && this.configuration.apiKey) {
|
|
42
42
|
headerParameters["Cookie"] = yield this.configuration.apiKey("Cookie"); // SessionAuth authentication
|
|
43
43
|
}
|
|
44
|
-
let urlPath = `/permissions/check`;
|
|
44
|
+
let urlPath = `/api/v1/permissions/check`;
|
|
45
45
|
const response = yield this.request({
|
|
46
46
|
path: urlPath,
|
|
47
47
|
method: 'POST',
|
|
@@ -77,7 +77,7 @@ export class PermissionsApi extends runtime.BaseAPI {
|
|
|
77
77
|
if (this.configuration && this.configuration.apiKey) {
|
|
78
78
|
headerParameters["Cookie"] = yield this.configuration.apiKey("Cookie"); // SessionAuth authentication
|
|
79
79
|
}
|
|
80
|
-
let urlPath = `/permissions/relationships`;
|
|
80
|
+
let urlPath = `/api/v1/permissions/relationships`;
|
|
81
81
|
const response = yield this.request({
|
|
82
82
|
path: urlPath,
|
|
83
83
|
method: 'POST',
|
|
@@ -130,7 +130,7 @@ export class PermissionsApi extends runtime.BaseAPI {
|
|
|
130
130
|
if (requestParameters['namespaces'] != null) {
|
|
131
131
|
formParams.append('namespaces', requestParameters['namespaces']);
|
|
132
132
|
}
|
|
133
|
-
let urlPath = `/permissions/namespaces`;
|
|
133
|
+
let urlPath = `/api/v1/permissions/namespaces`;
|
|
134
134
|
const response = yield this.request({
|
|
135
135
|
path: urlPath,
|
|
136
136
|
method: 'POST',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.9.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.3
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,48 +10,48 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
14
|
-
export interface
|
|
13
|
+
import type { ApiV1StorageDownloadPost200Response, ApiV1StorageObjectDelete200Response, ApiV1StorageUploadPost200Response, ModelsDeleteObjectRequest, ModelsDownloadRequest, ModelsUploadRequest } from '../models/index';
|
|
14
|
+
export interface ApiV1StorageDownloadPostRequest {
|
|
15
15
|
request: ModelsDownloadRequest;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
17
|
+
export interface ApiV1StorageObjectDeleteRequest {
|
|
18
18
|
request: ModelsDeleteObjectRequest;
|
|
19
19
|
}
|
|
20
|
-
export interface
|
|
20
|
+
export interface ApiV1StorageUploadPostRequest {
|
|
21
21
|
request: ModelsUploadRequest;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
export declare class
|
|
26
|
+
export declare class V1StorageApi extends runtime.BaseAPI {
|
|
27
27
|
/**
|
|
28
28
|
* Generates a presigned S3 download URL with Row-Level Security (RLS) enforcement. ## RLS Policy Download permission is checked via PostgREST against the `storage.objects` table. Users must have SELECT permission based on their custom RLS policies. ## Download Process 1. Request presigned URL from this endpoint 2. Download file directly from S3 using returned URL (GET request) ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
29
29
|
* Download file from storage
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
apiV1StorageDownloadPostRaw(requestParameters: ApiV1StorageDownloadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StorageDownloadPost200Response>>;
|
|
32
32
|
/**
|
|
33
33
|
* Generates a presigned S3 download URL with Row-Level Security (RLS) enforcement. ## RLS Policy Download permission is checked via PostgREST against the `storage.objects` table. Users must have SELECT permission based on their custom RLS policies. ## Download Process 1. Request presigned URL from this endpoint 2. Download file directly from S3 using returned URL (GET request) ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
34
34
|
* Download file from storage
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
apiV1StorageDownloadPost(requestParameters: ApiV1StorageDownloadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StorageDownloadPost200Response>;
|
|
37
37
|
/**
|
|
38
38
|
* Deletes a file from S3 storage with Row-Level Security (RLS) enforcement. ## RLS Policy Delete permission is checked via PostgREST against the `storage.objects` table. Users must have DELETE permission based on their custom RLS policies. ## Deletion Process 1. Metadata is deleted from database (with RLS check) 2. File is deleted from S3 storage 3. If S3 deletion fails, metadata is already removed (eventual consistency)
|
|
39
39
|
* Delete file from storage
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
apiV1StorageObjectDeleteRaw(requestParameters: ApiV1StorageObjectDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StorageObjectDelete200Response>>;
|
|
42
42
|
/**
|
|
43
43
|
* Deletes a file from S3 storage with Row-Level Security (RLS) enforcement. ## RLS Policy Delete permission is checked via PostgREST against the `storage.objects` table. Users must have DELETE permission based on their custom RLS policies. ## Deletion Process 1. Metadata is deleted from database (with RLS check) 2. File is deleted from S3 storage 3. If S3 deletion fails, metadata is already removed (eventual consistency)
|
|
44
44
|
* Delete file from storage
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
apiV1StorageObjectDelete(requestParameters: ApiV1StorageObjectDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StorageObjectDelete200Response>;
|
|
47
47
|
/**
|
|
48
48
|
* Generates a presigned S3 upload URL with Row-Level Security (RLS) enforcement. ## RLS Policy Upload permission is checked via PostgREST against the `storage.objects` table. Users must have INSERT permission based on their custom RLS policies. ## Upload Process 1. Request presigned URL from this endpoint 2. Upload file directly to S3 using returned URL (PUT request) 3. File metadata is automatically stored in database ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
49
49
|
* Upload file to storage
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
apiV1StorageUploadPostRaw(requestParameters: ApiV1StorageUploadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StorageUploadPost200Response>>;
|
|
52
52
|
/**
|
|
53
53
|
* Generates a presigned S3 upload URL with Row-Level Security (RLS) enforcement. ## RLS Policy Upload permission is checked via PostgREST against the `storage.objects` table. Users must have INSERT permission based on their custom RLS policies. ## Upload Process 1. Request presigned URL from this endpoint 2. Upload file directly to S3 using returned URL (PUT request) 3. File metadata is automatically stored in database ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
54
54
|
* Upload file to storage
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
apiV1StorageUploadPost(requestParameters: ApiV1StorageUploadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StorageUploadPost200Response>;
|
|
57
57
|
}
|
|
@@ -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.3
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,19 +21,19 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import {
|
|
24
|
+
import { ApiV1StorageDownloadPost200ResponseFromJSON, ApiV1StorageObjectDelete200ResponseFromJSON, ApiV1StorageUploadPost200ResponseFromJSON, ModelsDeleteObjectRequestToJSON, ModelsDownloadRequestToJSON, ModelsUploadRequestToJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
|
-
export class
|
|
28
|
+
export class V1StorageApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
30
|
* Generates a presigned S3 download URL with Row-Level Security (RLS) enforcement. ## RLS Policy Download permission is checked via PostgREST against the `storage.objects` table. Users must have SELECT permission based on their custom RLS policies. ## Download Process 1. Request presigned URL from this endpoint 2. Download file directly from S3 using returned URL (GET request) ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
31
31
|
* Download file from storage
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
apiV1StorageDownloadPostRaw(requestParameters, initOverrides) {
|
|
34
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35
35
|
if (requestParameters['request'] == null) {
|
|
36
|
-
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling
|
|
36
|
+
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling apiV1StorageDownloadPost().');
|
|
37
37
|
}
|
|
38
38
|
const queryParameters = {};
|
|
39
39
|
const headerParameters = {};
|
|
@@ -41,7 +41,7 @@ export class StorageApi extends runtime.BaseAPI {
|
|
|
41
41
|
if (this.configuration && this.configuration.apiKey) {
|
|
42
42
|
headerParameters["Cookie"] = yield this.configuration.apiKey("Cookie"); // SessionAuth authentication
|
|
43
43
|
}
|
|
44
|
-
let urlPath = `/storage/download`;
|
|
44
|
+
let urlPath = `/api/v1/storage/download`;
|
|
45
45
|
const response = yield this.request({
|
|
46
46
|
path: urlPath,
|
|
47
47
|
method: 'POST',
|
|
@@ -49,16 +49,16 @@ export class StorageApi extends runtime.BaseAPI {
|
|
|
49
49
|
query: queryParameters,
|
|
50
50
|
body: ModelsDownloadRequestToJSON(requestParameters['request']),
|
|
51
51
|
}, initOverrides);
|
|
52
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
52
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StorageDownloadPost200ResponseFromJSON(jsonValue));
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Generates a presigned S3 download URL with Row-Level Security (RLS) enforcement. ## RLS Policy Download permission is checked via PostgREST against the `storage.objects` table. Users must have SELECT permission based on their custom RLS policies. ## Download Process 1. Request presigned URL from this endpoint 2. Download file directly from S3 using returned URL (GET request) ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
57
57
|
* Download file from storage
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
apiV1StorageDownloadPost(requestParameters, initOverrides) {
|
|
60
60
|
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
-
const response = yield this.
|
|
61
|
+
const response = yield this.apiV1StorageDownloadPostRaw(requestParameters, initOverrides);
|
|
62
62
|
return yield response.value();
|
|
63
63
|
});
|
|
64
64
|
}
|
|
@@ -66,10 +66,10 @@ export class StorageApi extends runtime.BaseAPI {
|
|
|
66
66
|
* Deletes a file from S3 storage with Row-Level Security (RLS) enforcement. ## RLS Policy Delete permission is checked via PostgREST against the `storage.objects` table. Users must have DELETE permission based on their custom RLS policies. ## Deletion Process 1. Metadata is deleted from database (with RLS check) 2. File is deleted from S3 storage 3. If S3 deletion fails, metadata is already removed (eventual consistency)
|
|
67
67
|
* Delete file from storage
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
apiV1StorageObjectDeleteRaw(requestParameters, initOverrides) {
|
|
70
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
71
|
if (requestParameters['request'] == null) {
|
|
72
|
-
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling
|
|
72
|
+
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling apiV1StorageObjectDelete().');
|
|
73
73
|
}
|
|
74
74
|
const queryParameters = {};
|
|
75
75
|
const headerParameters = {};
|
|
@@ -77,7 +77,7 @@ export class StorageApi extends runtime.BaseAPI {
|
|
|
77
77
|
if (this.configuration && this.configuration.apiKey) {
|
|
78
78
|
headerParameters["Cookie"] = yield this.configuration.apiKey("Cookie"); // SessionAuth authentication
|
|
79
79
|
}
|
|
80
|
-
let urlPath = `/storage/object`;
|
|
80
|
+
let urlPath = `/api/v1/storage/object`;
|
|
81
81
|
const response = yield this.request({
|
|
82
82
|
path: urlPath,
|
|
83
83
|
method: 'DELETE',
|
|
@@ -85,16 +85,16 @@ export class StorageApi extends runtime.BaseAPI {
|
|
|
85
85
|
query: queryParameters,
|
|
86
86
|
body: ModelsDeleteObjectRequestToJSON(requestParameters['request']),
|
|
87
87
|
}, initOverrides);
|
|
88
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
88
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StorageObjectDelete200ResponseFromJSON(jsonValue));
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
92
|
* Deletes a file from S3 storage with Row-Level Security (RLS) enforcement. ## RLS Policy Delete permission is checked via PostgREST against the `storage.objects` table. Users must have DELETE permission based on their custom RLS policies. ## Deletion Process 1. Metadata is deleted from database (with RLS check) 2. File is deleted from S3 storage 3. If S3 deletion fails, metadata is already removed (eventual consistency)
|
|
93
93
|
* Delete file from storage
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
apiV1StorageObjectDelete(requestParameters, initOverrides) {
|
|
96
96
|
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
-
const response = yield this.
|
|
97
|
+
const response = yield this.apiV1StorageObjectDeleteRaw(requestParameters, initOverrides);
|
|
98
98
|
return yield response.value();
|
|
99
99
|
});
|
|
100
100
|
}
|
|
@@ -102,10 +102,10 @@ export class StorageApi extends runtime.BaseAPI {
|
|
|
102
102
|
* Generates a presigned S3 upload URL with Row-Level Security (RLS) enforcement. ## RLS Policy Upload permission is checked via PostgREST against the `storage.objects` table. Users must have INSERT permission based on their custom RLS policies. ## Upload Process 1. Request presigned URL from this endpoint 2. Upload file directly to S3 using returned URL (PUT request) 3. File metadata is automatically stored in database ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
103
103
|
* Upload file to storage
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
apiV1StorageUploadPostRaw(requestParameters, initOverrides) {
|
|
106
106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
107
107
|
if (requestParameters['request'] == null) {
|
|
108
|
-
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling
|
|
108
|
+
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling apiV1StorageUploadPost().');
|
|
109
109
|
}
|
|
110
110
|
const queryParameters = {};
|
|
111
111
|
const headerParameters = {};
|
|
@@ -113,7 +113,7 @@ export class StorageApi extends runtime.BaseAPI {
|
|
|
113
113
|
if (this.configuration && this.configuration.apiKey) {
|
|
114
114
|
headerParameters["Cookie"] = yield this.configuration.apiKey("Cookie"); // SessionAuth authentication
|
|
115
115
|
}
|
|
116
|
-
let urlPath = `/storage/upload`;
|
|
116
|
+
let urlPath = `/api/v1/storage/upload`;
|
|
117
117
|
const response = yield this.request({
|
|
118
118
|
path: urlPath,
|
|
119
119
|
method: 'POST',
|
|
@@ -121,16 +121,16 @@ export class StorageApi extends runtime.BaseAPI {
|
|
|
121
121
|
query: queryParameters,
|
|
122
122
|
body: ModelsUploadRequestToJSON(requestParameters['request']),
|
|
123
123
|
}, initOverrides);
|
|
124
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
124
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiV1StorageUploadPost200ResponseFromJSON(jsonValue));
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
128
|
* Generates a presigned S3 upload URL with Row-Level Security (RLS) enforcement. ## RLS Policy Upload permission is checked via PostgREST against the `storage.objects` table. Users must have INSERT permission based on their custom RLS policies. ## Upload Process 1. Request presigned URL from this endpoint 2. Upload file directly to S3 using returned URL (PUT request) 3. File metadata is automatically stored in database ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
129
129
|
* Upload file to storage
|
|
130
130
|
*/
|
|
131
|
-
|
|
131
|
+
apiV1StorageUploadPost(requestParameters, initOverrides) {
|
|
132
132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
-
const response = yield this.
|
|
133
|
+
const response = yield this.apiV1StorageUploadPostRaw(requestParameters, initOverrides);
|
|
134
134
|
return yield response.value();
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.9.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.3
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ export interface ValidateStripeConfigRequest {
|
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
|
-
export declare class
|
|
31
|
+
export declare class V1StripeApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
33
|
* Archives all active products, prices, and meters in Stripe and clears the local configuration. ## Authentication Requires admin JWT token. ## Warning This is a destructive operation that will archive ALL active Stripe resources. ## Use Cases - Clean slate for new configuration - Remove all test data - Reset Stripe account
|
|
34
34
|
* Archive all Stripe config
|
|
@@ -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.3
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,7 +25,7 @@ import { ArchiveAllStripeConfig200ResponseFromJSON, GetStripeConfig200ResponseFr
|
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
|
-
export class
|
|
28
|
+
export class V1StripeApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
30
|
* Archives all active products, prices, and meters in Stripe and clears the local configuration. ## Authentication Requires admin JWT token. ## Warning This is a destructive operation that will archive ALL active Stripe resources. ## Use Cases - Clean slate for new configuration - Remove all test data - Reset Stripe account
|
|
31
31
|
* Archive all Stripe config
|
|
@@ -37,7 +37,7 @@ export class StripeApi extends runtime.BaseAPI {
|
|
|
37
37
|
if (this.configuration && this.configuration.apiKey) {
|
|
38
38
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
39
39
|
}
|
|
40
|
-
let urlPath = `/stripe/config/archive-all`;
|
|
40
|
+
let urlPath = `/api/v1/stripe/config/archive-all`;
|
|
41
41
|
const response = yield this.request({
|
|
42
42
|
path: urlPath,
|
|
43
43
|
method: 'POST',
|
|
@@ -65,7 +65,7 @@ export class StripeApi extends runtime.BaseAPI {
|
|
|
65
65
|
return __awaiter(this, void 0, void 0, function* () {
|
|
66
66
|
const queryParameters = {};
|
|
67
67
|
const headerParameters = {};
|
|
68
|
-
let urlPath = `/stripe/config`;
|
|
68
|
+
let urlPath = `/api/v1/stripe/config`;
|
|
69
69
|
const response = yield this.request({
|
|
70
70
|
path: urlPath,
|
|
71
71
|
method: 'GET',
|
|
@@ -96,7 +96,7 @@ export class StripeApi extends runtime.BaseAPI {
|
|
|
96
96
|
if (this.configuration && this.configuration.apiKey) {
|
|
97
97
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
98
98
|
}
|
|
99
|
-
let urlPath = `/stripe/config/admin`;
|
|
99
|
+
let urlPath = `/api/v1/stripe/config/admin`;
|
|
100
100
|
const response = yield this.request({
|
|
101
101
|
path: urlPath,
|
|
102
102
|
method: 'GET',
|
|
@@ -133,7 +133,7 @@ export class StripeApi extends runtime.BaseAPI {
|
|
|
133
133
|
if (this.configuration && this.configuration.apiKey) {
|
|
134
134
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
135
135
|
}
|
|
136
|
-
let urlPath = `/stripe/config/history`;
|
|
136
|
+
let urlPath = `/api/v1/stripe/config/history`;
|
|
137
137
|
const response = yield this.request({
|
|
138
138
|
path: urlPath,
|
|
139
139
|
method: 'GET',
|
|
@@ -161,7 +161,7 @@ export class StripeApi extends runtime.BaseAPI {
|
|
|
161
161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
162
162
|
const queryParameters = {};
|
|
163
163
|
const headerParameters = {};
|
|
164
|
-
let urlPath = `/stripe/schema`;
|
|
164
|
+
let urlPath = `/api/v1/stripe/schema`;
|
|
165
165
|
const response = yield this.request({
|
|
166
166
|
path: urlPath,
|
|
167
167
|
method: 'GET',
|
|
@@ -192,7 +192,7 @@ export class StripeApi extends runtime.BaseAPI {
|
|
|
192
192
|
if (this.configuration && this.configuration.apiKey) {
|
|
193
193
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
194
194
|
}
|
|
195
|
-
let urlPath = `/stripe/config/pull`;
|
|
195
|
+
let urlPath = `/api/v1/stripe/config/pull`;
|
|
196
196
|
const response = yield this.request({
|
|
197
197
|
path: urlPath,
|
|
198
198
|
method: 'GET',
|
|
@@ -227,7 +227,7 @@ export class StripeApi extends runtime.BaseAPI {
|
|
|
227
227
|
if (this.configuration && this.configuration.apiKey) {
|
|
228
228
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
229
229
|
}
|
|
230
|
-
let urlPath = `/stripe/config`;
|
|
230
|
+
let urlPath = `/api/v1/stripe/config`;
|
|
231
231
|
const response = yield this.request({
|
|
232
232
|
path: urlPath,
|
|
233
233
|
method: 'POST',
|
|
@@ -263,7 +263,7 @@ export class StripeApi extends runtime.BaseAPI {
|
|
|
263
263
|
if (this.configuration && this.configuration.apiKey) {
|
|
264
264
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
265
265
|
}
|
|
266
|
-
let urlPath = `/stripe/config/validate`;
|
|
266
|
+
let urlPath = `/api/v1/stripe/config/validate`;
|
|
267
267
|
const response = yield this.request({
|
|
268
268
|
path: urlPath,
|
|
269
269
|
method: 'POST',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.9.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.3
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -46,7 +46,7 @@ export interface UpdateTenantUserRoleRequest {
|
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
*/
|
|
49
|
-
export declare class
|
|
49
|
+
export declare class V1TenantsApi extends runtime.BaseAPI {
|
|
50
50
|
/**
|
|
51
51
|
* Accepts a tenant invitation using the token from the invite email and adds the user to the organization. ## Authentication Requires JWT token. User\'s email must match the invite email. ## Process 1. Validates invite token and expiry 2. Verifies user\'s email matches invite email 3. Marks invite as used 4. Adds user to tenant 5. Assigns role with permissions 6. Sets as active tenant and returns JWT token
|
|
52
52
|
* Accept tenant invite
|
|
@@ -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.3
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,7 +25,7 @@ import { AcceptInvite200ResponseFromJSON, AssignRole200ResponseFromJSON, CreateI
|
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
|
-
export class
|
|
28
|
+
export class V1TenantsApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
30
|
* Accepts a tenant invitation using the token from the invite email and adds the user to the organization. ## Authentication Requires JWT token. User\'s email must match the invite email. ## Process 1. Validates invite token and expiry 2. Verifies user\'s email matches invite email 3. Marks invite as used 4. Adds user to tenant 5. Assigns role with permissions 6. Sets as active tenant and returns JWT token
|
|
31
31
|
* Accept tenant invite
|
|
@@ -41,7 +41,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
41
41
|
if (this.configuration && this.configuration.apiKey) {
|
|
42
42
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
43
43
|
}
|
|
44
|
-
let urlPath = `/tenants/invites/accept`;
|
|
44
|
+
let urlPath = `/api/v1/tenants/invites/accept`;
|
|
45
45
|
const response = yield this.request({
|
|
46
46
|
path: urlPath,
|
|
47
47
|
method: 'PUT',
|
|
@@ -80,7 +80,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
80
80
|
if (this.configuration && this.configuration.apiKey) {
|
|
81
81
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
82
82
|
}
|
|
83
|
-
let urlPath = `/tenants/roles/assign/{user_id}`;
|
|
83
|
+
let urlPath = `/api/v1/tenants/roles/assign/{user_id}`;
|
|
84
84
|
urlPath = urlPath.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
85
85
|
const response = yield this.request({
|
|
86
86
|
path: urlPath,
|
|
@@ -117,7 +117,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
117
117
|
if (this.configuration && this.configuration.apiKey) {
|
|
118
118
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
119
119
|
}
|
|
120
|
-
let urlPath = `/tenants/invites`;
|
|
120
|
+
let urlPath = `/api/v1/tenants/invites`;
|
|
121
121
|
const response = yield this.request({
|
|
122
122
|
path: urlPath,
|
|
123
123
|
method: 'POST',
|
|
@@ -153,7 +153,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
153
153
|
if (this.configuration && this.configuration.apiKey) {
|
|
154
154
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
155
155
|
}
|
|
156
|
-
let urlPath = `/tenants/roles`;
|
|
156
|
+
let urlPath = `/api/v1/tenants/roles`;
|
|
157
157
|
const response = yield this.request({
|
|
158
158
|
path: urlPath,
|
|
159
159
|
method: 'POST',
|
|
@@ -189,7 +189,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
189
189
|
if (this.configuration && this.configuration.apiKey) {
|
|
190
190
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
191
191
|
}
|
|
192
|
-
let urlPath = `/tenants`;
|
|
192
|
+
let urlPath = `/api/v1/tenants`;
|
|
193
193
|
const response = yield this.request({
|
|
194
194
|
path: urlPath,
|
|
195
195
|
method: 'POST',
|
|
@@ -224,7 +224,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
224
224
|
if (this.configuration && this.configuration.apiKey) {
|
|
225
225
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
226
226
|
}
|
|
227
|
-
let urlPath = `/tenants/roles/{role_id}`;
|
|
227
|
+
let urlPath = `/api/v1/tenants/roles/{role_id}`;
|
|
228
228
|
urlPath = urlPath.replace(`{${"role_id"}}`, encodeURIComponent(String(requestParameters['roleId'])));
|
|
229
229
|
const response = yield this.request({
|
|
230
230
|
path: urlPath,
|
|
@@ -256,7 +256,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
256
256
|
if (this.configuration && this.configuration.apiKey) {
|
|
257
257
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
258
258
|
}
|
|
259
|
-
let urlPath = `/tenants`;
|
|
259
|
+
let urlPath = `/api/v1/tenants`;
|
|
260
260
|
const response = yield this.request({
|
|
261
261
|
path: urlPath,
|
|
262
262
|
method: 'DELETE',
|
|
@@ -287,7 +287,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
287
287
|
if (this.configuration && this.configuration.apiKey) {
|
|
288
288
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
289
289
|
}
|
|
290
|
-
let urlPath = `/tenants/roles/definitions`;
|
|
290
|
+
let urlPath = `/api/v1/tenants/roles/definitions`;
|
|
291
291
|
const response = yield this.request({
|
|
292
292
|
path: urlPath,
|
|
293
293
|
method: 'GET',
|
|
@@ -318,7 +318,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
318
318
|
if (this.configuration && this.configuration.apiKey) {
|
|
319
319
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
320
320
|
}
|
|
321
|
-
let urlPath = `/tenants/billing-status`;
|
|
321
|
+
let urlPath = `/api/v1/tenants/billing-status`;
|
|
322
322
|
const response = yield this.request({
|
|
323
323
|
path: urlPath,
|
|
324
324
|
method: 'GET',
|
|
@@ -349,7 +349,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
349
349
|
if (this.configuration && this.configuration.apiKey) {
|
|
350
350
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
351
351
|
}
|
|
352
|
-
let urlPath = `/tenants/jwt`;
|
|
352
|
+
let urlPath = `/api/v1/tenants/jwt`;
|
|
353
353
|
const response = yield this.request({
|
|
354
354
|
path: urlPath,
|
|
355
355
|
method: 'GET',
|
|
@@ -380,7 +380,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
380
380
|
if (this.configuration && this.configuration.apiKey) {
|
|
381
381
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
382
382
|
}
|
|
383
|
-
let urlPath = `/tenants/roles`;
|
|
383
|
+
let urlPath = `/api/v1/tenants/roles`;
|
|
384
384
|
const response = yield this.request({
|
|
385
385
|
path: urlPath,
|
|
386
386
|
method: 'GET',
|
|
@@ -411,7 +411,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
411
411
|
if (this.configuration && this.configuration.apiKey) {
|
|
412
412
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
413
413
|
}
|
|
414
|
-
let urlPath = `/tenants/subscriptions`;
|
|
414
|
+
let urlPath = `/api/v1/tenants/subscriptions`;
|
|
415
415
|
const response = yield this.request({
|
|
416
416
|
path: urlPath,
|
|
417
417
|
method: 'GET',
|
|
@@ -442,7 +442,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
442
442
|
if (this.configuration && this.configuration.apiKey) {
|
|
443
443
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
444
444
|
}
|
|
445
|
-
let urlPath = `/tenants/users`;
|
|
445
|
+
let urlPath = `/api/v1/tenants/users`;
|
|
446
446
|
const response = yield this.request({
|
|
447
447
|
path: urlPath,
|
|
448
448
|
method: 'GET',
|
|
@@ -477,7 +477,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
477
477
|
if (this.configuration && this.configuration.apiKey) {
|
|
478
478
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
479
479
|
}
|
|
480
|
-
let urlPath = `/tenants/users`;
|
|
480
|
+
let urlPath = `/api/v1/tenants/users`;
|
|
481
481
|
const response = yield this.request({
|
|
482
482
|
path: urlPath,
|
|
483
483
|
method: 'DELETE',
|
|
@@ -513,7 +513,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
513
513
|
if (this.configuration && this.configuration.apiKey) {
|
|
514
514
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
515
515
|
}
|
|
516
|
-
let urlPath = `/tenants/switch-active`;
|
|
516
|
+
let urlPath = `/api/v1/tenants/switch-active`;
|
|
517
517
|
const response = yield this.request({
|
|
518
518
|
path: urlPath,
|
|
519
519
|
method: 'PUT',
|
|
@@ -552,7 +552,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
552
552
|
if (this.configuration && this.configuration.apiKey) {
|
|
553
553
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
554
554
|
}
|
|
555
|
-
let urlPath = `/tenants/roles/{role_id}`;
|
|
555
|
+
let urlPath = `/api/v1/tenants/roles/{role_id}`;
|
|
556
556
|
urlPath = urlPath.replace(`{${"role_id"}}`, encodeURIComponent(String(requestParameters['roleId'])));
|
|
557
557
|
const response = yield this.request({
|
|
558
558
|
path: urlPath,
|
|
@@ -589,7 +589,7 @@ export class TenantsApi extends runtime.BaseAPI {
|
|
|
589
589
|
if (this.configuration && this.configuration.apiKey) {
|
|
590
590
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
591
591
|
}
|
|
592
|
-
let urlPath = `/tenants/users/role`;
|
|
592
|
+
let urlPath = `/api/v1/tenants/users/role`;
|
|
593
593
|
const response = yield this.request({
|
|
594
594
|
path: urlPath,
|
|
595
595
|
method: 'PUT',
|
package/dist/esm/apis/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
1
|
+
export * from './V1DatabaseApi';
|
|
2
|
+
export * from './V1PaymentsApi';
|
|
3
|
+
export * from './V1PermissionsApi';
|
|
4
|
+
export * from './V1StorageApi';
|
|
5
|
+
export * from './V1StripeApi';
|
|
6
|
+
export * from './V1TenantsApi';
|
package/dist/esm/apis/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
3
|
+
export * from './V1DatabaseApi';
|
|
4
|
+
export * from './V1PaymentsApi';
|
|
5
|
+
export * from './V1PermissionsApi';
|
|
6
|
+
export * from './V1StorageApi';
|
|
7
|
+
export * from './V1StripeApi';
|
|
8
|
+
export * from './V1TenantsApi';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.9.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.3
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* 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.3
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|