@omnibase/core-js 0.9.1 → 0.9.2
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 +1 -1
- package/dist/esm/models/TenantsAcceptInviteResponse.js +1 -1
- package/dist/esm/models/TenantsAssignRoleRequest.d.ts +1 -1
- package/dist/esm/models/TenantsAssignRoleRequest.js +1 -1
- package/dist/esm/models/TenantsAssignRoleResponse.d.ts +1 -1
- package/dist/esm/models/TenantsAssignRoleResponse.js +1 -1
- 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 +1 -1
- package/dist/esm/models/TenantsCreateTenantUserInviteResponse.js +1 -1
- package/dist/esm/models/TenantsDeleteRoleResponse.d.ts +1 -1
- package/dist/esm/models/TenantsDeleteRoleResponse.js +1 -1
- package/dist/esm/models/TenantsDeleteTenantResponse.d.ts +1 -1
- package/dist/esm/models/TenantsDeleteTenantResponse.js +1 -1
- package/dist/esm/models/TenantsDeleteTenantUserRequest.d.ts +1 -1
- package/dist/esm/models/TenantsDeleteTenantUserRequest.js +1 -1
- package/dist/esm/models/TenantsJWTTokenResponse.d.ts +1 -1
- package/dist/esm/models/TenantsJWTTokenResponse.js +1 -1
- package/dist/esm/models/TenantsNamespaceDefinitionsResponse.d.ts +1 -1
- package/dist/esm/models/TenantsNamespaceDefinitionsResponse.js +1 -1
- package/dist/esm/models/TenantsRolesListResponse.d.ts +1 -1
- package/dist/esm/models/TenantsRolesListResponse.js +1 -1
- package/dist/esm/models/TenantsSwitchTenantRequest.d.ts +1 -1
- package/dist/esm/models/TenantsSwitchTenantRequest.js +1 -1
- package/dist/esm/models/TenantsSwitchTenantResponse.d.ts +1 -1
- package/dist/esm/models/TenantsSwitchTenantResponse.js +1 -1
- package/dist/esm/models/TenantsTenantUserResponse.d.ts +1 -1
- package/dist/esm/models/TenantsTenantUserResponse.js +1 -1
- 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 +1 -1
- package/dist/esm/models/TenantsUpdateTenantUserRoleResponse.js +1 -1
- package/dist/esm/models/UpdateTenantUserRole200Response.d.ts +1 -1
- package/dist/esm/models/UpdateTenantUserRole200Response.js +1 -1
- package/dist/esm/models/V1ArchiveAllResponse.d.ts +1 -1
- package/dist/esm/models/V1ArchiveAllResponse.js +1 -1
- package/dist/esm/models/V1CheckPermissionRequest.d.ts +1 -1
- package/dist/esm/models/V1CheckPermissionRequest.js +1 -1
- package/dist/esm/models/V1CheckPermissionResponse.d.ts +1 -1
- package/dist/esm/models/V1CheckPermissionResponse.js +1 -1
- package/dist/esm/models/V1ConfigHistoryItem.d.ts +1 -1
- package/dist/esm/models/V1ConfigHistoryItem.js +1 -1
- package/dist/esm/models/V1ConfigHistoryPagination.d.ts +1 -1
- package/dist/esm/models/V1ConfigHistoryPagination.js +1 -1
- package/dist/esm/models/V1ConfigHistoryResponse.d.ts +1 -1
- package/dist/esm/models/V1ConfigHistoryResponse.js +1 -1
- package/dist/esm/models/V1CreateCheckoutRequest.d.ts +1 -1
- package/dist/esm/models/V1CreateCheckoutRequest.js +1 -1
- package/dist/esm/models/V1CreateCheckoutResponse.d.ts +1 -1
- package/dist/esm/models/V1CreateCheckoutResponse.js +1 -1
- 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 +1 -1
- package/dist/esm/models/V1CreateRelationshipResponse.js +1 -1
- package/dist/esm/models/V1MigrationErrorResponse.d.ts +1 -1
- package/dist/esm/models/V1MigrationErrorResponse.js +1 -1
- package/dist/esm/models/V1MigrationSuccessResponse.d.ts +1 -1
- package/dist/esm/models/V1MigrationSuccessResponse.js +1 -1
- package/dist/esm/models/V1NamespaceDeploymentResponse.d.ts +1 -1
- package/dist/esm/models/V1NamespaceDeploymentResponse.js +1 -1
- package/dist/esm/models/V1RecordUsageRequest.d.ts +1 -1
- package/dist/esm/models/V1RecordUsageRequest.js +1 -1
- package/dist/esm/models/V1StripeConfigResponse.d.ts +1 -1
- package/dist/esm/models/V1StripeConfigResponse.js +1 -1
- 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 +1 -1
- package/dist/models/TenantsAcceptInviteResponse.js +1 -1
- package/dist/models/TenantsAssignRoleRequest.d.ts +1 -1
- package/dist/models/TenantsAssignRoleRequest.js +1 -1
- package/dist/models/TenantsAssignRoleResponse.d.ts +1 -1
- package/dist/models/TenantsAssignRoleResponse.js +1 -1
- 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 +1 -1
- package/dist/models/TenantsCreateTenantUserInviteResponse.js +1 -1
- package/dist/models/TenantsDeleteRoleResponse.d.ts +1 -1
- package/dist/models/TenantsDeleteRoleResponse.js +1 -1
- package/dist/models/TenantsDeleteTenantResponse.d.ts +1 -1
- package/dist/models/TenantsDeleteTenantResponse.js +1 -1
- package/dist/models/TenantsDeleteTenantUserRequest.d.ts +1 -1
- package/dist/models/TenantsDeleteTenantUserRequest.js +1 -1
- package/dist/models/TenantsJWTTokenResponse.d.ts +1 -1
- package/dist/models/TenantsJWTTokenResponse.js +1 -1
- package/dist/models/TenantsNamespaceDefinitionsResponse.d.ts +1 -1
- package/dist/models/TenantsNamespaceDefinitionsResponse.js +1 -1
- package/dist/models/TenantsRolesListResponse.d.ts +1 -1
- package/dist/models/TenantsRolesListResponse.js +1 -1
- package/dist/models/TenantsSwitchTenantRequest.d.ts +1 -1
- package/dist/models/TenantsSwitchTenantRequest.js +1 -1
- package/dist/models/TenantsSwitchTenantResponse.d.ts +1 -1
- package/dist/models/TenantsSwitchTenantResponse.js +1 -1
- package/dist/models/TenantsTenantUserResponse.d.ts +1 -1
- package/dist/models/TenantsTenantUserResponse.js +1 -1
- 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 +1 -1
- package/dist/models/TenantsUpdateTenantUserRoleResponse.js +1 -1
- package/dist/models/UpdateTenantUserRole200Response.d.ts +1 -1
- package/dist/models/UpdateTenantUserRole200Response.js +1 -1
- package/dist/models/V1ArchiveAllResponse.d.ts +1 -1
- package/dist/models/V1ArchiveAllResponse.js +1 -1
- package/dist/models/V1CheckPermissionRequest.d.ts +1 -1
- package/dist/models/V1CheckPermissionRequest.js +1 -1
- package/dist/models/V1CheckPermissionResponse.d.ts +1 -1
- package/dist/models/V1CheckPermissionResponse.js +1 -1
- package/dist/models/V1ConfigHistoryItem.d.ts +1 -1
- package/dist/models/V1ConfigHistoryItem.js +1 -1
- package/dist/models/V1ConfigHistoryPagination.d.ts +1 -1
- package/dist/models/V1ConfigHistoryPagination.js +1 -1
- package/dist/models/V1ConfigHistoryResponse.d.ts +1 -1
- package/dist/models/V1ConfigHistoryResponse.js +1 -1
- package/dist/models/V1CreateCheckoutRequest.d.ts +1 -1
- package/dist/models/V1CreateCheckoutRequest.js +1 -1
- package/dist/models/V1CreateCheckoutResponse.d.ts +1 -1
- package/dist/models/V1CreateCheckoutResponse.js +1 -1
- 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 +1 -1
- package/dist/models/V1CreateRelationshipResponse.js +1 -1
- package/dist/models/V1MigrationErrorResponse.d.ts +1 -1
- package/dist/models/V1MigrationErrorResponse.js +1 -1
- package/dist/models/V1MigrationSuccessResponse.d.ts +1 -1
- package/dist/models/V1MigrationSuccessResponse.js +1 -1
- package/dist/models/V1NamespaceDeploymentResponse.d.ts +1 -1
- package/dist/models/V1NamespaceDeploymentResponse.js +1 -1
- package/dist/models/V1RecordUsageRequest.d.ts +1 -1
- package/dist/models/V1RecordUsageRequest.js +1 -1
- package/dist/models/V1StripeConfigResponse.d.ts +1 -1
- package/dist/models/V1StripeConfigResponse.js +1 -1
- 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 +1 -1
- package/src/models/TenantsAssignRoleRequest.ts +1 -1
- package/src/models/TenantsAssignRoleResponse.ts +1 -1
- 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 +1 -1
- package/src/models/TenantsDeleteRoleResponse.ts +1 -1
- package/src/models/TenantsDeleteTenantResponse.ts +1 -1
- package/src/models/TenantsDeleteTenantUserRequest.ts +1 -1
- package/src/models/TenantsJWTTokenResponse.ts +1 -1
- package/src/models/TenantsNamespaceDefinitionsResponse.ts +1 -1
- package/src/models/TenantsRolesListResponse.ts +1 -1
- package/src/models/TenantsSwitchTenantRequest.ts +1 -1
- package/src/models/TenantsSwitchTenantResponse.ts +1 -1
- package/src/models/TenantsTenantUserResponse.ts +1 -1
- package/src/models/TenantsUpdateRoleRequest.ts +1 -1
- package/src/models/TenantsUpdateTenantUserRoleRequest.ts +1 -1
- package/src/models/TenantsUpdateTenantUserRoleResponse.ts +1 -1
- package/src/models/UpdateTenantUserRole200Response.ts +1 -1
- package/src/models/V1ArchiveAllResponse.ts +1 -1
- package/src/models/V1CheckPermissionRequest.ts +1 -1
- package/src/models/V1CheckPermissionResponse.ts +1 -1
- package/src/models/V1ConfigHistoryItem.ts +1 -1
- package/src/models/V1ConfigHistoryPagination.ts +1 -1
- package/src/models/V1ConfigHistoryResponse.ts +1 -1
- package/src/models/V1CreateCheckoutRequest.ts +1 -1
- package/src/models/V1CreateCheckoutResponse.ts +1 -1
- 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 +1 -1
- package/src/models/V1MigrationErrorResponse.ts +1 -1
- package/src/models/V1MigrationSuccessResponse.ts +1 -1
- package/src/models/V1NamespaceDeploymentResponse.ts +1 -1
- package/src/models/V1RecordUsageRequest.ts +1 -1
- package/src/models/V1StripeConfigResponse.ts +1 -1
- 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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Omnibase REST API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.9.
|
|
8
|
+
* The version of the OpenAPI document: 0.9.2
|
|
9
9
|
* Contact: support@omnibase.dev
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,21 +22,21 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.V1StorageApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const index_1 = require("../models/index");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
|
-
class
|
|
31
|
+
class V1StorageApi extends runtime.BaseAPI {
|
|
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
|
+
apiV1StorageDownloadPostRaw(requestParameters, initOverrides) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
38
|
if (requestParameters['request'] == null) {
|
|
39
|
-
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling
|
|
39
|
+
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling apiV1StorageDownloadPost().');
|
|
40
40
|
}
|
|
41
41
|
const queryParameters = {};
|
|
42
42
|
const headerParameters = {};
|
|
@@ -44,7 +44,7 @@ class StorageApi extends runtime.BaseAPI {
|
|
|
44
44
|
if (this.configuration && this.configuration.apiKey) {
|
|
45
45
|
headerParameters["Cookie"] = yield this.configuration.apiKey("Cookie"); // SessionAuth authentication
|
|
46
46
|
}
|
|
47
|
-
let urlPath = `/storage/download`;
|
|
47
|
+
let urlPath = `/api/v1/storage/download`;
|
|
48
48
|
const response = yield this.request({
|
|
49
49
|
path: urlPath,
|
|
50
50
|
method: 'POST',
|
|
@@ -52,16 +52,16 @@ class StorageApi extends runtime.BaseAPI {
|
|
|
52
52
|
query: queryParameters,
|
|
53
53
|
body: (0, index_1.ModelsDownloadRequestToJSON)(requestParameters['request']),
|
|
54
54
|
}, initOverrides);
|
|
55
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
55
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiV1StorageDownloadPost200ResponseFromJSON)(jsonValue));
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* 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.
|
|
60
60
|
* Download file from storage
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
apiV1StorageDownloadPost(requestParameters, initOverrides) {
|
|
63
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
-
const response = yield this.
|
|
64
|
+
const response = yield this.apiV1StorageDownloadPostRaw(requestParameters, initOverrides);
|
|
65
65
|
return yield response.value();
|
|
66
66
|
});
|
|
67
67
|
}
|
|
@@ -69,10 +69,10 @@ class StorageApi extends runtime.BaseAPI {
|
|
|
69
69
|
* 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)
|
|
70
70
|
* Delete file from storage
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
apiV1StorageObjectDeleteRaw(requestParameters, initOverrides) {
|
|
73
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
74
74
|
if (requestParameters['request'] == null) {
|
|
75
|
-
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling
|
|
75
|
+
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling apiV1StorageObjectDelete().');
|
|
76
76
|
}
|
|
77
77
|
const queryParameters = {};
|
|
78
78
|
const headerParameters = {};
|
|
@@ -80,7 +80,7 @@ class StorageApi extends runtime.BaseAPI {
|
|
|
80
80
|
if (this.configuration && this.configuration.apiKey) {
|
|
81
81
|
headerParameters["Cookie"] = yield this.configuration.apiKey("Cookie"); // SessionAuth authentication
|
|
82
82
|
}
|
|
83
|
-
let urlPath = `/storage/object`;
|
|
83
|
+
let urlPath = `/api/v1/storage/object`;
|
|
84
84
|
const response = yield this.request({
|
|
85
85
|
path: urlPath,
|
|
86
86
|
method: 'DELETE',
|
|
@@ -88,16 +88,16 @@ class StorageApi extends runtime.BaseAPI {
|
|
|
88
88
|
query: queryParameters,
|
|
89
89
|
body: (0, index_1.ModelsDeleteObjectRequestToJSON)(requestParameters['request']),
|
|
90
90
|
}, initOverrides);
|
|
91
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
91
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiV1StorageObjectDelete200ResponseFromJSON)(jsonValue));
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
95
|
* 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)
|
|
96
96
|
* Delete file from storage
|
|
97
97
|
*/
|
|
98
|
-
|
|
98
|
+
apiV1StorageObjectDelete(requestParameters, initOverrides) {
|
|
99
99
|
return __awaiter(this, void 0, void 0, function* () {
|
|
100
|
-
const response = yield this.
|
|
100
|
+
const response = yield this.apiV1StorageObjectDeleteRaw(requestParameters, initOverrides);
|
|
101
101
|
return yield response.value();
|
|
102
102
|
});
|
|
103
103
|
}
|
|
@@ -105,10 +105,10 @@ class StorageApi extends runtime.BaseAPI {
|
|
|
105
105
|
* 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.
|
|
106
106
|
* Upload file to storage
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
apiV1StorageUploadPostRaw(requestParameters, initOverrides) {
|
|
109
109
|
return __awaiter(this, void 0, void 0, function* () {
|
|
110
110
|
if (requestParameters['request'] == null) {
|
|
111
|
-
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling
|
|
111
|
+
throw new runtime.RequiredError('request', 'Required parameter "request" was null or undefined when calling apiV1StorageUploadPost().');
|
|
112
112
|
}
|
|
113
113
|
const queryParameters = {};
|
|
114
114
|
const headerParameters = {};
|
|
@@ -116,7 +116,7 @@ class StorageApi extends runtime.BaseAPI {
|
|
|
116
116
|
if (this.configuration && this.configuration.apiKey) {
|
|
117
117
|
headerParameters["Cookie"] = yield this.configuration.apiKey("Cookie"); // SessionAuth authentication
|
|
118
118
|
}
|
|
119
|
-
let urlPath = `/storage/upload`;
|
|
119
|
+
let urlPath = `/api/v1/storage/upload`;
|
|
120
120
|
const response = yield this.request({
|
|
121
121
|
path: urlPath,
|
|
122
122
|
method: 'POST',
|
|
@@ -124,18 +124,18 @@ class StorageApi extends runtime.BaseAPI {
|
|
|
124
124
|
query: queryParameters,
|
|
125
125
|
body: (0, index_1.ModelsUploadRequestToJSON)(requestParameters['request']),
|
|
126
126
|
}, initOverrides);
|
|
127
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
127
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiV1StorageUploadPost200ResponseFromJSON)(jsonValue));
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
131
|
* 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.
|
|
132
132
|
* Upload file to storage
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
apiV1StorageUploadPost(requestParameters, initOverrides) {
|
|
135
135
|
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
-
const response = yield this.
|
|
136
|
+
const response = yield this.apiV1StorageUploadPostRaw(requestParameters, initOverrides);
|
|
137
137
|
return yield response.value();
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
exports.
|
|
141
|
+
exports.V1StorageApi = V1StorageApi;
|
|
@@ -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.2
|
|
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
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Omnibase REST API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.9.
|
|
8
|
+
* The version of the OpenAPI document: 0.9.2
|
|
9
9
|
* Contact: support@omnibase.dev
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,13 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.V1StripeApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const index_1 = require("../models/index");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
|
-
class
|
|
31
|
+
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
|
|
@@ -40,7 +40,7 @@ class StripeApi extends runtime.BaseAPI {
|
|
|
40
40
|
if (this.configuration && this.configuration.apiKey) {
|
|
41
41
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
42
42
|
}
|
|
43
|
-
let urlPath = `/stripe/config/archive-all`;
|
|
43
|
+
let urlPath = `/api/v1/stripe/config/archive-all`;
|
|
44
44
|
const response = yield this.request({
|
|
45
45
|
path: urlPath,
|
|
46
46
|
method: 'POST',
|
|
@@ -68,7 +68,7 @@ class StripeApi extends runtime.BaseAPI {
|
|
|
68
68
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69
69
|
const queryParameters = {};
|
|
70
70
|
const headerParameters = {};
|
|
71
|
-
let urlPath = `/stripe/config`;
|
|
71
|
+
let urlPath = `/api/v1/stripe/config`;
|
|
72
72
|
const response = yield this.request({
|
|
73
73
|
path: urlPath,
|
|
74
74
|
method: 'GET',
|
|
@@ -99,7 +99,7 @@ class StripeApi extends runtime.BaseAPI {
|
|
|
99
99
|
if (this.configuration && this.configuration.apiKey) {
|
|
100
100
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
101
101
|
}
|
|
102
|
-
let urlPath = `/stripe/config/admin`;
|
|
102
|
+
let urlPath = `/api/v1/stripe/config/admin`;
|
|
103
103
|
const response = yield this.request({
|
|
104
104
|
path: urlPath,
|
|
105
105
|
method: 'GET',
|
|
@@ -136,7 +136,7 @@ class StripeApi extends runtime.BaseAPI {
|
|
|
136
136
|
if (this.configuration && this.configuration.apiKey) {
|
|
137
137
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
138
138
|
}
|
|
139
|
-
let urlPath = `/stripe/config/history`;
|
|
139
|
+
let urlPath = `/api/v1/stripe/config/history`;
|
|
140
140
|
const response = yield this.request({
|
|
141
141
|
path: urlPath,
|
|
142
142
|
method: 'GET',
|
|
@@ -164,7 +164,7 @@ class StripeApi extends runtime.BaseAPI {
|
|
|
164
164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
165
165
|
const queryParameters = {};
|
|
166
166
|
const headerParameters = {};
|
|
167
|
-
let urlPath = `/stripe/schema`;
|
|
167
|
+
let urlPath = `/api/v1/stripe/schema`;
|
|
168
168
|
const response = yield this.request({
|
|
169
169
|
path: urlPath,
|
|
170
170
|
method: 'GET',
|
|
@@ -195,7 +195,7 @@ class StripeApi extends runtime.BaseAPI {
|
|
|
195
195
|
if (this.configuration && this.configuration.apiKey) {
|
|
196
196
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
197
197
|
}
|
|
198
|
-
let urlPath = `/stripe/config/pull`;
|
|
198
|
+
let urlPath = `/api/v1/stripe/config/pull`;
|
|
199
199
|
const response = yield this.request({
|
|
200
200
|
path: urlPath,
|
|
201
201
|
method: 'GET',
|
|
@@ -230,7 +230,7 @@ class StripeApi extends runtime.BaseAPI {
|
|
|
230
230
|
if (this.configuration && this.configuration.apiKey) {
|
|
231
231
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
232
232
|
}
|
|
233
|
-
let urlPath = `/stripe/config`;
|
|
233
|
+
let urlPath = `/api/v1/stripe/config`;
|
|
234
234
|
const response = yield this.request({
|
|
235
235
|
path: urlPath,
|
|
236
236
|
method: 'POST',
|
|
@@ -266,7 +266,7 @@ class StripeApi extends runtime.BaseAPI {
|
|
|
266
266
|
if (this.configuration && this.configuration.apiKey) {
|
|
267
267
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
268
268
|
}
|
|
269
|
-
let urlPath = `/stripe/config/validate`;
|
|
269
|
+
let urlPath = `/api/v1/stripe/config/validate`;
|
|
270
270
|
const response = yield this.request({
|
|
271
271
|
path: urlPath,
|
|
272
272
|
method: 'POST',
|
|
@@ -288,4 +288,4 @@ class StripeApi extends runtime.BaseAPI {
|
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
|
-
exports.
|
|
291
|
+
exports.V1StripeApi = V1StripeApi;
|
|
@@ -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.2
|
|
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
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Omnibase REST API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.9.
|
|
8
|
+
* The version of the OpenAPI document: 0.9.2
|
|
9
9
|
* Contact: support@omnibase.dev
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,13 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.V1TenantsApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const index_1 = require("../models/index");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
|
-
class
|
|
31
|
+
class V1TenantsApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
33
|
* 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
|
|
34
34
|
* Accept tenant invite
|
|
@@ -44,7 +44,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
44
44
|
if (this.configuration && this.configuration.apiKey) {
|
|
45
45
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
46
46
|
}
|
|
47
|
-
let urlPath = `/tenants/invites/accept`;
|
|
47
|
+
let urlPath = `/api/v1/tenants/invites/accept`;
|
|
48
48
|
const response = yield this.request({
|
|
49
49
|
path: urlPath,
|
|
50
50
|
method: 'PUT',
|
|
@@ -83,7 +83,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
83
83
|
if (this.configuration && this.configuration.apiKey) {
|
|
84
84
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
85
85
|
}
|
|
86
|
-
let urlPath = `/tenants/roles/assign/{user_id}`;
|
|
86
|
+
let urlPath = `/api/v1/tenants/roles/assign/{user_id}`;
|
|
87
87
|
urlPath = urlPath.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
88
88
|
const response = yield this.request({
|
|
89
89
|
path: urlPath,
|
|
@@ -120,7 +120,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
120
120
|
if (this.configuration && this.configuration.apiKey) {
|
|
121
121
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
122
122
|
}
|
|
123
|
-
let urlPath = `/tenants/invites`;
|
|
123
|
+
let urlPath = `/api/v1/tenants/invites`;
|
|
124
124
|
const response = yield this.request({
|
|
125
125
|
path: urlPath,
|
|
126
126
|
method: 'POST',
|
|
@@ -156,7 +156,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
156
156
|
if (this.configuration && this.configuration.apiKey) {
|
|
157
157
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
158
158
|
}
|
|
159
|
-
let urlPath = `/tenants/roles`;
|
|
159
|
+
let urlPath = `/api/v1/tenants/roles`;
|
|
160
160
|
const response = yield this.request({
|
|
161
161
|
path: urlPath,
|
|
162
162
|
method: 'POST',
|
|
@@ -192,7 +192,7 @@ class TenantsApi 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 = `/tenants`;
|
|
195
|
+
let urlPath = `/api/v1/tenants`;
|
|
196
196
|
const response = yield this.request({
|
|
197
197
|
path: urlPath,
|
|
198
198
|
method: 'POST',
|
|
@@ -227,7 +227,7 @@ class TenantsApi 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 = `/tenants/roles/{role_id}`;
|
|
230
|
+
let urlPath = `/api/v1/tenants/roles/{role_id}`;
|
|
231
231
|
urlPath = urlPath.replace(`{${"role_id"}}`, encodeURIComponent(String(requestParameters['roleId'])));
|
|
232
232
|
const response = yield this.request({
|
|
233
233
|
path: urlPath,
|
|
@@ -259,7 +259,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
259
259
|
if (this.configuration && this.configuration.apiKey) {
|
|
260
260
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
261
261
|
}
|
|
262
|
-
let urlPath = `/tenants`;
|
|
262
|
+
let urlPath = `/api/v1/tenants`;
|
|
263
263
|
const response = yield this.request({
|
|
264
264
|
path: urlPath,
|
|
265
265
|
method: 'DELETE',
|
|
@@ -290,7 +290,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
290
290
|
if (this.configuration && this.configuration.apiKey) {
|
|
291
291
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
292
292
|
}
|
|
293
|
-
let urlPath = `/tenants/roles/definitions`;
|
|
293
|
+
let urlPath = `/api/v1/tenants/roles/definitions`;
|
|
294
294
|
const response = yield this.request({
|
|
295
295
|
path: urlPath,
|
|
296
296
|
method: 'GET',
|
|
@@ -321,7 +321,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
321
321
|
if (this.configuration && this.configuration.apiKey) {
|
|
322
322
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
323
323
|
}
|
|
324
|
-
let urlPath = `/tenants/billing-status`;
|
|
324
|
+
let urlPath = `/api/v1/tenants/billing-status`;
|
|
325
325
|
const response = yield this.request({
|
|
326
326
|
path: urlPath,
|
|
327
327
|
method: 'GET',
|
|
@@ -352,7 +352,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
352
352
|
if (this.configuration && this.configuration.apiKey) {
|
|
353
353
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
354
354
|
}
|
|
355
|
-
let urlPath = `/tenants/jwt`;
|
|
355
|
+
let urlPath = `/api/v1/tenants/jwt`;
|
|
356
356
|
const response = yield this.request({
|
|
357
357
|
path: urlPath,
|
|
358
358
|
method: 'GET',
|
|
@@ -383,7 +383,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
383
383
|
if (this.configuration && this.configuration.apiKey) {
|
|
384
384
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
385
385
|
}
|
|
386
|
-
let urlPath = `/tenants/roles`;
|
|
386
|
+
let urlPath = `/api/v1/tenants/roles`;
|
|
387
387
|
const response = yield this.request({
|
|
388
388
|
path: urlPath,
|
|
389
389
|
method: 'GET',
|
|
@@ -414,7 +414,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
414
414
|
if (this.configuration && this.configuration.apiKey) {
|
|
415
415
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
416
416
|
}
|
|
417
|
-
let urlPath = `/tenants/subscriptions`;
|
|
417
|
+
let urlPath = `/api/v1/tenants/subscriptions`;
|
|
418
418
|
const response = yield this.request({
|
|
419
419
|
path: urlPath,
|
|
420
420
|
method: 'GET',
|
|
@@ -445,7 +445,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
445
445
|
if (this.configuration && this.configuration.apiKey) {
|
|
446
446
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
447
447
|
}
|
|
448
|
-
let urlPath = `/tenants/users`;
|
|
448
|
+
let urlPath = `/api/v1/tenants/users`;
|
|
449
449
|
const response = yield this.request({
|
|
450
450
|
path: urlPath,
|
|
451
451
|
method: 'GET',
|
|
@@ -480,7 +480,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
480
480
|
if (this.configuration && this.configuration.apiKey) {
|
|
481
481
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
482
482
|
}
|
|
483
|
-
let urlPath = `/tenants/users`;
|
|
483
|
+
let urlPath = `/api/v1/tenants/users`;
|
|
484
484
|
const response = yield this.request({
|
|
485
485
|
path: urlPath,
|
|
486
486
|
method: 'DELETE',
|
|
@@ -516,7 +516,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
516
516
|
if (this.configuration && this.configuration.apiKey) {
|
|
517
517
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
518
518
|
}
|
|
519
|
-
let urlPath = `/tenants/switch-active`;
|
|
519
|
+
let urlPath = `/api/v1/tenants/switch-active`;
|
|
520
520
|
const response = yield this.request({
|
|
521
521
|
path: urlPath,
|
|
522
522
|
method: 'PUT',
|
|
@@ -555,7 +555,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
555
555
|
if (this.configuration && this.configuration.apiKey) {
|
|
556
556
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
557
557
|
}
|
|
558
|
-
let urlPath = `/tenants/roles/{role_id}`;
|
|
558
|
+
let urlPath = `/api/v1/tenants/roles/{role_id}`;
|
|
559
559
|
urlPath = urlPath.replace(`{${"role_id"}}`, encodeURIComponent(String(requestParameters['roleId'])));
|
|
560
560
|
const response = yield this.request({
|
|
561
561
|
path: urlPath,
|
|
@@ -592,7 +592,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
592
592
|
if (this.configuration && this.configuration.apiKey) {
|
|
593
593
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
594
594
|
}
|
|
595
|
-
let urlPath = `/tenants/users/role`;
|
|
595
|
+
let urlPath = `/api/v1/tenants/users/role`;
|
|
596
596
|
const response = yield this.request({
|
|
597
597
|
path: urlPath,
|
|
598
598
|
method: 'PUT',
|
|
@@ -614,4 +614,4 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
exports.
|
|
617
|
+
exports.V1TenantsApi = V1TenantsApi;
|
package/dist/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/apis/index.js
CHANGED
|
@@ -16,9 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./
|
|
24
|
-
__exportStar(require("./
|
|
19
|
+
__exportStar(require("./V1DatabaseApi"), exports);
|
|
20
|
+
__exportStar(require("./V1PaymentsApi"), exports);
|
|
21
|
+
__exportStar(require("./V1PermissionsApi"), exports);
|
|
22
|
+
__exportStar(require("./V1StorageApi"), exports);
|
|
23
|
+
__exportStar(require("./V1StripeApi"), exports);
|
|
24
|
+
__exportStar(require("./V1TenantsApi"), exports);
|
|
@@ -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.2
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,7 +17,7 @@ export interface UploadDatabaseMigrationsRequest {
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
|
-
export declare class
|
|
20
|
+
export declare class V1DatabaseApi extends runtime.BaseAPI {
|
|
21
21
|
/**
|
|
22
22
|
* Uploads SQL migration files and applies them to the user\'s PostgreSQL database. ## Authentication Requires JWT token (typically used by CLI tools, not browser sessions). ## Migration Format Upload a zip file containing SQL files named like: `001-seed.sql`, `002-rls.sql`, etc. Files are automatically renamed to golang-migrate format: `001_seed.up.sql`, `002_rls.up.sql`. ## Use Cases - CLI migration uploads via `omnibase db migration push` - CI/CD pipeline integrations - Programmatic schema management
|
|
23
23
|
* Upload database migrations
|
|
@@ -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.2
|
|
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 { V1MigrationSuccessResponseFromJSON, } from '../models/index';
|
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
|
-
export class
|
|
28
|
+
export class V1DatabaseApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
30
|
* Uploads SQL migration files and applies them to the user\'s PostgreSQL database. ## Authentication Requires JWT token (typically used by CLI tools, not browser sessions). ## Migration Format Upload a zip file containing SQL files named like: `001-seed.sql`, `002-rls.sql`, etc. Files are automatically renamed to golang-migrate format: `001_seed.up.sql`, `002_rls.up.sql`. ## Use Cases - CLI migration uploads via `omnibase db migration push` - CI/CD pipeline integrations - Programmatic schema management
|
|
31
31
|
* Upload database migrations
|
|
@@ -58,7 +58,7 @@ export class DatabaseApi extends runtime.BaseAPI {
|
|
|
58
58
|
if (requestParameters['migrations'] != null) {
|
|
59
59
|
formParams.append('migrations', requestParameters['migrations']);
|
|
60
60
|
}
|
|
61
|
-
let urlPath = `/database/migrations`;
|
|
61
|
+
let urlPath = `/api/v1/database/migrations`;
|
|
62
62
|
const response = yield this.request({
|
|
63
63
|
path: urlPath,
|
|
64
64
|
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.2
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,7 +23,7 @@ export interface RecordUsageRequest {
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
export declare class
|
|
26
|
+
export declare class V1PaymentsApi extends runtime.BaseAPI {
|
|
27
27
|
/**
|
|
28
28
|
* Creates a Stripe Checkout Session for the specified price ID. The session URL can be used to redirect users to complete payment. ## Authentication Requires JWT token. If the user has an existing Stripe customer ID, it will be used; otherwise, a new customer will be created. ## Use Cases - Subscription sign-ups - One-time purchases - Trial period checkouts - Promotional code redemption
|
|
29
29
|
* Create checkout session
|
|
@@ -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.2
|
|
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 { CreateCheckout200ResponseFromJSON, CreateCustomerPortal200ResponseFromJ
|
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
|
-
export class
|
|
28
|
+
export class V1PaymentsApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
30
|
* Creates a Stripe Checkout Session for the specified price ID. The session URL can be used to redirect users to complete payment. ## Authentication Requires JWT token. If the user has an existing Stripe customer ID, it will be used; otherwise, a new customer will be created. ## Use Cases - Subscription sign-ups - One-time purchases - Trial period checkouts - Promotional code redemption
|
|
31
31
|
* Create checkout session
|
|
@@ -41,7 +41,7 @@ export class PaymentsApi 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 = `/payments/checkout`;
|
|
44
|
+
let urlPath = `/api/v1/payments/checkout`;
|
|
45
45
|
const response = yield this.request({
|
|
46
46
|
path: urlPath,
|
|
47
47
|
method: 'POST',
|
|
@@ -77,7 +77,7 @@ export class PaymentsApi extends runtime.BaseAPI {
|
|
|
77
77
|
if (this.configuration && this.configuration.apiKey) {
|
|
78
78
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
79
79
|
}
|
|
80
|
-
let urlPath = `/payments/portal`;
|
|
80
|
+
let urlPath = `/api/v1/payments/portal`;
|
|
81
81
|
const response = yield this.request({
|
|
82
82
|
path: urlPath,
|
|
83
83
|
method: 'POST',
|
|
@@ -113,7 +113,7 @@ export class PaymentsApi extends runtime.BaseAPI {
|
|
|
113
113
|
if (this.configuration && this.configuration.apiKey) {
|
|
114
114
|
headerParameters["Authorization"] = yield this.configuration.apiKey("Authorization"); // BearerAuth authentication
|
|
115
115
|
}
|
|
116
|
-
let urlPath = `/payments/usage`;
|
|
116
|
+
let urlPath = `/api/v1/payments/usage`;
|
|
117
117
|
const response = yield this.request({
|
|
118
118
|
path: urlPath,
|
|
119
119
|
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.2
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,7 +23,7 @@ export interface DeployPermissionNamespacesRequest {
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
export declare class
|
|
26
|
+
export declare class V1PermissionsApi extends runtime.BaseAPI {
|
|
27
27
|
/**
|
|
28
28
|
* 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
|
|
29
29
|
* Check permission
|