@c-rex/interfaces 0.3.0-build.26 → 0.3.0-build.27710

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/index.d.mts CHANGED
@@ -1,4 +1,57 @@
1
- import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType, DocumentsType, OperatorType, AdministrativeMetadataModelField, ProductLcpAfterUseModelField, CategoryModelField, InformationSubjectCollectionModelField, ComponentModelField, TopicTypeConceptModelField, InformationSubjectConformityModelField, SupplyConsumableModelField, ContentLifeCycleStatusModelField, ProductLcpDesignAndRealizationModelField, DirectoryNodeTypeModelField, DirectoryNodeModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentModelField, DomainEntityModelField, PlanningDownTimeModelField, EventModelField, InformationSubjectFormalityModelField, TopicTypeFormModelField, FragmentModelField, FunctionalMetadataModelField, InformationSubjectFunctionalityModelField, VCardGroupModelField, SupplyHardwareToolModelField, IdentityModelField, IdentityDomainModelField, VCardIndividualModelField, InformationObjectModelField, InformationSubjectModelField, InformationTypeModelField, InformationUnitModelField, TopicTypeLearningModelField, VCardLocationModelField, SupplyLubricantModelField, PlanningMaintenanceIntervalModelField, SupplyOperatingModelField, VCardOrganizationModelField, PackageModelField, PartyModelField, PlanningTimeModelField, InformationSubjectProcessModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, ProductLcpPuttingToUseModelField, QualificationModelField, TopicTypeReferenceModelField, RenditionModelField, QualificationRoleModelField, InformationSubjectSafetyModelField, PlanningSetupTimeModelField, QualificationSkillLevelModelField, SupplySparePartModelField, SupplyModelField, TopicTypeTaskModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, TopicTypeModelField, TopicModelField, TopicTypeTroubleShootingModelField, ProductLcpUseModelField, VCardModelField, InformationSubjectSafetyWarningMessageModelField, PlanningWorkingTimeModelField } from '@c-rex/types';
1
+ import { TokenSource, LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType, DocumentsType, OperatorType, AdministrativeMetadataModelField, ProductLcpAfterUseModelField, CategoryModelField, InformationSubjectCollectionModelField, ComponentModelField, TopicTypeConceptModelField, InformationSubjectConformityModelField, SupplyConsumableModelField, ContentLifeCycleStatusModelField, ProductLcpDesignAndRealizationModelField, DirectoryNodeTypeModelField, DirectoryNodeModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentModelField, DomainEntityModelField, PlanningDownTimeModelField, EventModelField, InformationSubjectFormalityModelField, TopicTypeFormModelField, FragmentModelField, FunctionalMetadataModelField, InformationSubjectFunctionalityModelField, VCardGroupModelField, SupplyHardwareToolModelField, IdentityModelField, IdentityDomainModelField, VCardIndividualModelField, InformationObjectModelField, InformationSubjectModelField, InformationTypeModelField, InformationUnitModelField, TopicTypeLearningModelField, VCardLocationModelField, SupplyLubricantModelField, PlanningMaintenanceIntervalModelField, SupplyOperatingModelField, VCardOrganizationModelField, PackageModelField, PartyModelField, PlanningTimeModelField, InformationSubjectProcessModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, ProductLcpPuttingToUseModelField, QualificationModelField, TopicTypeReferenceModelField, RenditionModelField, QualificationRoleModelField, InformationSubjectSafetyModelField, PlanningSetupTimeModelField, QualificationSkillLevelModelField, SupplySparePartModelField, SupplyModelField, TopicTypeTaskModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, TopicTypeModelField, TopicModelField, TopicTypeTroubleShootingModelField, ProductLcpUseModelField, VCardModelField, InformationSubjectSafetyWarningMessageModelField, PlanningWorkingTimeModelField } from '@c-rex/types';
2
+ export { PersonalizationMode, TokenSource } from '@c-rex/types';
3
+
4
+ /**
5
+ * Decrypted content of the `crex-session` cookie. Server/edge only — it holds
6
+ * bearer credentials and must never be projected to browser code.
7
+ */
8
+ interface SessionPayload {
9
+ /** Payload schema version (SESSION_PAYLOAD_VERSION). */
10
+ v: number;
11
+ sub: string;
12
+ name?: string;
13
+ email?: string;
14
+ access_token: string;
15
+ refresh_token: string;
16
+ id_token?: string;
17
+ /** Access token expiry, epoch seconds. */
18
+ expires_at: number;
19
+ /** Refresh token expiry, epoch seconds (from `refresh_expires_in`). */
20
+ refresh_expires_at: number;
21
+ /** Token endpoint captured at login, so refresh needs no discovery. */
22
+ token_endpoint: string;
23
+ /** Random per login; feeds the Pulse `personalizationSessionKey`. */
24
+ login_id: string;
25
+ /** Epoch seconds of the last time this payload was written. */
26
+ issued_at: number;
27
+ }
28
+ type SessionEvaluation = "fresh" | "needs-refresh" | "dead";
29
+ /** Browser-safe view of the session (no credentials). */
30
+ interface AuthSessionProjection {
31
+ user?: {
32
+ name: string;
33
+ email?: string;
34
+ };
35
+ error?: string;
36
+ /** Access token expiry, epoch seconds. */
37
+ accessTokenExpiresAt?: number;
38
+ chatMcpAuthorized?: boolean;
39
+ chatMcpAuthorizedReason?: string;
40
+ personalizationSessionKey?: string;
41
+ }
42
+ /** A projection of a session that has a user (what `getSession()` returns). */
43
+ type SignedInSession = AuthSessionProjection & {
44
+ user: NonNullable<AuthSessionProjection["user"]>;
45
+ };
46
+ interface AccessToken {
47
+ token: string;
48
+ /** Epoch seconds; 0 when unknown. */
49
+ expiresAt: number;
50
+ }
51
+ /** Where the Bearer used by CrexApi comes from (one implementation per token source). */
52
+ interface TokenProvider {
53
+ getAccessToken(): Promise<AccessToken | null>;
54
+ }
2
55
 
3
56
  /**
4
57
  * Auto-generated from OpenAPI spec
@@ -1509,6 +1562,7 @@ interface OIDCInterface {
1509
1562
  scope?: string;
1510
1563
  userInfoEndPoint?: string;
1511
1564
  }
1565
+
1512
1566
  interface SearchSettings {
1513
1567
  fields: string[];
1514
1568
  tags: string[];
@@ -1536,16 +1590,33 @@ interface OrganizationConfig {
1536
1590
  }
1537
1591
  interface CookiesConfigs extends CustomerConfig {
1538
1592
  publicNextApiUrl: string;
1593
+ /**
1594
+ * IDS API base URL (origin + base path, e.g. `https://host/ids/api/`),
1595
+ * derived from `CREX_IDS_API_URL`. Exposed in the client cookie config so
1596
+ * the browser can build absolute IDS asset URLs (e.g. article images)
1597
+ * without a build-time `NEXT_PUBLIC_*` env. Distinct from `publicNextApiUrl`
1598
+ * (the Next app origin).
1599
+ */
1600
+ apiBaseUrl: string;
1539
1601
  OIDC: {
1540
1602
  clientEnabled: boolean;
1541
1603
  userEnabled: boolean;
1604
+ tokenSource: TokenSource;
1542
1605
  };
1543
1606
  }
1544
1607
  interface ConfigInterface extends CustomerConfig {
1545
1608
  baseUrl: string;
1609
+ /** Public origin of this Next app (`NEXT_PUBLIC_API_URL`); base of OIDC redirect URIs. */
1610
+ publicNextApiUrl: string;
1546
1611
  OIDC: {
1547
1612
  client: OIDCInterface;
1548
1613
  user: OIDCInterface;
1614
+ tokenSource: TokenSource;
1615
+ /** Server-only settings of the encrypted session cookie. */
1616
+ session: {
1617
+ secret: string;
1618
+ secureCookies: boolean;
1619
+ };
1549
1620
  issuerMetadata?: any;
1550
1621
  };
1551
1622
  logs: {
@@ -1561,6 +1632,13 @@ interface CustomerConfig {
1561
1632
  sub: string;
1562
1633
  };
1563
1634
  languageSwitcher: LanguageSwitcherConfig;
1635
+ /** Default language used to initialize content-language search settings. */
1636
+ defaultContentLanguage?: string;
1637
+ /**
1638
+ * Read-only presentation mode. When enabled, article action bars are not
1639
+ * rendered while normal reading and navigation remain available.
1640
+ */
1641
+ readOnlyMode?: boolean;
1564
1642
  organization?: OrganizationConfig;
1565
1643
  }
1566
1644
 
@@ -1640,6 +1718,11 @@ interface TopicsResponseItem {
1640
1718
  renditionUrl: string;
1641
1719
  image: string | null;
1642
1720
  description: string | null;
1721
+ authors: {
1722
+ name: string;
1723
+ photo: string | null;
1724
+ }[];
1725
+ vcardUrls: string[];
1643
1726
  }
1644
1727
  interface TopicsRequestItem extends DefaultCrexObject {
1645
1728
  applicableForTypes?: {
@@ -1653,6 +1736,140 @@ interface LanguageAndCountries {
1653
1736
  value: string;
1654
1737
  }
1655
1738
 
1739
+ type PulsePersonalizationState = "loading" | "ready" | "empty" | "unavailable" | "unauthenticated";
1740
+ type PulsePageInfo = {
1741
+ pageNumber: number;
1742
+ pageSize: number;
1743
+ totalItemCount: number;
1744
+ pageCount: number;
1745
+ hasPreviousPage: boolean;
1746
+ hasNextPage: boolean;
1747
+ isFirstPage: boolean;
1748
+ isLastPage: boolean;
1749
+ firstItemOnPage: number;
1750
+ lastItemOnPage: number;
1751
+ };
1752
+ type PulseResultContainer<T> = {
1753
+ items: T[];
1754
+ pageInfo: PulsePageInfo;
1755
+ };
1756
+ type PulseNotificationLevel = "Info" | "Subscription" | "Warning" | "License" | "Error" | 0 | 1 | 2 | 3 | 4;
1757
+ type PulseNotification = {
1758
+ id: string;
1759
+ level: PulseNotificationLevel;
1760
+ category?: string | null;
1761
+ subject?: string | null;
1762
+ message?: string | null;
1763
+ createdAtUtc?: string | null;
1764
+ readAtUtc?: string | null;
1765
+ expiresAtUtc?: string | null;
1766
+ language?: string | null;
1767
+ templateKey?: string | null;
1768
+ templateDataJson?: string | null;
1769
+ originSystem?: string | null;
1770
+ originContext?: string | null;
1771
+ };
1772
+ type PulseNotificationQuery = {
1773
+ query?: string;
1774
+ language?: string;
1775
+ originSystem?: string;
1776
+ originContext?: string;
1777
+ fromCreatedDate?: string;
1778
+ toCreatedDate?: string;
1779
+ isRead?: boolean;
1780
+ levels?: PulseNotificationLevel[];
1781
+ pageNumber?: number;
1782
+ pageSize?: number;
1783
+ };
1784
+ type PulseNotificationDeliveryChannel = "inApp" | "email";
1785
+ type PulseSubscription = {
1786
+ subjectKey?: string | null;
1787
+ resourceId?: string | null;
1788
+ kind?: string | null;
1789
+ channel?: PulseNotificationDeliveryChannel;
1790
+ revision?: string | null;
1791
+ createdAtUtc?: string | null;
1792
+ title?: string | null;
1793
+ metadata?: Record<string, string> | null;
1794
+ appTitle?: string | null;
1795
+ appContext?: string | null;
1796
+ };
1797
+ type PulseSubscriptionQuery = {
1798
+ query?: string;
1799
+ kind?: string;
1800
+ resourceId?: string;
1801
+ channel?: PulseNotificationDeliveryChannel;
1802
+ appContext?: string;
1803
+ pageNumber?: number;
1804
+ pageSize?: number;
1805
+ };
1806
+ type PulseSubscriptionUpsert = {
1807
+ resourceId: string;
1808
+ kind: string;
1809
+ channel?: PulseNotificationDeliveryChannel;
1810
+ title?: string | null;
1811
+ metadata?: Record<string, string> | null;
1812
+ appTitle?: string | null;
1813
+ appContext?: string | null;
1814
+ };
1815
+ type PulseFavorite = {
1816
+ id: string;
1817
+ appContext: string;
1818
+ resourceId: string;
1819
+ kind?: string | null;
1820
+ appTitle?: string | null;
1821
+ label?: string | null;
1822
+ href?: string | null;
1823
+ sortOrder?: number | null;
1824
+ tags?: string[] | null;
1825
+ payload?: unknown;
1826
+ createdAtUtc: string;
1827
+ updatedAtUtc: string;
1828
+ };
1829
+ type PulseFavoriteQuery = {
1830
+ appContext?: string;
1831
+ query?: string;
1832
+ tag?: string;
1833
+ resourceId?: string;
1834
+ kind?: string;
1835
+ pageNumber?: number;
1836
+ pageSize?: number;
1837
+ };
1838
+ type PulseFavoriteUpsert = {
1839
+ appContext: string;
1840
+ resourceId: string;
1841
+ kind?: string | null;
1842
+ appTitle?: string | null;
1843
+ label?: string | null;
1844
+ href?: string | null;
1845
+ sortOrder?: number | null;
1846
+ tags?: string[] | null;
1847
+ payload?: unknown;
1848
+ };
1849
+ type PulseUserSetting = {
1850
+ appContext: string;
1851
+ appTitle?: string | null;
1852
+ key: string;
1853
+ value: string;
1854
+ };
1855
+ type PulseUserSettingsQuery = {
1856
+ appContext?: string;
1857
+ appTitle?: string;
1858
+ keyPrefix?: string;
1859
+ query?: string;
1860
+ pageNumber?: number;
1861
+ pageSize?: number;
1862
+ };
1863
+ type PulseUserSettingUpsert = {
1864
+ appTitle?: string | null;
1865
+ value: string | null;
1866
+ };
1867
+ type ThemeMode = "light" | "dark" | "system";
1868
+ type PulseErrorCode = "pulse_not_configured" | "pulse_disabled" | "pulse_unauthorized" | "pulse_forbidden" | "pulse_not_found" | "pulse_invalid_request" | "pulse_rate_limited" | "pulse_unavailable" | "pulse_malformed_response";
1869
+ type PulseErrorResponse = {
1870
+ error: PulseErrorCode;
1871
+ };
1872
+
1656
1873
  /**
1657
1874
  * Auto-generated from OpenAPI spec
1658
1875
  * Source: https://staging.c-rex.net/ids/api/swagger/v1/swagger.json
@@ -3588,4 +3805,4 @@ interface FilterItem {
3588
3805
  shortId: string;
3589
3806
  }
3590
3807
 
3591
- export type { AdministrativeMetadataGetAllQueryParams, AdministrativeMetadataGetByIdPathParams, AdministrativeMetadataGetByIdQueryParams, AdministrativeMetadataModel, AfterUsesGetAllQueryParams, AfterUsesGetByIdPathParams, AfterUsesGetByIdQueryParams, AuditStateModel, AuthStateModel, AutocompleteSuggestion, AvailableVersionsInterface, CategoriesGetAllQueryParams, CategoriesGetByIdPathParams, CategoriesGetByIdQueryParams, CategoryModel, ClassInterface, CollectionsGetAllQueryParams, CollectionsGetByIdPathParams, CollectionsGetByIdQueryParams, CommonItemsModel, ComponentModel, ComponentsGetAllQueryParams, ComponentsGetByIdPathParams, ComponentsGetByIdQueryParams, ConceptsGetAllQueryParams, ConceptsGetByIdPathParams, ConceptsGetByIdQueryParams, ConfigInterface, ConformitiesGetAllQueryParams, ConformitiesGetByIdPathParams, ConformitiesGetByIdQueryParams, ConsumablesGetAllQueryParams, ConsumablesGetByIdPathParams, ConsumablesGetByIdQueryParams, ContentLifeCycleStatusGetAllQueryParams, ContentLifeCycleStatusGetByIdPathParams, ContentLifeCycleStatusGetByIdQueryParams, ContentLifeCycleStatusModel, ContentLifeCycleStatusValueModel, CookiesConfigs, CustomerConfig, DefaultCrexDirectories, DefaultCrexObject, DefaultCrexRenditions, DefaultPageInfo, DefaultRequest, DefaultResponse, DesignAndRealizationsGetAllQueryParams, DesignAndRealizationsGetByIdPathParams, DesignAndRealizationsGetByIdQueryParams, DirectoryNodeModel, DirectoryNodeTypeModel, DirectoryNodeTypesGetAllQueryParams, DirectoryNodeTypesGetByIdPathParams, DirectoryNodeTypesGetByIdQueryParams, DirectoryNodes, DirectoryNodesGetAllQueryParams, DirectoryNodesGetByIdPathParams, DirectoryNodesGetByIdQueryParams, DirectoryNodesResponse, DocumentModel, DocumentTypeModel, DocumentTypesGetAllQueryParams, DocumentTypesGetByIdPathParams, DocumentTypesGetByIdQueryParams, DocumentationMetadataGetAllQueryParams, DocumentationMetadataGetByIdPathParams, DocumentationMetadataGetByIdQueryParams, DocumentationMetadataModel, DocumentsGetAllQueryParams, DocumentsGetByIdPathParams, DocumentsGetByIdQueryParams, DocumentsLanguagesQueryParams, DomainEntitiesGetAllQueryParams, DomainEntitiesGetByIdPathParams, DomainEntitiesGetByIdQueryParams, DomainEntityModel, DownTimesGetAllQueryParams, DownTimesGetByIdPathParams, DownTimesGetByIdQueryParams, EmptyPathParams, EventModel, EventsGetAllQueryParams, EventsGetByIdPathParams, EventsGetByIdQueryParams, ExternalProductGraphicModel, ExternalProductOntologyModel, FilterItem, Filters, FormalitiesGetAllQueryParams, FormalitiesGetByIdPathParams, FormalitiesGetByIdQueryParams, FormsGetAllQueryParams, FormsGetByIdPathParams, FormsGetByIdQueryParams, FragmentModel, FragmentsGetAllQueryParams, FragmentsGetByIdPathParams, FragmentsGetByIdQueryParams, FragmentsLanguagesQueryParams, FunctionalMetadataModel, FunctionalMetadatasGetAllQueryParams, FunctionalMetadatasGetByIdPathParams, FunctionalMetadatasGetByIdQueryParams, FunctionalitiesGetAllQueryParams, FunctionalitiesGetByIdPathParams, FunctionalitiesGetByIdQueryParams, GroupsGetAllQueryParams, GroupsGetByIdPathParams, GroupsGetByIdQueryParams, HardwareToolsGetAllQueryParams, HardwareToolsGetByIdPathParams, HardwareToolsGetByIdQueryParams, IdentitiesGetAllQueryParams, IdentitiesGetByIdPathParams, IdentitiesGetByIdQueryParams, IdentityDomainModel, IdentityDomainsGetAllQueryParams, IdentityDomainsGetByIdPathParams, IdentityDomainsGetByIdQueryParams, IdentityModel, IndividualsGetAllQueryParams, IndividualsGetByIdPathParams, IndividualsGetByIdQueryParams, InformationObjectModel, InformationObjectsGetAllQueryParams, InformationObjectsGetByIdPathParams, InformationObjectsGetByIdQueryParams, InformationSubjectCollectionModel, InformationSubjectConformityModel, InformationSubjectFormalityModel, InformationSubjectFunctionalityModel, InformationSubjectModel, InformationSubjectProcessModel, InformationSubjectSafetyModel, InformationSubjectSafetyWarningMessageModel, InformationSubjectTechnicalDataModel, InformationSubjectTechnicalOverviewModel, InformationSubjectsGetAllQueryParams, InformationSubjectsGetByIdPathParams, InformationSubjectsGetByIdQueryParams, InformationTypeModel, InformationTypesGetAllQueryParams, InformationTypesGetByIdPathParams, InformationTypesGetByIdQueryParams, InformationUnitModel, InformationUnitsGetAllQueryParams, InformationUnitsGetByIdPathParams, InformationUnitsGetByIdQueryParams, InformationUnitsLanguagesQueryParams, Labels, LanguageAndCountries, LanguageSwitcherConfig, LearningsGetAllQueryParams, LearningsGetByIdPathParams, LearningsGetByIdQueryParams, Link, LiteralModel, LocationsGetAllQueryParams, LocationsGetByIdPathParams, LocationsGetByIdQueryParams, LubricantsGetAllQueryParams, LubricantsGetByIdPathParams, LubricantsGetByIdQueryParams, MaintenanceIntervalsGetAllQueryParams, MaintenanceIntervalsGetByIdPathParams, MaintenanceIntervalsGetByIdQueryParams, OIDCInterface, ObjectRefModel, OperatingSuppliesGetAllQueryParams, OperatingSuppliesGetByIdPathParams, OperatingSuppliesGetByIdQueryParams, Operator, OrganizationConfig, OrganizationsGetAllQueryParams, OrganizationsGetByIdPathParams, OrganizationsGetByIdQueryParams, OwlClassModel, PackageModel, PackagesCreateClientAppQueryParams, PackagesGetAllQueryParams, PackagesGetByIdPathParams, PackagesGetByIdQueryParams, PackagesLanguagesQueryParams, PartiesGetAllQueryParams, PartiesGetByIdPathParams, PartiesGetByIdQueryParams, PartyModel, PartyRoleModel, PlanningDownTimeModel, PlanningMaintenanceIntervalModel, PlanningSetupTimeModel, PlanningTimeModel, PlanningTimesGetAllQueryParams, PlanningTimesGetByIdPathParams, PlanningTimesGetByIdQueryParams, PlanningWorkingTimeModel, ProcessesGetAllQueryParams, ProcessesGetByIdPathParams, ProcessesGetByIdQueryParams, ProductFeatureModel, ProductFeaturesGetAllQueryParams, ProductFeaturesGetByIdPathParams, ProductFeaturesGetByIdQueryParams, ProductFunctionModel, ProductFunctionsGetAllQueryParams, ProductFunctionsGetByIdPathParams, ProductFunctionsGetByIdQueryParams, ProductLcpAfterUseModel, ProductLcpDesignAndRealizationModel, ProductLcpPuttingToUseModel, ProductLcpUseModel, ProductLifeCyclePhaseModel, ProductLifeCyclePhasesGetAllQueryParams, ProductLifeCyclePhasesGetByIdPathParams, ProductLifeCyclePhasesGetByIdQueryParams, ProductMetadataGetAllQueryParams, ProductMetadataGetByIdPathParams, ProductMetadataGetByIdQueryParams, ProductMetadataModel, ProductPropertiesGetAllQueryParams, ProductPropertiesGetByIdPathParams, ProductPropertiesGetByIdQueryParams, ProductPropertyModel, ProductVariantModel, ProductVariantsGetAllQueryParams, ProductVariantsGetByIdPathParams, ProductVariantsGetByIdQueryParams, PuttingToUsesGetAllQueryParams, PuttingToUsesGetByIdPathParams, PuttingToUsesGetByIdQueryParams, QualificationModel, QualificationRoleModel, QualificationSkillLevelModel, QualificationsGetAllQueryParams, QualificationsGetByIdPathParams, QualificationsGetByIdQueryParams, ReferencesGetAllQueryParams, ReferencesGetByIdPathParams, ReferencesGetByIdQueryParams, RenditionModel, RenditionSelectorModel, RenditionsGetAllQueryParams, RenditionsGetByIdPathParams, RenditionsGetByIdQueryParams, RenditionsGetWithBinaryWithBinaryPathPathParams, RenditionsGetWithBinaryWithBinaryPathQueryParams, ResourceLink, ResourcesDownloadResourcePathParams, ResourcesDownloadResourceQueryParams, ResourcesDownloadResourceWithBinaryPathPathParams, ResourcesDownloadResourceWithBinaryPathQueryParams, ResourcesGetPackagePathParams, ResourcesGetPackageQueryParams, ResourcesGetSubjectFromPackagePathParams, ResourcesGetSubjectFromPackageQueryParams, ResourcesPackagesGetPackagePathParams, ResourcesPackagesGetPackageQueryParams, ResourcesSubjectsGetSubjectFromPackagePathParams, ResourcesSubjectsGetSubjectFromPackageQueryParams, ResourcesViewResourcePathParams, ResourcesViewResourceQueryParams, ResourcesViewResourceWithBinaryPathPathParams, ResourcesViewResourceWithBinaryPathQueryParams, ResourcesViewViewResourcePathParams, ResourcesViewViewResourceQueryParams, ResourcesViewViewResourceWithBinaryPathPathParams, ResourcesViewViewResourceWithBinaryPathQueryParams, ResultContainerModel, ResultContainerPageInfoModel, ResultsConfig, RolesGetAllQueryParams, RolesGetByIdPathParams, RolesGetByIdQueryParams, SafetiesGetAllQueryParams, SafetiesGetByIdPathParams, SafetiesGetByIdQueryParams, SearchFacetsGetAllQueryParams, SearchGetAllQueryParams, SearchSettings, SetupTimesGetAllQueryParams, SetupTimesGetByIdPathParams, SetupTimesGetByIdQueryParams, SkillLevelsGetAllQueryParams, SkillLevelsGetByIdPathParams, SkillLevelsGetByIdQueryParams, SparQLExecuteSparQlPathParams, SparQLExecuteSparQlQueryParams, SparePartsGetAllQueryParams, SparePartsGetByIdPathParams, SparePartsGetByIdQueryParams, SuggestionQueryParams, SuppliesGetAllQueryParams, SuppliesGetByIdPathParams, SuppliesGetByIdQueryParams, SupplyConsumableModel, SupplyHardwareToolModel, SupplyLubricantModel, SupplyModel, SupplyOperatingModel, SupplySparePartModel, Tags, TasksGetAllQueryParams, TasksGetByIdPathParams, TasksGetByIdQueryParams, TechnicalDataGetAllQueryParams, TechnicalDataGetByIdPathParams, TechnicalDataGetByIdQueryParams, TechnicalOverviewsGetAllQueryParams, TechnicalOverviewsGetByIdPathParams, TechnicalOverviewsGetByIdQueryParams, TopicModel, TopicTypeConceptModel, TopicTypeFormModel, TopicTypeLearningModel, TopicTypeModel, TopicTypeReferenceModel, TopicTypeTaskModel, TopicTypeTroubleShootingModel, TopicTypesGetAllQueryParams, TopicTypesGetByIdPathParams, TopicTypesGetByIdQueryParams, TopicsGetAllQueryParams, TopicsGetByIdPathParams, TopicsGetByIdQueryParams, TopicsLanguagesQueryParams, TopicsRequestItem, TopicsResponseItem, TreeOfContent, TroubleShootingsGetAllQueryParams, TroubleShootingsGetByIdPathParams, TroubleShootingsGetByIdQueryParams, UsesGetAllQueryParams, UsesGetByIdPathParams, UsesGetByIdQueryParams, VCardCalendarModel, VCardGroupModel, VCardImageModel, VCardIndividualModel, VCardInfoModel, VCardLocationModel, VCardModel, VCardOrganizationModel, VCardsGetAllQueryParams, VCardsGetByIdPathParams, VCardsGetByIdQueryParams, WarningMessagesGetAllQueryParams, WarningMessagesGetByIdPathParams, WarningMessagesGetByIdQueryParams, Wildcards, WorkingTimesGetAllQueryParams, WorkingTimesGetByIdPathParams, WorkingTimesGetByIdQueryParams, idShortID, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
3808
+ export type { AccessToken, AdministrativeMetadataGetAllQueryParams, AdministrativeMetadataGetByIdPathParams, AdministrativeMetadataGetByIdQueryParams, AdministrativeMetadataModel, AfterUsesGetAllQueryParams, AfterUsesGetByIdPathParams, AfterUsesGetByIdQueryParams, AuditStateModel, AuthSessionProjection, AuthStateModel, AutocompleteSuggestion, AvailableVersionsInterface, CategoriesGetAllQueryParams, CategoriesGetByIdPathParams, CategoriesGetByIdQueryParams, CategoryModel, ClassInterface, CollectionsGetAllQueryParams, CollectionsGetByIdPathParams, CollectionsGetByIdQueryParams, CommonItemsModel, ComponentModel, ComponentsGetAllQueryParams, ComponentsGetByIdPathParams, ComponentsGetByIdQueryParams, ConceptsGetAllQueryParams, ConceptsGetByIdPathParams, ConceptsGetByIdQueryParams, ConfigInterface, ConformitiesGetAllQueryParams, ConformitiesGetByIdPathParams, ConformitiesGetByIdQueryParams, ConsumablesGetAllQueryParams, ConsumablesGetByIdPathParams, ConsumablesGetByIdQueryParams, ContentLifeCycleStatusGetAllQueryParams, ContentLifeCycleStatusGetByIdPathParams, ContentLifeCycleStatusGetByIdQueryParams, ContentLifeCycleStatusModel, ContentLifeCycleStatusValueModel, CookiesConfigs, CustomerConfig, DefaultCrexDirectories, DefaultCrexObject, DefaultCrexRenditions, DefaultPageInfo, DefaultRequest, DefaultResponse, DesignAndRealizationsGetAllQueryParams, DesignAndRealizationsGetByIdPathParams, DesignAndRealizationsGetByIdQueryParams, DirectoryNodeModel, DirectoryNodeTypeModel, DirectoryNodeTypesGetAllQueryParams, DirectoryNodeTypesGetByIdPathParams, DirectoryNodeTypesGetByIdQueryParams, DirectoryNodes, DirectoryNodesGetAllQueryParams, DirectoryNodesGetByIdPathParams, DirectoryNodesGetByIdQueryParams, DirectoryNodesResponse, DocumentModel, DocumentTypeModel, DocumentTypesGetAllQueryParams, DocumentTypesGetByIdPathParams, DocumentTypesGetByIdQueryParams, DocumentationMetadataGetAllQueryParams, DocumentationMetadataGetByIdPathParams, DocumentationMetadataGetByIdQueryParams, DocumentationMetadataModel, DocumentsGetAllQueryParams, DocumentsGetByIdPathParams, DocumentsGetByIdQueryParams, DocumentsLanguagesQueryParams, DomainEntitiesGetAllQueryParams, DomainEntitiesGetByIdPathParams, DomainEntitiesGetByIdQueryParams, DomainEntityModel, DownTimesGetAllQueryParams, DownTimesGetByIdPathParams, DownTimesGetByIdQueryParams, EmptyPathParams, EventModel, EventsGetAllQueryParams, EventsGetByIdPathParams, EventsGetByIdQueryParams, ExternalProductGraphicModel, ExternalProductOntologyModel, FilterItem, Filters, FormalitiesGetAllQueryParams, FormalitiesGetByIdPathParams, FormalitiesGetByIdQueryParams, FormsGetAllQueryParams, FormsGetByIdPathParams, FormsGetByIdQueryParams, FragmentModel, FragmentsGetAllQueryParams, FragmentsGetByIdPathParams, FragmentsGetByIdQueryParams, FragmentsLanguagesQueryParams, FunctionalMetadataModel, FunctionalMetadatasGetAllQueryParams, FunctionalMetadatasGetByIdPathParams, FunctionalMetadatasGetByIdQueryParams, FunctionalitiesGetAllQueryParams, FunctionalitiesGetByIdPathParams, FunctionalitiesGetByIdQueryParams, GroupsGetAllQueryParams, GroupsGetByIdPathParams, GroupsGetByIdQueryParams, HardwareToolsGetAllQueryParams, HardwareToolsGetByIdPathParams, HardwareToolsGetByIdQueryParams, IdentitiesGetAllQueryParams, IdentitiesGetByIdPathParams, IdentitiesGetByIdQueryParams, IdentityDomainModel, IdentityDomainsGetAllQueryParams, IdentityDomainsGetByIdPathParams, IdentityDomainsGetByIdQueryParams, IdentityModel, IndividualsGetAllQueryParams, IndividualsGetByIdPathParams, IndividualsGetByIdQueryParams, InformationObjectModel, InformationObjectsGetAllQueryParams, InformationObjectsGetByIdPathParams, InformationObjectsGetByIdQueryParams, InformationSubjectCollectionModel, InformationSubjectConformityModel, InformationSubjectFormalityModel, InformationSubjectFunctionalityModel, InformationSubjectModel, InformationSubjectProcessModel, InformationSubjectSafetyModel, InformationSubjectSafetyWarningMessageModel, InformationSubjectTechnicalDataModel, InformationSubjectTechnicalOverviewModel, InformationSubjectsGetAllQueryParams, InformationSubjectsGetByIdPathParams, InformationSubjectsGetByIdQueryParams, InformationTypeModel, InformationTypesGetAllQueryParams, InformationTypesGetByIdPathParams, InformationTypesGetByIdQueryParams, InformationUnitModel, InformationUnitsGetAllQueryParams, InformationUnitsGetByIdPathParams, InformationUnitsGetByIdQueryParams, InformationUnitsLanguagesQueryParams, Labels, LanguageAndCountries, LanguageSwitcherConfig, LearningsGetAllQueryParams, LearningsGetByIdPathParams, LearningsGetByIdQueryParams, Link, LiteralModel, LocationsGetAllQueryParams, LocationsGetByIdPathParams, LocationsGetByIdQueryParams, LubricantsGetAllQueryParams, LubricantsGetByIdPathParams, LubricantsGetByIdQueryParams, MaintenanceIntervalsGetAllQueryParams, MaintenanceIntervalsGetByIdPathParams, MaintenanceIntervalsGetByIdQueryParams, OIDCInterface, ObjectRefModel, OperatingSuppliesGetAllQueryParams, OperatingSuppliesGetByIdPathParams, OperatingSuppliesGetByIdQueryParams, Operator, OrganizationConfig, OrganizationsGetAllQueryParams, OrganizationsGetByIdPathParams, OrganizationsGetByIdQueryParams, OwlClassModel, PackageModel, PackagesCreateClientAppQueryParams, PackagesGetAllQueryParams, PackagesGetByIdPathParams, PackagesGetByIdQueryParams, PackagesLanguagesQueryParams, PartiesGetAllQueryParams, PartiesGetByIdPathParams, PartiesGetByIdQueryParams, PartyModel, PartyRoleModel, PlanningDownTimeModel, PlanningMaintenanceIntervalModel, PlanningSetupTimeModel, PlanningTimeModel, PlanningTimesGetAllQueryParams, PlanningTimesGetByIdPathParams, PlanningTimesGetByIdQueryParams, PlanningWorkingTimeModel, ProcessesGetAllQueryParams, ProcessesGetByIdPathParams, ProcessesGetByIdQueryParams, ProductFeatureModel, ProductFeaturesGetAllQueryParams, ProductFeaturesGetByIdPathParams, ProductFeaturesGetByIdQueryParams, ProductFunctionModel, ProductFunctionsGetAllQueryParams, ProductFunctionsGetByIdPathParams, ProductFunctionsGetByIdQueryParams, ProductLcpAfterUseModel, ProductLcpDesignAndRealizationModel, ProductLcpPuttingToUseModel, ProductLcpUseModel, ProductLifeCyclePhaseModel, ProductLifeCyclePhasesGetAllQueryParams, ProductLifeCyclePhasesGetByIdPathParams, ProductLifeCyclePhasesGetByIdQueryParams, ProductMetadataGetAllQueryParams, ProductMetadataGetByIdPathParams, ProductMetadataGetByIdQueryParams, ProductMetadataModel, ProductPropertiesGetAllQueryParams, ProductPropertiesGetByIdPathParams, ProductPropertiesGetByIdQueryParams, ProductPropertyModel, ProductVariantModel, ProductVariantsGetAllQueryParams, ProductVariantsGetByIdPathParams, ProductVariantsGetByIdQueryParams, PulseErrorCode, PulseErrorResponse, PulseFavorite, PulseFavoriteQuery, PulseFavoriteUpsert, PulseNotification, PulseNotificationDeliveryChannel, PulseNotificationLevel, PulseNotificationQuery, PulsePageInfo, PulsePersonalizationState, PulseResultContainer, PulseSubscription, PulseSubscriptionQuery, PulseSubscriptionUpsert, PulseUserSetting, PulseUserSettingUpsert, PulseUserSettingsQuery, PuttingToUsesGetAllQueryParams, PuttingToUsesGetByIdPathParams, PuttingToUsesGetByIdQueryParams, QualificationModel, QualificationRoleModel, QualificationSkillLevelModel, QualificationsGetAllQueryParams, QualificationsGetByIdPathParams, QualificationsGetByIdQueryParams, ReferencesGetAllQueryParams, ReferencesGetByIdPathParams, ReferencesGetByIdQueryParams, RenditionModel, RenditionSelectorModel, RenditionsGetAllQueryParams, RenditionsGetByIdPathParams, RenditionsGetByIdQueryParams, RenditionsGetWithBinaryWithBinaryPathPathParams, RenditionsGetWithBinaryWithBinaryPathQueryParams, ResourceLink, ResourcesDownloadResourcePathParams, ResourcesDownloadResourceQueryParams, ResourcesDownloadResourceWithBinaryPathPathParams, ResourcesDownloadResourceWithBinaryPathQueryParams, ResourcesGetPackagePathParams, ResourcesGetPackageQueryParams, ResourcesGetSubjectFromPackagePathParams, ResourcesGetSubjectFromPackageQueryParams, ResourcesPackagesGetPackagePathParams, ResourcesPackagesGetPackageQueryParams, ResourcesSubjectsGetSubjectFromPackagePathParams, ResourcesSubjectsGetSubjectFromPackageQueryParams, ResourcesViewResourcePathParams, ResourcesViewResourceQueryParams, ResourcesViewResourceWithBinaryPathPathParams, ResourcesViewResourceWithBinaryPathQueryParams, ResourcesViewViewResourcePathParams, ResourcesViewViewResourceQueryParams, ResourcesViewViewResourceWithBinaryPathPathParams, ResourcesViewViewResourceWithBinaryPathQueryParams, ResultContainerModel, ResultContainerPageInfoModel, ResultsConfig, RolesGetAllQueryParams, RolesGetByIdPathParams, RolesGetByIdQueryParams, SafetiesGetAllQueryParams, SafetiesGetByIdPathParams, SafetiesGetByIdQueryParams, SearchFacetsGetAllQueryParams, SearchGetAllQueryParams, SearchSettings, SessionEvaluation, SessionPayload, SetupTimesGetAllQueryParams, SetupTimesGetByIdPathParams, SetupTimesGetByIdQueryParams, SignedInSession, SkillLevelsGetAllQueryParams, SkillLevelsGetByIdPathParams, SkillLevelsGetByIdQueryParams, SparQLExecuteSparQlPathParams, SparQLExecuteSparQlQueryParams, SparePartsGetAllQueryParams, SparePartsGetByIdPathParams, SparePartsGetByIdQueryParams, SuggestionQueryParams, SuppliesGetAllQueryParams, SuppliesGetByIdPathParams, SuppliesGetByIdQueryParams, SupplyConsumableModel, SupplyHardwareToolModel, SupplyLubricantModel, SupplyModel, SupplyOperatingModel, SupplySparePartModel, Tags, TasksGetAllQueryParams, TasksGetByIdPathParams, TasksGetByIdQueryParams, TechnicalDataGetAllQueryParams, TechnicalDataGetByIdPathParams, TechnicalDataGetByIdQueryParams, TechnicalOverviewsGetAllQueryParams, TechnicalOverviewsGetByIdPathParams, TechnicalOverviewsGetByIdQueryParams, ThemeMode, TokenProvider, TopicModel, TopicTypeConceptModel, TopicTypeFormModel, TopicTypeLearningModel, TopicTypeModel, TopicTypeReferenceModel, TopicTypeTaskModel, TopicTypeTroubleShootingModel, TopicTypesGetAllQueryParams, TopicTypesGetByIdPathParams, TopicTypesGetByIdQueryParams, TopicsGetAllQueryParams, TopicsGetByIdPathParams, TopicsGetByIdQueryParams, TopicsLanguagesQueryParams, TopicsRequestItem, TopicsResponseItem, TreeOfContent, TroubleShootingsGetAllQueryParams, TroubleShootingsGetByIdPathParams, TroubleShootingsGetByIdQueryParams, UsesGetAllQueryParams, UsesGetByIdPathParams, UsesGetByIdQueryParams, VCardCalendarModel, VCardGroupModel, VCardImageModel, VCardIndividualModel, VCardInfoModel, VCardLocationModel, VCardModel, VCardOrganizationModel, VCardsGetAllQueryParams, VCardsGetByIdPathParams, VCardsGetByIdQueryParams, WarningMessagesGetAllQueryParams, WarningMessagesGetByIdPathParams, WarningMessagesGetByIdQueryParams, Wildcards, WorkingTimesGetAllQueryParams, WorkingTimesGetByIdPathParams, WorkingTimesGetByIdQueryParams, idShortID, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,57 @@
1
- import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType, DocumentsType, OperatorType, AdministrativeMetadataModelField, ProductLcpAfterUseModelField, CategoryModelField, InformationSubjectCollectionModelField, ComponentModelField, TopicTypeConceptModelField, InformationSubjectConformityModelField, SupplyConsumableModelField, ContentLifeCycleStatusModelField, ProductLcpDesignAndRealizationModelField, DirectoryNodeTypeModelField, DirectoryNodeModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentModelField, DomainEntityModelField, PlanningDownTimeModelField, EventModelField, InformationSubjectFormalityModelField, TopicTypeFormModelField, FragmentModelField, FunctionalMetadataModelField, InformationSubjectFunctionalityModelField, VCardGroupModelField, SupplyHardwareToolModelField, IdentityModelField, IdentityDomainModelField, VCardIndividualModelField, InformationObjectModelField, InformationSubjectModelField, InformationTypeModelField, InformationUnitModelField, TopicTypeLearningModelField, VCardLocationModelField, SupplyLubricantModelField, PlanningMaintenanceIntervalModelField, SupplyOperatingModelField, VCardOrganizationModelField, PackageModelField, PartyModelField, PlanningTimeModelField, InformationSubjectProcessModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, ProductLcpPuttingToUseModelField, QualificationModelField, TopicTypeReferenceModelField, RenditionModelField, QualificationRoleModelField, InformationSubjectSafetyModelField, PlanningSetupTimeModelField, QualificationSkillLevelModelField, SupplySparePartModelField, SupplyModelField, TopicTypeTaskModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, TopicTypeModelField, TopicModelField, TopicTypeTroubleShootingModelField, ProductLcpUseModelField, VCardModelField, InformationSubjectSafetyWarningMessageModelField, PlanningWorkingTimeModelField } from '@c-rex/types';
1
+ import { TokenSource, LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType, DocumentsType, OperatorType, AdministrativeMetadataModelField, ProductLcpAfterUseModelField, CategoryModelField, InformationSubjectCollectionModelField, ComponentModelField, TopicTypeConceptModelField, InformationSubjectConformityModelField, SupplyConsumableModelField, ContentLifeCycleStatusModelField, ProductLcpDesignAndRealizationModelField, DirectoryNodeTypeModelField, DirectoryNodeModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentModelField, DomainEntityModelField, PlanningDownTimeModelField, EventModelField, InformationSubjectFormalityModelField, TopicTypeFormModelField, FragmentModelField, FunctionalMetadataModelField, InformationSubjectFunctionalityModelField, VCardGroupModelField, SupplyHardwareToolModelField, IdentityModelField, IdentityDomainModelField, VCardIndividualModelField, InformationObjectModelField, InformationSubjectModelField, InformationTypeModelField, InformationUnitModelField, TopicTypeLearningModelField, VCardLocationModelField, SupplyLubricantModelField, PlanningMaintenanceIntervalModelField, SupplyOperatingModelField, VCardOrganizationModelField, PackageModelField, PartyModelField, PlanningTimeModelField, InformationSubjectProcessModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, ProductLcpPuttingToUseModelField, QualificationModelField, TopicTypeReferenceModelField, RenditionModelField, QualificationRoleModelField, InformationSubjectSafetyModelField, PlanningSetupTimeModelField, QualificationSkillLevelModelField, SupplySparePartModelField, SupplyModelField, TopicTypeTaskModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, TopicTypeModelField, TopicModelField, TopicTypeTroubleShootingModelField, ProductLcpUseModelField, VCardModelField, InformationSubjectSafetyWarningMessageModelField, PlanningWorkingTimeModelField } from '@c-rex/types';
2
+ export { PersonalizationMode, TokenSource } from '@c-rex/types';
3
+
4
+ /**
5
+ * Decrypted content of the `crex-session` cookie. Server/edge only — it holds
6
+ * bearer credentials and must never be projected to browser code.
7
+ */
8
+ interface SessionPayload {
9
+ /** Payload schema version (SESSION_PAYLOAD_VERSION). */
10
+ v: number;
11
+ sub: string;
12
+ name?: string;
13
+ email?: string;
14
+ access_token: string;
15
+ refresh_token: string;
16
+ id_token?: string;
17
+ /** Access token expiry, epoch seconds. */
18
+ expires_at: number;
19
+ /** Refresh token expiry, epoch seconds (from `refresh_expires_in`). */
20
+ refresh_expires_at: number;
21
+ /** Token endpoint captured at login, so refresh needs no discovery. */
22
+ token_endpoint: string;
23
+ /** Random per login; feeds the Pulse `personalizationSessionKey`. */
24
+ login_id: string;
25
+ /** Epoch seconds of the last time this payload was written. */
26
+ issued_at: number;
27
+ }
28
+ type SessionEvaluation = "fresh" | "needs-refresh" | "dead";
29
+ /** Browser-safe view of the session (no credentials). */
30
+ interface AuthSessionProjection {
31
+ user?: {
32
+ name: string;
33
+ email?: string;
34
+ };
35
+ error?: string;
36
+ /** Access token expiry, epoch seconds. */
37
+ accessTokenExpiresAt?: number;
38
+ chatMcpAuthorized?: boolean;
39
+ chatMcpAuthorizedReason?: string;
40
+ personalizationSessionKey?: string;
41
+ }
42
+ /** A projection of a session that has a user (what `getSession()` returns). */
43
+ type SignedInSession = AuthSessionProjection & {
44
+ user: NonNullable<AuthSessionProjection["user"]>;
45
+ };
46
+ interface AccessToken {
47
+ token: string;
48
+ /** Epoch seconds; 0 when unknown. */
49
+ expiresAt: number;
50
+ }
51
+ /** Where the Bearer used by CrexApi comes from (one implementation per token source). */
52
+ interface TokenProvider {
53
+ getAccessToken(): Promise<AccessToken | null>;
54
+ }
2
55
 
3
56
  /**
4
57
  * Auto-generated from OpenAPI spec
@@ -1509,6 +1562,7 @@ interface OIDCInterface {
1509
1562
  scope?: string;
1510
1563
  userInfoEndPoint?: string;
1511
1564
  }
1565
+
1512
1566
  interface SearchSettings {
1513
1567
  fields: string[];
1514
1568
  tags: string[];
@@ -1536,16 +1590,33 @@ interface OrganizationConfig {
1536
1590
  }
1537
1591
  interface CookiesConfigs extends CustomerConfig {
1538
1592
  publicNextApiUrl: string;
1593
+ /**
1594
+ * IDS API base URL (origin + base path, e.g. `https://host/ids/api/`),
1595
+ * derived from `CREX_IDS_API_URL`. Exposed in the client cookie config so
1596
+ * the browser can build absolute IDS asset URLs (e.g. article images)
1597
+ * without a build-time `NEXT_PUBLIC_*` env. Distinct from `publicNextApiUrl`
1598
+ * (the Next app origin).
1599
+ */
1600
+ apiBaseUrl: string;
1539
1601
  OIDC: {
1540
1602
  clientEnabled: boolean;
1541
1603
  userEnabled: boolean;
1604
+ tokenSource: TokenSource;
1542
1605
  };
1543
1606
  }
1544
1607
  interface ConfigInterface extends CustomerConfig {
1545
1608
  baseUrl: string;
1609
+ /** Public origin of this Next app (`NEXT_PUBLIC_API_URL`); base of OIDC redirect URIs. */
1610
+ publicNextApiUrl: string;
1546
1611
  OIDC: {
1547
1612
  client: OIDCInterface;
1548
1613
  user: OIDCInterface;
1614
+ tokenSource: TokenSource;
1615
+ /** Server-only settings of the encrypted session cookie. */
1616
+ session: {
1617
+ secret: string;
1618
+ secureCookies: boolean;
1619
+ };
1549
1620
  issuerMetadata?: any;
1550
1621
  };
1551
1622
  logs: {
@@ -1561,6 +1632,13 @@ interface CustomerConfig {
1561
1632
  sub: string;
1562
1633
  };
1563
1634
  languageSwitcher: LanguageSwitcherConfig;
1635
+ /** Default language used to initialize content-language search settings. */
1636
+ defaultContentLanguage?: string;
1637
+ /**
1638
+ * Read-only presentation mode. When enabled, article action bars are not
1639
+ * rendered while normal reading and navigation remain available.
1640
+ */
1641
+ readOnlyMode?: boolean;
1564
1642
  organization?: OrganizationConfig;
1565
1643
  }
1566
1644
 
@@ -1640,6 +1718,11 @@ interface TopicsResponseItem {
1640
1718
  renditionUrl: string;
1641
1719
  image: string | null;
1642
1720
  description: string | null;
1721
+ authors: {
1722
+ name: string;
1723
+ photo: string | null;
1724
+ }[];
1725
+ vcardUrls: string[];
1643
1726
  }
1644
1727
  interface TopicsRequestItem extends DefaultCrexObject {
1645
1728
  applicableForTypes?: {
@@ -1653,6 +1736,140 @@ interface LanguageAndCountries {
1653
1736
  value: string;
1654
1737
  }
1655
1738
 
1739
+ type PulsePersonalizationState = "loading" | "ready" | "empty" | "unavailable" | "unauthenticated";
1740
+ type PulsePageInfo = {
1741
+ pageNumber: number;
1742
+ pageSize: number;
1743
+ totalItemCount: number;
1744
+ pageCount: number;
1745
+ hasPreviousPage: boolean;
1746
+ hasNextPage: boolean;
1747
+ isFirstPage: boolean;
1748
+ isLastPage: boolean;
1749
+ firstItemOnPage: number;
1750
+ lastItemOnPage: number;
1751
+ };
1752
+ type PulseResultContainer<T> = {
1753
+ items: T[];
1754
+ pageInfo: PulsePageInfo;
1755
+ };
1756
+ type PulseNotificationLevel = "Info" | "Subscription" | "Warning" | "License" | "Error" | 0 | 1 | 2 | 3 | 4;
1757
+ type PulseNotification = {
1758
+ id: string;
1759
+ level: PulseNotificationLevel;
1760
+ category?: string | null;
1761
+ subject?: string | null;
1762
+ message?: string | null;
1763
+ createdAtUtc?: string | null;
1764
+ readAtUtc?: string | null;
1765
+ expiresAtUtc?: string | null;
1766
+ language?: string | null;
1767
+ templateKey?: string | null;
1768
+ templateDataJson?: string | null;
1769
+ originSystem?: string | null;
1770
+ originContext?: string | null;
1771
+ };
1772
+ type PulseNotificationQuery = {
1773
+ query?: string;
1774
+ language?: string;
1775
+ originSystem?: string;
1776
+ originContext?: string;
1777
+ fromCreatedDate?: string;
1778
+ toCreatedDate?: string;
1779
+ isRead?: boolean;
1780
+ levels?: PulseNotificationLevel[];
1781
+ pageNumber?: number;
1782
+ pageSize?: number;
1783
+ };
1784
+ type PulseNotificationDeliveryChannel = "inApp" | "email";
1785
+ type PulseSubscription = {
1786
+ subjectKey?: string | null;
1787
+ resourceId?: string | null;
1788
+ kind?: string | null;
1789
+ channel?: PulseNotificationDeliveryChannel;
1790
+ revision?: string | null;
1791
+ createdAtUtc?: string | null;
1792
+ title?: string | null;
1793
+ metadata?: Record<string, string> | null;
1794
+ appTitle?: string | null;
1795
+ appContext?: string | null;
1796
+ };
1797
+ type PulseSubscriptionQuery = {
1798
+ query?: string;
1799
+ kind?: string;
1800
+ resourceId?: string;
1801
+ channel?: PulseNotificationDeliveryChannel;
1802
+ appContext?: string;
1803
+ pageNumber?: number;
1804
+ pageSize?: number;
1805
+ };
1806
+ type PulseSubscriptionUpsert = {
1807
+ resourceId: string;
1808
+ kind: string;
1809
+ channel?: PulseNotificationDeliveryChannel;
1810
+ title?: string | null;
1811
+ metadata?: Record<string, string> | null;
1812
+ appTitle?: string | null;
1813
+ appContext?: string | null;
1814
+ };
1815
+ type PulseFavorite = {
1816
+ id: string;
1817
+ appContext: string;
1818
+ resourceId: string;
1819
+ kind?: string | null;
1820
+ appTitle?: string | null;
1821
+ label?: string | null;
1822
+ href?: string | null;
1823
+ sortOrder?: number | null;
1824
+ tags?: string[] | null;
1825
+ payload?: unknown;
1826
+ createdAtUtc: string;
1827
+ updatedAtUtc: string;
1828
+ };
1829
+ type PulseFavoriteQuery = {
1830
+ appContext?: string;
1831
+ query?: string;
1832
+ tag?: string;
1833
+ resourceId?: string;
1834
+ kind?: string;
1835
+ pageNumber?: number;
1836
+ pageSize?: number;
1837
+ };
1838
+ type PulseFavoriteUpsert = {
1839
+ appContext: string;
1840
+ resourceId: string;
1841
+ kind?: string | null;
1842
+ appTitle?: string | null;
1843
+ label?: string | null;
1844
+ href?: string | null;
1845
+ sortOrder?: number | null;
1846
+ tags?: string[] | null;
1847
+ payload?: unknown;
1848
+ };
1849
+ type PulseUserSetting = {
1850
+ appContext: string;
1851
+ appTitle?: string | null;
1852
+ key: string;
1853
+ value: string;
1854
+ };
1855
+ type PulseUserSettingsQuery = {
1856
+ appContext?: string;
1857
+ appTitle?: string;
1858
+ keyPrefix?: string;
1859
+ query?: string;
1860
+ pageNumber?: number;
1861
+ pageSize?: number;
1862
+ };
1863
+ type PulseUserSettingUpsert = {
1864
+ appTitle?: string | null;
1865
+ value: string | null;
1866
+ };
1867
+ type ThemeMode = "light" | "dark" | "system";
1868
+ type PulseErrorCode = "pulse_not_configured" | "pulse_disabled" | "pulse_unauthorized" | "pulse_forbidden" | "pulse_not_found" | "pulse_invalid_request" | "pulse_rate_limited" | "pulse_unavailable" | "pulse_malformed_response";
1869
+ type PulseErrorResponse = {
1870
+ error: PulseErrorCode;
1871
+ };
1872
+
1656
1873
  /**
1657
1874
  * Auto-generated from OpenAPI spec
1658
1875
  * Source: https://staging.c-rex.net/ids/api/swagger/v1/swagger.json
@@ -3588,4 +3805,4 @@ interface FilterItem {
3588
3805
  shortId: string;
3589
3806
  }
3590
3807
 
3591
- export type { AdministrativeMetadataGetAllQueryParams, AdministrativeMetadataGetByIdPathParams, AdministrativeMetadataGetByIdQueryParams, AdministrativeMetadataModel, AfterUsesGetAllQueryParams, AfterUsesGetByIdPathParams, AfterUsesGetByIdQueryParams, AuditStateModel, AuthStateModel, AutocompleteSuggestion, AvailableVersionsInterface, CategoriesGetAllQueryParams, CategoriesGetByIdPathParams, CategoriesGetByIdQueryParams, CategoryModel, ClassInterface, CollectionsGetAllQueryParams, CollectionsGetByIdPathParams, CollectionsGetByIdQueryParams, CommonItemsModel, ComponentModel, ComponentsGetAllQueryParams, ComponentsGetByIdPathParams, ComponentsGetByIdQueryParams, ConceptsGetAllQueryParams, ConceptsGetByIdPathParams, ConceptsGetByIdQueryParams, ConfigInterface, ConformitiesGetAllQueryParams, ConformitiesGetByIdPathParams, ConformitiesGetByIdQueryParams, ConsumablesGetAllQueryParams, ConsumablesGetByIdPathParams, ConsumablesGetByIdQueryParams, ContentLifeCycleStatusGetAllQueryParams, ContentLifeCycleStatusGetByIdPathParams, ContentLifeCycleStatusGetByIdQueryParams, ContentLifeCycleStatusModel, ContentLifeCycleStatusValueModel, CookiesConfigs, CustomerConfig, DefaultCrexDirectories, DefaultCrexObject, DefaultCrexRenditions, DefaultPageInfo, DefaultRequest, DefaultResponse, DesignAndRealizationsGetAllQueryParams, DesignAndRealizationsGetByIdPathParams, DesignAndRealizationsGetByIdQueryParams, DirectoryNodeModel, DirectoryNodeTypeModel, DirectoryNodeTypesGetAllQueryParams, DirectoryNodeTypesGetByIdPathParams, DirectoryNodeTypesGetByIdQueryParams, DirectoryNodes, DirectoryNodesGetAllQueryParams, DirectoryNodesGetByIdPathParams, DirectoryNodesGetByIdQueryParams, DirectoryNodesResponse, DocumentModel, DocumentTypeModel, DocumentTypesGetAllQueryParams, DocumentTypesGetByIdPathParams, DocumentTypesGetByIdQueryParams, DocumentationMetadataGetAllQueryParams, DocumentationMetadataGetByIdPathParams, DocumentationMetadataGetByIdQueryParams, DocumentationMetadataModel, DocumentsGetAllQueryParams, DocumentsGetByIdPathParams, DocumentsGetByIdQueryParams, DocumentsLanguagesQueryParams, DomainEntitiesGetAllQueryParams, DomainEntitiesGetByIdPathParams, DomainEntitiesGetByIdQueryParams, DomainEntityModel, DownTimesGetAllQueryParams, DownTimesGetByIdPathParams, DownTimesGetByIdQueryParams, EmptyPathParams, EventModel, EventsGetAllQueryParams, EventsGetByIdPathParams, EventsGetByIdQueryParams, ExternalProductGraphicModel, ExternalProductOntologyModel, FilterItem, Filters, FormalitiesGetAllQueryParams, FormalitiesGetByIdPathParams, FormalitiesGetByIdQueryParams, FormsGetAllQueryParams, FormsGetByIdPathParams, FormsGetByIdQueryParams, FragmentModel, FragmentsGetAllQueryParams, FragmentsGetByIdPathParams, FragmentsGetByIdQueryParams, FragmentsLanguagesQueryParams, FunctionalMetadataModel, FunctionalMetadatasGetAllQueryParams, FunctionalMetadatasGetByIdPathParams, FunctionalMetadatasGetByIdQueryParams, FunctionalitiesGetAllQueryParams, FunctionalitiesGetByIdPathParams, FunctionalitiesGetByIdQueryParams, GroupsGetAllQueryParams, GroupsGetByIdPathParams, GroupsGetByIdQueryParams, HardwareToolsGetAllQueryParams, HardwareToolsGetByIdPathParams, HardwareToolsGetByIdQueryParams, IdentitiesGetAllQueryParams, IdentitiesGetByIdPathParams, IdentitiesGetByIdQueryParams, IdentityDomainModel, IdentityDomainsGetAllQueryParams, IdentityDomainsGetByIdPathParams, IdentityDomainsGetByIdQueryParams, IdentityModel, IndividualsGetAllQueryParams, IndividualsGetByIdPathParams, IndividualsGetByIdQueryParams, InformationObjectModel, InformationObjectsGetAllQueryParams, InformationObjectsGetByIdPathParams, InformationObjectsGetByIdQueryParams, InformationSubjectCollectionModel, InformationSubjectConformityModel, InformationSubjectFormalityModel, InformationSubjectFunctionalityModel, InformationSubjectModel, InformationSubjectProcessModel, InformationSubjectSafetyModel, InformationSubjectSafetyWarningMessageModel, InformationSubjectTechnicalDataModel, InformationSubjectTechnicalOverviewModel, InformationSubjectsGetAllQueryParams, InformationSubjectsGetByIdPathParams, InformationSubjectsGetByIdQueryParams, InformationTypeModel, InformationTypesGetAllQueryParams, InformationTypesGetByIdPathParams, InformationTypesGetByIdQueryParams, InformationUnitModel, InformationUnitsGetAllQueryParams, InformationUnitsGetByIdPathParams, InformationUnitsGetByIdQueryParams, InformationUnitsLanguagesQueryParams, Labels, LanguageAndCountries, LanguageSwitcherConfig, LearningsGetAllQueryParams, LearningsGetByIdPathParams, LearningsGetByIdQueryParams, Link, LiteralModel, LocationsGetAllQueryParams, LocationsGetByIdPathParams, LocationsGetByIdQueryParams, LubricantsGetAllQueryParams, LubricantsGetByIdPathParams, LubricantsGetByIdQueryParams, MaintenanceIntervalsGetAllQueryParams, MaintenanceIntervalsGetByIdPathParams, MaintenanceIntervalsGetByIdQueryParams, OIDCInterface, ObjectRefModel, OperatingSuppliesGetAllQueryParams, OperatingSuppliesGetByIdPathParams, OperatingSuppliesGetByIdQueryParams, Operator, OrganizationConfig, OrganizationsGetAllQueryParams, OrganizationsGetByIdPathParams, OrganizationsGetByIdQueryParams, OwlClassModel, PackageModel, PackagesCreateClientAppQueryParams, PackagesGetAllQueryParams, PackagesGetByIdPathParams, PackagesGetByIdQueryParams, PackagesLanguagesQueryParams, PartiesGetAllQueryParams, PartiesGetByIdPathParams, PartiesGetByIdQueryParams, PartyModel, PartyRoleModel, PlanningDownTimeModel, PlanningMaintenanceIntervalModel, PlanningSetupTimeModel, PlanningTimeModel, PlanningTimesGetAllQueryParams, PlanningTimesGetByIdPathParams, PlanningTimesGetByIdQueryParams, PlanningWorkingTimeModel, ProcessesGetAllQueryParams, ProcessesGetByIdPathParams, ProcessesGetByIdQueryParams, ProductFeatureModel, ProductFeaturesGetAllQueryParams, ProductFeaturesGetByIdPathParams, ProductFeaturesGetByIdQueryParams, ProductFunctionModel, ProductFunctionsGetAllQueryParams, ProductFunctionsGetByIdPathParams, ProductFunctionsGetByIdQueryParams, ProductLcpAfterUseModel, ProductLcpDesignAndRealizationModel, ProductLcpPuttingToUseModel, ProductLcpUseModel, ProductLifeCyclePhaseModel, ProductLifeCyclePhasesGetAllQueryParams, ProductLifeCyclePhasesGetByIdPathParams, ProductLifeCyclePhasesGetByIdQueryParams, ProductMetadataGetAllQueryParams, ProductMetadataGetByIdPathParams, ProductMetadataGetByIdQueryParams, ProductMetadataModel, ProductPropertiesGetAllQueryParams, ProductPropertiesGetByIdPathParams, ProductPropertiesGetByIdQueryParams, ProductPropertyModel, ProductVariantModel, ProductVariantsGetAllQueryParams, ProductVariantsGetByIdPathParams, ProductVariantsGetByIdQueryParams, PuttingToUsesGetAllQueryParams, PuttingToUsesGetByIdPathParams, PuttingToUsesGetByIdQueryParams, QualificationModel, QualificationRoleModel, QualificationSkillLevelModel, QualificationsGetAllQueryParams, QualificationsGetByIdPathParams, QualificationsGetByIdQueryParams, ReferencesGetAllQueryParams, ReferencesGetByIdPathParams, ReferencesGetByIdQueryParams, RenditionModel, RenditionSelectorModel, RenditionsGetAllQueryParams, RenditionsGetByIdPathParams, RenditionsGetByIdQueryParams, RenditionsGetWithBinaryWithBinaryPathPathParams, RenditionsGetWithBinaryWithBinaryPathQueryParams, ResourceLink, ResourcesDownloadResourcePathParams, ResourcesDownloadResourceQueryParams, ResourcesDownloadResourceWithBinaryPathPathParams, ResourcesDownloadResourceWithBinaryPathQueryParams, ResourcesGetPackagePathParams, ResourcesGetPackageQueryParams, ResourcesGetSubjectFromPackagePathParams, ResourcesGetSubjectFromPackageQueryParams, ResourcesPackagesGetPackagePathParams, ResourcesPackagesGetPackageQueryParams, ResourcesSubjectsGetSubjectFromPackagePathParams, ResourcesSubjectsGetSubjectFromPackageQueryParams, ResourcesViewResourcePathParams, ResourcesViewResourceQueryParams, ResourcesViewResourceWithBinaryPathPathParams, ResourcesViewResourceWithBinaryPathQueryParams, ResourcesViewViewResourcePathParams, ResourcesViewViewResourceQueryParams, ResourcesViewViewResourceWithBinaryPathPathParams, ResourcesViewViewResourceWithBinaryPathQueryParams, ResultContainerModel, ResultContainerPageInfoModel, ResultsConfig, RolesGetAllQueryParams, RolesGetByIdPathParams, RolesGetByIdQueryParams, SafetiesGetAllQueryParams, SafetiesGetByIdPathParams, SafetiesGetByIdQueryParams, SearchFacetsGetAllQueryParams, SearchGetAllQueryParams, SearchSettings, SetupTimesGetAllQueryParams, SetupTimesGetByIdPathParams, SetupTimesGetByIdQueryParams, SkillLevelsGetAllQueryParams, SkillLevelsGetByIdPathParams, SkillLevelsGetByIdQueryParams, SparQLExecuteSparQlPathParams, SparQLExecuteSparQlQueryParams, SparePartsGetAllQueryParams, SparePartsGetByIdPathParams, SparePartsGetByIdQueryParams, SuggestionQueryParams, SuppliesGetAllQueryParams, SuppliesGetByIdPathParams, SuppliesGetByIdQueryParams, SupplyConsumableModel, SupplyHardwareToolModel, SupplyLubricantModel, SupplyModel, SupplyOperatingModel, SupplySparePartModel, Tags, TasksGetAllQueryParams, TasksGetByIdPathParams, TasksGetByIdQueryParams, TechnicalDataGetAllQueryParams, TechnicalDataGetByIdPathParams, TechnicalDataGetByIdQueryParams, TechnicalOverviewsGetAllQueryParams, TechnicalOverviewsGetByIdPathParams, TechnicalOverviewsGetByIdQueryParams, TopicModel, TopicTypeConceptModel, TopicTypeFormModel, TopicTypeLearningModel, TopicTypeModel, TopicTypeReferenceModel, TopicTypeTaskModel, TopicTypeTroubleShootingModel, TopicTypesGetAllQueryParams, TopicTypesGetByIdPathParams, TopicTypesGetByIdQueryParams, TopicsGetAllQueryParams, TopicsGetByIdPathParams, TopicsGetByIdQueryParams, TopicsLanguagesQueryParams, TopicsRequestItem, TopicsResponseItem, TreeOfContent, TroubleShootingsGetAllQueryParams, TroubleShootingsGetByIdPathParams, TroubleShootingsGetByIdQueryParams, UsesGetAllQueryParams, UsesGetByIdPathParams, UsesGetByIdQueryParams, VCardCalendarModel, VCardGroupModel, VCardImageModel, VCardIndividualModel, VCardInfoModel, VCardLocationModel, VCardModel, VCardOrganizationModel, VCardsGetAllQueryParams, VCardsGetByIdPathParams, VCardsGetByIdQueryParams, WarningMessagesGetAllQueryParams, WarningMessagesGetByIdPathParams, WarningMessagesGetByIdQueryParams, Wildcards, WorkingTimesGetAllQueryParams, WorkingTimesGetByIdPathParams, WorkingTimesGetByIdQueryParams, idShortID, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
3808
+ export type { AccessToken, AdministrativeMetadataGetAllQueryParams, AdministrativeMetadataGetByIdPathParams, AdministrativeMetadataGetByIdQueryParams, AdministrativeMetadataModel, AfterUsesGetAllQueryParams, AfterUsesGetByIdPathParams, AfterUsesGetByIdQueryParams, AuditStateModel, AuthSessionProjection, AuthStateModel, AutocompleteSuggestion, AvailableVersionsInterface, CategoriesGetAllQueryParams, CategoriesGetByIdPathParams, CategoriesGetByIdQueryParams, CategoryModel, ClassInterface, CollectionsGetAllQueryParams, CollectionsGetByIdPathParams, CollectionsGetByIdQueryParams, CommonItemsModel, ComponentModel, ComponentsGetAllQueryParams, ComponentsGetByIdPathParams, ComponentsGetByIdQueryParams, ConceptsGetAllQueryParams, ConceptsGetByIdPathParams, ConceptsGetByIdQueryParams, ConfigInterface, ConformitiesGetAllQueryParams, ConformitiesGetByIdPathParams, ConformitiesGetByIdQueryParams, ConsumablesGetAllQueryParams, ConsumablesGetByIdPathParams, ConsumablesGetByIdQueryParams, ContentLifeCycleStatusGetAllQueryParams, ContentLifeCycleStatusGetByIdPathParams, ContentLifeCycleStatusGetByIdQueryParams, ContentLifeCycleStatusModel, ContentLifeCycleStatusValueModel, CookiesConfigs, CustomerConfig, DefaultCrexDirectories, DefaultCrexObject, DefaultCrexRenditions, DefaultPageInfo, DefaultRequest, DefaultResponse, DesignAndRealizationsGetAllQueryParams, DesignAndRealizationsGetByIdPathParams, DesignAndRealizationsGetByIdQueryParams, DirectoryNodeModel, DirectoryNodeTypeModel, DirectoryNodeTypesGetAllQueryParams, DirectoryNodeTypesGetByIdPathParams, DirectoryNodeTypesGetByIdQueryParams, DirectoryNodes, DirectoryNodesGetAllQueryParams, DirectoryNodesGetByIdPathParams, DirectoryNodesGetByIdQueryParams, DirectoryNodesResponse, DocumentModel, DocumentTypeModel, DocumentTypesGetAllQueryParams, DocumentTypesGetByIdPathParams, DocumentTypesGetByIdQueryParams, DocumentationMetadataGetAllQueryParams, DocumentationMetadataGetByIdPathParams, DocumentationMetadataGetByIdQueryParams, DocumentationMetadataModel, DocumentsGetAllQueryParams, DocumentsGetByIdPathParams, DocumentsGetByIdQueryParams, DocumentsLanguagesQueryParams, DomainEntitiesGetAllQueryParams, DomainEntitiesGetByIdPathParams, DomainEntitiesGetByIdQueryParams, DomainEntityModel, DownTimesGetAllQueryParams, DownTimesGetByIdPathParams, DownTimesGetByIdQueryParams, EmptyPathParams, EventModel, EventsGetAllQueryParams, EventsGetByIdPathParams, EventsGetByIdQueryParams, ExternalProductGraphicModel, ExternalProductOntologyModel, FilterItem, Filters, FormalitiesGetAllQueryParams, FormalitiesGetByIdPathParams, FormalitiesGetByIdQueryParams, FormsGetAllQueryParams, FormsGetByIdPathParams, FormsGetByIdQueryParams, FragmentModel, FragmentsGetAllQueryParams, FragmentsGetByIdPathParams, FragmentsGetByIdQueryParams, FragmentsLanguagesQueryParams, FunctionalMetadataModel, FunctionalMetadatasGetAllQueryParams, FunctionalMetadatasGetByIdPathParams, FunctionalMetadatasGetByIdQueryParams, FunctionalitiesGetAllQueryParams, FunctionalitiesGetByIdPathParams, FunctionalitiesGetByIdQueryParams, GroupsGetAllQueryParams, GroupsGetByIdPathParams, GroupsGetByIdQueryParams, HardwareToolsGetAllQueryParams, HardwareToolsGetByIdPathParams, HardwareToolsGetByIdQueryParams, IdentitiesGetAllQueryParams, IdentitiesGetByIdPathParams, IdentitiesGetByIdQueryParams, IdentityDomainModel, IdentityDomainsGetAllQueryParams, IdentityDomainsGetByIdPathParams, IdentityDomainsGetByIdQueryParams, IdentityModel, IndividualsGetAllQueryParams, IndividualsGetByIdPathParams, IndividualsGetByIdQueryParams, InformationObjectModel, InformationObjectsGetAllQueryParams, InformationObjectsGetByIdPathParams, InformationObjectsGetByIdQueryParams, InformationSubjectCollectionModel, InformationSubjectConformityModel, InformationSubjectFormalityModel, InformationSubjectFunctionalityModel, InformationSubjectModel, InformationSubjectProcessModel, InformationSubjectSafetyModel, InformationSubjectSafetyWarningMessageModel, InformationSubjectTechnicalDataModel, InformationSubjectTechnicalOverviewModel, InformationSubjectsGetAllQueryParams, InformationSubjectsGetByIdPathParams, InformationSubjectsGetByIdQueryParams, InformationTypeModel, InformationTypesGetAllQueryParams, InformationTypesGetByIdPathParams, InformationTypesGetByIdQueryParams, InformationUnitModel, InformationUnitsGetAllQueryParams, InformationUnitsGetByIdPathParams, InformationUnitsGetByIdQueryParams, InformationUnitsLanguagesQueryParams, Labels, LanguageAndCountries, LanguageSwitcherConfig, LearningsGetAllQueryParams, LearningsGetByIdPathParams, LearningsGetByIdQueryParams, Link, LiteralModel, LocationsGetAllQueryParams, LocationsGetByIdPathParams, LocationsGetByIdQueryParams, LubricantsGetAllQueryParams, LubricantsGetByIdPathParams, LubricantsGetByIdQueryParams, MaintenanceIntervalsGetAllQueryParams, MaintenanceIntervalsGetByIdPathParams, MaintenanceIntervalsGetByIdQueryParams, OIDCInterface, ObjectRefModel, OperatingSuppliesGetAllQueryParams, OperatingSuppliesGetByIdPathParams, OperatingSuppliesGetByIdQueryParams, Operator, OrganizationConfig, OrganizationsGetAllQueryParams, OrganizationsGetByIdPathParams, OrganizationsGetByIdQueryParams, OwlClassModel, PackageModel, PackagesCreateClientAppQueryParams, PackagesGetAllQueryParams, PackagesGetByIdPathParams, PackagesGetByIdQueryParams, PackagesLanguagesQueryParams, PartiesGetAllQueryParams, PartiesGetByIdPathParams, PartiesGetByIdQueryParams, PartyModel, PartyRoleModel, PlanningDownTimeModel, PlanningMaintenanceIntervalModel, PlanningSetupTimeModel, PlanningTimeModel, PlanningTimesGetAllQueryParams, PlanningTimesGetByIdPathParams, PlanningTimesGetByIdQueryParams, PlanningWorkingTimeModel, ProcessesGetAllQueryParams, ProcessesGetByIdPathParams, ProcessesGetByIdQueryParams, ProductFeatureModel, ProductFeaturesGetAllQueryParams, ProductFeaturesGetByIdPathParams, ProductFeaturesGetByIdQueryParams, ProductFunctionModel, ProductFunctionsGetAllQueryParams, ProductFunctionsGetByIdPathParams, ProductFunctionsGetByIdQueryParams, ProductLcpAfterUseModel, ProductLcpDesignAndRealizationModel, ProductLcpPuttingToUseModel, ProductLcpUseModel, ProductLifeCyclePhaseModel, ProductLifeCyclePhasesGetAllQueryParams, ProductLifeCyclePhasesGetByIdPathParams, ProductLifeCyclePhasesGetByIdQueryParams, ProductMetadataGetAllQueryParams, ProductMetadataGetByIdPathParams, ProductMetadataGetByIdQueryParams, ProductMetadataModel, ProductPropertiesGetAllQueryParams, ProductPropertiesGetByIdPathParams, ProductPropertiesGetByIdQueryParams, ProductPropertyModel, ProductVariantModel, ProductVariantsGetAllQueryParams, ProductVariantsGetByIdPathParams, ProductVariantsGetByIdQueryParams, PulseErrorCode, PulseErrorResponse, PulseFavorite, PulseFavoriteQuery, PulseFavoriteUpsert, PulseNotification, PulseNotificationDeliveryChannel, PulseNotificationLevel, PulseNotificationQuery, PulsePageInfo, PulsePersonalizationState, PulseResultContainer, PulseSubscription, PulseSubscriptionQuery, PulseSubscriptionUpsert, PulseUserSetting, PulseUserSettingUpsert, PulseUserSettingsQuery, PuttingToUsesGetAllQueryParams, PuttingToUsesGetByIdPathParams, PuttingToUsesGetByIdQueryParams, QualificationModel, QualificationRoleModel, QualificationSkillLevelModel, QualificationsGetAllQueryParams, QualificationsGetByIdPathParams, QualificationsGetByIdQueryParams, ReferencesGetAllQueryParams, ReferencesGetByIdPathParams, ReferencesGetByIdQueryParams, RenditionModel, RenditionSelectorModel, RenditionsGetAllQueryParams, RenditionsGetByIdPathParams, RenditionsGetByIdQueryParams, RenditionsGetWithBinaryWithBinaryPathPathParams, RenditionsGetWithBinaryWithBinaryPathQueryParams, ResourceLink, ResourcesDownloadResourcePathParams, ResourcesDownloadResourceQueryParams, ResourcesDownloadResourceWithBinaryPathPathParams, ResourcesDownloadResourceWithBinaryPathQueryParams, ResourcesGetPackagePathParams, ResourcesGetPackageQueryParams, ResourcesGetSubjectFromPackagePathParams, ResourcesGetSubjectFromPackageQueryParams, ResourcesPackagesGetPackagePathParams, ResourcesPackagesGetPackageQueryParams, ResourcesSubjectsGetSubjectFromPackagePathParams, ResourcesSubjectsGetSubjectFromPackageQueryParams, ResourcesViewResourcePathParams, ResourcesViewResourceQueryParams, ResourcesViewResourceWithBinaryPathPathParams, ResourcesViewResourceWithBinaryPathQueryParams, ResourcesViewViewResourcePathParams, ResourcesViewViewResourceQueryParams, ResourcesViewViewResourceWithBinaryPathPathParams, ResourcesViewViewResourceWithBinaryPathQueryParams, ResultContainerModel, ResultContainerPageInfoModel, ResultsConfig, RolesGetAllQueryParams, RolesGetByIdPathParams, RolesGetByIdQueryParams, SafetiesGetAllQueryParams, SafetiesGetByIdPathParams, SafetiesGetByIdQueryParams, SearchFacetsGetAllQueryParams, SearchGetAllQueryParams, SearchSettings, SessionEvaluation, SessionPayload, SetupTimesGetAllQueryParams, SetupTimesGetByIdPathParams, SetupTimesGetByIdQueryParams, SignedInSession, SkillLevelsGetAllQueryParams, SkillLevelsGetByIdPathParams, SkillLevelsGetByIdQueryParams, SparQLExecuteSparQlPathParams, SparQLExecuteSparQlQueryParams, SparePartsGetAllQueryParams, SparePartsGetByIdPathParams, SparePartsGetByIdQueryParams, SuggestionQueryParams, SuppliesGetAllQueryParams, SuppliesGetByIdPathParams, SuppliesGetByIdQueryParams, SupplyConsumableModel, SupplyHardwareToolModel, SupplyLubricantModel, SupplyModel, SupplyOperatingModel, SupplySparePartModel, Tags, TasksGetAllQueryParams, TasksGetByIdPathParams, TasksGetByIdQueryParams, TechnicalDataGetAllQueryParams, TechnicalDataGetByIdPathParams, TechnicalDataGetByIdQueryParams, TechnicalOverviewsGetAllQueryParams, TechnicalOverviewsGetByIdPathParams, TechnicalOverviewsGetByIdQueryParams, ThemeMode, TokenProvider, TopicModel, TopicTypeConceptModel, TopicTypeFormModel, TopicTypeLearningModel, TopicTypeModel, TopicTypeReferenceModel, TopicTypeTaskModel, TopicTypeTroubleShootingModel, TopicTypesGetAllQueryParams, TopicTypesGetByIdPathParams, TopicTypesGetByIdQueryParams, TopicsGetAllQueryParams, TopicsGetByIdPathParams, TopicsGetByIdQueryParams, TopicsLanguagesQueryParams, TopicsRequestItem, TopicsResponseItem, TreeOfContent, TroubleShootingsGetAllQueryParams, TroubleShootingsGetByIdPathParams, TroubleShootingsGetByIdQueryParams, UsesGetAllQueryParams, UsesGetByIdPathParams, UsesGetByIdQueryParams, VCardCalendarModel, VCardGroupModel, VCardImageModel, VCardIndividualModel, VCardInfoModel, VCardLocationModel, VCardModel, VCardOrganizationModel, VCardsGetAllQueryParams, VCardsGetByIdPathParams, VCardsGetByIdQueryParams, WarningMessagesGetAllQueryParams, WarningMessagesGetByIdPathParams, WarningMessagesGetByIdQueryParams, Wildcards, WorkingTimesGetAllQueryParams, WorkingTimesGetByIdPathParams, WorkingTimesGetByIdQueryParams, idShortID, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './common'\r\nexport * from './config'\r\nexport * from './directoryNodes'\r\nexport * from './informationUnits'\r\nexport * from './treeOfContent'\r\nexport * from './topics'\r\nexport * from './languages'\r\nexport * from './generated/model'\r\nexport * from './generated/path-params'\r\nexport * from './generated/query-params'\r\n\r\n\r\n\r\nexport interface FilterItem {\r\n hits: number;\r\n total: number;\r\n label: string;\r\n active: boolean;\r\n shortId: string;\r\n}"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from \"./auth\";\r\nexport * from \"./common\";\r\nexport * from \"./config\";\r\nexport * from \"./directoryNodes\";\r\nexport * from \"./informationUnits\";\r\nexport * from \"./treeOfContent\";\r\nexport * from \"./topics\";\r\nexport * from \"./languages\";\r\nexport * from \"./pulse\";\r\nexport * from \"./generated/model\";\r\nexport * from \"./generated/path-params\";\r\nexport * from \"./generated/query-params\";\r\n\r\nexport interface FilterItem {\r\n hits: number;\r\n total: number;\r\n label: string;\r\n active: boolean;\r\n shortId: string;\r\n}\r\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-rex/interfaces",
3
- "version": "0.3.0-build.26",
3
+ "version": "0.3.0-build.27710",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "module": "./dist/index.mjs",
@@ -14,12 +14,18 @@
14
14
  "dev": "tsup --watch",
15
15
  "build": "tsup",
16
16
  "lint": "eslint .",
17
- "lint:fix": "eslint . --fix"
17
+ "lint:fix": "eslint . --fix",
18
+ "check-types": "tsc --noEmit",
19
+ "test": "echo \u0027No tests\u0027",
20
+ "format:check": "prettier --check .",
21
+ "validate": "npm run lint \u0026\u0026 npm run check-types \u0026\u0026 npm run test \u0026\u0026 npm run build"
18
22
  },
19
23
  "devDependencies": {
24
+ "@c-rex/eslint-config": "*",
20
25
  "@c-rex/typescript-config": "*",
26
+ "eslint": "^9.23.0",
21
27
  "tsup": "^8.4.0",
22
- "typescript": "latest"
28
+ "typescript": "5.8.3"
23
29
  },
24
30
  "dependencies": {
25
31
  "@c-rex/types": "*"