@lcdp/api-react-rest-client 3.0.0-undefined.20063284254 → 3.0.0-undefined.20064654554
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/package.json +1 -1
- package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +1 -0
- package/third-party/src/models/ThirdPartyLinkCreationParameters.js +2 -1
- package/user/src/models/MangopayConsent.d.ts +24 -0
- package/user/src/models/MangopayConsent.js +47 -0
- package/user/src/models/User.d.ts +7 -0
- package/user/src/models/User.js +3 -0
- package/user/src/models/UserMangopayConsent.d.ts +38 -0
- package/user/src/models/UserMangopayConsent.js +48 -0
- package/user/src/models/index.d.ts +2 -0
- package/user/src/models/index.js +2 -0
package/package.json
CHANGED
|
@@ -37,6 +37,7 @@ export declare const ThirdPartyLinkCreationParametersSlugEnum: {
|
|
|
37
37
|
readonly SUBSCRIPTIONS_PHARMAIDE_USER_PRICING_PAGE: "SUBSCRIPTIONS_PHARMAIDE_USER_PRICING_PAGE";
|
|
38
38
|
readonly SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE: "SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE";
|
|
39
39
|
readonly SUBSCRIPTIONS_USER_PORTAL: "SUBSCRIPTIONS_USER_PORTAL";
|
|
40
|
+
readonly PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE: "PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE";
|
|
40
41
|
};
|
|
41
42
|
export declare type ThirdPartyLinkCreationParametersSlugEnum = typeof ThirdPartyLinkCreationParametersSlugEnum[keyof typeof ThirdPartyLinkCreationParametersSlugEnum];
|
|
42
43
|
/**
|
|
@@ -22,7 +22,8 @@ exports.ThirdPartyLinkCreationParametersSlugEnum = {
|
|
|
22
22
|
BADGES_LABORATORY_STATISTICS_DASHBOARD: 'BADGES_LABORATORY_STATISTICS_DASHBOARD',
|
|
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
|
-
SUBSCRIPTIONS_USER_PORTAL: 'SUBSCRIPTIONS_USER_PORTAL'
|
|
25
|
+
SUBSCRIPTIONS_USER_PORTAL: 'SUBSCRIPTIONS_USER_PORTAL',
|
|
26
|
+
PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE: 'PAYMENT_SERVICE_PROVIDERS_PROXY_CONSENT_PAGE'
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
29
|
* Check if a given object implements the ThirdPartyLinkCreationParameters interface.
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* PAYMENTS : Being able to create transfer on behalf of the user
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export declare const MangopayConsent: {
|
|
18
|
+
readonly PAYMENTS: "PAYMENTS";
|
|
19
|
+
};
|
|
20
|
+
export declare type MangopayConsent = typeof MangopayConsent[keyof typeof MangopayConsent];
|
|
21
|
+
export declare function instanceOfMangopayConsent(value: any): boolean;
|
|
22
|
+
export declare function MangopayConsentFromJSON(json: any): MangopayConsent;
|
|
23
|
+
export declare function MangopayConsentFromJSONTyped(json: any, ignoreDiscriminator: boolean): MangopayConsent;
|
|
24
|
+
export declare function MangopayConsentToJSON(value?: MangopayConsent | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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.MangopayConsentToJSON = exports.MangopayConsentFromJSONTyped = exports.MangopayConsentFromJSON = exports.instanceOfMangopayConsent = exports.MangopayConsent = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* PAYMENTS : Being able to create transfer on behalf of the user
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
exports.MangopayConsent = {
|
|
23
|
+
PAYMENTS: 'PAYMENTS'
|
|
24
|
+
};
|
|
25
|
+
function instanceOfMangopayConsent(value) {
|
|
26
|
+
for (var key in exports.MangopayConsent) {
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(exports.MangopayConsent, key)) {
|
|
28
|
+
if (exports.MangopayConsent[key] === value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
exports.instanceOfMangopayConsent = instanceOfMangopayConsent;
|
|
36
|
+
function MangopayConsentFromJSON(json) {
|
|
37
|
+
return MangopayConsentFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
exports.MangopayConsentFromJSON = MangopayConsentFromJSON;
|
|
40
|
+
function MangopayConsentFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
exports.MangopayConsentFromJSONTyped = MangopayConsentFromJSONTyped;
|
|
44
|
+
function MangopayConsentToJSON(value) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
exports.MangopayConsentToJSON = MangopayConsentToJSON;
|
|
@@ -19,6 +19,7 @@ import type { HttpLink } from './HttpLink';
|
|
|
19
19
|
import type { Gender } from './Gender';
|
|
20
20
|
import type { ScaEnrollmentStatus } from './ScaEnrollmentStatus';
|
|
21
21
|
import type { UserChargebeeTarget } from './UserChargebeeTarget';
|
|
22
|
+
import type { UserMangopayConsent } from './UserMangopayConsent';
|
|
22
23
|
import type { UserThreads } from './UserThreads';
|
|
23
24
|
import type { UserWallets } from './UserWallets';
|
|
24
25
|
import type { UserRole } from './UserRole';
|
|
@@ -299,6 +300,12 @@ export interface User {
|
|
|
299
300
|
* @memberof User
|
|
300
301
|
*/
|
|
301
302
|
isMangopaySynced?: boolean;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @type {UserMangopayConsent}
|
|
306
|
+
* @memberof User
|
|
307
|
+
*/
|
|
308
|
+
mangopayConsent?: UserMangopayConsent;
|
|
302
309
|
/**
|
|
303
310
|
* Last update date
|
|
304
311
|
* @type {Date}
|
package/user/src/models/User.js
CHANGED
|
@@ -25,6 +25,7 @@ var HttpLink_1 = require("./HttpLink");
|
|
|
25
25
|
var Gender_1 = require("./Gender");
|
|
26
26
|
var ScaEnrollmentStatus_1 = require("./ScaEnrollmentStatus");
|
|
27
27
|
var UserChargebeeTarget_1 = require("./UserChargebeeTarget");
|
|
28
|
+
var UserMangopayConsent_1 = require("./UserMangopayConsent");
|
|
28
29
|
var UserThreads_1 = require("./UserThreads");
|
|
29
30
|
var UserWallets_1 = require("./UserWallets");
|
|
30
31
|
var UserRole_1 = require("./UserRole");
|
|
@@ -109,6 +110,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
109
110
|
'customCommissions': (json['customCommissions'] === null || json['customCommissions'] === undefined) ? json['customCommissions'] : (0, HttpLink_1.HttpLinkFromJSON)(json['customCommissions']),
|
|
110
111
|
'tags': json['tags'],
|
|
111
112
|
'isMangopaySynced': json['isMangopaySynced'],
|
|
113
|
+
'mangopayConsent': (json['mangopayConsent'] === null || json['mangopayConsent'] === undefined) ? json['mangopayConsent'] : (0, UserMangopayConsent_1.UserMangopayConsentFromJSON)(json['mangopayConsent']),
|
|
112
114
|
'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
|
|
113
115
|
'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
|
|
114
116
|
'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0, UserJournal_1.UserJournalFromJSON)(json['journal']),
|
|
@@ -168,6 +170,7 @@ function UserToJSON(value) {
|
|
|
168
170
|
'customCommissions': (0, HttpLink_1.HttpLinkToJSON)(value['customCommissions']),
|
|
169
171
|
'tags': value['tags'],
|
|
170
172
|
'isMangopaySynced': value['isMangopaySynced'],
|
|
173
|
+
'mangopayConsent': (0, UserMangopayConsent_1.UserMangopayConsentToJSON)(value['mangopayConsent']),
|
|
171
174
|
'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
|
|
172
175
|
'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
|
|
173
176
|
'journal': (0, UserJournal_1.UserJournalToJSON)(value['journal']),
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { MangopayConsent } from './MangopayConsent';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserMangopayConsent
|
|
17
|
+
*/
|
|
18
|
+
export interface UserMangopayConsent {
|
|
19
|
+
/**
|
|
20
|
+
* Can user manage its mangopay consent
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof UserMangopayConsent
|
|
23
|
+
*/
|
|
24
|
+
available?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<MangopayConsent>}
|
|
28
|
+
* @memberof UserMangopayConsent
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<MangopayConsent>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UserMangopayConsent interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUserMangopayConsent(value: object): value is UserMangopayConsent;
|
|
36
|
+
export declare function UserMangopayConsentFromJSON(json: any): UserMangopayConsent;
|
|
37
|
+
export declare function UserMangopayConsentFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserMangopayConsent;
|
|
38
|
+
export declare function UserMangopayConsentToJSON(value?: UserMangopayConsent | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.UserMangopayConsentToJSON = exports.UserMangopayConsentFromJSONTyped = exports.UserMangopayConsentFromJSON = exports.instanceOfUserMangopayConsent = void 0;
|
|
17
|
+
var MangopayConsent_1 = require("./MangopayConsent");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UserMangopayConsent interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUserMangopayConsent(value) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
exports.instanceOfUserMangopayConsent = instanceOfUserMangopayConsent;
|
|
25
|
+
function UserMangopayConsentFromJSON(json) {
|
|
26
|
+
return UserMangopayConsentFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
exports.UserMangopayConsentFromJSON = UserMangopayConsentFromJSON;
|
|
29
|
+
function UserMangopayConsentFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'available': json['available'],
|
|
35
|
+
'errors': (json['errors'] === null || json['errors'] === undefined) ? json['errors'] : json['errors'].map(MangopayConsent_1.MangopayConsentFromJSON),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.UserMangopayConsentFromJSONTyped = UserMangopayConsentFromJSONTyped;
|
|
39
|
+
function UserMangopayConsentToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'available': value['available'],
|
|
45
|
+
'errors': (value['errors'] === null || value['errors'] === undefined) ? value['errors'] : value['errors'].map(MangopayConsent_1.MangopayConsentToJSON),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.UserMangopayConsentToJSON = UserMangopayConsentToJSON;
|
|
@@ -2,6 +2,7 @@ export * from './Address';
|
|
|
2
2
|
export * from './Gender';
|
|
3
3
|
export * from './HttpLink';
|
|
4
4
|
export * from './KycLevel';
|
|
5
|
+
export * from './MangopayConsent';
|
|
5
6
|
export * from './MyPasswordUpdateParameters';
|
|
6
7
|
export * from './NotificationTypeId';
|
|
7
8
|
export * from './NotificationTypeLink';
|
|
@@ -36,6 +37,7 @@ export * from './UserFeature';
|
|
|
36
37
|
export * from './UserForbiddenSellerLink';
|
|
37
38
|
export * from './UserJournal';
|
|
38
39
|
export * from './UserJournalUpdateParameters';
|
|
40
|
+
export * from './UserMangopayConsent';
|
|
39
41
|
export * from './UserMangopayTarget';
|
|
40
42
|
export * from './UserRestrictedFeatureCreationParameter';
|
|
41
43
|
export * from './UserRestrictedNotificationTypeCreationParameter';
|
package/user/src/models/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./Address"), exports);
|
|
|
20
20
|
__exportStar(require("./Gender"), exports);
|
|
21
21
|
__exportStar(require("./HttpLink"), exports);
|
|
22
22
|
__exportStar(require("./KycLevel"), exports);
|
|
23
|
+
__exportStar(require("./MangopayConsent"), exports);
|
|
23
24
|
__exportStar(require("./MyPasswordUpdateParameters"), exports);
|
|
24
25
|
__exportStar(require("./NotificationTypeId"), exports);
|
|
25
26
|
__exportStar(require("./NotificationTypeLink"), exports);
|
|
@@ -54,6 +55,7 @@ __exportStar(require("./UserFeature"), exports);
|
|
|
54
55
|
__exportStar(require("./UserForbiddenSellerLink"), exports);
|
|
55
56
|
__exportStar(require("./UserJournal"), exports);
|
|
56
57
|
__exportStar(require("./UserJournalUpdateParameters"), exports);
|
|
58
|
+
__exportStar(require("./UserMangopayConsent"), exports);
|
|
57
59
|
__exportStar(require("./UserMangopayTarget"), exports);
|
|
58
60
|
__exportStar(require("./UserRestrictedFeatureCreationParameter"), exports);
|
|
59
61
|
__exportStar(require("./UserRestrictedNotificationTypeCreationParameter"), exports);
|