@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,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.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 { PriceResponse } from './PriceResponse';
|
|
17
|
+
import {
|
|
18
|
+
PriceResponseFromJSON,
|
|
19
|
+
PriceResponseFromJSONTyped,
|
|
20
|
+
PriceResponseToJSON,
|
|
21
|
+
PriceResponseToJSONTyped,
|
|
22
|
+
} from './PriceResponse';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface GetPriceByID200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface GetPriceByID200Response {
|
|
30
|
+
/**
|
|
31
|
+
* HTTP status code
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetPriceByID200Response
|
|
34
|
+
*/
|
|
35
|
+
status: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {PriceResponse}
|
|
39
|
+
* @memberof GetPriceByID200Response
|
|
40
|
+
*/
|
|
41
|
+
data?: PriceResponse;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the GetPriceByID200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfGetPriceByID200Response(value: object): value is GetPriceByID200Response {
|
|
48
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function GetPriceByID200ResponseFromJSON(json: any): GetPriceByID200Response {
|
|
53
|
+
return GetPriceByID200ResponseFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function GetPriceByID200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPriceByID200Response {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'status': json['status'],
|
|
63
|
+
'data': json['data'] == null ? undefined : PriceResponseFromJSON(json['data']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function GetPriceByID200ResponseToJSON(json: any): GetPriceByID200Response {
|
|
68
|
+
return GetPriceByID200ResponseToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function GetPriceByID200ResponseToJSONTyped(value?: GetPriceByID200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'status': value['status'],
|
|
79
|
+
'data': PriceResponseToJSON(value['data']),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -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.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 { ProductResponse } from './ProductResponse';
|
|
17
|
+
import {
|
|
18
|
+
ProductResponseFromJSON,
|
|
19
|
+
ProductResponseFromJSONTyped,
|
|
20
|
+
ProductResponseToJSON,
|
|
21
|
+
ProductResponseToJSONTyped,
|
|
22
|
+
} from './ProductResponse';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface GetProductByID200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface GetProductByID200Response {
|
|
30
|
+
/**
|
|
31
|
+
* HTTP status code
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetProductByID200Response
|
|
34
|
+
*/
|
|
35
|
+
status: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {ProductResponse}
|
|
39
|
+
* @memberof GetProductByID200Response
|
|
40
|
+
*/
|
|
41
|
+
data?: ProductResponse;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the GetProductByID200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfGetProductByID200Response(value: object): value is GetProductByID200Response {
|
|
48
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function GetProductByID200ResponseFromJSON(json: any): GetProductByID200Response {
|
|
53
|
+
return GetProductByID200ResponseFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function GetProductByID200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetProductByID200Response {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'status': json['status'],
|
|
63
|
+
'data': json['data'] == null ? undefined : ProductResponseFromJSON(json['data']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function GetProductByID200ResponseToJSON(json: any): GetProductByID200Response {
|
|
68
|
+
return GetProductByID200ResponseToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function GetProductByID200ResponseToJSONTyped(value?: GetProductByID200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'status': value['status'],
|
|
79
|
+
'data': ProductResponseToJSON(value['data']),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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.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 { WebhookSecretResponse } from './WebhookSecretResponse';
|
|
17
|
+
import {
|
|
18
|
+
WebhookSecretResponseFromJSON,
|
|
19
|
+
WebhookSecretResponseFromJSONTyped,
|
|
20
|
+
WebhookSecretResponseToJSON,
|
|
21
|
+
WebhookSecretResponseToJSONTyped,
|
|
22
|
+
} from './WebhookSecretResponse';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface GetWebhookSecret200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface GetWebhookSecret200Response {
|
|
30
|
+
/**
|
|
31
|
+
* HTTP status code
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetWebhookSecret200Response
|
|
34
|
+
*/
|
|
35
|
+
status: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {WebhookSecretResponse}
|
|
39
|
+
* @memberof GetWebhookSecret200Response
|
|
40
|
+
*/
|
|
41
|
+
data?: WebhookSecretResponse;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the GetWebhookSecret200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfGetWebhookSecret200Response(value: object): value is GetWebhookSecret200Response {
|
|
48
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function GetWebhookSecret200ResponseFromJSON(json: any): GetWebhookSecret200Response {
|
|
53
|
+
return GetWebhookSecret200ResponseFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function GetWebhookSecret200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetWebhookSecret200Response {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'status': json['status'],
|
|
63
|
+
'data': json['data'] == null ? undefined : WebhookSecretResponseFromJSON(json['data']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function GetWebhookSecret200ResponseToJSON(json: any): GetWebhookSecret200Response {
|
|
68
|
+
return GetWebhookSecret200ResponseToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function GetWebhookSecret200ResponseToJSONTyped(value?: GetWebhookSecret200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'status': value['status'],
|
|
79
|
+
'data': WebhookSecretResponseToJSON(value['data']),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -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).
|
|
@@ -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.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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface InvoiceLineItemResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface InvoiceLineItemResponse {
|
|
22
|
+
/**
|
|
23
|
+
* Stripe Invoice Item ID
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof InvoiceLineItemResponse
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Amount in cents
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof InvoiceLineItemResponse
|
|
32
|
+
*/
|
|
33
|
+
amount?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Description
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof InvoiceLineItemResponse
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the InvoiceLineItemResponse interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfInvoiceLineItemResponse(value: object): value is InvoiceLineItemResponse {
|
|
46
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function InvoiceLineItemResponseFromJSON(json: any): InvoiceLineItemResponse {
|
|
51
|
+
return InvoiceLineItemResponseFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function InvoiceLineItemResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceLineItemResponse {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
|
|
60
|
+
'id': json['id'],
|
|
61
|
+
'amount': json['amount'] == null ? undefined : json['amount'],
|
|
62
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function InvoiceLineItemResponseToJSON(json: any): InvoiceLineItemResponse {
|
|
67
|
+
return InvoiceLineItemResponseToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function InvoiceLineItemResponseToJSONTyped(value?: InvoiceLineItemResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'id': value['id'],
|
|
78
|
+
'amount': value['amount'],
|
|
79
|
+
'description': value['description'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -0,0 +1,115 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface InvoiceResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface InvoiceResponse {
|
|
22
|
+
/**
|
|
23
|
+
* Stripe Invoice ID
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof InvoiceResponse
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Invoice status
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof InvoiceResponse
|
|
32
|
+
*/
|
|
33
|
+
status: string;
|
|
34
|
+
/**
|
|
35
|
+
* Total amount in cents
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof InvoiceResponse
|
|
38
|
+
*/
|
|
39
|
+
amountDue?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Currency
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof InvoiceResponse
|
|
44
|
+
*/
|
|
45
|
+
currency?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Customer ID
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof InvoiceResponse
|
|
50
|
+
*/
|
|
51
|
+
customerId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Invoice PDF URL (if available)
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof InvoiceResponse
|
|
56
|
+
*/
|
|
57
|
+
invoicePdf?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Hosted invoice URL
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof InvoiceResponse
|
|
62
|
+
*/
|
|
63
|
+
hostedInvoiceUrl?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the InvoiceResponse interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfInvoiceResponse(value: object): value is InvoiceResponse {
|
|
70
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
71
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function InvoiceResponseFromJSON(json: any): InvoiceResponse {
|
|
76
|
+
return InvoiceResponseFromJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function InvoiceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceResponse {
|
|
80
|
+
if (json == null) {
|
|
81
|
+
return json;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'id': json['id'],
|
|
86
|
+
'status': json['status'],
|
|
87
|
+
'amountDue': json['amount_due'] == null ? undefined : json['amount_due'],
|
|
88
|
+
'currency': json['currency'] == null ? undefined : json['currency'],
|
|
89
|
+
'customerId': json['customer_id'] == null ? undefined : json['customer_id'],
|
|
90
|
+
'invoicePdf': json['invoice_pdf'] == null ? undefined : json['invoice_pdf'],
|
|
91
|
+
'hostedInvoiceUrl': json['hosted_invoice_url'] == null ? undefined : json['hosted_invoice_url'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function InvoiceResponseToJSON(json: any): InvoiceResponse {
|
|
96
|
+
return InvoiceResponseToJSONTyped(json, false);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function InvoiceResponseToJSONTyped(value?: InvoiceResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
100
|
+
if (value == null) {
|
|
101
|
+
return value;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return {
|
|
105
|
+
|
|
106
|
+
'id': value['id'],
|
|
107
|
+
'status': value['status'],
|
|
108
|
+
'amount_due': value['amountDue'],
|
|
109
|
+
'currency': value['currency'],
|
|
110
|
+
'customer_id': value['customerId'],
|
|
111
|
+
'invoice_pdf': value['invoicePdf'],
|
|
112
|
+
'hosted_invoice_url': value['hostedInvoiceUrl'],
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|