@saritasa/renewaire-frontend-sdk 0.1.0-dev.101 → 0.1.2
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/.openapi-generator/FILES +14 -14
- package/README.md +2 -2
- package/api/api.ts +6 -6
- package/api/{auth-api.service.ts → auth-api.ts} +20 -23
- package/api/{auth-api.serviceInterface.ts → auth-apiInterface.ts} +7 -7
- package/api/{users-api.service.ts → users-api.ts} +16 -16
- package/api/{users-api.serviceInterface.ts → users-apiInterface.ts} +8 -8
- package/configuration.ts +1 -1
- package/model/{email-confirmation-token-dto.dto.ts → email-confirmation-token-dto.ts} +1 -1
- package/model/{int32-id-dto.dto.ts → int32-id-dto.ts} +1 -1
- package/model/{login-user-command.dto.ts → login-user-command.ts} +1 -1
- package/model/models.ts +10 -10
- package/model/{physical-address-dto.dto.ts → physical-address-dto.ts} +1 -1
- package/model/{refresh-token-command.dto.ts → refresh-token-command.ts} +1 -1
- package/model/{token-model.dto.ts → token-model.ts} +1 -1
- package/model/{user-email-dto.dto.ts → user-email-dto.ts} +1 -1
- package/model/{user-preferences-dto.dto.ts → user-preferences-dto.ts} +1 -1
- package/model/{user-profile-dto.dto.ts → user-profile-dto.ts} +1 -1
- package/model/{user-registration-dto.dto.ts → user-registration-dto.ts} +9 -9
- package/package.json +18 -22
package/.openapi-generator/FILES
CHANGED
|
@@ -4,25 +4,25 @@ README.md
|
|
|
4
4
|
api.base.service.ts
|
|
5
5
|
api.module.ts
|
|
6
6
|
api/api.ts
|
|
7
|
-
api/auth-api.
|
|
8
|
-
api/auth-
|
|
9
|
-
api/users-api.
|
|
10
|
-
api/users-
|
|
7
|
+
api/auth-api.ts
|
|
8
|
+
api/auth-apiInterface.ts
|
|
9
|
+
api/users-api.ts
|
|
10
|
+
api/users-apiInterface.ts
|
|
11
11
|
configuration.ts
|
|
12
12
|
encoder.ts
|
|
13
13
|
git_push.sh
|
|
14
14
|
index.ts
|
|
15
|
-
model/email-confirmation-token-dto.
|
|
16
|
-
model/int32-id-dto.
|
|
17
|
-
model/login-user-command.
|
|
15
|
+
model/email-confirmation-token-dto.ts
|
|
16
|
+
model/int32-id-dto.ts
|
|
17
|
+
model/login-user-command.ts
|
|
18
18
|
model/models.ts
|
|
19
|
-
model/physical-address-dto.
|
|
20
|
-
model/refresh-token-command.
|
|
21
|
-
model/token-model.
|
|
22
|
-
model/user-email-dto.
|
|
23
|
-
model/user-preferences-dto.
|
|
24
|
-
model/user-profile-dto.
|
|
25
|
-
model/user-registration-dto.
|
|
19
|
+
model/physical-address-dto.ts
|
|
20
|
+
model/refresh-token-command.ts
|
|
21
|
+
model/token-model.ts
|
|
22
|
+
model/user-email-dto.ts
|
|
23
|
+
model/user-preferences-dto.ts
|
|
24
|
+
model/user-profile-dto.ts
|
|
25
|
+
model/user-registration-dto.ts
|
|
26
26
|
ng-package.json
|
|
27
27
|
package.json
|
|
28
28
|
param.ts
|
package/README.md
CHANGED
package/api/api.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./auth-api
|
|
2
|
-
import { AuthApiService } from "./auth-api
|
|
3
|
-
export * from "./auth-
|
|
4
|
-
export * from "./users-api
|
|
5
|
-
import { UsersApiService } from "./users-api
|
|
6
|
-
export * from "./users-
|
|
1
|
+
export * from "./auth-api";
|
|
2
|
+
import { AuthApiService } from "./auth-api";
|
|
3
|
+
export * from "./auth-apiInterface";
|
|
4
|
+
export * from "./users-api";
|
|
5
|
+
import { UsersApiService } from "./users-api";
|
|
6
|
+
export * from "./users-apiInterface";
|
|
7
7
|
export const APIS = [AuthApiService, UsersApiService];
|
|
@@ -23,11 +23,11 @@ import { CustomHttpParameterCodec } from "../encoder";
|
|
|
23
23
|
import { Observable } from "rxjs";
|
|
24
24
|
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import {
|
|
26
|
+
import { LoginUserCommand } from "../model/login-user-command";
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import {
|
|
28
|
+
import { RefreshTokenCommand } from "../model/refresh-token-command";
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import {
|
|
30
|
+
import { TokenModel } from "../model/token-model";
|
|
31
31
|
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
import { BASE_PATH, COLLECTION_FORMATS } from "../variables";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
AuthApiServiceInterface,
|
|
38
38
|
AuthAuthenticateRequestParams,
|
|
39
39
|
AuthRefreshTokenRequestParams,
|
|
40
|
-
} from "./auth-
|
|
40
|
+
} from "./auth-apiInterface";
|
|
41
41
|
|
|
42
42
|
@Injectable({
|
|
43
43
|
providedIn: "root",
|
|
@@ -69,7 +69,7 @@ export class AuthApiService
|
|
|
69
69
|
context?: HttpContext;
|
|
70
70
|
transferCache?: boolean;
|
|
71
71
|
},
|
|
72
|
-
): Observable<
|
|
72
|
+
): Observable<TokenModel>;
|
|
73
73
|
public authAuthenticate(
|
|
74
74
|
requestParameters: AuthAuthenticateRequestParams,
|
|
75
75
|
observe?: "response",
|
|
@@ -79,7 +79,7 @@ export class AuthApiService
|
|
|
79
79
|
context?: HttpContext;
|
|
80
80
|
transferCache?: boolean;
|
|
81
81
|
},
|
|
82
|
-
): Observable<HttpResponse<
|
|
82
|
+
): Observable<HttpResponse<TokenModel>>;
|
|
83
83
|
public authAuthenticate(
|
|
84
84
|
requestParameters: AuthAuthenticateRequestParams,
|
|
85
85
|
observe?: "events",
|
|
@@ -89,7 +89,7 @@ export class AuthApiService
|
|
|
89
89
|
context?: HttpContext;
|
|
90
90
|
transferCache?: boolean;
|
|
91
91
|
},
|
|
92
|
-
): Observable<HttpEvent<
|
|
92
|
+
): Observable<HttpEvent<TokenModel>>;
|
|
93
93
|
public authAuthenticate(
|
|
94
94
|
requestParameters: AuthAuthenticateRequestParams,
|
|
95
95
|
observe: any = "body",
|
|
@@ -100,10 +100,10 @@ export class AuthApiService
|
|
|
100
100
|
transferCache?: boolean;
|
|
101
101
|
},
|
|
102
102
|
): Observable<any> {
|
|
103
|
-
const
|
|
104
|
-
if (
|
|
103
|
+
const loginUserCommand = requestParameters?.loginUserCommand;
|
|
104
|
+
if (loginUserCommand === null || loginUserCommand === undefined) {
|
|
105
105
|
throw new Error(
|
|
106
|
-
"Required parameter
|
|
106
|
+
"Required parameter loginUserCommand was null or undefined when calling authAuthenticate.",
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -158,12 +158,12 @@ export class AuthApiService
|
|
|
158
158
|
|
|
159
159
|
let localVarPath = `/api/auth`;
|
|
160
160
|
const { basePath, withCredentials } = this.configuration;
|
|
161
|
-
return this.httpClient.request<
|
|
161
|
+
return this.httpClient.request<TokenModel>(
|
|
162
162
|
"post",
|
|
163
163
|
`${basePath}${localVarPath}`,
|
|
164
164
|
{
|
|
165
165
|
context: localVarHttpContext,
|
|
166
|
-
body:
|
|
166
|
+
body: loginUserCommand,
|
|
167
167
|
responseType: <any>responseType_,
|
|
168
168
|
...(withCredentials ? { withCredentials } : {}),
|
|
169
169
|
headers: localVarHeaders,
|
|
@@ -189,7 +189,7 @@ export class AuthApiService
|
|
|
189
189
|
context?: HttpContext;
|
|
190
190
|
transferCache?: boolean;
|
|
191
191
|
},
|
|
192
|
-
): Observable<
|
|
192
|
+
): Observable<TokenModel>;
|
|
193
193
|
public authRefreshToken(
|
|
194
194
|
requestParameters: AuthRefreshTokenRequestParams,
|
|
195
195
|
observe?: "response",
|
|
@@ -199,7 +199,7 @@ export class AuthApiService
|
|
|
199
199
|
context?: HttpContext;
|
|
200
200
|
transferCache?: boolean;
|
|
201
201
|
},
|
|
202
|
-
): Observable<HttpResponse<
|
|
202
|
+
): Observable<HttpResponse<TokenModel>>;
|
|
203
203
|
public authRefreshToken(
|
|
204
204
|
requestParameters: AuthRefreshTokenRequestParams,
|
|
205
205
|
observe?: "events",
|
|
@@ -209,7 +209,7 @@ export class AuthApiService
|
|
|
209
209
|
context?: HttpContext;
|
|
210
210
|
transferCache?: boolean;
|
|
211
211
|
},
|
|
212
|
-
): Observable<HttpEvent<
|
|
212
|
+
): Observable<HttpEvent<TokenModel>>;
|
|
213
213
|
public authRefreshToken(
|
|
214
214
|
requestParameters: AuthRefreshTokenRequestParams,
|
|
215
215
|
observe: any = "body",
|
|
@@ -220,13 +220,10 @@ export class AuthApiService
|
|
|
220
220
|
transferCache?: boolean;
|
|
221
221
|
},
|
|
222
222
|
): Observable<any> {
|
|
223
|
-
const
|
|
224
|
-
if (
|
|
225
|
-
refreshTokenCommandDto === null ||
|
|
226
|
-
refreshTokenCommandDto === undefined
|
|
227
|
-
) {
|
|
223
|
+
const refreshTokenCommand = requestParameters?.refreshTokenCommand;
|
|
224
|
+
if (refreshTokenCommand === null || refreshTokenCommand === undefined) {
|
|
228
225
|
throw new Error(
|
|
229
|
-
"Required parameter
|
|
226
|
+
"Required parameter refreshTokenCommand was null or undefined when calling authRefreshToken.",
|
|
230
227
|
);
|
|
231
228
|
}
|
|
232
229
|
|
|
@@ -281,12 +278,12 @@ export class AuthApiService
|
|
|
281
278
|
|
|
282
279
|
let localVarPath = `/api/auth`;
|
|
283
280
|
const { basePath, withCredentials } = this.configuration;
|
|
284
|
-
return this.httpClient.request<
|
|
281
|
+
return this.httpClient.request<TokenModel>(
|
|
285
282
|
"put",
|
|
286
283
|
`${basePath}${localVarPath}`,
|
|
287
284
|
{
|
|
288
285
|
context: localVarHttpContext,
|
|
289
|
-
body:
|
|
286
|
+
body: refreshTokenCommand,
|
|
290
287
|
responseType: <any>responseType_,
|
|
291
288
|
...(withCredentials ? { withCredentials } : {}),
|
|
292
289
|
headers: localVarHeaders,
|
|
@@ -11,18 +11,18 @@ import { HttpHeaders } from "@angular/common/http";
|
|
|
11
11
|
|
|
12
12
|
import { Observable } from "rxjs";
|
|
13
13
|
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { LoginUserCommand } from "../model/models";
|
|
15
|
+
import { RefreshTokenCommand } from "../model/models";
|
|
16
|
+
import { TokenModel } from "../model/models";
|
|
17
17
|
|
|
18
18
|
import { Configuration } from "../configuration";
|
|
19
19
|
|
|
20
20
|
export interface AuthAuthenticateRequestParams {
|
|
21
|
-
|
|
21
|
+
loginUserCommand: LoginUserCommand;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export interface AuthRefreshTokenRequestParams {
|
|
25
|
-
|
|
25
|
+
refreshTokenCommand: RefreshTokenCommand;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export interface AuthApiServiceInterface {
|
|
@@ -37,7 +37,7 @@ export interface AuthApiServiceInterface {
|
|
|
37
37
|
authAuthenticate(
|
|
38
38
|
requestParameters: AuthAuthenticateRequestParams,
|
|
39
39
|
extraHttpRequestParams?: any,
|
|
40
|
-
): Observable<
|
|
40
|
+
): Observable<TokenModel>;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Get new token by refresh token.
|
|
@@ -47,5 +47,5 @@ export interface AuthApiServiceInterface {
|
|
|
47
47
|
authRefreshToken(
|
|
48
48
|
requestParameters: AuthRefreshTokenRequestParams,
|
|
49
49
|
extraHttpRequestParams?: any,
|
|
50
|
-
): Observable<
|
|
50
|
+
): Observable<TokenModel>;
|
|
51
51
|
}
|
|
@@ -23,13 +23,13 @@ import { CustomHttpParameterCodec } from "../encoder";
|
|
|
23
23
|
import { Observable } from "rxjs";
|
|
24
24
|
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import {
|
|
26
|
+
import { EmailConfirmationTokenDto } from "../model/email-confirmation-token-dto";
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import {
|
|
28
|
+
import { Int32IdDto } from "../model/int32-id-dto";
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import {
|
|
30
|
+
import { UserEmailDto } from "../model/user-email-dto";
|
|
31
31
|
// @ts-ignore
|
|
32
|
-
import {
|
|
32
|
+
import { UserRegistrationDto } from "../model/user-registration-dto";
|
|
33
33
|
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
import { BASE_PATH, COLLECTION_FORMATS } from "../variables";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
UsersConfirmEmailRequestParams,
|
|
41
41
|
UsersRegisterUserRequestParams,
|
|
42
42
|
UsersRequestConfirmEmailRequestParams,
|
|
43
|
-
} from "./users-
|
|
43
|
+
} from "./users-apiInterface";
|
|
44
44
|
|
|
45
45
|
@Injectable({
|
|
46
46
|
providedIn: "root",
|
|
@@ -103,8 +103,8 @@ export class UsersApiService
|
|
|
103
103
|
transferCache?: boolean;
|
|
104
104
|
},
|
|
105
105
|
): Observable<any> {
|
|
106
|
-
const
|
|
107
|
-
requestParameters?.
|
|
106
|
+
const emailConfirmationTokenDto =
|
|
107
|
+
requestParameters?.emailConfirmationTokenDto;
|
|
108
108
|
|
|
109
109
|
let localVarHeaders = this.defaultHeaders;
|
|
110
110
|
|
|
@@ -154,7 +154,7 @@ export class UsersApiService
|
|
|
154
154
|
const { basePath, withCredentials } = this.configuration;
|
|
155
155
|
return this.httpClient.request<any>("post", `${basePath}${localVarPath}`, {
|
|
156
156
|
context: localVarHttpContext,
|
|
157
|
-
body:
|
|
157
|
+
body: emailConfirmationTokenDto,
|
|
158
158
|
responseType: <any>responseType_,
|
|
159
159
|
...(withCredentials ? { withCredentials } : {}),
|
|
160
160
|
headers: localVarHeaders,
|
|
@@ -179,7 +179,7 @@ export class UsersApiService
|
|
|
179
179
|
context?: HttpContext;
|
|
180
180
|
transferCache?: boolean;
|
|
181
181
|
},
|
|
182
|
-
): Observable<
|
|
182
|
+
): Observable<Int32IdDto>;
|
|
183
183
|
public usersRegisterUser(
|
|
184
184
|
requestParameters?: UsersRegisterUserRequestParams,
|
|
185
185
|
observe?: "response",
|
|
@@ -189,7 +189,7 @@ export class UsersApiService
|
|
|
189
189
|
context?: HttpContext;
|
|
190
190
|
transferCache?: boolean;
|
|
191
191
|
},
|
|
192
|
-
): Observable<HttpResponse<
|
|
192
|
+
): Observable<HttpResponse<Int32IdDto>>;
|
|
193
193
|
public usersRegisterUser(
|
|
194
194
|
requestParameters?: UsersRegisterUserRequestParams,
|
|
195
195
|
observe?: "events",
|
|
@@ -199,7 +199,7 @@ export class UsersApiService
|
|
|
199
199
|
context?: HttpContext;
|
|
200
200
|
transferCache?: boolean;
|
|
201
201
|
},
|
|
202
|
-
): Observable<HttpEvent<
|
|
202
|
+
): Observable<HttpEvent<Int32IdDto>>;
|
|
203
203
|
public usersRegisterUser(
|
|
204
204
|
requestParameters?: UsersRegisterUserRequestParams,
|
|
205
205
|
observe: any = "body",
|
|
@@ -210,7 +210,7 @@ export class UsersApiService
|
|
|
210
210
|
transferCache?: boolean;
|
|
211
211
|
},
|
|
212
212
|
): Observable<any> {
|
|
213
|
-
const
|
|
213
|
+
const userRegistrationDto = requestParameters?.userRegistrationDto;
|
|
214
214
|
|
|
215
215
|
let localVarHeaders = this.defaultHeaders;
|
|
216
216
|
|
|
@@ -263,12 +263,12 @@ export class UsersApiService
|
|
|
263
263
|
|
|
264
264
|
let localVarPath = `/api/users`;
|
|
265
265
|
const { basePath, withCredentials } = this.configuration;
|
|
266
|
-
return this.httpClient.request<
|
|
266
|
+
return this.httpClient.request<Int32IdDto>(
|
|
267
267
|
"post",
|
|
268
268
|
`${basePath}${localVarPath}`,
|
|
269
269
|
{
|
|
270
270
|
context: localVarHttpContext,
|
|
271
|
-
body:
|
|
271
|
+
body: userRegistrationDto,
|
|
272
272
|
responseType: <any>responseType_,
|
|
273
273
|
...(withCredentials ? { withCredentials } : {}),
|
|
274
274
|
headers: localVarHeaders,
|
|
@@ -325,7 +325,7 @@ export class UsersApiService
|
|
|
325
325
|
transferCache?: boolean;
|
|
326
326
|
},
|
|
327
327
|
): Observable<any> {
|
|
328
|
-
const
|
|
328
|
+
const userEmailDto = requestParameters?.userEmailDto;
|
|
329
329
|
|
|
330
330
|
let localVarHeaders = this.defaultHeaders;
|
|
331
331
|
|
|
@@ -375,7 +375,7 @@ export class UsersApiService
|
|
|
375
375
|
const { basePath, withCredentials } = this.configuration;
|
|
376
376
|
return this.httpClient.request<any>("put", `${basePath}${localVarPath}`, {
|
|
377
377
|
context: localVarHttpContext,
|
|
378
|
-
body:
|
|
378
|
+
body: userEmailDto,
|
|
379
379
|
responseType: <any>responseType_,
|
|
380
380
|
...(withCredentials ? { withCredentials } : {}),
|
|
381
381
|
headers: localVarHeaders,
|
|
@@ -11,23 +11,23 @@ import { HttpHeaders } from "@angular/common/http";
|
|
|
11
11
|
|
|
12
12
|
import { Observable } from "rxjs";
|
|
13
13
|
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
14
|
+
import { EmailConfirmationTokenDto } from "../model/models";
|
|
15
|
+
import { Int32IdDto } from "../model/models";
|
|
16
|
+
import { UserEmailDto } from "../model/models";
|
|
17
|
+
import { UserRegistrationDto } from "../model/models";
|
|
18
18
|
|
|
19
19
|
import { Configuration } from "../configuration";
|
|
20
20
|
|
|
21
21
|
export interface UsersConfirmEmailRequestParams {
|
|
22
|
-
|
|
22
|
+
emailConfirmationTokenDto?: EmailConfirmationTokenDto;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export interface UsersRegisterUserRequestParams {
|
|
26
|
-
|
|
26
|
+
userRegistrationDto?: UserRegistrationDto;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export interface UsersRequestConfirmEmailRequestParams {
|
|
30
|
-
|
|
30
|
+
userEmailDto?: UserEmailDto;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export interface UsersApiServiceInterface {
|
|
@@ -52,7 +52,7 @@ export interface UsersApiServiceInterface {
|
|
|
52
52
|
usersRegisterUser(
|
|
53
53
|
requestParameters: UsersRegisterUserRequestParams,
|
|
54
54
|
extraHttpRequestParams?: any,
|
|
55
|
-
): Observable<
|
|
55
|
+
): Observable<Int32IdDto>;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* Request email confirmation and begin registration. This endpoint sends verification email to a given address.
|
package/configuration.ts
CHANGED
|
@@ -166,7 +166,7 @@ export class Configuration {
|
|
|
166
166
|
*/
|
|
167
167
|
public isJsonMime(mime: string): boolean {
|
|
168
168
|
const jsonMime: RegExp = new RegExp(
|
|
169
|
-
"^(application
|
|
169
|
+
"^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$",
|
|
170
170
|
"i",
|
|
171
171
|
);
|
|
172
172
|
return (
|
package/model/models.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from "./email-confirmation-token-dto
|
|
2
|
-
export * from "./int32-id-dto
|
|
3
|
-
export * from "./login-user-command
|
|
4
|
-
export * from "./physical-address-dto
|
|
5
|
-
export * from "./refresh-token-command
|
|
6
|
-
export * from "./token-model
|
|
7
|
-
export * from "./user-email-dto
|
|
8
|
-
export * from "./user-preferences-dto
|
|
9
|
-
export * from "./user-profile-dto
|
|
10
|
-
export * from "./user-registration-dto
|
|
1
|
+
export * from "./email-confirmation-token-dto";
|
|
2
|
+
export * from "./int32-id-dto";
|
|
3
|
+
export * from "./login-user-command";
|
|
4
|
+
export * from "./physical-address-dto";
|
|
5
|
+
export * from "./refresh-token-command";
|
|
6
|
+
export * from "./token-model";
|
|
7
|
+
export * from "./user-email-dto";
|
|
8
|
+
export * from "./user-preferences-dto";
|
|
9
|
+
export * from "./user-profile-dto";
|
|
10
|
+
export * from "./user-registration-dto";
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
10
|
+
import { UserProfileDto } from "./user-profile-dto";
|
|
11
|
+
import { PhysicalAddressDto } from "./physical-address-dto";
|
|
12
|
+
import { EmailConfirmationTokenDto } from "./email-confirmation-token-dto";
|
|
13
|
+
import { UserPreferencesDto } from "./user-preferences-dto";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* User registration DTO.
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface UserRegistrationDto {
|
|
19
19
|
/**
|
|
20
20
|
* Email address and confirmation token.
|
|
21
21
|
*/
|
|
22
|
-
emailToken:
|
|
22
|
+
emailToken: EmailConfirmationTokenDto;
|
|
23
23
|
/**
|
|
24
24
|
* Password.
|
|
25
25
|
*/
|
|
@@ -27,13 +27,13 @@ export interface UserRegistrationDtoDto {
|
|
|
27
27
|
/**
|
|
28
28
|
* User profile information.
|
|
29
29
|
*/
|
|
30
|
-
profile:
|
|
30
|
+
profile: UserProfileDto;
|
|
31
31
|
/**
|
|
32
32
|
* Physical address.
|
|
33
33
|
*/
|
|
34
|
-
address:
|
|
34
|
+
address: PhysicalAddressDto;
|
|
35
35
|
/**
|
|
36
36
|
* Preferences.
|
|
37
37
|
*/
|
|
38
|
-
preferences:
|
|
38
|
+
preferences: UserPreferencesDto;
|
|
39
39
|
}
|
package/package.json
CHANGED
|
@@ -1,38 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saritasa/renewaire-frontend-sdk",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "OpenAPI client for @saritasa/renewaire-frontend-sdk",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/renewaire-frontend-sdk(for version 0.1.0-dev.101+Branch.develop.Sha.43fa6c039fab5669101a991bb9a33aa8b45fbe0d.43fa6c039fab5669101a991bb9a33aa8b45fbe0d)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/saritasa-nest/renewaire-frontend-sdk.git"
|
|
8
|
+
"url": "git+https://github.com/saritasa-nest/renewaire-frontend-sdk.git"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
|
-
"axios",
|
|
12
|
-
"typescript",
|
|
13
11
|
"openapi-client",
|
|
14
|
-
"openapi-generator"
|
|
15
|
-
"@saritasa/renewaire-frontend-sdk"
|
|
12
|
+
"openapi-generator"
|
|
16
13
|
],
|
|
17
14
|
"license": "Unlicense",
|
|
18
|
-
"main": "./dist/index.js",
|
|
19
|
-
"typings": "./dist/index.d.ts",
|
|
20
15
|
"scripts": {
|
|
21
|
-
"build": "
|
|
22
|
-
"prepare": "npm run build"
|
|
16
|
+
"build": "ng-packagr -p ng-package.json"
|
|
23
17
|
},
|
|
24
|
-
"
|
|
25
|
-
"@angular/
|
|
26
|
-
"
|
|
27
|
-
"@angular/core": "20.0.0",
|
|
28
|
-
"@angular/platform-browser": "20.0.0",
|
|
29
|
-
"@angular/platform-browser-dynamic": "20.0.0"
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"@angular/core": "^20.0.0",
|
|
20
|
+
"rxjs": "^7.4.0"
|
|
30
21
|
},
|
|
31
22
|
"devDependencies": {
|
|
32
|
-
"@angular/
|
|
33
|
-
"@angular/
|
|
34
|
-
"@angular/compiler-cli": "20.0.0",
|
|
35
|
-
"@
|
|
36
|
-
"
|
|
23
|
+
"@angular/common": "^20.0.0",
|
|
24
|
+
"@angular/compiler": "^20.0.0",
|
|
25
|
+
"@angular/compiler-cli": "^20.0.0",
|
|
26
|
+
"@angular/core": "^20.0.0",
|
|
27
|
+
"@angular/platform-browser": "^20.0.0",
|
|
28
|
+
"ng-packagr": "^20.0.0",
|
|
29
|
+
"reflect-metadata": "^0.1.3",
|
|
30
|
+
"rxjs": "^7.4.0",
|
|
31
|
+
"typescript": "5",
|
|
32
|
+
"zone.js": "^0.15.0"
|
|
37
33
|
}
|
|
38
34
|
}
|