@abyss-project/main 1.0.110 → 1.0.117
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 +31 -2
- package/dist/api/analytics-snapshot.admin.api.d.ts +3 -0
- package/dist/api/analytics-snapshot.admin.api.js +10 -0
- package/dist/api/analytics-snapshot.admin.api.js.map +1 -0
- package/dist/api/analytics-snapshot.api.d.ts +8 -0
- package/dist/api/analytics-snapshot.api.js +23 -0
- package/dist/api/analytics-snapshot.api.js.map +1 -0
- package/dist/api/analytics-snapshot.public.api.d.ts +2 -0
- package/dist/api/analytics-snapshot.public.api.js +7 -0
- package/dist/api/analytics-snapshot.public.api.js.map +1 -0
- package/dist/api/application.admin.api.js +1 -0
- package/dist/api/application.admin.api.js.map +1 -0
- package/dist/api/application.api.js +1 -0
- package/dist/api/application.api.js.map +1 -0
- package/dist/api/asset.api.d.ts +54 -0
- package/dist/api/asset.api.js +43 -0
- package/dist/api/asset.api.js.map +1 -0
- package/dist/api/auth.api.js +1 -0
- package/dist/api/auth.api.js.map +1 -0
- package/dist/api/billing-account.admin.api.d.ts +14 -0
- package/dist/api/billing-account.admin.api.js +59 -0
- package/dist/api/billing-account.admin.api.js.map +1 -0
- package/dist/api/billing-addon-template.admin.api.d.ts +7 -0
- package/dist/api/billing-addon-template.admin.api.js +27 -0
- package/dist/api/billing-addon-template.admin.api.js.map +1 -0
- package/dist/api/billing-plan.admin.api.d.ts +6 -0
- package/dist/api/billing-plan.admin.api.js +21 -0
- package/dist/api/billing-plan.admin.api.js.map +1 -0
- package/dist/api/billing-plan.api.d.ts +4 -0
- package/dist/api/billing-plan.api.js +13 -0
- package/dist/api/billing-plan.api.js.map +1 -0
- package/dist/api/billing.api.d.ts +2 -4
- package/dist/api/billing.api.js +5 -12
- package/dist/api/billing.api.js.map +1 -0
- package/dist/api/config.admin.api.js +1 -0
- package/dist/api/config.admin.api.js.map +1 -0
- package/dist/api/content-share.admin.api.d.ts +20 -0
- package/dist/api/content-share.admin.api.js +77 -0
- package/dist/api/content-share.admin.api.js.map +1 -0
- package/dist/api/content-share.api.d.ts +13 -0
- package/dist/api/content-share.api.js +49 -0
- package/dist/api/content-share.api.js.map +1 -0
- package/dist/api/crash-report.public.api.d.ts +3 -0
- package/dist/api/crash-report.public.api.js +9 -0
- package/dist/api/crash-report.public.api.js.map +1 -0
- package/dist/api/daily-digest.admin.api.d.ts +3 -0
- package/dist/api/daily-digest.admin.api.js +11 -0
- package/dist/api/daily-digest.admin.api.js.map +1 -0
- package/dist/api/daily-digest.api.d.ts +4 -0
- package/dist/api/daily-digest.api.js +13 -0
- package/dist/api/daily-digest.api.js.map +1 -0
- package/dist/api/gift-code.admin.api.js +1 -0
- package/dist/api/gift-code.admin.api.js.map +1 -0
- package/dist/api/gift-code.api.js +1 -0
- package/dist/api/gift-code.api.js.map +1 -0
- package/dist/api/index.d.ts +19 -32
- package/dist/api/index.js +20 -32
- package/dist/api/index.js.map +1 -0
- package/dist/api/invitation.admin.api.d.ts +4 -0
- package/dist/api/invitation.admin.api.js +13 -0
- package/dist/api/invitation.admin.api.js.map +1 -0
- package/dist/api/invitation.api.d.ts +10 -0
- package/dist/api/invitation.api.js +37 -0
- package/dist/api/invitation.api.js.map +1 -0
- package/dist/api/metrics.admin.api.js +1 -0
- package/dist/api/metrics.admin.api.js.map +1 -0
- package/dist/api/monitor.api.js +1 -0
- package/dist/api/monitor.api.js.map +1 -0
- package/dist/api/newsletter.admin.api.js +1 -0
- package/dist/api/newsletter.admin.api.js.map +1 -0
- package/dist/api/notification-preference.api.d.ts +4 -0
- package/dist/api/notification-preference.api.js +19 -0
- package/dist/api/notification-preference.api.js.map +1 -0
- package/dist/api/organization-billing.api.d.ts +73 -0
- package/dist/api/organization-billing.api.js +133 -0
- package/dist/api/organization-billing.api.js.map +1 -0
- package/dist/api/organization-member.admin.api.d.ts +3 -0
- package/dist/api/organization-member.admin.api.js +13 -0
- package/dist/api/organization-member.admin.api.js.map +1 -0
- package/dist/api/organization-member.api.d.ts +5 -7
- package/dist/api/organization-member.api.js +8 -15
- package/dist/api/organization-member.api.js.map +1 -0
- package/dist/api/organization.admin.api.d.ts +3 -1
- package/dist/api/organization.admin.api.js +10 -1
- package/dist/api/organization.admin.api.js.map +1 -0
- package/dist/api/organization.api.d.ts +7 -2
- package/dist/api/organization.api.js +22 -1
- package/dist/api/organization.api.js.map +1 -0
- package/dist/api/project-access.admin.api.d.ts +1 -3
- package/dist/api/project-access.admin.api.js +2 -9
- package/dist/api/project-access.admin.api.js.map +1 -0
- package/dist/api/project-access.api.d.ts +5 -6
- package/dist/api/project-access.api.js +17 -20
- package/dist/api/project-access.api.js.map +1 -0
- package/dist/api/project-api-key.api.d.ts +8 -0
- package/dist/api/project-api-key.api.js +30 -0
- package/dist/api/project-api-key.api.js.map +1 -0
- package/dist/api/project.admin.api.d.ts +2 -2
- package/dist/api/project.admin.api.js +5 -4
- package/dist/api/project.admin.api.js.map +1 -0
- package/dist/api/project.api.d.ts +1 -8
- package/dist/api/project.api.js +2 -29
- package/dist/api/project.api.js.map +1 -0
- package/dist/api/support-ticket-org.api.d.ts +13 -0
- package/dist/api/support-ticket-org.api.js +29 -0
- package/dist/api/support-ticket-org.api.js.map +1 -0
- package/dist/api/support-ticket.admin.api.d.ts +20 -0
- package/dist/api/support-ticket.admin.api.js +43 -0
- package/dist/api/support-ticket.admin.api.js.map +1 -0
- package/dist/api/support-ticket.api.d.ts +13 -0
- package/dist/api/support-ticket.api.js +29 -0
- package/dist/api/support-ticket.api.js.map +1 -0
- package/dist/api/team.api.js +1 -0
- package/dist/api/team.api.js.map +1 -0
- package/dist/api/token-history.admin.api.js +1 -0
- package/dist/api/token-history.admin.api.js.map +1 -0
- package/dist/api/user-billing.api.d.ts +28 -0
- package/dist/api/user-billing.api.js +113 -0
- package/dist/api/user-billing.api.js.map +1 -0
- package/dist/api/user-cookie-consent.api.d.ts +3 -0
- package/dist/api/user-cookie-consent.api.js +13 -0
- package/dist/api/user-cookie-consent.api.js.map +1 -0
- package/dist/api/user-feedback-state.api.d.ts +5 -0
- package/dist/api/user-feedback-state.api.js +21 -0
- package/dist/api/user-feedback-state.api.js.map +1 -0
- package/dist/api/user-notification.admin.api.d.ts +3 -1
- package/dist/api/user-notification.admin.api.js +10 -1
- package/dist/api/user-notification.admin.api.js.map +1 -0
- package/dist/api/user-notification.api.js +1 -0
- package/dist/api/user-notification.api.js.map +1 -0
- package/dist/api/user-sidebar-pin.api.d.ts +6 -0
- package/dist/api/user-sidebar-pin.api.js +21 -0
- package/dist/api/user-sidebar-pin.api.js.map +1 -0
- package/dist/api/user.admin.api.d.ts +1 -2
- package/dist/api/user.admin.api.js +2 -5
- package/dist/api/user.admin.api.js.map +1 -0
- package/dist/api/user.api.d.ts +2 -6
- package/dist/api/user.api.js +6 -24
- package/dist/api/user.api.js.map +1 -0
- package/dist/api/wrapped-report.admin.api.d.ts +5 -0
- package/dist/api/wrapped-report.admin.api.js +17 -0
- package/dist/api/wrapped-report.admin.api.js.map +1 -0
- package/dist/api/wrapped-report.api.d.ts +6 -0
- package/dist/api/wrapped-report.api.js +19 -0
- package/dist/api/wrapped-report.api.js.map +1 -0
- package/dist/api/wrapped-report.public.api.d.ts +2 -0
- package/dist/api/wrapped-report.public.api.js +7 -0
- package/dist/api/wrapped-report.public.api.js.map +1 -0
- package/dist/constants/asset.constants.d.ts +1 -0
- package/dist/constants/asset.constants.js +5 -0
- package/dist/constants/asset.constants.js.map +1 -0
- package/dist/constants/billing-catalog.constants.d.ts +20 -0
- package/dist/constants/billing-catalog.constants.js +199 -0
- package/dist/constants/billing-catalog.constants.js.map +1 -0
- package/dist/constants/index.d.ts +2 -4
- package/dist/constants/index.js +3 -4
- package/dist/constants/index.js.map +1 -0
- package/dist/front/index.js +1 -0
- package/dist/front/index.js.map +1 -0
- package/dist/front/redirection.js +1 -0
- package/dist/front/redirection.js.map +1 -0
- package/dist/index.d.ts +495 -404
- package/dist/index.js +498 -409
- package/dist/index.js.map +1 -0
- package/dist/permissions/ability.d.ts +12 -0
- package/dist/permissions/ability.js +119 -0
- package/dist/permissions/ability.js.map +1 -0
- package/dist/permissions/index.d.ts +3 -0
- package/dist/permissions/index.js +20 -0
- package/dist/permissions/index.js.map +1 -0
- package/dist/permissions/resolve.d.ts +3 -0
- package/dist/permissions/resolve.js +17 -0
- package/dist/permissions/resolve.js.map +1 -0
- package/dist/permissions/share-permission.utils.d.ts +10 -0
- package/dist/permissions/share-permission.utils.js +92 -0
- package/dist/permissions/share-permission.utils.js.map +1 -0
- package/dist/server-sent-events/index.js +1 -0
- package/dist/server-sent-events/index.js.map +1 -0
- package/dist/server-sent-events/protocols/index.d.ts +0 -4
- package/dist/server-sent-events/protocols/index.js +1 -4
- package/dist/server-sent-events/protocols/index.js.map +1 -0
- package/dist/server-sent-events/protocols/user-notification/index.js +1 -0
- package/dist/server-sent-events/protocols/user-notification/index.js.map +1 -0
- package/dist/server-sent-events/protocols/user-notification/user-notification.sse-protocol.js +1 -0
- package/dist/server-sent-events/protocols/user-notification/user-notification.sse-protocol.js.map +1 -0
- package/dist/server-sent-events/server-sent-events.manager.d.ts +1 -0
- package/dist/server-sent-events/server-sent-events.manager.js +14 -5
- package/dist/server-sent-events/server-sent-events.manager.js.map +1 -0
- package/dist/translate/en.translate.d.ts +15 -95
- package/dist/translate/en.translate.js +38 -117
- package/dist/translate/en.translate.js.map +1 -0
- package/dist/translate/fr.translate.d.ts +15 -95
- package/dist/translate/fr.translate.js +37 -116
- package/dist/translate/fr.translate.js.map +1 -0
- package/dist/translate/index.js +1 -0
- package/dist/translate/index.js.map +1 -0
- package/dist/types/enum/abyss-application-event.enum.d.ts +120 -13
- package/dist/types/enum/abyss-application-event.enum.js +120 -12
- package/dist/types/enum/abyss-application-event.enum.js.map +1 -0
- package/dist/types/enum/abyss-service.enum.d.ts +4 -1
- package/dist/types/enum/abyss-service.enum.js +32 -1
- package/dist/types/enum/abyss-service.enum.js.map +1 -0
- package/dist/types/enum/api-error.enum.js +1 -0
- package/dist/types/enum/api-error.enum.js.map +1 -0
- package/dist/types/enum/asset.enum.d.ts +6 -0
- package/dist/types/enum/asset.enum.js +11 -0
- package/dist/types/enum/asset.enum.js.map +1 -0
- package/dist/types/enum/billing-product.enum.js +1 -0
- package/dist/types/enum/billing-product.enum.js.map +1 -0
- package/dist/types/enum/content-scope.enum.d.ts +12 -0
- package/dist/types/enum/content-scope.enum.js +18 -0
- package/dist/types/enum/content-scope.enum.js.map +1 -0
- package/dist/types/enum/content-share.enum.d.ts +48 -0
- package/dist/types/enum/content-share.enum.js +57 -0
- package/dist/types/enum/content-share.enum.js.map +1 -0
- package/dist/types/enum/discord-webhook.enum.js +1 -0
- package/dist/types/enum/discord-webhook.enum.js.map +1 -0
- package/dist/types/enum/eur-transaction-type.enum.d.ts +5 -0
- package/dist/types/enum/eur-transaction-type.enum.js +10 -0
- package/dist/types/enum/eur-transaction-type.enum.js.map +1 -0
- package/dist/types/enum/index.d.ts +15 -8
- package/dist/types/enum/index.js +16 -8
- package/dist/types/enum/index.js.map +1 -0
- package/dist/types/enum/invitation.enum.d.ts +12 -0
- package/dist/types/enum/invitation.enum.js +18 -0
- package/dist/types/enum/invitation.enum.js.map +1 -0
- package/dist/types/enum/measurement-unit.enum.js +1 -0
- package/dist/types/enum/measurement-unit.enum.js.map +1 -0
- package/dist/types/enum/newsletter-type.enum.js +1 -0
- package/dist/types/enum/newsletter-type.enum.js.map +1 -0
- package/dist/types/enum/oauth-account-type.enum.js +1 -0
- package/dist/types/enum/oauth-account-type.enum.js.map +1 -0
- package/dist/types/enum/onboarding-steps.enum.d.ts +5 -3
- package/dist/types/enum/onboarding-steps.enum.js +6 -3
- package/dist/types/enum/onboarding-steps.enum.js.map +1 -0
- package/dist/types/enum/organization-billing.enum.d.ts +136 -0
- package/dist/types/enum/organization-billing.enum.js +155 -0
- package/dist/types/enum/organization-billing.enum.js.map +1 -0
- package/dist/types/enum/organization-integration-type.enum.js +1 -0
- package/dist/types/enum/organization-integration-type.enum.js.map +1 -0
- package/dist/types/enum/organization-legal-form.enum.d.ts +10 -0
- package/dist/types/enum/organization-legal-form.enum.js +15 -0
- package/dist/types/enum/organization-legal-form.enum.js.map +1 -0
- package/dist/types/enum/organization-permission.enum.d.ts +19 -7
- package/dist/types/enum/organization-permission.enum.js +41 -31
- package/dist/types/enum/organization-permission.enum.js.map +1 -0
- package/dist/types/enum/organization-professional-status.enum.d.ts +6 -0
- package/dist/types/enum/organization-professional-status.enum.js +11 -0
- package/dist/types/enum/organization-professional-status.enum.js.map +1 -0
- package/dist/types/enum/plan-template-key.enum.d.ts +8 -0
- package/dist/types/enum/plan-template-key.enum.js +13 -0
- package/dist/types/enum/plan-template-key.enum.js.map +1 -0
- package/dist/types/enum/project-access-permission.enum.js +1 -0
- package/dist/types/enum/project-access-permission.enum.js.map +1 -0
- package/dist/types/enum/project-application-access-permission.enum.js +1 -0
- package/dist/types/enum/project-application-access-permission.enum.js.map +1 -0
- package/dist/types/enum/project-status.enum.js +1 -0
- package/dist/types/enum/project-status.enum.js.map +1 -0
- package/dist/types/enum/sidebar-pin-scope-type.enum.d.ts +6 -0
- package/dist/types/enum/sidebar-pin-scope-type.enum.js +11 -0
- package/dist/types/enum/sidebar-pin-scope-type.enum.js.map +1 -0
- package/dist/types/enum/sidebar-pin-target-type.enum.d.ts +7 -0
- package/dist/types/enum/sidebar-pin-target-type.enum.js +12 -0
- package/dist/types/enum/sidebar-pin-target-type.enum.js.map +1 -0
- package/dist/types/enum/slack-webhook.enum.js +1 -0
- package/dist/types/enum/slack-webhook.enum.js.map +1 -0
- package/dist/types/enum/support-ticket.enum.d.ts +70 -0
- package/dist/types/enum/support-ticket.enum.js +136 -0
- package/dist/types/enum/support-ticket.enum.js.map +1 -0
- package/dist/types/enum/token-type.enum.d.ts +2 -1
- package/dist/types/enum/token-type.enum.js +2 -0
- package/dist/types/enum/token-type.enum.js.map +1 -0
- package/dist/types/enum/user-agent.enum.js +1 -0
- package/dist/types/enum/user-agent.enum.js.map +1 -0
- package/dist/types/enum/user-asset.enum.d.ts +10 -0
- package/dist/types/enum/user-asset.enum.js +16 -0
- package/dist/types/enum/user-asset.enum.js.map +1 -0
- package/dist/types/enum/user-credit-purchase-currency.enum.js +1 -0
- package/dist/types/enum/user-credit-purchase-currency.enum.js.map +1 -0
- package/dist/types/enum/user-language.enum.js +1 -0
- package/dist/types/enum/user-language.enum.js.map +1 -0
- package/dist/types/enum/user-notification-category.enum.d.ts +16 -0
- package/dist/types/enum/user-notification-category.enum.js +112 -0
- package/dist/types/enum/user-notification-category.enum.js.map +1 -0
- package/dist/types/enum/user-notification-content-type.enum.d.ts +213 -192
- package/dist/types/enum/user-notification-content-type.enum.js +46 -33
- package/dist/types/enum/user-notification-content-type.enum.js.map +1 -0
- package/dist/types/enum/user-notification-type.enum.js +1 -0
- package/dist/types/enum/user-notification-type.enum.js.map +1 -0
- package/dist/types/enum/user-professional-status.enum.d.ts +5 -0
- package/dist/types/enum/user-professional-status.enum.js +10 -0
- package/dist/types/enum/user-professional-status.enum.js.map +1 -0
- package/dist/types/enum/user-type.enum.d.ts +1 -0
- package/dist/types/enum/user-type.enum.js +2 -0
- package/dist/types/enum/user-type.enum.js.map +1 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -0
- package/dist/types/interface/api/index.d.ts +37 -64
- package/dist/types/interface/api/index.js +38 -64
- package/dist/types/interface/api/index.js.map +1 -0
- package/dist/types/interface/api/requests/analytics-snapshot.request.d.ts +32 -0
- package/dist/types/interface/api/requests/analytics-snapshot.request.js +3 -0
- package/dist/types/interface/api/requests/analytics-snapshot.request.js.map +1 -0
- package/dist/types/interface/api/requests/application.admin.request.js +1 -0
- package/dist/types/interface/api/requests/application.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/application.request.js +1 -0
- package/dist/types/interface/api/requests/application.request.js.map +1 -0
- package/dist/types/interface/api/requests/asset.request.d.ts +21 -0
- package/dist/types/interface/api/requests/asset.request.js +3 -0
- package/dist/types/interface/api/requests/asset.request.js.map +1 -0
- package/dist/types/interface/api/requests/auth.request.d.ts +1 -1
- package/dist/types/interface/api/requests/auth.request.js +1 -0
- package/dist/types/interface/api/requests/auth.request.js.map +1 -0
- package/dist/types/interface/api/requests/billing-account.admin.request.d.ts +74 -0
- package/dist/types/interface/api/requests/billing-account.admin.request.js +3 -0
- package/dist/types/interface/api/requests/billing-account.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/billing-addon-template.request.d.ts +32 -0
- package/dist/types/interface/api/requests/billing-addon-template.request.js +3 -0
- package/dist/types/interface/api/requests/billing-addon-template.request.js.map +1 -0
- package/dist/types/interface/api/requests/billing-plan.request.d.ts +36 -0
- package/dist/types/interface/api/requests/billing-plan.request.js +3 -0
- package/dist/types/interface/api/requests/billing-plan.request.js.map +1 -0
- package/dist/types/interface/api/requests/billing.request.d.ts +6 -8
- package/dist/types/interface/api/requests/billing.request.js +1 -0
- package/dist/types/interface/api/requests/billing.request.js.map +1 -0
- package/dist/types/interface/api/requests/content-share.request.d.ts +130 -0
- package/dist/types/interface/api/requests/content-share.request.js +3 -0
- package/dist/types/interface/api/requests/content-share.request.js.map +1 -0
- package/dist/types/interface/api/requests/crash-report.public.request.d.ts +13 -0
- package/dist/types/interface/api/requests/crash-report.public.request.js +3 -0
- package/dist/types/interface/api/requests/crash-report.public.request.js.map +1 -0
- package/dist/types/interface/api/requests/daily-digest.request.d.ts +26 -0
- package/dist/types/interface/api/requests/daily-digest.request.js +3 -0
- package/dist/types/interface/api/requests/daily-digest.request.js.map +1 -0
- package/dist/types/interface/api/requests/gift-code.admin.request.d.ts +0 -5
- package/dist/types/interface/api/requests/gift-code.admin.request.js +1 -0
- package/dist/types/interface/api/requests/gift-code.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/gift-code.request.d.ts +0 -2
- package/dist/types/interface/api/requests/gift-code.request.js +1 -0
- package/dist/types/interface/api/requests/gift-code.request.js.map +1 -0
- package/dist/types/interface/api/requests/index.d.ts +36 -0
- package/dist/types/interface/api/requests/index.js +53 -0
- package/dist/types/interface/api/requests/index.js.map +1 -0
- package/dist/types/interface/api/requests/invitation.request.d.ts +39 -0
- package/dist/types/interface/api/requests/invitation.request.js +3 -0
- package/dist/types/interface/api/requests/invitation.request.js.map +1 -0
- package/dist/types/interface/api/requests/newsletter.admin.request.js +1 -0
- package/dist/types/interface/api/requests/newsletter.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/notification-preference.request.d.ts +15 -0
- package/dist/types/interface/api/requests/notification-preference.request.js +3 -0
- package/dist/types/interface/api/requests/notification-preference.request.js.map +1 -0
- package/dist/types/interface/api/requests/organization-billing.request.d.ts +150 -0
- package/dist/types/interface/api/requests/organization-billing.request.js +3 -0
- package/dist/types/interface/api/requests/organization-billing.request.js.map +1 -0
- package/dist/types/interface/api/requests/organization-integration-webhook.request.js +1 -0
- package/dist/types/interface/api/requests/organization-integration-webhook.request.js.map +1 -0
- package/dist/types/interface/api/requests/organization-member.request.d.ts +16 -3
- package/dist/types/interface/api/requests/organization-member.request.js +1 -0
- package/dist/types/interface/api/requests/organization-member.request.js.map +1 -0
- package/dist/types/interface/api/requests/organization.admin.request.d.ts +15 -1
- package/dist/types/interface/api/requests/organization.admin.request.js +1 -0
- package/dist/types/interface/api/requests/organization.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/organization.request.d.ts +29 -1
- package/dist/types/interface/api/requests/organization.request.js +1 -0
- package/dist/types/interface/api/requests/organization.request.js.map +1 -0
- package/dist/types/interface/api/requests/project-access.admin.request.d.ts +9 -20
- package/dist/types/interface/api/requests/project-access.admin.request.js +1 -0
- package/dist/types/interface/api/requests/project-access.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/project-access.request.d.ts +13 -30
- package/dist/types/interface/api/requests/project-access.request.js +1 -0
- package/dist/types/interface/api/requests/project-access.request.js.map +1 -0
- package/dist/types/interface/api/requests/project-api-key.request.d.ts +39 -0
- package/dist/types/interface/api/requests/project-api-key.request.js +3 -0
- package/dist/types/interface/api/requests/project-api-key.request.js.map +1 -0
- package/dist/types/interface/api/requests/project.admin.request.d.ts +8 -4
- package/dist/types/interface/api/requests/project.admin.request.js +1 -0
- package/dist/types/interface/api/requests/project.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/project.request.d.ts +2 -39
- package/dist/types/interface/api/requests/project.request.js +1 -0
- package/dist/types/interface/api/requests/project.request.js.map +1 -0
- package/dist/types/interface/api/requests/support-ticket-admin.request.d.ts +120 -0
- package/dist/types/interface/api/requests/support-ticket-admin.request.js +3 -0
- package/dist/types/interface/api/requests/support-ticket-admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/support-ticket-org.request.d.ts +90 -0
- package/dist/types/interface/api/requests/support-ticket-org.request.js +3 -0
- package/dist/types/interface/api/requests/support-ticket-org.request.js.map +1 -0
- package/dist/types/interface/api/requests/support-ticket.request.d.ts +74 -0
- package/dist/types/interface/api/requests/support-ticket.request.js +3 -0
- package/dist/types/interface/api/requests/support-ticket.request.js.map +1 -0
- package/dist/types/interface/api/requests/team.request.d.ts +3 -0
- package/dist/types/interface/api/requests/team.request.js +1 -0
- package/dist/types/interface/api/requests/team.request.js.map +1 -0
- package/dist/types/interface/api/requests/token-history.admin.request.js +1 -0
- package/dist/types/interface/api/requests/token-history.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/user-billing.request.d.ts +72 -0
- package/dist/types/interface/api/requests/user-billing.request.js +3 -0
- package/dist/types/interface/api/requests/user-billing.request.js.map +1 -0
- package/dist/types/interface/api/requests/user-cookie-consent.request.d.ts +6 -0
- package/dist/types/interface/api/requests/user-cookie-consent.request.js +3 -0
- package/dist/types/interface/api/requests/user-cookie-consent.request.js.map +1 -0
- package/dist/types/interface/api/requests/user-notification.admin.request.d.ts +26 -1
- package/dist/types/interface/api/requests/user-notification.admin.request.js +1 -0
- package/dist/types/interface/api/requests/user-notification.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/user-notification.request.js +1 -0
- package/dist/types/interface/api/requests/user-notification.request.js.map +1 -0
- package/dist/types/interface/api/requests/user-sidebar-pin.request.d.ts +30 -0
- package/dist/types/interface/api/requests/user-sidebar-pin.request.js +3 -0
- package/dist/types/interface/api/requests/user-sidebar-pin.request.js.map +1 -0
- package/dist/types/interface/api/requests/user.admin.request.d.ts +3 -4
- package/dist/types/interface/api/requests/user.admin.request.js +1 -0
- package/dist/types/interface/api/requests/user.admin.request.js.map +1 -0
- package/dist/types/interface/api/requests/user.request.d.ts +12 -34
- package/dist/types/interface/api/requests/user.request.js +1 -0
- package/dist/types/interface/api/requests/user.request.js.map +1 -0
- package/dist/types/interface/api/requests/wrapped-report.request.d.ts +41 -0
- package/dist/types/interface/api/requests/wrapped-report.request.js +3 -0
- package/dist/types/interface/api/requests/wrapped-report.request.js.map +1 -0
- package/dist/types/interface/api/responses/analytics-snapshot.response.d.ts +18 -0
- package/dist/types/interface/api/responses/analytics-snapshot.response.js +3 -0
- package/dist/types/interface/api/responses/analytics-snapshot.response.js.map +1 -0
- package/dist/types/interface/api/responses/application.admin.response.js +1 -0
- package/dist/types/interface/api/responses/application.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/application.response.d.ts +1 -3
- package/dist/types/interface/api/responses/application.response.js +1 -0
- package/dist/types/interface/api/responses/application.response.js.map +1 -0
- package/dist/types/interface/api/responses/asset.response.d.ts +9 -0
- package/dist/types/interface/api/responses/asset.response.js +3 -0
- package/dist/types/interface/api/responses/asset.response.js.map +1 -0
- package/dist/types/interface/api/responses/auth.response.js +1 -0
- package/dist/types/interface/api/responses/auth.response.js.map +1 -0
- package/dist/types/interface/api/responses/billing-account.admin.response.d.ts +50 -0
- package/dist/types/interface/api/responses/billing-account.admin.response.js +3 -0
- package/dist/types/interface/api/responses/billing-account.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/billing-addon-template.response.d.ts +19 -0
- package/dist/types/interface/api/responses/billing-addon-template.response.js +3 -0
- package/dist/types/interface/api/responses/billing-addon-template.response.js.map +1 -0
- package/dist/types/interface/api/responses/billing-plan.response.d.ts +26 -0
- package/dist/types/interface/api/responses/billing-plan.response.js +3 -0
- package/dist/types/interface/api/responses/billing-plan.response.js.map +1 -0
- package/dist/types/interface/api/responses/billing.response.d.ts +4 -16
- package/dist/types/interface/api/responses/billing.response.js +1 -0
- package/dist/types/interface/api/responses/billing.response.js.map +1 -0
- package/dist/types/interface/api/responses/config.admin.response.js +1 -0
- package/dist/types/interface/api/responses/config.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/content-share.response.d.ts +63 -0
- package/dist/types/interface/api/responses/content-share.response.js +3 -0
- package/dist/types/interface/api/responses/content-share.response.js.map +1 -0
- package/dist/types/interface/api/responses/crash-report.public.response.d.ts +1 -0
- package/dist/types/interface/api/responses/crash-report.public.response.js +3 -0
- package/dist/types/interface/api/responses/crash-report.public.response.js.map +1 -0
- package/dist/types/interface/api/responses/daily-digest.response.d.ts +9 -0
- package/dist/types/interface/api/responses/daily-digest.response.js +3 -0
- package/dist/types/interface/api/responses/daily-digest.response.js.map +1 -0
- package/dist/types/interface/api/responses/gift-code.admin.response.d.ts +1 -3
- package/dist/types/interface/api/responses/gift-code.admin.response.js +1 -0
- package/dist/types/interface/api/responses/gift-code.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/gift-code.response.d.ts +0 -1
- package/dist/types/interface/api/responses/gift-code.response.js +1 -0
- package/dist/types/interface/api/responses/gift-code.response.js.map +1 -0
- package/dist/types/interface/api/responses/index.d.ts +37 -0
- package/dist/types/interface/api/responses/index.js +54 -0
- package/dist/types/interface/api/responses/index.js.map +1 -0
- package/dist/types/interface/api/responses/invitation.response.d.ts +56 -0
- package/dist/types/interface/api/responses/invitation.response.js +3 -0
- package/dist/types/interface/api/responses/invitation.response.js.map +1 -0
- package/dist/types/interface/api/responses/metrics.admin.response.js +1 -0
- package/dist/types/interface/api/responses/metrics.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/monitor.response.js +1 -0
- package/dist/types/interface/api/responses/monitor.response.js.map +1 -0
- package/dist/types/interface/api/responses/newsletter.admin.response.js +1 -0
- package/dist/types/interface/api/responses/newsletter.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/notification-preference.response.d.ts +12 -0
- package/dist/types/interface/api/responses/notification-preference.response.js +3 -0
- package/dist/types/interface/api/responses/notification-preference.response.js.map +1 -0
- package/dist/types/interface/api/responses/organization-billing.response.d.ts +115 -0
- package/dist/types/interface/api/responses/organization-billing.response.js +3 -0
- package/dist/types/interface/api/responses/organization-billing.response.js.map +1 -0
- package/dist/types/interface/api/responses/organization-member.response.d.ts +27 -16
- package/dist/types/interface/api/responses/organization-member.response.js +1 -0
- package/dist/types/interface/api/responses/organization-member.response.js.map +1 -0
- package/dist/types/interface/api/responses/organization.admin.response.d.ts +13 -8
- package/dist/types/interface/api/responses/organization.admin.response.js +1 -0
- package/dist/types/interface/api/responses/organization.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/organization.response.d.ts +18 -7
- package/dist/types/interface/api/responses/organization.response.js +1 -0
- package/dist/types/interface/api/responses/organization.response.js.map +1 -0
- package/dist/types/interface/api/responses/project-access.admin.response.d.ts +2 -10
- package/dist/types/interface/api/responses/project-access.admin.response.js +1 -0
- package/dist/types/interface/api/responses/project-access.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/project-access.response.d.ts +16 -21
- package/dist/types/interface/api/responses/project-access.response.js +1 -0
- package/dist/types/interface/api/responses/project-access.response.js.map +1 -0
- package/dist/types/interface/api/responses/project-api-key.response.d.ts +23 -0
- package/dist/types/interface/api/responses/project-api-key.response.js +3 -0
- package/dist/types/interface/api/responses/project-api-key.response.js.map +1 -0
- package/dist/types/interface/api/responses/project.admin.response.d.ts +3 -13
- package/dist/types/interface/api/responses/project.admin.response.js +1 -0
- package/dist/types/interface/api/responses/project.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/project.response.d.ts +3 -40
- package/dist/types/interface/api/responses/project.response.js +1 -0
- package/dist/types/interface/api/responses/project.response.js.map +1 -0
- package/dist/types/interface/api/responses/support-ticket.response.d.ts +68 -0
- package/dist/types/interface/api/responses/support-ticket.response.js +3 -0
- package/dist/types/interface/api/responses/support-ticket.response.js.map +1 -0
- package/dist/types/interface/api/responses/team.response.d.ts +3 -12
- package/dist/types/interface/api/responses/team.response.js +1 -0
- package/dist/types/interface/api/responses/team.response.js.map +1 -0
- package/dist/types/interface/api/responses/token-history.admin.response.js +1 -0
- package/dist/types/interface/api/responses/token-history.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/user-billing.response.d.ts +106 -0
- package/dist/types/interface/api/responses/user-billing.response.js +3 -0
- package/dist/types/interface/api/responses/user-billing.response.js.map +1 -0
- package/dist/types/interface/api/responses/user-cookie-consent.response.d.ts +10 -0
- package/dist/types/interface/api/responses/user-cookie-consent.response.js +3 -0
- package/dist/types/interface/api/responses/user-cookie-consent.response.js.map +1 -0
- package/dist/types/interface/api/responses/user-feedback-state.response.d.ts +7 -0
- package/dist/types/interface/api/responses/user-feedback-state.response.js +3 -0
- package/dist/types/interface/api/responses/user-feedback-state.response.js.map +1 -0
- package/dist/types/interface/api/responses/user-notification.admin.response.d.ts +8 -0
- package/dist/types/interface/api/responses/user-notification.admin.response.js +1 -0
- package/dist/types/interface/api/responses/user-notification.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/user-notification.response.js +1 -0
- package/dist/types/interface/api/responses/user-notification.response.js.map +1 -0
- package/dist/types/interface/api/responses/user-sidebar-pin.response.d.ts +18 -0
- package/dist/types/interface/api/responses/user-sidebar-pin.response.js +3 -0
- package/dist/types/interface/api/responses/user-sidebar-pin.response.js.map +1 -0
- package/dist/types/interface/api/responses/user.admin.response.d.ts +1 -14
- package/dist/types/interface/api/responses/user.admin.response.js +1 -0
- package/dist/types/interface/api/responses/user.admin.response.js.map +1 -0
- package/dist/types/interface/api/responses/user.response.d.ts +3 -18
- package/dist/types/interface/api/responses/user.response.js +1 -0
- package/dist/types/interface/api/responses/user.response.js.map +1 -0
- package/dist/types/interface/api/responses/wrapped-report.response.d.ts +13 -0
- package/dist/types/interface/api/responses/wrapped-report.response.js +3 -0
- package/dist/types/interface/api/responses/wrapped-report.response.js.map +1 -0
- package/dist/types/interface/api/type-message/api-error.js +1 -0
- package/dist/types/interface/api/type-message/api-error.js.map +1 -0
- package/dist/types/interface/api/type-message/base-order.js +1 -0
- package/dist/types/interface/api/type-message/base-order.js.map +1 -0
- package/dist/types/interface/api/type-message/base-paginate.js +1 -0
- package/dist/types/interface/api/type-message/base-paginate.js.map +1 -0
- package/dist/types/interface/api/type-message/response.js +1 -0
- package/dist/types/interface/api/type-message/response.js.map +1 -0
- package/dist/types/interface/index.d.ts +37 -32
- package/dist/types/interface/index.js +38 -32
- package/dist/types/interface/index.js.map +1 -0
- package/dist/types/interface/models/analytics-snapshot.model.d.ts +20 -0
- package/dist/types/interface/models/analytics-snapshot.model.js +3 -0
- package/dist/types/interface/models/analytics-snapshot.model.js.map +1 -0
- package/dist/types/interface/models/application.model.d.ts +1 -1
- package/dist/types/interface/models/application.model.js +1 -0
- package/dist/types/interface/models/application.model.js.map +1 -0
- package/dist/types/interface/models/asset.model.d.ts +21 -0
- package/dist/types/interface/models/asset.model.js +3 -0
- package/dist/types/interface/models/asset.model.js.map +1 -0
- package/dist/types/interface/models/billing-account.model.d.ts +45 -0
- package/dist/types/interface/models/billing-account.model.js +3 -0
- package/dist/types/interface/models/billing-account.model.js.map +1 -0
- package/dist/types/interface/models/billing-addon-template.model.d.ts +15 -0
- package/dist/types/interface/models/billing-addon-template.model.js +3 -0
- package/dist/types/interface/models/billing-addon-template.model.js.map +1 -0
- package/dist/types/interface/models/billing-daily-snapshot.model.d.ts +70 -0
- package/dist/types/interface/models/billing-daily-snapshot.model.js +3 -0
- package/dist/types/interface/models/billing-daily-snapshot.model.js.map +1 -0
- package/dist/types/interface/models/billing-plan-request.model.d.ts +19 -0
- package/dist/types/interface/models/billing-plan-request.model.js +3 -0
- package/dist/types/interface/models/billing-plan-request.model.js.map +1 -0
- package/dist/types/interface/models/billing-quota-cap.model.d.ts +16 -0
- package/dist/types/interface/models/billing-quota-cap.model.js +3 -0
- package/dist/types/interface/models/billing-quota-cap.model.js.map +1 -0
- package/dist/types/interface/models/content-ownership.model.d.ts +12 -0
- package/dist/types/interface/models/content-ownership.model.js +3 -0
- package/dist/types/interface/models/content-ownership.model.js.map +1 -0
- package/dist/types/interface/models/content-share.model.d.ts +19 -0
- package/dist/types/interface/models/content-share.model.js +3 -0
- package/dist/types/interface/models/content-share.model.js.map +1 -0
- package/dist/types/interface/models/credit-transaction.model.d.ts +20 -0
- package/dist/types/interface/models/credit-transaction.model.js +3 -0
- package/dist/types/interface/models/credit-transaction.model.js.map +1 -0
- package/dist/types/interface/models/daily-digest.model.d.ts +11 -0
- package/dist/types/interface/models/daily-digest.model.js +3 -0
- package/dist/types/interface/models/daily-digest.model.js.map +1 -0
- package/dist/types/interface/models/device-token.model.js +1 -0
- package/dist/types/interface/models/device-token.model.js.map +1 -0
- package/dist/types/interface/models/eur-transaction.model.d.ts +20 -0
- package/dist/types/interface/models/eur-transaction.model.js +3 -0
- package/dist/types/interface/models/eur-transaction.model.js.map +1 -0
- package/dist/types/interface/models/gift-code-activation.model.d.ts +4 -3
- package/dist/types/interface/models/gift-code-activation.model.js +1 -0
- package/dist/types/interface/models/gift-code-activation.model.js.map +1 -0
- package/dist/types/interface/models/gift-code.model.d.ts +1 -3
- package/dist/types/interface/models/gift-code.model.js +1 -0
- package/dist/types/interface/models/gift-code.model.js.map +1 -0
- package/dist/types/interface/models/index.d.ts +53 -0
- package/dist/types/interface/models/index.js +70 -0
- package/dist/types/interface/models/index.js.map +1 -0
- package/dist/types/interface/models/invitation.model.d.ts +42 -0
- package/dist/types/interface/models/invitation.model.js +3 -0
- package/dist/types/interface/models/invitation.model.js.map +1 -0
- package/dist/types/interface/models/invoice.model.d.ts +29 -0
- package/dist/types/interface/models/invoice.model.js +3 -0
- package/dist/types/interface/models/invoice.model.js.map +1 -0
- package/dist/types/interface/models/ledger-entry.model.d.ts +17 -0
- package/dist/types/interface/models/ledger-entry.model.js +3 -0
- package/dist/types/interface/models/ledger-entry.model.js.map +1 -0
- package/dist/types/interface/models/newsletter-history.model.js +1 -0
- package/dist/types/interface/models/newsletter-history.model.js.map +1 -0
- package/dist/types/interface/models/newsletter-member.model.js +1 -0
- package/dist/types/interface/models/newsletter-member.model.js.map +1 -0
- package/dist/types/interface/models/notification-preference.model.d.ts +15 -0
- package/dist/types/interface/models/notification-preference.model.js +3 -0
- package/dist/types/interface/models/notification-preference.model.js.map +1 -0
- package/dist/types/interface/models/oauth-account.model.js +1 -0
- package/dist/types/interface/models/oauth-account.model.js.map +1 -0
- package/dist/types/interface/models/organization-integration.model.js +1 -0
- package/dist/types/interface/models/organization-integration.model.js.map +1 -0
- package/dist/types/interface/models/organization-member.model.d.ts +5 -3
- package/dist/types/interface/models/organization-member.model.js +1 -0
- package/dist/types/interface/models/organization-member.model.js.map +1 -0
- package/dist/types/interface/models/organization-project-quota.model.d.ts +15 -0
- package/dist/types/interface/models/organization-project-quota.model.js +3 -0
- package/dist/types/interface/models/organization-project-quota.model.js.map +1 -0
- package/dist/types/interface/models/organization-quota-alert.model.d.ts +11 -0
- package/dist/types/interface/models/organization-quota-alert.model.js +3 -0
- package/dist/types/interface/models/organization-quota-alert.model.js.map +1 -0
- package/dist/types/interface/models/organization-service-quota.model.d.ts +13 -0
- package/dist/types/interface/models/organization-service-quota.model.js +3 -0
- package/dist/types/interface/models/organization-service-quota.model.js.map +1 -0
- package/dist/types/interface/models/organization.model.d.ts +18 -2
- package/dist/types/interface/models/organization.model.js +1 -0
- package/dist/types/interface/models/organization.model.js.map +1 -0
- package/dist/types/interface/models/plan-template.model.d.ts +30 -0
- package/dist/types/interface/models/plan-template.model.js +3 -0
- package/dist/types/interface/models/plan-template.model.js.map +1 -0
- package/dist/types/interface/models/project-access.model.d.ts +4 -11
- package/dist/types/interface/models/project-access.model.js +1 -0
- package/dist/types/interface/models/project-access.model.js.map +1 -0
- package/dist/types/interface/models/project-api-key-application-access.model.d.ts +13 -0
- package/dist/types/interface/models/project-api-key-application-access.model.js +3 -0
- package/dist/types/interface/models/project-api-key-application-access.model.js.map +1 -0
- package/dist/types/interface/models/project-api-key.model.d.ts +15 -0
- package/dist/types/interface/models/project-api-key.model.js +3 -0
- package/dist/types/interface/models/project-api-key.model.js.map +1 -0
- package/dist/types/interface/models/project-application-access.model.js +1 -0
- package/dist/types/interface/models/project-application-access.model.js.map +1 -0
- package/dist/types/interface/models/project.model.d.ts +6 -22
- package/dist/types/interface/models/project.model.js +1 -0
- package/dist/types/interface/models/project.model.js.map +1 -0
- package/dist/types/interface/models/quota-grant.model.d.ts +21 -0
- package/dist/types/interface/models/quota-grant.model.js +3 -0
- package/dist/types/interface/models/quota-grant.model.js.map +1 -0
- package/dist/types/interface/models/report.model.d.ts +0 -23
- package/dist/types/interface/models/report.model.js +1 -0
- package/dist/types/interface/models/report.model.js.map +1 -0
- package/dist/types/interface/models/storage-subtotal.model.d.ts +19 -0
- package/dist/types/interface/models/storage-subtotal.model.js +3 -0
- package/dist/types/interface/models/storage-subtotal.model.js.map +1 -0
- package/dist/types/interface/models/support-ticket-activity.model.d.ts +14 -0
- package/dist/types/interface/models/support-ticket-activity.model.js +3 -0
- package/dist/types/interface/models/support-ticket-activity.model.js.map +1 -0
- package/dist/types/interface/models/support-ticket-attachment.model.d.ts +21 -0
- package/dist/types/interface/models/support-ticket-attachment.model.js +3 -0
- package/dist/types/interface/models/support-ticket-attachment.model.js.map +1 -0
- package/dist/types/interface/models/support-ticket-message.model.d.ts +17 -0
- package/dist/types/interface/models/support-ticket-message.model.js +3 -0
- package/dist/types/interface/models/support-ticket-message.model.js.map +1 -0
- package/dist/types/interface/models/support-ticket-tag.model.d.ts +8 -0
- package/dist/types/interface/models/support-ticket-tag.model.js +3 -0
- package/dist/types/interface/models/support-ticket-tag.model.js.map +1 -0
- package/dist/types/interface/models/support-ticket.model.d.ts +36 -0
- package/dist/types/interface/models/support-ticket.model.js +3 -0
- package/dist/types/interface/models/support-ticket.model.js.map +1 -0
- package/dist/types/interface/models/team-member.model.js +1 -0
- package/dist/types/interface/models/team-member.model.js.map +1 -0
- package/dist/types/interface/models/team-project-access.model.d.ts +2 -0
- package/dist/types/interface/models/team-project-access.model.js +1 -0
- package/dist/types/interface/models/team-project-access.model.js.map +1 -0
- package/dist/types/interface/models/team-project-application-access.model.d.ts +13 -0
- package/dist/types/interface/models/team-project-application-access.model.js +3 -0
- package/dist/types/interface/models/team-project-application-access.model.js.map +1 -0
- package/dist/types/interface/models/team.model.d.ts +1 -1
- package/dist/types/interface/models/team.model.js +1 -0
- package/dist/types/interface/models/team.model.js.map +1 -0
- package/dist/types/interface/models/token-history.model.d.ts +2 -0
- package/dist/types/interface/models/token-history.model.js +1 -0
- package/dist/types/interface/models/token-history.model.js.map +1 -0
- package/dist/types/interface/models/usage-record.model.d.ts +24 -0
- package/dist/types/interface/models/usage-record.model.js +3 -0
- package/dist/types/interface/models/usage-record.model.js.map +1 -0
- package/dist/types/interface/models/user-asset.model.d.ts +17 -0
- package/dist/types/interface/models/user-asset.model.js +3 -0
- package/dist/types/interface/models/user-asset.model.js.map +1 -0
- package/dist/types/interface/models/user-cookie-consent.model.d.ts +14 -0
- package/dist/types/interface/models/user-cookie-consent.model.js +3 -0
- package/dist/types/interface/models/user-cookie-consent.model.js.map +1 -0
- package/dist/types/interface/models/user-feedback-state.model.d.ts +9 -0
- package/dist/types/interface/models/user-feedback-state.model.js +3 -0
- package/dist/types/interface/models/user-feedback-state.model.js.map +1 -0
- package/dist/types/interface/models/user-notification.model.d.ts +6 -1
- package/dist/types/interface/models/user-notification.model.js +1 -0
- package/dist/types/interface/models/user-notification.model.js.map +1 -0
- package/dist/types/interface/models/user-sidebar-pin.model.d.ts +25 -0
- package/dist/types/interface/models/user-sidebar-pin.model.js +3 -0
- package/dist/types/interface/models/user-sidebar-pin.model.js.map +1 -0
- package/dist/types/interface/models/user.model.d.ts +15 -22
- package/dist/types/interface/models/user.model.js +1 -0
- package/dist/types/interface/models/user.model.js.map +1 -0
- package/dist/types/interface/models/webhook-event.model.d.ts +9 -0
- package/dist/types/interface/models/webhook-event.model.js +3 -0
- package/dist/types/interface/models/webhook-event.model.js.map +1 -0
- package/dist/types/interface/models/wrapped-report.model.d.ts +55 -0
- package/dist/types/interface/models/wrapped-report.model.js +15 -0
- package/dist/types/interface/models/wrapped-report.model.js.map +1 -0
- package/dist/types/models/index.js +1 -0
- package/dist/types/models/index.js.map +1 -0
- package/dist/types/models/transfer.model.js +2 -2
- package/dist/types/models/transfer.model.js.map +1 -0
- package/dist/types/session.d.ts +5 -0
- package/dist/types/session.js +1 -0
- package/dist/types/session.js.map +1 -0
- package/dist/types/utils/convert-query.util.js +1 -0
- package/dist/types/utils/convert-query.util.js.map +1 -0
- package/dist/types/utils/email.utils.js +1 -0
- package/dist/types/utils/email.utils.js.map +1 -0
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/types/utils/index.js +1 -1
- package/dist/types/utils/index.js.map +1 -0
- package/dist/types/utils/notifications.type-util.js +1 -0
- package/dist/types/utils/notifications.type-util.js.map +1 -0
- package/dist/types/utils/onboarding.utils.d.ts +1 -6
- package/dist/types/utils/onboarding.utils.js +16 -12
- package/dist/types/utils/onboarding.utils.js.map +1 -0
- package/dist/types/utils/overwrite.util.js +1 -0
- package/dist/types/utils/overwrite.util.js.map +1 -0
- package/dist/types/utils/require-one.util.js +1 -0
- package/dist/types/utils/require-one.util.js.map +1 -0
- package/dist/utils/abyss.utils.js +1 -0
- package/dist/utils/abyss.utils.js.map +1 -0
- package/dist/utils/array.utils.js +1 -0
- package/dist/utils/array.utils.js.map +1 -0
- package/dist/utils/billing.utils.d.ts +2 -0
- package/dist/utils/billing.utils.js +9 -0
- package/dist/utils/billing.utils.js.map +1 -0
- package/dist/utils/byte.utils.js +1 -0
- package/dist/utils/byte.utils.js.map +1 -0
- package/dist/utils/color.utils.js +1 -0
- package/dist/utils/color.utils.js.map +1 -0
- package/dist/utils/compression.utils.js +1 -0
- package/dist/utils/compression.utils.js.map +1 -0
- package/dist/utils/content-scope.utils.d.ts +1 -0
- package/dist/utils/content-scope.utils.js +3 -0
- package/dist/utils/content-scope.utils.js.map +1 -0
- package/dist/utils/content-share-scope.utils.d.ts +22 -0
- package/dist/utils/content-share-scope.utils.js +58 -0
- package/dist/utils/content-share-scope.utils.js.map +1 -0
- package/dist/utils/duration.utils.js +1 -0
- package/dist/utils/duration.utils.js.map +1 -0
- package/dist/utils/enum-to-array.utils.d.ts +2 -2
- package/dist/utils/enum-to-array.utils.js +1 -0
- package/dist/utils/enum-to-array.utils.js.map +1 -0
- package/dist/utils/error.utils.js +1 -0
- package/dist/utils/error.utils.js.map +1 -0
- package/dist/utils/file.utils.js +2 -1
- package/dist/utils/file.utils.js.map +1 -0
- package/dist/utils/import.utils.js +1 -0
- package/dist/utils/import.utils.js.map +1 -0
- package/dist/utils/index.d.ts +6 -4
- package/dist/utils/index.js +7 -4
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/invitation.utils.d.ts +3 -0
- package/dist/utils/invitation.utils.js +17 -0
- package/dist/utils/invitation.utils.js.map +1 -0
- package/dist/utils/is-valid-object.utils.js +1 -0
- package/dist/utils/is-valid-object.utils.js.map +1 -0
- package/dist/utils/notification.utils.js +14 -0
- package/dist/utils/notification.utils.js.map +1 -0
- package/dist/utils/pricing-calculator.utils.d.ts +23 -0
- package/dist/utils/pricing-calculator.utils.js +110 -0
- package/dist/utils/pricing-calculator.utils.js.map +1 -0
- package/dist/utils/resolve-user.utils.d.ts +10 -0
- package/dist/utils/resolve-user.utils.js +32 -0
- package/dist/utils/resolve-user.utils.js.map +1 -0
- package/dist/utils/sleep.utils.js +1 -0
- package/dist/utils/sleep.utils.js.map +1 -0
- package/dist/utils/string.utils.js +1 -0
- package/dist/utils/string.utils.js.map +1 -0
- package/dist/utils/time-period.utils.js +1 -0
- package/dist/utils/time-period.utils.js.map +1 -0
- package/dist/utils/tracking.utils.js +1 -0
- package/dist/utils/tracking.utils.js.map +1 -0
- package/dist/utils/user-language.utils.d.ts +2 -0
- package/dist/utils/user-language.utils.js +11 -0
- package/dist/utils/user-language.utils.js.map +1 -0
- package/package.json +65 -58
- package/tsconfig.json +35 -105
- package/dist/api/atlas-document.api.d.ts +0 -6
- package/dist/api/atlas-document.api.js +0 -26
- package/dist/api/atlas-group.api.d.ts +0 -6
- package/dist/api/atlas-group.api.js +0 -24
- package/dist/api/atlas-page-content.api.d.ts +0 -0
- package/dist/api/atlas-page-content.api.js +0 -1
- package/dist/api/atlas-page.api.d.ts +0 -10
- package/dist/api/atlas-page.api.js +0 -46
- package/dist/api/atlas.api.d.ts +0 -8
- package/dist/api/atlas.api.js +0 -35
- package/dist/api/atlas.public.api.d.ts +0 -4
- package/dist/api/atlas.public.api.js +0 -18
- package/dist/api/board-card-checklist.api.d.ts +0 -8
- package/dist/api/board-card-checklist.api.js +0 -32
- package/dist/api/board-card-comment.api.d.ts +0 -5
- package/dist/api/board-card-comment.api.js +0 -20
- package/dist/api/board-card-document.api.d.ts +0 -4
- package/dist/api/board-card-document.api.js +0 -16
- package/dist/api/board-card.api.d.ts +0 -11
- package/dist/api/board-card.api.js +0 -48
- package/dist/api/board-column.api.d.ts +0 -5
- package/dist/api/board-column.api.js +0 -20
- package/dist/api/board-label.api.d.ts +0 -8
- package/dist/api/board-label.api.js +0 -33
- package/dist/api/board.api.d.ts +0 -8
- package/dist/api/board.api.js +0 -33
- package/dist/api/draw.api.d.ts +0 -8
- package/dist/api/draw.api.js +0 -36
- package/dist/api/draw.public.api.d.ts +0 -5
- package/dist/api/draw.public.api.js +0 -20
- package/dist/api/memo.api.d.ts +0 -8
- package/dist/api/memo.api.js +0 -36
- package/dist/api/report.admin.api.d.ts +0 -8
- package/dist/api/report.admin.api.js +0 -26
- package/dist/api/report.api.d.ts +0 -7
- package/dist/api/report.api.js +0 -24
- package/dist/api/report.public.api.d.ts +0 -4
- package/dist/api/report.public.api.js +0 -10
- package/dist/api/retrospective-card.api.d.ts +0 -6
- package/dist/api/retrospective-card.api.js +0 -26
- package/dist/api/retrospective-member.api.d.ts +0 -5
- package/dist/api/retrospective-member.api.js +0 -20
- package/dist/api/retrospective-section.api.d.ts +0 -6
- package/dist/api/retrospective-section.api.js +0 -26
- package/dist/api/retrospective.api.d.ts +0 -8
- package/dist/api/retrospective.api.js +0 -34
- package/dist/api/retrospective.public.api.d.ts +0 -11
- package/dist/api/retrospective.public.api.js +0 -44
- package/dist/api/short-link.admin.api.d.ts +0 -7
- package/dist/api/short-link.admin.api.js +0 -22
- package/dist/api/short-link.api.d.ts +0 -12
- package/dist/api/short-link.api.js +0 -48
- package/dist/api/short-link.public.api.d.ts +0 -8
- package/dist/api/short-link.public.api.js +0 -32
- package/dist/api/user-credit-purchase.admin.api.d.ts +0 -7
- package/dist/api/user-credit-purchase.admin.api.js +0 -28
- package/dist/api/user-credit-purchase.api.d.ts +0 -3
- package/dist/api/user-credit-purchase.api.js +0 -14
- package/dist/api/user-ticket.admin.api.d.ts +0 -11
- package/dist/api/user-ticket.admin.api.js +0 -49
- package/dist/api/user-ticket.api.d.ts +0 -10
- package/dist/api/user-ticket.api.js +0 -45
- package/dist/api/user-transaction.admin.api.d.ts +0 -5
- package/dist/api/user-transaction.admin.api.js +0 -20
- package/dist/api/user-transaction.api.d.ts +0 -3
- package/dist/api/user-transaction.api.js +0 -14
- package/dist/constants/atlas.constants.d.ts +0 -2
- package/dist/constants/atlas.constants.js +0 -5
- package/dist/constants/board.constants.d.ts +0 -5
- package/dist/constants/board.constants.js +0 -8
- package/dist/constants/memo.constants.d.ts +0 -3
- package/dist/constants/memo.constants.js +0 -6
- package/dist/constants/short-link.constants.d.ts +0 -8
- package/dist/constants/short-link.constants.js +0 -11
- package/dist/expressions/index.d.ts +0 -5
- package/dist/expressions/index.js +0 -16
- package/dist/expressions/mapper.d.ts +0 -9
- package/dist/expressions/mapper.js +0 -90
- package/dist/expressions/parser.d.ts +0 -3
- package/dist/expressions/parser.js +0 -97
- package/dist/expressions/resolver.d.ts +0 -12
- package/dist/expressions/resolver.js +0 -88
- package/dist/expressions/types.d.ts +0 -36
- package/dist/expressions/types.js +0 -2
- package/dist/server-sent-events/protocols/atlas/atlas.sse-protocol.d.ts +0 -74
- package/dist/server-sent-events/protocols/atlas/atlas.sse-protocol.js +0 -21
- package/dist/server-sent-events/protocols/atlas/index.d.ts +0 -1
- package/dist/server-sent-events/protocols/atlas/index.js +0 -17
- package/dist/server-sent-events/protocols/board/board.sse-protocol.d.ts +0 -91
- package/dist/server-sent-events/protocols/board/board.sse-protocol.js +0 -23
- package/dist/server-sent-events/protocols/board/index.d.ts +0 -1
- package/dist/server-sent-events/protocols/board/index.js +0 -17
- package/dist/server-sent-events/protocols/board-card/board-card.sse-protocol.d.ts +0 -18
- package/dist/server-sent-events/protocols/board-card/board-card.sse-protocol.js +0 -11
- package/dist/server-sent-events/protocols/board-card/index.d.ts +0 -1
- package/dist/server-sent-events/protocols/board-card/index.js +0 -17
- package/dist/server-sent-events/protocols/retrospective/index.d.ts +0 -1
- package/dist/server-sent-events/protocols/retrospective/index.js +0 -17
- package/dist/server-sent-events/protocols/retrospective/retrospective.sse-protocol.d.ts +0 -69
- package/dist/server-sent-events/protocols/retrospective/retrospective.sse-protocol.js +0 -21
- package/dist/types/draw.type.d.ts +0 -132
- package/dist/types/draw.type.js +0 -15
- package/dist/types/enum/board-activity.enum.d.ts +0 -170
- package/dist/types/enum/board-activity.enum.js +0 -37
- package/dist/types/enum/board-column-type.enum.d.ts +0 -6
- package/dist/types/enum/board-column-type.enum.js +0 -10
- package/dist/types/enum/gift-code-type.enum.d.ts +0 -3
- package/dist/types/enum/gift-code-type.enum.js +0 -7
- package/dist/types/enum/integration-type.enum.d.ts +0 -4
- package/dist/types/enum/integration-type.enum.js +0 -8
- package/dist/types/enum/invoice-status.enum.d.ts +0 -7
- package/dist/types/enum/invoice-status.enum.js +0 -11
- package/dist/types/enum/organization-role.enum.d.ts +0 -6
- package/dist/types/enum/organization-role.enum.js +0 -10
- package/dist/types/enum/organization-subscription-status.enum.d.ts +0 -7
- package/dist/types/enum/organization-subscription-status.enum.js +0 -11
- package/dist/types/enum/plan-billing-period.enum.d.ts +0 -4
- package/dist/types/enum/plan-billing-period.enum.js +0 -8
- package/dist/types/enum/plan-status.enum.d.ts +0 -4
- package/dist/types/enum/plan-status.enum.js +0 -8
- package/dist/types/enum/subscription-level.enum.d.ts +0 -72
- package/dist/types/enum/subscription-level.enum.js +0 -179
- package/dist/types/enum/usage-record-type.enum.d.ts +0 -8
- package/dist/types/enum/usage-record-type.enum.js +0 -12
- package/dist/types/enum/user-credit-purchase-payment-method.enum.d.ts +0 -3
- package/dist/types/enum/user-credit-purchase-payment-method.enum.js +0 -7
- package/dist/types/enum/user-credit-purchase-platform.enum.d.ts +0 -8
- package/dist/types/enum/user-credit-purchase-platform.enum.js +0 -12
- package/dist/types/enum/user-ticket-category.enum.d.ts +0 -10
- package/dist/types/enum/user-ticket-category.enum.js +0 -14
- package/dist/types/enum/user-transaction-type.enum.d.ts +0 -14
- package/dist/types/enum/user-transaction-type.enum.js +0 -18
- package/dist/types/interface/api/requests/atlas-document.request.d.ts +0 -26
- package/dist/types/interface/api/requests/atlas-document.request.js +0 -2
- package/dist/types/interface/api/requests/atlas-group.request.d.ts +0 -40
- package/dist/types/interface/api/requests/atlas-group.request.js +0 -2
- package/dist/types/interface/api/requests/atlas-page.request.d.ts +0 -72
- package/dist/types/interface/api/requests/atlas-page.request.js +0 -2
- package/dist/types/interface/api/requests/atlas.public.request.d.ts +0 -18
- package/dist/types/interface/api/requests/atlas.public.request.js +0 -2
- package/dist/types/interface/api/requests/atlas.request.d.ts +0 -33
- package/dist/types/interface/api/requests/atlas.request.js +0 -2
- package/dist/types/interface/api/requests/board-card-checklist.request.d.ts +0 -55
- package/dist/types/interface/api/requests/board-card-checklist.request.js +0 -2
- package/dist/types/interface/api/requests/board-card-comment.request.d.ts +0 -25
- package/dist/types/interface/api/requests/board-card-comment.request.js +0 -2
- package/dist/types/interface/api/requests/board-card-document.request.d.ts +0 -17
- package/dist/types/interface/api/requests/board-card-document.request.js +0 -2
- package/dist/types/interface/api/requests/board-card.request.d.ts +0 -77
- package/dist/types/interface/api/requests/board-card.request.js +0 -2
- package/dist/types/interface/api/requests/board-column.request.d.ts +0 -26
- package/dist/types/interface/api/requests/board-column.request.js +0 -2
- package/dist/types/interface/api/requests/board-label.request.d.ts +0 -36
- package/dist/types/interface/api/requests/board-label.request.js +0 -2
- package/dist/types/interface/api/requests/board.request.d.ts +0 -25
- package/dist/types/interface/api/requests/board.request.js +0 -2
- package/dist/types/interface/api/requests/draw.public.request.d.ts +0 -17
- package/dist/types/interface/api/requests/draw.public.request.js +0 -2
- package/dist/types/interface/api/requests/draw.request.d.ts +0 -31
- package/dist/types/interface/api/requests/draw.request.js +0 -2
- package/dist/types/interface/api/requests/memo.request.d.ts +0 -29
- package/dist/types/interface/api/requests/memo.request.js +0 -2
- package/dist/types/interface/api/requests/report.admin.request.d.ts +0 -43
- package/dist/types/interface/api/requests/report.admin.request.js +0 -2
- package/dist/types/interface/api/requests/report.public.request.d.ts +0 -3
- package/dist/types/interface/api/requests/report.public.request.js +0 -2
- package/dist/types/interface/api/requests/report.request.d.ts +0 -17
- package/dist/types/interface/api/requests/report.request.js +0 -2
- package/dist/types/interface/api/requests/retrospective-card.request.d.ts +0 -32
- package/dist/types/interface/api/requests/retrospective-card.request.js +0 -2
- package/dist/types/interface/api/requests/retrospective-member.request.d.ts +0 -17
- package/dist/types/interface/api/requests/retrospective-member.request.js +0 -2
- package/dist/types/interface/api/requests/retrospective-section.request.d.ts +0 -36
- package/dist/types/interface/api/requests/retrospective-section.request.js +0 -2
- package/dist/types/interface/api/requests/retrospective.public.request.d.ts +0 -71
- package/dist/types/interface/api/requests/retrospective.public.request.js +0 -2
- package/dist/types/interface/api/requests/retrospective.request.d.ts +0 -39
- package/dist/types/interface/api/requests/retrospective.request.js +0 -2
- package/dist/types/interface/api/requests/short-link.admin.request.d.ts +0 -29
- package/dist/types/interface/api/requests/short-link.admin.request.js +0 -2
- package/dist/types/interface/api/requests/short-link.public.request.d.ts +0 -33
- package/dist/types/interface/api/requests/short-link.public.request.js +0 -2
- package/dist/types/interface/api/requests/short-link.request.d.ts +0 -47
- package/dist/types/interface/api/requests/short-link.request.js +0 -2
- package/dist/types/interface/api/requests/user-credit-purchase.admin.request.d.ts +0 -42
- package/dist/types/interface/api/requests/user-credit-purchase.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-credit-purchase.request.d.ts +0 -9
- package/dist/types/interface/api/requests/user-credit-purchase.request.js +0 -2
- package/dist/types/interface/api/requests/user-ticket.admin.request.d.ts +0 -60
- package/dist/types/interface/api/requests/user-ticket.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-ticket.request.d.ts +0 -49
- package/dist/types/interface/api/requests/user-ticket.request.js +0 -2
- package/dist/types/interface/api/requests/user-transaction.admin.request.d.ts +0 -30
- package/dist/types/interface/api/requests/user-transaction.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-transaction.request.d.ts +0 -8
- package/dist/types/interface/api/requests/user-transaction.request.js +0 -2
- package/dist/types/interface/api/responses/atlas-document.response.d.ts +0 -18
- package/dist/types/interface/api/responses/atlas-document.response.js +0 -2
- package/dist/types/interface/api/responses/atlas-group.response.d.ts +0 -18
- package/dist/types/interface/api/responses/atlas-group.response.js +0 -2
- package/dist/types/interface/api/responses/atlas-page.response.d.ts +0 -43
- package/dist/types/interface/api/responses/atlas-page.response.js +0 -2
- package/dist/types/interface/api/responses/atlas.public.response.d.ts +0 -17
- package/dist/types/interface/api/responses/atlas.public.response.js +0 -2
- package/dist/types/interface/api/responses/atlas.response.d.ts +0 -18
- package/dist/types/interface/api/responses/atlas.response.js +0 -2
- package/dist/types/interface/api/responses/board-card-checklist.response.d.ts +0 -27
- package/dist/types/interface/api/responses/board-card-checklist.response.js +0 -2
- package/dist/types/interface/api/responses/board-card-comment.response.d.ts +0 -17
- package/dist/types/interface/api/responses/board-card-comment.response.js +0 -2
- package/dist/types/interface/api/responses/board-card-document.response.d.ts +0 -13
- package/dist/types/interface/api/responses/board-card-document.response.js +0 -2
- package/dist/types/interface/api/responses/board-card.response.d.ts +0 -47
- package/dist/types/interface/api/responses/board-card.response.js +0 -2
- package/dist/types/interface/api/responses/board-column.response.d.ts +0 -17
- package/dist/types/interface/api/responses/board-column.response.js +0 -2
- package/dist/types/interface/api/responses/board-label.response.d.ts +0 -30
- package/dist/types/interface/api/responses/board-label.response.js +0 -2
- package/dist/types/interface/api/responses/board.response.d.ts +0 -46
- package/dist/types/interface/api/responses/board.response.js +0 -2
- package/dist/types/interface/api/responses/draw.public.response.d.ts +0 -17
- package/dist/types/interface/api/responses/draw.public.response.js +0 -2
- package/dist/types/interface/api/responses/draw.response.d.ts +0 -18
- package/dist/types/interface/api/responses/draw.response.js +0 -2
- package/dist/types/interface/api/responses/memo.response.d.ts +0 -18
- package/dist/types/interface/api/responses/memo.response.js +0 -2
- package/dist/types/interface/api/responses/report.admin.response.d.ts +0 -17
- package/dist/types/interface/api/responses/report.admin.response.js +0 -2
- package/dist/types/interface/api/responses/report.public.response.d.ts +0 -31
- package/dist/types/interface/api/responses/report.public.response.js +0 -2
- package/dist/types/interface/api/responses/report.response.d.ts +0 -11
- package/dist/types/interface/api/responses/report.response.js +0 -2
- package/dist/types/interface/api/responses/retrospective-card.response.d.ts +0 -18
- package/dist/types/interface/api/responses/retrospective-card.response.js +0 -2
- package/dist/types/interface/api/responses/retrospective-member.response.d.ts +0 -18
- package/dist/types/interface/api/responses/retrospective-member.response.js +0 -2
- package/dist/types/interface/api/responses/retrospective-section.response.d.ts +0 -18
- package/dist/types/interface/api/responses/retrospective-section.response.js +0 -2
- package/dist/types/interface/api/responses/retrospective.public.response.d.ts +0 -36
- package/dist/types/interface/api/responses/retrospective.public.response.js +0 -2
- package/dist/types/interface/api/responses/retrospective.response.d.ts +0 -18
- package/dist/types/interface/api/responses/retrospective.response.js +0 -2
- package/dist/types/interface/api/responses/short-link.admin.response.d.ts +0 -16
- package/dist/types/interface/api/responses/short-link.admin.response.js +0 -2
- package/dist/types/interface/api/responses/short-link.public.response.d.ts +0 -20
- package/dist/types/interface/api/responses/short-link.public.response.js +0 -2
- package/dist/types/interface/api/responses/short-link.response.d.ts +0 -24
- package/dist/types/interface/api/responses/short-link.response.js +0 -2
- package/dist/types/interface/api/responses/user-credit-purchase.admin.response.d.ts +0 -22
- package/dist/types/interface/api/responses/user-credit-purchase.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-credit-purchase.response.d.ts +0 -8
- package/dist/types/interface/api/responses/user-credit-purchase.response.js +0 -2
- package/dist/types/interface/api/responses/user-ticket.admin.response.d.ts +0 -38
- package/dist/types/interface/api/responses/user-ticket.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-ticket.response.d.ts +0 -34
- package/dist/types/interface/api/responses/user-ticket.response.js +0 -2
- package/dist/types/interface/api/responses/user-transaction.admin.response.d.ts +0 -13
- package/dist/types/interface/api/responses/user-transaction.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-transaction.response.d.ts +0 -11
- package/dist/types/interface/api/responses/user-transaction.response.js +0 -2
- package/dist/types/interface/models/atlas-document.model.d.ts +0 -19
- package/dist/types/interface/models/atlas-document.model.js +0 -2
- package/dist/types/interface/models/atlas-group.model.d.ts +0 -18
- package/dist/types/interface/models/atlas-group.model.js +0 -2
- package/dist/types/interface/models/atlas-page-content.model.d.ts +0 -14
- package/dist/types/interface/models/atlas-page-content.model.js +0 -2
- package/dist/types/interface/models/atlas-page.model.d.ts +0 -23
- package/dist/types/interface/models/atlas-page.model.js +0 -2
- package/dist/types/interface/models/atlas.model.d.ts +0 -25
- package/dist/types/interface/models/atlas.model.js +0 -2
- package/dist/types/interface/models/board-activity.model.d.ts +0 -17
- package/dist/types/interface/models/board-activity.model.js +0 -2
- package/dist/types/interface/models/board-card-checklist-row.model.d.ts +0 -11
- package/dist/types/interface/models/board-card-checklist-row.model.js +0 -2
- package/dist/types/interface/models/board-card-checklist.model.d.ts +0 -13
- package/dist/types/interface/models/board-card-checklist.model.js +0 -2
- package/dist/types/interface/models/board-card-comment.model.d.ts +0 -12
- package/dist/types/interface/models/board-card-comment.model.js +0 -2
- package/dist/types/interface/models/board-card-document.model.d.ts +0 -19
- package/dist/types/interface/models/board-card-document.model.js +0 -2
- package/dist/types/interface/models/board-card-label.model.d.ts +0 -11
- package/dist/types/interface/models/board-card-label.model.js +0 -2
- package/dist/types/interface/models/board-card-member.model.d.ts +0 -11
- package/dist/types/interface/models/board-card-member.model.js +0 -2
- package/dist/types/interface/models/board-card.model.d.ts +0 -34
- package/dist/types/interface/models/board-card.model.js +0 -2
- package/dist/types/interface/models/board-column.model.d.ts +0 -14
- package/dist/types/interface/models/board-column.model.js +0 -2
- package/dist/types/interface/models/board-label.model.d.ts +0 -10
- package/dist/types/interface/models/board-label.model.js +0 -2
- package/dist/types/interface/models/board.model.d.ts +0 -24
- package/dist/types/interface/models/board.model.js +0 -2
- package/dist/types/interface/models/draw.model.d.ts +0 -20
- package/dist/types/interface/models/draw.model.js +0 -2
- package/dist/types/interface/models/memo.model.d.ts +0 -14
- package/dist/types/interface/models/memo.model.js +0 -2
- package/dist/types/interface/models/project-authentication-session.model.d.ts +0 -10
- package/dist/types/interface/models/project-authentication-session.model.js +0 -2
- package/dist/types/interface/models/project-authentication.model.d.ts +0 -10
- package/dist/types/interface/models/project-authentication.model.js +0 -2
- package/dist/types/interface/models/retrospective-card.model.d.ts +0 -14
- package/dist/types/interface/models/retrospective-card.model.js +0 -2
- package/dist/types/interface/models/retrospective-member.model.d.ts +0 -12
- package/dist/types/interface/models/retrospective-member.model.js +0 -2
- package/dist/types/interface/models/retrospective-section.model.d.ts +0 -13
- package/dist/types/interface/models/retrospective-section.model.js +0 -2
- package/dist/types/interface/models/retrospective.model.d.ts +0 -24
- package/dist/types/interface/models/retrospective.model.js +0 -2
- package/dist/types/interface/models/short-link-click.model.d.ts +0 -30
- package/dist/types/interface/models/short-link-click.model.js +0 -2
- package/dist/types/interface/models/short-link.model.d.ts +0 -66
- package/dist/types/interface/models/short-link.model.js +0 -2
- package/dist/types/interface/models/subscription.model.d.ts +0 -16
- package/dist/types/interface/models/subscription.model.js +0 -2
- package/dist/types/interface/models/user-credit-purchase.model.d.ts +0 -22
- package/dist/types/interface/models/user-credit-purchase.model.js +0 -2
- package/dist/types/interface/models/user-ticket-message-attachment.model.d.ts +0 -14
- package/dist/types/interface/models/user-ticket-message-attachment.model.js +0 -2
- package/dist/types/interface/models/user-ticket-message.model.d.ts +0 -14
- package/dist/types/interface/models/user-ticket-message.model.js +0 -2
- package/dist/types/interface/models/user-ticket.model.d.ts +0 -15
- package/dist/types/interface/models/user-ticket.model.js +0 -2
- package/dist/types/interface/models/user-transaction.model.d.ts +0 -19
- package/dist/types/interface/models/user-transaction.model.js +0 -2
- package/dist/types/utils/billing.util.d.ts +0 -2
- package/dist/types/utils/billing.util.js +0 -33
- package/dist/utils/board.utils.d.ts +0 -5
- package/dist/utils/board.utils.js +0 -39
- package/dist/utils/icons.utils.d.ts +0 -75
- package/dist/utils/icons.utils.js +0 -86
- package/dist/utils/organization-permission.utils.d.ts +0 -3
- package/dist/utils/organization-permission.utils.js +0 -36
- package/dist/utils/shape.utils.d.ts +0 -26
- package/dist/utils/shape.utils.js +0 -181
- package/dist/utils/subscription.utils.d.ts +0 -6
- package/dist/utils/subscription.utils.js +0 -41
- package/dist/workflow/expression/expression-functions.utils.d.ts +0 -6
- package/dist/workflow/expression/expression-functions.utils.js +0 -61
- package/dist/workflow/expression/expression-mapper.d.ts +0 -11
- package/dist/workflow/expression/expression-mapper.js +0 -32
- package/dist/workflow/expression/expression-mapping.utils.d.ts +0 -4
- package/dist/workflow/expression/expression-mapping.utils.js +0 -43
- package/dist/workflow/expression/expression-resolver.utils.d.ts +0 -3
- package/dist/workflow/expression/expression-resolver.utils.js +0 -54
- package/dist/workflow/expression/expression-tokenizer.utils.d.ts +0 -4
- package/dist/workflow/expression/expression-tokenizer.utils.js +0 -123
- package/dist/workflow/expression/expression.types.d.ts +0 -33
- package/dist/workflow/expression/expression.types.js +0 -17
- package/dist/workflow/expression/index.d.ts +0 -10
- package/dist/workflow/expression/index.js +0 -40
- package/dist/workflow/expression/workflow-resolver.d.ts +0 -9
- package/dist/workflow/expression/workflow-resolver.js +0 -102
- package/dist/workflow/expressions/functions/array.d.ts +0 -2
- package/dist/workflow/expressions/functions/array.js +0 -252
- package/dist/workflow/expressions/functions/crypto.d.ts +0 -2
- package/dist/workflow/expressions/functions/crypto.js +0 -101
- package/dist/workflow/expressions/functions/datetime.d.ts +0 -2
- package/dist/workflow/expressions/functions/datetime.js +0 -256
- package/dist/workflow/expressions/functions/index.d.ts +0 -7
- package/dist/workflow/expressions/functions/index.js +0 -46
- package/dist/workflow/expressions/functions/math.d.ts +0 -2
- package/dist/workflow/expressions/functions/math.js +0 -174
- package/dist/workflow/expressions/functions/string.d.ts +0 -2
- package/dist/workflow/expressions/functions/string.js +0 -301
- package/dist/workflow/expressions/functions/utility.d.ts +0 -2
- package/dist/workflow/expressions/functions/utility.js +0 -230
- package/dist/workflow/expressions/helpers.d.ts +0 -26
- package/dist/workflow/expressions/helpers.js +0 -132
- package/dist/workflow/expressions/index.d.ts +0 -15
- package/dist/workflow/expressions/index.js +0 -61
- package/dist/workflow/expressions/parser.d.ts +0 -8
- package/dist/workflow/expressions/parser.js +0 -436
- package/dist/workflow/expressions/pipes/array-pipes.d.ts +0 -2
- package/dist/workflow/expressions/pipes/array-pipes.js +0 -248
- package/dist/workflow/expressions/pipes/index.d.ts +0 -8
- package/dist/workflow/expressions/pipes/index.js +0 -40
- package/dist/workflow/expressions/pipes/object-pipes.d.ts +0 -2
- package/dist/workflow/expressions/pipes/object-pipes.js +0 -243
- package/dist/workflow/expressions/pipes/string-pipes.d.ts +0 -9
- package/dist/workflow/expressions/pipes/string-pipes.js +0 -178
- package/dist/workflow/expressions/resolver.d.ts +0 -8
- package/dist/workflow/expressions/resolver.js +0 -263
- package/dist/workflow/expressions/types.d.ts +0 -144
- package/dist/workflow/expressions/types.js +0 -33
- package/dist/workflow/index.d.ts +0 -1
- package/dist/workflow/index.js +0 -17
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import.utils.js","sourceRoot":"","sources":["../../src/utils/import.utils.ts"],"names":[],"mappings":";;;AAAO,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACxC,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC;AAChE,CAAC,CAAC;AAFW,QAAA,qBAAqB,yBAEhC"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -5,16 +5,18 @@ export * from './byte.utils';
|
|
|
5
5
|
export * from './import.utils';
|
|
6
6
|
export * from './notification.utils';
|
|
7
7
|
export * from './sleep.utils';
|
|
8
|
-
export * from './subscription.utils';
|
|
9
8
|
export * from './array.utils';
|
|
10
9
|
export * from './abyss.utils';
|
|
11
10
|
export * from './color.utils';
|
|
12
|
-
export * from './board.utils';
|
|
13
11
|
export * from './file.utils';
|
|
14
12
|
export * from './compression.utils';
|
|
15
|
-
export * from './shape.utils';
|
|
16
|
-
export * from './icons.utils';
|
|
17
13
|
export * from './string.utils';
|
|
18
14
|
export * from './tracking.utils';
|
|
19
15
|
export * from './duration.utils';
|
|
20
16
|
export * from './time-period.utils';
|
|
17
|
+
export * from './billing.utils';
|
|
18
|
+
export * from './user-language.utils';
|
|
19
|
+
export * from './pricing-calculator.utils';
|
|
20
|
+
export * from './content-share-scope.utils';
|
|
21
|
+
export * from './invitation.utils';
|
|
22
|
+
export * from './resolve-user.utils';
|
package/dist/utils/index.js
CHANGED
|
@@ -21,16 +21,19 @@ __exportStar(require("./byte.utils"), exports);
|
|
|
21
21
|
__exportStar(require("./import.utils"), exports);
|
|
22
22
|
__exportStar(require("./notification.utils"), exports);
|
|
23
23
|
__exportStar(require("./sleep.utils"), exports);
|
|
24
|
-
__exportStar(require("./subscription.utils"), exports);
|
|
25
24
|
__exportStar(require("./array.utils"), exports);
|
|
26
25
|
__exportStar(require("./abyss.utils"), exports);
|
|
27
26
|
__exportStar(require("./color.utils"), exports);
|
|
28
|
-
__exportStar(require("./board.utils"), exports);
|
|
29
27
|
__exportStar(require("./file.utils"), exports);
|
|
30
28
|
__exportStar(require("./compression.utils"), exports);
|
|
31
|
-
__exportStar(require("./shape.utils"), exports);
|
|
32
|
-
__exportStar(require("./icons.utils"), exports);
|
|
33
29
|
__exportStar(require("./string.utils"), exports);
|
|
34
30
|
__exportStar(require("./tracking.utils"), exports);
|
|
35
31
|
__exportStar(require("./duration.utils"), exports);
|
|
36
32
|
__exportStar(require("./time-period.utils"), exports);
|
|
33
|
+
__exportStar(require("./billing.utils"), exports);
|
|
34
|
+
__exportStar(require("./user-language.utils"), exports);
|
|
35
|
+
__exportStar(require("./pricing-calculator.utils"), exports);
|
|
36
|
+
__exportStar(require("./content-share-scope.utils"), exports);
|
|
37
|
+
__exportStar(require("./invitation.utils"), exports);
|
|
38
|
+
__exportStar(require("./resolve-user.utils"), exports);
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gDAA8B;AAC9B,0DAAwC;AACxC,+CAA6B;AAC7B,iDAA+B;AAC/B,uDAAqC;AACrC,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,+CAA6B;AAC7B,sDAAoC;AACpC,iDAA+B;AAC/B,mDAAiC;AACjC,mDAAiC;AACjC,sDAAoC;AACpC,kDAAgC;AAChC,wDAAsC;AACtC,6DAA2C;AAC3C,8DAA4C;AAC5C,qDAAmC;AACnC,uDAAqC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveInvitationStatus = void 0;
|
|
4
|
+
const invitation_enum_1 = require("../types/enum/invitation.enum");
|
|
5
|
+
function resolveInvitationStatus(invitation) {
|
|
6
|
+
if (invitation.cancelledAt)
|
|
7
|
+
return invitation_enum_1.InvitationStatus.CANCELLED;
|
|
8
|
+
if (invitation.declinedAt)
|
|
9
|
+
return invitation_enum_1.InvitationStatus.DECLINED;
|
|
10
|
+
if (invitation.acceptedAt)
|
|
11
|
+
return invitation_enum_1.InvitationStatus.ACCEPTED;
|
|
12
|
+
if (new Date(invitation.expiresAt) < new Date())
|
|
13
|
+
return invitation_enum_1.InvitationStatus.EXPIRED;
|
|
14
|
+
return invitation_enum_1.InvitationStatus.PENDING;
|
|
15
|
+
}
|
|
16
|
+
exports.resolveInvitationStatus = resolveInvitationStatus;
|
|
17
|
+
//# sourceMappingURL=invitation.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invitation.utils.js","sourceRoot":"","sources":["../../src/utils/invitation.utils.ts"],"names":[],"mappings":";;;AAAA,mEAAiE;AAGjE,SAAgB,uBAAuB,CAAC,UAAuB;IAC7D,IAAI,UAAU,CAAC,WAAW;QAAE,OAAO,kCAAgB,CAAC,SAAS,CAAC;IAC9D,IAAI,UAAU,CAAC,UAAU;QAAE,OAAO,kCAAgB,CAAC,QAAQ,CAAC;IAC5D,IAAI,UAAU,CAAC,UAAU;QAAE,OAAO,kCAAgB,CAAC,QAAQ,CAAC;IAC5D,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,IAAI,EAAE;QAAE,OAAO,kCAAgB,CAAC,OAAO,CAAC;IACjF,OAAO,kCAAgB,CAAC,OAAO,CAAC;AAClC,CAAC;AAND,0DAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-valid-object.utils.js","sourceRoot":"","sources":["../../src/utils/is-valid-object.utils.ts"],"names":[],"mappings":";;;AAAA,SAAgB,aAAa,CAAC,IAA4B;IACxD,IAAI,CAAC,IAAI;QAAE,OAAO,KAAK,CAAC;IAExB,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,iBAAiB,CAAC;IAC5E,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;IAC3C,OAAO,CAAC,OAAO,IAAI,QAAQ,IAAI,OAAO,CAAC;AACzC,CAAC;AAPD,sCAOC"}
|
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getNotificationContentTranslatePath = exports.getNotificationTitleTranslatePath = void 0;
|
|
4
|
+
const enum_1 = require("../types/enum");
|
|
5
|
+
const SHARED_NOTIFICATION_CONTENT_TYPES = new Set([
|
|
6
|
+
enum_1.UserNotificationContentType.CONTENT_SHARED,
|
|
7
|
+
enum_1.UserNotificationContentType.INVITATION_CONTENT_SHARE,
|
|
8
|
+
enum_1.UserNotificationContentType.INVITATION_ORG_MEMBER,
|
|
9
|
+
enum_1.UserNotificationContentType.INVITATION_PROJECT_ACCESS,
|
|
10
|
+
]);
|
|
4
11
|
const getNotificationTitleTranslatePath = (service, contentType) => {
|
|
12
|
+
if (SHARED_NOTIFICATION_CONTENT_TYPES.has(contentType)) {
|
|
13
|
+
return `notifications.${contentType}.title`;
|
|
14
|
+
}
|
|
5
15
|
return `common.notifications.${service}.${contentType}.title`;
|
|
6
16
|
};
|
|
7
17
|
exports.getNotificationTitleTranslatePath = getNotificationTitleTranslatePath;
|
|
8
18
|
const getNotificationContentTranslatePath = (service, contentType) => {
|
|
19
|
+
if (SHARED_NOTIFICATION_CONTENT_TYPES.has(contentType)) {
|
|
20
|
+
return `notifications.${contentType}.body`;
|
|
21
|
+
}
|
|
9
22
|
return `common.notifications.${service}.${contentType}.content`;
|
|
10
23
|
};
|
|
11
24
|
exports.getNotificationContentTranslatePath = getNotificationContentTranslatePath;
|
|
25
|
+
//# sourceMappingURL=notification.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.utils.js","sourceRoot":"","sources":["../../src/utils/notification.utils.ts"],"names":[],"mappings":";;;AAAA,wCAA0E;AAQ1E,MAAM,iCAAiC,GAA6C,IAAI,GAAG,CAAC;IAC1F,kCAA2B,CAAC,cAAc;IAC1C,kCAA2B,CAAC,wBAAwB;IACpD,kCAA2B,CAAC,qBAAqB;IACjD,kCAA2B,CAAC,yBAAyB;CACtD,CAAC,CAAC;AAEI,MAAM,iCAAiC,GAAG,CAC/C,OAAqB,EACrB,WAAwC,EAChC,EAAE;IACV,IAAI,iCAAiC,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;QACvD,OAAO,iBAAiB,WAAW,QAAQ,CAAC;IAC9C,CAAC;IACD,OAAO,wBAAwB,OAAO,IAAI,WAAW,QAAQ,CAAC;AAChE,CAAC,CAAC;AARW,QAAA,iCAAiC,qCAQ5C;AAEK,MAAM,mCAAmC,GAAG,CACjD,OAAqB,EACrB,WAAwC,EAChC,EAAE;IACV,IAAI,iCAAiC,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;QACvD,OAAO,iBAAiB,WAAW,OAAO,CAAC;IAC7C,CAAC;IACD,OAAO,wBAAwB,OAAO,IAAI,WAAW,UAAU,CAAC;AAClE,CAAC,CAAC;AARW,QAAA,mCAAmC,uCAQ9C"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BillingMetric, BillingService, PlanAccountType } from '../types/enum/organization-billing.enum';
|
|
2
|
+
import { IPlanTemplate } from '../types/interface/models/plan-template.model';
|
|
3
|
+
export interface PriceBreakdownItem {
|
|
4
|
+
service: BillingService;
|
|
5
|
+
metric: BillingMetric;
|
|
6
|
+
includedQuantity: number;
|
|
7
|
+
requestedQuantity: number;
|
|
8
|
+
overageQuantity: number;
|
|
9
|
+
pricePerUnit: number;
|
|
10
|
+
overageAmountEur: number;
|
|
11
|
+
}
|
|
12
|
+
export interface PriceEstimate {
|
|
13
|
+
recommendedPlan: {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
monthlyPriceEur: number;
|
|
17
|
+
} | null;
|
|
18
|
+
basePriceEur: number;
|
|
19
|
+
overageItems: PriceBreakdownItem[];
|
|
20
|
+
overageTotalEur: number;
|
|
21
|
+
totalEur: number;
|
|
22
|
+
}
|
|
23
|
+
export declare function calculateEstimatedPrice(plans: IPlanTemplate[], requestedUsage: Partial<Record<BillingMetric, number>>, accountType: PlanAccountType): PriceEstimate;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.calculateEstimatedPrice = void 0;
|
|
4
|
+
const organization_billing_enum_1 = require("../types/enum/organization-billing.enum");
|
|
5
|
+
const billing_catalog_constants_1 = require("../constants/billing-catalog.constants");
|
|
6
|
+
function getQuotaLimit(quotas, metric) {
|
|
7
|
+
const q = quotas.find((q) => q.metric === metric);
|
|
8
|
+
return q ? q.limit : 0;
|
|
9
|
+
}
|
|
10
|
+
function getOveragePrice(pricing, metric) {
|
|
11
|
+
const p = pricing.find((p) => p.metric === metric);
|
|
12
|
+
return p ? p.pricePerUnit : 0;
|
|
13
|
+
}
|
|
14
|
+
function planCoversUsage(plan, requestedUsage) {
|
|
15
|
+
for (const [metricKey, requested] of Object.entries(requestedUsage)) {
|
|
16
|
+
const metric = metricKey;
|
|
17
|
+
if (requested === undefined || requested <= 0) {
|
|
18
|
+
continue;
|
|
19
|
+
}
|
|
20
|
+
if (billing_catalog_constants_1.METRIC_IS_CONFIG.has(metric)) {
|
|
21
|
+
const limit = getQuotaLimit(plan.quotas, metric);
|
|
22
|
+
if (limit !== -1 && requested > limit) {
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
continue;
|
|
26
|
+
}
|
|
27
|
+
const limit = getQuotaLimit(plan.quotas, metric);
|
|
28
|
+
if (limit === -1) {
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
if (requested > limit) {
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function calculateEstimatedPrice(plans, requestedUsage, accountType) {
|
|
38
|
+
const candidates = plans
|
|
39
|
+
.filter((p) => p.accountType === accountType &&
|
|
40
|
+
p.isPublic &&
|
|
41
|
+
!p.isArchived &&
|
|
42
|
+
p.tier !== organization_billing_enum_1.PlanTier.SYSTEM)
|
|
43
|
+
.sort((a, b) => a.monthlyPriceEur - b.monthlyPriceEur);
|
|
44
|
+
if (candidates.length === 0) {
|
|
45
|
+
return {
|
|
46
|
+
recommendedPlan: null,
|
|
47
|
+
basePriceEur: 0,
|
|
48
|
+
overageItems: [],
|
|
49
|
+
overageTotalEur: 0,
|
|
50
|
+
totalEur: 0,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
const coveringPlan = candidates.find((p) => planCoversUsage(p, requestedUsage));
|
|
54
|
+
if (coveringPlan) {
|
|
55
|
+
return {
|
|
56
|
+
recommendedPlan: {
|
|
57
|
+
id: coveringPlan.id ?? '',
|
|
58
|
+
name: coveringPlan.name,
|
|
59
|
+
monthlyPriceEur: coveringPlan.monthlyPriceEur,
|
|
60
|
+
},
|
|
61
|
+
basePriceEur: coveringPlan.monthlyPriceEur,
|
|
62
|
+
overageItems: [],
|
|
63
|
+
overageTotalEur: 0,
|
|
64
|
+
totalEur: coveringPlan.monthlyPriceEur,
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
const basePlan = candidates[candidates.length - 1];
|
|
68
|
+
const overageItems = [];
|
|
69
|
+
let overageTotalEur = 0;
|
|
70
|
+
for (const [metricKey, requested] of Object.entries(requestedUsage)) {
|
|
71
|
+
const metric = metricKey;
|
|
72
|
+
if (requested === undefined || requested <= 0) {
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
if (billing_catalog_constants_1.METRIC_IS_CONFIG.has(metric)) {
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
const included = getQuotaLimit(basePlan.quotas, metric);
|
|
79
|
+
if (included === -1) {
|
|
80
|
+
continue;
|
|
81
|
+
}
|
|
82
|
+
const overage = Math.max(0, requested - included);
|
|
83
|
+
if (overage === 0) {
|
|
84
|
+
continue;
|
|
85
|
+
}
|
|
86
|
+
const pricePerUnit = getOveragePrice(basePlan.overagePricing, metric);
|
|
87
|
+
const overageAmount = overage * pricePerUnit;
|
|
88
|
+
const quota = basePlan.quotas.find((q) => q.metric === metric);
|
|
89
|
+
const service = quota?.service ?? organization_billing_enum_1.BillingService.ABYSS_PLATFORM;
|
|
90
|
+
overageItems.push({
|
|
91
|
+
service,
|
|
92
|
+
metric,
|
|
93
|
+
includedQuantity: included,
|
|
94
|
+
requestedQuantity: requested,
|
|
95
|
+
overageQuantity: overage,
|
|
96
|
+
pricePerUnit,
|
|
97
|
+
overageAmountEur: overageAmount,
|
|
98
|
+
});
|
|
99
|
+
overageTotalEur += overageAmount;
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
recommendedPlan: null,
|
|
103
|
+
basePriceEur: basePlan.monthlyPriceEur,
|
|
104
|
+
overageItems,
|
|
105
|
+
overageTotalEur,
|
|
106
|
+
totalEur: basePlan.monthlyPriceEur + overageTotalEur,
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
exports.calculateEstimatedPrice = calculateEstimatedPrice;
|
|
110
|
+
//# sourceMappingURL=pricing-calculator.utils.js.map
|
|
@@ -0,0 +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O;YACP,MAAM;YACN,gBAAgB,EAAE,QAAQ;YAC1B,iBAAiB,EAAE,SAAS;YAC5B,eAAe,EAAE,OAAO;YACxB,YAAY;YACZ,gBAAgB,EAAE,aAAa;SAChC,CAAC,CAAC;QAEH,eAAe,IAAI,aAAa,CAAC;IACnC,CAAC;IAED,OAAO;QACL,eAAe,EAAE,IAAI;QACrB,YAAY,EAAE,QAAQ,CAAC,eAAe;QACtC,YAAY;QACZ,eAAe;QACf,QAAQ,EAAE,QAAQ,CAAC,eAAe,GAAG,eAAe;KACrD,CAAC;AACJ,CAAC;AA/FD,0DA+FC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IResolveUserLogger {
|
|
2
|
+
log: (message: string) => void;
|
|
3
|
+
}
|
|
4
|
+
export interface IResolveUserParams {
|
|
5
|
+
userId: string;
|
|
6
|
+
UserModel: any;
|
|
7
|
+
logger: IResolveUserLogger;
|
|
8
|
+
transaction?: unknown;
|
|
9
|
+
}
|
|
10
|
+
export declare const resolveUserFromAbyssMain: <TUser>(params: IResolveUserParams) => Promise<TUser>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveUserFromAbyssMain = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const resolveUserFromAbyssMain = async (params) => {
|
|
6
|
+
const { userId, UserModel, logger, transaction } = params;
|
|
7
|
+
const existingUser = (await UserModel.findByPk(userId, { transaction }));
|
|
8
|
+
let isAdmin = existingUser?.isAdmin ?? false;
|
|
9
|
+
try {
|
|
10
|
+
const mainUser = await __1.AbyssCore.sdk.user.admin.get({ userId });
|
|
11
|
+
isAdmin = mainUser.data.user.isAdmin;
|
|
12
|
+
}
|
|
13
|
+
catch {
|
|
14
|
+
logger.log(`Failed to fetch user ${userId} from abyss-main, defaulting isAdmin to ${isAdmin}`);
|
|
15
|
+
}
|
|
16
|
+
const [user, created] = (await UserModel.findOrCreate({
|
|
17
|
+
where: { id: userId },
|
|
18
|
+
defaults: { id: userId, isAdmin },
|
|
19
|
+
transaction,
|
|
20
|
+
}));
|
|
21
|
+
if (created) {
|
|
22
|
+
logger.log(`Lazy-created user ${userId} (isAdmin: ${isAdmin})`);
|
|
23
|
+
}
|
|
24
|
+
else if (user.isAdmin !== isAdmin) {
|
|
25
|
+
logger.log(`Updating isAdmin for user ${userId}: ${user.isAdmin} -> ${isAdmin}`);
|
|
26
|
+
user.set({ isAdmin });
|
|
27
|
+
await user.save({ transaction });
|
|
28
|
+
}
|
|
29
|
+
return user;
|
|
30
|
+
};
|
|
31
|
+
exports.resolveUserFromAbyssMain = resolveUserFromAbyssMain;
|
|
32
|
+
//# sourceMappingURL=resolve-user.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-user.utils.js","sourceRoot":"","sources":["../../src/utils/resolve-user.utils.ts"],"names":[],"mappings":";;;AAAA,0BAA+B;AAsCxB,MAAM,wBAAwB,GAAG,KAAK,EAC3C,MAA0B,EACV,EAAE;IAClB,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;IAE1D,MAAM,YAAY,GAAG,CAAC,MAAM,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,CAAC,CAE/D,CAAC;IAET,IAAI,OAAO,GAAG,YAAY,EAAE,OAAO,IAAI,KAAK,CAAC;IAC7C,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,aAAS,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;QAChE,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;IACvC,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,CAAC,GAAG,CACR,wBAAwB,MAAM,2CAA2C,OAAO,EAAE,CACnF,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,MAAM,SAAS,CAAC,YAAY,CAAC;QACpD,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE;QACrB,QAAQ,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE;QACjC,WAAW;KACZ,CAAC,CAAmC,CAAC;IAEtC,IAAI,OAAO,EAAE,CAAC;QACZ,MAAM,CAAC,GAAG,CAAC,qBAAqB,MAAM,cAAc,OAAO,GAAG,CAAC,CAAC;IAClE,CAAC;SAAM,IAAI,IAAI,CAAC,OAAO,KAAK,OAAO,EAAE,CAAC;QACpC,MAAM,CAAC,GAAG,CAAC,6BAA6B,MAAM,KAAK,IAAI,CAAC,OAAO,OAAO,OAAO,EAAE,CAAC,CAAC;QACjF,IAAI,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;QACtB,MAAM,IAAI,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;IACnC,CAAC;IAED,OAAO,IAAwB,CAAC;AAClC,CAAC,CAAC;AAlCW,QAAA,wBAAwB,4BAkCnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sleep.utils.js","sourceRoot":"","sources":["../../src/utils/sleep.utils.ts"],"names":[],"mappings":";;;AAAO,MAAM,KAAK,GAAG,CAAC,EAAU,EAAE,EAAE;IAClC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC7B,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;IAC1B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAJW,QAAA,KAAK,SAIhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string.utils.js","sourceRoot":"","sources":["../../src/utils/string.utils.ts"],"names":[],"mappings":";;;AAAA,oCAA0E;AAE1E,SAAgB,cAAc,CAAC,SAA6B;IAK1D,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AAW,IAAI,SAAS,KAAK,KAAK,IAAI,SAAS,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAC9F,CAAC,CAAC;AAHW,QAAA,WAAW,eAGtB;AAOK,MAAM,iBAAiB,GAAG,CAAC,QAAmC,EAAiB,EAAE;IACtF,IAAI,CAAC,QAAQ;QAAE,OAAO,IAAI,CAAC;IAC3B,OAAO,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AAC9C,CAAC,CAAC;AAHW,QAAA,iBAAiB,qBAG5B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userLanguageToLocale = void 0;
|
|
4
|
+
const enum_1 = require("../types/enum");
|
|
5
|
+
const LANGUAGE_LOCALE_MAP = {
|
|
6
|
+
[enum_1.UserLanguage.FRENCH]: 'fr-FR',
|
|
7
|
+
[enum_1.UserLanguage.ENGLISH]: 'en-US',
|
|
8
|
+
};
|
|
9
|
+
const userLanguageToLocale = (language) => (language ? LANGUAGE_LOCALE_MAP[language] : null) ?? 'fr-FR';
|
|
10
|
+
exports.userLanguageToLocale = userLanguageToLocale;
|
|
11
|
+
//# sourceMappingURL=user-language.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-language.utils.js","sourceRoot":"","sources":["../../src/utils/user-language.utils.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAE7C,MAAM,mBAAmB,GAAiC;IACxD,CAAC,mBAAY,CAAC,MAAM,CAAC,EAAE,OAAO;IAC9B,CAAC,mBAAY,CAAC,OAAO,CAAC,EAAE,OAAO;CAChC,CAAC;AAEK,MAAM,oBAAoB,GAAG,CAAC,QAA8B,EAAU,EAAE,CAC7E,CAAC,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC;AADlD,QAAA,oBAAoB,wBAC8B"}
|
package/package.json
CHANGED
|
@@ -1,58 +1,65 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abyss-project/main",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Core package to interact with Abyss-Project",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
},
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"@
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@abyss-project/main",
|
|
3
|
+
"version": "1.0.117",
|
|
4
|
+
"description": "Core package to interact with Abyss-Project",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"types": "dist/index.d.ts"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
|
|
13
|
+
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
|
|
14
|
+
"tsc": "tsc",
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"dev": "tsc --watch",
|
|
17
|
+
"prepublish": "tsc"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://gitlab.com/abyss-group"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [],
|
|
24
|
+
"author": "scylla",
|
|
25
|
+
"license": "ISC",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://gitlab.com/abyss-group"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://gitlab.com/abyss-group",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@casl/ability": "^6.8.0",
|
|
32
|
+
"axios": "^1.6.0",
|
|
33
|
+
"axios-retry": "^4.5.0",
|
|
34
|
+
"byte-size": "^8.1.0",
|
|
35
|
+
"date-fns": "^2.29.3",
|
|
36
|
+
"dayjs": "^1.10.7",
|
|
37
|
+
"discord.js": "^14.7.1",
|
|
38
|
+
"lodash": "^4.17.21",
|
|
39
|
+
"lz-string": "^1.5.0",
|
|
40
|
+
"reflect-metadata": "^0.1.13",
|
|
41
|
+
"uuid": "^9.0.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@date-io/dayjs": "^2.11.0",
|
|
45
|
+
"@types/byte-size": "^8.1.0",
|
|
46
|
+
"@types/express": "^4.17.21",
|
|
47
|
+
"@types/express-serve-static-core": "^4.17.28",
|
|
48
|
+
"@types/lodash": "^4.14.177",
|
|
49
|
+
"@types/node": "^20.11.0",
|
|
50
|
+
"@types/uuid": "^9.0.0",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "6.21.0",
|
|
52
|
+
"@typescript-eslint/parser": "7.3.1",
|
|
53
|
+
"eslint": "^7.28.0",
|
|
54
|
+
"eslint-config-prettier": "^8.3.0",
|
|
55
|
+
"eslint-config-standard": "^16.0.3",
|
|
56
|
+
"eslint-plugin-filenames-simple": "^0.7.0",
|
|
57
|
+
"eslint-plugin-import": "^2.23.4",
|
|
58
|
+
"eslint-plugin-node": "^11.1.0",
|
|
59
|
+
"eslint-plugin-prettier": "^3.4.0",
|
|
60
|
+
"eslint-plugin-promise": "^5.1.0",
|
|
61
|
+
"prettier": "2.3.1",
|
|
62
|
+
"sequelize-cli": "^6.2.0",
|
|
63
|
+
"typescript": "5.4.2"
|
|
64
|
+
}
|
|
65
|
+
}
|