@saritasa/renewaire-frontend-sdk 0.407.0 → 0.409.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
@@ -1,5 +1,5 @@
1
- # @@saritasa/renewaire-frontend-sdk@0.407.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.409.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.407.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.409.0 --save
5
5
  ```
@@ -691,6 +691,60 @@ class AuditLogsApiService extends BaseService {
691
691
  reportProgress: reportProgress,
692
692
  });
693
693
  }
694
+ auditLogsSearchLineCommissionAuditLogs(requestParameters, observe = "body", reportProgress = false, options) {
695
+ const projectRevisionId = requestParameters?.projectRevisionId;
696
+ if (projectRevisionId === null || projectRevisionId === undefined) {
697
+ throw new Error("Required parameter projectRevisionId was null or undefined when calling auditLogsSearchLineCommissionAuditLogs.");
698
+ }
699
+ const text = requestParameters?.text;
700
+ const orderBy = requestParameters?.orderBy;
701
+ const page = requestParameters?.page;
702
+ const pageSize = requestParameters?.pageSize;
703
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
704
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, projectRevisionId, "ProjectRevisionId");
705
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, text, "Text");
706
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
707
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
708
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
709
+ let localVarHeaders = this.defaultHeaders;
710
+ // authentication (Bearer) required
711
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
712
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
713
+ this.configuration.selectHeaderAccept([
714
+ "text/plain",
715
+ "application/json",
716
+ "text/json",
717
+ ]);
718
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
719
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
720
+ }
721
+ const localVarHttpContext = options?.context ?? new HttpContext();
722
+ const localVarTransferCache = options?.transferCache ?? true;
723
+ let responseType_ = "json";
724
+ if (localVarHttpHeaderAcceptSelected) {
725
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
726
+ responseType_ = "text";
727
+ }
728
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
729
+ responseType_ = "json";
730
+ }
731
+ else {
732
+ responseType_ = "blob";
733
+ }
734
+ }
735
+ let localVarPath = `/api/audit-logs/line-commissions`;
736
+ const { basePath, withCredentials } = this.configuration;
737
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
738
+ context: localVarHttpContext,
739
+ params: localVarQueryParameters,
740
+ responseType: responseType_,
741
+ ...(withCredentials ? { withCredentials } : {}),
742
+ headers: localVarHeaders,
743
+ observe: observe,
744
+ transferCache: localVarTransferCache,
745
+ reportProgress: reportProgress,
746
+ });
747
+ }
694
748
  auditLogsSearchProjectRevisionAuditLogs(requestParameters, observe = "body", reportProgress = false, options) {
695
749
  const projectRevisionId = requestParameters?.projectRevisionId;
696
750
  if (projectRevisionId === null || projectRevisionId === undefined) {
@@ -16045,7 +16099,7 @@ var AshraeVersion;
16045
16099
  * Do not edit the class manually.
16046
16100
  */
16047
16101
  /**
16048
- * 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
16102
+ * 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
16049
16103
  */
16050
16104
  var AuditEntity;
16051
16105
  (function (AuditEntity) {
@@ -16066,6 +16120,7 @@ var AuditEntity;
16066
16120
  AuditEntity["ValidationLayer"] = "ValidationLayer";
16067
16121
  AuditEntity["ProductCodeLayer"] = "ProductCodeLayer";
16068
16122
  AuditEntity["ExpediteRequest"] = "ExpediteRequest";
16123
+ AuditEntity["LineCommission"] = "LineCommission";
16069
16124
  })(AuditEntity || (AuditEntity = {}));
16070
16125
 
16071
16126
  /**