@saritasa/renewaire-frontend-sdk 0.38.0 → 0.40.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
|
@@ -4764,13 +4764,28 @@ class UsersApiService extends BaseService {
|
|
|
4764
4764
|
contactInformationWorkPhoneNumber === undefined) {
|
|
4765
4765
|
throw new Error("Required parameter contactInformationWorkPhoneNumber was null or undefined when calling usersUpdateUserDetails.");
|
|
4766
4766
|
}
|
|
4767
|
-
const
|
|
4768
|
-
if (
|
|
4769
|
-
throw new Error("Required parameter
|
|
4767
|
+
const addressCountryName = requestParameters?.addressCountryName;
|
|
4768
|
+
if (addressCountryName === null || addressCountryName === undefined) {
|
|
4769
|
+
throw new Error("Required parameter addressCountryName was null or undefined when calling usersUpdateUserDetails.");
|
|
4770
|
+
}
|
|
4771
|
+
const addressAddress1 = requestParameters?.addressAddress1;
|
|
4772
|
+
if (addressAddress1 === null || addressAddress1 === undefined) {
|
|
4773
|
+
throw new Error("Required parameter addressAddress1 was null or undefined when calling usersUpdateUserDetails.");
|
|
4774
|
+
}
|
|
4775
|
+
const addressState = requestParameters?.addressState;
|
|
4776
|
+
if (addressState === null || addressState === undefined) {
|
|
4777
|
+
throw new Error("Required parameter addressState was null or undefined when calling usersUpdateUserDetails.");
|
|
4778
|
+
}
|
|
4779
|
+
const addressPostalCode = requestParameters?.addressPostalCode;
|
|
4780
|
+
if (addressPostalCode === null || addressPostalCode === undefined) {
|
|
4781
|
+
throw new Error("Required parameter addressPostalCode was null or undefined when calling usersUpdateUserDetails.");
|
|
4770
4782
|
}
|
|
4771
4783
|
const contactInformationWorkPhoneNumberExt = requestParameters?.contactInformationWorkPhoneNumberExt;
|
|
4772
4784
|
const contactInformationMobilePhoneNumber = requestParameters?.contactInformationMobilePhoneNumber;
|
|
4773
|
-
const
|
|
4785
|
+
const addressAddress2 = requestParameters?.addressAddress2;
|
|
4786
|
+
const addressCity = requestParameters?.addressCity;
|
|
4787
|
+
const addressCounty = requestParameters?.addressCounty;
|
|
4788
|
+
const addressApartmentNumber = requestParameters?.addressApartmentNumber;
|
|
4774
4789
|
const avatar = requestParameters?.avatar;
|
|
4775
4790
|
let localVarHeaders = this.defaultHeaders;
|
|
4776
4791
|
// authentication (Bearer) required
|
|
@@ -4829,13 +4844,38 @@ class UsersApiService extends BaseService {
|
|
|
4829
4844
|
localVarFormParams =
|
|
4830
4845
|
localVarFormParams.append("ContactInformation.MobilePhoneNumber", contactInformationMobilePhoneNumber) || localVarFormParams;
|
|
4831
4846
|
}
|
|
4832
|
-
if (
|
|
4847
|
+
if (addressCountryName !== undefined) {
|
|
4833
4848
|
localVarFormParams =
|
|
4834
|
-
localVarFormParams.append("Address.
|
|
4849
|
+
localVarFormParams.append("Address.CountryName", addressCountryName) || localVarFormParams;
|
|
4835
4850
|
}
|
|
4836
|
-
if (
|
|
4851
|
+
if (addressAddress1 !== undefined) {
|
|
4852
|
+
localVarFormParams =
|
|
4853
|
+
localVarFormParams.append("Address.Address1", addressAddress1) || localVarFormParams;
|
|
4854
|
+
}
|
|
4855
|
+
if (addressAddress2 !== undefined) {
|
|
4856
|
+
localVarFormParams =
|
|
4857
|
+
localVarFormParams.append("Address.Address2", addressAddress2) || localVarFormParams;
|
|
4858
|
+
}
|
|
4859
|
+
if (addressCity !== undefined) {
|
|
4837
4860
|
localVarFormParams =
|
|
4838
|
-
localVarFormParams.append("Address.
|
|
4861
|
+
localVarFormParams.append("Address.City", addressCity) ||
|
|
4862
|
+
localVarFormParams;
|
|
4863
|
+
}
|
|
4864
|
+
if (addressCounty !== undefined) {
|
|
4865
|
+
localVarFormParams =
|
|
4866
|
+
localVarFormParams.append("Address.County", addressCounty) || localVarFormParams;
|
|
4867
|
+
}
|
|
4868
|
+
if (addressState !== undefined) {
|
|
4869
|
+
localVarFormParams =
|
|
4870
|
+
localVarFormParams.append("Address.State", addressState) || localVarFormParams;
|
|
4871
|
+
}
|
|
4872
|
+
if (addressPostalCode !== undefined) {
|
|
4873
|
+
localVarFormParams =
|
|
4874
|
+
localVarFormParams.append("Address.PostalCode", addressPostalCode) || localVarFormParams;
|
|
4875
|
+
}
|
|
4876
|
+
if (addressApartmentNumber !== undefined) {
|
|
4877
|
+
localVarFormParams =
|
|
4878
|
+
localVarFormParams.append("Address.ApartmentNumber", addressApartmentNumber) || localVarFormParams;
|
|
4839
4879
|
}
|
|
4840
4880
|
if (avatar !== undefined) {
|
|
4841
4881
|
localVarFormParams =
|
|
@@ -5885,15 +5925,6 @@ var RegistrationStatus;
|
|
|
5885
5925
|
* Do not edit the class manually.
|
|
5886
5926
|
*/
|
|
5887
5927
|
|
|
5888
|
-
/**
|
|
5889
|
-
* RenewAire CORES API
|
|
5890
|
-
*
|
|
5891
|
-
* Contact: renewaire@saritasa.com
|
|
5892
|
-
*
|
|
5893
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5894
|
-
* https://openapi-generator.tech
|
|
5895
|
-
* Do not edit the class manually.
|
|
5896
|
-
*/
|
|
5897
5928
|
var SaveGroupDtoTypeEnum;
|
|
5898
5929
|
(function (SaveGroupDtoTypeEnum) {
|
|
5899
5930
|
SaveGroupDtoTypeEnum["None"] = "None";
|