@saritasa/renewaire-frontend-sdk 0.416.0 → 0.418.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
|
@@ -747,6 +747,60 @@ class AuditLogsApiService extends BaseService {
|
|
|
747
747
|
reportProgress: reportProgress,
|
|
748
748
|
});
|
|
749
749
|
}
|
|
750
|
+
auditLogsSearchProjectDiscountAuditLogs(requestParameters, observe = "body", reportProgress = false, options) {
|
|
751
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
752
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
753
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling auditLogsSearchProjectDiscountAuditLogs.");
|
|
754
|
+
}
|
|
755
|
+
const text = requestParameters?.text;
|
|
756
|
+
const orderBy = requestParameters?.orderBy;
|
|
757
|
+
const page = requestParameters?.page;
|
|
758
|
+
const pageSize = requestParameters?.pageSize;
|
|
759
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
760
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, projectRevisionId, "ProjectRevisionId");
|
|
761
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, text, "Text");
|
|
762
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
763
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
|
|
764
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
|
|
765
|
+
let localVarHeaders = this.defaultHeaders;
|
|
766
|
+
// authentication (Bearer) required
|
|
767
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
768
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
769
|
+
this.configuration.selectHeaderAccept([
|
|
770
|
+
"text/plain",
|
|
771
|
+
"application/json",
|
|
772
|
+
"text/json",
|
|
773
|
+
]);
|
|
774
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
775
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
776
|
+
}
|
|
777
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
778
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
779
|
+
let responseType_ = "json";
|
|
780
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
781
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
782
|
+
responseType_ = "text";
|
|
783
|
+
}
|
|
784
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
785
|
+
responseType_ = "json";
|
|
786
|
+
}
|
|
787
|
+
else {
|
|
788
|
+
responseType_ = "blob";
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
let localVarPath = `/api/audit-logs/project-discounts`;
|
|
792
|
+
const { basePath, withCredentials } = this.configuration;
|
|
793
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
794
|
+
context: localVarHttpContext,
|
|
795
|
+
params: localVarQueryParameters,
|
|
796
|
+
responseType: responseType_,
|
|
797
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
798
|
+
headers: localVarHeaders,
|
|
799
|
+
observe: observe,
|
|
800
|
+
transferCache: localVarTransferCache,
|
|
801
|
+
reportProgress: reportProgress,
|
|
802
|
+
});
|
|
803
|
+
}
|
|
750
804
|
auditLogsSearchProjectRevisionAuditLogs(requestParameters, observe = "body", reportProgress = false, options) {
|
|
751
805
|
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
752
806
|
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
@@ -16239,7 +16293,7 @@ var AshraeVersion;
|
|
|
16239
16293
|
* Do not edit the class manually.
|
|
16240
16294
|
*/
|
|
16241
16295
|
/**
|
|
16242
|
-
* 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 = ControllerProgram<br />6 = RepTerritoryRepContact<br />7 = RepTerritoryLocation<br />8 = ProjectRevision<br />9 = Project<br />10 = ProjectLine<br />11 = MaterialLayer<br />12 = DownloadLayer<br />13 = RoutingLayer<br />14 = ValidationLayer<br />15 = ProductCodeLayer<br />16 = ExpediteRequest<br />17 = LineCommission
|
|
16296
|
+
* 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 = ControllerProgram<br />6 = RepTerritoryRepContact<br />7 = RepTerritoryLocation<br />8 = ProjectRevision<br />9 = Project<br />10 = ProjectLine<br />11 = MaterialLayer<br />12 = DownloadLayer<br />13 = RoutingLayer<br />14 = ValidationLayer<br />15 = ProductCodeLayer<br />16 = ExpediteRequest<br />17 = LineCommission<br />18 = ProjectDiscount
|
|
16243
16297
|
*/
|
|
16244
16298
|
var AuditEntity;
|
|
16245
16299
|
(function (AuditEntity) {
|
|
@@ -16261,6 +16315,7 @@ var AuditEntity;
|
|
|
16261
16315
|
AuditEntity["ProductCodeLayer"] = "ProductCodeLayer";
|
|
16262
16316
|
AuditEntity["ExpediteRequest"] = "ExpediteRequest";
|
|
16263
16317
|
AuditEntity["LineCommission"] = "LineCommission";
|
|
16318
|
+
AuditEntity["ProjectDiscount"] = "ProjectDiscount";
|
|
16264
16319
|
})(AuditEntity || (AuditEntity = {}));
|
|
16265
16320
|
|
|
16266
16321
|
/**
|
|
@@ -17512,6 +17567,16 @@ var ProjectDownloadFileType;
|
|
|
17512
17567
|
* Do not edit the class manually.
|
|
17513
17568
|
*/
|
|
17514
17569
|
|
|
17570
|
+
/**
|
|
17571
|
+
* RenewAire CORES API
|
|
17572
|
+
*
|
|
17573
|
+
* Contact: renewaire@saritasa.com
|
|
17574
|
+
*
|
|
17575
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17576
|
+
* https://openapi-generator.tech
|
|
17577
|
+
* Do not edit the class manually.
|
|
17578
|
+
*/
|
|
17579
|
+
|
|
17515
17580
|
/**
|
|
17516
17581
|
* RenewAire CORES API
|
|
17517
17582
|
*
|
|
@@ -17551,6 +17616,16 @@ var ProjectLineCustomizationStatus;
|
|
|
17551
17616
|
* Do not edit the class manually.
|
|
17552
17617
|
*/
|
|
17553
17618
|
|
|
17619
|
+
/**
|
|
17620
|
+
* RenewAire CORES API
|
|
17621
|
+
*
|
|
17622
|
+
* Contact: renewaire@saritasa.com
|
|
17623
|
+
*
|
|
17624
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17625
|
+
* https://openapi-generator.tech
|
|
17626
|
+
* Do not edit the class manually.
|
|
17627
|
+
*/
|
|
17628
|
+
|
|
17554
17629
|
/**
|
|
17555
17630
|
* RenewAire CORES API
|
|
17556
17631
|
*
|