@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.
- package/lib/AuthorizedApiBase.d.ts +8 -1
- package/lib/AuthorizedApiBase.js +4 -1
- package/lib/ignosportal-api.d.ts +98 -91
- package/lib/ignosportal-api.js +4 -1
- package/package.json +1 -1
- package/src/AuthorizedApiBase.ts +16 -3
- package/src/ignosportal-api.ts +106 -93
package/src/ignosportal-api.ts
CHANGED
|
@@ -8,17 +8,21 @@
|
|
|
8
8
|
// ReSharper disable InconsistentNaming
|
|
9
9
|
|
|
10
10
|
export class AuthorizedApiBase {
|
|
11
|
-
private readonly config:
|
|
11
|
+
private readonly config: IApiClientConfig;
|
|
12
12
|
|
|
13
|
-
protected constructor(config:
|
|
13
|
+
protected constructor(config: IApiClientConfig) {
|
|
14
14
|
this.config = config;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
protected transformOptions = async (options: any): Promise<any> => {
|
|
18
18
|
options.headers = {
|
|
19
19
|
...options.headers,
|
|
20
|
-
Authorization: "Bearer " + (await this.config.getAccessToken()),
|
|
20
|
+
Authorization: "Bearer " + (await this.config.accessTokenProvider.getAccessToken()),
|
|
21
21
|
};
|
|
22
|
+
|
|
23
|
+
const tenantId = this.config.tenantIdProvider.getTenantId();
|
|
24
|
+
if (tenantId) options.headers["x-tenantid"] = tenantId;
|
|
25
|
+
|
|
22
26
|
return options;
|
|
23
27
|
};
|
|
24
28
|
|
|
@@ -44,7 +48,7 @@ export class AzureRegionsClient extends AuthorizedApiBase implements IAzureRegio
|
|
|
44
48
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
45
49
|
private baseUrl: string;
|
|
46
50
|
|
|
47
|
-
constructor(configuration:
|
|
51
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
48
52
|
super(configuration);
|
|
49
53
|
this.http = http ? http : window as any;
|
|
50
54
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -95,7 +99,7 @@ export class CountriesClient extends AuthorizedApiBase implements ICountriesClie
|
|
|
95
99
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
96
100
|
private baseUrl: string;
|
|
97
101
|
|
|
98
|
-
constructor(configuration:
|
|
102
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
99
103
|
super(configuration);
|
|
100
104
|
this.http = http ? http : window as any;
|
|
101
105
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -193,7 +197,7 @@ export class CustomersClient extends AuthorizedApiBase implements ICustomersClie
|
|
|
193
197
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
194
198
|
private baseUrl: string;
|
|
195
199
|
|
|
196
|
-
constructor(configuration:
|
|
200
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
197
201
|
super(configuration);
|
|
198
202
|
this.http = http ? http : window as any;
|
|
199
203
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -604,7 +608,7 @@ export class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
|
|
|
604
608
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
605
609
|
private baseUrl: string;
|
|
606
610
|
|
|
607
|
-
constructor(configuration:
|
|
611
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
608
612
|
super(configuration);
|
|
609
613
|
this.http = http ? http : window as any;
|
|
610
614
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -659,7 +663,7 @@ export class PresentationClient extends AuthorizedApiBase implements IPresentati
|
|
|
659
663
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
660
664
|
private baseUrl: string;
|
|
661
665
|
|
|
662
|
-
constructor(configuration:
|
|
666
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
663
667
|
super(configuration);
|
|
664
668
|
this.http = http ? http : window as any;
|
|
665
669
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -747,7 +751,7 @@ export class SpatialClient extends AuthorizedApiBase implements ISpatialClient {
|
|
|
747
751
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
748
752
|
private baseUrl: string;
|
|
749
753
|
|
|
750
|
-
constructor(configuration:
|
|
754
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
751
755
|
super(configuration);
|
|
752
756
|
this.http = http ? http : window as any;
|
|
753
757
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -1484,7 +1488,7 @@ export class MachineUtilizationClient extends AuthorizedApiBase implements IMach
|
|
|
1484
1488
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
1485
1489
|
private baseUrl: string;
|
|
1486
1490
|
|
|
1487
|
-
constructor(configuration:
|
|
1491
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
1488
1492
|
super(configuration);
|
|
1489
1493
|
this.http = http ? http : window as any;
|
|
1490
1494
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -1971,7 +1975,7 @@ export class ResourceUtilizationClient extends AuthorizedApiBase implements IRes
|
|
|
1971
1975
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
1972
1976
|
private baseUrl: string;
|
|
1973
1977
|
|
|
1974
|
-
constructor(configuration:
|
|
1978
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
1975
1979
|
super(configuration);
|
|
1976
1980
|
this.http = http ? http : window as any;
|
|
1977
1981
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -2395,7 +2399,7 @@ export class MeClient extends AuthorizedApiBase implements IMeClient {
|
|
|
2395
2399
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
2396
2400
|
private baseUrl: string;
|
|
2397
2401
|
|
|
2398
|
-
constructor(configuration:
|
|
2402
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
2399
2403
|
super(configuration);
|
|
2400
2404
|
this.http = http ? http : window as any;
|
|
2401
2405
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -2659,7 +2663,7 @@ export class UsersClient extends AuthorizedApiBase implements IUsersClient {
|
|
|
2659
2663
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
2660
2664
|
private baseUrl: string;
|
|
2661
2665
|
|
|
2662
|
-
constructor(configuration:
|
|
2666
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
2663
2667
|
super(configuration);
|
|
2664
2668
|
this.http = http ? http : window as any;
|
|
2665
2669
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -2806,7 +2810,7 @@ export class UserAppSettingsClient extends AuthorizedApiBase implements IUserApp
|
|
|
2806
2810
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
2807
2811
|
private baseUrl: string;
|
|
2808
2812
|
|
|
2809
|
-
constructor(configuration:
|
|
2813
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
2810
2814
|
super(configuration);
|
|
2811
2815
|
this.http = http ? http : window as any;
|
|
2812
2816
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -3037,7 +3041,7 @@ export class UploadClient extends AuthorizedApiBase implements IUploadClient {
|
|
|
3037
3041
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
3038
3042
|
private baseUrl: string;
|
|
3039
3043
|
|
|
3040
|
-
constructor(configuration:
|
|
3044
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
3041
3045
|
super(configuration);
|
|
3042
3046
|
this.http = http ? http : window as any;
|
|
3043
3047
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -3127,7 +3131,7 @@ export class SystemHealthDashboardClient extends AuthorizedApiBase implements IS
|
|
|
3127
3131
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
3128
3132
|
private baseUrl: string;
|
|
3129
3133
|
|
|
3130
|
-
constructor(configuration:
|
|
3134
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
3131
3135
|
super(configuration);
|
|
3132
3136
|
this.http = http ? http : window as any;
|
|
3133
3137
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -3180,7 +3184,7 @@ export class PowerClient extends AuthorizedApiBase implements IPowerClient {
|
|
|
3180
3184
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
3181
3185
|
private baseUrl: string;
|
|
3182
3186
|
|
|
3183
|
-
constructor(configuration:
|
|
3187
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
3184
3188
|
super(configuration);
|
|
3185
3189
|
this.http = http ? http : window as any;
|
|
3186
3190
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -3245,7 +3249,7 @@ export class SustainabilityClient extends AuthorizedApiBase implements ISustaina
|
|
|
3245
3249
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
3246
3250
|
private baseUrl: string;
|
|
3247
3251
|
|
|
3248
|
-
constructor(configuration:
|
|
3252
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
3249
3253
|
super(configuration);
|
|
3250
3254
|
this.http = http ? http : window as any;
|
|
3251
3255
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -3541,7 +3545,7 @@ export class MachineAlarmsClient extends AuthorizedApiBase implements IMachineAl
|
|
|
3541
3545
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
3542
3546
|
private baseUrl: string;
|
|
3543
3547
|
|
|
3544
|
-
constructor(configuration:
|
|
3548
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
3545
3549
|
super(configuration);
|
|
3546
3550
|
this.http = http ? http : window as any;
|
|
3547
3551
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -3856,7 +3860,7 @@ export class DowntimeReasonsAdminResourceClient extends AuthorizedApiBase implem
|
|
|
3856
3860
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
3857
3861
|
private baseUrl: string;
|
|
3858
3862
|
|
|
3859
|
-
constructor(configuration:
|
|
3863
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
3860
3864
|
super(configuration);
|
|
3861
3865
|
this.http = http ? http : window as any;
|
|
3862
3866
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -4227,7 +4231,7 @@ export class DowntimeReasonsResourceClient extends AuthorizedApiBase implements
|
|
|
4227
4231
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
4228
4232
|
private baseUrl: string;
|
|
4229
4233
|
|
|
4230
|
-
constructor(configuration:
|
|
4234
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
4231
4235
|
super(configuration);
|
|
4232
4236
|
this.http = http ? http : window as any;
|
|
4233
4237
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -4659,7 +4663,7 @@ export class KpiAdminResourceClient extends AuthorizedApiBase implements IKpiAdm
|
|
|
4659
4663
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
4660
4664
|
private baseUrl: string;
|
|
4661
4665
|
|
|
4662
|
-
constructor(configuration:
|
|
4666
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
4663
4667
|
super(configuration);
|
|
4664
4668
|
this.http = http ? http : window as any;
|
|
4665
4669
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -5303,7 +5307,7 @@ export class KpiResourceClient extends AuthorizedApiBase implements IKpiResource
|
|
|
5303
5307
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
5304
5308
|
private baseUrl: string;
|
|
5305
5309
|
|
|
5306
|
-
constructor(configuration:
|
|
5310
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
5307
5311
|
super(configuration);
|
|
5308
5312
|
this.http = http ? http : window as any;
|
|
5309
5313
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -5509,7 +5513,7 @@ export class ResourcesClient extends AuthorizedApiBase implements IResourcesClie
|
|
|
5509
5513
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
5510
5514
|
private baseUrl: string;
|
|
5511
5515
|
|
|
5512
|
-
constructor(configuration:
|
|
5516
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
5513
5517
|
super(configuration);
|
|
5514
5518
|
this.http = http ? http : window as any;
|
|
5515
5519
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -6363,7 +6367,7 @@ export class PulseClient extends AuthorizedApiBase implements IPulseClient {
|
|
|
6363
6367
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
6364
6368
|
private baseUrl: string;
|
|
6365
6369
|
|
|
6366
|
-
constructor(configuration:
|
|
6370
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
6367
6371
|
super(configuration);
|
|
6368
6372
|
this.http = http ? http : window as any;
|
|
6369
6373
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -6574,7 +6578,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6574
6578
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
6575
6579
|
private baseUrl: string;
|
|
6576
6580
|
|
|
6577
|
-
constructor(configuration:
|
|
6581
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
6578
6582
|
super(configuration);
|
|
6579
6583
|
this.http = http ? http : window as any;
|
|
6580
6584
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -7159,7 +7163,7 @@ export class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
7159
7163
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
7160
7164
|
private baseUrl: string;
|
|
7161
7165
|
|
|
7162
|
-
constructor(configuration:
|
|
7166
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
7163
7167
|
super(configuration);
|
|
7164
7168
|
this.http = http ? http : window as any;
|
|
7165
7169
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -8402,7 +8406,7 @@ export class TraceClient extends AuthorizedApiBase implements ITraceClient {
|
|
|
8402
8406
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
8403
8407
|
private baseUrl: string;
|
|
8404
8408
|
|
|
8405
|
-
constructor(configuration:
|
|
8409
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
8406
8410
|
super(configuration);
|
|
8407
8411
|
this.http = http ? http : window as any;
|
|
8408
8412
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -8862,7 +8866,7 @@ export class MeasuringToolsClient extends AuthorizedApiBase implements IMeasurin
|
|
|
8862
8866
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
8863
8867
|
private baseUrl: string;
|
|
8864
8868
|
|
|
8865
|
-
constructor(configuration:
|
|
8869
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
8866
8870
|
super(configuration);
|
|
8867
8871
|
this.http = http ? http : window as any;
|
|
8868
8872
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -10200,7 +10204,7 @@ export class DowntimeReasonsAdminClient extends AuthorizedApiBase implements IDo
|
|
|
10200
10204
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
10201
10205
|
private baseUrl: string;
|
|
10202
10206
|
|
|
10203
|
-
constructor(configuration:
|
|
10207
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
10204
10208
|
super(configuration);
|
|
10205
10209
|
this.http = http ? http : window as any;
|
|
10206
10210
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -10571,7 +10575,7 @@ export class DowntimeReasonsClient extends AuthorizedApiBase implements IDowntim
|
|
|
10571
10575
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
10572
10576
|
private baseUrl: string;
|
|
10573
10577
|
|
|
10574
|
-
constructor(configuration:
|
|
10578
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
10575
10579
|
super(configuration);
|
|
10576
10580
|
this.http = http ? http : window as any;
|
|
10577
10581
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -10983,7 +10987,7 @@ export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient
|
|
|
10983
10987
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
10984
10988
|
private baseUrl: string;
|
|
10985
10989
|
|
|
10986
|
-
constructor(configuration:
|
|
10990
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
10987
10991
|
super(configuration);
|
|
10988
10992
|
this.http = http ? http : window as any;
|
|
10989
10993
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -11233,7 +11237,7 @@ export class KpiClient extends AuthorizedApiBase implements IKpiClient {
|
|
|
11233
11237
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
11234
11238
|
private baseUrl: string;
|
|
11235
11239
|
|
|
11236
|
-
constructor(configuration:
|
|
11240
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
11237
11241
|
super(configuration);
|
|
11238
11242
|
this.http = http ? http : window as any;
|
|
11239
11243
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -11439,7 +11443,7 @@ export class MachinesClient extends AuthorizedApiBase implements IMachinesClient
|
|
|
11439
11443
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
11440
11444
|
private baseUrl: string;
|
|
11441
11445
|
|
|
11442
|
-
constructor(configuration:
|
|
11446
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
11443
11447
|
super(configuration);
|
|
11444
11448
|
this.http = http ? http : window as any;
|
|
11445
11449
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -12261,7 +12265,7 @@ export class LinksClient extends AuthorizedApiBase implements ILinksClient {
|
|
|
12261
12265
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
12262
12266
|
private baseUrl: string;
|
|
12263
12267
|
|
|
12264
|
-
constructor(configuration:
|
|
12268
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
12265
12269
|
super(configuration);
|
|
12266
12270
|
this.http = http ? http : window as any;
|
|
12267
12271
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -12425,7 +12429,7 @@ export class ExternalServicesClient extends AuthorizedApiBase implements IExtern
|
|
|
12425
12429
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
12426
12430
|
private baseUrl: string;
|
|
12427
12431
|
|
|
12428
|
-
constructor(configuration:
|
|
12432
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
12429
12433
|
super(configuration);
|
|
12430
12434
|
this.http = http ? http : window as any;
|
|
12431
12435
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -12488,7 +12492,7 @@ export class DocumentsClient extends AuthorizedApiBase implements IDocumentsClie
|
|
|
12488
12492
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
12489
12493
|
private baseUrl: string;
|
|
12490
12494
|
|
|
12491
|
-
constructor(configuration:
|
|
12495
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
12492
12496
|
super(configuration);
|
|
12493
12497
|
this.http = http ? http : window as any;
|
|
12494
12498
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -12612,7 +12616,7 @@ export class DocumentTypesClient extends AuthorizedApiBase implements IDocumentT
|
|
|
12612
12616
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
12613
12617
|
private baseUrl: string;
|
|
12614
12618
|
|
|
12615
|
-
constructor(configuration:
|
|
12619
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
12616
12620
|
super(configuration);
|
|
12617
12621
|
this.http = http ? http : window as any;
|
|
12618
12622
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -13053,7 +13057,7 @@ export class ExternalAccessClient extends AuthorizedApiBase implements IExternal
|
|
|
13053
13057
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
13054
13058
|
private baseUrl: string;
|
|
13055
13059
|
|
|
13056
|
-
constructor(configuration:
|
|
13060
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
13057
13061
|
super(configuration);
|
|
13058
13062
|
this.http = http ? http : window as any;
|
|
13059
13063
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -13333,7 +13337,7 @@ export class ExternalClient extends AuthorizedApiBase implements IExternalClient
|
|
|
13333
13337
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
13334
13338
|
private baseUrl: string;
|
|
13335
13339
|
|
|
13336
|
-
constructor(configuration:
|
|
13340
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
13337
13341
|
super(configuration);
|
|
13338
13342
|
this.http = http ? http : window as any;
|
|
13339
13343
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -13478,7 +13482,7 @@ export class SuppliersClient extends AuthorizedApiBase implements ISuppliersClie
|
|
|
13478
13482
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
13479
13483
|
private baseUrl: string;
|
|
13480
13484
|
|
|
13481
|
-
constructor(configuration:
|
|
13485
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
13482
13486
|
super(configuration);
|
|
13483
13487
|
this.http = http ? http : window as any;
|
|
13484
13488
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -13798,7 +13802,7 @@ export class CncFileTransferClient extends AuthorizedApiBase implements ICncFile
|
|
|
13798
13802
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
13799
13803
|
private baseUrl: string;
|
|
13800
13804
|
|
|
13801
|
-
constructor(configuration:
|
|
13805
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
13802
13806
|
super(configuration);
|
|
13803
13807
|
this.http = http ? http : window as any;
|
|
13804
13808
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -14092,7 +14096,7 @@ export class CncSetupAgentClient extends AuthorizedApiBase implements ICncSetupA
|
|
|
14092
14096
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
14093
14097
|
private baseUrl: string;
|
|
14094
14098
|
|
|
14095
|
-
constructor(configuration:
|
|
14099
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
14096
14100
|
super(configuration);
|
|
14097
14101
|
this.http = http ? http : window as any;
|
|
14098
14102
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -14340,7 +14344,7 @@ export class CncSetupClient extends AuthorizedApiBase implements ICncSetupClient
|
|
|
14340
14344
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
14341
14345
|
private baseUrl: string;
|
|
14342
14346
|
|
|
14343
|
-
constructor(configuration:
|
|
14347
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
14344
14348
|
super(configuration);
|
|
14345
14349
|
this.http = http ? http : window as any;
|
|
14346
14350
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -16651,7 +16655,7 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
|
|
|
16651
16655
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
16652
16656
|
private baseUrl: string;
|
|
16653
16657
|
|
|
16654
|
-
constructor(configuration:
|
|
16658
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
16655
16659
|
super(configuration);
|
|
16656
16660
|
this.http = http ? http : window as any;
|
|
16657
16661
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -17283,7 +17287,7 @@ export class OperatorCalculatorsClient extends AuthorizedApiBase implements IOpe
|
|
|
17283
17287
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
17284
17288
|
private baseUrl: string;
|
|
17285
17289
|
|
|
17286
|
-
constructor(configuration:
|
|
17290
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
17287
17291
|
super(configuration);
|
|
17288
17292
|
this.http = http ? http : window as any;
|
|
17289
17293
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -17481,7 +17485,7 @@ export class AssetsClient extends AuthorizedApiBase implements IAssetsClient {
|
|
|
17481
17485
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
17482
17486
|
private baseUrl: string;
|
|
17483
17487
|
|
|
17484
|
-
constructor(configuration:
|
|
17488
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
17485
17489
|
super(configuration);
|
|
17486
17490
|
this.http = http ? http : window as any;
|
|
17487
17491
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -17792,7 +17796,7 @@ export class AlertsClient extends AuthorizedApiBase implements IAlertsClient {
|
|
|
17792
17796
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
17793
17797
|
private baseUrl: string;
|
|
17794
17798
|
|
|
17795
|
-
constructor(configuration:
|
|
17799
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
17796
17800
|
super(configuration);
|
|
17797
17801
|
this.http = http ? http : window as any;
|
|
17798
17802
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -18030,7 +18034,7 @@ export class CredentialsClient extends AuthorizedApiBase implements ICredentials
|
|
|
18030
18034
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
18031
18035
|
private baseUrl: string;
|
|
18032
18036
|
|
|
18033
|
-
constructor(configuration:
|
|
18037
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
18034
18038
|
super(configuration);
|
|
18035
18039
|
this.http = http ? http : window as any;
|
|
18036
18040
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -18160,7 +18164,7 @@ export class CdfClient extends AuthorizedApiBase implements ICdfClient {
|
|
|
18160
18164
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
18161
18165
|
private baseUrl: string;
|
|
18162
18166
|
|
|
18163
|
-
constructor(configuration:
|
|
18167
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
18164
18168
|
super(configuration);
|
|
18165
18169
|
this.http = http ? http : window as any;
|
|
18166
18170
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -18260,7 +18264,7 @@ export class WorkspaceDefaultsAdminClient extends AuthorizedApiBase implements I
|
|
|
18260
18264
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
18261
18265
|
private baseUrl: string;
|
|
18262
18266
|
|
|
18263
|
-
constructor(configuration:
|
|
18267
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
18264
18268
|
super(configuration);
|
|
18265
18269
|
this.http = http ? http : window as any;
|
|
18266
18270
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -18405,7 +18409,7 @@ export class WorkspacesClient extends AuthorizedApiBase implements IWorkspacesCl
|
|
|
18405
18409
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
18406
18410
|
private baseUrl: string;
|
|
18407
18411
|
|
|
18408
|
-
constructor(configuration:
|
|
18412
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
18409
18413
|
super(configuration);
|
|
18410
18414
|
this.http = http ? http : window as any;
|
|
18411
18415
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -18828,7 +18832,7 @@ export class WorkspaceTemplatesAdminClient extends AuthorizedApiBase implements
|
|
|
18828
18832
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
18829
18833
|
private baseUrl: string;
|
|
18830
18834
|
|
|
18831
|
-
constructor(configuration:
|
|
18835
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
18832
18836
|
super(configuration);
|
|
18833
18837
|
this.http = http ? http : window as any;
|
|
18834
18838
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -19126,7 +19130,7 @@ export class WorkspaceTemplatesClient extends AuthorizedApiBase implements IWork
|
|
|
19126
19130
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
19127
19131
|
private baseUrl: string;
|
|
19128
19132
|
|
|
19129
|
-
constructor(configuration:
|
|
19133
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
19130
19134
|
super(configuration);
|
|
19131
19135
|
this.http = http ? http : window as any;
|
|
19132
19136
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -19195,7 +19199,7 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
19195
19199
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
19196
19200
|
private baseUrl: string;
|
|
19197
19201
|
|
|
19198
|
-
constructor(configuration:
|
|
19202
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
19199
19203
|
super(configuration);
|
|
19200
19204
|
this.http = http ? http : window as any;
|
|
19201
19205
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -19607,7 +19611,7 @@ export class MoveInfoscreenClient extends AuthorizedApiBase implements IMoveInfo
|
|
|
19607
19611
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
19608
19612
|
private baseUrl: string;
|
|
19609
19613
|
|
|
19610
|
-
constructor(configuration:
|
|
19614
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
19611
19615
|
super(configuration);
|
|
19612
19616
|
this.http = http ? http : window as any;
|
|
19613
19617
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -19822,7 +19826,7 @@ export class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocat
|
|
|
19822
19826
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
19823
19827
|
private baseUrl: string;
|
|
19824
19828
|
|
|
19825
|
-
constructor(configuration:
|
|
19829
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
19826
19830
|
super(configuration);
|
|
19827
19831
|
this.http = http ? http : window as any;
|
|
19828
19832
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -20088,7 +20092,7 @@ export class MoveMaterialsClient extends AuthorizedApiBase implements IMoveMater
|
|
|
20088
20092
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
20089
20093
|
private baseUrl: string;
|
|
20090
20094
|
|
|
20091
|
-
constructor(configuration:
|
|
20095
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
20092
20096
|
super(configuration);
|
|
20093
20097
|
this.http = http ? http : window as any;
|
|
20094
20098
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -20298,7 +20302,7 @@ export class MoveNotificationsClient extends AuthorizedApiBase implements IMoveN
|
|
|
20298
20302
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
20299
20303
|
private baseUrl: string;
|
|
20300
20304
|
|
|
20301
|
-
constructor(configuration:
|
|
20305
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
20302
20306
|
super(configuration);
|
|
20303
20307
|
this.http = http ? http : window as any;
|
|
20304
20308
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -20388,7 +20392,7 @@ export class MoveParcelsClient extends AuthorizedApiBase implements IMoveParcels
|
|
|
20388
20392
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
20389
20393
|
private baseUrl: string;
|
|
20390
20394
|
|
|
20391
|
-
constructor(configuration:
|
|
20395
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
20392
20396
|
super(configuration);
|
|
20393
20397
|
this.http = http ? http : window as any;
|
|
20394
20398
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -20459,7 +20463,7 @@ export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTracki
|
|
|
20459
20463
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
20460
20464
|
private baseUrl: string;
|
|
20461
20465
|
|
|
20462
|
-
constructor(configuration:
|
|
20466
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
20463
20467
|
super(configuration);
|
|
20464
20468
|
this.http = http ? http : window as any;
|
|
20465
20469
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -20834,7 +20838,7 @@ export class ParcelCategoryClient extends AuthorizedApiBase implements IParcelCa
|
|
|
20834
20838
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
20835
20839
|
private baseUrl: string;
|
|
20836
20840
|
|
|
20837
|
-
constructor(configuration:
|
|
20841
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
20838
20842
|
super(configuration);
|
|
20839
20843
|
this.http = http ? http : window as any;
|
|
20840
20844
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -21087,7 +21091,7 @@ export class InventoryClient extends AuthorizedApiBase implements IInventoryClie
|
|
|
21087
21091
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
21088
21092
|
private baseUrl: string;
|
|
21089
21093
|
|
|
21090
|
-
constructor(configuration:
|
|
21094
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
21091
21095
|
super(configuration);
|
|
21092
21096
|
this.http = http ? http : window as any;
|
|
21093
21097
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -21142,7 +21146,7 @@ export class MesClient extends AuthorizedApiBase implements IMesClient {
|
|
|
21142
21146
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
21143
21147
|
private baseUrl: string;
|
|
21144
21148
|
|
|
21145
|
-
constructor(configuration:
|
|
21149
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
21146
21150
|
super(configuration);
|
|
21147
21151
|
this.http = http ? http : window as any;
|
|
21148
21152
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -21193,7 +21197,7 @@ export class MesDocumentsClient extends AuthorizedApiBase implements IMesDocumen
|
|
|
21193
21197
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
21194
21198
|
private baseUrl: string;
|
|
21195
21199
|
|
|
21196
|
-
constructor(configuration:
|
|
21200
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
21197
21201
|
super(configuration);
|
|
21198
21202
|
this.http = http ? http : window as any;
|
|
21199
21203
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -21252,7 +21256,7 @@ export class MesEngineeringChangeOrdersClient extends AuthorizedApiBase implemen
|
|
|
21252
21256
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
21253
21257
|
private baseUrl: string;
|
|
21254
21258
|
|
|
21255
|
-
constructor(configuration:
|
|
21259
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
21256
21260
|
super(configuration);
|
|
21257
21261
|
this.http = http ? http : window as any;
|
|
21258
21262
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -21356,7 +21360,7 @@ export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient
|
|
|
21356
21360
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
21357
21361
|
private baseUrl: string;
|
|
21358
21362
|
|
|
21359
|
-
constructor(configuration:
|
|
21363
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
21360
21364
|
super(configuration);
|
|
21361
21365
|
this.http = http ? http : window as any;
|
|
21362
21366
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -21601,7 +21605,7 @@ export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClie
|
|
|
21601
21605
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
21602
21606
|
private baseUrl: string;
|
|
21603
21607
|
|
|
21604
|
-
constructor(configuration:
|
|
21608
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
21605
21609
|
super(configuration);
|
|
21606
21610
|
this.http = http ? http : window as any;
|
|
21607
21611
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -21672,7 +21676,7 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
|
|
|
21672
21676
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
21673
21677
|
private baseUrl: string;
|
|
21674
21678
|
|
|
21675
|
-
constructor(configuration:
|
|
21679
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
21676
21680
|
super(configuration);
|
|
21677
21681
|
this.http = http ? http : window as any;
|
|
21678
21682
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -22061,7 +22065,7 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
22061
22065
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
22062
22066
|
private baseUrl: string;
|
|
22063
22067
|
|
|
22064
|
-
constructor(configuration:
|
|
22068
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22065
22069
|
super(configuration);
|
|
22066
22070
|
this.http = http ? http : window as any;
|
|
22067
22071
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -22360,7 +22364,7 @@ export class MesProjectsClient extends AuthorizedApiBase implements IMesProjects
|
|
|
22360
22364
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
22361
22365
|
private baseUrl: string;
|
|
22362
22366
|
|
|
22363
|
-
constructor(configuration:
|
|
22367
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22364
22368
|
super(configuration);
|
|
22365
22369
|
this.http = http ? http : window as any;
|
|
22366
22370
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -22454,7 +22458,7 @@ export class MesPurchaseOrderClient extends AuthorizedApiBase implements IMesPur
|
|
|
22454
22458
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
22455
22459
|
private baseUrl: string;
|
|
22456
22460
|
|
|
22457
|
-
constructor(configuration:
|
|
22461
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22458
22462
|
super(configuration);
|
|
22459
22463
|
this.http = http ? http : window as any;
|
|
22460
22464
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -22516,7 +22520,7 @@ export class MesResourceClient extends AuthorizedApiBase implements IMesResource
|
|
|
22516
22520
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
22517
22521
|
private baseUrl: string;
|
|
22518
22522
|
|
|
22519
|
-
constructor(configuration:
|
|
22523
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22520
22524
|
super(configuration);
|
|
22521
22525
|
this.http = http ? http : window as any;
|
|
22522
22526
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -22650,7 +22654,7 @@ export class ElectricalClient extends AuthorizedApiBase implements IElectricalCl
|
|
|
22650
22654
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
22651
22655
|
private baseUrl: string;
|
|
22652
22656
|
|
|
22653
|
-
constructor(configuration:
|
|
22657
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22654
22658
|
super(configuration);
|
|
22655
22659
|
this.http = http ? http : window as any;
|
|
22656
22660
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -22819,7 +22823,7 @@ export class WeldingClient extends AuthorizedApiBase implements IWeldingClient {
|
|
|
22819
22823
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
22820
22824
|
private baseUrl: string;
|
|
22821
22825
|
|
|
22822
|
-
constructor(configuration:
|
|
22826
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22823
22827
|
super(configuration);
|
|
22824
22828
|
this.http = http ? http : window as any;
|
|
22825
22829
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -22992,7 +22996,7 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
22992
22996
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
22993
22997
|
private baseUrl: string;
|
|
22994
22998
|
|
|
22995
|
-
constructor(configuration:
|
|
22999
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22996
23000
|
super(configuration);
|
|
22997
23001
|
this.http = http ? http : window as any;
|
|
22998
23002
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -23254,7 +23258,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
|
|
|
23254
23258
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
23255
23259
|
private baseUrl: string;
|
|
23256
23260
|
|
|
23257
|
-
constructor(configuration:
|
|
23261
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
23258
23262
|
super(configuration);
|
|
23259
23263
|
this.http = http ? http : window as any;
|
|
23260
23264
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -23351,7 +23355,7 @@ export class InspectMatchMaterialChecksAdminClient extends AuthorizedApiBase imp
|
|
|
23351
23355
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
23352
23356
|
private baseUrl: string;
|
|
23353
23357
|
|
|
23354
|
-
constructor(configuration:
|
|
23358
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
23355
23359
|
super(configuration);
|
|
23356
23360
|
this.http = http ? http : window as any;
|
|
23357
23361
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -23534,7 +23538,7 @@ export class InspectMatchMaterialChecksClient extends AuthorizedApiBase implemen
|
|
|
23534
23538
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
23535
23539
|
private baseUrl: string;
|
|
23536
23540
|
|
|
23537
|
-
constructor(configuration:
|
|
23541
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
23538
23542
|
super(configuration);
|
|
23539
23543
|
this.http = http ? http : window as any;
|
|
23540
23544
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -23706,7 +23710,7 @@ export class InspectMatchPurchaseOrderClient extends AuthorizedApiBase implement
|
|
|
23706
23710
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
23707
23711
|
private baseUrl: string;
|
|
23708
23712
|
|
|
23709
|
-
constructor(configuration:
|
|
23713
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
23710
23714
|
super(configuration);
|
|
23711
23715
|
this.http = http ? http : window as any;
|
|
23712
23716
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -23850,7 +23854,7 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
23850
23854
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
23851
23855
|
private baseUrl: string;
|
|
23852
23856
|
|
|
23853
|
-
constructor(configuration:
|
|
23857
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
23854
23858
|
super(configuration);
|
|
23855
23859
|
this.http = http ? http : window as any;
|
|
23856
23860
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -24112,7 +24116,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
24112
24116
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
24113
24117
|
private baseUrl: string;
|
|
24114
24118
|
|
|
24115
|
-
constructor(configuration:
|
|
24119
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
24116
24120
|
super(configuration);
|
|
24117
24121
|
this.http = http ? http : window as any;
|
|
24118
24122
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -24318,7 +24322,7 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
|
|
|
24318
24322
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
24319
24323
|
private baseUrl: string;
|
|
24320
24324
|
|
|
24321
|
-
constructor(configuration:
|
|
24325
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
24322
24326
|
super(configuration);
|
|
24323
24327
|
this.http = http ? http : window as any;
|
|
24324
24328
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -26418,7 +26422,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
26418
26422
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
26419
26423
|
private baseUrl: string;
|
|
26420
26424
|
|
|
26421
|
-
constructor(configuration:
|
|
26425
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
26422
26426
|
super(configuration);
|
|
26423
26427
|
this.http = http ? http : window as any;
|
|
26424
26428
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -26552,7 +26556,7 @@ export class MeasurementFormSettingsClient extends AuthorizedApiBase implements
|
|
|
26552
26556
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
26553
26557
|
private baseUrl: string;
|
|
26554
26558
|
|
|
26555
|
-
constructor(configuration:
|
|
26559
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
26556
26560
|
super(configuration);
|
|
26557
26561
|
this.http = http ? http : window as any;
|
|
26558
26562
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -26723,7 +26727,7 @@ export class MeasurementFormsInstancesAdminClient extends AuthorizedApiBase impl
|
|
|
26723
26727
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
26724
26728
|
private baseUrl: string;
|
|
26725
26729
|
|
|
26726
|
-
constructor(configuration:
|
|
26730
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
26727
26731
|
super(configuration);
|
|
26728
26732
|
this.http = http ? http : window as any;
|
|
26729
26733
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -26896,7 +26900,7 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
26896
26900
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
26897
26901
|
private baseUrl: string;
|
|
26898
26902
|
|
|
26899
|
-
constructor(configuration:
|
|
26903
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
26900
26904
|
super(configuration);
|
|
26901
26905
|
this.http = http ? http : window as any;
|
|
26902
26906
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -27809,7 +27813,7 @@ export class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiB
|
|
|
27809
27813
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
27810
27814
|
private baseUrl: string;
|
|
27811
27815
|
|
|
27812
|
-
constructor(configuration:
|
|
27816
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
27813
27817
|
super(configuration);
|
|
27814
27818
|
this.http = http ? http : window as any;
|
|
27815
27819
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -28194,7 +28198,7 @@ export class CompaniesClient extends AuthorizedApiBase implements ICompaniesClie
|
|
|
28194
28198
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
28195
28199
|
private baseUrl: string;
|
|
28196
28200
|
|
|
28197
|
-
constructor(configuration:
|
|
28201
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
28198
28202
|
super(configuration);
|
|
28199
28203
|
this.http = http ? http : window as any;
|
|
28200
28204
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -28311,7 +28315,7 @@ export class CustomerOrdersClient extends AuthorizedApiBase implements ICustomer
|
|
|
28311
28315
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
28312
28316
|
private baseUrl: string;
|
|
28313
28317
|
|
|
28314
|
-
constructor(configuration:
|
|
28318
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
28315
28319
|
super(configuration);
|
|
28316
28320
|
this.http = http ? http : window as any;
|
|
28317
28321
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -28591,7 +28595,7 @@ export class ErpUsersClient extends AuthorizedApiBase implements IErpUsersClient
|
|
|
28591
28595
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
28592
28596
|
private baseUrl: string;
|
|
28593
28597
|
|
|
28594
|
-
constructor(configuration:
|
|
28598
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
28595
28599
|
super(configuration);
|
|
28596
28600
|
this.http = http ? http : window as any;
|
|
28597
28601
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -28648,7 +28652,7 @@ export class ProductionPoolsClient extends AuthorizedApiBase implements IProduct
|
|
|
28648
28652
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
28649
28653
|
private baseUrl: string;
|
|
28650
28654
|
|
|
28651
|
-
constructor(configuration:
|
|
28655
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
28652
28656
|
super(configuration);
|
|
28653
28657
|
this.http = http ? http : window as any;
|
|
28654
28658
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -28861,7 +28865,7 @@ export class WorkordersClient extends AuthorizedApiBase implements IWorkordersCl
|
|
|
28861
28865
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
28862
28866
|
private baseUrl: string;
|
|
28863
28867
|
|
|
28864
|
-
constructor(configuration:
|
|
28868
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
28865
28869
|
super(configuration);
|
|
28866
28870
|
this.http = http ? http : window as any;
|
|
28867
28871
|
this.baseUrl = baseUrl ?? "";
|
|
@@ -37262,4 +37266,13 @@ function throwException(message: string, status: number, response: string, heade
|
|
|
37262
37266
|
|
|
37263
37267
|
export interface IAccessTokenProvider {
|
|
37264
37268
|
getAccessToken: () => Promise<string>;
|
|
37269
|
+
}
|
|
37270
|
+
|
|
37271
|
+
export interface ITenantIdProvider {
|
|
37272
|
+
getTenantId: () => string | null;
|
|
37273
|
+
}
|
|
37274
|
+
|
|
37275
|
+
export interface IApiClientConfig {
|
|
37276
|
+
accessTokenProvider: IAccessTokenProvider;
|
|
37277
|
+
tenantIdProvider: ITenantIdProvider;
|
|
37265
37278
|
}
|