@lcdp/api-react-rest-client 2.6.2-LDS-3445-api-ajouter-statitiques-user.8277809964 → 2.6.2-LDS-3445-api-ajouter-statitiques-user.8283445590
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.
|
@@ -40,6 +40,30 @@ export interface OrderJournal {
|
|
|
40
40
|
* @memberof OrderJournal
|
|
41
41
|
*/
|
|
42
42
|
freeCarriageThresholdReachedDate: Date | null;
|
|
43
|
+
/**
|
|
44
|
+
* Date when the order have been officially created by the buyer and so received by the seller
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof OrderJournal
|
|
47
|
+
*/
|
|
48
|
+
purchasedAt?: Date;
|
|
49
|
+
/**
|
|
50
|
+
* Date when the order have been delivered to the buyer. Important Note : If the transport is not delegated to LCDP, we can not provide this field value.
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof OrderJournal
|
|
53
|
+
*/
|
|
54
|
+
deliveredAt?: Date;
|
|
55
|
+
/**
|
|
56
|
+
* Date when the seller announced that he is in capability to fulfill the items in order according to their quantities and expiration date.
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof OrderJournal
|
|
59
|
+
*/
|
|
60
|
+
committedAt?: Date;
|
|
61
|
+
/**
|
|
62
|
+
* Date when the seller modified the order by lowering some quantities due to stock / expiration dates.
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof OrderJournal
|
|
65
|
+
*/
|
|
66
|
+
counterProposalAt?: Date;
|
|
43
67
|
}
|
|
44
68
|
export declare function OrderJournalFromJSON(json: any): OrderJournal;
|
|
45
69
|
export declare function OrderJournalFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderJournal;
|
|
@@ -29,6 +29,10 @@ function OrderJournalFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'statusUpdatedBy': json['statusUpdatedBy'],
|
|
30
30
|
'statusUpdatedAt': (new Date(json['statusUpdatedAt'])),
|
|
31
31
|
'freeCarriageThresholdReachedDate': (json['freeCarriageThresholdReachedDate'] === null ? null : new Date(json['freeCarriageThresholdReachedDate'])),
|
|
32
|
+
'purchasedAt': !(0, runtime_1.exists)(json, 'purchasedAt') ? undefined : (new Date(json['purchasedAt'])),
|
|
33
|
+
'deliveredAt': !(0, runtime_1.exists)(json, 'deliveredAt') ? undefined : (new Date(json['deliveredAt'])),
|
|
34
|
+
'committedAt': !(0, runtime_1.exists)(json, 'committedAt') ? undefined : (new Date(json['committedAt'])),
|
|
35
|
+
'counterProposalAt': !(0, runtime_1.exists)(json, 'counterProposalAt') ? undefined : (new Date(json['counterProposalAt'])),
|
|
32
36
|
};
|
|
33
37
|
}
|
|
34
38
|
exports.OrderJournalFromJSONTyped = OrderJournalFromJSONTyped;
|
|
@@ -44,6 +48,10 @@ function OrderJournalToJSON(value) {
|
|
|
44
48
|
'statusUpdatedBy': value.statusUpdatedBy,
|
|
45
49
|
'statusUpdatedAt': (value.statusUpdatedAt.toISOString()),
|
|
46
50
|
'freeCarriageThresholdReachedDate': (value.freeCarriageThresholdReachedDate === null ? null : value.freeCarriageThresholdReachedDate.toISOString()),
|
|
51
|
+
'purchasedAt': value.purchasedAt === undefined ? undefined : (value.purchasedAt.toISOString()),
|
|
52
|
+
'deliveredAt': value.deliveredAt === undefined ? undefined : (value.deliveredAt.toISOString()),
|
|
53
|
+
'committedAt': value.committedAt === undefined ? undefined : (value.committedAt.toISOString()),
|
|
54
|
+
'counterProposalAt': value.counterProposalAt === undefined ? undefined : (value.counterProposalAt.toISOString()),
|
|
47
55
|
};
|
|
48
56
|
}
|
|
49
57
|
exports.OrderJournalToJSON = OrderJournalToJSON;
|