@saritasa/renewaire-frontend-sdk 0.119.1 → 0.121.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
|
@@ -2203,10 +2203,10 @@ class ProjectNotesApiService extends BaseService {
|
|
|
2203
2203
|
this.httpClient = httpClient;
|
|
2204
2204
|
}
|
|
2205
2205
|
projectNotesCreateProjectNote(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2206
|
-
const
|
|
2206
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
2207
2207
|
const saveProjectNoteDto = requestParameters?.saveProjectNoteDto;
|
|
2208
2208
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2209
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
2209
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, projectRevisionId, "projectRevisionId");
|
|
2210
2210
|
let localVarHeaders = this.defaultHeaders;
|
|
2211
2211
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2212
2212
|
this.configuration.selectHeaderAccept([
|
|
@@ -2375,9 +2375,9 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2375
2375
|
this.httpClient = httpClient;
|
|
2376
2376
|
}
|
|
2377
2377
|
projectStatusesCancelQuoteRequest(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2378
|
-
const
|
|
2379
|
-
if (
|
|
2380
|
-
throw new Error("Required parameter
|
|
2378
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
2379
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
2380
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectStatusesCancelQuoteRequest.");
|
|
2381
2381
|
}
|
|
2382
2382
|
const cancelQuoteRequestCommand = requestParameters?.cancelQuoteRequestCommand;
|
|
2383
2383
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -2417,7 +2417,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2417
2417
|
responseType_ = "blob";
|
|
2418
2418
|
}
|
|
2419
2419
|
}
|
|
2420
|
-
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "
|
|
2420
|
+
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/cancel-quote-request`;
|
|
2421
2421
|
const { basePath, withCredentials } = this.configuration;
|
|
2422
2422
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2423
2423
|
context: localVarHttpContext,
|
|
@@ -2431,9 +2431,9 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2431
2431
|
});
|
|
2432
2432
|
}
|
|
2433
2433
|
projectStatusesRequestOrder(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2434
|
-
const
|
|
2435
|
-
if (
|
|
2436
|
-
throw new Error("Required parameter
|
|
2434
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
2435
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
2436
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectStatusesRequestOrder.");
|
|
2437
2437
|
}
|
|
2438
2438
|
const requestOrderCommand = requestParameters?.requestOrderCommand;
|
|
2439
2439
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -2473,7 +2473,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2473
2473
|
responseType_ = "blob";
|
|
2474
2474
|
}
|
|
2475
2475
|
}
|
|
2476
|
-
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "
|
|
2476
|
+
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/request-order`;
|
|
2477
2477
|
const { basePath, withCredentials } = this.configuration;
|
|
2478
2478
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2479
2479
|
context: localVarHttpContext,
|
|
@@ -2487,9 +2487,9 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2487
2487
|
});
|
|
2488
2488
|
}
|
|
2489
2489
|
projectStatusesRequestQuote(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2490
|
-
const
|
|
2491
|
-
if (
|
|
2492
|
-
throw new Error("Required parameter
|
|
2490
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
2491
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
2492
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectStatusesRequestQuote.");
|
|
2493
2493
|
}
|
|
2494
2494
|
const requestQuoteCommand = requestParameters?.requestQuoteCommand;
|
|
2495
2495
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -2529,7 +2529,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2529
2529
|
responseType_ = "blob";
|
|
2530
2530
|
}
|
|
2531
2531
|
}
|
|
2532
|
-
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "
|
|
2532
|
+
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/request-quote`;
|
|
2533
2533
|
const { basePath, withCredentials } = this.configuration;
|
|
2534
2534
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2535
2535
|
context: localVarHttpContext,
|
|
@@ -2543,9 +2543,9 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2543
2543
|
});
|
|
2544
2544
|
}
|
|
2545
2545
|
projectStatusesRequestQuote_1(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2546
|
-
const
|
|
2547
|
-
if (
|
|
2548
|
-
throw new Error("Required parameter
|
|
2546
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
2547
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
2548
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectStatusesRequestQuote_1.");
|
|
2549
2549
|
}
|
|
2550
2550
|
const rejectQuoteCommand = requestParameters?.rejectQuoteCommand;
|
|
2551
2551
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -2585,7 +2585,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2585
2585
|
responseType_ = "blob";
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
2588
|
-
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "
|
|
2588
|
+
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/reject-quote`;
|
|
2589
2589
|
const { basePath, withCredentials } = this.configuration;
|
|
2590
2590
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2591
2591
|
context: localVarHttpContext,
|
|
@@ -2599,9 +2599,9 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2599
2599
|
});
|
|
2600
2600
|
}
|
|
2601
2601
|
projectStatusesSubmitQuote(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2602
|
-
const
|
|
2603
|
-
if (
|
|
2604
|
-
throw new Error("Required parameter
|
|
2602
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
2603
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
2604
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectStatusesSubmitQuote.");
|
|
2605
2605
|
}
|
|
2606
2606
|
const submitQuoteCommand = requestParameters?.submitQuoteCommand;
|
|
2607
2607
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -2641,7 +2641,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2641
2641
|
responseType_ = "blob";
|
|
2642
2642
|
}
|
|
2643
2643
|
}
|
|
2644
|
-
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "
|
|
2644
|
+
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/submit-quote`;
|
|
2645
2645
|
const { basePath, withCredentials } = this.configuration;
|
|
2646
2646
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2647
2647
|
context: localVarHttpContext,
|
|
@@ -2655,9 +2655,9 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2655
2655
|
});
|
|
2656
2656
|
}
|
|
2657
2657
|
projectStatusesSubmitToRenewAire(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2658
|
-
const
|
|
2659
|
-
if (
|
|
2660
|
-
throw new Error("Required parameter
|
|
2658
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
2659
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
2660
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectStatusesSubmitToRenewAire.");
|
|
2661
2661
|
}
|
|
2662
2662
|
const submitToRenewAireCommand = requestParameters?.submitToRenewAireCommand;
|
|
2663
2663
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -2697,7 +2697,7 @@ class ProjectStatusesApiService extends BaseService {
|
|
|
2697
2697
|
responseType_ = "blob";
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
2700
|
-
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "
|
|
2700
|
+
let localVarPath = `/api/project-statuses/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/submit-to-renewaire`;
|
|
2701
2701
|
const { basePath, withCredentials } = this.configuration;
|
|
2702
2702
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2703
2703
|
context: localVarHttpContext,
|
|
@@ -2796,9 +2796,9 @@ class ProjectsApiService extends BaseService {
|
|
|
2796
2796
|
});
|
|
2797
2797
|
}
|
|
2798
2798
|
projectsExtendProjectEditMode(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2799
|
-
const
|
|
2800
|
-
if (
|
|
2801
|
-
throw new Error("Required parameter
|
|
2799
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
2800
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
2801
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectsExtendProjectEditMode.");
|
|
2802
2802
|
}
|
|
2803
2803
|
let localVarHeaders = this.defaultHeaders;
|
|
2804
2804
|
// authentication (Bearer) required
|
|
@@ -2826,7 +2826,7 @@ class ProjectsApiService extends BaseService {
|
|
|
2826
2826
|
responseType_ = "blob";
|
|
2827
2827
|
}
|
|
2828
2828
|
}
|
|
2829
|
-
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "
|
|
2829
|
+
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/heartbeat`;
|
|
2830
2830
|
const { basePath, withCredentials } = this.configuration;
|
|
2831
2831
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2832
2832
|
context: localVarHttpContext,
|
|
@@ -2839,9 +2839,9 @@ class ProjectsApiService extends BaseService {
|
|
|
2839
2839
|
});
|
|
2840
2840
|
}
|
|
2841
2841
|
projectsGetProject(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2842
|
-
const
|
|
2843
|
-
if (
|
|
2844
|
-
throw new Error("Required parameter
|
|
2842
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
2843
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
2844
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectsGetProject.");
|
|
2845
2845
|
}
|
|
2846
2846
|
let localVarHeaders = this.defaultHeaders;
|
|
2847
2847
|
// authentication (Bearer) required
|
|
@@ -2869,7 +2869,7 @@ class ProjectsApiService extends BaseService {
|
|
|
2869
2869
|
responseType_ = "blob";
|
|
2870
2870
|
}
|
|
2871
2871
|
}
|
|
2872
|
-
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "
|
|
2872
|
+
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
2873
2873
|
const { basePath, withCredentials } = this.configuration;
|
|
2874
2874
|
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2875
2875
|
context: localVarHttpContext,
|
|
@@ -2956,9 +2956,9 @@ class ProjectsApiService extends BaseService {
|
|
|
2956
2956
|
});
|
|
2957
2957
|
}
|
|
2958
2958
|
projectsStartEditProject(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2959
|
-
const
|
|
2960
|
-
if (
|
|
2961
|
-
throw new Error("Required parameter
|
|
2959
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
2960
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
2961
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectsStartEditProject.");
|
|
2962
2962
|
}
|
|
2963
2963
|
let localVarHeaders = this.defaultHeaders;
|
|
2964
2964
|
// authentication (Bearer) required
|
|
@@ -2986,7 +2986,7 @@ class ProjectsApiService extends BaseService {
|
|
|
2986
2986
|
responseType_ = "blob";
|
|
2987
2987
|
}
|
|
2988
2988
|
}
|
|
2989
|
-
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "
|
|
2989
|
+
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/start-edit`;
|
|
2990
2990
|
const { basePath, withCredentials } = this.configuration;
|
|
2991
2991
|
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2992
2992
|
context: localVarHttpContext,
|
|
@@ -2999,9 +2999,9 @@ class ProjectsApiService extends BaseService {
|
|
|
2999
2999
|
});
|
|
3000
3000
|
}
|
|
3001
3001
|
projectsStopEditProject(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3002
|
-
const
|
|
3003
|
-
if (
|
|
3004
|
-
throw new Error("Required parameter
|
|
3002
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
3003
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
3004
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectsStopEditProject.");
|
|
3005
3005
|
}
|
|
3006
3006
|
let localVarHeaders = this.defaultHeaders;
|
|
3007
3007
|
// authentication (Bearer) required
|
|
@@ -3029,7 +3029,7 @@ class ProjectsApiService extends BaseService {
|
|
|
3029
3029
|
responseType_ = "blob";
|
|
3030
3030
|
}
|
|
3031
3031
|
}
|
|
3032
|
-
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "
|
|
3032
|
+
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/stop-edit`;
|
|
3033
3033
|
const { basePath, withCredentials } = this.configuration;
|
|
3034
3034
|
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
3035
3035
|
context: localVarHttpContext,
|
|
@@ -3042,9 +3042,9 @@ class ProjectsApiService extends BaseService {
|
|
|
3042
3042
|
});
|
|
3043
3043
|
}
|
|
3044
3044
|
projectsUpdateProject(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3045
|
-
const
|
|
3046
|
-
if (
|
|
3047
|
-
throw new Error("Required parameter
|
|
3045
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
3046
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
3047
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectsUpdateProject.");
|
|
3048
3048
|
}
|
|
3049
3049
|
const isEndEditMode = requestParameters?.isEndEditMode;
|
|
3050
3050
|
const updateProjectDto = requestParameters?.updateProjectDto;
|
|
@@ -3087,7 +3087,7 @@ class ProjectsApiService extends BaseService {
|
|
|
3087
3087
|
responseType_ = "blob";
|
|
3088
3088
|
}
|
|
3089
3089
|
}
|
|
3090
|
-
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "
|
|
3090
|
+
let localVarPath = `/api/projects/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
3091
3091
|
const { basePath, withCredentials } = this.configuration;
|
|
3092
3092
|
return this.httpClient.request("patch", `${basePath}${localVarPath}`, {
|
|
3093
3093
|
context: localVarHttpContext,
|
|
@@ -4040,20 +4040,14 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
4040
4040
|
reportProgress: reportProgress,
|
|
4041
4041
|
});
|
|
4042
4042
|
}
|
|
4043
|
-
|
|
4043
|
+
repTerritoriesGetRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4044
4044
|
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
4045
4045
|
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
4046
|
-
throw new Error("Required parameter repTerritoryId was null or undefined when calling
|
|
4046
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesGetRepTerritory.");
|
|
4047
4047
|
}
|
|
4048
|
-
const orderBy = requestParameters?.orderBy;
|
|
4049
|
-
const page = requestParameters?.page;
|
|
4050
|
-
const pageSize = requestParameters?.pageSize;
|
|
4051
|
-
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
4052
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repTerritoryId, "RepTerritoryId");
|
|
4053
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
4054
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
4055
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
4056
4048
|
let localVarHeaders = this.defaultHeaders;
|
|
4049
|
+
// authentication (Bearer) required
|
|
4050
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4057
4051
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4058
4052
|
this.configuration.selectHeaderAccept([
|
|
4059
4053
|
"text/plain",
|
|
@@ -4077,11 +4071,10 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
4077
4071
|
responseType_ = "blob";
|
|
4078
4072
|
}
|
|
4079
4073
|
}
|
|
4080
|
-
let localVarPath = `/api/rep-territories
|
|
4074
|
+
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
4081
4075
|
const { basePath, withCredentials } = this.configuration;
|
|
4082
4076
|
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
4083
4077
|
context: localVarHttpContext,
|
|
4084
|
-
params: localVarQueryParameters,
|
|
4085
4078
|
responseType: responseType_,
|
|
4086
4079
|
...(withCredentials ? { withCredentials } : {}),
|
|
4087
4080
|
headers: localVarHeaders,
|
|
@@ -4090,20 +4083,15 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
4090
4083
|
reportProgress: reportProgress,
|
|
4091
4084
|
});
|
|
4092
4085
|
}
|
|
4093
|
-
|
|
4086
|
+
repTerritoriesRemoveRepTerritory(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4094
4087
|
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
4095
4088
|
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
4096
|
-
throw new Error("Required parameter repTerritoryId was null or undefined when calling
|
|
4089
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesRemoveRepTerritory.");
|
|
4097
4090
|
}
|
|
4098
4091
|
let localVarHeaders = this.defaultHeaders;
|
|
4099
4092
|
// authentication (Bearer) required
|
|
4100
4093
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4101
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4102
|
-
this.configuration.selectHeaderAccept([
|
|
4103
|
-
"text/plain",
|
|
4104
|
-
"application/json",
|
|
4105
|
-
"text/json",
|
|
4106
|
-
]);
|
|
4094
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4107
4095
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4108
4096
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4109
4097
|
}
|
|
@@ -4123,7 +4111,7 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
4123
4111
|
}
|
|
4124
4112
|
let localVarPath = `/api/rep-territories/${this.configuration.encodeParam({ name: "repTerritoryId", value: repTerritoryId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
4125
4113
|
const { basePath, withCredentials } = this.configuration;
|
|
4126
|
-
return this.httpClient.request("
|
|
4114
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
4127
4115
|
context: localVarHttpContext,
|
|
4128
4116
|
responseType: responseType_,
|
|
4129
4117
|
...(withCredentials ? { withCredentials } : {}),
|
|
@@ -4133,15 +4121,28 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
4133
4121
|
reportProgress: reportProgress,
|
|
4134
4122
|
});
|
|
4135
4123
|
}
|
|
4136
|
-
|
|
4124
|
+
repTerritoriesSearchAccessibleRepUsers(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4137
4125
|
const repTerritoryId = requestParameters?.repTerritoryId;
|
|
4138
4126
|
if (repTerritoryId === null || repTerritoryId === undefined) {
|
|
4139
|
-
throw new Error("Required parameter repTerritoryId was null or undefined when calling
|
|
4127
|
+
throw new Error("Required parameter repTerritoryId was null or undefined when calling repTerritoriesSearchAccessibleRepUsers.");
|
|
4140
4128
|
}
|
|
4129
|
+
const name = requestParameters?.name;
|
|
4130
|
+
const orderBy = requestParameters?.orderBy;
|
|
4131
|
+
const page = requestParameters?.page;
|
|
4132
|
+
const pageSize = requestParameters?.pageSize;
|
|
4133
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
4134
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repTerritoryId, "RepTerritoryId");
|
|
4135
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
|
|
4136
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
4137
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
4138
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
4141
4139
|
let localVarHeaders = this.defaultHeaders;
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4140
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4141
|
+
this.configuration.selectHeaderAccept([
|
|
4142
|
+
"text/plain",
|
|
4143
|
+
"application/json",
|
|
4144
|
+
"text/json",
|
|
4145
|
+
]);
|
|
4145
4146
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4146
4147
|
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4147
4148
|
}
|
|
@@ -4159,10 +4160,11 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
4159
4160
|
responseType_ = "blob";
|
|
4160
4161
|
}
|
|
4161
4162
|
}
|
|
4162
|
-
let localVarPath = `/api/rep-territories
|
|
4163
|
+
let localVarPath = `/api/rep-territories/rep-users`;
|
|
4163
4164
|
const { basePath, withCredentials } = this.configuration;
|
|
4164
|
-
return this.httpClient.request("
|
|
4165
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
4165
4166
|
context: localVarHttpContext,
|
|
4167
|
+
params: localVarQueryParameters,
|
|
4166
4168
|
responseType: responseType_,
|
|
4167
4169
|
...(withCredentials ? { withCredentials } : {}),
|
|
4168
4170
|
headers: localVarHeaders,
|
|
@@ -7721,7 +7723,7 @@ var AshraeVersion;
|
|
|
7721
7723
|
* Do not edit the class manually.
|
|
7722
7724
|
*/
|
|
7723
7725
|
/**
|
|
7724
|
-
* Type of entity that has an ability to track its audit change log. (When adding new options in this enum, need to add a new database migration.)<br />AuditEntity<br />0 = User<br />1 = PermissionBundle<br />2 = RsdRegion<br />3 = RepTerritory<br />4 = UserGroup<br />5 = KnownContact<br />6 = ControllerProgram<br />7 = RepTerritoryRepContact<br />8 = RepTerritoryLocation<br />9 =
|
|
7726
|
+
* Type of entity that has an ability to track its audit change log. (When adding new options in this enum, need to add a new database migration.)<br />AuditEntity<br />0 = User<br />1 = PermissionBundle<br />2 = RsdRegion<br />3 = RepTerritory<br />4 = UserGroup<br />5 = KnownContact<br />6 = ControllerProgram<br />7 = RepTerritoryRepContact<br />8 = RepTerritoryLocation<br />9 = ProjectRevision
|
|
7725
7727
|
*/
|
|
7726
7728
|
var AuditEntity;
|
|
7727
7729
|
(function (AuditEntity) {
|
|
@@ -7734,7 +7736,7 @@ var AuditEntity;
|
|
|
7734
7736
|
AuditEntity["ControllerProgram"] = "ControllerProgram";
|
|
7735
7737
|
AuditEntity["RepTerritoryRepContact"] = "RepTerritoryRepContact";
|
|
7736
7738
|
AuditEntity["RepTerritoryLocation"] = "RepTerritoryLocation";
|
|
7737
|
-
AuditEntity["
|
|
7739
|
+
AuditEntity["ProjectRevision"] = "ProjectRevision";
|
|
7738
7740
|
})(AuditEntity || (AuditEntity = {}));
|
|
7739
7741
|
|
|
7740
7742
|
/**
|
|
@@ -8347,16 +8349,6 @@ var Permission;
|
|
|
8347
8349
|
* Do not edit the class manually.
|
|
8348
8350
|
*/
|
|
8349
8351
|
|
|
8350
|
-
/**
|
|
8351
|
-
* RenewAire CORES API
|
|
8352
|
-
*
|
|
8353
|
-
* Contact: renewaire@saritasa.com
|
|
8354
|
-
*
|
|
8355
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8356
|
-
* https://openapi-generator.tech
|
|
8357
|
-
* Do not edit the class manually.
|
|
8358
|
-
*/
|
|
8359
|
-
|
|
8360
8352
|
/**
|
|
8361
8353
|
* RenewAire CORES API
|
|
8362
8354
|
*
|
|
@@ -8377,6 +8369,16 @@ var ProjectNoteType;
|
|
|
8377
8369
|
ProjectNoteType["SalesChannel"] = "SalesChannel";
|
|
8378
8370
|
})(ProjectNoteType || (ProjectNoteType = {}));
|
|
8379
8371
|
|
|
8372
|
+
/**
|
|
8373
|
+
* RenewAire CORES API
|
|
8374
|
+
*
|
|
8375
|
+
* Contact: renewaire@saritasa.com
|
|
8376
|
+
*
|
|
8377
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8378
|
+
* https://openapi-generator.tech
|
|
8379
|
+
* Do not edit the class manually.
|
|
8380
|
+
*/
|
|
8381
|
+
|
|
8380
8382
|
/**
|
|
8381
8383
|
* RenewAire CORES API
|
|
8382
8384
|
*
|