@ignos/api-client 20260602.144.1 → 20260604.145.1-alpha

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>;
@@ -1110,7 +1110,7 @@ export interface IMeasuringToolsClient {
1110
1110
  export declare class MeasuringToolsClient extends AuthorizedApiBase implements IMeasuringToolsClient {
1111
1111
  private http;
1112
1112
  private baseUrl;
1113
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1113
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1114
1114
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1115
1115
  });
1116
1116
  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>;
@@ -1198,7 +1198,7 @@ export interface IDowntimeReasonsAdminClient {
1198
1198
  export declare class DowntimeReasonsAdminClient extends AuthorizedApiBase implements IDowntimeReasonsAdminClient {
1199
1199
  private http;
1200
1200
  private baseUrl;
1201
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1201
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1202
1202
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1203
1203
  });
1204
1204
  listDowntimeReasons(): Promise<DowntimeReasonDto[]>;
@@ -1235,7 +1235,7 @@ export interface IDowntimeReasonsClient {
1235
1235
  export declare class DowntimeReasonsClient extends AuthorizedApiBase implements IDowntimeReasonsClient {
1236
1236
  private http;
1237
1237
  private baseUrl;
1238
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1238
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1239
1239
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1240
1240
  });
1241
1241
  createDowntimePeriodReason(request: CreateDowntimePeriodReason): Promise<DowntimePeriodReasonDto>;
@@ -1270,7 +1270,7 @@ export interface IKpiAdminClient {
1270
1270
  export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient {
1271
1271
  private http;
1272
1272
  private baseUrl;
1273
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1273
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1274
1274
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1275
1275
  });
1276
1276
  getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
@@ -1294,7 +1294,7 @@ export interface IKpiClient {
1294
1294
  export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
1295
1295
  private http;
1296
1296
  private baseUrl;
1297
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1297
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1298
1298
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1299
1299
  });
1300
1300
  getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
@@ -1335,7 +1335,7 @@ export interface IMachinesClient {
1335
1335
  export declare class MachinesClient extends AuthorizedApiBase implements IMachinesClient {
1336
1336
  private http;
1337
1337
  private baseUrl;
1338
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1338
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1339
1339
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1340
1340
  });
1341
1341
  listMachines(onlyConnectedMachines: boolean | undefined): Promise<MachineDto[]>;
@@ -1395,7 +1395,7 @@ export interface ILinksClient {
1395
1395
  export declare class LinksClient extends AuthorizedApiBase implements ILinksClient {
1396
1396
  private http;
1397
1397
  private baseUrl;
1398
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1398
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1399
1399
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1400
1400
  });
1401
1401
  getAllLinks(scope: string | null | undefined): Promise<LinkDto[]>;
@@ -1413,7 +1413,7 @@ export interface IExternalServicesClient {
1413
1413
  export declare class ExternalServicesClient extends AuthorizedApiBase implements IExternalServicesClient {
1414
1414
  private http;
1415
1415
  private baseUrl;
1416
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1416
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1417
1417
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1418
1418
  });
1419
1419
  getCredential(serviceName: ExternalServiceName): Promise<ExternalServiceCredentialDto>;
@@ -1433,7 +1433,7 @@ export interface IDocumentsClient {
1433
1433
  export declare class DocumentsClient extends AuthorizedApiBase implements IDocumentsClient {
1434
1434
  private http;
1435
1435
  private baseUrl;
1436
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1436
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1437
1437
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1438
1438
  });
1439
1439
  /**
@@ -1467,7 +1467,7 @@ export interface IDocumentTypesClient {
1467
1467
  export declare class DocumentTypesClient extends AuthorizedApiBase implements IDocumentTypesClient {
1468
1468
  private http;
1469
1469
  private baseUrl;
1470
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1470
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1471
1471
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1472
1472
  });
1473
1473
  listDocumentTypes(includeInactive: boolean | undefined): Promise<DocumentTypeDto[]>;
@@ -1508,7 +1508,7 @@ export interface IExternalAccessClient {
1508
1508
  export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
1509
1509
  private http;
1510
1510
  private baseUrl;
1511
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1511
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1512
1512
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1513
1513
  });
1514
1514
  listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
@@ -1534,7 +1534,7 @@ export interface IExternalClient {
1534
1534
  export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
1535
1535
  private http;
1536
1536
  private baseUrl;
1537
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1537
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1538
1538
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1539
1539
  });
1540
1540
  listInvites(): Promise<InviteDto[]>;
@@ -1563,7 +1563,7 @@ export interface ISuppliersClient {
1563
1563
  export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
1564
1564
  private http;
1565
1565
  private baseUrl;
1566
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1566
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1567
1567
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1568
1568
  });
1569
1569
  listSupplierInvites(): Promise<SupplierInviteDto[]>;
@@ -1601,7 +1601,7 @@ export interface ICncFileTransferClient {
1601
1601
  export declare class CncFileTransferClient extends AuthorizedApiBase implements ICncFileTransferClient {
1602
1602
  private http;
1603
1603
  private baseUrl;
1604
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1604
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1605
1605
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1606
1606
  });
1607
1607
  startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
@@ -1627,7 +1627,7 @@ export interface ICncSetupAgentClient {
1627
1627
  export declare class CncSetupAgentClient extends AuthorizedApiBase implements ICncSetupAgentClient {
1628
1628
  private http;
1629
1629
  private baseUrl;
1630
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1630
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1631
1631
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1632
1632
  });
1633
1633
  getCncAgentConfig(agentId: string | null | undefined, agentVersion: string | null | undefined): Promise<AgentConfigDto>;
@@ -1699,7 +1699,7 @@ export interface ICncSetupClient {
1699
1699
  export declare class CncSetupClient extends AuthorizedApiBase implements ICncSetupClient {
1700
1700
  private http;
1701
1701
  private baseUrl;
1702
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1702
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1703
1703
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1704
1704
  });
1705
1705
  getCncMachine(id: string): Promise<CncMachineDto>;
@@ -1837,7 +1837,7 @@ export interface ICncSetupFixturesClient {
1837
1837
  export declare class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSetupFixturesClient {
1838
1838
  private http;
1839
1839
  private baseUrl;
1840
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1840
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1841
1841
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1842
1842
  });
1843
1843
  listFixtures(request: ListFixtures): Promise<FixtureListDto>;
@@ -1895,7 +1895,7 @@ export interface IOperatorCalculatorsClient {
1895
1895
  export declare class OperatorCalculatorsClient extends AuthorizedApiBase implements IOperatorCalculatorsClient {
1896
1896
  private http;
1897
1897
  private baseUrl;
1898
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1898
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1899
1899
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1900
1900
  });
1901
1901
  /**
@@ -1937,7 +1937,7 @@ export interface IAssetsClient {
1937
1937
  export declare class AssetsClient extends AuthorizedApiBase implements IAssetsClient {
1938
1938
  private http;
1939
1939
  private baseUrl;
1940
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1940
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1941
1941
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1942
1942
  });
1943
1943
  listAssets(externalIdprefix: string | null | undefined, name: string | null | undefined, source: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfAssetDto>;
@@ -1969,7 +1969,7 @@ export interface IAlertsClient {
1969
1969
  export declare class AlertsClient extends AuthorizedApiBase implements IAlertsClient {
1970
1970
  private http;
1971
1971
  private baseUrl;
1972
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1972
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1973
1973
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1974
1974
  });
1975
1975
  alertNotificationAccess(): Promise<AlertNotificationAccessDto>;
@@ -1993,7 +1993,7 @@ export interface ICredentialsClient {
1993
1993
  export declare class CredentialsClient extends AuthorizedApiBase implements ICredentialsClient {
1994
1994
  private http;
1995
1995
  private baseUrl;
1996
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1996
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1997
1997
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1998
1998
  });
1999
1999
  listIntegrationCredentials(): Promise<IntegrationCredentialDto[]>;
@@ -2016,7 +2016,7 @@ export interface ICdfClient {
2016
2016
  export declare class CdfClient extends AuthorizedApiBase implements ICdfClient {
2017
2017
  private http;
2018
2018
  private baseUrl;
2019
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2019
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2020
2020
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2021
2021
  });
2022
2022
  /**
@@ -2038,7 +2038,7 @@ export interface IWorkspaceDefaultsAdminClient {
2038
2038
  export declare class WorkspaceDefaultsAdminClient extends AuthorizedApiBase implements IWorkspaceDefaultsAdminClient {
2039
2039
  private http;
2040
2040
  private baseUrl;
2041
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2041
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2042
2042
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2043
2043
  });
2044
2044
  getDefaults(): Promise<WorkspaceDefaultsDto>;
@@ -2063,7 +2063,7 @@ export interface IWorkspacesClient {
2063
2063
  export declare class WorkspacesClient extends AuthorizedApiBase implements IWorkspacesClient {
2064
2064
  private http;
2065
2065
  private baseUrl;
2066
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2066
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2067
2067
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2068
2068
  });
2069
2069
  getMyWorkspaces(): Promise<WorkspaceListDto[]>;
@@ -2099,7 +2099,7 @@ export interface IWorkspaceTemplatesAdminClient {
2099
2099
  export declare class WorkspaceTemplatesAdminClient extends AuthorizedApiBase implements IWorkspaceTemplatesAdminClient {
2100
2100
  private http;
2101
2101
  private baseUrl;
2102
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2102
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2103
2103
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2104
2104
  });
2105
2105
  createWorkspaceTemplate(createWorkspaceTemplate: CreateWorkspaceTemplate): Promise<WorkspaceDto>;
@@ -2123,7 +2123,7 @@ export interface IWorkspaceTemplatesClient {
2123
2123
  export declare class WorkspaceTemplatesClient extends AuthorizedApiBase implements IWorkspaceTemplatesClient {
2124
2124
  private http;
2125
2125
  private baseUrl;
2126
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2126
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2127
2127
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2128
2128
  });
2129
2129
  getWorkspaceTemplates(): Promise<WorkspaceListDto[]>;
@@ -2144,7 +2144,7 @@ export interface IMoveBookingClient {
2144
2144
  export declare class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
2145
2145
  private http;
2146
2146
  private baseUrl;
2147
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2147
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2148
2148
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2149
2149
  });
2150
2150
  listBookings(request: BookingRequestListDto): Promise<BookingListDto>;
@@ -2178,7 +2178,7 @@ export interface IMoveInfoscreenClient {
2178
2178
  export declare class MoveInfoscreenClient extends AuthorizedApiBase implements IMoveInfoscreenClient {
2179
2179
  private http;
2180
2180
  private baseUrl;
2181
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2181
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2182
2182
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2183
2183
  });
2184
2184
  listInfoscreens(): Promise<MoveInfoscreenDto[]>;
@@ -2203,7 +2203,7 @@ export interface IMoveLocationsClient {
2203
2203
  export declare class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
2204
2204
  private http;
2205
2205
  private baseUrl;
2206
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2206
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2207
2207
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2208
2208
  });
2209
2209
  listLocations(includeAllLocations: boolean | null | undefined): Promise<LocationZoneGroupDto[]>;
@@ -2233,7 +2233,7 @@ export interface IMoveMaterialsClient {
2233
2233
  export declare class MoveMaterialsClient extends AuthorizedApiBase implements IMoveMaterialsClient {
2234
2234
  private http;
2235
2235
  private baseUrl;
2236
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2236
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2237
2237
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2238
2238
  });
2239
2239
  listMaterials(): Promise<MaterialDesciptionDto[]>;
@@ -2258,7 +2258,7 @@ export interface IMoveNotificationsClient {
2258
2258
  export declare class MoveNotificationsClient extends AuthorizedApiBase implements IMoveNotificationsClient {
2259
2259
  private http;
2260
2260
  private baseUrl;
2261
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2261
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2262
2262
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2263
2263
  });
2264
2264
  getNotifications(): Promise<MoveSubscriptionDto>;
@@ -2272,7 +2272,7 @@ export interface IMoveParcelsClient {
2272
2272
  export declare class MoveParcelsClient extends AuthorizedApiBase implements IMoveParcelsClient {
2273
2273
  private http;
2274
2274
  private baseUrl;
2275
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2275
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2276
2276
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2277
2277
  });
2278
2278
  searchParcels(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
@@ -2292,7 +2292,7 @@ export interface IMoveTrackingClient {
2292
2292
  export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
2293
2293
  private http;
2294
2294
  private baseUrl;
2295
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2295
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2296
2296
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2297
2297
  });
2298
2298
  listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingParcelListDto>;
@@ -2325,7 +2325,7 @@ export interface IParcelCategoryClient {
2325
2325
  export declare class ParcelCategoryClient extends AuthorizedApiBase implements IParcelCategoryClient {
2326
2326
  private http;
2327
2327
  private baseUrl;
2328
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2328
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2329
2329
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2330
2330
  });
2331
2331
  getSettings(): Promise<ParcelCategorySettingsDto>;
@@ -2347,7 +2347,7 @@ export interface IInventoryClient {
2347
2347
  export declare class InventoryClient extends AuthorizedApiBase implements IInventoryClient {
2348
2348
  private http;
2349
2349
  private baseUrl;
2350
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2350
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2351
2351
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2352
2352
  });
2353
2353
  listVendorBatches(request: ListVendorBatches): Promise<VendorBatchLookupDto[]>;
@@ -2359,7 +2359,7 @@ export interface IMesClient {
2359
2359
  export declare class MesClient extends AuthorizedApiBase implements IMesClient {
2360
2360
  private http;
2361
2361
  private baseUrl;
2362
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2362
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2363
2363
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2364
2364
  });
2365
2365
  getWorkerDetailsForCurrentUser(): Promise<WorkerDto>;
@@ -2371,7 +2371,7 @@ export interface IMesDocumentsClient {
2371
2371
  export declare class MesDocumentsClient extends AuthorizedApiBase implements IMesDocumentsClient {
2372
2372
  private http;
2373
2373
  private baseUrl;
2374
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2374
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2375
2375
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2376
2376
  });
2377
2377
  getDocument(drawingNumber: string, id: string): Promise<DocumentLinkDto>;
@@ -2384,7 +2384,7 @@ export interface IMesEngineeringChangeOrdersClient {
2384
2384
  export declare class MesEngineeringChangeOrdersClient extends AuthorizedApiBase implements IMesEngineeringChangeOrdersClient {
2385
2385
  private http;
2386
2386
  private baseUrl;
2387
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2387
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2388
2388
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2389
2389
  });
2390
2390
  getEngineeringChangeOrders(partNumber: string | undefined): Promise<EngineeringChangeOrderDto[]>;
@@ -2403,7 +2403,7 @@ export interface IMesLinksClient {
2403
2403
  export declare class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient {
2404
2404
  private http;
2405
2405
  private baseUrl;
2406
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2406
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2407
2407
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2408
2408
  });
2409
2409
  addMesLink(request: AddMesLink): Promise<void>;
@@ -2425,7 +2425,7 @@ export interface IMesOrMoveClient {
2425
2425
  export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClient {
2426
2426
  private http;
2427
2427
  private baseUrl;
2428
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2428
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2429
2429
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2430
2430
  });
2431
2431
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
@@ -2445,7 +2445,7 @@ export interface IMesProductionOrderClient {
2445
2445
  export declare class MesProductionOrderClient extends AuthorizedApiBase implements IMesProductionOrderClient {
2446
2446
  private http;
2447
2447
  private baseUrl;
2448
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2448
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2449
2449
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2450
2450
  });
2451
2451
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
@@ -2479,7 +2479,7 @@ export interface IMesProductionScheduleClient {
2479
2479
  export declare class MesProductionScheduleClient extends AuthorizedApiBase implements IMesProductionScheduleClient {
2480
2480
  private http;
2481
2481
  private baseUrl;
2482
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2482
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2483
2483
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2484
2484
  });
2485
2485
  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 +2504,7 @@ export interface IMesProjectsClient {
2504
2504
  export declare class MesProjectsClient extends AuthorizedApiBase implements IMesProjectsClient {
2505
2505
  private http;
2506
2506
  private baseUrl;
2507
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2507
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2508
2508
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2509
2509
  });
2510
2510
  listProjects(request: ListProjectsRequest): Promise<PagedResultOfWorkOrderProjectDto>;
@@ -2518,7 +2518,7 @@ export interface IMesPurchaseOrderClient {
2518
2518
  export declare class MesPurchaseOrderClient extends AuthorizedApiBase implements IMesPurchaseOrderClient {
2519
2519
  private http;
2520
2520
  private baseUrl;
2521
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2521
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2522
2522
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2523
2523
  });
2524
2524
  getPurchaseOrderDetails(purchaseOrderNumber: string, productionOrderNumber: string | undefined): Promise<PurchaseOrderDetailsDto>;
@@ -2532,7 +2532,7 @@ export interface IMesResourceClient {
2532
2532
  export declare class MesResourceClient extends AuthorizedApiBase implements IMesResourceClient {
2533
2533
  private http;
2534
2534
  private baseUrl;
2535
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2535
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2536
2536
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2537
2537
  });
2538
2538
  listResourceGroups(includeResources: boolean | undefined): Promise<ResourceGroupDto[]>;
@@ -2551,7 +2551,7 @@ export interface IElectricalClient {
2551
2551
  export declare class ElectricalClient extends AuthorizedApiBase implements IElectricalClient {
2552
2552
  private http;
2553
2553
  private baseUrl;
2554
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2554
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2555
2555
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2556
2556
  });
2557
2557
  listElectricalSourceTypes(): Promise<IotTypeSourceDto[]>;
@@ -2572,7 +2572,7 @@ export interface IWeldingClient {
2572
2572
  export declare class WeldingClient extends AuthorizedApiBase implements IWeldingClient {
2573
2573
  private http;
2574
2574
  private baseUrl;
2575
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2575
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2576
2576
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2577
2577
  });
2578
2578
  listWeldingSourceTypes(): Promise<IotTypeSourceDto[]>;
@@ -2595,7 +2595,7 @@ export interface IInspectMatchCertificateTypesAdminClient {
2595
2595
  export declare class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesAdminClient {
2596
2596
  private http;
2597
2597
  private baseUrl;
2598
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2598
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2599
2599
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2600
2600
  });
2601
2601
  createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
@@ -2618,7 +2618,7 @@ export interface IInspectMatchCertificateTypesClient {
2618
2618
  export declare class InspectMatchCertificateTypesClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesClient {
2619
2619
  private http;
2620
2620
  private baseUrl;
2621
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2621
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2622
2622
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2623
2623
  });
2624
2624
  getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
@@ -2635,7 +2635,7 @@ export interface IInspectMatchMaterialChecksAdminClient {
2635
2635
  export declare class InspectMatchMaterialChecksAdminClient extends AuthorizedApiBase implements IInspectMatchMaterialChecksAdminClient {
2636
2636
  private http;
2637
2637
  private baseUrl;
2638
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2638
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2639
2639
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2640
2640
  });
2641
2641
  updateMaterialCheckOverrides(id: string, request: ImaOverrideMaterialCheckRequestDto): Promise<ImaMaterialCheckDto>;
@@ -2656,7 +2656,7 @@ export interface IInspectMatchMaterialChecksClient {
2656
2656
  export declare class InspectMatchMaterialChecksClient extends AuthorizedApiBase implements IInspectMatchMaterialChecksClient {
2657
2657
  private http;
2658
2658
  private baseUrl;
2659
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2659
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2660
2660
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2661
2661
  });
2662
2662
  getMaterialCheck(id: string): Promise<ImaMaterialCheckDto>;
@@ -2676,7 +2676,7 @@ export interface IInspectMatchPurchaseOrderClient {
2676
2676
  export declare class InspectMatchPurchaseOrderClient extends AuthorizedApiBase implements IInspectMatchPurchaseOrderClient {
2677
2677
  private http;
2678
2678
  private baseUrl;
2679
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2679
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2680
2680
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2681
2681
  });
2682
2682
  searchPurchaseOrders(input: string | undefined): Promise<PurchaseOrderMaterialSearchResultsDto>;
@@ -2697,7 +2697,7 @@ export interface IInspectMatchSpecificationsAdminClient {
2697
2697
  export declare class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase implements IInspectMatchSpecificationsAdminClient {
2698
2698
  private http;
2699
2699
  private baseUrl;
2700
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2700
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2701
2701
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2702
2702
  });
2703
2703
  createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
@@ -2720,7 +2720,7 @@ export interface IInspectMatchSpecificationsClient {
2720
2720
  export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase implements IInspectMatchSpecificationsClient {
2721
2721
  private http;
2722
2722
  private baseUrl;
2723
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2723
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2724
2724
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2725
2725
  });
2726
2726
  getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
@@ -2799,7 +2799,7 @@ export interface IMeasurementFormSchemasAdminClient {
2799
2799
  export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase implements IMeasurementFormSchemasAdminClient {
2800
2800
  private http;
2801
2801
  private baseUrl;
2802
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2802
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2803
2803
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2804
2804
  });
2805
2805
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
@@ -2928,7 +2928,7 @@ export interface IMeasurementFormSchemasClient {
2928
2928
  export declare class MeasurementFormSchemasClient extends AuthorizedApiBase implements IMeasurementFormSchemasClient {
2929
2929
  private http;
2930
2930
  private baseUrl;
2931
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2931
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2932
2932
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2933
2933
  });
2934
2934
  getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
@@ -2947,7 +2947,7 @@ export interface IMeasurementFormSettingsClient {
2947
2947
  export declare class MeasurementFormSettingsClient extends AuthorizedApiBase implements IMeasurementFormSettingsClient {
2948
2948
  private http;
2949
2949
  private baseUrl;
2950
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2950
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2951
2951
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2952
2952
  });
2953
2953
  getMeasurementFormSettings(): Promise<InspectCompanySettingsDto>;
@@ -2967,7 +2967,7 @@ export interface IMeasurementFormsInstancesAdminClient {
2967
2967
  export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesAdminClient {
2968
2968
  private http;
2969
2969
  private baseUrl;
2970
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2970
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2971
2971
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2972
2972
  });
2973
2973
  approveMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
@@ -3006,7 +3006,7 @@ export interface IMeasurementFormsInstancesClient {
3006
3006
  export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase implements IMeasurementFormsInstancesClient {
3007
3007
  private http;
3008
3008
  private baseUrl;
3009
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3009
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3010
3010
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3011
3011
  });
3012
3012
  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 +3069,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
3069
3069
  export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
3070
3070
  private http;
3071
3071
  private baseUrl;
3072
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3072
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3073
3073
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3074
3074
  });
3075
3075
  createMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
@@ -3098,7 +3098,7 @@ export interface ICompaniesClient {
3098
3098
  export declare class CompaniesClient extends AuthorizedApiBase implements ICompaniesClient {
3099
3099
  private http;
3100
3100
  private baseUrl;
3101
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3101
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3102
3102
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3103
3103
  });
3104
3104
  listProductionCompanies(): Promise<ProductionCompanyDto[]>;
@@ -3134,7 +3134,7 @@ export interface ICustomerOrdersClient {
3134
3134
  export declare class CustomerOrdersClient extends AuthorizedApiBase implements ICustomerOrdersClient {
3135
3135
  private http;
3136
3136
  private baseUrl;
3137
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3137
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3138
3138
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3139
3139
  });
3140
3140
  /**
@@ -3173,7 +3173,7 @@ export interface IErpUsersClient {
3173
3173
  export declare class ErpUsersClient extends AuthorizedApiBase implements IErpUsersClient {
3174
3174
  private http;
3175
3175
  private baseUrl;
3176
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3176
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3177
3177
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3178
3178
  });
3179
3179
  listUsers(request: ListErpUsers | undefined): Promise<PagedResultOfErpUserDto>;
@@ -3186,7 +3186,7 @@ export interface IProductionPoolsClient {
3186
3186
  export declare class ProductionPoolsClient extends AuthorizedApiBase implements IProductionPoolsClient {
3187
3187
  private http;
3188
3188
  private baseUrl;
3189
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3189
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3190
3190
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3191
3191
  });
3192
3192
  listProductionPools(): Promise<ProductionPoolDto[]>;
@@ -3296,7 +3296,7 @@ export interface IWorkordersClient {
3296
3296
  export declare class WorkordersClient extends AuthorizedApiBase implements IWorkordersClient {
3297
3297
  private http;
3298
3298
  private baseUrl;
3299
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3299
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3300
3300
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3301
3301
  });
3302
3302
  /**
@@ -9648,3 +9648,10 @@ export declare class ApiException extends Error {
9648
9648
  export interface IAccessTokenProvider {
9649
9649
  getAccessToken: () => Promise<string>;
9650
9650
  }
9651
+ export interface ITenantIdProvider {
9652
+ getTenantId: () => string | null;
9653
+ }
9654
+ export interface IApiClientConfig {
9655
+ accessTokenProvider: IAccessTokenProvider;
9656
+ tenantIdProvider: ITenantIdProvider;
9657
+ }