@saritasa/renewaire-frontend-sdk 0.3.0 → 0.5.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/index.d.ts
CHANGED
|
@@ -464,6 +464,12 @@ interface CurrentUserDto {
|
|
|
464
464
|
* RegistrationStatus<br />0 = EmailVerification<br />1 = SetPassword<br />2 = SetProfile<br />3 = SetAddress<br />4 = SetOccupation<br />5 = Completed
|
|
465
465
|
*/
|
|
466
466
|
registrationStatus: CurrentUserDtoRegistrationStatusEnum;
|
|
467
|
+
firstName: string;
|
|
468
|
+
lastName: string;
|
|
469
|
+
/**
|
|
470
|
+
* Avatar URL.
|
|
471
|
+
*/
|
|
472
|
+
avatarUrl?: string | null;
|
|
467
473
|
}
|
|
468
474
|
declare enum CurrentUserDtoRegistrationStatusEnum {
|
|
469
475
|
EmailVerification = "EmailVerification",
|
|
@@ -571,6 +577,40 @@ interface ForgotPasswordCommand {
|
|
|
571
577
|
email: string;
|
|
572
578
|
}
|
|
573
579
|
|
|
580
|
+
/**
|
|
581
|
+
* RenewAire CORES API
|
|
582
|
+
*
|
|
583
|
+
* Contact: renewaire@saritasa.com
|
|
584
|
+
*
|
|
585
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
586
|
+
* https://openapi-generator.tech
|
|
587
|
+
* Do not edit the class manually.
|
|
588
|
+
*/
|
|
589
|
+
/**
|
|
590
|
+
* DTO to return Id of entity.
|
|
591
|
+
*/
|
|
592
|
+
interface Int32IdDto {
|
|
593
|
+
id: number;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* RenewAire CORES API
|
|
598
|
+
*
|
|
599
|
+
* Contact: renewaire@saritasa.com
|
|
600
|
+
*
|
|
601
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
602
|
+
* https://openapi-generator.tech
|
|
603
|
+
* Do not edit the class manually.
|
|
604
|
+
*/
|
|
605
|
+
/**
|
|
606
|
+
* Language<br />0 = English<br />1 = Spanish<br />2 = French
|
|
607
|
+
*/
|
|
608
|
+
declare enum Language {
|
|
609
|
+
English = "English",
|
|
610
|
+
Spanish = "Spanish",
|
|
611
|
+
French = "French"
|
|
612
|
+
}
|
|
613
|
+
|
|
574
614
|
/**
|
|
575
615
|
* RenewAire CORES API
|
|
576
616
|
*
|
|
@@ -1248,6 +1288,38 @@ declare enum SaveUserDesignConditionsDtoCoolingDesignBasisEnum {
|
|
|
1248
1288
|
Dehumidification = "Dehumidification"
|
|
1249
1289
|
}
|
|
1250
1290
|
|
|
1291
|
+
/**
|
|
1292
|
+
* RenewAire CORES API
|
|
1293
|
+
*
|
|
1294
|
+
* Contact: renewaire@saritasa.com
|
|
1295
|
+
*
|
|
1296
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1297
|
+
* https://openapi-generator.tech
|
|
1298
|
+
* Do not edit the class manually.
|
|
1299
|
+
*/
|
|
1300
|
+
/**
|
|
1301
|
+
* User preferences DTO.
|
|
1302
|
+
*/
|
|
1303
|
+
interface SaveUserPreferencesDto {
|
|
1304
|
+
/**
|
|
1305
|
+
* Preferred language.<br />Language<br />0 = English<br />1 = Spanish<br />2 = French
|
|
1306
|
+
*/
|
|
1307
|
+
langauge: SaveUserPreferencesDtoLangaugeEnum;
|
|
1308
|
+
/**
|
|
1309
|
+
* Preferred unit system.<br />UnitSystem<br />0 = Imperial<br />1 = Metric
|
|
1310
|
+
*/
|
|
1311
|
+
unitSystem: SaveUserPreferencesDtoUnitSystemEnum;
|
|
1312
|
+
}
|
|
1313
|
+
declare enum SaveUserPreferencesDtoLangaugeEnum {
|
|
1314
|
+
English = "English",
|
|
1315
|
+
Spanish = "Spanish",
|
|
1316
|
+
French = "French"
|
|
1317
|
+
}
|
|
1318
|
+
declare enum SaveUserPreferencesDtoUnitSystemEnum {
|
|
1319
|
+
Imperial = "Imperial",
|
|
1320
|
+
Metric = "Metric"
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1251
1323
|
/**
|
|
1252
1324
|
* RenewAire CORES API
|
|
1253
1325
|
*
|
|
@@ -1522,6 +1594,23 @@ interface TotalCountListMetadata {
|
|
|
1522
1594
|
totalCount: number;
|
|
1523
1595
|
}
|
|
1524
1596
|
|
|
1597
|
+
/**
|
|
1598
|
+
* RenewAire CORES API
|
|
1599
|
+
*
|
|
1600
|
+
* Contact: renewaire@saritasa.com
|
|
1601
|
+
*
|
|
1602
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1603
|
+
* https://openapi-generator.tech
|
|
1604
|
+
* Do not edit the class manually.
|
|
1605
|
+
*/
|
|
1606
|
+
/**
|
|
1607
|
+
* UnitSystem<br />0 = Imperial<br />1 = Metric
|
|
1608
|
+
*/
|
|
1609
|
+
declare enum UnitSystem {
|
|
1610
|
+
Imperial = "Imperial",
|
|
1611
|
+
Metric = "Metric"
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1525
1614
|
/**
|
|
1526
1615
|
* RenewAire CORES API
|
|
1527
1616
|
*
|
|
@@ -1570,6 +1659,41 @@ interface UploadUrlResult {
|
|
|
1570
1659
|
postPreSignedUrl: PostPreSignedUrlDto;
|
|
1571
1660
|
}
|
|
1572
1661
|
|
|
1662
|
+
/**
|
|
1663
|
+
* RenewAire CORES API
|
|
1664
|
+
*
|
|
1665
|
+
* Contact: renewaire@saritasa.com
|
|
1666
|
+
*
|
|
1667
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1668
|
+
* https://openapi-generator.tech
|
|
1669
|
+
* Do not edit the class manually.
|
|
1670
|
+
*/
|
|
1671
|
+
/**
|
|
1672
|
+
* Physical address.
|
|
1673
|
+
*/
|
|
1674
|
+
interface UserAddressDto {
|
|
1675
|
+
street1: string;
|
|
1676
|
+
stateCode: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* Country name.<br />AddressCountry<br />0 = Unknown<br />1 = UnitedStates<br />2 = Canada<br />3 = Mexico
|
|
1679
|
+
*/
|
|
1680
|
+
country: UserAddressDtoCountryEnum;
|
|
1681
|
+
/**
|
|
1682
|
+
* Postal code.
|
|
1683
|
+
*/
|
|
1684
|
+
postalCode: string;
|
|
1685
|
+
apartmentNumber?: string | null;
|
|
1686
|
+
street2?: string | null;
|
|
1687
|
+
county?: string | null;
|
|
1688
|
+
city?: string | null;
|
|
1689
|
+
}
|
|
1690
|
+
declare enum UserAddressDtoCountryEnum {
|
|
1691
|
+
Unknown = "Unknown",
|
|
1692
|
+
UnitedStates = "UnitedStates",
|
|
1693
|
+
Canada = "Canada",
|
|
1694
|
+
Mexico = "Mexico"
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1573
1697
|
/**
|
|
1574
1698
|
* RenewAire CORES API
|
|
1575
1699
|
*
|
|
@@ -1638,6 +1762,101 @@ interface UserEmailDto {
|
|
|
1638
1762
|
email: string;
|
|
1639
1763
|
}
|
|
1640
1764
|
|
|
1765
|
+
/**
|
|
1766
|
+
* RenewAire CORES API
|
|
1767
|
+
*
|
|
1768
|
+
* Contact: renewaire@saritasa.com
|
|
1769
|
+
*
|
|
1770
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1771
|
+
* https://openapi-generator.tech
|
|
1772
|
+
* Do not edit the class manually.
|
|
1773
|
+
*/
|
|
1774
|
+
/**
|
|
1775
|
+
* User permission source DTO.
|
|
1776
|
+
*/
|
|
1777
|
+
interface UserPermissionSourceDto {
|
|
1778
|
+
/**
|
|
1779
|
+
* Permission bundle ID.
|
|
1780
|
+
*/
|
|
1781
|
+
permissionBundleId: object;
|
|
1782
|
+
/**
|
|
1783
|
+
* Permission bundle name.
|
|
1784
|
+
*/
|
|
1785
|
+
permissionBundleName: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Group ID. Null If these are personal permission bundle.
|
|
1788
|
+
*/
|
|
1789
|
+
groupId?: object | null;
|
|
1790
|
+
/**
|
|
1791
|
+
* Group name. Null If these are personal permission bundle.
|
|
1792
|
+
*/
|
|
1793
|
+
groupName?: string | null;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* RenewAire CORES API
|
|
1798
|
+
*
|
|
1799
|
+
* Contact: renewaire@saritasa.com
|
|
1800
|
+
*
|
|
1801
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1802
|
+
* https://openapi-generator.tech
|
|
1803
|
+
* Do not edit the class manually.
|
|
1804
|
+
*/
|
|
1805
|
+
|
|
1806
|
+
/**
|
|
1807
|
+
* User permissions DTO.
|
|
1808
|
+
*/
|
|
1809
|
+
interface UserPermissionDto {
|
|
1810
|
+
/**
|
|
1811
|
+
* Permissions.<br />Permission<br />0 = SystemAdmin<br />1 = UserAdministration
|
|
1812
|
+
*/
|
|
1813
|
+
permission: UserPermissionDtoPermissionEnum;
|
|
1814
|
+
/**
|
|
1815
|
+
* Permission description.
|
|
1816
|
+
*/
|
|
1817
|
+
description: string;
|
|
1818
|
+
/**
|
|
1819
|
+
* Sources.
|
|
1820
|
+
*/
|
|
1821
|
+
sources: Array<UserPermissionSourceDto>;
|
|
1822
|
+
}
|
|
1823
|
+
declare enum UserPermissionDtoPermissionEnum {
|
|
1824
|
+
SystemAdmin = "SystemAdmin",
|
|
1825
|
+
UserAdministration = "UserAdministration"
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* RenewAire CORES API
|
|
1830
|
+
*
|
|
1831
|
+
* Contact: renewaire@saritasa.com
|
|
1832
|
+
*
|
|
1833
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1834
|
+
* https://openapi-generator.tech
|
|
1835
|
+
* Do not edit the class manually.
|
|
1836
|
+
*/
|
|
1837
|
+
/**
|
|
1838
|
+
* User preferences.
|
|
1839
|
+
*/
|
|
1840
|
+
interface UserPreferencesDto {
|
|
1841
|
+
/**
|
|
1842
|
+
* Preferred language.<br />Language<br />0 = English<br />1 = Spanish<br />2 = French
|
|
1843
|
+
*/
|
|
1844
|
+
langauge: UserPreferencesDtoLangaugeEnum;
|
|
1845
|
+
/**
|
|
1846
|
+
* Preferred unit system.<br />UnitSystem<br />0 = Imperial<br />1 = Metric
|
|
1847
|
+
*/
|
|
1848
|
+
unitSystem: UserPreferencesDtoUnitSystemEnum;
|
|
1849
|
+
}
|
|
1850
|
+
declare enum UserPreferencesDtoLangaugeEnum {
|
|
1851
|
+
English = "English",
|
|
1852
|
+
Spanish = "Spanish",
|
|
1853
|
+
French = "French"
|
|
1854
|
+
}
|
|
1855
|
+
declare enum UserPreferencesDtoUnitSystemEnum {
|
|
1856
|
+
Imperial = "Imperial",
|
|
1857
|
+
Metric = "Metric"
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1641
1860
|
/**
|
|
1642
1861
|
* RenewAire CORES API
|
|
1643
1862
|
*
|
|
@@ -1660,6 +1879,54 @@ interface UserProfileDto {
|
|
|
1660
1879
|
mobilePhoneNumber?: string | null;
|
|
1661
1880
|
}
|
|
1662
1881
|
|
|
1882
|
+
/**
|
|
1883
|
+
* RenewAire CORES API
|
|
1884
|
+
*
|
|
1885
|
+
* Contact: renewaire@saritasa.com
|
|
1886
|
+
*
|
|
1887
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1888
|
+
* https://openapi-generator.tech
|
|
1889
|
+
* Do not edit the class manually.
|
|
1890
|
+
*/
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* User profile settings.
|
|
1894
|
+
*/
|
|
1895
|
+
interface UserProfileSettingsDto {
|
|
1896
|
+
/**
|
|
1897
|
+
* User identifier.
|
|
1898
|
+
*/
|
|
1899
|
+
userId: number;
|
|
1900
|
+
/**
|
|
1901
|
+
* RegistrationStatus<br />0 = EmailVerification<br />1 = SetPassword<br />2 = SetProfile<br />3 = SetAddress<br />4 = SetOccupation<br />5 = Completed
|
|
1902
|
+
*/
|
|
1903
|
+
registrationStatus: UserProfileSettingsDtoRegistrationStatusEnum;
|
|
1904
|
+
/**
|
|
1905
|
+
* Contact information.
|
|
1906
|
+
*/
|
|
1907
|
+
contactInformation: UserProfileDto;
|
|
1908
|
+
/**
|
|
1909
|
+
* Address.
|
|
1910
|
+
*/
|
|
1911
|
+
address: UserAddressDto;
|
|
1912
|
+
/**
|
|
1913
|
+
* User preferences.
|
|
1914
|
+
*/
|
|
1915
|
+
preferences: UserPreferencesDto;
|
|
1916
|
+
/**
|
|
1917
|
+
* Avatar URL.
|
|
1918
|
+
*/
|
|
1919
|
+
avatarUrl?: string | null;
|
|
1920
|
+
}
|
|
1921
|
+
declare enum UserProfileSettingsDtoRegistrationStatusEnum {
|
|
1922
|
+
EmailVerification = "EmailVerification",
|
|
1923
|
+
SetPassword = "SetPassword",
|
|
1924
|
+
SetProfile = "SetProfile",
|
|
1925
|
+
SetAddress = "SetAddress",
|
|
1926
|
+
SetOccupation = "SetOccupation",
|
|
1927
|
+
Completed = "Completed"
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1663
1930
|
/**
|
|
1664
1931
|
* RenewAire CORES API
|
|
1665
1932
|
*
|
|
@@ -2995,6 +3262,12 @@ interface UsersForgotPasswordRequestParams {
|
|
|
2995
3262
|
interface UsersGetRepContactsRequestParams {
|
|
2996
3263
|
userId: number;
|
|
2997
3264
|
}
|
|
3265
|
+
interface UsersGetUserPermissionsRequestParams {
|
|
3266
|
+
userId: number;
|
|
3267
|
+
}
|
|
3268
|
+
interface UsersGetUserProfileRequestParams {
|
|
3269
|
+
userId: number;
|
|
3270
|
+
}
|
|
2998
3271
|
interface UsersRequestChangeEmailRequestParams {
|
|
2999
3272
|
requestChangeEmailCommand?: RequestChangeEmailCommand;
|
|
3000
3273
|
}
|
|
@@ -3016,6 +3289,23 @@ interface UsersSetUserPasswordRequestParams {
|
|
|
3016
3289
|
interface UsersSetUserProfileRequestParams {
|
|
3017
3290
|
userProfileDto?: UserProfileDto;
|
|
3018
3291
|
}
|
|
3292
|
+
interface UsersUpdateUserPreferencesRequestParams {
|
|
3293
|
+
userId: number;
|
|
3294
|
+
saveUserPreferencesDto?: SaveUserPreferencesDto;
|
|
3295
|
+
}
|
|
3296
|
+
interface UsersUpdateUserProfileRequestParams {
|
|
3297
|
+
userId: number;
|
|
3298
|
+
contactInformationFirstName: string;
|
|
3299
|
+
contactInformationLastName: string;
|
|
3300
|
+
contactInformationCompany: string;
|
|
3301
|
+
contactInformationTitle: string;
|
|
3302
|
+
contactInformationWorkPhoneNumber: string;
|
|
3303
|
+
addressStreet1: string;
|
|
3304
|
+
contactInformationWorkPhoneNumberExt?: string;
|
|
3305
|
+
contactInformationMobilePhoneNumber?: string;
|
|
3306
|
+
addressStreet2?: string;
|
|
3307
|
+
avatar?: Blob;
|
|
3308
|
+
}
|
|
3019
3309
|
interface UsersApiServiceInterface {
|
|
3020
3310
|
defaultHeaders: HttpHeaders;
|
|
3021
3311
|
configuration: Configuration;
|
|
@@ -3065,6 +3355,18 @@ interface UsersApiServiceInterface {
|
|
|
3065
3355
|
* @param requestParameters
|
|
3066
3356
|
*/
|
|
3067
3357
|
usersGetRepContacts(requestParameters: UsersGetRepContactsRequestParams, extraHttpRequestParams?: any): Observable<RepTerritoryContactsDto>;
|
|
3358
|
+
/**
|
|
3359
|
+
* Get user permissions sources.
|
|
3360
|
+
*
|
|
3361
|
+
* @param requestParameters
|
|
3362
|
+
*/
|
|
3363
|
+
usersGetUserPermissions(requestParameters: UsersGetUserPermissionsRequestParams, extraHttpRequestParams?: any): Observable<Array<UserPermissionDto>>;
|
|
3364
|
+
/**
|
|
3365
|
+
* Get user profile.
|
|
3366
|
+
*
|
|
3367
|
+
* @param requestParameters
|
|
3368
|
+
*/
|
|
3369
|
+
usersGetUserProfile(requestParameters: UsersGetUserProfileRequestParams, extraHttpRequestParams?: any): Observable<UserProfileSettingsDto>;
|
|
3068
3370
|
/**
|
|
3069
3371
|
* Request change email for current user.
|
|
3070
3372
|
*
|
|
@@ -3107,6 +3409,18 @@ interface UsersApiServiceInterface {
|
|
|
3107
3409
|
* @param requestParameters
|
|
3108
3410
|
*/
|
|
3109
3411
|
usersSetUserProfile(requestParameters: UsersSetUserProfileRequestParams, extraHttpRequestParams?: any): Observable<{}>;
|
|
3412
|
+
/**
|
|
3413
|
+
* Update user perferences (language / display settings / unit system).
|
|
3414
|
+
*
|
|
3415
|
+
* @param requestParameters
|
|
3416
|
+
*/
|
|
3417
|
+
usersUpdateUserPreferences(requestParameters: UsersUpdateUserPreferencesRequestParams, extraHttpRequestParams?: any): Observable<Int32IdDto>;
|
|
3418
|
+
/**
|
|
3419
|
+
* Update user profile (name / contant information / avatars / etc.).
|
|
3420
|
+
*
|
|
3421
|
+
* @param requestParameters
|
|
3422
|
+
*/
|
|
3423
|
+
usersUpdateUserProfile(requestParameters: UsersUpdateUserProfileRequestParams, extraHttpRequestParams?: any): Observable<Int32IdDto>;
|
|
3110
3424
|
}
|
|
3111
3425
|
|
|
3112
3426
|
declare class UsersApiService extends BaseService implements UsersApiServiceInterface {
|
|
@@ -3278,6 +3592,48 @@ declare class UsersApiService extends BaseService implements UsersApiServiceInte
|
|
|
3278
3592
|
context?: HttpContext;
|
|
3279
3593
|
transferCache?: boolean;
|
|
3280
3594
|
}): Observable<HttpEvent<RepTerritoryContactsDto>>;
|
|
3595
|
+
/**
|
|
3596
|
+
* Get user permissions sources.
|
|
3597
|
+
* @param requestParameters
|
|
3598
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
3599
|
+
* @param reportProgress flag to report request and response progress.
|
|
3600
|
+
*/
|
|
3601
|
+
usersGetUserPermissions(requestParameters: UsersGetUserPermissionsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
3602
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3603
|
+
context?: HttpContext;
|
|
3604
|
+
transferCache?: boolean;
|
|
3605
|
+
}): Observable<Array<UserPermissionDto>>;
|
|
3606
|
+
usersGetUserPermissions(requestParameters: UsersGetUserPermissionsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
3607
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3608
|
+
context?: HttpContext;
|
|
3609
|
+
transferCache?: boolean;
|
|
3610
|
+
}): Observable<HttpResponse<Array<UserPermissionDto>>>;
|
|
3611
|
+
usersGetUserPermissions(requestParameters: UsersGetUserPermissionsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
3612
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3613
|
+
context?: HttpContext;
|
|
3614
|
+
transferCache?: boolean;
|
|
3615
|
+
}): Observable<HttpEvent<Array<UserPermissionDto>>>;
|
|
3616
|
+
/**
|
|
3617
|
+
* Get user profile.
|
|
3618
|
+
* @param requestParameters
|
|
3619
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
3620
|
+
* @param reportProgress flag to report request and response progress.
|
|
3621
|
+
*/
|
|
3622
|
+
usersGetUserProfile(requestParameters: UsersGetUserProfileRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
3623
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3624
|
+
context?: HttpContext;
|
|
3625
|
+
transferCache?: boolean;
|
|
3626
|
+
}): Observable<UserProfileSettingsDto>;
|
|
3627
|
+
usersGetUserProfile(requestParameters: UsersGetUserProfileRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
3628
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3629
|
+
context?: HttpContext;
|
|
3630
|
+
transferCache?: boolean;
|
|
3631
|
+
}): Observable<HttpResponse<UserProfileSettingsDto>>;
|
|
3632
|
+
usersGetUserProfile(requestParameters: UsersGetUserProfileRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
3633
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3634
|
+
context?: HttpContext;
|
|
3635
|
+
transferCache?: boolean;
|
|
3636
|
+
}): Observable<HttpEvent<UserProfileSettingsDto>>;
|
|
3281
3637
|
/**
|
|
3282
3638
|
* Request change email for current user.
|
|
3283
3639
|
* @param requestParameters
|
|
@@ -3425,6 +3781,48 @@ declare class UsersApiService extends BaseService implements UsersApiServiceInte
|
|
|
3425
3781
|
context?: HttpContext;
|
|
3426
3782
|
transferCache?: boolean;
|
|
3427
3783
|
}): Observable<HttpEvent<any>>;
|
|
3784
|
+
/**
|
|
3785
|
+
* Update user perferences (language / display settings / unit system).
|
|
3786
|
+
* @param requestParameters
|
|
3787
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
3788
|
+
* @param reportProgress flag to report request and response progress.
|
|
3789
|
+
*/
|
|
3790
|
+
usersUpdateUserPreferences(requestParameters: UsersUpdateUserPreferencesRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
3791
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3792
|
+
context?: HttpContext;
|
|
3793
|
+
transferCache?: boolean;
|
|
3794
|
+
}): Observable<Int32IdDto>;
|
|
3795
|
+
usersUpdateUserPreferences(requestParameters: UsersUpdateUserPreferencesRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
3796
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3797
|
+
context?: HttpContext;
|
|
3798
|
+
transferCache?: boolean;
|
|
3799
|
+
}): Observable<HttpResponse<Int32IdDto>>;
|
|
3800
|
+
usersUpdateUserPreferences(requestParameters: UsersUpdateUserPreferencesRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
3801
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3802
|
+
context?: HttpContext;
|
|
3803
|
+
transferCache?: boolean;
|
|
3804
|
+
}): Observable<HttpEvent<Int32IdDto>>;
|
|
3805
|
+
/**
|
|
3806
|
+
* Update user profile (name / contant information / avatars / etc.).
|
|
3807
|
+
* @param requestParameters
|
|
3808
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
3809
|
+
* @param reportProgress flag to report request and response progress.
|
|
3810
|
+
*/
|
|
3811
|
+
usersUpdateUserProfile(requestParameters: UsersUpdateUserProfileRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
3812
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3813
|
+
context?: HttpContext;
|
|
3814
|
+
transferCache?: boolean;
|
|
3815
|
+
}): Observable<Int32IdDto>;
|
|
3816
|
+
usersUpdateUserProfile(requestParameters: UsersUpdateUserProfileRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
3817
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3818
|
+
context?: HttpContext;
|
|
3819
|
+
transferCache?: boolean;
|
|
3820
|
+
}): Observable<HttpResponse<Int32IdDto>>;
|
|
3821
|
+
usersUpdateUserProfile(requestParameters: UsersUpdateUserProfileRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
3822
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
3823
|
+
context?: HttpContext;
|
|
3824
|
+
transferCache?: boolean;
|
|
3825
|
+
}): Observable<HttpEvent<Int32IdDto>>;
|
|
3428
3826
|
static ɵfac: i0.ɵɵFactoryDeclaration<UsersApiService, [null, { optional: true; }, { optional: true; }]>;
|
|
3429
3827
|
static ɵprov: i0.ɵɵInjectableDeclaration<UsersApiService>;
|
|
3430
3828
|
}
|
|
@@ -3449,5 +3847,5 @@ declare class ApiModule {
|
|
|
3449
3847
|
|
|
3450
3848
|
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
3451
3849
|
|
|
3452
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UsersApiService, provideApi };
|
|
3453
|
-
export type { AddressDto, AuthApiServiceInterface, AuthAuthenticateByEmailTokenRequestParams, AuthAuthenticateRequestParams, AuthRefreshTokenRequestParams, ChangeCurrentUserPasswordCommand, ChangeEmailCommand, CompanyInformationDto, ConfigurationParameters, ContactDto, CreateDocumentsDto, CreateRsdRegionDto, CreateUploadUrlCommand, CurrentUserDto, DataFormat, DataType, DistanceDto, EmailConfirmationTokenDto, FileDto, ForgotPasswordCommand, LoginUserCommand, OffsetLimitListMetadata, PagedListMetadata, Param, ParamLocation, ParamStyle, PermissionBundleDto, PermissionBundlesApiServiceInterface, PermissionBundlesCreatePermissionBundleRequestParams, PermissionBundlesGetPermissionBundleRequestParams, PermissionBundlesRemovePermissionBundleRequestParams, PermissionBundlesRestorePermissionBundleRequestParams, PermissionBundlesSearchPermissionBundlesRequestParams, PermissionBundlesUpdatePermissionBundleRequestParams, PermissionDto, PermissionsApiServiceInterface, PostPreSignedUrlDto, RefreshTokenCommand, RegionDto, RegionsApiServiceInterface, RegionsSearchRegionsRequestParams, RemoveDocumentsCommand, RepContactsApiServiceInterface, RepContactsGetRepTerritoryRepContactRequestParams, RepContactsRemoveRepTerritoryRepContactRequestParams, RepContactsUpdateRepTerritoryRepContactRequestParams, RepTerritoriesApiServiceInterface, RepTerritoriesCreateRepTerritoryLocationRequestParams, RepTerritoriesCreateRepTerritoryRepContactRequestParams, RepTerritoriesCreateRepTerritoryRequestParams, RepTerritoriesGetRepTerritoryRequestParams, RepTerritoriesRemoveRepTerritoryRequestParams, RepTerritoriesSearchRepTerritoriesRequestParams, RepTerritoriesUpdateRepTerritoryRequestParams, RepTerritoryContactsDto, RepTerritoryDto, RepTerritoryLocationDto, RepTerritoryLocationsApiServiceInterface, RepTerritoryLocationsGetRepTerritoryLocationRequestParams, RepTerritoryLocationsRemoveRepTerritoryLocationRequestParams, RepTerritoryLocationsSearchRepTerritoryLocationsRequestParams, RepTerritoryLocationsUpdateRepTerritoryLocationRequestParams, RepTerritoryRepContactDto, RequestChangeEmailCommand, ResetPasswordCommand, RsdRegionDocumentDto, RsdRegionDto, RsdRegionRepTerritoryDto, RsdRegionUserDto, RsdRegionsApiServiceInterface, RsdRegionsCreateDocumentDownloadUrlRequestParams, RsdRegionsCreateDocumentUploadUrlRequestParams, RsdRegionsCreateRsdRegionDocumentsRequestParams, RsdRegionsCreateRsdRegionRequestParams, RsdRegionsGetRsdRegionRequestParams, RsdRegionsRemoveRsdRegionDocumentsRequestParams, RsdRegionsRemoveRsdRegionRequestParams, RsdRegionsSearchRsdRegionsRequestParams, RsdRegionsUpdateRsdRegionRequestParams, SavePermissionBundleDto, SaveRepTerritoryDto, SaveRepTerritoryLocationDto, SaveRepTerritoryRepContactDto, SaveUserDesignConditionsDto, SearchPermissionBundleDto, SearchPermissionBundleDtoPagedListMetadataDto, SearchRegionDto, SearchRegionDtoPagedListMetadataDto, SearchRepTerritoryDto, SearchRepTerritoryDtoPagedListMetadataDto, SearchRepTerritoryLocationDto, SearchRepTerritoryLocationDtoPagedListMetadataDto, SearchRsdRegionDto, SearchRsdRegionDtoPagedListMetadataDto, SetAddressDto, SetUserOccupationCommand, SetUserPasswordCommand, StandardDataFormat, StandardDataType, StandardParamStyle, TemperatureDto, TokenModel, TotalCountListMetadata, UpdateRsdRegionDto, UploadFileDto, UploadUrlResult, UserDesignConditionsApiServiceInterface, UserDesignConditionsDto, UserDesignConditionsGetProjectDesignConditionsRequestParams, UserDesignConditionsSaveProjectDesignConditionsRequestParams, UserDesignWeatherConditionDto, UserEmailDto, UserProfileDto, UsersAdminSetUserPasswordRequestParams, UsersApiServiceInterface, UsersChangeCurrentUserPasswordRequestParams, UsersChangeEmailRequestParams, UsersConfirmEmailRequestParams, UsersForgotPasswordRequestParams, UsersGetRepContactsRequestParams, UsersRequestChangeEmailRequestParams, UsersRequestConfirmEmailRequestParams, UsersResetPasswordRequestParams, UsersSetUserAddressRequestParams, UsersSetUserOccupationRequestParams, UsersSetUserPasswordRequestParams, UsersSetUserProfileRequestParams };
|
|
3850
|
+
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, Language, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SaveUserPreferencesDtoLangaugeEnum, SaveUserPreferencesDtoUnitSystemEnum, SearchRegionDtoLevelEnum, UnitSystem, UserAddressDtoCountryEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoLangaugeEnum, UserPreferencesDtoUnitSystemEnum, UserProfileSettingsDtoRegistrationStatusEnum, UsersApiService, provideApi };
|
|
3851
|
+
export type { AddressDto, AuthApiServiceInterface, AuthAuthenticateByEmailTokenRequestParams, AuthAuthenticateRequestParams, AuthRefreshTokenRequestParams, ChangeCurrentUserPasswordCommand, ChangeEmailCommand, CompanyInformationDto, ConfigurationParameters, ContactDto, CreateDocumentsDto, CreateRsdRegionDto, CreateUploadUrlCommand, CurrentUserDto, DataFormat, DataType, DistanceDto, EmailConfirmationTokenDto, FileDto, ForgotPasswordCommand, Int32IdDto, LoginUserCommand, OffsetLimitListMetadata, PagedListMetadata, Param, ParamLocation, ParamStyle, PermissionBundleDto, PermissionBundlesApiServiceInterface, PermissionBundlesCreatePermissionBundleRequestParams, PermissionBundlesGetPermissionBundleRequestParams, PermissionBundlesRemovePermissionBundleRequestParams, PermissionBundlesRestorePermissionBundleRequestParams, PermissionBundlesSearchPermissionBundlesRequestParams, PermissionBundlesUpdatePermissionBundleRequestParams, PermissionDto, PermissionsApiServiceInterface, PostPreSignedUrlDto, RefreshTokenCommand, RegionDto, RegionsApiServiceInterface, RegionsSearchRegionsRequestParams, RemoveDocumentsCommand, RepContactsApiServiceInterface, RepContactsGetRepTerritoryRepContactRequestParams, RepContactsRemoveRepTerritoryRepContactRequestParams, RepContactsUpdateRepTerritoryRepContactRequestParams, RepTerritoriesApiServiceInterface, RepTerritoriesCreateRepTerritoryLocationRequestParams, RepTerritoriesCreateRepTerritoryRepContactRequestParams, RepTerritoriesCreateRepTerritoryRequestParams, RepTerritoriesGetRepTerritoryRequestParams, RepTerritoriesRemoveRepTerritoryRequestParams, RepTerritoriesSearchRepTerritoriesRequestParams, RepTerritoriesUpdateRepTerritoryRequestParams, RepTerritoryContactsDto, RepTerritoryDto, RepTerritoryLocationDto, RepTerritoryLocationsApiServiceInterface, RepTerritoryLocationsGetRepTerritoryLocationRequestParams, RepTerritoryLocationsRemoveRepTerritoryLocationRequestParams, RepTerritoryLocationsSearchRepTerritoryLocationsRequestParams, RepTerritoryLocationsUpdateRepTerritoryLocationRequestParams, RepTerritoryRepContactDto, RequestChangeEmailCommand, ResetPasswordCommand, RsdRegionDocumentDto, RsdRegionDto, RsdRegionRepTerritoryDto, RsdRegionUserDto, RsdRegionsApiServiceInterface, RsdRegionsCreateDocumentDownloadUrlRequestParams, RsdRegionsCreateDocumentUploadUrlRequestParams, RsdRegionsCreateRsdRegionDocumentsRequestParams, RsdRegionsCreateRsdRegionRequestParams, RsdRegionsGetRsdRegionRequestParams, RsdRegionsRemoveRsdRegionDocumentsRequestParams, RsdRegionsRemoveRsdRegionRequestParams, RsdRegionsSearchRsdRegionsRequestParams, RsdRegionsUpdateRsdRegionRequestParams, SavePermissionBundleDto, SaveRepTerritoryDto, SaveRepTerritoryLocationDto, SaveRepTerritoryRepContactDto, SaveUserDesignConditionsDto, SaveUserPreferencesDto, SearchPermissionBundleDto, SearchPermissionBundleDtoPagedListMetadataDto, SearchRegionDto, SearchRegionDtoPagedListMetadataDto, SearchRepTerritoryDto, SearchRepTerritoryDtoPagedListMetadataDto, SearchRepTerritoryLocationDto, SearchRepTerritoryLocationDtoPagedListMetadataDto, SearchRsdRegionDto, SearchRsdRegionDtoPagedListMetadataDto, SetAddressDto, SetUserOccupationCommand, SetUserPasswordCommand, StandardDataFormat, StandardDataType, StandardParamStyle, TemperatureDto, TokenModel, TotalCountListMetadata, UpdateRsdRegionDto, UploadFileDto, UploadUrlResult, UserAddressDto, UserDesignConditionsApiServiceInterface, UserDesignConditionsDto, UserDesignConditionsGetProjectDesignConditionsRequestParams, UserDesignConditionsSaveProjectDesignConditionsRequestParams, UserDesignWeatherConditionDto, UserEmailDto, UserPermissionDto, UserPermissionSourceDto, UserPreferencesDto, UserProfileDto, UserProfileSettingsDto, UsersAdminSetUserPasswordRequestParams, UsersApiServiceInterface, UsersChangeCurrentUserPasswordRequestParams, UsersChangeEmailRequestParams, UsersConfirmEmailRequestParams, UsersForgotPasswordRequestParams, UsersGetRepContactsRequestParams, UsersGetUserPermissionsRequestParams, UsersGetUserProfileRequestParams, UsersRequestChangeEmailRequestParams, UsersRequestConfirmEmailRequestParams, UsersResetPasswordRequestParams, UsersSetUserAddressRequestParams, UsersSetUserOccupationRequestParams, UsersSetUserPasswordRequestParams, UsersSetUserProfileRequestParams, UsersUpdateUserPreferencesRequestParams, UsersUpdateUserProfileRequestParams };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saritasa/renewaire-frontend-sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "OpenAPI client for @saritasa/renewaire-frontend-sdk(for version 0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/renewaire-frontend-sdk(for version 0.5.0)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|