@saritasa/renewaire-frontend-sdk 0.129.0 → 0.130.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.129.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.130.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.129.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.130.0 --save
5
5
  ```
@@ -2745,6 +2745,55 @@ class ProjectRevisionsApiService extends BaseService {
2745
2745
  super(basePath, configuration);
2746
2746
  this.httpClient = httpClient;
2747
2747
  }
2748
+ projectRevisionsSearchProjectRevisions(requestParameters, observe = "body", reportProgress = false, options) {
2749
+ const projectId = requestParameters?.projectId;
2750
+ const orderBy = requestParameters?.orderBy;
2751
+ const page = requestParameters?.page;
2752
+ const pageSize = requestParameters?.pageSize;
2753
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2754
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, projectId, "ProjectId");
2755
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
2756
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
2757
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
2758
+ let localVarHeaders = this.defaultHeaders;
2759
+ // authentication (Bearer) required
2760
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2761
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
2762
+ this.configuration.selectHeaderAccept([
2763
+ "text/plain",
2764
+ "application/json",
2765
+ "text/json",
2766
+ ]);
2767
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2768
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2769
+ }
2770
+ const localVarHttpContext = options?.context ?? new HttpContext();
2771
+ const localVarTransferCache = options?.transferCache ?? true;
2772
+ let responseType_ = "json";
2773
+ if (localVarHttpHeaderAcceptSelected) {
2774
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2775
+ responseType_ = "text";
2776
+ }
2777
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2778
+ responseType_ = "json";
2779
+ }
2780
+ else {
2781
+ responseType_ = "blob";
2782
+ }
2783
+ }
2784
+ let localVarPath = `/api/project-revisions`;
2785
+ const { basePath, withCredentials } = this.configuration;
2786
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2787
+ context: localVarHttpContext,
2788
+ params: localVarQueryParameters,
2789
+ responseType: responseType_,
2790
+ ...(withCredentials ? { withCredentials } : {}),
2791
+ headers: localVarHeaders,
2792
+ observe: observe,
2793
+ transferCache: localVarTransferCache,
2794
+ reportProgress: reportProgress,
2795
+ });
2796
+ }
2748
2797
  projectRevisionsSetRevisionAsMain(requestParameters, observe = "body", reportProgress = false, options) {
2749
2798
  const projectRevisionId = requestParameters?.projectRevisionId;
2750
2799
  if (projectRevisionId === null || projectRevisionId === undefined) {