@omnibase/core-js 0.9.17 → 0.10.0
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/NamespaceDefinition.md +2 -0
- package/docs/PriceResponse.md +36 -0
- 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/V1TenantsApi.md +12 -4
- 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 +15 -7
- 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 +10 -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 +2 -2
- 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 +2 -2
- 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
package/src/apis/V1TenantsApi.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.0
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -149,6 +149,10 @@ export interface DeleteTenantRequest {
|
|
|
149
149
|
xTenantId?: string;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
+
export interface GetRoleDefinitionsRequest {
|
|
153
|
+
subject?: string;
|
|
154
|
+
}
|
|
155
|
+
|
|
152
156
|
export interface GetTenantJWTRequest {
|
|
153
157
|
xUserId?: string;
|
|
154
158
|
xTenantId?: string;
|
|
@@ -566,12 +570,16 @@ export class V1TenantsApi extends runtime.BaseAPI {
|
|
|
566
570
|
}
|
|
567
571
|
|
|
568
572
|
/**
|
|
569
|
-
* Returns all available permission namespaces and their relations from the database. ## Authentication Requires JWT token with appropriate permissions. ## Use Cases - Discover available permission namespaces - List relations for each namespace - Build dynamic permission UIs
|
|
573
|
+
* Returns all available permission namespaces and their relations from the database. ## Authentication Requires JWT token with appropriate permissions. ## Use Cases - Discover available permission namespaces - List relations for each namespace - Build dynamic permission UIs - Filter by subject type for API key creation
|
|
570
574
|
* Get namespace definitions
|
|
571
575
|
*/
|
|
572
|
-
async getRoleDefinitionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetRoleDefinitions200Response>> {
|
|
576
|
+
async getRoleDefinitionsRaw(requestParameters: GetRoleDefinitionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetRoleDefinitions200Response>> {
|
|
573
577
|
const queryParameters: any = {};
|
|
574
578
|
|
|
579
|
+
if (requestParameters['subject'] != null) {
|
|
580
|
+
queryParameters['subject'] = requestParameters['subject'];
|
|
581
|
+
}
|
|
582
|
+
|
|
575
583
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
576
584
|
|
|
577
585
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -596,11 +604,11 @@ export class V1TenantsApi extends runtime.BaseAPI {
|
|
|
596
604
|
}
|
|
597
605
|
|
|
598
606
|
/**
|
|
599
|
-
* Returns all available permission namespaces and their relations from the database. ## Authentication Requires JWT token with appropriate permissions. ## Use Cases - Discover available permission namespaces - List relations for each namespace - Build dynamic permission UIs
|
|
607
|
+
* Returns all available permission namespaces and their relations from the database. ## Authentication Requires JWT token with appropriate permissions. ## Use Cases - Discover available permission namespaces - List relations for each namespace - Build dynamic permission UIs - Filter by subject type for API key creation
|
|
600
608
|
* Get namespace definitions
|
|
601
609
|
*/
|
|
602
|
-
async getRoleDefinitions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetRoleDefinitions200Response> {
|
|
603
|
-
const response = await this.getRoleDefinitionsRaw(initOverrides);
|
|
610
|
+
async getRoleDefinitions(requestParameters: GetRoleDefinitionsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetRoleDefinitions200Response> {
|
|
611
|
+
const response = await this.getRoleDefinitionsRaw(requestParameters, initOverrides);
|
|
604
612
|
return await response.value();
|
|
605
613
|
}
|
|
606
614
|
|
|
@@ -0,0 +1,132 @@
|
|
|
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.0
|
|
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
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
BadRequest,
|
|
19
|
+
ConfigureWebhooks200Response,
|
|
20
|
+
GetWebhookSecret200Response,
|
|
21
|
+
InternalServerError,
|
|
22
|
+
NotFound,
|
|
23
|
+
Unauthorized,
|
|
24
|
+
WebhooksConfigRequest,
|
|
25
|
+
} from '../models/index';
|
|
26
|
+
import {
|
|
27
|
+
BadRequestFromJSON,
|
|
28
|
+
BadRequestToJSON,
|
|
29
|
+
ConfigureWebhooks200ResponseFromJSON,
|
|
30
|
+
ConfigureWebhooks200ResponseToJSON,
|
|
31
|
+
GetWebhookSecret200ResponseFromJSON,
|
|
32
|
+
GetWebhookSecret200ResponseToJSON,
|
|
33
|
+
InternalServerErrorFromJSON,
|
|
34
|
+
InternalServerErrorToJSON,
|
|
35
|
+
NotFoundFromJSON,
|
|
36
|
+
NotFoundToJSON,
|
|
37
|
+
UnauthorizedFromJSON,
|
|
38
|
+
UnauthorizedToJSON,
|
|
39
|
+
WebhooksConfigRequestFromJSON,
|
|
40
|
+
WebhooksConfigRequestToJSON,
|
|
41
|
+
} from '../models/index';
|
|
42
|
+
|
|
43
|
+
export interface ConfigureWebhooksRequest {
|
|
44
|
+
webhooksConfigRequest: WebhooksConfigRequest;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export class V1WebhooksApi extends runtime.BaseAPI {
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Creates, updates, or removes multiple webhook endpoints to match the desired configuration. Webhooks not in the request will be deleted. ## Authentication Requires service key authentication. ## Connect Webhooks Each webhook can have `connect: true` to listen to events from connected accounts. ## URL Interpolation URLs support `${VAR}` environment variable interpolation when using the CLI. The CLI resolves these before sending to the API. ## Use Cases - Configure multiple webhooks for different environments - Set up both account and Connect webhooks - Declarative webhook configuration management
|
|
54
|
+
* Configure multiple webhook endpoints
|
|
55
|
+
*/
|
|
56
|
+
async configureWebhooksRaw(requestParameters: ConfigureWebhooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConfigureWebhooks200Response>> {
|
|
57
|
+
if (requestParameters['webhooksConfigRequest'] == null) {
|
|
58
|
+
throw new runtime.RequiredError(
|
|
59
|
+
'webhooksConfigRequest',
|
|
60
|
+
'Required parameter "webhooksConfigRequest" was null or undefined when calling configureWebhooks().'
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const queryParameters: any = {};
|
|
65
|
+
|
|
66
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
67
|
+
|
|
68
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
69
|
+
|
|
70
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
71
|
+
headerParameters["X-Service-Key"] = await this.configuration.apiKey("X-Service-Key"); // ServiceKeyAuth authentication
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
let urlPath = `/api/v1/stripe/config/webhooks`;
|
|
76
|
+
|
|
77
|
+
const response = await this.request({
|
|
78
|
+
path: urlPath,
|
|
79
|
+
method: 'POST',
|
|
80
|
+
headers: headerParameters,
|
|
81
|
+
query: queryParameters,
|
|
82
|
+
body: WebhooksConfigRequestToJSON(requestParameters['webhooksConfigRequest']),
|
|
83
|
+
}, initOverrides);
|
|
84
|
+
|
|
85
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ConfigureWebhooks200ResponseFromJSON(jsonValue));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Creates, updates, or removes multiple webhook endpoints to match the desired configuration. Webhooks not in the request will be deleted. ## Authentication Requires service key authentication. ## Connect Webhooks Each webhook can have `connect: true` to listen to events from connected accounts. ## URL Interpolation URLs support `${VAR}` environment variable interpolation when using the CLI. The CLI resolves these before sending to the API. ## Use Cases - Configure multiple webhooks for different environments - Set up both account and Connect webhooks - Declarative webhook configuration management
|
|
90
|
+
* Configure multiple webhook endpoints
|
|
91
|
+
*/
|
|
92
|
+
async configureWebhooks(requestParameters: ConfigureWebhooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConfigureWebhooks200Response> {
|
|
93
|
+
const response = await this.configureWebhooksRaw(requestParameters, initOverrides);
|
|
94
|
+
return await response.value();
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Retrieves the webhook signing secret for the most recent webhook configuration. ## Authentication Requires service key authentication. ## Use Cases - Retrieve signing secret for webhook signature verification - Debug webhook configuration
|
|
99
|
+
* Get webhook secret
|
|
100
|
+
*/
|
|
101
|
+
async getWebhookSecretRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetWebhookSecret200Response>> {
|
|
102
|
+
const queryParameters: any = {};
|
|
103
|
+
|
|
104
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
105
|
+
|
|
106
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
107
|
+
headerParameters["X-Service-Key"] = await this.configuration.apiKey("X-Service-Key"); // ServiceKeyAuth authentication
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
let urlPath = `/api/v1/stripe/config/webhook`;
|
|
112
|
+
|
|
113
|
+
const response = await this.request({
|
|
114
|
+
path: urlPath,
|
|
115
|
+
method: 'GET',
|
|
116
|
+
headers: headerParameters,
|
|
117
|
+
query: queryParameters,
|
|
118
|
+
}, initOverrides);
|
|
119
|
+
|
|
120
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetWebhookSecret200ResponseFromJSON(jsonValue));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Retrieves the webhook signing secret for the most recent webhook configuration. ## Authentication Requires service key authentication. ## Use Cases - Retrieve signing secret for webhook signature verification - Debug webhook configuration
|
|
125
|
+
* Get webhook secret
|
|
126
|
+
*/
|
|
127
|
+
async getWebhookSecret(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetWebhookSecret200Response> {
|
|
128
|
+
const response = await this.getWebhookSecretRaw(initOverrides);
|
|
129
|
+
return await response.value();
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
}
|
package/src/apis/index.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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,82 @@
|
|
|
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.0
|
|
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 { InvoiceLineItemResponse } from './InvoiceLineItemResponse';
|
|
17
|
+
import {
|
|
18
|
+
InvoiceLineItemResponseFromJSON,
|
|
19
|
+
InvoiceLineItemResponseFromJSONTyped,
|
|
20
|
+
InvoiceLineItemResponseToJSON,
|
|
21
|
+
InvoiceLineItemResponseToJSONTyped,
|
|
22
|
+
} from './InvoiceLineItemResponse';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AddInvoiceLineItem200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface AddInvoiceLineItem200Response {
|
|
30
|
+
/**
|
|
31
|
+
* HTTP status code
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AddInvoiceLineItem200Response
|
|
34
|
+
*/
|
|
35
|
+
status: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {InvoiceLineItemResponse}
|
|
39
|
+
* @memberof AddInvoiceLineItem200Response
|
|
40
|
+
*/
|
|
41
|
+
data?: InvoiceLineItemResponse;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AddInvoiceLineItem200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfAddInvoiceLineItem200Response(value: object): value is AddInvoiceLineItem200Response {
|
|
48
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function AddInvoiceLineItem200ResponseFromJSON(json: any): AddInvoiceLineItem200Response {
|
|
53
|
+
return AddInvoiceLineItem200ResponseFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AddInvoiceLineItem200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddInvoiceLineItem200Response {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'status': json['status'],
|
|
63
|
+
'data': json['data'] == null ? undefined : InvoiceLineItemResponseFromJSON(json['data']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function AddInvoiceLineItem200ResponseToJSON(json: any): AddInvoiceLineItem200Response {
|
|
68
|
+
return AddInvoiceLineItem200ResponseToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function AddInvoiceLineItem200ResponseToJSONTyped(value?: AddInvoiceLineItem200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'status': value['status'],
|
|
79
|
+
'data': InvoiceLineItemResponseToJSON(value['data']),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
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.0
|
|
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 { CurrencyCode } from './CurrencyCode';
|
|
17
|
+
import {
|
|
18
|
+
CurrencyCodeFromJSON,
|
|
19
|
+
CurrencyCodeFromJSONTyped,
|
|
20
|
+
CurrencyCodeToJSON,
|
|
21
|
+
CurrencyCodeToJSONTyped,
|
|
22
|
+
} from './CurrencyCode';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AddInvoiceLineItemRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface AddInvoiceLineItemRequest {
|
|
30
|
+
/**
|
|
31
|
+
* Amount in cents (required)
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AddInvoiceLineItemRequest
|
|
34
|
+
*/
|
|
35
|
+
amount: number;
|
|
36
|
+
/**
|
|
37
|
+
* Description for the line item (required)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AddInvoiceLineItemRequest
|
|
40
|
+
*/
|
|
41
|
+
description: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {CurrencyCode}
|
|
45
|
+
* @memberof AddInvoiceLineItemRequest
|
|
46
|
+
*/
|
|
47
|
+
currency: CurrencyCode;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the AddInvoiceLineItemRequest interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfAddInvoiceLineItemRequest(value: object): value is AddInvoiceLineItemRequest {
|
|
56
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
57
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
58
|
+
if (!('currency' in value) || value['currency'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function AddInvoiceLineItemRequestFromJSON(json: any): AddInvoiceLineItemRequest {
|
|
63
|
+
return AddInvoiceLineItemRequestFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function AddInvoiceLineItemRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddInvoiceLineItemRequest {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'amount': json['amount'],
|
|
73
|
+
'description': json['description'],
|
|
74
|
+
'currency': CurrencyCodeFromJSON(json['currency']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function AddInvoiceLineItemRequestToJSON(json: any): AddInvoiceLineItemRequest {
|
|
79
|
+
return AddInvoiceLineItemRequestToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function AddInvoiceLineItemRequestToJSONTyped(value?: AddInvoiceLineItemRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'amount': value['amount'],
|
|
90
|
+
'description': value['description'],
|
|
91
|
+
'currency': CurrencyCodeToJSON(value['currency']),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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/BadRequest.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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
8
8
|
* Contact: support@omnibase.dev
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|