@d19n/youfibre-odin-sdk 2.0.306 → 2.0.308
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/README.md +10 -9
- package/dist/actions-v2/CollectCustomerDeviceRouterDto.d.ts +63 -0
- package/dist/actions-v2/CollectCustomerDeviceRouterDto.js +56 -0
- package/dist/actions-v2/CompleteServiceWorkOrderFlowDto.d.ts +135 -96
- package/dist/actions-v2/CreateCaseWithDpaDto.d.ts +8 -1
- package/dist/api-sdk-v2/UserApi.d.ts +2 -0
- package/dist/api-sdk-v2/UserApi.js +6 -0
- package/dist/api-sdk-v2/YfFieldVisitOutcomeFormApi.d.ts +2 -0
- package/dist/api-sdk-v2/YfFieldVisitOutcomeFormApi.js +6 -0
- package/dist/db-sdk-v2/UserDb.d.ts +2 -0
- package/dist/db-sdk-v2/UserDb.js +6 -0
- package/dist/db-sdk-v2/YfFieldVisitOutcomeFormDb.d.ts +2 -0
- package/dist/db-sdk-v2/YfFieldVisitOutcomeFormDb.js +6 -0
- package/dist/entities-v2/BillingAdjustment.d.ts +1 -3
- package/dist/entities-v2/BillingAdjustment.js +1 -3
- package/dist/entities-v2/Case.d.ts +2 -1
- package/dist/entities-v2/Case.js +2 -1
- package/dist/entities-v2/CreditNote.d.ts +1 -2
- package/dist/entities-v2/CreditNote.js +1 -2
- package/dist/entities-v2/PgReportEvent.d.ts +5 -1
- package/dist/entities-v2/PgReportEvent.js +4 -0
- package/dist/entities-v2/User.d.ts +3 -0
- package/dist/entities-v2/VoiceConfiguration.d.ts +8 -0
- package/dist/entities-v2/VoiceConfiguration.js +2 -0
- package/dist/entities-v2/YfFieldVisitOutcomeForm.d.ts +149 -80
- package/dist/entities-v2/YfFieldVisitOutcomeForm.js +37 -31
- package/dist/records-v2/CustomerDeviceRouterRecord.d.ts +28 -0
- package/dist/records-v2/CustomerDeviceRouterRecord.js +37 -0
- package/dist/records-v2/UserRecord.d.ts +20 -0
- package/dist/records-v2/UserRecord.js +33 -0
- package/dist/records-v2/YfFieldVisitOutcomeFormRecord.d.ts +22 -18
- package/dist/records-v2/YfFieldVisitOutcomeFormRecord.js +34 -17
- package/dist/records-v2/index.d.ts +1 -1
- package/dist/records-v2/index.js +5 -5
- package/package.json +1 -1
|
@@ -12,15 +12,13 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
15
|
+
exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_USER_DELETED = exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_USER_CREATED = exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_FILE_DELETED = exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_FILE_CREATED = exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_NOTE_DELETED = exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_NOTE_CREATED = exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_ADDRESS_CREATED = exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_OUTCOME_FORM_DELETED = exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_OUTCOME_FORM_UPDATED = exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_OUTCOME_FORM_CREATED = exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_DELETED = exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_UPDATED = exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_CREATED = exports.YfFieldVisitOutcomeForm = exports.YfFieldVisitOutcomeFormPropertyKeys = exports.YfFieldVisitOutcomeFormHappyWithOutcome = exports.YfFieldVisitOutcomeFormTrustPilotRequest = exports.YfFieldVisitOutcomeFormEngineerOutcome = exports.YfFieldVisitOutcomeFormHowManyNewDevices = exports.YfFieldVisitOutcomeFormHardwareRemoved = exports.YfFieldVisitOutcomeFormHardwareReplaced = exports.YfFieldVisitOutcomeFormAbleToAchieveMinimumSpeed = exports.YfFieldVisitOutcomeFormONTChecksPassed = exports.YfFieldVisitOutcomeFormONTCheckFailReason = exports.YfFieldVisitOutcomeFormCustomerAtInstall = exports.YfFieldVisitOutcomeFormEngineerDiagnosisCustomerDevice = exports.YfFieldVisitOutcomeFormEngineerDiagnosis = exports.YfFieldVisitOutcomeFormONTFixedToWall = exports.YfFieldVisitOutcomeFormPropertyFrontPhotoConfirmed = exports.YfFieldVisitOutcomeFormHowManyYouMeshNodes = exports.YfFieldVisitOutcomeFormEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for YfFieldVisitOutcomeForm records
|
|
19
19
|
*/
|
|
20
20
|
var YfFieldVisitOutcomeFormEntityTypes;
|
|
21
21
|
(function (YfFieldVisitOutcomeFormEntityTypes) {
|
|
22
|
-
/** This is the default record type */
|
|
23
|
-
YfFieldVisitOutcomeFormEntityTypes["DEFAULT"] = "DEFAULT";
|
|
24
22
|
/** The single record type on this entity, named to match every sibling outcome form in FieldServiceModule. One type is why the form needs no record-type selector. */
|
|
25
23
|
YfFieldVisitOutcomeFormEntityTypes["OUTCOME_FORM"] = "OUTCOME_FORM";
|
|
26
24
|
})(YfFieldVisitOutcomeFormEntityTypes = exports.YfFieldVisitOutcomeFormEntityTypes || (exports.YfFieldVisitOutcomeFormEntityTypes = {}));
|
|
@@ -136,20 +134,6 @@ var YfFieldVisitOutcomeFormCustomerAtInstall;
|
|
|
136
134
|
YfFieldVisitOutcomeFormCustomerAtInstall["NO"] = "NO";
|
|
137
135
|
YfFieldVisitOutcomeFormCustomerAtInstall["YES"] = "YES";
|
|
138
136
|
})(YfFieldVisitOutcomeFormCustomerAtInstall = exports.YfFieldVisitOutcomeFormCustomerAtInstall || (exports.YfFieldVisitOutcomeFormCustomerAtInstall = {}));
|
|
139
|
-
/**
|
|
140
|
-
* Valid values for YfFieldVisitOutcomeForm.ONTChecksPassed
|
|
141
|
-
*
|
|
142
|
-
* The gate on the whole ONT branch: NO is what asks for a failure reason.
|
|
143
|
-
*
|
|
144
|
-
* @remarks Available options:
|
|
145
|
-
* - `NO` - No
|
|
146
|
-
* - `YES` - Yes
|
|
147
|
-
*/
|
|
148
|
-
var YfFieldVisitOutcomeFormONTChecksPassed;
|
|
149
|
-
(function (YfFieldVisitOutcomeFormONTChecksPassed) {
|
|
150
|
-
YfFieldVisitOutcomeFormONTChecksPassed["NO"] = "NO";
|
|
151
|
-
YfFieldVisitOutcomeFormONTChecksPassed["YES"] = "YES";
|
|
152
|
-
})(YfFieldVisitOutcomeFormONTChecksPassed = exports.YfFieldVisitOutcomeFormONTChecksPassed || (exports.YfFieldVisitOutcomeFormONTChecksPassed = {}));
|
|
153
137
|
/**
|
|
154
138
|
* Valid values for YfFieldVisitOutcomeForm.ONTCheckFailReason
|
|
155
139
|
*
|
|
@@ -166,6 +150,20 @@ var YfFieldVisitOutcomeFormONTCheckFailReason;
|
|
|
166
150
|
YfFieldVisitOutcomeFormONTCheckFailReason["LIGHT_LEVEL_OUT_OF_SPEC"] = "LIGHT_LEVEL_OUT_OF_SPEC";
|
|
167
151
|
YfFieldVisitOutcomeFormONTCheckFailReason["NO_LIGHT_FIBRE_BREAK"] = "NO_LIGHT_FIBRE_BREAK";
|
|
168
152
|
})(YfFieldVisitOutcomeFormONTCheckFailReason = exports.YfFieldVisitOutcomeFormONTCheckFailReason || (exports.YfFieldVisitOutcomeFormONTCheckFailReason = {}));
|
|
153
|
+
/**
|
|
154
|
+
* Valid values for YfFieldVisitOutcomeForm.ONTChecksPassed
|
|
155
|
+
*
|
|
156
|
+
* The gate on the whole ONT branch: NO is what asks for a failure reason.
|
|
157
|
+
*
|
|
158
|
+
* @remarks Available options:
|
|
159
|
+
* - `NO` - No
|
|
160
|
+
* - `YES` - Yes
|
|
161
|
+
*/
|
|
162
|
+
var YfFieldVisitOutcomeFormONTChecksPassed;
|
|
163
|
+
(function (YfFieldVisitOutcomeFormONTChecksPassed) {
|
|
164
|
+
YfFieldVisitOutcomeFormONTChecksPassed["NO"] = "NO";
|
|
165
|
+
YfFieldVisitOutcomeFormONTChecksPassed["YES"] = "YES";
|
|
166
|
+
})(YfFieldVisitOutcomeFormONTChecksPassed = exports.YfFieldVisitOutcomeFormONTChecksPassed || (exports.YfFieldVisitOutcomeFormONTChecksPassed = {}));
|
|
169
167
|
/**
|
|
170
168
|
* Valid values for YfFieldVisitOutcomeForm.AbleToAchieveMinimumSpeed
|
|
171
169
|
*
|
|
@@ -336,12 +334,22 @@ var YfFieldVisitOutcomeFormHappyWithOutcome;
|
|
|
336
334
|
*/
|
|
337
335
|
var YfFieldVisitOutcomeFormPropertyKeys;
|
|
338
336
|
(function (YfFieldVisitOutcomeFormPropertyKeys) {
|
|
337
|
+
/** The attending engineer. Prefilled from the work order via the form field default; the engineer can correct it if the job was reassigned on the day. */
|
|
338
|
+
YfFieldVisitOutcomeFormPropertyKeys["Engineer"] = "Engineer";
|
|
339
|
+
/** The ONT light level reading. Split out of the old combined ONT photo. */
|
|
340
|
+
YfFieldVisitOutcomeFormPropertyKeys["OntLightLevelPhoto"] = "ONTLightLevelPhoto";
|
|
341
|
+
/** Mesh topology from the gateway GUI, showing every unit in spec after the work. */
|
|
342
|
+
YfFieldVisitOutcomeFormPropertyKeys["PostFaultMeshTopologyEvidence"] = "PostFaultMeshTopologyEvidence";
|
|
343
|
+
/** The ONT status lights. Split out of the old combined ONT photo. */
|
|
344
|
+
YfFieldVisitOutcomeFormPropertyKeys["OntStatusLightsPhoto"] = "ONTStatusLightsPhoto";
|
|
345
|
+
/** The post-fault EXFO report. Asked on every visit, not only where the standard was met. */
|
|
346
|
+
YfFieldVisitOutcomeFormPropertyKeys["PostFaultSpeedDbmEvidence"] = "PostFaultSpeedDbmEvidence";
|
|
339
347
|
/** When the visit started. Field Services asked whether this can auto-populate to now; prefill is a form-renderer capability and is tracked separately, so it is captured by hand until then. */
|
|
340
348
|
YfFieldVisitOutcomeFormPropertyKeys["ServiceVisitDateTime"] = "ServiceVisitDateTime";
|
|
341
|
-
/** The attending engineer. Asked for as free text; auto-populating from the logged-in user is the same prefill question as ServiceVisitDateTime. */
|
|
342
|
-
YfFieldVisitOutcomeFormPropertyKeys["EngineerName"] = "EngineerName";
|
|
343
349
|
/** The work order this visit was made against. Deliberately carries no UNIQUE validator: a repeat visit to the same work order is a second form, not an overwrite of the first. */
|
|
344
350
|
YfFieldVisitOutcomeFormPropertyKeys["WorkOrderNumber"] = "WorkOrderNumber";
|
|
351
|
+
/** RETIRED — replaced by the Engineer column, which is TEXT and prefills from the work order. Off the form; a NAME column cannot become TEXT in place. */
|
|
352
|
+
YfFieldVisitOutcomeFormPropertyKeys["EngineerName"] = "EngineerName";
|
|
345
353
|
/** The property visited, linked to the CRM address record. */
|
|
346
354
|
YfFieldVisitOutcomeFormPropertyKeys["Location"] = "Location";
|
|
347
355
|
/** The picture the engineer confirms having taken on arrival. */
|
|
@@ -362,8 +370,6 @@ var YfFieldVisitOutcomeFormPropertyKeys;
|
|
|
362
370
|
YfFieldVisitOutcomeFormPropertyKeys["OntFixedToWall"] = "ONTFixedToWall";
|
|
363
371
|
/** Evidence of how the ONT is fixed and powered. */
|
|
364
372
|
YfFieldVisitOutcomeFormPropertyKeys["OntFixedToWallPhoto"] = "ONTFixedToWallPhoto";
|
|
365
|
-
/** The readings behind the ONT check answer. */
|
|
366
|
-
YfFieldVisitOutcomeFormPropertyKeys["OntChecksPhoto"] = "ONTChecksPhoto";
|
|
367
373
|
/** What the engineer saw that produced the failure reason. */
|
|
368
374
|
YfFieldVisitOutcomeFormPropertyKeys["OntCheckFailReasonPhoto"] = "ONTCheckFailReasonPhoto";
|
|
369
375
|
/** The engineer's diagnosis category. A clean 8-option list from the 2026-08-21 template; the legacy 16-option list stays on YfFieldServiceVisit with the records that used it. */
|
|
@@ -374,8 +380,6 @@ var YfFieldVisitOutcomeFormPropertyKeys;
|
|
|
374
380
|
YfFieldVisitOutcomeFormPropertyKeys["EngineerDiagnosisCustomerDevicePhoto"] = "EngineerDiagnosisCustomerDevicePhoto";
|
|
375
381
|
/** Whether the person on site witnessed the original install — the difference between a first-hand account of what changed and a second-hand one. */
|
|
376
382
|
YfFieldVisitOutcomeFormPropertyKeys["CustomerAtInstall"] = "CustomerAtInstall";
|
|
377
|
-
/** The gate on the whole ONT branch: NO is what asks for a failure reason. */
|
|
378
|
-
YfFieldVisitOutcomeFormPropertyKeys["OntChecksPassed"] = "ONTChecksPassed";
|
|
379
383
|
/** Why the ONT check failed. Only asked when ONTChecksPassed is NO. */
|
|
380
384
|
YfFieldVisitOutcomeFormPropertyKeys["OntCheckFailReason"] = "ONTCheckFailReason";
|
|
381
385
|
/** Evidence the node is not on the floor. */
|
|
@@ -388,12 +392,14 @@ var YfFieldVisitOutcomeFormPropertyKeys;
|
|
|
388
392
|
YfFieldVisitOutcomeFormPropertyKeys["PreFaultTestPhoto"] = "PreFaultTestPhoto";
|
|
389
393
|
/** What the readings looked like where the standard could not be met. */
|
|
390
394
|
YfFieldVisitOutcomeFormPropertyKeys["NotAbleToAchieveSignalPhoto"] = "NotAbleToAchieveSignalPhoto";
|
|
391
|
-
/** The proof behind a YES: a reading taken at the worst point in the property, not the best. */
|
|
392
|
-
YfFieldVisitOutcomeFormPropertyKeys["AbleToAchieveSignalEvidence"] = "AbleToAchieveSignalEvidence";
|
|
393
395
|
/** The engineer's account of the visit. Deliberately carries no defaultValue: whether the template headings (Outcome / Fault Found / Checks Done / Action Taken / Status on Leave / Further Action / Customer Advised) are pre-filled or shown as guidance is open with Trevor, and adding a default later is a column PUT while removing one already written onto live records is not clean. */
|
|
394
396
|
YfFieldVisitOutcomeFormPropertyKeys["ResolutionNotes"] = "ResolutionNotes";
|
|
395
397
|
/** Serial of the first device installed on this visit. The template repeated "first" on all four rows; first/second/third/fourth confirmed with the DRI 2026-08-25. */
|
|
396
398
|
YfFieldVisitOutcomeFormPropertyKeys["NewDeviceSerial1"] = "NewDeviceSerial1";
|
|
399
|
+
/** The gate on the whole ONT branch: NO is what asks for a failure reason. */
|
|
400
|
+
YfFieldVisitOutcomeFormPropertyKeys["OntChecksPassed"] = "ONTChecksPassed";
|
|
401
|
+
/** The proof behind a YES: a reading taken at the worst point in the property, not the best. */
|
|
402
|
+
YfFieldVisitOutcomeFormPropertyKeys["AbleToAchieveSignalEvidence"] = "AbleToAchieveSignalEvidence";
|
|
397
403
|
/** Where the router actually is — the answer text alone rarely settles a coverage argument. */
|
|
398
404
|
YfFieldVisitOutcomeFormPropertyKeys["RouterLocationPhoto"] = "RouterLocationPhoto";
|
|
399
405
|
/** Serial of the first existing mesh node. */
|
|
@@ -450,6 +456,8 @@ var YfFieldVisitOutcomeFormPropertyKeys;
|
|
|
450
456
|
YfFieldVisitOutcomeFormPropertyKeys["CustomerName"] = "CustomerName";
|
|
451
457
|
/** The customer's signature against the declaration above. */
|
|
452
458
|
YfFieldVisitOutcomeFormPropertyKeys["CustomerSignature"] = "CustomerSignature";
|
|
459
|
+
/** RETIRED round 1 — replaced by ONTLightLevelPhoto + ONTStatusLightsPhoto. Off the form, column kept. */
|
|
460
|
+
YfFieldVisitOutcomeFormPropertyKeys["OntChecksPhoto"] = "ONTChecksPhoto";
|
|
453
461
|
})(YfFieldVisitOutcomeFormPropertyKeys = exports.YfFieldVisitOutcomeFormPropertyKeys || (exports.YfFieldVisitOutcomeFormPropertyKeys = {}));
|
|
454
462
|
/**
|
|
455
463
|
* YfFieldVisitOutcomeForm entity from FieldServiceModule
|
|
@@ -477,12 +485,6 @@ exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_DELETED = 'FieldServiceModule.Yf
|
|
|
477
485
|
* Type-specific routing keys for YfFieldVisitOutcomeForm events
|
|
478
486
|
* Subscribe to these for events on specific entity types only
|
|
479
487
|
*/
|
|
480
|
-
/** This is the default record type created */
|
|
481
|
-
exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_DEFAULT_CREATED = 'FieldServiceModule.YfFieldVisitOutcomeForm.DEFAULT.SubDbRecordCreated';
|
|
482
|
-
/** This is the default record type updated */
|
|
483
|
-
exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_DEFAULT_UPDATED = 'FieldServiceModule.YfFieldVisitOutcomeForm.DEFAULT.SubDbRecordUpdated';
|
|
484
|
-
/** This is the default record type deleted */
|
|
485
|
-
exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_DEFAULT_DELETED = 'FieldServiceModule.YfFieldVisitOutcomeForm.DEFAULT.SubDbRecordDeleted';
|
|
486
488
|
/** The single record type on this entity, named to match every sibling outcome form in FieldServiceModule. One type is why the form needs no record-type selector. created */
|
|
487
489
|
exports.ROUTING_KEY_YF_FIELD_VISIT_OUTCOME_FORM_OUTCOME_FORM_CREATED = 'FieldServiceModule.YfFieldVisitOutcomeForm.OUTCOME_FORM.SubDbRecordCreated';
|
|
488
490
|
/** The single record type on this entity, named to match every sibling outcome form in FieldServiceModule. One type is why the form needs no record-type selector. updated */
|
|
@@ -501,3 +503,7 @@ exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_NOTE_DELETED = 'FieldServic
|
|
|
501
503
|
exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_FILE_CREATED = 'FieldServiceModule.YfFieldVisitOutcomeForm.File.SubDbRecordAssociationCreated';
|
|
502
504
|
/** Event: YfFieldVisitOutcomeForm__File link deleted */
|
|
503
505
|
exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_FILE_DELETED = 'FieldServiceModule.YfFieldVisitOutcomeForm.File.SubDbRecordAssociationDeleted';
|
|
506
|
+
/** Event: YfFieldVisitOutcomeForm__User link created */
|
|
507
|
+
exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_USER_CREATED = 'FieldServiceModule.YfFieldVisitOutcomeForm.User.SubDbRecordAssociationCreated';
|
|
508
|
+
/** Event: YfFieldVisitOutcomeForm__User link deleted */
|
|
509
|
+
exports.ROUTING_KEY_LINK_YF_FIELD_VISIT_OUTCOME_FORM_USER_DELETED = 'FieldServiceModule.YfFieldVisitOutcomeForm.User.SubDbRecordAssociationDeleted';
|
|
@@ -21,6 +21,7 @@ import { IDbRecordCreateUpdateRes } from '@d19n/odin-types/dist/core/interfaces/
|
|
|
21
21
|
import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
22
22
|
import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
|
|
23
23
|
import { CustomerDeviceRouterProperties } from '../entities-v2/CustomerDeviceRouter';
|
|
24
|
+
import { CollectCustomerDeviceRouterProperties } from '../actions-v2/CollectCustomerDeviceRouterDto';
|
|
24
25
|
import { CreateCustomerDeviceRouterFromDispatchProperties } from '../actions-v2/CreateCustomerDeviceRouterFromDispatchDto';
|
|
25
26
|
import { CustomerDeviceRouterCreateProperties } from '../actions-v2/CustomerDeviceRouterCreateDto';
|
|
26
27
|
import { CustomerDeviceRouterUpdateProperties } from '../actions-v2/CustomerDeviceRouterUpdateDto';
|
|
@@ -351,6 +352,33 @@ export declare class CustomerDeviceRouterRecord<TProps = CustomerDeviceRouterPro
|
|
|
351
352
|
journeyId?: string;
|
|
352
353
|
stageKey?: string;
|
|
353
354
|
}): ActionBuilder;
|
|
355
|
+
/**
|
|
356
|
+
* CollectCustomerDeviceRouter
|
|
357
|
+
*
|
|
358
|
+
* Updates this CustomerDeviceRouter record.
|
|
359
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
360
|
+
*
|
|
361
|
+
* @param propertiesOrOptions - Properties to update, or options object
|
|
362
|
+
* @param options - Optional settings (journeyId, stageKey)
|
|
363
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
364
|
+
* @throws Error if called on a new (unsaved) record
|
|
365
|
+
*
|
|
366
|
+
* @example
|
|
367
|
+
* ```typescript
|
|
368
|
+
* const record = await odinClient.customerDeviceRouters.get(id);
|
|
369
|
+
* await record.collectCustomerDeviceRouter({ ... }).execute();
|
|
370
|
+
*
|
|
371
|
+
* // Dry run (for debugging)
|
|
372
|
+
* const payload = record.collectCustomerDeviceRouter({ ... }).dryRun();
|
|
373
|
+
* ```
|
|
374
|
+
*/
|
|
375
|
+
collectCustomerDeviceRouter(propertiesOrOptions?: CollectCustomerDeviceRouterProperties | {
|
|
376
|
+
journeyId?: string;
|
|
377
|
+
stageKey?: string;
|
|
378
|
+
}, options?: {
|
|
379
|
+
journeyId?: string;
|
|
380
|
+
stageKey?: string;
|
|
381
|
+
}): ActionBuilder;
|
|
354
382
|
/**
|
|
355
383
|
* CustomerDeviceRouterUpdate
|
|
356
384
|
*
|
|
@@ -503,6 +503,43 @@ class CustomerDeviceRouterRecord {
|
|
|
503
503
|
// ============================================
|
|
504
504
|
// UPDATE ACTIONS (require existing record)
|
|
505
505
|
// ============================================
|
|
506
|
+
/**
|
|
507
|
+
* CollectCustomerDeviceRouter
|
|
508
|
+
*
|
|
509
|
+
* Updates this CustomerDeviceRouter record.
|
|
510
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
511
|
+
*
|
|
512
|
+
* @param propertiesOrOptions - Properties to update, or options object
|
|
513
|
+
* @param options - Optional settings (journeyId, stageKey)
|
|
514
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
515
|
+
* @throws Error if called on a new (unsaved) record
|
|
516
|
+
*
|
|
517
|
+
* @example
|
|
518
|
+
* ```typescript
|
|
519
|
+
* const record = await odinClient.customerDeviceRouters.get(id);
|
|
520
|
+
* await record.collectCustomerDeviceRouter({ ... }).execute();
|
|
521
|
+
*
|
|
522
|
+
* // Dry run (for debugging)
|
|
523
|
+
* const payload = record.collectCustomerDeviceRouter({ ... }).dryRun();
|
|
524
|
+
* ```
|
|
525
|
+
*/
|
|
526
|
+
collectCustomerDeviceRouter(propertiesOrOptions, options) {
|
|
527
|
+
var _a;
|
|
528
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
529
|
+
throw new Error('collectCustomerDeviceRouter requires an existing record. Use accessor.get() first.');
|
|
530
|
+
let properties = {};
|
|
531
|
+
let opts = options;
|
|
532
|
+
if (propertiesOrOptions) {
|
|
533
|
+
if ('journeyId' in propertiesOrOptions || 'stageKey' in propertiesOrOptions) {
|
|
534
|
+
opts = propertiesOrOptions;
|
|
535
|
+
}
|
|
536
|
+
else {
|
|
537
|
+
properties = propertiesOrOptions;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'CollectCustomerDeviceRouter', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, opts);
|
|
541
|
+
return new ActionBuilder(this._provider, 'ServiceModule', 'CustomerDeviceRouter', payload, () => { this._pendingLinks = []; });
|
|
542
|
+
}
|
|
506
543
|
/**
|
|
507
544
|
* CustomerDeviceRouterUpdate
|
|
508
545
|
*
|
|
@@ -43,6 +43,7 @@ import { TwilioWorkerRecord } from './TwilioWorkerRecord';
|
|
|
43
43
|
import { OutboundDialCampaignRecord } from './OutboundDialCampaignRecord';
|
|
44
44
|
import { OutboundDialSessionRecord } from './OutboundDialSessionRecord';
|
|
45
45
|
import { AgentStatusRecord } from './AgentStatusRecord';
|
|
46
|
+
import { YfFieldVisitOutcomeFormRecord } from './YfFieldVisitOutcomeFormRecord';
|
|
46
47
|
/**
|
|
47
48
|
* Builder for action execution with dryRun support
|
|
48
49
|
*
|
|
@@ -126,6 +127,7 @@ export declare class UserRecord<TProps = UserProperties> {
|
|
|
126
127
|
private _outboundDialCampaigns?;
|
|
127
128
|
private _outboundDialSessions?;
|
|
128
129
|
private _agentStatuses?;
|
|
130
|
+
private _yfFieldVisitOutcomeForms?;
|
|
129
131
|
/**
|
|
130
132
|
* Create a record wrapper.
|
|
131
133
|
* @param record - The underlying record, or null for create operations
|
|
@@ -513,6 +515,24 @@ export declare class UserRecord<TProps = UserProperties> {
|
|
|
513
515
|
* ```
|
|
514
516
|
*/
|
|
515
517
|
get agentStatuses(): RecordLinkManager<AgentStatusRecord, typeof UserRecord['agentStatusesLabels'][number]>;
|
|
518
|
+
/** Valid labels for YfFieldVisitOutcomeForm associations */
|
|
519
|
+
static readonly yfFieldVisitOutcomeFormsLabels: readonly ["YfFieldVisitOutcomeForm__User"];
|
|
520
|
+
/**
|
|
521
|
+
* Access linked YfFieldVisitOutcomeForm records
|
|
522
|
+
* @remarks Available labels: YfFieldVisitOutcomeForm__User
|
|
523
|
+
* @throws Error if called on a new (unsaved) record
|
|
524
|
+
*
|
|
525
|
+
* @example
|
|
526
|
+
* ```typescript
|
|
527
|
+
* // Get all linked YfFieldVisitOutcomeForm records
|
|
528
|
+
* const items = await record.yfFieldVisitOutcomeForms.list();
|
|
529
|
+
* const first = await record.yfFieldVisitOutcomeForms.first();
|
|
530
|
+
*
|
|
531
|
+
* // Filter by label
|
|
532
|
+
* const specific = await record.yfFieldVisitOutcomeForms.first({ label: 'YfFieldVisitOutcomeForm__User' });
|
|
533
|
+
* ```
|
|
534
|
+
*/
|
|
535
|
+
get yfFieldVisitOutcomeForms(): RecordLinkManager<YfFieldVisitOutcomeFormRecord, typeof UserRecord['yfFieldVisitOutcomeFormsLabels'][number]>;
|
|
516
536
|
/**
|
|
517
537
|
* Queue a link to be created with the next action.
|
|
518
538
|
* Works for both create and update actions.
|
|
@@ -50,6 +50,7 @@ const TwilioWorkerRecord_1 = require("./TwilioWorkerRecord");
|
|
|
50
50
|
const OutboundDialCampaignRecord_1 = require("./OutboundDialCampaignRecord");
|
|
51
51
|
const OutboundDialSessionRecord_1 = require("./OutboundDialSessionRecord");
|
|
52
52
|
const AgentStatusRecord_1 = require("./AgentStatusRecord");
|
|
53
|
+
const YfFieldVisitOutcomeFormRecord_1 = require("./YfFieldVisitOutcomeFormRecord");
|
|
53
54
|
/**
|
|
54
55
|
* Builder for action execution with dryRun support
|
|
55
56
|
*
|
|
@@ -762,6 +763,36 @@ class UserRecord {
|
|
|
762
763
|
}
|
|
763
764
|
return this._agentStatuses;
|
|
764
765
|
}
|
|
766
|
+
/**
|
|
767
|
+
* Access linked YfFieldVisitOutcomeForm records
|
|
768
|
+
* @remarks Available labels: YfFieldVisitOutcomeForm__User
|
|
769
|
+
* @throws Error if called on a new (unsaved) record
|
|
770
|
+
*
|
|
771
|
+
* @example
|
|
772
|
+
* ```typescript
|
|
773
|
+
* // Get all linked YfFieldVisitOutcomeForm records
|
|
774
|
+
* const items = await record.yfFieldVisitOutcomeForms.list();
|
|
775
|
+
* const first = await record.yfFieldVisitOutcomeForms.first();
|
|
776
|
+
*
|
|
777
|
+
* // Filter by label
|
|
778
|
+
* const specific = await record.yfFieldVisitOutcomeForms.first({ label: 'YfFieldVisitOutcomeForm__User' });
|
|
779
|
+
* ```
|
|
780
|
+
*/
|
|
781
|
+
get yfFieldVisitOutcomeForms() {
|
|
782
|
+
var _a;
|
|
783
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
784
|
+
throw new Error('Cannot access links on a new (unsaved) record');
|
|
785
|
+
if (!this._yfFieldVisitOutcomeForms) {
|
|
786
|
+
this._yfFieldVisitOutcomeForms = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
787
|
+
sourceEntity: 'IdentityModule:User',
|
|
788
|
+
targetEntity: 'FieldServiceModule:YfFieldVisitOutcomeForm',
|
|
789
|
+
targetModuleName: 'FieldServiceModule',
|
|
790
|
+
targetEntityName: 'YfFieldVisitOutcomeForm',
|
|
791
|
+
labels: ['YfFieldVisitOutcomeForm__User'],
|
|
792
|
+
}, YfFieldVisitOutcomeFormRecord_1.YfFieldVisitOutcomeFormRecord);
|
|
793
|
+
}
|
|
794
|
+
return this._yfFieldVisitOutcomeForms;
|
|
795
|
+
}
|
|
765
796
|
// ============================================
|
|
766
797
|
// LINK MANAGEMENT
|
|
767
798
|
// ============================================
|
|
@@ -921,6 +952,8 @@ UserRecord.outboundDialCampaignsLabels = ['OutboundDialCampaign__User'];
|
|
|
921
952
|
UserRecord.outboundDialSessionsLabels = ['OutboundDialSession__User'];
|
|
922
953
|
/** Valid labels for AgentStatus associations */
|
|
923
954
|
UserRecord.agentStatusesLabels = ['AgentStatus__User'];
|
|
955
|
+
/** Valid labels for YfFieldVisitOutcomeForm associations */
|
|
956
|
+
UserRecord.yfFieldVisitOutcomeFormsLabels = ['YfFieldVisitOutcomeForm__User'];
|
|
924
957
|
/** Type guard to check if an object is a UserRecord */
|
|
925
958
|
function isUserRecord(obj) {
|
|
926
959
|
return obj instanceof UserRecord;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* await record.createYfFieldVisitOutcomeForm({ ... }).execute();
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
|
-
* Entity Types:
|
|
16
|
+
* Entity Types: OUTCOME_FORM
|
|
17
17
|
*
|
|
18
18
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
19
19
|
*/
|
|
@@ -27,8 +27,9 @@ import { WorkOrderRecord } from './WorkOrderRecord';
|
|
|
27
27
|
import { AddressRecord } from './AddressRecord';
|
|
28
28
|
import { NoteRecord } from './NoteRecord';
|
|
29
29
|
import { FileRecord } from './FileRecord';
|
|
30
|
+
import { UserRecord } from './UserRecord';
|
|
30
31
|
/** Valid entity types for YfFieldVisitOutcomeForm */
|
|
31
|
-
export declare type YfFieldVisitOutcomeFormType = '
|
|
32
|
+
export declare type YfFieldVisitOutcomeFormType = 'OUTCOME_FORM';
|
|
32
33
|
/**
|
|
33
34
|
* Builder for action execution with dryRun support
|
|
34
35
|
*
|
|
@@ -96,6 +97,7 @@ export declare class YfFieldVisitOutcomeFormRecord<TProps = YfFieldVisitOutcomeF
|
|
|
96
97
|
private _addresses?;
|
|
97
98
|
private _notes?;
|
|
98
99
|
private _files?;
|
|
100
|
+
private _users?;
|
|
99
101
|
/**
|
|
100
102
|
* Create a record wrapper.
|
|
101
103
|
* @param record - The underlying record, or null for create operations
|
|
@@ -123,22 +125,6 @@ export declare class YfFieldVisitOutcomeFormRecord<TProps = YfFieldVisitOutcomeF
|
|
|
123
125
|
get links(): OdinRecord<TProps>['links'];
|
|
124
126
|
/** Access the underlying OdinRecord (null for new records) */
|
|
125
127
|
get record(): OdinRecord<TProps> | null;
|
|
126
|
-
/**
|
|
127
|
-
* Type guard: check if this record is of type DEFAULT
|
|
128
|
-
*
|
|
129
|
-
* When this returns true, TypeScript automatically narrows the type,
|
|
130
|
-
* giving you access to DEFAULT-specific properties.
|
|
131
|
-
*
|
|
132
|
-
* @example
|
|
133
|
-
* ```typescript
|
|
134
|
-
* if (record.isDefault()) {
|
|
135
|
-
* // TypeScript knows record.properties is YfFieldVisitOutcomeFormProperties
|
|
136
|
-
* console.log(record.properties.SomeTypeSpecificField);
|
|
137
|
-
* }
|
|
138
|
-
* ```
|
|
139
|
-
* @remarks This is the default record type
|
|
140
|
-
*/
|
|
141
|
-
isDefault(): this is YfFieldVisitOutcomeFormRecord<YfFieldVisitOutcomeFormProperties>;
|
|
142
128
|
/**
|
|
143
129
|
* Type guard: check if this record is of type OUTCOME_FORM
|
|
144
130
|
*
|
|
@@ -227,6 +213,24 @@ export declare class YfFieldVisitOutcomeFormRecord<TProps = YfFieldVisitOutcomeF
|
|
|
227
213
|
* ```
|
|
228
214
|
*/
|
|
229
215
|
get files(): RecordLinkManager<FileRecord, typeof YfFieldVisitOutcomeFormRecord['filesLabels'][number]>;
|
|
216
|
+
/** Valid labels for User associations */
|
|
217
|
+
static readonly usersLabels: readonly ["YfFieldVisitOutcomeForm__User"];
|
|
218
|
+
/**
|
|
219
|
+
* Access linked User records
|
|
220
|
+
* @remarks Available labels: YfFieldVisitOutcomeForm__User
|
|
221
|
+
* @throws Error if called on a new (unsaved) record
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
* ```typescript
|
|
225
|
+
* // Get all linked User records
|
|
226
|
+
* const items = await record.users.list();
|
|
227
|
+
* const first = await record.users.first();
|
|
228
|
+
*
|
|
229
|
+
* // Filter by label
|
|
230
|
+
* const specific = await record.users.first({ label: 'YfFieldVisitOutcomeForm__User' });
|
|
231
|
+
* ```
|
|
232
|
+
*/
|
|
233
|
+
get users(): RecordLinkManager<UserRecord, typeof YfFieldVisitOutcomeFormRecord['usersLabels'][number]>;
|
|
230
234
|
/**
|
|
231
235
|
* Queue a link to be created with the next action.
|
|
232
236
|
* Works for both create and update actions.
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* await record.createYfFieldVisitOutcomeForm({ ... }).execute();
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
|
-
* Entity Types:
|
|
17
|
+
* Entity Types: OUTCOME_FORM
|
|
18
18
|
*
|
|
19
19
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
20
20
|
*/
|
|
@@ -36,6 +36,7 @@ const WorkOrderRecord_1 = require("./WorkOrderRecord");
|
|
|
36
36
|
const AddressRecord_1 = require("./AddressRecord");
|
|
37
37
|
const NoteRecord_1 = require("./NoteRecord");
|
|
38
38
|
const FileRecord_1 = require("./FileRecord");
|
|
39
|
+
const UserRecord_1 = require("./UserRecord");
|
|
39
40
|
/**
|
|
40
41
|
* Builder for action execution with dryRun support
|
|
41
42
|
*
|
|
@@ -151,22 +152,6 @@ class YfFieldVisitOutcomeFormRecord {
|
|
|
151
152
|
// ============================================
|
|
152
153
|
// TYPE GUARDS (with TypeScript type predicates)
|
|
153
154
|
// ============================================
|
|
154
|
-
/**
|
|
155
|
-
* Type guard: check if this record is of type DEFAULT
|
|
156
|
-
*
|
|
157
|
-
* When this returns true, TypeScript automatically narrows the type,
|
|
158
|
-
* giving you access to DEFAULT-specific properties.
|
|
159
|
-
*
|
|
160
|
-
* @example
|
|
161
|
-
* ```typescript
|
|
162
|
-
* if (record.isDefault()) {
|
|
163
|
-
* // TypeScript knows record.properties is YfFieldVisitOutcomeFormProperties
|
|
164
|
-
* console.log(record.properties.SomeTypeSpecificField);
|
|
165
|
-
* }
|
|
166
|
-
* ```
|
|
167
|
-
* @remarks This is the default record type
|
|
168
|
-
*/
|
|
169
|
-
isDefault() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.type) === 'DEFAULT'; }
|
|
170
155
|
/**
|
|
171
156
|
* Type guard: check if this record is of type OUTCOME_FORM
|
|
172
157
|
*
|
|
@@ -303,6 +288,36 @@ class YfFieldVisitOutcomeFormRecord {
|
|
|
303
288
|
}
|
|
304
289
|
return this._files;
|
|
305
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* Access linked User records
|
|
293
|
+
* @remarks Available labels: YfFieldVisitOutcomeForm__User
|
|
294
|
+
* @throws Error if called on a new (unsaved) record
|
|
295
|
+
*
|
|
296
|
+
* @example
|
|
297
|
+
* ```typescript
|
|
298
|
+
* // Get all linked User records
|
|
299
|
+
* const items = await record.users.list();
|
|
300
|
+
* const first = await record.users.first();
|
|
301
|
+
*
|
|
302
|
+
* // Filter by label
|
|
303
|
+
* const specific = await record.users.first({ label: 'YfFieldVisitOutcomeForm__User' });
|
|
304
|
+
* ```
|
|
305
|
+
*/
|
|
306
|
+
get users() {
|
|
307
|
+
var _a;
|
|
308
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
309
|
+
throw new Error('Cannot access links on a new (unsaved) record');
|
|
310
|
+
if (!this._users) {
|
|
311
|
+
this._users = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
312
|
+
sourceEntity: 'FieldServiceModule:YfFieldVisitOutcomeForm',
|
|
313
|
+
targetEntity: 'IdentityModule:User',
|
|
314
|
+
targetModuleName: 'IdentityModule',
|
|
315
|
+
targetEntityName: 'User',
|
|
316
|
+
labels: ['YfFieldVisitOutcomeForm__User'],
|
|
317
|
+
}, UserRecord_1.UserRecord);
|
|
318
|
+
}
|
|
319
|
+
return this._users;
|
|
320
|
+
}
|
|
306
321
|
// ============================================
|
|
307
322
|
// LINK MANAGEMENT
|
|
308
323
|
// ============================================
|
|
@@ -390,6 +405,8 @@ YfFieldVisitOutcomeFormRecord.addressesLabels = ['YfFieldVisitOutcomeForm__Addre
|
|
|
390
405
|
YfFieldVisitOutcomeFormRecord.notesLabels = ['YfFieldVisitOutcomeForm__Note'];
|
|
391
406
|
/** Valid labels for File associations */
|
|
392
407
|
YfFieldVisitOutcomeFormRecord.filesLabels = ['YfFieldVisitOutcomeForm__File'];
|
|
408
|
+
/** Valid labels for User associations */
|
|
409
|
+
YfFieldVisitOutcomeFormRecord.usersLabels = ['YfFieldVisitOutcomeForm__User'];
|
|
393
410
|
/** Type guard to check if an object is a YfFieldVisitOutcomeFormRecord */
|
|
394
411
|
function isYfFieldVisitOutcomeFormRecord(obj) {
|
|
395
412
|
return obj instanceof YfFieldVisitOutcomeFormRecord;
|
|
@@ -30,6 +30,7 @@ export { PermissionToFailRecord, isPermissionToFailRecord } from './PermissionTo
|
|
|
30
30
|
export { AccountRecord, isAccountRecord } from './AccountRecord';
|
|
31
31
|
export { OntReplacementApprovalRecord, isOntReplacementApprovalRecord } from './OntReplacementApprovalRecord';
|
|
32
32
|
export { ConversationRecord, isConversationRecord } from './ConversationRecord';
|
|
33
|
+
export { CustomerDeviceRouterRecord, isCustomerDeviceRouterRecord } from './CustomerDeviceRouterRecord';
|
|
33
34
|
export { PaymentMethodRefundRecord, isPaymentMethodRefundRecord } from './PaymentMethodRefundRecord';
|
|
34
35
|
export { UgExternalAuditRecord, isUgExternalAuditRecord } from './UgExternalAuditRecord';
|
|
35
36
|
export { OhExternalAuditRecord, isOhExternalAuditRecord } from './OhExternalAuditRecord';
|
|
@@ -57,7 +58,6 @@ export { ConversationSummaryFeedbackRecord, isConversationSummaryFeedbackRecord
|
|
|
57
58
|
export { CustomerDeviceRecord, isCustomerDeviceRecord } from './CustomerDeviceRecord';
|
|
58
59
|
export { CustomerDeviceConfigurationRecord, isCustomerDeviceConfigurationRecord } from './CustomerDeviceConfigurationRecord';
|
|
59
60
|
export { CustomerDeviceOntRecord, isCustomerDeviceOntRecord } from './CustomerDeviceOntRecord';
|
|
60
|
-
export { CustomerDeviceRouterRecord, isCustomerDeviceRouterRecord } from './CustomerDeviceRouterRecord';
|
|
61
61
|
export { EmailSenderRecord, isEmailSenderRecord } from './EmailSenderRecord';
|
|
62
62
|
export { EmailTemplateRecord, isEmailTemplateRecord } from './EmailTemplateRecord';
|
|
63
63
|
export { ExchangeRecord, isExchangeRecord } from './ExchangeRecord';
|
package/dist/records-v2/index.js
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
exports.isEmailSenderRecord = exports.EmailSenderRecord = exports.
|
|
14
|
+
exports.isOhExternalAuditRecord = exports.OhExternalAuditRecord = exports.isUgExternalAuditRecord = exports.UgExternalAuditRecord = exports.isPaymentMethodRefundRecord = exports.PaymentMethodRefundRecord = exports.isCustomerDeviceRouterRecord = exports.CustomerDeviceRouterRecord = exports.isConversationRecord = exports.ConversationRecord = exports.isOntReplacementApprovalRecord = exports.OntReplacementApprovalRecord = exports.isAccountRecord = exports.AccountRecord = exports.isPermissionToFailRecord = exports.PermissionToFailRecord = exports.isTransactionRecord = exports.TransactionRecord = exports.isPaymentRecord = exports.PaymentRecord = exports.isPICRequestRecord = exports.PICRequestRecord = exports.isChangeReasonRecord = exports.ChangeReasonRecord = exports.isChurnRequestRecord = exports.ChurnRequestRecord = exports.isBillingRequestRecord = exports.BillingRequestRecord = exports.isBillingAdjustmentRecord = exports.BillingAdjustmentRecord = exports.isServiceAppointmentConfigRecord = exports.ServiceAppointmentConfigRecord = exports.isCrmDatasetRecord = exports.CrmDatasetRecord = exports.isNoteRecord = exports.NoteRecord = exports.isDataIssueRecord = exports.DataIssueRecord = exports.isContractBuyOutRecord = exports.ContractBuyOutRecord = exports.isAddressInteractionRecord = exports.AddressInteractionRecord = exports.isAddressRecord = exports.AddressRecord = exports.isCaseRecord = exports.CaseRecord = exports.isWorkOrderRecord = exports.WorkOrderRecord = exports.isOrderRecord = exports.OrderRecord = void 0;
|
|
15
|
+
exports.isEmailSenderRecord = exports.EmailSenderRecord = exports.isCustomerDeviceOntRecord = exports.CustomerDeviceOntRecord = exports.isCustomerDeviceConfigurationRecord = exports.CustomerDeviceConfigurationRecord = exports.isCustomerDeviceRecord = exports.CustomerDeviceRecord = exports.isConversationSummaryFeedbackRecord = exports.ConversationSummaryFeedbackRecord = exports.isContactIdentityRecord = exports.ContactIdentityRecord = exports.isConfigRecord = exports.ConfigRecord = exports.isMessageRecord = exports.MessageRecord = exports.isOrderKciRecord = exports.OrderKciRecord = exports.isRewardRecord = exports.RewardRecord = exports.isContactRecord = exports.ContactRecord = exports.isCallRecord = exports.CallRecord = exports.isTwilioCallEventRecord = exports.TwilioCallEventRecord = exports.isProductRecord = exports.ProductRecord = exports.isBrskEntityMigrationErrorRecord = exports.BrskEntityMigrationErrorRecord = exports.isBngProvisionRecord = exports.BngProvisionRecord = exports.isPgFileAllocationRecord = exports.PgFileAllocationRecord = exports.isAppointmentRecord = exports.AppointmentRecord = exports.isEmailRecord = exports.EmailRecord = exports.isCallLegRecord = exports.CallLegRecord = exports.isAffiliateCodeRecord = exports.AffiliateCodeRecord = exports.isActivityLogRecord = exports.ActivityLogRecord = exports.isAccountCreditRecord = exports.AccountCreditRecord = exports.isYfFieldVisitOutcomeFormRecord = exports.YfFieldVisitOutcomeFormRecord = exports.isRemediationOutcomeFormRecord = exports.RemediationOutcomeFormRecord = void 0;
|
|
16
16
|
exports.isPgPaymentMethodRecord = exports.PgPaymentMethodRecord = exports.isPgLogRecord = exports.PgLogRecord = exports.isPgDisputeRecord = exports.PgDisputeRecord = exports.isPgContactRecord = exports.PgContactRecord = exports.isPaymentMethodRecord = exports.PaymentMethodRecord = exports.isSmsMessageRecord = exports.SmsMessageRecord = exports.isOutboundDialSessionRecord = exports.OutboundDialSessionRecord = exports.isOutboundDialCampaignRecord = exports.OutboundDialCampaignRecord = exports.isReferralRecord = exports.ReferralRecord = exports.isOrderCheckRecord = exports.OrderCheckRecord = exports.isCampaignRecord = exports.CampaignRecord = exports.isOneTouchSwitchRecord = exports.OneTouchSwitchRecord = exports.isOfferTemplateRecord = exports.OfferTemplateRecord = exports.isReturnsRecord = exports.ReturnsRecord = exports.isNetworkDeviceRecord = exports.NetworkDeviceRecord = exports.isModifyServiceRequestRecord = exports.ModifyServiceRequestRecord = exports.isLeadRecord = exports.LeadRecord = exports.isInvoiceItemRecord = exports.InvoiceItemRecord = exports.isImpersonationTrackerRecord = exports.ImpersonationTrackerRecord = exports.isActivityRecord = exports.ActivityRecord = exports.isFileRecord = exports.FileRecord = exports.isFieldServiceProductRecord = exports.FieldServiceProductRecord = exports.isFieldServiceDispatchedProductRecord = exports.FieldServiceDispatchedProductRecord = exports.isExchangeRecord = exports.ExchangeRecord = exports.isEmailTemplateRecord = exports.EmailTemplateRecord = void 0;
|
|
17
17
|
exports.isYfWifiSurveyRecord = exports.YfWifiSurveyRecord = exports.isYfAgentLocationRecord = exports.YfAgentLocationRecord = exports.isWorkOrderStatusUpdateRecord = exports.WorkOrderStatusUpdateRecord = exports.isWayleaveAuditRecord = exports.WayleaveAuditRecord = exports.isUserRecord = exports.UserRecord = exports.isTwilioWorkerRecord = exports.TwilioWorkerRecord = exports.isTwilioUserUpdateRecord = exports.TwilioUserUpdateRecord = exports.isTwilioTaskQueueRecord = exports.TwilioTaskQueueRecord = exports.isTwilioActivityRecord = exports.TwilioActivityRecord = exports.isTimeSlotRecord = exports.TimeSlotRecord = exports.isTeamRecord = exports.TeamRecord = exports.isSalesTerritoryRecord = exports.SalesTerritoryRecord = exports.isRegionRecord = exports.RegionRecord = exports.isVoiceConfigurationRecord = exports.VoiceConfigurationRecord = exports.isOrderItemRecord = exports.OrderItemRecord = exports.isRecontractRecord = exports.RecontractRecord = exports.isPushNotificationRecord = exports.PushNotificationRecord = exports.isPgWebhookRecord = exports.PgWebhookRecord = exports.isPgWebhookAttemptRecord = exports.PgWebhookAttemptRecord = exports.isPgAccountValidationRecord = exports.PgAccountValidationRecord = exports.isPgTransactionRecord = exports.PgTransactionRecord = exports.isPgSortCodeSubstitutionRecord = exports.PgSortCodeSubstitutionRecord = exports.isPgVocalinkRecord = exports.PgVocalinkRecord = exports.isPgDirectDebitFileRecord = exports.PgDirectDebitFileRecord = exports.isPgReportEventRecord = exports.PgReportEventRecord = void 0;
|
|
18
18
|
exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isSmsTemplateRecord = exports.SmsTemplateRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isNotificationTemplateRecord = exports.NotificationTemplateRecord = exports.isAgentStatusRecord = exports.AgentStatusRecord = exports.isScheduleSlotRecord = exports.ScheduleSlotRecord = exports.isPriceBookRecord = exports.PriceBookRecord = exports.isOverlayRealA55Record = exports.OverlayRealA55Record = exports.isOfferRecord = exports.OfferRecord = exports.isServiceAppointmentRecord = exports.ServiceAppointmentRecord = exports.isOutageRecord = exports.OutageRecord = exports.isSiteSpecificRiskAssessmentOutcomeFormRecord = exports.SiteSpecificRiskAssessmentOutcomeFormRecord = exports.isRemediationRequiredReasonRecord = exports.RemediationRequiredReasonRecord = exports.isKnowledgeArticleRecord = exports.KnowledgeArticleRecord = exports.isInvoiceRecord = exports.InvoiceRecord = exports.isDiscountRecord = exports.DiscountRecord = exports.isCustomerDeviceAtaRecord = exports.CustomerDeviceAtaRecord = exports.isCreditNoteRecord = exports.CreditNoteRecord = exports.isOutboundDialCampaignCaseRecord = exports.OutboundDialCampaignCaseRecord = void 0;
|
|
@@ -79,6 +79,9 @@ Object.defineProperty(exports, "isOntReplacementApprovalRecord", { enumerable: t
|
|
|
79
79
|
var ConversationRecord_1 = require("./ConversationRecord");
|
|
80
80
|
Object.defineProperty(exports, "ConversationRecord", { enumerable: true, get: function () { return ConversationRecord_1.ConversationRecord; } });
|
|
81
81
|
Object.defineProperty(exports, "isConversationRecord", { enumerable: true, get: function () { return ConversationRecord_1.isConversationRecord; } });
|
|
82
|
+
var CustomerDeviceRouterRecord_1 = require("./CustomerDeviceRouterRecord");
|
|
83
|
+
Object.defineProperty(exports, "CustomerDeviceRouterRecord", { enumerable: true, get: function () { return CustomerDeviceRouterRecord_1.CustomerDeviceRouterRecord; } });
|
|
84
|
+
Object.defineProperty(exports, "isCustomerDeviceRouterRecord", { enumerable: true, get: function () { return CustomerDeviceRouterRecord_1.isCustomerDeviceRouterRecord; } });
|
|
82
85
|
var PaymentMethodRefundRecord_1 = require("./PaymentMethodRefundRecord");
|
|
83
86
|
Object.defineProperty(exports, "PaymentMethodRefundRecord", { enumerable: true, get: function () { return PaymentMethodRefundRecord_1.PaymentMethodRefundRecord; } });
|
|
84
87
|
Object.defineProperty(exports, "isPaymentMethodRefundRecord", { enumerable: true, get: function () { return PaymentMethodRefundRecord_1.isPaymentMethodRefundRecord; } });
|
|
@@ -160,9 +163,6 @@ Object.defineProperty(exports, "isCustomerDeviceConfigurationRecord", { enumerab
|
|
|
160
163
|
var CustomerDeviceOntRecord_1 = require("./CustomerDeviceOntRecord");
|
|
161
164
|
Object.defineProperty(exports, "CustomerDeviceOntRecord", { enumerable: true, get: function () { return CustomerDeviceOntRecord_1.CustomerDeviceOntRecord; } });
|
|
162
165
|
Object.defineProperty(exports, "isCustomerDeviceOntRecord", { enumerable: true, get: function () { return CustomerDeviceOntRecord_1.isCustomerDeviceOntRecord; } });
|
|
163
|
-
var CustomerDeviceRouterRecord_1 = require("./CustomerDeviceRouterRecord");
|
|
164
|
-
Object.defineProperty(exports, "CustomerDeviceRouterRecord", { enumerable: true, get: function () { return CustomerDeviceRouterRecord_1.CustomerDeviceRouterRecord; } });
|
|
165
|
-
Object.defineProperty(exports, "isCustomerDeviceRouterRecord", { enumerable: true, get: function () { return CustomerDeviceRouterRecord_1.isCustomerDeviceRouterRecord; } });
|
|
166
166
|
var EmailSenderRecord_1 = require("./EmailSenderRecord");
|
|
167
167
|
Object.defineProperty(exports, "EmailSenderRecord", { enumerable: true, get: function () { return EmailSenderRecord_1.EmailSenderRecord; } });
|
|
168
168
|
Object.defineProperty(exports, "isEmailSenderRecord", { enumerable: true, get: function () { return EmailSenderRecord_1.isEmailSenderRecord; } });
|