@saritasa/renewaire-frontend-sdk 0.125.0 → 0.126.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.125.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.126.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.125.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.126.0 --save
5
5
  ```
@@ -2292,6 +2292,58 @@ class ProjectLinksApiService extends BaseService {
2292
2292
  reportProgress: reportProgress,
2293
2293
  });
2294
2294
  }
2295
+ projectLinksSearchProjectLinks(requestParameters, observe = "body", reportProgress = false, options) {
2296
+ const projectId = requestParameters?.projectId;
2297
+ if (projectId === null || projectId === undefined) {
2298
+ throw new Error("Required parameter projectId was null or undefined when calling projectLinksSearchProjectLinks.");
2299
+ }
2300
+ const orderBy = requestParameters?.orderBy;
2301
+ const page = requestParameters?.page;
2302
+ const pageSize = requestParameters?.pageSize;
2303
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2304
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, projectId, "ProjectId");
2305
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
2306
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
2307
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
2308
+ let localVarHeaders = this.defaultHeaders;
2309
+ // authentication (Bearer) required
2310
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2311
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
2312
+ this.configuration.selectHeaderAccept([
2313
+ "text/plain",
2314
+ "application/json",
2315
+ "text/json",
2316
+ ]);
2317
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2318
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2319
+ }
2320
+ const localVarHttpContext = options?.context ?? new HttpContext();
2321
+ const localVarTransferCache = options?.transferCache ?? true;
2322
+ let responseType_ = "json";
2323
+ if (localVarHttpHeaderAcceptSelected) {
2324
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2325
+ responseType_ = "text";
2326
+ }
2327
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2328
+ responseType_ = "json";
2329
+ }
2330
+ else {
2331
+ responseType_ = "blob";
2332
+ }
2333
+ }
2334
+ let localVarPath = `/api/project-links`;
2335
+ const { basePath, withCredentials } = this.configuration;
2336
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2337
+ context: localVarHttpContext,
2338
+ params: localVarQueryParameters,
2339
+ responseType: responseType_,
2340
+ ...(withCredentials ? { withCredentials } : {}),
2341
+ headers: localVarHeaders,
2342
+ observe: observe,
2343
+ transferCache: localVarTransferCache,
2344
+ reportProgress: reportProgress,
2345
+ });
2346
+ }
2295
2347
  projectLinksUpdateProjectLink(requestParameters, observe = "body", reportProgress = false, options) {
2296
2348
  const projectLinkId = requestParameters?.projectLinkId;
2297
2349
  if (projectLinkId === null || projectLinkId === undefined) {
@@ -8745,6 +8797,27 @@ var ProjectStatus;
8745
8797
  ProjectStatus["Archived"] = "Archived";
8746
8798
  })(ProjectStatus || (ProjectStatus = {}));
8747
8799
 
8800
+ /**
8801
+ * RenewAire CORES API
8802
+ *
8803
+ * Contact: renewaire@saritasa.com
8804
+ *
8805
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8806
+ * https://openapi-generator.tech
8807
+ * Do not edit the class manually.
8808
+ */
8809
+ /**
8810
+ * QS status.<br />QualifiedSpecificationStatus<br />0 = Approved<br />1 = ApprovedNoDiscount<br />2 = MoreInfoNeeded<br />3 = Rejected<br />4 = Cancelled
8811
+ */
8812
+ var QualifiedSpecificationStatus;
8813
+ (function (QualifiedSpecificationStatus) {
8814
+ QualifiedSpecificationStatus["Approved"] = "Approved";
8815
+ QualifiedSpecificationStatus["ApprovedNoDiscount"] = "ApprovedNoDiscount";
8816
+ QualifiedSpecificationStatus["MoreInfoNeeded"] = "MoreInfoNeeded";
8817
+ QualifiedSpecificationStatus["Rejected"] = "Rejected";
8818
+ QualifiedSpecificationStatus["Cancelled"] = "Cancelled";
8819
+ })(QualifiedSpecificationStatus || (QualifiedSpecificationStatus = {}));
8820
+
8748
8821
  /**
8749
8822
  * RenewAire CORES API
8750
8823
  *
@@ -9175,5 +9248,5 @@ function provideApi(configOrBasePath) {
9175
9248
  * Generated bundle index. Do not edit.
9176
9249
  */
9177
9250
 
9178
- export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectLinksApiService, ProjectNoteType, ProjectNotesApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
9251
+ export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectLinksApiService, ProjectNoteType, ProjectNotesApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
9179
9252
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map