@ignos/api-client 20260602.144.1 → 20260605.146.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,6 +1,6 @@
1
1
  export declare class AuthorizedApiBase {
2
2
  private readonly config;
3
- protected constructor(config: IAccessTokenProvider);
3
+ protected constructor(config: IApiClientConfig);
4
4
  protected transformOptions: (options: any) => Promise<any>;
5
5
  protected jsonParseReviver: (_: any, value: any) => any;
6
6
  }
@@ -10,7 +10,7 @@ export interface IAzureRegionsClient {
10
10
  export declare class AzureRegionsClient extends AuthorizedApiBase implements IAzureRegionsClient {
11
11
  private http;
12
12
  private baseUrl;
13
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
13
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
14
14
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
15
15
  });
16
16
  listAzureRegions(): Promise<AzureRegionDto[]>;
@@ -22,7 +22,7 @@ export interface ICountriesClient {
22
22
  export declare class CountriesClient extends AuthorizedApiBase implements ICountriesClient {
23
23
  private http;
24
24
  private baseUrl;
25
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
25
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
26
26
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
27
27
  });
28
28
  listCountries(): Promise<CountryDto[]>;
@@ -72,7 +72,7 @@ export interface ICustomersClient {
72
72
  export declare class CustomersClient extends AuthorizedApiBase implements ICustomersClient {
73
73
  private http;
74
74
  private baseUrl;
75
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
75
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
76
76
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
77
77
  });
78
78
  getCurrentCustomer(): Promise<CurrentCustomerDto>;
@@ -131,7 +131,7 @@ export interface IGuestsClient {
131
131
  export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
132
132
  private http;
133
133
  private baseUrl;
134
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
134
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
135
135
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
136
136
  });
137
137
  getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
@@ -143,7 +143,7 @@ export interface IPresentationClient {
143
143
  export declare class PresentationClient extends AuthorizedApiBase implements IPresentationClient {
144
144
  private http;
145
145
  private baseUrl;
146
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
146
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
147
147
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
148
148
  });
149
149
  getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
@@ -172,7 +172,7 @@ export interface ISpatialClient {
172
172
  export declare class SpatialClient extends AuthorizedApiBase implements ISpatialClient {
173
173
  private http;
174
174
  private baseUrl;
175
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
175
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
176
176
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
177
177
  });
178
178
  listBuildingFloors(floor: string | null | undefined): Promise<BuildingFloorDto[]>;
@@ -244,7 +244,7 @@ export interface IMachineUtilizationClient {
244
244
  export declare class MachineUtilizationClient extends AuthorizedApiBase implements IMachineUtilizationClient {
245
245
  private http;
246
246
  private baseUrl;
247
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
247
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
248
248
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
249
249
  });
250
250
  /**
@@ -311,7 +311,7 @@ export interface IResourceUtilizationClient {
311
311
  export declare class ResourceUtilizationClient extends AuthorizedApiBase implements IResourceUtilizationClient {
312
312
  private http;
313
313
  private baseUrl;
314
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
314
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
315
315
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
316
316
  });
317
317
  /**
@@ -357,7 +357,7 @@ export interface IMeClient {
357
357
  export declare class MeClient extends AuthorizedApiBase implements IMeClient {
358
358
  private http;
359
359
  private baseUrl;
360
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
360
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
361
361
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
362
362
  });
363
363
  getMyApps(): Promise<UserAppDto[]>;
@@ -383,7 +383,7 @@ export interface IUsersClient {
383
383
  export declare class UsersClient extends AuthorizedApiBase implements IUsersClient {
384
384
  private http;
385
385
  private baseUrl;
386
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
386
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
387
387
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
388
388
  });
389
389
  listUsers(pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfUserDto>;
@@ -404,7 +404,7 @@ export interface IUserAppSettingsClient {
404
404
  export declare class UserAppSettingsClient extends AuthorizedApiBase implements IUserAppSettingsClient {
405
405
  private http;
406
406
  private baseUrl;
407
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
407
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
408
408
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
409
409
  });
410
410
  getRouteCardUserSettings(): Promise<RouteCardAppSettings>;
@@ -427,7 +427,7 @@ export interface IUploadClient {
427
427
  export declare class UploadClient extends AuthorizedApiBase implements IUploadClient {
428
428
  private http;
429
429
  private baseUrl;
430
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
430
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
431
431
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
432
432
  });
433
433
  createUploadInfo(): Promise<UploadInfoDto>;
@@ -441,7 +441,7 @@ export interface ISystemHealthDashboardClient {
441
441
  export declare class SystemHealthDashboardClient extends AuthorizedApiBase implements ISystemHealthDashboardClient {
442
442
  private http;
443
443
  private baseUrl;
444
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
444
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
445
445
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
446
446
  });
447
447
  getMachineDataHealth(assetId: number | null | undefined): Promise<DataHealthDto>;
@@ -453,7 +453,7 @@ export interface IPowerClient {
453
453
  export declare class PowerClient extends AuthorizedApiBase implements IPowerClient {
454
454
  private http;
455
455
  private baseUrl;
456
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
456
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
457
457
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
458
458
  });
459
459
  listPowerRegions(country: string | null | undefined): Promise<PowerRegionDto[]>;
@@ -471,7 +471,7 @@ export interface ISustainabilityClient {
471
471
  export declare class SustainabilityClient extends AuthorizedApiBase implements ISustainabilityClient {
472
472
  private http;
473
473
  private baseUrl;
474
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
474
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
475
475
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
476
476
  });
477
477
  test(): Promise<string>;
@@ -500,7 +500,7 @@ export interface IMachineAlarmsClient {
500
500
  export declare class MachineAlarmsClient extends AuthorizedApiBase implements IMachineAlarmsClient {
501
501
  private http;
502
502
  private baseUrl;
503
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
503
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
504
504
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
505
505
  });
506
506
  listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
@@ -530,7 +530,7 @@ export interface IDowntimeReasonsAdminResourceClient {
530
530
  export declare class DowntimeReasonsAdminResourceClient extends AuthorizedApiBase implements IDowntimeReasonsAdminResourceClient {
531
531
  private http;
532
532
  private baseUrl;
533
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
533
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
534
534
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
535
535
  });
536
536
  listDowntimeReasons(): Promise<DowntimeReasonResourceDto[]>;
@@ -567,7 +567,7 @@ export interface IDowntimeReasonsResourceClient {
567
567
  export declare class DowntimeReasonsResourceClient extends AuthorizedApiBase implements IDowntimeReasonsResourceClient {
568
568
  private http;
569
569
  private baseUrl;
570
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
570
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
571
571
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
572
572
  });
573
573
  createDowntimePeriodReason(request: CreateDowntimePeriodReason): Promise<DowntimePeriodReasonDto>;
@@ -612,7 +612,7 @@ export interface IKpiAdminResourceClient {
612
612
  export declare class KpiAdminResourceClient extends AuthorizedApiBase implements IKpiAdminResourceClient {
613
613
  private http;
614
614
  private baseUrl;
615
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
615
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
616
616
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
617
617
  });
618
618
  getResourceCapacityAdmin(): Promise<ResourceGroupCapacityDto[]>;
@@ -656,7 +656,7 @@ export interface IKpiResourceClient {
656
656
  export declare class KpiResourceClient extends AuthorizedApiBase implements IKpiResourceClient {
657
657
  private http;
658
658
  private baseUrl;
659
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
659
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
660
660
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
661
661
  });
662
662
  getResourceKpi(resourceExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<ResourceKpiDto>;
@@ -696,7 +696,7 @@ export interface IResourcesClient {
696
696
  export declare class ResourcesClient extends AuthorizedApiBase implements IResourcesClient {
697
697
  private http;
698
698
  private baseUrl;
699
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
699
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
700
700
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
701
701
  });
702
702
  listResources(onlyConnectedResources: boolean | undefined): Promise<ApplicationResourcesResourceDto[]>;
@@ -762,7 +762,7 @@ export interface IPulseClient {
762
762
  export declare class PulseClient extends AuthorizedApiBase implements IPulseClient {
763
763
  private http;
764
764
  private baseUrl;
765
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
765
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
766
766
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
767
767
  });
768
768
  /**
@@ -818,7 +818,7 @@ export interface IUtilizationClient {
818
818
  export declare class UtilizationClient extends AuthorizedApiBase implements IUtilizationClient {
819
819
  private http;
820
820
  private baseUrl;
821
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
821
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
822
822
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
823
823
  });
824
824
  getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto>;
@@ -926,7 +926,7 @@ export interface IMrbClient {
926
926
  export declare class MrbClient extends AuthorizedApiBase implements IMrbClient {
927
927
  private http;
928
928
  private baseUrl;
929
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
929
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
930
930
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
931
931
  });
932
932
  listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
@@ -1038,7 +1038,7 @@ export interface ITraceClient {
1038
1038
  export declare class TraceClient extends AuthorizedApiBase implements ITraceClient {
1039
1039
  private http;
1040
1040
  private baseUrl;
1041
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1041
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1042
1042
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1043
1043
  });
1044
1044
  getTrace(id: string): Promise<TraceDto>;
@@ -1087,6 +1087,7 @@ export interface IMeasuringToolsClient {
1087
1087
  createMeasuringToolSubType(typeId: string, request: CreateMeasuringToolSubTypeRequest): Promise<MeasuringToolSubTypeDto>;
1088
1088
  updateMeasuringToolSubType(typeId: string, id: string, request: UpdateMeasuringToolSubTypeRequest): Promise<MeasuringToolSubTypeDto>;
1089
1089
  deleteMeasuringToolSubType(typeId: string, id: string): Promise<void>;
1090
+ seedTypesAndSubTypes(): Promise<void>;
1090
1091
  listMeasuringUnits(): Promise<MeasuringUnitDto[]>;
1091
1092
  createMeasuringUnit(request: CreateMeasuringUnit): Promise<MeasuringUnitDto>;
1092
1093
  deleteMeasuringUnit(id: string): Promise<void>;
@@ -1110,7 +1111,7 @@ export interface IMeasuringToolsClient {
1110
1111
  export declare class MeasuringToolsClient extends AuthorizedApiBase implements IMeasuringToolsClient {
1111
1112
  private http;
1112
1113
  private baseUrl;
1113
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1114
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1114
1115
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1115
1116
  });
1116
1117
  listMeasuringTools(page: number | undefined, pageSize: number | undefined, toolId: string | null | undefined, toolName: string | null | undefined, typeId: string | null | undefined, subTypeId: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined, includeDeprecated: boolean | null | undefined): Promise<PagedDataOfMeasuringToolDto>;
@@ -1149,6 +1150,8 @@ export declare class MeasuringToolsClient extends AuthorizedApiBase implements I
1149
1150
  protected processUpdateMeasuringToolSubType(response: Response): Promise<MeasuringToolSubTypeDto>;
1150
1151
  deleteMeasuringToolSubType(typeId: string, id: string): Promise<void>;
1151
1152
  protected processDeleteMeasuringToolSubType(response: Response): Promise<void>;
1153
+ seedTypesAndSubTypes(): Promise<void>;
1154
+ protected processSeedTypesAndSubTypes(response: Response): Promise<void>;
1152
1155
  listMeasuringUnits(): Promise<MeasuringUnitDto[]>;
1153
1156
  protected processListMeasuringUnits(response: Response): Promise<MeasuringUnitDto[]>;
1154
1157
  createMeasuringUnit(request: CreateMeasuringUnit): Promise<MeasuringUnitDto>;
@@ -1198,7 +1201,7 @@ export interface IDowntimeReasonsAdminClient {
1198
1201
  export declare class DowntimeReasonsAdminClient extends AuthorizedApiBase implements IDowntimeReasonsAdminClient {
1199
1202
  private http;
1200
1203
  private baseUrl;
1201
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1204
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1202
1205
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1203
1206
  });
1204
1207
  listDowntimeReasons(): Promise<DowntimeReasonDto[]>;
@@ -1235,7 +1238,7 @@ export interface IDowntimeReasonsClient {
1235
1238
  export declare class DowntimeReasonsClient extends AuthorizedApiBase implements IDowntimeReasonsClient {
1236
1239
  private http;
1237
1240
  private baseUrl;
1238
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1241
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1239
1242
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1240
1243
  });
1241
1244
  createDowntimePeriodReason(request: CreateDowntimePeriodReason): Promise<DowntimePeriodReasonDto>;
@@ -1270,7 +1273,7 @@ export interface IKpiAdminClient {
1270
1273
  export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient {
1271
1274
  private http;
1272
1275
  private baseUrl;
1273
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1276
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1274
1277
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1275
1278
  });
1276
1279
  getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
@@ -1294,7 +1297,7 @@ export interface IKpiClient {
1294
1297
  export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
1295
1298
  private http;
1296
1299
  private baseUrl;
1297
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1300
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1298
1301
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1299
1302
  });
1300
1303
  getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
@@ -1335,7 +1338,7 @@ export interface IMachinesClient {
1335
1338
  export declare class MachinesClient extends AuthorizedApiBase implements IMachinesClient {
1336
1339
  private http;
1337
1340
  private baseUrl;
1338
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1341
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1339
1342
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1340
1343
  });
1341
1344
  listMachines(onlyConnectedMachines: boolean | undefined): Promise<MachineDto[]>;
@@ -1395,7 +1398,7 @@ export interface ILinksClient {
1395
1398
  export declare class LinksClient extends AuthorizedApiBase implements ILinksClient {
1396
1399
  private http;
1397
1400
  private baseUrl;
1398
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1401
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1399
1402
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1400
1403
  });
1401
1404
  getAllLinks(scope: string | null | undefined): Promise<LinkDto[]>;
@@ -1413,7 +1416,7 @@ export interface IExternalServicesClient {
1413
1416
  export declare class ExternalServicesClient extends AuthorizedApiBase implements IExternalServicesClient {
1414
1417
  private http;
1415
1418
  private baseUrl;
1416
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1419
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1417
1420
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1418
1421
  });
1419
1422
  getCredential(serviceName: ExternalServiceName): Promise<ExternalServiceCredentialDto>;
@@ -1433,7 +1436,7 @@ export interface IDocumentsClient {
1433
1436
  export declare class DocumentsClient extends AuthorizedApiBase implements IDocumentsClient {
1434
1437
  private http;
1435
1438
  private baseUrl;
1436
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1439
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1437
1440
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1438
1441
  });
1439
1442
  /**
@@ -1467,7 +1470,7 @@ export interface IDocumentTypesClient {
1467
1470
  export declare class DocumentTypesClient extends AuthorizedApiBase implements IDocumentTypesClient {
1468
1471
  private http;
1469
1472
  private baseUrl;
1470
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1473
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1471
1474
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1472
1475
  });
1473
1476
  listDocumentTypes(includeInactive: boolean | undefined): Promise<DocumentTypeDto[]>;
@@ -1508,7 +1511,7 @@ export interface IExternalAccessClient {
1508
1511
  export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
1509
1512
  private http;
1510
1513
  private baseUrl;
1511
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1514
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1512
1515
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1513
1516
  });
1514
1517
  listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
@@ -1534,7 +1537,7 @@ export interface IExternalClient {
1534
1537
  export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
1535
1538
  private http;
1536
1539
  private baseUrl;
1537
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1540
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1538
1541
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1539
1542
  });
1540
1543
  listInvites(): Promise<InviteDto[]>;
@@ -1563,7 +1566,7 @@ export interface ISuppliersClient {
1563
1566
  export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
1564
1567
  private http;
1565
1568
  private baseUrl;
1566
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1569
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1567
1570
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1568
1571
  });
1569
1572
  listSupplierInvites(): Promise<SupplierInviteDto[]>;
@@ -1601,7 +1604,7 @@ export interface ICncFileTransferClient {
1601
1604
  export declare class CncFileTransferClient extends AuthorizedApiBase implements ICncFileTransferClient {
1602
1605
  private http;
1603
1606
  private baseUrl;
1604
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1607
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1605
1608
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1606
1609
  });
1607
1610
  startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
@@ -1627,7 +1630,7 @@ export interface ICncSetupAgentClient {
1627
1630
  export declare class CncSetupAgentClient extends AuthorizedApiBase implements ICncSetupAgentClient {
1628
1631
  private http;
1629
1632
  private baseUrl;
1630
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1633
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1631
1634
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1632
1635
  });
1633
1636
  getCncAgentConfig(agentId: string | null | undefined, agentVersion: string | null | undefined): Promise<AgentConfigDto>;
@@ -1699,7 +1702,7 @@ export interface ICncSetupClient {
1699
1702
  export declare class CncSetupClient extends AuthorizedApiBase implements ICncSetupClient {
1700
1703
  private http;
1701
1704
  private baseUrl;
1702
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1705
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1703
1706
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1704
1707
  });
1705
1708
  getCncMachine(id: string): Promise<CncMachineDto>;
@@ -1837,7 +1840,7 @@ export interface ICncSetupFixturesClient {
1837
1840
  export declare class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSetupFixturesClient {
1838
1841
  private http;
1839
1842
  private baseUrl;
1840
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1843
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1841
1844
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1842
1845
  });
1843
1846
  listFixtures(request: ListFixtures): Promise<FixtureListDto>;
@@ -1895,7 +1898,7 @@ export interface IOperatorCalculatorsClient {
1895
1898
  export declare class OperatorCalculatorsClient extends AuthorizedApiBase implements IOperatorCalculatorsClient {
1896
1899
  private http;
1897
1900
  private baseUrl;
1898
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1901
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1899
1902
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1900
1903
  });
1901
1904
  /**
@@ -1937,7 +1940,7 @@ export interface IAssetsClient {
1937
1940
  export declare class AssetsClient extends AuthorizedApiBase implements IAssetsClient {
1938
1941
  private http;
1939
1942
  private baseUrl;
1940
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1943
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1941
1944
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1942
1945
  });
1943
1946
  listAssets(externalIdprefix: string | null | undefined, name: string | null | undefined, source: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfAssetDto>;
@@ -1969,7 +1972,7 @@ export interface IAlertsClient {
1969
1972
  export declare class AlertsClient extends AuthorizedApiBase implements IAlertsClient {
1970
1973
  private http;
1971
1974
  private baseUrl;
1972
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1975
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1973
1976
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1974
1977
  });
1975
1978
  alertNotificationAccess(): Promise<AlertNotificationAccessDto>;
@@ -1993,7 +1996,7 @@ export interface ICredentialsClient {
1993
1996
  export declare class CredentialsClient extends AuthorizedApiBase implements ICredentialsClient {
1994
1997
  private http;
1995
1998
  private baseUrl;
1996
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1999
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1997
2000
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1998
2001
  });
1999
2002
  listIntegrationCredentials(): Promise<IntegrationCredentialDto[]>;
@@ -2016,7 +2019,7 @@ export interface ICdfClient {
2016
2019
  export declare class CdfClient extends AuthorizedApiBase implements ICdfClient {
2017
2020
  private http;
2018
2021
  private baseUrl;
2019
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2022
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2020
2023
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2021
2024
  });
2022
2025
  /**
@@ -2038,7 +2041,7 @@ export interface IWorkspaceDefaultsAdminClient {
2038
2041
  export declare class WorkspaceDefaultsAdminClient extends AuthorizedApiBase implements IWorkspaceDefaultsAdminClient {
2039
2042
  private http;
2040
2043
  private baseUrl;
2041
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2044
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2042
2045
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2043
2046
  });
2044
2047
  getDefaults(): Promise<WorkspaceDefaultsDto>;
@@ -2063,7 +2066,7 @@ export interface IWorkspacesClient {
2063
2066
  export declare class WorkspacesClient extends AuthorizedApiBase implements IWorkspacesClient {
2064
2067
  private http;
2065
2068
  private baseUrl;
2066
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2069
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2067
2070
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2068
2071
  });
2069
2072
  getMyWorkspaces(): Promise<WorkspaceListDto[]>;
@@ -2099,7 +2102,7 @@ export interface IWorkspaceTemplatesAdminClient {
2099
2102
  export declare class WorkspaceTemplatesAdminClient extends AuthorizedApiBase implements IWorkspaceTemplatesAdminClient {
2100
2103
  private http;
2101
2104
  private baseUrl;
2102
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2105
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2103
2106
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2104
2107
  });
2105
2108
  createWorkspaceTemplate(createWorkspaceTemplate: CreateWorkspaceTemplate): Promise<WorkspaceDto>;
@@ -2123,7 +2126,7 @@ export interface IWorkspaceTemplatesClient {
2123
2126
  export declare class WorkspaceTemplatesClient extends AuthorizedApiBase implements IWorkspaceTemplatesClient {
2124
2127
  private http;
2125
2128
  private baseUrl;
2126
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2129
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2127
2130
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2128
2131
  });
2129
2132
  getWorkspaceTemplates(): Promise<WorkspaceListDto[]>;
@@ -2144,7 +2147,7 @@ export interface IMoveBookingClient {
2144
2147
  export declare class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
2145
2148
  private http;
2146
2149
  private baseUrl;
2147
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2150
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2148
2151
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2149
2152
  });
2150
2153
  listBookings(request: BookingRequestListDto): Promise<BookingListDto>;
@@ -2178,7 +2181,7 @@ export interface IMoveInfoscreenClient {
2178
2181
  export declare class MoveInfoscreenClient extends AuthorizedApiBase implements IMoveInfoscreenClient {
2179
2182
  private http;
2180
2183
  private baseUrl;
2181
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2184
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2182
2185
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2183
2186
  });
2184
2187
  listInfoscreens(): Promise<MoveInfoscreenDto[]>;
@@ -2203,7 +2206,7 @@ export interface IMoveLocationsClient {
2203
2206
  export declare class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
2204
2207
  private http;
2205
2208
  private baseUrl;
2206
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2209
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2207
2210
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2208
2211
  });
2209
2212
  listLocations(includeAllLocations: boolean | null | undefined): Promise<LocationZoneGroupDto[]>;
@@ -2233,7 +2236,7 @@ export interface IMoveMaterialsClient {
2233
2236
  export declare class MoveMaterialsClient extends AuthorizedApiBase implements IMoveMaterialsClient {
2234
2237
  private http;
2235
2238
  private baseUrl;
2236
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2239
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2237
2240
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2238
2241
  });
2239
2242
  listMaterials(): Promise<MaterialDesciptionDto[]>;
@@ -2258,7 +2261,7 @@ export interface IMoveNotificationsClient {
2258
2261
  export declare class MoveNotificationsClient extends AuthorizedApiBase implements IMoveNotificationsClient {
2259
2262
  private http;
2260
2263
  private baseUrl;
2261
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2264
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2262
2265
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2263
2266
  });
2264
2267
  getNotifications(): Promise<MoveSubscriptionDto>;
@@ -2272,7 +2275,7 @@ export interface IMoveParcelsClient {
2272
2275
  export declare class MoveParcelsClient extends AuthorizedApiBase implements IMoveParcelsClient {
2273
2276
  private http;
2274
2277
  private baseUrl;
2275
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2278
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2276
2279
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2277
2280
  });
2278
2281
  searchParcels(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
@@ -2292,7 +2295,7 @@ export interface IMoveTrackingClient {
2292
2295
  export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
2293
2296
  private http;
2294
2297
  private baseUrl;
2295
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2298
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2296
2299
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2297
2300
  });
2298
2301
  listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingParcelListDto>;
@@ -2325,7 +2328,7 @@ export interface IParcelCategoryClient {
2325
2328
  export declare class ParcelCategoryClient extends AuthorizedApiBase implements IParcelCategoryClient {
2326
2329
  private http;
2327
2330
  private baseUrl;
2328
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2331
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2329
2332
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2330
2333
  });
2331
2334
  getSettings(): Promise<ParcelCategorySettingsDto>;
@@ -2347,7 +2350,7 @@ export interface IInventoryClient {
2347
2350
  export declare class InventoryClient extends AuthorizedApiBase implements IInventoryClient {
2348
2351
  private http;
2349
2352
  private baseUrl;
2350
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2353
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2351
2354
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2352
2355
  });
2353
2356
  listVendorBatches(request: ListVendorBatches): Promise<VendorBatchLookupDto[]>;
@@ -2359,7 +2362,7 @@ export interface IMesClient {
2359
2362
  export declare class MesClient extends AuthorizedApiBase implements IMesClient {
2360
2363
  private http;
2361
2364
  private baseUrl;
2362
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2365
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2363
2366
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2364
2367
  });
2365
2368
  getWorkerDetailsForCurrentUser(): Promise<WorkerDto>;
@@ -2371,7 +2374,7 @@ export interface IMesDocumentsClient {
2371
2374
  export declare class MesDocumentsClient extends AuthorizedApiBase implements IMesDocumentsClient {
2372
2375
  private http;
2373
2376
  private baseUrl;
2374
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2377
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2375
2378
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2376
2379
  });
2377
2380
  getDocument(drawingNumber: string, id: string): Promise<DocumentLinkDto>;
@@ -2384,7 +2387,7 @@ export interface IMesEngineeringChangeOrdersClient {
2384
2387
  export declare class MesEngineeringChangeOrdersClient extends AuthorizedApiBase implements IMesEngineeringChangeOrdersClient {
2385
2388
  private http;
2386
2389
  private baseUrl;
2387
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2390
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2388
2391
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2389
2392
  });
2390
2393
  getEngineeringChangeOrders(partNumber: string | undefined): Promise<EngineeringChangeOrderDto[]>;
@@ -2403,7 +2406,7 @@ export interface IMesLinksClient {
2403
2406
  export declare class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient {
2404
2407
  private http;
2405
2408
  private baseUrl;
2406
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2409
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2407
2410
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2408
2411
  });
2409
2412
  addMesLink(request: AddMesLink): Promise<void>;
@@ -2425,7 +2428,7 @@ export interface IMesOrMoveClient {
2425
2428
  export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClient {
2426
2429
  private http;
2427
2430
  private baseUrl;
2428
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2431
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2429
2432
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2430
2433
  });
2431
2434
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
@@ -2445,7 +2448,7 @@ export interface IMesProductionOrderClient {
2445
2448
  export declare class MesProductionOrderClient extends AuthorizedApiBase implements IMesProductionOrderClient {
2446
2449
  private http;
2447
2450
  private baseUrl;
2448
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2451
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2449
2452
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2450
2453
  });
2451
2454
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
@@ -2479,7 +2482,7 @@ export interface IMesProductionScheduleClient {
2479
2482
  export declare class MesProductionScheduleClient extends AuthorizedApiBase implements IMesProductionScheduleClient {
2480
2483
  private http;
2481
2484
  private baseUrl;
2482
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2485
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2483
2486
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2484
2487
  });
2485
2488
  listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
@@ -2504,7 +2507,7 @@ export interface IMesProjectsClient {
2504
2507
  export declare class MesProjectsClient extends AuthorizedApiBase implements IMesProjectsClient {
2505
2508
  private http;
2506
2509
  private baseUrl;
2507
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2510
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2508
2511
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2509
2512
  });
2510
2513
  listProjects(request: ListProjectsRequest): Promise<PagedResultOfWorkOrderProjectDto>;
@@ -2518,7 +2521,7 @@ export interface IMesPurchaseOrderClient {
2518
2521
  export declare class MesPurchaseOrderClient extends AuthorizedApiBase implements IMesPurchaseOrderClient {
2519
2522
  private http;
2520
2523
  private baseUrl;
2521
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2524
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2522
2525
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2523
2526
  });
2524
2527
  getPurchaseOrderDetails(purchaseOrderNumber: string, productionOrderNumber: string | undefined): Promise<PurchaseOrderDetailsDto>;
@@ -2532,7 +2535,7 @@ export interface IMesResourceClient {
2532
2535
  export declare class MesResourceClient extends AuthorizedApiBase implements IMesResourceClient {
2533
2536
  private http;
2534
2537
  private baseUrl;
2535
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2538
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2536
2539
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2537
2540
  });
2538
2541
  listResourceGroups(includeResources: boolean | undefined): Promise<ResourceGroupDto[]>;
@@ -2551,7 +2554,7 @@ export interface IElectricalClient {
2551
2554
  export declare class ElectricalClient extends AuthorizedApiBase implements IElectricalClient {
2552
2555
  private http;
2553
2556
  private baseUrl;
2554
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2557
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2555
2558
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2556
2559
  });
2557
2560
  listElectricalSourceTypes(): Promise<IotTypeSourceDto[]>;
@@ -2572,7 +2575,7 @@ export interface IWeldingClient {
2572
2575
  export declare class WeldingClient extends AuthorizedApiBase implements IWeldingClient {
2573
2576
  private http;
2574
2577
  private baseUrl;
2575
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2578
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2576
2579
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2577
2580
  });
2578
2581
  listWeldingSourceTypes(): Promise<IotTypeSourceDto[]>;
@@ -2595,7 +2598,7 @@ export interface IInspectMatchCertificateTypesAdminClient {
2595
2598
  export declare class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesAdminClient {
2596
2599
  private http;
2597
2600
  private baseUrl;
2598
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2601
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2599
2602
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2600
2603
  });
2601
2604
  createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
@@ -2618,7 +2621,7 @@ export interface IInspectMatchCertificateTypesClient {
2618
2621
  export declare class InspectMatchCertificateTypesClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesClient {
2619
2622
  private http;
2620
2623
  private baseUrl;
2621
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2624
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2622
2625
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2623
2626
  });
2624
2627
  getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
@@ -2635,7 +2638,7 @@ export interface IInspectMatchMaterialChecksAdminClient {
2635
2638
  export declare class InspectMatchMaterialChecksAdminClient extends AuthorizedApiBase implements IInspectMatchMaterialChecksAdminClient {
2636
2639
  private http;
2637
2640
  private baseUrl;
2638
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2641
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2639
2642
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2640
2643
  });
2641
2644
  updateMaterialCheckOverrides(id: string, request: ImaOverrideMaterialCheckRequestDto): Promise<ImaMaterialCheckDto>;
@@ -2656,7 +2659,7 @@ export interface IInspectMatchMaterialChecksClient {
2656
2659
  export declare class InspectMatchMaterialChecksClient extends AuthorizedApiBase implements IInspectMatchMaterialChecksClient {
2657
2660
  private http;
2658
2661
  private baseUrl;
2659
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2662
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2660
2663
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2661
2664
  });
2662
2665
  getMaterialCheck(id: string): Promise<ImaMaterialCheckDto>;
@@ -2676,7 +2679,7 @@ export interface IInspectMatchPurchaseOrderClient {
2676
2679
  export declare class InspectMatchPurchaseOrderClient extends AuthorizedApiBase implements IInspectMatchPurchaseOrderClient {
2677
2680
  private http;
2678
2681
  private baseUrl;
2679
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2682
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2680
2683
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2681
2684
  });
2682
2685
  searchPurchaseOrders(input: string | undefined): Promise<PurchaseOrderMaterialSearchResultsDto>;
@@ -2697,7 +2700,7 @@ export interface IInspectMatchSpecificationsAdminClient {
2697
2700
  export declare class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase implements IInspectMatchSpecificationsAdminClient {
2698
2701
  private http;
2699
2702
  private baseUrl;
2700
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2703
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2701
2704
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2702
2705
  });
2703
2706
  createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
@@ -2720,7 +2723,7 @@ export interface IInspectMatchSpecificationsClient {
2720
2723
  export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase implements IInspectMatchSpecificationsClient {
2721
2724
  private http;
2722
2725
  private baseUrl;
2723
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2726
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2724
2727
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2725
2728
  });
2726
2729
  getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
@@ -2799,7 +2802,7 @@ export interface IMeasurementFormSchemasAdminClient {
2799
2802
  export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase implements IMeasurementFormSchemasAdminClient {
2800
2803
  private http;
2801
2804
  private baseUrl;
2802
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2805
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2803
2806
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2804
2807
  });
2805
2808
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
@@ -2928,7 +2931,7 @@ export interface IMeasurementFormSchemasClient {
2928
2931
  export declare class MeasurementFormSchemasClient extends AuthorizedApiBase implements IMeasurementFormSchemasClient {
2929
2932
  private http;
2930
2933
  private baseUrl;
2931
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2934
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2932
2935
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2933
2936
  });
2934
2937
  getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
@@ -2947,7 +2950,7 @@ export interface IMeasurementFormSettingsClient {
2947
2950
  export declare class MeasurementFormSettingsClient extends AuthorizedApiBase implements IMeasurementFormSettingsClient {
2948
2951
  private http;
2949
2952
  private baseUrl;
2950
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2953
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2951
2954
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2952
2955
  });
2953
2956
  getMeasurementFormSettings(): Promise<InspectCompanySettingsDto>;
@@ -2967,7 +2970,7 @@ export interface IMeasurementFormsInstancesAdminClient {
2967
2970
  export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesAdminClient {
2968
2971
  private http;
2969
2972
  private baseUrl;
2970
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2973
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2971
2974
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2972
2975
  });
2973
2976
  approveMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
@@ -3006,7 +3009,7 @@ export interface IMeasurementFormsInstancesClient {
3006
3009
  export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase implements IMeasurementFormsInstancesClient {
3007
3010
  private http;
3008
3011
  private baseUrl;
3009
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3012
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3010
3013
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3011
3014
  });
3012
3015
  listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
@@ -3069,7 +3072,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
3069
3072
  export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
3070
3073
  private http;
3071
3074
  private baseUrl;
3072
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3075
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3073
3076
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3074
3077
  });
3075
3078
  createMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
@@ -3098,7 +3101,7 @@ export interface ICompaniesClient {
3098
3101
  export declare class CompaniesClient extends AuthorizedApiBase implements ICompaniesClient {
3099
3102
  private http;
3100
3103
  private baseUrl;
3101
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3104
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3102
3105
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3103
3106
  });
3104
3107
  listProductionCompanies(): Promise<ProductionCompanyDto[]>;
@@ -3134,7 +3137,7 @@ export interface ICustomerOrdersClient {
3134
3137
  export declare class CustomerOrdersClient extends AuthorizedApiBase implements ICustomerOrdersClient {
3135
3138
  private http;
3136
3139
  private baseUrl;
3137
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3140
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3138
3141
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3139
3142
  });
3140
3143
  /**
@@ -3173,7 +3176,7 @@ export interface IErpUsersClient {
3173
3176
  export declare class ErpUsersClient extends AuthorizedApiBase implements IErpUsersClient {
3174
3177
  private http;
3175
3178
  private baseUrl;
3176
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3179
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3177
3180
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3178
3181
  });
3179
3182
  listUsers(request: ListErpUsers | undefined): Promise<PagedResultOfErpUserDto>;
@@ -3186,7 +3189,7 @@ export interface IProductionPoolsClient {
3186
3189
  export declare class ProductionPoolsClient extends AuthorizedApiBase implements IProductionPoolsClient {
3187
3190
  private http;
3188
3191
  private baseUrl;
3189
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3192
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3190
3193
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3191
3194
  });
3192
3195
  listProductionPools(): Promise<ProductionPoolDto[]>;
@@ -3296,7 +3299,7 @@ export interface IWorkordersClient {
3296
3299
  export declare class WorkordersClient extends AuthorizedApiBase implements IWorkordersClient {
3297
3300
  private http;
3298
3301
  private baseUrl;
3299
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3302
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3300
3303
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3301
3304
  });
3302
3305
  /**
@@ -3445,6 +3448,7 @@ export interface CurrentCustomerDto {
3445
3448
  export interface AvailableTenantDto {
3446
3449
  tenantId?: string;
3447
3450
  name?: string | null;
3451
+ customerName?: string;
3448
3452
  environment?: TenantEnvironmentDto;
3449
3453
  isRecommended?: boolean;
3450
3454
  }
@@ -9648,3 +9652,10 @@ export declare class ApiException extends Error {
9648
9652
  export interface IAccessTokenProvider {
9649
9653
  getAccessToken: () => Promise<string>;
9650
9654
  }
9655
+ export interface ITenantIdProvider {
9656
+ getTenantId: () => string | null;
9657
+ }
9658
+ export interface IApiClientConfig {
9659
+ accessTokenProvider: IAccessTokenProvider;
9660
+ tenantIdProvider: ITenantIdProvider;
9661
+ }