@lcdp/api-react-rest-client 3.1.6 → 3.1.7-LDS-784-probleme-de-securite-critique-ex.23791006920
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/auth/src/apis/AuthApi.d.ts +1 -14
- package/auth/src/apis/AuthApi.js +8 -88
- package/auth/src/models/AnyAuthenticationCredential.d.ts +0 -3
- package/auth/src/models/AnyAuthenticationCredential.js +0 -5
- package/auth/src/models/index.d.ts +0 -6
- package/auth/src/models/index.js +0 -6
- package/package.json +1 -1
- package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +2 -0
- package/third-party/src/models/ThirdPartyLinkCreationParameters.js +3 -1
- package/auth/src/models/AnonymousUser.d.ts +0 -43
- package/auth/src/models/AnonymousUser.js +0 -55
- package/auth/src/models/AnyUser.d.ts +0 -26
- package/auth/src/models/AnyUser.js +0 -50
- package/auth/src/models/DisposableCredential.d.ts +0 -37
- package/auth/src/models/DisposableCredential.js +0 -51
- package/auth/src/models/DisposableTokenCreationParameters.d.ts +0 -31
- package/auth/src/models/DisposableTokenCreationParameters.js +0 -45
- package/auth/src/models/IdentifiedUser.d.ts +0 -37
- package/auth/src/models/IdentifiedUser.js +0 -51
- package/auth/src/models/User.d.ts +0 -31
- package/auth/src/models/User.js +0 -47
|
@@ -10,10 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AnyAuthenticationCredential,
|
|
14
|
-
export interface CreateDisposableTokenRequest {
|
|
15
|
-
disposableTokenCreationParameters: DisposableTokenCreationParameters;
|
|
16
|
-
}
|
|
13
|
+
import type { AnyAuthenticationCredential, Session } from '../models/index';
|
|
17
14
|
export interface LoginRequest {
|
|
18
15
|
anyAuthenticationCredential: AnyAuthenticationCredential;
|
|
19
16
|
}
|
|
@@ -21,16 +18,6 @@ export interface LoginRequest {
|
|
|
21
18
|
*
|
|
22
19
|
*/
|
|
23
20
|
export declare class AuthApi extends runtime.BaseAPI {
|
|
24
|
-
/**
|
|
25
|
-
* Create a disposable token that could be used on \"/tokens\" route in order to authenticate a user
|
|
26
|
-
* Create disposable token
|
|
27
|
-
*/
|
|
28
|
-
createDisposableTokenRaw(requestParameters: CreateDisposableTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string | runtime.BlobWithMeta>>;
|
|
29
|
-
/**
|
|
30
|
-
* Create a disposable token that could be used on \"/tokens\" route in order to authenticate a user
|
|
31
|
-
* Create disposable token
|
|
32
|
-
*/
|
|
33
|
-
createDisposableToken(requestParameters: CreateDisposableTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string | runtime.BlobWithMeta>;
|
|
34
21
|
/**
|
|
35
22
|
* Create a new session with credentials given in request body.
|
|
36
23
|
* Create a new session
|
package/auth/src/apis/AuthApi.js
CHANGED
|
@@ -75,93 +75,13 @@ var AuthApi = /** @class */ (function (_super) {
|
|
|
75
75
|
function AuthApi() {
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Create a disposable token that could be used on \"/tokens\" route in order to authenticate a user
|
|
80
|
-
* Create disposable token
|
|
81
|
-
*/
|
|
82
|
-
AuthApi.prototype.createDisposableTokenRaw = function (requestParameters, initOverrides) {
|
|
83
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, token, tokenString, response, contentType, response_1;
|
|
85
|
-
return __generator(this, function (_a) {
|
|
86
|
-
switch (_a.label) {
|
|
87
|
-
case 0:
|
|
88
|
-
if (requestParameters['disposableTokenCreationParameters'] == null) {
|
|
89
|
-
throw new runtime.RequiredError('disposableTokenCreationParameters', 'Required parameter "disposableTokenCreationParameters" was null or undefined when calling createDisposableToken().');
|
|
90
|
-
}
|
|
91
|
-
queryParameters = {};
|
|
92
|
-
headerParameters = {};
|
|
93
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
94
|
-
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
95
|
-
token = this.configuration.accessToken;
|
|
96
|
-
return [4 /*yield*/, token("bearerAuth", [])];
|
|
97
|
-
case 1:
|
|
98
|
-
tokenString = _a.sent();
|
|
99
|
-
if (tokenString) {
|
|
100
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
101
|
-
}
|
|
102
|
-
_a.label = 2;
|
|
103
|
-
case 2:
|
|
104
|
-
_a.trys.push([2, 4, , 5]);
|
|
105
|
-
return [4 /*yield*/, this.request({
|
|
106
|
-
path: "/disposable-tokens",
|
|
107
|
-
method: 'POST',
|
|
108
|
-
headers: headerParameters,
|
|
109
|
-
query: queryParameters,
|
|
110
|
-
body: (0, index_1.DisposableTokenCreationParametersToJSON)(requestParameters['disposableTokenCreationParameters']),
|
|
111
|
-
}, initOverrides)];
|
|
112
|
-
case 3:
|
|
113
|
-
response = _a.sent();
|
|
114
|
-
contentType = response.headers.get("content-type");
|
|
115
|
-
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
116
|
-
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
117
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
124
|
-
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
// TODO : Better handling of others application types
|
|
128
|
-
return [2 /*return*/, new runtime.BlobWithMetaApiResponse(response)];
|
|
129
|
-
}
|
|
130
|
-
return [3 /*break*/, 5];
|
|
131
|
-
case 4:
|
|
132
|
-
response_1 = _a.sent();
|
|
133
|
-
console.debug(response_1);
|
|
134
|
-
throw response_1;
|
|
135
|
-
case 5: return [2 /*return*/];
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
});
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* Create a disposable token that could be used on \"/tokens\" route in order to authenticate a user
|
|
142
|
-
* Create disposable token
|
|
143
|
-
*/
|
|
144
|
-
AuthApi.prototype.createDisposableToken = function (requestParameters, initOverrides) {
|
|
145
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
146
|
-
var response;
|
|
147
|
-
return __generator(this, function (_a) {
|
|
148
|
-
switch (_a.label) {
|
|
149
|
-
case 0: return [4 /*yield*/, this.createDisposableTokenRaw(requestParameters, initOverrides)];
|
|
150
|
-
case 1:
|
|
151
|
-
response = _a.sent();
|
|
152
|
-
return [4 /*yield*/, response.value()];
|
|
153
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
});
|
|
157
|
-
};
|
|
158
78
|
/**
|
|
159
79
|
* Create a new session with credentials given in request body.
|
|
160
80
|
* Create a new session
|
|
161
81
|
*/
|
|
162
82
|
AuthApi.prototype.loginRaw = function (requestParameters, initOverrides) {
|
|
163
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
164
|
-
var queryParameters, headerParameters, response, contentType,
|
|
84
|
+
var queryParameters, headerParameters, response, contentType, response_1;
|
|
165
85
|
return __generator(this, function (_a) {
|
|
166
86
|
switch (_a.label) {
|
|
167
87
|
case 0:
|
|
@@ -196,9 +116,9 @@ var AuthApi = /** @class */ (function (_super) {
|
|
|
196
116
|
}
|
|
197
117
|
return [3 /*break*/, 4];
|
|
198
118
|
case 3:
|
|
199
|
-
|
|
200
|
-
console.debug(
|
|
201
|
-
throw
|
|
119
|
+
response_1 = _a.sent();
|
|
120
|
+
console.debug(response_1);
|
|
121
|
+
throw response_1;
|
|
202
122
|
case 4: return [2 /*return*/];
|
|
203
123
|
}
|
|
204
124
|
});
|
|
@@ -228,7 +148,7 @@ var AuthApi = /** @class */ (function (_super) {
|
|
|
228
148
|
*/
|
|
229
149
|
AuthApi.prototype.logoutRaw = function (initOverrides) {
|
|
230
150
|
return __awaiter(this, void 0, void 0, function () {
|
|
231
|
-
var queryParameters, headerParameters, token, tokenString, response,
|
|
151
|
+
var queryParameters, headerParameters, token, tokenString, response, response_2;
|
|
232
152
|
return __generator(this, function (_a) {
|
|
233
153
|
switch (_a.label) {
|
|
234
154
|
case 0:
|
|
@@ -255,9 +175,9 @@ var AuthApi = /** @class */ (function (_super) {
|
|
|
255
175
|
response = _a.sent();
|
|
256
176
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
257
177
|
case 4:
|
|
258
|
-
|
|
259
|
-
console.debug(
|
|
260
|
-
throw
|
|
178
|
+
response_2 = _a.sent();
|
|
179
|
+
console.debug(response_2);
|
|
180
|
+
throw response_2;
|
|
261
181
|
case 5: return [2 /*return*/];
|
|
262
182
|
}
|
|
263
183
|
});
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ApiKeyCredential } from './ApiKeyCredential';
|
|
13
|
-
import type { DisposableCredential } from './DisposableCredential';
|
|
14
13
|
import type { LoginCredential } from './LoginCredential';
|
|
15
14
|
import type { RefreshCredential } from './RefreshCredential';
|
|
16
15
|
/**
|
|
@@ -21,8 +20,6 @@ import type { RefreshCredential } from './RefreshCredential';
|
|
|
21
20
|
export declare type AnyAuthenticationCredential = {
|
|
22
21
|
grantType: 'api_key';
|
|
23
22
|
} & ApiKeyCredential | {
|
|
24
|
-
grantType: 'disposable_token';
|
|
25
|
-
} & DisposableCredential | {
|
|
26
23
|
grantType: 'password';
|
|
27
24
|
} & LoginCredential | {
|
|
28
25
|
grantType: 'refresh_token';
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AnyAuthenticationCredentialToJSON = exports.AnyAuthenticationCredentialFromJSONTyped = exports.AnyAuthenticationCredentialFromJSON = void 0;
|
|
17
17
|
var ApiKeyCredential_1 = require("./ApiKeyCredential");
|
|
18
|
-
var DisposableCredential_1 = require("./DisposableCredential");
|
|
19
18
|
var LoginCredential_1 = require("./LoginCredential");
|
|
20
19
|
var RefreshCredential_1 = require("./RefreshCredential");
|
|
21
20
|
function AnyAuthenticationCredentialFromJSON(json) {
|
|
@@ -29,8 +28,6 @@ function AnyAuthenticationCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
28
|
switch (json['grantType']) {
|
|
30
29
|
case 'api_key':
|
|
31
30
|
return Object.assign({}, (0, ApiKeyCredential_1.ApiKeyCredentialFromJSONTyped)(json, true), { grantType: 'api_key' });
|
|
32
|
-
case 'disposable_token':
|
|
33
|
-
return Object.assign({}, (0, DisposableCredential_1.DisposableCredentialFromJSONTyped)(json, true), { grantType: 'disposable_token' });
|
|
34
31
|
case 'password':
|
|
35
32
|
return Object.assign({}, (0, LoginCredential_1.LoginCredentialFromJSONTyped)(json, true), { grantType: 'password' });
|
|
36
33
|
case 'refresh_token':
|
|
@@ -47,8 +44,6 @@ function AnyAuthenticationCredentialToJSON(value) {
|
|
|
47
44
|
switch (value['grantType']) {
|
|
48
45
|
case 'api_key':
|
|
49
46
|
return (0, ApiKeyCredential_1.ApiKeyCredentialToJSON)(value);
|
|
50
|
-
case 'disposable_token':
|
|
51
|
-
return (0, DisposableCredential_1.DisposableCredentialToJSON)(value);
|
|
52
47
|
case 'password':
|
|
53
48
|
return (0, LoginCredential_1.LoginCredentialToJSON)(value);
|
|
54
49
|
case 'refresh_token':
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
export * from './AnonymousUser';
|
|
2
1
|
export * from './AnyAuthenticationCredential';
|
|
3
|
-
export * from './AnyUser';
|
|
4
2
|
export * from './ApiKey';
|
|
5
3
|
export * from './ApiKeyCreationParameters';
|
|
6
4
|
export * from './ApiKeyCredential';
|
|
7
5
|
export * from './AuthenticationCredential';
|
|
8
|
-
export * from './DisposableCredential';
|
|
9
|
-
export * from './DisposableTokenCreationParameters';
|
|
10
6
|
export * from './HttpLink';
|
|
11
|
-
export * from './IdentifiedUser';
|
|
12
7
|
export * from './LoginCredential';
|
|
13
8
|
export * from './PaginatedApiKeys';
|
|
14
9
|
export * from './PaginatedObject';
|
|
@@ -17,6 +12,5 @@ export * from './RefreshCredential';
|
|
|
17
12
|
export * from './RestError';
|
|
18
13
|
export * from './RevealedApiKey';
|
|
19
14
|
export * from './Session';
|
|
20
|
-
export * from './User';
|
|
21
15
|
export * from './UserLink';
|
|
22
16
|
export * from './UserLinkAllOfCompany';
|
package/auth/src/models/index.js
CHANGED
|
@@ -16,17 +16,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
-
__exportStar(require("./AnonymousUser"), exports);
|
|
20
19
|
__exportStar(require("./AnyAuthenticationCredential"), exports);
|
|
21
|
-
__exportStar(require("./AnyUser"), exports);
|
|
22
20
|
__exportStar(require("./ApiKey"), exports);
|
|
23
21
|
__exportStar(require("./ApiKeyCreationParameters"), exports);
|
|
24
22
|
__exportStar(require("./ApiKeyCredential"), exports);
|
|
25
23
|
__exportStar(require("./AuthenticationCredential"), exports);
|
|
26
|
-
__exportStar(require("./DisposableCredential"), exports);
|
|
27
|
-
__exportStar(require("./DisposableTokenCreationParameters"), exports);
|
|
28
24
|
__exportStar(require("./HttpLink"), exports);
|
|
29
|
-
__exportStar(require("./IdentifiedUser"), exports);
|
|
30
25
|
__exportStar(require("./LoginCredential"), exports);
|
|
31
26
|
__exportStar(require("./PaginatedApiKeys"), exports);
|
|
32
27
|
__exportStar(require("./PaginatedObject"), exports);
|
|
@@ -35,6 +30,5 @@ __exportStar(require("./RefreshCredential"), exports);
|
|
|
35
30
|
__exportStar(require("./RestError"), exports);
|
|
36
31
|
__exportStar(require("./RevealedApiKey"), exports);
|
|
37
32
|
__exportStar(require("./Session"), exports);
|
|
38
|
-
__exportStar(require("./User"), exports);
|
|
39
33
|
__exportStar(require("./UserLink"), exports);
|
|
40
34
|
__exportStar(require("./UserLinkAllOfCompany"), exports);
|
package/package.json
CHANGED
|
@@ -38,6 +38,8 @@ export declare const ThirdPartyLinkCreationParametersSlugEnum: {
|
|
|
38
38
|
readonly SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE: "SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE";
|
|
39
39
|
readonly SUBSCRIPTIONS_USER_PORTAL: "SUBSCRIPTIONS_USER_PORTAL";
|
|
40
40
|
readonly PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE: "PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE";
|
|
41
|
+
readonly PHARMAIDE_SALES_MONITORING_DASHBOARD: "PHARMAIDE_SALES_MONITORING_DASHBOARD";
|
|
42
|
+
readonly PHARMAIDE_PURCHASES_MONITORING_DASHBOARD: "PHARMAIDE_PURCHASES_MONITORING_DASHBOARD";
|
|
41
43
|
};
|
|
42
44
|
export declare type ThirdPartyLinkCreationParametersSlugEnum = typeof ThirdPartyLinkCreationParametersSlugEnum[keyof typeof ThirdPartyLinkCreationParametersSlugEnum];
|
|
43
45
|
/**
|
|
@@ -23,7 +23,9 @@ exports.ThirdPartyLinkCreationParametersSlugEnum = {
|
|
|
23
23
|
SUBSCRIPTIONS_PHARMAIDE_USER_PRICING_PAGE: 'SUBSCRIPTIONS_PHARMAIDE_USER_PRICING_PAGE',
|
|
24
24
|
SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE: 'SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE',
|
|
25
25
|
SUBSCRIPTIONS_USER_PORTAL: 'SUBSCRIPTIONS_USER_PORTAL',
|
|
26
|
-
PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE: 'PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE'
|
|
26
|
+
PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE: 'PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE',
|
|
27
|
+
PHARMAIDE_SALES_MONITORING_DASHBOARD: 'PHARMAIDE_SALES_MONITORING_DASHBOARD',
|
|
28
|
+
PHARMAIDE_PURCHASES_MONITORING_DASHBOARD: 'PHARMAIDE_PURCHASES_MONITORING_DASHBOARD'
|
|
27
29
|
};
|
|
28
30
|
/**
|
|
29
31
|
* Check if a given object implements the ThirdPartyLinkCreationParameters interface.
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP products
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AnonymousUser
|
|
16
|
-
*/
|
|
17
|
-
export interface AnonymousUser {
|
|
18
|
-
/**
|
|
19
|
-
* Type of user
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AnonymousUser
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
/**
|
|
25
|
-
* User email
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AnonymousUser
|
|
28
|
-
*/
|
|
29
|
-
email: string;
|
|
30
|
-
/**
|
|
31
|
-
* CIP of user pharma
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AnonymousUser
|
|
34
|
-
*/
|
|
35
|
-
cipPharma: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the AnonymousUser interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfAnonymousUser(value: object): value is AnonymousUser;
|
|
41
|
-
export declare function AnonymousUserFromJSON(json: any): AnonymousUser;
|
|
42
|
-
export declare function AnonymousUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnonymousUser;
|
|
43
|
-
export declare function AnonymousUserToJSON(value?: AnonymousUser | null): any;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP products
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.AnonymousUserToJSON = exports.AnonymousUserFromJSONTyped = exports.AnonymousUserFromJSON = exports.instanceOfAnonymousUser = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the AnonymousUser interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfAnonymousUser(value) {
|
|
21
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('cipPharma' in value) || value['cipPharma'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfAnonymousUser = instanceOfAnonymousUser;
|
|
30
|
-
function AnonymousUserFromJSON(json) {
|
|
31
|
-
return AnonymousUserFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.AnonymousUserFromJSON = AnonymousUserFromJSON;
|
|
34
|
-
function AnonymousUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'type': json['type'],
|
|
40
|
-
'email': json['email'],
|
|
41
|
-
'cipPharma': json['cipPharma'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.AnonymousUserFromJSONTyped = AnonymousUserFromJSONTyped;
|
|
45
|
-
function AnonymousUserToJSON(value) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'type': value['type'],
|
|
51
|
-
'email': value['email'],
|
|
52
|
-
'cipPharma': value['cipPharma'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.AnonymousUserToJSON = AnonymousUserToJSON;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP products
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { AnonymousUser } from './AnonymousUser';
|
|
13
|
-
import type { IdentifiedUser } from './IdentifiedUser';
|
|
14
|
-
/**
|
|
15
|
-
* @type AnyUser
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export declare type AnyUser = {
|
|
20
|
-
type: 'ANONYMOUS';
|
|
21
|
-
} & AnonymousUser | {
|
|
22
|
-
type: 'IDENTIFIED';
|
|
23
|
-
} & IdentifiedUser;
|
|
24
|
-
export declare function AnyUserFromJSON(json: any): AnyUser;
|
|
25
|
-
export declare function AnyUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnyUser;
|
|
26
|
-
export declare function AnyUserToJSON(value?: AnyUser | null): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP products
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.AnyUserToJSON = exports.AnyUserFromJSONTyped = exports.AnyUserFromJSON = void 0;
|
|
17
|
-
var AnonymousUser_1 = require("./AnonymousUser");
|
|
18
|
-
var IdentifiedUser_1 = require("./IdentifiedUser");
|
|
19
|
-
function AnyUserFromJSON(json) {
|
|
20
|
-
return AnyUserFromJSONTyped(json, false);
|
|
21
|
-
}
|
|
22
|
-
exports.AnyUserFromJSON = AnyUserFromJSON;
|
|
23
|
-
function AnyUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
switch (json['type']) {
|
|
28
|
-
case 'ANONYMOUS':
|
|
29
|
-
return Object.assign({}, (0, AnonymousUser_1.AnonymousUserFromJSONTyped)(json, true), { type: 'ANONYMOUS' });
|
|
30
|
-
case 'IDENTIFIED':
|
|
31
|
-
return Object.assign({}, (0, IdentifiedUser_1.IdentifiedUserFromJSONTyped)(json, true), { type: 'IDENTIFIED' });
|
|
32
|
-
default:
|
|
33
|
-
throw new Error("No variant of AnyUser exists with 'type=".concat(json['type'], "'"));
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
exports.AnyUserFromJSONTyped = AnyUserFromJSONTyped;
|
|
37
|
-
function AnyUserToJSON(value) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
switch (value['type']) {
|
|
42
|
-
case 'ANONYMOUS':
|
|
43
|
-
return (0, AnonymousUser_1.AnonymousUserToJSON)(value);
|
|
44
|
-
case 'IDENTIFIED':
|
|
45
|
-
return (0, IdentifiedUser_1.IdentifiedUserToJSON)(value);
|
|
46
|
-
default:
|
|
47
|
-
throw new Error("No variant of AnyUser exists with 'type=".concat(value['type'], "'"));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
exports.AnyUserToJSON = AnyUserToJSON;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP products
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DisposableCredential
|
|
16
|
-
*/
|
|
17
|
-
export interface DisposableCredential {
|
|
18
|
-
/**
|
|
19
|
-
* Action allowed by the request
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DisposableCredential
|
|
22
|
-
*/
|
|
23
|
-
grantType: string;
|
|
24
|
-
/**
|
|
25
|
-
* Token that could be used only once to connect a user
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DisposableCredential
|
|
28
|
-
*/
|
|
29
|
-
disposableToken: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the DisposableCredential interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfDisposableCredential(value: object): value is DisposableCredential;
|
|
35
|
-
export declare function DisposableCredentialFromJSON(json: any): DisposableCredential;
|
|
36
|
-
export declare function DisposableCredentialFromJSONTyped(json: any, ignoreDiscriminator: boolean): DisposableCredential;
|
|
37
|
-
export declare function DisposableCredentialToJSON(value?: DisposableCredential | null): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP products
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.DisposableCredentialToJSON = exports.DisposableCredentialFromJSONTyped = exports.DisposableCredentialFromJSON = exports.instanceOfDisposableCredential = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the DisposableCredential interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfDisposableCredential(value) {
|
|
21
|
-
if (!('grantType' in value) || value['grantType'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('disposableToken' in value) || value['disposableToken'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfDisposableCredential = instanceOfDisposableCredential;
|
|
28
|
-
function DisposableCredentialFromJSON(json) {
|
|
29
|
-
return DisposableCredentialFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.DisposableCredentialFromJSON = DisposableCredentialFromJSON;
|
|
32
|
-
function DisposableCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'grantType': json['grantType'],
|
|
38
|
-
'disposableToken': json['disposableToken'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.DisposableCredentialFromJSONTyped = DisposableCredentialFromJSONTyped;
|
|
42
|
-
function DisposableCredentialToJSON(value) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'grantType': value['grantType'],
|
|
48
|
-
'disposableToken': value['disposableToken'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.DisposableCredentialToJSON = DisposableCredentialToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP products
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DisposableTokenCreationParameters
|
|
16
|
-
*/
|
|
17
|
-
export interface DisposableTokenCreationParameters {
|
|
18
|
-
/**
|
|
19
|
-
* User Id to create account token
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DisposableTokenCreationParameters
|
|
22
|
-
*/
|
|
23
|
-
userId?: number;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the DisposableTokenCreationParameters interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfDisposableTokenCreationParameters(value: object): value is DisposableTokenCreationParameters;
|
|
29
|
-
export declare function DisposableTokenCreationParametersFromJSON(json: any): DisposableTokenCreationParameters;
|
|
30
|
-
export declare function DisposableTokenCreationParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): DisposableTokenCreationParameters;
|
|
31
|
-
export declare function DisposableTokenCreationParametersToJSON(value?: DisposableTokenCreationParameters | null): any;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP products
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.DisposableTokenCreationParametersToJSON = exports.DisposableTokenCreationParametersFromJSONTyped = exports.DisposableTokenCreationParametersFromJSON = exports.instanceOfDisposableTokenCreationParameters = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the DisposableTokenCreationParameters interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfDisposableTokenCreationParameters(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfDisposableTokenCreationParameters = instanceOfDisposableTokenCreationParameters;
|
|
24
|
-
function DisposableTokenCreationParametersFromJSON(json) {
|
|
25
|
-
return DisposableTokenCreationParametersFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.DisposableTokenCreationParametersFromJSON = DisposableTokenCreationParametersFromJSON;
|
|
28
|
-
function DisposableTokenCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'userId': json['userId'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
exports.DisposableTokenCreationParametersFromJSONTyped = DisposableTokenCreationParametersFromJSONTyped;
|
|
37
|
-
function DisposableTokenCreationParametersToJSON(value) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'userId': value['userId'],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.DisposableTokenCreationParametersToJSON = DisposableTokenCreationParametersToJSON;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP products
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IdentifiedUser
|
|
16
|
-
*/
|
|
17
|
-
export interface IdentifiedUser {
|
|
18
|
-
/**
|
|
19
|
-
* Type of user
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IdentifiedUser
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
/**
|
|
25
|
-
* Unique external id identifying this user
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IdentifiedUser
|
|
28
|
-
*/
|
|
29
|
-
externalId: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the IdentifiedUser interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfIdentifiedUser(value: object): value is IdentifiedUser;
|
|
35
|
-
export declare function IdentifiedUserFromJSON(json: any): IdentifiedUser;
|
|
36
|
-
export declare function IdentifiedUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentifiedUser;
|
|
37
|
-
export declare function IdentifiedUserToJSON(value?: IdentifiedUser | null): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP products
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IdentifiedUserToJSON = exports.IdentifiedUserFromJSONTyped = exports.IdentifiedUserFromJSON = exports.instanceOfIdentifiedUser = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the IdentifiedUser interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfIdentifiedUser(value) {
|
|
21
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('externalId' in value) || value['externalId'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfIdentifiedUser = instanceOfIdentifiedUser;
|
|
28
|
-
function IdentifiedUserFromJSON(json) {
|
|
29
|
-
return IdentifiedUserFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.IdentifiedUserFromJSON = IdentifiedUserFromJSON;
|
|
32
|
-
function IdentifiedUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'type': json['type'],
|
|
38
|
-
'externalId': json['externalId'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.IdentifiedUserFromJSONTyped = IdentifiedUserFromJSONTyped;
|
|
42
|
-
function IdentifiedUserToJSON(value) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'type': value['type'],
|
|
48
|
-
'externalId': value['externalId'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.IdentifiedUserToJSON = IdentifiedUserToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP products
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface User
|
|
16
|
-
*/
|
|
17
|
-
export interface User {
|
|
18
|
-
/**
|
|
19
|
-
* Type of user
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof User
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the User interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfUser(value: object): value is User;
|
|
29
|
-
export declare function UserFromJSON(json: any): User;
|
|
30
|
-
export declare function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User;
|
|
31
|
-
export declare function UserToJSON(value?: User | null): any;
|
package/auth/src/models/User.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP products
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UserToJSON = exports.UserFromJSONTyped = exports.UserFromJSON = exports.instanceOfUser = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the User interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfUser(value) {
|
|
21
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfUser = instanceOfUser;
|
|
26
|
-
function UserFromJSON(json) {
|
|
27
|
-
return UserFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.UserFromJSON = UserFromJSON;
|
|
30
|
-
function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'type': json['type'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.UserFromJSONTyped = UserFromJSONTyped;
|
|
39
|
-
function UserToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'type': value['type'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.UserToJSON = UserToJSON;
|