@omnibase/core-js 0.19.1 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +109 -185
- package/dist/apis/V1AuthApi.d.ts +27 -44
- package/dist/apis/V1AuthApi.js +32 -49
- package/dist/apis/V1ConfigurationApi.d.ts +47 -80
- package/dist/apis/V1ConfigurationApi.js +93 -124
- package/dist/apis/V1DatabaseApi.d.ts +70 -0
- package/dist/apis/V1DatabaseApi.js +251 -0
- package/dist/apis/V1PaymentsApi.d.ts +44 -74
- package/dist/apis/V1PaymentsApi.js +73 -104
- package/dist/apis/V1PermissionsApi.d.ts +11 -17
- package/dist/apis/V1PermissionsApi.js +8 -14
- package/dist/apis/V1StorageApi.d.ts +11 -35
- package/dist/apis/V1StorageApi.js +6 -50
- package/dist/apis/V1StripeApi.d.ts +27 -51
- package/dist/apis/V1StripeApi.js +14 -38
- package/dist/apis/V1TenantsApi.d.ts +67 -51
- package/dist/apis/V1TenantsApi.js +103 -71
- package/dist/apis/V1TenantsInvitesApi.d.ts +40 -0
- package/dist/apis/V1TenantsInvitesApi.js +140 -0
- package/dist/apis/V1TenantsLifecycleApi.d.ts +78 -0
- package/dist/apis/V1TenantsLifecycleApi.js +270 -0
- package/dist/apis/V1TenantsRolesApi.d.ts +71 -0
- package/dist/apis/V1TenantsRolesApi.js +252 -0
- package/dist/apis/V1TenantsSubscriptionsApi.d.ts +67 -0
- package/dist/apis/V1TenantsSubscriptionsApi.js +240 -0
- package/dist/apis/V1TenantsUsersApi.d.ts +48 -0
- package/dist/apis/V1TenantsUsersApi.js +177 -0
- package/dist/apis/index.d.ts +6 -1
- package/dist/apis/index.js +6 -1
- package/dist/esm/apis/V1AuthApi.d.ts +27 -44
- package/dist/esm/apis/V1AuthApi.js +32 -49
- package/dist/esm/apis/V1ConfigurationApi.d.ts +47 -80
- package/dist/esm/apis/V1ConfigurationApi.js +93 -124
- package/dist/esm/apis/V1DatabaseApi.d.ts +70 -0
- package/dist/esm/apis/V1DatabaseApi.js +251 -0
- package/dist/esm/apis/V1PaymentsApi.d.ts +44 -74
- package/dist/esm/apis/V1PaymentsApi.js +73 -104
- package/dist/esm/apis/V1PermissionsApi.d.ts +11 -17
- package/dist/esm/apis/V1PermissionsApi.js +8 -14
- package/dist/esm/apis/V1StorageApi.d.ts +11 -35
- package/dist/esm/apis/V1StorageApi.js +6 -50
- package/dist/esm/apis/V1StripeApi.d.ts +27 -51
- package/dist/esm/apis/V1StripeApi.js +14 -38
- package/dist/esm/apis/V1TenantsApi.d.ts +67 -51
- package/dist/esm/apis/V1TenantsApi.js +103 -71
- package/dist/esm/apis/V1TenantsInvitesApi.d.ts +40 -0
- package/dist/esm/apis/V1TenantsInvitesApi.js +140 -0
- package/dist/esm/apis/V1TenantsLifecycleApi.d.ts +78 -0
- package/dist/esm/apis/V1TenantsLifecycleApi.js +270 -0
- package/dist/esm/apis/V1TenantsRolesApi.d.ts +71 -0
- package/dist/esm/apis/V1TenantsRolesApi.js +252 -0
- package/dist/esm/apis/V1TenantsSubscriptionsApi.d.ts +67 -0
- package/dist/esm/apis/V1TenantsSubscriptionsApi.js +240 -0
- package/dist/esm/apis/V1TenantsUsersApi.d.ts +48 -0
- package/dist/esm/apis/V1TenantsUsersApi.js +177 -0
- package/dist/esm/apis/index.d.ts +6 -1
- package/dist/esm/apis/index.js +6 -1
- package/dist/esm/models/AcceptRequest.d.ts +32 -0
- package/dist/esm/models/AcceptRequest.js +50 -0
- package/dist/esm/models/AcceptResponse.d.ts +44 -0
- package/dist/esm/models/AcceptResponse.js +58 -0
- package/dist/esm/models/ActiveTenantResponse.d.ts +6 -6
- package/dist/esm/models/ActiveTenantResponse.js +5 -5
- package/dist/esm/models/AddLineItemByPriceRequest.d.ts +64 -0
- package/dist/esm/models/AddLineItemByPriceRequest.js +64 -0
- package/dist/esm/models/AddLineItemRequest.d.ts +44 -0
- package/dist/esm/models/AddLineItemRequest.js +58 -0
- package/dist/esm/models/AddRequest.d.ts +44 -0
- package/dist/esm/models/AddRequest.js +54 -0
- package/dist/esm/models/AddResponse.d.ts +44 -0
- package/dist/esm/models/AddResponse.js +58 -0
- package/dist/esm/models/AddSubscriptionResponse.d.ts +3 -3
- package/dist/esm/models/AddSubscriptionResponse.js +9 -3
- package/dist/esm/models/AppliedMigration.d.ts +38 -0
- package/dist/esm/models/AppliedMigration.js +54 -0
- package/dist/esm/models/ApplyEnterpriseCustomRequest.d.ts +6 -6
- package/dist/esm/models/ApplyEnterpriseCustomRequest.js +6 -6
- package/dist/esm/models/ApplyEnterpriseTemplateRequest.d.ts +6 -6
- package/dist/esm/models/ApplyEnterpriseTemplateRequest.js +6 -6
- package/dist/esm/models/ApplyMigrationsResponse.d.ts +38 -0
- package/dist/esm/models/ApplyMigrationsResponse.js +54 -0
- package/dist/esm/models/ArchiveAllResponse.d.ts +13 -13
- package/dist/esm/models/ArchiveAllResponse.js +8 -8
- package/dist/esm/models/AuthTenantInvite.d.ts +80 -0
- package/dist/esm/models/AuthTenantInvite.js +82 -0
- package/dist/esm/models/BadRequest.d.ts +0 -6
- package/dist/esm/models/BadRequest.js +0 -4
- package/dist/esm/models/BadRequestResponse.d.ts +0 -6
- package/dist/esm/models/BadRequestResponse.js +0 -4
- package/dist/esm/models/BillingStatusResponse.d.ts +3 -3
- package/dist/esm/models/BillingStatusResponse.js +2 -2
- package/dist/esm/models/CalculatePriceCostRequest.d.ts +3 -3
- package/dist/esm/models/CalculatePriceCostRequest.js +2 -2
- package/dist/esm/models/CalculatePriceCostResponse.d.ts +17 -33
- package/dist/esm/models/CalculatePriceCostResponse.js +15 -30
- package/dist/esm/models/CheckRequest.d.ts +51 -0
- package/dist/esm/models/CheckRequest.js +63 -0
- package/dist/esm/models/CheckResponse.d.ts +32 -0
- package/dist/esm/models/CheckResponse.js +50 -0
- package/dist/esm/models/ConfigChanges.d.ts +68 -0
- package/dist/esm/models/ConfigChanges.js +64 -0
- package/dist/esm/models/ConfigHistoryItem.d.ts +17 -17
- package/dist/esm/models/ConfigHistoryItem.js +14 -14
- package/dist/esm/models/ConfigHistoryPagination.d.ts +18 -18
- package/dist/esm/models/ConfigHistoryPagination.js +13 -13
- package/dist/esm/models/ConfigHistoryResponse.d.ts +4 -4
- package/dist/esm/models/ConfigHistoryResponse.js +4 -4
- package/dist/esm/models/ConfigResponse.d.ts +52 -0
- package/dist/esm/models/ConfigResponse.js +58 -0
- package/dist/esm/models/ConflictResponse.d.ts +0 -6
- package/dist/esm/models/ConflictResponse.js +0 -4
- package/dist/esm/models/ConvertStripeIDResponse.d.ts +56 -0
- package/dist/esm/models/ConvertStripeIDResponse.js +66 -0
- package/dist/esm/models/Coupon.d.ts +35 -36
- package/dist/esm/models/Coupon.js +18 -19
- package/dist/esm/models/CouponChange.d.ts +9 -21
- package/dist/esm/models/CouponChange.js +6 -18
- package/dist/esm/models/CouponChanges.d.ts +9 -9
- package/dist/esm/models/CouponChanges.js +4 -4
- package/dist/esm/models/CouponWithStripeID.d.ts +35 -36
- package/dist/esm/models/CouponWithStripeID.js +16 -17
- package/dist/esm/models/CreateCheckoutRequest.d.ts +17 -17
- package/dist/esm/models/CreateCheckoutRequest.js +10 -10
- package/dist/esm/models/CreateCheckoutResponse.d.ts +6 -6
- package/dist/esm/models/CreateCheckoutResponse.js +6 -6
- package/dist/esm/models/CreateInvoiceRequest.d.ts +29 -10
- package/dist/esm/models/CreateInvoiceRequest.js +16 -5
- package/dist/esm/models/CreateOrUpdateEmailTemplate200Response.d.ts +6 -6
- package/dist/esm/models/CreateOrUpdateEmailTemplate200Response.js +5 -7
- package/dist/esm/models/CreatePortalRequest.d.ts +3 -3
- package/dist/esm/models/CreatePortalRequest.js +2 -2
- package/dist/esm/models/CreatePortalResponse.d.ts +3 -3
- package/dist/esm/models/CreatePortalResponse.js +2 -2
- package/dist/esm/models/CreateRelationshipRequest.d.ts +6 -6
- package/dist/esm/models/CreateRelationshipRequest.js +2 -2
- package/dist/esm/models/CreateRelationshipResponse.d.ts +4 -11
- package/dist/esm/models/CreateRelationshipResponse.js +2 -7
- package/dist/esm/models/CreateRequest.d.ts +44 -0
- package/dist/esm/models/CreateRequest.js +58 -0
- package/dist/esm/models/CreateResponse.d.ts +39 -0
- package/dist/esm/models/CreateResponse.js +55 -0
- package/dist/esm/models/CreateRoleRequest.d.ts +9 -9
- package/dist/esm/models/CreateRoleRequest.js +6 -6
- package/dist/esm/models/CreateRoleRow.d.ts +74 -0
- package/dist/esm/models/CreateRoleRow.js +78 -0
- package/dist/esm/models/CreateTenantRequest.d.ts +9 -17
- package/dist/esm/models/CreateTenantRequest.js +9 -13
- package/dist/esm/models/CreateTenantResponse.d.ts +8 -8
- package/dist/esm/models/CreateTenantResponse.js +5 -5
- package/dist/esm/models/CreateUserRequest.d.ts +9 -9
- package/dist/esm/models/CreateUserRequest.js +7 -7
- package/dist/esm/models/DeleteEmailTemplate200Response.d.ts +2 -9
- package/dist/esm/models/DeleteEmailTemplate200Response.js +2 -7
- package/dist/esm/models/DeleteObjectRequest.d.ts +3 -3
- package/dist/esm/models/DeleteObjectRequest.js +2 -2
- package/dist/esm/models/DeleteObjectResponse.d.ts +32 -0
- package/dist/esm/models/DeleteObjectResponse.js +50 -0
- package/dist/esm/models/DeleteRelationshipRequest.d.ts +6 -6
- package/dist/esm/models/DeleteRelationshipRequest.js +2 -2
- package/dist/esm/models/DeleteRelationshipResponse.d.ts +4 -4
- package/dist/esm/models/DeleteRelationshipResponse.js +2 -2
- package/dist/esm/models/DeleteRequest.d.ts +32 -0
- package/dist/esm/models/DeleteRequest.js +50 -0
- package/dist/esm/models/DeleteTemplateResponse.d.ts +32 -0
- package/dist/esm/models/DeleteTemplateResponse.js +50 -0
- package/dist/esm/models/DeleteTenantResponse.d.ts +4 -4
- package/dist/esm/models/DeleteTenantResponse.js +2 -2
- package/dist/esm/models/DeployNamespacesResponse.d.ts +56 -0
- package/dist/esm/models/DeployNamespacesResponse.js +64 -0
- package/dist/esm/models/DownloadRequest.d.ts +3 -3
- package/dist/esm/models/DownloadRequest.js +2 -2
- package/dist/esm/models/DownloadResponse.d.ts +3 -3
- package/dist/esm/models/DownloadResponse.js +2 -2
- package/dist/esm/models/EmailTemplate.d.ts +15 -15
- package/dist/esm/models/EmailTemplate.js +13 -13
- package/dist/esm/models/EnterpriseApplyResponse.d.ts +12 -12
- package/dist/esm/models/EnterpriseApplyResponse.js +6 -6
- package/dist/esm/models/EnterprisePricesResponse.d.ts +8 -8
- package/dist/esm/models/EnterprisePricesResponse.js +6 -6
- package/dist/esm/models/ErrorDetail.d.ts +44 -0
- package/dist/esm/models/ErrorDetail.js +52 -0
- package/dist/esm/models/ErrorModel.d.ts +63 -0
- package/dist/esm/models/ErrorModel.js +59 -0
- package/dist/esm/models/ErrorResponse.d.ts +0 -6
- package/dist/esm/models/ErrorResponse.js +0 -4
- package/dist/esm/models/FinalizeRequest.d.ts +32 -0
- package/dist/esm/models/FinalizeRequest.js +48 -0
- package/dist/esm/models/ForbiddenResponse.d.ts +0 -6
- package/dist/esm/models/ForbiddenResponse.js +0 -4
- package/dist/esm/models/FormFile.d.ts +50 -0
- package/dist/esm/models/FormFile.js +62 -0
- package/dist/esm/models/GetEmailTemplates200Response.d.ts +6 -6
- package/dist/esm/models/GetEmailTemplates200Response.js +5 -7
- package/dist/esm/models/GetMeterResponse.d.ts +33 -0
- package/dist/esm/models/GetMeterResponse.js +51 -0
- package/dist/esm/models/GetPriceResponse.d.ts +40 -0
- package/dist/esm/models/GetPriceResponse.js +56 -0
- package/dist/esm/models/GetProductResponse.d.ts +33 -0
- package/dist/esm/models/GetProductResponse.js +51 -0
- package/dist/esm/models/GetTenantBillingStatus200Response.d.ts +3 -10
- package/dist/esm/models/GetTenantBillingStatus200Response.js +3 -6
- package/dist/esm/models/GetTenantByIDRow.d.ts +74 -0
- package/dist/esm/models/GetTenantByIDRow.js +78 -0
- package/dist/esm/models/GetTenantByStripeCustomerIDRow.d.ts +74 -0
- package/dist/esm/models/GetTenantByStripeCustomerIDRow.js +78 -0
- package/dist/esm/models/GetTenantJWT200Response.d.ts +3 -10
- package/dist/esm/models/GetTenantJWT200Response.js +3 -6
- package/dist/esm/models/Identity.d.ts +121 -0
- package/dist/esm/models/Identity.js +88 -0
- package/dist/esm/models/IdentityCredentials.d.ts +68 -0
- package/dist/esm/models/IdentityCredentials.js +60 -0
- package/dist/esm/models/IdentityName.d.ts +38 -0
- package/dist/esm/models/IdentityName.js +54 -0
- package/dist/esm/models/InternalServerError.d.ts +0 -6
- package/dist/esm/models/InternalServerError.js +0 -4
- package/dist/esm/models/InternalServerErrorResponse.d.ts +0 -6
- package/dist/esm/models/InternalServerErrorResponse.js +0 -4
- package/dist/esm/models/InvoiceLineItemResponse.d.ts +10 -10
- package/dist/esm/models/InvoiceLineItemResponse.js +9 -5
- package/dist/esm/models/InvoiceResponse.d.ts +17 -17
- package/dist/esm/models/InvoiceResponse.js +16 -10
- package/dist/esm/models/JWTResponse.d.ts +32 -0
- package/dist/esm/models/JWTResponse.js +50 -0
- package/dist/esm/models/ListRolesByTenantRow.d.ts +74 -0
- package/dist/esm/models/ListRolesByTenantRow.js +78 -0
- package/dist/esm/models/ListStripeWebhooksRow.d.ts +80 -0
- package/dist/esm/models/ListStripeWebhooksRow.js +82 -0
- package/dist/esm/models/ListTemplatesResponse.d.ts +39 -0
- package/dist/esm/models/ListTemplatesResponse.js +55 -0
- package/dist/esm/models/ListTenantsResponse.d.ts +3 -3
- package/dist/esm/models/ListTenantsResponse.js +4 -4
- package/dist/esm/models/ListWebhooksResponse.d.ts +12 -6
- package/dist/esm/models/ListWebhooksResponse.js +9 -5
- package/dist/esm/models/LogoutResponse.d.ts +6 -6
- package/dist/esm/models/LogoutResponse.js +6 -6
- package/dist/esm/models/MakePublicRequest.d.ts +3 -3
- package/dist/esm/models/MakePublicRequest.js +2 -2
- package/dist/esm/models/MakePublicResponse.d.ts +38 -0
- package/dist/esm/models/MakePublicResponse.js +54 -0
- package/dist/esm/models/Meter.d.ts +14 -14
- package/dist/esm/models/Meter.js +12 -12
- package/dist/esm/models/MeterChange.d.ts +8 -18
- package/dist/esm/models/MeterChange.js +8 -18
- package/dist/esm/models/MeterChanges.d.ts +9 -9
- package/dist/esm/models/MeterChanges.js +4 -4
- package/dist/esm/models/MeterCustomerMapping.d.ts +5 -12
- package/dist/esm/models/MeterCustomerMapping.js +2 -9
- package/dist/esm/models/MeterDefaultAggregation.d.ts +4 -13
- package/dist/esm/models/MeterDefaultAggregation.js +2 -11
- package/dist/esm/models/MeterValueSettings.d.ts +3 -3
- package/dist/esm/models/MeterValueSettings.js +2 -2
- package/dist/esm/models/MeterWithStripeID.d.ts +17 -17
- package/dist/esm/models/MeterWithStripeID.js +12 -12
- package/dist/esm/models/MigrationsDownResponse.d.ts +32 -0
- package/dist/esm/models/MigrationsDownResponse.js +50 -0
- package/dist/esm/models/NamespaceDefinitionResponse.d.ts +58 -0
- package/dist/esm/models/NamespaceDefinitionResponse.js +66 -0
- package/dist/esm/models/NotFound.d.ts +0 -6
- package/dist/esm/models/NotFound.js +0 -4
- package/dist/esm/models/NotFoundResponse.d.ts +0 -6
- package/dist/esm/models/NotFoundResponse.js +0 -4
- package/dist/esm/models/Price.d.ts +114 -7
- package/dist/esm/models/Price.js +53 -24
- package/dist/esm/models/PriceChange.d.ts +9 -19
- package/dist/esm/models/PriceChange.js +6 -16
- package/dist/esm/models/PriceChanges.d.ts +9 -9
- package/dist/esm/models/PriceChanges.js +4 -4
- package/dist/esm/models/PriceDisplay.d.ts +5 -5
- package/dist/esm/models/PriceDisplay.js +2 -2
- package/dist/esm/models/PriceLimit.d.ts +9 -9
- package/dist/esm/models/PriceLimit.js +4 -4
- package/dist/esm/models/PriceUI.d.ts +15 -15
- package/dist/esm/models/PriceUI.js +6 -6
- package/dist/esm/models/PriceWithStripeID.d.ts +42 -45
- package/dist/esm/models/PriceWithStripeID.js +28 -31
- package/dist/esm/models/Product.d.ts +15 -23
- package/dist/esm/models/Product.js +8 -16
- package/dist/esm/models/ProductChange.d.ts +14 -25
- package/dist/esm/models/ProductChange.js +8 -19
- package/dist/esm/models/ProductChanges.d.ts +9 -9
- package/dist/esm/models/ProductChanges.js +4 -4
- package/dist/esm/models/ProductUI.d.ts +19 -19
- package/dist/esm/models/ProductUI.js +8 -8
- package/dist/esm/models/ProductWithStripeIDs.d.ts +18 -26
- package/dist/esm/models/ProductWithStripeIDs.js +8 -16
- package/dist/esm/models/PromotionCode.d.ts +31 -31
- package/dist/esm/models/PromotionCode.js +16 -16
- package/dist/esm/models/PromotionCodeChange.d.ts +8 -20
- package/dist/esm/models/PromotionCodeChange.js +8 -20
- package/dist/esm/models/PromotionCodeChanges.d.ts +9 -9
- package/dist/esm/models/PromotionCodeChanges.js +4 -4
- package/dist/esm/models/PromotionCodeWithStripeID.d.ts +27 -27
- package/dist/esm/models/PromotionCodeWithStripeID.js +14 -14
- package/dist/esm/models/RecordUsageRequest.d.ts +4 -4
- package/dist/esm/models/RecordUsageRequest.js +2 -2
- package/dist/esm/models/RecoveryIdentityAddress.d.ts +62 -0
- package/dist/esm/models/RecoveryIdentityAddress.js +64 -0
- package/dist/esm/models/RemoveRequest.d.ts +38 -0
- package/dist/esm/models/RemoveRequest.js +52 -0
- package/dist/esm/models/RemoveResponse.d.ts +44 -0
- package/dist/esm/models/RemoveResponse.js +58 -0
- package/dist/esm/models/RemoveSubscriptionResponse.d.ts +3 -3
- package/dist/esm/models/RemoveSubscriptionResponse.js +9 -3
- package/dist/esm/models/Role.d.ts +6 -0
- package/dist/esm/models/Role.js +2 -0
- package/dist/esm/models/SendRequest.d.ts +50 -0
- package/dist/esm/models/SendRequest.js +60 -0
- package/dist/esm/models/SendResponse.d.ts +32 -0
- package/dist/esm/models/SendResponse.js +50 -0
- package/dist/esm/models/Session.d.ts +95 -0
- package/dist/esm/models/Session.js +73 -0
- package/dist/esm/models/SessionAuthenticationMethod.d.ts +62 -0
- package/dist/esm/models/SessionAuthenticationMethod.js +58 -0
- package/dist/esm/models/SessionDevice.d.ts +56 -0
- package/dist/esm/models/SessionDevice.js +58 -0
- package/dist/esm/models/SessionResponse.d.ts +14 -12
- package/dist/esm/models/SessionResponse.js +13 -11
- package/dist/esm/models/StripeConfigResponse.d.ts +15 -15
- package/dist/esm/models/StripeConfigResponse.js +12 -12
- package/dist/esm/models/StripeConfiguration.d.ts +20 -20
- package/dist/esm/models/StripeConfiguration.js +12 -12
- package/dist/esm/models/StripeConfigurationWithIDs.d.ts +15 -22
- package/dist/esm/models/StripeConfigurationWithIDs.js +10 -13
- package/dist/esm/models/SubjectSetRequest.d.ts +6 -6
- package/dist/esm/models/SubjectSetRequest.js +2 -2
- package/dist/esm/models/SubscriptionResponse.d.ts +27 -27
- package/dist/esm/models/SubscriptionResponse.js +21 -21
- package/dist/esm/models/SwitchActiveRequest.d.ts +32 -0
- package/dist/esm/models/SwitchActiveRequest.js +50 -0
- package/dist/esm/models/SwitchActiveResponse.d.ts +38 -0
- package/dist/esm/models/SwitchActiveResponse.js +54 -0
- package/dist/esm/models/TenantPayload.d.ts +74 -0
- package/dist/esm/models/TenantPayload.js +72 -0
- package/dist/esm/models/Tier.d.ts +9 -10
- package/dist/esm/models/Tier.js +6 -5
- package/dist/esm/models/TooManyRequestsResponse.d.ts +0 -6
- package/dist/esm/models/TooManyRequestsResponse.js +0 -4
- package/dist/esm/models/Unauthorized.d.ts +0 -6
- package/dist/esm/models/Unauthorized.js +0 -4
- package/dist/esm/models/UnauthorizedResponse.d.ts +0 -6
- package/dist/esm/models/UnauthorizedResponse.js +0 -4
- package/dist/esm/models/UpdateInvoiceRequest.d.ts +4 -4
- package/dist/esm/models/UpdateInvoiceRequest.js +2 -2
- package/dist/esm/models/UpdateRolePermissionsRow.d.ts +74 -0
- package/dist/esm/models/UpdateRolePermissionsRow.js +78 -0
- package/dist/esm/models/UpdateRoleRequest.d.ts +5 -5
- package/dist/esm/models/UpdateRoleRequest.js +3 -3
- package/dist/esm/models/UpdateUserRoleRequest.d.ts +38 -0
- package/dist/esm/models/UpdateUserRoleRequest.js +54 -0
- package/dist/esm/models/UpdateUserRoleResponse.d.ts +32 -0
- package/dist/esm/models/UpdateUserRoleResponse.js +50 -0
- package/dist/esm/models/UploadRequest.d.ts +8 -8
- package/dist/esm/models/UploadRequest.js +4 -4
- package/dist/esm/models/UploadResponse.d.ts +7 -7
- package/dist/esm/models/UploadResponse.js +8 -8
- package/dist/esm/models/UpsertTemplateRequest.d.ts +44 -0
- package/dist/esm/models/UpsertTemplateRequest.js +58 -0
- package/dist/esm/models/UpsertTemplateResponse.d.ts +39 -0
- package/dist/esm/models/UpsertTemplateResponse.js +55 -0
- package/dist/esm/models/UserResponse.d.ts +56 -0
- package/dist/esm/models/UserResponse.js +66 -0
- package/dist/esm/models/UserTenantListItem.d.ts +9 -9
- package/dist/esm/models/UserTenantListItem.js +7 -7
- package/dist/esm/models/VerifiableIdentityAddress.d.ts +80 -0
- package/dist/esm/models/VerifiableIdentityAddress.js +72 -0
- package/dist/esm/models/WebhookChange.d.ts +10 -19
- package/dist/esm/models/WebhookChange.js +11 -16
- package/dist/esm/models/WebhookChanges.d.ts +9 -9
- package/dist/esm/models/WebhookChanges.js +4 -4
- package/dist/esm/models/WebhookEndpointConfig.d.ts +14 -74
- package/dist/esm/models/WebhookEndpointConfig.js +8 -68
- package/dist/esm/models/WhoAmIBody.d.ts +38 -0
- package/dist/esm/models/WhoAmIBody.js +54 -0
- package/dist/esm/models/index.d.ts +59 -139
- package/dist/esm/models/index.js +59 -139
- package/dist/esm/runtime.d.ts +2 -2
- package/dist/esm/runtime.js +2 -2
- package/dist/models/AcceptRequest.d.ts +32 -0
- package/dist/models/AcceptRequest.js +50 -0
- package/dist/models/AcceptResponse.d.ts +44 -0
- package/dist/models/AcceptResponse.js +58 -0
- package/dist/models/ActiveTenantResponse.d.ts +6 -6
- package/dist/models/ActiveTenantResponse.js +5 -5
- package/dist/models/AddLineItemByPriceRequest.d.ts +64 -0
- package/dist/models/AddLineItemByPriceRequest.js +64 -0
- package/dist/models/AddLineItemRequest.d.ts +44 -0
- package/dist/models/AddLineItemRequest.js +58 -0
- package/dist/models/AddRequest.d.ts +44 -0
- package/dist/models/AddRequest.js +54 -0
- package/dist/models/AddResponse.d.ts +44 -0
- package/dist/models/AddResponse.js +58 -0
- package/dist/models/AddSubscriptionResponse.d.ts +3 -3
- package/dist/models/AddSubscriptionResponse.js +9 -3
- package/dist/models/AppliedMigration.d.ts +38 -0
- package/dist/models/AppliedMigration.js +54 -0
- package/dist/models/ApplyEnterpriseCustomRequest.d.ts +6 -6
- package/dist/models/ApplyEnterpriseCustomRequest.js +6 -6
- package/dist/models/ApplyEnterpriseTemplateRequest.d.ts +6 -6
- package/dist/models/ApplyEnterpriseTemplateRequest.js +6 -6
- package/dist/models/ApplyMigrationsResponse.d.ts +38 -0
- package/dist/models/ApplyMigrationsResponse.js +54 -0
- package/dist/models/ArchiveAllResponse.d.ts +13 -13
- package/dist/models/ArchiveAllResponse.js +8 -8
- package/dist/models/AuthTenantInvite.d.ts +80 -0
- package/dist/models/AuthTenantInvite.js +82 -0
- package/dist/models/BadRequest.d.ts +0 -6
- package/dist/models/BadRequest.js +0 -4
- package/dist/models/BadRequestResponse.d.ts +0 -6
- package/dist/models/BadRequestResponse.js +0 -4
- package/dist/models/BillingStatusResponse.d.ts +3 -3
- package/dist/models/BillingStatusResponse.js +2 -2
- package/dist/models/CalculatePriceCostRequest.d.ts +3 -3
- package/dist/models/CalculatePriceCostRequest.js +2 -2
- package/dist/models/CalculatePriceCostResponse.d.ts +17 -33
- package/dist/models/CalculatePriceCostResponse.js +15 -30
- package/dist/models/CheckRequest.d.ts +51 -0
- package/dist/models/CheckRequest.js +63 -0
- package/dist/models/CheckResponse.d.ts +32 -0
- package/dist/models/CheckResponse.js +50 -0
- package/dist/models/ConfigChanges.d.ts +68 -0
- package/dist/models/ConfigChanges.js +64 -0
- package/dist/models/ConfigHistoryItem.d.ts +17 -17
- package/dist/models/ConfigHistoryItem.js +14 -14
- package/dist/models/ConfigHistoryPagination.d.ts +18 -18
- package/dist/models/ConfigHistoryPagination.js +13 -13
- package/dist/models/ConfigHistoryResponse.d.ts +4 -4
- package/dist/models/ConfigHistoryResponse.js +4 -4
- package/dist/models/ConfigResponse.d.ts +52 -0
- package/dist/models/ConfigResponse.js +58 -0
- package/dist/models/ConflictResponse.d.ts +0 -6
- package/dist/models/ConflictResponse.js +0 -4
- package/dist/models/ConvertStripeIDResponse.d.ts +56 -0
- package/dist/models/ConvertStripeIDResponse.js +66 -0
- package/dist/models/Coupon.d.ts +35 -36
- package/dist/models/Coupon.js +18 -19
- package/dist/models/CouponChange.d.ts +9 -21
- package/dist/models/CouponChange.js +6 -18
- package/dist/models/CouponChanges.d.ts +9 -9
- package/dist/models/CouponChanges.js +4 -4
- package/dist/models/CouponWithStripeID.d.ts +35 -36
- package/dist/models/CouponWithStripeID.js +16 -17
- package/dist/models/CreateCheckoutRequest.d.ts +17 -17
- package/dist/models/CreateCheckoutRequest.js +10 -10
- package/dist/models/CreateCheckoutResponse.d.ts +6 -6
- package/dist/models/CreateCheckoutResponse.js +6 -6
- package/dist/models/CreateInvoiceRequest.d.ts +29 -10
- package/dist/models/CreateInvoiceRequest.js +16 -5
- package/dist/models/CreateOrUpdateEmailTemplate200Response.d.ts +6 -6
- package/dist/models/CreateOrUpdateEmailTemplate200Response.js +5 -7
- package/dist/models/CreatePortalRequest.d.ts +3 -3
- package/dist/models/CreatePortalRequest.js +2 -2
- package/dist/models/CreatePortalResponse.d.ts +3 -3
- package/dist/models/CreatePortalResponse.js +2 -2
- package/dist/models/CreateRelationshipRequest.d.ts +6 -6
- package/dist/models/CreateRelationshipRequest.js +2 -2
- package/dist/models/CreateRelationshipResponse.d.ts +4 -11
- package/dist/models/CreateRelationshipResponse.js +2 -7
- package/dist/models/CreateRequest.d.ts +44 -0
- package/dist/models/CreateRequest.js +58 -0
- package/dist/models/CreateResponse.d.ts +39 -0
- package/dist/models/CreateResponse.js +55 -0
- package/dist/models/CreateRoleRequest.d.ts +9 -9
- package/dist/models/CreateRoleRequest.js +6 -6
- package/dist/models/CreateRoleRow.d.ts +74 -0
- package/dist/models/CreateRoleRow.js +78 -0
- package/dist/models/CreateTenantRequest.d.ts +9 -17
- package/dist/models/CreateTenantRequest.js +9 -13
- package/dist/models/CreateTenantResponse.d.ts +8 -8
- package/dist/models/CreateTenantResponse.js +5 -5
- package/dist/models/CreateUserRequest.d.ts +9 -9
- package/dist/models/CreateUserRequest.js +7 -7
- package/dist/models/DeleteEmailTemplate200Response.d.ts +2 -9
- package/dist/models/DeleteEmailTemplate200Response.js +2 -7
- package/dist/models/DeleteObjectRequest.d.ts +3 -3
- package/dist/models/DeleteObjectRequest.js +2 -2
- package/dist/models/DeleteObjectResponse.d.ts +32 -0
- package/dist/models/DeleteObjectResponse.js +50 -0
- package/dist/models/DeleteRelationshipRequest.d.ts +6 -6
- package/dist/models/DeleteRelationshipRequest.js +2 -2
- package/dist/models/DeleteRelationshipResponse.d.ts +4 -4
- package/dist/models/DeleteRelationshipResponse.js +2 -2
- package/dist/models/DeleteRequest.d.ts +32 -0
- package/dist/models/DeleteRequest.js +50 -0
- package/dist/models/DeleteTemplateResponse.d.ts +32 -0
- package/dist/models/DeleteTemplateResponse.js +50 -0
- package/dist/models/DeleteTenantResponse.d.ts +4 -4
- package/dist/models/DeleteTenantResponse.js +2 -2
- package/dist/models/DeployNamespacesResponse.d.ts +56 -0
- package/dist/models/DeployNamespacesResponse.js +64 -0
- package/dist/models/DownloadRequest.d.ts +3 -3
- package/dist/models/DownloadRequest.js +2 -2
- package/dist/models/DownloadResponse.d.ts +3 -3
- package/dist/models/DownloadResponse.js +2 -2
- package/dist/models/EmailTemplate.d.ts +15 -15
- package/dist/models/EmailTemplate.js +13 -13
- package/dist/models/EnterpriseApplyResponse.d.ts +12 -12
- package/dist/models/EnterpriseApplyResponse.js +6 -6
- package/dist/models/EnterprisePricesResponse.d.ts +8 -8
- package/dist/models/EnterprisePricesResponse.js +6 -6
- package/dist/models/ErrorDetail.d.ts +44 -0
- package/dist/models/ErrorDetail.js +52 -0
- package/dist/models/ErrorModel.d.ts +63 -0
- package/dist/models/ErrorModel.js +59 -0
- package/dist/models/ErrorResponse.d.ts +0 -6
- package/dist/models/ErrorResponse.js +0 -4
- package/dist/models/FinalizeRequest.d.ts +32 -0
- package/dist/models/FinalizeRequest.js +48 -0
- package/dist/models/ForbiddenResponse.d.ts +0 -6
- package/dist/models/ForbiddenResponse.js +0 -4
- package/dist/models/FormFile.d.ts +50 -0
- package/dist/models/FormFile.js +62 -0
- package/dist/models/GetEmailTemplates200Response.d.ts +6 -6
- package/dist/models/GetEmailTemplates200Response.js +5 -7
- package/dist/models/GetMeterResponse.d.ts +33 -0
- package/dist/models/GetMeterResponse.js +51 -0
- package/dist/models/GetPriceResponse.d.ts +40 -0
- package/dist/models/GetPriceResponse.js +56 -0
- package/dist/models/GetProductResponse.d.ts +33 -0
- package/dist/models/GetProductResponse.js +51 -0
- package/dist/models/GetTenantBillingStatus200Response.d.ts +3 -10
- package/dist/models/GetTenantBillingStatus200Response.js +3 -6
- package/dist/models/GetTenantByIDRow.d.ts +74 -0
- package/dist/models/GetTenantByIDRow.js +78 -0
- package/dist/models/GetTenantByStripeCustomerIDRow.d.ts +74 -0
- package/dist/models/GetTenantByStripeCustomerIDRow.js +78 -0
- package/dist/models/GetTenantJWT200Response.d.ts +3 -10
- package/dist/models/GetTenantJWT200Response.js +3 -6
- package/dist/models/Identity.d.ts +121 -0
- package/dist/models/Identity.js +88 -0
- package/dist/models/IdentityCredentials.d.ts +68 -0
- package/dist/models/IdentityCredentials.js +60 -0
- package/dist/models/IdentityName.d.ts +38 -0
- package/dist/models/IdentityName.js +54 -0
- package/dist/models/InternalServerError.d.ts +0 -6
- package/dist/models/InternalServerError.js +0 -4
- package/dist/models/InternalServerErrorResponse.d.ts +0 -6
- package/dist/models/InternalServerErrorResponse.js +0 -4
- package/dist/models/InvoiceLineItemResponse.d.ts +10 -10
- package/dist/models/InvoiceLineItemResponse.js +9 -5
- package/dist/models/InvoiceResponse.d.ts +17 -17
- package/dist/models/InvoiceResponse.js +16 -10
- package/dist/models/JWTResponse.d.ts +32 -0
- package/dist/models/JWTResponse.js +50 -0
- package/dist/models/ListRolesByTenantRow.d.ts +74 -0
- package/dist/models/ListRolesByTenantRow.js +78 -0
- package/dist/models/ListStripeWebhooksRow.d.ts +80 -0
- package/dist/models/ListStripeWebhooksRow.js +82 -0
- package/dist/models/ListTemplatesResponse.d.ts +39 -0
- package/dist/models/ListTemplatesResponse.js +55 -0
- package/dist/models/ListTenantsResponse.d.ts +3 -3
- package/dist/models/ListTenantsResponse.js +4 -4
- package/dist/models/ListWebhooksResponse.d.ts +12 -6
- package/dist/models/ListWebhooksResponse.js +9 -5
- package/dist/models/LogoutResponse.d.ts +6 -6
- package/dist/models/LogoutResponse.js +6 -6
- package/dist/models/MakePublicRequest.d.ts +3 -3
- package/dist/models/MakePublicRequest.js +2 -2
- package/dist/models/MakePublicResponse.d.ts +38 -0
- package/dist/models/MakePublicResponse.js +54 -0
- package/dist/models/Meter.d.ts +14 -14
- package/dist/models/Meter.js +12 -12
- package/dist/models/MeterChange.d.ts +8 -18
- package/dist/models/MeterChange.js +8 -18
- package/dist/models/MeterChanges.d.ts +9 -9
- package/dist/models/MeterChanges.js +4 -4
- package/dist/models/MeterCustomerMapping.d.ts +5 -12
- package/dist/models/MeterCustomerMapping.js +2 -9
- package/dist/models/MeterDefaultAggregation.d.ts +4 -13
- package/dist/models/MeterDefaultAggregation.js +2 -11
- package/dist/models/MeterValueSettings.d.ts +3 -3
- package/dist/models/MeterValueSettings.js +2 -2
- package/dist/models/MeterWithStripeID.d.ts +17 -17
- package/dist/models/MeterWithStripeID.js +12 -12
- package/dist/models/MigrationsDownResponse.d.ts +32 -0
- package/dist/models/MigrationsDownResponse.js +50 -0
- package/dist/models/NamespaceDefinitionResponse.d.ts +58 -0
- package/dist/models/NamespaceDefinitionResponse.js +66 -0
- package/dist/models/NotFound.d.ts +0 -6
- package/dist/models/NotFound.js +0 -4
- package/dist/models/NotFoundResponse.d.ts +0 -6
- package/dist/models/NotFoundResponse.js +0 -4
- package/dist/models/Price.d.ts +114 -7
- package/dist/models/Price.js +53 -24
- package/dist/models/PriceChange.d.ts +9 -19
- package/dist/models/PriceChange.js +6 -16
- package/dist/models/PriceChanges.d.ts +9 -9
- package/dist/models/PriceChanges.js +4 -4
- package/dist/models/PriceDisplay.d.ts +5 -5
- package/dist/models/PriceDisplay.js +2 -2
- package/dist/models/PriceLimit.d.ts +9 -9
- package/dist/models/PriceLimit.js +4 -4
- package/dist/models/PriceUI.d.ts +15 -15
- package/dist/models/PriceUI.js +6 -6
- package/dist/models/PriceWithStripeID.d.ts +42 -45
- package/dist/models/PriceWithStripeID.js +28 -31
- package/dist/models/Product.d.ts +15 -23
- package/dist/models/Product.js +8 -16
- package/dist/models/ProductChange.d.ts +14 -25
- package/dist/models/ProductChange.js +8 -19
- package/dist/models/ProductChanges.d.ts +9 -9
- package/dist/models/ProductChanges.js +4 -4
- package/dist/models/ProductUI.d.ts +19 -19
- package/dist/models/ProductUI.js +8 -8
- package/dist/models/ProductWithStripeIDs.d.ts +18 -26
- package/dist/models/ProductWithStripeIDs.js +8 -16
- package/dist/models/PromotionCode.d.ts +31 -31
- package/dist/models/PromotionCode.js +16 -16
- package/dist/models/PromotionCodeChange.d.ts +8 -20
- package/dist/models/PromotionCodeChange.js +8 -20
- package/dist/models/PromotionCodeChanges.d.ts +9 -9
- package/dist/models/PromotionCodeChanges.js +4 -4
- package/dist/models/PromotionCodeWithStripeID.d.ts +27 -27
- package/dist/models/PromotionCodeWithStripeID.js +14 -14
- package/dist/models/RecordUsageRequest.d.ts +4 -4
- package/dist/models/RecordUsageRequest.js +2 -2
- package/dist/models/RecoveryIdentityAddress.d.ts +62 -0
- package/dist/models/RecoveryIdentityAddress.js +64 -0
- package/dist/models/RemoveRequest.d.ts +38 -0
- package/dist/models/RemoveRequest.js +52 -0
- package/dist/models/RemoveResponse.d.ts +44 -0
- package/dist/models/RemoveResponse.js +58 -0
- package/dist/models/RemoveSubscriptionResponse.d.ts +3 -3
- package/dist/models/RemoveSubscriptionResponse.js +9 -3
- package/dist/models/Role.d.ts +6 -0
- package/dist/models/Role.js +2 -0
- package/dist/models/SendRequest.d.ts +50 -0
- package/dist/models/SendRequest.js +60 -0
- package/dist/models/SendResponse.d.ts +32 -0
- package/dist/models/SendResponse.js +50 -0
- package/dist/models/Session.d.ts +95 -0
- package/dist/models/Session.js +73 -0
- package/dist/models/SessionAuthenticationMethod.d.ts +62 -0
- package/dist/models/SessionAuthenticationMethod.js +58 -0
- package/dist/models/SessionDevice.d.ts +56 -0
- package/dist/models/SessionDevice.js +58 -0
- package/dist/models/SessionResponse.d.ts +14 -12
- package/dist/models/SessionResponse.js +13 -11
- package/dist/models/StripeConfigResponse.d.ts +15 -15
- package/dist/models/StripeConfigResponse.js +12 -12
- package/dist/models/StripeConfiguration.d.ts +20 -20
- package/dist/models/StripeConfiguration.js +12 -12
- package/dist/models/StripeConfigurationWithIDs.d.ts +15 -22
- package/dist/models/StripeConfigurationWithIDs.js +10 -13
- package/dist/models/SubjectSetRequest.d.ts +6 -6
- package/dist/models/SubjectSetRequest.js +2 -2
- package/dist/models/SubscriptionResponse.d.ts +27 -27
- package/dist/models/SubscriptionResponse.js +21 -21
- package/dist/models/SwitchActiveRequest.d.ts +32 -0
- package/dist/models/SwitchActiveRequest.js +50 -0
- package/dist/models/SwitchActiveResponse.d.ts +38 -0
- package/dist/models/SwitchActiveResponse.js +54 -0
- package/dist/models/TenantPayload.d.ts +74 -0
- package/dist/models/TenantPayload.js +72 -0
- package/dist/models/Tier.d.ts +9 -10
- package/dist/models/Tier.js +6 -5
- package/dist/models/TooManyRequestsResponse.d.ts +0 -6
- package/dist/models/TooManyRequestsResponse.js +0 -4
- package/dist/models/Unauthorized.d.ts +0 -6
- package/dist/models/Unauthorized.js +0 -4
- package/dist/models/UnauthorizedResponse.d.ts +0 -6
- package/dist/models/UnauthorizedResponse.js +0 -4
- package/dist/models/UpdateInvoiceRequest.d.ts +4 -4
- package/dist/models/UpdateInvoiceRequest.js +2 -2
- package/dist/models/UpdateRolePermissionsRow.d.ts +74 -0
- package/dist/models/UpdateRolePermissionsRow.js +78 -0
- package/dist/models/UpdateRoleRequest.d.ts +5 -5
- package/dist/models/UpdateRoleRequest.js +3 -3
- package/dist/models/UpdateUserRoleRequest.d.ts +38 -0
- package/dist/models/UpdateUserRoleRequest.js +54 -0
- package/dist/models/UpdateUserRoleResponse.d.ts +32 -0
- package/dist/models/UpdateUserRoleResponse.js +50 -0
- package/dist/models/UploadRequest.d.ts +8 -8
- package/dist/models/UploadRequest.js +4 -4
- package/dist/models/UploadResponse.d.ts +7 -7
- package/dist/models/UploadResponse.js +8 -8
- package/dist/models/UpsertTemplateRequest.d.ts +44 -0
- package/dist/models/UpsertTemplateRequest.js +58 -0
- package/dist/models/UpsertTemplateResponse.d.ts +39 -0
- package/dist/models/UpsertTemplateResponse.js +55 -0
- package/dist/models/UserResponse.d.ts +56 -0
- package/dist/models/UserResponse.js +66 -0
- package/dist/models/UserTenantListItem.d.ts +9 -9
- package/dist/models/UserTenantListItem.js +7 -7
- package/dist/models/VerifiableIdentityAddress.d.ts +80 -0
- package/dist/models/VerifiableIdentityAddress.js +72 -0
- package/dist/models/WebhookChange.d.ts +10 -19
- package/dist/models/WebhookChange.js +11 -16
- package/dist/models/WebhookChanges.d.ts +9 -9
- package/dist/models/WebhookChanges.js +4 -4
- package/dist/models/WebhookEndpointConfig.d.ts +14 -74
- package/dist/models/WebhookEndpointConfig.js +8 -68
- package/dist/models/WhoAmIBody.d.ts +38 -0
- package/dist/models/WhoAmIBody.js +54 -0
- package/dist/models/index.d.ts +59 -139
- package/dist/models/index.js +59 -139
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Omnibase REST API
|
|
3
|
-
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services.
|
|
3
|
+
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.20.0
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,77 +10,53 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { DeleteObjectRequest, DeleteObjectResponse, DownloadRequest, DownloadResponse, MakePublicRequest, MakePublicResponse, UploadRequest, UploadResponse } from '../models/index';
|
|
14
14
|
export interface DeleteObjectOperationRequest {
|
|
15
15
|
deleteObjectRequest: DeleteObjectRequest;
|
|
16
|
-
xUserId?: string;
|
|
17
|
-
xTenantId?: string;
|
|
18
|
-
xPostgrestToken?: string;
|
|
19
|
-
omnibasePostgrestJwt?: string;
|
|
20
16
|
}
|
|
21
17
|
export interface DownloadFileRequest {
|
|
22
18
|
downloadRequest: DownloadRequest;
|
|
23
|
-
xUserId?: string;
|
|
24
|
-
xTenantId?: string;
|
|
25
|
-
xPostgrestToken?: string;
|
|
26
|
-
omnibasePostgrestJwt?: string;
|
|
27
19
|
}
|
|
28
20
|
export interface MakeFilePublicRequest {
|
|
29
21
|
makePublicRequest: MakePublicRequest;
|
|
30
|
-
xUserId?: string;
|
|
31
|
-
xTenantId?: string;
|
|
32
|
-
xPostgrestToken?: string;
|
|
33
|
-
omnibasePostgrestJwt?: string;
|
|
34
22
|
}
|
|
35
23
|
export interface UploadFileRequest {
|
|
36
24
|
uploadRequest: UploadRequest;
|
|
37
|
-
xUserId?: string;
|
|
38
|
-
xTenantId?: string;
|
|
39
|
-
xPostgrestToken?: string;
|
|
40
|
-
omnibasePostgrestJwt?: string;
|
|
41
25
|
}
|
|
42
26
|
/**
|
|
43
27
|
*
|
|
44
28
|
*/
|
|
45
29
|
export declare class V1StorageApi extends runtime.BaseAPI {
|
|
46
30
|
/**
|
|
47
|
-
* Deletes a file from S3 storage with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Delete permission is checked via PostgREST against the `storage.objects` table. Users must have DELETE permission based on their custom RLS policies. ## Deletion Process 1. Metadata is deleted from database (with RLS check) 2. File is deleted from S3 storage 3. If S3 deletion fails, metadata is already removed (eventual consistency)
|
|
48
31
|
* Delete file from storage
|
|
49
32
|
*/
|
|
50
|
-
deleteObjectRaw(requestParameters: DeleteObjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
33
|
+
deleteObjectRaw(requestParameters: DeleteObjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteObjectResponse>>;
|
|
51
34
|
/**
|
|
52
|
-
* Deletes a file from S3 storage with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Delete permission is checked via PostgREST against the `storage.objects` table. Users must have DELETE permission based on their custom RLS policies. ## Deletion Process 1. Metadata is deleted from database (with RLS check) 2. File is deleted from S3 storage 3. If S3 deletion fails, metadata is already removed (eventual consistency)
|
|
53
35
|
* Delete file from storage
|
|
54
36
|
*/
|
|
55
|
-
deleteObject(requestParameters: DeleteObjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
37
|
+
deleteObject(requestParameters: DeleteObjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteObjectResponse>;
|
|
56
38
|
/**
|
|
57
|
-
* Generates a presigned S3 download URL with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Download permission is checked via PostgREST against the `storage.objects` table. Users must have SELECT permission based on their custom RLS policies. ## Download Process 1. Request presigned URL from this endpoint 2. Download file directly from S3 using returned URL (GET request) ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
58
39
|
* Download file from storage
|
|
59
40
|
*/
|
|
60
|
-
downloadFileRaw(requestParameters: DownloadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
41
|
+
downloadFileRaw(requestParameters: DownloadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DownloadResponse>>;
|
|
61
42
|
/**
|
|
62
|
-
* Generates a presigned S3 download URL with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Download permission is checked via PostgREST against the `storage.objects` table. Users must have SELECT permission based on their custom RLS policies. ## Download Process 1. Request presigned URL from this endpoint 2. Download file directly from S3 using returned URL (GET request) ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
63
43
|
* Download file from storage
|
|
64
44
|
*/
|
|
65
|
-
downloadFile(requestParameters: DownloadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
45
|
+
downloadFile(requestParameters: DownloadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DownloadResponse>;
|
|
66
46
|
/**
|
|
67
|
-
* Makes a storage object publicly accessible to any authenticated user, regardless of tenant. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## Permission Check Requires `make_public` permission via Keto OPL. By default, only the file owner or users with the `can_make_public` relation can make a file public. ## Effect Once public, any authenticated user can download the file without needing a Keto relation or tenant membership.
|
|
68
47
|
* Make a file publicly accessible
|
|
69
48
|
*/
|
|
70
|
-
makeFilePublicRaw(requestParameters: MakeFilePublicRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
49
|
+
makeFilePublicRaw(requestParameters: MakeFilePublicRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MakePublicResponse>>;
|
|
71
50
|
/**
|
|
72
|
-
* Makes a storage object publicly accessible to any authenticated user, regardless of tenant. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## Permission Check Requires `make_public` permission via Keto OPL. By default, only the file owner or users with the `can_make_public` relation can make a file public. ## Effect Once public, any authenticated user can download the file without needing a Keto relation or tenant membership.
|
|
73
51
|
* Make a file publicly accessible
|
|
74
52
|
*/
|
|
75
|
-
makeFilePublic(requestParameters: MakeFilePublicRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
53
|
+
makeFilePublic(requestParameters: MakeFilePublicRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MakePublicResponse>;
|
|
76
54
|
/**
|
|
77
|
-
* Generates a presigned S3 upload URL with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Upload permission is checked via PostgREST against the `storage.objects` table. Users must have INSERT permission based on their custom RLS policies. ## Upload Process 1. Request presigned URL from this endpoint 2. Upload file directly to S3 using returned URL (PUT request) 3. File metadata is automatically stored in database ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
78
55
|
* Upload file to storage
|
|
79
56
|
*/
|
|
80
|
-
uploadFileRaw(requestParameters: UploadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
57
|
+
uploadFileRaw(requestParameters: UploadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadResponse>>;
|
|
81
58
|
/**
|
|
82
|
-
* Generates a presigned S3 upload URL with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Upload permission is checked via PostgREST against the `storage.objects` table. Users must have INSERT permission based on their custom RLS policies. ## Upload Process 1. Request presigned URL from this endpoint 2. Upload file directly to S3 using returned URL (PUT request) 3. File metadata is automatically stored in database ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
83
59
|
* Upload file to storage
|
|
84
60
|
*/
|
|
85
|
-
uploadFile(requestParameters: UploadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
61
|
+
uploadFile(requestParameters: UploadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadResponse>;
|
|
86
62
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Omnibase REST API
|
|
6
|
-
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services.
|
|
6
|
+
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.20.0
|
|
9
9
|
* Contact: support@omnibase.dev
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -63,7 +63,6 @@ const index_1 = require("../models/index");
|
|
|
63
63
|
*/
|
|
64
64
|
class V1StorageApi extends runtime.BaseAPI {
|
|
65
65
|
/**
|
|
66
|
-
* Deletes a file from S3 storage with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Delete permission is checked via PostgREST against the `storage.objects` table. Users must have DELETE permission based on their custom RLS policies. ## Deletion Process 1. Metadata is deleted from database (with RLS check) 2. File is deleted from S3 storage 3. If S3 deletion fails, metadata is already removed (eventual consistency)
|
|
67
66
|
* Delete file from storage
|
|
68
67
|
*/
|
|
69
68
|
deleteObjectRaw(requestParameters, initOverrides) {
|
|
@@ -74,15 +73,6 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
74
73
|
const queryParameters = {};
|
|
75
74
|
const headerParameters = {};
|
|
76
75
|
headerParameters['Content-Type'] = 'application/json';
|
|
77
|
-
if (requestParameters['xUserId'] != null) {
|
|
78
|
-
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
79
|
-
}
|
|
80
|
-
if (requestParameters['xTenantId'] != null) {
|
|
81
|
-
headerParameters['X-Tenant-Id'] = String(requestParameters['xTenantId']);
|
|
82
|
-
}
|
|
83
|
-
if (requestParameters['xPostgrestToken'] != null) {
|
|
84
|
-
headerParameters['X-Postgrest-Token'] = String(requestParameters['xPostgrestToken']);
|
|
85
|
-
}
|
|
86
76
|
if (this.configuration && this.configuration.apiKey) {
|
|
87
77
|
headerParameters["X-Service-Key"] = yield this.configuration.apiKey("X-Service-Key"); // ServiceKeyAuth authentication
|
|
88
78
|
}
|
|
@@ -97,11 +87,10 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
97
87
|
query: queryParameters,
|
|
98
88
|
body: (0, index_1.DeleteObjectRequestToJSON)(requestParameters['deleteObjectRequest']),
|
|
99
89
|
}, initOverrides);
|
|
100
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
90
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DeleteObjectResponseFromJSON)(jsonValue));
|
|
101
91
|
});
|
|
102
92
|
}
|
|
103
93
|
/**
|
|
104
|
-
* Deletes a file from S3 storage with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Delete permission is checked via PostgREST against the `storage.objects` table. Users must have DELETE permission based on their custom RLS policies. ## Deletion Process 1. Metadata is deleted from database (with RLS check) 2. File is deleted from S3 storage 3. If S3 deletion fails, metadata is already removed (eventual consistency)
|
|
105
94
|
* Delete file from storage
|
|
106
95
|
*/
|
|
107
96
|
deleteObject(requestParameters, initOverrides) {
|
|
@@ -111,7 +100,6 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
111
100
|
});
|
|
112
101
|
}
|
|
113
102
|
/**
|
|
114
|
-
* Generates a presigned S3 download URL with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Download permission is checked via PostgREST against the `storage.objects` table. Users must have SELECT permission based on their custom RLS policies. ## Download Process 1. Request presigned URL from this endpoint 2. Download file directly from S3 using returned URL (GET request) ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
115
103
|
* Download file from storage
|
|
116
104
|
*/
|
|
117
105
|
downloadFileRaw(requestParameters, initOverrides) {
|
|
@@ -122,15 +110,6 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
122
110
|
const queryParameters = {};
|
|
123
111
|
const headerParameters = {};
|
|
124
112
|
headerParameters['Content-Type'] = 'application/json';
|
|
125
|
-
if (requestParameters['xUserId'] != null) {
|
|
126
|
-
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
127
|
-
}
|
|
128
|
-
if (requestParameters['xTenantId'] != null) {
|
|
129
|
-
headerParameters['X-Tenant-Id'] = String(requestParameters['xTenantId']);
|
|
130
|
-
}
|
|
131
|
-
if (requestParameters['xPostgrestToken'] != null) {
|
|
132
|
-
headerParameters['X-Postgrest-Token'] = String(requestParameters['xPostgrestToken']);
|
|
133
|
-
}
|
|
134
113
|
if (this.configuration && this.configuration.apiKey) {
|
|
135
114
|
headerParameters["X-Service-Key"] = yield this.configuration.apiKey("X-Service-Key"); // ServiceKeyAuth authentication
|
|
136
115
|
}
|
|
@@ -145,11 +124,10 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
145
124
|
query: queryParameters,
|
|
146
125
|
body: (0, index_1.DownloadRequestToJSON)(requestParameters['downloadRequest']),
|
|
147
126
|
}, initOverrides);
|
|
148
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
127
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DownloadResponseFromJSON)(jsonValue));
|
|
149
128
|
});
|
|
150
129
|
}
|
|
151
130
|
/**
|
|
152
|
-
* Generates a presigned S3 download URL with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Download permission is checked via PostgREST against the `storage.objects` table. Users must have SELECT permission based on their custom RLS policies. ## Download Process 1. Request presigned URL from this endpoint 2. Download file directly from S3 using returned URL (GET request) ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
153
131
|
* Download file from storage
|
|
154
132
|
*/
|
|
155
133
|
downloadFile(requestParameters, initOverrides) {
|
|
@@ -159,7 +137,6 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
159
137
|
});
|
|
160
138
|
}
|
|
161
139
|
/**
|
|
162
|
-
* Makes a storage object publicly accessible to any authenticated user, regardless of tenant. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## Permission Check Requires `make_public` permission via Keto OPL. By default, only the file owner or users with the `can_make_public` relation can make a file public. ## Effect Once public, any authenticated user can download the file without needing a Keto relation or tenant membership.
|
|
163
140
|
* Make a file publicly accessible
|
|
164
141
|
*/
|
|
165
142
|
makeFilePublicRaw(requestParameters, initOverrides) {
|
|
@@ -170,15 +147,6 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
170
147
|
const queryParameters = {};
|
|
171
148
|
const headerParameters = {};
|
|
172
149
|
headerParameters['Content-Type'] = 'application/json';
|
|
173
|
-
if (requestParameters['xUserId'] != null) {
|
|
174
|
-
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
175
|
-
}
|
|
176
|
-
if (requestParameters['xTenantId'] != null) {
|
|
177
|
-
headerParameters['X-Tenant-Id'] = String(requestParameters['xTenantId']);
|
|
178
|
-
}
|
|
179
|
-
if (requestParameters['xPostgrestToken'] != null) {
|
|
180
|
-
headerParameters['X-Postgrest-Token'] = String(requestParameters['xPostgrestToken']);
|
|
181
|
-
}
|
|
182
150
|
if (this.configuration && this.configuration.apiKey) {
|
|
183
151
|
headerParameters["X-Service-Key"] = yield this.configuration.apiKey("X-Service-Key"); // ServiceKeyAuth authentication
|
|
184
152
|
}
|
|
@@ -193,11 +161,10 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
193
161
|
query: queryParameters,
|
|
194
162
|
body: (0, index_1.MakePublicRequestToJSON)(requestParameters['makePublicRequest']),
|
|
195
163
|
}, initOverrides);
|
|
196
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
164
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.MakePublicResponseFromJSON)(jsonValue));
|
|
197
165
|
});
|
|
198
166
|
}
|
|
199
167
|
/**
|
|
200
|
-
* Makes a storage object publicly accessible to any authenticated user, regardless of tenant. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## Permission Check Requires `make_public` permission via Keto OPL. By default, only the file owner or users with the `can_make_public` relation can make a file public. ## Effect Once public, any authenticated user can download the file without needing a Keto relation or tenant membership.
|
|
201
168
|
* Make a file publicly accessible
|
|
202
169
|
*/
|
|
203
170
|
makeFilePublic(requestParameters, initOverrides) {
|
|
@@ -207,7 +174,6 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
207
174
|
});
|
|
208
175
|
}
|
|
209
176
|
/**
|
|
210
|
-
* Generates a presigned S3 upload URL with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Upload permission is checked via PostgREST against the `storage.objects` table. Users must have INSERT permission based on their custom RLS policies. ## Upload Process 1. Request presigned URL from this endpoint 2. Upload file directly to S3 using returned URL (PUT request) 3. File metadata is automatically stored in database ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
211
177
|
* Upload file to storage
|
|
212
178
|
*/
|
|
213
179
|
uploadFileRaw(requestParameters, initOverrides) {
|
|
@@ -218,15 +184,6 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
218
184
|
const queryParameters = {};
|
|
219
185
|
const headerParameters = {};
|
|
220
186
|
headerParameters['Content-Type'] = 'application/json';
|
|
221
|
-
if (requestParameters['xUserId'] != null) {
|
|
222
|
-
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
223
|
-
}
|
|
224
|
-
if (requestParameters['xTenantId'] != null) {
|
|
225
|
-
headerParameters['X-Tenant-Id'] = String(requestParameters['xTenantId']);
|
|
226
|
-
}
|
|
227
|
-
if (requestParameters['xPostgrestToken'] != null) {
|
|
228
|
-
headerParameters['X-Postgrest-Token'] = String(requestParameters['xPostgrestToken']);
|
|
229
|
-
}
|
|
230
187
|
if (this.configuration && this.configuration.apiKey) {
|
|
231
188
|
headerParameters["X-Service-Key"] = yield this.configuration.apiKey("X-Service-Key"); // ServiceKeyAuth authentication
|
|
232
189
|
}
|
|
@@ -241,11 +198,10 @@ class V1StorageApi extends runtime.BaseAPI {
|
|
|
241
198
|
query: queryParameters,
|
|
242
199
|
body: (0, index_1.UploadRequestToJSON)(requestParameters['uploadRequest']),
|
|
243
200
|
}, initOverrides);
|
|
244
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
201
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UploadResponseFromJSON)(jsonValue));
|
|
245
202
|
});
|
|
246
203
|
}
|
|
247
204
|
/**
|
|
248
|
-
* Generates a presigned S3 upload URL with Row-Level Security (RLS) enforcement. ## Authentication - **Session Auth**: Requires JWT token via Cookie (`omnibase_postgrest_jwt`) or Header (`X-Postgrest-Token`) - **Service Key Auth**: Requires X-Service-Key + X-User-Id + X-Tenant-Id + X-Postgrest-Token headers ## RLS Policy Upload permission is checked via PostgREST against the `storage.objects` table. Users must have INSERT permission based on their custom RLS policies. ## Upload Process 1. Request presigned URL from this endpoint 2. Upload file directly to S3 using returned URL (PUT request) 3. File metadata is automatically stored in database ## URL Expiration Presigned URLs are valid for 15 minutes after generation.
|
|
249
205
|
* Upload file to storage
|
|
250
206
|
*/
|
|
251
207
|
uploadFile(requestParameters, initOverrides) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Omnibase REST API
|
|
3
|
-
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services.
|
|
3
|
+
* Self-hostable Backend-as-a-Service providing database management, authentication, payments, storage, and email services.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.20.0
|
|
6
6
|
* Contact: support@omnibase.dev
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApplyEnterpriseCustomRequest,
|
|
13
|
+
import type { ApplyEnterpriseCustomRequest, ApplyEnterpriseTemplateRequest, CalculatePriceCostRequest, CalculatePriceCostResponse, ConvertStripeIDResponse, EnterpriseApplyResponse, EnterprisePricesResponse, GetMeterResponse, GetPriceResponse, GetProductResponse, ListWebhooksResponse, StripeConfigResponse } from '../models/index';
|
|
14
14
|
export interface ApplyEnterpriseCustomOperationRequest {
|
|
15
15
|
applyEnterpriseCustomRequest: ApplyEnterpriseCustomRequest;
|
|
16
16
|
}
|
|
@@ -44,123 +44,99 @@ export interface GetProductByIDRequest {
|
|
|
44
44
|
*/
|
|
45
45
|
export declare class V1StripeApi extends runtime.BaseAPI {
|
|
46
46
|
/**
|
|
47
|
-
* Applies tenant-specific enterprise pricing to a tenant. This swaps the tenant\'s active subscription prices to custom enterprise prices identified by enterprise_id. ## Authentication Requires service key authentication. ## Use Cases - Apply custom negotiated pricing for specific enterprise customers - Tenant-specific pricing overrides - Custom enterprise onboarding ## Flow 1. Validates tenant exists and has Stripe customer ID 2. Fetches all prices with matching `enterprise_id` 3. Swaps subscription item prices to enterprise equivalents 4. Updates tenant\'s `enterprise_id` field for future provisioning
|
|
48
47
|
* Apply custom enterprise pricing
|
|
49
48
|
*/
|
|
50
|
-
applyEnterpriseCustomRaw(requestParameters: ApplyEnterpriseCustomOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
49
|
+
applyEnterpriseCustomRaw(requestParameters: ApplyEnterpriseCustomOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EnterpriseApplyResponse>>;
|
|
51
50
|
/**
|
|
52
|
-
* Applies tenant-specific enterprise pricing to a tenant. This swaps the tenant\'s active subscription prices to custom enterprise prices identified by enterprise_id. ## Authentication Requires service key authentication. ## Use Cases - Apply custom negotiated pricing for specific enterprise customers - Tenant-specific pricing overrides - Custom enterprise onboarding ## Flow 1. Validates tenant exists and has Stripe customer ID 2. Fetches all prices with matching `enterprise_id` 3. Swaps subscription item prices to enterprise equivalents 4. Updates tenant\'s `enterprise_id` field for future provisioning
|
|
53
51
|
* Apply custom enterprise pricing
|
|
54
52
|
*/
|
|
55
|
-
applyEnterpriseCustom(requestParameters: ApplyEnterpriseCustomOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
53
|
+
applyEnterpriseCustom(requestParameters: ApplyEnterpriseCustomOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EnterpriseApplyResponse>;
|
|
56
54
|
/**
|
|
57
|
-
* Applies template-based enterprise pricing to a tenant. This swaps the tenant\'s active subscription prices to the corresponding enterprise template prices. ## Authentication Requires service key authentication. ## Use Cases - Apply pre-defined discount tiers to enterprise customers - Bulk pricing changes for enterprise accounts - Template-based enterprise onboarding ## Flow 1. Validates tenant exists and has Stripe customer ID 2. Fetches all prices with matching `enterprise_template` 3. Swaps subscription item prices to enterprise equivalents 4. Updates tenant\'s `enterprise_template` field for future provisioning
|
|
58
55
|
* Apply enterprise template pricing
|
|
59
56
|
*/
|
|
60
|
-
applyEnterpriseTemplateRaw(requestParameters: ApplyEnterpriseTemplateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
57
|
+
applyEnterpriseTemplateRaw(requestParameters: ApplyEnterpriseTemplateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EnterpriseApplyResponse>>;
|
|
61
58
|
/**
|
|
62
|
-
* Applies template-based enterprise pricing to a tenant. This swaps the tenant\'s active subscription prices to the corresponding enterprise template prices. ## Authentication Requires service key authentication. ## Use Cases - Apply pre-defined discount tiers to enterprise customers - Bulk pricing changes for enterprise accounts - Template-based enterprise onboarding ## Flow 1. Validates tenant exists and has Stripe customer ID 2. Fetches all prices with matching `enterprise_template` 3. Swaps subscription item prices to enterprise equivalents 4. Updates tenant\'s `enterprise_template` field for future provisioning
|
|
63
59
|
* Apply enterprise template pricing
|
|
64
60
|
*/
|
|
65
|
-
applyEnterpriseTemplate(requestParameters: ApplyEnterpriseTemplateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
61
|
+
applyEnterpriseTemplate(requestParameters: ApplyEnterpriseTemplateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EnterpriseApplyResponse>;
|
|
66
62
|
/**
|
|
67
|
-
* Calculates the cost in cents for a given quantity of a price, handling both flat and tiered pricing. ## Authentication No authentication required for public endpoint. ## Pricing Modes - **per_unit**: Simple flat pricing where cost = unit_amount × quantity - **tiered (graduated)**: Each tier\'s price applies only to units in that tier (like tax brackets) - **tiered (volume)**: The applicable tier\'s price applies to ALL units ## Use Cases - Calculate estimated costs for usage preview - Display cost estimates in dashboard - Usage billing calculations
|
|
68
63
|
* Calculate cost for a price
|
|
69
64
|
*/
|
|
70
|
-
calculatePriceCostRaw(requestParameters: CalculatePriceCostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
65
|
+
calculatePriceCostRaw(requestParameters: CalculatePriceCostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalculatePriceCostResponse>>;
|
|
71
66
|
/**
|
|
72
|
-
* Calculates the cost in cents for a given quantity of a price, handling both flat and tiered pricing. ## Authentication No authentication required for public endpoint. ## Pricing Modes - **per_unit**: Simple flat pricing where cost = unit_amount × quantity - **tiered (graduated)**: Each tier\'s price applies only to units in that tier (like tax brackets) - **tiered (volume)**: The applicable tier\'s price applies to ALL units ## Use Cases - Calculate estimated costs for usage preview - Display cost estimates in dashboard - Usage billing calculations
|
|
73
67
|
* Calculate cost for a price
|
|
74
68
|
*/
|
|
75
|
-
calculatePriceCost(requestParameters: CalculatePriceCostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
69
|
+
calculatePriceCost(requestParameters: CalculatePriceCostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalculatePriceCostResponse>;
|
|
76
70
|
/**
|
|
77
|
-
* Converts a Stripe ID (product, price, or meter) to the corresponding config ID. ## Authentication No authentication required for public endpoint. ## Use Cases - Webhook processing - Subscription mapping - Price lookups
|
|
78
71
|
* Convert Stripe ID to config ID
|
|
79
72
|
*/
|
|
80
|
-
convertStripeIDToConfigIDRaw(requestParameters: ConvertStripeIDToConfigIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
73
|
+
convertStripeIDToConfigIDRaw(requestParameters: ConvertStripeIDToConfigIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConvertStripeIDResponse>>;
|
|
81
74
|
/**
|
|
82
|
-
* Converts a Stripe ID (product, price, or meter) to the corresponding config ID. ## Authentication No authentication required for public endpoint. ## Use Cases - Webhook processing - Subscription mapping - Price lookups
|
|
83
75
|
* Convert Stripe ID to config ID
|
|
84
76
|
*/
|
|
85
|
-
convertStripeIDToConfigID(requestParameters: ConvertStripeIDToConfigIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
77
|
+
convertStripeIDToConfigID(requestParameters: ConvertStripeIDToConfigIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConvertStripeIDResponse>;
|
|
86
78
|
/**
|
|
87
|
-
* Retrieves prices filtered by enterprise ID. ## Authentication Requires service key authentication. ## Use Cases - View custom pricing for a specific enterprise - Provisioning services for enterprise tenants
|
|
88
79
|
* Get enterprise prices by ID
|
|
89
80
|
*/
|
|
90
|
-
getEnterprisePricesByIDRaw(requestParameters: GetEnterprisePricesByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
81
|
+
getEnterprisePricesByIDRaw(requestParameters: GetEnterprisePricesByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EnterprisePricesResponse>>;
|
|
91
82
|
/**
|
|
92
|
-
* Retrieves prices filtered by enterprise ID. ## Authentication Requires service key authentication. ## Use Cases - View custom pricing for a specific enterprise - Provisioning services for enterprise tenants
|
|
93
83
|
* Get enterprise prices by ID
|
|
94
84
|
*/
|
|
95
|
-
getEnterprisePricesByID(requestParameters: GetEnterprisePricesByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
85
|
+
getEnterprisePricesByID(requestParameters: GetEnterprisePricesByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EnterprisePricesResponse>;
|
|
96
86
|
/**
|
|
97
|
-
* Retrieves prices filtered by enterprise template. ## Authentication Requires service key authentication. ## Use Cases - List available enterprise prices for a template - Provisioning services for enterprise tenants
|
|
98
87
|
* Get enterprise prices by template
|
|
99
88
|
*/
|
|
100
|
-
getEnterprisePricesByTemplateRaw(requestParameters: GetEnterprisePricesByTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
89
|
+
getEnterprisePricesByTemplateRaw(requestParameters: GetEnterprisePricesByTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EnterprisePricesResponse>>;
|
|
101
90
|
/**
|
|
102
|
-
* Retrieves prices filtered by enterprise template. ## Authentication Requires service key authentication. ## Use Cases - List available enterprise prices for a template - Provisioning services for enterprise tenants
|
|
103
91
|
* Get enterprise prices by template
|
|
104
92
|
*/
|
|
105
|
-
getEnterprisePricesByTemplate(requestParameters: GetEnterprisePricesByTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
93
|
+
getEnterprisePricesByTemplate(requestParameters: GetEnterprisePricesByTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EnterprisePricesResponse>;
|
|
106
94
|
/**
|
|
107
|
-
* Returns a specific billing meter from the Stripe configuration by its config ID. ## Authentication No authentication required for public endpoint. ## Use Cases - Fetch meter details for usage tracking - Display metered billing information - Usage reporting configuration
|
|
108
95
|
* Get meter by ID
|
|
109
96
|
*/
|
|
110
|
-
getMeterByIDRaw(requestParameters: GetMeterByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
97
|
+
getMeterByIDRaw(requestParameters: GetMeterByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetMeterResponse>>;
|
|
111
98
|
/**
|
|
112
|
-
* Returns a specific billing meter from the Stripe configuration by its config ID. ## Authentication No authentication required for public endpoint. ## Use Cases - Fetch meter details for usage tracking - Display metered billing information - Usage reporting configuration
|
|
113
99
|
* Get meter by ID
|
|
114
100
|
*/
|
|
115
|
-
getMeterByID(requestParameters: GetMeterByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
101
|
+
getMeterByID(requestParameters: GetMeterByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetMeterResponse>;
|
|
116
102
|
/**
|
|
117
|
-
* Returns a specific price from the Stripe configuration by its config ID, along with its parent product. ## Authentication No authentication required for public endpoint. ## Use Cases - Fetch price details for checkout - Display specific pricing information - Subscription management
|
|
118
103
|
* Get price by ID
|
|
119
104
|
*/
|
|
120
|
-
getPriceByIDRaw(requestParameters: GetPriceByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
105
|
+
getPriceByIDRaw(requestParameters: GetPriceByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPriceResponse>>;
|
|
121
106
|
/**
|
|
122
|
-
* Returns a specific price from the Stripe configuration by its config ID, along with its parent product. ## Authentication No authentication required for public endpoint. ## Use Cases - Fetch price details for checkout - Display specific pricing information - Subscription management
|
|
123
107
|
* Get price by ID
|
|
124
108
|
*/
|
|
125
|
-
getPriceByID(requestParameters: GetPriceByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
109
|
+
getPriceByID(requestParameters: GetPriceByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPriceResponse>;
|
|
126
110
|
/**
|
|
127
|
-
* Returns a specific product from the Stripe configuration by its config ID, including all its prices. ## Authentication No authentication required for public endpoint. ## Use Cases - Fetch product details - Display product information with all price options - Product catalog pages
|
|
128
111
|
* Get product by ID
|
|
129
112
|
*/
|
|
130
|
-
getProductByIDRaw(requestParameters: GetProductByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
113
|
+
getProductByIDRaw(requestParameters: GetProductByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetProductResponse>>;
|
|
131
114
|
/**
|
|
132
|
-
* Returns a specific product from the Stripe configuration by its config ID, including all its prices. ## Authentication No authentication required for public endpoint. ## Use Cases - Fetch product details - Display product information with all price options - Product catalog pages
|
|
133
115
|
* Get product by ID
|
|
134
116
|
*/
|
|
135
|
-
getProductByID(requestParameters: GetProductByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
117
|
+
getProductByID(requestParameters: GetProductByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetProductResponse>;
|
|
136
118
|
/**
|
|
137
|
-
* Returns the current Stripe configuration with public prices only (filters out enterprise prices). ## Authentication No authentication required for public endpoint. ## Use Cases - Display pricing to users - Build subscription selection UI - Public pricing pages
|
|
138
119
|
* Get public Stripe config
|
|
139
120
|
*/
|
|
140
|
-
getStripeConfigRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
121
|
+
getStripeConfigRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StripeConfigResponse>>;
|
|
141
122
|
/**
|
|
142
|
-
* Returns the current Stripe configuration with public prices only (filters out enterprise prices). ## Authentication No authentication required for public endpoint. ## Use Cases - Display pricing to users - Build subscription selection UI - Public pricing pages
|
|
143
123
|
* Get public Stripe config
|
|
144
124
|
*/
|
|
145
|
-
getStripeConfig(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
125
|
+
getStripeConfig(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StripeConfigResponse>;
|
|
146
126
|
/**
|
|
147
|
-
* Returns the complete Stripe configuration including all prices (both public and enterprise). ## Authentication Requires admin JWT token. ## Use Cases - Admin configuration management - Enterprise pricing display - Configuration auditing
|
|
148
127
|
* Get full Stripe config (admin)
|
|
149
128
|
*/
|
|
150
|
-
getStripeConfigAdminRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
129
|
+
getStripeConfigAdminRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StripeConfigResponse>>;
|
|
151
130
|
/**
|
|
152
|
-
* Returns the complete Stripe configuration including all prices (both public and enterprise). ## Authentication Requires admin JWT token. ## Use Cases - Admin configuration management - Enterprise pricing display - Configuration auditing
|
|
153
131
|
* Get full Stripe config (admin)
|
|
154
132
|
*/
|
|
155
|
-
getStripeConfigAdmin(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
133
|
+
getStripeConfigAdmin(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StripeConfigResponse>;
|
|
156
134
|
/**
|
|
157
|
-
* Retrieves all configured webhook endpoints with their signing secrets. ## Authentication Requires service key authentication. ## Use Cases - List all webhook configurations - Retrieve signing secrets for webhook signature verification - Debug webhook configuration
|
|
158
135
|
* List all webhooks
|
|
159
136
|
*/
|
|
160
|
-
listWebhooksRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
137
|
+
listWebhooksRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListWebhooksResponse>>;
|
|
161
138
|
/**
|
|
162
|
-
* Retrieves all configured webhook endpoints with their signing secrets. ## Authentication Requires service key authentication. ## Use Cases - List all webhook configurations - Retrieve signing secrets for webhook signature verification - Debug webhook configuration
|
|
163
139
|
* List all webhooks
|
|
164
140
|
*/
|
|
165
|
-
listWebhooks(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
141
|
+
listWebhooks(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListWebhooksResponse>;
|
|
166
142
|
}
|