@carlonicora/nextjs-jsonapi 4.1.2 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AssistantMessageInterface-CubxuBIJ.d.ts → AssistantMessageInterface-DHJJO_Z_.d.ts} +1 -1
- package/dist/{AssistantMessageInterface-sHjI2zPN.d.mts → AssistantMessageInterface-S7oyERTT.d.mts} +1 -1
- package/dist/{BlockNoteEditor-VOYKZOP5.mjs → BlockNoteEditor-HXAHDJA7.mjs} +34 -27
- package/dist/BlockNoteEditor-HXAHDJA7.mjs.map +1 -0
- package/dist/{BlockNoteEditor-BENYTTCZ.js → BlockNoteEditor-LLCZDFLZ.js} +50 -43
- package/dist/BlockNoteEditor-LLCZDFLZ.js.map +1 -0
- package/dist/{BlockNoteViewer-USLR4Y7C.js → BlockNoteViewer-77CCTC2U.js} +3 -3
- package/dist/{BlockNoteViewer-USLR4Y7C.js.map → BlockNoteViewer-77CCTC2U.js.map} +1 -1
- package/dist/{BlockNoteViewer-Y2ZM4ESA.mjs → BlockNoteViewer-MDPO6BXN.mjs} +2 -2
- package/dist/{auth.interface-Df4vXbNz.d.mts → auth.interface-CeFCz9NU.d.mts} +1 -1
- package/dist/{auth.interface-BzI4onI_.d.ts → auth.interface-D1R7VVky.d.ts} +1 -1
- package/dist/billing/index.d.mts +40 -6
- package/dist/billing/index.d.ts +40 -6
- package/dist/billing/index.js +806 -774
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +494 -462
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{chunk-6ISF5KNQ.mjs → chunk-2VXDZRYY.mjs} +1103 -816
- package/dist/chunk-2VXDZRYY.mjs.map +1 -0
- package/dist/{chunk-4BZJ4LAB.js → chunk-4ORLPEK7.js} +136 -104
- package/dist/chunk-4ORLPEK7.js.map +1 -0
- package/dist/{chunk-ZZ6E33FO.mjs → chunk-6DRSSW5O.mjs} +36 -4
- package/dist/chunk-6DRSSW5O.mjs.map +1 -0
- package/dist/{chunk-KS6WZP2E.js → chunk-6SMJRAE3.js} +4 -4
- package/dist/{chunk-KS6WZP2E.js.map → chunk-6SMJRAE3.js.map} +1 -1
- package/dist/{chunk-WQ77CUUZ.js → chunk-GPXYQMOZ.js} +7 -7
- package/dist/{chunk-WQ77CUUZ.js.map → chunk-GPXYQMOZ.js.map} +1 -1
- package/dist/{chunk-46S3KPLU.mjs → chunk-ILFFC6BG.mjs} +2 -2
- package/dist/{chunk-HZVVRIJQ.mjs → chunk-IUS2RHCX.mjs} +2 -2
- package/dist/{chunk-F7RNBGHS.js → chunk-KJMMBUOA.js} +3 -3
- package/dist/{chunk-F7RNBGHS.js.map → chunk-KJMMBUOA.js.map} +1 -1
- package/dist/{chunk-ZO3QQ5CQ.mjs → chunk-MQDR6MEE.mjs} +2 -2
- package/dist/{chunk-ORU7KLCY.js → chunk-VDVIUDY5.js} +1445 -1158
- package/dist/chunk-VDVIUDY5.js.map +1 -0
- package/dist/client/index.d.mts +20 -6
- package/dist/client/index.d.ts +20 -6
- package/dist/client/index.js +6 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +5 -3
- package/dist/components/index.d.mts +59 -21
- package/dist/components/index.d.ts +59 -21
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/{config-CEAq4Ozy.d.mts → config-BP2vyddw.d.mts} +5 -0
- package/dist/{config-DydDHCfb.d.ts → config-BhW2QrRD.d.ts} +5 -0
- package/dist/contexts/index.d.mts +4 -4
- package/dist/contexts/index.d.ts +4 -4
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +17 -9
- package/dist/core/index.d.ts +17 -9
- package/dist/core/index.js +4 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +3 -1
- package/dist/features/analytics/index.d.mts +1 -1
- package/dist/features/analytics/index.d.ts +1 -1
- package/dist/features/analytics/index.js +122 -122
- package/dist/features/analytics/index.mjs +4 -4
- package/dist/features/analytics/server.js +4 -4
- package/dist/features/analytics/server.mjs +2 -2
- package/dist/features/help/index.d.mts +1 -1
- package/dist/features/help/index.d.ts +1 -1
- package/dist/features/help/index.js +42 -40
- package/dist/features/help/index.js.map +1 -1
- package/dist/features/help/index.mjs +8 -6
- package/dist/features/help/index.mjs.map +1 -1
- package/dist/features/tokenusage/index.js +125 -125
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/{notification.interface-P_pNfzZQ.d.mts → notification.interface-BB6GPpZY.d.mts} +1 -1
- package/dist/{notification.interface-BNCvnVCW.d.ts → notification.interface-CmAGrijJ.d.ts} +1 -1
- package/dist/{s3.service-CbUa6a-8.d.ts → s3.service-C-4YpEMu.d.ts} +7 -3
- package/dist/{s3.service-DAp8FbuG.d.mts → s3.service-dVj-nxMl.d.mts} +7 -3
- package/dist/server/index.d.mts +4 -4
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/dist/{useSocket-BHVIyigI.d.ts → useSocket-B0H9pmmH.d.ts} +1 -1
- package/dist/{useSocket-B9gTbuCj.d.mts → useSocket-B5RQb6v2.d.mts} +1 -1
- package/dist/{user.interface-CrmwJLYW.d.ts → user.interface-C0ZdsBZj.d.ts} +2 -0
- package/dist/{user.interface-CSaGWFbg.d.mts → user.interface-CIWGlbqM.d.mts} +2 -0
- package/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +3 -1
- package/src/components/containers/RoundPageContainerTitle.tsx +5 -2
- package/src/components/editors/BlockNoteEditor.tsx +31 -15
- package/src/components/editors/BlockNoteEditorAiActions.tsx +11 -7
- package/src/components/editors/__tests__/BlockNoteEditorAiActions.test.ts +10 -3
- package/src/components/errors/ErrorDetails.tsx +5 -2
- package/src/components/forms/CommonAssociationForm.tsx +1 -1
- package/src/components/forms/EntityMultiSelector.tsx +6 -2
- package/src/components/forms/EntitySelector.tsx +4 -1
- package/src/components/forms/FileUploader.tsx +3 -2
- package/src/components/forms/MultiFileUploader.tsx +3 -1
- package/src/components/navigations/Breadcrumb.tsx +3 -2
- package/src/components/navigations/Header.tsx +3 -1
- package/src/components/navigations/MobileNavigationBar.tsx +3 -1
- package/src/components/navigations/__tests__/Header.spec.tsx +2 -2
- package/src/components/tables/cells/cell.id.tsx +13 -2
- package/src/core/abstracts/AbstractService.ts +3 -3
- package/src/core/abstracts/ClientAbstractService.ts +3 -2
- package/src/features/assistant-action/components/ApprovalActionCard.tsx +74 -5
- package/src/features/assistant-action/components/__tests__/ApprovalActionCard.spec.tsx +81 -0
- package/src/features/assistant-message/components/parts/RelevanceMeter.tsx +4 -1
- package/src/features/assistant-message/components/parts/tabs/UsersTab.tsx +2 -1
- package/src/features/auth/components/buttons/GoogleSignInButton.tsx +4 -1
- package/src/features/auth/components/details/LandingComponent.tsx +1 -1
- package/src/features/auth/components/forms/ForgotPassword.tsx +1 -1
- package/src/features/auth/components/forms/Login.tsx +1 -1
- package/src/features/auth/components/forms/Register.tsx +1 -1
- package/src/features/auth/components/forms/ResetPassword.tsx +2 -2
- package/src/features/auth/components/two-factor/BackupCodesDialog.tsx +1 -1
- package/src/features/auth/components/two-factor/PasskeyButton.tsx +1 -1
- package/src/features/billing/components/cards/BillingUsageSummaryCard.tsx +21 -11
- package/src/features/billing/components/cards/CustomerInfoCard.tsx +16 -13
- package/src/features/billing/components/cards/InvoicesSummaryCard.tsx +33 -21
- package/src/features/billing/components/cards/PaymentMethodSummaryCard.tsx +20 -10
- package/src/features/billing/components/cards/SubscriptionSummaryCard.tsx +35 -22
- package/src/features/billing/components/containers/BillingDashboardContainer.tsx +24 -24
- package/src/features/billing/components/utils/__tests__/billing-formatters.spec.ts +63 -0
- package/src/features/billing/components/utils/currency.ts +67 -10
- package/src/features/billing/components/utils/date.ts +9 -4
- package/src/features/billing/components/utils/format-options.ts +20 -0
- package/src/features/billing/components/utils/index.ts +3 -1
- package/src/features/billing/components/utils/useBillingFormatOptions.ts +11 -0
- package/src/features/billing/components/widgets/BillingAlertBanner.tsx +8 -9
- package/src/features/billing/contexts/PriceContext.tsx +18 -6
- package/src/features/billing/i18n-keys.ts +212 -0
- package/src/features/billing/stripe-customer/components/containers/PaymentMethodsContainer.tsx +8 -8
- package/src/features/billing/stripe-customer/components/details/PaymentMethodCard.tsx +11 -9
- package/src/features/billing/stripe-customer/components/forms/PaymentMethodEditor.tsx +4 -4
- package/src/features/billing/stripe-customer/components/forms/PaymentMethodForm.tsx +9 -7
- package/src/features/billing/stripe-invoice/components/containers/InvoicesContainer.tsx +10 -8
- package/src/features/billing/stripe-invoice/components/details/InvoiceDetails.tsx +34 -29
- package/src/features/billing/stripe-invoice/components/lists/InvoicesList.tsx +12 -9
- package/src/features/billing/stripe-invoice/components/widgets/InvoiceStatusBadge.tsx +9 -6
- package/src/features/billing/stripe-price/components/details/PriceDetails.tsx +4 -3
- package/src/features/billing/stripe-price/components/forms/PriceArchiver.tsx +3 -1
- package/src/features/billing/stripe-price/components/forms/PriceEditor.tsx +3 -1
- package/src/features/billing/stripe-price/hooks/useStripePriceTableStructure.tsx +6 -5
- package/src/features/billing/stripe-promotion-code/components/PromoCodeInput.tsx +12 -7
- package/src/features/billing/stripe-promotion-code/data/stripe-promotion-code.service.ts +3 -1
- package/src/features/billing/stripe-subscription/components/containers/SubscriptionsContainer.tsx +10 -6
- package/src/features/billing/stripe-subscription/components/details/SubscriptionDetails.tsx +44 -29
- package/src/features/billing/stripe-subscription/components/forms/CancelSubscriptionDialog.tsx +14 -11
- package/src/features/billing/stripe-subscription/components/lists/SubscriptionsList.tsx +20 -17
- package/src/features/billing/stripe-subscription/components/widgets/IntervalToggle.tsx +4 -2
- package/src/features/billing/stripe-subscription/components/widgets/PricingCard.tsx +16 -7
- package/src/features/billing/stripe-subscription/components/widgets/ProductPricingList.tsx +3 -1
- package/src/features/billing/stripe-subscription/components/widgets/ProductPricingRow.tsx +3 -1
- package/src/features/billing/stripe-subscription/components/widgets/ProrationPreview.tsx +12 -7
- package/src/features/billing/stripe-subscription/components/widgets/SubscriptionConfirmation.tsx +11 -8
- package/src/features/billing/stripe-subscription/components/widgets/SubscriptionStatusBadge.tsx +13 -10
- package/src/features/billing/stripe-subscription/components/wizards/SubscriptionWizard.tsx +8 -6
- package/src/features/billing/stripe-subscription/components/wizards/WizardProgressIndicator.tsx +7 -4
- package/src/features/billing/stripe-subscription/components/wizards/WizardStepPaymentMethod.tsx +4 -2
- package/src/features/billing/stripe-subscription/components/wizards/WizardStepPlanSelection.tsx +3 -1
- package/src/features/billing/stripe-subscription/components/wizards/WizardStepReview.tsx +37 -28
- package/src/features/billing/stripe-subscription/hooks/useConfirmSubscriptionPayment.ts +9 -7
- package/src/features/billing/stripe-subscription/hooks/useSubscriptionWizard.ts +20 -9
- package/src/features/billing/stripe-usage/components/containers/UsageContainer.tsx +6 -6
- package/src/features/billing/stripe-usage/components/details/UsageSummaryCard.tsx +24 -9
- package/src/features/billing/stripe-usage/components/lists/UsageHistoryTable.tsx +16 -12
- package/src/features/company/components/details/TokenStatusIndicator.tsx +7 -5
- package/src/features/company/components/forms/CompanyEditor.tsx +2 -2
- package/src/features/help/components/HelpArticleBody.tsx +1 -1
- package/src/features/help/components/HelpHeader.tsx +1 -1
- package/src/features/help/components/HelpSideNav.tsx +1 -1
- package/src/features/help/i18n-keys.ts +2 -0
- package/src/features/notification/components/common/NotificationErrorBoundary.tsx +17 -12
- package/src/features/notification/components/containers/NotificationsListContainer.tsx +4 -2
- package/src/features/notification/components/notifications/Notification.tsx +6 -3
- package/src/features/notification/contexts/NotificationContext.tsx +9 -4
- package/src/features/notification/contexts/__tests__/NotificationContext.spec.tsx +13 -0
- package/src/features/notification/hooks/useNotificationTableStructure.tsx +4 -2
- package/src/features/oauth/components/OAuthClientCard.tsx +13 -7
- package/src/features/oauth/components/OAuthClientDetail.tsx +34 -30
- package/src/features/oauth/components/OAuthClientForm.tsx +24 -24
- package/src/features/oauth/components/OAuthClientList.tsx +10 -6
- package/src/features/oauth/components/OAuthClientSecretDisplay.tsx +10 -8
- package/src/features/oauth/components/OAuthRedirectUriInput.tsx +9 -13
- package/src/features/oauth/components/OAuthScopeSelector.tsx +15 -6
- package/src/features/oauth/components/__tests__/OAuthClientForm.spec.tsx +11 -9
- package/src/features/oauth/components/consent/OAuthScopeList.tsx +4 -2
- package/src/features/oauth/hooks/__tests__/useOAuthScopeText.spec.ts +30 -0
- package/src/features/oauth/hooks/index.ts +1 -0
- package/src/features/oauth/hooks/useOAuthClient.ts +11 -5
- package/src/features/oauth/hooks/useOAuthClients.ts +9 -3
- package/src/features/oauth/hooks/useOAuthConsent.ts +11 -5
- package/src/features/oauth/hooks/useOAuthScopeText.ts +33 -0
- package/src/features/rbac/components/RbacByRoleContainer.tsx +7 -6
- package/src/features/rbac/components/RbacContainer.tsx +7 -6
- package/src/features/rbac/contexts/RbacContext.tsx +3 -3
- package/src/features/user/components/containers/UserContainer.tsx +3 -1
- package/src/features/user/data/__tests__/user.test.ts +66 -0
- package/src/features/user/data/user.interface.ts +2 -0
- package/src/features/user/data/user.service.ts +9 -0
- package/src/features/user/data/user.ts +7 -0
- package/src/features/waitlist/components/forms/WaitlistForm.tsx +1 -1
- package/src/features/waitlist/components/lists/WaitlistList.tsx +1 -1
- package/src/i18n/__tests__/config.test.ts +21 -1
- package/src/i18n/config.ts +13 -0
- package/src/i18n/index.ts +1 -0
- package/src/shadcnui/custom/multi-select.tsx +47 -14
- package/src/shadcnui/custom/multiple-selector.tsx +14 -2
- package/src/shadcnui/ui/__tests__/use-ui-text.test.tsx +76 -0
- package/src/shadcnui/ui/breadcrumb.tsx +9 -2
- package/src/shadcnui/ui/carousel.tsx +15 -4
- package/src/shadcnui/ui/dialog.tsx +15 -2
- package/src/shadcnui/ui/sheet.tsx +6 -1
- package/src/shadcnui/ui/sidebar.tsx +33 -7
- package/src/shadcnui/ui/spinner.tsx +6 -1
- package/src/shadcnui/ui/use-ui-text.ts +49 -0
- package/src/utils/__tests__/date-formatter.test.ts +24 -1
- package/src/utils/date-formatter.ts +16 -0
- package/src/utils/index.ts +1 -1
- package/dist/BlockNoteEditor-BENYTTCZ.js.map +0 -1
- package/dist/BlockNoteEditor-VOYKZOP5.mjs.map +0 -1
- package/dist/chunk-4BZJ4LAB.js.map +0 -1
- package/dist/chunk-6ISF5KNQ.mjs.map +0 -1
- package/dist/chunk-ORU7KLCY.js.map +0 -1
- package/dist/chunk-ZZ6E33FO.mjs.map +0 -1
- /package/dist/{BlockNoteViewer-Y2ZM4ESA.mjs.map → BlockNoteViewer-MDPO6BXN.mjs.map} +0 -0
- /package/dist/{chunk-46S3KPLU.mjs.map → chunk-ILFFC6BG.mjs.map} +0 -0
- /package/dist/{chunk-HZVVRIJQ.mjs.map → chunk-IUS2RHCX.mjs.map} +0 -0
- /package/dist/{chunk-ZO3QQ5CQ.mjs.map → chunk-MQDR6MEE.mjs.map} +0 -0
|
@@ -319,6 +319,13 @@ function useI18nDateFnsLocale() {
|
|
|
319
319
|
return void 0;
|
|
320
320
|
}
|
|
321
321
|
_chunk7QVYU63Ejs.__name.call(void 0, useI18nDateFnsLocale, "useI18nDateFnsLocale");
|
|
322
|
+
function getI18nSupportedLocales() {
|
|
323
|
+
if (_optionalChain([_config, 'optionalAccess', _27 => _27.supportedLocales]) && _config.supportedLocales.length > 0) {
|
|
324
|
+
return _config.supportedLocales;
|
|
325
|
+
}
|
|
326
|
+
return ["en"];
|
|
327
|
+
}
|
|
328
|
+
_chunk7QVYU63Ejs.__name.call(void 0, getI18nSupportedLocales, "getI18nSupportedLocales");
|
|
322
329
|
|
|
323
330
|
// src/core/abstracts/AbstractService.ts
|
|
324
331
|
var HttpMethod = /* @__PURE__ */ ((HttpMethod2) => {
|
|
@@ -353,7 +360,7 @@ var AbstractService = class {
|
|
|
353
360
|
}
|
|
354
361
|
const pathSegments = window.location.pathname.split("/").filter(Boolean);
|
|
355
362
|
const urlLocale = pathSegments[0];
|
|
356
|
-
const supportedLocales =
|
|
363
|
+
const supportedLocales = getI18nSupportedLocales();
|
|
357
364
|
if (urlLocale && supportedLocales.includes(urlLocale)) {
|
|
358
365
|
return urlLocale;
|
|
359
366
|
}
|
|
@@ -481,7 +488,7 @@ var AbstractService = class {
|
|
|
481
488
|
if (apiResponse.next && params.next) params.next.next = apiResponse.next;
|
|
482
489
|
if (apiResponse.prev && params.previous) params.previous.previous = apiResponse.prev;
|
|
483
490
|
if (apiResponse.self && params.self) params.self.self = apiResponse.self;
|
|
484
|
-
if (_optionalChain([apiResponse, 'access',
|
|
491
|
+
if (_optionalChain([apiResponse, 'access', _28 => _28.meta, 'optionalAccess', _29 => _29.total]) !== void 0 && params.total) params.total.total = apiResponse.meta.total;
|
|
485
492
|
setLastApiResponse(apiResponse.meta);
|
|
486
493
|
return apiResponse.data;
|
|
487
494
|
}
|
|
@@ -615,7 +622,7 @@ function configureClientJsonApi(config) {
|
|
|
615
622
|
}
|
|
616
623
|
_chunk7QVYU63Ejs.__name.call(void 0, configureClientJsonApi, "configureClientJsonApi");
|
|
617
624
|
function getClientApiUrl() {
|
|
618
|
-
if (_optionalChain([_clientConfig, 'optionalAccess',
|
|
625
|
+
if (_optionalChain([_clientConfig, 'optionalAccess', _30 => _30.apiUrl])) {
|
|
619
626
|
return _clientConfig.apiUrl;
|
|
620
627
|
}
|
|
621
628
|
const envUrl = _chunkGHE4VT2Rjs.ENV.API_URL;
|
|
@@ -628,7 +635,7 @@ function getClientApiUrl() {
|
|
|
628
635
|
}
|
|
629
636
|
_chunk7QVYU63Ejs.__name.call(void 0, getClientApiUrl, "getClientApiUrl");
|
|
630
637
|
function getClientAppUrl() {
|
|
631
|
-
if (_optionalChain([_clientConfig, 'optionalAccess',
|
|
638
|
+
if (_optionalChain([_clientConfig, 'optionalAccess', _31 => _31.appUrl])) {
|
|
632
639
|
return _clientConfig.appUrl;
|
|
633
640
|
}
|
|
634
641
|
const envUrl = _chunkGHE4VT2Rjs.ENV.APP_URL;
|
|
@@ -641,11 +648,11 @@ function getClientAppUrl() {
|
|
|
641
648
|
}
|
|
642
649
|
_chunk7QVYU63Ejs.__name.call(void 0, getClientAppUrl, "getClientAppUrl");
|
|
643
650
|
function getClientTrackablePages() {
|
|
644
|
-
return _nullishCoalesce(_optionalChain([_clientConfig, 'optionalAccess',
|
|
651
|
+
return _nullishCoalesce(_optionalChain([_clientConfig, 'optionalAccess', _32 => _32.trackablePages]), () => ( []));
|
|
645
652
|
}
|
|
646
653
|
_chunk7QVYU63Ejs.__name.call(void 0, getClientTrackablePages, "getClientTrackablePages");
|
|
647
654
|
function runClientBootstrapper() {
|
|
648
|
-
if (_optionalChain([_clientConfig, 'optionalAccess',
|
|
655
|
+
if (_optionalChain([_clientConfig, 'optionalAccess', _33 => _33.bootstrapper])) {
|
|
649
656
|
_clientConfig.bootstrapper();
|
|
650
657
|
}
|
|
651
658
|
}
|
|
@@ -665,7 +672,7 @@ async function ClientJsonApiGet(params) {
|
|
|
665
672
|
token,
|
|
666
673
|
companyId: params.companyId,
|
|
667
674
|
language: params.language,
|
|
668
|
-
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess',
|
|
675
|
+
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _34 => _34.additionalHeaders])
|
|
669
676
|
});
|
|
670
677
|
return _chunkGHE4VT2Rjs.translateResponse.call(void 0, {
|
|
671
678
|
classKey: params.classKey,
|
|
@@ -699,7 +706,7 @@ async function ClientJsonApiPost(params) {
|
|
|
699
706
|
files: params.files,
|
|
700
707
|
companyId: params.companyId,
|
|
701
708
|
language: params.language,
|
|
702
|
-
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess',
|
|
709
|
+
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _35 => _35.additionalHeaders])
|
|
703
710
|
});
|
|
704
711
|
return _chunkGHE4VT2Rjs.translateResponse.call(void 0, {
|
|
705
712
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
@@ -726,7 +733,7 @@ async function ClientJsonApiPut(params) {
|
|
|
726
733
|
files: params.files,
|
|
727
734
|
companyId: params.companyId,
|
|
728
735
|
language: params.language,
|
|
729
|
-
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess',
|
|
736
|
+
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _36 => _36.additionalHeaders])
|
|
730
737
|
});
|
|
731
738
|
return _chunkGHE4VT2Rjs.translateResponse.call(void 0, {
|
|
732
739
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
@@ -753,7 +760,7 @@ async function ClientJsonApiPatch(params) {
|
|
|
753
760
|
files: params.files,
|
|
754
761
|
companyId: params.companyId,
|
|
755
762
|
language: params.language,
|
|
756
|
-
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess',
|
|
763
|
+
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _37 => _37.additionalHeaders])
|
|
757
764
|
});
|
|
758
765
|
return _chunkGHE4VT2Rjs.translateResponse.call(void 0, {
|
|
759
766
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
@@ -772,7 +779,7 @@ async function ClientJsonApiDelete(params) {
|
|
|
772
779
|
token,
|
|
773
780
|
companyId: params.companyId,
|
|
774
781
|
language: params.language,
|
|
775
|
-
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess',
|
|
782
|
+
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _38 => _38.additionalHeaders])
|
|
776
783
|
});
|
|
777
784
|
return _chunkGHE4VT2Rjs.translateResponse.call(void 0, {
|
|
778
785
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
@@ -816,7 +823,7 @@ var ClientAbstractService = class {
|
|
|
816
823
|
}
|
|
817
824
|
const pathSegments = window.location.pathname.split("/").filter(Boolean);
|
|
818
825
|
const urlLocale = pathSegments[0];
|
|
819
|
-
const supportedLocales =
|
|
826
|
+
const supportedLocales = getI18nSupportedLocales();
|
|
820
827
|
if (urlLocale && supportedLocales.includes(urlLocale)) {
|
|
821
828
|
return urlLocale;
|
|
822
829
|
}
|
|
@@ -936,7 +943,7 @@ var ClientAbstractService = class {
|
|
|
936
943
|
if (apiResponse.next && params.next) params.next.next = apiResponse.next;
|
|
937
944
|
if (apiResponse.prev && params.previous) params.previous.previous = apiResponse.prev;
|
|
938
945
|
if (apiResponse.self && params.self) params.self.self = apiResponse.self;
|
|
939
|
-
if (_optionalChain([apiResponse, 'access',
|
|
946
|
+
if (_optionalChain([apiResponse, 'access', _39 => _39.meta, 'optionalAccess', _40 => _40.total]) !== void 0 && params.total) params.total.total = apiResponse.meta.total;
|
|
940
947
|
setLastApiResponse(apiResponse.meta);
|
|
941
948
|
return apiResponse.data;
|
|
942
949
|
}
|
|
@@ -1301,6 +1308,7 @@ var formatLocalDate = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (d) =
|
|
|
1301
1308
|
const day = String(d.getDate()).padStart(2, "0");
|
|
1302
1309
|
return `${year}-${month}-${day}`;
|
|
1303
1310
|
}, "formatLocalDate");
|
|
1311
|
+
var dateFormatLocale = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (appLocale) => !appLocale || appLocale.split("-")[0] === "en" ? "en-GB" : appLocale, "dateFormatLocale");
|
|
1304
1312
|
var formatDate = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (eventDate, formatOption, locale = "en-GB") => {
|
|
1305
1313
|
const formatPart = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (date, options) => new Intl.DateTimeFormat(locale, options).format(date), "formatPart");
|
|
1306
1314
|
const now = /* @__PURE__ */ new Date();
|
|
@@ -1314,6 +1322,13 @@ var formatDate = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (eventDate
|
|
|
1314
1322
|
const minutes = Math.floor(seconds / 60);
|
|
1315
1323
|
const hours = Math.floor(minutes / 60);
|
|
1316
1324
|
const days = Math.floor(hours / 24);
|
|
1325
|
+
if (locale.split("-")[0] !== "en") {
|
|
1326
|
+
const relative = new Intl.RelativeTimeFormat(locale, { numeric: "always" });
|
|
1327
|
+
if (days > 0) return relative.format(-days, "day");
|
|
1328
|
+
if (hours > 0) return relative.format(-hours, "hour");
|
|
1329
|
+
if (minutes > 0) return relative.format(-minutes, "minute");
|
|
1330
|
+
return relative.format(-seconds, "second");
|
|
1331
|
+
}
|
|
1317
1332
|
if (days > 0) return `${days} days ago`;
|
|
1318
1333
|
if (hours > 0) return `${hours} hours ago`;
|
|
1319
1334
|
if (minutes > 0) return `${minutes} minutes ago`;
|
|
@@ -1407,8 +1422,8 @@ var entityObjectSchema = _zod.z.object({
|
|
|
1407
1422
|
// src/utils/getInitials.ts
|
|
1408
1423
|
function getInitials(firstOrName, lastName) {
|
|
1409
1424
|
if (lastName !== void 0) {
|
|
1410
|
-
const first = _nullishCoalesce(_optionalChain([firstOrName, 'optionalAccess',
|
|
1411
|
-
const last = _nullishCoalesce(_optionalChain([lastName, 'optionalAccess',
|
|
1425
|
+
const first = _nullishCoalesce(_optionalChain([firstOrName, 'optionalAccess', _41 => _41.trim, 'call', _42 => _42(), 'optionalAccess', _43 => _43[0]]), () => ( ""));
|
|
1426
|
+
const last = _nullishCoalesce(_optionalChain([lastName, 'optionalAccess', _44 => _44.trim, 'call', _45 => _45(), 'optionalAccess', _46 => _46[0]]), () => ( ""));
|
|
1412
1427
|
if (first && last) return (first + last).toUpperCase();
|
|
1413
1428
|
return (firstOrName || lastName || "").slice(0, 2).toUpperCase();
|
|
1414
1429
|
}
|
|
@@ -1462,7 +1477,7 @@ function validateCodiceFiscale(codiceFiscale, options) {
|
|
|
1462
1477
|
}
|
|
1463
1478
|
} catch (e) {
|
|
1464
1479
|
}
|
|
1465
|
-
return _optionalChain([options, 'optionalAccess',
|
|
1480
|
+
return _optionalChain([options, 'optionalAccess', _47 => _47.allowPartitaIva]) === true && validatePartitaIva(cleaned);
|
|
1466
1481
|
}
|
|
1467
1482
|
_chunk7QVYU63Ejs.__name.call(void 0, validateCodiceFiscale, "validateCodiceFiscale");
|
|
1468
1483
|
function validateItalianTaxCode(value, type, options) {
|
|
@@ -2091,14 +2106,14 @@ var BlockNoteWordDiffRendererUtil = class {
|
|
|
2091
2106
|
return diffBlocks.map((block) => {
|
|
2092
2107
|
const updatedBlock = { ...block };
|
|
2093
2108
|
if (updatedBlock.diffId) {
|
|
2094
|
-
updatedBlock.accepted = _optionalChain([acceptedChanges, 'optionalAccess',
|
|
2095
|
-
updatedBlock.rejected = _optionalChain([rejectedChanges, 'optionalAccess',
|
|
2109
|
+
updatedBlock.accepted = _optionalChain([acceptedChanges, 'optionalAccess', _48 => _48.has, 'call', _49 => _49(updatedBlock.diffId)]) || false;
|
|
2110
|
+
updatedBlock.rejected = _optionalChain([rejectedChanges, 'optionalAccess', _50 => _50.has, 'call', _51 => _51(updatedBlock.diffId)]) || false;
|
|
2096
2111
|
}
|
|
2097
2112
|
if (updatedBlock.wordDiffs) {
|
|
2098
2113
|
updatedBlock.wordDiffs = updatedBlock.wordDiffs.map((wordDiff) => ({
|
|
2099
2114
|
...wordDiff,
|
|
2100
|
-
accepted: _optionalChain([acceptedChanges, 'optionalAccess',
|
|
2101
|
-
rejected: _optionalChain([rejectedChanges, 'optionalAccess',
|
|
2115
|
+
accepted: _optionalChain([acceptedChanges, 'optionalAccess', _52 => _52.has, 'call', _53 => _53(wordDiff.diffId)]) || false,
|
|
2116
|
+
rejected: _optionalChain([rejectedChanges, 'optionalAccess', _54 => _54.has, 'call', _55 => _55(wordDiff.diffId)]) || false
|
|
2102
2117
|
}));
|
|
2103
2118
|
}
|
|
2104
2119
|
if (updatedBlock.children) {
|
|
@@ -2123,7 +2138,7 @@ var BlockNoteWordDiffRendererUtil = class {
|
|
|
2123
2138
|
type: block.type || "paragraph",
|
|
2124
2139
|
props: this.getBlockProps(block),
|
|
2125
2140
|
content: Array.isArray(block.content) ? block.content : [],
|
|
2126
|
-
children: _optionalChain([block, 'access',
|
|
2141
|
+
children: _optionalChain([block, 'access', _56 => _56.children, 'optionalAccess', _57 => _57.map, 'call', _58 => _58(
|
|
2127
2142
|
(child) => this.renderDiffBlock(child, onAcceptChange, onRejectChange)
|
|
2128
2143
|
)])
|
|
2129
2144
|
};
|
|
@@ -2136,7 +2151,7 @@ var BlockNoteWordDiffRendererUtil = class {
|
|
|
2136
2151
|
type: block.type || "paragraph",
|
|
2137
2152
|
props: block.props || {},
|
|
2138
2153
|
content: Array.isArray(block.content) ? block.content : [],
|
|
2139
|
-
children: _optionalChain([block, 'access',
|
|
2154
|
+
children: _optionalChain([block, 'access', _59 => _59.children, 'optionalAccess', _60 => _60.map, 'call', _61 => _61(
|
|
2140
2155
|
(child) => this.renderDiffBlock(child, onAcceptChange, onRejectChange)
|
|
2141
2156
|
)])
|
|
2142
2157
|
};
|
|
@@ -2188,7 +2203,7 @@ var BlockNoteWordDiffRendererUtil = class {
|
|
|
2188
2203
|
type: block.type || "paragraph",
|
|
2189
2204
|
props: this.getBlockProps(block),
|
|
2190
2205
|
content,
|
|
2191
|
-
children: _optionalChain([block, 'access',
|
|
2206
|
+
children: _optionalChain([block, 'access', _62 => _62.children, 'optionalAccess', _63 => _63.map, 'call', _64 => _64(
|
|
2192
2207
|
(child) => this.renderDiffBlock(child, onAcceptChange, onRejectChange)
|
|
2193
2208
|
)])
|
|
2194
2209
|
};
|
|
@@ -2210,7 +2225,7 @@ var BlockNoteWordDiffRendererUtil = class {
|
|
|
2210
2225
|
type: block.type || "paragraph",
|
|
2211
2226
|
props: block.props || {},
|
|
2212
2227
|
content: Array.isArray(content) ? content : [],
|
|
2213
|
-
children: _optionalChain([block, 'access',
|
|
2228
|
+
children: _optionalChain([block, 'access', _65 => _65.children, 'optionalAccess', _66 => _66.map, 'call', _67 => _67((child) => this.renderDiffBlock(child, onAcceptChange, onRejectChange))]) || []
|
|
2214
2229
|
};
|
|
2215
2230
|
}
|
|
2216
2231
|
static groupAndRenderWordDiffs(wordDiffs) {
|
|
@@ -3058,7 +3073,7 @@ var AuthService = class extends AbstractService {
|
|
|
3058
3073
|
language
|
|
3059
3074
|
});
|
|
3060
3075
|
if (!apiResponse.ok) throw new Error(apiResponse.error);
|
|
3061
|
-
if (_optionalChain([apiResponse, 'access',
|
|
3076
|
+
if (_optionalChain([apiResponse, 'access', _68 => _68.raw, 'optionalAccess', _69 => _69.data, 'optionalAccess', _70 => _70.type]) === "two-factor-challenge") {
|
|
3062
3077
|
const challenge = rehydrate(Modules.TwoFactorChallenge, {
|
|
3063
3078
|
jsonApi: apiResponse.raw.data,
|
|
3064
3079
|
included: _nullishCoalesce(apiResponse.raw.included, () => ( []))
|
|
@@ -3072,9 +3087,9 @@ var AuthService = class extends AbstractService {
|
|
|
3072
3087
|
token: auth.token,
|
|
3073
3088
|
refreshToken: auth.refreshToken,
|
|
3074
3089
|
userId: auth.user.id,
|
|
3075
|
-
companyId: _optionalChain([auth, 'access',
|
|
3090
|
+
companyId: _optionalChain([auth, 'access', _71 => _71.user, 'access', _72 => _72.company, 'optionalAccess', _73 => _73.id]),
|
|
3076
3091
|
roles: auth.user.roles.map((role) => role.id),
|
|
3077
|
-
features: _nullishCoalesce(_optionalChain([auth, 'access',
|
|
3092
|
+
features: _nullishCoalesce(_optionalChain([auth, 'access', _74 => _74.user, 'access', _75 => _75.company, 'optionalAccess', _76 => _76.features, 'optionalAccess', _77 => _77.map, 'call', _78 => _78((feature) => feature.id)]), () => ( [])),
|
|
3078
3093
|
modules: auth.user.modules.map((module) => ({
|
|
3079
3094
|
id: module.id,
|
|
3080
3095
|
permissions: module.permissions
|
|
@@ -3084,7 +3099,7 @@ var AuthService = class extends AbstractService {
|
|
|
3084
3099
|
return auth.user;
|
|
3085
3100
|
}
|
|
3086
3101
|
static async logout(params) {
|
|
3087
|
-
const language = _optionalChain([params, 'optionalAccess',
|
|
3102
|
+
const language = _optionalChain([params, 'optionalAccess', _79 => _79.language]) || "en-US";
|
|
3088
3103
|
await _chunkGHE4VT2Rjs.JsonApiDelete.call(void 0, {
|
|
3089
3104
|
classKey: Modules.Auth,
|
|
3090
3105
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth }).generate(),
|
|
@@ -3158,9 +3173,9 @@ var AuthService = class extends AbstractService {
|
|
|
3158
3173
|
token: auth.token,
|
|
3159
3174
|
refreshToken: auth.refreshToken,
|
|
3160
3175
|
userId: auth.user.id,
|
|
3161
|
-
companyId: _optionalChain([auth, 'access',
|
|
3176
|
+
companyId: _optionalChain([auth, 'access', _80 => _80.user, 'access', _81 => _81.company, 'optionalAccess', _82 => _82.id]),
|
|
3162
3177
|
roles: auth.user.roles.map((role) => role.id),
|
|
3163
|
-
features: _nullishCoalesce(_optionalChain([auth, 'access',
|
|
3178
|
+
features: _nullishCoalesce(_optionalChain([auth, 'access', _83 => _83.user, 'access', _84 => _84.company, 'optionalAccess', _85 => _85.features, 'optionalAccess', _86 => _86.map, 'call', _87 => _87((feature) => feature.id)]), () => ( [])),
|
|
3164
3179
|
modules: auth.user.modules.map((module) => ({
|
|
3165
3180
|
id: module.id,
|
|
3166
3181
|
permissions: module.permissions
|
|
@@ -3408,9 +3423,9 @@ var TwoFactorService = class extends AbstractService {
|
|
|
3408
3423
|
token: auth.token,
|
|
3409
3424
|
refreshToken: auth.refreshToken,
|
|
3410
3425
|
userId: auth.user.id,
|
|
3411
|
-
companyId: _optionalChain([auth, 'access',
|
|
3426
|
+
companyId: _optionalChain([auth, 'access', _88 => _88.user, 'access', _89 => _89.company, 'optionalAccess', _90 => _90.id]),
|
|
3412
3427
|
roles: auth.user.roles.map((role) => role.id),
|
|
3413
|
-
features: _nullishCoalesce(_optionalChain([auth, 'access',
|
|
3428
|
+
features: _nullishCoalesce(_optionalChain([auth, 'access', _91 => _91.user, 'access', _92 => _92.company, 'optionalAccess', _93 => _93.features, 'optionalAccess', _94 => _94.map, 'call', _95 => _95((feature) => feature.id)]), () => ( [])),
|
|
3414
3429
|
modules: auth.user.modules.map((module) => ({
|
|
3415
3430
|
id: module.id,
|
|
3416
3431
|
permissions: module.permissions
|
|
@@ -3548,8 +3563,8 @@ var BillingService = class extends AbstractService {
|
|
|
3548
3563
|
type: Modules.StripeUsage,
|
|
3549
3564
|
method: "GET" /* GET */,
|
|
3550
3565
|
endpoint: endpoint.generate(),
|
|
3551
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
3552
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
3566
|
+
next: _optionalChain([params, 'optionalAccess', _96 => _96.next]),
|
|
3567
|
+
previous: _optionalChain([params, 'optionalAccess', _97 => _97.prev])
|
|
3553
3568
|
});
|
|
3554
3569
|
}
|
|
3555
3570
|
/**
|
|
@@ -3786,8 +3801,8 @@ var StripeCustomerService = class extends AbstractService {
|
|
|
3786
3801
|
type: Modules.StripePaymentMethod,
|
|
3787
3802
|
method: "GET" /* GET */,
|
|
3788
3803
|
endpoint: endpoint.generate(),
|
|
3789
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
3790
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
3804
|
+
next: _optionalChain([params, 'optionalAccess', _98 => _98.next]),
|
|
3805
|
+
previous: _optionalChain([params, 'optionalAccess', _99 => _99.prev])
|
|
3791
3806
|
});
|
|
3792
3807
|
}
|
|
3793
3808
|
/**
|
|
@@ -4001,15 +4016,15 @@ var StripeInvoiceService = class extends AbstractService {
|
|
|
4001
4016
|
const endpoint = new EndpointCreator({
|
|
4002
4017
|
endpoint: Modules.StripeInvoice
|
|
4003
4018
|
});
|
|
4004
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
4019
|
+
if (_optionalChain([params, 'optionalAccess', _100 => _100.status])) {
|
|
4005
4020
|
endpoint.addAdditionalParam("status", params.status);
|
|
4006
4021
|
}
|
|
4007
4022
|
return this.callApi({
|
|
4008
4023
|
type: Modules.StripeInvoice,
|
|
4009
4024
|
method: "GET" /* GET */,
|
|
4010
4025
|
endpoint: endpoint.generate(),
|
|
4011
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
4012
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
4026
|
+
next: _optionalChain([params, 'optionalAccess', _101 => _101.next]),
|
|
4027
|
+
previous: _optionalChain([params, 'optionalAccess', _102 => _102.prev])
|
|
4013
4028
|
});
|
|
4014
4029
|
}
|
|
4015
4030
|
/**
|
|
@@ -4226,18 +4241,18 @@ var StripePriceService = class extends AbstractService {
|
|
|
4226
4241
|
const endpoint = new EndpointCreator({
|
|
4227
4242
|
endpoint: Modules.StripePrice
|
|
4228
4243
|
});
|
|
4229
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
4244
|
+
if (_optionalChain([params, 'optionalAccess', _103 => _103.productId])) {
|
|
4230
4245
|
endpoint.addAdditionalParam("productId", params.productId);
|
|
4231
4246
|
}
|
|
4232
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
4247
|
+
if (_optionalChain([params, 'optionalAccess', _104 => _104.active]) !== void 0) {
|
|
4233
4248
|
endpoint.addAdditionalParam("active", params.active.toString());
|
|
4234
4249
|
}
|
|
4235
4250
|
return this.callApi({
|
|
4236
4251
|
type: Modules.StripePrice,
|
|
4237
4252
|
method: "GET" /* GET */,
|
|
4238
4253
|
endpoint: endpoint.generate(),
|
|
4239
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
4240
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
4254
|
+
next: _optionalChain([params, 'optionalAccess', _105 => _105.next]),
|
|
4255
|
+
previous: _optionalChain([params, 'optionalAccess', _106 => _106.prev])
|
|
4241
4256
|
});
|
|
4242
4257
|
}
|
|
4243
4258
|
/**
|
|
@@ -4409,15 +4424,15 @@ var StripeProductService = class extends AbstractService {
|
|
|
4409
4424
|
const endpoint = new EndpointCreator({
|
|
4410
4425
|
endpoint: Modules.StripeProduct
|
|
4411
4426
|
});
|
|
4412
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
4427
|
+
if (_optionalChain([params, 'optionalAccess', _107 => _107.active]) !== void 0) {
|
|
4413
4428
|
endpoint.addAdditionalParam("active", params.active.toString());
|
|
4414
4429
|
}
|
|
4415
4430
|
return this.callApi({
|
|
4416
4431
|
type: Modules.StripeProduct,
|
|
4417
4432
|
method: "GET" /* GET */,
|
|
4418
4433
|
endpoint: endpoint.generate(),
|
|
4419
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
4420
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
4434
|
+
next: _optionalChain([params, 'optionalAccess', _108 => _108.next]),
|
|
4435
|
+
previous: _optionalChain([params, 'optionalAccess', _109 => _109.prev])
|
|
4421
4436
|
});
|
|
4422
4437
|
}
|
|
4423
4438
|
/**
|
|
@@ -4640,8 +4655,8 @@ var StripeSubscriptionService = class extends AbstractService {
|
|
|
4640
4655
|
type: Modules.StripeSubscription,
|
|
4641
4656
|
method: "GET" /* GET */,
|
|
4642
4657
|
endpoint: endpoint.generate(),
|
|
4643
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
4644
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
4658
|
+
next: _optionalChain([params, 'optionalAccess', _110 => _110.next]),
|
|
4659
|
+
previous: _optionalChain([params, 'optionalAccess', _111 => _111.prev])
|
|
4645
4660
|
});
|
|
4646
4661
|
}
|
|
4647
4662
|
/**
|
|
@@ -4868,8 +4883,8 @@ var StripeUsageService = class extends AbstractService {
|
|
|
4868
4883
|
type: Modules.StripeUsage,
|
|
4869
4884
|
method: "GET" /* GET */,
|
|
4870
4885
|
endpoint: endpoint.generate(),
|
|
4871
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
4872
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
4886
|
+
next: _optionalChain([params, 'optionalAccess', _112 => _112.next]),
|
|
4887
|
+
previous: _optionalChain([params, 'optionalAccess', _113 => _113.prev])
|
|
4873
4888
|
});
|
|
4874
4889
|
}
|
|
4875
4890
|
/**
|
|
@@ -4917,8 +4932,8 @@ var StripeUsageService = class extends AbstractService {
|
|
|
4917
4932
|
type: Modules.StripeUsage,
|
|
4918
4933
|
method: "GET" /* GET */,
|
|
4919
4934
|
endpoint: endpoint.generate(),
|
|
4920
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
4921
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
4935
|
+
next: _optionalChain([params, 'optionalAccess', _114 => _114.next]),
|
|
4936
|
+
previous: _optionalChain([params, 'optionalAccess', _115 => _115.prev])
|
|
4922
4937
|
});
|
|
4923
4938
|
}
|
|
4924
4939
|
/**
|
|
@@ -4986,7 +5001,9 @@ var StripePromotionCodeService = class {
|
|
|
4986
5001
|
return {
|
|
4987
5002
|
valid: false,
|
|
4988
5003
|
code: params.code,
|
|
4989
|
-
|
|
5004
|
+
// No English fallback here: a service cannot translate, so the caller words
|
|
5005
|
+
// the missing message in the active language.
|
|
5006
|
+
errorMessage: response.error || void 0
|
|
4990
5007
|
};
|
|
4991
5008
|
}
|
|
4992
5009
|
const data = response.data;
|
|
@@ -5354,8 +5371,8 @@ var AiConnectionService = class extends AbstractService {
|
|
|
5354
5371
|
});
|
|
5355
5372
|
return {
|
|
5356
5373
|
connections: _nullishCoalesce(data, () => ( [])),
|
|
5357
|
-
providerRegistry: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
5358
|
-
envDefaults: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
5374
|
+
providerRegistry: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _116 => _116.providerRegistry]), () => ( {})),
|
|
5375
|
+
envDefaults: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _117 => _117.envDefaults]), () => ( {}))
|
|
5359
5376
|
};
|
|
5360
5377
|
}
|
|
5361
5378
|
/**
|
|
@@ -5789,8 +5806,8 @@ var ContentService = class extends AbstractService {
|
|
|
5789
5806
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
5790
5807
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
5791
5808
|
}
|
|
5792
|
-
if (_optionalChain([Modules, 'access',
|
|
5793
|
-
if (_optionalChain([Modules, 'access',
|
|
5809
|
+
if (_optionalChain([Modules, 'access', _118 => _118.Content, 'access', _119 => _119.inclusions, 'optionalAccess', _120 => _120.lists, 'optionalAccess', _121 => _121.fields])) endpoint.limitToFields(Modules.Content.inclusions.lists.fields);
|
|
5810
|
+
if (_optionalChain([Modules, 'access', _122 => _122.Content, 'access', _123 => _123.inclusions, 'optionalAccess', _124 => _124.lists, 'optionalAccess', _125 => _125.types])) endpoint.limitToType(Modules.Content.inclusions.lists.types);
|
|
5794
5811
|
return this.callApi({
|
|
5795
5812
|
type: Modules.Content,
|
|
5796
5813
|
method: "GET" /* GET */,
|
|
@@ -5804,8 +5821,8 @@ var ContentService = class extends AbstractService {
|
|
|
5804
5821
|
id: params.id,
|
|
5805
5822
|
childEndpoint: "relevance"
|
|
5806
5823
|
});
|
|
5807
|
-
if (_optionalChain([Modules, 'access',
|
|
5808
|
-
if (_optionalChain([Modules, 'access',
|
|
5824
|
+
if (_optionalChain([Modules, 'access', _126 => _126.Content, 'access', _127 => _127.inclusions, 'optionalAccess', _128 => _128.lists, 'optionalAccess', _129 => _129.fields])) endpoint.limitToFields(Modules.Content.inclusions.lists.fields);
|
|
5825
|
+
if (_optionalChain([Modules, 'access', _130 => _130.Content, 'access', _131 => _131.inclusions, 'optionalAccess', _132 => _132.lists, 'optionalAccess', _133 => _133.types])) endpoint.limitToType(Modules.Content.inclusions.lists.types);
|
|
5809
5826
|
return this.callApi({
|
|
5810
5827
|
type: Modules.Content,
|
|
5811
5828
|
method: "GET" /* GET */,
|
|
@@ -5821,8 +5838,8 @@ var ContentService = class extends AbstractService {
|
|
|
5821
5838
|
});
|
|
5822
5839
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
5823
5840
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
5824
|
-
if (_optionalChain([Modules, 'access',
|
|
5825
|
-
if (_optionalChain([Modules, 'access',
|
|
5841
|
+
if (_optionalChain([Modules, 'access', _134 => _134.Content, 'access', _135 => _135.inclusions, 'optionalAccess', _136 => _136.lists, 'optionalAccess', _137 => _137.fields])) endpoint.limitToFields(Modules.Content.inclusions.lists.fields);
|
|
5842
|
+
if (_optionalChain([Modules, 'access', _138 => _138.Content, 'access', _139 => _139.inclusions, 'optionalAccess', _140 => _140.lists, 'optionalAccess', _141 => _141.types])) endpoint.limitToType(Modules.Content.inclusions.lists.types);
|
|
5826
5843
|
return this.callApi({
|
|
5827
5844
|
type: Modules.Content,
|
|
5828
5845
|
method: "GET" /* GET */,
|
|
@@ -6015,8 +6032,8 @@ var HowToService = class extends AbstractService {
|
|
|
6015
6032
|
const endpoint = new EndpointCreator({ endpoint: Modules.HowTo });
|
|
6016
6033
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
6017
6034
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
6018
|
-
if (_optionalChain([Modules, 'access',
|
|
6019
|
-
if (_optionalChain([Modules, 'access',
|
|
6035
|
+
if (_optionalChain([Modules, 'access', _142 => _142.HowTo, 'access', _143 => _143.inclusions, 'optionalAccess', _144 => _144.lists, 'optionalAccess', _145 => _145.fields])) endpoint.limitToFields(Modules.HowTo.inclusions.lists.fields);
|
|
6036
|
+
if (_optionalChain([Modules, 'access', _146 => _146.HowTo, 'access', _147 => _147.inclusions, 'optionalAccess', _148 => _148.lists, 'optionalAccess', _149 => _149.types])) endpoint.limitToType(Modules.HowTo.inclusions.lists.types);
|
|
6020
6037
|
return this.callApi({
|
|
6021
6038
|
type: Modules.HowTo,
|
|
6022
6039
|
method: "GET" /* GET */,
|
|
@@ -6496,7 +6513,7 @@ var HandbookThread = class extends AbstractApiData {
|
|
|
6496
6513
|
super.rehydrate(data);
|
|
6497
6514
|
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
6498
6515
|
this._title = attributes.title;
|
|
6499
|
-
const fromMeta = _optionalChain([data, 'access',
|
|
6516
|
+
const fromMeta = _optionalChain([data, 'access', _150 => _150.jsonApi, 'access', _151 => _151.meta, 'optionalAccess', _152 => _152.messageCount]);
|
|
6500
6517
|
this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof attributes.messageCount === "number" ? attributes.messageCount : 0;
|
|
6501
6518
|
const messages = this._readIncluded(
|
|
6502
6519
|
data,
|
|
@@ -6619,9 +6636,9 @@ var HandbookPageService = class extends AbstractService {
|
|
|
6619
6636
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookPage });
|
|
6620
6637
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
6621
6638
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
6622
|
-
if (_optionalChain([Modules, 'access',
|
|
6639
|
+
if (_optionalChain([Modules, 'access', _153 => _153.HandbookPage, 'access', _154 => _154.inclusions, 'optionalAccess', _155 => _155.lists, 'optionalAccess', _156 => _156.fields]))
|
|
6623
6640
|
endpoint.limitToFields(Modules.HandbookPage.inclusions.lists.fields);
|
|
6624
|
-
if (_optionalChain([Modules, 'access',
|
|
6641
|
+
if (_optionalChain([Modules, 'access', _157 => _157.HandbookPage, 'access', _158 => _158.inclusions, 'optionalAccess', _159 => _159.lists, 'optionalAccess', _160 => _160.types]))
|
|
6625
6642
|
endpoint.limitToType(Modules.HandbookPage.inclusions.lists.types);
|
|
6626
6643
|
return this.callApi({
|
|
6627
6644
|
type: Modules.HandbookPage,
|
|
@@ -6670,7 +6687,7 @@ var HandbookSectionService = class extends AbstractService {
|
|
|
6670
6687
|
static async findMany() {
|
|
6671
6688
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookSection });
|
|
6672
6689
|
endpoint.addAdditionalParam("fetchAll", "true");
|
|
6673
|
-
if (_optionalChain([Modules, 'access',
|
|
6690
|
+
if (_optionalChain([Modules, 'access', _161 => _161.HandbookSection, 'access', _162 => _162.inclusions, 'optionalAccess', _163 => _163.lists, 'optionalAccess', _164 => _164.fields]))
|
|
6674
6691
|
endpoint.limitToFields(Modules.HandbookSection.inclusions.lists.fields);
|
|
6675
6692
|
return this.callApi({
|
|
6676
6693
|
type: Modules.HandbookSection,
|
|
@@ -6727,9 +6744,9 @@ var HandbookThreadService = class extends AbstractService {
|
|
|
6727
6744
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookThread });
|
|
6728
6745
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
6729
6746
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
6730
|
-
if (_optionalChain([Modules, 'access',
|
|
6747
|
+
if (_optionalChain([Modules, 'access', _165 => _165.HandbookThread, 'access', _166 => _166.inclusions, 'optionalAccess', _167 => _167.lists, 'optionalAccess', _168 => _168.fields]))
|
|
6731
6748
|
endpoint.limitToFields(Modules.HandbookThread.inclusions.lists.fields);
|
|
6732
|
-
if (_optionalChain([Modules, 'access',
|
|
6749
|
+
if (_optionalChain([Modules, 'access', _169 => _169.HandbookThread, 'access', _170 => _170.inclusions, 'optionalAccess', _171 => _171.lists, 'optionalAccess', _172 => _172.types]))
|
|
6733
6750
|
endpoint.limitToType(Modules.HandbookThread.inclusions.lists.types);
|
|
6734
6751
|
return this.callApi({
|
|
6735
6752
|
type: Modules.HandbookThread,
|
|
@@ -6816,15 +6833,15 @@ var Assistant = class extends AbstractApiData {
|
|
|
6816
6833
|
}
|
|
6817
6834
|
rehydrate(data) {
|
|
6818
6835
|
super.rehydrate(data);
|
|
6819
|
-
this._title = _optionalChain([data, 'access',
|
|
6820
|
-
this._engine = _optionalChain([data, 'access',
|
|
6821
|
-
const fromMeta = _optionalChain([data, 'access',
|
|
6822
|
-
const fromAttrs = _optionalChain([data, 'access',
|
|
6836
|
+
this._title = _optionalChain([data, 'access', _173 => _173.jsonApi, 'access', _174 => _174.attributes, 'optionalAccess', _175 => _175.title]);
|
|
6837
|
+
this._engine = _optionalChain([data, 'access', _176 => _176.jsonApi, 'access', _177 => _177.attributes, 'optionalAccess', _178 => _178.engine]);
|
|
6838
|
+
const fromMeta = _optionalChain([data, 'access', _179 => _179.jsonApi, 'access', _180 => _180.meta, 'optionalAccess', _181 => _181.messageCount]);
|
|
6839
|
+
const fromAttrs = _optionalChain([data, 'access', _182 => _182.jsonApi, 'access', _183 => _183.attributes, 'optionalAccess', _184 => _184.messageCount]);
|
|
6823
6840
|
this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof fromAttrs === "number" ? fromAttrs : 0;
|
|
6824
|
-
const contentLinkage = _optionalChain([data, 'access',
|
|
6841
|
+
const contentLinkage = _optionalChain([data, 'access', _185 => _185.jsonApi, 'access', _186 => _186.relationships, 'optionalAccess', _187 => _187.content, 'optionalAccess', _188 => _188.data]);
|
|
6825
6842
|
const boundContent = Array.isArray(contentLinkage) ? contentLinkage[0] : contentLinkage;
|
|
6826
|
-
this._boundContentType = _optionalChain([boundContent, 'optionalAccess',
|
|
6827
|
-
this._boundContentId = _optionalChain([boundContent, 'optionalAccess',
|
|
6843
|
+
this._boundContentType = _optionalChain([boundContent, 'optionalAccess', _189 => _189.type]);
|
|
6844
|
+
this._boundContentId = _optionalChain([boundContent, 'optionalAccess', _190 => _190.id]);
|
|
6828
6845
|
return this;
|
|
6829
6846
|
}
|
|
6830
6847
|
createJsonApi(data) {
|
|
@@ -6940,11 +6957,11 @@ var AssistantMessage = (_class20 = class _AssistantMessage extends AbstractApiDa
|
|
|
6940
6957
|
this._inputTokens = attrs.inputTokens;
|
|
6941
6958
|
this._outputTokens = attrs.outputTokens;
|
|
6942
6959
|
this._messageType = attrs.messageType;
|
|
6943
|
-
const actionRelationship = _optionalChain([data, 'access',
|
|
6944
|
-
this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access',
|
|
6960
|
+
const actionRelationship = _optionalChain([data, 'access', _191 => _191.jsonApi, 'access', _192 => _192.relationships, 'optionalAccess', _193 => _193.action, 'optionalAccess', _194 => _194.data]);
|
|
6961
|
+
this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access', _195 => _195[0], 'optionalAccess', _196 => _196.id]) : _optionalChain([actionRelationship, 'optionalAccess', _197 => _197.id]);
|
|
6945
6962
|
const refs = this._readIncludedPolymorphic(data, "references", resolveReferenceableModules());
|
|
6946
6963
|
this._references = Array.isArray(refs) ? refs : refs ? [refs] : [];
|
|
6947
|
-
if (_optionalChain([data, 'access',
|
|
6964
|
+
if (_optionalChain([data, 'access', _198 => _198.jsonApi, 'access', _199 => _199.relationships, 'optionalAccess', _200 => _200.citations, 'optionalAccess', _201 => _201.data])) {
|
|
6948
6965
|
const citations = this._readIncludedWithMeta(
|
|
6949
6966
|
data,
|
|
6950
6967
|
"citations",
|
|
@@ -7200,9 +7217,9 @@ var AssistantMessageService = class extends AbstractService {
|
|
|
7200
7217
|
id: params.assistantId,
|
|
7201
7218
|
childEndpoint: Modules.AssistantMessage
|
|
7202
7219
|
});
|
|
7203
|
-
if (_optionalChain([Modules, 'access',
|
|
7220
|
+
if (_optionalChain([Modules, 'access', _202 => _202.AssistantMessage, 'access', _203 => _203.inclusions, 'optionalAccess', _204 => _204.lists, 'optionalAccess', _205 => _205.fields]))
|
|
7204
7221
|
endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
|
|
7205
|
-
if (_optionalChain([Modules, 'access',
|
|
7222
|
+
if (_optionalChain([Modules, 'access', _206 => _206.AssistantMessage, 'access', _207 => _207.inclusions, 'optionalAccess', _208 => _208.lists, 'optionalAccess', _209 => _209.types]))
|
|
7206
7223
|
endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
|
|
7207
7224
|
return this.callApi({
|
|
7208
7225
|
type: Modules.AssistantMessage,
|
|
@@ -7216,9 +7233,9 @@ var AssistantMessageService = class extends AbstractService {
|
|
|
7216
7233
|
endpoint: Modules.AssistantMessage,
|
|
7217
7234
|
id: params.id
|
|
7218
7235
|
});
|
|
7219
|
-
if (_optionalChain([Modules, 'access',
|
|
7236
|
+
if (_optionalChain([Modules, 'access', _210 => _210.AssistantMessage, 'access', _211 => _211.inclusions, 'optionalAccess', _212 => _212.lists, 'optionalAccess', _213 => _213.fields]))
|
|
7220
7237
|
endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
|
|
7221
|
-
if (_optionalChain([Modules, 'access',
|
|
7238
|
+
if (_optionalChain([Modules, 'access', _214 => _214.AssistantMessage, 'access', _215 => _215.inclusions, 'optionalAccess', _216 => _216.lists, 'optionalAccess', _217 => _217.types]))
|
|
7222
7239
|
endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
|
|
7223
7240
|
return this.callApi({
|
|
7224
7241
|
type: Modules.AssistantMessage,
|
|
@@ -7543,10 +7560,10 @@ var Notification = class extends AbstractApiData {
|
|
|
7543
7560
|
this._message = data.jsonApi.attributes.message;
|
|
7544
7561
|
this._actionUrl = data.jsonApi.attributes.actionUrl;
|
|
7545
7562
|
const rels = _nullishCoalesce(data.jsonApi.relationships, () => ( {}));
|
|
7546
|
-
const actorType = _optionalChain([rels, 'access',
|
|
7563
|
+
const actorType = _optionalChain([rels, 'access', _218 => _218.actor, 'optionalAccess', _219 => _219.data, 'optionalAccess', _220 => _220.type]);
|
|
7547
7564
|
this._actor = actorType ? this._readIncluded(data, "actor", Modules.findByName(actorType)) : void 0;
|
|
7548
|
-
const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access',
|
|
7549
|
-
const subjectType = subjectName ? _optionalChain([rels, 'access',
|
|
7565
|
+
const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access', _221 => _221[name], 'optionalAccess', _222 => _222.data, 'optionalAccess', _223 => _223.type]));
|
|
7566
|
+
const subjectType = subjectName ? _optionalChain([rels, 'access', _224 => _224[subjectName], 'optionalAccess', _225 => _225.data, 'optionalAccess', _226 => _226.type]) : void 0;
|
|
7550
7567
|
this._subject = subjectName && subjectType ? this._readIncluded(data, subjectName, Modules.findByName(subjectType)) : void 0;
|
|
7551
7568
|
return this;
|
|
7552
7569
|
}
|
|
@@ -7927,6 +7944,7 @@ var User = (_class22 = class extends AbstractApiData {constructor(...args19) { s
|
|
|
7927
7944
|
|
|
7928
7945
|
|
|
7929
7946
|
|
|
7947
|
+
|
|
7930
7948
|
__init43() {this._twoFactorEnabled = false}
|
|
7931
7949
|
|
|
7932
7950
|
|
|
@@ -7960,6 +7978,9 @@ var User = (_class22 = class extends AbstractApiData {constructor(...args19) { s
|
|
|
7960
7978
|
get rate() {
|
|
7961
7979
|
return this._rate;
|
|
7962
7980
|
}
|
|
7981
|
+
get language() {
|
|
7982
|
+
return this._language;
|
|
7983
|
+
}
|
|
7963
7984
|
get relevance() {
|
|
7964
7985
|
return this._relevance;
|
|
7965
7986
|
}
|
|
@@ -7992,6 +8013,7 @@ var User = (_class22 = class extends AbstractApiData {constructor(...args19) { s
|
|
|
7992
8013
|
this._bio = data.jsonApi.attributes.bio;
|
|
7993
8014
|
this._phone = data.jsonApi.attributes.phone;
|
|
7994
8015
|
this._rate = data.jsonApi.attributes.rate;
|
|
8016
|
+
this._language = data.jsonApi.attributes.language;
|
|
7995
8017
|
this._avatar = data.jsonApi.attributes.avatar;
|
|
7996
8018
|
this._avatarUrl = data.jsonApi.attributes.avatarUrl;
|
|
7997
8019
|
this._isActivated = data.jsonApi.meta.isActive;
|
|
@@ -8025,6 +8047,7 @@ var User = (_class22 = class extends AbstractApiData {constructor(...args19) { s
|
|
|
8025
8047
|
if (data.adminCreated) response.data.attributes.adminCreated = true;
|
|
8026
8048
|
if (data.avatar !== void 0) response.data.attributes.avatar = data.avatar;
|
|
8027
8049
|
if (data.rate !== void 0) response.data.attributes.rate = data.rate;
|
|
8050
|
+
if (data.language !== void 0) response.data.attributes.language = data.language;
|
|
8028
8051
|
if (data.roleIds) {
|
|
8029
8052
|
response.data.relationships.roles = {
|
|
8030
8053
|
data: data.roleIds.map((roleId) => ({
|
|
@@ -8113,8 +8136,8 @@ var UserService = class extends AbstractService {
|
|
|
8113
8136
|
id: params.id,
|
|
8114
8137
|
childEndpoint: "user-relevance"
|
|
8115
8138
|
});
|
|
8116
|
-
if (_optionalChain([Modules, 'access',
|
|
8117
|
-
if (_optionalChain([Modules, 'access',
|
|
8139
|
+
if (_optionalChain([Modules, 'access', _227 => _227.User, 'access', _228 => _228.inclusions, 'optionalAccess', _229 => _229.lists, 'optionalAccess', _230 => _230.fields])) endpoint.limitToFields(Modules.User.inclusions.lists.fields);
|
|
8140
|
+
if (_optionalChain([Modules, 'access', _231 => _231.User, 'access', _232 => _232.inclusions, 'optionalAccess', _233 => _233.lists, 'optionalAccess', _234 => _234.types])) endpoint.limitToType(Modules.User.inclusions.lists.types);
|
|
8118
8141
|
return this.callApi({
|
|
8119
8142
|
type: Modules.User,
|
|
8120
8143
|
method: "GET" /* GET */,
|
|
@@ -8233,6 +8256,14 @@ var UserService = class extends AbstractService {
|
|
|
8233
8256
|
input: params
|
|
8234
8257
|
});
|
|
8235
8258
|
}
|
|
8259
|
+
static async patchLanguage(params) {
|
|
8260
|
+
return this.callApi({
|
|
8261
|
+
type: Modules.User,
|
|
8262
|
+
method: "PATCH" /* PATCH */,
|
|
8263
|
+
endpoint: new EndpointCreator({ endpoint: Modules.User, id: params.id, childEndpoint: "language" }).generate(),
|
|
8264
|
+
input: params
|
|
8265
|
+
});
|
|
8266
|
+
}
|
|
8236
8267
|
static async patchRate(params) {
|
|
8237
8268
|
return this.callApi({
|
|
8238
8269
|
type: Modules.User,
|
|
@@ -8403,7 +8434,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8403
8434
|
type: Modules.OAuth,
|
|
8404
8435
|
method: "GET" /* GET */,
|
|
8405
8436
|
endpoint: new EndpointCreator({ endpoint: "oauth/clients" }).generate(),
|
|
8406
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
8437
|
+
next: _optionalChain([params, 'optionalAccess', _235 => _235.next])
|
|
8407
8438
|
});
|
|
8408
8439
|
}
|
|
8409
8440
|
/**
|
|
@@ -8429,7 +8460,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8429
8460
|
});
|
|
8430
8461
|
return {
|
|
8431
8462
|
client: result.data,
|
|
8432
|
-
clientSecret: _optionalChain([result, 'access',
|
|
8463
|
+
clientSecret: _optionalChain([result, 'access', _236 => _236.meta, 'optionalAccess', _237 => _237.clientSecret])
|
|
8433
8464
|
};
|
|
8434
8465
|
}
|
|
8435
8466
|
/**
|
|
@@ -8468,7 +8499,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8468
8499
|
}).generate()
|
|
8469
8500
|
});
|
|
8470
8501
|
return {
|
|
8471
|
-
clientSecret: _optionalChain([result, 'access',
|
|
8502
|
+
clientSecret: _optionalChain([result, 'access', _238 => _238.meta, 'optionalAccess', _239 => _239.clientSecret])
|
|
8472
8503
|
};
|
|
8473
8504
|
}
|
|
8474
8505
|
// ==========================================
|
|
@@ -8505,7 +8536,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8505
8536
|
overridesJsonApiCreation: true
|
|
8506
8537
|
});
|
|
8507
8538
|
return {
|
|
8508
|
-
redirectUrl: _optionalChain([result, 'access',
|
|
8539
|
+
redirectUrl: _optionalChain([result, 'access', _240 => _240.meta, 'optionalAccess', _241 => _241.redirectUrl])
|
|
8509
8540
|
};
|
|
8510
8541
|
}
|
|
8511
8542
|
/**
|
|
@@ -8521,7 +8552,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8521
8552
|
overridesJsonApiCreation: true
|
|
8522
8553
|
});
|
|
8523
8554
|
return {
|
|
8524
|
-
redirectUrl: _optionalChain([result, 'access',
|
|
8555
|
+
redirectUrl: _optionalChain([result, 'access', _242 => _242.meta, 'optionalAccess', _243 => _243.redirectUrl])
|
|
8525
8556
|
};
|
|
8526
8557
|
}
|
|
8527
8558
|
};
|
|
@@ -8687,15 +8718,15 @@ var WaitlistService = class extends AbstractService {
|
|
|
8687
8718
|
*/
|
|
8688
8719
|
static async findMany(params) {
|
|
8689
8720
|
const endpoint = new EndpointCreator({ endpoint: Modules.Waitlist });
|
|
8690
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
8691
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
8692
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
8721
|
+
if (_optionalChain([params, 'optionalAccess', _244 => _244.status])) endpoint.addAdditionalParam("status", params.status);
|
|
8722
|
+
if (_optionalChain([params, 'optionalAccess', _245 => _245.search])) endpoint.addAdditionalParam("search", params.search);
|
|
8723
|
+
if (_optionalChain([params, 'optionalAccess', _246 => _246.fetchAll])) endpoint.addAdditionalParam("fetchAll", "true");
|
|
8693
8724
|
return this.callApi({
|
|
8694
8725
|
type: Modules.Waitlist,
|
|
8695
8726
|
method: "GET" /* GET */,
|
|
8696
8727
|
endpoint: endpoint.generate(),
|
|
8697
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
8698
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
8728
|
+
next: _optionalChain([params, 'optionalAccess', _247 => _247.next]),
|
|
8729
|
+
previous: _optionalChain([params, 'optionalAccess', _248 => _248.previous])
|
|
8699
8730
|
});
|
|
8700
8731
|
}
|
|
8701
8732
|
/**
|
|
@@ -8763,10 +8794,10 @@ var WaitlistService = class extends AbstractService {
|
|
|
8763
8794
|
method: "GET" /* GET */,
|
|
8764
8795
|
endpoint: endpoint.generate()
|
|
8765
8796
|
});
|
|
8766
|
-
const attributes = _optionalChain([response, 'access',
|
|
8797
|
+
const attributes = _optionalChain([response, 'access', _249 => _249.data, 'optionalAccess', _250 => _250._jsonApi, 'optionalAccess', _251 => _251.attributes]);
|
|
8767
8798
|
return {
|
|
8768
|
-
email: _optionalChain([attributes, 'optionalAccess',
|
|
8769
|
-
valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess',
|
|
8799
|
+
email: _optionalChain([attributes, 'optionalAccess', _252 => _252.email]),
|
|
8800
|
+
valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess', _253 => _253.valid]), () => ( false))
|
|
8770
8801
|
};
|
|
8771
8802
|
} catch (_error) {
|
|
8772
8803
|
return null;
|
|
@@ -8863,7 +8894,7 @@ var PermissionMapping = class extends AbstractApiData {
|
|
|
8863
8894
|
super.rehydrate(data);
|
|
8864
8895
|
this._roleId = data.jsonApi.attributes.roleId;
|
|
8865
8896
|
this._moduleId = data.jsonApi.attributes.moduleId;
|
|
8866
|
-
this._permissions = _optionalChain([data, 'access',
|
|
8897
|
+
this._permissions = _optionalChain([data, 'access', _254 => _254.jsonApi, 'access', _255 => _255.meta, 'optionalAccess', _256 => _256.permissions]);
|
|
8867
8898
|
return this;
|
|
8868
8899
|
}
|
|
8869
8900
|
};
|
|
@@ -10245,5 +10276,6 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
|
|
|
10245
10276
|
|
|
10246
10277
|
|
|
10247
10278
|
|
|
10248
|
-
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.MOBILE_BREAKPOINT = MOBILE_BREAKPOINT; exports.VIEWPORT_COOKIE_NAME = VIEWPORT_COOKIE_NAME; exports.getViewportContext = getViewportContext; exports.measureViewport = measureViewport; exports.persistViewport = persistViewport; exports.subscribeViewport = subscribeViewport; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.isRemoteImageSrc = isRemoteImageSrc; exports.validatePartitaIva = validatePartitaIva; exports.validateCodiceFiscale = validateCodiceFiscale; exports.validateItalianTaxCode = validateItalianTaxCode; exports.formatPartitaIva = formatPartitaIva; exports.formatCodiceFiscale = formatCodiceFiscale; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistFields = WaitlistFields; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.AnalyticsBreakdown = AnalyticsBreakdown; exports.AnalyticsEvent = AnalyticsEvent; exports.AnalyticsPageView = AnalyticsPageView; exports.AnalyticsSession = AnalyticsSession; exports.AnalyticsSummary = AnalyticsSummary; exports.AnalyticsTimeline = AnalyticsTimeline; exports.analyticsModules = analyticsModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
|
|
10249
|
-
//# sourceMappingURL=chunk-4BZJ4LAB.js.map
|
|
10279
|
+
|
|
10280
|
+
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.MOBILE_BREAKPOINT = MOBILE_BREAKPOINT; exports.VIEWPORT_COOKIE_NAME = VIEWPORT_COOKIE_NAME; exports.getViewportContext = getViewportContext; exports.measureViewport = measureViewport; exports.persistViewport = persistViewport; exports.subscribeViewport = subscribeViewport; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.dateFormatLocale = dateFormatLocale; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.isRemoteImageSrc = isRemoteImageSrc; exports.validatePartitaIva = validatePartitaIva; exports.validateCodiceFiscale = validateCodiceFiscale; exports.validateItalianTaxCode = validateItalianTaxCode; exports.formatPartitaIva = formatPartitaIva; exports.formatCodiceFiscale = formatCodiceFiscale; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistFields = WaitlistFields; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.AnalyticsBreakdown = AnalyticsBreakdown; exports.AnalyticsEvent = AnalyticsEvent; exports.AnalyticsPageView = AnalyticsPageView; exports.AnalyticsSession = AnalyticsSession; exports.AnalyticsSummary = AnalyticsSummary; exports.AnalyticsTimeline = AnalyticsTimeline; exports.analyticsModules = analyticsModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
|
|
10281
|
+
//# sourceMappingURL=chunk-4ORLPEK7.js.map
|