@lcdp/api-react-rest-client 2.6.6-develop.8468346713 → 2.6.7-LDS-3505-api-ajouter-trois-notification-.8469907360
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 +4 -1
- package/notification/src/models/NotificationTypeId.js +3 -0
- package/package.json +1 -1
- package/sale-offer/src/models/SaleOffer.d.ts +2 -2
- package/sale-offer/src/models/SaleOffer.js +1 -2
- package/user/src/models/NotificationTypeId.d.ts +4 -1
- package/user/src/models/NotificationTypeId.js +3 -0
- package/user/src/models/User.d.ts +1 -1
|
@@ -59,7 +59,10 @@ export declare enum NotificationTypeId {
|
|
|
59
59
|
PHARMAIDEFIRSTSUBSCRIPTION = "PHARMAIDE_FIRST_SUBSCRIPTION",
|
|
60
60
|
PHARMAIDESBTESTEXPIRATION = "PHARMAIDE_SB_TEST_EXPIRATION",
|
|
61
61
|
PHARMAIDETESTTESTEXPIRATION = "PHARMAIDE_TEST_TEST_EXPIRATION",
|
|
62
|
-
REQUESTFORORDERINVOICE = "REQUEST_FOR_ORDER_INVOICE"
|
|
62
|
+
REQUESTFORORDERINVOICE = "REQUEST_FOR_ORDER_INVOICE",
|
|
63
|
+
CLIENTBADGERECEIVED = "CLIENT_BADGE_RECEIVED",
|
|
64
|
+
CLIENTBADGELOST = "CLIENT_BADGE_LOST",
|
|
65
|
+
CLIENTBADGEINCENTIVE = "CLIENT_BADGE_INCENTIVE"
|
|
63
66
|
}
|
|
64
67
|
export declare function NotificationTypeIdFromJSON(json: any): NotificationTypeId;
|
|
65
68
|
export declare function NotificationTypeIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeId;
|
|
@@ -66,6 +66,9 @@ var NotificationTypeId;
|
|
|
66
66
|
NotificationTypeId["PHARMAIDESBTESTEXPIRATION"] = "PHARMAIDE_SB_TEST_EXPIRATION";
|
|
67
67
|
NotificationTypeId["PHARMAIDETESTTESTEXPIRATION"] = "PHARMAIDE_TEST_TEST_EXPIRATION";
|
|
68
68
|
NotificationTypeId["REQUESTFORORDERINVOICE"] = "REQUEST_FOR_ORDER_INVOICE";
|
|
69
|
+
NotificationTypeId["CLIENTBADGERECEIVED"] = "CLIENT_BADGE_RECEIVED";
|
|
70
|
+
NotificationTypeId["CLIENTBADGELOST"] = "CLIENT_BADGE_LOST";
|
|
71
|
+
NotificationTypeId["CLIENTBADGEINCENTIVE"] = "CLIENT_BADGE_INCENTIVE";
|
|
69
72
|
})(NotificationTypeId = exports.NotificationTypeId || (exports.NotificationTypeId = {}));
|
|
70
73
|
function NotificationTypeIdFromJSON(json) {
|
|
71
74
|
return NotificationTypeIdFromJSONTyped(json, false);
|
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ export interface SaleOffer {
|
|
|
46
46
|
* @type {Stock}
|
|
47
47
|
* @memberof SaleOffer
|
|
48
48
|
*/
|
|
49
|
-
stock
|
|
49
|
+
stock: Stock;
|
|
50
50
|
/**
|
|
51
51
|
* Description of the sale offer
|
|
52
52
|
* @type {string}
|
|
@@ -118,7 +118,7 @@ export interface SaleOffer {
|
|
|
118
118
|
* @type {SaleOfferStatisticLink}
|
|
119
119
|
* @memberof SaleOffer
|
|
120
120
|
*/
|
|
121
|
-
statistic: SaleOfferStatisticLink
|
|
121
|
+
statistic: SaleOfferStatisticLink;
|
|
122
122
|
}
|
|
123
123
|
export declare function SaleOfferFromJSON(json: any): SaleOffer;
|
|
124
124
|
export declare function SaleOfferFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleOffer;
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SaleOfferToJSON = exports.SaleOfferFromJSONTyped = exports.SaleOfferFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
var AnyIdentifiedDistributionMode_1 = require("./AnyIdentifiedDistributionMode");
|
|
19
18
|
var Images_1 = require("./Images");
|
|
20
19
|
var OwnerLink_1 = require("./OwnerLink");
|
|
@@ -35,7 +34,7 @@ function SaleOfferFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
34
|
'reference': json['reference'],
|
|
36
35
|
'status': (0, SaleOfferStatus_1.SaleOfferStatusFromJSON)(json['status']),
|
|
37
36
|
'product': (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
|
|
38
|
-
'stock':
|
|
37
|
+
'stock': (0, Stock_1.StockFromJSON)(json['stock']),
|
|
39
38
|
'description': json['description'],
|
|
40
39
|
'distributionMode': (0, AnyIdentifiedDistributionMode_1.AnyIdentifiedDistributionModeFromJSON)(json['distributionMode']),
|
|
41
40
|
'minimalUnitPrice': json['minimalUnitPrice'],
|
|
@@ -59,7 +59,10 @@ export declare enum NotificationTypeId {
|
|
|
59
59
|
PHARMAIDEFIRSTSUBSCRIPTION = "PHARMAIDE_FIRST_SUBSCRIPTION",
|
|
60
60
|
PHARMAIDESBTESTEXPIRATION = "PHARMAIDE_SB_TEST_EXPIRATION",
|
|
61
61
|
PHARMAIDETESTTESTEXPIRATION = "PHARMAIDE_TEST_TEST_EXPIRATION",
|
|
62
|
-
REQUESTFORORDERINVOICE = "REQUEST_FOR_ORDER_INVOICE"
|
|
62
|
+
REQUESTFORORDERINVOICE = "REQUEST_FOR_ORDER_INVOICE",
|
|
63
|
+
CLIENTBADGERECEIVED = "CLIENT_BADGE_RECEIVED",
|
|
64
|
+
CLIENTBADGELOST = "CLIENT_BADGE_LOST",
|
|
65
|
+
CLIENTBADGEINCENTIVE = "CLIENT_BADGE_INCENTIVE"
|
|
63
66
|
}
|
|
64
67
|
export declare function NotificationTypeIdFromJSON(json: any): NotificationTypeId;
|
|
65
68
|
export declare function NotificationTypeIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeId;
|
|
@@ -66,6 +66,9 @@ var NotificationTypeId;
|
|
|
66
66
|
NotificationTypeId["PHARMAIDESBTESTEXPIRATION"] = "PHARMAIDE_SB_TEST_EXPIRATION";
|
|
67
67
|
NotificationTypeId["PHARMAIDETESTTESTEXPIRATION"] = "PHARMAIDE_TEST_TEST_EXPIRATION";
|
|
68
68
|
NotificationTypeId["REQUESTFORORDERINVOICE"] = "REQUEST_FOR_ORDER_INVOICE";
|
|
69
|
+
NotificationTypeId["CLIENTBADGERECEIVED"] = "CLIENT_BADGE_RECEIVED";
|
|
70
|
+
NotificationTypeId["CLIENTBADGELOST"] = "CLIENT_BADGE_LOST";
|
|
71
|
+
NotificationTypeId["CLIENTBADGEINCENTIVE"] = "CLIENT_BADGE_INCENTIVE";
|
|
69
72
|
})(NotificationTypeId = exports.NotificationTypeId || (exports.NotificationTypeId = {}));
|
|
70
73
|
function NotificationTypeIdFromJSON(json) {
|
|
71
74
|
return NotificationTypeIdFromJSONTyped(json, false);
|
|
@@ -303,7 +303,7 @@ export interface User {
|
|
|
303
303
|
* @type {UserStatisticLink}
|
|
304
304
|
* @memberof User
|
|
305
305
|
*/
|
|
306
|
-
statistic: UserStatisticLink
|
|
306
|
+
statistic: UserStatisticLink;
|
|
307
307
|
}
|
|
308
308
|
export declare function UserFromJSON(json: any): User;
|
|
309
309
|
export declare function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User;
|