@d19n/youfibre-odin-sdk 2.0.20 → 2.0.22
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/dist/actions-v2/CreateAccountCreditDto.d.ts +22 -1
- package/dist/actions-v2/PriceMatchDto.d.ts +12 -4
- package/dist/actions-v2/PriceMatchDto.js +1 -1
- package/dist/entities-v2/Email.d.ts +0 -22
- package/dist/entities-v2/Email.js +0 -2
- package/dist/entities-v2/Order.d.ts +517 -517
- package/dist/entities-v2/Order.js +236 -236
- package/dist/entities-v2/OrderItem.d.ts +44 -1
- package/dist/entities-v2/OrderItem.js +39 -1
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ export interface CreateAccountCreditMessage extends OdinRecordCreatedEvent<Creat
|
|
|
23
23
|
* Properties for CreateAccountCredit action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 3
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 3
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateAccountCreditProperties {
|
|
29
29
|
/**
|
|
@@ -50,6 +50,27 @@ export interface CreateAccountCreditProperties {
|
|
|
50
50
|
* @required
|
|
51
51
|
*/
|
|
52
52
|
CreditBalance: string;
|
|
53
|
+
/**
|
|
54
|
+
* Description
|
|
55
|
+
*
|
|
56
|
+
* Description
|
|
57
|
+
* @type {TEXT}
|
|
58
|
+
*/
|
|
59
|
+
Description?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Reason
|
|
62
|
+
*
|
|
63
|
+
* Reason
|
|
64
|
+
* @type {ENUM}
|
|
65
|
+
*/
|
|
66
|
+
Reason?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* Source
|
|
69
|
+
*
|
|
70
|
+
* Source
|
|
71
|
+
* @type {ENUM}
|
|
72
|
+
*/
|
|
73
|
+
Source?: string | null;
|
|
53
74
|
}
|
|
54
75
|
/**
|
|
55
76
|
* CreateAccountCredit
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* PriceMatch Action DTO
|
|
3
3
|
*
|
|
4
4
|
* Price match this item with a competitor
|
|
5
5
|
*
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
14
|
/**
|
|
15
|
-
* RabbitMQ message payload for
|
|
15
|
+
* RabbitMQ message payload for PriceMatch updated events
|
|
16
16
|
*
|
|
17
17
|
* @event k1.t-hEOJjsDb.OrderModule.OrderItem.Update.PriceMatch
|
|
18
18
|
*/
|
|
19
19
|
export interface PriceMatchMessage extends OdinRecordUpdatedEvent<PriceMatchDto, PriceMatchProperties> {
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* Properties for
|
|
22
|
+
* Properties for PriceMatch action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 3
|
|
25
25
|
* @property Optional fields: 0
|
|
26
26
|
*/
|
|
27
27
|
export interface PriceMatchProperties {
|
|
@@ -41,6 +41,14 @@ export interface PriceMatchProperties {
|
|
|
41
41
|
* @required
|
|
42
42
|
*/
|
|
43
43
|
UnitPrice: string;
|
|
44
|
+
/**
|
|
45
|
+
* Price Matched To
|
|
46
|
+
*
|
|
47
|
+
* PriceMatchedTo
|
|
48
|
+
* @type {ENUM}
|
|
49
|
+
* @required
|
|
50
|
+
*/
|
|
51
|
+
PriceMatchedTo: string;
|
|
44
52
|
}
|
|
45
53
|
/**
|
|
46
54
|
* Price Match
|
|
@@ -135,8 +135,6 @@ export declare enum EmailPropertyKeys {
|
|
|
135
135
|
EmailingService = "EmailingService",
|
|
136
136
|
/** The Email Sender related entity */
|
|
137
137
|
EmailSenderId = "EmailSenderId",
|
|
138
|
-
/** parsed headers */
|
|
139
|
-
ParsedHeaders = "ParsedHeaders",
|
|
140
138
|
/** WorkOrder */
|
|
141
139
|
WorkOrder = "WorkOrder"
|
|
142
140
|
}
|
|
@@ -276,11 +274,6 @@ export interface EmailProperties {
|
|
|
276
274
|
* @type {LOOKUP}
|
|
277
275
|
*/
|
|
278
276
|
EmailSenderId: string;
|
|
279
|
-
/** parsed headers
|
|
280
|
-
*
|
|
281
|
-
* @type {JSON}
|
|
282
|
-
*/
|
|
283
|
-
ParsedHeaders: string;
|
|
284
277
|
/** WorkOrder
|
|
285
278
|
*
|
|
286
279
|
* @type {LOOKUP}
|
|
@@ -423,11 +416,6 @@ export interface ReferralEmailProperties {
|
|
|
423
416
|
* @type {LOOKUP}
|
|
424
417
|
*/
|
|
425
418
|
EmailSenderId: string;
|
|
426
|
-
/** parsed headers
|
|
427
|
-
*
|
|
428
|
-
* @type {JSON}
|
|
429
|
-
*/
|
|
430
|
-
ParsedHeaders: string;
|
|
431
419
|
/** WorkOrder
|
|
432
420
|
*
|
|
433
421
|
* @type {LOOKUP}
|
|
@@ -570,11 +558,6 @@ export interface SupportEmailProperties {
|
|
|
570
558
|
* @type {LOOKUP}
|
|
571
559
|
*/
|
|
572
560
|
EmailSenderId: string;
|
|
573
|
-
/** parsed headers
|
|
574
|
-
*
|
|
575
|
-
* @type {JSON}
|
|
576
|
-
*/
|
|
577
|
-
ParsedHeaders: string;
|
|
578
561
|
/** WorkOrder
|
|
579
562
|
*
|
|
580
563
|
* @type {LOOKUP}
|
|
@@ -717,11 +700,6 @@ export interface TransactionalEmailProperties {
|
|
|
717
700
|
* @type {LOOKUP}
|
|
718
701
|
*/
|
|
719
702
|
EmailSenderId: string;
|
|
720
|
-
/** parsed headers
|
|
721
|
-
*
|
|
722
|
-
* @type {JSON}
|
|
723
|
-
*/
|
|
724
|
-
ParsedHeaders: string;
|
|
725
703
|
/** WorkOrder
|
|
726
704
|
*
|
|
727
705
|
* @type {LOOKUP}
|
|
@@ -136,8 +136,6 @@ var EmailPropertyKeys;
|
|
|
136
136
|
EmailPropertyKeys["EmailingService"] = "EmailingService";
|
|
137
137
|
/** The Email Sender related entity */
|
|
138
138
|
EmailPropertyKeys["EmailSenderId"] = "EmailSenderId";
|
|
139
|
-
/** parsed headers */
|
|
140
|
-
EmailPropertyKeys["ParsedHeaders"] = "ParsedHeaders";
|
|
141
139
|
/** WorkOrder */
|
|
142
140
|
EmailPropertyKeys["WorkOrder"] = "WorkOrder";
|
|
143
141
|
})(EmailPropertyKeys = exports.EmailPropertyKeys || (exports.EmailPropertyKeys = {}));
|