@saritasa/renewaire-frontend-sdk 0.224.0 → 0.226.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.224.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.226.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.224.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.226.0 --save
5
5
  ```
@@ -6024,6 +6024,45 @@ class ProjectShippingApiService extends BaseService {
6024
6024
  reportProgress: reportProgress,
6025
6025
  });
6026
6026
  }
6027
+ projectShippingRemoveShippingLocation(requestParameters, observe = "body", reportProgress = false, options) {
6028
+ const projectShippingLocationId = requestParameters?.projectShippingLocationId;
6029
+ if (projectShippingLocationId === null ||
6030
+ projectShippingLocationId === undefined) {
6031
+ throw new Error("Required parameter projectShippingLocationId was null or undefined when calling projectShippingRemoveShippingLocation.");
6032
+ }
6033
+ let localVarHeaders = this.defaultHeaders;
6034
+ // authentication (Bearer) required
6035
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
6036
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
6037
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
6038
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
6039
+ }
6040
+ const localVarHttpContext = options?.context ?? new HttpContext();
6041
+ const localVarTransferCache = options?.transferCache ?? true;
6042
+ let responseType_ = "json";
6043
+ if (localVarHttpHeaderAcceptSelected) {
6044
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
6045
+ responseType_ = "text";
6046
+ }
6047
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6048
+ responseType_ = "json";
6049
+ }
6050
+ else {
6051
+ responseType_ = "blob";
6052
+ }
6053
+ }
6054
+ let localVarPath = `/api/project-shipping/${this.configuration.encodeParam({ name: "projectShippingLocationId", value: projectShippingLocationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
6055
+ const { basePath, withCredentials } = this.configuration;
6056
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
6057
+ context: localVarHttpContext,
6058
+ responseType: responseType_,
6059
+ ...(withCredentials ? { withCredentials } : {}),
6060
+ headers: localVarHeaders,
6061
+ observe: observe,
6062
+ transferCache: localVarTransferCache,
6063
+ reportProgress: reportProgress,
6064
+ });
6065
+ }
6027
6066
  projectShippingSearchShipTo(requestParameters, observe = "body", reportProgress = false, options) {
6028
6067
  const projectRevisionId = requestParameters?.projectRevisionId;
6029
6068
  if (projectRevisionId === null || projectRevisionId === undefined) {
@@ -12573,6 +12612,25 @@ var ProjectLineStatus;
12573
12612
  ProjectLineStatus["Valid"] = "Valid";
12574
12613
  })(ProjectLineStatus || (ProjectLineStatus = {}));
12575
12614
 
12615
+ /**
12616
+ * RenewAire CORES API
12617
+ *
12618
+ * Contact: renewaire@saritasa.com
12619
+ *
12620
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12621
+ * https://openapi-generator.tech
12622
+ * Do not edit the class manually.
12623
+ */
12624
+ /**
12625
+ * Line type.<br />ProjectLineType<br />0 = Line<br />1 = CustomLine<br />2 = Accessory
12626
+ */
12627
+ var ProjectLineType;
12628
+ (function (ProjectLineType) {
12629
+ ProjectLineType["Line"] = "Line";
12630
+ ProjectLineType["CustomLine"] = "CustomLine";
12631
+ ProjectLineType["Accessory"] = "Accessory";
12632
+ })(ProjectLineType || (ProjectLineType = {}));
12633
+
12576
12634
  /**
12577
12635
  * RenewAire CORES API
12578
12636
  *
@@ -13275,5 +13333,5 @@ function provideApi(configOrBasePath) {
13275
13333
  * Generated bundle index. Do not edit.
13276
13334
  */
13277
13335
 
13278
- export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombMaterialsApiService, BombParametersApiService, BombRoutingsApiService, BombSchematicsApiService, BombValidationsApiService, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, ModelNumberValidationErrorType, OperationType, OperatorType, ParameterKind, ParameterType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectDiscountType, ProjectDiscountsApiService, ProjectLineStatus, ProjectLinesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectQualifiedSpecificationsApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectSoldToApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
13336
+ export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombMaterialsApiService, BombParametersApiService, BombRoutingsApiService, BombSchematicsApiService, BombValidationsApiService, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, ModelNumberValidationErrorType, OperationType, OperatorType, ParameterKind, ParameterType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectDiscountType, ProjectDiscountsApiService, ProjectLineStatus, ProjectLineType, ProjectLinesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectQualifiedSpecificationsApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectSoldToApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
13279
13337
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map