@d19n/youfibre-odin-sdk 2.0.43 → 2.0.44
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/AddressUpdateDto.d.ts +8 -1
- package/dist/actions-v2/CreateMessageDto.d.ts +1 -1
- package/dist/entities-v2/Address.d.ts +7 -0
- package/dist/entities-v2/Address.js +2 -0
- package/dist/entities-v2/CreditNote.d.ts +20 -20
- package/dist/entities-v2/CreditNote.js +6 -6
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ export interface AddressUpdateMessage extends OdinRecordUpdatedEvent<AddressUpda
|
|
|
22
22
|
* Properties for AddressUpdate action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 9
|
|
26
26
|
*/
|
|
27
27
|
export interface AddressUpdateProperties {
|
|
28
28
|
/**
|
|
@@ -81,6 +81,13 @@ export interface AddressUpdateProperties {
|
|
|
81
81
|
* @type {TEXT}
|
|
82
82
|
*/
|
|
83
83
|
Providers?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* CrmDatasetId
|
|
86
|
+
*
|
|
87
|
+
* Related CrmDataset
|
|
88
|
+
* @type {LOOKUP}
|
|
89
|
+
*/
|
|
90
|
+
CrmDatasetId?: string | null;
|
|
84
91
|
}
|
|
85
92
|
/**
|
|
86
93
|
* AddressUpdate
|
|
@@ -23,7 +23,7 @@ export interface CreateMessageMessage extends OdinRecordCreatedEvent<CreateMessa
|
|
|
23
23
|
* Properties for CreateMessage action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 5
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 3
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateMessageProperties {
|
|
29
29
|
/**
|
|
@@ -75,6 +75,8 @@ export declare enum AddressSalesStatus {
|
|
|
75
75
|
* Use these constants instead of string literals for type safety
|
|
76
76
|
*/
|
|
77
77
|
export declare enum AddressPropertyKeys {
|
|
78
|
+
/** Related CrmDataset */
|
|
79
|
+
CrmDatasetId = "CrmDatasetId",
|
|
78
80
|
/** To identify to the contractor whether it is an underground or overhead connection. (Sales - Address) */
|
|
79
81
|
ConnectionType = "ConnectionType",
|
|
80
82
|
/** TRUE if the premise had an ONT connected (Sales - Address) */
|
|
@@ -204,6 +206,11 @@ export declare enum AddressPropertyKeys {
|
|
|
204
206
|
* @see CrmModule:Address
|
|
205
207
|
*/
|
|
206
208
|
export interface AddressProperties {
|
|
209
|
+
/** Related CrmDataset
|
|
210
|
+
*
|
|
211
|
+
* @type {LOOKUP}
|
|
212
|
+
*/
|
|
213
|
+
CrmDatasetId: string;
|
|
207
214
|
/** To identify to the contractor whether it is an underground or overhead connection. (Sales - Address)
|
|
208
215
|
*
|
|
209
216
|
* @type {TEXT}
|
|
@@ -64,6 +64,8 @@ var AddressSalesStatus;
|
|
|
64
64
|
*/
|
|
65
65
|
var AddressPropertyKeys;
|
|
66
66
|
(function (AddressPropertyKeys) {
|
|
67
|
+
/** Related CrmDataset */
|
|
68
|
+
AddressPropertyKeys["CrmDatasetId"] = "CrmDatasetId";
|
|
67
69
|
/** To identify to the contractor whether it is an underground or overhead connection. (Sales - Address) */
|
|
68
70
|
AddressPropertyKeys["ConnectionType"] = "ConnectionType";
|
|
69
71
|
/** TRUE if the premise had an ONT connected (Sales - Address) */
|
|
@@ -71,18 +71,18 @@ export declare enum CreditNoteReason {
|
|
|
71
71
|
* Use these constants instead of string literals for type safety
|
|
72
72
|
*/
|
|
73
73
|
export declare enum CreditNotePropertyKeys {
|
|
74
|
-
/**
|
|
75
|
-
|
|
74
|
+
/** credit note reason (Finance - CreditNote) */
|
|
75
|
+
Reason = "Reason",
|
|
76
|
+
/** credit note status (Finance - CreditNote) */
|
|
77
|
+
Status = "Status",
|
|
76
78
|
/** description of the credit note (Finance - CreditNote) */
|
|
77
79
|
Description = "Description",
|
|
78
80
|
/** the record # of the invoice (Finance - CreditNote) */
|
|
79
81
|
InvoiceRef = "InvoiceRef",
|
|
80
|
-
/** credit note reason (Finance - CreditNote) */
|
|
81
|
-
Reason = "Reason",
|
|
82
82
|
/** reason code (Finance - CreditNote) */
|
|
83
83
|
ReasonCode = "ReasonCode",
|
|
84
|
-
/** credit note
|
|
85
|
-
|
|
84
|
+
/** amount of the credit note (Finance - CreditNote) */
|
|
85
|
+
Amount = "Amount"
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* Properties for CreditNote records
|
|
@@ -90,12 +90,18 @@ export declare enum CreditNotePropertyKeys {
|
|
|
90
90
|
* @see BillingModule:CreditNote
|
|
91
91
|
*/
|
|
92
92
|
export interface CreditNoteProperties {
|
|
93
|
-
/**
|
|
93
|
+
/** credit note reason (Finance - CreditNote)
|
|
94
94
|
*
|
|
95
|
-
* @type {
|
|
96
|
-
* @
|
|
95
|
+
* @type {ENUM}
|
|
96
|
+
* @enum {CreditNoteReason}
|
|
97
97
|
*/
|
|
98
|
-
|
|
98
|
+
Reason: CreditNoteReason;
|
|
99
|
+
/** credit note status (Finance - CreditNote)
|
|
100
|
+
*
|
|
101
|
+
* @type {TEXT}
|
|
102
|
+
* @hidden This field is hidden in the UI
|
|
103
|
+
*/
|
|
104
|
+
Status: string;
|
|
99
105
|
/** description of the credit note (Finance - CreditNote)
|
|
100
106
|
*
|
|
101
107
|
* @type {TEXT_LONG}
|
|
@@ -106,24 +112,18 @@ export interface CreditNoteProperties {
|
|
|
106
112
|
* @type {TEXT}
|
|
107
113
|
*/
|
|
108
114
|
InvoiceRef: string;
|
|
109
|
-
/** credit note reason (Finance - CreditNote)
|
|
110
|
-
*
|
|
111
|
-
* @type {ENUM}
|
|
112
|
-
* @enum {CreditNoteReason}
|
|
113
|
-
*/
|
|
114
|
-
Reason: CreditNoteReason;
|
|
115
115
|
/** reason code (Finance - CreditNote)
|
|
116
116
|
*
|
|
117
117
|
* @type {TEXT}
|
|
118
118
|
* @hidden This field is hidden in the UI
|
|
119
119
|
*/
|
|
120
120
|
ReasonCode: string;
|
|
121
|
-
/** credit note
|
|
121
|
+
/** amount of the credit note (Finance - CreditNote)
|
|
122
122
|
*
|
|
123
|
-
* @type {
|
|
124
|
-
* @
|
|
123
|
+
* @type {CURRENCY}
|
|
124
|
+
* @default 0
|
|
125
125
|
*/
|
|
126
|
-
|
|
126
|
+
Amount: string;
|
|
127
127
|
}
|
|
128
128
|
/**
|
|
129
129
|
* CreditNote entity from BillingModule
|
|
@@ -73,18 +73,18 @@ var CreditNoteReason;
|
|
|
73
73
|
*/
|
|
74
74
|
var CreditNotePropertyKeys;
|
|
75
75
|
(function (CreditNotePropertyKeys) {
|
|
76
|
-
/**
|
|
77
|
-
CreditNotePropertyKeys["
|
|
76
|
+
/** credit note reason (Finance - CreditNote) */
|
|
77
|
+
CreditNotePropertyKeys["Reason"] = "Reason";
|
|
78
|
+
/** credit note status (Finance - CreditNote) */
|
|
79
|
+
CreditNotePropertyKeys["Status"] = "Status";
|
|
78
80
|
/** description of the credit note (Finance - CreditNote) */
|
|
79
81
|
CreditNotePropertyKeys["Description"] = "Description";
|
|
80
82
|
/** the record # of the invoice (Finance - CreditNote) */
|
|
81
83
|
CreditNotePropertyKeys["InvoiceRef"] = "InvoiceRef";
|
|
82
|
-
/** credit note reason (Finance - CreditNote) */
|
|
83
|
-
CreditNotePropertyKeys["Reason"] = "Reason";
|
|
84
84
|
/** reason code (Finance - CreditNote) */
|
|
85
85
|
CreditNotePropertyKeys["ReasonCode"] = "ReasonCode";
|
|
86
|
-
/** credit note
|
|
87
|
-
CreditNotePropertyKeys["
|
|
86
|
+
/** amount of the credit note (Finance - CreditNote) */
|
|
87
|
+
CreditNotePropertyKeys["Amount"] = "Amount";
|
|
88
88
|
})(CreditNotePropertyKeys = exports.CreditNotePropertyKeys || (exports.CreditNotePropertyKeys = {}));
|
|
89
89
|
/**
|
|
90
90
|
* CreditNote entity from BillingModule
|