@omnibase/core-js 0.9.18 → 0.10.1
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 +44 -0
- package/README.md +34 -3
- package/docs/AddInvoiceLineItem200Response.md +36 -0
- package/docs/AddInvoiceLineItemRequest.md +38 -0
- package/docs/ConfigureWebhooks200Response.md +36 -0
- package/docs/CreateInvoice200Response.md +36 -0
- package/docs/CreateInvoiceRequest.md +40 -0
- package/docs/FinalizeInvoiceRequest.md +34 -0
- package/docs/GetMeterByID200Response.md +36 -0
- package/docs/GetPriceByID200Response.md +36 -0
- package/docs/GetProductByID200Response.md +36 -0
- package/docs/GetWebhookSecret200Response.md +36 -0
- package/docs/InvoiceLineItemResponse.md +38 -0
- package/docs/InvoiceResponse.md +46 -0
- package/docs/MeterResponse.md +34 -0
- package/docs/PerUnitPrice.md +1 -1
- package/docs/Price.md +1 -1
- package/docs/PriceResponse.md +36 -0
- package/docs/PriceWithStripeID.md +1 -1
- package/docs/ProductResponse.md +34 -0
- package/docs/UpdateInvoiceRequest.md +36 -0
- package/docs/V1PaymentsApi.md +391 -0
- package/docs/V1StripeApi.md +213 -0
- package/docs/V1WebhooksApi.md +150 -0
- package/docs/WebhookEndpointConfig.md +40 -0
- package/docs/WebhookResult.md +46 -0
- package/docs/WebhookSecretResponse.md +48 -0
- package/docs/WebhooksConfigRequest.md +34 -0
- package/docs/WebhooksConfigResponse.md +34 -0
- package/package.json +1 -1
- package/src/apis/V1AuthApi.ts +2 -2
- package/src/apis/V1ConfigurationApi.ts +2 -2
- package/src/apis/V1EventsApi.ts +2 -2
- package/src/apis/V1PaymentsApi.ts +350 -2
- package/src/apis/V1PermissionsApi.ts +2 -2
- package/src/apis/V1StorageApi.ts +2 -2
- package/src/apis/V1StripeApi.ts +140 -2
- package/src/apis/V1TenantsApi.ts +2 -2
- package/src/apis/V1WebhooksApi.ts +132 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AcceptInvite200Response.ts +2 -2
- package/src/models/AcceptInviteRequest.ts +2 -2
- package/src/models/AcceptInviteResponse.ts +2 -2
- package/src/models/ActiveTenantResponse.ts +2 -2
- package/src/models/AddInvoiceLineItem200Response.ts +82 -0
- package/src/models/AddInvoiceLineItemRequest.ts +94 -0
- package/src/models/AddSubscription200Response.ts +2 -2
- package/src/models/AddSubscriptionRequest.ts +2 -2
- package/src/models/AddSubscriptionResponse.ts +2 -2
- package/src/models/ArchiveAllResponse.ts +2 -2
- package/src/models/ArchiveAllStripeConfig200Response.ts +2 -2
- package/src/models/BadRequest.ts +2 -2
- package/src/models/BadRequestResponse.ts +2 -2
- package/src/models/BillingInterval.ts +2 -2
- package/src/models/BillingStatusResponse.ts +2 -2
- package/src/models/CheckPermission200Response.ts +2 -2
- package/src/models/CheckPermissionRequest.ts +2 -2
- package/src/models/CheckPermissionRequestWithSubjectId.ts +2 -2
- package/src/models/CheckPermissionRequestWithSubjectSet.ts +2 -2
- package/src/models/CheckPermissionResponse.ts +2 -2
- package/src/models/ConfigHistoryItem.ts +2 -2
- package/src/models/ConfigHistoryPagination.ts +2 -2
- package/src/models/ConfigHistoryResponse.ts +2 -2
- package/src/models/ConfigureWebhooks200Response.ts +82 -0
- package/src/models/ConflictResponse.ts +2 -2
- package/src/models/ConvertStripeIDToConfigID200Response.ts +2 -2
- package/src/models/CreateCheckout200Response.ts +2 -2
- package/src/models/CreateCheckoutRequest.ts +2 -2
- package/src/models/CreateCheckoutResponse.ts +2 -2
- package/src/models/CreateCustomerPortal200Response.ts +2 -2
- package/src/models/CreateEmailTemplateRequest.ts +2 -2
- package/src/models/CreateInvite200Response.ts +2 -2
- package/src/models/CreateInvoice200Response.ts +82 -0
- package/src/models/CreateInvoiceRequest.ts +100 -0
- package/src/models/CreateOrUpdateEmailTemplate200Response.ts +2 -2
- package/src/models/CreateOrUpdateEmailTemplate200ResponseAllOfData.ts +2 -2
- package/src/models/CreatePortalRequest.ts +2 -2
- package/src/models/CreatePortalResponse.ts +2 -2
- package/src/models/CreateRelationship200Response.ts +2 -2
- package/src/models/CreateRelationshipRequest.ts +2 -2
- package/src/models/CreateRelationshipRequestWithSubjectId.ts +2 -2
- package/src/models/CreateRelationshipRequestWithSubjectSet.ts +2 -2
- package/src/models/CreateRelationshipResponse.ts +2 -2
- package/src/models/CreateRole200Response.ts +2 -2
- package/src/models/CreateRoleRequest.ts +2 -2
- package/src/models/CreateTenant200Response.ts +2 -2
- package/src/models/CreateTenantRequest.ts +2 -2
- package/src/models/CreateTenantResponse.ts +2 -2
- package/src/models/CreateTenantUserInviteRequest.ts +2 -2
- package/src/models/CreateTenantUserInviteResponse.ts +2 -2
- package/src/models/CreateUser200Response.ts +2 -2
- package/src/models/CreateUserRequest.ts +2 -2
- package/src/models/CreateUserRequestName.ts +2 -2
- package/src/models/CurrencyCode.ts +2 -2
- package/src/models/DeleteEmailTemplate200Response.ts +2 -2
- package/src/models/DeleteEmailTemplate200ResponseAllOfData.ts +2 -2
- package/src/models/DeleteObject200Response.ts +2 -2
- package/src/models/DeleteObjectRequest.ts +2 -2
- package/src/models/DeleteRelationship200Response.ts +2 -2
- package/src/models/DeleteRelationshipRequest.ts +2 -2
- package/src/models/DeleteRelationshipRequestWithSubjectId.ts +2 -2
- package/src/models/DeleteRelationshipRequestWithSubjectSet.ts +2 -2
- package/src/models/DeleteRelationshipResponse.ts +2 -2
- package/src/models/DeleteRole200Response.ts +2 -2
- package/src/models/DeleteRoleResponse.ts +2 -2
- package/src/models/DeleteTenant200Response.ts +2 -2
- package/src/models/DeleteTenantResponse.ts +2 -2
- package/src/models/DeleteTenantUserRequest.ts +2 -2
- package/src/models/DeployPermissionNamespaces200Response.ts +2 -2
- package/src/models/DownloadFile200Response.ts +2 -2
- package/src/models/DownloadRequest.ts +2 -2
- package/src/models/DownloadResponse.ts +2 -2
- package/src/models/EmailTemplate.ts +2 -2
- package/src/models/ErrorResponse.ts +2 -2
- package/src/models/FinalizeInvoiceRequest.ts +65 -0
- package/src/models/ForbiddenResponse.ts +2 -2
- package/src/models/GetActiveTenant200Response.ts +2 -2
- package/src/models/GetEmailTemplates200Response.ts +2 -2
- package/src/models/GetEmailTemplates200ResponseAllOfData.ts +2 -2
- package/src/models/GetIdentity200Response.ts +2 -2
- package/src/models/GetMeterByID200Response.ts +82 -0
- package/src/models/GetPriceByID200Response.ts +82 -0
- package/src/models/GetProductByID200Response.ts +82 -0
- package/src/models/GetRoleDefinitions200Response.ts +2 -2
- package/src/models/GetSession200Response.ts +2 -2
- package/src/models/GetStripeConfig200Response.ts +2 -2
- package/src/models/GetStripeConfigHistory200Response.ts +2 -2
- package/src/models/GetTenantBillingStatus200Response.ts +2 -2
- package/src/models/GetTenantJWT200Response.ts +2 -2
- package/src/models/GetWebhookSecret200Response.ts +82 -0
- package/src/models/InternalServerError.ts +2 -2
- package/src/models/InternalServerErrorResponse.ts +2 -2
- package/src/models/InvoiceLineItemResponse.ts +82 -0
- package/src/models/InvoiceResponse.ts +115 -0
- package/src/models/JWTTokenResponse.ts +2 -2
- package/src/models/KratosIdentity.ts +2 -2
- package/src/models/KratosIdentityCredentials.ts +2 -2
- package/src/models/KratosIdentityCredentialsPassword.ts +2 -2
- package/src/models/KratosIdentityRecoveryAddressesInner.ts +2 -2
- package/src/models/KratosIdentityTraits.ts +2 -2
- package/src/models/KratosIdentityTraitsName.ts +2 -2
- package/src/models/KratosIdentityVerifiableAddressesInner.ts +2 -2
- package/src/models/ListRoles200Response.ts +2 -2
- package/src/models/ListTenantSubscriptions200Response.ts +2 -2
- package/src/models/ListTenantUsers200Response.ts +2 -2
- package/src/models/ListTenants200Response.ts +2 -2
- package/src/models/ListTenantsResponse.ts +2 -2
- package/src/models/Logout200Response.ts +2 -2
- package/src/models/LogoutResponse.ts +2 -2
- package/src/models/MessageResponse.ts +2 -2
- package/src/models/Meter.ts +2 -2
- package/src/models/MeterCustomerMapping.ts +2 -2
- package/src/models/MeterDefaultAggregation.ts +2 -2
- package/src/models/MeterResponse.ts +74 -0
- package/src/models/MeterValueSettings.ts +2 -2
- package/src/models/MeterWithStripeID.ts +2 -2
- package/src/models/MigrationErrorResponse.ts +2 -2
- package/src/models/MigrationSuccessResponse.ts +2 -2
- package/src/models/NamespaceDefinition.ts +2 -2
- package/src/models/NamespaceDefinitionsResponse.ts +2 -2
- package/src/models/NamespaceDeploymentResponse.ts +2 -2
- package/src/models/NotFound.ts +2 -2
- package/src/models/NotFoundResponse.ts +2 -2
- package/src/models/PerUnitBillingScheme.ts +2 -2
- package/src/models/PerUnitPrice.ts +3 -3
- package/src/models/Price.ts +2 -2
- package/src/models/PriceDisplay.ts +2 -2
- package/src/models/PriceLimit.ts +2 -2
- package/src/models/PriceResponse.ts +90 -0
- package/src/models/PriceUI.ts +2 -2
- package/src/models/PriceWithStripeID.ts +3 -3
- package/src/models/Product.ts +2 -2
- package/src/models/ProductResponse.ts +74 -0
- package/src/models/ProductUI.ts +2 -2
- package/src/models/ProductWithStripeIDs.ts +2 -2
- package/src/models/PullStripeConfig200Response.ts +2 -2
- package/src/models/RecordUsageRequest.ts +2 -2
- package/src/models/Relationship.ts +2 -2
- package/src/models/RemoveSubscription200Response.ts +2 -2
- package/src/models/RemoveSubscriptionRequest.ts +2 -2
- package/src/models/RemoveSubscriptionResponse.ts +2 -2
- package/src/models/Role.ts +2 -2
- package/src/models/RolesListResponse.ts +2 -2
- package/src/models/SchemasConflictResponse.ts +2 -2
- package/src/models/SessionResponse.ts +2 -2
- package/src/models/StripeConfigResponse.ts +2 -2
- package/src/models/StripeConfigUpdateRequest.ts +2 -2
- package/src/models/StripeConfigValidateRequest.ts +2 -2
- package/src/models/StripeConfiguration.ts +2 -2
- package/src/models/StripeConfigurationWithIDs.ts +2 -2
- package/src/models/StripeIDConversionResponse.ts +2 -2
- package/src/models/SubjectSet.ts +2 -2
- package/src/models/SubjectSetRequest.ts +2 -2
- package/src/models/SubscriptionResponse.ts +2 -2
- package/src/models/SuccessResponse.ts +2 -2
- package/src/models/SuccessResponseData.ts +2 -2
- package/src/models/SwitchActiveTenant200Response.ts +2 -2
- package/src/models/SwitchTenantRequest.ts +2 -2
- package/src/models/SwitchTenantResponse.ts +2 -2
- package/src/models/Tenant.ts +2 -2
- package/src/models/TenantInvite.ts +2 -2
- package/src/models/TenantSettings.ts +2 -2
- package/src/models/TenantUserResponse.ts +2 -2
- package/src/models/Tier.ts +2 -2
- package/src/models/TierUpTo.ts +2 -2
- package/src/models/TieredBillingScheme.ts +2 -2
- package/src/models/TieredPrice.ts +2 -2
- package/src/models/TiersMode.ts +2 -2
- package/src/models/Unauthorized.ts +2 -2
- package/src/models/UnauthorizedResponse.ts +2 -2
- package/src/models/UpdateInvoiceRequest.ts +73 -0
- package/src/models/UpdateRoleRequest.ts +2 -2
- package/src/models/UpdateTenantUserRole200Response.ts +2 -2
- package/src/models/UpdateTenantUserRoleRequest.ts +2 -2
- package/src/models/UpdateTenantUserRoleResponse.ts +2 -2
- package/src/models/UploadFile200Response.ts +2 -2
- package/src/models/UploadRequest.ts +2 -2
- package/src/models/UploadResponse.ts +2 -2
- package/src/models/UsageType.ts +2 -2
- package/src/models/UserTenantListItem.ts +2 -2
- package/src/models/WebhookEndpointConfig.ts +91 -0
- package/src/models/WebhookResult.ts +131 -0
- package/src/models/WebhookSecretResponse.ts +127 -0
- package/src/models/WebhooksConfigRequest.ts +74 -0
- package/src/models/WebhooksConfigResponse.ts +74 -0
- package/src/models/WhoAmI200Response.ts +2 -2
- package/src/models/WhoAmIResponse.ts +2 -2
- package/src/models/index.ts +21 -0
- package/src/runtime.ts +2 -2
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Omnibase REST API
|
|
5
|
+
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.10.1
|
|
8
|
+
* Contact: support@omnibase.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { WebhookEndpointConfig } from './WebhookEndpointConfig';
|
|
17
|
+
import {
|
|
18
|
+
WebhookEndpointConfigFromJSON,
|
|
19
|
+
WebhookEndpointConfigFromJSONTyped,
|
|
20
|
+
WebhookEndpointConfigToJSON,
|
|
21
|
+
WebhookEndpointConfigToJSONTyped,
|
|
22
|
+
} from './WebhookEndpointConfig';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface WebhooksConfigRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface WebhooksConfigRequest {
|
|
30
|
+
/**
|
|
31
|
+
* List of webhook endpoint configurations
|
|
32
|
+
* @type {Array<WebhookEndpointConfig>}
|
|
33
|
+
* @memberof WebhooksConfigRequest
|
|
34
|
+
*/
|
|
35
|
+
webhooks: Array<WebhookEndpointConfig>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the WebhooksConfigRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfWebhooksConfigRequest(value: object): value is WebhooksConfigRequest {
|
|
42
|
+
if (!('webhooks' in value) || value['webhooks'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function WebhooksConfigRequestFromJSON(json: any): WebhooksConfigRequest {
|
|
47
|
+
return WebhooksConfigRequestFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function WebhooksConfigRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhooksConfigRequest {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'webhooks': ((json['webhooks'] as Array<any>).map(WebhookEndpointConfigFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function WebhooksConfigRequestToJSON(json: any): WebhooksConfigRequest {
|
|
61
|
+
return WebhooksConfigRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function WebhooksConfigRequestToJSONTyped(value?: WebhooksConfigRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'webhooks': ((value['webhooks'] as Array<any>).map(WebhookEndpointConfigToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Omnibase REST API
|
|
5
|
+
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.10.1
|
|
8
|
+
* Contact: support@omnibase.dev
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { WebhookResult } from './WebhookResult';
|
|
17
|
+
import {
|
|
18
|
+
WebhookResultFromJSON,
|
|
19
|
+
WebhookResultFromJSONTyped,
|
|
20
|
+
WebhookResultToJSON,
|
|
21
|
+
WebhookResultToJSONTyped,
|
|
22
|
+
} from './WebhookResult';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface WebhooksConfigResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface WebhooksConfigResponse {
|
|
30
|
+
/**
|
|
31
|
+
* List of configured webhook endpoints with results
|
|
32
|
+
* @type {Array<WebhookResult>}
|
|
33
|
+
* @memberof WebhooksConfigResponse
|
|
34
|
+
*/
|
|
35
|
+
webhooks: Array<WebhookResult>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the WebhooksConfigResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfWebhooksConfigResponse(value: object): value is WebhooksConfigResponse {
|
|
42
|
+
if (!('webhooks' in value) || value['webhooks'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function WebhooksConfigResponseFromJSON(json: any): WebhooksConfigResponse {
|
|
47
|
+
return WebhooksConfigResponseFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function WebhooksConfigResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhooksConfigResponse {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'webhooks': ((json['webhooks'] as Array<any>).map(WebhookResultFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function WebhooksConfigResponseToJSON(json: any): WebhooksConfigResponse {
|
|
61
|
+
return WebhooksConfigResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function WebhooksConfigResponseToJSONTyped(value?: WebhooksConfigResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'webhooks': ((value['webhooks'] as Array<any>).map(WebhookResultToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Omnibase REST API
|
|
5
|
-
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control
|
|
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 ## 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.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.1
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Omnibase REST API
|
|
5
|
-
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control
|
|
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 ## 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.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.1
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/index.ts
CHANGED
|
@@ -4,6 +4,8 @@ export * from './AcceptInvite200Response';
|
|
|
4
4
|
export * from './AcceptInviteRequest';
|
|
5
5
|
export * from './AcceptInviteResponse';
|
|
6
6
|
export * from './ActiveTenantResponse';
|
|
7
|
+
export * from './AddInvoiceLineItem200Response';
|
|
8
|
+
export * from './AddInvoiceLineItemRequest';
|
|
7
9
|
export * from './AddSubscription200Response';
|
|
8
10
|
export * from './AddSubscriptionRequest';
|
|
9
11
|
export * from './AddSubscriptionResponse';
|
|
@@ -21,6 +23,7 @@ export * from './CheckPermissionResponse';
|
|
|
21
23
|
export * from './ConfigHistoryItem';
|
|
22
24
|
export * from './ConfigHistoryPagination';
|
|
23
25
|
export * from './ConfigHistoryResponse';
|
|
26
|
+
export * from './ConfigureWebhooks200Response';
|
|
24
27
|
export * from './ConflictResponse';
|
|
25
28
|
export * from './ConvertStripeIDToConfigID200Response';
|
|
26
29
|
export * from './CreateCheckout200Response';
|
|
@@ -29,6 +32,8 @@ export * from './CreateCheckoutResponse';
|
|
|
29
32
|
export * from './CreateCustomerPortal200Response';
|
|
30
33
|
export * from './CreateEmailTemplateRequest';
|
|
31
34
|
export * from './CreateInvite200Response';
|
|
35
|
+
export * from './CreateInvoice200Response';
|
|
36
|
+
export * from './CreateInvoiceRequest';
|
|
32
37
|
export * from './CreateOrUpdateEmailTemplate200Response';
|
|
33
38
|
export * from './CreateOrUpdateEmailTemplate200ResponseAllOfData';
|
|
34
39
|
export * from './CreatePortalRequest';
|
|
@@ -69,19 +74,26 @@ export * from './DownloadRequest';
|
|
|
69
74
|
export * from './DownloadResponse';
|
|
70
75
|
export * from './EmailTemplate';
|
|
71
76
|
export * from './ErrorResponse';
|
|
77
|
+
export * from './FinalizeInvoiceRequest';
|
|
72
78
|
export * from './ForbiddenResponse';
|
|
73
79
|
export * from './GetActiveTenant200Response';
|
|
74
80
|
export * from './GetEmailTemplates200Response';
|
|
75
81
|
export * from './GetEmailTemplates200ResponseAllOfData';
|
|
76
82
|
export * from './GetIdentity200Response';
|
|
83
|
+
export * from './GetMeterByID200Response';
|
|
84
|
+
export * from './GetPriceByID200Response';
|
|
85
|
+
export * from './GetProductByID200Response';
|
|
77
86
|
export * from './GetRoleDefinitions200Response';
|
|
78
87
|
export * from './GetSession200Response';
|
|
79
88
|
export * from './GetStripeConfig200Response';
|
|
80
89
|
export * from './GetStripeConfigHistory200Response';
|
|
81
90
|
export * from './GetTenantBillingStatus200Response';
|
|
82
91
|
export * from './GetTenantJWT200Response';
|
|
92
|
+
export * from './GetWebhookSecret200Response';
|
|
83
93
|
export * from './InternalServerError';
|
|
84
94
|
export * from './InternalServerErrorResponse';
|
|
95
|
+
export * from './InvoiceLineItemResponse';
|
|
96
|
+
export * from './InvoiceResponse';
|
|
85
97
|
export * from './JWTTokenResponse';
|
|
86
98
|
export * from './KratosIdentity';
|
|
87
99
|
export * from './KratosIdentityCredentials';
|
|
@@ -101,6 +113,7 @@ export * from './MessageResponse';
|
|
|
101
113
|
export * from './Meter';
|
|
102
114
|
export * from './MeterCustomerMapping';
|
|
103
115
|
export * from './MeterDefaultAggregation';
|
|
116
|
+
export * from './MeterResponse';
|
|
104
117
|
export * from './MeterValueSettings';
|
|
105
118
|
export * from './MeterWithStripeID';
|
|
106
119
|
export * from './MigrationErrorResponse';
|
|
@@ -115,9 +128,11 @@ export * from './PerUnitPrice';
|
|
|
115
128
|
export * from './Price';
|
|
116
129
|
export * from './PriceDisplay';
|
|
117
130
|
export * from './PriceLimit';
|
|
131
|
+
export * from './PriceResponse';
|
|
118
132
|
export * from './PriceUI';
|
|
119
133
|
export * from './PriceWithStripeID';
|
|
120
134
|
export * from './Product';
|
|
135
|
+
export * from './ProductResponse';
|
|
121
136
|
export * from './ProductUI';
|
|
122
137
|
export * from './ProductWithStripeIDs';
|
|
123
138
|
export * from './PullStripeConfig200Response';
|
|
@@ -155,6 +170,7 @@ export * from './TieredPrice';
|
|
|
155
170
|
export * from './TiersMode';
|
|
156
171
|
export * from './Unauthorized';
|
|
157
172
|
export * from './UnauthorizedResponse';
|
|
173
|
+
export * from './UpdateInvoiceRequest';
|
|
158
174
|
export * from './UpdateRoleRequest';
|
|
159
175
|
export * from './UpdateTenantUserRole200Response';
|
|
160
176
|
export * from './UpdateTenantUserRoleRequest';
|
|
@@ -164,5 +180,10 @@ export * from './UploadRequest';
|
|
|
164
180
|
export * from './UploadResponse';
|
|
165
181
|
export * from './UsageType';
|
|
166
182
|
export * from './UserTenantListItem';
|
|
183
|
+
export * from './WebhookEndpointConfig';
|
|
184
|
+
export * from './WebhookResult';
|
|
185
|
+
export * from './WebhookSecretResponse';
|
|
186
|
+
export * from './WebhooksConfigRequest';
|
|
187
|
+
export * from './WebhooksConfigResponse';
|
|
167
188
|
export * from './WhoAmI200Response';
|
|
168
189
|
export * from './WhoAmIResponse';
|
package/src/runtime.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Omnibase REST API
|
|
5
|
-
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control
|
|
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 ## 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.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.1
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|