@saritasa/renewaire-frontend-sdk 0.104.0 → 0.106.0
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/README.md
CHANGED
|
@@ -373,6 +373,7 @@ class AuthApiService extends BaseService {
|
|
|
373
373
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
374
374
|
// to determine the Content-Type header
|
|
375
375
|
const consumes = [
|
|
376
|
+
"application/json-patch+json",
|
|
376
377
|
"application/json",
|
|
377
378
|
"text/json",
|
|
378
379
|
"application/*+json",
|
|
@@ -422,6 +423,7 @@ class AuthApiService extends BaseService {
|
|
|
422
423
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
423
424
|
// to determine the Content-Type header
|
|
424
425
|
const consumes = [
|
|
426
|
+
"application/json-patch+json",
|
|
425
427
|
"application/json",
|
|
426
428
|
"text/json",
|
|
427
429
|
"application/*+json",
|
|
@@ -581,6 +583,7 @@ class AuthApiService extends BaseService {
|
|
|
581
583
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
582
584
|
// to determine the Content-Type header
|
|
583
585
|
const consumes = [
|
|
586
|
+
"application/json-patch+json",
|
|
584
587
|
"application/json",
|
|
585
588
|
"text/json",
|
|
586
589
|
"application/*+json",
|
|
@@ -669,6 +672,7 @@ class ControllerProgramsApiService extends BaseService {
|
|
|
669
672
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
670
673
|
// to determine the Content-Type header
|
|
671
674
|
const consumes = [
|
|
675
|
+
"application/json-patch+json",
|
|
672
676
|
"application/json",
|
|
673
677
|
"text/json",
|
|
674
678
|
"application/*+json",
|
|
@@ -867,6 +871,7 @@ class ControllerProgramsApiService extends BaseService {
|
|
|
867
871
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
868
872
|
// to determine the Content-Type header
|
|
869
873
|
const consumes = [
|
|
874
|
+
"application/json-patch+json",
|
|
870
875
|
"application/json",
|
|
871
876
|
"text/json",
|
|
872
877
|
"application/*+json",
|
|
@@ -1080,6 +1085,7 @@ class GroupsApiService extends BaseService {
|
|
|
1080
1085
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
1081
1086
|
// to determine the Content-Type header
|
|
1082
1087
|
const consumes = [
|
|
1088
|
+
"application/json-patch+json",
|
|
1083
1089
|
"application/json",
|
|
1084
1090
|
"text/json",
|
|
1085
1091
|
"application/*+json",
|
|
@@ -1290,6 +1296,7 @@ class GroupsApiService extends BaseService {
|
|
|
1290
1296
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
1291
1297
|
// to determine the Content-Type header
|
|
1292
1298
|
const consumes = [
|
|
1299
|
+
"application/json-patch+json",
|
|
1293
1300
|
"application/json",
|
|
1294
1301
|
"text/json",
|
|
1295
1302
|
"application/*+json",
|
|
@@ -1375,6 +1382,7 @@ class KnownContactsApiService extends BaseService {
|
|
|
1375
1382
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
1376
1383
|
// to determine the Content-Type header
|
|
1377
1384
|
const consumes = [
|
|
1385
|
+
"application/json-patch+json",
|
|
1378
1386
|
"application/json",
|
|
1379
1387
|
"text/json",
|
|
1380
1388
|
"application/*+json",
|
|
@@ -1525,6 +1533,7 @@ class KnownContactsApiService extends BaseService {
|
|
|
1525
1533
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
1526
1534
|
// to determine the Content-Type header
|
|
1527
1535
|
const consumes = [
|
|
1536
|
+
"application/json-patch+json",
|
|
1528
1537
|
"application/json",
|
|
1529
1538
|
"text/json",
|
|
1530
1539
|
"application/*+json",
|
|
@@ -1609,6 +1618,7 @@ class LeadTimesApiService extends BaseService {
|
|
|
1609
1618
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
1610
1619
|
// to determine the Content-Type header
|
|
1611
1620
|
const consumes = [
|
|
1621
|
+
"application/json-patch+json",
|
|
1612
1622
|
"application/json",
|
|
1613
1623
|
"text/json",
|
|
1614
1624
|
"application/*+json",
|
|
@@ -1698,6 +1708,7 @@ class LeadTimesApiService extends BaseService {
|
|
|
1698
1708
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
1699
1709
|
// to determine the Content-Type header
|
|
1700
1710
|
const consumes = [
|
|
1711
|
+
"application/json-patch+json",
|
|
1701
1712
|
"application/json",
|
|
1702
1713
|
"text/json",
|
|
1703
1714
|
"application/*+json",
|
|
@@ -1851,6 +1862,7 @@ class PermissionBundlesApiService extends BaseService {
|
|
|
1851
1862
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
1852
1863
|
// to determine the Content-Type header
|
|
1853
1864
|
const consumes = [
|
|
1865
|
+
"application/json-patch+json",
|
|
1854
1866
|
"application/json",
|
|
1855
1867
|
"text/json",
|
|
1856
1868
|
"application/*+json",
|
|
@@ -2045,6 +2057,7 @@ class PermissionBundlesApiService extends BaseService {
|
|
|
2045
2057
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
2046
2058
|
// to determine the Content-Type header
|
|
2047
2059
|
const consumes = [
|
|
2060
|
+
"application/json-patch+json",
|
|
2048
2061
|
"application/json",
|
|
2049
2062
|
"text/json",
|
|
2050
2063
|
"application/*+json",
|
|
@@ -2205,6 +2218,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2205
2218
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
2206
2219
|
// to determine the Content-Type header
|
|
2207
2220
|
const consumes = [
|
|
2221
|
+
"application/json-patch+json",
|
|
2208
2222
|
"application/json",
|
|
2209
2223
|
"text/json",
|
|
2210
2224
|
"application/*+json",
|
|
@@ -2260,6 +2274,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2260
2274
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
2261
2275
|
// to determine the Content-Type header
|
|
2262
2276
|
const consumes = [
|
|
2277
|
+
"application/json-patch+json",
|
|
2263
2278
|
"application/json",
|
|
2264
2279
|
"text/json",
|
|
2265
2280
|
"application/*+json",
|
|
@@ -2315,6 +2330,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2315
2330
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
2316
2331
|
// to determine the Content-Type header
|
|
2317
2332
|
const consumes = [
|
|
2333
|
+
"application/json-patch+json",
|
|
2318
2334
|
"application/json",
|
|
2319
2335
|
"text/json",
|
|
2320
2336
|
"application/*+json",
|
|
@@ -2370,6 +2386,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2370
2386
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
2371
2387
|
// to determine the Content-Type header
|
|
2372
2388
|
const consumes = [
|
|
2389
|
+
"application/json-patch+json",
|
|
2373
2390
|
"application/json",
|
|
2374
2391
|
"text/json",
|
|
2375
2392
|
"application/*+json",
|
|
@@ -2425,6 +2442,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2425
2442
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
2426
2443
|
// to determine the Content-Type header
|
|
2427
2444
|
const consumes = [
|
|
2445
|
+
"application/json-patch+json",
|
|
2428
2446
|
"application/json",
|
|
2429
2447
|
"text/json",
|
|
2430
2448
|
"application/*+json",
|
|
@@ -2480,6 +2498,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2480
2498
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
2481
2499
|
// to determine the Content-Type header
|
|
2482
2500
|
const consumes = [
|
|
2501
|
+
"application/json-patch+json",
|
|
2483
2502
|
"application/json",
|
|
2484
2503
|
"text/json",
|
|
2485
2504
|
"application/*+json",
|
|
@@ -2564,6 +2583,7 @@ class ProjectsApiService extends BaseService {
|
|
|
2564
2583
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
2565
2584
|
// to determine the Content-Type header
|
|
2566
2585
|
const consumes = [
|
|
2586
|
+
"application/json-patch+json",
|
|
2567
2587
|
"application/json",
|
|
2568
2588
|
"text/json",
|
|
2569
2589
|
"application/*+json",
|
|
@@ -2828,6 +2848,57 @@ class ProjectsApiService extends BaseService {
|
|
|
2828
2848
|
reportProgress: reportProgress,
|
|
2829
2849
|
});
|
|
2830
2850
|
}
|
|
2851
|
+
projectsUpdateProject(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2852
|
+
const projectId = requestParameters?.projectId;
|
|
2853
|
+
if (projectId === null || projectId === undefined) {
|
|
2854
|
+
throw new Error("Required parameter projectId was null or undefined when calling projectsUpdateProject.");
|
|
2855
|
+
}
|
|
2856
|
+
const updateProjectDto = requestParameters?.updateProjectDto;
|
|
2857
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2858
|
+
// authentication (Bearer) required
|
|
2859
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2860
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2861
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2862
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2863
|
+
}
|
|
2864
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2865
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2866
|
+
// to determine the Content-Type header
|
|
2867
|
+
const consumes = [
|
|
2868
|
+
"application/json-patch+json",
|
|
2869
|
+
"application/json",
|
|
2870
|
+
"text/json",
|
|
2871
|
+
"application/*+json",
|
|
2872
|
+
];
|
|
2873
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2874
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2875
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2876
|
+
}
|
|
2877
|
+
let responseType_ = "json";
|
|
2878
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2879
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2880
|
+
responseType_ = "text";
|
|
2881
|
+
}
|
|
2882
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2883
|
+
responseType_ = "json";
|
|
2884
|
+
}
|
|
2885
|
+
else {
|
|
2886
|
+
responseType_ = "blob";
|
|
2887
|
+
}
|
|
2888
|
+
}
|
|
2889
|
+
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
2890
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2891
|
+
return this.httpClient.request("patch", `${basePath}${localVarPath}`, {
|
|
2892
|
+
context: localVarHttpContext,
|
|
2893
|
+
body: updateProjectDto,
|
|
2894
|
+
responseType: responseType_,
|
|
2895
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2896
|
+
headers: localVarHeaders,
|
|
2897
|
+
observe: observe,
|
|
2898
|
+
transferCache: localVarTransferCache,
|
|
2899
|
+
reportProgress: reportProgress,
|
|
2900
|
+
});
|
|
2901
|
+
}
|
|
2831
2902
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: ProjectsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2832
2903
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: ProjectsApiService, providedIn: "root" });
|
|
2833
2904
|
}
|
|
@@ -3122,6 +3193,7 @@ class RepContactsApiService extends BaseService {
|
|
|
3122
3193
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
3123
3194
|
// to determine the Content-Type header
|
|
3124
3195
|
const consumes = [
|
|
3196
|
+
"application/json-patch+json",
|
|
3125
3197
|
"application/json",
|
|
3126
3198
|
"text/json",
|
|
3127
3199
|
"application/*+json",
|
|
@@ -3206,6 +3278,7 @@ class RepSalesReportsApiService extends BaseService {
|
|
|
3206
3278
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
3207
3279
|
// to determine the Content-Type header
|
|
3208
3280
|
const consumes = [
|
|
3281
|
+
"application/json-patch+json",
|
|
3209
3282
|
"application/json",
|
|
3210
3283
|
"text/json",
|
|
3211
3284
|
"application/*+json",
|
|
@@ -3666,6 +3739,7 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
3666
3739
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
3667
3740
|
// to determine the Content-Type header
|
|
3668
3741
|
const consumes = [
|
|
3742
|
+
"application/json-patch+json",
|
|
3669
3743
|
"application/json",
|
|
3670
3744
|
"text/json",
|
|
3671
3745
|
"application/*+json",
|
|
@@ -3721,6 +3795,7 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
3721
3795
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
3722
3796
|
// to determine the Content-Type header
|
|
3723
3797
|
const consumes = [
|
|
3798
|
+
"application/json-patch+json",
|
|
3724
3799
|
"application/json",
|
|
3725
3800
|
"text/json",
|
|
3726
3801
|
"application/*+json",
|
|
@@ -4347,6 +4422,7 @@ class RepTerritoryLocationsApiService extends BaseService {
|
|
|
4347
4422
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
4348
4423
|
// to determine the Content-Type header
|
|
4349
4424
|
const consumes = [
|
|
4425
|
+
"application/json-patch+json",
|
|
4350
4426
|
"application/json",
|
|
4351
4427
|
"text/json",
|
|
4352
4428
|
"application/*+json",
|
|
@@ -4983,6 +5059,7 @@ class S3ApiService extends BaseService {
|
|
|
4983
5059
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
4984
5060
|
// to determine the Content-Type header
|
|
4985
5061
|
const consumes = [
|
|
5062
|
+
"application/json-patch+json",
|
|
4986
5063
|
"application/json",
|
|
4987
5064
|
"text/json",
|
|
4988
5065
|
"application/*+json",
|
|
@@ -5174,6 +5251,7 @@ class UserDesignConditionsApiService extends BaseService {
|
|
|
5174
5251
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5175
5252
|
// to determine the Content-Type header
|
|
5176
5253
|
const consumes = [
|
|
5254
|
+
"application/json-patch+json",
|
|
5177
5255
|
"application/json",
|
|
5178
5256
|
"text/json",
|
|
5179
5257
|
"application/*+json",
|
|
@@ -5300,6 +5378,7 @@ class UserTablesApiService extends BaseService {
|
|
|
5300
5378
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5301
5379
|
// to determine the Content-Type header
|
|
5302
5380
|
const consumes = [
|
|
5381
|
+
"application/json-patch+json",
|
|
5303
5382
|
"application/json",
|
|
5304
5383
|
"text/json",
|
|
5305
5384
|
"application/*+json",
|
|
@@ -5460,6 +5539,7 @@ class UsersApiService extends BaseService {
|
|
|
5460
5539
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5461
5540
|
// to determine the Content-Type header
|
|
5462
5541
|
const consumes = [
|
|
5542
|
+
"application/json-patch+json",
|
|
5463
5543
|
"application/json",
|
|
5464
5544
|
"text/json",
|
|
5465
5545
|
"application/*+json",
|
|
@@ -5506,6 +5586,7 @@ class UsersApiService extends BaseService {
|
|
|
5506
5586
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5507
5587
|
// to determine the Content-Type header
|
|
5508
5588
|
const consumes = [
|
|
5589
|
+
"application/json-patch+json",
|
|
5509
5590
|
"application/json",
|
|
5510
5591
|
"text/json",
|
|
5511
5592
|
"application/*+json",
|
|
@@ -5550,6 +5631,7 @@ class UsersApiService extends BaseService {
|
|
|
5550
5631
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5551
5632
|
// to determine the Content-Type header
|
|
5552
5633
|
const consumes = [
|
|
5634
|
+
"application/json-patch+json",
|
|
5553
5635
|
"application/json",
|
|
5554
5636
|
"text/json",
|
|
5555
5637
|
"application/*+json",
|
|
@@ -5632,6 +5714,7 @@ class UsersApiService extends BaseService {
|
|
|
5632
5714
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5633
5715
|
// to determine the Content-Type header
|
|
5634
5716
|
const consumes = [
|
|
5717
|
+
"application/json-patch+json",
|
|
5635
5718
|
"application/json",
|
|
5636
5719
|
"text/json",
|
|
5637
5720
|
"application/*+json",
|
|
@@ -5883,6 +5966,7 @@ class UsersApiService extends BaseService {
|
|
|
5883
5966
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5884
5967
|
// to determine the Content-Type header
|
|
5885
5968
|
const consumes = [
|
|
5969
|
+
"application/json-patch+json",
|
|
5886
5970
|
"application/json",
|
|
5887
5971
|
"text/json",
|
|
5888
5972
|
"application/*+json",
|
|
@@ -5927,6 +6011,7 @@ class UsersApiService extends BaseService {
|
|
|
5927
6011
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5928
6012
|
// to determine the Content-Type header
|
|
5929
6013
|
const consumes = [
|
|
6014
|
+
"application/json-patch+json",
|
|
5930
6015
|
"application/json",
|
|
5931
6016
|
"text/json",
|
|
5932
6017
|
"application/*+json",
|
|
@@ -5971,6 +6056,7 @@ class UsersApiService extends BaseService {
|
|
|
5971
6056
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5972
6057
|
// to determine the Content-Type header
|
|
5973
6058
|
const consumes = [
|
|
6059
|
+
"application/json-patch+json",
|
|
5974
6060
|
"application/json",
|
|
5975
6061
|
"text/json",
|
|
5976
6062
|
"application/*+json",
|
|
@@ -6072,6 +6158,7 @@ class UsersApiService extends BaseService {
|
|
|
6072
6158
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
6073
6159
|
// to determine the Content-Type header
|
|
6074
6160
|
const consumes = [
|
|
6161
|
+
"application/json-patch+json",
|
|
6075
6162
|
"application/json",
|
|
6076
6163
|
"text/json",
|
|
6077
6164
|
"application/*+json",
|
|
@@ -6120,6 +6207,7 @@ class UsersApiService extends BaseService {
|
|
|
6120
6207
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
6121
6208
|
// to determine the Content-Type header
|
|
6122
6209
|
const consumes = [
|
|
6210
|
+
"application/json-patch+json",
|
|
6123
6211
|
"application/json",
|
|
6124
6212
|
"text/json",
|
|
6125
6213
|
"application/*+json",
|
|
@@ -6166,6 +6254,7 @@ class UsersApiService extends BaseService {
|
|
|
6166
6254
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
6167
6255
|
// to determine the Content-Type header
|
|
6168
6256
|
const consumes = [
|
|
6257
|
+
"application/json-patch+json",
|
|
6169
6258
|
"application/json",
|
|
6170
6259
|
"text/json",
|
|
6171
6260
|
"application/*+json",
|
|
@@ -6212,6 +6301,7 @@ class UsersApiService extends BaseService {
|
|
|
6212
6301
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
6213
6302
|
// to determine the Content-Type header
|
|
6214
6303
|
const consumes = [
|
|
6304
|
+
"application/json-patch+json",
|
|
6215
6305
|
"application/json",
|
|
6216
6306
|
"text/json",
|
|
6217
6307
|
"application/*+json",
|
|
@@ -6258,6 +6348,7 @@ class UsersApiService extends BaseService {
|
|
|
6258
6348
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
6259
6349
|
// to determine the Content-Type header
|
|
6260
6350
|
const consumes = [
|
|
6351
|
+
"application/json-patch+json",
|
|
6261
6352
|
"application/json",
|
|
6262
6353
|
"text/json",
|
|
6263
6354
|
"application/*+json",
|
|
@@ -6304,6 +6395,7 @@ class UsersApiService extends BaseService {
|
|
|
6304
6395
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
6305
6396
|
// to determine the Content-Type header
|
|
6306
6397
|
const consumes = [
|
|
6398
|
+
"application/json-patch+json",
|
|
6307
6399
|
"application/json",
|
|
6308
6400
|
"text/json",
|
|
6309
6401
|
"application/*+json",
|
|
@@ -6599,6 +6691,7 @@ class UsersApiService extends BaseService {
|
|
|
6599
6691
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
6600
6692
|
// to determine the Content-Type header
|
|
6601
6693
|
const consumes = [
|
|
6694
|
+
"application/json-patch+json",
|
|
6602
6695
|
"application/json",
|
|
6603
6696
|
"text/json",
|
|
6604
6697
|
"application/*+json",
|
|
@@ -6632,6 +6725,57 @@ class UsersApiService extends BaseService {
|
|
|
6632
6725
|
reportProgress: reportProgress,
|
|
6633
6726
|
});
|
|
6634
6727
|
}
|
|
6728
|
+
usersUpdateUserQuoteSettings(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6729
|
+
const userId = requestParameters?.userId;
|
|
6730
|
+
if (userId === null || userId === undefined) {
|
|
6731
|
+
throw new Error("Required parameter userId was null or undefined when calling usersUpdateUserQuoteSettings.");
|
|
6732
|
+
}
|
|
6733
|
+
const saveUserQuoteSettingsDto = requestParameters?.saveUserQuoteSettingsDto;
|
|
6734
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6735
|
+
// authentication (Bearer) required
|
|
6736
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6737
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
6738
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6739
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6740
|
+
}
|
|
6741
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6742
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6743
|
+
// to determine the Content-Type header
|
|
6744
|
+
const consumes = [
|
|
6745
|
+
"application/json-patch+json",
|
|
6746
|
+
"application/json",
|
|
6747
|
+
"text/json",
|
|
6748
|
+
"application/*+json",
|
|
6749
|
+
];
|
|
6750
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6751
|
+
if (httpContentTypeSelected !== undefined) {
|
|
6752
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
6753
|
+
}
|
|
6754
|
+
let responseType_ = "json";
|
|
6755
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6756
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6757
|
+
responseType_ = "text";
|
|
6758
|
+
}
|
|
6759
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6760
|
+
responseType_ = "json";
|
|
6761
|
+
}
|
|
6762
|
+
else {
|
|
6763
|
+
responseType_ = "blob";
|
|
6764
|
+
}
|
|
6765
|
+
}
|
|
6766
|
+
let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/settings/quote`;
|
|
6767
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6768
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
6769
|
+
context: localVarHttpContext,
|
|
6770
|
+
body: saveUserQuoteSettingsDto,
|
|
6771
|
+
responseType: responseType_,
|
|
6772
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6773
|
+
headers: localVarHeaders,
|
|
6774
|
+
observe: observe,
|
|
6775
|
+
transferCache: localVarTransferCache,
|
|
6776
|
+
reportProgress: reportProgress,
|
|
6777
|
+
});
|
|
6778
|
+
}
|
|
6635
6779
|
usersVerifyResetPasswordToken(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6636
6780
|
const verifyResetPasswordTokenCommand = requestParameters?.verifyResetPasswordTokenCommand;
|
|
6637
6781
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -6643,6 +6787,7 @@ class UsersApiService extends BaseService {
|
|
|
6643
6787
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
6644
6788
|
// to determine the Content-Type header
|
|
6645
6789
|
const consumes = [
|
|
6790
|
+
"application/json-patch+json",
|
|
6646
6791
|
"application/json",
|
|
6647
6792
|
"text/json",
|
|
6648
6793
|
"application/*+json",
|
|
@@ -7855,6 +8000,29 @@ var LeadTimeType;
|
|
|
7855
8000
|
* Do not edit the class manually.
|
|
7856
8001
|
*/
|
|
7857
8002
|
|
|
8003
|
+
/**
|
|
8004
|
+
* RenewAire CORES API
|
|
8005
|
+
*
|
|
8006
|
+
* Contact: renewaire@saritasa.com
|
|
8007
|
+
*
|
|
8008
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8009
|
+
* https://openapi-generator.tech
|
|
8010
|
+
* Do not edit the class manually.
|
|
8011
|
+
*/
|
|
8012
|
+
/**
|
|
8013
|
+
* OperationType<br />0 = Add<br />1 = Remove<br />2 = Replace<br />3 = Move<br />4 = Copy<br />5 = Test<br />6 = Invalid
|
|
8014
|
+
*/
|
|
8015
|
+
var OperationType;
|
|
8016
|
+
(function (OperationType) {
|
|
8017
|
+
OperationType["Add"] = "Add";
|
|
8018
|
+
OperationType["Remove"] = "Remove";
|
|
8019
|
+
OperationType["Replace"] = "Replace";
|
|
8020
|
+
OperationType["Move"] = "Move";
|
|
8021
|
+
OperationType["Copy"] = "Copy";
|
|
8022
|
+
OperationType["Test"] = "Test";
|
|
8023
|
+
OperationType["Invalid"] = "Invalid";
|
|
8024
|
+
})(OperationType || (OperationType = {}));
|
|
8025
|
+
|
|
7858
8026
|
/**
|
|
7859
8027
|
* RenewAire CORES API
|
|
7860
8028
|
*
|
|
@@ -7875,7 +8043,7 @@ var LeadTimeType;
|
|
|
7875
8043
|
* Do not edit the class manually.
|
|
7876
8044
|
*/
|
|
7877
8045
|
/**
|
|
7878
|
-
* Group/user permission.<br />Permission<br />0 = SystemAdmin<br />1 = ManageUsers<br />2 = ViewAllProjectsInTheSystem<br />3 = EditAllProjectsInTheSystem<br />4 = ViewOtherGroupMembersProjects<br />5 = EditEachOthersGroupMembersProjects<br />6 = AnswerIncomingChats<br />7 = QsEligible<br />8 = ViewQsApplications<br />9 = ViewPricing<br />10 = ConfigurationAccessDoas<br />11 = ConfigurationAccessCommercial<br />12 = ConfigurationAccessResidential<br />13 = ConfigurationAccessApplied<br />14 = ConfigurationAccessElectricHeaters<br />15 = ConfigurationAccessGasFurnaces<br />16 = ConfigurationAccessCoilModules<br />17 = ConfigurationAccessAccessories<br />18 = ConfigurationAccessServiceParts<br />19 = ConfigurationAccessSpUnits<br />20 = ConfigurationAccessJciResUnits<br />21 = ConfigurationAccessJciComUnits<br />22 = ConfigurationAccessTraneUnits<br />23 = EditSystemGroups<br />24 = ViewAllHiddenFieldsExtraData<br />25 = ViewExtraCalculationData<br />26 = EditCertainReadonlyFields<br />27 = ViewRenewAireOnlyData<br />28 = ViewAhriCertificationItemsAndData<br />29 = ReassignProjects<br />30 = CreateNewProjects<br />31 = CreateNewLineItems<br />32 = ViewClosedLines<br />33 = AccessSiteInMaintenanceMode<br />34 = ViewSoldToSelectionAndInformation<br />35 = Rep<br />36 = RequestAccountUpgrade<br />37 = EditUserAccountEmailAddress<br />38 = ManageAllUserGroups<br />39 = ManageRsdRegions<br />40 = ViewRsdRegions<br />41 = ManageRepTerritories<br />42 = ViewRepTerritories<br />43 = ViewRelatedRepTerritories<br />44 = ManageRepContacts<br />45 = ViewRepContacts<br />46 = ManageStateProvinces<br />47 = ViewStateProvinces<br />48 = ManageGroups<br />49 = ViewAllGroups<br />50 = ViewRelatedGroups<br />51 = ViewAllUsers<br />52 = ViewRelatedUsers<br />53 = ViewRenewAireLeadTimesData<br />54 = ViewSpLeadTimesData<br />55 = ViewRepReports<br />56 = ViewFinancialReports<br />57 = AccessPartnerPortal<br />58 = AccessExchangerPerformanceApp<br />59 = ViewDefrost<br />60 = ViewAshraeOptions<br />100 = SubmitOrder<br />101 = ImportOrdersToErp<br />104 = ViewDiscountWorkflows<br />105 = AddUnrestrictedDiscountsToProjects<br />106 = AddLimitedDiscountsToProjects<br />107 = ApproveUnrestrictedDiscountsInProjects<br />108 = ApproveLimitedDiscountsInProjects<br />109 = SubmitQsApplication<br />110 = QsBonus<br />111 = QsDiscount<br />113 = ApproveQsApplications<br />114 = MakeObsoleteLineItemsValid<br />115 = GenerateQuotes<br />116 = ViewAllProjectDownloadHistory<br />117 = ViewEnergyAnalysis<br />118 =
|
|
8046
|
+
* Group/user permission.<br />Permission<br />0 = SystemAdmin<br />1 = ManageUsers<br />2 = ViewAllProjectsInTheSystem<br />3 = EditAllProjectsInTheSystem<br />4 = ViewOtherGroupMembersProjects<br />5 = EditEachOthersGroupMembersProjects<br />6 = AnswerIncomingChats<br />7 = QsEligible<br />8 = ViewQsApplications<br />9 = ViewPricing<br />10 = ConfigurationAccessDoas<br />11 = ConfigurationAccessCommercial<br />12 = ConfigurationAccessResidential<br />13 = ConfigurationAccessApplied<br />14 = ConfigurationAccessElectricHeaters<br />15 = ConfigurationAccessGasFurnaces<br />16 = ConfigurationAccessCoilModules<br />17 = ConfigurationAccessAccessories<br />18 = ConfigurationAccessServiceParts<br />19 = ConfigurationAccessSpUnits<br />20 = ConfigurationAccessJciResUnits<br />21 = ConfigurationAccessJciComUnits<br />22 = ConfigurationAccessTraneUnits<br />23 = EditSystemGroups<br />24 = ViewAllHiddenFieldsExtraData<br />25 = ViewExtraCalculationData<br />26 = EditCertainReadonlyFields<br />27 = ViewRenewAireOnlyData<br />28 = ViewAhriCertificationItemsAndData<br />29 = ReassignProjects<br />30 = CreateNewProjects<br />31 = CreateNewLineItems<br />32 = ViewClosedLines<br />33 = AccessSiteInMaintenanceMode<br />34 = ViewSoldToSelectionAndInformation<br />35 = Rep<br />36 = RequestAccountUpgrade<br />37 = EditUserAccountEmailAddress<br />38 = ManageAllUserGroups<br />39 = ManageRsdRegions<br />40 = ViewRsdRegions<br />41 = ManageRepTerritories<br />42 = ViewRepTerritories<br />43 = ViewRelatedRepTerritories<br />44 = ManageRepContacts<br />45 = ViewRepContacts<br />46 = ManageStateProvinces<br />47 = ViewStateProvinces<br />48 = ManageGroups<br />49 = ViewAllGroups<br />50 = ViewRelatedGroups<br />51 = ViewAllUsers<br />52 = ViewRelatedUsers<br />53 = ViewRenewAireLeadTimesData<br />54 = ViewSpLeadTimesData<br />55 = ViewRepReports<br />56 = ViewFinancialReports<br />57 = AccessPartnerPortal<br />58 = AccessExchangerPerformanceApp<br />59 = ViewDefrost<br />60 = ViewAshraeOptions<br />100 = SubmitOrder<br />101 = ImportOrdersToErp<br />104 = ViewDiscountWorkflows<br />105 = AddUnrestrictedDiscountsToProjects<br />106 = AddLimitedDiscountsToProjects<br />107 = ApproveUnrestrictedDiscountsInProjects<br />108 = ApproveLimitedDiscountsInProjects<br />109 = SubmitQsApplication<br />110 = QsBonus<br />111 = QsDiscount<br />113 = ApproveQsApplications<br />114 = MakeObsoleteLineItemsValid<br />115 = GenerateQuotes<br />116 = ViewAllProjectDownloadHistory<br />117 = ViewEnergyAnalysis<br />118 = ViewExtraQuoteOptions<br />119 = ViewShipToSelectionAndInformation<br />120 = ViewProjectRevisions<br />121 = AddProjectRevisions<br />122 = ViewLinkedProjects<br />123 = AddLinkedProjects<br />124 = TakeOverEditingFromOtherUsers<br />125 = ViewPermissionBundles<br />126 = EditUsers
|
|
7879
8047
|
*/
|
|
7880
8048
|
var Permission;
|
|
7881
8049
|
(function (Permission) {
|
|
@@ -7955,7 +8123,7 @@ var Permission;
|
|
|
7955
8123
|
Permission["GenerateQuotes"] = "GenerateQuotes";
|
|
7956
8124
|
Permission["ViewAllProjectDownloadHistory"] = "ViewAllProjectDownloadHistory";
|
|
7957
8125
|
Permission["ViewEnergyAnalysis"] = "ViewEnergyAnalysis";
|
|
7958
|
-
Permission["
|
|
8126
|
+
Permission["ViewExtraQuoteOptions"] = "ViewExtraQuoteOptions";
|
|
7959
8127
|
Permission["ViewShipToSelectionAndInformation"] = "ViewShipToSelectionAndInformation";
|
|
7960
8128
|
Permission["ViewProjectRevisions"] = "ViewProjectRevisions";
|
|
7961
8129
|
Permission["AddProjectRevisions"] = "AddProjectRevisions";
|
|
@@ -8339,6 +8507,16 @@ var UnitSystem;
|
|
|
8339
8507
|
* Do not edit the class manually.
|
|
8340
8508
|
*/
|
|
8341
8509
|
|
|
8510
|
+
/**
|
|
8511
|
+
* RenewAire CORES API
|
|
8512
|
+
*
|
|
8513
|
+
* Contact: renewaire@saritasa.com
|
|
8514
|
+
*
|
|
8515
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8516
|
+
* https://openapi-generator.tech
|
|
8517
|
+
* Do not edit the class manually.
|
|
8518
|
+
*/
|
|
8519
|
+
|
|
8342
8520
|
/**
|
|
8343
8521
|
* RenewAire CORES API
|
|
8344
8522
|
*
|
|
@@ -8420,5 +8598,5 @@ function provideApi(configOrBasePath) {
|
|
|
8420
8598
|
* Generated bundle index. Do not edit.
|
|
8421
8599
|
*/
|
|
8422
8600
|
|
|
8423
|
-
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
8601
|
+
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
8424
8602
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|