@saritasa/renewaire-frontend-sdk 0.1.11 → 0.3.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
@@ -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
  *
@@ -300,6 +346,64 @@ interface ContactDto {
300
346
  email: string;
301
347
  }
302
348
 
349
+ /**
350
+ * RenewAire CORES API
351
+ *
352
+ * Contact: renewaire@saritasa.com
353
+ *
354
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
355
+ * https://openapi-generator.tech
356
+ * Do not edit the class manually.
357
+ */
358
+ /**
359
+ * CoolingDesignBasis<br />0 = Cooling<br />1 = Dehumidification
360
+ */
361
+ declare enum CoolingDesignBasis {
362
+ Cooling = "Cooling",
363
+ Dehumidification = "Dehumidification"
364
+ }
365
+
366
+ /**
367
+ * RenewAire CORES API
368
+ *
369
+ * Contact: renewaire@saritasa.com
370
+ *
371
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
372
+ * https://openapi-generator.tech
373
+ * Do not edit the class manually.
374
+ */
375
+ /**
376
+ * Represents metadata for an uploaded file.
377
+ */
378
+ interface UploadFileDto {
379
+ /**
380
+ * A temporary file id that is assigned when a pre-signed URL is received.
381
+ */
382
+ fileId: string;
383
+ name: string;
384
+ contentType: string;
385
+ }
386
+
387
+ /**
388
+ * RenewAire CORES API
389
+ *
390
+ * Contact: renewaire@saritasa.com
391
+ *
392
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
393
+ * https://openapi-generator.tech
394
+ * Do not edit the class manually.
395
+ */
396
+
397
+ /**
398
+ * DTO for command RenewAire.Cores.UseCases.RsdRegionDocuments.CreateDocuments.CreateDocumentsCommand.
399
+ */
400
+ interface CreateDocumentsDto {
401
+ /**
402
+ * Files that need to be created.
403
+ */
404
+ files: Array<UploadFileDto>;
405
+ }
406
+
303
407
  /**
304
408
  * RenewAire CORES API
305
409
  *
@@ -326,6 +430,84 @@ interface CreateRsdRegionDto {
326
430
  rsdUserIds: Array<number>;
327
431
  }
328
432
 
433
+ /**
434
+ * RenewAire CORES API
435
+ *
436
+ * Contact: renewaire@saritasa.com
437
+ *
438
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
439
+ * https://openapi-generator.tech
440
+ * Do not edit the class manually.
441
+ */
442
+ /**
443
+ * Command to generate URL to upload RenewAire.Cores.Domain.Users.RsdRegionDocument.
444
+ */
445
+ interface CreateUploadUrlCommand {
446
+ fileName: string;
447
+ }
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
+
477
+ /**
478
+ * RenewAire CORES API
479
+ *
480
+ * Contact: renewaire@saritasa.com
481
+ *
482
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
483
+ * https://openapi-generator.tech
484
+ * Do not edit the class manually.
485
+ */
486
+ /**
487
+ * DesignWeatherMode<br />0 = RelativeHumidity<br />1 = WetBulb
488
+ */
489
+ declare enum DesignWeatherMode {
490
+ RelativeHumidity = "RelativeHumidity",
491
+ WetBulb = "WetBulb"
492
+ }
493
+
494
+ /**
495
+ * RenewAire CORES API
496
+ *
497
+ * Contact: renewaire@saritasa.com
498
+ *
499
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
500
+ * https://openapi-generator.tech
501
+ * Do not edit the class manually.
502
+ */
503
+ /**
504
+ * DTO for RenewAire.Cores.Domain.Distance.
505
+ */
506
+ interface DistanceDto {
507
+ feet: number;
508
+ meters: number;
509
+ }
510
+
329
511
  /**
330
512
  * RenewAire CORES API
331
513
  *
@@ -359,10 +541,34 @@ interface EmailConfirmationTokenDto {
359
541
  * Do not edit the class manually.
360
542
  */
361
543
  /**
362
- * DTO to return Id of entity.
544
+ * DTO for RenewAire.Cores.Domain.File.
363
545
  */
364
- interface Int32IdDto {
365
- id: number;
546
+ interface FileDto {
547
+ name: string;
548
+ contentType: string;
549
+ /**
550
+ * URL to endpoint to get pre-signed URL for file.
551
+ */
552
+ preSignedUrlEndpoint?: string | null;
553
+ }
554
+
555
+ /**
556
+ * RenewAire CORES API
557
+ *
558
+ * Contact: renewaire@saritasa.com
559
+ *
560
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
561
+ * https://openapi-generator.tech
562
+ * Do not edit the class manually.
563
+ */
564
+ /**
565
+ * Command for forgot password processing.
566
+ */
567
+ interface ForgotPasswordCommand {
568
+ /**
569
+ * Email.
570
+ */
571
+ email: string;
366
572
  }
367
573
 
368
574
  /**
@@ -421,6 +627,48 @@ interface PagedListMetadata {
421
627
  totalPages: number;
422
628
  }
423
629
 
630
+ /**
631
+ * RenewAire CORES API
632
+ *
633
+ * Contact: renewaire@saritasa.com
634
+ *
635
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
636
+ * https://openapi-generator.tech
637
+ * Do not edit the class manually.
638
+ */
639
+ /**
640
+ * Permission<br />0 = SystemAdmin<br />1 = UserAdministration
641
+ */
642
+ declare enum Permission {
643
+ SystemAdmin = "SystemAdmin",
644
+ UserAdministration = "UserAdministration"
645
+ }
646
+
647
+ /**
648
+ * RenewAire CORES API
649
+ *
650
+ * Contact: renewaire@saritasa.com
651
+ *
652
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
653
+ * https://openapi-generator.tech
654
+ * Do not edit the class manually.
655
+ */
656
+
657
+ /**
658
+ * Permission bundle DTO.
659
+ */
660
+ interface PermissionBundleDto {
661
+ id: object;
662
+ name: string;
663
+ description: string;
664
+ isSystem: boolean;
665
+ /**
666
+ * Is active. Not removed permission bundle.
667
+ */
668
+ isActive: boolean;
669
+ permissions: Array<Permission>;
670
+ }
671
+
424
672
  /**
425
673
  * RenewAire CORES API
426
674
  *
@@ -457,28 +705,11 @@ interface PermissionDto {
457
705
  * https://openapi-generator.tech
458
706
  * Do not edit the class manually.
459
707
  */
460
- /**
461
- * Physical address.
462
- */
463
- interface PhysicalAddressDto {
464
- /**
465
- * Address display name.
466
- */
467
- displayAddress: string;
468
- street1: string;
469
- stateCode: string;
470
- /**
471
- * Country name.
472
- */
473
- country: string;
474
- /**
475
- * Postal code.
476
- */
477
- postalCode: string;
478
- apartmentNumber?: string | null;
479
- street2?: string | null;
480
- county?: string | null;
481
- city?: string | null;
708
+ interface PostPreSignedUrlDto {
709
+ url: string;
710
+ fields: {
711
+ [key: string]: string;
712
+ };
482
713
  }
483
714
 
484
715
  /**
@@ -500,6 +731,33 @@ interface RefreshTokenCommand {
500
731
  token: string;
501
732
  }
502
733
 
734
+ /**
735
+ * RenewAire CORES API
736
+ *
737
+ * Contact: renewaire@saritasa.com
738
+ *
739
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
740
+ * https://openapi-generator.tech
741
+ * Do not edit the class manually.
742
+ */
743
+ /**
744
+ * DTO for RenewAire.Cores.Domain.Region.
745
+ */
746
+ interface RegionDto {
747
+ id: object;
748
+ /**
749
+ * RegionLevel<br />0 = Country<br />1 = State<br />2 = County
750
+ */
751
+ level: RegionDtoLevelEnum;
752
+ name: string;
753
+ code: string;
754
+ }
755
+ declare enum RegionDtoLevelEnum {
756
+ Country = "Country",
757
+ State = "State",
758
+ County = "County"
759
+ }
760
+
503
761
  /**
504
762
  * RenewAire CORES API
505
763
  *
@@ -518,6 +776,46 @@ declare enum RegionLevel {
518
776
  County = "County"
519
777
  }
520
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
+
800
+ /**
801
+ * RenewAire CORES API
802
+ *
803
+ * Contact: renewaire@saritasa.com
804
+ *
805
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
806
+ * https://openapi-generator.tech
807
+ * Do not edit the class manually.
808
+ */
809
+ /**
810
+ * Command to remove list of RenewAire.Cores.Domain.Users.RsdRegionDocument.
811
+ */
812
+ interface RemoveDocumentsCommand {
813
+ /**
814
+ * RSD region document ids to remove.
815
+ */
816
+ rsdRegionDocumentIds: Array<object>;
817
+ }
818
+
521
819
  /**
522
820
  * RenewAire CORES API
523
821
  *
@@ -561,6 +859,7 @@ interface RepTerritoryContactsDto {
561
859
  */
562
860
  interface RepTerritoryRepContactDto {
563
861
  id: object;
862
+ repTerritoryId: object;
564
863
  headerLabel: string;
565
864
  territoryLabel: string;
566
865
  firstName: string;
@@ -612,13 +911,84 @@ interface RepTerritoryDto {
612
911
  * https://openapi-generator.tech
613
912
  * Do not edit the class manually.
614
913
  */
914
+
915
+ /**
916
+ * REP territory location DTO.
917
+ */
918
+ interface RepTerritoryLocationDto {
919
+ id: object;
920
+ name: string;
921
+ repTerritoryId: object;
922
+ repTerritoryName: string;
923
+ allCounties: boolean;
924
+ regions: Array<RegionDto>;
925
+ }
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
+
946
+ /**
947
+ * RenewAire CORES API
948
+ *
949
+ * Contact: renewaire@saritasa.com
950
+ *
951
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
952
+ * https://openapi-generator.tech
953
+ * Do not edit the class manually.
954
+ */
955
+ /**
956
+ * Command to reset the password.
957
+ */
958
+ interface ResetPasswordCommand {
959
+ /**
960
+ * Email.
961
+ */
962
+ email: string;
963
+ /**
964
+ * Token received from \"forgot password\" email.
965
+ */
966
+ token: string;
967
+ /**
968
+ * New password to set.
969
+ */
970
+ newPassword: string;
971
+ }
972
+
973
+ /**
974
+ * RenewAire CORES API
975
+ *
976
+ * Contact: renewaire@saritasa.com
977
+ *
978
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
979
+ * https://openapi-generator.tech
980
+ * Do not edit the class manually.
981
+ */
982
+
615
983
  /**
616
984
  * RSD region document DTO for query RenewAire.Cores.UseCases.RsdRegions.GetRsdRegion.GetRsdRegionQuery.
617
985
  */
618
986
  interface RsdRegionDocumentDto {
619
987
  id: object;
620
- contentType: string;
621
- fileName: string;
988
+ /**
989
+ * Contains information about file.
990
+ */
991
+ file: FileDto;
622
992
  }
623
993
 
624
994
  /**
@@ -688,6 +1058,25 @@ interface RsdRegionDto {
688
1058
  documents: Array<RsdRegionDocumentDto>;
689
1059
  }
690
1060
 
1061
+ /**
1062
+ * RenewAire CORES API
1063
+ *
1064
+ * Contact: renewaire@saritasa.com
1065
+ *
1066
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1067
+ * https://openapi-generator.tech
1068
+ * Do not edit the class manually.
1069
+ */
1070
+
1071
+ /**
1072
+ * Save permission bundle DTO.
1073
+ */
1074
+ interface SavePermissionBundleDto {
1075
+ name: string;
1076
+ description: string;
1077
+ permissions: Array<Permission>;
1078
+ }
1079
+
691
1080
  /**
692
1081
  * RenewAire CORES API
693
1082
  *
@@ -725,22 +1114,12 @@ interface SaveRepTerritoryDto {
725
1114
  * Do not edit the class manually.
726
1115
  */
727
1116
  /**
728
- * DTO for searching RenewAire.Cores.Domain.Region.
1117
+ * Save REP territory location DTO.
729
1118
  */
730
- interface SearchRegionDto {
731
- id: object;
732
- /**
733
- * RegionLevel<br />0 = Country<br />1 = State<br />2 = County
734
- */
735
- level: SearchRegionDtoLevelEnum;
1119
+ interface SaveRepTerritoryLocationDto {
736
1120
  name: string;
737
- code: string;
738
- parentRegionId?: object | null;
739
- }
740
- declare enum SearchRegionDtoLevelEnum {
741
- Country = "Country",
742
- State = "State",
743
- County = "County"
1121
+ allCounties: boolean;
1122
+ regions: Array<object>;
744
1123
  }
745
1124
 
746
1125
  /**
@@ -753,9 +1132,21 @@ declare enum SearchRegionDtoLevelEnum {
753
1132
  * Do not edit the class manually.
754
1133
  */
755
1134
 
756
- interface SearchRegionDtoPagedListMetadataDto {
757
- metadata: PagedListMetadata;
758
- items: Array<SearchRegionDto>;
1135
+ /**
1136
+ * Save REP territory contact DTO.
1137
+ */
1138
+ interface SaveRepTerritoryRepContactDto {
1139
+ headerLabel: string;
1140
+ territoryLabel: string;
1141
+ firstName: string;
1142
+ lastName: string;
1143
+ phone: string;
1144
+ email: string;
1145
+ website: string;
1146
+ /**
1147
+ * DTO for RenewAire.Cores.Domain.Address.
1148
+ */
1149
+ address: AddressDto;
759
1150
  }
760
1151
 
761
1152
  /**
@@ -767,23 +1158,12 @@ interface SearchRegionDtoPagedListMetadataDto {
767
1158
  * https://openapi-generator.tech
768
1159
  * Do not edit the class manually.
769
1160
  */
770
-
771
1161
  /**
772
- * Search REP territory dto.
1162
+ * DTO for RenewAire.Cores.Domain.Temperature.
773
1163
  */
774
- interface SearchRepTerritoryDto {
775
- id: object;
776
- name: string;
777
- code: string;
778
- /**
779
- * Is active. Not removed territory.
780
- */
781
- isActive: boolean;
782
- rsdRegionName: string;
783
- locations: Array<string>;
784
- groups: Array<string>;
785
- contacts: Array<RepTerritoryRepContactDto>;
786
- salesContacts: Array<ContactDto>;
1164
+ interface TemperatureDto {
1165
+ celsius: number;
1166
+ fahrenheit: number;
787
1167
  }
788
1168
 
789
1169
  /**
@@ -796,9 +1176,27 @@ interface SearchRepTerritoryDto {
796
1176
  * Do not edit the class manually.
797
1177
  */
798
1178
 
799
- interface SearchRepTerritoryDtoPagedListMetadataDto {
800
- metadata: PagedListMetadata;
801
- items: Array<SearchRepTerritoryDto>;
1179
+ /**
1180
+ * User design weather condition DTO for RenewAire.Cores.UseCases.Users.DesignConditions.GetUserDesignConditions.GetUserDesignConditionsQuery.
1181
+ */
1182
+ interface UserDesignWeatherConditionDto {
1183
+ /**
1184
+ * DTO for RenewAire.Cores.Domain.Temperature.
1185
+ */
1186
+ dryBulb: TemperatureDto;
1187
+ /**
1188
+ * DTO for RenewAire.Cores.Domain.Temperature.
1189
+ */
1190
+ wetBulb: TemperatureDto;
1191
+ relativeHumidity: number;
1192
+ /**
1193
+ * DesignWeatherMode<br />0 = RelativeHumidity<br />1 = WetBulb
1194
+ */
1195
+ designWeatherMode: UserDesignWeatherConditionDtoDesignWeatherModeEnum;
1196
+ }
1197
+ declare enum UserDesignWeatherConditionDtoDesignWeatherModeEnum {
1198
+ RelativeHumidity = "RelativeHumidity",
1199
+ WetBulb = "WetBulb"
802
1200
  }
803
1201
 
804
1202
  /**
@@ -812,17 +1210,42 @@ interface SearchRepTerritoryDtoPagedListMetadataDto {
812
1210
  */
813
1211
 
814
1212
  /**
815
- * DTO for searching RenewAire.Cores.Domain.Users.RsdRegion.
1213
+ * DTO to save RenewAire.Cores.Domain.Users.UserDesignConditions.
816
1214
  */
817
- interface SearchRsdRegionDto {
818
- id: object;
819
- name: string;
1215
+ interface SaveUserDesignConditionsDto {
1216
+ userId: number;
1217
+ weatherStationState: string;
1218
+ weatherStation: string;
1219
+ coolingPercentileDay: number;
1220
+ heatingPercentileDay: number;
820
1221
  /**
821
- * Active if not removed.
1222
+ * CoolingDesignBasis<br />0 = Cooling<br />1 = Dehumidification
822
1223
  */
823
- isActive: boolean;
824
- rsdUsers: Array<RsdRegionUserDto>;
825
- repTerritories: Array<RsdRegionRepTerritoryDto>;
1224
+ coolingDesignBasis: SaveUserDesignConditionsDtoCoolingDesignBasisEnum;
1225
+ /**
1226
+ * DTO for RenewAire.Cores.Domain.Distance.
1227
+ */
1228
+ elevation: DistanceDto;
1229
+ /**
1230
+ * User design weather condition DTO for RenewAire.Cores.UseCases.Users.DesignConditions.GetUserDesignConditions.GetUserDesignConditionsQuery.
1231
+ */
1232
+ summerOutsideAir: UserDesignWeatherConditionDto;
1233
+ /**
1234
+ * User design weather condition DTO for RenewAire.Cores.UseCases.Users.DesignConditions.GetUserDesignConditions.GetUserDesignConditionsQuery.
1235
+ */
1236
+ summerReturnAir: UserDesignWeatherConditionDto;
1237
+ /**
1238
+ * User design weather condition DTO for RenewAire.Cores.UseCases.Users.DesignConditions.GetUserDesignConditions.GetUserDesignConditionsQuery.
1239
+ */
1240
+ winterOutsideAir: UserDesignWeatherConditionDto;
1241
+ /**
1242
+ * User design weather condition DTO for RenewAire.Cores.UseCases.Users.DesignConditions.GetUserDesignConditions.GetUserDesignConditionsQuery.
1243
+ */
1244
+ winterReturnAir: UserDesignWeatherConditionDto;
1245
+ }
1246
+ declare enum SaveUserDesignConditionsDtoCoolingDesignBasisEnum {
1247
+ Cooling = "Cooling",
1248
+ Dehumidification = "Dehumidification"
826
1249
  }
827
1250
 
828
1251
  /**
@@ -834,10 +1257,18 @@ interface SearchRsdRegionDto {
834
1257
  * https://openapi-generator.tech
835
1258
  * Do not edit the class manually.
836
1259
  */
837
-
838
- interface SearchRsdRegionDtoPagedListMetadataDto {
839
- metadata: PagedListMetadata;
840
- items: Array<SearchRsdRegionDto>;
1260
+ /**
1261
+ * Search permission bundle DTO.
1262
+ */
1263
+ interface SearchPermissionBundleDto {
1264
+ id: object;
1265
+ name: string;
1266
+ description: string;
1267
+ isSystem: boolean;
1268
+ /**
1269
+ * Is active. Not removed permission bundle.
1270
+ */
1271
+ isActive: boolean;
841
1272
  }
842
1273
 
843
1274
  /**
@@ -849,8 +1280,10 @@ interface SearchRsdRegionDtoPagedListMetadataDto {
849
1280
  * https://openapi-generator.tech
850
1281
  * Do not edit the class manually.
851
1282
  */
852
- interface TotalCountListMetadata {
853
- totalCount: number;
1283
+
1284
+ interface SearchPermissionBundleDtoPagedListMetadataDto {
1285
+ metadata: PagedListMetadata;
1286
+ items: Array<SearchPermissionBundleDto>;
854
1287
  }
855
1288
 
856
1289
  /**
@@ -863,21 +1296,22 @@ interface TotalCountListMetadata {
863
1296
  * Do not edit the class manually.
864
1297
  */
865
1298
  /**
866
- * DTO to update RenewAire.Cores.Domain.Users.RsdRegion.
1299
+ * DTO for searching RenewAire.Cores.Domain.Region.
867
1300
  */
868
- interface UpdateRsdRegionDto {
1301
+ interface SearchRegionDto {
869
1302
  id: object;
870
- name: string;
871
- notes: string;
872
- tags: Array<string>;
873
- /**
874
- * The main RSD user id in the region. More details: RenewAire.Cores.Domain.Users.RsdRegionAssignedRsd.IsPrimary.
875
- */
876
- primaryRsdUserId: number;
877
1303
  /**
878
- * List of RSD users for the region, not including RenewAire.Cores.UseCases.Dtos.RsdRegions.UpdateRsdRegionDto.PrimaryRsdUserId.
1304
+ * RegionLevel<br />0 = Country<br />1 = State<br />2 = County
879
1305
  */
880
- rsdUserIds: Array<number>;
1306
+ level: SearchRegionDtoLevelEnum;
1307
+ name: string;
1308
+ code: string;
1309
+ parentRegionId?: object | null;
1310
+ }
1311
+ declare enum SearchRegionDtoLevelEnum {
1312
+ Country = "Country",
1313
+ State = "State",
1314
+ County = "County"
881
1315
  }
882
1316
 
883
1317
  /**
@@ -889,14 +1323,10 @@ interface UpdateRsdRegionDto {
889
1323
  * https://openapi-generator.tech
890
1324
  * Do not edit the class manually.
891
1325
  */
892
- /**
893
- * User email DTO.
894
- */
895
- interface UserEmailDto {
896
- /**
897
- * <inheritdoc cref=\"P:RenewAire.Cores.Domain.Users.User.Email\" />.
898
- */
899
- email: string;
1326
+
1327
+ interface SearchRegionDtoPagedListMetadataDto {
1328
+ metadata: PagedListMetadata;
1329
+ items: Array<SearchRegionDto>;
900
1330
  }
901
1331
 
902
1332
  /**
@@ -908,11 +1338,23 @@ interface UserEmailDto {
908
1338
  * https://openapi-generator.tech
909
1339
  * Do not edit the class manually.
910
1340
  */
1341
+
911
1342
  /**
912
- * User preferences DTO.
1343
+ * Search REP territory dto.
913
1344
  */
914
- interface UserPreferencesDto {
915
- occupation: string;
1345
+ interface SearchRepTerritoryDto {
1346
+ id: object;
1347
+ name: string;
1348
+ code: string;
1349
+ /**
1350
+ * Is active. Not removed territory.
1351
+ */
1352
+ isActive: boolean;
1353
+ rsdRegionName: string;
1354
+ locations: Array<string>;
1355
+ groups: Array<string>;
1356
+ contacts: Array<RepTerritoryRepContactDto>;
1357
+ salesContacts: Array<ContactDto>;
916
1358
  }
917
1359
 
918
1360
  /**
@@ -924,26 +1366,10 @@ interface UserPreferencesDto {
924
1366
  * https://openapi-generator.tech
925
1367
  * Do not edit the class manually.
926
1368
  */
927
- /**
928
- * User profile DTO.
929
- */
930
- interface UserProfileDto {
931
- firstName: string;
932
- lastName: string;
933
- company: string;
934
- title: string;
935
- /**
936
- * Phone number.
937
- */
938
- workPhoneNumber: string;
939
- /**
940
- * Work phone number extension. Optional.
941
- */
942
- workPhoneNumberExt?: string | null;
943
- /**
944
- * Work phone.
945
- */
946
- mobilePhoneNumber?: string | null;
1369
+
1370
+ interface SearchRepTerritoryDtoPagedListMetadataDto {
1371
+ metadata: PagedListMetadata;
1372
+ items: Array<SearchRepTerritoryDto>;
947
1373
  }
948
1374
 
949
1375
  /**
@@ -957,29 +1383,15 @@ interface UserProfileDto {
957
1383
  */
958
1384
 
959
1385
  /**
960
- * User registration DTO.
1386
+ * Search REP territory location DTO.
961
1387
  */
962
- interface UserRegistrationDto {
963
- /**
964
- * Email address and confirmation token.
965
- */
966
- emailToken: EmailConfirmationTokenDto;
967
- /**
968
- * Password.
969
- */
970
- password: string;
971
- /**
972
- * User profile information.
973
- */
974
- profile: UserProfileDto;
975
- /**
976
- * Physical address.
977
- */
978
- address: PhysicalAddressDto;
979
- /**
980
- * Preferences.
981
- */
982
- preferences: UserPreferencesDto;
1388
+ interface SearchRepTerritoryLocationDto {
1389
+ id: object;
1390
+ name: string;
1391
+ repTerritoryId: object;
1392
+ repTerritoryName: string;
1393
+ allCounties: boolean;
1394
+ regions: Array<RegionDto>;
983
1395
  }
984
1396
 
985
1397
  /**
@@ -992,8 +1404,277 @@ interface UserRegistrationDto {
992
1404
  * Do not edit the class manually.
993
1405
  */
994
1406
 
995
- interface AuthAuthenticateRequestParams {
996
- loginUserCommand: LoginUserCommand;
1407
+ interface SearchRepTerritoryLocationDtoPagedListMetadataDto {
1408
+ metadata: PagedListMetadata;
1409
+ items: Array<SearchRepTerritoryLocationDto>;
1410
+ }
1411
+
1412
+ /**
1413
+ * RenewAire CORES API
1414
+ *
1415
+ * Contact: renewaire@saritasa.com
1416
+ *
1417
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1418
+ * https://openapi-generator.tech
1419
+ * Do not edit the class manually.
1420
+ */
1421
+
1422
+ /**
1423
+ * DTO for searching RenewAire.Cores.Domain.Users.RsdRegion.
1424
+ */
1425
+ interface SearchRsdRegionDto {
1426
+ id: object;
1427
+ name: string;
1428
+ /**
1429
+ * Active if not removed.
1430
+ */
1431
+ isActive: boolean;
1432
+ rsdUsers: Array<RsdRegionUserDto>;
1433
+ repTerritories: Array<RsdRegionRepTerritoryDto>;
1434
+ }
1435
+
1436
+ /**
1437
+ * RenewAire CORES API
1438
+ *
1439
+ * Contact: renewaire@saritasa.com
1440
+ *
1441
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1442
+ * https://openapi-generator.tech
1443
+ * Do not edit the class manually.
1444
+ */
1445
+
1446
+ interface SearchRsdRegionDtoPagedListMetadataDto {
1447
+ metadata: PagedListMetadata;
1448
+ items: Array<SearchRsdRegionDto>;
1449
+ }
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
+
1512
+ /**
1513
+ * RenewAire CORES API
1514
+ *
1515
+ * Contact: renewaire@saritasa.com
1516
+ *
1517
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1518
+ * https://openapi-generator.tech
1519
+ * Do not edit the class manually.
1520
+ */
1521
+ interface TotalCountListMetadata {
1522
+ totalCount: number;
1523
+ }
1524
+
1525
+ /**
1526
+ * RenewAire CORES API
1527
+ *
1528
+ * Contact: renewaire@saritasa.com
1529
+ *
1530
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1531
+ * https://openapi-generator.tech
1532
+ * Do not edit the class manually.
1533
+ */
1534
+ /**
1535
+ * DTO to update RenewAire.Cores.Domain.Users.RsdRegion.
1536
+ */
1537
+ interface UpdateRsdRegionDto {
1538
+ id: object;
1539
+ name: string;
1540
+ notes: string;
1541
+ tags: Array<string>;
1542
+ /**
1543
+ * The main RSD user id in the region. More details: RenewAire.Cores.Domain.Users.RsdRegionAssignedRsd.IsPrimary.
1544
+ */
1545
+ primaryRsdUserId: number;
1546
+ /**
1547
+ * List of RSD users for the region, not including RenewAire.Cores.UseCases.Dtos.RsdRegions.UpdateRsdRegionDto.PrimaryRsdUserId.
1548
+ */
1549
+ rsdUserIds: Array<number>;
1550
+ }
1551
+
1552
+ /**
1553
+ * RenewAire CORES API
1554
+ *
1555
+ * Contact: renewaire@saritasa.com
1556
+ *
1557
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1558
+ * https://openapi-generator.tech
1559
+ * Do not edit the class manually.
1560
+ */
1561
+
1562
+ /**
1563
+ * The result of creating a pre-signed URL to uploading file to the BLOB storage.
1564
+ */
1565
+ interface UploadUrlResult {
1566
+ /**
1567
+ * Temporary file id.
1568
+ */
1569
+ fileId: string;
1570
+ postPreSignedUrl: PostPreSignedUrlDto;
1571
+ }
1572
+
1573
+ /**
1574
+ * RenewAire CORES API
1575
+ *
1576
+ * Contact: renewaire@saritasa.com
1577
+ *
1578
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1579
+ * https://openapi-generator.tech
1580
+ * Do not edit the class manually.
1581
+ */
1582
+
1583
+ /**
1584
+ * User design condition DTO for RenewAire.Cores.UseCases.Users.DesignConditions.GetUserDesignConditions.GetUserDesignConditionsQuery.
1585
+ */
1586
+ interface UserDesignConditionsDto {
1587
+ userId: number;
1588
+ weatherStationState: string;
1589
+ weatherStation: string;
1590
+ coolingPercentileDay: number;
1591
+ heatingPercentileDay: number;
1592
+ /**
1593
+ * CoolingDesignBasis<br />0 = Cooling<br />1 = Dehumidification
1594
+ */
1595
+ coolingDesignBasis: UserDesignConditionsDtoCoolingDesignBasisEnum;
1596
+ /**
1597
+ * DTO for RenewAire.Cores.Domain.Distance.
1598
+ */
1599
+ elevation: DistanceDto;
1600
+ /**
1601
+ * User design weather condition DTO for RenewAire.Cores.UseCases.Users.DesignConditions.GetUserDesignConditions.GetUserDesignConditionsQuery.
1602
+ */
1603
+ summerOutsideAir: UserDesignWeatherConditionDto;
1604
+ /**
1605
+ * User design weather condition DTO for RenewAire.Cores.UseCases.Users.DesignConditions.GetUserDesignConditions.GetUserDesignConditionsQuery.
1606
+ */
1607
+ summerReturnAir: UserDesignWeatherConditionDto;
1608
+ /**
1609
+ * User design weather condition DTO for RenewAire.Cores.UseCases.Users.DesignConditions.GetUserDesignConditions.GetUserDesignConditionsQuery.
1610
+ */
1611
+ winterOutsideAir: UserDesignWeatherConditionDto;
1612
+ /**
1613
+ * User design weather condition DTO for RenewAire.Cores.UseCases.Users.DesignConditions.GetUserDesignConditions.GetUserDesignConditionsQuery.
1614
+ */
1615
+ winterReturnAir: UserDesignWeatherConditionDto;
1616
+ }
1617
+ declare enum UserDesignConditionsDtoCoolingDesignBasisEnum {
1618
+ Cooling = "Cooling",
1619
+ Dehumidification = "Dehumidification"
1620
+ }
1621
+
1622
+ /**
1623
+ * RenewAire CORES API
1624
+ *
1625
+ * Contact: renewaire@saritasa.com
1626
+ *
1627
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1628
+ * https://openapi-generator.tech
1629
+ * Do not edit the class manually.
1630
+ */
1631
+ /**
1632
+ * User email DTO.
1633
+ */
1634
+ interface UserEmailDto {
1635
+ /**
1636
+ * <inheritdoc cref=\"P:RenewAire.Cores.Domain.Users.User.Email\" />.
1637
+ */
1638
+ email: string;
1639
+ }
1640
+
1641
+ /**
1642
+ * RenewAire CORES API
1643
+ *
1644
+ * Contact: renewaire@saritasa.com
1645
+ *
1646
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1647
+ * https://openapi-generator.tech
1648
+ * Do not edit the class manually.
1649
+ */
1650
+ /**
1651
+ * User profile DTO.
1652
+ */
1653
+ interface UserProfileDto {
1654
+ firstName: string;
1655
+ lastName: string;
1656
+ company: string;
1657
+ title: string;
1658
+ workPhoneNumber: string;
1659
+ workPhoneNumberExt?: string | null;
1660
+ mobilePhoneNumber?: string | null;
1661
+ }
1662
+
1663
+ /**
1664
+ * RenewAire CORES API
1665
+ *
1666
+ * Contact: renewaire@saritasa.com
1667
+ *
1668
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1669
+ * https://openapi-generator.tech
1670
+ * Do not edit the class manually.
1671
+ */
1672
+
1673
+ interface AuthAuthenticateRequestParams {
1674
+ loginUserCommand: LoginUserCommand;
1675
+ }
1676
+ interface AuthAuthenticateByEmailTokenRequestParams {
1677
+ emailConfirmationTokenDto?: EmailConfirmationTokenDto;
997
1678
  }
998
1679
  interface AuthRefreshTokenRequestParams {
999
1680
  refreshTokenCommand: RefreshTokenCommand;
@@ -1002,66 +1683,516 @@ interface AuthApiServiceInterface {
1002
1683
  defaultHeaders: HttpHeaders;
1003
1684
  configuration: Configuration;
1004
1685
  /**
1005
- * Authenticate user by email and password.
1686
+ * Authenticate user by email and password.
1687
+ *
1688
+ * @param requestParameters
1689
+ */
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>;
1697
+ /**
1698
+ * Get new token by refresh token.
1699
+ *
1700
+ * @param requestParameters
1701
+ */
1702
+ authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, extraHttpRequestParams?: any): Observable<TokenModel>;
1703
+ }
1704
+
1705
+ declare class AuthApiService extends BaseService implements AuthApiServiceInterface {
1706
+ protected httpClient: HttpClient;
1707
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1708
+ /**
1709
+ * Authenticate user by email and password.
1710
+ * @param requestParameters
1711
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1712
+ * @param reportProgress flag to report request and response progress.
1713
+ */
1714
+ authAuthenticate(requestParameters: AuthAuthenticateRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1715
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1716
+ context?: HttpContext;
1717
+ transferCache?: boolean;
1718
+ }): Observable<TokenModel>;
1719
+ authAuthenticate(requestParameters: AuthAuthenticateRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1720
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1721
+ context?: HttpContext;
1722
+ transferCache?: boolean;
1723
+ }): Observable<HttpResponse<TokenModel>>;
1724
+ authAuthenticate(requestParameters: AuthAuthenticateRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1725
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1726
+ context?: HttpContext;
1727
+ transferCache?: boolean;
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>>;
1750
+ /**
1751
+ * Get new token by refresh token.
1752
+ * @param requestParameters
1753
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1754
+ * @param reportProgress flag to report request and response progress.
1755
+ */
1756
+ authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1757
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1758
+ context?: HttpContext;
1759
+ transferCache?: boolean;
1760
+ }): Observable<TokenModel>;
1761
+ authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1762
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1763
+ context?: HttpContext;
1764
+ transferCache?: boolean;
1765
+ }): Observable<HttpResponse<TokenModel>>;
1766
+ authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1767
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1768
+ context?: HttpContext;
1769
+ transferCache?: boolean;
1770
+ }): Observable<HttpEvent<TokenModel>>;
1771
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthApiService, [null, { optional: true; }, { optional: true; }]>;
1772
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthApiService>;
1773
+ }
1774
+
1775
+ /**
1776
+ * RenewAire CORES API
1777
+ *
1778
+ * Contact: renewaire@saritasa.com
1779
+ *
1780
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1781
+ * https://openapi-generator.tech
1782
+ * Do not edit the class manually.
1783
+ */
1784
+
1785
+ interface PermissionBundlesCreatePermissionBundleRequestParams {
1786
+ savePermissionBundleDto?: SavePermissionBundleDto;
1787
+ }
1788
+ interface PermissionBundlesGetPermissionBundleRequestParams {
1789
+ permissionBundleId: number;
1790
+ }
1791
+ interface PermissionBundlesRemovePermissionBundleRequestParams {
1792
+ permissionBundleId: number;
1793
+ }
1794
+ interface PermissionBundlesRestorePermissionBundleRequestParams {
1795
+ permissionBundleId: number;
1796
+ }
1797
+ interface PermissionBundlesSearchPermissionBundlesRequestParams {
1798
+ name?: string;
1799
+ orderBy?: string;
1800
+ page?: number;
1801
+ pageSize?: number;
1802
+ }
1803
+ interface PermissionBundlesUpdatePermissionBundleRequestParams {
1804
+ permissionBundleId: number;
1805
+ savePermissionBundleDto?: SavePermissionBundleDto;
1806
+ }
1807
+ interface PermissionBundlesApiServiceInterface {
1808
+ defaultHeaders: HttpHeaders;
1809
+ configuration: Configuration;
1810
+ /**
1811
+ * Create permission bundle.
1812
+ *
1813
+ * @param requestParameters
1814
+ */
1815
+ permissionBundlesCreatePermissionBundle(requestParameters: PermissionBundlesCreatePermissionBundleRequestParams, extraHttpRequestParams?: any): Observable<object>;
1816
+ /**
1817
+ * Get permission bundle.
1818
+ *
1819
+ * @param requestParameters
1820
+ */
1821
+ permissionBundlesGetPermissionBundle(requestParameters: PermissionBundlesGetPermissionBundleRequestParams, extraHttpRequestParams?: any): Observable<PermissionBundleDto>;
1822
+ /**
1823
+ * Remove permission bundle.
1824
+ *
1825
+ * @param requestParameters
1826
+ */
1827
+ permissionBundlesRemovePermissionBundle(requestParameters: PermissionBundlesRemovePermissionBundleRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1828
+ /**
1829
+ * Restore permission bundle.
1830
+ *
1831
+ * @param requestParameters
1832
+ */
1833
+ permissionBundlesRestorePermissionBundle(requestParameters: PermissionBundlesRestorePermissionBundleRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1834
+ /**
1835
+ * Search permission bundles.
1836
+ *
1837
+ * @param requestParameters
1838
+ */
1839
+ permissionBundlesSearchPermissionBundles(requestParameters: PermissionBundlesSearchPermissionBundlesRequestParams, extraHttpRequestParams?: any): Observable<SearchPermissionBundleDtoPagedListMetadataDto>;
1840
+ /**
1841
+ * Update permission bundle.
1842
+ *
1843
+ * @param requestParameters
1844
+ */
1845
+ permissionBundlesUpdatePermissionBundle(requestParameters: PermissionBundlesUpdatePermissionBundleRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1846
+ }
1847
+
1848
+ declare class PermissionBundlesApiService extends BaseService implements PermissionBundlesApiServiceInterface {
1849
+ protected httpClient: HttpClient;
1850
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1851
+ /**
1852
+ * Create permission bundle.
1853
+ * @param requestParameters
1854
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1855
+ * @param reportProgress flag to report request and response progress.
1856
+ */
1857
+ permissionBundlesCreatePermissionBundle(requestParameters?: PermissionBundlesCreatePermissionBundleRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1858
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1859
+ context?: HttpContext;
1860
+ transferCache?: boolean;
1861
+ }): Observable<object>;
1862
+ permissionBundlesCreatePermissionBundle(requestParameters?: PermissionBundlesCreatePermissionBundleRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1863
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1864
+ context?: HttpContext;
1865
+ transferCache?: boolean;
1866
+ }): Observable<HttpResponse<object>>;
1867
+ permissionBundlesCreatePermissionBundle(requestParameters?: PermissionBundlesCreatePermissionBundleRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1868
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1869
+ context?: HttpContext;
1870
+ transferCache?: boolean;
1871
+ }): Observable<HttpEvent<object>>;
1872
+ /**
1873
+ * Get permission bundle.
1874
+ * @param requestParameters
1875
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1876
+ * @param reportProgress flag to report request and response progress.
1877
+ */
1878
+ permissionBundlesGetPermissionBundle(requestParameters: PermissionBundlesGetPermissionBundleRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1879
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1880
+ context?: HttpContext;
1881
+ transferCache?: boolean;
1882
+ }): Observable<PermissionBundleDto>;
1883
+ permissionBundlesGetPermissionBundle(requestParameters: PermissionBundlesGetPermissionBundleRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1884
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1885
+ context?: HttpContext;
1886
+ transferCache?: boolean;
1887
+ }): Observable<HttpResponse<PermissionBundleDto>>;
1888
+ permissionBundlesGetPermissionBundle(requestParameters: PermissionBundlesGetPermissionBundleRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1889
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1890
+ context?: HttpContext;
1891
+ transferCache?: boolean;
1892
+ }): Observable<HttpEvent<PermissionBundleDto>>;
1893
+ /**
1894
+ * Remove permission bundle.
1895
+ * @param requestParameters
1896
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1897
+ * @param reportProgress flag to report request and response progress.
1898
+ */
1899
+ permissionBundlesRemovePermissionBundle(requestParameters: PermissionBundlesRemovePermissionBundleRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1900
+ httpHeaderAccept?: undefined;
1901
+ context?: HttpContext;
1902
+ transferCache?: boolean;
1903
+ }): Observable<any>;
1904
+ permissionBundlesRemovePermissionBundle(requestParameters: PermissionBundlesRemovePermissionBundleRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1905
+ httpHeaderAccept?: undefined;
1906
+ context?: HttpContext;
1907
+ transferCache?: boolean;
1908
+ }): Observable<HttpResponse<any>>;
1909
+ permissionBundlesRemovePermissionBundle(requestParameters: PermissionBundlesRemovePermissionBundleRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1910
+ httpHeaderAccept?: undefined;
1911
+ context?: HttpContext;
1912
+ transferCache?: boolean;
1913
+ }): Observable<HttpEvent<any>>;
1914
+ /**
1915
+ * Restore permission bundle.
1916
+ * @param requestParameters
1917
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1918
+ * @param reportProgress flag to report request and response progress.
1919
+ */
1920
+ permissionBundlesRestorePermissionBundle(requestParameters: PermissionBundlesRestorePermissionBundleRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1921
+ httpHeaderAccept?: undefined;
1922
+ context?: HttpContext;
1923
+ transferCache?: boolean;
1924
+ }): Observable<any>;
1925
+ permissionBundlesRestorePermissionBundle(requestParameters: PermissionBundlesRestorePermissionBundleRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1926
+ httpHeaderAccept?: undefined;
1927
+ context?: HttpContext;
1928
+ transferCache?: boolean;
1929
+ }): Observable<HttpResponse<any>>;
1930
+ permissionBundlesRestorePermissionBundle(requestParameters: PermissionBundlesRestorePermissionBundleRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1931
+ httpHeaderAccept?: undefined;
1932
+ context?: HttpContext;
1933
+ transferCache?: boolean;
1934
+ }): Observable<HttpEvent<any>>;
1935
+ /**
1936
+ * Search permission bundles.
1937
+ * @param requestParameters
1938
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1939
+ * @param reportProgress flag to report request and response progress.
1940
+ */
1941
+ permissionBundlesSearchPermissionBundles(requestParameters?: PermissionBundlesSearchPermissionBundlesRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1942
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1943
+ context?: HttpContext;
1944
+ transferCache?: boolean;
1945
+ }): Observable<SearchPermissionBundleDtoPagedListMetadataDto>;
1946
+ permissionBundlesSearchPermissionBundles(requestParameters?: PermissionBundlesSearchPermissionBundlesRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1947
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1948
+ context?: HttpContext;
1949
+ transferCache?: boolean;
1950
+ }): Observable<HttpResponse<SearchPermissionBundleDtoPagedListMetadataDto>>;
1951
+ permissionBundlesSearchPermissionBundles(requestParameters?: PermissionBundlesSearchPermissionBundlesRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1952
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1953
+ context?: HttpContext;
1954
+ transferCache?: boolean;
1955
+ }): Observable<HttpEvent<SearchPermissionBundleDtoPagedListMetadataDto>>;
1956
+ /**
1957
+ * Update permission bundle.
1958
+ * @param requestParameters
1959
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1960
+ * @param reportProgress flag to report request and response progress.
1961
+ */
1962
+ permissionBundlesUpdatePermissionBundle(requestParameters: PermissionBundlesUpdatePermissionBundleRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1963
+ httpHeaderAccept?: undefined;
1964
+ context?: HttpContext;
1965
+ transferCache?: boolean;
1966
+ }): Observable<any>;
1967
+ permissionBundlesUpdatePermissionBundle(requestParameters: PermissionBundlesUpdatePermissionBundleRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1968
+ httpHeaderAccept?: undefined;
1969
+ context?: HttpContext;
1970
+ transferCache?: boolean;
1971
+ }): Observable<HttpResponse<any>>;
1972
+ permissionBundlesUpdatePermissionBundle(requestParameters: PermissionBundlesUpdatePermissionBundleRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1973
+ httpHeaderAccept?: undefined;
1974
+ context?: HttpContext;
1975
+ transferCache?: boolean;
1976
+ }): Observable<HttpEvent<any>>;
1977
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionBundlesApiService, [null, { optional: true; }, { optional: true; }]>;
1978
+ static ɵprov: i0.ɵɵInjectableDeclaration<PermissionBundlesApiService>;
1979
+ }
1980
+
1981
+ /**
1982
+ * RenewAire CORES API
1983
+ *
1984
+ * Contact: renewaire@saritasa.com
1985
+ *
1986
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1987
+ * https://openapi-generator.tech
1988
+ * Do not edit the class manually.
1989
+ */
1990
+
1991
+ interface PermissionsApiServiceInterface {
1992
+ defaultHeaders: HttpHeaders;
1993
+ configuration: Configuration;
1994
+ /**
1995
+ * Get all system permissions.
1996
+ *
1997
+ */
1998
+ permissionsGetPermissions(extraHttpRequestParams?: any): Observable<Array<PermissionDto>>;
1999
+ }
2000
+
2001
+ declare class PermissionsApiService extends BaseService implements PermissionsApiServiceInterface {
2002
+ protected httpClient: HttpClient;
2003
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
2004
+ /**
2005
+ * Get all system permissions.
2006
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2007
+ * @param reportProgress flag to report request and response progress.
2008
+ */
2009
+ permissionsGetPermissions(observe?: "body", reportProgress?: boolean, options?: {
2010
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2011
+ context?: HttpContext;
2012
+ transferCache?: boolean;
2013
+ }): Observable<Array<PermissionDto>>;
2014
+ permissionsGetPermissions(observe?: "response", reportProgress?: boolean, options?: {
2015
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2016
+ context?: HttpContext;
2017
+ transferCache?: boolean;
2018
+ }): Observable<HttpResponse<Array<PermissionDto>>>;
2019
+ permissionsGetPermissions(observe?: "events", reportProgress?: boolean, options?: {
2020
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2021
+ context?: HttpContext;
2022
+ transferCache?: boolean;
2023
+ }): Observable<HttpEvent<Array<PermissionDto>>>;
2024
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsApiService, [null, { optional: true; }, { optional: true; }]>;
2025
+ static ɵprov: i0.ɵɵInjectableDeclaration<PermissionsApiService>;
2026
+ }
2027
+
2028
+ /**
2029
+ * RenewAire CORES API
2030
+ *
2031
+ * Contact: renewaire@saritasa.com
2032
+ *
2033
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2034
+ * https://openapi-generator.tech
2035
+ * Do not edit the class manually.
2036
+ */
2037
+
2038
+ interface RegionsSearchRegionsRequestParams {
2039
+ name?: string;
2040
+ code?: string;
2041
+ level?: RegionLevel;
2042
+ orderBy?: string;
2043
+ page?: number;
2044
+ pageSize?: number;
2045
+ }
2046
+ interface RegionsApiServiceInterface {
2047
+ defaultHeaders: HttpHeaders;
2048
+ configuration: Configuration;
2049
+ /**
2050
+ * Search regions.
2051
+ *
2052
+ * @param requestParameters
2053
+ */
2054
+ regionsSearchRegions(requestParameters: RegionsSearchRegionsRequestParams, extraHttpRequestParams?: any): Observable<SearchRegionDtoPagedListMetadataDto>;
2055
+ }
2056
+
2057
+ declare class RegionsApiService extends BaseService implements RegionsApiServiceInterface {
2058
+ protected httpClient: HttpClient;
2059
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
2060
+ /**
2061
+ * Search regions.
2062
+ * @param requestParameters
2063
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2064
+ * @param reportProgress flag to report request and response progress.
2065
+ */
2066
+ regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2067
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2068
+ context?: HttpContext;
2069
+ transferCache?: boolean;
2070
+ }): Observable<SearchRegionDtoPagedListMetadataDto>;
2071
+ regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2072
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2073
+ context?: HttpContext;
2074
+ transferCache?: boolean;
2075
+ }): Observable<HttpResponse<SearchRegionDtoPagedListMetadataDto>>;
2076
+ regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2077
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2078
+ context?: HttpContext;
2079
+ transferCache?: boolean;
2080
+ }): Observable<HttpEvent<SearchRegionDtoPagedListMetadataDto>>;
2081
+ static ɵfac: i0.ɵɵFactoryDeclaration<RegionsApiService, [null, { optional: true; }, { optional: true; }]>;
2082
+ static ɵprov: i0.ɵɵInjectableDeclaration<RegionsApiService>;
2083
+ }
2084
+
2085
+ /**
2086
+ * RenewAire CORES API
2087
+ *
2088
+ * Contact: renewaire@saritasa.com
2089
+ *
2090
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2091
+ * https://openapi-generator.tech
2092
+ * Do not edit the class manually.
2093
+ */
2094
+
2095
+ interface RepContactsGetRepTerritoryRepContactRequestParams {
2096
+ repTerritoryRepContactId: number;
2097
+ }
2098
+ interface RepContactsRemoveRepTerritoryRepContactRequestParams {
2099
+ repTerritoryRepContactId: number;
2100
+ }
2101
+ interface RepContactsUpdateRepTerritoryRepContactRequestParams {
2102
+ repTerritoryRepContactId: number;
2103
+ saveRepTerritoryRepContactDto?: SaveRepTerritoryRepContactDto;
2104
+ }
2105
+ interface RepContactsApiServiceInterface {
2106
+ defaultHeaders: HttpHeaders;
2107
+ configuration: Configuration;
2108
+ /**
2109
+ * Get REP contact.
2110
+ *
2111
+ * @param requestParameters
2112
+ */
2113
+ repContactsGetRepTerritoryRepContact(requestParameters: RepContactsGetRepTerritoryRepContactRequestParams, extraHttpRequestParams?: any): Observable<RepTerritoryRepContactDto>;
2114
+ /**
2115
+ * Remove REP contact.
1006
2116
  *
1007
2117
  * @param requestParameters
1008
2118
  */
1009
- authAuthenticate(requestParameters: AuthAuthenticateRequestParams, extraHttpRequestParams?: any): Observable<TokenModel>;
2119
+ repContactsRemoveRepTerritoryRepContact(requestParameters: RepContactsRemoveRepTerritoryRepContactRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1010
2120
  /**
1011
- * Get new token by refresh token.
2121
+ * Update REP contact.
1012
2122
  *
1013
2123
  * @param requestParameters
1014
2124
  */
1015
- authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, extraHttpRequestParams?: any): Observable<TokenModel>;
2125
+ repContactsUpdateRepTerritoryRepContact(requestParameters: RepContactsUpdateRepTerritoryRepContactRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1016
2126
  }
1017
2127
 
1018
- declare class AuthApiService extends BaseService implements AuthApiServiceInterface {
2128
+ declare class RepContactsApiService extends BaseService implements RepContactsApiServiceInterface {
1019
2129
  protected httpClient: HttpClient;
1020
2130
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1021
2131
  /**
1022
- * Authenticate user by email and password.
2132
+ * Get REP contact.
1023
2133
  * @param requestParameters
1024
2134
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1025
2135
  * @param reportProgress flag to report request and response progress.
1026
2136
  */
1027
- authAuthenticate(requestParameters: AuthAuthenticateRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2137
+ repContactsGetRepTerritoryRepContact(requestParameters: RepContactsGetRepTerritoryRepContactRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1028
2138
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1029
2139
  context?: HttpContext;
1030
2140
  transferCache?: boolean;
1031
- }): Observable<TokenModel>;
1032
- authAuthenticate(requestParameters: AuthAuthenticateRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2141
+ }): Observable<RepTerritoryRepContactDto>;
2142
+ repContactsGetRepTerritoryRepContact(requestParameters: RepContactsGetRepTerritoryRepContactRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1033
2143
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1034
2144
  context?: HttpContext;
1035
2145
  transferCache?: boolean;
1036
- }): Observable<HttpResponse<TokenModel>>;
1037
- authAuthenticate(requestParameters: AuthAuthenticateRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2146
+ }): Observable<HttpResponse<RepTerritoryRepContactDto>>;
2147
+ repContactsGetRepTerritoryRepContact(requestParameters: RepContactsGetRepTerritoryRepContactRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1038
2148
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1039
2149
  context?: HttpContext;
1040
2150
  transferCache?: boolean;
1041
- }): Observable<HttpEvent<TokenModel>>;
2151
+ }): Observable<HttpEvent<RepTerritoryRepContactDto>>;
1042
2152
  /**
1043
- * Get new token by refresh token.
2153
+ * Remove REP contact.
1044
2154
  * @param requestParameters
1045
2155
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1046
2156
  * @param reportProgress flag to report request and response progress.
1047
2157
  */
1048
- authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1049
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2158
+ repContactsRemoveRepTerritoryRepContact(requestParameters: RepContactsRemoveRepTerritoryRepContactRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2159
+ httpHeaderAccept?: undefined;
1050
2160
  context?: HttpContext;
1051
2161
  transferCache?: boolean;
1052
- }): Observable<TokenModel>;
1053
- authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1054
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2162
+ }): Observable<any>;
2163
+ repContactsRemoveRepTerritoryRepContact(requestParameters: RepContactsRemoveRepTerritoryRepContactRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2164
+ httpHeaderAccept?: undefined;
1055
2165
  context?: HttpContext;
1056
2166
  transferCache?: boolean;
1057
- }): Observable<HttpResponse<TokenModel>>;
1058
- authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1059
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2167
+ }): Observable<HttpResponse<any>>;
2168
+ repContactsRemoveRepTerritoryRepContact(requestParameters: RepContactsRemoveRepTerritoryRepContactRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2169
+ httpHeaderAccept?: undefined;
1060
2170
  context?: HttpContext;
1061
2171
  transferCache?: boolean;
1062
- }): Observable<HttpEvent<TokenModel>>;
1063
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthApiService, [null, { optional: true; }, { optional: true; }]>;
1064
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthApiService>;
2172
+ }): Observable<HttpEvent<any>>;
2173
+ /**
2174
+ * Update REP contact.
2175
+ * @param requestParameters
2176
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2177
+ * @param reportProgress flag to report request and response progress.
2178
+ */
2179
+ repContactsUpdateRepTerritoryRepContact(requestParameters: RepContactsUpdateRepTerritoryRepContactRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2180
+ httpHeaderAccept?: undefined;
2181
+ context?: HttpContext;
2182
+ transferCache?: boolean;
2183
+ }): Observable<any>;
2184
+ repContactsUpdateRepTerritoryRepContact(requestParameters: RepContactsUpdateRepTerritoryRepContactRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2185
+ httpHeaderAccept?: undefined;
2186
+ context?: HttpContext;
2187
+ transferCache?: boolean;
2188
+ }): Observable<HttpResponse<any>>;
2189
+ repContactsUpdateRepTerritoryRepContact(requestParameters: RepContactsUpdateRepTerritoryRepContactRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2190
+ httpHeaderAccept?: undefined;
2191
+ context?: HttpContext;
2192
+ transferCache?: boolean;
2193
+ }): Observable<HttpEvent<any>>;
2194
+ static ɵfac: i0.ɵɵFactoryDeclaration<RepContactsApiService, [null, { optional: true; }, { optional: true; }]>;
2195
+ static ɵprov: i0.ɵɵInjectableDeclaration<RepContactsApiService>;
1065
2196
  }
1066
2197
 
1067
2198
  /**
@@ -1074,98 +2205,234 @@ declare class AuthApiService extends BaseService implements AuthApiServiceInterf
1074
2205
  * Do not edit the class manually.
1075
2206
  */
1076
2207
 
1077
- interface PermissionsApiServiceInterface {
2208
+ interface RepTerritoriesCreateRepTerritoryRequestParams {
2209
+ saveRepTerritoryDto?: SaveRepTerritoryDto;
2210
+ }
2211
+ interface RepTerritoriesCreateRepTerritoryLocationRequestParams {
2212
+ repTerritoryId: number;
2213
+ saveRepTerritoryLocationDto?: SaveRepTerritoryLocationDto;
2214
+ }
2215
+ interface RepTerritoriesCreateRepTerritoryRepContactRequestParams {
2216
+ repTerritoryId: number;
2217
+ saveRepTerritoryRepContactDto?: SaveRepTerritoryRepContactDto;
2218
+ }
2219
+ interface RepTerritoriesGetRepTerritoryRequestParams {
2220
+ repTerritoryId: number;
2221
+ }
2222
+ interface RepTerritoriesRemoveRepTerritoryRequestParams {
2223
+ repTerritoryId: number;
2224
+ }
2225
+ interface RepTerritoriesSearchRepTerritoriesRequestParams {
2226
+ repName?: string;
2227
+ repCode?: string;
2228
+ rsdRegionName?: string;
2229
+ orderBy?: string;
2230
+ page?: number;
2231
+ pageSize?: number;
2232
+ }
2233
+ interface RepTerritoriesUpdateRepTerritoryRequestParams {
2234
+ repTerritoryId: number;
2235
+ saveRepTerritoryDto?: SaveRepTerritoryDto;
2236
+ }
2237
+ interface RepTerritoriesApiServiceInterface {
1078
2238
  defaultHeaders: HttpHeaders;
1079
2239
  configuration: Configuration;
1080
2240
  /**
1081
- * Get all system permissions.
2241
+ * Create REP territory.
1082
2242
  *
2243
+ * @param requestParameters
1083
2244
  */
1084
- permissionsGetPermissions(extraHttpRequestParams?: any): Observable<Array<PermissionDto>>;
2245
+ repTerritoriesCreateRepTerritory(requestParameters: RepTerritoriesCreateRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<object>;
2246
+ /**
2247
+ * Create REP territory location.
2248
+ *
2249
+ * @param requestParameters
2250
+ */
2251
+ repTerritoriesCreateRepTerritoryLocation(requestParameters: RepTerritoriesCreateRepTerritoryLocationRequestParams, extraHttpRequestParams?: any): Observable<object>;
2252
+ /**
2253
+ * Create REP territory REP contact.
2254
+ *
2255
+ * @param requestParameters
2256
+ */
2257
+ repTerritoriesCreateRepTerritoryRepContact(requestParameters: RepTerritoriesCreateRepTerritoryRepContactRequestParams, extraHttpRequestParams?: any): Observable<object>;
2258
+ /**
2259
+ * Get REP territory.
2260
+ *
2261
+ * @param requestParameters
2262
+ */
2263
+ repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<RepTerritoryDto>;
2264
+ /**
2265
+ * Remove REP territory.
2266
+ *
2267
+ * @param requestParameters
2268
+ */
2269
+ repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<{}>;
2270
+ /**
2271
+ * Search REP territories.
2272
+ *
2273
+ * @param requestParameters
2274
+ */
2275
+ repTerritoriesSearchRepTerritories(requestParameters: RepTerritoriesSearchRepTerritoriesRequestParams, extraHttpRequestParams?: any): Observable<SearchRepTerritoryDtoPagedListMetadataDto>;
2276
+ /**
2277
+ * Update REP territory.
2278
+ *
2279
+ * @param requestParameters
2280
+ */
2281
+ repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1085
2282
  }
1086
2283
 
1087
- declare class PermissionsApiService extends BaseService implements PermissionsApiServiceInterface {
2284
+ declare class RepTerritoriesApiService extends BaseService implements RepTerritoriesApiServiceInterface {
1088
2285
  protected httpClient: HttpClient;
1089
2286
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1090
2287
  /**
1091
- * Get all system permissions.
2288
+ * Create REP territory.
2289
+ * @param requestParameters
1092
2290
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1093
2291
  * @param reportProgress flag to report request and response progress.
1094
2292
  */
1095
- permissionsGetPermissions(observe?: "body", reportProgress?: boolean, options?: {
2293
+ repTerritoriesCreateRepTerritory(requestParameters?: RepTerritoriesCreateRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1096
2294
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1097
2295
  context?: HttpContext;
1098
2296
  transferCache?: boolean;
1099
- }): Observable<Array<PermissionDto>>;
1100
- permissionsGetPermissions(observe?: "response", reportProgress?: boolean, options?: {
2297
+ }): Observable<object>;
2298
+ repTerritoriesCreateRepTerritory(requestParameters?: RepTerritoriesCreateRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1101
2299
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1102
2300
  context?: HttpContext;
1103
2301
  transferCache?: boolean;
1104
- }): Observable<HttpResponse<Array<PermissionDto>>>;
1105
- permissionsGetPermissions(observe?: "events", reportProgress?: boolean, options?: {
2302
+ }): Observable<HttpResponse<object>>;
2303
+ repTerritoriesCreateRepTerritory(requestParameters?: RepTerritoriesCreateRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1106
2304
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1107
2305
  context?: HttpContext;
1108
2306
  transferCache?: boolean;
1109
- }): Observable<HttpEvent<Array<PermissionDto>>>;
1110
- static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsApiService, [null, { optional: true; }, { optional: true; }]>;
1111
- static ɵprov: i0.ɵɵInjectableDeclaration<PermissionsApiService>;
1112
- }
1113
-
1114
- /**
1115
- * RenewAire CORES API
1116
- *
1117
- * Contact: renewaire@saritasa.com
1118
- *
1119
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1120
- * https://openapi-generator.tech
1121
- * Do not edit the class manually.
1122
- */
1123
-
1124
- interface RegionsSearchRegionsRequestParams {
1125
- name?: string;
1126
- code?: string;
1127
- level?: RegionLevel;
1128
- orderBy?: string;
1129
- page?: number;
1130
- pageSize?: number;
1131
- }
1132
- interface RegionsApiServiceInterface {
1133
- defaultHeaders: HttpHeaders;
1134
- configuration: Configuration;
2307
+ }): Observable<HttpEvent<object>>;
1135
2308
  /**
1136
- * Search regions.
1137
- *
2309
+ * Create REP territory location.
1138
2310
  * @param requestParameters
2311
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2312
+ * @param reportProgress flag to report request and response progress.
1139
2313
  */
1140
- regionsSearchRegions(requestParameters: RegionsSearchRegionsRequestParams, extraHttpRequestParams?: any): Observable<SearchRegionDtoPagedListMetadataDto>;
1141
- }
1142
-
1143
- declare class RegionsApiService extends BaseService implements RegionsApiServiceInterface {
1144
- protected httpClient: HttpClient;
1145
- constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
2314
+ repTerritoriesCreateRepTerritoryLocation(requestParameters: RepTerritoriesCreateRepTerritoryLocationRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2315
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2316
+ context?: HttpContext;
2317
+ transferCache?: boolean;
2318
+ }): Observable<object>;
2319
+ repTerritoriesCreateRepTerritoryLocation(requestParameters: RepTerritoriesCreateRepTerritoryLocationRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2320
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2321
+ context?: HttpContext;
2322
+ transferCache?: boolean;
2323
+ }): Observable<HttpResponse<object>>;
2324
+ repTerritoriesCreateRepTerritoryLocation(requestParameters: RepTerritoriesCreateRepTerritoryLocationRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2325
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2326
+ context?: HttpContext;
2327
+ transferCache?: boolean;
2328
+ }): Observable<HttpEvent<object>>;
1146
2329
  /**
1147
- * Search regions.
2330
+ * Create REP territory REP contact.
1148
2331
  * @param requestParameters
1149
2332
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1150
2333
  * @param reportProgress flag to report request and response progress.
1151
2334
  */
1152
- regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2335
+ repTerritoriesCreateRepTerritoryRepContact(requestParameters: RepTerritoriesCreateRepTerritoryRepContactRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1153
2336
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1154
2337
  context?: HttpContext;
1155
2338
  transferCache?: boolean;
1156
- }): Observable<SearchRegionDtoPagedListMetadataDto>;
1157
- regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2339
+ }): Observable<object>;
2340
+ repTerritoriesCreateRepTerritoryRepContact(requestParameters: RepTerritoriesCreateRepTerritoryRepContactRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2341
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2342
+ context?: HttpContext;
2343
+ transferCache?: boolean;
2344
+ }): Observable<HttpResponse<object>>;
2345
+ repTerritoriesCreateRepTerritoryRepContact(requestParameters: RepTerritoriesCreateRepTerritoryRepContactRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2346
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2347
+ context?: HttpContext;
2348
+ transferCache?: boolean;
2349
+ }): Observable<HttpEvent<object>>;
2350
+ /**
2351
+ * Get REP territory.
2352
+ * @param requestParameters
2353
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2354
+ * @param reportProgress flag to report request and response progress.
2355
+ */
2356
+ repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2357
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2358
+ context?: HttpContext;
2359
+ transferCache?: boolean;
2360
+ }): Observable<RepTerritoryDto>;
2361
+ repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2362
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2363
+ context?: HttpContext;
2364
+ transferCache?: boolean;
2365
+ }): Observable<HttpResponse<RepTerritoryDto>>;
2366
+ repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2367
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2368
+ context?: HttpContext;
2369
+ transferCache?: boolean;
2370
+ }): Observable<HttpEvent<RepTerritoryDto>>;
2371
+ /**
2372
+ * Remove REP territory.
2373
+ * @param requestParameters
2374
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2375
+ * @param reportProgress flag to report request and response progress.
2376
+ */
2377
+ repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2378
+ httpHeaderAccept?: undefined;
2379
+ context?: HttpContext;
2380
+ transferCache?: boolean;
2381
+ }): Observable<any>;
2382
+ repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2383
+ httpHeaderAccept?: undefined;
2384
+ context?: HttpContext;
2385
+ transferCache?: boolean;
2386
+ }): Observable<HttpResponse<any>>;
2387
+ repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2388
+ httpHeaderAccept?: undefined;
2389
+ context?: HttpContext;
2390
+ transferCache?: boolean;
2391
+ }): Observable<HttpEvent<any>>;
2392
+ /**
2393
+ * Search REP territories.
2394
+ * @param requestParameters
2395
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2396
+ * @param reportProgress flag to report request and response progress.
2397
+ */
2398
+ repTerritoriesSearchRepTerritories(requestParameters?: RepTerritoriesSearchRepTerritoriesRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2399
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2400
+ context?: HttpContext;
2401
+ transferCache?: boolean;
2402
+ }): Observable<SearchRepTerritoryDtoPagedListMetadataDto>;
2403
+ repTerritoriesSearchRepTerritories(requestParameters?: RepTerritoriesSearchRepTerritoriesRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1158
2404
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1159
2405
  context?: HttpContext;
1160
2406
  transferCache?: boolean;
1161
- }): Observable<HttpResponse<SearchRegionDtoPagedListMetadataDto>>;
1162
- regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1163
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2407
+ }): Observable<HttpResponse<SearchRepTerritoryDtoPagedListMetadataDto>>;
2408
+ repTerritoriesSearchRepTerritories(requestParameters?: RepTerritoriesSearchRepTerritoriesRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2409
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2410
+ context?: HttpContext;
2411
+ transferCache?: boolean;
2412
+ }): Observable<HttpEvent<SearchRepTerritoryDtoPagedListMetadataDto>>;
2413
+ /**
2414
+ * Update REP territory.
2415
+ * @param requestParameters
2416
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2417
+ * @param reportProgress flag to report request and response progress.
2418
+ */
2419
+ repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2420
+ httpHeaderAccept?: undefined;
2421
+ context?: HttpContext;
2422
+ transferCache?: boolean;
2423
+ }): Observable<any>;
2424
+ repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2425
+ httpHeaderAccept?: undefined;
2426
+ context?: HttpContext;
2427
+ transferCache?: boolean;
2428
+ }): Observable<HttpResponse<any>>;
2429
+ repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2430
+ httpHeaderAccept?: undefined;
1164
2431
  context?: HttpContext;
1165
2432
  transferCache?: boolean;
1166
- }): Observable<HttpEvent<SearchRegionDtoPagedListMetadataDto>>;
1167
- static ɵfac: i0.ɵɵFactoryDeclaration<RegionsApiService, [null, { optional: true; }, { optional: true; }]>;
1168
- static ɵprov: i0.ɵɵInjectableDeclaration<RegionsApiService>;
2433
+ }): Observable<HttpEvent<any>>;
2434
+ static ɵfac: i0.ɵɵFactoryDeclaration<RepTerritoriesApiService, [null, { optional: true; }, { optional: true; }]>;
2435
+ static ɵprov: i0.ɵɵInjectableDeclaration<RepTerritoriesApiService>;
1169
2436
  }
1170
2437
 
1171
2438
  /**
@@ -1178,172 +2445,143 @@ declare class RegionsApiService extends BaseService implements RegionsApiService
1178
2445
  * Do not edit the class manually.
1179
2446
  */
1180
2447
 
1181
- interface RepTerritoriesCreateRepTerritoryRequestParams {
1182
- saveRepTerritoryDto?: SaveRepTerritoryDto;
1183
- }
1184
- interface RepTerritoriesGetRepTerritoryRequestParams {
1185
- repTerritoryId: number;
2448
+ interface RepTerritoryLocationsGetRepTerritoryLocationRequestParams {
2449
+ repTerritoryLocationId: number;
1186
2450
  }
1187
- interface RepTerritoriesRemoveRepTerritoryRequestParams {
1188
- repTerritoryId: number;
2451
+ interface RepTerritoryLocationsRemoveRepTerritoryLocationRequestParams {
2452
+ repTerritoryLocationId: number;
1189
2453
  }
1190
- interface RepTerritoriesSearchRsdTerritoriesRequestParams {
2454
+ interface RepTerritoryLocationsSearchRepTerritoryLocationsRequestParams {
2455
+ name?: string;
2456
+ repTerritoryId?: object | null;
1191
2457
  repName?: string;
1192
- repCode?: string;
1193
- rsdRegionName?: string;
2458
+ allCounties?: boolean;
1194
2459
  orderBy?: string;
1195
2460
  page?: number;
1196
2461
  pageSize?: number;
1197
2462
  }
1198
- interface RepTerritoriesUpdateRepTerritoryRequestParams {
1199
- repTerritoryId: number;
1200
- saveRepTerritoryDto?: SaveRepTerritoryDto;
2463
+ interface RepTerritoryLocationsUpdateRepTerritoryLocationRequestParams {
2464
+ repTerritoryLocationId: number;
2465
+ saveRepTerritoryLocationDto?: SaveRepTerritoryLocationDto;
1201
2466
  }
1202
- interface RepTerritoriesApiServiceInterface {
2467
+ interface RepTerritoryLocationsApiServiceInterface {
1203
2468
  defaultHeaders: HttpHeaders;
1204
2469
  configuration: Configuration;
1205
2470
  /**
1206
- * Create REP territory.
1207
- *
1208
- * @param requestParameters
1209
- */
1210
- repTerritoriesCreateRepTerritory(requestParameters: RepTerritoriesCreateRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<object>;
1211
- /**
1212
- * Get REP territory.
2471
+ * Get REP territory location.
1213
2472
  *
1214
2473
  * @param requestParameters
1215
2474
  */
1216
- repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<RepTerritoryDto>;
2475
+ repTerritoryLocationsGetRepTerritoryLocation(requestParameters: RepTerritoryLocationsGetRepTerritoryLocationRequestParams, extraHttpRequestParams?: any): Observable<RepTerritoryLocationDto>;
1217
2476
  /**
1218
- * Remove REP territory.
2477
+ * Remove REP territory location.
1219
2478
  *
1220
2479
  * @param requestParameters
1221
2480
  */
1222
- repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<{}>;
2481
+ repTerritoryLocationsRemoveRepTerritoryLocation(requestParameters: RepTerritoryLocationsRemoveRepTerritoryLocationRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1223
2482
  /**
1224
- * Search REP territories.
2483
+ * Search REP territory locations.
1225
2484
  *
1226
2485
  * @param requestParameters
1227
2486
  */
1228
- repTerritoriesSearchRsdTerritories(requestParameters: RepTerritoriesSearchRsdTerritoriesRequestParams, extraHttpRequestParams?: any): Observable<SearchRepTerritoryDtoPagedListMetadataDto>;
2487
+ repTerritoryLocationsSearchRepTerritoryLocations(requestParameters: RepTerritoryLocationsSearchRepTerritoryLocationsRequestParams, extraHttpRequestParams?: any): Observable<SearchRepTerritoryLocationDtoPagedListMetadataDto>;
1229
2488
  /**
1230
- * Update REP territory.
2489
+ * Update REP territory location.
1231
2490
  *
1232
2491
  * @param requestParameters
1233
2492
  */
1234
- repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<{}>;
2493
+ repTerritoryLocationsUpdateRepTerritoryLocation(requestParameters: RepTerritoryLocationsUpdateRepTerritoryLocationRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1235
2494
  }
1236
2495
 
1237
- declare class RepTerritoriesApiService extends BaseService implements RepTerritoriesApiServiceInterface {
2496
+ declare class RepTerritoryLocationsApiService extends BaseService implements RepTerritoryLocationsApiServiceInterface {
1238
2497
  protected httpClient: HttpClient;
1239
2498
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1240
2499
  /**
1241
- * Create REP territory.
1242
- * @param requestParameters
1243
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1244
- * @param reportProgress flag to report request and response progress.
1245
- */
1246
- repTerritoriesCreateRepTerritory(requestParameters?: RepTerritoriesCreateRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1247
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1248
- context?: HttpContext;
1249
- transferCache?: boolean;
1250
- }): Observable<object>;
1251
- repTerritoriesCreateRepTerritory(requestParameters?: RepTerritoriesCreateRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1252
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1253
- context?: HttpContext;
1254
- transferCache?: boolean;
1255
- }): Observable<HttpResponse<object>>;
1256
- repTerritoriesCreateRepTerritory(requestParameters?: RepTerritoriesCreateRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1257
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1258
- context?: HttpContext;
1259
- transferCache?: boolean;
1260
- }): Observable<HttpEvent<object>>;
1261
- /**
1262
- * Get REP territory.
2500
+ * Get REP territory location.
1263
2501
  * @param requestParameters
1264
2502
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1265
2503
  * @param reportProgress flag to report request and response progress.
1266
2504
  */
1267
- repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2505
+ repTerritoryLocationsGetRepTerritoryLocation(requestParameters: RepTerritoryLocationsGetRepTerritoryLocationRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1268
2506
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1269
2507
  context?: HttpContext;
1270
2508
  transferCache?: boolean;
1271
- }): Observable<RepTerritoryDto>;
1272
- repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2509
+ }): Observable<RepTerritoryLocationDto>;
2510
+ repTerritoryLocationsGetRepTerritoryLocation(requestParameters: RepTerritoryLocationsGetRepTerritoryLocationRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1273
2511
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1274
2512
  context?: HttpContext;
1275
2513
  transferCache?: boolean;
1276
- }): Observable<HttpResponse<RepTerritoryDto>>;
1277
- repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2514
+ }): Observable<HttpResponse<RepTerritoryLocationDto>>;
2515
+ repTerritoryLocationsGetRepTerritoryLocation(requestParameters: RepTerritoryLocationsGetRepTerritoryLocationRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1278
2516
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1279
2517
  context?: HttpContext;
1280
2518
  transferCache?: boolean;
1281
- }): Observable<HttpEvent<RepTerritoryDto>>;
2519
+ }): Observable<HttpEvent<RepTerritoryLocationDto>>;
1282
2520
  /**
1283
- * Remove REP territory.
2521
+ * Remove REP territory location.
1284
2522
  * @param requestParameters
1285
2523
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1286
2524
  * @param reportProgress flag to report request and response progress.
1287
2525
  */
1288
- repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2526
+ repTerritoryLocationsRemoveRepTerritoryLocation(requestParameters: RepTerritoryLocationsRemoveRepTerritoryLocationRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1289
2527
  httpHeaderAccept?: undefined;
1290
2528
  context?: HttpContext;
1291
2529
  transferCache?: boolean;
1292
2530
  }): Observable<any>;
1293
- repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2531
+ repTerritoryLocationsRemoveRepTerritoryLocation(requestParameters: RepTerritoryLocationsRemoveRepTerritoryLocationRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1294
2532
  httpHeaderAccept?: undefined;
1295
2533
  context?: HttpContext;
1296
2534
  transferCache?: boolean;
1297
2535
  }): Observable<HttpResponse<any>>;
1298
- repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2536
+ repTerritoryLocationsRemoveRepTerritoryLocation(requestParameters: RepTerritoryLocationsRemoveRepTerritoryLocationRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1299
2537
  httpHeaderAccept?: undefined;
1300
2538
  context?: HttpContext;
1301
2539
  transferCache?: boolean;
1302
2540
  }): Observable<HttpEvent<any>>;
1303
2541
  /**
1304
- * Search REP territories.
2542
+ * Search REP territory locations.
1305
2543
  * @param requestParameters
1306
2544
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1307
2545
  * @param reportProgress flag to report request and response progress.
1308
2546
  */
1309
- repTerritoriesSearchRsdTerritories(requestParameters?: RepTerritoriesSearchRsdTerritoriesRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2547
+ repTerritoryLocationsSearchRepTerritoryLocations(requestParameters?: RepTerritoryLocationsSearchRepTerritoryLocationsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1310
2548
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1311
2549
  context?: HttpContext;
1312
2550
  transferCache?: boolean;
1313
- }): Observable<SearchRepTerritoryDtoPagedListMetadataDto>;
1314
- repTerritoriesSearchRsdTerritories(requestParameters?: RepTerritoriesSearchRsdTerritoriesRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2551
+ }): Observable<SearchRepTerritoryLocationDtoPagedListMetadataDto>;
2552
+ repTerritoryLocationsSearchRepTerritoryLocations(requestParameters?: RepTerritoryLocationsSearchRepTerritoryLocationsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1315
2553
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1316
2554
  context?: HttpContext;
1317
2555
  transferCache?: boolean;
1318
- }): Observable<HttpResponse<SearchRepTerritoryDtoPagedListMetadataDto>>;
1319
- repTerritoriesSearchRsdTerritories(requestParameters?: RepTerritoriesSearchRsdTerritoriesRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2556
+ }): Observable<HttpResponse<SearchRepTerritoryLocationDtoPagedListMetadataDto>>;
2557
+ repTerritoryLocationsSearchRepTerritoryLocations(requestParameters?: RepTerritoryLocationsSearchRepTerritoryLocationsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1320
2558
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1321
2559
  context?: HttpContext;
1322
2560
  transferCache?: boolean;
1323
- }): Observable<HttpEvent<SearchRepTerritoryDtoPagedListMetadataDto>>;
2561
+ }): Observable<HttpEvent<SearchRepTerritoryLocationDtoPagedListMetadataDto>>;
1324
2562
  /**
1325
- * Update REP territory.
2563
+ * Update REP territory location.
1326
2564
  * @param requestParameters
1327
2565
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1328
2566
  * @param reportProgress flag to report request and response progress.
1329
2567
  */
1330
- repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2568
+ repTerritoryLocationsUpdateRepTerritoryLocation(requestParameters: RepTerritoryLocationsUpdateRepTerritoryLocationRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1331
2569
  httpHeaderAccept?: undefined;
1332
2570
  context?: HttpContext;
1333
2571
  transferCache?: boolean;
1334
2572
  }): Observable<any>;
1335
- repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2573
+ repTerritoryLocationsUpdateRepTerritoryLocation(requestParameters: RepTerritoryLocationsUpdateRepTerritoryLocationRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1336
2574
  httpHeaderAccept?: undefined;
1337
2575
  context?: HttpContext;
1338
2576
  transferCache?: boolean;
1339
2577
  }): Observable<HttpResponse<any>>;
1340
- repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2578
+ repTerritoryLocationsUpdateRepTerritoryLocation(requestParameters: RepTerritoryLocationsUpdateRepTerritoryLocationRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1341
2579
  httpHeaderAccept?: undefined;
1342
2580
  context?: HttpContext;
1343
2581
  transferCache?: boolean;
1344
2582
  }): Observable<HttpEvent<any>>;
1345
- static ɵfac: i0.ɵɵFactoryDeclaration<RepTerritoriesApiService, [null, { optional: true; }, { optional: true; }]>;
1346
- static ɵprov: i0.ɵɵInjectableDeclaration<RepTerritoriesApiService>;
2583
+ static ɵfac: i0.ɵɵFactoryDeclaration<RepTerritoryLocationsApiService, [null, { optional: true; }, { optional: true; }]>;
2584
+ static ɵprov: i0.ɵɵInjectableDeclaration<RepTerritoryLocationsApiService>;
1347
2585
  }
1348
2586
 
1349
2587
  /**
@@ -1356,15 +2594,29 @@ declare class RepTerritoriesApiService extends BaseService implements RepTerrito
1356
2594
  * Do not edit the class manually.
1357
2595
  */
1358
2596
 
2597
+ interface RsdRegionsCreateDocumentDownloadUrlRequestParams {
2598
+ rsdRegionId: number;
2599
+ documentId: number;
2600
+ }
2601
+ interface RsdRegionsCreateDocumentUploadUrlRequestParams {
2602
+ createUploadUrlCommand?: CreateUploadUrlCommand;
2603
+ }
1359
2604
  interface RsdRegionsCreateRsdRegionRequestParams {
1360
2605
  createRsdRegionDto?: CreateRsdRegionDto;
1361
2606
  }
2607
+ interface RsdRegionsCreateRsdRegionDocumentsRequestParams {
2608
+ id: number;
2609
+ createDocumentsDto?: CreateDocumentsDto;
2610
+ }
1362
2611
  interface RsdRegionsGetRsdRegionRequestParams {
1363
2612
  id: number;
1364
2613
  }
1365
2614
  interface RsdRegionsRemoveRsdRegionRequestParams {
1366
2615
  id: number;
1367
2616
  }
2617
+ interface RsdRegionsRemoveRsdRegionDocumentsRequestParams {
2618
+ removeDocumentsCommand?: RemoveDocumentsCommand;
2619
+ }
1368
2620
  interface RsdRegionsSearchRsdRegionsRequestParams {
1369
2621
  name?: string;
1370
2622
  isActive?: boolean;
@@ -1380,12 +2632,30 @@ interface RsdRegionsUpdateRsdRegionRequestParams {
1380
2632
  interface RsdRegionsApiServiceInterface {
1381
2633
  defaultHeaders: HttpHeaders;
1382
2634
  configuration: Configuration;
2635
+ /**
2636
+ * Generate cloud URL for RSD region document uploading.
2637
+ *
2638
+ * @param requestParameters
2639
+ */
2640
+ rsdRegionsCreateDocumentDownloadUrl(requestParameters: RsdRegionsCreateDocumentDownloadUrlRequestParams, extraHttpRequestParams?: any): Observable<{}>;
2641
+ /**
2642
+ * Generate cloud URL for RSD region document uploading.
2643
+ *
2644
+ * @param requestParameters
2645
+ */
2646
+ rsdRegionsCreateDocumentUploadUrl(requestParameters: RsdRegionsCreateDocumentUploadUrlRequestParams, extraHttpRequestParams?: any): Observable<UploadUrlResult>;
1383
2647
  /**
1384
2648
  * Create RSD region.
1385
2649
  *
1386
2650
  * @param requestParameters
1387
2651
  */
1388
2652
  rsdRegionsCreateRsdRegion(requestParameters: RsdRegionsCreateRsdRegionRequestParams, extraHttpRequestParams?: any): Observable<object>;
2653
+ /**
2654
+ * Create RSD region documents.
2655
+ *
2656
+ * @param requestParameters
2657
+ */
2658
+ rsdRegionsCreateRsdRegionDocuments(requestParameters: RsdRegionsCreateRsdRegionDocumentsRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1389
2659
  /**
1390
2660
  * Get RSD region by id.
1391
2661
  *
@@ -1398,6 +2668,12 @@ interface RsdRegionsApiServiceInterface {
1398
2668
  * @param requestParameters
1399
2669
  */
1400
2670
  rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, extraHttpRequestParams?: any): Observable<{}>;
2671
+ /**
2672
+ * Remove RSD region documents.
2673
+ *
2674
+ * @param requestParameters
2675
+ */
2676
+ rsdRegionsRemoveRsdRegionDocuments(requestParameters: RsdRegionsRemoveRsdRegionDocumentsRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1401
2677
  /**
1402
2678
  * Search RSD regions.
1403
2679
  *
@@ -1415,6 +2691,48 @@ interface RsdRegionsApiServiceInterface {
1415
2691
  declare class RsdRegionsApiService extends BaseService implements RsdRegionsApiServiceInterface {
1416
2692
  protected httpClient: HttpClient;
1417
2693
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
2694
+ /**
2695
+ * Generate cloud URL for RSD region document uploading.
2696
+ * @param requestParameters
2697
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2698
+ * @param reportProgress flag to report request and response progress.
2699
+ */
2700
+ rsdRegionsCreateDocumentDownloadUrl(requestParameters: RsdRegionsCreateDocumentDownloadUrlRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2701
+ httpHeaderAccept?: undefined;
2702
+ context?: HttpContext;
2703
+ transferCache?: boolean;
2704
+ }): Observable<any>;
2705
+ rsdRegionsCreateDocumentDownloadUrl(requestParameters: RsdRegionsCreateDocumentDownloadUrlRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2706
+ httpHeaderAccept?: undefined;
2707
+ context?: HttpContext;
2708
+ transferCache?: boolean;
2709
+ }): Observable<HttpResponse<any>>;
2710
+ rsdRegionsCreateDocumentDownloadUrl(requestParameters: RsdRegionsCreateDocumentDownloadUrlRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2711
+ httpHeaderAccept?: undefined;
2712
+ context?: HttpContext;
2713
+ transferCache?: boolean;
2714
+ }): Observable<HttpEvent<any>>;
2715
+ /**
2716
+ * Generate cloud URL for RSD region document uploading.
2717
+ * @param requestParameters
2718
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2719
+ * @param reportProgress flag to report request and response progress.
2720
+ */
2721
+ rsdRegionsCreateDocumentUploadUrl(requestParameters?: RsdRegionsCreateDocumentUploadUrlRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2722
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2723
+ context?: HttpContext;
2724
+ transferCache?: boolean;
2725
+ }): Observable<UploadUrlResult>;
2726
+ rsdRegionsCreateDocumentUploadUrl(requestParameters?: RsdRegionsCreateDocumentUploadUrlRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2727
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2728
+ context?: HttpContext;
2729
+ transferCache?: boolean;
2730
+ }): Observable<HttpResponse<UploadUrlResult>>;
2731
+ rsdRegionsCreateDocumentUploadUrl(requestParameters?: RsdRegionsCreateDocumentUploadUrlRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2732
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2733
+ context?: HttpContext;
2734
+ transferCache?: boolean;
2735
+ }): Observable<HttpEvent<UploadUrlResult>>;
1418
2736
  /**
1419
2737
  * Create RSD region.
1420
2738
  * @param requestParameters
@@ -1436,6 +2754,27 @@ declare class RsdRegionsApiService extends BaseService implements RsdRegionsApiS
1436
2754
  context?: HttpContext;
1437
2755
  transferCache?: boolean;
1438
2756
  }): Observable<HttpEvent<object>>;
2757
+ /**
2758
+ * Create RSD region documents.
2759
+ * @param requestParameters
2760
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2761
+ * @param reportProgress flag to report request and response progress.
2762
+ */
2763
+ rsdRegionsCreateRsdRegionDocuments(requestParameters: RsdRegionsCreateRsdRegionDocumentsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2764
+ httpHeaderAccept?: undefined;
2765
+ context?: HttpContext;
2766
+ transferCache?: boolean;
2767
+ }): Observable<any>;
2768
+ rsdRegionsCreateRsdRegionDocuments(requestParameters: RsdRegionsCreateRsdRegionDocumentsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2769
+ httpHeaderAccept?: undefined;
2770
+ context?: HttpContext;
2771
+ transferCache?: boolean;
2772
+ }): Observable<HttpResponse<any>>;
2773
+ rsdRegionsCreateRsdRegionDocuments(requestParameters: RsdRegionsCreateRsdRegionDocumentsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2774
+ httpHeaderAccept?: undefined;
2775
+ context?: HttpContext;
2776
+ transferCache?: boolean;
2777
+ }): Observable<HttpEvent<any>>;
1439
2778
  /**
1440
2779
  * Get RSD region by id.
1441
2780
  * @param requestParameters
@@ -1463,65 +2802,168 @@ declare class RsdRegionsApiService extends BaseService implements RsdRegionsApiS
1463
2802
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1464
2803
  * @param reportProgress flag to report request and response progress.
1465
2804
  */
1466
- rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1467
- httpHeaderAccept?: undefined;
1468
- context?: HttpContext;
1469
- transferCache?: boolean;
1470
- }): Observable<any>;
1471
- rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1472
- httpHeaderAccept?: undefined;
1473
- context?: HttpContext;
1474
- transferCache?: boolean;
1475
- }): Observable<HttpResponse<any>>;
1476
- rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1477
- httpHeaderAccept?: undefined;
1478
- context?: HttpContext;
1479
- transferCache?: boolean;
1480
- }): Observable<HttpEvent<any>>;
2805
+ rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2806
+ httpHeaderAccept?: undefined;
2807
+ context?: HttpContext;
2808
+ transferCache?: boolean;
2809
+ }): Observable<any>;
2810
+ rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2811
+ httpHeaderAccept?: undefined;
2812
+ context?: HttpContext;
2813
+ transferCache?: boolean;
2814
+ }): Observable<HttpResponse<any>>;
2815
+ rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2816
+ httpHeaderAccept?: undefined;
2817
+ context?: HttpContext;
2818
+ transferCache?: boolean;
2819
+ }): Observable<HttpEvent<any>>;
2820
+ /**
2821
+ * Remove RSD region documents.
2822
+ * @param requestParameters
2823
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2824
+ * @param reportProgress flag to report request and response progress.
2825
+ */
2826
+ rsdRegionsRemoveRsdRegionDocuments(requestParameters?: RsdRegionsRemoveRsdRegionDocumentsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2827
+ httpHeaderAccept?: undefined;
2828
+ context?: HttpContext;
2829
+ transferCache?: boolean;
2830
+ }): Observable<any>;
2831
+ rsdRegionsRemoveRsdRegionDocuments(requestParameters?: RsdRegionsRemoveRsdRegionDocumentsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2832
+ httpHeaderAccept?: undefined;
2833
+ context?: HttpContext;
2834
+ transferCache?: boolean;
2835
+ }): Observable<HttpResponse<any>>;
2836
+ rsdRegionsRemoveRsdRegionDocuments(requestParameters?: RsdRegionsRemoveRsdRegionDocumentsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2837
+ httpHeaderAccept?: undefined;
2838
+ context?: HttpContext;
2839
+ transferCache?: boolean;
2840
+ }): Observable<HttpEvent<any>>;
2841
+ /**
2842
+ * Search RSD regions.
2843
+ * @param requestParameters
2844
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2845
+ * @param reportProgress flag to report request and response progress.
2846
+ */
2847
+ rsdRegionsSearchRsdRegions(requestParameters?: RsdRegionsSearchRsdRegionsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2848
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2849
+ context?: HttpContext;
2850
+ transferCache?: boolean;
2851
+ }): Observable<SearchRsdRegionDtoPagedListMetadataDto>;
2852
+ rsdRegionsSearchRsdRegions(requestParameters?: RsdRegionsSearchRsdRegionsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2853
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2854
+ context?: HttpContext;
2855
+ transferCache?: boolean;
2856
+ }): Observable<HttpResponse<SearchRsdRegionDtoPagedListMetadataDto>>;
2857
+ rsdRegionsSearchRsdRegions(requestParameters?: RsdRegionsSearchRsdRegionsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2858
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
2859
+ context?: HttpContext;
2860
+ transferCache?: boolean;
2861
+ }): Observable<HttpEvent<SearchRsdRegionDtoPagedListMetadataDto>>;
2862
+ /**
2863
+ * Update RSD region.
2864
+ * @param requestParameters
2865
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2866
+ * @param reportProgress flag to report request and response progress.
2867
+ */
2868
+ rsdRegionsUpdateRsdRegion(requestParameters?: RsdRegionsUpdateRsdRegionRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2869
+ httpHeaderAccept?: undefined;
2870
+ context?: HttpContext;
2871
+ transferCache?: boolean;
2872
+ }): Observable<any>;
2873
+ rsdRegionsUpdateRsdRegion(requestParameters?: RsdRegionsUpdateRsdRegionRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2874
+ httpHeaderAccept?: undefined;
2875
+ context?: HttpContext;
2876
+ transferCache?: boolean;
2877
+ }): Observable<HttpResponse<any>>;
2878
+ rsdRegionsUpdateRsdRegion(requestParameters?: RsdRegionsUpdateRsdRegionRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2879
+ httpHeaderAccept?: undefined;
2880
+ context?: HttpContext;
2881
+ transferCache?: boolean;
2882
+ }): Observable<HttpEvent<any>>;
2883
+ static ɵfac: i0.ɵɵFactoryDeclaration<RsdRegionsApiService, [null, { optional: true; }, { optional: true; }]>;
2884
+ static ɵprov: i0.ɵɵInjectableDeclaration<RsdRegionsApiService>;
2885
+ }
2886
+
2887
+ /**
2888
+ * RenewAire CORES API
2889
+ *
2890
+ * Contact: renewaire@saritasa.com
2891
+ *
2892
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2893
+ * https://openapi-generator.tech
2894
+ * Do not edit the class manually.
2895
+ */
2896
+
2897
+ interface UserDesignConditionsGetProjectDesignConditionsRequestParams {
2898
+ userId: number;
2899
+ }
2900
+ interface UserDesignConditionsSaveProjectDesignConditionsRequestParams {
2901
+ saveUserDesignConditionsDto?: SaveUserDesignConditionsDto;
2902
+ }
2903
+ interface UserDesignConditionsApiServiceInterface {
2904
+ defaultHeaders: HttpHeaders;
2905
+ configuration: Configuration;
2906
+ /**
2907
+ * Get user design conditions.
2908
+ *
2909
+ * @param requestParameters
2910
+ */
2911
+ userDesignConditionsGetProjectDesignConditions(requestParameters: UserDesignConditionsGetProjectDesignConditionsRequestParams, extraHttpRequestParams?: any): Observable<UserDesignConditionsDto>;
2912
+ /**
2913
+ * Save user design conditions.
2914
+ *
2915
+ * @param requestParameters
2916
+ */
2917
+ userDesignConditionsSaveProjectDesignConditions(requestParameters: UserDesignConditionsSaveProjectDesignConditionsRequestParams, extraHttpRequestParams?: any): Observable<{}>;
2918
+ }
2919
+
2920
+ declare class UserDesignConditionsApiService extends BaseService implements UserDesignConditionsApiServiceInterface {
2921
+ protected httpClient: HttpClient;
2922
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1481
2923
  /**
1482
- * Search RSD regions.
2924
+ * Get user design conditions.
1483
2925
  * @param requestParameters
1484
2926
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1485
2927
  * @param reportProgress flag to report request and response progress.
1486
2928
  */
1487
- rsdRegionsSearchRsdRegions(requestParameters?: RsdRegionsSearchRsdRegionsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2929
+ userDesignConditionsGetProjectDesignConditions(requestParameters: UserDesignConditionsGetProjectDesignConditionsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1488
2930
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1489
2931
  context?: HttpContext;
1490
2932
  transferCache?: boolean;
1491
- }): Observable<SearchRsdRegionDtoPagedListMetadataDto>;
1492
- rsdRegionsSearchRsdRegions(requestParameters?: RsdRegionsSearchRsdRegionsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2933
+ }): Observable<UserDesignConditionsDto>;
2934
+ userDesignConditionsGetProjectDesignConditions(requestParameters: UserDesignConditionsGetProjectDesignConditionsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1493
2935
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1494
2936
  context?: HttpContext;
1495
2937
  transferCache?: boolean;
1496
- }): Observable<HttpResponse<SearchRsdRegionDtoPagedListMetadataDto>>;
1497
- rsdRegionsSearchRsdRegions(requestParameters?: RsdRegionsSearchRsdRegionsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2938
+ }): Observable<HttpResponse<UserDesignConditionsDto>>;
2939
+ userDesignConditionsGetProjectDesignConditions(requestParameters: UserDesignConditionsGetProjectDesignConditionsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1498
2940
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1499
2941
  context?: HttpContext;
1500
2942
  transferCache?: boolean;
1501
- }): Observable<HttpEvent<SearchRsdRegionDtoPagedListMetadataDto>>;
2943
+ }): Observable<HttpEvent<UserDesignConditionsDto>>;
1502
2944
  /**
1503
- * Update RSD region.
2945
+ * Save user design conditions.
1504
2946
  * @param requestParameters
1505
2947
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1506
2948
  * @param reportProgress flag to report request and response progress.
1507
2949
  */
1508
- rsdRegionsUpdateRsdRegion(requestParameters?: RsdRegionsUpdateRsdRegionRequestParams, observe?: "body", reportProgress?: boolean, options?: {
2950
+ userDesignConditionsSaveProjectDesignConditions(requestParameters?: UserDesignConditionsSaveProjectDesignConditionsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1509
2951
  httpHeaderAccept?: undefined;
1510
2952
  context?: HttpContext;
1511
2953
  transferCache?: boolean;
1512
2954
  }): Observable<any>;
1513
- rsdRegionsUpdateRsdRegion(requestParameters?: RsdRegionsUpdateRsdRegionRequestParams, observe?: "response", reportProgress?: boolean, options?: {
2955
+ userDesignConditionsSaveProjectDesignConditions(requestParameters?: UserDesignConditionsSaveProjectDesignConditionsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1514
2956
  httpHeaderAccept?: undefined;
1515
2957
  context?: HttpContext;
1516
2958
  transferCache?: boolean;
1517
2959
  }): Observable<HttpResponse<any>>;
1518
- rsdRegionsUpdateRsdRegion(requestParameters?: RsdRegionsUpdateRsdRegionRequestParams, observe?: "events", reportProgress?: boolean, options?: {
2960
+ userDesignConditionsSaveProjectDesignConditions(requestParameters?: UserDesignConditionsSaveProjectDesignConditionsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1519
2961
  httpHeaderAccept?: undefined;
1520
2962
  context?: HttpContext;
1521
2963
  transferCache?: boolean;
1522
2964
  }): Observable<HttpEvent<any>>;
1523
- static ɵfac: i0.ɵɵFactoryDeclaration<RsdRegionsApiService, [null, { optional: true; }, { optional: true; }]>;
1524
- static ɵprov: i0.ɵɵInjectableDeclaration<RsdRegionsApiService>;
2965
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserDesignConditionsApiService, [null, { optional: true; }, { optional: true; }]>;
2966
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserDesignConditionsApiService>;
1525
2967
  }
1526
2968
 
1527
2969
  /**
@@ -1534,55 +2976,205 @@ declare class RsdRegionsApiService extends BaseService implements RsdRegionsApiS
1534
2976
  * Do not edit the class manually.
1535
2977
  */
1536
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
+ }
1537
2989
  interface UsersConfirmEmailRequestParams {
1538
2990
  emailConfirmationTokenDto?: EmailConfirmationTokenDto;
1539
2991
  }
1540
- interface UsersGetRepContacts0RequestParams {
2992
+ interface UsersForgotPasswordRequestParams {
2993
+ forgotPasswordCommand?: ForgotPasswordCommand;
2994
+ }
2995
+ interface UsersGetRepContactsRequestParams {
1541
2996
  userId: number;
1542
2997
  }
1543
- interface UsersRegisterUserRequestParams {
1544
- userRegistrationDto?: UserRegistrationDto;
2998
+ interface UsersRequestChangeEmailRequestParams {
2999
+ requestChangeEmailCommand?: RequestChangeEmailCommand;
1545
3000
  }
1546
3001
  interface UsersRequestConfirmEmailRequestParams {
1547
3002
  userEmailDto?: UserEmailDto;
1548
3003
  }
3004
+ interface UsersResetPasswordRequestParams {
3005
+ resetPasswordCommand?: ResetPasswordCommand;
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
+ }
1549
3019
  interface UsersApiServiceInterface {
1550
3020
  defaultHeaders: HttpHeaders;
1551
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<{}>;
1552
3040
  /**
1553
3041
  * Confirm email address using the verification code from email and continue registration.
1554
3042
  *
1555
3043
  * @param requestParameters
1556
3044
  */
1557
3045
  usersConfirmEmail(requestParameters: UsersConfirmEmailRequestParams, extraHttpRequestParams?: any): Observable<{}>;
3046
+ /**
3047
+ * Forgot password request.
3048
+ *
3049
+ * @param requestParameters
3050
+ */
3051
+ usersForgotPassword(requestParameters: UsersForgotPasswordRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1558
3052
  /**
1559
3053
  * Get current user REP contacts.
1560
3054
  *
1561
3055
  */
1562
- usersGetRepContacts(extraHttpRequestParams?: any): Observable<RepTerritoryContactsDto>;
3056
+ usersGetCurrentRepContacts(extraHttpRequestParams?: any): Observable<RepTerritoryContactsDto>;
3057
+ /**
3058
+ * Get current user info.
3059
+ *
3060
+ */
3061
+ usersGetCurrentUser(extraHttpRequestParams?: any): Observable<CurrentUserDto>;
1563
3062
  /**
1564
3063
  * Get user REP contacts.
1565
3064
  *
1566
3065
  * @param requestParameters
1567
3066
  */
1568
- usersGetRepContacts_1(requestParameters: UsersGetRepContacts0RequestParams, extraHttpRequestParams?: any): Observable<RepTerritoryContactsDto>;
3067
+ usersGetRepContacts(requestParameters: UsersGetRepContactsRequestParams, extraHttpRequestParams?: any): Observable<RepTerritoryContactsDto>;
1569
3068
  /**
1570
- * Register user.
3069
+ * Request change email for current user.
1571
3070
  *
1572
3071
  * @param requestParameters
1573
3072
  */
1574
- usersRegisterUser(requestParameters: UsersRegisterUserRequestParams, extraHttpRequestParams?: any): Observable<Int32IdDto>;
3073
+ usersRequestChangeEmail(requestParameters: UsersRequestChangeEmailRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1575
3074
  /**
1576
3075
  * Request email confirmation and begin registration. This endpoint sends verification email to a given address.
1577
3076
  *
1578
3077
  * @param requestParameters
1579
3078
  */
1580
3079
  usersRequestConfirmEmail(requestParameters: UsersRequestConfirmEmailRequestParams, extraHttpRequestParams?: any): Observable<{}>;
3080
+ /**
3081
+ * Reset user\&#39;s password.
3082
+ *
3083
+ * @param requestParameters
3084
+ */
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<{}>;
1581
3110
  }
1582
3111
 
1583
3112
  declare class UsersApiService extends BaseService implements UsersApiServiceInterface {
1584
3113
  protected httpClient: HttpClient;
1585
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>>;
1586
3178
  /**
1587
3179
  * Confirm email address using the verification code from email and continue registration.
1588
3180
  * @param requestParameters
@@ -1604,68 +3196,109 @@ declare class UsersApiService extends BaseService implements UsersApiServiceInte
1604
3196
  context?: HttpContext;
1605
3197
  transferCache?: boolean;
1606
3198
  }): Observable<HttpEvent<any>>;
3199
+ /**
3200
+ * Forgot password request.
3201
+ * @param requestParameters
3202
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3203
+ * @param reportProgress flag to report request and response progress.
3204
+ */
3205
+ usersForgotPassword(requestParameters?: UsersForgotPasswordRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3206
+ httpHeaderAccept?: undefined;
3207
+ context?: HttpContext;
3208
+ transferCache?: boolean;
3209
+ }): Observable<any>;
3210
+ usersForgotPassword(requestParameters?: UsersForgotPasswordRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3211
+ httpHeaderAccept?: undefined;
3212
+ context?: HttpContext;
3213
+ transferCache?: boolean;
3214
+ }): Observable<HttpResponse<any>>;
3215
+ usersForgotPassword(requestParameters?: UsersForgotPasswordRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3216
+ httpHeaderAccept?: undefined;
3217
+ context?: HttpContext;
3218
+ transferCache?: boolean;
3219
+ }): Observable<HttpEvent<any>>;
1607
3220
  /**
1608
3221
  * Get current user REP contacts.
1609
3222
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1610
3223
  * @param reportProgress flag to report request and response progress.
1611
3224
  */
1612
- usersGetRepContacts(observe?: "body", reportProgress?: boolean, options?: {
3225
+ usersGetCurrentRepContacts(observe?: "body", reportProgress?: boolean, options?: {
1613
3226
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1614
3227
  context?: HttpContext;
1615
3228
  transferCache?: boolean;
1616
3229
  }): Observable<RepTerritoryContactsDto>;
1617
- usersGetRepContacts(observe?: "response", reportProgress?: boolean, options?: {
3230
+ usersGetCurrentRepContacts(observe?: "response", reportProgress?: boolean, options?: {
1618
3231
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1619
3232
  context?: HttpContext;
1620
3233
  transferCache?: boolean;
1621
3234
  }): Observable<HttpResponse<RepTerritoryContactsDto>>;
1622
- usersGetRepContacts(observe?: "events", reportProgress?: boolean, options?: {
3235
+ usersGetCurrentRepContacts(observe?: "events", reportProgress?: boolean, options?: {
1623
3236
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1624
3237
  context?: HttpContext;
1625
3238
  transferCache?: boolean;
1626
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>>;
1627
3260
  /**
1628
3261
  * Get user REP contacts.
1629
3262
  * @param requestParameters
1630
3263
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1631
3264
  * @param reportProgress flag to report request and response progress.
1632
3265
  */
1633
- usersGetRepContacts_1(requestParameters: UsersGetRepContacts0RequestParams, observe?: "body", reportProgress?: boolean, options?: {
3266
+ usersGetRepContacts(requestParameters: UsersGetRepContactsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1634
3267
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1635
3268
  context?: HttpContext;
1636
3269
  transferCache?: boolean;
1637
3270
  }): Observable<RepTerritoryContactsDto>;
1638
- usersGetRepContacts_1(requestParameters: UsersGetRepContacts0RequestParams, observe?: "response", reportProgress?: boolean, options?: {
3271
+ usersGetRepContacts(requestParameters: UsersGetRepContactsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1639
3272
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1640
3273
  context?: HttpContext;
1641
3274
  transferCache?: boolean;
1642
3275
  }): Observable<HttpResponse<RepTerritoryContactsDto>>;
1643
- usersGetRepContacts_1(requestParameters: UsersGetRepContacts0RequestParams, observe?: "events", reportProgress?: boolean, options?: {
3276
+ usersGetRepContacts(requestParameters: UsersGetRepContactsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1644
3277
  httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1645
3278
  context?: HttpContext;
1646
3279
  transferCache?: boolean;
1647
3280
  }): Observable<HttpEvent<RepTerritoryContactsDto>>;
1648
3281
  /**
1649
- * Register user.
3282
+ * Request change email for current user.
1650
3283
  * @param requestParameters
1651
3284
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1652
3285
  * @param reportProgress flag to report request and response progress.
1653
3286
  */
1654
- usersRegisterUser(requestParameters?: UsersRegisterUserRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1655
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
3287
+ usersRequestChangeEmail(requestParameters?: UsersRequestChangeEmailRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3288
+ httpHeaderAccept?: undefined;
1656
3289
  context?: HttpContext;
1657
3290
  transferCache?: boolean;
1658
- }): Observable<Int32IdDto>;
1659
- usersRegisterUser(requestParameters?: UsersRegisterUserRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1660
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
3291
+ }): Observable<any>;
3292
+ usersRequestChangeEmail(requestParameters?: UsersRequestChangeEmailRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3293
+ httpHeaderAccept?: undefined;
1661
3294
  context?: HttpContext;
1662
3295
  transferCache?: boolean;
1663
- }): Observable<HttpResponse<Int32IdDto>>;
1664
- usersRegisterUser(requestParameters?: UsersRegisterUserRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1665
- httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
3296
+ }): Observable<HttpResponse<any>>;
3297
+ usersRequestChangeEmail(requestParameters?: UsersRequestChangeEmailRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3298
+ httpHeaderAccept?: undefined;
1666
3299
  context?: HttpContext;
1667
3300
  transferCache?: boolean;
1668
- }): Observable<HttpEvent<Int32IdDto>>;
3301
+ }): Observable<HttpEvent<any>>;
1669
3302
  /**
1670
3303
  * Request email confirmation and begin registration. This endpoint sends verification email to a given address.
1671
3304
  * @param requestParameters
@@ -1687,11 +3320,116 @@ declare class UsersApiService extends BaseService implements UsersApiServiceInte
1687
3320
  context?: HttpContext;
1688
3321
  transferCache?: boolean;
1689
3322
  }): Observable<HttpEvent<any>>;
3323
+ /**
3324
+ * Reset user\&#39;s password.
3325
+ * @param requestParameters
3326
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3327
+ * @param reportProgress flag to report request and response progress.
3328
+ */
3329
+ usersResetPassword(requestParameters?: UsersResetPasswordRequestParams, observe?: "body", reportProgress?: boolean, options?: {
3330
+ httpHeaderAccept?: undefined;
3331
+ context?: HttpContext;
3332
+ transferCache?: boolean;
3333
+ }): Observable<any>;
3334
+ usersResetPassword(requestParameters?: UsersResetPasswordRequestParams, observe?: "response", reportProgress?: boolean, options?: {
3335
+ httpHeaderAccept?: undefined;
3336
+ context?: HttpContext;
3337
+ transferCache?: boolean;
3338
+ }): Observable<HttpResponse<any>>;
3339
+ usersResetPassword(requestParameters?: UsersResetPasswordRequestParams, observe?: "events", reportProgress?: boolean, options?: {
3340
+ httpHeaderAccept?: undefined;
3341
+ context?: HttpContext;
3342
+ transferCache?: boolean;
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>>;
1690
3428
  static ɵfac: i0.ɵɵFactoryDeclaration<UsersApiService, [null, { optional: true; }, { optional: true; }]>;
1691
3429
  static ɵprov: i0.ɵɵInjectableDeclaration<UsersApiService>;
1692
3430
  }
1693
3431
 
1694
- declare const APIS: (typeof AuthApiService | typeof PermissionsApiService | typeof RegionsApiService | typeof RepTerritoriesApiService | typeof RsdRegionsApiService | typeof UsersApiService)[];
3432
+ declare const APIS: (typeof AuthApiService | typeof PermissionBundlesApiService | typeof PermissionsApiService | typeof RegionsApiService | typeof RepContactsApiService | typeof RepTerritoriesApiService | typeof RepTerritoryLocationsApiService | typeof RsdRegionsApiService | typeof UserDesignConditionsApiService | typeof UsersApiService)[];
1695
3433
 
1696
3434
  declare const BASE_PATH: InjectionToken<string>;
1697
3435
  declare const COLLECTION_FORMATS: {
@@ -1711,5 +3449,5 @@ declare class ApiModule {
1711
3449
 
1712
3450
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1713
3451
 
1714
- export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, PermissionsApiService, RegionLevel, RegionsApiService, RepTerritoriesApiService, RsdRegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
1715
- export type { AddressDto, AuthApiServiceInterface, AuthAuthenticateRequestParams, AuthRefreshTokenRequestParams, CompanyInformationDto, ConfigurationParameters, ContactDto, CreateRsdRegionDto, DataFormat, DataType, EmailConfirmationTokenDto, Int32IdDto, LoginUserCommand, OffsetLimitListMetadata, PagedListMetadata, Param, ParamLocation, ParamStyle, PermissionDto, PermissionsApiServiceInterface, PhysicalAddressDto, RefreshTokenCommand, RegionsApiServiceInterface, RegionsSearchRegionsRequestParams, RepTerritoriesApiServiceInterface, RepTerritoriesCreateRepTerritoryRequestParams, RepTerritoriesGetRepTerritoryRequestParams, RepTerritoriesRemoveRepTerritoryRequestParams, RepTerritoriesSearchRsdTerritoriesRequestParams, RepTerritoriesUpdateRepTerritoryRequestParams, RepTerritoryContactsDto, RepTerritoryDto, RepTerritoryRepContactDto, RsdRegionDocumentDto, RsdRegionDto, RsdRegionRepTerritoryDto, RsdRegionUserDto, RsdRegionsApiServiceInterface, RsdRegionsCreateRsdRegionRequestParams, RsdRegionsGetRsdRegionRequestParams, RsdRegionsRemoveRsdRegionRequestParams, RsdRegionsSearchRsdRegionsRequestParams, RsdRegionsUpdateRsdRegionRequestParams, SaveRepTerritoryDto, SearchRegionDto, SearchRegionDtoPagedListMetadataDto, SearchRepTerritoryDto, SearchRepTerritoryDtoPagedListMetadataDto, SearchRsdRegionDto, SearchRsdRegionDtoPagedListMetadataDto, StandardDataFormat, StandardDataType, StandardParamStyle, TokenModel, TotalCountListMetadata, UpdateRsdRegionDto, UserEmailDto, UserPreferencesDto, UserProfileDto, UserRegistrationDto, UsersApiServiceInterface, UsersConfirmEmailRequestParams, UsersGetRepContacts0RequestParams, UsersRegisterUserRequestParams, UsersRequestConfirmEmailRequestParams };
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 };