@saritasa/renewaire-frontend-sdk 0.1.0-dev.101 → 0.1.0-dev.287

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 ADDED
@@ -0,0 +1,1821 @@
1
+ import { HttpParameterCodec, HttpHeaders, HttpParams, HttpClient, HttpContext, HttpResponse, HttpEvent } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from '@angular/core';
4
+ import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
5
+
6
+ /**
7
+ * RenewAire CORES API
8
+ *
9
+ * Contact: renewaire@saritasa.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ /**
16
+ * API generated token model.
17
+ */
18
+ interface TokenModel {
19
+ /**
20
+ * Token.
21
+ */
22
+ token: string;
23
+ /**
24
+ * Token expiration in seconds.
25
+ */
26
+ expiresIn: number;
27
+ }
28
+
29
+ /**
30
+ * Standard parameter styles defined by OpenAPI spec
31
+ */
32
+ type StandardParamStyle = "matrix" | "label" | "form" | "simple" | "spaceDelimited" | "pipeDelimited" | "deepObject";
33
+ /**
34
+ * The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
35
+ */
36
+ type ParamStyle = StandardParamStyle | string;
37
+ /**
38
+ * Standard parameter locations defined by OpenAPI spec
39
+ */
40
+ type ParamLocation = "query" | "header" | "path" | "cookie";
41
+ /**
42
+ * Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
43
+ */
44
+ type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
45
+ /**
46
+ * Standard {@link DataType}s plus your own types/classes.
47
+ */
48
+ type DataType = StandardDataType | string;
49
+ /**
50
+ * Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
51
+ */
52
+ type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
53
+ type DataFormat = StandardDataFormat | string;
54
+ /**
55
+ * The parameter to encode.
56
+ */
57
+ interface Param {
58
+ name: string;
59
+ value: unknown;
60
+ in: ParamLocation;
61
+ style: ParamStyle;
62
+ explode: boolean;
63
+ dataType: DataType;
64
+ dataFormat: DataFormat | undefined;
65
+ }
66
+
67
+ interface ConfigurationParameters {
68
+ /**
69
+ * @deprecated Since 5.0. Use credentials instead
70
+ */
71
+ apiKeys?: {
72
+ [key: string]: string;
73
+ };
74
+ username?: string;
75
+ password?: string;
76
+ /**
77
+ * @deprecated Since 5.0. Use credentials instead
78
+ */
79
+ accessToken?: string | (() => string);
80
+ basePath?: string;
81
+ withCredentials?: boolean;
82
+ /**
83
+ * Takes care of encoding query- and form-parameters.
84
+ */
85
+ encoder?: HttpParameterCodec;
86
+ /**
87
+ * Override the default method for encoding path parameters in various
88
+ * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
89
+ * <p>
90
+ * See {@link README.md} for more details
91
+ * </p>
92
+ */
93
+ encodeParam?: (param: Param) => string;
94
+ /**
95
+ * The keys are the names in the securitySchemes section of the OpenAPI
96
+ * document. They should map to the value used for authentication
97
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
98
+ */
99
+ credentials?: {
100
+ [key: string]: string | (() => string | undefined);
101
+ };
102
+ }
103
+ declare class Configuration {
104
+ /**
105
+ * @deprecated Since 5.0. Use credentials instead
106
+ */
107
+ apiKeys?: {
108
+ [key: string]: string;
109
+ };
110
+ username?: string;
111
+ password?: string;
112
+ /**
113
+ * @deprecated Since 5.0. Use credentials instead
114
+ */
115
+ accessToken?: string | (() => string);
116
+ basePath?: string;
117
+ withCredentials?: boolean;
118
+ /**
119
+ * Takes care of encoding query- and form-parameters.
120
+ */
121
+ encoder?: HttpParameterCodec;
122
+ /**
123
+ * Encoding of various path parameter
124
+ * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
125
+ * <p>
126
+ * See {@link README.md} for more details
127
+ * </p>
128
+ */
129
+ encodeParam: (param: Param) => string;
130
+ /**
131
+ * The keys are the names in the securitySchemes section of the OpenAPI
132
+ * document. They should map to the value used for authentication
133
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
134
+ */
135
+ credentials: {
136
+ [key: string]: string | (() => string | undefined);
137
+ };
138
+ constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials, }?: ConfigurationParameters);
139
+ /**
140
+ * Select the correct content-type to use for a request.
141
+ * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
142
+ * If no content type is found return the first found type if the contentTypes is not empty
143
+ * @param contentTypes - the array of content types that are available for selection
144
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
145
+ */
146
+ selectHeaderContentType(contentTypes: string[]): string | undefined;
147
+ /**
148
+ * Select the correct accept content-type to use for a request.
149
+ * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
150
+ * If no content type is found return the first found type if the contentTypes is not empty
151
+ * @param accepts - the array of content types that are available for selection.
152
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
153
+ */
154
+ selectHeaderAccept(accepts: string[]): string | undefined;
155
+ /**
156
+ * Check if the given MIME is a JSON MIME.
157
+ * JSON MIME examples:
158
+ * application/json
159
+ * application/json; charset=UTF8
160
+ * APPLICATION/JSON
161
+ * application/vnd.company+json
162
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
163
+ * @return True if the given MIME is JSON, false otherwise.
164
+ */
165
+ isJsonMime(mime: string): boolean;
166
+ lookupCredential(key: string): string | undefined;
167
+ addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
168
+ addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams;
169
+ private defaultEncodeParam;
170
+ }
171
+
172
+ /**
173
+ * RenewAire CORES API
174
+ *
175
+ * Contact: renewaire@saritasa.com
176
+ *
177
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
178
+ * https://openapi-generator.tech
179
+ * Do not edit the class manually.
180
+ */
181
+
182
+ declare class BaseService {
183
+ protected basePath: string;
184
+ defaultHeaders: HttpHeaders;
185
+ configuration: Configuration;
186
+ encoder: HttpParameterCodec;
187
+ constructor(basePath?: string | string[], configuration?: Configuration);
188
+ protected canConsumeForm(consumes: string[]): boolean;
189
+ protected addToHttpParams(httpParams: HttpParams, value: any, key?: string, isDeep?: boolean): HttpParams;
190
+ protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep?: boolean): HttpParams;
191
+ }
192
+
193
+ /**
194
+ * RenewAire CORES API
195
+ *
196
+ * Contact: renewaire@saritasa.com
197
+ *
198
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
199
+ * https://openapi-generator.tech
200
+ * Do not edit the class manually.
201
+ */
202
+ /**
203
+ * AddressCountry<br />0 = Unknown<br />1 = UnitedStates<br />2 = Canada<br />3 = Mexico
204
+ */
205
+ declare enum AddressCountry {
206
+ Unknown = "Unknown",
207
+ UnitedStates = "UnitedStates",
208
+ Canada = "Canada",
209
+ Mexico = "Mexico"
210
+ }
211
+
212
+ /**
213
+ * RenewAire CORES API
214
+ *
215
+ * Contact: renewaire@saritasa.com
216
+ *
217
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
218
+ * https://openapi-generator.tech
219
+ * Do not edit the class manually.
220
+ */
221
+ /**
222
+ * DTO for RenewAire.Cores.Domain.Address.
223
+ */
224
+ interface AddressDto {
225
+ /**
226
+ * AddressCountry<br />0 = Unknown<br />1 = UnitedStates<br />2 = Canada<br />3 = Mexico
227
+ */
228
+ country: AddressDtoCountryEnum;
229
+ address1: string;
230
+ address2: string;
231
+ city: string;
232
+ county: string;
233
+ state: string;
234
+ postalCode: string;
235
+ apartmentNumber: string;
236
+ }
237
+ declare enum AddressDtoCountryEnum {
238
+ Unknown = "Unknown",
239
+ UnitedStates = "UnitedStates",
240
+ Canada = "Canada",
241
+ Mexico = "Mexico"
242
+ }
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
+ /**
255
+ * Company information DTO.
256
+ */
257
+ interface CompanyInformationDto {
258
+ name: string;
259
+ /**
260
+ * DTO for RenewAire.Cores.Domain.Address.
261
+ */
262
+ address: AddressDto;
263
+ phone: string;
264
+ website: 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
+ /**
278
+ * Contact DTO.
279
+ */
280
+ interface ContactDto {
281
+ /**
282
+ * Address.
283
+ */
284
+ address: AddressDto;
285
+ /**
286
+ * First name.
287
+ */
288
+ firstName: string;
289
+ /**
290
+ * Last name.
291
+ */
292
+ lastName: string;
293
+ /**
294
+ * Phone.
295
+ */
296
+ phone: string;
297
+ /**
298
+ * Email.
299
+ */
300
+ email: string;
301
+ }
302
+
303
+ /**
304
+ * RenewAire CORES API
305
+ *
306
+ * Contact: renewaire@saritasa.com
307
+ *
308
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
309
+ * https://openapi-generator.tech
310
+ * Do not edit the class manually.
311
+ */
312
+ /**
313
+ * DTO to create RenewAire.Cores.Domain.Users.RsdRegion.
314
+ */
315
+ interface CreateRsdRegionDto {
316
+ name: string;
317
+ notes: string;
318
+ tags: Array<string>;
319
+ /**
320
+ * The main RSD user id in the region. More details: RenewAire.Cores.Domain.Users.RsdRegionAssignedRsd.IsPrimary.
321
+ */
322
+ primaryRsdUserId: number;
323
+ /**
324
+ * List of RSD users for the region, not including RenewAire.Cores.UseCases.Dtos.RsdRegions.CreateRsdRegionDto.PrimaryRsdUserId.
325
+ */
326
+ rsdUserIds: Array<number>;
327
+ }
328
+
329
+ /**
330
+ * RenewAire CORES API
331
+ *
332
+ * Contact: renewaire@saritasa.com
333
+ *
334
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
335
+ * https://openapi-generator.tech
336
+ * Do not edit the class manually.
337
+ */
338
+ /**
339
+ * Email confirmation token DTO.
340
+ */
341
+ interface EmailConfirmationTokenDto {
342
+ /**
343
+ * Email address.
344
+ */
345
+ email: string;
346
+ /**
347
+ * Confirmation token (code).
348
+ */
349
+ token: string;
350
+ }
351
+
352
+ /**
353
+ * RenewAire CORES API
354
+ *
355
+ * Contact: renewaire@saritasa.com
356
+ *
357
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
358
+ * https://openapi-generator.tech
359
+ * Do not edit the class manually.
360
+ */
361
+ /**
362
+ * Command for forgot password processing.
363
+ */
364
+ interface ForgotPasswordCommand {
365
+ /**
366
+ * Email.
367
+ */
368
+ email: string;
369
+ }
370
+
371
+ /**
372
+ * RenewAire CORES API
373
+ *
374
+ * Contact: renewaire@saritasa.com
375
+ *
376
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
377
+ * https://openapi-generator.tech
378
+ * Do not edit the class manually.
379
+ */
380
+ /**
381
+ * DTO to return Id of entity.
382
+ */
383
+ interface Int32IdDto {
384
+ id: number;
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
+ * Login user command.
398
+ */
399
+ interface LoginUserCommand {
400
+ /**
401
+ * Username (email).
402
+ */
403
+ userName: string;
404
+ /**
405
+ * Password.
406
+ */
407
+ password: string;
408
+ }
409
+
410
+ /**
411
+ * RenewAire CORES API
412
+ *
413
+ * Contact: renewaire@saritasa.com
414
+ *
415
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
416
+ * https://openapi-generator.tech
417
+ * Do not edit the class manually.
418
+ */
419
+ interface OffsetLimitListMetadata {
420
+ totalCount: number;
421
+ offset: number;
422
+ limit: number;
423
+ }
424
+
425
+ /**
426
+ * RenewAire CORES API
427
+ *
428
+ * Contact: renewaire@saritasa.com
429
+ *
430
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
431
+ * https://openapi-generator.tech
432
+ * Do not edit the class manually.
433
+ */
434
+ interface PagedListMetadata {
435
+ totalCount: number;
436
+ offset: number;
437
+ limit: number;
438
+ page: number;
439
+ pageSize: number;
440
+ totalPages: number;
441
+ }
442
+
443
+ /**
444
+ * RenewAire CORES API
445
+ *
446
+ * Contact: renewaire@saritasa.com
447
+ *
448
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
449
+ * https://openapi-generator.tech
450
+ * Do not edit the class manually.
451
+ */
452
+ /**
453
+ * DTO for RenewAire.Cores.Domain.Users.Permission.
454
+ */
455
+ interface PermissionDto {
456
+ /**
457
+ * Identifier. Enum key.
458
+ */
459
+ id: number;
460
+ /**
461
+ * Name.
462
+ */
463
+ name: string;
464
+ /**
465
+ * Description.
466
+ */
467
+ description: string;
468
+ }
469
+
470
+ /**
471
+ * RenewAire CORES API
472
+ *
473
+ * Contact: renewaire@saritasa.com
474
+ *
475
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
476
+ * https://openapi-generator.tech
477
+ * Do not edit the class manually.
478
+ */
479
+ /**
480
+ * Physical address.
481
+ */
482
+ interface PhysicalAddressDto {
483
+ /**
484
+ * Address display name.
485
+ */
486
+ displayAddress: string;
487
+ street1: string;
488
+ stateCode: string;
489
+ /**
490
+ * Country name.
491
+ */
492
+ country: string;
493
+ /**
494
+ * Postal code.
495
+ */
496
+ postalCode: string;
497
+ apartmentNumber?: string | null;
498
+ street2?: string | null;
499
+ county?: string | null;
500
+ city?: string | null;
501
+ }
502
+
503
+ /**
504
+ * RenewAire CORES API
505
+ *
506
+ * Contact: renewaire@saritasa.com
507
+ *
508
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
509
+ * https://openapi-generator.tech
510
+ * Do not edit the class manually.
511
+ */
512
+ /**
513
+ * Refresh token command.
514
+ */
515
+ interface RefreshTokenCommand {
516
+ /**
517
+ * User token.
518
+ */
519
+ token: string;
520
+ }
521
+
522
+ /**
523
+ * RenewAire CORES API
524
+ *
525
+ * Contact: renewaire@saritasa.com
526
+ *
527
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
528
+ * https://openapi-generator.tech
529
+ * Do not edit the class manually.
530
+ */
531
+ /**
532
+ * RegionLevel<br />0 = Country<br />1 = State<br />2 = County
533
+ */
534
+ declare enum RegionLevel {
535
+ Country = "Country",
536
+ State = "State",
537
+ County = "County"
538
+ }
539
+
540
+ /**
541
+ * RenewAire CORES API
542
+ *
543
+ * Contact: renewaire@saritasa.com
544
+ *
545
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
546
+ * https://openapi-generator.tech
547
+ * Do not edit the class manually.
548
+ */
549
+
550
+ /**
551
+ * Rep territory contacts DTO.
552
+ */
553
+ interface RepTerritoryContactsDto {
554
+ /**
555
+ * Regional director.
556
+ */
557
+ regionalDirector: ContactDto;
558
+ /**
559
+ * Company information.
560
+ */
561
+ companyInformation: CompanyInformationDto;
562
+ /**
563
+ * Contacts.
564
+ */
565
+ contacts: Array<ContactDto>;
566
+ }
567
+
568
+ /**
569
+ * RenewAire CORES API
570
+ *
571
+ * Contact: renewaire@saritasa.com
572
+ *
573
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
574
+ * https://openapi-generator.tech
575
+ * Do not edit the class manually.
576
+ */
577
+
578
+ /**
579
+ * DTO for RenewAire.Cores.Domain.Users.RepTerritoryRepContact.
580
+ */
581
+ interface RepTerritoryRepContactDto {
582
+ id: object;
583
+ headerLabel: string;
584
+ territoryLabel: string;
585
+ firstName: string;
586
+ lastName: string;
587
+ email: string;
588
+ phone: string;
589
+ website: string;
590
+ /**
591
+ * DTO for RenewAire.Cores.Domain.Address.
592
+ */
593
+ address: AddressDto;
594
+ }
595
+
596
+ /**
597
+ * RenewAire CORES API
598
+ *
599
+ * Contact: renewaire@saritasa.com
600
+ *
601
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
602
+ * https://openapi-generator.tech
603
+ * Do not edit the class manually.
604
+ */
605
+
606
+ /**
607
+ * Rep territory dto.
608
+ */
609
+ interface RepTerritoryDto {
610
+ id: object;
611
+ name: string;
612
+ externalDisplayName: string;
613
+ code: string;
614
+ phone: string;
615
+ email: string;
616
+ website: string;
617
+ /**
618
+ * DTO for RenewAire.Cores.Domain.Address.
619
+ */
620
+ address: AddressDto;
621
+ contacts: Array<RepTerritoryRepContactDto>;
622
+ salesContacts: Array<ContactDto>;
623
+ }
624
+
625
+ /**
626
+ * RenewAire CORES API
627
+ *
628
+ * Contact: renewaire@saritasa.com
629
+ *
630
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
631
+ * https://openapi-generator.tech
632
+ * Do not edit the class manually.
633
+ */
634
+ /**
635
+ * Command to reset the password.
636
+ */
637
+ interface ResetPasswordCommand {
638
+ /**
639
+ * Email.
640
+ */
641
+ email: string;
642
+ /**
643
+ * Token received from \"forgot password\" email.
644
+ */
645
+ token: string;
646
+ /**
647
+ * New password to set.
648
+ */
649
+ newPassword: string;
650
+ }
651
+
652
+ /**
653
+ * RenewAire CORES API
654
+ *
655
+ * Contact: renewaire@saritasa.com
656
+ *
657
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
658
+ * https://openapi-generator.tech
659
+ * Do not edit the class manually.
660
+ */
661
+ /**
662
+ * RSD region document DTO for query RenewAire.Cores.UseCases.RsdRegions.GetRsdRegion.GetRsdRegionQuery.
663
+ */
664
+ interface RsdRegionDocumentDto {
665
+ id: object;
666
+ contentType: string;
667
+ fileName: string;
668
+ }
669
+
670
+ /**
671
+ * RenewAire CORES API
672
+ *
673
+ * Contact: renewaire@saritasa.com
674
+ *
675
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
676
+ * https://openapi-generator.tech
677
+ * Do not edit the class manually.
678
+ */
679
+ /**
680
+ * RSD region REP territory DTO for query RenewAire.Cores.UseCases.RsdRegions.GetRsdRegion.GetRsdRegionQuery.
681
+ */
682
+ interface RsdRegionRepTerritoryDto {
683
+ id: object;
684
+ name: string;
685
+ externalDisplayName: string;
686
+ }
687
+
688
+ /**
689
+ * RenewAire CORES API
690
+ *
691
+ * Contact: renewaire@saritasa.com
692
+ *
693
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
694
+ * https://openapi-generator.tech
695
+ * Do not edit the class manually.
696
+ */
697
+ /**
698
+ * RSD region assign user DTO for query RenewAire.Cores.UseCases.RsdRegions.GetRsdRegion.GetRsdRegionQuery.
699
+ */
700
+ interface RsdRegionUserDto {
701
+ /**
702
+ * User id.
703
+ */
704
+ id: number;
705
+ firstName: string;
706
+ lastName: string;
707
+ isPrimary: boolean;
708
+ }
709
+
710
+ /**
711
+ * RenewAire CORES API
712
+ *
713
+ * Contact: renewaire@saritasa.com
714
+ *
715
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
716
+ * https://openapi-generator.tech
717
+ * Do not edit the class manually.
718
+ */
719
+
720
+ /**
721
+ * RSD region DTO for query RenewAire.Cores.UseCases.RsdRegions.GetRsdRegion.GetRsdRegionQuery.
722
+ */
723
+ interface RsdRegionDto {
724
+ id: object;
725
+ name: string;
726
+ notes: string;
727
+ tags: Array<string>;
728
+ /**
729
+ * Active if not removed.
730
+ */
731
+ isActive: boolean;
732
+ rsdUsers: Array<RsdRegionUserDto>;
733
+ repTerritories: Array<RsdRegionRepTerritoryDto>;
734
+ documents: Array<RsdRegionDocumentDto>;
735
+ }
736
+
737
+ /**
738
+ * RenewAire CORES API
739
+ *
740
+ * Contact: renewaire@saritasa.com
741
+ *
742
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
743
+ * https://openapi-generator.tech
744
+ * Do not edit the class manually.
745
+ */
746
+
747
+ /**
748
+ * Save REP territory DTO.
749
+ */
750
+ interface SaveRepTerritoryDto {
751
+ name: string;
752
+ externalDisplayName: string;
753
+ code: string;
754
+ phone: string;
755
+ email: string;
756
+ website: string;
757
+ /**
758
+ * DTO for RenewAire.Cores.Domain.Address.
759
+ */
760
+ address: AddressDto;
761
+ rsdRegionId: object;
762
+ }
763
+
764
+ /**
765
+ * RenewAire CORES API
766
+ *
767
+ * Contact: renewaire@saritasa.com
768
+ *
769
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
770
+ * https://openapi-generator.tech
771
+ * Do not edit the class manually.
772
+ */
773
+ /**
774
+ * DTO for searching RenewAire.Cores.Domain.Region.
775
+ */
776
+ interface SearchRegionDto {
777
+ id: object;
778
+ /**
779
+ * RegionLevel<br />0 = Country<br />1 = State<br />2 = County
780
+ */
781
+ level: SearchRegionDtoLevelEnum;
782
+ name: string;
783
+ code: string;
784
+ parentRegionId?: object | null;
785
+ }
786
+ declare enum SearchRegionDtoLevelEnum {
787
+ Country = "Country",
788
+ State = "State",
789
+ County = "County"
790
+ }
791
+
792
+ /**
793
+ * RenewAire CORES API
794
+ *
795
+ * Contact: renewaire@saritasa.com
796
+ *
797
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
798
+ * https://openapi-generator.tech
799
+ * Do not edit the class manually.
800
+ */
801
+
802
+ interface SearchRegionDtoPagedListMetadataDto {
803
+ metadata: PagedListMetadata;
804
+ items: Array<SearchRegionDto>;
805
+ }
806
+
807
+ /**
808
+ * RenewAire CORES API
809
+ *
810
+ * Contact: renewaire@saritasa.com
811
+ *
812
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
813
+ * https://openapi-generator.tech
814
+ * Do not edit the class manually.
815
+ */
816
+
817
+ /**
818
+ * Search REP territory dto.
819
+ */
820
+ interface SearchRepTerritoryDto {
821
+ id: object;
822
+ name: string;
823
+ code: string;
824
+ /**
825
+ * Is active. Not removed territory.
826
+ */
827
+ isActive: boolean;
828
+ rsdRegionName: string;
829
+ locations: Array<string>;
830
+ groups: Array<string>;
831
+ contacts: Array<RepTerritoryRepContactDto>;
832
+ salesContacts: Array<ContactDto>;
833
+ }
834
+
835
+ /**
836
+ * RenewAire CORES API
837
+ *
838
+ * Contact: renewaire@saritasa.com
839
+ *
840
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
841
+ * https://openapi-generator.tech
842
+ * Do not edit the class manually.
843
+ */
844
+
845
+ interface SearchRepTerritoryDtoPagedListMetadataDto {
846
+ metadata: PagedListMetadata;
847
+ items: Array<SearchRepTerritoryDto>;
848
+ }
849
+
850
+ /**
851
+ * RenewAire CORES API
852
+ *
853
+ * Contact: renewaire@saritasa.com
854
+ *
855
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
856
+ * https://openapi-generator.tech
857
+ * Do not edit the class manually.
858
+ */
859
+
860
+ /**
861
+ * DTO for searching RenewAire.Cores.Domain.Users.RsdRegion.
862
+ */
863
+ interface SearchRsdRegionDto {
864
+ id: object;
865
+ name: string;
866
+ /**
867
+ * Active if not removed.
868
+ */
869
+ isActive: boolean;
870
+ rsdUsers: Array<RsdRegionUserDto>;
871
+ repTerritories: Array<RsdRegionRepTerritoryDto>;
872
+ }
873
+
874
+ /**
875
+ * RenewAire CORES API
876
+ *
877
+ * Contact: renewaire@saritasa.com
878
+ *
879
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
880
+ * https://openapi-generator.tech
881
+ * Do not edit the class manually.
882
+ */
883
+
884
+ interface SearchRsdRegionDtoPagedListMetadataDto {
885
+ metadata: PagedListMetadata;
886
+ items: Array<SearchRsdRegionDto>;
887
+ }
888
+
889
+ /**
890
+ * RenewAire CORES API
891
+ *
892
+ * Contact: renewaire@saritasa.com
893
+ *
894
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
895
+ * https://openapi-generator.tech
896
+ * Do not edit the class manually.
897
+ */
898
+ interface TotalCountListMetadata {
899
+ totalCount: number;
900
+ }
901
+
902
+ /**
903
+ * RenewAire CORES API
904
+ *
905
+ * Contact: renewaire@saritasa.com
906
+ *
907
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
908
+ * https://openapi-generator.tech
909
+ * Do not edit the class manually.
910
+ */
911
+ /**
912
+ * DTO to update RenewAire.Cores.Domain.Users.RsdRegion.
913
+ */
914
+ interface UpdateRsdRegionDto {
915
+ id: object;
916
+ name: string;
917
+ notes: string;
918
+ tags: Array<string>;
919
+ /**
920
+ * The main RSD user id in the region. More details: RenewAire.Cores.Domain.Users.RsdRegionAssignedRsd.IsPrimary.
921
+ */
922
+ primaryRsdUserId: number;
923
+ /**
924
+ * List of RSD users for the region, not including RenewAire.Cores.UseCases.Dtos.RsdRegions.UpdateRsdRegionDto.PrimaryRsdUserId.
925
+ */
926
+ rsdUserIds: Array<number>;
927
+ }
928
+
929
+ /**
930
+ * RenewAire CORES API
931
+ *
932
+ * Contact: renewaire@saritasa.com
933
+ *
934
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
935
+ * https://openapi-generator.tech
936
+ * Do not edit the class manually.
937
+ */
938
+ /**
939
+ * User email DTO.
940
+ */
941
+ interface UserEmailDto {
942
+ /**
943
+ * <inheritdoc cref=\"P:RenewAire.Cores.Domain.Users.User.Email\" />.
944
+ */
945
+ email: string;
946
+ }
947
+
948
+ /**
949
+ * RenewAire CORES API
950
+ *
951
+ * Contact: renewaire@saritasa.com
952
+ *
953
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
954
+ * https://openapi-generator.tech
955
+ * Do not edit the class manually.
956
+ */
957
+ /**
958
+ * User preferences DTO.
959
+ */
960
+ interface UserPreferencesDto {
961
+ occupation: string;
962
+ }
963
+
964
+ /**
965
+ * RenewAire CORES API
966
+ *
967
+ * Contact: renewaire@saritasa.com
968
+ *
969
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
970
+ * https://openapi-generator.tech
971
+ * Do not edit the class manually.
972
+ */
973
+ /**
974
+ * User profile DTO.
975
+ */
976
+ interface UserProfileDto {
977
+ firstName: string;
978
+ lastName: string;
979
+ company: string;
980
+ title: string;
981
+ /**
982
+ * Phone number.
983
+ */
984
+ workPhoneNumber: string;
985
+ /**
986
+ * Work phone number extension. Optional.
987
+ */
988
+ workPhoneNumberExt?: string | null;
989
+ /**
990
+ * Work phone.
991
+ */
992
+ mobilePhoneNumber?: string | null;
993
+ }
994
+
995
+ /**
996
+ * RenewAire CORES API
997
+ *
998
+ * Contact: renewaire@saritasa.com
999
+ *
1000
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1001
+ * https://openapi-generator.tech
1002
+ * Do not edit the class manually.
1003
+ */
1004
+
1005
+ /**
1006
+ * User registration DTO.
1007
+ */
1008
+ interface UserRegistrationDto {
1009
+ /**
1010
+ * Email address and confirmation token.
1011
+ */
1012
+ emailToken: EmailConfirmationTokenDto;
1013
+ /**
1014
+ * Password.
1015
+ */
1016
+ password: string;
1017
+ /**
1018
+ * User profile information.
1019
+ */
1020
+ profile: UserProfileDto;
1021
+ /**
1022
+ * Physical address.
1023
+ */
1024
+ address: PhysicalAddressDto;
1025
+ /**
1026
+ * Preferences.
1027
+ */
1028
+ preferences: UserPreferencesDto;
1029
+ }
1030
+
1031
+ /**
1032
+ * RenewAire CORES API
1033
+ *
1034
+ * Contact: renewaire@saritasa.com
1035
+ *
1036
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1037
+ * https://openapi-generator.tech
1038
+ * Do not edit the class manually.
1039
+ */
1040
+
1041
+ interface AuthAuthenticateRequestParams {
1042
+ loginUserCommand: LoginUserCommand;
1043
+ }
1044
+ interface AuthRefreshTokenRequestParams {
1045
+ refreshTokenCommand: RefreshTokenCommand;
1046
+ }
1047
+ interface AuthApiServiceInterface {
1048
+ defaultHeaders: HttpHeaders;
1049
+ configuration: Configuration;
1050
+ /**
1051
+ * Authenticate user by email and password.
1052
+ *
1053
+ * @param requestParameters
1054
+ */
1055
+ authAuthenticate(requestParameters: AuthAuthenticateRequestParams, extraHttpRequestParams?: any): Observable<TokenModel>;
1056
+ /**
1057
+ * Get new token by refresh token.
1058
+ *
1059
+ * @param requestParameters
1060
+ */
1061
+ authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, extraHttpRequestParams?: any): Observable<TokenModel>;
1062
+ }
1063
+
1064
+ declare class AuthApiService extends BaseService implements AuthApiServiceInterface {
1065
+ protected httpClient: HttpClient;
1066
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1067
+ /**
1068
+ * Authenticate user by email and password.
1069
+ * @param requestParameters
1070
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1071
+ * @param reportProgress flag to report request and response progress.
1072
+ */
1073
+ authAuthenticate(requestParameters: AuthAuthenticateRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1074
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1075
+ context?: HttpContext;
1076
+ transferCache?: boolean;
1077
+ }): Observable<TokenModel>;
1078
+ authAuthenticate(requestParameters: AuthAuthenticateRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1079
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1080
+ context?: HttpContext;
1081
+ transferCache?: boolean;
1082
+ }): Observable<HttpResponse<TokenModel>>;
1083
+ authAuthenticate(requestParameters: AuthAuthenticateRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1084
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1085
+ context?: HttpContext;
1086
+ transferCache?: boolean;
1087
+ }): Observable<HttpEvent<TokenModel>>;
1088
+ /**
1089
+ * Get new token by refresh token.
1090
+ * @param requestParameters
1091
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1092
+ * @param reportProgress flag to report request and response progress.
1093
+ */
1094
+ authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1095
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1096
+ context?: HttpContext;
1097
+ transferCache?: boolean;
1098
+ }): Observable<TokenModel>;
1099
+ authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1100
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1101
+ context?: HttpContext;
1102
+ transferCache?: boolean;
1103
+ }): Observable<HttpResponse<TokenModel>>;
1104
+ authRefreshToken(requestParameters: AuthRefreshTokenRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1105
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1106
+ context?: HttpContext;
1107
+ transferCache?: boolean;
1108
+ }): Observable<HttpEvent<TokenModel>>;
1109
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthApiService, [null, { optional: true; }, { optional: true; }]>;
1110
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthApiService>;
1111
+ }
1112
+
1113
+ /**
1114
+ * RenewAire CORES API
1115
+ *
1116
+ * Contact: renewaire@saritasa.com
1117
+ *
1118
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1119
+ * https://openapi-generator.tech
1120
+ * Do not edit the class manually.
1121
+ */
1122
+
1123
+ interface PermissionsApiServiceInterface {
1124
+ defaultHeaders: HttpHeaders;
1125
+ configuration: Configuration;
1126
+ /**
1127
+ * Get all system permissions.
1128
+ *
1129
+ */
1130
+ permissionsGetPermissions(extraHttpRequestParams?: any): Observable<Array<PermissionDto>>;
1131
+ }
1132
+
1133
+ declare class PermissionsApiService extends BaseService implements PermissionsApiServiceInterface {
1134
+ protected httpClient: HttpClient;
1135
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1136
+ /**
1137
+ * Get all system permissions.
1138
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1139
+ * @param reportProgress flag to report request and response progress.
1140
+ */
1141
+ permissionsGetPermissions(observe?: "body", reportProgress?: boolean, options?: {
1142
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1143
+ context?: HttpContext;
1144
+ transferCache?: boolean;
1145
+ }): Observable<Array<PermissionDto>>;
1146
+ permissionsGetPermissions(observe?: "response", reportProgress?: boolean, options?: {
1147
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1148
+ context?: HttpContext;
1149
+ transferCache?: boolean;
1150
+ }): Observable<HttpResponse<Array<PermissionDto>>>;
1151
+ permissionsGetPermissions(observe?: "events", reportProgress?: boolean, options?: {
1152
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1153
+ context?: HttpContext;
1154
+ transferCache?: boolean;
1155
+ }): Observable<HttpEvent<Array<PermissionDto>>>;
1156
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsApiService, [null, { optional: true; }, { optional: true; }]>;
1157
+ static ɵprov: i0.ɵɵInjectableDeclaration<PermissionsApiService>;
1158
+ }
1159
+
1160
+ /**
1161
+ * RenewAire CORES API
1162
+ *
1163
+ * Contact: renewaire@saritasa.com
1164
+ *
1165
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1166
+ * https://openapi-generator.tech
1167
+ * Do not edit the class manually.
1168
+ */
1169
+
1170
+ interface RegionsSearchRegionsRequestParams {
1171
+ name?: string;
1172
+ code?: string;
1173
+ level?: RegionLevel;
1174
+ orderBy?: string;
1175
+ page?: number;
1176
+ pageSize?: number;
1177
+ }
1178
+ interface RegionsApiServiceInterface {
1179
+ defaultHeaders: HttpHeaders;
1180
+ configuration: Configuration;
1181
+ /**
1182
+ * Search regions.
1183
+ *
1184
+ * @param requestParameters
1185
+ */
1186
+ regionsSearchRegions(requestParameters: RegionsSearchRegionsRequestParams, extraHttpRequestParams?: any): Observable<SearchRegionDtoPagedListMetadataDto>;
1187
+ }
1188
+
1189
+ declare class RegionsApiService extends BaseService implements RegionsApiServiceInterface {
1190
+ protected httpClient: HttpClient;
1191
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1192
+ /**
1193
+ * Search regions.
1194
+ * @param requestParameters
1195
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1196
+ * @param reportProgress flag to report request and response progress.
1197
+ */
1198
+ regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1199
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1200
+ context?: HttpContext;
1201
+ transferCache?: boolean;
1202
+ }): Observable<SearchRegionDtoPagedListMetadataDto>;
1203
+ regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1204
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1205
+ context?: HttpContext;
1206
+ transferCache?: boolean;
1207
+ }): Observable<HttpResponse<SearchRegionDtoPagedListMetadataDto>>;
1208
+ regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1209
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1210
+ context?: HttpContext;
1211
+ transferCache?: boolean;
1212
+ }): Observable<HttpEvent<SearchRegionDtoPagedListMetadataDto>>;
1213
+ static ɵfac: i0.ɵɵFactoryDeclaration<RegionsApiService, [null, { optional: true; }, { optional: true; }]>;
1214
+ static ɵprov: i0.ɵɵInjectableDeclaration<RegionsApiService>;
1215
+ }
1216
+
1217
+ /**
1218
+ * RenewAire CORES API
1219
+ *
1220
+ * Contact: renewaire@saritasa.com
1221
+ *
1222
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1223
+ * https://openapi-generator.tech
1224
+ * Do not edit the class manually.
1225
+ */
1226
+
1227
+ interface RepTerritoriesCreateRepTerritoryRequestParams {
1228
+ saveRepTerritoryDto?: SaveRepTerritoryDto;
1229
+ }
1230
+ interface RepTerritoriesGetRepTerritoryRequestParams {
1231
+ repTerritoryId: number;
1232
+ }
1233
+ interface RepTerritoriesRemoveRepTerritoryRequestParams {
1234
+ repTerritoryId: number;
1235
+ }
1236
+ interface RepTerritoriesSearchRsdTerritoriesRequestParams {
1237
+ repName?: string;
1238
+ repCode?: string;
1239
+ rsdRegionName?: string;
1240
+ orderBy?: string;
1241
+ page?: number;
1242
+ pageSize?: number;
1243
+ }
1244
+ interface RepTerritoriesUpdateRepTerritoryRequestParams {
1245
+ repTerritoryId: number;
1246
+ saveRepTerritoryDto?: SaveRepTerritoryDto;
1247
+ }
1248
+ interface RepTerritoriesApiServiceInterface {
1249
+ defaultHeaders: HttpHeaders;
1250
+ configuration: Configuration;
1251
+ /**
1252
+ * Create REP territory.
1253
+ *
1254
+ * @param requestParameters
1255
+ */
1256
+ repTerritoriesCreateRepTerritory(requestParameters: RepTerritoriesCreateRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<object>;
1257
+ /**
1258
+ * Get REP territory.
1259
+ *
1260
+ * @param requestParameters
1261
+ */
1262
+ repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<RepTerritoryDto>;
1263
+ /**
1264
+ * Remove REP territory.
1265
+ *
1266
+ * @param requestParameters
1267
+ */
1268
+ repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1269
+ /**
1270
+ * Search REP territories.
1271
+ *
1272
+ * @param requestParameters
1273
+ */
1274
+ repTerritoriesSearchRsdTerritories(requestParameters: RepTerritoriesSearchRsdTerritoriesRequestParams, extraHttpRequestParams?: any): Observable<SearchRepTerritoryDtoPagedListMetadataDto>;
1275
+ /**
1276
+ * Update REP territory.
1277
+ *
1278
+ * @param requestParameters
1279
+ */
1280
+ repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1281
+ }
1282
+
1283
+ declare class RepTerritoriesApiService extends BaseService implements RepTerritoriesApiServiceInterface {
1284
+ protected httpClient: HttpClient;
1285
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1286
+ /**
1287
+ * Create REP territory.
1288
+ * @param requestParameters
1289
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1290
+ * @param reportProgress flag to report request and response progress.
1291
+ */
1292
+ repTerritoriesCreateRepTerritory(requestParameters?: RepTerritoriesCreateRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1293
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1294
+ context?: HttpContext;
1295
+ transferCache?: boolean;
1296
+ }): Observable<object>;
1297
+ repTerritoriesCreateRepTerritory(requestParameters?: RepTerritoriesCreateRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1298
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1299
+ context?: HttpContext;
1300
+ transferCache?: boolean;
1301
+ }): Observable<HttpResponse<object>>;
1302
+ repTerritoriesCreateRepTerritory(requestParameters?: RepTerritoriesCreateRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1303
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1304
+ context?: HttpContext;
1305
+ transferCache?: boolean;
1306
+ }): Observable<HttpEvent<object>>;
1307
+ /**
1308
+ * Get REP territory.
1309
+ * @param requestParameters
1310
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1311
+ * @param reportProgress flag to report request and response progress.
1312
+ */
1313
+ repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1314
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1315
+ context?: HttpContext;
1316
+ transferCache?: boolean;
1317
+ }): Observable<RepTerritoryDto>;
1318
+ repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1319
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1320
+ context?: HttpContext;
1321
+ transferCache?: boolean;
1322
+ }): Observable<HttpResponse<RepTerritoryDto>>;
1323
+ repTerritoriesGetRepTerritory(requestParameters: RepTerritoriesGetRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1324
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1325
+ context?: HttpContext;
1326
+ transferCache?: boolean;
1327
+ }): Observable<HttpEvent<RepTerritoryDto>>;
1328
+ /**
1329
+ * Remove REP territory.
1330
+ * @param requestParameters
1331
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1332
+ * @param reportProgress flag to report request and response progress.
1333
+ */
1334
+ repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1335
+ httpHeaderAccept?: undefined;
1336
+ context?: HttpContext;
1337
+ transferCache?: boolean;
1338
+ }): Observable<any>;
1339
+ repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1340
+ httpHeaderAccept?: undefined;
1341
+ context?: HttpContext;
1342
+ transferCache?: boolean;
1343
+ }): Observable<HttpResponse<any>>;
1344
+ repTerritoriesRemoveRepTerritory(requestParameters: RepTerritoriesRemoveRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1345
+ httpHeaderAccept?: undefined;
1346
+ context?: HttpContext;
1347
+ transferCache?: boolean;
1348
+ }): Observable<HttpEvent<any>>;
1349
+ /**
1350
+ * Search REP territories.
1351
+ * @param requestParameters
1352
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1353
+ * @param reportProgress flag to report request and response progress.
1354
+ */
1355
+ repTerritoriesSearchRsdTerritories(requestParameters?: RepTerritoriesSearchRsdTerritoriesRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1356
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1357
+ context?: HttpContext;
1358
+ transferCache?: boolean;
1359
+ }): Observable<SearchRepTerritoryDtoPagedListMetadataDto>;
1360
+ repTerritoriesSearchRsdTerritories(requestParameters?: RepTerritoriesSearchRsdTerritoriesRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1361
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1362
+ context?: HttpContext;
1363
+ transferCache?: boolean;
1364
+ }): Observable<HttpResponse<SearchRepTerritoryDtoPagedListMetadataDto>>;
1365
+ repTerritoriesSearchRsdTerritories(requestParameters?: RepTerritoriesSearchRsdTerritoriesRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1366
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1367
+ context?: HttpContext;
1368
+ transferCache?: boolean;
1369
+ }): Observable<HttpEvent<SearchRepTerritoryDtoPagedListMetadataDto>>;
1370
+ /**
1371
+ * Update REP territory.
1372
+ * @param requestParameters
1373
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1374
+ * @param reportProgress flag to report request and response progress.
1375
+ */
1376
+ repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1377
+ httpHeaderAccept?: undefined;
1378
+ context?: HttpContext;
1379
+ transferCache?: boolean;
1380
+ }): Observable<any>;
1381
+ repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1382
+ httpHeaderAccept?: undefined;
1383
+ context?: HttpContext;
1384
+ transferCache?: boolean;
1385
+ }): Observable<HttpResponse<any>>;
1386
+ repTerritoriesUpdateRepTerritory(requestParameters: RepTerritoriesUpdateRepTerritoryRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1387
+ httpHeaderAccept?: undefined;
1388
+ context?: HttpContext;
1389
+ transferCache?: boolean;
1390
+ }): Observable<HttpEvent<any>>;
1391
+ static ɵfac: i0.ɵɵFactoryDeclaration<RepTerritoriesApiService, [null, { optional: true; }, { optional: true; }]>;
1392
+ static ɵprov: i0.ɵɵInjectableDeclaration<RepTerritoriesApiService>;
1393
+ }
1394
+
1395
+ /**
1396
+ * RenewAire CORES API
1397
+ *
1398
+ * Contact: renewaire@saritasa.com
1399
+ *
1400
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1401
+ * https://openapi-generator.tech
1402
+ * Do not edit the class manually.
1403
+ */
1404
+
1405
+ interface RsdRegionsCreateRsdRegionRequestParams {
1406
+ createRsdRegionDto?: CreateRsdRegionDto;
1407
+ }
1408
+ interface RsdRegionsGetRsdRegionRequestParams {
1409
+ id: number;
1410
+ }
1411
+ interface RsdRegionsRemoveRsdRegionRequestParams {
1412
+ id: number;
1413
+ }
1414
+ interface RsdRegionsSearchRsdRegionsRequestParams {
1415
+ name?: string;
1416
+ isActive?: boolean;
1417
+ rsdUserIds?: Array<number>;
1418
+ repTerritoryIds?: Array<object>;
1419
+ orderBy?: string;
1420
+ page?: number;
1421
+ pageSize?: number;
1422
+ }
1423
+ interface RsdRegionsUpdateRsdRegionRequestParams {
1424
+ updateRsdRegionDto?: UpdateRsdRegionDto;
1425
+ }
1426
+ interface RsdRegionsApiServiceInterface {
1427
+ defaultHeaders: HttpHeaders;
1428
+ configuration: Configuration;
1429
+ /**
1430
+ * Create RSD region.
1431
+ *
1432
+ * @param requestParameters
1433
+ */
1434
+ rsdRegionsCreateRsdRegion(requestParameters: RsdRegionsCreateRsdRegionRequestParams, extraHttpRequestParams?: any): Observable<object>;
1435
+ /**
1436
+ * Get RSD region by id.
1437
+ *
1438
+ * @param requestParameters
1439
+ */
1440
+ rsdRegionsGetRsdRegion(requestParameters: RsdRegionsGetRsdRegionRequestParams, extraHttpRequestParams?: any): Observable<RsdRegionDto>;
1441
+ /**
1442
+ * Remove RSD region by id.
1443
+ *
1444
+ * @param requestParameters
1445
+ */
1446
+ rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1447
+ /**
1448
+ * Search RSD regions.
1449
+ *
1450
+ * @param requestParameters
1451
+ */
1452
+ rsdRegionsSearchRsdRegions(requestParameters: RsdRegionsSearchRsdRegionsRequestParams, extraHttpRequestParams?: any): Observable<SearchRsdRegionDtoPagedListMetadataDto>;
1453
+ /**
1454
+ * Update RSD region.
1455
+ *
1456
+ * @param requestParameters
1457
+ */
1458
+ rsdRegionsUpdateRsdRegion(requestParameters: RsdRegionsUpdateRsdRegionRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1459
+ }
1460
+
1461
+ declare class RsdRegionsApiService extends BaseService implements RsdRegionsApiServiceInterface {
1462
+ protected httpClient: HttpClient;
1463
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1464
+ /**
1465
+ * Create RSD region.
1466
+ * @param requestParameters
1467
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1468
+ * @param reportProgress flag to report request and response progress.
1469
+ */
1470
+ rsdRegionsCreateRsdRegion(requestParameters?: RsdRegionsCreateRsdRegionRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1471
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1472
+ context?: HttpContext;
1473
+ transferCache?: boolean;
1474
+ }): Observable<object>;
1475
+ rsdRegionsCreateRsdRegion(requestParameters?: RsdRegionsCreateRsdRegionRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1476
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1477
+ context?: HttpContext;
1478
+ transferCache?: boolean;
1479
+ }): Observable<HttpResponse<object>>;
1480
+ rsdRegionsCreateRsdRegion(requestParameters?: RsdRegionsCreateRsdRegionRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1481
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1482
+ context?: HttpContext;
1483
+ transferCache?: boolean;
1484
+ }): Observable<HttpEvent<object>>;
1485
+ /**
1486
+ * Get RSD region by id.
1487
+ * @param requestParameters
1488
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1489
+ * @param reportProgress flag to report request and response progress.
1490
+ */
1491
+ rsdRegionsGetRsdRegion(requestParameters: RsdRegionsGetRsdRegionRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1492
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1493
+ context?: HttpContext;
1494
+ transferCache?: boolean;
1495
+ }): Observable<RsdRegionDto>;
1496
+ rsdRegionsGetRsdRegion(requestParameters: RsdRegionsGetRsdRegionRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1497
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1498
+ context?: HttpContext;
1499
+ transferCache?: boolean;
1500
+ }): Observable<HttpResponse<RsdRegionDto>>;
1501
+ rsdRegionsGetRsdRegion(requestParameters: RsdRegionsGetRsdRegionRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1502
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1503
+ context?: HttpContext;
1504
+ transferCache?: boolean;
1505
+ }): Observable<HttpEvent<RsdRegionDto>>;
1506
+ /**
1507
+ * Remove RSD region by id.
1508
+ * @param requestParameters
1509
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1510
+ * @param reportProgress flag to report request and response progress.
1511
+ */
1512
+ rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1513
+ httpHeaderAccept?: undefined;
1514
+ context?: HttpContext;
1515
+ transferCache?: boolean;
1516
+ }): Observable<any>;
1517
+ rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1518
+ httpHeaderAccept?: undefined;
1519
+ context?: HttpContext;
1520
+ transferCache?: boolean;
1521
+ }): Observable<HttpResponse<any>>;
1522
+ rsdRegionsRemoveRsdRegion(requestParameters: RsdRegionsRemoveRsdRegionRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1523
+ httpHeaderAccept?: undefined;
1524
+ context?: HttpContext;
1525
+ transferCache?: boolean;
1526
+ }): Observable<HttpEvent<any>>;
1527
+ /**
1528
+ * Search RSD regions.
1529
+ * @param requestParameters
1530
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1531
+ * @param reportProgress flag to report request and response progress.
1532
+ */
1533
+ rsdRegionsSearchRsdRegions(requestParameters?: RsdRegionsSearchRsdRegionsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1534
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1535
+ context?: HttpContext;
1536
+ transferCache?: boolean;
1537
+ }): Observable<SearchRsdRegionDtoPagedListMetadataDto>;
1538
+ rsdRegionsSearchRsdRegions(requestParameters?: RsdRegionsSearchRsdRegionsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1539
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1540
+ context?: HttpContext;
1541
+ transferCache?: boolean;
1542
+ }): Observable<HttpResponse<SearchRsdRegionDtoPagedListMetadataDto>>;
1543
+ rsdRegionsSearchRsdRegions(requestParameters?: RsdRegionsSearchRsdRegionsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1544
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1545
+ context?: HttpContext;
1546
+ transferCache?: boolean;
1547
+ }): Observable<HttpEvent<SearchRsdRegionDtoPagedListMetadataDto>>;
1548
+ /**
1549
+ * Update RSD region.
1550
+ * @param requestParameters
1551
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1552
+ * @param reportProgress flag to report request and response progress.
1553
+ */
1554
+ rsdRegionsUpdateRsdRegion(requestParameters?: RsdRegionsUpdateRsdRegionRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1555
+ httpHeaderAccept?: undefined;
1556
+ context?: HttpContext;
1557
+ transferCache?: boolean;
1558
+ }): Observable<any>;
1559
+ rsdRegionsUpdateRsdRegion(requestParameters?: RsdRegionsUpdateRsdRegionRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1560
+ httpHeaderAccept?: undefined;
1561
+ context?: HttpContext;
1562
+ transferCache?: boolean;
1563
+ }): Observable<HttpResponse<any>>;
1564
+ rsdRegionsUpdateRsdRegion(requestParameters?: RsdRegionsUpdateRsdRegionRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1565
+ httpHeaderAccept?: undefined;
1566
+ context?: HttpContext;
1567
+ transferCache?: boolean;
1568
+ }): Observable<HttpEvent<any>>;
1569
+ static ɵfac: i0.ɵɵFactoryDeclaration<RsdRegionsApiService, [null, { optional: true; }, { optional: true; }]>;
1570
+ static ɵprov: i0.ɵɵInjectableDeclaration<RsdRegionsApiService>;
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
+ interface UsersConfirmEmailRequestParams {
1584
+ emailConfirmationTokenDto?: EmailConfirmationTokenDto;
1585
+ }
1586
+ interface UsersForgotPasswordRequestParams {
1587
+ forgotPasswordCommand?: ForgotPasswordCommand;
1588
+ }
1589
+ interface UsersGetRepContacts0RequestParams {
1590
+ userId: number;
1591
+ }
1592
+ interface UsersRegisterUserRequestParams {
1593
+ userRegistrationDto?: UserRegistrationDto;
1594
+ }
1595
+ interface UsersRequestConfirmEmailRequestParams {
1596
+ userEmailDto?: UserEmailDto;
1597
+ }
1598
+ interface UsersResetPasswordRequestParams {
1599
+ resetPasswordCommand?: ResetPasswordCommand;
1600
+ }
1601
+ interface UsersApiServiceInterface {
1602
+ defaultHeaders: HttpHeaders;
1603
+ configuration: Configuration;
1604
+ /**
1605
+ * Confirm email address using the verification code from email and continue registration.
1606
+ *
1607
+ * @param requestParameters
1608
+ */
1609
+ usersConfirmEmail(requestParameters: UsersConfirmEmailRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1610
+ /**
1611
+ * Forgot password request.
1612
+ *
1613
+ * @param requestParameters
1614
+ */
1615
+ usersForgotPassword(requestParameters: UsersForgotPasswordRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1616
+ /**
1617
+ * Get current user REP contacts.
1618
+ *
1619
+ */
1620
+ usersGetRepContacts(extraHttpRequestParams?: any): Observable<RepTerritoryContactsDto>;
1621
+ /**
1622
+ * Get user REP contacts.
1623
+ *
1624
+ * @param requestParameters
1625
+ */
1626
+ usersGetRepContacts_1(requestParameters: UsersGetRepContacts0RequestParams, extraHttpRequestParams?: any): Observable<RepTerritoryContactsDto>;
1627
+ /**
1628
+ * Register user.
1629
+ *
1630
+ * @param requestParameters
1631
+ */
1632
+ usersRegisterUser(requestParameters: UsersRegisterUserRequestParams, extraHttpRequestParams?: any): Observable<Int32IdDto>;
1633
+ /**
1634
+ * Request email confirmation and begin registration. This endpoint sends verification email to a given address.
1635
+ *
1636
+ * @param requestParameters
1637
+ */
1638
+ usersRequestConfirmEmail(requestParameters: UsersRequestConfirmEmailRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1639
+ /**
1640
+ * Reset user\&#39;s password.
1641
+ *
1642
+ * @param requestParameters
1643
+ */
1644
+ usersResetPassword(requestParameters: UsersResetPasswordRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1645
+ }
1646
+
1647
+ declare class UsersApiService extends BaseService implements UsersApiServiceInterface {
1648
+ protected httpClient: HttpClient;
1649
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1650
+ /**
1651
+ * Confirm email address using the verification code from email and continue registration.
1652
+ * @param requestParameters
1653
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1654
+ * @param reportProgress flag to report request and response progress.
1655
+ */
1656
+ usersConfirmEmail(requestParameters?: UsersConfirmEmailRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1657
+ httpHeaderAccept?: undefined;
1658
+ context?: HttpContext;
1659
+ transferCache?: boolean;
1660
+ }): Observable<any>;
1661
+ usersConfirmEmail(requestParameters?: UsersConfirmEmailRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1662
+ httpHeaderAccept?: undefined;
1663
+ context?: HttpContext;
1664
+ transferCache?: boolean;
1665
+ }): Observable<HttpResponse<any>>;
1666
+ usersConfirmEmail(requestParameters?: UsersConfirmEmailRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1667
+ httpHeaderAccept?: undefined;
1668
+ context?: HttpContext;
1669
+ transferCache?: boolean;
1670
+ }): Observable<HttpEvent<any>>;
1671
+ /**
1672
+ * Forgot password request.
1673
+ * @param requestParameters
1674
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1675
+ * @param reportProgress flag to report request and response progress.
1676
+ */
1677
+ usersForgotPassword(requestParameters?: UsersForgotPasswordRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1678
+ httpHeaderAccept?: undefined;
1679
+ context?: HttpContext;
1680
+ transferCache?: boolean;
1681
+ }): Observable<any>;
1682
+ usersForgotPassword(requestParameters?: UsersForgotPasswordRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1683
+ httpHeaderAccept?: undefined;
1684
+ context?: HttpContext;
1685
+ transferCache?: boolean;
1686
+ }): Observable<HttpResponse<any>>;
1687
+ usersForgotPassword(requestParameters?: UsersForgotPasswordRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1688
+ httpHeaderAccept?: undefined;
1689
+ context?: HttpContext;
1690
+ transferCache?: boolean;
1691
+ }): Observable<HttpEvent<any>>;
1692
+ /**
1693
+ * Get current user REP contacts.
1694
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1695
+ * @param reportProgress flag to report request and response progress.
1696
+ */
1697
+ usersGetRepContacts(observe?: "body", reportProgress?: boolean, options?: {
1698
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1699
+ context?: HttpContext;
1700
+ transferCache?: boolean;
1701
+ }): Observable<RepTerritoryContactsDto>;
1702
+ usersGetRepContacts(observe?: "response", reportProgress?: boolean, options?: {
1703
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1704
+ context?: HttpContext;
1705
+ transferCache?: boolean;
1706
+ }): Observable<HttpResponse<RepTerritoryContactsDto>>;
1707
+ usersGetRepContacts(observe?: "events", reportProgress?: boolean, options?: {
1708
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1709
+ context?: HttpContext;
1710
+ transferCache?: boolean;
1711
+ }): Observable<HttpEvent<RepTerritoryContactsDto>>;
1712
+ /**
1713
+ * Get user REP contacts.
1714
+ * @param requestParameters
1715
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1716
+ * @param reportProgress flag to report request and response progress.
1717
+ */
1718
+ usersGetRepContacts_1(requestParameters: UsersGetRepContacts0RequestParams, observe?: "body", reportProgress?: boolean, options?: {
1719
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1720
+ context?: HttpContext;
1721
+ transferCache?: boolean;
1722
+ }): Observable<RepTerritoryContactsDto>;
1723
+ usersGetRepContacts_1(requestParameters: UsersGetRepContacts0RequestParams, observe?: "response", reportProgress?: boolean, options?: {
1724
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1725
+ context?: HttpContext;
1726
+ transferCache?: boolean;
1727
+ }): Observable<HttpResponse<RepTerritoryContactsDto>>;
1728
+ usersGetRepContacts_1(requestParameters: UsersGetRepContacts0RequestParams, observe?: "events", reportProgress?: boolean, options?: {
1729
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1730
+ context?: HttpContext;
1731
+ transferCache?: boolean;
1732
+ }): Observable<HttpEvent<RepTerritoryContactsDto>>;
1733
+ /**
1734
+ * Register user.
1735
+ * @param requestParameters
1736
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1737
+ * @param reportProgress flag to report request and response progress.
1738
+ */
1739
+ usersRegisterUser(requestParameters?: UsersRegisterUserRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1740
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1741
+ context?: HttpContext;
1742
+ transferCache?: boolean;
1743
+ }): Observable<Int32IdDto>;
1744
+ usersRegisterUser(requestParameters?: UsersRegisterUserRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1745
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1746
+ context?: HttpContext;
1747
+ transferCache?: boolean;
1748
+ }): Observable<HttpResponse<Int32IdDto>>;
1749
+ usersRegisterUser(requestParameters?: UsersRegisterUserRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1750
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
1751
+ context?: HttpContext;
1752
+ transferCache?: boolean;
1753
+ }): Observable<HttpEvent<Int32IdDto>>;
1754
+ /**
1755
+ * Request email confirmation and begin registration. This endpoint sends verification email to a given address.
1756
+ * @param requestParameters
1757
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1758
+ * @param reportProgress flag to report request and response progress.
1759
+ */
1760
+ usersRequestConfirmEmail(requestParameters?: UsersRequestConfirmEmailRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1761
+ httpHeaderAccept?: undefined;
1762
+ context?: HttpContext;
1763
+ transferCache?: boolean;
1764
+ }): Observable<any>;
1765
+ usersRequestConfirmEmail(requestParameters?: UsersRequestConfirmEmailRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1766
+ httpHeaderAccept?: undefined;
1767
+ context?: HttpContext;
1768
+ transferCache?: boolean;
1769
+ }): Observable<HttpResponse<any>>;
1770
+ usersRequestConfirmEmail(requestParameters?: UsersRequestConfirmEmailRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1771
+ httpHeaderAccept?: undefined;
1772
+ context?: HttpContext;
1773
+ transferCache?: boolean;
1774
+ }): Observable<HttpEvent<any>>;
1775
+ /**
1776
+ * Reset user\&#39;s password.
1777
+ * @param requestParameters
1778
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1779
+ * @param reportProgress flag to report request and response progress.
1780
+ */
1781
+ usersResetPassword(requestParameters?: UsersResetPasswordRequestParams, observe?: "body", reportProgress?: boolean, options?: {
1782
+ httpHeaderAccept?: undefined;
1783
+ context?: HttpContext;
1784
+ transferCache?: boolean;
1785
+ }): Observable<any>;
1786
+ usersResetPassword(requestParameters?: UsersResetPasswordRequestParams, observe?: "response", reportProgress?: boolean, options?: {
1787
+ httpHeaderAccept?: undefined;
1788
+ context?: HttpContext;
1789
+ transferCache?: boolean;
1790
+ }): Observable<HttpResponse<any>>;
1791
+ usersResetPassword(requestParameters?: UsersResetPasswordRequestParams, observe?: "events", reportProgress?: boolean, options?: {
1792
+ httpHeaderAccept?: undefined;
1793
+ context?: HttpContext;
1794
+ transferCache?: boolean;
1795
+ }): Observable<HttpEvent<any>>;
1796
+ static ɵfac: i0.ɵɵFactoryDeclaration<UsersApiService, [null, { optional: true; }, { optional: true; }]>;
1797
+ static ɵprov: i0.ɵɵInjectableDeclaration<UsersApiService>;
1798
+ }
1799
+
1800
+ declare const APIS: (typeof AuthApiService | typeof PermissionsApiService | typeof RegionsApiService | typeof RepTerritoriesApiService | typeof RsdRegionsApiService | typeof UsersApiService)[];
1801
+
1802
+ declare const BASE_PATH: InjectionToken<string>;
1803
+ declare const COLLECTION_FORMATS: {
1804
+ csv: string;
1805
+ tsv: string;
1806
+ ssv: string;
1807
+ pipes: string;
1808
+ };
1809
+
1810
+ declare class ApiModule {
1811
+ static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
1812
+ constructor(parentModule: ApiModule, http: HttpClient);
1813
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
1814
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
1815
+ static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
1816
+ }
1817
+
1818
+ declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1819
+
1820
+ export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, PermissionsApiService, RegionLevel, RegionsApiService, RepTerritoriesApiService, RsdRegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
1821
+ export type { AddressDto, AuthApiServiceInterface, AuthAuthenticateRequestParams, AuthRefreshTokenRequestParams, CompanyInformationDto, ConfigurationParameters, ContactDto, CreateRsdRegionDto, DataFormat, DataType, EmailConfirmationTokenDto, ForgotPasswordCommand, Int32IdDto, LoginUserCommand, OffsetLimitListMetadata, PagedListMetadata, Param, ParamLocation, ParamStyle, PermissionDto, PermissionsApiServiceInterface, PhysicalAddressDto, RefreshTokenCommand, RegionsApiServiceInterface, RegionsSearchRegionsRequestParams, RepTerritoriesApiServiceInterface, RepTerritoriesCreateRepTerritoryRequestParams, RepTerritoriesGetRepTerritoryRequestParams, RepTerritoriesRemoveRepTerritoryRequestParams, RepTerritoriesSearchRsdTerritoriesRequestParams, RepTerritoriesUpdateRepTerritoryRequestParams, RepTerritoryContactsDto, RepTerritoryDto, RepTerritoryRepContactDto, ResetPasswordCommand, 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, UsersForgotPasswordRequestParams, UsersGetRepContacts0RequestParams, UsersRegisterUserRequestParams, UsersRequestConfirmEmailRequestParams, UsersResetPasswordRequestParams };