@saritasa/renewaire-frontend-sdk 0.1.0-dev.427 → 0.1.0-dev.471

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
@@ -241,6 +241,52 @@ declare enum AddressDtoCountryEnum {
241
241
  Mexico = "Mexico"
242
242
  }
243
243
 
244
+ /**
245
+ * RenewAire CORES API
246
+ *
247
+ * Contact: renewaire@saritasa.com
248
+ *
249
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
250
+ * https://openapi-generator.tech
251
+ * Do not edit the class manually.
252
+ */
253
+ /**
254
+ * Change current user password command.
255
+ */
256
+ interface ChangeCurrentUserPasswordCommand {
257
+ /**
258
+ * Current password.
259
+ */
260
+ currentPassword: string;
261
+ /**
262
+ * New password.
263
+ */
264
+ newPassword: string;
265
+ }
266
+
267
+ /**
268
+ * RenewAire CORES API
269
+ *
270
+ * Contact: renewaire@saritasa.com
271
+ *
272
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
273
+ * https://openapi-generator.tech
274
+ * Do not edit the class manually.
275
+ */
276
+ /**
277
+ * Change email command.
278
+ */
279
+ interface ChangeEmailCommand {
280
+ /**
281
+ * New email.
282
+ */
283
+ newEmail: string;
284
+ /**
285
+ * Change email token.
286
+ */
287
+ token: string;
288
+ }
289
+
244
290
  /**
245
291
  * RenewAire CORES API
246
292
  *
@@ -400,6 +446,34 @@ interface CreateUploadUrlCommand {
400
446
  fileName: string;
401
447
  }
402
448
 
449
+ /**
450
+ * RenewAire CORES API
451
+ *
452
+ * Contact: renewaire@saritasa.com
453
+ *
454
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
455
+ * https://openapi-generator.tech
456
+ * Do not edit the class manually.
457
+ */
458
+ /**
459
+ * DTO for RenewAire.Cores.Domain.Users.User.
460
+ */
461
+ interface CurrentUserDto {
462
+ id: number;
463
+ /**
464
+ * RegistrationStatus<br />0 = EmailVerification<br />1 = SetPassword<br />2 = SetProfile<br />3 = SetAddress<br />4 = SetOccupation<br />5 = Completed
465
+ */
466
+ registrationStatus: CurrentUserDtoRegistrationStatusEnum;
467
+ }
468
+ declare enum CurrentUserDtoRegistrationStatusEnum {
469
+ EmailVerification = "EmailVerification",
470
+ SetPassword = "SetPassword",
471
+ SetProfile = "SetProfile",
472
+ SetAddress = "SetAddress",
473
+ SetOccupation = "SetOccupation",
474
+ Completed = "Completed"
475
+ }
476
+
403
477
  /**
404
478
  * RenewAire CORES API
405
479
  *
@@ -497,22 +571,6 @@ interface ForgotPasswordCommand {
497
571
  email: string;
498
572
  }
499
573
 
500
- /**
501
- * RenewAire CORES API
502
- *
503
- * Contact: renewaire@saritasa.com
504
- *
505
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
506
- * https://openapi-generator.tech
507
- * Do not edit the class manually.
508
- */
509
- /**
510
- * DTO to return Id of entity.
511
- */
512
- interface Int32IdDto {
513
- id: number;
514
- }
515
-
516
574
  /**
517
575
  * RenewAire CORES API
518
576
  *
@@ -638,39 +696,6 @@ interface PermissionDto {
638
696
  description: string;
639
697
  }
640
698
 
641
- /**
642
- * RenewAire CORES API
643
- *
644
- * Contact: renewaire@saritasa.com
645
- *
646
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
647
- * https://openapi-generator.tech
648
- * Do not edit the class manually.
649
- */
650
- /**
651
- * Physical address.
652
- */
653
- interface PhysicalAddressDto {
654
- /**
655
- * Address display name.
656
- */
657
- displayAddress: string;
658
- street1: string;
659
- stateCode: string;
660
- /**
661
- * Country name.
662
- */
663
- country: string;
664
- /**
665
- * Postal code.
666
- */
667
- postalCode: string;
668
- apartmentNumber?: string | null;
669
- street2?: string | null;
670
- county?: string | null;
671
- city?: string | null;
672
- }
673
-
674
699
  /**
675
700
  * RenewAire CORES API
676
701
  *
@@ -751,6 +776,27 @@ declare enum RegionLevel {
751
776
  County = "County"
752
777
  }
753
778
 
779
+ /**
780
+ * RenewAire CORES API
781
+ *
782
+ * Contact: renewaire@saritasa.com
783
+ *
784
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
785
+ * https://openapi-generator.tech
786
+ * Do not edit the class manually.
787
+ */
788
+ /**
789
+ * RegistrationStatus<br />0 = EmailVerification<br />1 = SetPassword<br />2 = SetProfile<br />3 = SetAddress<br />4 = SetOccupation<br />5 = Completed
790
+ */
791
+ declare enum RegistrationStatus {
792
+ EmailVerification = "EmailVerification",
793
+ SetPassword = "SetPassword",
794
+ SetProfile = "SetProfile",
795
+ SetAddress = "SetAddress",
796
+ SetOccupation = "SetOccupation",
797
+ Completed = "Completed"
798
+ }
799
+
754
800
  /**
755
801
  * RenewAire CORES API
756
802
  *
@@ -878,6 +924,25 @@ interface RepTerritoryLocationDto {
878
924
  regions: Array<RegionDto>;
879
925
  }
880
926
 
927
+ /**
928
+ * RenewAire CORES API
929
+ *
930
+ * Contact: renewaire@saritasa.com
931
+ *
932
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
933
+ * https://openapi-generator.tech
934
+ * Do not edit the class manually.
935
+ */
936
+ /**
937
+ * Request change email token for current user command.
938
+ */
939
+ interface RequestChangeEmailCommand {
940
+ /**
941
+ * New email.
942
+ */
943
+ newEmail: string;
944
+ }
945
+
881
946
  /**
882
947
  * RenewAire CORES API
883
948
  *
@@ -1383,6 +1448,67 @@ interface SearchRsdRegionDtoPagedListMetadataDto {
1383
1448
  items: Array<SearchRsdRegionDto>;
1384
1449
  }
1385
1450
 
1451
+ /**
1452
+ * RenewAire CORES API
1453
+ *
1454
+ * Contact: renewaire@saritasa.com
1455
+ *
1456
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1457
+ * https://openapi-generator.tech
1458
+ * Do not edit the class manually.
1459
+ */
1460
+ /**
1461
+ * Set address DTO.
1462
+ */
1463
+ interface SetAddressDto {
1464
+ /**
1465
+ * Country name.
1466
+ */
1467
+ countryName: string;
1468
+ address1: string;
1469
+ address2: string;
1470
+ city: string;
1471
+ county: string;
1472
+ state: string;
1473
+ postalCode: string;
1474
+ apartmentNumber: string;
1475
+ }
1476
+
1477
+ /**
1478
+ * RenewAire CORES API
1479
+ *
1480
+ * Contact: renewaire@saritasa.com
1481
+ *
1482
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1483
+ * https://openapi-generator.tech
1484
+ * Do not edit the class manually.
1485
+ */
1486
+ /**
1487
+ * Set user occupation command.
1488
+ */
1489
+ interface SetUserOccupationCommand {
1490
+ occupation: string;
1491
+ }
1492
+
1493
+ /**
1494
+ * RenewAire CORES API
1495
+ *
1496
+ * Contact: renewaire@saritasa.com
1497
+ *
1498
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1499
+ * https://openapi-generator.tech
1500
+ * Do not edit the class manually.
1501
+ */
1502
+ /**
1503
+ * Create user password command.
1504
+ */
1505
+ interface SetUserPasswordCommand {
1506
+ /**
1507
+ * Password.
1508
+ */
1509
+ password: string;
1510
+ }
1511
+
1386
1512
  /**
1387
1513
  * RenewAire CORES API
1388
1514
  *
@@ -1512,22 +1638,6 @@ interface UserEmailDto {
1512
1638
  email: string;
1513
1639
  }
1514
1640
 
1515
- /**
1516
- * RenewAire CORES API
1517
- *
1518
- * Contact: renewaire@saritasa.com
1519
- *
1520
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1521
- * https://openapi-generator.tech
1522
- * Do not edit the class manually.
1523
- */
1524
- /**
1525
- * User preferences DTO.
1526
- */
1527
- interface UserPreferencesDto {
1528
- occupation: string;
1529
- }
1530
-
1531
1641
  /**
1532
1642
  * RenewAire CORES API
1533
1643
  *
@@ -1545,56 +1655,11 @@ interface UserProfileDto {
1545
1655
  lastName: string;
1546
1656
  company: string;
1547
1657
  title: string;
1548
- /**
1549
- * Phone number.
1550
- */
1551
1658
  workPhoneNumber: string;
1552
- /**
1553
- * Work phone number extension. Optional.
1554
- */
1555
1659
  workPhoneNumberExt?: string | null;
1556
- /**
1557
- * Work phone.
1558
- */
1559
1660
  mobilePhoneNumber?: string | null;
1560
1661
  }
1561
1662
 
1562
- /**
1563
- * RenewAire CORES API
1564
- *
1565
- * Contact: renewaire@saritasa.com
1566
- *
1567
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1568
- * https://openapi-generator.tech
1569
- * Do not edit the class manually.
1570
- */
1571
-
1572
- /**
1573
- * User registration DTO.
1574
- */
1575
- interface UserRegistrationDto {
1576
- /**
1577
- * Email address and confirmation token.
1578
- */
1579
- emailToken: EmailConfirmationTokenDto;
1580
- /**
1581
- * Password.
1582
- */
1583
- password: string;
1584
- /**
1585
- * User profile information.
1586
- */
1587
- profile: UserProfileDto;
1588
- /**
1589
- * Physical address.
1590
- */
1591
- address: PhysicalAddressDto;
1592
- /**
1593
- * Preferences.
1594
- */
1595
- preferences: UserPreferencesDto;
1596
- }
1597
-
1598
1663
  /**
1599
1664
  * RenewAire CORES API
1600
1665
  *
@@ -1608,6 +1673,9 @@ interface UserRegistrationDto {
1608
1673
  interface AuthAuthenticateRequestParams {
1609
1674
  loginUserCommand: LoginUserCommand;
1610
1675
  }
1676
+ interface AuthAuthenticateByEmailTokenRequestParams {
1677
+ emailConfirmationTokenDto?: EmailConfirmationTokenDto;
1678
+ }
1611
1679
  interface AuthRefreshTokenRequestParams {
1612
1680
  refreshTokenCommand: RefreshTokenCommand;
1613
1681
  }
@@ -1620,6 +1688,12 @@ interface AuthApiServiceInterface {
1620
1688
  * @param requestParameters
1621
1689
  */
1622
1690
  authAuthenticate(requestParameters: AuthAuthenticateRequestParams, extraHttpRequestParams?: any): Observable<TokenModel>;
1691
+ /**
1692
+ * Authenticate user by email token.
1693
+ *
1694
+ * @param requestParameters
1695
+ */
1696
+ authAuthenticateByEmailToken(requestParameters: AuthAuthenticateByEmailTokenRequestParams, extraHttpRequestParams?: any): Observable<TokenModel>;
1623
1697
  /**
1624
1698
  * Get new token by refresh token.
1625
1699
  *
@@ -1652,6 +1726,27 @@ declare class AuthApiService extends BaseService implements AuthApiServiceInterf
1652
1726
  context?: HttpContext;
1653
1727
  transferCache?: boolean;
1654
1728
  }): Observable<HttpEvent<TokenModel>>;
1729
+ /**
1730
+ * Authenticate user by email token.
1731
+ * @param requestParameters
1732
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1733
+ * @param reportProgress flag to report request and response progress.
1734
+ */
1735
+ authAuthenticateByEmailToken(requestParameters?: AuthAuthenticateByEmailTokenRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1736
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1737
+ context?: HttpContext;
1738
+ transferCache?: boolean;
1739
+ }): Observable<TokenModel>;
1740
+ authAuthenticateByEmailToken(requestParameters?: AuthAuthenticateByEmailTokenRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1741
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1742
+ context?: HttpContext;
1743
+ transferCache?: boolean;
1744
+ }): Observable<HttpResponse<TokenModel>>;
1745
+ authAuthenticateByEmailToken(requestParameters?: AuthAuthenticateByEmailTokenRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1746
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1747
+ context?: HttpContext;
1748
+ transferCache?: boolean;
1749
+ }): Observable<HttpEvent<TokenModel>>;
1655
1750
  /**
1656
1751
  * Get new token by refresh token.
1657
1752
  * @param requestParameters
@@ -2881,6 +2976,16 @@ declare class UserDesignConditionsApiService extends BaseService implements User
2881
2976
  * Do not edit the class manually.
2882
2977
  */
2883
2978
 
2979
+ interface UsersAdminSetUserPasswordRequestParams {
2980
+ userId: number;
2981
+ newPassword?: string;
2982
+ }
2983
+ interface UsersChangeCurrentUserPasswordRequestParams {
2984
+ changeCurrentUserPasswordCommand?: ChangeCurrentUserPasswordCommand;
2985
+ }
2986
+ interface UsersChangeEmailRequestParams {
2987
+ changeEmailCommand?: ChangeEmailCommand;
2988
+ }
2884
2989
  interface UsersConfirmEmailRequestParams {
2885
2990
  emailConfirmationTokenDto?: EmailConfirmationTokenDto;
2886
2991
  }
@@ -2890,8 +2995,8 @@ interface UsersForgotPasswordRequestParams {
2890
2995
  interface UsersGetRepContactsRequestParams {
2891
2996
  userId: number;
2892
2997
  }
2893
- interface UsersRegisterUserRequestParams {
2894
- userRegistrationDto?: UserRegistrationDto;
2998
+ interface UsersRequestChangeEmailRequestParams {
2999
+ requestChangeEmailCommand?: RequestChangeEmailCommand;
2895
3000
  }
2896
3001
  interface UsersRequestConfirmEmailRequestParams {
2897
3002
  userEmailDto?: UserEmailDto;
@@ -2899,9 +3004,39 @@ interface UsersRequestConfirmEmailRequestParams {
2899
3004
  interface UsersResetPasswordRequestParams {
2900
3005
  resetPasswordCommand?: ResetPasswordCommand;
2901
3006
  }
3007
+ interface UsersSetUserAddressRequestParams {
3008
+ setAddressDto?: SetAddressDto;
3009
+ }
3010
+ interface UsersSetUserOccupationRequestParams {
3011
+ setUserOccupationCommand?: SetUserOccupationCommand;
3012
+ }
3013
+ interface UsersSetUserPasswordRequestParams {
3014
+ setUserPasswordCommand?: SetUserPasswordCommand;
3015
+ }
3016
+ interface UsersSetUserProfileRequestParams {
3017
+ userProfileDto?: UserProfileDto;
3018
+ }
2902
3019
  interface UsersApiServiceInterface {
2903
3020
  defaultHeaders: HttpHeaders;
2904
3021
  configuration: Configuration;
3022
+ /**
3023
+ * Set user password.
3024
+ *
3025
+ * @param requestParameters
3026
+ */
3027
+ usersAdminSetUserPassword(requestParameters: UsersAdminSetUserPasswordRequestParams, extraHttpRequestParams?: any): Observable<{}>;
3028
+ /**
3029
+ * Change current user password.
3030
+ *
3031
+ * @param requestParameters
3032
+ */
3033
+ usersChangeCurrentUserPassword(requestParameters: UsersChangeCurrentUserPasswordRequestParams, extraHttpRequestParams?: any): Observable<{}>;
3034
+ /**
3035
+ * Change email for current user.
3036
+ *
3037
+ * @param requestParameters
3038
+ */
3039
+ usersChangeEmail(requestParameters: UsersChangeEmailRequestParams, extraHttpRequestParams?: any): Observable<{}>;
2905
3040
  /**
2906
3041
  * Confirm email address using the verification code from email and continue registration.
2907
3042
  *
@@ -2919,6 +3054,11 @@ interface UsersApiServiceInterface {
2919
3054
  *
2920
3055
  */
2921
3056
  usersGetCurrentRepContacts(extraHttpRequestParams?: any): Observable<RepTerritoryContactsDto>;
3057
+ /**
3058
+ * Get current user info.
3059
+ *
3060
+ */
3061
+ usersGetCurrentUser(extraHttpRequestParams?: any): Observable<CurrentUserDto>;
2922
3062
  /**
2923
3063
  * Get user REP contacts.
2924
3064
  *
@@ -2926,11 +3066,11 @@ interface UsersApiServiceInterface {
2926
3066
  */
2927
3067
  usersGetRepContacts(requestParameters: UsersGetRepContactsRequestParams, extraHttpRequestParams?: any): Observable<RepTerritoryContactsDto>;
2928
3068
  /**
2929
- * Register user.
3069
+ * Request change email for current user.
2930
3070
  *
2931
3071
  * @param requestParameters
2932
3072
  */
2933
- usersRegisterUser(requestParameters: UsersRegisterUserRequestParams, extraHttpRequestParams?: any): Observable<Int32IdDto>;
3073
+ usersRequestChangeEmail(requestParameters: UsersRequestChangeEmailRequestParams, extraHttpRequestParams?: any): Observable<{}>;
2934
3074
  /**
2935
3075
  * Request email confirmation and begin registration. This endpoint sends verification email to a given address.
2936
3076
  *
@@ -2943,11 +3083,98 @@ interface UsersApiServiceInterface {
2943
3083
  * @param requestParameters
2944
3084
  */
2945
3085
  usersResetPassword(requestParameters: UsersResetPasswordRequestParams, extraHttpRequestParams?: any): Observable<{}>;
3086
+ /**
3087
+ * Set user address.
3088
+ *
3089
+ * @param requestParameters
3090
+ */
3091
+ usersSetUserAddress(requestParameters: UsersSetUserAddressRequestParams, extraHttpRequestParams?: any): Observable<{}>;
3092
+ /**
3093
+ * Set user occupation.
3094
+ *
3095
+ * @param requestParameters
3096
+ */
3097
+ usersSetUserOccupation(requestParameters: UsersSetUserOccupationRequestParams, extraHttpRequestParams?: any): Observable<{}>;
3098
+ /**
3099
+ * Set user password.
3100
+ *
3101
+ * @param requestParameters
3102
+ */
3103
+ usersSetUserPassword(requestParameters: UsersSetUserPasswordRequestParams, extraHttpRequestParams?: any): Observable<{}>;
3104
+ /**
3105
+ * Set user profile.
3106
+ *
3107
+ * @param requestParameters
3108
+ */
3109
+ usersSetUserProfile(requestParameters: UsersSetUserProfileRequestParams, extraHttpRequestParams?: any): Observable<{}>;
2946
3110
  }
2947
3111
 
2948
3112
  declare class UsersApiService extends BaseService implements UsersApiServiceInterface {
2949
3113
  protected httpClient: HttpClient;
2950
3114
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
3115
+ /**
3116
+ * Set user password.
3117
+ * @param requestParameters
3118
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3119
+ * @param reportProgress flag to report request and response progress.
3120
+ */
3121
+ usersAdminSetUserPassword(requestParameters: UsersAdminSetUserPasswordRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3122
+ httpHeaderAccept?: undefined;
3123
+ context?: HttpContext;
3124
+ transferCache?: boolean;
3125
+ }): Observable<any>;
3126
+ usersAdminSetUserPassword(requestParameters: UsersAdminSetUserPasswordRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3127
+ httpHeaderAccept?: undefined;
3128
+ context?: HttpContext;
3129
+ transferCache?: boolean;
3130
+ }): Observable<HttpResponse<any>>;
3131
+ usersAdminSetUserPassword(requestParameters: UsersAdminSetUserPasswordRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3132
+ httpHeaderAccept?: undefined;
3133
+ context?: HttpContext;
3134
+ transferCache?: boolean;
3135
+ }): Observable<HttpEvent<any>>;
3136
+ /**
3137
+ * Change current user password.
3138
+ * @param requestParameters
3139
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3140
+ * @param reportProgress flag to report request and response progress.
3141
+ */
3142
+ usersChangeCurrentUserPassword(requestParameters?: UsersChangeCurrentUserPasswordRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3143
+ httpHeaderAccept?: undefined;
3144
+ context?: HttpContext;
3145
+ transferCache?: boolean;
3146
+ }): Observable<any>;
3147
+ usersChangeCurrentUserPassword(requestParameters?: UsersChangeCurrentUserPasswordRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3148
+ httpHeaderAccept?: undefined;
3149
+ context?: HttpContext;
3150
+ transferCache?: boolean;
3151
+ }): Observable<HttpResponse<any>>;
3152
+ usersChangeCurrentUserPassword(requestParameters?: UsersChangeCurrentUserPasswordRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3153
+ httpHeaderAccept?: undefined;
3154
+ context?: HttpContext;
3155
+ transferCache?: boolean;
3156
+ }): Observable<HttpEvent<any>>;
3157
+ /**
3158
+ * Change email for current user.
3159
+ * @param requestParameters
3160
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3161
+ * @param reportProgress flag to report request and response progress.
3162
+ */
3163
+ usersChangeEmail(requestParameters?: UsersChangeEmailRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3164
+ httpHeaderAccept?: undefined;
3165
+ context?: HttpContext;
3166
+ transferCache?: boolean;
3167
+ }): Observable<any>;
3168
+ usersChangeEmail(requestParameters?: UsersChangeEmailRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3169
+ httpHeaderAccept?: undefined;
3170
+ context?: HttpContext;
3171
+ transferCache?: boolean;
3172
+ }): Observable<HttpResponse<any>>;
3173
+ usersChangeEmail(requestParameters?: UsersChangeEmailRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3174
+ httpHeaderAccept?: undefined;
3175
+ context?: HttpContext;
3176
+ transferCache?: boolean;
3177
+ }): Observable<HttpEvent<any>>;
2951
3178
  /**
2952
3179
  * Confirm email address using the verification code from email and continue registration.
2953
3180
  * @param requestParameters
@@ -3010,6 +3237,26 @@ declare class UsersApiService extends BaseService implements UsersApiServiceInte
3010
3237
  context?: HttpContext;
3011
3238
  transferCache?: boolean;
3012
3239
  }): Observable<HttpEvent<RepTerritoryContactsDto>>;
3240
+ /**
3241
+ * Get current user info.
3242
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3243
+ * @param reportProgress flag to report request and response progress.
3244
+ */
3245
+ usersGetCurrentUser(observe?: "body", reportProgress?: boolean, options?: {
3246
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
3247
+ context?: HttpContext;
3248
+ transferCache?: boolean;
3249
+ }): Observable<CurrentUserDto>;
3250
+ usersGetCurrentUser(observe?: "response", reportProgress?: boolean, options?: {
3251
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
3252
+ context?: HttpContext;
3253
+ transferCache?: boolean;
3254
+ }): Observable<HttpResponse<CurrentUserDto>>;
3255
+ usersGetCurrentUser(observe?: "events", reportProgress?: boolean, options?: {
3256
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
3257
+ context?: HttpContext;
3258
+ transferCache?: boolean;
3259
+ }): Observable<HttpEvent<CurrentUserDto>>;
3013
3260
  /**
3014
3261
  * Get user REP contacts.
3015
3262
  * @param requestParameters
@@ -3032,26 +3279,26 @@ declare class UsersApiService extends BaseService implements UsersApiServiceInte
3032
3279
  transferCache?: boolean;
3033
3280
  }): Observable<HttpEvent<RepTerritoryContactsDto>>;
3034
3281
  /**
3035
- * Register user.
3282
+ * Request change email for current user.
3036
3283
  * @param requestParameters
3037
3284
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3038
3285
  * @param reportProgress flag to report request and response progress.
3039
3286
  */
3040
- usersRegisterUser(requestParameters?: UsersRegisterUserRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3041
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
3287
+ usersRequestChangeEmail(requestParameters?: UsersRequestChangeEmailRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3288
+ httpHeaderAccept?: undefined;
3042
3289
  context?: HttpContext;
3043
3290
  transferCache?: boolean;
3044
- }): Observable<Int32IdDto>;
3045
- usersRegisterUser(requestParameters?: UsersRegisterUserRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3046
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
3291
+ }): Observable<any>;
3292
+ usersRequestChangeEmail(requestParameters?: UsersRequestChangeEmailRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3293
+ httpHeaderAccept?: undefined;
3047
3294
  context?: HttpContext;
3048
3295
  transferCache?: boolean;
3049
- }): Observable<HttpResponse<Int32IdDto>>;
3050
- usersRegisterUser(requestParameters?: UsersRegisterUserRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3051
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
3296
+ }): Observable<HttpResponse<any>>;
3297
+ usersRequestChangeEmail(requestParameters?: UsersRequestChangeEmailRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3298
+ httpHeaderAccept?: undefined;
3052
3299
  context?: HttpContext;
3053
3300
  transferCache?: boolean;
3054
- }): Observable<HttpEvent<Int32IdDto>>;
3301
+ }): Observable<HttpEvent<any>>;
3055
3302
  /**
3056
3303
  * Request email confirmation and begin registration. This endpoint sends verification email to a given address.
3057
3304
  * @param requestParameters
@@ -3094,6 +3341,90 @@ declare class UsersApiService extends BaseService implements UsersApiServiceInte
3094
3341
  context?: HttpContext;
3095
3342
  transferCache?: boolean;
3096
3343
  }): Observable<HttpEvent<any>>;
3344
+ /**
3345
+ * Set user address.
3346
+ * @param requestParameters
3347
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3348
+ * @param reportProgress flag to report request and response progress.
3349
+ */
3350
+ usersSetUserAddress(requestParameters?: UsersSetUserAddressRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3351
+ httpHeaderAccept?: undefined;
3352
+ context?: HttpContext;
3353
+ transferCache?: boolean;
3354
+ }): Observable<any>;
3355
+ usersSetUserAddress(requestParameters?: UsersSetUserAddressRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3356
+ httpHeaderAccept?: undefined;
3357
+ context?: HttpContext;
3358
+ transferCache?: boolean;
3359
+ }): Observable<HttpResponse<any>>;
3360
+ usersSetUserAddress(requestParameters?: UsersSetUserAddressRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3361
+ httpHeaderAccept?: undefined;
3362
+ context?: HttpContext;
3363
+ transferCache?: boolean;
3364
+ }): Observable<HttpEvent<any>>;
3365
+ /**
3366
+ * Set user occupation.
3367
+ * @param requestParameters
3368
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3369
+ * @param reportProgress flag to report request and response progress.
3370
+ */
3371
+ usersSetUserOccupation(requestParameters?: UsersSetUserOccupationRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3372
+ httpHeaderAccept?: undefined;
3373
+ context?: HttpContext;
3374
+ transferCache?: boolean;
3375
+ }): Observable<any>;
3376
+ usersSetUserOccupation(requestParameters?: UsersSetUserOccupationRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3377
+ httpHeaderAccept?: undefined;
3378
+ context?: HttpContext;
3379
+ transferCache?: boolean;
3380
+ }): Observable<HttpResponse<any>>;
3381
+ usersSetUserOccupation(requestParameters?: UsersSetUserOccupationRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3382
+ httpHeaderAccept?: undefined;
3383
+ context?: HttpContext;
3384
+ transferCache?: boolean;
3385
+ }): Observable<HttpEvent<any>>;
3386
+ /**
3387
+ * Set user password.
3388
+ * @param requestParameters
3389
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3390
+ * @param reportProgress flag to report request and response progress.
3391
+ */
3392
+ usersSetUserPassword(requestParameters?: UsersSetUserPasswordRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3393
+ httpHeaderAccept?: undefined;
3394
+ context?: HttpContext;
3395
+ transferCache?: boolean;
3396
+ }): Observable<any>;
3397
+ usersSetUserPassword(requestParameters?: UsersSetUserPasswordRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3398
+ httpHeaderAccept?: undefined;
3399
+ context?: HttpContext;
3400
+ transferCache?: boolean;
3401
+ }): Observable<HttpResponse<any>>;
3402
+ usersSetUserPassword(requestParameters?: UsersSetUserPasswordRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3403
+ httpHeaderAccept?: undefined;
3404
+ context?: HttpContext;
3405
+ transferCache?: boolean;
3406
+ }): Observable<HttpEvent<any>>;
3407
+ /**
3408
+ * Set user profile.
3409
+ * @param requestParameters
3410
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3411
+ * @param reportProgress flag to report request and response progress.
3412
+ */
3413
+ usersSetUserProfile(requestParameters?: UsersSetUserProfileRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3414
+ httpHeaderAccept?: undefined;
3415
+ context?: HttpContext;
3416
+ transferCache?: boolean;
3417
+ }): Observable<any>;
3418
+ usersSetUserProfile(requestParameters?: UsersSetUserProfileRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3419
+ httpHeaderAccept?: undefined;
3420
+ context?: HttpContext;
3421
+ transferCache?: boolean;
3422
+ }): Observable<HttpResponse<any>>;
3423
+ usersSetUserProfile(requestParameters?: UsersSetUserProfileRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3424
+ httpHeaderAccept?: undefined;
3425
+ context?: HttpContext;
3426
+ transferCache?: boolean;
3427
+ }): Observable<HttpEvent<any>>;
3097
3428
  static ɵfac: i0.ɵɵFactoryDeclaration<UsersApiService, [null, { optional: true; }, { optional: true; }]>;
3098
3429
  static ɵprov: i0.ɵɵInjectableDeclaration<UsersApiService>;
3099
3430
  }
@@ -3118,5 +3449,5 @@ declare class ApiModule {
3118
3449
 
3119
3450
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
3120
3451
 
3121
- export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, DesignWeatherMode, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UsersApiService, provideApi };
3122
- export type { AddressDto, AuthApiServiceInterface, AuthAuthenticateRequestParams, AuthRefreshTokenRequestParams, CompanyInformationDto, ConfigurationParameters, ContactDto, CreateDocumentsDto, CreateRsdRegionDto, CreateUploadUrlCommand, DataFormat, DataType, DistanceDto, EmailConfirmationTokenDto, FileDto, ForgotPasswordCommand, Int32IdDto, LoginUserCommand, OffsetLimitListMetadata, PagedListMetadata, Param, ParamLocation, ParamStyle, PermissionBundleDto, PermissionBundlesApiServiceInterface, PermissionBundlesCreatePermissionBundleRequestParams, PermissionBundlesGetPermissionBundleRequestParams, PermissionBundlesRemovePermissionBundleRequestParams, PermissionBundlesRestorePermissionBundleRequestParams, PermissionBundlesSearchPermissionBundlesRequestParams, PermissionBundlesUpdatePermissionBundleRequestParams, PermissionDto, PermissionsApiServiceInterface, PhysicalAddressDto, 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, 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, StandardDataFormat, StandardDataType, StandardParamStyle, TemperatureDto, TokenModel, TotalCountListMetadata, UpdateRsdRegionDto, UploadFileDto, UploadUrlResult, UserDesignConditionsApiServiceInterface, UserDesignConditionsDto, UserDesignConditionsGetProjectDesignConditionsRequestParams, UserDesignConditionsSaveProjectDesignConditionsRequestParams, UserDesignWeatherConditionDto, UserEmailDto, UserPreferencesDto, UserProfileDto, UserRegistrationDto, UsersApiServiceInterface, UsersConfirmEmailRequestParams, UsersForgotPasswordRequestParams, UsersGetRepContactsRequestParams, UsersRegisterUserRequestParams, UsersRequestConfirmEmailRequestParams, UsersResetPasswordRequestParams };
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 };