@en-solutions/tgm-client-sdk 1.7.0 → 1.8.1

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.
@@ -1,8 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Injectable, Inject, Optional, NgModule, ViewChild, Input, Component, EventEmitter, Output, HostListener } from '@angular/core';
2
+ import { InjectionToken, Injectable, Inject, Optional, NgModule, inject, ViewChild, Input, Component, EventEmitter, Output, HostListener } from '@angular/core';
3
3
  import * as i1 from '@angular/common/http';
4
4
  import { HttpClient, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
5
- import { BehaviorSubject, Subject, catchError, throwError, take, switchMap, takeUntil, share, tap } from 'rxjs';
5
+ import { BehaviorSubject, Subject, catchError, throwError, take, switchMap, takeUntil, share, tap, shareReplay, map } from 'rxjs';
6
6
  import { Client } from '@stomp/stompjs';
7
7
  import * as SockJSModule from 'sockjs-client';
8
8
  import * as i2 from '@angular/common';
@@ -10,7 +10,7 @@ import { CommonModule } from '@angular/common';
10
10
  import { ConnectionState, Room, RoomEvent, Track } from 'livekit-client';
11
11
  import * as i2$1 from '@angular/forms';
12
12
  import { FormsModule } from '@angular/forms';
13
- import { map, catchError as catchError$1 } from 'rxjs/operators';
13
+ import { map as map$1, catchError as catchError$1 } from 'rxjs/operators';
14
14
 
15
15
  const TGM_SDK_CONFIG = new InjectionToken('TGM_SDK_CONFIG', {
16
16
  providedIn: 'root',
@@ -781,7 +781,7 @@ const WorkflowType = { INTERVENTION_APPROVAL: 'INTERVENTION_APPROVAL', PURCHASE_
781
781
  const ErpType = { SAP_ECC: 'SAP_ECC', SAP_BUSINESS_ONE: 'SAP_BUSINESS_ONE', DYNAMICS_NAV: 'DYNAMICS_NAV', DYNAMICS_AX: 'DYNAMICS_AX', ORACLE_CLOUD: 'ORACLE_CLOUD', ORACLE_EBS: 'ORACLE_EBS', ORACLE_NETSUITE: 'ORACLE_NETSUITE', ORACLE_JDE: 'ORACLE_JDE', INFOR_CLOUDSUITE: 'INFOR_CLOUDSUITE', INFOR_LN: 'INFOR_LN', SAGE_INTACCT: 'SAGE_INTACCT', EPICOR_KINETIC: 'EPICOR_KINETIC', IFS_CLOUD: 'IFS_CLOUD', WORKDAY: 'WORKDAY', ACUMATICA: 'ACUMATICA', ODOO: 'ODOO', CUSTOM: 'CUSTOM', REST_API: 'REST_API', SOAP_API: 'SOAP_API' };
782
782
  const ErpAuthType = { BASIC: 'BASIC', API_KEY: 'API_KEY', OAUTH2: 'OAUTH2', SAML: 'SAML', CERTIFICATE: 'CERTIFICATE', SAP_JWT: 'SAP_JWT' };
783
783
  const SyncDirection = { INBOUND: 'INBOUND', OUTBOUND: 'OUTBOUND', BIDIRECTIONAL: 'BIDIRECTIONAL' };
784
- const TgmEntityType = { COMPANY: 'COMPANY', LOCATION: 'LOCATION', UNIT: 'UNIT', COMPONENT: 'COMPONENT', USER: 'USER', INSPECTION: 'INSPECTION', FAILURE: 'FAILURE', INVENTORY: 'INVENTORY', INVOICE: 'INVOICE' };
784
+ const TgmEntityType = { COMPANY: 'COMPANY', LOCATION: 'LOCATION', UNIT: 'UNIT', COMPONENT: 'COMPONENT', SENSOR: 'SENSOR', SENSOR_READING: 'SENSOR_READING', USER: 'USER', INSPECTION: 'INSPECTION', MAINTENANCE_RECORD: 'MAINTENANCE_RECORD', MAINTENANCE_PLAN: 'MAINTENANCE_PLAN', FAILURE: 'FAILURE', MATERIAL_ITEM: 'MATERIAL_ITEM', MATERIAL_CONSUMABLE: 'MATERIAL_CONSUMABLE', SUPPLIER: 'SUPPLIER', INVENTORY: 'INVENTORY', INVOICE: 'INVOICE', PURCHASE_ORDER: 'PURCHASE_ORDER', GOODS_RECEIPT: 'GOODS_RECEIPT', STOCK_MOVEMENT: 'STOCK_MOVEMENT', WAREHOUSE: 'WAREHOUSE', STOCK_COUNT: 'STOCK_COUNT', CUSTOM: 'CUSTOM' };
785
785
 
786
786
  const ProviderType = { OIDC: 'OIDC', SAML: 'SAML' };
787
787
  const PresetProvider = { GOOGLE: 'GOOGLE', AZURE_AD: 'AZURE_AD', OKTA: 'OKTA', ONELOGIN: 'ONELOGIN', PING_IDENTITY: 'PING_IDENTITY', CUSTOM_OIDC: 'CUSTOM_OIDC', CUSTOM_SAML: 'CUSTOM_SAML' };
@@ -6685,6 +6685,316 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
6685
6685
  args: [{ providedIn: 'root' }]
6686
6686
  }], ctorParameters: () => [{ type: TgmHttpClient }] });
6687
6687
 
6688
+ class CmsContentTypeService {
6689
+ http;
6690
+ basePath = '/api/cms/content-types';
6691
+ constructor(http) {
6692
+ this.http = http;
6693
+ }
6694
+ getAll() {
6695
+ return this.http.get(this.basePath);
6696
+ }
6697
+ get(collectionName) {
6698
+ return this.http.get(`${this.basePath}/${collectionName}`);
6699
+ }
6700
+ getCount() {
6701
+ return this.http.get(`${this.basePath}/count`);
6702
+ }
6703
+ create(schema) {
6704
+ return this.http.post(this.basePath, schema);
6705
+ }
6706
+ delete(collectionName) {
6707
+ return this.http.delete(`${this.basePath}/${collectionName}`);
6708
+ }
6709
+ syncMigrations() {
6710
+ return this.http.post('/api/cms/migrations/sync', {});
6711
+ }
6712
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CmsContentTypeService, deps: [{ token: TgmHttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
6713
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CmsContentTypeService, providedIn: 'root' });
6714
+ }
6715
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CmsContentTypeService, decorators: [{
6716
+ type: Injectable,
6717
+ args: [{ providedIn: 'root' }]
6718
+ }], ctorParameters: () => [{ type: TgmHttpClient }] });
6719
+ class CmsDataService {
6720
+ http;
6721
+ basePath = '/api/cms';
6722
+ constructor(http) {
6723
+ this.http = http;
6724
+ }
6725
+ list(collectionName, params) {
6726
+ const httpParams = {};
6727
+ if (params?.page != null)
6728
+ httpParams['page'] = params.page;
6729
+ if (params?.pageSize)
6730
+ httpParams['pageSize'] = params.pageSize;
6731
+ if (params?.sort)
6732
+ httpParams['sort'] = params.sort;
6733
+ if (params?.order)
6734
+ httpParams['order'] = params.order;
6735
+ return this.http.get(`${this.basePath}/${collectionName}`, { params: httpParams });
6736
+ }
6737
+ get(collectionName, id) {
6738
+ return this.http.get(`${this.basePath}/${collectionName}/${id}`);
6739
+ }
6740
+ create(collectionName, data) {
6741
+ return this.http.post(`${this.basePath}/${collectionName}`, data);
6742
+ }
6743
+ update(collectionName, id, data) {
6744
+ return this.http.put(`${this.basePath}/${collectionName}/${id}`, data);
6745
+ }
6746
+ delete(collectionName, id) {
6747
+ return this.http.delete(`${this.basePath}/${collectionName}/${id}`);
6748
+ }
6749
+ bulkDelete(collectionName, ids) {
6750
+ return this.http.post(`${this.basePath}/${collectionName}/bulk-delete`, { ids });
6751
+ }
6752
+ count(collectionName) {
6753
+ return this.http.get(`${this.basePath}/${collectionName}/count`);
6754
+ }
6755
+ search(collectionName, filters, params) {
6756
+ const httpParams = {};
6757
+ if (params?.page != null)
6758
+ httpParams['page'] = params.page;
6759
+ if (params?.pageSize)
6760
+ httpParams['pageSize'] = params.pageSize;
6761
+ if (params?.sort)
6762
+ httpParams['sort'] = params.sort;
6763
+ if (params?.order)
6764
+ httpParams['order'] = params.order;
6765
+ return this.http.post(`${this.basePath}/${collectionName}/search`, filters, { params: httpParams });
6766
+ }
6767
+ publish(collectionName, id) {
6768
+ return this.http.post(`${this.basePath}/${collectionName}/${id}/publish`, {});
6769
+ }
6770
+ unpublish(collectionName, id) {
6771
+ return this.http.post(`${this.basePath}/${collectionName}/${id}/unpublish`, {});
6772
+ }
6773
+ exportCsv(collectionName, columns) {
6774
+ const httpParams = {};
6775
+ if (columns?.length)
6776
+ httpParams['columns'] = columns.join(',');
6777
+ return this.http.get(`${this.basePath}/${collectionName}/export`, { params: httpParams, responseType: 'text' });
6778
+ }
6779
+ // --- Saved Views ---
6780
+ listViews(collectionName) {
6781
+ return this.http.get(`${this.basePath}/${collectionName}/views`);
6782
+ }
6783
+ createView(collectionName, view) {
6784
+ return this.http.post(`${this.basePath}/${collectionName}/views`, view);
6785
+ }
6786
+ updateView(collectionName, viewId, update) {
6787
+ return this.http.put(`${this.basePath}/${collectionName}/views/${viewId}`, update);
6788
+ }
6789
+ deleteView(collectionName, viewId) {
6790
+ return this.http.delete(`${this.basePath}/${collectionName}/views/${viewId}`);
6791
+ }
6792
+ // --- Validation Rules ---
6793
+ listValidationRules(collectionName, activeOnly = false) {
6794
+ return this.http.get(`${this.basePath}/${collectionName}/validation-rules`, {
6795
+ params: { activeOnly },
6796
+ });
6797
+ }
6798
+ createValidationRule(collectionName, rule) {
6799
+ return this.http.post(`${this.basePath}/${collectionName}/validation-rules`, rule);
6800
+ }
6801
+ updateValidationRule(collectionName, ruleId, update) {
6802
+ return this.http.put(`${this.basePath}/${collectionName}/validation-rules/${ruleId}`, update);
6803
+ }
6804
+ deleteValidationRule(collectionName, ruleId) {
6805
+ return this.http.delete(`${this.basePath}/${collectionName}/validation-rules/${ruleId}`);
6806
+ }
6807
+ // --- Record Types ---
6808
+ listRecordTypes(collectionName, activeOnly = false) {
6809
+ return this.http.get(`${this.basePath}/${collectionName}/record-types`, {
6810
+ params: { activeOnly },
6811
+ });
6812
+ }
6813
+ createRecordType(collectionName, recordType) {
6814
+ return this.http.post(`${this.basePath}/${collectionName}/record-types`, recordType);
6815
+ }
6816
+ updateRecordType(collectionName, typeId, update) {
6817
+ return this.http.put(`${this.basePath}/${collectionName}/record-types/${typeId}`, update);
6818
+ }
6819
+ deleteRecordType(collectionName, typeId) {
6820
+ return this.http.delete(`${this.basePath}/${collectionName}/record-types/${typeId}`);
6821
+ }
6822
+ // --- Page Layouts ---
6823
+ listLayouts(collectionName) {
6824
+ return this.http.get(`${this.basePath}/${collectionName}/layouts`);
6825
+ }
6826
+ createLayout(collectionName, layout) {
6827
+ return this.http.post(`${this.basePath}/${collectionName}/layouts`, layout);
6828
+ }
6829
+ updateLayout(collectionName, layoutId, update) {
6830
+ return this.http.put(`${this.basePath}/${collectionName}/layouts/${layoutId}`, update);
6831
+ }
6832
+ deleteLayout(collectionName, layoutId) {
6833
+ return this.http.delete(`${this.basePath}/${collectionName}/layouts/${layoutId}`);
6834
+ }
6835
+ // --- Formula Fields ---
6836
+ listFormulas(collectionName, activeOnly = false) {
6837
+ return this.http.get(`${this.basePath}/${collectionName}/formulas`, { params: { activeOnly } });
6838
+ }
6839
+ createFormula(collectionName, formula) {
6840
+ return this.http.post(`${this.basePath}/${collectionName}/formulas`, formula);
6841
+ }
6842
+ updateFormula(collectionName, formulaId, update) {
6843
+ return this.http.put(`${this.basePath}/${collectionName}/formulas/${formulaId}`, update);
6844
+ }
6845
+ deleteFormula(collectionName, formulaId) {
6846
+ return this.http.delete(`${this.basePath}/${collectionName}/formulas/${formulaId}`);
6847
+ }
6848
+ // --- Workflow Rules ---
6849
+ listWorkflows(collectionName, activeOnly = false) {
6850
+ return this.http.get(`${this.basePath}/${collectionName}/workflows`, { params: { activeOnly } });
6851
+ }
6852
+ createWorkflow(collectionName, workflow) {
6853
+ return this.http.post(`${this.basePath}/${collectionName}/workflows`, workflow);
6854
+ }
6855
+ updateWorkflow(collectionName, workflowId, update) {
6856
+ return this.http.put(`${this.basePath}/${collectionName}/workflows/${workflowId}`, update);
6857
+ }
6858
+ deleteWorkflow(collectionName, workflowId) {
6859
+ return this.http.delete(`${this.basePath}/${collectionName}/workflows/${workflowId}`);
6860
+ }
6861
+ // --- Approval Processes ---
6862
+ listApprovalProcesses(collectionName) {
6863
+ return this.http.get(`${this.basePath}/${collectionName}/approvals`);
6864
+ }
6865
+ createApprovalProcess(collectionName, process) {
6866
+ return this.http.post(`${this.basePath}/${collectionName}/approvals`, process);
6867
+ }
6868
+ deleteApprovalProcess(collectionName, processId) {
6869
+ return this.http.delete(`${this.basePath}/${collectionName}/approvals/${processId}`);
6870
+ }
6871
+ getApprovalStatus(collectionName, recordId) {
6872
+ return this.http.get(`${this.basePath}/${collectionName}/${recordId}/approval-status`);
6873
+ }
6874
+ submitForApproval(collectionName, recordId, processId) {
6875
+ return this.http.post(`${this.basePath}/${collectionName}/${recordId}/submit-for-approval`, { processId });
6876
+ }
6877
+ approvalAction(collectionName, instanceId, action, comment) {
6878
+ return this.http.post(`${this.basePath}/${collectionName}/approval-instances/${instanceId}/action`, { action, comment });
6879
+ }
6880
+ // --- Rollup Summary ---
6881
+ rollup(collectionName, targetCollection, fkField, parentId, fn = 'COUNT', aggregateField) {
6882
+ const params = { targetCollection, fkField, parentId, function: fn };
6883
+ if (aggregateField)
6884
+ params.aggregateField = aggregateField;
6885
+ return this.http.get(`${this.basePath}/${collectionName}/rollup`, { params });
6886
+ }
6887
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CmsDataService, deps: [{ token: TgmHttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
6888
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CmsDataService, providedIn: 'root' });
6889
+ }
6890
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CmsDataService, decorators: [{
6891
+ type: Injectable,
6892
+ args: [{ providedIn: 'root' }]
6893
+ }], ctorParameters: () => [{ type: TgmHttpClient }] });
6894
+
6895
+ /**
6896
+ * Transforms CMS content types into sidebar menu items.
6897
+ *
6898
+ * Each content type can specify where it appears via info.menuSection:
6899
+ * - "tgm-om" → TGM O&M section
6900
+ * - "tgm-economics" → TGM Economics section
6901
+ * - "tgm-inventory-management" → Inventory section
6902
+ * - "administration" (default) → Administration → Custom Objects
6903
+ * - Any other menu section id from menu.ts
6904
+ *
6905
+ * Usage in AppComponent.initializeMenu():
6906
+ *
6907
+ * ```typescript
6908
+ * this.cmsMenuHelper.getMenuItemsBySection('cms').subscribe(grouped => {
6909
+ * for (const [sectionId, items] of Object.entries(grouped)) {
6910
+ * const section = menu.find(m => m.id === sectionId);
6911
+ * if (section?.children) {
6912
+ * section.children.push(...items);
6913
+ * }
6914
+ * }
6915
+ * });
6916
+ * ```
6917
+ */
6918
+ class CmsMenuHelper {
6919
+ contentTypeService = inject(CmsContentTypeService);
6920
+ /** Cached content types — shared across subscribers, auto-refreshes on invalidate() */
6921
+ _cache$ = null;
6922
+ getContentTypes() {
6923
+ if (!this._cache$) {
6924
+ this._cache$ = this.getContentTypes().pipe(shareReplay({ bufferSize: 1, refCount: false }));
6925
+ }
6926
+ return this._cache$;
6927
+ }
6928
+ /** Invalidate the cache — call after creating/updating/deleting a content type */
6929
+ invalidate() {
6930
+ this._cache$ = null;
6931
+ }
6932
+ /**
6933
+ * Fetch all content types and return menu items grouped by menuSection.
6934
+ * Each key is a menu section id (e.g., "tgm-om", "administration").
6935
+ * Items without menuSection default to "administration".
6936
+ *
6937
+ * @param baseUrl - Route base path for CMS pages
6938
+ * @param defaultIcon - Default icon when menuIcon not set
6939
+ */
6940
+ getMenuItemsBySection(baseUrl = 'cms', defaultIcon = 'database') {
6941
+ return this.getContentTypes().pipe(map((contentTypes) => {
6942
+ const grouped = {};
6943
+ for (const ct of contentTypes) {
6944
+ const section = ct.info?.menuSection || 'administration';
6945
+ const item = this.toMenuItem(ct, baseUrl, defaultIcon);
6946
+ if (!grouped[section])
6947
+ grouped[section] = [];
6948
+ grouped[section].push(item);
6949
+ }
6950
+ return grouped;
6951
+ }));
6952
+ }
6953
+ /**
6954
+ * Fetch all content types as a flat list of menu items.
6955
+ * Use getMenuItemsBySection() instead if you need placement control.
6956
+ */
6957
+ getMenuItems(baseUrl = 'cms', defaultIcon = 'database') {
6958
+ return this.getContentTypes().pipe(map((contentTypes) => contentTypes.map(ct => this.toMenuItem(ct, baseUrl, defaultIcon))));
6959
+ }
6960
+ /**
6961
+ * Build a "Custom Objects" section for items that target "administration".
6962
+ * Items targeting other sections are excluded — use getMenuItemsBySection() for those.
6963
+ */
6964
+ getMenuSection(baseUrl = 'cms', roles = ['Administration.Read']) {
6965
+ return this.getMenuItemsBySection(baseUrl).pipe(map(grouped => ({
6966
+ id: 'custom-objects',
6967
+ type: 'section',
6968
+ title: 'Custom Objects',
6969
+ translate: 'MENU.ADMINISTRATION.CUSTOM_OBJECTS',
6970
+ icon: 'layers',
6971
+ role: roles,
6972
+ availableOnMobileNative: false,
6973
+ mobileOnly: false,
6974
+ children: grouped['administration'] || [],
6975
+ })));
6976
+ }
6977
+ toMenuItem(ct, baseUrl, defaultIcon) {
6978
+ return {
6979
+ id: `cms-${ct.collectionName}`,
6980
+ title: ct.info?.displayName || ct.collectionName,
6981
+ type: 'item',
6982
+ icon: ct.info?.menuIcon || defaultIcon,
6983
+ url: `${baseUrl}/${ct.collectionName}`,
6984
+ availableOnMobileNative: false,
6985
+ mobileOnly: false,
6986
+ // Store the target section for grouping
6987
+ _menuSection: ct.info?.menuSection || 'administration',
6988
+ };
6989
+ }
6990
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CmsMenuHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6991
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CmsMenuHelper, providedIn: 'root' });
6992
+ }
6993
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CmsMenuHelper, decorators: [{
6994
+ type: Injectable,
6995
+ args: [{ providedIn: 'root' }]
6996
+ }] });
6997
+
6688
6998
  class ChatRestService {
6689
6999
  http;
6690
7000
  basePath = '/api/chat';
@@ -10284,7 +10594,7 @@ class QueryExecutorService {
10284
10594
  if (query.order) {
10285
10595
  params['order'] = query.order;
10286
10596
  }
10287
- return service.getAll(params).pipe(map((response) => {
10597
+ return service.getAll(params).pipe(map$1((response) => {
10288
10598
  const executionTime = Math.round(performance.now() - startTime);
10289
10599
  const data = response?.data ?? [];
10290
10600
  const total = response?.meta?.pagination?.total ?? data.length;
@@ -11063,5 +11373,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
11063
11373
  * Generated bundle index. Do not edit.
11064
11374
  */
11065
11375
 
11066
- export { AIScenarioService, AIScenarioType, ActivePermitHolder, ActivityLogService, AgentService, AiFeedbackService, AiProvider, AiService, AipAnalysisService, AipAssessmentService, AipFinancialService, AipGeographicService, AipNetworkAnalysisService, AipNetworkNodeService, AipPerformanceRecordService, AipPerformanceService, AipPlanService, AipResourceConstraintService, AipResourceService, AipRiskAnalysisService, AipScenarioService, AipSettingsService, AipWorkflowService, AlertDefinitionService, AlertService, AlertSeverity, AlertStatus, AncillaryServiceCrudService, AncillaryServiceStatus, AncillaryServiceType, AnnouncementService, AnnouncementType, AnomalyDetectionService, ApiTokenStatus, AppLanguage, ApprovalStatus, ArticleAdminService, ArticleCategoryService, ArticleService, ArticleTopicService, AssetLifecycleService, AssetLifecycleStage, AssetLifecycleStatus, AssetPhase, AuditEntryService, AuditLogService, AuthInterceptor, AuthService, BackupService, BackupStatus, BaseCrudService, BathymetricSurveyService, BestPracticeCategoryService, BestPracticeService, BidService, BudgetService, BulkOperationService, CAPAStatus, CAPAType, CacheAdminService, CalendarPlanning, CapexProjectService, CatAttachmentCategory, CatAttachmentPhase, CatAttachmentService, CatComponentType, CatDoneBy, CatEquipmentOwner, CatExecutionResultService, CatMachineCondition, CatOutageType, CatPersonnelAssignmentService, CatPlanningEquipmentItemService, CatRecommendedAction, CatSignOffRole, CatSignOffService, CatStatus, CatTestResult, CatTestTrigger, CatTrendVsPrevious, CatTypeOfTest, CatWhereDone, CertificationService, ChatMessageType, ChatRestService, ChatWebSocketService, ChecklistPeriodicity, ChecklistRunningMode, ClientAdminService, ClientApiKeyService, ClientArticleService, ClientInterceptor, ClientOcrService, ClientStatus, ClientUsageService, CommunityCommentService, CommunityPostService, CompanyMaterialService, CompanyMaterialTypeService, CompanyService, ComplianceObligationService, ComplianceSubmissionService, ComplianceSubmissionStatus, ComponentCategory, ComponentChecklistGroupService, ComponentChecklistService, ComponentChecklistTemplateService, ComponentGroupService, ComponentInfoCategory, ComponentInfoService, ComponentInfoStatus, ComponentInfoType, ComponentLocationService, ComponentService, ComponentType, ConditionAssessmentTestService, ConversationType, CorrectiveActionService, CortexEventService, CortexInsightService, CortexNodeService, CortexService, CostAllocation, CountryService, CurtailmentEventService, CurtailmentStatus, CurtailmentType, CustomFieldDefinitionService, CustomFieldService, CustomFieldType, CustomFormService, CustomService, DEFAULT_EXCLUDED_ENTITIES, DashboardService, DataExportService, DatabaseManagerComponent, DatabaseManagerModule, DeferralConstraintRuleService, DeferralDecisionService, DeferralEvaluationService, DepartmentService, DeploymentType, DepreciationMethod, DeviceGatewayService, DiagnosticReportService, DigitalTwinService, DocumentAdminService, DrawingCategoryService, DrawingService, DriverService, DriverStatus, DynamicCrudService, ENTITY_REGISTRY, ENTITY_SERVICE_MAP, ElevationStorageCurveService, EmailAdminService, EmailProviderAdminService, EmailProviderType, EnergyAnalyticsService, EnergyProductionService, EnergySourceType, EntityCommentService, EntitySchemaService, EnvironmentalPermitService, ErpAdminService, ErpAuthType, ErpType, EventNature, EventService, ExportButtonComponent, ExportService, ExtensionEventType, ExtensionService, ExtensionStatus, FailureActionService, FailureCauseService, FailureImpact, FailureLikelihood, FailureRiskLevel, FailureService, FaqCategoryService, FaqService, FeedbackService, FilterParams, FishMonitoringService, FishboneCategory, FontService, FormCategoryService, FormService, FuelRecordService, FuelType, GateControlService, GateControlType, GateSystemService, GateType, GeneratedReportListComponent, GeofenceEventService, GeofenceEventType, GeofenceService, GeofenceType, GoodsReceiptService, GpsLocationService, GridConnectionService, GridConnectionStatus, IdentityProviderAdminService, ImpersonationService, InMemoryTokenStorage, InactiveComponentService, IncidentCategory, IncidentService, IncidentType, IncomingCallComponent, InspectionComponentService, InspectionLevel, InspectionNature, InspectionService, InspectionType, InterventionRequestService, InterventionRequestStatus, InterventionService, InvestmentOptionService, JobTitleService, JsaItemService, JsaStepService, KpiEventService, LOTOBoxStatus, LOTOBoxType, LOTOLockRole, LOTOLockStatus, LOTOLockType, LOTOOverallStatus, LaboratoryResultService, LayoutType, LearningModuleCategoryService, LessonLearnedOrigin, LessonLearnedService, LessonLearnedStatus, LicenseService, LivekitRoomService, LocationService, LogService, LoginHistoryService, LoginRequestService, MODULE_LABELS, MaintenanceJsaService, MaintenancePlanService, MaintenanceRecordService, MaintenanceStatus, MaintenanceType, ManualReadingService, MaterialCategoryService, MaterialConsumableCategoryService, MaterialConsumableHistoryService, MaterialConsumableService, MaterialInstrumentHistoryService, MaterialInstrumentService, MaterialItemHistoryService, MaterialItemService, MaterialToolingCategoryService, MaterialToolingHistoryService, MaterialToolingService, MeasurementService, MeasurementUnitService, MeasurementUnitSystem, MessageChannel, MessageService, MessagingProviderAdminService, MessagingProviderType, MeteringParameterStatus, MeteringParameterSubType, MeteringParameterType, MiHistoryService, MiRequestService, MigrationStatus, ModelFileService, ModelService, ModuleLearningService, ModuleService, ModuleVideoService, MonitoringLocationType, MonitoringMethod, NoteService, ObjectBrowserComponent, ObligationFrequency, ObligationStatus, ObligationType, ObservationCategory, ObservationSeverity, OcrProcessingStatus, OperatingEventService, OperatingMode, OperationalObservationService, OutageEventService, OutageResourceService, OutageStatus, OutageType, PC2PermitSubType, ParticipantRole, Periodicity, PermissionService, PermitOrigin, PermitStatus, PermitType, PlantDataService, PlantSize, PlantStatus, PlatformAdminRole, PlatformAdminService, PlatformAuthService, PlatformNotificationService, PlatformWebhookService, PremiseType, PresenceStatus, PresetProvider, Priority, ProfilePermissionService, ProfileService, ProjectService, PropertiesGroupService, PropertiesTemplateService, PropertyService, PropertyTemplateService, ProviderType, ProvisioningStep, PurchaseOrderService, QueryEditorComponent, QueryExecutorService, QueryToolbarComponent, QueueAdminService, RCAMethodology, RCAStatus, RcaEventCause, RcaWorkOrderType, ReadingType, RealtimeEventService, ReasonForInspection, ReasonForIntervention, RechargeRequestService, RecordDetailComponent, RecurringEventService, RefurbishmentService, Region, RegulatoryUpdateService, RegulatoryUpdateType, ReportDefinitionFormComponent, ReportDefinitionListComponent, ReportGenerateDialogComponent, ReportStatsComponent, ReportTemplateListComponent, ReportingModule, ReportingService, ReservoirDataService, ReservoirTimeSeriesService, ReservoirWebSocketService, ResourceCategoryService, ResourceService, ResourceTopicService, ResultsGridComponent, RoleAdminService, RoleService, RoleType, RoomService, RootCauseAnalysisService, SampleType, SandboxAccessLevel, SandboxAdminService, SandboxService, SandboxStatus, ScheduledReportService, SchedulerAdminService, SearchService, SedimentManagementPlanService, SedimentRemovalOperationService, SensorService, SensorType, SiteAssessmentService, SlaBreachRecordService, SlaPolicyService, SparePartService, SsoAuthService, StockCountService, StockMovementService, SubAssemblyService, SubscriptionPlan, SubscriptionService, SubscriptionStatus, SupplierService, SurveyMethod, SyncDirection, SystemHealthService, SystemicRiskAssessmentService, TGM_SDK_CONFIG, TableDataViewerComponent, TableStructureComponent, TaskRunStatus, TermsOfUseService, TgFileService, TgFolderService, TgmApiError, TgmEntityType, TgmHttpClient, TgmSdkModule, ThresholdAlertRuleService, TicketPriority, TicketService, TicketStatus, TimeEntryService, TodoService, TotpService, TrackedEntityService, TrackedEntityType, TrackingStatus, TrainingCertificateService, TripStatus, TurbineTypeService, UnitService, UnitShutdownHistoryService, UnitStatus, UploadService, UserAdminService, UserLearningService, UserNotificationService, UserPermissionService, UserProfileService, UserService, VehicleInspectionService, VehicleInspectionType, VehicleMaintenanceService, VehicleMaintenanceType, VehicleService, VehicleStatus, VehicleTripService, VehicleType, VerificationStatus, VideoCallModule, VideoCallRestService, VideoCallSignalingService, VideoCallStateService, VideoCallStatus, VideoCallType, VideoCallWebSocketService, VideoControlsComponent, VideoParticipantComponent, VideoParticipantRole, VideoParticipantStatus, VideoRoomComponent, WarehouseService, WarehouseStockService, WarrantyClaimService, WarrantyClaimStatus, WarrantyContractService, WarrantyStatus, WarrantyType, WaterLevel, WebSocketService, WebhookAdminService, WorkOrderService, WorkOrderSourceType, WorkOrderStatus, WorkPermitCategory, WorkPermitService, WorkPermitStatus, ApprovalWorkflowService as WorkflowService, WorkflowStatus, WorkflowType, YesNo, isBulkSensorMessage, mapHttpError };
11376
+ export { AIScenarioService, AIScenarioType, ActivePermitHolder, ActivityLogService, AgentService, AiFeedbackService, AiProvider, AiService, AipAnalysisService, AipAssessmentService, AipFinancialService, AipGeographicService, AipNetworkAnalysisService, AipNetworkNodeService, AipPerformanceRecordService, AipPerformanceService, AipPlanService, AipResourceConstraintService, AipResourceService, AipRiskAnalysisService, AipScenarioService, AipSettingsService, AipWorkflowService, AlertDefinitionService, AlertService, AlertSeverity, AlertStatus, AncillaryServiceCrudService, AncillaryServiceStatus, AncillaryServiceType, AnnouncementService, AnnouncementType, AnomalyDetectionService, ApiTokenStatus, AppLanguage, ApprovalStatus, ArticleAdminService, ArticleCategoryService, ArticleService, ArticleTopicService, AssetLifecycleService, AssetLifecycleStage, AssetLifecycleStatus, AssetPhase, AuditEntryService, AuditLogService, AuthInterceptor, AuthService, BackupService, BackupStatus, BaseCrudService, BathymetricSurveyService, BestPracticeCategoryService, BestPracticeService, BidService, BudgetService, BulkOperationService, CAPAStatus, CAPAType, CacheAdminService, CalendarPlanning, CapexProjectService, CatAttachmentCategory, CatAttachmentPhase, CatAttachmentService, CatComponentType, CatDoneBy, CatEquipmentOwner, CatExecutionResultService, CatMachineCondition, CatOutageType, CatPersonnelAssignmentService, CatPlanningEquipmentItemService, CatRecommendedAction, CatSignOffRole, CatSignOffService, CatStatus, CatTestResult, CatTestTrigger, CatTrendVsPrevious, CatTypeOfTest, CatWhereDone, CertificationService, ChatMessageType, ChatRestService, ChatWebSocketService, ChecklistPeriodicity, ChecklistRunningMode, ClientAdminService, ClientApiKeyService, ClientArticleService, ClientInterceptor, ClientOcrService, ClientStatus, ClientUsageService, CmsContentTypeService, CmsDataService, CmsMenuHelper, CommunityCommentService, CommunityPostService, CompanyMaterialService, CompanyMaterialTypeService, CompanyService, ComplianceObligationService, ComplianceSubmissionService, ComplianceSubmissionStatus, ComponentCategory, ComponentChecklistGroupService, ComponentChecklistService, ComponentChecklistTemplateService, ComponentGroupService, ComponentInfoCategory, ComponentInfoService, ComponentInfoStatus, ComponentInfoType, ComponentLocationService, ComponentService, ComponentType, ConditionAssessmentTestService, ConversationType, CorrectiveActionService, CortexEventService, CortexInsightService, CortexNodeService, CortexService, CostAllocation, CountryService, CurtailmentEventService, CurtailmentStatus, CurtailmentType, CustomFieldDefinitionService, CustomFieldService, CustomFieldType, CustomFormService, CustomService, DEFAULT_EXCLUDED_ENTITIES, DashboardService, DataExportService, DatabaseManagerComponent, DatabaseManagerModule, DeferralConstraintRuleService, DeferralDecisionService, DeferralEvaluationService, DepartmentService, DeploymentType, DepreciationMethod, DeviceGatewayService, DiagnosticReportService, DigitalTwinService, DocumentAdminService, DrawingCategoryService, DrawingService, DriverService, DriverStatus, DynamicCrudService, ENTITY_REGISTRY, ENTITY_SERVICE_MAP, ElevationStorageCurveService, EmailAdminService, EmailProviderAdminService, EmailProviderType, EnergyAnalyticsService, EnergyProductionService, EnergySourceType, EntityCommentService, EntitySchemaService, EnvironmentalPermitService, ErpAdminService, ErpAuthType, ErpType, EventNature, EventService, ExportButtonComponent, ExportService, ExtensionEventType, ExtensionService, ExtensionStatus, FailureActionService, FailureCauseService, FailureImpact, FailureLikelihood, FailureRiskLevel, FailureService, FaqCategoryService, FaqService, FeedbackService, FilterParams, FishMonitoringService, FishboneCategory, FontService, FormCategoryService, FormService, FuelRecordService, FuelType, GateControlService, GateControlType, GateSystemService, GateType, GeneratedReportListComponent, GeofenceEventService, GeofenceEventType, GeofenceService, GeofenceType, GoodsReceiptService, GpsLocationService, GridConnectionService, GridConnectionStatus, IdentityProviderAdminService, ImpersonationService, InMemoryTokenStorage, InactiveComponentService, IncidentCategory, IncidentService, IncidentType, IncomingCallComponent, InspectionComponentService, InspectionLevel, InspectionNature, InspectionService, InspectionType, InterventionRequestService, InterventionRequestStatus, InterventionService, InvestmentOptionService, JobTitleService, JsaItemService, JsaStepService, KpiEventService, LOTOBoxStatus, LOTOBoxType, LOTOLockRole, LOTOLockStatus, LOTOLockType, LOTOOverallStatus, LaboratoryResultService, LayoutType, LearningModuleCategoryService, LessonLearnedOrigin, LessonLearnedService, LessonLearnedStatus, LicenseService, LivekitRoomService, LocationService, LogService, LoginHistoryService, LoginRequestService, MODULE_LABELS, MaintenanceJsaService, MaintenancePlanService, MaintenanceRecordService, MaintenanceStatus, MaintenanceType, ManualReadingService, MaterialCategoryService, MaterialConsumableCategoryService, MaterialConsumableHistoryService, MaterialConsumableService, MaterialInstrumentHistoryService, MaterialInstrumentService, MaterialItemHistoryService, MaterialItemService, MaterialToolingCategoryService, MaterialToolingHistoryService, MaterialToolingService, MeasurementService, MeasurementUnitService, MeasurementUnitSystem, MessageChannel, MessageService, MessagingProviderAdminService, MessagingProviderType, MeteringParameterStatus, MeteringParameterSubType, MeteringParameterType, MiHistoryService, MiRequestService, MigrationStatus, ModelFileService, ModelService, ModuleLearningService, ModuleService, ModuleVideoService, MonitoringLocationType, MonitoringMethod, NoteService, ObjectBrowserComponent, ObligationFrequency, ObligationStatus, ObligationType, ObservationCategory, ObservationSeverity, OcrProcessingStatus, OperatingEventService, OperatingMode, OperationalObservationService, OutageEventService, OutageResourceService, OutageStatus, OutageType, PC2PermitSubType, ParticipantRole, Periodicity, PermissionService, PermitOrigin, PermitStatus, PermitType, PlantDataService, PlantSize, PlantStatus, PlatformAdminRole, PlatformAdminService, PlatformAuthService, PlatformNotificationService, PlatformWebhookService, PremiseType, PresenceStatus, PresetProvider, Priority, ProfilePermissionService, ProfileService, ProjectService, PropertiesGroupService, PropertiesTemplateService, PropertyService, PropertyTemplateService, ProviderType, ProvisioningStep, PurchaseOrderService, QueryEditorComponent, QueryExecutorService, QueryToolbarComponent, QueueAdminService, RCAMethodology, RCAStatus, RcaEventCause, RcaWorkOrderType, ReadingType, RealtimeEventService, ReasonForInspection, ReasonForIntervention, RechargeRequestService, RecordDetailComponent, RecurringEventService, RefurbishmentService, Region, RegulatoryUpdateService, RegulatoryUpdateType, ReportDefinitionFormComponent, ReportDefinitionListComponent, ReportGenerateDialogComponent, ReportStatsComponent, ReportTemplateListComponent, ReportingModule, ReportingService, ReservoirDataService, ReservoirTimeSeriesService, ReservoirWebSocketService, ResourceCategoryService, ResourceService, ResourceTopicService, ResultsGridComponent, RoleAdminService, RoleService, RoleType, RoomService, RootCauseAnalysisService, SampleType, SandboxAccessLevel, SandboxAdminService, SandboxService, SandboxStatus, ScheduledReportService, SchedulerAdminService, SearchService, SedimentManagementPlanService, SedimentRemovalOperationService, SensorService, SensorType, SiteAssessmentService, SlaBreachRecordService, SlaPolicyService, SparePartService, SsoAuthService, StockCountService, StockMovementService, SubAssemblyService, SubscriptionPlan, SubscriptionService, SubscriptionStatus, SupplierService, SurveyMethod, SyncDirection, SystemHealthService, SystemicRiskAssessmentService, TGM_SDK_CONFIG, TableDataViewerComponent, TableStructureComponent, TaskRunStatus, TermsOfUseService, TgFileService, TgFolderService, TgmApiError, TgmEntityType, TgmHttpClient, TgmSdkModule, ThresholdAlertRuleService, TicketPriority, TicketService, TicketStatus, TimeEntryService, TodoService, TotpService, TrackedEntityService, TrackedEntityType, TrackingStatus, TrainingCertificateService, TripStatus, TurbineTypeService, UnitService, UnitShutdownHistoryService, UnitStatus, UploadService, UserAdminService, UserLearningService, UserNotificationService, UserPermissionService, UserProfileService, UserService, VehicleInspectionService, VehicleInspectionType, VehicleMaintenanceService, VehicleMaintenanceType, VehicleService, VehicleStatus, VehicleTripService, VehicleType, VerificationStatus, VideoCallModule, VideoCallRestService, VideoCallSignalingService, VideoCallStateService, VideoCallStatus, VideoCallType, VideoCallWebSocketService, VideoControlsComponent, VideoParticipantComponent, VideoParticipantRole, VideoParticipantStatus, VideoRoomComponent, WarehouseService, WarehouseStockService, WarrantyClaimService, WarrantyClaimStatus, WarrantyContractService, WarrantyStatus, WarrantyType, WaterLevel, WebSocketService, WebhookAdminService, WorkOrderService, WorkOrderSourceType, WorkOrderStatus, WorkPermitCategory, WorkPermitService, WorkPermitStatus, ApprovalWorkflowService as WorkflowService, WorkflowStatus, WorkflowType, YesNo, isBulkSensorMessage, mapHttpError };
11067
11377
  //# sourceMappingURL=en-solutions-tgm-client-sdk.mjs.map