@lcdp/api-react-rest-client 2.13.3-LDS-4562-not-enough-space-in-request-hea.15471303860 → 2.13.3-LDS-4569-front-blocage-si-required-sans-.15486818900
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/models/RestError.d.ts +4 -2
- package/auth/src/models/RestError.js +4 -2
- package/catalog/src/models/RestError.d.ts +4 -2
- package/catalog/src/models/RestError.js +4 -2
- package/configuration/src/models/RestError.d.ts +4 -2
- package/configuration/src/models/RestError.js +4 -2
- package/content/src/models/RestError.d.ts +4 -2
- package/content/src/models/RestError.js +4 -2
- package/favorite/src/models/RestError.d.ts +4 -2
- package/favorite/src/models/RestError.js +4 -2
- package/inventory/src/apis/SearchInventoryApi.d.ts +2 -2
- package/inventory/src/apis/SearchInventoryApi.js +4 -4
- package/inventory/src/models/RestError.d.ts +4 -2
- package/inventory/src/models/RestError.js +4 -2
- package/invoice/src/models/RestError.d.ts +4 -2
- package/invoice/src/models/RestError.js +4 -2
- package/laboratory-store/src/models/RestError.d.ts +4 -2
- package/laboratory-store/src/models/RestError.js +4 -2
- package/lexicon/src/models/RestError.d.ts +4 -2
- package/lexicon/src/models/RestError.js +4 -2
- package/litigation/src/models/RestError.d.ts +4 -2
- package/litigation/src/models/RestError.js +4 -2
- package/mangopay-hook/src/models/RestError.d.ts +4 -2
- package/mangopay-hook/src/models/RestError.js +4 -2
- package/notification/src/models/NotificationTypeId.d.ts +1 -0
- package/notification/src/models/NotificationTypeId.js +2 -1
- package/notification/src/models/RestError.d.ts +4 -2
- package/notification/src/models/RestError.js +4 -2
- package/order/src/models/RestError.d.ts +4 -2
- package/order/src/models/RestError.js +4 -2
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +4 -2
- package/product/src/models/RestError.js +4 -2
- package/pub/src/models/RestError.d.ts +4 -2
- package/pub/src/models/RestError.js +4 -2
- package/rfx/src/models/RestError.d.ts +4 -2
- package/rfx/src/models/RestError.js +4 -2
- package/sale-offer/src/models/RestError.d.ts +4 -2
- package/sale-offer/src/models/RestError.js +4 -2
- package/servant/src/models/RestError.d.ts +4 -2
- package/servant/src/models/RestError.js +4 -2
- package/shipment/src/models/RestError.d.ts +4 -2
- package/shipment/src/models/RestError.js +4 -2
- package/shopping-cart/src/models/RestError.d.ts +4 -2
- package/shopping-cart/src/models/RestError.js +4 -2
- package/smuggler/src/models/RestError.d.ts +4 -2
- package/smuggler/src/models/RestError.js +4 -2
- package/statistic/src/models/RestError.d.ts +4 -2
- package/statistic/src/models/RestError.js +4 -2
- package/subscription/src/models/RestError.d.ts +4 -2
- package/subscription/src/models/RestError.js +4 -2
- package/third-party/src/models/RestError.d.ts +4 -2
- package/third-party/src/models/RestError.js +4 -2
- package/ubo/src/apis/ManageUboDeclarationApi.d.ts +2 -2
- package/ubo/src/apis/ManageUboDeclarationApi.js +2 -2
- package/ubo/src/models/RestError.d.ts +4 -2
- package/ubo/src/models/RestError.js +4 -2
- package/user/src/apis/ManageUserApi.d.ts +2 -0
- package/user/src/apis/ManageUserApi.js +6 -0
- package/user/src/apis/ManageUserDocumentApi.d.ts +6 -6
- package/user/src/apis/ManageUserDocumentApi.js +6 -6
- package/user/src/models/NotificationTypeId.d.ts +1 -0
- package/user/src/models/NotificationTypeId.js +2 -1
- package/user/src/models/RestError.d.ts +4 -2
- package/user/src/models/RestError.js +4 -2
- package/user/src/models/ScaEnrollmentStatus.d.ts +31 -0
- package/user/src/models/ScaEnrollmentStatus.js +54 -0
- package/user/src/models/User.d.ts +7 -0
- package/user/src/models/User.js +3 -0
- package/user/src/models/UserBankAccountCreationParameters.d.ts +0 -6
- package/user/src/models/UserBankAccountCreationParameters.js +0 -2
- package/user/src/models/UserBankAccountLink.d.ts +16 -0
- package/user/src/models/UserBankAccountLink.js +12 -1
- package/user/src/models/UserJournal.d.ts +8 -0
- package/user/src/models/UserJournal.js +2 -0
- package/user/src/models/UserJournalUpdateParameters.d.ts +31 -0
- package/user/src/models/UserJournalUpdateParameters.js +45 -0
- package/user/src/models/UserUpdateParameters.d.ts +10 -3
- package/user/src/models/UserUpdateParameters.js +6 -3
- package/user/src/models/index.d.ts +2 -0
- package/user/src/models/index.js +2 -0
- package/wish/src/models/RestError.d.ts +4 -2
- package/wish/src/models/RestError.js +4 -2
|
@@ -0,0 +1,54 @@
|
|
|
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.ScaEnrollmentStatusToJSON = exports.ScaEnrollmentStatusFromJSONTyped = exports.ScaEnrollmentStatusFromJSON = exports.instanceOfScaEnrollmentStatus = exports.ScaEnrollmentStatus = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Status of the SCA enrollment
|
|
19
|
+
* - UNKNOWN: Strong customer authentication status is unknown.
|
|
20
|
+
* - REQUIRED: Strong customer authentication is mandatory but has not yet been set up. Account access is restricted.
|
|
21
|
+
* - PENDING: The strong authentication enrollment process has been initiated but is not yet complete. The user account remains limited until the process is completed.
|
|
22
|
+
* - ACTIVE: Strong customer authentication is fully configured and functional.
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ScaEnrollmentStatus = {
|
|
27
|
+
UNKNOWN: 'UNKNOWN',
|
|
28
|
+
REQUIRED: 'REQUIRED',
|
|
29
|
+
PENDING: 'PENDING',
|
|
30
|
+
ACTIVE: 'ACTIVE'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfScaEnrollmentStatus(value) {
|
|
33
|
+
for (var key in exports.ScaEnrollmentStatus) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.ScaEnrollmentStatus, key)) {
|
|
35
|
+
if (exports.ScaEnrollmentStatus[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
exports.instanceOfScaEnrollmentStatus = instanceOfScaEnrollmentStatus;
|
|
43
|
+
function ScaEnrollmentStatusFromJSON(json) {
|
|
44
|
+
return ScaEnrollmentStatusFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
exports.ScaEnrollmentStatusFromJSON = ScaEnrollmentStatusFromJSON;
|
|
47
|
+
function ScaEnrollmentStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
exports.ScaEnrollmentStatusFromJSONTyped = ScaEnrollmentStatusFromJSONTyped;
|
|
51
|
+
function ScaEnrollmentStatusToJSON(value) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
exports.ScaEnrollmentStatusToJSON = ScaEnrollmentStatusToJSON;
|
|
@@ -17,6 +17,7 @@ import type { UserMangopayTarget } from './UserMangopayTarget';
|
|
|
17
17
|
import type { UserDelegatedServices } from './UserDelegatedServices';
|
|
18
18
|
import type { HttpLink } from './HttpLink';
|
|
19
19
|
import type { Gender } from './Gender';
|
|
20
|
+
import type { ScaEnrollmentStatus } from './ScaEnrollmentStatus';
|
|
20
21
|
import type { UserThreads } from './UserThreads';
|
|
21
22
|
import type { UserWallets } from './UserWallets';
|
|
22
23
|
import type { UserRole } from './UserRole';
|
|
@@ -306,6 +307,12 @@ export interface User {
|
|
|
306
307
|
* @memberof User
|
|
307
308
|
*/
|
|
308
309
|
statistic: UserStatisticLink | null;
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @type {ScaEnrollmentStatus}
|
|
313
|
+
* @memberof User
|
|
314
|
+
*/
|
|
315
|
+
scaEnrollmentStatus?: ScaEnrollmentStatus;
|
|
309
316
|
}
|
|
310
317
|
/**
|
|
311
318
|
* Check if a given object implements the User interface.
|
package/user/src/models/User.js
CHANGED
|
@@ -23,6 +23,7 @@ var UserMangopayTarget_1 = require("./UserMangopayTarget");
|
|
|
23
23
|
var UserDelegatedServices_1 = require("./UserDelegatedServices");
|
|
24
24
|
var HttpLink_1 = require("./HttpLink");
|
|
25
25
|
var Gender_1 = require("./Gender");
|
|
26
|
+
var ScaEnrollmentStatus_1 = require("./ScaEnrollmentStatus");
|
|
26
27
|
var UserThreads_1 = require("./UserThreads");
|
|
27
28
|
var UserWallets_1 = require("./UserWallets");
|
|
28
29
|
var UserRole_1 = require("./UserRole");
|
|
@@ -108,6 +109,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
108
109
|
'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0, UserJournal_1.UserJournalFromJSON)(json['journal']),
|
|
109
110
|
'badges': json['badges'],
|
|
110
111
|
'statistic': (json['statistic'] === null || json['statistic'] === undefined) ? json['statistic'] : (0, UserStatisticLink_1.UserStatisticLinkFromJSON)(json['statistic']),
|
|
112
|
+
'scaEnrollmentStatus': (json['scaEnrollmentStatus'] === null || json['scaEnrollmentStatus'] === undefined) ? json['scaEnrollmentStatus'] : (0, ScaEnrollmentStatus_1.ScaEnrollmentStatusFromJSON)(json['scaEnrollmentStatus']),
|
|
111
113
|
};
|
|
112
114
|
}
|
|
113
115
|
exports.UserFromJSONTyped = UserFromJSONTyped;
|
|
@@ -162,6 +164,7 @@ function UserToJSON(value) {
|
|
|
162
164
|
'journal': (0, UserJournal_1.UserJournalToJSON)(value['journal']),
|
|
163
165
|
'badges': value['badges'],
|
|
164
166
|
'statistic': (0, UserStatisticLink_1.UserStatisticLinkToJSON)(value['statistic']),
|
|
167
|
+
'scaEnrollmentStatus': (0, ScaEnrollmentStatus_1.ScaEnrollmentStatusToJSON)(value['scaEnrollmentStatus']),
|
|
165
168
|
};
|
|
166
169
|
}
|
|
167
170
|
exports.UserToJSON = UserToJSON;
|
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* @interface UserBankAccountCreationParameters
|
|
16
16
|
*/
|
|
17
17
|
export interface UserBankAccountCreationParameters {
|
|
18
|
-
/**
|
|
19
|
-
* bic
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserBankAccountCreationParameters
|
|
22
|
-
*/
|
|
23
|
-
bic?: string;
|
|
24
18
|
/**
|
|
25
19
|
* iban
|
|
26
20
|
* @type {string}
|
|
@@ -30,7 +30,6 @@ function UserBankAccountCreationParametersFromJSONTyped(json, ignoreDiscriminato
|
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'bic': json['bic'],
|
|
34
33
|
'iban': json['iban'],
|
|
35
34
|
};
|
|
36
35
|
}
|
|
@@ -40,7 +39,6 @@ function UserBankAccountCreationParametersToJSON(value) {
|
|
|
40
39
|
return value;
|
|
41
40
|
}
|
|
42
41
|
return {
|
|
43
|
-
'bic': value['bic'],
|
|
44
42
|
'iban': value['iban'],
|
|
45
43
|
};
|
|
46
44
|
}
|
|
@@ -27,7 +27,23 @@ export interface UserBankAccountLink {
|
|
|
27
27
|
* @memberof UserBankAccountLink
|
|
28
28
|
*/
|
|
29
29
|
id?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserBankAccountLink
|
|
34
|
+
*/
|
|
35
|
+
status?: UserBankAccountLinkStatusEnum;
|
|
30
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const UserBankAccountLinkStatusEnum: {
|
|
41
|
+
readonly PENDING: "PENDING";
|
|
42
|
+
readonly ACTIVE: "ACTIVE";
|
|
43
|
+
readonly DEACTIVATED: "DEACTIVATED";
|
|
44
|
+
readonly CANCELED: "CANCELED";
|
|
45
|
+
};
|
|
46
|
+
export declare type UserBankAccountLinkStatusEnum = typeof UserBankAccountLinkStatusEnum[keyof typeof UserBankAccountLinkStatusEnum];
|
|
31
47
|
/**
|
|
32
48
|
* Check if a given object implements the UserBankAccountLink interface.
|
|
33
49
|
*/
|
|
@@ -13,7 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UserBankAccountLinkToJSON = exports.UserBankAccountLinkFromJSONTyped = exports.UserBankAccountLinkFromJSON = exports.instanceOfUserBankAccountLink = void 0;
|
|
16
|
+
exports.UserBankAccountLinkToJSON = exports.UserBankAccountLinkFromJSONTyped = exports.UserBankAccountLinkFromJSON = exports.instanceOfUserBankAccountLink = exports.UserBankAccountLinkStatusEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
exports.UserBankAccountLinkStatusEnum = {
|
|
21
|
+
PENDING: 'PENDING',
|
|
22
|
+
ACTIVE: 'ACTIVE',
|
|
23
|
+
DEACTIVATED: 'DEACTIVATED',
|
|
24
|
+
CANCELED: 'CANCELED'
|
|
25
|
+
};
|
|
17
26
|
/**
|
|
18
27
|
* Check if a given object implements the UserBankAccountLink interface.
|
|
19
28
|
*/
|
|
@@ -34,6 +43,7 @@ function UserBankAccountLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
43
|
return {
|
|
35
44
|
'href': json['href'],
|
|
36
45
|
'id': json['id'],
|
|
46
|
+
'status': json['status'],
|
|
37
47
|
};
|
|
38
48
|
}
|
|
39
49
|
exports.UserBankAccountLinkFromJSONTyped = UserBankAccountLinkFromJSONTyped;
|
|
@@ -44,6 +54,7 @@ function UserBankAccountLinkToJSON(value) {
|
|
|
44
54
|
return {
|
|
45
55
|
'href': value['href'],
|
|
46
56
|
'id': value['id'],
|
|
57
|
+
'status': value['status'],
|
|
47
58
|
};
|
|
48
59
|
}
|
|
49
60
|
exports.UserBankAccountLinkToJSON = UserBankAccountLinkToJSON;
|
|
@@ -21,6 +21,14 @@ export interface UserJournal {
|
|
|
21
21
|
* @memberof UserJournal
|
|
22
22
|
*/
|
|
23
23
|
archivedSaleOfferPageViewAt?: Date;
|
|
24
|
+
/**
|
|
25
|
+
* Deadline indicating that the user with the ACTIVE status on Mangopay (ScaEnrollmentStatus) pre-SCA is not required to enroll.
|
|
26
|
+
* If this user starts the enrollment, this date is removed.
|
|
27
|
+
*
|
|
28
|
+
* @type {Date}
|
|
29
|
+
* @memberof UserJournal
|
|
30
|
+
*/
|
|
31
|
+
scaGracePeriod?: Date;
|
|
24
32
|
}
|
|
25
33
|
/**
|
|
26
34
|
* Check if a given object implements the UserJournal interface.
|
|
@@ -31,6 +31,7 @@ function UserJournalFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
33
|
'archivedSaleOfferPageViewAt': (json['archivedSaleOfferPageViewAt'] === null || json['archivedSaleOfferPageViewAt'] === undefined) ? json['archivedSaleOfferPageViewAt'] : new Date(json['archivedSaleOfferPageViewAt']),
|
|
34
|
+
'scaGracePeriod': (json['scaGracePeriod'] === null || json['scaGracePeriod'] === undefined) ? json['scaGracePeriod'] : new Date(json['scaGracePeriod']),
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
exports.UserJournalFromJSONTyped = UserJournalFromJSONTyped;
|
|
@@ -40,6 +41,7 @@ function UserJournalToJSON(value) {
|
|
|
40
41
|
}
|
|
41
42
|
return {
|
|
42
43
|
'archivedSaleOfferPageViewAt': (value['archivedSaleOfferPageViewAt'] === null || value['archivedSaleOfferPageViewAt'] === undefined) ? value['archivedSaleOfferPageViewAt'] : (value['archivedSaleOfferPageViewAt']).toISOString(),
|
|
44
|
+
'scaGracePeriod': (value['scaGracePeriod'] === null || value['scaGracePeriod'] === undefined) ? value['scaGracePeriod'] : (value['scaGracePeriod']).toISOString(),
|
|
43
45
|
};
|
|
44
46
|
}
|
|
45
47
|
exports.UserJournalToJSON = UserJournalToJSON;
|
|
@@ -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
|
+
* User journal update parameters
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserJournalUpdateParameters
|
|
16
|
+
*/
|
|
17
|
+
export interface UserJournalUpdateParameters {
|
|
18
|
+
/**
|
|
19
|
+
* Date of the updated status (RFC 3339, section 5.6)
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof UserJournalUpdateParameters
|
|
22
|
+
*/
|
|
23
|
+
archivedSaleOfferPageViewAt?: Date;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UserJournalUpdateParameters interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUserJournalUpdateParameters(value: object): value is UserJournalUpdateParameters;
|
|
29
|
+
export declare function UserJournalUpdateParametersFromJSON(json: any): UserJournalUpdateParameters;
|
|
30
|
+
export declare function UserJournalUpdateParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserJournalUpdateParameters;
|
|
31
|
+
export declare function UserJournalUpdateParametersToJSON(value?: UserJournalUpdateParameters | 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.UserJournalUpdateParametersToJSON = exports.UserJournalUpdateParametersFromJSONTyped = exports.UserJournalUpdateParametersFromJSON = exports.instanceOfUserJournalUpdateParameters = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the UserJournalUpdateParameters interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfUserJournalUpdateParameters(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
exports.instanceOfUserJournalUpdateParameters = instanceOfUserJournalUpdateParameters;
|
|
24
|
+
function UserJournalUpdateParametersFromJSON(json) {
|
|
25
|
+
return UserJournalUpdateParametersFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
exports.UserJournalUpdateParametersFromJSON = UserJournalUpdateParametersFromJSON;
|
|
28
|
+
function UserJournalUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'archivedSaleOfferPageViewAt': (json['archivedSaleOfferPageViewAt'] === null || json['archivedSaleOfferPageViewAt'] === undefined) ? json['archivedSaleOfferPageViewAt'] : new Date(json['archivedSaleOfferPageViewAt']),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
exports.UserJournalUpdateParametersFromJSONTyped = UserJournalUpdateParametersFromJSONTyped;
|
|
37
|
+
function UserJournalUpdateParametersToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'archivedSaleOfferPageViewAt': (value['archivedSaleOfferPageViewAt'] === null || value['archivedSaleOfferPageViewAt'] === undefined) ? value['archivedSaleOfferPageViewAt'] : (value['archivedSaleOfferPageViewAt']).toISOString(),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.UserJournalUpdateParametersToJSON = UserJournalUpdateParametersToJSON;
|
|
@@ -11,9 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { UserCompany } from './UserCompany';
|
|
13
13
|
import type { Address } from './Address';
|
|
14
|
+
import type { UserRole } from './UserRole';
|
|
14
15
|
import type { UserDelegatedServices } from './UserDelegatedServices';
|
|
16
|
+
import type { UserJournalUpdateParameters } from './UserJournalUpdateParameters';
|
|
15
17
|
import type { Gender } from './Gender';
|
|
16
|
-
import type { UserJournal } from './UserJournal';
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
20
|
* @export
|
|
@@ -68,6 +69,12 @@ export interface UserUpdateParameters {
|
|
|
68
69
|
* @memberof UserUpdateParameters
|
|
69
70
|
*/
|
|
70
71
|
phone?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {UserRole}
|
|
75
|
+
* @memberof UserUpdateParameters
|
|
76
|
+
*/
|
|
77
|
+
role?: UserRole;
|
|
71
78
|
/**
|
|
72
79
|
*
|
|
73
80
|
* @type {string}
|
|
@@ -136,10 +143,10 @@ export interface UserUpdateParameters {
|
|
|
136
143
|
isMangopaySynced?: boolean;
|
|
137
144
|
/**
|
|
138
145
|
*
|
|
139
|
-
* @type {
|
|
146
|
+
* @type {UserJournalUpdateParameters}
|
|
140
147
|
* @memberof UserUpdateParameters
|
|
141
148
|
*/
|
|
142
|
-
journal?:
|
|
149
|
+
journal?: UserJournalUpdateParameters;
|
|
143
150
|
}
|
|
144
151
|
/**
|
|
145
152
|
* Check if a given object implements the UserUpdateParameters interface.
|
|
@@ -17,9 +17,10 @@ exports.UserUpdateParametersToJSON = exports.UserUpdateParametersFromJSONTyped =
|
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
18
|
var UserCompany_1 = require("./UserCompany");
|
|
19
19
|
var Address_1 = require("./Address");
|
|
20
|
+
var UserRole_1 = require("./UserRole");
|
|
20
21
|
var UserDelegatedServices_1 = require("./UserDelegatedServices");
|
|
22
|
+
var UserJournalUpdateParameters_1 = require("./UserJournalUpdateParameters");
|
|
21
23
|
var Gender_1 = require("./Gender");
|
|
22
|
-
var UserJournal_1 = require("./UserJournal");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the UserUpdateParameters interface.
|
|
25
26
|
*/
|
|
@@ -44,6 +45,7 @@ function UserUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
45
|
'email': json['email'],
|
|
45
46
|
'nickname': json['nickname'],
|
|
46
47
|
'phone': json['phone'],
|
|
48
|
+
'role': (json['role'] === null || json['role'] === undefined) ? json['role'] : (0, UserRole_1.UserRoleFromJSON)(json['role']),
|
|
47
49
|
'fax': json['fax'],
|
|
48
50
|
'pollQuestion': json['pollQuestion'],
|
|
49
51
|
'shippingAddress': (json['shippingAddress'] === null || json['shippingAddress'] === undefined) ? json['shippingAddress'] : (0, Address_1.AddressFromJSON)(json['shippingAddress']),
|
|
@@ -55,7 +57,7 @@ function UserUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
57
|
'delegatedServices': (json['delegatedServices'] === null || json['delegatedServices'] === undefined) ? json['delegatedServices'] : (0, UserDelegatedServices_1.UserDelegatedServicesFromJSON)(json['delegatedServices']),
|
|
56
58
|
'tags': json['tags'],
|
|
57
59
|
'isMangopaySynced': json['isMangopaySynced'],
|
|
58
|
-
'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0,
|
|
60
|
+
'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0, UserJournalUpdateParameters_1.UserJournalUpdateParametersFromJSON)(json['journal']),
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
exports.UserUpdateParametersFromJSONTyped = UserUpdateParametersFromJSONTyped;
|
|
@@ -72,6 +74,7 @@ function UserUpdateParametersToJSON(value) {
|
|
|
72
74
|
'email': value['email'],
|
|
73
75
|
'nickname': value['nickname'],
|
|
74
76
|
'phone': value['phone'],
|
|
77
|
+
'role': (0, UserRole_1.UserRoleToJSON)(value['role']),
|
|
75
78
|
'fax': value['fax'],
|
|
76
79
|
'pollQuestion': value['pollQuestion'],
|
|
77
80
|
'shippingAddress': (0, Address_1.AddressToJSON)(value['shippingAddress']),
|
|
@@ -83,7 +86,7 @@ function UserUpdateParametersToJSON(value) {
|
|
|
83
86
|
'delegatedServices': (0, UserDelegatedServices_1.UserDelegatedServicesToJSON)(value['delegatedServices']),
|
|
84
87
|
'tags': value['tags'],
|
|
85
88
|
'isMangopaySynced': value['isMangopaySynced'],
|
|
86
|
-
'journal': (0,
|
|
89
|
+
'journal': (0, UserJournalUpdateParameters_1.UserJournalUpdateParametersToJSON)(value['journal']),
|
|
87
90
|
};
|
|
88
91
|
}
|
|
89
92
|
exports.UserUpdateParametersToJSON = UserUpdateParametersToJSON;
|
|
@@ -13,6 +13,7 @@ export * from './PasswordResetCompletionParameters';
|
|
|
13
13
|
export * from './PasswordResetCreationParameters';
|
|
14
14
|
export * from './ProductTypeLink';
|
|
15
15
|
export * from './RestError';
|
|
16
|
+
export * from './ScaEnrollmentStatus';
|
|
16
17
|
export * from './SomeonePasswordUpdateParameters';
|
|
17
18
|
export * from './ThreadLink';
|
|
18
19
|
export * from './Transport';
|
|
@@ -31,6 +32,7 @@ export * from './UserFavoriteLaboratoryStoreLink';
|
|
|
31
32
|
export * from './UserFeature';
|
|
32
33
|
export * from './UserForbiddenSellerLink';
|
|
33
34
|
export * from './UserJournal';
|
|
35
|
+
export * from './UserJournalUpdateParameters';
|
|
34
36
|
export * from './UserMangopayTarget';
|
|
35
37
|
export * from './UserRestrictedFeatureCreationParameter';
|
|
36
38
|
export * from './UserRestrictedNotificationTypeCreationParameter';
|
package/user/src/models/index.js
CHANGED
|
@@ -31,6 +31,7 @@ __exportStar(require("./PasswordResetCompletionParameters"), exports);
|
|
|
31
31
|
__exportStar(require("./PasswordResetCreationParameters"), exports);
|
|
32
32
|
__exportStar(require("./ProductTypeLink"), exports);
|
|
33
33
|
__exportStar(require("./RestError"), exports);
|
|
34
|
+
__exportStar(require("./ScaEnrollmentStatus"), exports);
|
|
34
35
|
__exportStar(require("./SomeonePasswordUpdateParameters"), exports);
|
|
35
36
|
__exportStar(require("./ThreadLink"), exports);
|
|
36
37
|
__exportStar(require("./Transport"), exports);
|
|
@@ -49,6 +50,7 @@ __exportStar(require("./UserFavoriteLaboratoryStoreLink"), exports);
|
|
|
49
50
|
__exportStar(require("./UserFeature"), exports);
|
|
50
51
|
__exportStar(require("./UserForbiddenSellerLink"), exports);
|
|
51
52
|
__exportStar(require("./UserJournal"), exports);
|
|
53
|
+
__exportStar(require("./UserJournalUpdateParameters"), exports);
|
|
52
54
|
__exportStar(require("./UserMangopayTarget"), exports);
|
|
53
55
|
__exportStar(require("./UserRestrictedFeatureCreationParameter"), exports);
|
|
54
56
|
__exportStar(require("./UserRestrictedNotificationTypeCreationParameter"), exports);
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
60
61
|
};
|
|
61
62
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
63
|
/**
|
|
@@ -86,6 +87,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
87
|
readonly MESSAGE020: "ETag do not match";
|
|
87
88
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
89
|
readonly MESSAGE022: "Disabled feature";
|
|
90
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
89
91
|
};
|
|
90
92
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
93
|
/**
|
|
@@ -40,7 +40,8 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* @export
|
|
@@ -68,7 +69,8 @@ exports.RestErrorMessageEnum = {
|
|
|
68
69
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
70
|
MESSAGE020: 'ETag do not match',
|
|
70
71
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
72
|
+
MESSAGE022: 'Disabled feature',
|
|
73
|
+
MESSAGE023: 'Invalid Sca Enrollment status'
|
|
72
74
|
};
|
|
73
75
|
/**
|
|
74
76
|
* Check if a given object implements the RestError interface.
|