@saritasa/renewaire-frontend-sdk 0.119.0 → 0.120.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,
|
|
@@ -7721,7 +7721,7 @@ var AshraeVersion;
|
|
|
7721
7721
|
* Do not edit the class manually.
|
|
7722
7722
|
*/
|
|
7723
7723
|
/**
|
|
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 =
|
|
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 = ProjectRevision
|
|
7725
7725
|
*/
|
|
7726
7726
|
var AuditEntity;
|
|
7727
7727
|
(function (AuditEntity) {
|
|
@@ -7734,7 +7734,7 @@ var AuditEntity;
|
|
|
7734
7734
|
AuditEntity["ControllerProgram"] = "ControllerProgram";
|
|
7735
7735
|
AuditEntity["RepTerritoryRepContact"] = "RepTerritoryRepContact";
|
|
7736
7736
|
AuditEntity["RepTerritoryLocation"] = "RepTerritoryLocation";
|
|
7737
|
-
AuditEntity["
|
|
7737
|
+
AuditEntity["ProjectRevision"] = "ProjectRevision";
|
|
7738
7738
|
})(AuditEntity || (AuditEntity = {}));
|
|
7739
7739
|
|
|
7740
7740
|
/**
|
|
@@ -8347,16 +8347,6 @@ var Permission;
|
|
|
8347
8347
|
* Do not edit the class manually.
|
|
8348
8348
|
*/
|
|
8349
8349
|
|
|
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
8350
|
/**
|
|
8361
8351
|
* RenewAire CORES API
|
|
8362
8352
|
*
|
|
@@ -8377,6 +8367,16 @@ var ProjectNoteType;
|
|
|
8377
8367
|
ProjectNoteType["SalesChannel"] = "SalesChannel";
|
|
8378
8368
|
})(ProjectNoteType || (ProjectNoteType = {}));
|
|
8379
8369
|
|
|
8370
|
+
/**
|
|
8371
|
+
* RenewAire CORES API
|
|
8372
|
+
*
|
|
8373
|
+
* Contact: renewaire@saritasa.com
|
|
8374
|
+
*
|
|
8375
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8376
|
+
* https://openapi-generator.tech
|
|
8377
|
+
* Do not edit the class manually.
|
|
8378
|
+
*/
|
|
8379
|
+
|
|
8380
8380
|
/**
|
|
8381
8381
|
* RenewAire CORES API
|
|
8382
8382
|
*
|