@c-rex/interfaces 0.3.0-build.89 → 0.3.0-build.90
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 +60 -1
- package/dist/index.d.ts +60 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,58 @@
|
|
|
1
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
2
|
export { PersonalizationMode, TokenSource } from '@c-rex/types';
|
|
3
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
|
+
}
|
|
55
|
+
|
|
4
56
|
/**
|
|
5
57
|
* Auto-generated from OpenAPI spec
|
|
6
58
|
* Source: https://staging.c-rex.net/ids/api/swagger/v1/swagger.json
|
|
@@ -1554,10 +1606,17 @@ interface CookiesConfigs extends CustomerConfig {
|
|
|
1554
1606
|
}
|
|
1555
1607
|
interface ConfigInterface extends CustomerConfig {
|
|
1556
1608
|
baseUrl: string;
|
|
1609
|
+
/** Public origin of this Next app (`NEXT_PUBLIC_API_URL`); base of OIDC redirect URIs. */
|
|
1610
|
+
publicNextApiUrl: string;
|
|
1557
1611
|
OIDC: {
|
|
1558
1612
|
client: OIDCInterface;
|
|
1559
1613
|
user: OIDCInterface;
|
|
1560
1614
|
tokenSource: TokenSource;
|
|
1615
|
+
/** Server-only settings of the encrypted session cookie. */
|
|
1616
|
+
session: {
|
|
1617
|
+
secret: string;
|
|
1618
|
+
secureCookies: boolean;
|
|
1619
|
+
};
|
|
1561
1620
|
issuerMetadata?: any;
|
|
1562
1621
|
};
|
|
1563
1622
|
logs: {
|
|
@@ -3746,4 +3805,4 @@ interface FilterItem {
|
|
|
3746
3805
|
shortId: string;
|
|
3747
3806
|
}
|
|
3748
3807
|
|
|
3749
|
-
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, 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, 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, ThemeMode, 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,6 +1,58 @@
|
|
|
1
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
2
|
export { PersonalizationMode, TokenSource } from '@c-rex/types';
|
|
3
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
|
+
}
|
|
55
|
+
|
|
4
56
|
/**
|
|
5
57
|
* Auto-generated from OpenAPI spec
|
|
6
58
|
* Source: https://staging.c-rex.net/ids/api/swagger/v1/swagger.json
|
|
@@ -1554,10 +1606,17 @@ interface CookiesConfigs extends CustomerConfig {
|
|
|
1554
1606
|
}
|
|
1555
1607
|
interface ConfigInterface extends CustomerConfig {
|
|
1556
1608
|
baseUrl: string;
|
|
1609
|
+
/** Public origin of this Next app (`NEXT_PUBLIC_API_URL`); base of OIDC redirect URIs. */
|
|
1610
|
+
publicNextApiUrl: string;
|
|
1557
1611
|
OIDC: {
|
|
1558
1612
|
client: OIDCInterface;
|
|
1559
1613
|
user: OIDCInterface;
|
|
1560
1614
|
tokenSource: TokenSource;
|
|
1615
|
+
/** Server-only settings of the encrypted session cookie. */
|
|
1616
|
+
session: {
|
|
1617
|
+
secret: string;
|
|
1618
|
+
secureCookies: boolean;
|
|
1619
|
+
};
|
|
1561
1620
|
issuerMetadata?: any;
|
|
1562
1621
|
};
|
|
1563
1622
|
logs: {
|
|
@@ -3746,4 +3805,4 @@ interface FilterItem {
|
|
|
3746
3805
|
shortId: string;
|
|
3747
3806
|
}
|
|
3748
3807
|
|
|
3749
|
-
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, 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, 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, ThemeMode, 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
|
|
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":[]}
|