@lcdp/api-react-rest-client 3.1.9-develop.23939615388 → 3.1.9-develop.24199377241
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/notification/src/models/NotificationTypeId.d.ts +0 -1
- package/notification/src/models/NotificationTypeId.js +0 -1
- package/package.json +1 -1
- package/ubo/src/apis/ManageUboDeclarationApi.d.ts +2 -2
- package/ubo/src/apis/ManageUboDeclarationApi.js +2 -2
- package/user/src/models/NotificationTypeId.d.ts +0 -1
- package/user/src/models/NotificationTypeId.js +0 -1
- package/user/src/models/User.d.ts +7 -0
- package/user/src/models/User.js +3 -0
- package/user/src/models/UserMangopayUbo.d.ts +31 -0
- package/user/src/models/UserMangopayUbo.js +45 -0
- package/user/src/models/index.d.ts +1 -0
- package/user/src/models/index.js +1 -0
|
@@ -32,7 +32,6 @@ export declare const NotificationTypeId: {
|
|
|
32
32
|
readonly CLIENT_SUBSCRIPTION_VALIDATED: "CLIENT_SUBSCRIPTION_VALIDATED";
|
|
33
33
|
readonly CLIENT_TEST_ACCOUNT_EXPIRED: "CLIENT_TEST_ACCOUNT_EXPIRED";
|
|
34
34
|
readonly CLIENT_WAITING_FOR_VALIDATION: "CLIENT_WAITING_FOR_VALIDATION";
|
|
35
|
-
readonly DOCUMENT_EXPIRE: "DOCUMENT_EXPIRE";
|
|
36
35
|
readonly GLOBAL_COMMISSION_INVOICE: "GLOBAL_COMMISSION_INVOICE";
|
|
37
36
|
readonly GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE: "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE";
|
|
38
37
|
readonly MONTHLY_EMAIL_FOR_ACCOUNTANT: "MONTHLY_EMAIL_FOR_ACCOUNTANT";
|
|
@@ -37,7 +37,6 @@ exports.NotificationTypeId = {
|
|
|
37
37
|
CLIENT_SUBSCRIPTION_VALIDATED: 'CLIENT_SUBSCRIPTION_VALIDATED',
|
|
38
38
|
CLIENT_TEST_ACCOUNT_EXPIRED: 'CLIENT_TEST_ACCOUNT_EXPIRED',
|
|
39
39
|
CLIENT_WAITING_FOR_VALIDATION: 'CLIENT_WAITING_FOR_VALIDATION',
|
|
40
|
-
DOCUMENT_EXPIRE: 'DOCUMENT_EXPIRE',
|
|
41
40
|
GLOBAL_COMMISSION_INVOICE: 'GLOBAL_COMMISSION_INVOICE',
|
|
42
41
|
GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE: 'GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE',
|
|
43
42
|
MONTHLY_EMAIL_FOR_ACCOUNTANT: 'MONTHLY_EMAIL_FOR_ACCOUNTANT',
|
package/package.json
CHANGED
|
@@ -20,12 +20,12 @@ export interface CreateOrUpdateUboDeclarationRequest {
|
|
|
20
20
|
*/
|
|
21
21
|
export declare class ManageUboDeclarationApi extends runtime.BaseAPI {
|
|
22
22
|
/**
|
|
23
|
-
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). - User \'
|
|
23
|
+
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). - User \'mangopayUbo->available\' should be \'True\' # Non-Admin : - You can only put on ubo declaration id mapping your user id
|
|
24
24
|
* Create or update UBO declaration
|
|
25
25
|
*/
|
|
26
26
|
createOrUpdateUboDeclarationRaw(requestParameters: CreateOrUpdateUboDeclarationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UboDeclaration | runtime.BlobWithMeta>>;
|
|
27
27
|
/**
|
|
28
|
-
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). - User \'
|
|
28
|
+
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). - User \'mangopayUbo->available\' should be \'True\' # Non-Admin : - You can only put on ubo declaration id mapping your user id
|
|
29
29
|
* Create or update UBO declaration
|
|
30
30
|
*/
|
|
31
31
|
createOrUpdateUboDeclaration(requestParameters: CreateOrUpdateUboDeclarationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UboDeclaration | runtime.BlobWithMeta>;
|
|
@@ -76,7 +76,7 @@ var ManageUboDeclarationApi = /** @class */ (function (_super) {
|
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). - User \'
|
|
79
|
+
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). - User \'mangopayUbo->available\' should be \'True\' # Non-Admin : - You can only put on ubo declaration id mapping your user id
|
|
80
80
|
* Create or update UBO declaration
|
|
81
81
|
*/
|
|
82
82
|
ManageUboDeclarationApi.prototype.createOrUpdateUboDeclarationRaw = function (requestParameters, initOverrides) {
|
|
@@ -141,7 +141,7 @@ var ManageUboDeclarationApi = /** @class */ (function (_super) {
|
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
143
|
/**
|
|
144
|
-
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). - User \'
|
|
144
|
+
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). - User \'mangopayUbo->available\' should be \'True\' # Non-Admin : - You can only put on ubo declaration id mapping your user id
|
|
145
145
|
* Create or update UBO declaration
|
|
146
146
|
*/
|
|
147
147
|
ManageUboDeclarationApi.prototype.createOrUpdateUboDeclaration = function (requestParameters, initOverrides) {
|
|
@@ -32,7 +32,6 @@ export declare const NotificationTypeId: {
|
|
|
32
32
|
readonly CLIENT_SUBSCRIPTION_VALIDATED: "CLIENT_SUBSCRIPTION_VALIDATED";
|
|
33
33
|
readonly CLIENT_TEST_ACCOUNT_EXPIRED: "CLIENT_TEST_ACCOUNT_EXPIRED";
|
|
34
34
|
readonly CLIENT_WAITING_FOR_VALIDATION: "CLIENT_WAITING_FOR_VALIDATION";
|
|
35
|
-
readonly DOCUMENT_EXPIRE: "DOCUMENT_EXPIRE";
|
|
36
35
|
readonly GLOBAL_COMMISSION_INVOICE: "GLOBAL_COMMISSION_INVOICE";
|
|
37
36
|
readonly GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE: "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE";
|
|
38
37
|
readonly MONTHLY_EMAIL_FOR_ACCOUNTANT: "MONTHLY_EMAIL_FOR_ACCOUNTANT";
|
|
@@ -37,7 +37,6 @@ exports.NotificationTypeId = {
|
|
|
37
37
|
CLIENT_SUBSCRIPTION_VALIDATED: 'CLIENT_SUBSCRIPTION_VALIDATED',
|
|
38
38
|
CLIENT_TEST_ACCOUNT_EXPIRED: 'CLIENT_TEST_ACCOUNT_EXPIRED',
|
|
39
39
|
CLIENT_WAITING_FOR_VALIDATION: 'CLIENT_WAITING_FOR_VALIDATION',
|
|
40
|
-
DOCUMENT_EXPIRE: 'DOCUMENT_EXPIRE',
|
|
41
40
|
GLOBAL_COMMISSION_INVOICE: 'GLOBAL_COMMISSION_INVOICE',
|
|
42
41
|
GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE: 'GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE',
|
|
43
42
|
MONTHLY_EMAIL_FOR_ACCOUNTANT: 'MONTHLY_EMAIL_FOR_ACCOUNTANT',
|
|
@@ -24,6 +24,7 @@ import type { UserThreads } from './UserThreads';
|
|
|
24
24
|
import type { UserWallets } from './UserWallets';
|
|
25
25
|
import type { UserRole } from './UserRole';
|
|
26
26
|
import type { KycLevel } from './KycLevel';
|
|
27
|
+
import type { UserMangopayUbo } from './UserMangopayUbo';
|
|
27
28
|
import type { RestrictedProductStorageType } from './RestrictedProductStorageType';
|
|
28
29
|
import type { UserJournal } from './UserJournal';
|
|
29
30
|
/**
|
|
@@ -300,6 +301,12 @@ export interface User {
|
|
|
300
301
|
* @memberof User
|
|
301
302
|
*/
|
|
302
303
|
isMangopaySynced?: boolean;
|
|
304
|
+
/**
|
|
305
|
+
*
|
|
306
|
+
* @type {UserMangopayUbo}
|
|
307
|
+
* @memberof User
|
|
308
|
+
*/
|
|
309
|
+
mangopayUbo?: UserMangopayUbo;
|
|
303
310
|
/**
|
|
304
311
|
*
|
|
305
312
|
* @type {UserMangopayConsent}
|
package/user/src/models/User.js
CHANGED
|
@@ -30,6 +30,7 @@ var UserThreads_1 = require("./UserThreads");
|
|
|
30
30
|
var UserWallets_1 = require("./UserWallets");
|
|
31
31
|
var UserRole_1 = require("./UserRole");
|
|
32
32
|
var KycLevel_1 = require("./KycLevel");
|
|
33
|
+
var UserMangopayUbo_1 = require("./UserMangopayUbo");
|
|
33
34
|
var RestrictedProductStorageType_1 = require("./RestrictedProductStorageType");
|
|
34
35
|
var UserJournal_1 = require("./UserJournal");
|
|
35
36
|
/**
|
|
@@ -110,6 +111,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
110
111
|
'customCommissions': (json['customCommissions'] === null || json['customCommissions'] === undefined) ? json['customCommissions'] : (0, HttpLink_1.HttpLinkFromJSON)(json['customCommissions']),
|
|
111
112
|
'tags': json['tags'],
|
|
112
113
|
'isMangopaySynced': json['isMangopaySynced'],
|
|
114
|
+
'mangopayUbo': (json['mangopayUbo'] === null || json['mangopayUbo'] === undefined) ? json['mangopayUbo'] : (0, UserMangopayUbo_1.UserMangopayUboFromJSON)(json['mangopayUbo']),
|
|
113
115
|
'mangopayConsent': (json['mangopayConsent'] === null || json['mangopayConsent'] === undefined) ? json['mangopayConsent'] : (0, UserMangopayConsent_1.UserMangopayConsentFromJSON)(json['mangopayConsent']),
|
|
114
116
|
'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
|
|
115
117
|
'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
|
|
@@ -170,6 +172,7 @@ function UserToJSON(value) {
|
|
|
170
172
|
'customCommissions': (0, HttpLink_1.HttpLinkToJSON)(value['customCommissions']),
|
|
171
173
|
'tags': value['tags'],
|
|
172
174
|
'isMangopaySynced': value['isMangopaySynced'],
|
|
175
|
+
'mangopayUbo': (0, UserMangopayUbo_1.UserMangopayUboToJSON)(value['mangopayUbo']),
|
|
173
176
|
'mangopayConsent': (0, UserMangopayConsent_1.UserMangopayConsentToJSON)(value['mangopayConsent']),
|
|
174
177
|
'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
|
|
175
178
|
'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
|
|
@@ -0,0 +1,31 @@
|
|
|
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 UserMangopayUbo
|
|
16
|
+
*/
|
|
17
|
+
export interface UserMangopayUbo {
|
|
18
|
+
/**
|
|
19
|
+
* True if user can manage its UBO, False if not
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof UserMangopayUbo
|
|
22
|
+
*/
|
|
23
|
+
available?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UserMangopayUbo interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUserMangopayUbo(value: object): value is UserMangopayUbo;
|
|
29
|
+
export declare function UserMangopayUboFromJSON(json: any): UserMangopayUbo;
|
|
30
|
+
export declare function UserMangopayUboFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserMangopayUbo;
|
|
31
|
+
export declare function UserMangopayUboToJSON(value?: UserMangopayUbo | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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.UserMangopayUboToJSON = exports.UserMangopayUboFromJSONTyped = exports.UserMangopayUboFromJSON = exports.instanceOfUserMangopayUbo = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the UserMangopayUbo interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfUserMangopayUbo(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
exports.instanceOfUserMangopayUbo = instanceOfUserMangopayUbo;
|
|
24
|
+
function UserMangopayUboFromJSON(json) {
|
|
25
|
+
return UserMangopayUboFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
exports.UserMangopayUboFromJSON = UserMangopayUboFromJSON;
|
|
28
|
+
function UserMangopayUboFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'available': json['available'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
exports.UserMangopayUboFromJSONTyped = UserMangopayUboFromJSONTyped;
|
|
37
|
+
function UserMangopayUboToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'available': value['available'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.UserMangopayUboToJSON = UserMangopayUboToJSON;
|
|
@@ -39,6 +39,7 @@ export * from './UserJournal';
|
|
|
39
39
|
export * from './UserJournalUpdateParameters';
|
|
40
40
|
export * from './UserMangopayConsent';
|
|
41
41
|
export * from './UserMangopayTarget';
|
|
42
|
+
export * from './UserMangopayUbo';
|
|
42
43
|
export * from './UserRestrictedFeatureCreationParameter';
|
|
43
44
|
export * from './UserRestrictedNotificationTypeCreationParameter';
|
|
44
45
|
export * from './UserRestrictedProductTypeCreationParameter';
|
package/user/src/models/index.js
CHANGED
|
@@ -57,6 +57,7 @@ __exportStar(require("./UserJournal"), exports);
|
|
|
57
57
|
__exportStar(require("./UserJournalUpdateParameters"), exports);
|
|
58
58
|
__exportStar(require("./UserMangopayConsent"), exports);
|
|
59
59
|
__exportStar(require("./UserMangopayTarget"), exports);
|
|
60
|
+
__exportStar(require("./UserMangopayUbo"), exports);
|
|
60
61
|
__exportStar(require("./UserRestrictedFeatureCreationParameter"), exports);
|
|
61
62
|
__exportStar(require("./UserRestrictedNotificationTypeCreationParameter"), exports);
|
|
62
63
|
__exportStar(require("./UserRestrictedProductTypeCreationParameter"), exports);
|