@c-rex/services 0.3.0-build.51 → 0.3.0-build.53
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/generated/client-requests.js +2 -1
- package/dist/generated/client-requests.js.map +1 -1
- package/dist/generated/client-requests.mjs +2 -1
- package/dist/generated/client-requests.mjs.map +1 -1
- package/dist/html-enrichment/index.js +6 -2
- package/dist/html-enrichment/index.js.map +1 -1
- package/dist/html-enrichment/index.mjs +6 -2
- package/dist/html-enrichment/index.mjs.map +1 -1
- package/dist/index.js +19 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -4
- package/dist/index.mjs.map +1 -1
- package/dist/read-models/index.d.mts +4 -1
- package/dist/read-models/index.d.ts +4 -1
- package/dist/read-models/index.js +17 -1
- package/dist/read-models/index.js.map +1 -1
- package/dist/read-models/index.mjs +22 -2
- package/dist/read-models/index.mjs.map +1 -1
- package/dist/toc-structure.d.mts +17 -2
- package/dist/toc-structure.d.ts +17 -2
- package/dist/toc-structure.js +21 -0
- package/dist/toc-structure.js.map +1 -1
- package/dist/toc-structure.mjs +18 -0
- package/dist/toc-structure.mjs.map +1 -1
- package/dist/vcard/index.js +0 -1
- package/dist/vcard/index.js.map +1 -1
- package/dist/vcard/index.mjs +0 -1
- package/dist/vcard/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/base-client-request.ts","../../src/generated/client-requests.ts"],"sourcesContent":["export const baseClientRequest = async <T>(\r\n endpoint: string,\r\n queryParams?: Record<\r\n string,\r\n string | number | boolean | (string | number | boolean)[] | undefined\r\n >,\r\n options?: { signal?: AbortSignal },\r\n extra?: { responseType?: \"json\" | \"text\" },\r\n): Promise<T> => {\r\n const res = await fetch(`/api/rpc`, {\r\n method: \"POST\",\r\n headers: { \"Content-Type\": \"application/json\" },\r\n body: JSON.stringify({\r\n method: \"CrexApi.execute\",\r\n params: {\r\n url: endpoint,\r\n method: \"GET\",\r\n params: queryParams,\r\n responseType: extra?.responseType,\r\n },\r\n }),\r\n credentials: \"include\",\r\n signal: options?.signal,\r\n });\r\n\r\n const json = await res.json();\r\n\r\n if (!res.ok) throw new Error(json.error || \"Unknown error\");\r\n\r\n return json.data;\r\n};\r\n","/**\r\n * Auto-generated request functions from OpenAPI spec\r\n * Source: https://staging.c-rex.net/ids/api/swagger/v1/swagger.json\r\n * Generated: 2026-03-15T15:48:02.517Z\r\n * Do not edit manually\r\n */\r\n\r\nimport { baseClientRequest } from '../base-client-request';\r\nimport type {\r\n AdministrativeMetadataGetAllQueryParams,\r\n AdministrativeMetadataGetByIdPathParams,\r\n AdministrativeMetadataGetByIdQueryParams,\r\n AdministrativeMetadataModel,\r\n AfterUsesGetAllQueryParams,\r\n AfterUsesGetByIdPathParams,\r\n AfterUsesGetByIdQueryParams,\r\n CategoriesGetAllQueryParams,\r\n CategoriesGetByIdPathParams,\r\n CategoriesGetByIdQueryParams,\r\n CategoryModel,\r\n CollectionsGetAllQueryParams,\r\n CollectionsGetByIdPathParams,\r\n CollectionsGetByIdQueryParams,\r\n ComponentModel,\r\n ComponentsGetAllQueryParams,\r\n ComponentsGetByIdPathParams,\r\n ComponentsGetByIdQueryParams,\r\n ConceptsGetAllQueryParams,\r\n ConceptsGetByIdPathParams,\r\n ConceptsGetByIdQueryParams,\r\n ConformitiesGetAllQueryParams,\r\n ConformitiesGetByIdPathParams,\r\n ConformitiesGetByIdQueryParams,\r\n ConsumablesGetAllQueryParams,\r\n ConsumablesGetByIdPathParams,\r\n ConsumablesGetByIdQueryParams,\r\n ContentLifeCycleStatusGetAllQueryParams,\r\n ContentLifeCycleStatusGetByIdPathParams,\r\n ContentLifeCycleStatusGetByIdQueryParams,\r\n ContentLifeCycleStatusModel,\r\n DesignAndRealizationsGetAllQueryParams,\r\n DesignAndRealizationsGetByIdPathParams,\r\n DesignAndRealizationsGetByIdQueryParams,\r\n DirectoryNodeModel,\r\n DirectoryNodeTypeModel,\r\n DirectoryNodeTypesGetAllQueryParams,\r\n DirectoryNodeTypesGetByIdPathParams,\r\n DirectoryNodeTypesGetByIdQueryParams,\r\n DirectoryNodesGetAllQueryParams,\r\n DirectoryNodesGetByIdPathParams,\r\n DirectoryNodesGetByIdQueryParams,\r\n DocumentModel,\r\n DocumentTypeModel,\r\n DocumentTypesGetAllQueryParams,\r\n DocumentTypesGetByIdPathParams,\r\n DocumentTypesGetByIdQueryParams,\r\n DocumentationMetadataGetAllQueryParams,\r\n DocumentationMetadataGetByIdPathParams,\r\n DocumentationMetadataGetByIdQueryParams,\r\n DocumentationMetadataModel,\r\n DocumentsGetAllQueryParams,\r\n DocumentsGetByIdPathParams,\r\n DocumentsGetByIdQueryParams,\r\n DocumentsLanguagesQueryParams,\r\n DomainEntitiesGetAllQueryParams,\r\n DomainEntitiesGetByIdPathParams,\r\n DomainEntitiesGetByIdQueryParams,\r\n DomainEntityModel,\r\n DownTimesGetAllQueryParams,\r\n DownTimesGetByIdPathParams,\r\n DownTimesGetByIdQueryParams,\r\n EventModel,\r\n EventsGetAllQueryParams,\r\n EventsGetByIdPathParams,\r\n EventsGetByIdQueryParams,\r\n FormalitiesGetAllQueryParams,\r\n FormalitiesGetByIdPathParams,\r\n FormalitiesGetByIdQueryParams,\r\n FormsGetAllQueryParams,\r\n FormsGetByIdPathParams,\r\n FormsGetByIdQueryParams,\r\n FragmentModel,\r\n FragmentsGetAllQueryParams,\r\n FragmentsGetByIdPathParams,\r\n FragmentsGetByIdQueryParams,\r\n FragmentsLanguagesQueryParams,\r\n FunctionalMetadataModel,\r\n FunctionalMetadatasGetAllQueryParams,\r\n FunctionalMetadatasGetByIdPathParams,\r\n FunctionalMetadatasGetByIdQueryParams,\r\n FunctionalitiesGetAllQueryParams,\r\n FunctionalitiesGetByIdPathParams,\r\n FunctionalitiesGetByIdQueryParams,\r\n GroupsGetAllQueryParams,\r\n GroupsGetByIdPathParams,\r\n GroupsGetByIdQueryParams,\r\n HardwareToolsGetAllQueryParams,\r\n HardwareToolsGetByIdPathParams,\r\n HardwareToolsGetByIdQueryParams,\r\n IdentitiesGetAllQueryParams,\r\n IdentitiesGetByIdPathParams,\r\n IdentitiesGetByIdQueryParams,\r\n IdentityDomainModel,\r\n IdentityDomainsGetAllQueryParams,\r\n IdentityDomainsGetByIdPathParams,\r\n IdentityDomainsGetByIdQueryParams,\r\n IdentityModel,\r\n IndividualsGetAllQueryParams,\r\n IndividualsGetByIdPathParams,\r\n IndividualsGetByIdQueryParams,\r\n InformationObjectModel,\r\n InformationObjectsGetAllQueryParams,\r\n InformationObjectsGetByIdPathParams,\r\n InformationObjectsGetByIdQueryParams,\r\n InformationSubjectCollectionModel,\r\n InformationSubjectConformityModel,\r\n InformationSubjectFormalityModel,\r\n InformationSubjectFunctionalityModel,\r\n InformationSubjectModel,\r\n InformationSubjectProcessModel,\r\n InformationSubjectSafetyModel,\r\n InformationSubjectSafetyWarningMessageModel,\r\n InformationSubjectTechnicalDataModel,\r\n InformationSubjectTechnicalOverviewModel,\r\n InformationSubjectsGetAllQueryParams,\r\n InformationSubjectsGetByIdPathParams,\r\n InformationSubjectsGetByIdQueryParams,\r\n InformationTypeModel,\r\n InformationTypesGetAllQueryParams,\r\n InformationTypesGetByIdPathParams,\r\n InformationTypesGetByIdQueryParams,\r\n InformationUnitModel,\r\n InformationUnitsGetAllQueryParams,\r\n InformationUnitsGetByIdPathParams,\r\n InformationUnitsGetByIdQueryParams,\r\n InformationUnitsLanguagesQueryParams,\r\n LearningsGetAllQueryParams,\r\n LearningsGetByIdPathParams,\r\n LearningsGetByIdQueryParams,\r\n LocationsGetAllQueryParams,\r\n LocationsGetByIdPathParams,\r\n LocationsGetByIdQueryParams,\r\n LubricantsGetAllQueryParams,\r\n LubricantsGetByIdPathParams,\r\n LubricantsGetByIdQueryParams,\r\n MaintenanceIntervalsGetAllQueryParams,\r\n MaintenanceIntervalsGetByIdPathParams,\r\n MaintenanceIntervalsGetByIdQueryParams,\r\n OperatingSuppliesGetAllQueryParams,\r\n OperatingSuppliesGetByIdPathParams,\r\n OperatingSuppliesGetByIdQueryParams,\r\n OrganizationsGetAllQueryParams,\r\n OrganizationsGetByIdPathParams,\r\n OrganizationsGetByIdQueryParams,\r\n PackageModel,\r\n PackagesCreateClientAppQueryParams,\r\n PackagesGetAllQueryParams,\r\n PackagesGetByIdPathParams,\r\n PackagesGetByIdQueryParams,\r\n PackagesLanguagesQueryParams,\r\n PartiesGetAllQueryParams,\r\n PartiesGetByIdPathParams,\r\n PartiesGetByIdQueryParams,\r\n PartyModel,\r\n PlanningDownTimeModel,\r\n PlanningMaintenanceIntervalModel,\r\n PlanningSetupTimeModel,\r\n PlanningTimeModel,\r\n PlanningTimesGetAllQueryParams,\r\n PlanningTimesGetByIdPathParams,\r\n PlanningTimesGetByIdQueryParams,\r\n PlanningWorkingTimeModel,\r\n ProcessesGetAllQueryParams,\r\n ProcessesGetByIdPathParams,\r\n ProcessesGetByIdQueryParams,\r\n ProductFeatureModel,\r\n ProductFeaturesGetAllQueryParams,\r\n ProductFeaturesGetByIdPathParams,\r\n ProductFeaturesGetByIdQueryParams,\r\n ProductFunctionModel,\r\n ProductFunctionsGetAllQueryParams,\r\n ProductFunctionsGetByIdPathParams,\r\n ProductFunctionsGetByIdQueryParams,\r\n ProductLcpAfterUseModel,\r\n ProductLcpDesignAndRealizationModel,\r\n ProductLcpPuttingToUseModel,\r\n ProductLcpUseModel,\r\n ProductLifeCyclePhaseModel,\r\n ProductLifeCyclePhasesGetAllQueryParams,\r\n ProductLifeCyclePhasesGetByIdPathParams,\r\n ProductLifeCyclePhasesGetByIdQueryParams,\r\n ProductMetadataGetAllQueryParams,\r\n ProductMetadataGetByIdPathParams,\r\n ProductMetadataGetByIdQueryParams,\r\n ProductMetadataModel,\r\n ProductPropertiesGetAllQueryParams,\r\n ProductPropertiesGetByIdPathParams,\r\n ProductPropertiesGetByIdQueryParams,\r\n ProductPropertyModel,\r\n ProductVariantModel,\r\n ProductVariantsGetAllQueryParams,\r\n ProductVariantsGetByIdPathParams,\r\n ProductVariantsGetByIdQueryParams,\r\n PuttingToUsesGetAllQueryParams,\r\n PuttingToUsesGetByIdPathParams,\r\n PuttingToUsesGetByIdQueryParams,\r\n QualificationModel,\r\n QualificationRoleModel,\r\n QualificationSkillLevelModel,\r\n QualificationsGetAllQueryParams,\r\n QualificationsGetByIdPathParams,\r\n QualificationsGetByIdQueryParams,\r\n ReferencesGetAllQueryParams,\r\n ReferencesGetByIdPathParams,\r\n ReferencesGetByIdQueryParams,\r\n RenditionModel,\r\n RenditionsGetAllQueryParams,\r\n RenditionsGetByIdPathParams,\r\n RenditionsGetByIdQueryParams,\r\n RenditionsGetWithBinaryWithBinaryPathPathParams,\r\n ResourcesDownloadResourcePathParams,\r\n ResourcesDownloadResourceWithBinaryPathPathParams,\r\n ResourcesPackagesGetPackagePathParams,\r\n ResourcesPackagesGetPackageQueryParams,\r\n ResourcesSubjectsGetSubjectFromPackagePathParams,\r\n ResourcesSubjectsGetSubjectFromPackageQueryParams,\r\n ResourcesViewViewResourcePathParams,\r\n ResourcesViewViewResourceWithBinaryPathPathParams,\r\n ResultContainerModel,\r\n RolesGetAllQueryParams,\r\n RolesGetByIdPathParams,\r\n RolesGetByIdQueryParams,\r\n SafetiesGetAllQueryParams,\r\n SafetiesGetByIdPathParams,\r\n SafetiesGetByIdQueryParams,\r\n SearchFacetsGetAllQueryParams,\r\n SetupTimesGetAllQueryParams,\r\n SetupTimesGetByIdPathParams,\r\n SetupTimesGetByIdQueryParams,\r\n SkillLevelsGetAllQueryParams,\r\n SkillLevelsGetByIdPathParams,\r\n SkillLevelsGetByIdQueryParams,\r\n SparQLExecuteSparQlPathParams,\r\n SparePartsGetAllQueryParams,\r\n SparePartsGetByIdPathParams,\r\n SparePartsGetByIdQueryParams,\r\n SuppliesGetAllQueryParams,\r\n SuppliesGetByIdPathParams,\r\n SuppliesGetByIdQueryParams,\r\n SupplyConsumableModel,\r\n SupplyHardwareToolModel,\r\n SupplyLubricantModel,\r\n SupplyModel,\r\n SupplyOperatingModel,\r\n SupplySparePartModel,\r\n TasksGetAllQueryParams,\r\n TasksGetByIdPathParams,\r\n TasksGetByIdQueryParams,\r\n TechnicalDataGetAllQueryParams,\r\n TechnicalDataGetByIdPathParams,\r\n TechnicalDataGetByIdQueryParams,\r\n TechnicalOverviewsGetAllQueryParams,\r\n TechnicalOverviewsGetByIdPathParams,\r\n TechnicalOverviewsGetByIdQueryParams,\r\n TopicModel,\r\n TopicTypeConceptModel,\r\n TopicTypeFormModel,\r\n TopicTypeLearningModel,\r\n TopicTypeModel,\r\n TopicTypeReferenceModel,\r\n TopicTypeTaskModel,\r\n TopicTypeTroubleShootingModel,\r\n TopicTypesGetAllQueryParams,\r\n TopicTypesGetByIdPathParams,\r\n TopicTypesGetByIdQueryParams,\r\n TopicsGetAllQueryParams,\r\n TopicsGetByIdPathParams,\r\n TopicsGetByIdQueryParams,\r\n TopicsLanguagesQueryParams,\r\n TroubleShootingsGetAllQueryParams,\r\n TroubleShootingsGetByIdPathParams,\r\n TroubleShootingsGetByIdQueryParams,\r\n UsesGetAllQueryParams,\r\n UsesGetByIdPathParams,\r\n UsesGetByIdQueryParams,\r\n VCardGroupModel,\r\n VCardIndividualModel,\r\n VCardLocationModel,\r\n VCardModel,\r\n VCardOrganizationModel,\r\n VCardsGetAllQueryParams,\r\n VCardsGetByIdPathParams,\r\n VCardsGetByIdQueryParams,\r\n WarningMessagesGetAllQueryParams,\r\n WarningMessagesGetByIdPathParams,\r\n WarningMessagesGetByIdQueryParams,\r\n WorkingTimesGetAllQueryParams,\r\n WorkingTimesGetByIdPathParams,\r\n WorkingTimesGetByIdQueryParams\r\n} from '@c-rex/interfaces';\r\n\r\n// ---------------------------------------------------------------------------\r\n// Request Functions\r\n// ---------------------------------------------------------------------------\r\n\r\n/** Get all entities by given criteria */\r\nexport const administrativeMetadataGetAllClientService = async (query?: Partial<AdministrativeMetadataGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<AdministrativeMetadataModel>> => {\r\n return baseClientRequest<ResultContainerModel<AdministrativeMetadataModel>>('AdministrativeMetadata', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const administrativeMetadataGetByIdClientService = async (params: AdministrativeMetadataGetByIdPathParams, query?: Partial<AdministrativeMetadataGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<AdministrativeMetadataModel> => {\r\n return baseClientRequest<AdministrativeMetadataModel>(`AdministrativeMetadata/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const afterUsesGetAllClientService = async (query?: Partial<AfterUsesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductLcpAfterUseModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductLcpAfterUseModel>>('AfterUses', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const afterUsesGetByIdClientService = async (params: AfterUsesGetByIdPathParams, query?: Partial<AfterUsesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductLcpAfterUseModel> => {\r\n return baseClientRequest<ProductLcpAfterUseModel>(`AfterUses/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\nexport const categoriesGetAllClientService = async (query?: Partial<CategoriesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<CategoryModel>> => {\r\n return baseClientRequest<ResultContainerModel<CategoryModel>>('crex/v1/Categories', query, options);\r\n};\r\n\r\nexport const categoriesGetByIdClientService = async (params: CategoriesGetByIdPathParams, query?: Partial<CategoriesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<CategoryModel> => {\r\n return baseClientRequest<CategoryModel>(`crex/v1/Categories/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const collectionsGetAllClientService = async (query?: Partial<CollectionsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectCollectionModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectCollectionModel>>('Collections', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const collectionsGetByIdClientService = async (params: CollectionsGetByIdPathParams, query?: Partial<CollectionsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectCollectionModel> => {\r\n return baseClientRequest<InformationSubjectCollectionModel>(`Collections/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const componentsGetAllClientService = async (query?: Partial<ComponentsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ComponentModel>> => {\r\n return baseClientRequest<ResultContainerModel<ComponentModel>>('Components', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const componentsGetByIdClientService = async (params: ComponentsGetByIdPathParams, query?: Partial<ComponentsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ComponentModel> => {\r\n return baseClientRequest<ComponentModel>(`Components/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const conceptsGetAllClientService = async (query?: Partial<ConceptsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeConceptModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeConceptModel>>('Concepts', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const conceptsGetByIdClientService = async (params: ConceptsGetByIdPathParams, query?: Partial<ConceptsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeConceptModel> => {\r\n return baseClientRequest<TopicTypeConceptModel>(`Concepts/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const conformitiesGetAllClientService = async (query?: Partial<ConformitiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectConformityModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectConformityModel>>('Conformities', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const conformitiesGetByIdClientService = async (params: ConformitiesGetByIdPathParams, query?: Partial<ConformitiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectConformityModel> => {\r\n return baseClientRequest<InformationSubjectConformityModel>(`Conformities/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const consumablesGetAllClientService = async (query?: Partial<ConsumablesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplyConsumableModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplyConsumableModel>>('Consumables', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const consumablesGetByIdClientService = async (params: ConsumablesGetByIdPathParams, query?: Partial<ConsumablesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplyConsumableModel> => {\r\n return baseClientRequest<SupplyConsumableModel>(`Consumables/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const contentLifeCycleStatusGetAllClientService = async (query?: Partial<ContentLifeCycleStatusGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ContentLifeCycleStatusModel>> => {\r\n return baseClientRequest<ResultContainerModel<ContentLifeCycleStatusModel>>('ContentLifeCycleStatus', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const contentLifeCycleStatusGetByIdClientService = async (params: ContentLifeCycleStatusGetByIdPathParams, query?: Partial<ContentLifeCycleStatusGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ContentLifeCycleStatusModel> => {\r\n return baseClientRequest<ContentLifeCycleStatusModel>(`ContentLifeCycleStatus/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const designAndRealizationsGetAllClientService = async (query?: Partial<DesignAndRealizationsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductLcpDesignAndRealizationModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductLcpDesignAndRealizationModel>>('DesignAndRealizations', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const designAndRealizationsGetByIdClientService = async (params: DesignAndRealizationsGetByIdPathParams, query?: Partial<DesignAndRealizationsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductLcpDesignAndRealizationModel> => {\r\n return baseClientRequest<ProductLcpDesignAndRealizationModel>(`DesignAndRealizations/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const directoryNodesGetAllClientService = async (query?: Partial<DirectoryNodesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DirectoryNodeModel>> => {\r\n return baseClientRequest<ResultContainerModel<DirectoryNodeModel>>('DirectoryNodes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const directoryNodesGetByIdClientService = async (params: DirectoryNodesGetByIdPathParams, query?: Partial<DirectoryNodesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DirectoryNodeModel> => {\r\n return baseClientRequest<DirectoryNodeModel>(`DirectoryNodes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const directoryNodeTypesGetAllClientService = async (query?: Partial<DirectoryNodeTypesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DirectoryNodeTypeModel>> => {\r\n return baseClientRequest<ResultContainerModel<DirectoryNodeTypeModel>>('DirectoryNodeTypes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const directoryNodeTypesGetByIdClientService = async (params: DirectoryNodeTypesGetByIdPathParams, query?: Partial<DirectoryNodeTypesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DirectoryNodeTypeModel> => {\r\n return baseClientRequest<DirectoryNodeTypeModel>(`DirectoryNodeTypes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const documentationMetadataGetAllClientService = async (query?: Partial<DocumentationMetadataGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DocumentationMetadataModel>> => {\r\n return baseClientRequest<ResultContainerModel<DocumentationMetadataModel>>('DocumentationMetadata', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const documentationMetadataGetByIdClientService = async (params: DocumentationMetadataGetByIdPathParams, query?: Partial<DocumentationMetadataGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DocumentationMetadataModel> => {\r\n return baseClientRequest<DocumentationMetadataModel>(`DocumentationMetadata/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const documentsGetAllClientService = async (query?: Partial<DocumentsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DocumentModel>> => {\r\n return baseClientRequest<ResultContainerModel<DocumentModel>>('Documents', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const documentsGetByIdClientService = async (params: DocumentsGetByIdPathParams, query?: Partial<DocumentsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DocumentModel> => {\r\n return baseClientRequest<DocumentModel>(`Documents/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Languages used by indexed terms */\r\nexport const documentsLanguagesClientService = async (query?: Partial<DocumentsLanguagesQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('Documents/Languages', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const documentTypesGetAllClientService = async (query?: Partial<DocumentTypesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DocumentTypeModel>> => {\r\n return baseClientRequest<ResultContainerModel<DocumentTypeModel>>('DocumentTypes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const documentTypesGetByIdClientService = async (params: DocumentTypesGetByIdPathParams, query?: Partial<DocumentTypesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DocumentTypeModel> => {\r\n return baseClientRequest<DocumentTypeModel>(`DocumentTypes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const domainEntitiesGetAllClientService = async (query?: Partial<DomainEntitiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DomainEntityModel>> => {\r\n return baseClientRequest<ResultContainerModel<DomainEntityModel>>('DomainEntities', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const domainEntitiesGetByIdClientService = async (params: DomainEntitiesGetByIdPathParams, query?: Partial<DomainEntitiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DomainEntityModel> => {\r\n return baseClientRequest<DomainEntityModel>(`DomainEntities/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const downTimesGetAllClientService = async (query?: Partial<DownTimesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PlanningDownTimeModel>> => {\r\n return baseClientRequest<ResultContainerModel<PlanningDownTimeModel>>('DownTimes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const downTimesGetByIdClientService = async (params: DownTimesGetByIdPathParams, query?: Partial<DownTimesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PlanningDownTimeModel> => {\r\n return baseClientRequest<PlanningDownTimeModel>(`DownTimes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const eventsGetAllClientService = async (query?: Partial<EventsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<EventModel>> => {\r\n return baseClientRequest<ResultContainerModel<EventModel>>('Events', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const eventsGetByIdClientService = async (params: EventsGetByIdPathParams, query?: Partial<EventsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<EventModel> => {\r\n return baseClientRequest<EventModel>(`Events/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const formalitiesGetAllClientService = async (query?: Partial<FormalitiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectFormalityModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectFormalityModel>>('Formalities', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const formalitiesGetByIdClientService = async (params: FormalitiesGetByIdPathParams, query?: Partial<FormalitiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectFormalityModel> => {\r\n return baseClientRequest<InformationSubjectFormalityModel>(`Formalities/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const formsGetAllClientService = async (query?: Partial<FormsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeFormModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeFormModel>>('Forms', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const formsGetByIdClientService = async (params: FormsGetByIdPathParams, query?: Partial<FormsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeFormModel> => {\r\n return baseClientRequest<TopicTypeFormModel>(`Forms/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const fragmentsGetAllClientService = async (query?: Partial<FragmentsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<FragmentModel>> => {\r\n return baseClientRequest<ResultContainerModel<FragmentModel>>('Fragments', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const fragmentsGetByIdClientService = async (params: FragmentsGetByIdPathParams, query?: Partial<FragmentsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<FragmentModel> => {\r\n return baseClientRequest<FragmentModel>(`Fragments/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Languages used by indexed terms */\r\nexport const fragmentsLanguagesClientService = async (query?: Partial<FragmentsLanguagesQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('Fragments/Languages', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const functionalitiesGetAllClientService = async (query?: Partial<FunctionalitiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectFunctionalityModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectFunctionalityModel>>('Functionalities', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const functionalitiesGetByIdClientService = async (params: FunctionalitiesGetByIdPathParams, query?: Partial<FunctionalitiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectFunctionalityModel> => {\r\n return baseClientRequest<InformationSubjectFunctionalityModel>(`Functionalities/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const functionalMetadatasGetAllClientService = async (query?: Partial<FunctionalMetadatasGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<FunctionalMetadataModel>> => {\r\n return baseClientRequest<ResultContainerModel<FunctionalMetadataModel>>('FunctionalMetadatas', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const functionalMetadatasGetByIdClientService = async (params: FunctionalMetadatasGetByIdPathParams, query?: Partial<FunctionalMetadatasGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<FunctionalMetadataModel> => {\r\n return baseClientRequest<FunctionalMetadataModel>(`FunctionalMetadatas/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const groupsGetAllClientService = async (query?: Partial<GroupsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<VCardGroupModel>> => {\r\n return baseClientRequest<ResultContainerModel<VCardGroupModel>>('vcard/v1/Groups', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const groupsGetByIdClientService = async (params: GroupsGetByIdPathParams, query?: Partial<GroupsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<VCardGroupModel> => {\r\n return baseClientRequest<VCardGroupModel>(`vcard/v1/Groups/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const hardwareToolsGetAllClientService = async (query?: Partial<HardwareToolsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplyHardwareToolModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplyHardwareToolModel>>('HardwareTools', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const hardwareToolsGetByIdClientService = async (params: HardwareToolsGetByIdPathParams, query?: Partial<HardwareToolsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplyHardwareToolModel> => {\r\n return baseClientRequest<SupplyHardwareToolModel>(`HardwareTools/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const identitiesGetAllClientService = async (query?: Partial<IdentitiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<IdentityModel>> => {\r\n return baseClientRequest<ResultContainerModel<IdentityModel>>('Identities', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const identitiesGetByIdClientService = async (params: IdentitiesGetByIdPathParams, query?: Partial<IdentitiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<IdentityModel> => {\r\n return baseClientRequest<IdentityModel>(`Identities/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const identityDomainsGetAllClientService = async (query?: Partial<IdentityDomainsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<IdentityDomainModel>> => {\r\n return baseClientRequest<ResultContainerModel<IdentityDomainModel>>('IdentityDomains', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const identityDomainsGetByIdClientService = async (params: IdentityDomainsGetByIdPathParams, query?: Partial<IdentityDomainsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<IdentityDomainModel> => {\r\n return baseClientRequest<IdentityDomainModel>(`IdentityDomains/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const individualsGetAllClientService = async (query?: Partial<IndividualsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<VCardIndividualModel>> => {\r\n return baseClientRequest<ResultContainerModel<VCardIndividualModel>>('vcard/v1/Individuals', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const individualsGetByIdClientService = async (params: IndividualsGetByIdPathParams, query?: Partial<IndividualsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<VCardIndividualModel> => {\r\n return baseClientRequest<VCardIndividualModel>(`vcard/v1/Individuals/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const informationObjectsGetAllClientService = async (query?: Partial<InformationObjectsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationObjectModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationObjectModel>>('InformationObjects', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const informationObjectsGetByIdClientService = async (params: InformationObjectsGetByIdPathParams, query?: Partial<InformationObjectsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationObjectModel> => {\r\n return baseClientRequest<InformationObjectModel>(`InformationObjects/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const informationSubjectsGetAllClientService = async (query?: Partial<InformationSubjectsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectModel>>('InformationSubjects', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const informationSubjectsGetByIdClientService = async (params: InformationSubjectsGetByIdPathParams, query?: Partial<InformationSubjectsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectModel> => {\r\n return baseClientRequest<InformationSubjectModel>(`InformationSubjects/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const informationTypesGetAllClientService = async (query?: Partial<InformationTypesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationTypeModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationTypeModel>>('InformationTypes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const informationTypesGetByIdClientService = async (params: InformationTypesGetByIdPathParams, query?: Partial<InformationTypesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationTypeModel> => {\r\n return baseClientRequest<InformationTypeModel>(`InformationTypes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const informationUnitsGetAllClientService = async (query?: Partial<InformationUnitsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationUnitModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationUnitModel>>('InformationUnits', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const informationUnitsGetByIdClientService = async (params: InformationUnitsGetByIdPathParams, query?: Partial<InformationUnitsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationUnitModel> => {\r\n return baseClientRequest<InformationUnitModel>(`InformationUnits/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Languages used by indexed terms */\r\nexport const informationUnitsLanguagesClientService = async (query?: Partial<InformationUnitsLanguagesQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('InformationUnits/Languages', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const learningsGetAllClientService = async (query?: Partial<LearningsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeLearningModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeLearningModel>>('Learnings', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const learningsGetByIdClientService = async (params: LearningsGetByIdPathParams, query?: Partial<LearningsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeLearningModel> => {\r\n return baseClientRequest<TopicTypeLearningModel>(`Learnings/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const locationsGetAllClientService = async (query?: Partial<LocationsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<VCardLocationModel>> => {\r\n return baseClientRequest<ResultContainerModel<VCardLocationModel>>('vcard/v1/Locations', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const locationsGetByIdClientService = async (params: LocationsGetByIdPathParams, query?: Partial<LocationsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<VCardLocationModel> => {\r\n return baseClientRequest<VCardLocationModel>(`vcard/v1/Locations/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const lubricantsGetAllClientService = async (query?: Partial<LubricantsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplyLubricantModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplyLubricantModel>>('Lubricants', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const lubricantsGetByIdClientService = async (params: LubricantsGetByIdPathParams, query?: Partial<LubricantsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplyLubricantModel> => {\r\n return baseClientRequest<SupplyLubricantModel>(`Lubricants/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const maintenanceIntervalsGetAllClientService = async (query?: Partial<MaintenanceIntervalsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PlanningMaintenanceIntervalModel>> => {\r\n return baseClientRequest<ResultContainerModel<PlanningMaintenanceIntervalModel>>('MaintenanceIntervals', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const maintenanceIntervalsGetByIdClientService = async (params: MaintenanceIntervalsGetByIdPathParams, query?: Partial<MaintenanceIntervalsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PlanningMaintenanceIntervalModel> => {\r\n return baseClientRequest<PlanningMaintenanceIntervalModel>(`MaintenanceIntervals/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const operatingSuppliesGetAllClientService = async (query?: Partial<OperatingSuppliesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplyOperatingModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplyOperatingModel>>('OperatingSupplies', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const operatingSuppliesGetByIdClientService = async (params: OperatingSuppliesGetByIdPathParams, query?: Partial<OperatingSuppliesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplyOperatingModel> => {\r\n return baseClientRequest<SupplyOperatingModel>(`OperatingSupplies/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const organizationsGetAllClientService = async (query?: Partial<OrganizationsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<VCardOrganizationModel>> => {\r\n return baseClientRequest<ResultContainerModel<VCardOrganizationModel>>('vcard/v1/Organizations', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const organizationsGetByIdClientService = async (params: OrganizationsGetByIdPathParams, query?: Partial<OrganizationsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<VCardOrganizationModel> => {\r\n return baseClientRequest<VCardOrganizationModel>(`vcard/v1/Organizations/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Create an Offline Client App from the given Repositories */\r\nexport const packagesCreateClientAppClientService = async (query?: Partial<PackagesCreateClientAppQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('ids/v1/Packages/CreateClientApp', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const packagesGetAllClientService = async (query?: Partial<PackagesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PackageModel>> => {\r\n return baseClientRequest<ResultContainerModel<PackageModel>>('Packages', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const packagesGetByIdClientService = async (params: PackagesGetByIdPathParams, query?: Partial<PackagesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PackageModel> => {\r\n return baseClientRequest<PackageModel>(`Packages/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Languages used by indexed terms */\r\nexport const packagesLanguagesClientService = async (query?: Partial<PackagesLanguagesQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('Packages/Languages', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const partiesGetAllClientService = async (query?: Partial<PartiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PartyModel>> => {\r\n return baseClientRequest<ResultContainerModel<PartyModel>>('Parties', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const partiesGetByIdClientService = async (params: PartiesGetByIdPathParams, query?: Partial<PartiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PartyModel> => {\r\n return baseClientRequest<PartyModel>(`Parties/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const planningTimesGetAllClientService = async (query?: Partial<PlanningTimesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PlanningTimeModel>> => {\r\n return baseClientRequest<ResultContainerModel<PlanningTimeModel>>('PlanningTimes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const planningTimesGetByIdClientService = async (params: PlanningTimesGetByIdPathParams, query?: Partial<PlanningTimesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PlanningTimeModel> => {\r\n return baseClientRequest<PlanningTimeModel>(`PlanningTimes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const processesGetAllClientService = async (query?: Partial<ProcessesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectProcessModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectProcessModel>>('Processes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const processesGetByIdClientService = async (params: ProcessesGetByIdPathParams, query?: Partial<ProcessesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectProcessModel> => {\r\n return baseClientRequest<InformationSubjectProcessModel>(`Processes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productFeaturesGetAllClientService = async (query?: Partial<ProductFeaturesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductFeatureModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductFeatureModel>>('ProductFeatures', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productFeaturesGetByIdClientService = async (params: ProductFeaturesGetByIdPathParams, query?: Partial<ProductFeaturesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductFeatureModel> => {\r\n return baseClientRequest<ProductFeatureModel>(`ProductFeatures/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productFunctionsGetAllClientService = async (query?: Partial<ProductFunctionsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductFunctionModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductFunctionModel>>('ProductFunctions', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productFunctionsGetByIdClientService = async (params: ProductFunctionsGetByIdPathParams, query?: Partial<ProductFunctionsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductFunctionModel> => {\r\n return baseClientRequest<ProductFunctionModel>(`ProductFunctions/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productLifeCyclePhasesGetAllClientService = async (query?: Partial<ProductLifeCyclePhasesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductLifeCyclePhaseModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductLifeCyclePhaseModel>>('ProductLifeCyclePhases', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productLifeCyclePhasesGetByIdClientService = async (params: ProductLifeCyclePhasesGetByIdPathParams, query?: Partial<ProductLifeCyclePhasesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductLifeCyclePhaseModel> => {\r\n return baseClientRequest<ProductLifeCyclePhaseModel>(`ProductLifeCyclePhases/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productMetadataGetAllClientService = async (query?: Partial<ProductMetadataGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductMetadataModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductMetadataModel>>('ProductMetadata', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productMetadataGetByIdClientService = async (params: ProductMetadataGetByIdPathParams, query?: Partial<ProductMetadataGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductMetadataModel> => {\r\n return baseClientRequest<ProductMetadataModel>(`ProductMetadata/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productPropertiesGetAllClientService = async (query?: Partial<ProductPropertiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductPropertyModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductPropertyModel>>('ProductProperties', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productPropertiesGetByIdClientService = async (params: ProductPropertiesGetByIdPathParams, query?: Partial<ProductPropertiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductPropertyModel> => {\r\n return baseClientRequest<ProductPropertyModel>(`ProductProperties/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productVariantsGetAllClientService = async (query?: Partial<ProductVariantsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductVariantModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductVariantModel>>('ProductVariants', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productVariantsGetByIdClientService = async (params: ProductVariantsGetByIdPathParams, query?: Partial<ProductVariantsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductVariantModel> => {\r\n return baseClientRequest<ProductVariantModel>(`ProductVariants/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const puttingToUsesGetAllClientService = async (query?: Partial<PuttingToUsesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductLcpPuttingToUseModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductLcpPuttingToUseModel>>('PuttingToUses', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const puttingToUsesGetByIdClientService = async (params: PuttingToUsesGetByIdPathParams, query?: Partial<PuttingToUsesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductLcpPuttingToUseModel> => {\r\n return baseClientRequest<ProductLcpPuttingToUseModel>(`PuttingToUses/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const qualificationsGetAllClientService = async (query?: Partial<QualificationsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<QualificationModel>> => {\r\n return baseClientRequest<ResultContainerModel<QualificationModel>>('Qualifications', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const qualificationsGetByIdClientService = async (params: QualificationsGetByIdPathParams, query?: Partial<QualificationsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<QualificationModel> => {\r\n return baseClientRequest<QualificationModel>(`Qualifications/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const referencesGetAllClientService = async (query?: Partial<ReferencesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeReferenceModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeReferenceModel>>('References', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const referencesGetByIdClientService = async (params: ReferencesGetByIdPathParams, query?: Partial<ReferencesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeReferenceModel> => {\r\n return baseClientRequest<TopicTypeReferenceModel>(`References/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const renditionsGetAllClientService = async (query?: Partial<RenditionsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<RenditionModel>> => {\r\n return baseClientRequest<ResultContainerModel<RenditionModel>>('Renditions', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const renditionsGetByIdClientService = async (params: RenditionsGetByIdPathParams, query?: Partial<RenditionsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<RenditionModel> => {\r\n return baseClientRequest<RenditionModel>(`Renditions/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get the rendition for the given url */\r\nexport const renditionsGetWithBinaryWithBinaryPathClientService = async (params: RenditionsGetWithBinaryWithBinaryPathPathParams, options?: { signal?: AbortSignal }): Promise<RenditionModel> => {\r\n return baseClientRequest<RenditionModel>(`Renditions/${encodeURIComponent(String(params.id))}/${encodeURIComponent(String(params.binaryPath))}`, undefined, options);\r\n};\r\n\r\n/** Get the binary stream */\r\nexport const resourcesDownloadResourceClientService = async (params: ResourcesDownloadResourcePathParams, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`ids/v1/Resources/${encodeURIComponent(String(params.renditionId))}`, undefined, options);\r\n};\r\n\r\n/** Get the binary stream */\r\nexport const resourcesDownloadResourceWithBinaryPathClientService = async (params: ResourcesDownloadResourceWithBinaryPathPathParams, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`ids/v1/Resources/${encodeURIComponent(String(params.renditionId))}/${encodeURIComponent(String(params.binaryPath))}`, undefined, options);\r\n};\r\n\r\n/** Query package with id\r\ndefault mediatypes application/json\r\nchange mediatype by Adding accept-Header (like application/rdf+xml application/rdf+json, and more) */\r\nexport const resourcesGetPackageClientService = async (params: ResourcesPackagesGetPackagePathParams, query?: Partial<ResourcesPackagesGetPackageQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`Resources/packages/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Request any resource in tiple store from packages */\r\nexport const resourcesGetSubjectFromPackageClientService = async (params: ResourcesSubjectsGetSubjectFromPackagePathParams, query?: Partial<ResourcesSubjectsGetSubjectFromPackageQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`Resources/subjects/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get the binary stream */\r\nexport const resourcesViewResourceClientService = async (params: ResourcesViewViewResourcePathParams, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`ids/v1/Resources/view/${encodeURIComponent(String(params.renditionId))}`, undefined, options);\r\n};\r\n\r\n/** Get the binary stream */\r\nexport const resourcesViewResourceWithBinaryPathClientService = async (params: ResourcesViewViewResourceWithBinaryPathPathParams, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`ids/v1/Resources/view/${encodeURIComponent(String(params.renditionId))}/${encodeURIComponent(String(params.binaryPath))}`, undefined, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const rolesGetAllClientService = async (query?: Partial<RolesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<QualificationRoleModel>> => {\r\n return baseClientRequest<ResultContainerModel<QualificationRoleModel>>('Roles', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const rolesGetByIdClientService = async (params: RolesGetByIdPathParams, query?: Partial<RolesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<QualificationRoleModel> => {\r\n return baseClientRequest<QualificationRoleModel>(`Roles/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const safetiesGetAllClientService = async (query?: Partial<SafetiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectSafetyModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectSafetyModel>>('Safeties', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const safetiesGetByIdClientService = async (params: SafetiesGetByIdPathParams, query?: Partial<SafetiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectSafetyModel> => {\r\n return baseClientRequest<InformationSubjectSafetyModel>(`Safeties/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const searchGetAllClientService = async (query?: Partial<SearchFacetsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<unknown>> => {\r\n return baseClientRequest<ResultContainerModel<unknown>>('ids/v1/Search/Facets', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const setupTimesGetAllClientService = async (query?: Partial<SetupTimesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PlanningSetupTimeModel>> => {\r\n return baseClientRequest<ResultContainerModel<PlanningSetupTimeModel>>('SetupTimes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const setupTimesGetByIdClientService = async (params: SetupTimesGetByIdPathParams, query?: Partial<SetupTimesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PlanningSetupTimeModel> => {\r\n return baseClientRequest<PlanningSetupTimeModel>(`SetupTimes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const skillLevelsGetAllClientService = async (query?: Partial<SkillLevelsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<QualificationSkillLevelModel>> => {\r\n return baseClientRequest<ResultContainerModel<QualificationSkillLevelModel>>('SkillLevels', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const skillLevelsGetByIdClientService = async (params: SkillLevelsGetByIdPathParams, query?: Partial<SkillLevelsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<QualificationSkillLevelModel> => {\r\n return baseClientRequest<QualificationSkillLevelModel>(`SkillLevels/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const sparePartsGetAllClientService = async (query?: Partial<SparePartsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplySparePartModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplySparePartModel>>('SpareParts', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const sparePartsGetByIdClientService = async (params: SparePartsGetByIdPathParams, query?: Partial<SparePartsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplySparePartModel> => {\r\n return baseClientRequest<SupplySparePartModel>(`SpareParts/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Query Iirds storage by SparQL */\r\nexport const sparQLExecuteSparQlClientService = async (params: SparQLExecuteSparQlPathParams, options?: { signal?: AbortSignal }): Promise<Record<string, string>[]> => {\r\n return baseClientRequest<Record<string, string>[]>(`SparQL/${encodeURIComponent(String(params.query))}`, undefined, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const suppliesGetAllClientService = async (query?: Partial<SuppliesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplyModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplyModel>>('Supplies', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const suppliesGetByIdClientService = async (params: SuppliesGetByIdPathParams, query?: Partial<SuppliesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplyModel> => {\r\n return baseClientRequest<SupplyModel>(`Supplies/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const tasksGetAllClientService = async (query?: Partial<TasksGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeTaskModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeTaskModel>>('Tasks', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const tasksGetByIdClientService = async (params: TasksGetByIdPathParams, query?: Partial<TasksGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeTaskModel> => {\r\n return baseClientRequest<TopicTypeTaskModel>(`Tasks/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const technicalDataGetAllClientService = async (query?: Partial<TechnicalDataGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectTechnicalDataModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectTechnicalDataModel>>('TechnicalData', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const technicalDataGetByIdClientService = async (params: TechnicalDataGetByIdPathParams, query?: Partial<TechnicalDataGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectTechnicalDataModel> => {\r\n return baseClientRequest<InformationSubjectTechnicalDataModel>(`TechnicalData/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const technicalOverviewsGetAllClientService = async (query?: Partial<TechnicalOverviewsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectTechnicalOverviewModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectTechnicalOverviewModel>>('TechnicalOverviews', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const technicalOverviewsGetByIdClientService = async (params: TechnicalOverviewsGetByIdPathParams, query?: Partial<TechnicalOverviewsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectTechnicalOverviewModel> => {\r\n return baseClientRequest<InformationSubjectTechnicalOverviewModel>(`TechnicalOverviews/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const topicsGetAllClientService = async (query?: Partial<TopicsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicModel>>('Topics', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const topicsGetByIdClientService = async (params: TopicsGetByIdPathParams, query?: Partial<TopicsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicModel> => {\r\n return baseClientRequest<TopicModel>(`Topics/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Languages used by indexed terms */\r\nexport const topicsLanguagesClientService = async (query?: Partial<TopicsLanguagesQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('Topics/Languages', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const topicTypesGetAllClientService = async (query?: Partial<TopicTypesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeModel>>('TopicTypes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const topicTypesGetByIdClientService = async (params: TopicTypesGetByIdPathParams, query?: Partial<TopicTypesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeModel> => {\r\n return baseClientRequest<TopicTypeModel>(`TopicTypes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const troubleShootingsGetAllClientService = async (query?: Partial<TroubleShootingsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeTroubleShootingModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeTroubleShootingModel>>('TroubleShootings', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const troubleShootingsGetByIdClientService = async (params: TroubleShootingsGetByIdPathParams, query?: Partial<TroubleShootingsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeTroubleShootingModel> => {\r\n return baseClientRequest<TopicTypeTroubleShootingModel>(`TroubleShootings/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const usesGetAllClientService = async (query?: Partial<UsesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductLcpUseModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductLcpUseModel>>('Uses', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const usesGetByIdClientService = async (params: UsesGetByIdPathParams, query?: Partial<UsesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductLcpUseModel> => {\r\n return baseClientRequest<ProductLcpUseModel>(`Uses/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const vCardsGetAllClientService = async (query?: Partial<VCardsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<VCardModel>> => {\r\n return baseClientRequest<ResultContainerModel<VCardModel>>('vcard/v1/VCards', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const vCardsGetByIdClientService = async (params: VCardsGetByIdPathParams, query?: Partial<VCardsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<VCardModel> => {\r\n return baseClientRequest<VCardModel>(`vcard/v1/VCards/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const warningMessagesGetAllClientService = async (query?: Partial<WarningMessagesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectSafetyWarningMessageModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectSafetyWarningMessageModel>>('WarningMessages', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const warningMessagesGetByIdClientService = async (params: WarningMessagesGetByIdPathParams, query?: Partial<WarningMessagesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectSafetyWarningMessageModel> => {\r\n return baseClientRequest<InformationSubjectSafetyWarningMessageModel>(`WarningMessages/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const workingTimesGetAllClientService = async (query?: Partial<WorkingTimesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PlanningWorkingTimeModel>> => {\r\n return baseClientRequest<ResultContainerModel<PlanningWorkingTimeModel>>('WorkingTimes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const workingTimesGetByIdClientService = async (params: WorkingTimesGetByIdPathParams, query?: Partial<WorkingTimesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PlanningWorkingTimeModel> => {\r\n return baseClientRequest<PlanningWorkingTimeModel>(`WorkingTimes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n"],"mappings":";AAAO,IAAM,oBAAoB,OAC/B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mBAAmB,mBAAmB,OAAO,OAAO,EAAE,CAAC,CAAC,IAAI,OAAO,OAAO;AACnH;AAGO,IAAM,qCAAqC,OAAO,OAAmD,YAAmH;AAC3N,SAAO,kBAAqF,mBAAmB,OAAO,OAAO;AACjI;AAGO,IAAM,sCAAsC,OAAO,QAA0C,OAAoD,YAA6F;AACjP,SAAO,kBAA+D,mBAAmB,mBAAmB,OAAO,OAAO,EAAE,CAAC,CAAC,IAAI,OAAO,OAAO;AACpJ;AAGO,IAAM,kCAAkC,OAAO,OAAgD,YAAgG;AAClM,SAAO,kBAAkE,gBAAgB,OAAO,OAAO;AAC3G;AAGO,IAAM,mCAAmC,OAAO,QAAuC,OAAiD,YAA0E;AACrN,SAAO,kBAA4C,gBAAgB,mBAAmB,OAAO,OAAO,EAAE,CAAC,CAAC,IAAI,OAAO,OAAO;AAC9H;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/base-client-request.ts","../../src/generated/client-requests.ts"],"sourcesContent":["export const baseClientRequest = async <T>(\r\n endpoint: string,\r\n queryParams?: Record<\r\n string,\r\n string | number | boolean | (string | number | boolean)[] | undefined\r\n >,\r\n options?: { signal?: AbortSignal },\r\n extra?: {\r\n responseType?: \"json\" | \"text\";\r\n authMode?: \"configured\" | \"anonymous\";\r\n },\r\n): Promise<T> => {\r\n const res = await fetch(`/api/rpc`, {\r\n method: \"POST\",\r\n headers: { \"Content-Type\": \"application/json\" },\r\n body: JSON.stringify({\r\n method: \"CrexApi.execute\",\r\n params: {\r\n url: endpoint,\r\n method: \"GET\",\r\n params: queryParams,\r\n responseType: extra?.responseType,\r\n authMode: extra?.authMode,\r\n },\r\n }),\r\n credentials: \"include\",\r\n signal: options?.signal,\r\n });\r\n\r\n const json = await res.json();\r\n\r\n if (!res.ok) throw new Error(json.error || \"Unknown error\");\r\n\r\n return json.data;\r\n};\r\n","/**\r\n * Auto-generated request functions from OpenAPI spec\r\n * Source: https://staging.c-rex.net/ids/api/swagger/v1/swagger.json\r\n * Generated: 2026-03-15T15:48:02.517Z\r\n * Do not edit manually\r\n */\r\n\r\nimport { baseClientRequest } from '../base-client-request';\r\nimport type {\r\n AdministrativeMetadataGetAllQueryParams,\r\n AdministrativeMetadataGetByIdPathParams,\r\n AdministrativeMetadataGetByIdQueryParams,\r\n AdministrativeMetadataModel,\r\n AfterUsesGetAllQueryParams,\r\n AfterUsesGetByIdPathParams,\r\n AfterUsesGetByIdQueryParams,\r\n CategoriesGetAllQueryParams,\r\n CategoriesGetByIdPathParams,\r\n CategoriesGetByIdQueryParams,\r\n CategoryModel,\r\n CollectionsGetAllQueryParams,\r\n CollectionsGetByIdPathParams,\r\n CollectionsGetByIdQueryParams,\r\n ComponentModel,\r\n ComponentsGetAllQueryParams,\r\n ComponentsGetByIdPathParams,\r\n ComponentsGetByIdQueryParams,\r\n ConceptsGetAllQueryParams,\r\n ConceptsGetByIdPathParams,\r\n ConceptsGetByIdQueryParams,\r\n ConformitiesGetAllQueryParams,\r\n ConformitiesGetByIdPathParams,\r\n ConformitiesGetByIdQueryParams,\r\n ConsumablesGetAllQueryParams,\r\n ConsumablesGetByIdPathParams,\r\n ConsumablesGetByIdQueryParams,\r\n ContentLifeCycleStatusGetAllQueryParams,\r\n ContentLifeCycleStatusGetByIdPathParams,\r\n ContentLifeCycleStatusGetByIdQueryParams,\r\n ContentLifeCycleStatusModel,\r\n DesignAndRealizationsGetAllQueryParams,\r\n DesignAndRealizationsGetByIdPathParams,\r\n DesignAndRealizationsGetByIdQueryParams,\r\n DirectoryNodeModel,\r\n DirectoryNodeTypeModel,\r\n DirectoryNodeTypesGetAllQueryParams,\r\n DirectoryNodeTypesGetByIdPathParams,\r\n DirectoryNodeTypesGetByIdQueryParams,\r\n DirectoryNodesGetAllQueryParams,\r\n DirectoryNodesGetByIdPathParams,\r\n DirectoryNodesGetByIdQueryParams,\r\n DocumentModel,\r\n DocumentTypeModel,\r\n DocumentTypesGetAllQueryParams,\r\n DocumentTypesGetByIdPathParams,\r\n DocumentTypesGetByIdQueryParams,\r\n DocumentationMetadataGetAllQueryParams,\r\n DocumentationMetadataGetByIdPathParams,\r\n DocumentationMetadataGetByIdQueryParams,\r\n DocumentationMetadataModel,\r\n DocumentsGetAllQueryParams,\r\n DocumentsGetByIdPathParams,\r\n DocumentsGetByIdQueryParams,\r\n DocumentsLanguagesQueryParams,\r\n DomainEntitiesGetAllQueryParams,\r\n DomainEntitiesGetByIdPathParams,\r\n DomainEntitiesGetByIdQueryParams,\r\n DomainEntityModel,\r\n DownTimesGetAllQueryParams,\r\n DownTimesGetByIdPathParams,\r\n DownTimesGetByIdQueryParams,\r\n EventModel,\r\n EventsGetAllQueryParams,\r\n EventsGetByIdPathParams,\r\n EventsGetByIdQueryParams,\r\n FormalitiesGetAllQueryParams,\r\n FormalitiesGetByIdPathParams,\r\n FormalitiesGetByIdQueryParams,\r\n FormsGetAllQueryParams,\r\n FormsGetByIdPathParams,\r\n FormsGetByIdQueryParams,\r\n FragmentModel,\r\n FragmentsGetAllQueryParams,\r\n FragmentsGetByIdPathParams,\r\n FragmentsGetByIdQueryParams,\r\n FragmentsLanguagesQueryParams,\r\n FunctionalMetadataModel,\r\n FunctionalMetadatasGetAllQueryParams,\r\n FunctionalMetadatasGetByIdPathParams,\r\n FunctionalMetadatasGetByIdQueryParams,\r\n FunctionalitiesGetAllQueryParams,\r\n FunctionalitiesGetByIdPathParams,\r\n FunctionalitiesGetByIdQueryParams,\r\n GroupsGetAllQueryParams,\r\n GroupsGetByIdPathParams,\r\n GroupsGetByIdQueryParams,\r\n HardwareToolsGetAllQueryParams,\r\n HardwareToolsGetByIdPathParams,\r\n HardwareToolsGetByIdQueryParams,\r\n IdentitiesGetAllQueryParams,\r\n IdentitiesGetByIdPathParams,\r\n IdentitiesGetByIdQueryParams,\r\n IdentityDomainModel,\r\n IdentityDomainsGetAllQueryParams,\r\n IdentityDomainsGetByIdPathParams,\r\n IdentityDomainsGetByIdQueryParams,\r\n IdentityModel,\r\n IndividualsGetAllQueryParams,\r\n IndividualsGetByIdPathParams,\r\n IndividualsGetByIdQueryParams,\r\n InformationObjectModel,\r\n InformationObjectsGetAllQueryParams,\r\n InformationObjectsGetByIdPathParams,\r\n InformationObjectsGetByIdQueryParams,\r\n InformationSubjectCollectionModel,\r\n InformationSubjectConformityModel,\r\n InformationSubjectFormalityModel,\r\n InformationSubjectFunctionalityModel,\r\n InformationSubjectModel,\r\n InformationSubjectProcessModel,\r\n InformationSubjectSafetyModel,\r\n InformationSubjectSafetyWarningMessageModel,\r\n InformationSubjectTechnicalDataModel,\r\n InformationSubjectTechnicalOverviewModel,\r\n InformationSubjectsGetAllQueryParams,\r\n InformationSubjectsGetByIdPathParams,\r\n InformationSubjectsGetByIdQueryParams,\r\n InformationTypeModel,\r\n InformationTypesGetAllQueryParams,\r\n InformationTypesGetByIdPathParams,\r\n InformationTypesGetByIdQueryParams,\r\n InformationUnitModel,\r\n InformationUnitsGetAllQueryParams,\r\n InformationUnitsGetByIdPathParams,\r\n InformationUnitsGetByIdQueryParams,\r\n InformationUnitsLanguagesQueryParams,\r\n LearningsGetAllQueryParams,\r\n LearningsGetByIdPathParams,\r\n LearningsGetByIdQueryParams,\r\n LocationsGetAllQueryParams,\r\n LocationsGetByIdPathParams,\r\n LocationsGetByIdQueryParams,\r\n LubricantsGetAllQueryParams,\r\n LubricantsGetByIdPathParams,\r\n LubricantsGetByIdQueryParams,\r\n MaintenanceIntervalsGetAllQueryParams,\r\n MaintenanceIntervalsGetByIdPathParams,\r\n MaintenanceIntervalsGetByIdQueryParams,\r\n OperatingSuppliesGetAllQueryParams,\r\n OperatingSuppliesGetByIdPathParams,\r\n OperatingSuppliesGetByIdQueryParams,\r\n OrganizationsGetAllQueryParams,\r\n OrganizationsGetByIdPathParams,\r\n OrganizationsGetByIdQueryParams,\r\n PackageModel,\r\n PackagesCreateClientAppQueryParams,\r\n PackagesGetAllQueryParams,\r\n PackagesGetByIdPathParams,\r\n PackagesGetByIdQueryParams,\r\n PackagesLanguagesQueryParams,\r\n PartiesGetAllQueryParams,\r\n PartiesGetByIdPathParams,\r\n PartiesGetByIdQueryParams,\r\n PartyModel,\r\n PlanningDownTimeModel,\r\n PlanningMaintenanceIntervalModel,\r\n PlanningSetupTimeModel,\r\n PlanningTimeModel,\r\n PlanningTimesGetAllQueryParams,\r\n PlanningTimesGetByIdPathParams,\r\n PlanningTimesGetByIdQueryParams,\r\n PlanningWorkingTimeModel,\r\n ProcessesGetAllQueryParams,\r\n ProcessesGetByIdPathParams,\r\n ProcessesGetByIdQueryParams,\r\n ProductFeatureModel,\r\n ProductFeaturesGetAllQueryParams,\r\n ProductFeaturesGetByIdPathParams,\r\n ProductFeaturesGetByIdQueryParams,\r\n ProductFunctionModel,\r\n ProductFunctionsGetAllQueryParams,\r\n ProductFunctionsGetByIdPathParams,\r\n ProductFunctionsGetByIdQueryParams,\r\n ProductLcpAfterUseModel,\r\n ProductLcpDesignAndRealizationModel,\r\n ProductLcpPuttingToUseModel,\r\n ProductLcpUseModel,\r\n ProductLifeCyclePhaseModel,\r\n ProductLifeCyclePhasesGetAllQueryParams,\r\n ProductLifeCyclePhasesGetByIdPathParams,\r\n ProductLifeCyclePhasesGetByIdQueryParams,\r\n ProductMetadataGetAllQueryParams,\r\n ProductMetadataGetByIdPathParams,\r\n ProductMetadataGetByIdQueryParams,\r\n ProductMetadataModel,\r\n ProductPropertiesGetAllQueryParams,\r\n ProductPropertiesGetByIdPathParams,\r\n ProductPropertiesGetByIdQueryParams,\r\n ProductPropertyModel,\r\n ProductVariantModel,\r\n ProductVariantsGetAllQueryParams,\r\n ProductVariantsGetByIdPathParams,\r\n ProductVariantsGetByIdQueryParams,\r\n PuttingToUsesGetAllQueryParams,\r\n PuttingToUsesGetByIdPathParams,\r\n PuttingToUsesGetByIdQueryParams,\r\n QualificationModel,\r\n QualificationRoleModel,\r\n QualificationSkillLevelModel,\r\n QualificationsGetAllQueryParams,\r\n QualificationsGetByIdPathParams,\r\n QualificationsGetByIdQueryParams,\r\n ReferencesGetAllQueryParams,\r\n ReferencesGetByIdPathParams,\r\n ReferencesGetByIdQueryParams,\r\n RenditionModel,\r\n RenditionsGetAllQueryParams,\r\n RenditionsGetByIdPathParams,\r\n RenditionsGetByIdQueryParams,\r\n RenditionsGetWithBinaryWithBinaryPathPathParams,\r\n ResourcesDownloadResourcePathParams,\r\n ResourcesDownloadResourceWithBinaryPathPathParams,\r\n ResourcesPackagesGetPackagePathParams,\r\n ResourcesPackagesGetPackageQueryParams,\r\n ResourcesSubjectsGetSubjectFromPackagePathParams,\r\n ResourcesSubjectsGetSubjectFromPackageQueryParams,\r\n ResourcesViewViewResourcePathParams,\r\n ResourcesViewViewResourceWithBinaryPathPathParams,\r\n ResultContainerModel,\r\n RolesGetAllQueryParams,\r\n RolesGetByIdPathParams,\r\n RolesGetByIdQueryParams,\r\n SafetiesGetAllQueryParams,\r\n SafetiesGetByIdPathParams,\r\n SafetiesGetByIdQueryParams,\r\n SearchFacetsGetAllQueryParams,\r\n SetupTimesGetAllQueryParams,\r\n SetupTimesGetByIdPathParams,\r\n SetupTimesGetByIdQueryParams,\r\n SkillLevelsGetAllQueryParams,\r\n SkillLevelsGetByIdPathParams,\r\n SkillLevelsGetByIdQueryParams,\r\n SparQLExecuteSparQlPathParams,\r\n SparePartsGetAllQueryParams,\r\n SparePartsGetByIdPathParams,\r\n SparePartsGetByIdQueryParams,\r\n SuppliesGetAllQueryParams,\r\n SuppliesGetByIdPathParams,\r\n SuppliesGetByIdQueryParams,\r\n SupplyConsumableModel,\r\n SupplyHardwareToolModel,\r\n SupplyLubricantModel,\r\n SupplyModel,\r\n SupplyOperatingModel,\r\n SupplySparePartModel,\r\n TasksGetAllQueryParams,\r\n TasksGetByIdPathParams,\r\n TasksGetByIdQueryParams,\r\n TechnicalDataGetAllQueryParams,\r\n TechnicalDataGetByIdPathParams,\r\n TechnicalDataGetByIdQueryParams,\r\n TechnicalOverviewsGetAllQueryParams,\r\n TechnicalOverviewsGetByIdPathParams,\r\n TechnicalOverviewsGetByIdQueryParams,\r\n TopicModel,\r\n TopicTypeConceptModel,\r\n TopicTypeFormModel,\r\n TopicTypeLearningModel,\r\n TopicTypeModel,\r\n TopicTypeReferenceModel,\r\n TopicTypeTaskModel,\r\n TopicTypeTroubleShootingModel,\r\n TopicTypesGetAllQueryParams,\r\n TopicTypesGetByIdPathParams,\r\n TopicTypesGetByIdQueryParams,\r\n TopicsGetAllQueryParams,\r\n TopicsGetByIdPathParams,\r\n TopicsGetByIdQueryParams,\r\n TopicsLanguagesQueryParams,\r\n TroubleShootingsGetAllQueryParams,\r\n TroubleShootingsGetByIdPathParams,\r\n TroubleShootingsGetByIdQueryParams,\r\n UsesGetAllQueryParams,\r\n UsesGetByIdPathParams,\r\n UsesGetByIdQueryParams,\r\n VCardGroupModel,\r\n VCardIndividualModel,\r\n VCardLocationModel,\r\n VCardModel,\r\n VCardOrganizationModel,\r\n VCardsGetAllQueryParams,\r\n VCardsGetByIdPathParams,\r\n VCardsGetByIdQueryParams,\r\n WarningMessagesGetAllQueryParams,\r\n WarningMessagesGetByIdPathParams,\r\n WarningMessagesGetByIdQueryParams,\r\n WorkingTimesGetAllQueryParams,\r\n WorkingTimesGetByIdPathParams,\r\n WorkingTimesGetByIdQueryParams\r\n} from '@c-rex/interfaces';\r\n\r\n// ---------------------------------------------------------------------------\r\n// Request Functions\r\n// ---------------------------------------------------------------------------\r\n\r\n/** Get all entities by given criteria */\r\nexport const administrativeMetadataGetAllClientService = async (query?: Partial<AdministrativeMetadataGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<AdministrativeMetadataModel>> => {\r\n return baseClientRequest<ResultContainerModel<AdministrativeMetadataModel>>('AdministrativeMetadata', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const administrativeMetadataGetByIdClientService = async (params: AdministrativeMetadataGetByIdPathParams, query?: Partial<AdministrativeMetadataGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<AdministrativeMetadataModel> => {\r\n return baseClientRequest<AdministrativeMetadataModel>(`AdministrativeMetadata/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const afterUsesGetAllClientService = async (query?: Partial<AfterUsesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductLcpAfterUseModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductLcpAfterUseModel>>('AfterUses', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const afterUsesGetByIdClientService = async (params: AfterUsesGetByIdPathParams, query?: Partial<AfterUsesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductLcpAfterUseModel> => {\r\n return baseClientRequest<ProductLcpAfterUseModel>(`AfterUses/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\nexport const categoriesGetAllClientService = async (query?: Partial<CategoriesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<CategoryModel>> => {\r\n return baseClientRequest<ResultContainerModel<CategoryModel>>('crex/v1/Categories', query, options);\r\n};\r\n\r\nexport const categoriesGetByIdClientService = async (params: CategoriesGetByIdPathParams, query?: Partial<CategoriesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<CategoryModel> => {\r\n return baseClientRequest<CategoryModel>(`crex/v1/Categories/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const collectionsGetAllClientService = async (query?: Partial<CollectionsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectCollectionModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectCollectionModel>>('Collections', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const collectionsGetByIdClientService = async (params: CollectionsGetByIdPathParams, query?: Partial<CollectionsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectCollectionModel> => {\r\n return baseClientRequest<InformationSubjectCollectionModel>(`Collections/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const componentsGetAllClientService = async (query?: Partial<ComponentsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ComponentModel>> => {\r\n return baseClientRequest<ResultContainerModel<ComponentModel>>('Components', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const componentsGetByIdClientService = async (params: ComponentsGetByIdPathParams, query?: Partial<ComponentsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ComponentModel> => {\r\n return baseClientRequest<ComponentModel>(`Components/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const conceptsGetAllClientService = async (query?: Partial<ConceptsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeConceptModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeConceptModel>>('Concepts', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const conceptsGetByIdClientService = async (params: ConceptsGetByIdPathParams, query?: Partial<ConceptsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeConceptModel> => {\r\n return baseClientRequest<TopicTypeConceptModel>(`Concepts/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const conformitiesGetAllClientService = async (query?: Partial<ConformitiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectConformityModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectConformityModel>>('Conformities', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const conformitiesGetByIdClientService = async (params: ConformitiesGetByIdPathParams, query?: Partial<ConformitiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectConformityModel> => {\r\n return baseClientRequest<InformationSubjectConformityModel>(`Conformities/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const consumablesGetAllClientService = async (query?: Partial<ConsumablesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplyConsumableModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplyConsumableModel>>('Consumables', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const consumablesGetByIdClientService = async (params: ConsumablesGetByIdPathParams, query?: Partial<ConsumablesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplyConsumableModel> => {\r\n return baseClientRequest<SupplyConsumableModel>(`Consumables/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const contentLifeCycleStatusGetAllClientService = async (query?: Partial<ContentLifeCycleStatusGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ContentLifeCycleStatusModel>> => {\r\n return baseClientRequest<ResultContainerModel<ContentLifeCycleStatusModel>>('ContentLifeCycleStatus', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const contentLifeCycleStatusGetByIdClientService = async (params: ContentLifeCycleStatusGetByIdPathParams, query?: Partial<ContentLifeCycleStatusGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ContentLifeCycleStatusModel> => {\r\n return baseClientRequest<ContentLifeCycleStatusModel>(`ContentLifeCycleStatus/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const designAndRealizationsGetAllClientService = async (query?: Partial<DesignAndRealizationsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductLcpDesignAndRealizationModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductLcpDesignAndRealizationModel>>('DesignAndRealizations', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const designAndRealizationsGetByIdClientService = async (params: DesignAndRealizationsGetByIdPathParams, query?: Partial<DesignAndRealizationsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductLcpDesignAndRealizationModel> => {\r\n return baseClientRequest<ProductLcpDesignAndRealizationModel>(`DesignAndRealizations/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const directoryNodesGetAllClientService = async (query?: Partial<DirectoryNodesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DirectoryNodeModel>> => {\r\n return baseClientRequest<ResultContainerModel<DirectoryNodeModel>>('DirectoryNodes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const directoryNodesGetByIdClientService = async (params: DirectoryNodesGetByIdPathParams, query?: Partial<DirectoryNodesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DirectoryNodeModel> => {\r\n return baseClientRequest<DirectoryNodeModel>(`DirectoryNodes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const directoryNodeTypesGetAllClientService = async (query?: Partial<DirectoryNodeTypesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DirectoryNodeTypeModel>> => {\r\n return baseClientRequest<ResultContainerModel<DirectoryNodeTypeModel>>('DirectoryNodeTypes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const directoryNodeTypesGetByIdClientService = async (params: DirectoryNodeTypesGetByIdPathParams, query?: Partial<DirectoryNodeTypesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DirectoryNodeTypeModel> => {\r\n return baseClientRequest<DirectoryNodeTypeModel>(`DirectoryNodeTypes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const documentationMetadataGetAllClientService = async (query?: Partial<DocumentationMetadataGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DocumentationMetadataModel>> => {\r\n return baseClientRequest<ResultContainerModel<DocumentationMetadataModel>>('DocumentationMetadata', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const documentationMetadataGetByIdClientService = async (params: DocumentationMetadataGetByIdPathParams, query?: Partial<DocumentationMetadataGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DocumentationMetadataModel> => {\r\n return baseClientRequest<DocumentationMetadataModel>(`DocumentationMetadata/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const documentsGetAllClientService = async (query?: Partial<DocumentsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DocumentModel>> => {\r\n return baseClientRequest<ResultContainerModel<DocumentModel>>('Documents', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const documentsGetByIdClientService = async (params: DocumentsGetByIdPathParams, query?: Partial<DocumentsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DocumentModel> => {\r\n return baseClientRequest<DocumentModel>(`Documents/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Languages used by indexed terms */\r\nexport const documentsLanguagesClientService = async (query?: Partial<DocumentsLanguagesQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('Documents/Languages', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const documentTypesGetAllClientService = async (query?: Partial<DocumentTypesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DocumentTypeModel>> => {\r\n return baseClientRequest<ResultContainerModel<DocumentTypeModel>>('DocumentTypes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const documentTypesGetByIdClientService = async (params: DocumentTypesGetByIdPathParams, query?: Partial<DocumentTypesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DocumentTypeModel> => {\r\n return baseClientRequest<DocumentTypeModel>(`DocumentTypes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const domainEntitiesGetAllClientService = async (query?: Partial<DomainEntitiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<DomainEntityModel>> => {\r\n return baseClientRequest<ResultContainerModel<DomainEntityModel>>('DomainEntities', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const domainEntitiesGetByIdClientService = async (params: DomainEntitiesGetByIdPathParams, query?: Partial<DomainEntitiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<DomainEntityModel> => {\r\n return baseClientRequest<DomainEntityModel>(`DomainEntities/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const downTimesGetAllClientService = async (query?: Partial<DownTimesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PlanningDownTimeModel>> => {\r\n return baseClientRequest<ResultContainerModel<PlanningDownTimeModel>>('DownTimes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const downTimesGetByIdClientService = async (params: DownTimesGetByIdPathParams, query?: Partial<DownTimesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PlanningDownTimeModel> => {\r\n return baseClientRequest<PlanningDownTimeModel>(`DownTimes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const eventsGetAllClientService = async (query?: Partial<EventsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<EventModel>> => {\r\n return baseClientRequest<ResultContainerModel<EventModel>>('Events', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const eventsGetByIdClientService = async (params: EventsGetByIdPathParams, query?: Partial<EventsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<EventModel> => {\r\n return baseClientRequest<EventModel>(`Events/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const formalitiesGetAllClientService = async (query?: Partial<FormalitiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectFormalityModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectFormalityModel>>('Formalities', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const formalitiesGetByIdClientService = async (params: FormalitiesGetByIdPathParams, query?: Partial<FormalitiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectFormalityModel> => {\r\n return baseClientRequest<InformationSubjectFormalityModel>(`Formalities/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const formsGetAllClientService = async (query?: Partial<FormsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeFormModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeFormModel>>('Forms', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const formsGetByIdClientService = async (params: FormsGetByIdPathParams, query?: Partial<FormsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeFormModel> => {\r\n return baseClientRequest<TopicTypeFormModel>(`Forms/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const fragmentsGetAllClientService = async (query?: Partial<FragmentsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<FragmentModel>> => {\r\n return baseClientRequest<ResultContainerModel<FragmentModel>>('Fragments', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const fragmentsGetByIdClientService = async (params: FragmentsGetByIdPathParams, query?: Partial<FragmentsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<FragmentModel> => {\r\n return baseClientRequest<FragmentModel>(`Fragments/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Languages used by indexed terms */\r\nexport const fragmentsLanguagesClientService = async (query?: Partial<FragmentsLanguagesQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('Fragments/Languages', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const functionalitiesGetAllClientService = async (query?: Partial<FunctionalitiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectFunctionalityModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectFunctionalityModel>>('Functionalities', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const functionalitiesGetByIdClientService = async (params: FunctionalitiesGetByIdPathParams, query?: Partial<FunctionalitiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectFunctionalityModel> => {\r\n return baseClientRequest<InformationSubjectFunctionalityModel>(`Functionalities/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const functionalMetadatasGetAllClientService = async (query?: Partial<FunctionalMetadatasGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<FunctionalMetadataModel>> => {\r\n return baseClientRequest<ResultContainerModel<FunctionalMetadataModel>>('FunctionalMetadatas', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const functionalMetadatasGetByIdClientService = async (params: FunctionalMetadatasGetByIdPathParams, query?: Partial<FunctionalMetadatasGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<FunctionalMetadataModel> => {\r\n return baseClientRequest<FunctionalMetadataModel>(`FunctionalMetadatas/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const groupsGetAllClientService = async (query?: Partial<GroupsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<VCardGroupModel>> => {\r\n return baseClientRequest<ResultContainerModel<VCardGroupModel>>('vcard/v1/Groups', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const groupsGetByIdClientService = async (params: GroupsGetByIdPathParams, query?: Partial<GroupsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<VCardGroupModel> => {\r\n return baseClientRequest<VCardGroupModel>(`vcard/v1/Groups/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const hardwareToolsGetAllClientService = async (query?: Partial<HardwareToolsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplyHardwareToolModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplyHardwareToolModel>>('HardwareTools', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const hardwareToolsGetByIdClientService = async (params: HardwareToolsGetByIdPathParams, query?: Partial<HardwareToolsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplyHardwareToolModel> => {\r\n return baseClientRequest<SupplyHardwareToolModel>(`HardwareTools/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const identitiesGetAllClientService = async (query?: Partial<IdentitiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<IdentityModel>> => {\r\n return baseClientRequest<ResultContainerModel<IdentityModel>>('Identities', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const identitiesGetByIdClientService = async (params: IdentitiesGetByIdPathParams, query?: Partial<IdentitiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<IdentityModel> => {\r\n return baseClientRequest<IdentityModel>(`Identities/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const identityDomainsGetAllClientService = async (query?: Partial<IdentityDomainsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<IdentityDomainModel>> => {\r\n return baseClientRequest<ResultContainerModel<IdentityDomainModel>>('IdentityDomains', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const identityDomainsGetByIdClientService = async (params: IdentityDomainsGetByIdPathParams, query?: Partial<IdentityDomainsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<IdentityDomainModel> => {\r\n return baseClientRequest<IdentityDomainModel>(`IdentityDomains/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const individualsGetAllClientService = async (query?: Partial<IndividualsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<VCardIndividualModel>> => {\r\n return baseClientRequest<ResultContainerModel<VCardIndividualModel>>('vcard/v1/Individuals', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const individualsGetByIdClientService = async (params: IndividualsGetByIdPathParams, query?: Partial<IndividualsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<VCardIndividualModel> => {\r\n return baseClientRequest<VCardIndividualModel>(`vcard/v1/Individuals/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const informationObjectsGetAllClientService = async (query?: Partial<InformationObjectsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationObjectModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationObjectModel>>('InformationObjects', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const informationObjectsGetByIdClientService = async (params: InformationObjectsGetByIdPathParams, query?: Partial<InformationObjectsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationObjectModel> => {\r\n return baseClientRequest<InformationObjectModel>(`InformationObjects/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const informationSubjectsGetAllClientService = async (query?: Partial<InformationSubjectsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectModel>>('InformationSubjects', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const informationSubjectsGetByIdClientService = async (params: InformationSubjectsGetByIdPathParams, query?: Partial<InformationSubjectsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectModel> => {\r\n return baseClientRequest<InformationSubjectModel>(`InformationSubjects/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const informationTypesGetAllClientService = async (query?: Partial<InformationTypesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationTypeModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationTypeModel>>('InformationTypes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const informationTypesGetByIdClientService = async (params: InformationTypesGetByIdPathParams, query?: Partial<InformationTypesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationTypeModel> => {\r\n return baseClientRequest<InformationTypeModel>(`InformationTypes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const informationUnitsGetAllClientService = async (query?: Partial<InformationUnitsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationUnitModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationUnitModel>>('InformationUnits', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const informationUnitsGetByIdClientService = async (params: InformationUnitsGetByIdPathParams, query?: Partial<InformationUnitsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationUnitModel> => {\r\n return baseClientRequest<InformationUnitModel>(`InformationUnits/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Languages used by indexed terms */\r\nexport const informationUnitsLanguagesClientService = async (query?: Partial<InformationUnitsLanguagesQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('InformationUnits/Languages', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const learningsGetAllClientService = async (query?: Partial<LearningsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeLearningModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeLearningModel>>('Learnings', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const learningsGetByIdClientService = async (params: LearningsGetByIdPathParams, query?: Partial<LearningsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeLearningModel> => {\r\n return baseClientRequest<TopicTypeLearningModel>(`Learnings/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const locationsGetAllClientService = async (query?: Partial<LocationsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<VCardLocationModel>> => {\r\n return baseClientRequest<ResultContainerModel<VCardLocationModel>>('vcard/v1/Locations', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const locationsGetByIdClientService = async (params: LocationsGetByIdPathParams, query?: Partial<LocationsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<VCardLocationModel> => {\r\n return baseClientRequest<VCardLocationModel>(`vcard/v1/Locations/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const lubricantsGetAllClientService = async (query?: Partial<LubricantsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplyLubricantModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplyLubricantModel>>('Lubricants', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const lubricantsGetByIdClientService = async (params: LubricantsGetByIdPathParams, query?: Partial<LubricantsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplyLubricantModel> => {\r\n return baseClientRequest<SupplyLubricantModel>(`Lubricants/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const maintenanceIntervalsGetAllClientService = async (query?: Partial<MaintenanceIntervalsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PlanningMaintenanceIntervalModel>> => {\r\n return baseClientRequest<ResultContainerModel<PlanningMaintenanceIntervalModel>>('MaintenanceIntervals', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const maintenanceIntervalsGetByIdClientService = async (params: MaintenanceIntervalsGetByIdPathParams, query?: Partial<MaintenanceIntervalsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PlanningMaintenanceIntervalModel> => {\r\n return baseClientRequest<PlanningMaintenanceIntervalModel>(`MaintenanceIntervals/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const operatingSuppliesGetAllClientService = async (query?: Partial<OperatingSuppliesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplyOperatingModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplyOperatingModel>>('OperatingSupplies', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const operatingSuppliesGetByIdClientService = async (params: OperatingSuppliesGetByIdPathParams, query?: Partial<OperatingSuppliesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplyOperatingModel> => {\r\n return baseClientRequest<SupplyOperatingModel>(`OperatingSupplies/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const organizationsGetAllClientService = async (query?: Partial<OrganizationsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<VCardOrganizationModel>> => {\r\n return baseClientRequest<ResultContainerModel<VCardOrganizationModel>>('vcard/v1/Organizations', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const organizationsGetByIdClientService = async (params: OrganizationsGetByIdPathParams, query?: Partial<OrganizationsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<VCardOrganizationModel> => {\r\n return baseClientRequest<VCardOrganizationModel>(`vcard/v1/Organizations/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Create an Offline Client App from the given Repositories */\r\nexport const packagesCreateClientAppClientService = async (query?: Partial<PackagesCreateClientAppQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('ids/v1/Packages/CreateClientApp', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const packagesGetAllClientService = async (query?: Partial<PackagesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PackageModel>> => {\r\n return baseClientRequest<ResultContainerModel<PackageModel>>('Packages', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const packagesGetByIdClientService = async (params: PackagesGetByIdPathParams, query?: Partial<PackagesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PackageModel> => {\r\n return baseClientRequest<PackageModel>(`Packages/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Languages used by indexed terms */\r\nexport const packagesLanguagesClientService = async (query?: Partial<PackagesLanguagesQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('Packages/Languages', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const partiesGetAllClientService = async (query?: Partial<PartiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PartyModel>> => {\r\n return baseClientRequest<ResultContainerModel<PartyModel>>('Parties', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const partiesGetByIdClientService = async (params: PartiesGetByIdPathParams, query?: Partial<PartiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PartyModel> => {\r\n return baseClientRequest<PartyModel>(`Parties/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const planningTimesGetAllClientService = async (query?: Partial<PlanningTimesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PlanningTimeModel>> => {\r\n return baseClientRequest<ResultContainerModel<PlanningTimeModel>>('PlanningTimes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const planningTimesGetByIdClientService = async (params: PlanningTimesGetByIdPathParams, query?: Partial<PlanningTimesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PlanningTimeModel> => {\r\n return baseClientRequest<PlanningTimeModel>(`PlanningTimes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const processesGetAllClientService = async (query?: Partial<ProcessesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectProcessModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectProcessModel>>('Processes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const processesGetByIdClientService = async (params: ProcessesGetByIdPathParams, query?: Partial<ProcessesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectProcessModel> => {\r\n return baseClientRequest<InformationSubjectProcessModel>(`Processes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productFeaturesGetAllClientService = async (query?: Partial<ProductFeaturesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductFeatureModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductFeatureModel>>('ProductFeatures', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productFeaturesGetByIdClientService = async (params: ProductFeaturesGetByIdPathParams, query?: Partial<ProductFeaturesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductFeatureModel> => {\r\n return baseClientRequest<ProductFeatureModel>(`ProductFeatures/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productFunctionsGetAllClientService = async (query?: Partial<ProductFunctionsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductFunctionModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductFunctionModel>>('ProductFunctions', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productFunctionsGetByIdClientService = async (params: ProductFunctionsGetByIdPathParams, query?: Partial<ProductFunctionsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductFunctionModel> => {\r\n return baseClientRequest<ProductFunctionModel>(`ProductFunctions/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productLifeCyclePhasesGetAllClientService = async (query?: Partial<ProductLifeCyclePhasesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductLifeCyclePhaseModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductLifeCyclePhaseModel>>('ProductLifeCyclePhases', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productLifeCyclePhasesGetByIdClientService = async (params: ProductLifeCyclePhasesGetByIdPathParams, query?: Partial<ProductLifeCyclePhasesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductLifeCyclePhaseModel> => {\r\n return baseClientRequest<ProductLifeCyclePhaseModel>(`ProductLifeCyclePhases/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productMetadataGetAllClientService = async (query?: Partial<ProductMetadataGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductMetadataModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductMetadataModel>>('ProductMetadata', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productMetadataGetByIdClientService = async (params: ProductMetadataGetByIdPathParams, query?: Partial<ProductMetadataGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductMetadataModel> => {\r\n return baseClientRequest<ProductMetadataModel>(`ProductMetadata/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productPropertiesGetAllClientService = async (query?: Partial<ProductPropertiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductPropertyModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductPropertyModel>>('ProductProperties', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productPropertiesGetByIdClientService = async (params: ProductPropertiesGetByIdPathParams, query?: Partial<ProductPropertiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductPropertyModel> => {\r\n return baseClientRequest<ProductPropertyModel>(`ProductProperties/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const productVariantsGetAllClientService = async (query?: Partial<ProductVariantsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductVariantModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductVariantModel>>('ProductVariants', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const productVariantsGetByIdClientService = async (params: ProductVariantsGetByIdPathParams, query?: Partial<ProductVariantsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductVariantModel> => {\r\n return baseClientRequest<ProductVariantModel>(`ProductVariants/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const puttingToUsesGetAllClientService = async (query?: Partial<PuttingToUsesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductLcpPuttingToUseModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductLcpPuttingToUseModel>>('PuttingToUses', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const puttingToUsesGetByIdClientService = async (params: PuttingToUsesGetByIdPathParams, query?: Partial<PuttingToUsesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductLcpPuttingToUseModel> => {\r\n return baseClientRequest<ProductLcpPuttingToUseModel>(`PuttingToUses/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const qualificationsGetAllClientService = async (query?: Partial<QualificationsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<QualificationModel>> => {\r\n return baseClientRequest<ResultContainerModel<QualificationModel>>('Qualifications', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const qualificationsGetByIdClientService = async (params: QualificationsGetByIdPathParams, query?: Partial<QualificationsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<QualificationModel> => {\r\n return baseClientRequest<QualificationModel>(`Qualifications/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const referencesGetAllClientService = async (query?: Partial<ReferencesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeReferenceModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeReferenceModel>>('References', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const referencesGetByIdClientService = async (params: ReferencesGetByIdPathParams, query?: Partial<ReferencesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeReferenceModel> => {\r\n return baseClientRequest<TopicTypeReferenceModel>(`References/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const renditionsGetAllClientService = async (query?: Partial<RenditionsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<RenditionModel>> => {\r\n return baseClientRequest<ResultContainerModel<RenditionModel>>('Renditions', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const renditionsGetByIdClientService = async (params: RenditionsGetByIdPathParams, query?: Partial<RenditionsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<RenditionModel> => {\r\n return baseClientRequest<RenditionModel>(`Renditions/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get the rendition for the given url */\r\nexport const renditionsGetWithBinaryWithBinaryPathClientService = async (params: RenditionsGetWithBinaryWithBinaryPathPathParams, options?: { signal?: AbortSignal }): Promise<RenditionModel> => {\r\n return baseClientRequest<RenditionModel>(`Renditions/${encodeURIComponent(String(params.id))}/${encodeURIComponent(String(params.binaryPath))}`, undefined, options);\r\n};\r\n\r\n/** Get the binary stream */\r\nexport const resourcesDownloadResourceClientService = async (params: ResourcesDownloadResourcePathParams, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`ids/v1/Resources/${encodeURIComponent(String(params.renditionId))}`, undefined, options);\r\n};\r\n\r\n/** Get the binary stream */\r\nexport const resourcesDownloadResourceWithBinaryPathClientService = async (params: ResourcesDownloadResourceWithBinaryPathPathParams, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`ids/v1/Resources/${encodeURIComponent(String(params.renditionId))}/${encodeURIComponent(String(params.binaryPath))}`, undefined, options);\r\n};\r\n\r\n/** Query package with id\r\ndefault mediatypes application/json\r\nchange mediatype by Adding accept-Header (like application/rdf+xml application/rdf+json, and more) */\r\nexport const resourcesGetPackageClientService = async (params: ResourcesPackagesGetPackagePathParams, query?: Partial<ResourcesPackagesGetPackageQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`Resources/packages/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Request any resource in tiple store from packages */\r\nexport const resourcesGetSubjectFromPackageClientService = async (params: ResourcesSubjectsGetSubjectFromPackagePathParams, query?: Partial<ResourcesSubjectsGetSubjectFromPackageQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`Resources/subjects/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get the binary stream */\r\nexport const resourcesViewResourceClientService = async (params: ResourcesViewViewResourcePathParams, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`ids/v1/Resources/view/${encodeURIComponent(String(params.renditionId))}`, undefined, options);\r\n};\r\n\r\n/** Get the binary stream */\r\nexport const resourcesViewResourceWithBinaryPathClientService = async (params: ResourcesViewViewResourceWithBinaryPathPathParams, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>(`ids/v1/Resources/view/${encodeURIComponent(String(params.renditionId))}/${encodeURIComponent(String(params.binaryPath))}`, undefined, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const rolesGetAllClientService = async (query?: Partial<RolesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<QualificationRoleModel>> => {\r\n return baseClientRequest<ResultContainerModel<QualificationRoleModel>>('Roles', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const rolesGetByIdClientService = async (params: RolesGetByIdPathParams, query?: Partial<RolesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<QualificationRoleModel> => {\r\n return baseClientRequest<QualificationRoleModel>(`Roles/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const safetiesGetAllClientService = async (query?: Partial<SafetiesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectSafetyModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectSafetyModel>>('Safeties', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const safetiesGetByIdClientService = async (params: SafetiesGetByIdPathParams, query?: Partial<SafetiesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectSafetyModel> => {\r\n return baseClientRequest<InformationSubjectSafetyModel>(`Safeties/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const searchGetAllClientService = async (query?: Partial<SearchFacetsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<unknown>> => {\r\n return baseClientRequest<ResultContainerModel<unknown>>('ids/v1/Search/Facets', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const setupTimesGetAllClientService = async (query?: Partial<SetupTimesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PlanningSetupTimeModel>> => {\r\n return baseClientRequest<ResultContainerModel<PlanningSetupTimeModel>>('SetupTimes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const setupTimesGetByIdClientService = async (params: SetupTimesGetByIdPathParams, query?: Partial<SetupTimesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PlanningSetupTimeModel> => {\r\n return baseClientRequest<PlanningSetupTimeModel>(`SetupTimes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const skillLevelsGetAllClientService = async (query?: Partial<SkillLevelsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<QualificationSkillLevelModel>> => {\r\n return baseClientRequest<ResultContainerModel<QualificationSkillLevelModel>>('SkillLevels', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const skillLevelsGetByIdClientService = async (params: SkillLevelsGetByIdPathParams, query?: Partial<SkillLevelsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<QualificationSkillLevelModel> => {\r\n return baseClientRequest<QualificationSkillLevelModel>(`SkillLevels/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const sparePartsGetAllClientService = async (query?: Partial<SparePartsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplySparePartModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplySparePartModel>>('SpareParts', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const sparePartsGetByIdClientService = async (params: SparePartsGetByIdPathParams, query?: Partial<SparePartsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplySparePartModel> => {\r\n return baseClientRequest<SupplySparePartModel>(`SpareParts/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Query Iirds storage by SparQL */\r\nexport const sparQLExecuteSparQlClientService = async (params: SparQLExecuteSparQlPathParams, options?: { signal?: AbortSignal }): Promise<Record<string, string>[]> => {\r\n return baseClientRequest<Record<string, string>[]>(`SparQL/${encodeURIComponent(String(params.query))}`, undefined, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const suppliesGetAllClientService = async (query?: Partial<SuppliesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<SupplyModel>> => {\r\n return baseClientRequest<ResultContainerModel<SupplyModel>>('Supplies', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const suppliesGetByIdClientService = async (params: SuppliesGetByIdPathParams, query?: Partial<SuppliesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<SupplyModel> => {\r\n return baseClientRequest<SupplyModel>(`Supplies/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const tasksGetAllClientService = async (query?: Partial<TasksGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeTaskModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeTaskModel>>('Tasks', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const tasksGetByIdClientService = async (params: TasksGetByIdPathParams, query?: Partial<TasksGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeTaskModel> => {\r\n return baseClientRequest<TopicTypeTaskModel>(`Tasks/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const technicalDataGetAllClientService = async (query?: Partial<TechnicalDataGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectTechnicalDataModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectTechnicalDataModel>>('TechnicalData', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const technicalDataGetByIdClientService = async (params: TechnicalDataGetByIdPathParams, query?: Partial<TechnicalDataGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectTechnicalDataModel> => {\r\n return baseClientRequest<InformationSubjectTechnicalDataModel>(`TechnicalData/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const technicalOverviewsGetAllClientService = async (query?: Partial<TechnicalOverviewsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectTechnicalOverviewModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectTechnicalOverviewModel>>('TechnicalOverviews', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const technicalOverviewsGetByIdClientService = async (params: TechnicalOverviewsGetByIdPathParams, query?: Partial<TechnicalOverviewsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectTechnicalOverviewModel> => {\r\n return baseClientRequest<InformationSubjectTechnicalOverviewModel>(`TechnicalOverviews/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const topicsGetAllClientService = async (query?: Partial<TopicsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicModel>>('Topics', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const topicsGetByIdClientService = async (params: TopicsGetByIdPathParams, query?: Partial<TopicsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicModel> => {\r\n return baseClientRequest<TopicModel>(`Topics/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Languages used by indexed terms */\r\nexport const topicsLanguagesClientService = async (query?: Partial<TopicsLanguagesQueryParams>, options?: { signal?: AbortSignal }): Promise<unknown> => {\r\n return baseClientRequest<unknown>('Topics/Languages', query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const topicTypesGetAllClientService = async (query?: Partial<TopicTypesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeModel>>('TopicTypes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const topicTypesGetByIdClientService = async (params: TopicTypesGetByIdPathParams, query?: Partial<TopicTypesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeModel> => {\r\n return baseClientRequest<TopicTypeModel>(`TopicTypes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const troubleShootingsGetAllClientService = async (query?: Partial<TroubleShootingsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<TopicTypeTroubleShootingModel>> => {\r\n return baseClientRequest<ResultContainerModel<TopicTypeTroubleShootingModel>>('TroubleShootings', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const troubleShootingsGetByIdClientService = async (params: TroubleShootingsGetByIdPathParams, query?: Partial<TroubleShootingsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<TopicTypeTroubleShootingModel> => {\r\n return baseClientRequest<TopicTypeTroubleShootingModel>(`TroubleShootings/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const usesGetAllClientService = async (query?: Partial<UsesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<ProductLcpUseModel>> => {\r\n return baseClientRequest<ResultContainerModel<ProductLcpUseModel>>('Uses', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const usesGetByIdClientService = async (params: UsesGetByIdPathParams, query?: Partial<UsesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<ProductLcpUseModel> => {\r\n return baseClientRequest<ProductLcpUseModel>(`Uses/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const vCardsGetAllClientService = async (query?: Partial<VCardsGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<VCardModel>> => {\r\n return baseClientRequest<ResultContainerModel<VCardModel>>('vcard/v1/VCards', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const vCardsGetByIdClientService = async (params: VCardsGetByIdPathParams, query?: Partial<VCardsGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<VCardModel> => {\r\n return baseClientRequest<VCardModel>(`vcard/v1/VCards/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const warningMessagesGetAllClientService = async (query?: Partial<WarningMessagesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<InformationSubjectSafetyWarningMessageModel>> => {\r\n return baseClientRequest<ResultContainerModel<InformationSubjectSafetyWarningMessageModel>>('WarningMessages', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const warningMessagesGetByIdClientService = async (params: WarningMessagesGetByIdPathParams, query?: Partial<WarningMessagesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<InformationSubjectSafetyWarningMessageModel> => {\r\n return baseClientRequest<InformationSubjectSafetyWarningMessageModel>(`WarningMessages/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n\r\n/** Get all entities by given criteria */\r\nexport const workingTimesGetAllClientService = async (query?: Partial<WorkingTimesGetAllQueryParams>, options?: { signal?: AbortSignal }): Promise<ResultContainerModel<PlanningWorkingTimeModel>> => {\r\n return baseClientRequest<ResultContainerModel<PlanningWorkingTimeModel>>('WorkingTimes', query, options);\r\n};\r\n\r\n/** Get an entity by its id */\r\nexport const workingTimesGetByIdClientService = async (params: WorkingTimesGetByIdPathParams, query?: Partial<WorkingTimesGetByIdQueryParams>, options?: { signal?: AbortSignal }): Promise<PlanningWorkingTimeModel> => {\r\n return baseClientRequest<PlanningWorkingTimeModel>(`WorkingTimes/${encodeURIComponent(String(params.id))}`, query, options);\r\n};\r\n"],"mappings":";AAAO,IAAM,oBAAoB,OAC/B,UACA,aAIA,SACA,UAIe;AACf,QAAM,MAAM,MAAM,MAAM,YAAY;AAAA,IAClC,QAAQ;AAAA,IACR,SAAS,EAAE,gBAAgB,mBAAmB;AAAA,IAC9C,MAAM,KAAK,UAAU;AAAA,MACnB,QAAQ;AAAA,MACR,QAAQ;AAAA,QACN,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,QAAQ;AAAA,QACR,cAAc,OAAO;AAAA,QACrB,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AO,OAAO,EAAE,CAAC,CAAC,IAAI,OAAO,OAAO;AACpJ;AAGO,IAAM,kCAAkC,OAAO,OAAgD,YAAgG;AAClM,SAAO,kBAAkE,gBAAgB,OAAO,OAAO;AAC3G;AAGO,IAAM,mCAAmC,OAAO,QAAuC,OAAiD,YAA0E;AACrN,SAAO,kBAA4C,gBAAgB,mBAAmB,OAAO,OAAO,EAAE,CAAC,CAAC,IAAI,OAAO,OAAO;AAC9H;","names":[]}
|
|
@@ -98,7 +98,8 @@ var baseClientRequest = async (endpoint, queryParams, options, extra) => {
|
|
|
98
98
|
url: endpoint,
|
|
99
99
|
method: "GET",
|
|
100
100
|
params: queryParams,
|
|
101
|
-
responseType: extra?.responseType
|
|
101
|
+
responseType: extra?.responseType,
|
|
102
|
+
authMode: extra?.authMode
|
|
102
103
|
}
|
|
103
104
|
}),
|
|
104
105
|
credentials: "include",
|
|
@@ -149,7 +150,10 @@ var loadEnrichmentCollection = async (descriptor) => {
|
|
|
149
150
|
if (params.Links === void 0) params.Links = true;
|
|
150
151
|
}
|
|
151
152
|
try {
|
|
152
|
-
const
|
|
153
|
+
const isPublicGmpStartTiles = descriptor.renderer === "GMPTilesRenderer" && basePath === "iirds/v1/Fragments";
|
|
154
|
+
const data = isPublicGmpStartTiles ? await baseClientRequest(basePath, params, void 0, {
|
|
155
|
+
authMode: "anonymous"
|
|
156
|
+
}) : await baseClientRequest(basePath, params);
|
|
153
157
|
return { html: null, data, isDenied: false };
|
|
154
158
|
} catch (err) {
|
|
155
159
|
if (isDeniedError(err)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/html-enrichment/index.ts","../../src/html-enrichment/descriptor.ts","../../src/html-enrichment/endpoint-path.ts","../../src/base-client-request.ts","../../src/html-enrichment/loader.ts"],"sourcesContent":["export type {\r\n HtmlEnrichmentDescriptor,\r\n HtmlEnrichmentLoadMode,\r\n HtmlEnrichmentState,\r\n HtmlEnrichmentEndpointResult,\r\n} from \"./types\";\r\nexport { parseEnrichmentDescriptor } from \"./descriptor\";\r\nexport { slugToPath, IDS_API_VERSION } from \"./endpoint-path\";\r\nexport {\r\n loadEnrichment,\r\n loadEnrichmentCollection,\r\n loadEnrichmentHtml,\r\n loadEnrichmentResource,\r\n} from \"./loader\";\r\nexport type {\r\n EnrichmentResourceModel,\r\n EnrichmentResourceResult,\r\n} from \"./loader\";\r\n","import type {\r\n HtmlEnrichmentDescriptor,\r\n HtmlEnrichmentLoadMode,\r\n HtmlEnrichmentState,\r\n} from \"./types\";\r\n\r\nconst VALID_LOAD_MODES = new Set<string>([\"onload\", \"onappear\", \"onclick\"]);\r\nconst VALID_STATES = new Set<string>([\r\n \"unloaded\",\r\n \"loading\",\r\n \"loaded\",\r\n \"denied\",\r\n \"error\",\r\n]);\r\n\r\nconst toQueryParamName = (rawName: string): string => {\r\n const normalized = rawName.toLowerCase();\r\n if (normalized === \"restriction\") return \"Restrict\";\r\n\r\n return rawName\r\n .split(\"-\")\r\n .filter(Boolean)\r\n .map((part) => part.charAt(0).toUpperCase() + part.slice(1))\r\n .join(\"\");\r\n};\r\n\r\nconst parseParamValue = (name: string, value: string): string | string[] => {\r\n // Restrict selectors use semicolons internally, so the complete selector is\r\n // one API value. Other marker params use semicolons as list separators.\r\n if (name === \"Restrict\") return value.trim();\r\n return value\r\n .split(\";\")\r\n .map((item) => item.trim())\r\n .filter(Boolean);\r\n};\r\n\r\nconst parseParams = (\r\n el: HTMLElement,\r\n): Record<string, string | string[]> | undefined => {\r\n const params: Record<string, string | string[]> = {};\r\n\r\n for (const attributeName of el.getAttributeNames()) {\r\n const prefix = \"data-crex-param-\";\r\n if (!attributeName.startsWith(prefix)) continue;\r\n\r\n const rawValue = el.getAttribute(attributeName);\r\n if (!rawValue) continue;\r\n const name = toQueryParamName(attributeName.slice(prefix.length));\r\n params[name] = parseParamValue(name, rawValue);\r\n }\r\n\r\n return Object.keys(params).length > 0 ? params : undefined;\r\n};\r\n\r\n/**\r\n * Convert a `data-crex-*` enriched DOM node into a typed descriptor.\r\n * Unknown `load`/`state` values are dropped (undefined) rather than trusted.\r\n */\r\nexport const parseEnrichmentDescriptor = (\r\n el: HTMLElement,\r\n): HtmlEnrichmentDescriptor => {\r\n const loadModeRaw = el.getAttribute(\"data-crex-load\") ?? undefined;\r\n const stateRaw = el.getAttribute(\"data-crex-state\") ?? undefined;\r\n\r\n return {\r\n elementId: el.id || undefined,\r\n loadMode:\r\n loadModeRaw && VALID_LOAD_MODES.has(loadModeRaw)\r\n ? (loadModeRaw as HtmlEnrichmentLoadMode)\r\n : undefined,\r\n endpoint: el.getAttribute(\"data-crex-endpoint\") ?? undefined,\r\n state:\r\n stateRaw && VALID_STATES.has(stateRaw)\r\n ? (stateRaw as HtmlEnrichmentState)\r\n : undefined,\r\n clientFilter: el.getAttribute(\"data-crex-client-filter\") ?? undefined,\r\n renderer: el.getAttribute(\"data-crex-renderer\") ?? undefined,\r\n resourceId: el.getAttribute(\"data-crex-id\") ?? undefined,\r\n params: parseParams(el),\r\n };\r\n};\r\n","/**\r\n * API version segment injected into resolved enrichment paths.\r\n * Kept as a code constant for now; promote to an env var when versioning\r\n * needs to vary per deployment (note: client-side use requires NEXT_PUBLIC_*).\r\n */\r\nexport const IDS_API_VERSION = \"v1\";\r\n\r\nconst capitalize = (s: string): string =>\r\n s ? s.charAt(0).toUpperCase() + s.slice(1) : s;\r\n\r\n/**\r\n * Convert a logical endpoint slug into a versioned API base path.\r\n *\r\n * Slug shape: `<area>-<resource>` (resource may be multi-word, dash-separated).\r\n * `ids-resources` -> `ids/v1/Resources`\r\n * `ids-info-units` -> `ids/v1/InfoUnits`\r\n *\r\n * Returns null when the slug does not match the expected shape.\r\n * The full path is later combined with the encoded resource id by the loader\r\n * and resolved against the API root by `CrexApi.buildUrl`.\r\n */\r\nexport const slugToPath = (\r\n slug: string,\r\n version: string = IDS_API_VERSION,\r\n): string | null => {\r\n const parts = slug.split(\"-\").filter(Boolean);\r\n if (parts.length < 2) return null;\r\n\r\n const [area, ...resourceParts] = parts;\r\n const resource = resourceParts.map(capitalize).join(\"\");\r\n if (!area || !resource) return null;\r\n\r\n return `${area}/${version}/${resource}`;\r\n};\r\n","export const baseClientRequest = async <T>(\r\n endpoint: string,\r\n queryParams?: Record<\r\n string,\r\n string | number | boolean | (string | number | boolean)[] | undefined\r\n >,\r\n options?: { signal?: AbortSignal },\r\n extra?: { responseType?: \"json\" | \"text\" },\r\n): Promise<T> => {\r\n const res = await fetch(`/api/rpc`, {\r\n method: \"POST\",\r\n headers: { \"Content-Type\": \"application/json\" },\r\n body: JSON.stringify({\r\n method: \"CrexApi.execute\",\r\n params: {\r\n url: endpoint,\r\n method: \"GET\",\r\n params: queryParams,\r\n responseType: extra?.responseType,\r\n },\r\n }),\r\n credentials: \"include\",\r\n signal: options?.signal,\r\n });\r\n\r\n const json = await res.json();\r\n\r\n if (!res.ok) throw new Error(json.error || \"Unknown error\");\r\n\r\n return json.data;\r\n};\r\n","import type { LiteralModel, RenditionModel } from \"@c-rex/interfaces\";\r\nimport { baseClientRequest } from \"../base-client-request\";\r\nimport { slugToPath } from \"./endpoint-path\";\r\nimport type {\r\n HtmlEnrichmentDescriptor,\r\n HtmlEnrichmentEndpointResult,\r\n} from \"./types\";\r\n\r\n/**\r\n * Access-denied heuristic. This is NOT an HTTP auth failure — metadata may\r\n * resolve while the content rendition is licence-restricted. HTTP 403 is the\r\n * current signal until the IDS API confirms a canonical denied contract\r\n * (see HTML_RUNTIME_ENRICHMENT_SPEC.md → Open Questions).\r\n */\r\nconst isDeniedError = (err: unknown): boolean =>\r\n err instanceof Error && err.message.includes(\"403\");\r\n\r\n/**\r\n * Generic enrichment loader: resolves `data-crex-endpoint` (slug) + the\r\n * `data-crex-id` resource IRI into a single request and returns the raw HTML.\r\n *\r\n * Request shape: `{<area>/<version>/<Resource>}/view/{encodeURIComponent(id)}`\r\n * fetched as text. The `/view/` segment returns the rendered HTML rendition.\r\n * Works for any `<area>-<resource>` slug — no per-endpoint registration needed.\r\n */\r\nexport const loadEnrichmentHtml = async (\r\n descriptor: HtmlEnrichmentDescriptor,\r\n): Promise<HtmlEnrichmentEndpointResult> => {\r\n if (!descriptor.endpoint || !descriptor.resourceId) {\r\n return { html: null, isDenied: false };\r\n }\r\n\r\n const basePath = slugToPath(descriptor.endpoint);\r\n if (!basePath) {\r\n return { html: null, isDenied: false };\r\n }\r\n\r\n const url = `${basePath}/view/${encodeURIComponent(descriptor.resourceId)}`;\r\n\r\n try {\r\n const html = await baseClientRequest<string>(\r\n url,\r\n descriptor.params,\r\n undefined,\r\n {\r\n responseType: \"text\",\r\n },\r\n );\r\n return { html, isDenied: false };\r\n } catch (err: unknown) {\r\n if (isDeniedError(err)) {\r\n return { html: null, isDenied: true };\r\n }\r\n throw err;\r\n }\r\n};\r\n\r\n/**\r\n * Loads a collection-style enrichment marker such as the GMP Startseite tile\r\n * container. Collection markers do not have a data-crex-id; their API query is\r\n * carried by data-crex-param-* attributes instead.\r\n */\r\nexport const loadEnrichmentCollection = async (\r\n descriptor: HtmlEnrichmentDescriptor,\r\n): Promise<HtmlEnrichmentEndpointResult> => {\r\n if (!descriptor.endpoint) return { html: null, isDenied: false };\r\n\r\n const basePath = slugToPath(descriptor.endpoint);\r\n if (!basePath) return { html: null, isDenied: false };\r\n\r\n const params = { ...(descriptor.params ?? {}) };\r\n const fields = params.Fields;\r\n const hasRenditions = Array.isArray(fields)\r\n ? fields.some((field) => String(field).toLowerCase() === \"renditions\")\r\n : String(fields ?? \"\")\r\n .toLowerCase()\r\n .includes(\"renditions\");\r\n\r\n // Tile renderers need the rendition objects and their view links in the\r\n // collection response. Keep the marker's explicit params authoritative,\r\n // while filling in the two optional API flags when renditions were asked for.\r\n if (hasRenditions) {\r\n if (params.Embed === undefined) params.Embed = [\"renditions\"];\r\n if (params.Links === undefined) params.Links = true;\r\n }\r\n\r\n try {\r\n const data = await baseClientRequest<unknown>(basePath, params);\r\n return { html: null, data, isDenied: false };\r\n } catch (err: unknown) {\r\n if (isDeniedError(err)) {\r\n return { html: null, isDenied: true };\r\n }\r\n throw err;\r\n }\r\n};\r\n\r\n/** Selects the individual-resource or collection loader from the marker. */\r\nexport const loadEnrichment = async (\r\n descriptor: HtmlEnrichmentDescriptor,\r\n): Promise<HtmlEnrichmentEndpointResult> =>\r\n descriptor.resourceId\r\n ? loadEnrichmentHtml(descriptor)\r\n : loadEnrichmentCollection(descriptor);\r\n\r\n/**\r\n * Minimal shape shared by the iiRDS model endpoints used for onclick enrichment\r\n * (Fragments, InformationUnits, …). Kept loose so any model-with-renditions\r\n * endpoint works without per-endpoint typing.\r\n */\r\nexport type EnrichmentResourceModel = {\r\n /**\r\n * Root short id of the resource. Used to build in-app navigation targets\r\n * (e.g. swapping the topic id segment) instead of rendering the payload.\r\n */\r\n shortId?: string | null;\r\n renditions?: RenditionModel[] | null;\r\n titles?: LiteralModel[] | null;\r\n labels?: LiteralModel[] | null;\r\n /**\r\n * Content access state. The request itself can succeed (HTTP 200, metadata\r\n * present) while the content is licence-restricted — IDS signals that here\r\n * rather than via an HTTP error.\r\n */\r\n authorization?: { state?: string | null } | null;\r\n};\r\n\r\nexport type EnrichmentResourceResult = {\r\n data: EnrichmentResourceModel | null;\r\n isDenied: boolean;\r\n};\r\n\r\n/**\r\n * Generic onclick enrichment loader: resolves `data-crex-endpoint` (slug) + the\r\n * `data-crex-id` resource IRI and fetches the JSON model (e.g. a Fragment or\r\n * InformationUnit) for rendering inside a popover/modal. Endpoint resolution is\r\n * fully dynamic via `slugToPath` — no per-endpoint hardcoding.\r\n */\r\nexport const loadEnrichmentResource = async (\r\n descriptor: HtmlEnrichmentDescriptor,\r\n queryParams?: Record<\r\n string,\r\n string | number | boolean | (string | number | boolean)[] | undefined\r\n >,\r\n): Promise<EnrichmentResourceResult> => {\r\n if (!descriptor.endpoint || !descriptor.resourceId) {\r\n return { data: null, isDenied: false };\r\n }\r\n\r\n const basePath = slugToPath(descriptor.endpoint);\r\n if (!basePath) {\r\n return { data: null, isDenied: false };\r\n }\r\n\r\n const url = `${basePath}/${encodeURIComponent(descriptor.resourceId)}`;\r\n\r\n try {\r\n const data = await baseClientRequest<EnrichmentResourceModel>(\r\n url,\r\n queryParams,\r\n );\r\n // Denied is carried in the (successful) payload, not as an HTTP error.\r\n const isDenied = data?.authorization?.state === \"denied\";\r\n return { data, isDenied };\r\n } catch (err: unknown) {\r\n if (isDeniedError(err)) {\r\n return { data: null, isDenied: true };\r\n }\r\n throw err;\r\n }\r\n};\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACMA,IAAM,mBAAmB,oBAAI,IAAY,CAAC,UAAU,YAAY,SAAS,CAAC;AAC1E,IAAM,eAAe,oBAAI,IAAY;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAED,IAAM,mBAAmB,CAAC,YAA4B;AACpD,QAAM,aAAa,QAAQ,YAAY;AACvC,MAAI,eAAe,cAAe,QAAO;AAEzC,SAAO,QACJ,MAAM,GAAG,EACT,OAAO,OAAO,EACd,IAAI,CAAC,SAAS,KAAK,OAAO,CAAC,EAAE,YAAY,IAAI,KAAK,MAAM,CAAC,CAAC,EAC1D,KAAK,EAAE;AACZ;AAEA,IAAM,kBAAkB,CAAC,MAAc,UAAqC;AAG1E,MAAI,SAAS,WAAY,QAAO,MAAM,KAAK;AAC3C,SAAO,MACJ,MAAM,GAAG,EACT,IAAI,CAAC,SAAS,KAAK,KAAK,CAAC,EACzB,OAAO,OAAO;AACnB;AAEA,IAAM,cAAc,CAClB,OACkD;AAClD,QAAM,SAA4C,CAAC;AAEnD,aAAW,iBAAiB,GAAG,kBAAkB,GAAG;AAClD,UAAM,SAAS;AACf,QAAI,CAAC,cAAc,WAAW,MAAM,EAAG;AAEvC,UAAM,WAAW,GAAG,aAAa,aAAa;AAC9C,QAAI,CAAC,SAAU;AACf,UAAM,OAAO,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GAAG,GAAG;AACtB,aAAO,EAAE,MAAM,MAAM,UAAU,KAAK;AAAA,IACtC;AACA,UAAM;AAAA,EACR;AACF;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/html-enrichment/index.ts","../../src/html-enrichment/descriptor.ts","../../src/html-enrichment/endpoint-path.ts","../../src/base-client-request.ts","../../src/html-enrichment/loader.ts"],"sourcesContent":["export type {\r\n HtmlEnrichmentDescriptor,\r\n HtmlEnrichmentLoadMode,\r\n HtmlEnrichmentState,\r\n HtmlEnrichmentEndpointResult,\r\n} from \"./types\";\r\nexport { parseEnrichmentDescriptor } from \"./descriptor\";\r\nexport { slugToPath, IDS_API_VERSION } from \"./endpoint-path\";\r\nexport {\r\n loadEnrichment,\r\n loadEnrichmentCollection,\r\n loadEnrichmentHtml,\r\n loadEnrichmentResource,\r\n} from \"./loader\";\r\nexport type {\r\n EnrichmentResourceModel,\r\n EnrichmentResourceResult,\r\n} from \"./loader\";\r\n","import type {\r\n HtmlEnrichmentDescriptor,\r\n HtmlEnrichmentLoadMode,\r\n HtmlEnrichmentState,\r\n} from \"./types\";\r\n\r\nconst VALID_LOAD_MODES = new Set<string>([\"onload\", \"onappear\", \"onclick\"]);\r\nconst VALID_STATES = new Set<string>([\r\n \"unloaded\",\r\n \"loading\",\r\n \"loaded\",\r\n \"denied\",\r\n \"error\",\r\n]);\r\n\r\nconst toQueryParamName = (rawName: string): string => {\r\n const normalized = rawName.toLowerCase();\r\n if (normalized === \"restriction\") return \"Restrict\";\r\n\r\n return rawName\r\n .split(\"-\")\r\n .filter(Boolean)\r\n .map((part) => part.charAt(0).toUpperCase() + part.slice(1))\r\n .join(\"\");\r\n};\r\n\r\nconst parseParamValue = (name: string, value: string): string | string[] => {\r\n // Restrict selectors use semicolons internally, so the complete selector is\r\n // one API value. Other marker params use semicolons as list separators.\r\n if (name === \"Restrict\") return value.trim();\r\n return value\r\n .split(\";\")\r\n .map((item) => item.trim())\r\n .filter(Boolean);\r\n};\r\n\r\nconst parseParams = (\r\n el: HTMLElement,\r\n): Record<string, string | string[]> | undefined => {\r\n const params: Record<string, string | string[]> = {};\r\n\r\n for (const attributeName of el.getAttributeNames()) {\r\n const prefix = \"data-crex-param-\";\r\n if (!attributeName.startsWith(prefix)) continue;\r\n\r\n const rawValue = el.getAttribute(attributeName);\r\n if (!rawValue) continue;\r\n const name = toQueryParamName(attributeName.slice(prefix.length));\r\n params[name] = parseParamValue(name, rawValue);\r\n }\r\n\r\n return Object.keys(params).length > 0 ? params : undefined;\r\n};\r\n\r\n/**\r\n * Convert a `data-crex-*` enriched DOM node into a typed descriptor.\r\n * Unknown `load`/`state` values are dropped (undefined) rather than trusted.\r\n */\r\nexport const parseEnrichmentDescriptor = (\r\n el: HTMLElement,\r\n): HtmlEnrichmentDescriptor => {\r\n const loadModeRaw = el.getAttribute(\"data-crex-load\") ?? undefined;\r\n const stateRaw = el.getAttribute(\"data-crex-state\") ?? undefined;\r\n\r\n return {\r\n elementId: el.id || undefined,\r\n loadMode:\r\n loadModeRaw && VALID_LOAD_MODES.has(loadModeRaw)\r\n ? (loadModeRaw as HtmlEnrichmentLoadMode)\r\n : undefined,\r\n endpoint: el.getAttribute(\"data-crex-endpoint\") ?? undefined,\r\n state:\r\n stateRaw && VALID_STATES.has(stateRaw)\r\n ? (stateRaw as HtmlEnrichmentState)\r\n : undefined,\r\n clientFilter: el.getAttribute(\"data-crex-client-filter\") ?? undefined,\r\n renderer: el.getAttribute(\"data-crex-renderer\") ?? undefined,\r\n resourceId: el.getAttribute(\"data-crex-id\") ?? undefined,\r\n params: parseParams(el),\r\n };\r\n};\r\n","/**\r\n * API version segment injected into resolved enrichment paths.\r\n * Kept as a code constant for now; promote to an env var when versioning\r\n * needs to vary per deployment (note: client-side use requires NEXT_PUBLIC_*).\r\n */\r\nexport const IDS_API_VERSION = \"v1\";\r\n\r\nconst capitalize = (s: string): string =>\r\n s ? s.charAt(0).toUpperCase() + s.slice(1) : s;\r\n\r\n/**\r\n * Convert a logical endpoint slug into a versioned API base path.\r\n *\r\n * Slug shape: `<area>-<resource>` (resource may be multi-word, dash-separated).\r\n * `ids-resources` -> `ids/v1/Resources`\r\n * `ids-info-units` -> `ids/v1/InfoUnits`\r\n *\r\n * Returns null when the slug does not match the expected shape.\r\n * The full path is later combined with the encoded resource id by the loader\r\n * and resolved against the API root by `CrexApi.buildUrl`.\r\n */\r\nexport const slugToPath = (\r\n slug: string,\r\n version: string = IDS_API_VERSION,\r\n): string | null => {\r\n const parts = slug.split(\"-\").filter(Boolean);\r\n if (parts.length < 2) return null;\r\n\r\n const [area, ...resourceParts] = parts;\r\n const resource = resourceParts.map(capitalize).join(\"\");\r\n if (!area || !resource) return null;\r\n\r\n return `${area}/${version}/${resource}`;\r\n};\r\n","export const baseClientRequest = async <T>(\r\n endpoint: string,\r\n queryParams?: Record<\r\n string,\r\n string | number | boolean | (string | number | boolean)[] | undefined\r\n >,\r\n options?: { signal?: AbortSignal },\r\n extra?: {\r\n responseType?: \"json\" | \"text\";\r\n authMode?: \"configured\" | \"anonymous\";\r\n },\r\n): Promise<T> => {\r\n const res = await fetch(`/api/rpc`, {\r\n method: \"POST\",\r\n headers: { \"Content-Type\": \"application/json\" },\r\n body: JSON.stringify({\r\n method: \"CrexApi.execute\",\r\n params: {\r\n url: endpoint,\r\n method: \"GET\",\r\n params: queryParams,\r\n responseType: extra?.responseType,\r\n authMode: extra?.authMode,\r\n },\r\n }),\r\n credentials: \"include\",\r\n signal: options?.signal,\r\n });\r\n\r\n const json = await res.json();\r\n\r\n if (!res.ok) throw new Error(json.error || \"Unknown error\");\r\n\r\n return json.data;\r\n};\r\n","import type { LiteralModel, RenditionModel } from \"@c-rex/interfaces\";\r\nimport { baseClientRequest } from \"../base-client-request\";\r\nimport { slugToPath } from \"./endpoint-path\";\r\nimport type {\r\n HtmlEnrichmentDescriptor,\r\n HtmlEnrichmentEndpointResult,\r\n} from \"./types\";\r\n\r\n/**\r\n * Access-denied heuristic. This is NOT an HTTP auth failure — metadata may\r\n * resolve while the content rendition is licence-restricted. HTTP 403 is the\r\n * current signal until the IDS API confirms a canonical denied contract\r\n * (see HTML_RUNTIME_ENRICHMENT_SPEC.md → Open Questions).\r\n */\r\nconst isDeniedError = (err: unknown): boolean =>\r\n err instanceof Error && err.message.includes(\"403\");\r\n\r\n/**\r\n * Generic enrichment loader: resolves `data-crex-endpoint` (slug) + the\r\n * `data-crex-id` resource IRI into a single request and returns the raw HTML.\r\n *\r\n * Request shape: `{<area>/<version>/<Resource>}/view/{encodeURIComponent(id)}`\r\n * fetched as text. The `/view/` segment returns the rendered HTML rendition.\r\n * Works for any `<area>-<resource>` slug — no per-endpoint registration needed.\r\n */\r\nexport const loadEnrichmentHtml = async (\r\n descriptor: HtmlEnrichmentDescriptor,\r\n): Promise<HtmlEnrichmentEndpointResult> => {\r\n if (!descriptor.endpoint || !descriptor.resourceId) {\r\n return { html: null, isDenied: false };\r\n }\r\n\r\n const basePath = slugToPath(descriptor.endpoint);\r\n if (!basePath) {\r\n return { html: null, isDenied: false };\r\n }\r\n\r\n const url = `${basePath}/view/${encodeURIComponent(descriptor.resourceId)}`;\r\n\r\n try {\r\n const html = await baseClientRequest<string>(\r\n url,\r\n descriptor.params,\r\n undefined,\r\n {\r\n responseType: \"text\",\r\n },\r\n );\r\n return { html, isDenied: false };\r\n } catch (err: unknown) {\r\n if (isDeniedError(err)) {\r\n return { html: null, isDenied: true };\r\n }\r\n throw err;\r\n }\r\n};\r\n\r\n/**\r\n * Loads a collection-style enrichment marker such as the GMP Startseite tile\r\n * container. Collection markers do not have a data-crex-id; their API query is\r\n * carried by data-crex-param-* attributes instead.\r\n */\r\nexport const loadEnrichmentCollection = async (\r\n descriptor: HtmlEnrichmentDescriptor,\r\n): Promise<HtmlEnrichmentEndpointResult> => {\r\n if (!descriptor.endpoint) return { html: null, isDenied: false };\r\n\r\n const basePath = slugToPath(descriptor.endpoint);\r\n if (!basePath) return { html: null, isDenied: false };\r\n\r\n const params = { ...(descriptor.params ?? {}) };\r\n const fields = params.Fields;\r\n const hasRenditions = Array.isArray(fields)\r\n ? fields.some((field) => String(field).toLowerCase() === \"renditions\")\r\n : String(fields ?? \"\")\r\n .toLowerCase()\r\n .includes(\"renditions\");\r\n\r\n // Tile renderers need the rendition objects and their view links in the\r\n // collection response. Keep the marker's explicit params authoritative,\r\n // while filling in the two optional API flags when renditions were asked for.\r\n if (hasRenditions) {\r\n if (params.Embed === undefined) params.Embed = [\"renditions\"];\r\n if (params.Links === undefined) params.Links = true;\r\n }\r\n\r\n try {\r\n const isPublicGmpStartTiles =\r\n descriptor.renderer === \"GMPTilesRenderer\" &&\r\n basePath === \"iirds/v1/Fragments\";\r\n const data = isPublicGmpStartTiles\r\n ? await baseClientRequest<unknown>(basePath, params, undefined, {\r\n authMode: \"anonymous\",\r\n })\r\n : await baseClientRequest<unknown>(basePath, params);\r\n return { html: null, data, isDenied: false };\r\n } catch (err: unknown) {\r\n if (isDeniedError(err)) {\r\n return { html: null, isDenied: true };\r\n }\r\n throw err;\r\n }\r\n};\r\n\r\n/** Selects the individual-resource or collection loader from the marker. */\r\nexport const loadEnrichment = async (\r\n descriptor: HtmlEnrichmentDescriptor,\r\n): Promise<HtmlEnrichmentEndpointResult> =>\r\n descriptor.resourceId\r\n ? loadEnrichmentHtml(descriptor)\r\n : loadEnrichmentCollection(descriptor);\r\n\r\n/**\r\n * Minimal shape shared by the iiRDS model endpoints used for onclick enrichment\r\n * (Fragments, InformationUnits, …). Kept loose so any model-with-renditions\r\n * endpoint works without per-endpoint typing.\r\n */\r\nexport type EnrichmentResourceModel = {\r\n /**\r\n * Root short id of the resource. Used to build in-app navigation targets\r\n * (e.g. swapping the topic id segment) instead of rendering the payload.\r\n */\r\n shortId?: string | null;\r\n renditions?: RenditionModel[] | null;\r\n titles?: LiteralModel[] | null;\r\n labels?: LiteralModel[] | null;\r\n /**\r\n * Content access state. The request itself can succeed (HTTP 200, metadata\r\n * present) while the content is licence-restricted — IDS signals that here\r\n * rather than via an HTTP error.\r\n */\r\n authorization?: { state?: string | null } | null;\r\n};\r\n\r\nexport type EnrichmentResourceResult = {\r\n data: EnrichmentResourceModel | null;\r\n isDenied: boolean;\r\n};\r\n\r\n/**\r\n * Generic onclick enrichment loader: resolves `data-crex-endpoint` (slug) + the\r\n * `data-crex-id` resource IRI and fetches the JSON model (e.g. a Fragment or\r\n * InformationUnit) for rendering inside a popover/modal. Endpoint resolution is\r\n * fully dynamic via `slugToPath` — no per-endpoint hardcoding.\r\n */\r\nexport const loadEnrichmentResource = async (\r\n descriptor: HtmlEnrichmentDescriptor,\r\n queryParams?: Record<\r\n string,\r\n string | number | boolean | (string | number | boolean)[] | undefined\r\n >,\r\n): Promise<EnrichmentResourceResult> => {\r\n if (!descriptor.endpoint || !descriptor.resourceId) {\r\n return { data: null, isDenied: false };\r\n }\r\n\r\n const basePath = slugToPath(descriptor.endpoint);\r\n if (!basePath) {\r\n return { data: null, isDenied: false };\r\n }\r\n\r\n const url = `${basePath}/${encodeURIComponent(descriptor.resourceId)}`;\r\n\r\n try {\r\n const data = await baseClientRequest<EnrichmentResourceModel>(\r\n url,\r\n queryParams,\r\n );\r\n // Denied is carried in the (successful) payload, not as an HTTP error.\r\n const isDenied = data?.authorization?.state === \"denied\";\r\n return { data, isDenied };\r\n } catch (err: unknown) {\r\n if (isDeniedError(err)) {\r\n return { data: null, isDenied: true };\r\n }\r\n throw err;\r\n }\r\n};\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACMA,IAAM,mBAAmB,oBAAI,IAAY,CAAC,UAAU,YAAY,SAAS,CAAC;AAC1E,IAAM,eAAe,oBAAI,IAAY;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAED,IAAM,mBAAmB,CAAC,YAA4B;AACpD,QAAM,aAAa,QAAQ,YAAY;AACvC,MAAI,eAAe,cAAe,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AU,MAAM;AAAA,EAC7C,SAAS,KAAc;AACrB,QAAI,cAAc,GAAG,GAAG;AACtB,aAAO,EAAE,MAAM,MAAM,UAAU,KAAK;AAAA,IACtC;AACA,UAAM;AAAA,EACR;AACF;AAGO,IAAM,iBAAiB,OAC5B,eAEA,WAAW,aACP,mBAAmB,UAAU,IAC7B,yBAAyB,UAAU;AAmClC,IAAM,yBAAyB,OACpC,YACA,gBAIsC;AACtC,MAAI,CAAC,WAAW,YAAY,CAAC,WAAW,YAAY;AAClD,WAAO,EAAE,MAAM,MAAM,UAAU,MAAM;AAAA,EACvC;AAEA,QAAM,WAAW,WAAW,WAAW,QAAQ;AAC/C,MAAI,CAAC,UAAU;AACb,WAAO,EAAE,MAAM,MAAM,UAAU,MAAM;AAAA,EACvC;AAEA,QAAM,MAAM,GAAG,QAAQ,IAAI,mBAAmB,WAAW,UAAU,CAAC;AAEpE,MAAI;AACF,UAAM,OAAO,MAAM;AAAA,MACjB;AAAA,MACA;AAAA,IACF;AAEA,UAAM,WAAW,MAAM,eAAe,UAAU;AAChD,WAAO,EAAE,MAAM,SAAS;AAAA,EAC1B,SAAS,KAAc;AACrB,QAAI,cAAc,GAAG,GAAG;AACtB,aAAO,EAAE,MAAM,MAAM,UAAU,KAAK;AAAA,IACtC;AACA,UAAM;AAAA,EACR;AACF;","names":[]}
|
|
@@ -66,7 +66,8 @@ var baseClientRequest = async (endpoint, queryParams, options, extra) => {
|
|
|
66
66
|
url: endpoint,
|
|
67
67
|
method: "GET",
|
|
68
68
|
params: queryParams,
|
|
69
|
-
responseType: extra?.responseType
|
|
69
|
+
responseType: extra?.responseType,
|
|
70
|
+
authMode: extra?.authMode
|
|
70
71
|
}
|
|
71
72
|
}),
|
|
72
73
|
credentials: "include",
|
|
@@ -117,7 +118,10 @@ var loadEnrichmentCollection = async (descriptor) => {
|
|
|
117
118
|
if (params.Links === void 0) params.Links = true;
|
|
118
119
|
}
|
|
119
120
|
try {
|
|
120
|
-
const
|
|
121
|
+
const isPublicGmpStartTiles = descriptor.renderer === "GMPTilesRenderer" && basePath === "iirds/v1/Fragments";
|
|
122
|
+
const data = isPublicGmpStartTiles ? await baseClientRequest(basePath, params, void 0, {
|
|
123
|
+
authMode: "anonymous"
|
|
124
|
+
}) : await baseClientRequest(basePath, params);
|
|
121
125
|
return { html: null, data, isDenied: false };
|
|
122
126
|
} catch (err) {
|
|
123
127
|
if (isDeniedError(err)) {
|