@omnibase/core-js 0.18.1 → 0.19.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/README.md +5 -3
- package/dist/apis/V1AuthApi.d.ts +1 -1
- package/dist/apis/V1AuthApi.js +35 -2
- package/dist/apis/V1ConfigurationApi.d.ts +1 -1
- package/dist/apis/V1ConfigurationApi.js +35 -2
- package/dist/apis/V1PaymentsApi.d.ts +1 -1
- package/dist/apis/V1PaymentsApi.js +35 -2
- package/dist/apis/V1PermissionsApi.d.ts +1 -1
- package/dist/apis/V1PermissionsApi.js +35 -2
- package/dist/apis/V1StorageApi.d.ts +19 -2
- package/dist/apis/V1StorageApi.js +83 -2
- package/dist/apis/V1StripeApi.d.ts +1 -1
- package/dist/apis/V1StripeApi.js +35 -2
- package/dist/apis/V1TenantsApi.d.ts +1 -1
- package/dist/apis/V1TenantsApi.js +35 -2
- package/dist/esm/apis/V1AuthApi.d.ts +1 -1
- package/dist/esm/apis/V1AuthApi.js +49 -12
- package/dist/esm/apis/V1ConfigurationApi.d.ts +1 -1
- package/dist/esm/apis/V1ConfigurationApi.js +55 -18
- package/dist/esm/apis/V1PaymentsApi.d.ts +1 -1
- package/dist/esm/apis/V1PaymentsApi.js +58 -21
- package/dist/esm/apis/V1PermissionsApi.d.ts +1 -1
- package/dist/esm/apis/V1PermissionsApi.js +47 -10
- package/dist/esm/apis/V1StorageApi.d.ts +19 -2
- package/dist/esm/apis/V1StorageApi.js +95 -10
- package/dist/esm/apis/V1StripeApi.d.ts +1 -1
- package/dist/esm/apis/V1StripeApi.js +56 -19
- package/dist/esm/apis/V1TenantsApi.d.ts +1 -1
- package/dist/esm/apis/V1TenantsApi.js +72 -35
- package/dist/esm/apis/index.js +23 -7
- package/dist/esm/index.js +19 -3
- package/dist/esm/models/AcceptInvite200Response.d.ts +1 -1
- package/dist/esm/models/AcceptInvite200Response.js +16 -9
- package/dist/esm/models/AcceptInviteRequest.d.ts +1 -1
- package/dist/esm/models/AcceptInviteRequest.js +13 -6
- package/dist/esm/models/AcceptInviteResponse.d.ts +1 -1
- package/dist/esm/models/AcceptInviteResponse.js +13 -6
- package/dist/esm/models/ActiveTenantResponse.d.ts +1 -1
- package/dist/esm/models/ActiveTenantResponse.js +16 -9
- package/dist/esm/models/AddInvoiceLineItem200Response.d.ts +1 -1
- package/dist/esm/models/AddInvoiceLineItem200Response.js +16 -9
- package/dist/esm/models/AddInvoiceLineItemRequest.d.ts +1 -1
- package/dist/esm/models/AddInvoiceLineItemRequest.js +16 -9
- package/dist/esm/models/AddInvoiceLineItemWithConfigPriceRequest.d.ts +1 -1
- package/dist/esm/models/AddInvoiceLineItemWithConfigPriceRequest.js +16 -9
- package/dist/esm/models/AddInvoiceLineItemWithPriceIDRequest.d.ts +1 -1
- package/dist/esm/models/AddInvoiceLineItemWithPriceIDRequest.js +21 -15
- package/dist/esm/models/AddInvoiceLineItemWithStripePriceRequest.d.ts +1 -1
- package/dist/esm/models/AddInvoiceLineItemWithStripePriceRequest.js +16 -9
- package/dist/esm/models/AddSubscription200Response.d.ts +1 -1
- package/dist/esm/models/AddSubscription200Response.js +16 -9
- package/dist/esm/models/AddSubscriptionRequest.d.ts +1 -1
- package/dist/esm/models/AddSubscriptionRequest.js +13 -6
- package/dist/esm/models/AddSubscriptionResponse.d.ts +1 -1
- package/dist/esm/models/AddSubscriptionResponse.js +13 -6
- package/dist/esm/models/ApplyEnterpriseCustomRequest.d.ts +1 -1
- package/dist/esm/models/ApplyEnterpriseCustomRequest.js +13 -6
- package/dist/esm/models/ApplyEnterpriseTemplate200Response.d.ts +1 -1
- package/dist/esm/models/ApplyEnterpriseTemplate200Response.js +16 -9
- package/dist/esm/models/ApplyEnterpriseTemplateRequest.d.ts +1 -1
- package/dist/esm/models/ApplyEnterpriseTemplateRequest.js +13 -6
- package/dist/esm/models/ArchiveAllResponse.d.ts +1 -1
- package/dist/esm/models/ArchiveAllResponse.js +13 -6
- package/dist/esm/models/ArchiveAllStripeConfig200Response.d.ts +1 -1
- package/dist/esm/models/ArchiveAllStripeConfig200Response.js +16 -9
- package/dist/esm/models/BadRequest.d.ts +1 -1
- package/dist/esm/models/BadRequest.js +13 -6
- package/dist/esm/models/BadRequestResponse.d.ts +1 -1
- package/dist/esm/models/BadRequestResponse.js +13 -6
- package/dist/esm/models/BillingInterval.d.ts +1 -1
- package/dist/esm/models/BillingInterval.js +18 -10
- package/dist/esm/models/BillingStatusResponse.d.ts +1 -1
- package/dist/esm/models/BillingStatusResponse.js +13 -6
- package/dist/esm/models/CalculatePriceCost200Response.d.ts +1 -1
- package/dist/esm/models/CalculatePriceCost200Response.js +16 -9
- package/dist/esm/models/CalculatePriceCostRequest.d.ts +1 -1
- package/dist/esm/models/CalculatePriceCostRequest.js +13 -6
- package/dist/esm/models/CalculatePriceCostResponse.d.ts +1 -1
- package/dist/esm/models/CalculatePriceCostResponse.js +16 -8
- package/dist/esm/models/CheckPermission200Response.d.ts +1 -1
- package/dist/esm/models/CheckPermission200Response.js +16 -9
- package/dist/esm/models/CheckPermissionRequest.d.ts +1 -1
- package/dist/esm/models/CheckPermissionRequest.js +16 -9
- package/dist/esm/models/CheckPermissionResponse.d.ts +1 -1
- package/dist/esm/models/CheckPermissionResponse.js +13 -6
- package/dist/esm/models/ConfigHistoryItem.d.ts +1 -1
- package/dist/esm/models/ConfigHistoryItem.js +16 -9
- package/dist/esm/models/ConfigHistoryPagination.d.ts +1 -1
- package/dist/esm/models/ConfigHistoryPagination.js +13 -6
- package/dist/esm/models/ConfigHistoryResponse.d.ts +1 -1
- package/dist/esm/models/ConfigHistoryResponse.js +19 -12
- package/dist/esm/models/ConflictResponse.d.ts +1 -1
- package/dist/esm/models/ConflictResponse.js +13 -6
- package/dist/esm/models/ConflictResponse2.d.ts +38 -0
- package/dist/esm/models/ConflictResponse2.js +54 -0
- package/dist/esm/models/ConvertStripeIDToConfigID200Response.d.ts +1 -1
- package/dist/esm/models/ConvertStripeIDToConfigID200Response.js +16 -9
- package/dist/esm/models/Coupon.d.ts +1 -1
- package/dist/esm/models/Coupon.js +16 -9
- package/dist/esm/models/CouponChange.d.ts +1 -1
- package/dist/esm/models/CouponChange.js +15 -7
- package/dist/esm/models/CouponChanges.d.ts +1 -1
- package/dist/esm/models/CouponChanges.js +20 -13
- package/dist/esm/models/CouponDuration.d.ts +1 -1
- package/dist/esm/models/CouponDuration.js +18 -10
- package/dist/esm/models/CouponWithStripeID.d.ts +1 -1
- package/dist/esm/models/CouponWithStripeID.js +16 -9
- package/dist/esm/models/CreateCheckout200Response.d.ts +1 -1
- package/dist/esm/models/CreateCheckout200Response.js +16 -9
- package/dist/esm/models/CreateCheckoutRequest.d.ts +1 -1
- package/dist/esm/models/CreateCheckoutRequest.js +13 -6
- package/dist/esm/models/CreateCheckoutResponse.d.ts +1 -1
- package/dist/esm/models/CreateCheckoutResponse.js +13 -6
- package/dist/esm/models/CreateCustomerPortal200Response.d.ts +1 -1
- package/dist/esm/models/CreateCustomerPortal200Response.js +16 -9
- package/dist/esm/models/CreateEmailTemplateRequest.d.ts +1 -1
- package/dist/esm/models/CreateEmailTemplateRequest.js +13 -6
- package/dist/esm/models/CreateInvite200Response.d.ts +1 -1
- package/dist/esm/models/CreateInvite200Response.js +16 -9
- package/dist/esm/models/CreateInvoice200Response.d.ts +1 -1
- package/dist/esm/models/CreateInvoice200Response.js +16 -9
- package/dist/esm/models/CreateInvoiceRequest.d.ts +1 -1
- package/dist/esm/models/CreateInvoiceRequest.js +16 -9
- package/dist/esm/models/CreateOrUpdateEmailTemplate200Response.d.ts +1 -1
- package/dist/esm/models/CreateOrUpdateEmailTemplate200Response.js +16 -9
- package/dist/esm/models/CreateOrUpdateEmailTemplate200ResponseAllOfData.d.ts +1 -1
- package/dist/esm/models/CreateOrUpdateEmailTemplate200ResponseAllOfData.js +16 -9
- package/dist/esm/models/CreatePortalRequest.d.ts +1 -1
- package/dist/esm/models/CreatePortalRequest.js +13 -6
- package/dist/esm/models/CreatePortalResponse.d.ts +1 -1
- package/dist/esm/models/CreatePortalResponse.js +13 -6
- package/dist/esm/models/CreateRelationship200Response.d.ts +1 -1
- package/dist/esm/models/CreateRelationship200Response.js +16 -9
- package/dist/esm/models/CreateRelationshipRequest.d.ts +1 -1
- package/dist/esm/models/CreateRelationshipRequest.js +16 -9
- package/dist/esm/models/CreateRelationshipResponse.d.ts +1 -1
- package/dist/esm/models/CreateRelationshipResponse.js +16 -9
- package/dist/esm/models/CreateRole200Response.d.ts +1 -1
- package/dist/esm/models/CreateRole200Response.js +16 -9
- package/dist/esm/models/CreateRoleRequest.d.ts +1 -1
- package/dist/esm/models/CreateRoleRequest.js +13 -6
- package/dist/esm/models/CreateTenant200Response.d.ts +1 -1
- package/dist/esm/models/CreateTenant200Response.js +16 -9
- package/dist/esm/models/CreateTenantRequest.d.ts +1 -1
- package/dist/esm/models/CreateTenantRequest.js +15 -7
- package/dist/esm/models/CreateTenantResponse.d.ts +1 -1
- package/dist/esm/models/CreateTenantResponse.js +16 -9
- package/dist/esm/models/CreateTenantUserInviteRequest.d.ts +1 -1
- package/dist/esm/models/CreateTenantUserInviteRequest.js +13 -6
- package/dist/esm/models/CreateTenantUserInviteResponse.d.ts +1 -1
- package/dist/esm/models/CreateTenantUserInviteResponse.js +16 -9
- package/dist/esm/models/CreateUser200Response.d.ts +1 -1
- package/dist/esm/models/CreateUser200Response.js +16 -9
- package/dist/esm/models/CreateUserRequest.d.ts +1 -1
- package/dist/esm/models/CreateUserRequest.js +16 -9
- package/dist/esm/models/CreateUserRequestName.d.ts +1 -1
- package/dist/esm/models/CreateUserRequestName.js +13 -6
- package/dist/esm/models/CurrencyCode.d.ts +1 -1
- package/dist/esm/models/CurrencyCode.js +18 -10
- package/dist/esm/models/DeleteEmailTemplate200Response.d.ts +1 -1
- package/dist/esm/models/DeleteEmailTemplate200Response.js +16 -9
- package/dist/esm/models/DeleteEmailTemplate200ResponseAllOfData.d.ts +1 -1
- package/dist/esm/models/DeleteEmailTemplate200ResponseAllOfData.js +13 -6
- package/dist/esm/models/DeleteObject200Response.d.ts +1 -1
- package/dist/esm/models/DeleteObject200Response.js +16 -9
- package/dist/esm/models/DeleteObjectRequest.d.ts +1 -1
- package/dist/esm/models/DeleteObjectRequest.js +13 -6
- package/dist/esm/models/DeleteRelationship200Response.d.ts +1 -1
- package/dist/esm/models/DeleteRelationship200Response.js +16 -9
- package/dist/esm/models/DeleteRelationshipRequest.d.ts +1 -1
- package/dist/esm/models/DeleteRelationshipRequest.js +16 -9
- package/dist/esm/models/DeleteRelationshipResponse.d.ts +1 -1
- package/dist/esm/models/DeleteRelationshipResponse.js +13 -6
- package/dist/esm/models/DeleteRole200Response.d.ts +1 -1
- package/dist/esm/models/DeleteRole200Response.js +16 -9
- package/dist/esm/models/DeleteRoleResponse.d.ts +1 -1
- package/dist/esm/models/DeleteRoleResponse.js +13 -6
- package/dist/esm/models/DeleteTenant200Response.d.ts +1 -1
- package/dist/esm/models/DeleteTenant200Response.js +16 -9
- package/dist/esm/models/DeleteTenantResponse.d.ts +1 -1
- package/dist/esm/models/DeleteTenantResponse.js +13 -6
- package/dist/esm/models/DeleteTenantUserRequest.d.ts +1 -1
- package/dist/esm/models/DeleteTenantUserRequest.js +13 -6
- package/dist/esm/models/DeployPermissionNamespaces200Response.d.ts +1 -1
- package/dist/esm/models/DeployPermissionNamespaces200Response.js +16 -9
- package/dist/esm/models/DownloadFile200Response.d.ts +1 -1
- package/dist/esm/models/DownloadFile200Response.js +16 -9
- package/dist/esm/models/DownloadRequest.d.ts +1 -1
- package/dist/esm/models/DownloadRequest.js +13 -6
- package/dist/esm/models/DownloadResponse.d.ts +1 -1
- package/dist/esm/models/DownloadResponse.js +13 -6
- package/dist/esm/models/EmailTemplate.d.ts +1 -1
- package/dist/esm/models/EmailTemplate.js +13 -6
- package/dist/esm/models/EnterpriseApplyResponse.d.ts +1 -1
- package/dist/esm/models/EnterpriseApplyResponse.js +13 -6
- package/dist/esm/models/EnterprisePricesResponse.d.ts +1 -1
- package/dist/esm/models/EnterprisePricesResponse.js +16 -9
- package/dist/esm/models/ErrorResponse.d.ts +1 -1
- package/dist/esm/models/ErrorResponse.js +13 -6
- package/dist/esm/models/FinalizeInvoiceRequest.d.ts +1 -1
- package/dist/esm/models/FinalizeInvoiceRequest.js +13 -6
- package/dist/esm/models/ForbiddenResponse.d.ts +1 -1
- package/dist/esm/models/ForbiddenResponse.js +13 -6
- package/dist/esm/models/GetActiveTenant200Response.d.ts +1 -1
- package/dist/esm/models/GetActiveTenant200Response.js +16 -9
- package/dist/esm/models/GetEmailTemplates200Response.d.ts +1 -1
- package/dist/esm/models/GetEmailTemplates200Response.js +16 -9
- package/dist/esm/models/GetEmailTemplates200ResponseAllOfData.d.ts +1 -1
- package/dist/esm/models/GetEmailTemplates200ResponseAllOfData.js +16 -9
- package/dist/esm/models/GetEnterprisePricesByTemplate200Response.d.ts +1 -1
- package/dist/esm/models/GetEnterprisePricesByTemplate200Response.js +16 -9
- package/dist/esm/models/GetIdentity200Response.d.ts +1 -1
- package/dist/esm/models/GetIdentity200Response.js +13 -6
- package/dist/esm/models/GetMeterByID200Response.d.ts +1 -1
- package/dist/esm/models/GetMeterByID200Response.js +16 -9
- package/dist/esm/models/GetPriceByID200Response.d.ts +1 -1
- package/dist/esm/models/GetPriceByID200Response.js +16 -9
- package/dist/esm/models/GetProductByID200Response.d.ts +1 -1
- package/dist/esm/models/GetProductByID200Response.js +16 -9
- package/dist/esm/models/GetRoleDefinitions200Response.d.ts +1 -1
- package/dist/esm/models/GetRoleDefinitions200Response.js +16 -9
- package/dist/esm/models/GetSession200Response.d.ts +1 -1
- package/dist/esm/models/GetSession200Response.js +16 -9
- package/dist/esm/models/GetStripeConfig200Response.d.ts +1 -1
- package/dist/esm/models/GetStripeConfig200Response.js +16 -9
- package/dist/esm/models/GetStripeConfigHistory200Response.d.ts +1 -1
- package/dist/esm/models/GetStripeConfigHistory200Response.js +16 -9
- package/dist/esm/models/GetTenantBillingStatus200Response.d.ts +1 -1
- package/dist/esm/models/GetTenantBillingStatus200Response.js +16 -9
- package/dist/esm/models/GetTenantByID200Response.d.ts +1 -1
- package/dist/esm/models/GetTenantByID200Response.js +16 -9
- package/dist/esm/models/GetTenantByIDResponse.d.ts +1 -1
- package/dist/esm/models/GetTenantByIDResponse.js +16 -9
- package/dist/esm/models/GetTenantByStripeCustomerID200Response.d.ts +1 -1
- package/dist/esm/models/GetTenantByStripeCustomerID200Response.js +16 -9
- package/dist/esm/models/GetTenantByStripeCustomerIDResponse.d.ts +1 -1
- package/dist/esm/models/GetTenantByStripeCustomerIDResponse.js +16 -9
- package/dist/esm/models/GetTenantJWT200Response.d.ts +1 -1
- package/dist/esm/models/GetTenantJWT200Response.js +16 -9
- package/dist/esm/models/GetTenantSubscription200Response.d.ts +1 -1
- package/dist/esm/models/GetTenantSubscription200Response.js +16 -9
- package/dist/esm/models/InternalServerError.d.ts +1 -1
- package/dist/esm/models/InternalServerError.js +13 -6
- package/dist/esm/models/InternalServerErrorResponse.d.ts +1 -1
- package/dist/esm/models/InternalServerErrorResponse.js +13 -6
- package/dist/esm/models/InvoiceLineItemResponse.d.ts +1 -1
- package/dist/esm/models/InvoiceLineItemResponse.js +13 -6
- package/dist/esm/models/InvoiceResponse.d.ts +1 -1
- package/dist/esm/models/InvoiceResponse.js +13 -6
- package/dist/esm/models/JWTTokenResponse.d.ts +1 -1
- package/dist/esm/models/JWTTokenResponse.js +13 -6
- package/dist/esm/models/KratosIdentity.d.ts +1 -1
- package/dist/esm/models/KratosIdentity.js +27 -19
- package/dist/esm/models/KratosIdentityCredentials.d.ts +1 -1
- package/dist/esm/models/KratosIdentityCredentials.js +16 -9
- package/dist/esm/models/KratosIdentityCredentialsPassword.d.ts +1 -1
- package/dist/esm/models/KratosIdentityCredentialsPassword.js +13 -6
- package/dist/esm/models/KratosIdentityRecoveryAddressesInner.d.ts +1 -1
- package/dist/esm/models/KratosIdentityRecoveryAddressesInner.js +13 -6
- package/dist/esm/models/KratosIdentityTraits.d.ts +1 -1
- package/dist/esm/models/KratosIdentityTraits.js +16 -9
- package/dist/esm/models/KratosIdentityTraitsName.d.ts +1 -1
- package/dist/esm/models/KratosIdentityTraitsName.js +13 -6
- package/dist/esm/models/KratosIdentityVerifiableAddressesInner.d.ts +1 -1
- package/dist/esm/models/KratosIdentityVerifiableAddressesInner.js +13 -6
- package/dist/esm/models/ListRoles200Response.d.ts +1 -1
- package/dist/esm/models/ListRoles200Response.js +16 -9
- package/dist/esm/models/ListTenantSubscriptions200Response.d.ts +1 -1
- package/dist/esm/models/ListTenantSubscriptions200Response.js +16 -9
- package/dist/esm/models/ListTenantUsers200Response.d.ts +1 -1
- package/dist/esm/models/ListTenantUsers200Response.js +16 -9
- package/dist/esm/models/ListTenants200Response.d.ts +1 -1
- package/dist/esm/models/ListTenants200Response.js +16 -9
- package/dist/esm/models/ListTenantsResponse.d.ts +1 -1
- package/dist/esm/models/ListTenantsResponse.js +16 -9
- package/dist/esm/models/ListWebhooks200Response.d.ts +1 -1
- package/dist/esm/models/ListWebhooks200Response.js +16 -9
- package/dist/esm/models/ListWebhooksResponse.d.ts +1 -1
- package/dist/esm/models/ListWebhooksResponse.js +16 -9
- package/dist/esm/models/Logout200Response.d.ts +1 -1
- package/dist/esm/models/Logout200Response.js +16 -9
- package/dist/esm/models/LogoutResponse.d.ts +1 -1
- package/dist/esm/models/LogoutResponse.js +13 -6
- package/dist/esm/models/MakePublicRequest.d.ts +32 -0
- package/dist/esm/models/MakePublicRequest.js +50 -0
- package/dist/esm/models/MessageResponse.d.ts +1 -1
- package/dist/esm/models/MessageResponse.js +13 -6
- package/dist/esm/models/Meter.d.ts +1 -1
- package/dist/esm/models/Meter.js +22 -15
- package/dist/esm/models/MeterChange.d.ts +1 -1
- package/dist/esm/models/MeterChange.js +15 -7
- package/dist/esm/models/MeterChanges.d.ts +1 -1
- package/dist/esm/models/MeterChanges.js +20 -13
- package/dist/esm/models/MeterCustomerMapping.d.ts +1 -1
- package/dist/esm/models/MeterCustomerMapping.js +15 -7
- package/dist/esm/models/MeterDefaultAggregation.d.ts +1 -1
- package/dist/esm/models/MeterDefaultAggregation.js +15 -7
- package/dist/esm/models/MeterResponse.d.ts +1 -1
- package/dist/esm/models/MeterResponse.js +16 -9
- package/dist/esm/models/MeterValueSettings.d.ts +1 -1
- package/dist/esm/models/MeterValueSettings.js +13 -6
- package/dist/esm/models/MeterWithStripeID.d.ts +1 -1
- package/dist/esm/models/MeterWithStripeID.js +22 -15
- package/dist/esm/models/MigrationErrorResponse.d.ts +1 -1
- package/dist/esm/models/MigrationErrorResponse.js +13 -6
- package/dist/esm/models/MigrationSuccessResponse.d.ts +1 -1
- package/dist/esm/models/MigrationSuccessResponse.js +13 -6
- package/dist/esm/models/NamespaceDefinition.d.ts +1 -1
- package/dist/esm/models/NamespaceDefinition.js +16 -9
- package/dist/esm/models/NamespaceDefinitionsResponse.d.ts +1 -1
- package/dist/esm/models/NamespaceDefinitionsResponse.js +16 -9
- package/dist/esm/models/NamespaceDeploymentResponse.d.ts +1 -1
- package/dist/esm/models/NamespaceDeploymentResponse.js +13 -6
- package/dist/esm/models/NotFound.d.ts +1 -1
- package/dist/esm/models/NotFound.js +13 -6
- package/dist/esm/models/NotFoundResponse.d.ts +1 -1
- package/dist/esm/models/NotFoundResponse.js +13 -6
- package/dist/esm/models/PerUnitBillingScheme.d.ts +1 -1
- package/dist/esm/models/PerUnitBillingScheme.js +18 -10
- package/dist/esm/models/PerUnitPrice.d.ts +1 -1
- package/dist/esm/models/PerUnitPrice.js +28 -21
- package/dist/esm/models/Price.d.ts +1 -1
- package/dist/esm/models/Price.js +21 -15
- package/dist/esm/models/PriceChange.d.ts +1 -1
- package/dist/esm/models/PriceChange.js +15 -7
- package/dist/esm/models/PriceChanges.d.ts +1 -1
- package/dist/esm/models/PriceChanges.js +20 -13
- package/dist/esm/models/PriceDisplay.d.ts +1 -1
- package/dist/esm/models/PriceDisplay.js +13 -6
- package/dist/esm/models/PriceLimit.d.ts +1 -1
- package/dist/esm/models/PriceLimit.js +13 -6
- package/dist/esm/models/PriceResponse.d.ts +1 -1
- package/dist/esm/models/PriceResponse.js +19 -12
- package/dist/esm/models/PriceUI.d.ts +1 -1
- package/dist/esm/models/PriceUI.js +19 -12
- package/dist/esm/models/PriceWithStripeID.d.ts +1 -1
- package/dist/esm/models/PriceWithStripeID.js +28 -21
- package/dist/esm/models/Product.d.ts +1 -1
- package/dist/esm/models/Product.js +21 -13
- package/dist/esm/models/ProductChange.d.ts +1 -1
- package/dist/esm/models/ProductChange.js +15 -7
- package/dist/esm/models/ProductChanges.d.ts +1 -1
- package/dist/esm/models/ProductChanges.js +20 -13
- package/dist/esm/models/ProductResponse.d.ts +1 -1
- package/dist/esm/models/ProductResponse.js +16 -9
- package/dist/esm/models/ProductUI.d.ts +1 -1
- package/dist/esm/models/ProductUI.js +13 -6
- package/dist/esm/models/ProductWithStripeIDs.d.ts +1 -1
- package/dist/esm/models/ProductWithStripeIDs.js +21 -13
- package/dist/esm/models/PromotionCode.d.ts +1 -1
- package/dist/esm/models/PromotionCode.js +13 -6
- package/dist/esm/models/PromotionCodeChange.d.ts +1 -1
- package/dist/esm/models/PromotionCodeChange.js +15 -7
- package/dist/esm/models/PromotionCodeChanges.d.ts +1 -1
- package/dist/esm/models/PromotionCodeChanges.js +20 -13
- package/dist/esm/models/PromotionCodeWithStripeID.d.ts +1 -1
- package/dist/esm/models/PromotionCodeWithStripeID.js +13 -6
- package/dist/esm/models/PullStripeConfig200Response.d.ts +1 -1
- package/dist/esm/models/PullStripeConfig200Response.js +16 -9
- package/dist/esm/models/RecordUsageRequest.d.ts +1 -1
- package/dist/esm/models/RecordUsageRequest.js +13 -6
- package/dist/esm/models/RelationMetadata.d.ts +1 -1
- package/dist/esm/models/RelationMetadata.js +13 -6
- package/dist/esm/models/Relationship.d.ts +1 -1
- package/dist/esm/models/Relationship.js +16 -9
- package/dist/esm/models/RemoveSubscription200Response.d.ts +1 -1
- package/dist/esm/models/RemoveSubscription200Response.js +16 -9
- package/dist/esm/models/RemoveSubscriptionRequest.d.ts +1 -1
- package/dist/esm/models/RemoveSubscriptionRequest.js +13 -6
- package/dist/esm/models/RemoveSubscriptionResponse.d.ts +1 -1
- package/dist/esm/models/RemoveSubscriptionResponse.js +13 -6
- package/dist/esm/models/Role.d.ts +1 -1
- package/dist/esm/models/Role.js +13 -6
- package/dist/esm/models/RolesListResponse.d.ts +1 -1
- package/dist/esm/models/RolesListResponse.js +16 -9
- package/dist/esm/models/SchemasConflictResponse.d.ts +1 -1
- package/dist/esm/models/SchemasConflictResponse.js +13 -6
- package/dist/esm/models/SessionResponse.d.ts +1 -1
- package/dist/esm/models/SessionResponse.js +16 -9
- package/dist/esm/models/StripeConfigChanges.d.ts +1 -1
- package/dist/esm/models/StripeConfigChanges.js +31 -24
- package/dist/esm/models/StripeConfigResponse.d.ts +1 -1
- package/dist/esm/models/StripeConfigResponse.js +16 -9
- package/dist/esm/models/StripeConfigUpdateRequest.d.ts +1 -1
- package/dist/esm/models/StripeConfigUpdateRequest.js +28 -21
- package/dist/esm/models/StripeConfigUpdateResponse.d.ts +1 -1
- package/dist/esm/models/StripeConfigUpdateResponse.js +19 -12
- package/dist/esm/models/StripeConfigValidateRequest.d.ts +1 -1
- package/dist/esm/models/StripeConfigValidateRequest.js +28 -21
- package/dist/esm/models/StripeConfiguration.d.ts +1 -1
- package/dist/esm/models/StripeConfiguration.js +28 -21
- package/dist/esm/models/StripeConfigurationWithIDs.d.ts +1 -1
- package/dist/esm/models/StripeConfigurationWithIDs.js +28 -21
- package/dist/esm/models/StripeIDConversionResponse.d.ts +1 -1
- package/dist/esm/models/StripeIDConversionResponse.js +15 -7
- package/dist/esm/models/SubjectSet.d.ts +1 -1
- package/dist/esm/models/SubjectSet.js +13 -6
- package/dist/esm/models/SubjectSetRequest.d.ts +1 -1
- package/dist/esm/models/SubjectSetRequest.js +13 -6
- package/dist/esm/models/SubscriptionResponse.d.ts +1 -1
- package/dist/esm/models/SubscriptionResponse.js +13 -6
- package/dist/esm/models/SuccessResponse.d.ts +1 -1
- package/dist/esm/models/SuccessResponse.js +16 -9
- package/dist/esm/models/SuccessResponseData.d.ts +1 -1
- package/dist/esm/models/SuccessResponseData.js +11 -5
- package/dist/esm/models/SwitchActiveTenant200Response.d.ts +1 -1
- package/dist/esm/models/SwitchActiveTenant200Response.js +16 -9
- package/dist/esm/models/SwitchTenantRequest.d.ts +1 -1
- package/dist/esm/models/SwitchTenantRequest.js +13 -6
- package/dist/esm/models/SwitchTenantResponse.d.ts +1 -1
- package/dist/esm/models/SwitchTenantResponse.js +13 -6
- package/dist/esm/models/Tenant.d.ts +1 -1
- package/dist/esm/models/Tenant.js +18 -10
- package/dist/esm/models/TenantInvite.d.ts +1 -1
- package/dist/esm/models/TenantInvite.js +16 -9
- package/dist/esm/models/TenantSettings.d.ts +1 -1
- package/dist/esm/models/TenantSettings.js +13 -6
- package/dist/esm/models/TenantUserResponse.d.ts +1 -1
- package/dist/esm/models/TenantUserResponse.js +13 -6
- package/dist/esm/models/Tier.d.ts +1 -1
- package/dist/esm/models/Tier.js +16 -9
- package/dist/esm/models/TierUpTo.d.ts +1 -1
- package/dist/esm/models/TierUpTo.js +11 -5
- package/dist/esm/models/TieredBillingScheme.d.ts +1 -1
- package/dist/esm/models/TieredBillingScheme.js +18 -10
- package/dist/esm/models/TieredPrice.d.ts +1 -1
- package/dist/esm/models/TieredPrice.js +34 -27
- package/dist/esm/models/TiersMode.d.ts +1 -1
- package/dist/esm/models/TiersMode.js +18 -10
- package/dist/esm/models/TooManyRequestsResponse.d.ts +1 -1
- package/dist/esm/models/TooManyRequestsResponse.js +13 -6
- package/dist/esm/models/Unauthorized.d.ts +1 -1
- package/dist/esm/models/Unauthorized.js +13 -6
- package/dist/esm/models/UnauthorizedResponse.d.ts +1 -1
- package/dist/esm/models/UnauthorizedResponse.js +13 -6
- package/dist/esm/models/UpdateInvoiceRequest.d.ts +1 -1
- package/dist/esm/models/UpdateInvoiceRequest.js +13 -6
- package/dist/esm/models/UpdateRoleRequest.d.ts +1 -1
- package/dist/esm/models/UpdateRoleRequest.js +13 -6
- package/dist/esm/models/UpdateStripeConfig200Response.d.ts +1 -1
- package/dist/esm/models/UpdateStripeConfig200Response.js +16 -9
- package/dist/esm/models/UpdateTenantUserRole200Response.d.ts +1 -1
- package/dist/esm/models/UpdateTenantUserRole200Response.js +16 -9
- package/dist/esm/models/UpdateTenantUserRoleRequest.d.ts +1 -1
- package/dist/esm/models/UpdateTenantUserRoleRequest.js +13 -6
- package/dist/esm/models/UpdateTenantUserRoleResponse.d.ts +1 -1
- package/dist/esm/models/UpdateTenantUserRoleResponse.js +13 -6
- package/dist/esm/models/UploadFile200Response.d.ts +1 -1
- package/dist/esm/models/UploadFile200Response.js +16 -9
- package/dist/esm/models/UploadRequest.d.ts +1 -1
- package/dist/esm/models/UploadRequest.js +13 -6
- package/dist/esm/models/UploadResponse.d.ts +7 -1
- package/dist/esm/models/UploadResponse.js +17 -6
- package/dist/esm/models/UsageType.d.ts +1 -1
- package/dist/esm/models/UsageType.js +18 -10
- package/dist/esm/models/UserTenantListItem.d.ts +1 -1
- package/dist/esm/models/UserTenantListItem.js +16 -9
- package/dist/esm/models/WebhookChange.d.ts +1 -1
- package/dist/esm/models/WebhookChange.js +15 -7
- package/dist/esm/models/WebhookChanges.d.ts +1 -1
- package/dist/esm/models/WebhookChanges.js +20 -13
- package/dist/esm/models/WebhookEndpointConfig.d.ts +1 -1
- package/dist/esm/models/WebhookEndpointConfig.js +15 -7
- package/dist/esm/models/WebhookSecretResponse.d.ts +1 -1
- package/dist/esm/models/WebhookSecretResponse.js +13 -6
- package/dist/esm/models/WhoAmI200Response.d.ts +1 -1
- package/dist/esm/models/WhoAmI200Response.js +16 -9
- package/dist/esm/models/WhoAmIResponse.d.ts +1 -1
- package/dist/esm/models/WhoAmIResponse.js +13 -6
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +234 -217
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +35 -19
- package/dist/models/AcceptInvite200Response.d.ts +1 -1
- package/dist/models/AcceptInvite200Response.js +1 -1
- package/dist/models/AcceptInviteRequest.d.ts +1 -1
- package/dist/models/AcceptInviteRequest.js +1 -1
- package/dist/models/AcceptInviteResponse.d.ts +1 -1
- package/dist/models/AcceptInviteResponse.js +1 -1
- package/dist/models/ActiveTenantResponse.d.ts +1 -1
- package/dist/models/ActiveTenantResponse.js +1 -1
- package/dist/models/AddInvoiceLineItem200Response.d.ts +1 -1
- package/dist/models/AddInvoiceLineItem200Response.js +1 -1
- package/dist/models/AddInvoiceLineItemRequest.d.ts +1 -1
- package/dist/models/AddInvoiceLineItemRequest.js +1 -1
- package/dist/models/AddInvoiceLineItemWithConfigPriceRequest.d.ts +1 -1
- package/dist/models/AddInvoiceLineItemWithConfigPriceRequest.js +1 -1
- package/dist/models/AddInvoiceLineItemWithPriceIDRequest.d.ts +1 -1
- package/dist/models/AddInvoiceLineItemWithPriceIDRequest.js +1 -1
- package/dist/models/AddInvoiceLineItemWithStripePriceRequest.d.ts +1 -1
- package/dist/models/AddInvoiceLineItemWithStripePriceRequest.js +1 -1
- package/dist/models/AddSubscription200Response.d.ts +1 -1
- package/dist/models/AddSubscription200Response.js +1 -1
- package/dist/models/AddSubscriptionRequest.d.ts +1 -1
- package/dist/models/AddSubscriptionRequest.js +1 -1
- package/dist/models/AddSubscriptionResponse.d.ts +1 -1
- package/dist/models/AddSubscriptionResponse.js +1 -1
- package/dist/models/ApplyEnterpriseCustomRequest.d.ts +1 -1
- package/dist/models/ApplyEnterpriseCustomRequest.js +1 -1
- package/dist/models/ApplyEnterpriseTemplate200Response.d.ts +1 -1
- package/dist/models/ApplyEnterpriseTemplate200Response.js +1 -1
- package/dist/models/ApplyEnterpriseTemplateRequest.d.ts +1 -1
- package/dist/models/ApplyEnterpriseTemplateRequest.js +1 -1
- package/dist/models/ArchiveAllResponse.d.ts +1 -1
- package/dist/models/ArchiveAllResponse.js +1 -1
- package/dist/models/ArchiveAllStripeConfig200Response.d.ts +1 -1
- package/dist/models/ArchiveAllStripeConfig200Response.js +1 -1
- package/dist/models/BadRequest.d.ts +1 -1
- package/dist/models/BadRequest.js +1 -1
- package/dist/models/BadRequestResponse.d.ts +1 -1
- package/dist/models/BadRequestResponse.js +1 -1
- package/dist/models/BillingInterval.d.ts +1 -1
- package/dist/models/BillingInterval.js +1 -1
- package/dist/models/BillingStatusResponse.d.ts +1 -1
- package/dist/models/BillingStatusResponse.js +1 -1
- package/dist/models/CalculatePriceCost200Response.d.ts +1 -1
- package/dist/models/CalculatePriceCost200Response.js +1 -1
- package/dist/models/CalculatePriceCostRequest.d.ts +1 -1
- package/dist/models/CalculatePriceCostRequest.js +1 -1
- package/dist/models/CalculatePriceCostResponse.d.ts +1 -1
- package/dist/models/CalculatePriceCostResponse.js +1 -1
- package/dist/models/CheckPermission200Response.d.ts +1 -1
- package/dist/models/CheckPermission200Response.js +1 -1
- package/dist/models/CheckPermissionRequest.d.ts +1 -1
- package/dist/models/CheckPermissionRequest.js +1 -1
- package/dist/models/CheckPermissionResponse.d.ts +1 -1
- package/dist/models/CheckPermissionResponse.js +1 -1
- package/dist/models/ConfigHistoryItem.d.ts +1 -1
- package/dist/models/ConfigHistoryItem.js +1 -1
- package/dist/models/ConfigHistoryPagination.d.ts +1 -1
- package/dist/models/ConfigHistoryPagination.js +1 -1
- package/dist/models/ConfigHistoryResponse.d.ts +1 -1
- package/dist/models/ConfigHistoryResponse.js +1 -1
- package/dist/models/ConflictResponse.d.ts +1 -1
- package/dist/models/ConflictResponse.js +1 -1
- package/dist/models/ConflictResponse2.d.ts +38 -0
- package/dist/models/ConflictResponse2.js +54 -0
- package/dist/models/ConvertStripeIDToConfigID200Response.d.ts +1 -1
- package/dist/models/ConvertStripeIDToConfigID200Response.js +1 -1
- package/dist/models/Coupon.d.ts +1 -1
- package/dist/models/Coupon.js +1 -1
- package/dist/models/CouponChange.d.ts +1 -1
- package/dist/models/CouponChange.js +1 -1
- package/dist/models/CouponChanges.d.ts +1 -1
- package/dist/models/CouponChanges.js +1 -1
- package/dist/models/CouponDuration.d.ts +1 -1
- package/dist/models/CouponDuration.js +1 -1
- package/dist/models/CouponWithStripeID.d.ts +1 -1
- package/dist/models/CouponWithStripeID.js +1 -1
- package/dist/models/CreateCheckout200Response.d.ts +1 -1
- package/dist/models/CreateCheckout200Response.js +1 -1
- package/dist/models/CreateCheckoutRequest.d.ts +1 -1
- package/dist/models/CreateCheckoutRequest.js +1 -1
- package/dist/models/CreateCheckoutResponse.d.ts +1 -1
- package/dist/models/CreateCheckoutResponse.js +1 -1
- package/dist/models/CreateCustomerPortal200Response.d.ts +1 -1
- package/dist/models/CreateCustomerPortal200Response.js +1 -1
- package/dist/models/CreateEmailTemplateRequest.d.ts +1 -1
- package/dist/models/CreateEmailTemplateRequest.js +1 -1
- package/dist/models/CreateInvite200Response.d.ts +1 -1
- package/dist/models/CreateInvite200Response.js +1 -1
- package/dist/models/CreateInvoice200Response.d.ts +1 -1
- package/dist/models/CreateInvoice200Response.js +1 -1
- package/dist/models/CreateInvoiceRequest.d.ts +1 -1
- package/dist/models/CreateInvoiceRequest.js +1 -1
- package/dist/models/CreateOrUpdateEmailTemplate200Response.d.ts +1 -1
- package/dist/models/CreateOrUpdateEmailTemplate200Response.js +1 -1
- package/dist/models/CreateOrUpdateEmailTemplate200ResponseAllOfData.d.ts +1 -1
- package/dist/models/CreateOrUpdateEmailTemplate200ResponseAllOfData.js +1 -1
- package/dist/models/CreatePortalRequest.d.ts +1 -1
- package/dist/models/CreatePortalRequest.js +1 -1
- package/dist/models/CreatePortalResponse.d.ts +1 -1
- package/dist/models/CreatePortalResponse.js +1 -1
- package/dist/models/CreateRelationship200Response.d.ts +1 -1
- package/dist/models/CreateRelationship200Response.js +1 -1
- package/dist/models/CreateRelationshipRequest.d.ts +1 -1
- package/dist/models/CreateRelationshipRequest.js +1 -1
- package/dist/models/CreateRelationshipResponse.d.ts +1 -1
- package/dist/models/CreateRelationshipResponse.js +1 -1
- package/dist/models/CreateRole200Response.d.ts +1 -1
- package/dist/models/CreateRole200Response.js +1 -1
- package/dist/models/CreateRoleRequest.d.ts +1 -1
- package/dist/models/CreateRoleRequest.js +1 -1
- package/dist/models/CreateTenant200Response.d.ts +1 -1
- package/dist/models/CreateTenant200Response.js +1 -1
- package/dist/models/CreateTenantRequest.d.ts +1 -1
- package/dist/models/CreateTenantRequest.js +1 -1
- package/dist/models/CreateTenantResponse.d.ts +1 -1
- package/dist/models/CreateTenantResponse.js +1 -1
- package/dist/models/CreateTenantUserInviteRequest.d.ts +1 -1
- package/dist/models/CreateTenantUserInviteRequest.js +1 -1
- package/dist/models/CreateTenantUserInviteResponse.d.ts +1 -1
- package/dist/models/CreateTenantUserInviteResponse.js +1 -1
- package/dist/models/CreateUser200Response.d.ts +1 -1
- package/dist/models/CreateUser200Response.js +1 -1
- package/dist/models/CreateUserRequest.d.ts +1 -1
- package/dist/models/CreateUserRequest.js +1 -1
- package/dist/models/CreateUserRequestName.d.ts +1 -1
- package/dist/models/CreateUserRequestName.js +1 -1
- package/dist/models/CurrencyCode.d.ts +1 -1
- package/dist/models/CurrencyCode.js +1 -1
- package/dist/models/DeleteEmailTemplate200Response.d.ts +1 -1
- package/dist/models/DeleteEmailTemplate200Response.js +1 -1
- package/dist/models/DeleteEmailTemplate200ResponseAllOfData.d.ts +1 -1
- package/dist/models/DeleteEmailTemplate200ResponseAllOfData.js +1 -1
- package/dist/models/DeleteObject200Response.d.ts +1 -1
- package/dist/models/DeleteObject200Response.js +1 -1
- package/dist/models/DeleteObjectRequest.d.ts +1 -1
- package/dist/models/DeleteObjectRequest.js +1 -1
- package/dist/models/DeleteRelationship200Response.d.ts +1 -1
- package/dist/models/DeleteRelationship200Response.js +1 -1
- package/dist/models/DeleteRelationshipRequest.d.ts +1 -1
- package/dist/models/DeleteRelationshipRequest.js +1 -1
- package/dist/models/DeleteRelationshipResponse.d.ts +1 -1
- package/dist/models/DeleteRelationshipResponse.js +1 -1
- package/dist/models/DeleteRole200Response.d.ts +1 -1
- package/dist/models/DeleteRole200Response.js +1 -1
- package/dist/models/DeleteRoleResponse.d.ts +1 -1
- package/dist/models/DeleteRoleResponse.js +1 -1
- package/dist/models/DeleteTenant200Response.d.ts +1 -1
- package/dist/models/DeleteTenant200Response.js +1 -1
- package/dist/models/DeleteTenantResponse.d.ts +1 -1
- package/dist/models/DeleteTenantResponse.js +1 -1
- package/dist/models/DeleteTenantUserRequest.d.ts +1 -1
- package/dist/models/DeleteTenantUserRequest.js +1 -1
- package/dist/models/DeployPermissionNamespaces200Response.d.ts +1 -1
- package/dist/models/DeployPermissionNamespaces200Response.js +1 -1
- package/dist/models/DownloadFile200Response.d.ts +1 -1
- package/dist/models/DownloadFile200Response.js +1 -1
- package/dist/models/DownloadRequest.d.ts +1 -1
- package/dist/models/DownloadRequest.js +1 -1
- package/dist/models/DownloadResponse.d.ts +1 -1
- package/dist/models/DownloadResponse.js +1 -1
- package/dist/models/EmailTemplate.d.ts +1 -1
- package/dist/models/EmailTemplate.js +1 -1
- package/dist/models/EnterpriseApplyResponse.d.ts +1 -1
- package/dist/models/EnterpriseApplyResponse.js +1 -1
- package/dist/models/EnterprisePricesResponse.d.ts +1 -1
- package/dist/models/EnterprisePricesResponse.js +1 -1
- package/dist/models/ErrorResponse.d.ts +1 -1
- package/dist/models/ErrorResponse.js +1 -1
- package/dist/models/FinalizeInvoiceRequest.d.ts +1 -1
- package/dist/models/FinalizeInvoiceRequest.js +1 -1
- package/dist/models/ForbiddenResponse.d.ts +1 -1
- package/dist/models/ForbiddenResponse.js +1 -1
- package/dist/models/GetActiveTenant200Response.d.ts +1 -1
- package/dist/models/GetActiveTenant200Response.js +1 -1
- package/dist/models/GetEmailTemplates200Response.d.ts +1 -1
- package/dist/models/GetEmailTemplates200Response.js +1 -1
- package/dist/models/GetEmailTemplates200ResponseAllOfData.d.ts +1 -1
- package/dist/models/GetEmailTemplates200ResponseAllOfData.js +1 -1
- package/dist/models/GetEnterprisePricesByTemplate200Response.d.ts +1 -1
- package/dist/models/GetEnterprisePricesByTemplate200Response.js +1 -1
- package/dist/models/GetIdentity200Response.d.ts +1 -1
- package/dist/models/GetIdentity200Response.js +1 -1
- package/dist/models/GetMeterByID200Response.d.ts +1 -1
- package/dist/models/GetMeterByID200Response.js +1 -1
- package/dist/models/GetPriceByID200Response.d.ts +1 -1
- package/dist/models/GetPriceByID200Response.js +1 -1
- package/dist/models/GetProductByID200Response.d.ts +1 -1
- package/dist/models/GetProductByID200Response.js +1 -1
- package/dist/models/GetRoleDefinitions200Response.d.ts +1 -1
- package/dist/models/GetRoleDefinitions200Response.js +1 -1
- package/dist/models/GetSession200Response.d.ts +1 -1
- package/dist/models/GetSession200Response.js +1 -1
- package/dist/models/GetStripeConfig200Response.d.ts +1 -1
- package/dist/models/GetStripeConfig200Response.js +1 -1
- package/dist/models/GetStripeConfigHistory200Response.d.ts +1 -1
- package/dist/models/GetStripeConfigHistory200Response.js +1 -1
- package/dist/models/GetTenantBillingStatus200Response.d.ts +1 -1
- package/dist/models/GetTenantBillingStatus200Response.js +1 -1
- package/dist/models/GetTenantByID200Response.d.ts +1 -1
- package/dist/models/GetTenantByID200Response.js +1 -1
- package/dist/models/GetTenantByIDResponse.d.ts +1 -1
- package/dist/models/GetTenantByIDResponse.js +1 -1
- package/dist/models/GetTenantByStripeCustomerID200Response.d.ts +1 -1
- package/dist/models/GetTenantByStripeCustomerID200Response.js +1 -1
- package/dist/models/GetTenantByStripeCustomerIDResponse.d.ts +1 -1
- package/dist/models/GetTenantByStripeCustomerIDResponse.js +1 -1
- package/dist/models/GetTenantJWT200Response.d.ts +1 -1
- package/dist/models/GetTenantJWT200Response.js +1 -1
- package/dist/models/GetTenantSubscription200Response.d.ts +1 -1
- package/dist/models/GetTenantSubscription200Response.js +1 -1
- package/dist/models/InternalServerError.d.ts +1 -1
- package/dist/models/InternalServerError.js +1 -1
- package/dist/models/InternalServerErrorResponse.d.ts +1 -1
- package/dist/models/InternalServerErrorResponse.js +1 -1
- package/dist/models/InvoiceLineItemResponse.d.ts +1 -1
- package/dist/models/InvoiceLineItemResponse.js +1 -1
- package/dist/models/InvoiceResponse.d.ts +1 -1
- package/dist/models/InvoiceResponse.js +1 -1
- package/dist/models/JWTTokenResponse.d.ts +1 -1
- package/dist/models/JWTTokenResponse.js +1 -1
- package/dist/models/KratosIdentity.d.ts +1 -1
- package/dist/models/KratosIdentity.js +1 -1
- package/dist/models/KratosIdentityCredentials.d.ts +1 -1
- package/dist/models/KratosIdentityCredentials.js +1 -1
- package/dist/models/KratosIdentityCredentialsPassword.d.ts +1 -1
- package/dist/models/KratosIdentityCredentialsPassword.js +1 -1
- package/dist/models/KratosIdentityRecoveryAddressesInner.d.ts +1 -1
- package/dist/models/KratosIdentityRecoveryAddressesInner.js +1 -1
- package/dist/models/KratosIdentityTraits.d.ts +1 -1
- package/dist/models/KratosIdentityTraits.js +1 -1
- package/dist/models/KratosIdentityTraitsName.d.ts +1 -1
- package/dist/models/KratosIdentityTraitsName.js +1 -1
- package/dist/models/KratosIdentityVerifiableAddressesInner.d.ts +1 -1
- package/dist/models/KratosIdentityVerifiableAddressesInner.js +1 -1
- package/dist/models/ListRoles200Response.d.ts +1 -1
- package/dist/models/ListRoles200Response.js +1 -1
- package/dist/models/ListTenantSubscriptions200Response.d.ts +1 -1
- package/dist/models/ListTenantSubscriptions200Response.js +1 -1
- package/dist/models/ListTenantUsers200Response.d.ts +1 -1
- package/dist/models/ListTenantUsers200Response.js +1 -1
- package/dist/models/ListTenants200Response.d.ts +1 -1
- package/dist/models/ListTenants200Response.js +1 -1
- package/dist/models/ListTenantsResponse.d.ts +1 -1
- package/dist/models/ListTenantsResponse.js +1 -1
- package/dist/models/ListWebhooks200Response.d.ts +1 -1
- package/dist/models/ListWebhooks200Response.js +1 -1
- package/dist/models/ListWebhooksResponse.d.ts +1 -1
- package/dist/models/ListWebhooksResponse.js +1 -1
- package/dist/models/Logout200Response.d.ts +1 -1
- package/dist/models/Logout200Response.js +1 -1
- package/dist/models/LogoutResponse.d.ts +1 -1
- package/dist/models/LogoutResponse.js +1 -1
- package/dist/models/MakePublicRequest.d.ts +32 -0
- package/dist/models/MakePublicRequest.js +50 -0
- package/dist/models/MessageResponse.d.ts +1 -1
- package/dist/models/MessageResponse.js +1 -1
- package/dist/models/Meter.d.ts +1 -1
- package/dist/models/Meter.js +1 -1
- package/dist/models/MeterChange.d.ts +1 -1
- package/dist/models/MeterChange.js +1 -1
- package/dist/models/MeterChanges.d.ts +1 -1
- package/dist/models/MeterChanges.js +1 -1
- package/dist/models/MeterCustomerMapping.d.ts +1 -1
- package/dist/models/MeterCustomerMapping.js +1 -1
- package/dist/models/MeterDefaultAggregation.d.ts +1 -1
- package/dist/models/MeterDefaultAggregation.js +1 -1
- package/dist/models/MeterResponse.d.ts +1 -1
- package/dist/models/MeterResponse.js +1 -1
- package/dist/models/MeterValueSettings.d.ts +1 -1
- package/dist/models/MeterValueSettings.js +1 -1
- package/dist/models/MeterWithStripeID.d.ts +1 -1
- package/dist/models/MeterWithStripeID.js +1 -1
- package/dist/models/MigrationErrorResponse.d.ts +1 -1
- package/dist/models/MigrationErrorResponse.js +1 -1
- package/dist/models/MigrationSuccessResponse.d.ts +1 -1
- package/dist/models/MigrationSuccessResponse.js +1 -1
- package/dist/models/NamespaceDefinition.d.ts +1 -1
- package/dist/models/NamespaceDefinition.js +1 -1
- package/dist/models/NamespaceDefinitionsResponse.d.ts +1 -1
- package/dist/models/NamespaceDefinitionsResponse.js +1 -1
- package/dist/models/NamespaceDeploymentResponse.d.ts +1 -1
- package/dist/models/NamespaceDeploymentResponse.js +1 -1
- package/dist/models/NotFound.d.ts +1 -1
- package/dist/models/NotFound.js +1 -1
- package/dist/models/NotFoundResponse.d.ts +1 -1
- package/dist/models/NotFoundResponse.js +1 -1
- package/dist/models/PerUnitBillingScheme.d.ts +1 -1
- package/dist/models/PerUnitBillingScheme.js +1 -1
- package/dist/models/PerUnitPrice.d.ts +1 -1
- package/dist/models/PerUnitPrice.js +1 -1
- package/dist/models/Price.d.ts +1 -1
- package/dist/models/Price.js +1 -1
- package/dist/models/PriceChange.d.ts +1 -1
- package/dist/models/PriceChange.js +1 -1
- package/dist/models/PriceChanges.d.ts +1 -1
- package/dist/models/PriceChanges.js +1 -1
- package/dist/models/PriceDisplay.d.ts +1 -1
- package/dist/models/PriceDisplay.js +1 -1
- package/dist/models/PriceLimit.d.ts +1 -1
- package/dist/models/PriceLimit.js +1 -1
- package/dist/models/PriceResponse.d.ts +1 -1
- package/dist/models/PriceResponse.js +1 -1
- package/dist/models/PriceUI.d.ts +1 -1
- package/dist/models/PriceUI.js +1 -1
- package/dist/models/PriceWithStripeID.d.ts +1 -1
- package/dist/models/PriceWithStripeID.js +1 -1
- package/dist/models/Product.d.ts +1 -1
- package/dist/models/Product.js +1 -1
- package/dist/models/ProductChange.d.ts +1 -1
- package/dist/models/ProductChange.js +1 -1
- package/dist/models/ProductChanges.d.ts +1 -1
- package/dist/models/ProductChanges.js +1 -1
- package/dist/models/ProductResponse.d.ts +1 -1
- package/dist/models/ProductResponse.js +1 -1
- package/dist/models/ProductUI.d.ts +1 -1
- package/dist/models/ProductUI.js +1 -1
- package/dist/models/ProductWithStripeIDs.d.ts +1 -1
- package/dist/models/ProductWithStripeIDs.js +1 -1
- package/dist/models/PromotionCode.d.ts +1 -1
- package/dist/models/PromotionCode.js +1 -1
- package/dist/models/PromotionCodeChange.d.ts +1 -1
- package/dist/models/PromotionCodeChange.js +1 -1
- package/dist/models/PromotionCodeChanges.d.ts +1 -1
- package/dist/models/PromotionCodeChanges.js +1 -1
- package/dist/models/PromotionCodeWithStripeID.d.ts +1 -1
- package/dist/models/PromotionCodeWithStripeID.js +1 -1
- package/dist/models/PullStripeConfig200Response.d.ts +1 -1
- package/dist/models/PullStripeConfig200Response.js +1 -1
- package/dist/models/RecordUsageRequest.d.ts +1 -1
- package/dist/models/RecordUsageRequest.js +1 -1
- package/dist/models/RelationMetadata.d.ts +1 -1
- package/dist/models/RelationMetadata.js +1 -1
- package/dist/models/Relationship.d.ts +1 -1
- package/dist/models/Relationship.js +1 -1
- package/dist/models/RemoveSubscription200Response.d.ts +1 -1
- package/dist/models/RemoveSubscription200Response.js +1 -1
- package/dist/models/RemoveSubscriptionRequest.d.ts +1 -1
- package/dist/models/RemoveSubscriptionRequest.js +1 -1
- package/dist/models/RemoveSubscriptionResponse.d.ts +1 -1
- package/dist/models/RemoveSubscriptionResponse.js +1 -1
- package/dist/models/Role.d.ts +1 -1
- package/dist/models/Role.js +1 -1
- package/dist/models/RolesListResponse.d.ts +1 -1
- package/dist/models/RolesListResponse.js +1 -1
- package/dist/models/SchemasConflictResponse.d.ts +1 -1
- package/dist/models/SchemasConflictResponse.js +1 -1
- package/dist/models/SessionResponse.d.ts +1 -1
- package/dist/models/SessionResponse.js +1 -1
- package/dist/models/StripeConfigChanges.d.ts +1 -1
- package/dist/models/StripeConfigChanges.js +1 -1
- package/dist/models/StripeConfigResponse.d.ts +1 -1
- package/dist/models/StripeConfigResponse.js +1 -1
- package/dist/models/StripeConfigUpdateRequest.d.ts +1 -1
- package/dist/models/StripeConfigUpdateRequest.js +1 -1
- package/dist/models/StripeConfigUpdateResponse.d.ts +1 -1
- package/dist/models/StripeConfigUpdateResponse.js +1 -1
- package/dist/models/StripeConfigValidateRequest.d.ts +1 -1
- package/dist/models/StripeConfigValidateRequest.js +1 -1
- package/dist/models/StripeConfiguration.d.ts +1 -1
- package/dist/models/StripeConfiguration.js +1 -1
- package/dist/models/StripeConfigurationWithIDs.d.ts +1 -1
- package/dist/models/StripeConfigurationWithIDs.js +1 -1
- package/dist/models/StripeIDConversionResponse.d.ts +1 -1
- package/dist/models/StripeIDConversionResponse.js +1 -1
- package/dist/models/SubjectSet.d.ts +1 -1
- package/dist/models/SubjectSet.js +1 -1
- package/dist/models/SubjectSetRequest.d.ts +1 -1
- package/dist/models/SubjectSetRequest.js +1 -1
- package/dist/models/SubscriptionResponse.d.ts +1 -1
- package/dist/models/SubscriptionResponse.js +1 -1
- package/dist/models/SuccessResponse.d.ts +1 -1
- package/dist/models/SuccessResponse.js +1 -1
- package/dist/models/SuccessResponseData.d.ts +1 -1
- package/dist/models/SuccessResponseData.js +1 -1
- package/dist/models/SwitchActiveTenant200Response.d.ts +1 -1
- package/dist/models/SwitchActiveTenant200Response.js +1 -1
- package/dist/models/SwitchTenantRequest.d.ts +1 -1
- package/dist/models/SwitchTenantRequest.js +1 -1
- package/dist/models/SwitchTenantResponse.d.ts +1 -1
- package/dist/models/SwitchTenantResponse.js +1 -1
- package/dist/models/Tenant.d.ts +1 -1
- package/dist/models/Tenant.js +1 -1
- package/dist/models/TenantInvite.d.ts +1 -1
- package/dist/models/TenantInvite.js +1 -1
- package/dist/models/TenantSettings.d.ts +1 -1
- package/dist/models/TenantSettings.js +1 -1
- package/dist/models/TenantUserResponse.d.ts +1 -1
- package/dist/models/TenantUserResponse.js +1 -1
- package/dist/models/Tier.d.ts +1 -1
- package/dist/models/Tier.js +1 -1
- package/dist/models/TierUpTo.d.ts +1 -1
- package/dist/models/TierUpTo.js +1 -1
- package/dist/models/TieredBillingScheme.d.ts +1 -1
- package/dist/models/TieredBillingScheme.js +1 -1
- package/dist/models/TieredPrice.d.ts +1 -1
- package/dist/models/TieredPrice.js +1 -1
- package/dist/models/TiersMode.d.ts +1 -1
- package/dist/models/TiersMode.js +1 -1
- package/dist/models/TooManyRequestsResponse.d.ts +1 -1
- package/dist/models/TooManyRequestsResponse.js +1 -1
- package/dist/models/Unauthorized.d.ts +1 -1
- package/dist/models/Unauthorized.js +1 -1
- package/dist/models/UnauthorizedResponse.d.ts +1 -1
- package/dist/models/UnauthorizedResponse.js +1 -1
- package/dist/models/UpdateInvoiceRequest.d.ts +1 -1
- package/dist/models/UpdateInvoiceRequest.js +1 -1
- package/dist/models/UpdateRoleRequest.d.ts +1 -1
- package/dist/models/UpdateRoleRequest.js +1 -1
- package/dist/models/UpdateStripeConfig200Response.d.ts +1 -1
- package/dist/models/UpdateStripeConfig200Response.js +1 -1
- package/dist/models/UpdateTenantUserRole200Response.d.ts +1 -1
- package/dist/models/UpdateTenantUserRole200Response.js +1 -1
- package/dist/models/UpdateTenantUserRoleRequest.d.ts +1 -1
- package/dist/models/UpdateTenantUserRoleRequest.js +1 -1
- package/dist/models/UpdateTenantUserRoleResponse.d.ts +1 -1
- package/dist/models/UpdateTenantUserRoleResponse.js +1 -1
- package/dist/models/UploadFile200Response.d.ts +1 -1
- package/dist/models/UploadFile200Response.js +1 -1
- package/dist/models/UploadRequest.d.ts +1 -1
- package/dist/models/UploadRequest.js +1 -1
- package/dist/models/UploadResponse.d.ts +7 -1
- package/dist/models/UploadResponse.js +5 -1
- package/dist/models/UsageType.d.ts +1 -1
- package/dist/models/UsageType.js +1 -1
- package/dist/models/UserTenantListItem.d.ts +1 -1
- package/dist/models/UserTenantListItem.js +1 -1
- package/dist/models/WebhookChange.d.ts +1 -1
- package/dist/models/WebhookChange.js +1 -1
- package/dist/models/WebhookChanges.d.ts +1 -1
- package/dist/models/WebhookChanges.js +1 -1
- package/dist/models/WebhookEndpointConfig.d.ts +1 -1
- package/dist/models/WebhookEndpointConfig.js +1 -1
- package/dist/models/WebhookSecretResponse.d.ts +1 -1
- package/dist/models/WebhookSecretResponse.js +1 -1
- package/dist/models/WhoAmI200Response.d.ts +1 -1
- package/dist/models/WhoAmI200Response.js +1 -1
- package/dist/models/WhoAmIResponse.d.ts +1 -1
- package/dist/models/WhoAmIResponse.js +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
|
@@ -1,29 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
4
5
|
* Omnibase REST API
|
|
5
6
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
7
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.19.1
|
|
8
9
|
* Contact: support@omnibase.dev
|
|
9
10
|
*
|
|
10
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProductTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfProduct = instanceOfProduct;
|
|
18
|
+
exports.ProductFromJSON = ProductFromJSON;
|
|
19
|
+
exports.ProductFromJSONTyped = ProductFromJSONTyped;
|
|
20
|
+
exports.ProductToJSON = ProductToJSON;
|
|
21
|
+
exports.ProductToJSONTyped = ProductToJSONTyped;
|
|
22
|
+
const ProductUI_1 = require("./ProductUI");
|
|
23
|
+
const Price_1 = require("./Price");
|
|
16
24
|
/**
|
|
17
25
|
* @export
|
|
18
26
|
*/
|
|
19
|
-
|
|
27
|
+
exports.ProductTypeEnum = {
|
|
20
28
|
Service: 'service',
|
|
21
29
|
Good: 'good'
|
|
22
30
|
};
|
|
23
31
|
/**
|
|
24
32
|
* Check if a given object implements the Product interface.
|
|
25
33
|
*/
|
|
26
|
-
|
|
34
|
+
function instanceOfProduct(value) {
|
|
27
35
|
if (!('id' in value) || value['id'] === undefined)
|
|
28
36
|
return false;
|
|
29
37
|
if (!('name' in value) || value['name'] === undefined)
|
|
@@ -32,10 +40,10 @@ export function instanceOfProduct(value) {
|
|
|
32
40
|
return false;
|
|
33
41
|
return true;
|
|
34
42
|
}
|
|
35
|
-
|
|
43
|
+
function ProductFromJSON(json) {
|
|
36
44
|
return ProductFromJSONTyped(json, false);
|
|
37
45
|
}
|
|
38
|
-
|
|
46
|
+
function ProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
47
|
if (json == null) {
|
|
40
48
|
return json;
|
|
41
49
|
}
|
|
@@ -45,14 +53,14 @@ export function ProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
53
|
'name': json['name'],
|
|
46
54
|
'description': json['description'] == null ? undefined : json['description'],
|
|
47
55
|
'type': json['type'] == null ? undefined : json['type'],
|
|
48
|
-
'prices': (json['prices'].map(PriceFromJSON)),
|
|
49
|
-
'ui': json['ui'] == null ? undefined : ProductUIFromJSON(json['ui']),
|
|
56
|
+
'prices': (json['prices'].map(Price_1.PriceFromJSON)),
|
|
57
|
+
'ui': json['ui'] == null ? undefined : (0, ProductUI_1.ProductUIFromJSON)(json['ui']),
|
|
50
58
|
};
|
|
51
59
|
}
|
|
52
|
-
|
|
60
|
+
function ProductToJSON(json) {
|
|
53
61
|
return ProductToJSONTyped(json, false);
|
|
54
62
|
}
|
|
55
|
-
|
|
63
|
+
function ProductToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
64
|
if (value == null) {
|
|
57
65
|
return value;
|
|
58
66
|
}
|
|
@@ -62,7 +70,7 @@ export function ProductToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
70
|
'name': value['name'],
|
|
63
71
|
'description': value['description'],
|
|
64
72
|
'type': value['type'],
|
|
65
|
-
'prices': (value['prices'].map(PriceToJSON)),
|
|
66
|
-
'ui': ProductUIToJSON(value['ui']),
|
|
73
|
+
'prices': (value['prices'].map(Price_1.PriceToJSON)),
|
|
74
|
+
'ui': (0, ProductUI_1.ProductUIToJSON)(value['ui']),
|
|
67
75
|
};
|
|
68
76
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.1
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,20 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
4
5
|
* Omnibase REST API
|
|
5
6
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
7
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.19.1
|
|
8
9
|
* Contact: support@omnibase.dev
|
|
9
10
|
*
|
|
10
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProductChangeActionEnum = void 0;
|
|
17
|
+
exports.instanceOfProductChange = instanceOfProductChange;
|
|
18
|
+
exports.ProductChangeFromJSON = ProductChangeFromJSON;
|
|
19
|
+
exports.ProductChangeFromJSONTyped = ProductChangeFromJSONTyped;
|
|
20
|
+
exports.ProductChangeToJSON = ProductChangeToJSON;
|
|
21
|
+
exports.ProductChangeToJSONTyped = ProductChangeToJSONTyped;
|
|
14
22
|
/**
|
|
15
23
|
* @export
|
|
16
24
|
*/
|
|
17
|
-
|
|
25
|
+
exports.ProductChangeActionEnum = {
|
|
18
26
|
Created: 'created',
|
|
19
27
|
CreatedLocal: 'created_local',
|
|
20
28
|
Updated: 'updated',
|
|
@@ -24,7 +32,7 @@ export const ProductChangeActionEnum = {
|
|
|
24
32
|
/**
|
|
25
33
|
* Check if a given object implements the ProductChange interface.
|
|
26
34
|
*/
|
|
27
|
-
|
|
35
|
+
function instanceOfProductChange(value) {
|
|
28
36
|
if (!('productId' in value) || value['productId'] === undefined)
|
|
29
37
|
return false;
|
|
30
38
|
if (!('productName' in value) || value['productName'] === undefined)
|
|
@@ -33,10 +41,10 @@ export function instanceOfProductChange(value) {
|
|
|
33
41
|
return false;
|
|
34
42
|
return true;
|
|
35
43
|
}
|
|
36
|
-
|
|
44
|
+
function ProductChangeFromJSON(json) {
|
|
37
45
|
return ProductChangeFromJSONTyped(json, false);
|
|
38
46
|
}
|
|
39
|
-
|
|
47
|
+
function ProductChangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
48
|
if (json == null) {
|
|
41
49
|
return json;
|
|
42
50
|
}
|
|
@@ -48,10 +56,10 @@ export function ProductChangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
56
|
'details': json['details'] == null ? undefined : json['details'],
|
|
49
57
|
};
|
|
50
58
|
}
|
|
51
|
-
|
|
59
|
+
function ProductChangeToJSON(json) {
|
|
52
60
|
return ProductChangeToJSONTyped(json, false);
|
|
53
61
|
}
|
|
54
|
-
|
|
62
|
+
function ProductChangeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
63
|
if (value == null) {
|
|
56
64
|
return value;
|
|
57
65
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.1
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,46 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
4
5
|
* Omnibase REST API
|
|
5
6
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
7
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.19.1
|
|
8
9
|
* Contact: support@omnibase.dev
|
|
9
10
|
*
|
|
10
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfProductChanges = instanceOfProductChanges;
|
|
17
|
+
exports.ProductChangesFromJSON = ProductChangesFromJSON;
|
|
18
|
+
exports.ProductChangesFromJSONTyped = ProductChangesFromJSONTyped;
|
|
19
|
+
exports.ProductChangesToJSON = ProductChangesToJSON;
|
|
20
|
+
exports.ProductChangesToJSONTyped = ProductChangesToJSONTyped;
|
|
21
|
+
const ProductChange_1 = require("./ProductChange");
|
|
15
22
|
/**
|
|
16
23
|
* Check if a given object implements the ProductChanges interface.
|
|
17
24
|
*/
|
|
18
|
-
|
|
25
|
+
function instanceOfProductChanges(value) {
|
|
19
26
|
return true;
|
|
20
27
|
}
|
|
21
|
-
|
|
28
|
+
function ProductChangesFromJSON(json) {
|
|
22
29
|
return ProductChangesFromJSONTyped(json, false);
|
|
23
30
|
}
|
|
24
|
-
|
|
31
|
+
function ProductChangesFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
32
|
if (json == null) {
|
|
26
33
|
return json;
|
|
27
34
|
}
|
|
28
35
|
return {
|
|
29
|
-
'created': json['created'] == null ? undefined : (json['created'].map(ProductChangeFromJSON)),
|
|
30
|
-
'updated': json['updated'] == null ? undefined : (json['updated'].map(ProductChangeFromJSON)),
|
|
31
|
-
'archived': json['archived'] == null ? undefined : (json['archived'].map(ProductChangeFromJSON)),
|
|
36
|
+
'created': json['created'] == null ? undefined : (json['created'].map(ProductChange_1.ProductChangeFromJSON)),
|
|
37
|
+
'updated': json['updated'] == null ? undefined : (json['updated'].map(ProductChange_1.ProductChangeFromJSON)),
|
|
38
|
+
'archived': json['archived'] == null ? undefined : (json['archived'].map(ProductChange_1.ProductChangeFromJSON)),
|
|
32
39
|
};
|
|
33
40
|
}
|
|
34
|
-
|
|
41
|
+
function ProductChangesToJSON(json) {
|
|
35
42
|
return ProductChangesToJSONTyped(json, false);
|
|
36
43
|
}
|
|
37
|
-
|
|
44
|
+
function ProductChangesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
45
|
if (value == null) {
|
|
39
46
|
return value;
|
|
40
47
|
}
|
|
41
48
|
return {
|
|
42
|
-
'created': value['created'] == null ? undefined : (value['created'].map(ProductChangeToJSON)),
|
|
43
|
-
'updated': value['updated'] == null ? undefined : (value['updated'].map(ProductChangeToJSON)),
|
|
44
|
-
'archived': value['archived'] == null ? undefined : (value['archived'].map(ProductChangeToJSON)),
|
|
49
|
+
'created': value['created'] == null ? undefined : (value['created'].map(ProductChange_1.ProductChangeToJSON)),
|
|
50
|
+
'updated': value['updated'] == null ? undefined : (value['updated'].map(ProductChange_1.ProductChangeToJSON)),
|
|
51
|
+
'archived': value['archived'] == null ? undefined : (value['archived'].map(ProductChange_1.ProductChangeToJSON)),
|
|
45
52
|
};
|
|
46
53
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.1
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,44 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
4
5
|
* Omnibase REST API
|
|
5
6
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
7
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.19.1
|
|
8
9
|
* Contact: support@omnibase.dev
|
|
9
10
|
*
|
|
10
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfProductResponse = instanceOfProductResponse;
|
|
17
|
+
exports.ProductResponseFromJSON = ProductResponseFromJSON;
|
|
18
|
+
exports.ProductResponseFromJSONTyped = ProductResponseFromJSONTyped;
|
|
19
|
+
exports.ProductResponseToJSON = ProductResponseToJSON;
|
|
20
|
+
exports.ProductResponseToJSONTyped = ProductResponseToJSONTyped;
|
|
21
|
+
const ProductWithStripeIDs_1 = require("./ProductWithStripeIDs");
|
|
15
22
|
/**
|
|
16
23
|
* Check if a given object implements the ProductResponse interface.
|
|
17
24
|
*/
|
|
18
|
-
|
|
25
|
+
function instanceOfProductResponse(value) {
|
|
19
26
|
if (!('product' in value) || value['product'] === undefined)
|
|
20
27
|
return false;
|
|
21
28
|
return true;
|
|
22
29
|
}
|
|
23
|
-
|
|
30
|
+
function ProductResponseFromJSON(json) {
|
|
24
31
|
return ProductResponseFromJSONTyped(json, false);
|
|
25
32
|
}
|
|
26
|
-
|
|
33
|
+
function ProductResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
34
|
if (json == null) {
|
|
28
35
|
return json;
|
|
29
36
|
}
|
|
30
37
|
return {
|
|
31
|
-
'product': ProductWithStripeIDsFromJSON(json['product']),
|
|
38
|
+
'product': (0, ProductWithStripeIDs_1.ProductWithStripeIDsFromJSON)(json['product']),
|
|
32
39
|
};
|
|
33
40
|
}
|
|
34
|
-
|
|
41
|
+
function ProductResponseToJSON(json) {
|
|
35
42
|
return ProductResponseToJSONTyped(json, false);
|
|
36
43
|
}
|
|
37
|
-
|
|
44
|
+
function ProductResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
45
|
if (value == null) {
|
|
39
46
|
return value;
|
|
40
47
|
}
|
|
41
48
|
return {
|
|
42
|
-
'product': ProductWithStripeIDsToJSON(value['product']),
|
|
49
|
+
'product': (0, ProductWithStripeIDs_1.ProductWithStripeIDsToJSON)(value['product']),
|
|
43
50
|
};
|
|
44
51
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.1
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,26 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
4
5
|
* Omnibase REST API
|
|
5
6
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
7
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.19.1
|
|
8
9
|
* Contact: support@omnibase.dev
|
|
9
10
|
*
|
|
10
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfProductUI = instanceOfProductUI;
|
|
17
|
+
exports.ProductUIFromJSON = ProductUIFromJSON;
|
|
18
|
+
exports.ProductUIFromJSONTyped = ProductUIFromJSONTyped;
|
|
19
|
+
exports.ProductUIToJSON = ProductUIToJSON;
|
|
20
|
+
exports.ProductUIToJSONTyped = ProductUIToJSONTyped;
|
|
14
21
|
/**
|
|
15
22
|
* Check if a given object implements the ProductUI interface.
|
|
16
23
|
*/
|
|
17
|
-
|
|
24
|
+
function instanceOfProductUI(value) {
|
|
18
25
|
return true;
|
|
19
26
|
}
|
|
20
|
-
|
|
27
|
+
function ProductUIFromJSON(json) {
|
|
21
28
|
return ProductUIFromJSONTyped(json, false);
|
|
22
29
|
}
|
|
23
|
-
|
|
30
|
+
function ProductUIFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
31
|
if (json == null) {
|
|
25
32
|
return json;
|
|
26
33
|
}
|
|
@@ -34,10 +41,10 @@ export function ProductUIFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
41
|
'sortOrder': json['sort_order'] == null ? undefined : json['sort_order'],
|
|
35
42
|
};
|
|
36
43
|
}
|
|
37
|
-
|
|
44
|
+
function ProductUIToJSON(json) {
|
|
38
45
|
return ProductUIToJSONTyped(json, false);
|
|
39
46
|
}
|
|
40
|
-
|
|
47
|
+
function ProductUIToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
48
|
if (value == null) {
|
|
42
49
|
return value;
|
|
43
50
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.1
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,29 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
4
5
|
* Omnibase REST API
|
|
5
6
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
7
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.19.1
|
|
8
9
|
* Contact: support@omnibase.dev
|
|
9
10
|
*
|
|
10
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProductWithStripeIDsTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfProductWithStripeIDs = instanceOfProductWithStripeIDs;
|
|
18
|
+
exports.ProductWithStripeIDsFromJSON = ProductWithStripeIDsFromJSON;
|
|
19
|
+
exports.ProductWithStripeIDsFromJSONTyped = ProductWithStripeIDsFromJSONTyped;
|
|
20
|
+
exports.ProductWithStripeIDsToJSON = ProductWithStripeIDsToJSON;
|
|
21
|
+
exports.ProductWithStripeIDsToJSONTyped = ProductWithStripeIDsToJSONTyped;
|
|
22
|
+
const ProductUI_1 = require("./ProductUI");
|
|
23
|
+
const PriceWithStripeID_1 = require("./PriceWithStripeID");
|
|
16
24
|
/**
|
|
17
25
|
* @export
|
|
18
26
|
*/
|
|
19
|
-
|
|
27
|
+
exports.ProductWithStripeIDsTypeEnum = {
|
|
20
28
|
Service: 'service',
|
|
21
29
|
Good: 'good'
|
|
22
30
|
};
|
|
23
31
|
/**
|
|
24
32
|
* Check if a given object implements the ProductWithStripeIDs interface.
|
|
25
33
|
*/
|
|
26
|
-
|
|
34
|
+
function instanceOfProductWithStripeIDs(value) {
|
|
27
35
|
if (!('id' in value) || value['id'] === undefined)
|
|
28
36
|
return false;
|
|
29
37
|
if (!('name' in value) || value['name'] === undefined)
|
|
@@ -32,10 +40,10 @@ export function instanceOfProductWithStripeIDs(value) {
|
|
|
32
40
|
return false;
|
|
33
41
|
return true;
|
|
34
42
|
}
|
|
35
|
-
|
|
43
|
+
function ProductWithStripeIDsFromJSON(json) {
|
|
36
44
|
return ProductWithStripeIDsFromJSONTyped(json, false);
|
|
37
45
|
}
|
|
38
|
-
|
|
46
|
+
function ProductWithStripeIDsFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
47
|
if (json == null) {
|
|
40
48
|
return json;
|
|
41
49
|
}
|
|
@@ -44,15 +52,15 @@ export function ProductWithStripeIDsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
52
|
'name': json['name'],
|
|
45
53
|
'description': json['description'] == null ? undefined : json['description'],
|
|
46
54
|
'type': json['type'] == null ? undefined : json['type'],
|
|
47
|
-
'prices': (json['prices'].map(PriceWithStripeIDFromJSON)),
|
|
48
|
-
'ui': json['ui'] == null ? undefined : ProductUIFromJSON(json['ui']),
|
|
55
|
+
'prices': (json['prices'].map(PriceWithStripeID_1.PriceWithStripeIDFromJSON)),
|
|
56
|
+
'ui': json['ui'] == null ? undefined : (0, ProductUI_1.ProductUIFromJSON)(json['ui']),
|
|
49
57
|
'stripeId': json['stripe_id'] == null ? undefined : json['stripe_id'],
|
|
50
58
|
};
|
|
51
59
|
}
|
|
52
|
-
|
|
60
|
+
function ProductWithStripeIDsToJSON(json) {
|
|
53
61
|
return ProductWithStripeIDsToJSONTyped(json, false);
|
|
54
62
|
}
|
|
55
|
-
|
|
63
|
+
function ProductWithStripeIDsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
64
|
if (value == null) {
|
|
57
65
|
return value;
|
|
58
66
|
}
|
|
@@ -61,8 +69,8 @@ export function ProductWithStripeIDsToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
61
69
|
'name': value['name'],
|
|
62
70
|
'description': value['description'],
|
|
63
71
|
'type': value['type'],
|
|
64
|
-
'prices': (value['prices'].map(PriceWithStripeIDToJSON)),
|
|
65
|
-
'ui': ProductUIToJSON(value['ui']),
|
|
72
|
+
'prices': (value['prices'].map(PriceWithStripeID_1.PriceWithStripeIDToJSON)),
|
|
73
|
+
'ui': (0, ProductUI_1.ProductUIToJSON)(value['ui']),
|
|
66
74
|
'stripe_id': value['stripeId'],
|
|
67
75
|
};
|
|
68
76
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.1
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,20 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
4
5
|
* Omnibase REST API
|
|
5
6
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
7
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.19.1
|
|
8
9
|
* Contact: support@omnibase.dev
|
|
9
10
|
*
|
|
10
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPromotionCode = instanceOfPromotionCode;
|
|
17
|
+
exports.PromotionCodeFromJSON = PromotionCodeFromJSON;
|
|
18
|
+
exports.PromotionCodeFromJSONTyped = PromotionCodeFromJSONTyped;
|
|
19
|
+
exports.PromotionCodeToJSON = PromotionCodeToJSON;
|
|
20
|
+
exports.PromotionCodeToJSONTyped = PromotionCodeToJSONTyped;
|
|
14
21
|
/**
|
|
15
22
|
* Check if a given object implements the PromotionCode interface.
|
|
16
23
|
*/
|
|
17
|
-
|
|
24
|
+
function instanceOfPromotionCode(value) {
|
|
18
25
|
if (!('id' in value) || value['id'] === undefined)
|
|
19
26
|
return false;
|
|
20
27
|
if (!('code' in value) || value['code'] === undefined)
|
|
@@ -23,10 +30,10 @@ export function instanceOfPromotionCode(value) {
|
|
|
23
30
|
return false;
|
|
24
31
|
return true;
|
|
25
32
|
}
|
|
26
|
-
|
|
33
|
+
function PromotionCodeFromJSON(json) {
|
|
27
34
|
return PromotionCodeFromJSONTyped(json, false);
|
|
28
35
|
}
|
|
29
|
-
|
|
36
|
+
function PromotionCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
37
|
if (json == null) {
|
|
31
38
|
return json;
|
|
32
39
|
}
|
|
@@ -44,10 +51,10 @@ export function PromotionCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
51
|
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
45
52
|
};
|
|
46
53
|
}
|
|
47
|
-
|
|
54
|
+
function PromotionCodeToJSON(json) {
|
|
48
55
|
return PromotionCodeToJSONTyped(json, false);
|
|
49
56
|
}
|
|
50
|
-
|
|
57
|
+
function PromotionCodeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
58
|
if (value == null) {
|
|
52
59
|
return value;
|
|
53
60
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.1
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,20 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
4
5
|
* Omnibase REST API
|
|
5
6
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
6
7
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.19.1
|
|
8
9
|
* Contact: support@omnibase.dev
|
|
9
10
|
*
|
|
10
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PromotionCodeChangeActionEnum = void 0;
|
|
17
|
+
exports.instanceOfPromotionCodeChange = instanceOfPromotionCodeChange;
|
|
18
|
+
exports.PromotionCodeChangeFromJSON = PromotionCodeChangeFromJSON;
|
|
19
|
+
exports.PromotionCodeChangeFromJSONTyped = PromotionCodeChangeFromJSONTyped;
|
|
20
|
+
exports.PromotionCodeChangeToJSON = PromotionCodeChangeToJSON;
|
|
21
|
+
exports.PromotionCodeChangeToJSONTyped = PromotionCodeChangeToJSONTyped;
|
|
14
22
|
/**
|
|
15
23
|
* @export
|
|
16
24
|
*/
|
|
17
|
-
|
|
25
|
+
exports.PromotionCodeChangeActionEnum = {
|
|
18
26
|
Created: 'created',
|
|
19
27
|
Updated: 'updated',
|
|
20
28
|
Deactivated: 'deactivated',
|
|
@@ -25,7 +33,7 @@ export const PromotionCodeChangeActionEnum = {
|
|
|
25
33
|
/**
|
|
26
34
|
* Check if a given object implements the PromotionCodeChange interface.
|
|
27
35
|
*/
|
|
28
|
-
|
|
36
|
+
function instanceOfPromotionCodeChange(value) {
|
|
29
37
|
if (!('promoId' in value) || value['promoId'] === undefined)
|
|
30
38
|
return false;
|
|
31
39
|
if (!('code' in value) || value['code'] === undefined)
|
|
@@ -34,10 +42,10 @@ export function instanceOfPromotionCodeChange(value) {
|
|
|
34
42
|
return false;
|
|
35
43
|
return true;
|
|
36
44
|
}
|
|
37
|
-
|
|
45
|
+
function PromotionCodeChangeFromJSON(json) {
|
|
38
46
|
return PromotionCodeChangeFromJSONTyped(json, false);
|
|
39
47
|
}
|
|
40
|
-
|
|
48
|
+
function PromotionCodeChangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
49
|
if (json == null) {
|
|
42
50
|
return json;
|
|
43
51
|
}
|
|
@@ -48,10 +56,10 @@ export function PromotionCodeChangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
56
|
'stripeId': json['stripe_id'] == null ? undefined : json['stripe_id'],
|
|
49
57
|
};
|
|
50
58
|
}
|
|
51
|
-
|
|
59
|
+
function PromotionCodeChangeToJSON(json) {
|
|
52
60
|
return PromotionCodeChangeToJSONTyped(json, false);
|
|
53
61
|
}
|
|
54
|
-
|
|
62
|
+
function PromotionCodeChangeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
63
|
if (value == null) {
|
|
56
64
|
return value;
|
|
57
65
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Omnibase REST API
|
|
3
3
|
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services. ## Features - **Database**: PostgreSQL with RLS and migrations - **Authentication**: Ory Kratos integration with session management - **Payments**: Stripe integration with version-controlled billing configs - **Storage**: S3-compatible object storage with RLS - **Email**: Transactional email service - **Permissions**: Fine-grained access control ## Authentication Most endpoints require authentication via session cookies or JWT tokens. Use the appropriate security scheme based on the endpoint requirements.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.1
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|