@lcdp/api-react-rest-client 3.1.5 → 3.1.6-develop.23538581891
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 +2 -0
- package/third-party/src/models/ThirdPartyLinkCreationParameters.js +3 -1
- package/user/src/apis/ManageUserDocumentApi.d.ts +0 -5
- package/user/src/apis/ManageUserDocumentApi.js +3 -8
- package/user/src/apis/SearchUserDocumentApi.d.ts +0 -5
- package/user/src/apis/SearchUserDocumentApi.js +5 -10
- package/user/src/models/UserDocument.d.ts +0 -6
- package/user/src/models/UserDocument.js +0 -3
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.
|
|
@@ -50,12 +50,10 @@ export declare class ManageUserDocumentApi extends runtime.BaseAPI {
|
|
|
50
50
|
*/
|
|
51
51
|
createOrUpdateUserDocument(requestParameters: CreateOrUpdateUserDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserDocument | runtime.BlobWithMeta>;
|
|
52
52
|
/**
|
|
53
|
-
* Restrictions : - Available status for document type : - GMP -> VALIDATED / VALIDATION_ASKED - Other -> All status
|
|
54
53
|
* Update document status
|
|
55
54
|
*/
|
|
56
55
|
updateUserDocumentStatusRaw(requestParameters: UpdateUserDocumentStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserDocumentStatus | runtime.BlobWithMeta>>;
|
|
57
56
|
/**
|
|
58
|
-
* Restrictions : - Available status for document type : - GMP -> VALIDATED / VALIDATION_ASKED - Other -> All status
|
|
59
57
|
* Update document status
|
|
60
58
|
*/
|
|
61
59
|
updateUserDocumentStatus(requestParameters: UpdateUserDocumentStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserDocumentStatus | runtime.BlobWithMeta>;
|
|
@@ -69,7 +67,6 @@ export declare const CreateOrUpdateCurrentUserDocumentDocumentTypeEnum: {
|
|
|
69
67
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
70
68
|
readonly STATUS: "STATUS";
|
|
71
69
|
readonly CGV: "CGV";
|
|
72
|
-
readonly GMP: "GMP";
|
|
73
70
|
};
|
|
74
71
|
export declare type CreateOrUpdateCurrentUserDocumentDocumentTypeEnum = typeof CreateOrUpdateCurrentUserDocumentDocumentTypeEnum[keyof typeof CreateOrUpdateCurrentUserDocumentDocumentTypeEnum];
|
|
75
72
|
/**
|
|
@@ -81,7 +78,6 @@ export declare const CreateOrUpdateUserDocumentDocumentTypeEnum: {
|
|
|
81
78
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
82
79
|
readonly STATUS: "STATUS";
|
|
83
80
|
readonly CGV: "CGV";
|
|
84
|
-
readonly GMP: "GMP";
|
|
85
81
|
};
|
|
86
82
|
export declare type CreateOrUpdateUserDocumentDocumentTypeEnum = typeof CreateOrUpdateUserDocumentDocumentTypeEnum[keyof typeof CreateOrUpdateUserDocumentDocumentTypeEnum];
|
|
87
83
|
/**
|
|
@@ -93,6 +89,5 @@ export declare const UpdateUserDocumentStatusDocumentTypeEnum: {
|
|
|
93
89
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
94
90
|
readonly STATUS: "STATUS";
|
|
95
91
|
readonly CGV: "CGV";
|
|
96
|
-
readonly GMP: "GMP";
|
|
97
92
|
};
|
|
98
93
|
export declare type UpdateUserDocumentStatusDocumentTypeEnum = typeof UpdateUserDocumentStatusDocumentTypeEnum[keyof typeof UpdateUserDocumentStatusDocumentTypeEnum];
|
|
@@ -293,7 +293,6 @@ var ManageUserDocumentApi = /** @class */ (function (_super) {
|
|
|
293
293
|
});
|
|
294
294
|
};
|
|
295
295
|
/**
|
|
296
|
-
* Restrictions : - Available status for document type : - GMP -> VALIDATED / VALIDATION_ASKED - Other -> All status
|
|
297
296
|
* Update document status
|
|
298
297
|
*/
|
|
299
298
|
ManageUserDocumentApi.prototype.updateUserDocumentStatusRaw = function (requestParameters, initOverrides) {
|
|
@@ -364,7 +363,6 @@ var ManageUserDocumentApi = /** @class */ (function (_super) {
|
|
|
364
363
|
});
|
|
365
364
|
};
|
|
366
365
|
/**
|
|
367
|
-
* Restrictions : - Available status for document type : - GMP -> VALIDATED / VALIDATION_ASKED - Other -> All status
|
|
368
366
|
* Update document status
|
|
369
367
|
*/
|
|
370
368
|
ManageUserDocumentApi.prototype.updateUserDocumentStatus = function (requestParameters, initOverrides) {
|
|
@@ -392,8 +390,7 @@ exports.CreateOrUpdateCurrentUserDocumentDocumentTypeEnum = {
|
|
|
392
390
|
ID: 'ID',
|
|
393
391
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
394
392
|
STATUS: 'STATUS',
|
|
395
|
-
CGV: 'CGV'
|
|
396
|
-
GMP: 'GMP'
|
|
393
|
+
CGV: 'CGV'
|
|
397
394
|
};
|
|
398
395
|
/**
|
|
399
396
|
* @export
|
|
@@ -403,8 +400,7 @@ exports.CreateOrUpdateUserDocumentDocumentTypeEnum = {
|
|
|
403
400
|
ID: 'ID',
|
|
404
401
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
405
402
|
STATUS: 'STATUS',
|
|
406
|
-
CGV: 'CGV'
|
|
407
|
-
GMP: 'GMP'
|
|
403
|
+
CGV: 'CGV'
|
|
408
404
|
};
|
|
409
405
|
/**
|
|
410
406
|
* @export
|
|
@@ -414,6 +410,5 @@ exports.UpdateUserDocumentStatusDocumentTypeEnum = {
|
|
|
414
410
|
ID: 'ID',
|
|
415
411
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
416
412
|
STATUS: 'STATUS',
|
|
417
|
-
CGV: 'CGV'
|
|
418
|
-
GMP: 'GMP'
|
|
413
|
+
CGV: 'CGV'
|
|
419
414
|
};
|
|
@@ -112,7 +112,6 @@ export declare const GetCurrentUserDocumentDocumentTypeEnum: {
|
|
|
112
112
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
113
113
|
readonly STATUS: "STATUS";
|
|
114
114
|
readonly CGV: "CGV";
|
|
115
|
-
readonly GMP: "GMP";
|
|
116
115
|
};
|
|
117
116
|
export declare type GetCurrentUserDocumentDocumentTypeEnum = typeof GetCurrentUserDocumentDocumentTypeEnum[keyof typeof GetCurrentUserDocumentDocumentTypeEnum];
|
|
118
117
|
/**
|
|
@@ -124,7 +123,6 @@ export declare const GetCurrentUserDocumentMetadataDocumentTypeEnum: {
|
|
|
124
123
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
125
124
|
readonly STATUS: "STATUS";
|
|
126
125
|
readonly CGV: "CGV";
|
|
127
|
-
readonly GMP: "GMP";
|
|
128
126
|
};
|
|
129
127
|
export declare type GetCurrentUserDocumentMetadataDocumentTypeEnum = typeof GetCurrentUserDocumentMetadataDocumentTypeEnum[keyof typeof GetCurrentUserDocumentMetadataDocumentTypeEnum];
|
|
130
128
|
/**
|
|
@@ -136,7 +134,6 @@ export declare const GetUserDocumentDocumentTypeEnum: {
|
|
|
136
134
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
137
135
|
readonly STATUS: "STATUS";
|
|
138
136
|
readonly CGV: "CGV";
|
|
139
|
-
readonly GMP: "GMP";
|
|
140
137
|
};
|
|
141
138
|
export declare type GetUserDocumentDocumentTypeEnum = typeof GetUserDocumentDocumentTypeEnum[keyof typeof GetUserDocumentDocumentTypeEnum];
|
|
142
139
|
/**
|
|
@@ -148,7 +145,6 @@ export declare const GetUserDocumentMetadataDocumentTypeEnum: {
|
|
|
148
145
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
149
146
|
readonly STATUS: "STATUS";
|
|
150
147
|
readonly CGV: "CGV";
|
|
151
|
-
readonly GMP: "GMP";
|
|
152
148
|
};
|
|
153
149
|
export declare type GetUserDocumentMetadataDocumentTypeEnum = typeof GetUserDocumentMetadataDocumentTypeEnum[keyof typeof GetUserDocumentMetadataDocumentTypeEnum];
|
|
154
150
|
/**
|
|
@@ -160,6 +156,5 @@ export declare const GetUserDocumentStatusDocumentTypeEnum: {
|
|
|
160
156
|
readonly SHARE_HOLDER: "SHARE_HOLDER";
|
|
161
157
|
readonly STATUS: "STATUS";
|
|
162
158
|
readonly CGV: "CGV";
|
|
163
|
-
readonly GMP: "GMP";
|
|
164
159
|
};
|
|
165
160
|
export declare type GetUserDocumentStatusDocumentTypeEnum = typeof GetUserDocumentStatusDocumentTypeEnum[keyof typeof GetUserDocumentStatusDocumentTypeEnum];
|
|
@@ -639,8 +639,7 @@ exports.GetCurrentUserDocumentDocumentTypeEnum = {
|
|
|
639
639
|
ID: 'ID',
|
|
640
640
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
641
641
|
STATUS: 'STATUS',
|
|
642
|
-
CGV: 'CGV'
|
|
643
|
-
GMP: 'GMP'
|
|
642
|
+
CGV: 'CGV'
|
|
644
643
|
};
|
|
645
644
|
/**
|
|
646
645
|
* @export
|
|
@@ -650,8 +649,7 @@ exports.GetCurrentUserDocumentMetadataDocumentTypeEnum = {
|
|
|
650
649
|
ID: 'ID',
|
|
651
650
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
652
651
|
STATUS: 'STATUS',
|
|
653
|
-
CGV: 'CGV'
|
|
654
|
-
GMP: 'GMP'
|
|
652
|
+
CGV: 'CGV'
|
|
655
653
|
};
|
|
656
654
|
/**
|
|
657
655
|
* @export
|
|
@@ -661,8 +659,7 @@ exports.GetUserDocumentDocumentTypeEnum = {
|
|
|
661
659
|
ID: 'ID',
|
|
662
660
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
663
661
|
STATUS: 'STATUS',
|
|
664
|
-
CGV: 'CGV'
|
|
665
|
-
GMP: 'GMP'
|
|
662
|
+
CGV: 'CGV'
|
|
666
663
|
};
|
|
667
664
|
/**
|
|
668
665
|
* @export
|
|
@@ -672,8 +669,7 @@ exports.GetUserDocumentMetadataDocumentTypeEnum = {
|
|
|
672
669
|
ID: 'ID',
|
|
673
670
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
674
671
|
STATUS: 'STATUS',
|
|
675
|
-
CGV: 'CGV'
|
|
676
|
-
GMP: 'GMP'
|
|
672
|
+
CGV: 'CGV'
|
|
677
673
|
};
|
|
678
674
|
/**
|
|
679
675
|
* @export
|
|
@@ -683,6 +679,5 @@ exports.GetUserDocumentStatusDocumentTypeEnum = {
|
|
|
683
679
|
ID: 'ID',
|
|
684
680
|
SHARE_HOLDER: 'SHARE_HOLDER',
|
|
685
681
|
STATUS: 'STATUS',
|
|
686
|
-
CGV: 'CGV'
|
|
687
|
-
GMP: 'GMP'
|
|
682
|
+
CGV: 'CGV'
|
|
688
683
|
};
|
|
@@ -34,12 +34,6 @@ export interface UserDocument {
|
|
|
34
34
|
* @memberof UserDocument
|
|
35
35
|
*/
|
|
36
36
|
statusReason?: UserDocumentStatusReasonEnum;
|
|
37
|
-
/**
|
|
38
|
-
* Is filed when document is an perishable document
|
|
39
|
-
* @type {Date}
|
|
40
|
-
* @memberof UserDocument
|
|
41
|
-
*/
|
|
42
|
-
lapsingDate?: Date;
|
|
43
37
|
}
|
|
44
38
|
/**
|
|
45
39
|
* @export
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UserDocumentToJSON = exports.UserDocumentFromJSONTyped = exports.UserDocumentFromJSON = exports.instanceOfUserDocument = exports.UserDocumentStatusReasonEnum = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
var UserDocumentStatus_1 = require("./UserDocumentStatus");
|
|
19
18
|
/**
|
|
20
19
|
* @export
|
|
@@ -50,7 +49,6 @@ function UserDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
49
|
'type': json['type'],
|
|
51
50
|
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, UserDocumentStatus_1.UserDocumentStatusFromJSON)(json['status']),
|
|
52
51
|
'statusReason': json['statusReason'],
|
|
53
|
-
'lapsingDate': (json['lapsingDate'] === null || json['lapsingDate'] === undefined) ? json['lapsingDate'] : new Date(json['lapsingDate']),
|
|
54
52
|
};
|
|
55
53
|
}
|
|
56
54
|
exports.UserDocumentFromJSONTyped = UserDocumentFromJSONTyped;
|
|
@@ -62,7 +60,6 @@ function UserDocumentToJSON(value) {
|
|
|
62
60
|
'type': value['type'],
|
|
63
61
|
'status': (0, UserDocumentStatus_1.UserDocumentStatusToJSON)(value['status']),
|
|
64
62
|
'statusReason': value['statusReason'],
|
|
65
|
-
'lapsingDate': (value['lapsingDate'] === null || value['lapsingDate'] === undefined) ? value['lapsingDate'] : (0, runtime_1.toDateISOString)(value['lapsingDate']),
|
|
66
63
|
};
|
|
67
64
|
}
|
|
68
65
|
exports.UserDocumentToJSON = UserDocumentToJSON;
|