@d19n/youfibre-odin-sdk 2.0.136 → 2.0.138
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/CreateContactDto.d.ts +2 -2
- package/dist/actions-v2/CreateInboundCallDto.d.ts +17 -2
- package/dist/actions-v2/CreateLeadFromAddressDto.d.ts +2 -2
- package/dist/actions-v2/UpdateAdditionalCareDto.d.ts +2 -2
- package/dist/actions-v2/UpdateContactDto.d.ts +7 -19
- package/dist/actions-v2/UpdateCustomerCallLegOnNumberCallStatusCompletedDto.d.ts +14 -4
- package/dist/api-sdk-v2/AccountCreditApi.d.ts +2 -0
- package/dist/api-sdk-v2/AccountCreditApi.js +6 -0
- package/dist/api-sdk-v2/NoteApi.d.ts +2 -0
- package/dist/api-sdk-v2/NoteApi.js +6 -0
- package/dist/db-sdk-v2/AccountCreditDb.d.ts +2 -0
- package/dist/db-sdk-v2/AccountCreditDb.js +6 -0
- package/dist/db-sdk-v2/NoteDb.d.ts +2 -0
- package/dist/db-sdk-v2/NoteDb.js +6 -0
- package/dist/entities-v2/AccountCredit.d.ts +7 -0
- package/dist/entities-v2/AccountCredit.js +5 -1
- package/dist/entities-v2/Contact.d.ts +10 -10
- package/dist/entities-v2/Contact.js +3 -3
- package/dist/entities-v2/Note.d.ts +3 -0
- package/dist/records-v2/AccountCreditRecord.d.ts +20 -0
- package/dist/records-v2/AccountCreditRecord.js +33 -0
- package/dist/records-v2/CallLegRecord.d.ts +6 -7
- package/dist/records-v2/CallLegRecord.js +7 -15
- package/dist/records-v2/NoteRecord.d.ts +20 -0
- package/dist/records-v2/NoteRecord.js +33 -0
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ export interface CreateContactProperties {
|
|
|
52
52
|
/**
|
|
53
53
|
* Additional Care Reason
|
|
54
54
|
*
|
|
55
|
-
*
|
|
55
|
+
* Select a care requirement
|
|
56
56
|
* @type {ENUM_MULTI_SELECT}
|
|
57
57
|
* @required
|
|
58
58
|
* @visibleWhen AdditionalCareRequired = [true]
|
|
@@ -109,7 +109,7 @@ export interface CreateContactProperties {
|
|
|
109
109
|
/**
|
|
110
110
|
* Additional Care Notes
|
|
111
111
|
*
|
|
112
|
-
*
|
|
112
|
+
* Any additional information
|
|
113
113
|
* @type {TEXT_LONG}
|
|
114
114
|
* @visibleWhen AdditionalCareRequired = [true]
|
|
115
115
|
*/
|
|
@@ -21,8 +21,8 @@ export interface CreateInboundCallMessage extends OdinRecordCreatedEvent<CreateI
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for CreateInboundCall action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
25
|
-
* @property Optional fields:
|
|
24
|
+
* @property Required fields: 14
|
|
25
|
+
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateInboundCallProperties {
|
|
28
28
|
/**
|
|
@@ -129,6 +129,21 @@ export interface CreateInboundCallProperties {
|
|
|
129
129
|
* @required
|
|
130
130
|
*/
|
|
131
131
|
UserId: string;
|
|
132
|
+
/**
|
|
133
|
+
* TaskQueueSid
|
|
134
|
+
*
|
|
135
|
+
* TaskQueueSid
|
|
136
|
+
* @type {TEXT}
|
|
137
|
+
* @required
|
|
138
|
+
*/
|
|
139
|
+
TaskQueueSid: string;
|
|
140
|
+
/**
|
|
141
|
+
* QueueName
|
|
142
|
+
*
|
|
143
|
+
* Display name/title for Call records. Primary identifier for Communications team.
|
|
144
|
+
* @type {TEXT}
|
|
145
|
+
*/
|
|
146
|
+
QueueName?: string | null;
|
|
132
147
|
}
|
|
133
148
|
/**
|
|
134
149
|
* Builder for CreateInboundCall action
|
|
@@ -117,7 +117,7 @@ export interface CreateContactProperties {
|
|
|
117
117
|
/**
|
|
118
118
|
* Additional Care Reason
|
|
119
119
|
*
|
|
120
|
-
*
|
|
120
|
+
* Select a care requirement
|
|
121
121
|
* @type {ENUM_MULTI_SELECT}
|
|
122
122
|
* @required
|
|
123
123
|
* @visibleWhen AdditionalCareRequired = [true]
|
|
@@ -174,7 +174,7 @@ export interface CreateContactProperties {
|
|
|
174
174
|
/**
|
|
175
175
|
* Additional Care Notes
|
|
176
176
|
*
|
|
177
|
-
*
|
|
177
|
+
* Any additional information
|
|
178
178
|
* @type {TEXT_LONG}
|
|
179
179
|
* @visibleWhen AdditionalCareRequired = [true]
|
|
180
180
|
*/
|
|
@@ -60,7 +60,7 @@ export interface UpdateAdditionalCareProperties {
|
|
|
60
60
|
/**
|
|
61
61
|
* Additional Care Requirements
|
|
62
62
|
*
|
|
63
|
-
*
|
|
63
|
+
* Select a care requirement
|
|
64
64
|
* @type {ENUM_MULTI_SELECT}
|
|
65
65
|
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
66
66
|
*/
|
|
@@ -68,7 +68,7 @@ export interface UpdateAdditionalCareProperties {
|
|
|
68
68
|
/**
|
|
69
69
|
* Additional Care Notes
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
* Any additional information
|
|
72
72
|
* @type {TEXT_LONG}
|
|
73
73
|
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
74
74
|
*/
|
|
@@ -22,7 +22,7 @@ export interface UpdateContactMessage extends OdinRecordUpdatedEvent<UpdateConta
|
|
|
22
22
|
* Properties for UpdateContact action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 4
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 12
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateContactProperties {
|
|
28
28
|
/**
|
|
@@ -55,7 +55,6 @@ export interface UpdateContactProperties {
|
|
|
55
55
|
* Customer consent for recording additional care requiremetns (Sales - Contact)
|
|
56
56
|
* @type {BOOLEAN}
|
|
57
57
|
* @required
|
|
58
|
-
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
59
58
|
*/
|
|
60
59
|
AdditionalCareConsent: boolean;
|
|
61
60
|
/**
|
|
@@ -109,42 +108,31 @@ export interface UpdateContactProperties {
|
|
|
109
108
|
*/
|
|
110
109
|
CurrentContractType?: string | null;
|
|
111
110
|
/**
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
* Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact)
|
|
115
|
-
* @type {ENUM}
|
|
116
|
-
*/
|
|
117
|
-
AdditionalCareRequired?: string | null;
|
|
118
|
-
/**
|
|
119
|
-
* Medically Dependant
|
|
111
|
+
* Are you medically dependent on your broadband?
|
|
120
112
|
*
|
|
121
113
|
* Is the customer medically dependant on their broadband (Sales - Contact)
|
|
122
114
|
* @type {ENUM}
|
|
123
|
-
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
124
115
|
*/
|
|
125
116
|
MedicallyDependant?: string | null;
|
|
126
117
|
/**
|
|
127
|
-
* Telecare Alarm
|
|
118
|
+
* Do any members of your household rely on a Telecare Alarm?
|
|
128
119
|
*
|
|
129
120
|
* Does the customer use a Telecare Alarm (Sales - Contact)
|
|
130
121
|
* @type {ENUM}
|
|
131
|
-
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
132
122
|
*/
|
|
133
123
|
TelecareAlarm?: string | null;
|
|
134
124
|
/**
|
|
135
|
-
* Additional
|
|
125
|
+
* Additional care requirements?
|
|
136
126
|
*
|
|
137
|
-
*
|
|
127
|
+
* Select a care requirement
|
|
138
128
|
* @type {ENUM_MULTI_SELECT}
|
|
139
|
-
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
140
129
|
*/
|
|
141
130
|
AdditionalCareReason?: string | null;
|
|
142
131
|
/**
|
|
143
|
-
* Additional
|
|
132
|
+
* Additional care notes
|
|
144
133
|
*
|
|
145
|
-
*
|
|
134
|
+
* Any additional information
|
|
146
135
|
* @type {TEXT_LONG}
|
|
147
|
-
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
148
136
|
*/
|
|
149
137
|
AdditionalCareNotes?: string | null;
|
|
150
138
|
}
|
|
@@ -21,8 +21,8 @@ export interface UpdateCustomerCallLegOnNumberCallStatusCompletedMessage extends
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for UpdateCustomerCallLegOnNumberCallStatusCompleted action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
25
|
-
* @property Optional fields:
|
|
24
|
+
* @property Required fields: 3
|
|
25
|
+
* @property Optional fields: 0
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCustomerCallLegOnNumberCallStatusCompletedProperties {
|
|
28
28
|
/**
|
|
@@ -30,15 +30,25 @@ export interface UpdateCustomerCallLegOnNumberCallStatusCompletedProperties {
|
|
|
30
30
|
*
|
|
31
31
|
* Data field for CallLeg records. Used by Communications team.
|
|
32
32
|
* @type {DATE_TIME}
|
|
33
|
+
* @required
|
|
33
34
|
*/
|
|
34
|
-
EndedAt
|
|
35
|
+
EndedAt: string;
|
|
35
36
|
/**
|
|
36
37
|
* Duration
|
|
37
38
|
*
|
|
38
39
|
* Duration of THIS leg only in seconds (Communications - CallLeg)
|
|
39
40
|
* @type {NUMBER}
|
|
41
|
+
* @required
|
|
40
42
|
*/
|
|
41
|
-
Duration
|
|
43
|
+
Duration: number;
|
|
44
|
+
/**
|
|
45
|
+
* Status
|
|
46
|
+
*
|
|
47
|
+
* Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
|
|
48
|
+
* @type {ENUM}
|
|
49
|
+
* @required
|
|
50
|
+
*/
|
|
51
|
+
Status: string;
|
|
42
52
|
}
|
|
43
53
|
/**
|
|
44
54
|
* UpdateCustomerCallLegOnNumberCallStatusCompleted
|
|
@@ -19,9 +19,11 @@ export declare class AccountCreditApi extends ApiProvider {
|
|
|
19
19
|
private sourceRecord;
|
|
20
20
|
private _contact?;
|
|
21
21
|
private _invoice?;
|
|
22
|
+
private _note?;
|
|
22
23
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
23
24
|
get contact(): ApiRecordLinkManager;
|
|
24
25
|
get invoice(): ApiRecordLinkManager;
|
|
26
|
+
get note(): ApiRecordLinkManager;
|
|
25
27
|
setRecord(sourceRecord: any): void;
|
|
26
28
|
schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
|
|
27
29
|
search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<AccountCreditProperties>>>;
|
|
@@ -45,6 +45,12 @@ class AccountCreditApi extends api_provider_1.ApiProvider {
|
|
|
45
45
|
}
|
|
46
46
|
return this._invoice;
|
|
47
47
|
}
|
|
48
|
+
get note() {
|
|
49
|
+
if (!this._note) {
|
|
50
|
+
this._note = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'BillingModule:AccountCredit', 'SupportModule:Note', 'AccountCredit_Note');
|
|
51
|
+
}
|
|
52
|
+
return this._note;
|
|
53
|
+
}
|
|
48
54
|
// ============================================
|
|
49
55
|
// STANDARD METHODS (Unchanged API)
|
|
50
56
|
// ============================================
|
|
@@ -90,6 +90,7 @@ export declare class NoteApi extends ApiProvider {
|
|
|
90
90
|
private _case?;
|
|
91
91
|
private _smsmessage?;
|
|
92
92
|
private _sitespecificriskassessmentoutcomeform?;
|
|
93
|
+
private _accountcredit?;
|
|
93
94
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
94
95
|
get ugexternalaudit(): ApiRecordLinkManager;
|
|
95
96
|
get workorder(): ApiRecordLinkManager;
|
|
@@ -164,6 +165,7 @@ export declare class NoteApi extends ApiProvider {
|
|
|
164
165
|
get case(): ApiRecordLinkManager;
|
|
165
166
|
get smsmessage(): ApiRecordLinkManager;
|
|
166
167
|
get sitespecificriskassessmentoutcomeform(): ApiRecordLinkManager;
|
|
168
|
+
get accountcredit(): ApiRecordLinkManager;
|
|
167
169
|
setRecord(sourceRecord: any): void;
|
|
168
170
|
schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
|
|
169
171
|
search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<NoteProperties>>>;
|
|
@@ -471,6 +471,12 @@ class NoteApi extends api_provider_1.ApiProvider {
|
|
|
471
471
|
}
|
|
472
472
|
return this._sitespecificriskassessmentoutcomeform;
|
|
473
473
|
}
|
|
474
|
+
get accountcredit() {
|
|
475
|
+
if (!this._accountcredit) {
|
|
476
|
+
this._accountcredit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SupportModule:Note', 'BillingModule:AccountCredit', 'AccountCredit_Note');
|
|
477
|
+
}
|
|
478
|
+
return this._accountcredit;
|
|
479
|
+
}
|
|
474
480
|
// ============================================
|
|
475
481
|
// STANDARD METHODS (Unchanged API)
|
|
476
482
|
// ============================================
|
|
@@ -23,9 +23,11 @@ export declare class AccountCreditDb extends DbProvider {
|
|
|
23
23
|
private sourceRecord;
|
|
24
24
|
private _contact?;
|
|
25
25
|
private _invoice?;
|
|
26
|
+
private _note?;
|
|
26
27
|
constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
|
|
27
28
|
get contact(): DbRecordLinkManager;
|
|
28
29
|
get invoice(): DbRecordLinkManager;
|
|
30
|
+
get note(): DbRecordLinkManager;
|
|
29
31
|
setRecord(sourceRecord: any): void;
|
|
30
32
|
/**
|
|
31
33
|
* Search records with manual pagination control
|
|
@@ -50,6 +50,12 @@ class AccountCreditDb extends db_provider_1.DbProvider {
|
|
|
50
50
|
}
|
|
51
51
|
return this._invoice;
|
|
52
52
|
}
|
|
53
|
+
get note() {
|
|
54
|
+
if (!this._note) {
|
|
55
|
+
this._note = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:AccountCredit', 'SupportModule:Note', 'AccountCredit_Note');
|
|
56
|
+
}
|
|
57
|
+
return this._note;
|
|
58
|
+
}
|
|
53
59
|
// ============================================
|
|
54
60
|
// STANDARD METHODS
|
|
55
61
|
// ============================================
|
|
@@ -94,6 +94,7 @@ export declare class NoteDb extends DbProvider {
|
|
|
94
94
|
private _case?;
|
|
95
95
|
private _smsmessage?;
|
|
96
96
|
private _sitespecificriskassessmentoutcomeform?;
|
|
97
|
+
private _accountcredit?;
|
|
97
98
|
constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
|
|
98
99
|
get ugexternalaudit(): DbRecordLinkManager;
|
|
99
100
|
get workorder(): DbRecordLinkManager;
|
|
@@ -168,6 +169,7 @@ export declare class NoteDb extends DbProvider {
|
|
|
168
169
|
get case(): DbRecordLinkManager;
|
|
169
170
|
get smsmessage(): DbRecordLinkManager;
|
|
170
171
|
get sitespecificriskassessmentoutcomeform(): DbRecordLinkManager;
|
|
172
|
+
get accountcredit(): DbRecordLinkManager;
|
|
171
173
|
setRecord(sourceRecord: any): void;
|
|
172
174
|
/**
|
|
173
175
|
* Search records with manual pagination control
|
package/dist/db-sdk-v2/NoteDb.js
CHANGED
|
@@ -476,6 +476,12 @@ class NoteDb extends db_provider_1.DbProvider {
|
|
|
476
476
|
}
|
|
477
477
|
return this._sitespecificriskassessmentoutcomeform;
|
|
478
478
|
}
|
|
479
|
+
get accountcredit() {
|
|
480
|
+
if (!this._accountcredit) {
|
|
481
|
+
this._accountcredit = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Note', 'BillingModule:AccountCredit', 'AccountCredit_Note');
|
|
482
|
+
}
|
|
483
|
+
return this._accountcredit;
|
|
484
|
+
}
|
|
479
485
|
// ============================================
|
|
480
486
|
// STANDARD METHODS
|
|
481
487
|
// ============================================
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
|
|
14
14
|
import { ContactProperties } from './Contact';
|
|
15
15
|
import { InvoiceProperties } from './Invoice';
|
|
16
|
+
import { NoteProperties } from './Note';
|
|
16
17
|
/**
|
|
17
18
|
* Available types for AccountCredit records
|
|
18
19
|
*/
|
|
@@ -200,6 +201,8 @@ export declare class AccountCredit extends OdinRecord<AccountCreditProperties> {
|
|
|
200
201
|
Contact: OdinLink<LinkedOdinRecord<ContactProperties>>;
|
|
201
202
|
/** Linked Invoice records (AccountCredit__Invoice) */
|
|
202
203
|
Invoice: OdinLink<LinkedOdinRecord<InvoiceProperties>>;
|
|
204
|
+
/** Linked Note records (AccountCredit_Note) */
|
|
205
|
+
Note: OdinLink<LinkedOdinRecord<NoteProperties>>;
|
|
203
206
|
}
|
|
204
207
|
/**
|
|
205
208
|
* RabbitMQ routing keys for AccountCredit events
|
|
@@ -221,3 +224,7 @@ export declare const ROUTING_KEY_ACCOUNT_CREDIT_DEFAULT_DELETED = "BillingModule
|
|
|
221
224
|
export declare const ROUTING_KEY_LINK_ACCOUNT_CREDIT_INVOICE_CREATED = "BillingModule.AccountCredit.Invoice.SubDbRecordAssociationCreated";
|
|
222
225
|
/** Event: AccountCredit__Invoice link deleted */
|
|
223
226
|
export declare const ROUTING_KEY_LINK_ACCOUNT_CREDIT_INVOICE_DELETED = "BillingModule.AccountCredit.Invoice.SubDbRecordAssociationDeleted";
|
|
227
|
+
/** Event: AccountCredit_Note link created */
|
|
228
|
+
export declare const ROUTING_KEY_LINK_ACCOUNT_CREDIT_NOTE_CREATED = "BillingModule.AccountCredit.Note.SubDbRecordAssociationCreated";
|
|
229
|
+
/** Event: AccountCredit_Note link deleted */
|
|
230
|
+
export declare const ROUTING_KEY_LINK_ACCOUNT_CREDIT_NOTE_DELETED = "BillingModule.AccountCredit.Note.SubDbRecordAssociationDeleted";
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_ACCOUNT_CREDIT_INVOICE_DELETED = exports.ROUTING_KEY_LINK_ACCOUNT_CREDIT_INVOICE_CREATED = exports.ROUTING_KEY_ACCOUNT_CREDIT_DEFAULT_DELETED = exports.ROUTING_KEY_ACCOUNT_CREDIT_DEFAULT_UPDATED = exports.ROUTING_KEY_ACCOUNT_CREDIT_DEFAULT_CREATED = exports.ROUTING_KEY_ACCOUNT_CREDIT_DELETED = exports.ROUTING_KEY_ACCOUNT_CREDIT_UPDATED = exports.ROUTING_KEY_ACCOUNT_CREDIT_CREATED = exports.AccountCredit = exports.AccountCreditPropertyKeys = exports.AccountCreditReason = exports.AccountCreditSource = exports.DefaultAccountCreditStageKeys = exports.DefaultAccountCreditStageNames = exports.AccountCreditEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_ACCOUNT_CREDIT_NOTE_DELETED = exports.ROUTING_KEY_LINK_ACCOUNT_CREDIT_NOTE_CREATED = exports.ROUTING_KEY_LINK_ACCOUNT_CREDIT_INVOICE_DELETED = exports.ROUTING_KEY_LINK_ACCOUNT_CREDIT_INVOICE_CREATED = exports.ROUTING_KEY_ACCOUNT_CREDIT_DEFAULT_DELETED = exports.ROUTING_KEY_ACCOUNT_CREDIT_DEFAULT_UPDATED = exports.ROUTING_KEY_ACCOUNT_CREDIT_DEFAULT_CREATED = exports.ROUTING_KEY_ACCOUNT_CREDIT_DELETED = exports.ROUTING_KEY_ACCOUNT_CREDIT_UPDATED = exports.ROUTING_KEY_ACCOUNT_CREDIT_CREATED = exports.AccountCredit = exports.AccountCreditPropertyKeys = exports.AccountCreditReason = exports.AccountCreditSource = exports.DefaultAccountCreditStageKeys = exports.DefaultAccountCreditStageNames = exports.AccountCreditEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for AccountCredit records
|
|
@@ -179,3 +179,7 @@ exports.ROUTING_KEY_ACCOUNT_CREDIT_DEFAULT_DELETED = 'BillingModule.AccountCredi
|
|
|
179
179
|
exports.ROUTING_KEY_LINK_ACCOUNT_CREDIT_INVOICE_CREATED = 'BillingModule.AccountCredit.Invoice.SubDbRecordAssociationCreated';
|
|
180
180
|
/** Event: AccountCredit__Invoice link deleted */
|
|
181
181
|
exports.ROUTING_KEY_LINK_ACCOUNT_CREDIT_INVOICE_DELETED = 'BillingModule.AccountCredit.Invoice.SubDbRecordAssociationDeleted';
|
|
182
|
+
/** Event: AccountCredit_Note link created */
|
|
183
|
+
exports.ROUTING_KEY_LINK_ACCOUNT_CREDIT_NOTE_CREATED = 'BillingModule.AccountCredit.Note.SubDbRecordAssociationCreated';
|
|
184
|
+
/** Event: AccountCredit_Note link deleted */
|
|
185
|
+
exports.ROUTING_KEY_LINK_ACCOUNT_CREDIT_NOTE_DELETED = 'BillingModule.AccountCredit.Note.SubDbRecordAssociationDeleted';
|
|
@@ -352,15 +352,15 @@ export declare enum ContactPropertyKeys {
|
|
|
352
352
|
PortalLastActiveDate = "PortalLastActiveDate",
|
|
353
353
|
/** When the customer last used or was last active on the native customer mobile app (Sales - Contact) */
|
|
354
354
|
AppLastActiveDate = "AppLastActiveDate",
|
|
355
|
-
/** Free-text notes field for Contact. Used by Sales team for documentation. */
|
|
356
|
-
AdditionalCareNotes = "AdditionalCareNotes",
|
|
357
355
|
/** Is the customer medically dependant on their broadband (Sales - Contact) */
|
|
358
356
|
MedicallyDependant = "MedicallyDependant",
|
|
357
|
+
/** Any additional information */
|
|
358
|
+
AdditionalCareNotes = "AdditionalCareNotes",
|
|
359
359
|
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact) */
|
|
360
360
|
AdditionalCareRequired = "AdditionalCareRequired",
|
|
361
361
|
/** Does the customer use a Telecare Alarm (Sales - Contact) */
|
|
362
362
|
TelecareAlarm = "TelecareAlarm",
|
|
363
|
-
/**
|
|
363
|
+
/** Select a care requirement */
|
|
364
364
|
AdditionalCareReason = "AdditionalCareReason",
|
|
365
365
|
/** Phone number (Sales - Contact) */
|
|
366
366
|
Phone = "Phone"
|
|
@@ -667,12 +667,6 @@ export interface ContactProperties {
|
|
|
667
667
|
* @hidden This field is hidden in the UI
|
|
668
668
|
*/
|
|
669
669
|
AppLastActiveDate: string;
|
|
670
|
-
/** Free-text notes field for Contact. Used by Sales team for documentation.
|
|
671
|
-
*
|
|
672
|
-
* @type {TEXT_LONG}
|
|
673
|
-
* @hidden This field is hidden in the UI
|
|
674
|
-
*/
|
|
675
|
-
AdditionalCareNotes: string;
|
|
676
670
|
/** Is the customer medically dependant on their broadband (Sales - Contact)
|
|
677
671
|
*
|
|
678
672
|
* @type {ENUM}
|
|
@@ -681,6 +675,12 @@ export interface ContactProperties {
|
|
|
681
675
|
* @hidden This field is hidden in the UI
|
|
682
676
|
*/
|
|
683
677
|
MedicallyDependant: ContactMedicallyDependant;
|
|
678
|
+
/** Any additional information
|
|
679
|
+
*
|
|
680
|
+
* @type {TEXT_LONG}
|
|
681
|
+
* @hidden This field is hidden in the UI
|
|
682
|
+
*/
|
|
683
|
+
AdditionalCareNotes: string;
|
|
684
684
|
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact)
|
|
685
685
|
*
|
|
686
686
|
* @type {ENUM}
|
|
@@ -696,7 +696,7 @@ export interface ContactProperties {
|
|
|
696
696
|
* @hidden This field is hidden in the UI
|
|
697
697
|
*/
|
|
698
698
|
TelecareAlarm: ContactTelecareAlarm;
|
|
699
|
-
/**
|
|
699
|
+
/** Select a care requirement
|
|
700
700
|
*
|
|
701
701
|
* @type {ENUM_MULTI_SELECT}
|
|
702
702
|
* @hidden This field is hidden in the UI
|
|
@@ -337,15 +337,15 @@ var ContactPropertyKeys;
|
|
|
337
337
|
ContactPropertyKeys["PortalLastActiveDate"] = "PortalLastActiveDate";
|
|
338
338
|
/** When the customer last used or was last active on the native customer mobile app (Sales - Contact) */
|
|
339
339
|
ContactPropertyKeys["AppLastActiveDate"] = "AppLastActiveDate";
|
|
340
|
-
/** Free-text notes field for Contact. Used by Sales team for documentation. */
|
|
341
|
-
ContactPropertyKeys["AdditionalCareNotes"] = "AdditionalCareNotes";
|
|
342
340
|
/** Is the customer medically dependant on their broadband (Sales - Contact) */
|
|
343
341
|
ContactPropertyKeys["MedicallyDependant"] = "MedicallyDependant";
|
|
342
|
+
/** Any additional information */
|
|
343
|
+
ContactPropertyKeys["AdditionalCareNotes"] = "AdditionalCareNotes";
|
|
344
344
|
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact) */
|
|
345
345
|
ContactPropertyKeys["AdditionalCareRequired"] = "AdditionalCareRequired";
|
|
346
346
|
/** Does the customer use a Telecare Alarm (Sales - Contact) */
|
|
347
347
|
ContactPropertyKeys["TelecareAlarm"] = "TelecareAlarm";
|
|
348
|
-
/**
|
|
348
|
+
/** Select a care requirement */
|
|
349
349
|
ContactPropertyKeys["AdditionalCareReason"] = "AdditionalCareReason";
|
|
350
350
|
/** Phone number (Sales - Contact) */
|
|
351
351
|
ContactPropertyKeys["Phone"] = "Phone";
|
|
@@ -82,6 +82,7 @@ import { ContractBuyOutProperties } from './ContractBuyOut';
|
|
|
82
82
|
import { CaseProperties } from './Case';
|
|
83
83
|
import { SmsMessageProperties } from './SmsMessage';
|
|
84
84
|
import { SiteSpecificRiskAssessmentOutcomeFormProperties } from './SiteSpecificRiskAssessmentOutcomeForm';
|
|
85
|
+
import { AccountCreditProperties } from './AccountCredit';
|
|
85
86
|
/**
|
|
86
87
|
* Available types for Note records
|
|
87
88
|
*/
|
|
@@ -329,6 +330,8 @@ export declare class Note extends OdinRecord<NoteProperties> {
|
|
|
329
330
|
SmsMessage: OdinLink<LinkedOdinRecord<SmsMessageProperties>>;
|
|
330
331
|
/** Linked SiteSpecificRiskAssessmentOutcomeForm records (SiteSpecificRiskAssessmentOutcomeForm__Note) */
|
|
331
332
|
SiteSpecificRiskAssessmentOutcomeForm: OdinLink<LinkedOdinRecord<SiteSpecificRiskAssessmentOutcomeFormProperties>>;
|
|
333
|
+
/** Linked AccountCredit records (AccountCredit_Note) */
|
|
334
|
+
AccountCredit: OdinLink<LinkedOdinRecord<AccountCreditProperties>>;
|
|
332
335
|
}
|
|
333
336
|
/**
|
|
334
337
|
* RabbitMQ routing keys for Note events
|
|
@@ -27,6 +27,7 @@ import { CreateAccountCreditProperties } from '../actions-v2/CreateAccountCredit
|
|
|
27
27
|
import { UpdateAccountCreditBalanceProperties } from '../actions-v2/UpdateAccountCreditBalanceDto';
|
|
28
28
|
import { ContactRecord } from './ContactRecord';
|
|
29
29
|
import { InvoiceRecord } from './InvoiceRecord';
|
|
30
|
+
import { NoteRecord } from './NoteRecord';
|
|
30
31
|
/** Valid entity types for AccountCredit */
|
|
31
32
|
export declare type AccountCreditType = 'DEFAULT';
|
|
32
33
|
/**
|
|
@@ -94,6 +95,7 @@ export declare class AccountCreditRecord<TProps = AccountCreditProperties> {
|
|
|
94
95
|
private _preGeneratedId;
|
|
95
96
|
private _contacts?;
|
|
96
97
|
private _invoices?;
|
|
98
|
+
private _notes?;
|
|
97
99
|
/**
|
|
98
100
|
* Create a record wrapper.
|
|
99
101
|
* @param record - The underlying record, or null for create operations
|
|
@@ -171,6 +173,24 @@ export declare class AccountCreditRecord<TProps = AccountCreditProperties> {
|
|
|
171
173
|
* ```
|
|
172
174
|
*/
|
|
173
175
|
get invoices(): RecordLinkManager<InvoiceRecord, typeof AccountCreditRecord['invoicesLabels'][number]>;
|
|
176
|
+
/** Valid labels for Note associations */
|
|
177
|
+
static readonly notesLabels: readonly ["AccountCredit_Note"];
|
|
178
|
+
/**
|
|
179
|
+
* Access linked Note records
|
|
180
|
+
* @remarks Available labels: AccountCredit_Note
|
|
181
|
+
* @throws Error if called on a new (unsaved) record
|
|
182
|
+
*
|
|
183
|
+
* @example
|
|
184
|
+
* ```typescript
|
|
185
|
+
* // Get all linked Note records
|
|
186
|
+
* const items = await record.notes.list();
|
|
187
|
+
* const first = await record.notes.first();
|
|
188
|
+
*
|
|
189
|
+
* // Filter by label
|
|
190
|
+
* const specific = await record.notes.first({ label: 'AccountCredit_Note' });
|
|
191
|
+
* ```
|
|
192
|
+
*/
|
|
193
|
+
get notes(): RecordLinkManager<NoteRecord, typeof AccountCreditRecord['notesLabels'][number]>;
|
|
174
194
|
/**
|
|
175
195
|
* Queue a link to be created with the next action.
|
|
176
196
|
* Works for both create and update actions.
|
|
@@ -34,6 +34,7 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
34
34
|
const record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/record-link-manager");
|
|
35
35
|
const ContactRecord_1 = require("./ContactRecord");
|
|
36
36
|
const InvoiceRecord_1 = require("./InvoiceRecord");
|
|
37
|
+
const NoteRecord_1 = require("./NoteRecord");
|
|
37
38
|
/**
|
|
38
39
|
* Builder for action execution with dryRun support
|
|
39
40
|
*
|
|
@@ -223,6 +224,36 @@ class AccountCreditRecord {
|
|
|
223
224
|
}
|
|
224
225
|
return this._invoices;
|
|
225
226
|
}
|
|
227
|
+
/**
|
|
228
|
+
* Access linked Note records
|
|
229
|
+
* @remarks Available labels: AccountCredit_Note
|
|
230
|
+
* @throws Error if called on a new (unsaved) record
|
|
231
|
+
*
|
|
232
|
+
* @example
|
|
233
|
+
* ```typescript
|
|
234
|
+
* // Get all linked Note records
|
|
235
|
+
* const items = await record.notes.list();
|
|
236
|
+
* const first = await record.notes.first();
|
|
237
|
+
*
|
|
238
|
+
* // Filter by label
|
|
239
|
+
* const specific = await record.notes.first({ label: 'AccountCredit_Note' });
|
|
240
|
+
* ```
|
|
241
|
+
*/
|
|
242
|
+
get notes() {
|
|
243
|
+
var _a;
|
|
244
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
245
|
+
throw new Error('Cannot access links on a new (unsaved) record');
|
|
246
|
+
if (!this._notes) {
|
|
247
|
+
this._notes = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
248
|
+
sourceEntity: 'BillingModule:AccountCredit',
|
|
249
|
+
targetEntity: 'SupportModule:Note',
|
|
250
|
+
targetModuleName: 'SupportModule',
|
|
251
|
+
targetEntityName: 'Note',
|
|
252
|
+
labels: ['AccountCredit_Note'],
|
|
253
|
+
}, NoteRecord_1.NoteRecord);
|
|
254
|
+
}
|
|
255
|
+
return this._notes;
|
|
256
|
+
}
|
|
226
257
|
// ============================================
|
|
227
258
|
// LINK MANAGEMENT
|
|
228
259
|
// ============================================
|
|
@@ -483,6 +514,8 @@ exports.AccountCreditRecord = AccountCreditRecord;
|
|
|
483
514
|
AccountCreditRecord.contactsLabels = ['Contact__AccountCredit'];
|
|
484
515
|
/** Valid labels for Invoice associations */
|
|
485
516
|
AccountCreditRecord.invoicesLabels = ['AccountCredit__Invoice'];
|
|
517
|
+
/** Valid labels for Note associations */
|
|
518
|
+
AccountCreditRecord.notesLabels = ['AccountCredit_Note'];
|
|
486
519
|
/** Type guard to check if an object is a AccountCreditRecord */
|
|
487
520
|
function isAccountCreditRecord(obj) {
|
|
488
521
|
return obj instanceof AccountCreditRecord;
|
|
@@ -764,11 +764,13 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
|
|
|
764
764
|
/**
|
|
765
765
|
* UpdateCustomerCallLegOnNumberCallStatusCompleted
|
|
766
766
|
*
|
|
767
|
-
* Updates this CallLeg record.
|
|
767
|
+
* Updates this CallLeg record with the specified properties.
|
|
768
768
|
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
769
769
|
*
|
|
770
|
-
* @param
|
|
771
|
-
* @param options - Optional settings
|
|
770
|
+
* @param properties - Required properties for this action
|
|
771
|
+
* @param options - Optional settings
|
|
772
|
+
* @param options.journeyId - Associate with a journey
|
|
773
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
772
774
|
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
773
775
|
* @throws Error if called on a new (unsaved) record
|
|
774
776
|
*
|
|
@@ -781,10 +783,7 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
|
|
|
781
783
|
* const payload = record.updateCustomerCallLegOnNumberCallStatusCompleted({ ... }).dryRun();
|
|
782
784
|
* ```
|
|
783
785
|
*/
|
|
784
|
-
updateCustomerCallLegOnNumberCallStatusCompleted(
|
|
785
|
-
journeyId?: string;
|
|
786
|
-
stageKey?: string;
|
|
787
|
-
}, options?: {
|
|
786
|
+
updateCustomerCallLegOnNumberCallStatusCompleted(properties: UpdateCustomerCallLegOnNumberCallStatusCompletedProperties, options?: {
|
|
788
787
|
journeyId?: string;
|
|
789
788
|
stageKey?: string;
|
|
790
789
|
}): ActionBuilder;
|
|
@@ -900,11 +900,13 @@ class CallLegRecord {
|
|
|
900
900
|
/**
|
|
901
901
|
* UpdateCustomerCallLegOnNumberCallStatusCompleted
|
|
902
902
|
*
|
|
903
|
-
* Updates this CallLeg record.
|
|
903
|
+
* Updates this CallLeg record with the specified properties.
|
|
904
904
|
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
905
905
|
*
|
|
906
|
-
* @param
|
|
907
|
-
* @param options - Optional settings
|
|
906
|
+
* @param properties - Required properties for this action
|
|
907
|
+
* @param options - Optional settings
|
|
908
|
+
* @param options.journeyId - Associate with a journey
|
|
909
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
908
910
|
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
909
911
|
* @throws Error if called on a new (unsaved) record
|
|
910
912
|
*
|
|
@@ -917,21 +919,11 @@ class CallLegRecord {
|
|
|
917
919
|
* const payload = record.updateCustomerCallLegOnNumberCallStatusCompleted({ ... }).dryRun();
|
|
918
920
|
* ```
|
|
919
921
|
*/
|
|
920
|
-
updateCustomerCallLegOnNumberCallStatusCompleted(
|
|
922
|
+
updateCustomerCallLegOnNumberCallStatusCompleted(properties, options) {
|
|
921
923
|
var _a;
|
|
922
924
|
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
923
925
|
throw new Error('updateCustomerCallLegOnNumberCallStatusCompleted requires an existing record. Use accessor.get() first.');
|
|
924
|
-
|
|
925
|
-
let opts = options;
|
|
926
|
-
if (propertiesOrOptions) {
|
|
927
|
-
if ('journeyId' in propertiesOrOptions || 'stageKey' in propertiesOrOptions) {
|
|
928
|
-
opts = propertiesOrOptions;
|
|
929
|
-
}
|
|
930
|
-
else {
|
|
931
|
-
properties = propertiesOrOptions;
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnNumberCallStatusCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, opts);
|
|
926
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnNumberCallStatusCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
935
927
|
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
936
928
|
}
|
|
937
929
|
/**
|
|
@@ -68,6 +68,7 @@ import { ContractBuyOutRecord } from './ContractBuyOutRecord';
|
|
|
68
68
|
import { CaseRecord } from './CaseRecord';
|
|
69
69
|
import { SmsMessageRecord } from './SmsMessageRecord';
|
|
70
70
|
import { SiteSpecificRiskAssessmentOutcomeFormRecord } from './SiteSpecificRiskAssessmentOutcomeFormRecord';
|
|
71
|
+
import { AccountCreditRecord } from './AccountCreditRecord';
|
|
71
72
|
/** Valid entity types for Note */
|
|
72
73
|
export declare type NoteType = 'DEFAULT';
|
|
73
74
|
/**
|
|
@@ -175,6 +176,7 @@ export declare class NoteRecord<TProps = NoteProperties> {
|
|
|
175
176
|
private _cases?;
|
|
176
177
|
private _smsMessages?;
|
|
177
178
|
private _siteSpecificRiskAssessmentOutcomeForms?;
|
|
179
|
+
private _accountCredits?;
|
|
178
180
|
/**
|
|
179
181
|
* Create a record wrapper.
|
|
180
182
|
* @param record - The underlying record, or null for create operations
|
|
@@ -972,6 +974,24 @@ export declare class NoteRecord<TProps = NoteProperties> {
|
|
|
972
974
|
* ```
|
|
973
975
|
*/
|
|
974
976
|
get siteSpecificRiskAssessmentOutcomeForms(): RecordLinkManager<SiteSpecificRiskAssessmentOutcomeFormRecord, typeof NoteRecord['siteSpecificRiskAssessmentOutcomeFormsLabels'][number]>;
|
|
977
|
+
/** Valid labels for AccountCredit associations */
|
|
978
|
+
static readonly accountCreditsLabels: readonly ["AccountCredit_Note"];
|
|
979
|
+
/**
|
|
980
|
+
* Access linked AccountCredit records
|
|
981
|
+
* @remarks Available labels: AccountCredit_Note
|
|
982
|
+
* @throws Error if called on a new (unsaved) record
|
|
983
|
+
*
|
|
984
|
+
* @example
|
|
985
|
+
* ```typescript
|
|
986
|
+
* // Get all linked AccountCredit records
|
|
987
|
+
* const items = await record.accountCredits.list();
|
|
988
|
+
* const first = await record.accountCredits.first();
|
|
989
|
+
*
|
|
990
|
+
* // Filter by label
|
|
991
|
+
* const specific = await record.accountCredits.first({ label: 'AccountCredit_Note' });
|
|
992
|
+
* ```
|
|
993
|
+
*/
|
|
994
|
+
get accountCredits(): RecordLinkManager<AccountCreditRecord, typeof NoteRecord['accountCreditsLabels'][number]>;
|
|
975
995
|
/**
|
|
976
996
|
* Queue a link to be created with the next action.
|
|
977
997
|
* Works for both create and update actions.
|
|
@@ -73,6 +73,7 @@ const ContractBuyOutRecord_1 = require("./ContractBuyOutRecord");
|
|
|
73
73
|
const CaseRecord_1 = require("./CaseRecord");
|
|
74
74
|
const SmsMessageRecord_1 = require("./SmsMessageRecord");
|
|
75
75
|
const SiteSpecificRiskAssessmentOutcomeFormRecord_1 = require("./SiteSpecificRiskAssessmentOutcomeFormRecord");
|
|
76
|
+
const AccountCreditRecord_1 = require("./AccountCreditRecord");
|
|
76
77
|
/**
|
|
77
78
|
* Builder for action execution with dryRun support
|
|
78
79
|
*
|
|
@@ -1462,6 +1463,36 @@ class NoteRecord {
|
|
|
1462
1463
|
}
|
|
1463
1464
|
return this._siteSpecificRiskAssessmentOutcomeForms;
|
|
1464
1465
|
}
|
|
1466
|
+
/**
|
|
1467
|
+
* Access linked AccountCredit records
|
|
1468
|
+
* @remarks Available labels: AccountCredit_Note
|
|
1469
|
+
* @throws Error if called on a new (unsaved) record
|
|
1470
|
+
*
|
|
1471
|
+
* @example
|
|
1472
|
+
* ```typescript
|
|
1473
|
+
* // Get all linked AccountCredit records
|
|
1474
|
+
* const items = await record.accountCredits.list();
|
|
1475
|
+
* const first = await record.accountCredits.first();
|
|
1476
|
+
*
|
|
1477
|
+
* // Filter by label
|
|
1478
|
+
* const specific = await record.accountCredits.first({ label: 'AccountCredit_Note' });
|
|
1479
|
+
* ```
|
|
1480
|
+
*/
|
|
1481
|
+
get accountCredits() {
|
|
1482
|
+
var _a;
|
|
1483
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
1484
|
+
throw new Error('Cannot access links on a new (unsaved) record');
|
|
1485
|
+
if (!this._accountCredits) {
|
|
1486
|
+
this._accountCredits = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
1487
|
+
sourceEntity: 'SupportModule:Note',
|
|
1488
|
+
targetEntity: 'BillingModule:AccountCredit',
|
|
1489
|
+
targetModuleName: 'BillingModule',
|
|
1490
|
+
targetEntityName: 'AccountCredit',
|
|
1491
|
+
labels: ['AccountCredit_Note'],
|
|
1492
|
+
}, AccountCreditRecord_1.AccountCreditRecord);
|
|
1493
|
+
}
|
|
1494
|
+
return this._accountCredits;
|
|
1495
|
+
}
|
|
1465
1496
|
// ============================================
|
|
1466
1497
|
// LINK MANAGEMENT
|
|
1467
1498
|
// ============================================
|
|
@@ -1737,6 +1768,8 @@ NoteRecord.casesLabels = ['Case__Note'];
|
|
|
1737
1768
|
NoteRecord.smsMessagesLabels = ['SmsMessage__Note'];
|
|
1738
1769
|
/** Valid labels for SiteSpecificRiskAssessmentOutcomeForm associations */
|
|
1739
1770
|
NoteRecord.siteSpecificRiskAssessmentOutcomeFormsLabels = ['SiteSpecificRiskAssessmentOutcomeForm__Note'];
|
|
1771
|
+
/** Valid labels for AccountCredit associations */
|
|
1772
|
+
NoteRecord.accountCreditsLabels = ['AccountCredit_Note'];
|
|
1740
1773
|
/** Type guard to check if an object is a NoteRecord */
|
|
1741
1774
|
function isNoteRecord(obj) {
|
|
1742
1775
|
return obj instanceof NoteRecord;
|