@d19n/youfibre-odin-sdk 2.0.372 → 2.0.373
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 +2 -1
- package/dist/actions-v2/UpdateWorkOrderWithdrawEquipmentChargeDto.d.ts +73 -0
- package/dist/actions-v2/UpdateWorkOrderWithdrawEquipmentChargeDto.js +56 -0
- package/dist/db-sdk-v2/FileDb.d.ts +132 -132
- package/dist/db-sdk-v2/FileDb.js +268 -268
- package/dist/records-v2/WorkOrderRecord.d.ts +27 -0
- package/dist/records-v2/WorkOrderRecord.js +29 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -398,7 +398,7 @@ This SDK includes **205** entities across **13** modules.
|
|
|
398
398
|
|
|
399
399
|
## Actions
|
|
400
400
|
|
|
401
|
-
This SDK includes **
|
|
401
|
+
This SDK includes **936** actions.
|
|
402
402
|
|
|
403
403
|
### Action Types
|
|
404
404
|
|
|
@@ -658,6 +658,7 @@ This SDK includes **935** actions.
|
|
|
658
658
|
| `UpdateRemediationWorkOrder` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateRemediationWorkOrder |
|
|
659
659
|
| `UpdateSetReturnedLegacy` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateSetReturnedLegacy |
|
|
660
660
|
| `UpdateWayleaveWorkOrder` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateWayleaveWorkOrder |
|
|
661
|
+
| `UpdateWorkOrderWithdrawEquipmentCharge` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateWorkOrderWithdrawEquipmentCharge |
|
|
661
662
|
|
|
662
663
|
**CancelInstallWorkOrderFlowSupplier Target Stages:** `WorkOrderStageCancelled`
|
|
663
664
|
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateWorkOrderWithdrawEquipmentCharge Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Withdraws an equipment charge no payment has been taken for: billing credits the invoice, then cancels this work order. A paid or part-paid charge goes through the normal credit and refund process instead. BILL-1005.
|
|
5
|
+
*
|
|
6
|
+
* @module FieldServiceModule
|
|
7
|
+
* @entity WorkOrder
|
|
8
|
+
* @actionKey UpdateWorkOrderWithdrawEquipmentCharge
|
|
9
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateWorkOrderWithdrawEquipmentCharge
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for UpdateWorkOrderWithdrawEquipmentCharge updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateWorkOrderWithdrawEquipmentCharge
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateWorkOrderWithdrawEquipmentChargeMessage extends OdinRecordUpdatedEvent<UpdateWorkOrderWithdrawEquipmentChargeDto, UpdateWorkOrderWithdrawEquipmentChargeProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateWorkOrderWithdrawEquipmentCharge action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 1
|
|
25
|
+
* @property Optional fields: 0
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateWorkOrderWithdrawEquipmentChargeProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Why is the charge being withdrawn?
|
|
30
|
+
*
|
|
31
|
+
* StatusReason (Field Operations - WorkOrder)
|
|
32
|
+
* @type {TEXT_LONG}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
StatusReason: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Withdraw equipment charge
|
|
39
|
+
*
|
|
40
|
+
* Withdraws an equipment charge no payment has been taken for: billing credits the invoice, then cancels this work order. A paid or part-paid charge goes through the normal credit and refund process instead. BILL-1005.
|
|
41
|
+
*
|
|
42
|
+
* @actionType UPDATE - Updates an existing WorkOrder record
|
|
43
|
+
* @module FieldServiceModule
|
|
44
|
+
* @entity WorkOrder
|
|
45
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateWorkOrderWithdrawEquipmentCharge
|
|
46
|
+
* @permission schema.action.updateworkorderwithdrawequipmentcharge.trigger
|
|
47
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
48
|
+
*/
|
|
49
|
+
export declare class UpdateWorkOrderWithdrawEquipmentChargeDto extends OdinRecordUpdateDto<UpdateWorkOrderWithdrawEquipmentChargeProperties> {
|
|
50
|
+
/** Used by SDK generators to identify action type */
|
|
51
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
52
|
+
static readonly ACTION_KEY = "UpdateWorkOrderWithdrawEquipmentCharge";
|
|
53
|
+
static readonly MODULE_NAME = "FieldServiceModule";
|
|
54
|
+
static readonly ENTITIES: string[];
|
|
55
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateWorkOrderWithdrawEquipmentCharge";
|
|
56
|
+
static readonly PERMISSION = "schema.action.updateworkorderwithdrawequipmentcharge.trigger";
|
|
57
|
+
/** Step metadata - entity this action targets */
|
|
58
|
+
static readonly STEP_ENTITY = "FieldServiceModule:WorkOrder";
|
|
59
|
+
static readonly STEP_SCHEMA_ID = "966bf5d9-163e-4132-85e2-56a5f801c9de";
|
|
60
|
+
static readonly STEP_SCHEMA_ACTION_ID = "e4fbb5bf-aaff-4783-98ea-6ae58b67d596";
|
|
61
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
62
|
+
readonly actionName: string;
|
|
63
|
+
readonly schemaActionId: string;
|
|
64
|
+
readonly entity: string;
|
|
65
|
+
constructor(record: OdinRecord<any> | {
|
|
66
|
+
id: string;
|
|
67
|
+
entity: string;
|
|
68
|
+
type?: string;
|
|
69
|
+
}, properties: UpdateWorkOrderWithdrawEquipmentChargeProperties, options?: {
|
|
70
|
+
journeyId?: string;
|
|
71
|
+
stageKey?: string;
|
|
72
|
+
});
|
|
73
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateWorkOrderWithdrawEquipmentCharge Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Withdraws an equipment charge no payment has been taken for: billing credits the invoice, then cancels this work order. A paid or part-paid charge goes through the normal credit and refund process instead. BILL-1005.
|
|
6
|
+
*
|
|
7
|
+
* @module FieldServiceModule
|
|
8
|
+
* @entity WorkOrder
|
|
9
|
+
* @actionKey UpdateWorkOrderWithdrawEquipmentCharge
|
|
10
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateWorkOrderWithdrawEquipmentCharge
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateWorkOrderWithdrawEquipmentChargeDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Withdraw equipment charge
|
|
19
|
+
*
|
|
20
|
+
* Withdraws an equipment charge no payment has been taken for: billing credits the invoice, then cancels this work order. A paid or part-paid charge goes through the normal credit and refund process instead. BILL-1005.
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing WorkOrder record
|
|
23
|
+
* @module FieldServiceModule
|
|
24
|
+
* @entity WorkOrder
|
|
25
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateWorkOrderWithdrawEquipmentCharge
|
|
26
|
+
* @permission schema.action.updateworkorderwithdrawequipmentcharge.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateWorkOrderWithdrawEquipmentChargeDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'UpdateWorkOrderWithdrawEquipmentCharge';
|
|
40
|
+
this.schemaActionId = 'e4fbb5bf-aaff-4783-98ea-6ae58b67d596';
|
|
41
|
+
this.entity = 'FieldServiceModule:WorkOrder';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateWorkOrderWithdrawEquipmentChargeDto = UpdateWorkOrderWithdrawEquipmentChargeDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateWorkOrderWithdrawEquipmentChargeDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateWorkOrderWithdrawEquipmentChargeDto.ACTION_KEY = 'UpdateWorkOrderWithdrawEquipmentCharge';
|
|
48
|
+
UpdateWorkOrderWithdrawEquipmentChargeDto.MODULE_NAME = 'FieldServiceModule';
|
|
49
|
+
UpdateWorkOrderWithdrawEquipmentChargeDto.ENTITIES = ['WorkOrder'];
|
|
50
|
+
UpdateWorkOrderWithdrawEquipmentChargeDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateWorkOrderWithdrawEquipmentCharge';
|
|
51
|
+
UpdateWorkOrderWithdrawEquipmentChargeDto.PERMISSION = 'schema.action.updateworkorderwithdrawequipmentcharge.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateWorkOrderWithdrawEquipmentChargeDto.STEP_ENTITY = 'FieldServiceModule:WorkOrder';
|
|
54
|
+
UpdateWorkOrderWithdrawEquipmentChargeDto.STEP_SCHEMA_ID = '966bf5d9-163e-4132-85e2-56a5f801c9de';
|
|
55
|
+
UpdateWorkOrderWithdrawEquipmentChargeDto.STEP_SCHEMA_ACTION_ID = 'e4fbb5bf-aaff-4783-98ea-6ae58b67d596';
|
|
56
|
+
UpdateWorkOrderWithdrawEquipmentChargeDto.AUTO_LINK_PARENT = false;
|
|
@@ -21,141 +21,141 @@ export declare class FileDb extends DbProvider {
|
|
|
21
21
|
private readonly moduleName;
|
|
22
22
|
private readonly entityName;
|
|
23
23
|
private sourceRecord;
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
private
|
|
27
|
-
private
|
|
28
|
-
private
|
|
29
|
-
private
|
|
30
|
-
private
|
|
31
|
-
private
|
|
32
|
-
private
|
|
33
|
-
private
|
|
34
|
-
private
|
|
35
|
-
private
|
|
36
|
-
private
|
|
37
|
-
private
|
|
38
|
-
private
|
|
39
|
-
private
|
|
40
|
-
private
|
|
41
|
-
private
|
|
42
|
-
private
|
|
43
|
-
private
|
|
44
|
-
private
|
|
45
|
-
private
|
|
46
|
-
private
|
|
47
|
-
private
|
|
48
|
-
private
|
|
49
|
-
private
|
|
50
|
-
private
|
|
51
|
-
private
|
|
52
|
-
private
|
|
53
|
-
private
|
|
54
|
-
private
|
|
55
|
-
private
|
|
56
|
-
private
|
|
57
|
-
private
|
|
58
|
-
private
|
|
59
|
-
private
|
|
24
|
+
private _servicevisitaudit__file?;
|
|
25
|
+
private _blockagea55_file?;
|
|
26
|
+
private _netomniaftth2stageinstallaudit__file?;
|
|
27
|
+
private _netomniaftth1stageinstallaudit__file?;
|
|
28
|
+
private _overlayreala55_file?;
|
|
29
|
+
private _appointment__file?;
|
|
30
|
+
private _ugexternalaudit_file?;
|
|
31
|
+
private _billingrequest__file?;
|
|
32
|
+
private _transaction__file?;
|
|
33
|
+
private _creditnote__file?;
|
|
34
|
+
private _address__file?;
|
|
35
|
+
private _changereason__file?;
|
|
36
|
+
private _discount__file?;
|
|
37
|
+
private _paymentmethodrefund__file?;
|
|
38
|
+
private _serviceappointment__file?;
|
|
39
|
+
private _customerdevicerouter__file?;
|
|
40
|
+
private _visit__file?;
|
|
41
|
+
private _fingerprint__file?;
|
|
42
|
+
private _yftoolaudit_file?;
|
|
43
|
+
private _wayleaveaudit_file?;
|
|
44
|
+
private _workorder__file?;
|
|
45
|
+
private _orderitem__file?;
|
|
46
|
+
private _internalinstallaudit_file?;
|
|
47
|
+
private _knowledgearticle__file?;
|
|
48
|
+
private _case__file?;
|
|
49
|
+
private _activity__file?;
|
|
50
|
+
private _netomniaftthservicevisitsheet__file?;
|
|
51
|
+
private _yfstockcount__file?;
|
|
52
|
+
private _onetouchswitch_file?;
|
|
53
|
+
private _remediationrequiredreason__file?;
|
|
54
|
+
private _invoice__file?;
|
|
55
|
+
private _yfvanaudit_file?;
|
|
56
|
+
private _uginstallationaudit__file?;
|
|
57
|
+
private _ohinstallationaudit__file?;
|
|
58
|
+
private _ugauditofinstallation__file?;
|
|
59
|
+
private _yfequipmentcollection__file?;
|
|
60
|
+
private _lead__file?;
|
|
61
|
+
private _account__file?;
|
|
62
|
+
private _paymentmethod__file?;
|
|
63
|
+
private _sweepermaintenanceaudit__file?;
|
|
64
|
+
private _blockagereporta55__file?;
|
|
65
|
+
private _ohauditofinstallation__file?;
|
|
66
|
+
private _ohinprogressaudit_file?;
|
|
67
|
+
private _contractbuyout__file?;
|
|
68
|
+
private _sitespecificriskassessmentoutcomeform__file?;
|
|
69
|
+
private _remediationoutcomeform_file?;
|
|
70
|
+
private _order__file?;
|
|
71
|
+
private _call__file?;
|
|
72
|
+
private _ohexternalaudit_file?;
|
|
73
|
+
private _customerdeviceont__file?;
|
|
74
|
+
private _yffieldservicevisit__file?;
|
|
75
|
+
private _billingadjustment__file?;
|
|
76
|
+
private _contact__file?;
|
|
77
|
+
private _message_file?;
|
|
78
|
+
private _netomniainstallverification__file?;
|
|
79
|
+
private _attachments?;
|
|
80
|
+
private _ugretroaudit__file?;
|
|
81
|
+
private _ohretroaudit__file?;
|
|
82
|
+
private _uginprogressaudit_file?;
|
|
83
|
+
private _pgdirectdebitfile__file?;
|
|
84
|
+
private _yfwifisurvey__file?;
|
|
85
|
+
private _yffieldvisitoutcomeform__file?;
|
|
60
86
|
private _note__file?;
|
|
61
|
-
private
|
|
62
|
-
private
|
|
63
|
-
private
|
|
64
|
-
private
|
|
65
|
-
private _sweepermaintenanceaudit?;
|
|
66
|
-
private _blockagereporta55?;
|
|
67
|
-
private _ohauditofinstallation?;
|
|
68
|
-
private _ohinprogressaudit?;
|
|
69
|
-
private _contractbuyout?;
|
|
70
|
-
private _sitespecificriskassessmentoutcomeform?;
|
|
71
|
-
private _remediationoutcomeform?;
|
|
72
|
-
private _order?;
|
|
73
|
-
private _call?;
|
|
74
|
-
private _ohexternalaudit?;
|
|
75
|
-
private _customerdeviceont?;
|
|
76
|
-
private _yffieldservicevisit?;
|
|
77
|
-
private _billingadjustment?;
|
|
78
|
-
private _contact?;
|
|
79
|
-
private _message?;
|
|
80
|
-
private _netomniainstallverification?;
|
|
81
|
-
private _email?;
|
|
82
|
-
private _ugretroaudit?;
|
|
83
|
-
private _ohretroaudit?;
|
|
84
|
-
private _uginprogressaudit?;
|
|
85
|
-
private _pgdirectdebitfile?;
|
|
86
|
-
private _yfwifisurvey?;
|
|
87
|
-
private _yffieldvisitoutcomeform?;
|
|
88
|
-
private _document?;
|
|
89
|
-
private _documentprocessing?;
|
|
90
|
-
private _homemove?;
|
|
87
|
+
private _document__file?;
|
|
88
|
+
private _documentprocessing__file?;
|
|
89
|
+
private _homemove__file?;
|
|
90
|
+
private _note?;
|
|
91
91
|
constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
|
|
92
|
-
get
|
|
93
|
-
get
|
|
94
|
-
get
|
|
95
|
-
get
|
|
96
|
-
get
|
|
97
|
-
get
|
|
98
|
-
get
|
|
99
|
-
get
|
|
100
|
-
get
|
|
101
|
-
get
|
|
102
|
-
get
|
|
103
|
-
get
|
|
104
|
-
get
|
|
105
|
-
get
|
|
106
|
-
get
|
|
107
|
-
get
|
|
108
|
-
get
|
|
109
|
-
get
|
|
110
|
-
get
|
|
111
|
-
get
|
|
112
|
-
get
|
|
113
|
-
get
|
|
114
|
-
get
|
|
115
|
-
get
|
|
116
|
-
get
|
|
117
|
-
get
|
|
118
|
-
get
|
|
119
|
-
get
|
|
120
|
-
get
|
|
121
|
-
get
|
|
122
|
-
get
|
|
123
|
-
get
|
|
124
|
-
get
|
|
125
|
-
get
|
|
126
|
-
get
|
|
127
|
-
get
|
|
92
|
+
get servicevisitaudit__file(): DbRecordLinkManager;
|
|
93
|
+
get blockagea55_file(): DbRecordLinkManager;
|
|
94
|
+
get netomniaftth2stageinstallaudit__file(): DbRecordLinkManager;
|
|
95
|
+
get netomniaftth1stageinstallaudit__file(): DbRecordLinkManager;
|
|
96
|
+
get overlayreala55_file(): DbRecordLinkManager;
|
|
97
|
+
get appointment__file(): DbRecordLinkManager;
|
|
98
|
+
get ugexternalaudit_file(): DbRecordLinkManager;
|
|
99
|
+
get billingrequest__file(): DbRecordLinkManager;
|
|
100
|
+
get transaction__file(): DbRecordLinkManager;
|
|
101
|
+
get creditnote__file(): DbRecordLinkManager;
|
|
102
|
+
get address__file(): DbRecordLinkManager;
|
|
103
|
+
get changereason__file(): DbRecordLinkManager;
|
|
104
|
+
get discount__file(): DbRecordLinkManager;
|
|
105
|
+
get paymentmethodrefund__file(): DbRecordLinkManager;
|
|
106
|
+
get serviceappointment__file(): DbRecordLinkManager;
|
|
107
|
+
get customerdevicerouter__file(): DbRecordLinkManager;
|
|
108
|
+
get visit__file(): DbRecordLinkManager;
|
|
109
|
+
get fingerprint__file(): DbRecordLinkManager;
|
|
110
|
+
get yftoolaudit_file(): DbRecordLinkManager;
|
|
111
|
+
get wayleaveaudit_file(): DbRecordLinkManager;
|
|
112
|
+
get workorder__file(): DbRecordLinkManager;
|
|
113
|
+
get orderitem__file(): DbRecordLinkManager;
|
|
114
|
+
get internalinstallaudit_file(): DbRecordLinkManager;
|
|
115
|
+
get knowledgearticle__file(): DbRecordLinkManager;
|
|
116
|
+
get case__file(): DbRecordLinkManager;
|
|
117
|
+
get activity__file(): DbRecordLinkManager;
|
|
118
|
+
get netomniaftthservicevisitsheet__file(): DbRecordLinkManager;
|
|
119
|
+
get yfstockcount__file(): DbRecordLinkManager;
|
|
120
|
+
get onetouchswitch_file(): DbRecordLinkManager;
|
|
121
|
+
get remediationrequiredreason__file(): DbRecordLinkManager;
|
|
122
|
+
get invoice__file(): DbRecordLinkManager;
|
|
123
|
+
get yfvanaudit_file(): DbRecordLinkManager;
|
|
124
|
+
get uginstallationaudit__file(): DbRecordLinkManager;
|
|
125
|
+
get ohinstallationaudit__file(): DbRecordLinkManager;
|
|
126
|
+
get ugauditofinstallation__file(): DbRecordLinkManager;
|
|
127
|
+
get yfequipmentcollection__file(): DbRecordLinkManager;
|
|
128
|
+
get lead__file(): DbRecordLinkManager;
|
|
129
|
+
get account__file(): DbRecordLinkManager;
|
|
130
|
+
get paymentmethod__file(): DbRecordLinkManager;
|
|
131
|
+
get sweepermaintenanceaudit__file(): DbRecordLinkManager;
|
|
132
|
+
get blockagereporta55__file(): DbRecordLinkManager;
|
|
133
|
+
get ohauditofinstallation__file(): DbRecordLinkManager;
|
|
134
|
+
get ohinprogressaudit_file(): DbRecordLinkManager;
|
|
135
|
+
get contractbuyout__file(): DbRecordLinkManager;
|
|
136
|
+
get sitespecificriskassessmentoutcomeform__file(): DbRecordLinkManager;
|
|
137
|
+
get remediationoutcomeform_file(): DbRecordLinkManager;
|
|
138
|
+
get order__file(): DbRecordLinkManager;
|
|
139
|
+
get call__file(): DbRecordLinkManager;
|
|
140
|
+
get ohexternalaudit_file(): DbRecordLinkManager;
|
|
141
|
+
get customerdeviceont__file(): DbRecordLinkManager;
|
|
142
|
+
get yffieldservicevisit__file(): DbRecordLinkManager;
|
|
143
|
+
get billingadjustment__file(): DbRecordLinkManager;
|
|
144
|
+
get contact__file(): DbRecordLinkManager;
|
|
145
|
+
get message_file(): DbRecordLinkManager;
|
|
146
|
+
get netomniainstallverification__file(): DbRecordLinkManager;
|
|
147
|
+
get attachments(): DbRecordLinkManager;
|
|
148
|
+
get ugretroaudit__file(): DbRecordLinkManager;
|
|
149
|
+
get ohretroaudit__file(): DbRecordLinkManager;
|
|
150
|
+
get uginprogressaudit_file(): DbRecordLinkManager;
|
|
151
|
+
get pgdirectdebitfile__file(): DbRecordLinkManager;
|
|
152
|
+
get yfwifisurvey__file(): DbRecordLinkManager;
|
|
153
|
+
get yffieldvisitoutcomeform__file(): DbRecordLinkManager;
|
|
128
154
|
get note__file(): DbRecordLinkManager;
|
|
129
|
-
get
|
|
130
|
-
get
|
|
131
|
-
get
|
|
132
|
-
get
|
|
133
|
-
get sweepermaintenanceaudit(): DbRecordLinkManager;
|
|
134
|
-
get blockagereporta55(): DbRecordLinkManager;
|
|
135
|
-
get ohauditofinstallation(): DbRecordLinkManager;
|
|
136
|
-
get ohinprogressaudit(): DbRecordLinkManager;
|
|
137
|
-
get contractbuyout(): DbRecordLinkManager;
|
|
138
|
-
get sitespecificriskassessmentoutcomeform(): DbRecordLinkManager;
|
|
139
|
-
get remediationoutcomeform(): DbRecordLinkManager;
|
|
140
|
-
get order(): DbRecordLinkManager;
|
|
141
|
-
get call(): DbRecordLinkManager;
|
|
142
|
-
get ohexternalaudit(): DbRecordLinkManager;
|
|
143
|
-
get customerdeviceont(): DbRecordLinkManager;
|
|
144
|
-
get yffieldservicevisit(): DbRecordLinkManager;
|
|
145
|
-
get billingadjustment(): DbRecordLinkManager;
|
|
146
|
-
get contact(): DbRecordLinkManager;
|
|
147
|
-
get message(): DbRecordLinkManager;
|
|
148
|
-
get netomniainstallverification(): DbRecordLinkManager;
|
|
149
|
-
get email(): DbRecordLinkManager;
|
|
150
|
-
get ugretroaudit(): DbRecordLinkManager;
|
|
151
|
-
get ohretroaudit(): DbRecordLinkManager;
|
|
152
|
-
get uginprogressaudit(): DbRecordLinkManager;
|
|
153
|
-
get pgdirectdebitfile(): DbRecordLinkManager;
|
|
154
|
-
get yfwifisurvey(): DbRecordLinkManager;
|
|
155
|
-
get yffieldvisitoutcomeform(): DbRecordLinkManager;
|
|
156
|
-
get document(): DbRecordLinkManager;
|
|
157
|
-
get documentprocessing(): DbRecordLinkManager;
|
|
158
|
-
get homemove(): DbRecordLinkManager;
|
|
155
|
+
get document__file(): DbRecordLinkManager;
|
|
156
|
+
get documentprocessing__file(): DbRecordLinkManager;
|
|
157
|
+
get homemove__file(): DbRecordLinkManager;
|
|
158
|
+
get note(): DbRecordLinkManager;
|
|
159
159
|
setRecord(sourceRecord: any): void;
|
|
160
160
|
/**
|
|
161
161
|
* Search records with manual pagination control
|
package/dist/db-sdk-v2/FileDb.js
CHANGED
|
@@ -38,407 +38,407 @@ class FileDb extends db_provider_1.DbProvider {
|
|
|
38
38
|
// LAZY-LOADED LINK MANAGERS (Public Getters)
|
|
39
39
|
// ============================================
|
|
40
40
|
// Usage remains identical: db.address.list(recordId)
|
|
41
|
-
get
|
|
42
|
-
if (!this.
|
|
43
|
-
this.
|
|
41
|
+
get servicevisitaudit__file() {
|
|
42
|
+
if (!this._servicevisitaudit__file) {
|
|
43
|
+
this._servicevisitaudit__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:ServiceVisitAudit', 'SchemaModule:File', 'ServiceVisitAudit__File');
|
|
44
44
|
}
|
|
45
|
-
return this.
|
|
45
|
+
return this._servicevisitaudit__file;
|
|
46
46
|
}
|
|
47
|
-
get
|
|
48
|
-
if (!this.
|
|
49
|
-
this.
|
|
47
|
+
get blockagea55_file() {
|
|
48
|
+
if (!this._blockagea55_file) {
|
|
49
|
+
this._blockagea55_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:BlockageA55', 'SchemaModule:File', 'BlockageA55_File');
|
|
50
50
|
}
|
|
51
|
-
return this.
|
|
51
|
+
return this._blockagea55_file;
|
|
52
52
|
}
|
|
53
|
-
get
|
|
54
|
-
if (!this.
|
|
55
|
-
this.
|
|
53
|
+
get netomniaftth2stageinstallaudit__file() {
|
|
54
|
+
if (!this._netomniaftth2stageinstallaudit__file) {
|
|
55
|
+
this._netomniaftth2stageinstallaudit__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:NetomniaFtth2StageInstallAudit', 'SchemaModule:File', 'NetomniaFtth2StageInstallAudit__File');
|
|
56
56
|
}
|
|
57
|
-
return this.
|
|
57
|
+
return this._netomniaftth2stageinstallaudit__file;
|
|
58
58
|
}
|
|
59
|
-
get
|
|
60
|
-
if (!this.
|
|
61
|
-
this.
|
|
59
|
+
get netomniaftth1stageinstallaudit__file() {
|
|
60
|
+
if (!this._netomniaftth1stageinstallaudit__file) {
|
|
61
|
+
this._netomniaftth1stageinstallaudit__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:NetomniaFtth1StageInstallAudit', 'SchemaModule:File', 'NetomniaFtth1StageInstallAudit__File');
|
|
62
62
|
}
|
|
63
|
-
return this.
|
|
63
|
+
return this._netomniaftth1stageinstallaudit__file;
|
|
64
64
|
}
|
|
65
|
-
get
|
|
66
|
-
if (!this.
|
|
67
|
-
this.
|
|
65
|
+
get overlayreala55_file() {
|
|
66
|
+
if (!this._overlayreala55_file) {
|
|
67
|
+
this._overlayreala55_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:OverlayRealA55', 'SchemaModule:File', 'OverlayRealA55_File');
|
|
68
68
|
}
|
|
69
|
-
return this.
|
|
69
|
+
return this._overlayreala55_file;
|
|
70
70
|
}
|
|
71
|
-
get
|
|
72
|
-
if (!this.
|
|
73
|
-
this.
|
|
71
|
+
get appointment__file() {
|
|
72
|
+
if (!this._appointment__file) {
|
|
73
|
+
this._appointment__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Appointment', 'SchemaModule:File', 'Appointment__File');
|
|
74
74
|
}
|
|
75
|
-
return this.
|
|
75
|
+
return this._appointment__file;
|
|
76
76
|
}
|
|
77
|
-
get
|
|
78
|
-
if (!this.
|
|
79
|
-
this.
|
|
77
|
+
get ugexternalaudit_file() {
|
|
78
|
+
if (!this._ugexternalaudit_file) {
|
|
79
|
+
this._ugexternalaudit_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:UgExternalAudit', 'SchemaModule:File', 'UgExternalAudit_File');
|
|
80
80
|
}
|
|
81
|
-
return this.
|
|
81
|
+
return this._ugexternalaudit_file;
|
|
82
82
|
}
|
|
83
|
-
get
|
|
84
|
-
if (!this.
|
|
85
|
-
this.
|
|
83
|
+
get billingrequest__file() {
|
|
84
|
+
if (!this._billingrequest__file) {
|
|
85
|
+
this._billingrequest__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:BillingRequest', 'SchemaModule:File', 'BillingRequest__File');
|
|
86
86
|
}
|
|
87
|
-
return this.
|
|
87
|
+
return this._billingrequest__file;
|
|
88
88
|
}
|
|
89
|
-
get
|
|
90
|
-
if (!this.
|
|
91
|
-
this.
|
|
89
|
+
get transaction__file() {
|
|
90
|
+
if (!this._transaction__file) {
|
|
91
|
+
this._transaction__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:Transaction', 'SchemaModule:File', 'Transaction__File');
|
|
92
92
|
}
|
|
93
|
-
return this.
|
|
93
|
+
return this._transaction__file;
|
|
94
94
|
}
|
|
95
|
-
get
|
|
96
|
-
if (!this.
|
|
97
|
-
this.
|
|
95
|
+
get creditnote__file() {
|
|
96
|
+
if (!this._creditnote__file) {
|
|
97
|
+
this._creditnote__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:CreditNote', 'SchemaModule:File', 'CreditNote__File');
|
|
98
98
|
}
|
|
99
|
-
return this.
|
|
99
|
+
return this._creditnote__file;
|
|
100
100
|
}
|
|
101
|
-
get
|
|
102
|
-
if (!this.
|
|
103
|
-
this.
|
|
101
|
+
get address__file() {
|
|
102
|
+
if (!this._address__file) {
|
|
103
|
+
this._address__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Address', 'SchemaModule:File', 'Address__File');
|
|
104
104
|
}
|
|
105
|
-
return this.
|
|
105
|
+
return this._address__file;
|
|
106
106
|
}
|
|
107
|
-
get
|
|
108
|
-
if (!this.
|
|
109
|
-
this.
|
|
107
|
+
get changereason__file() {
|
|
108
|
+
if (!this._changereason__file) {
|
|
109
|
+
this._changereason__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:ChangeReason', 'SchemaModule:File', 'ChangeReason__File');
|
|
110
110
|
}
|
|
111
|
-
return this.
|
|
111
|
+
return this._changereason__file;
|
|
112
112
|
}
|
|
113
|
-
get
|
|
114
|
-
if (!this.
|
|
115
|
-
this.
|
|
113
|
+
get discount__file() {
|
|
114
|
+
if (!this._discount__file) {
|
|
115
|
+
this._discount__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProductModule:Discount', 'SchemaModule:File', 'Discount__File');
|
|
116
116
|
}
|
|
117
|
-
return this.
|
|
117
|
+
return this._discount__file;
|
|
118
118
|
}
|
|
119
|
-
get
|
|
120
|
-
if (!this.
|
|
121
|
-
this.
|
|
119
|
+
get paymentmethodrefund__file() {
|
|
120
|
+
if (!this._paymentmethodrefund__file) {
|
|
121
|
+
this._paymentmethodrefund__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:PaymentMethodRefund', 'SchemaModule:File', 'PaymentMethodRefund__File');
|
|
122
122
|
}
|
|
123
|
-
return this.
|
|
123
|
+
return this._paymentmethodrefund__file;
|
|
124
124
|
}
|
|
125
|
-
get
|
|
126
|
-
if (!this.
|
|
127
|
-
this.
|
|
125
|
+
get serviceappointment__file() {
|
|
126
|
+
if (!this._serviceappointment__file) {
|
|
127
|
+
this._serviceappointment__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:ServiceAppointment', 'SchemaModule:File', 'ServiceAppointment__File');
|
|
128
128
|
}
|
|
129
|
-
return this.
|
|
129
|
+
return this._serviceappointment__file;
|
|
130
130
|
}
|
|
131
|
-
get
|
|
132
|
-
if (!this.
|
|
133
|
-
this.
|
|
131
|
+
get customerdevicerouter__file() {
|
|
132
|
+
if (!this._customerdevicerouter__file) {
|
|
133
|
+
this._customerdevicerouter__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ServiceModule:CustomerDeviceRouter', 'SchemaModule:File', 'CustomerDeviceRouter__File');
|
|
134
134
|
}
|
|
135
|
-
return this.
|
|
135
|
+
return this._customerdevicerouter__file;
|
|
136
136
|
}
|
|
137
|
-
get
|
|
138
|
-
if (!this.
|
|
139
|
-
this.
|
|
137
|
+
get visit__file() {
|
|
138
|
+
if (!this._visit__file) {
|
|
139
|
+
this._visit__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Visit', 'SchemaModule:File', 'Visit__File');
|
|
140
140
|
}
|
|
141
|
-
return this.
|
|
141
|
+
return this._visit__file;
|
|
142
142
|
}
|
|
143
|
-
get
|
|
144
|
-
if (!this.
|
|
145
|
-
this.
|
|
143
|
+
get fingerprint__file() {
|
|
144
|
+
if (!this._fingerprint__file) {
|
|
145
|
+
this._fingerprint__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Fingerprint', 'SchemaModule:File', 'Fingerprint__File');
|
|
146
146
|
}
|
|
147
|
-
return this.
|
|
147
|
+
return this._fingerprint__file;
|
|
148
148
|
}
|
|
149
|
-
get
|
|
150
|
-
if (!this.
|
|
151
|
-
this.
|
|
149
|
+
get yftoolaudit_file() {
|
|
150
|
+
if (!this._yftoolaudit_file) {
|
|
151
|
+
this._yftoolaudit_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:YfToolAudit', 'SchemaModule:File', 'YfToolAudit_File');
|
|
152
152
|
}
|
|
153
|
-
return this.
|
|
153
|
+
return this._yftoolaudit_file;
|
|
154
154
|
}
|
|
155
|
-
get
|
|
156
|
-
if (!this.
|
|
157
|
-
this.
|
|
155
|
+
get wayleaveaudit_file() {
|
|
156
|
+
if (!this._wayleaveaudit_file) {
|
|
157
|
+
this._wayleaveaudit_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:WayleaveAudit', 'SchemaModule:File', 'WayleaveAudit_File');
|
|
158
158
|
}
|
|
159
|
-
return this.
|
|
159
|
+
return this._wayleaveaudit_file;
|
|
160
160
|
}
|
|
161
|
-
get
|
|
162
|
-
if (!this.
|
|
163
|
-
this.
|
|
161
|
+
get workorder__file() {
|
|
162
|
+
if (!this._workorder__file) {
|
|
163
|
+
this._workorder__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:WorkOrder', 'SchemaModule:File', 'WorkOrder__File');
|
|
164
164
|
}
|
|
165
|
-
return this.
|
|
165
|
+
return this._workorder__file;
|
|
166
166
|
}
|
|
167
|
-
get
|
|
168
|
-
if (!this.
|
|
169
|
-
this.
|
|
167
|
+
get orderitem__file() {
|
|
168
|
+
if (!this._orderitem__file) {
|
|
169
|
+
this._orderitem__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'SchemaModule:File', 'OrderItem__File');
|
|
170
170
|
}
|
|
171
|
-
return this.
|
|
171
|
+
return this._orderitem__file;
|
|
172
172
|
}
|
|
173
|
-
get
|
|
174
|
-
if (!this.
|
|
175
|
-
this.
|
|
173
|
+
get internalinstallaudit_file() {
|
|
174
|
+
if (!this._internalinstallaudit_file) {
|
|
175
|
+
this._internalinstallaudit_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:InternalInstallAudit', 'SchemaModule:File', 'InternalInstallAudit_File');
|
|
176
176
|
}
|
|
177
|
-
return this.
|
|
177
|
+
return this._internalinstallaudit_file;
|
|
178
178
|
}
|
|
179
|
-
get
|
|
180
|
-
if (!this.
|
|
181
|
-
this.
|
|
179
|
+
get knowledgearticle__file() {
|
|
180
|
+
if (!this._knowledgearticle__file) {
|
|
181
|
+
this._knowledgearticle__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:KnowledgeArticle', 'SchemaModule:File', 'KnowledgeArticle__File');
|
|
182
182
|
}
|
|
183
|
-
return this.
|
|
183
|
+
return this._knowledgearticle__file;
|
|
184
184
|
}
|
|
185
|
-
get
|
|
186
|
-
if (!this.
|
|
187
|
-
this.
|
|
185
|
+
get case__file() {
|
|
186
|
+
if (!this._case__file) {
|
|
187
|
+
this._case__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'SchemaModule:File', 'Case__File');
|
|
188
188
|
}
|
|
189
|
-
return this.
|
|
189
|
+
return this._case__file;
|
|
190
190
|
}
|
|
191
|
-
get
|
|
192
|
-
if (!this.
|
|
193
|
-
this.
|
|
191
|
+
get activity__file() {
|
|
192
|
+
if (!this._activity__file) {
|
|
193
|
+
this._activity__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SchemaModule:Activity', 'SchemaModule:File', 'Activity__File');
|
|
194
194
|
}
|
|
195
|
-
return this.
|
|
195
|
+
return this._activity__file;
|
|
196
196
|
}
|
|
197
|
-
get
|
|
198
|
-
if (!this.
|
|
199
|
-
this.
|
|
197
|
+
get netomniaftthservicevisitsheet__file() {
|
|
198
|
+
if (!this._netomniaftthservicevisitsheet__file) {
|
|
199
|
+
this._netomniaftthservicevisitsheet__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:NetomniaFtthServiceVisitSheet', 'SchemaModule:File', 'NetomniaFtthServiceVisitSheet__File');
|
|
200
200
|
}
|
|
201
|
-
return this.
|
|
201
|
+
return this._netomniaftthservicevisitsheet__file;
|
|
202
202
|
}
|
|
203
|
-
get
|
|
204
|
-
if (!this.
|
|
205
|
-
this.
|
|
203
|
+
get yfstockcount__file() {
|
|
204
|
+
if (!this._yfstockcount__file) {
|
|
205
|
+
this._yfstockcount__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:YfStockCount', 'SchemaModule:File', 'YfStockCount__File');
|
|
206
206
|
}
|
|
207
|
-
return this.
|
|
207
|
+
return this._yfstockcount__file;
|
|
208
208
|
}
|
|
209
|
-
get
|
|
210
|
-
if (!this.
|
|
211
|
-
this.
|
|
209
|
+
get onetouchswitch_file() {
|
|
210
|
+
if (!this._onetouchswitch_file) {
|
|
211
|
+
this._onetouchswitch_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OneTouchSwitch', 'SchemaModule:File', 'OneTouchSwitch_File');
|
|
212
212
|
}
|
|
213
|
-
return this.
|
|
213
|
+
return this._onetouchswitch_file;
|
|
214
214
|
}
|
|
215
|
-
get
|
|
216
|
-
if (!this.
|
|
217
|
-
this.
|
|
215
|
+
get remediationrequiredreason__file() {
|
|
216
|
+
if (!this._remediationrequiredreason__file) {
|
|
217
|
+
this._remediationrequiredreason__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:RemediationRequiredReason', 'SchemaModule:File', 'RemediationRequiredReason__File');
|
|
218
218
|
}
|
|
219
|
-
return this.
|
|
219
|
+
return this._remediationrequiredreason__file;
|
|
220
220
|
}
|
|
221
|
-
get
|
|
222
|
-
if (!this.
|
|
223
|
-
this.
|
|
221
|
+
get invoice__file() {
|
|
222
|
+
if (!this._invoice__file) {
|
|
223
|
+
this._invoice__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:Invoice', 'SchemaModule:File', 'Invoice__File');
|
|
224
224
|
}
|
|
225
|
-
return this.
|
|
225
|
+
return this._invoice__file;
|
|
226
226
|
}
|
|
227
|
-
get
|
|
228
|
-
if (!this.
|
|
229
|
-
this.
|
|
227
|
+
get yfvanaudit_file() {
|
|
228
|
+
if (!this._yfvanaudit_file) {
|
|
229
|
+
this._yfvanaudit_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:YfVanAudit', 'SchemaModule:File', 'YfVanAudit_File');
|
|
230
230
|
}
|
|
231
|
-
return this.
|
|
231
|
+
return this._yfvanaudit_file;
|
|
232
232
|
}
|
|
233
|
-
get
|
|
234
|
-
if (!this.
|
|
235
|
-
this.
|
|
233
|
+
get uginstallationaudit__file() {
|
|
234
|
+
if (!this._uginstallationaudit__file) {
|
|
235
|
+
this._uginstallationaudit__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:UgInstallationAudit', 'SchemaModule:File', 'UgInstallationAudit__File');
|
|
236
236
|
}
|
|
237
|
-
return this.
|
|
237
|
+
return this._uginstallationaudit__file;
|
|
238
238
|
}
|
|
239
|
-
get
|
|
240
|
-
if (!this.
|
|
241
|
-
this.
|
|
239
|
+
get ohinstallationaudit__file() {
|
|
240
|
+
if (!this._ohinstallationaudit__file) {
|
|
241
|
+
this._ohinstallationaudit__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:OhInstallationAudit', 'SchemaModule:File', 'OhInstallationAudit__File');
|
|
242
242
|
}
|
|
243
|
-
return this.
|
|
243
|
+
return this._ohinstallationaudit__file;
|
|
244
244
|
}
|
|
245
|
-
get
|
|
246
|
-
if (!this.
|
|
247
|
-
this.
|
|
245
|
+
get ugauditofinstallation__file() {
|
|
246
|
+
if (!this._ugauditofinstallation__file) {
|
|
247
|
+
this._ugauditofinstallation__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:UgAuditOfInstallation', 'SchemaModule:File', 'UgAuditOfInstallation__File');
|
|
248
248
|
}
|
|
249
|
-
return this.
|
|
249
|
+
return this._ugauditofinstallation__file;
|
|
250
250
|
}
|
|
251
|
-
get
|
|
252
|
-
if (!this.
|
|
253
|
-
this.
|
|
251
|
+
get yfequipmentcollection__file() {
|
|
252
|
+
if (!this._yfequipmentcollection__file) {
|
|
253
|
+
this._yfequipmentcollection__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:YfEquipmentCollection', 'SchemaModule:File', 'YfEquipmentCollection__File');
|
|
254
254
|
}
|
|
255
|
-
return this.
|
|
255
|
+
return this._yfequipmentcollection__file;
|
|
256
256
|
}
|
|
257
|
-
get
|
|
258
|
-
if (!this.
|
|
259
|
-
this.
|
|
257
|
+
get lead__file() {
|
|
258
|
+
if (!this._lead__file) {
|
|
259
|
+
this._lead__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'SchemaModule:File', 'Lead__File');
|
|
260
260
|
}
|
|
261
|
-
return this.
|
|
261
|
+
return this._lead__file;
|
|
262
262
|
}
|
|
263
|
-
get
|
|
264
|
-
if (!this.
|
|
265
|
-
this.
|
|
263
|
+
get account__file() {
|
|
264
|
+
if (!this._account__file) {
|
|
265
|
+
this._account__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Account', 'SchemaModule:File', 'Account__File');
|
|
266
266
|
}
|
|
267
|
-
return this.
|
|
267
|
+
return this._account__file;
|
|
268
268
|
}
|
|
269
|
-
get
|
|
270
|
-
if (!this.
|
|
271
|
-
this.
|
|
269
|
+
get paymentmethod__file() {
|
|
270
|
+
if (!this._paymentmethod__file) {
|
|
271
|
+
this._paymentmethod__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:PaymentMethod', 'SchemaModule:File', 'PaymentMethod__File');
|
|
272
272
|
}
|
|
273
|
-
return this.
|
|
273
|
+
return this._paymentmethod__file;
|
|
274
274
|
}
|
|
275
|
-
get
|
|
276
|
-
if (!this.
|
|
277
|
-
this.
|
|
275
|
+
get sweepermaintenanceaudit__file() {
|
|
276
|
+
if (!this._sweepermaintenanceaudit__file) {
|
|
277
|
+
this._sweepermaintenanceaudit__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:SweeperMaintenanceAudit', 'SchemaModule:File', 'SweeperMaintenanceAudit__File');
|
|
278
278
|
}
|
|
279
|
-
return this.
|
|
279
|
+
return this._sweepermaintenanceaudit__file;
|
|
280
280
|
}
|
|
281
|
-
get
|
|
282
|
-
if (!this.
|
|
283
|
-
this.
|
|
281
|
+
get blockagereporta55__file() {
|
|
282
|
+
if (!this._blockagereporta55__file) {
|
|
283
|
+
this._blockagereporta55__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:BlockageReportA55', 'SchemaModule:File', 'BlockageReportA55__File');
|
|
284
284
|
}
|
|
285
|
-
return this.
|
|
285
|
+
return this._blockagereporta55__file;
|
|
286
286
|
}
|
|
287
|
-
get
|
|
288
|
-
if (!this.
|
|
289
|
-
this.
|
|
287
|
+
get ohauditofinstallation__file() {
|
|
288
|
+
if (!this._ohauditofinstallation__file) {
|
|
289
|
+
this._ohauditofinstallation__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:OhAuditOfInstallation', 'SchemaModule:File', 'OhAuditOfInstallation__File');
|
|
290
290
|
}
|
|
291
|
-
return this.
|
|
291
|
+
return this._ohauditofinstallation__file;
|
|
292
292
|
}
|
|
293
|
-
get
|
|
294
|
-
if (!this.
|
|
295
|
-
this.
|
|
293
|
+
get ohinprogressaudit_file() {
|
|
294
|
+
if (!this._ohinprogressaudit_file) {
|
|
295
|
+
this._ohinprogressaudit_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:OhInProgressAudit', 'SchemaModule:File', 'OhInProgressAudit_File');
|
|
296
296
|
}
|
|
297
|
-
return this.
|
|
297
|
+
return this._ohinprogressaudit_file;
|
|
298
298
|
}
|
|
299
|
-
get
|
|
300
|
-
if (!this.
|
|
301
|
-
this.
|
|
299
|
+
get contractbuyout__file() {
|
|
300
|
+
if (!this._contractbuyout__file) {
|
|
301
|
+
this._contractbuyout__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:ContractBuyOut', 'SchemaModule:File', 'ContractBuyOut__File');
|
|
302
302
|
}
|
|
303
|
-
return this.
|
|
303
|
+
return this._contractbuyout__file;
|
|
304
304
|
}
|
|
305
|
-
get
|
|
306
|
-
if (!this.
|
|
307
|
-
this.
|
|
305
|
+
get sitespecificriskassessmentoutcomeform__file() {
|
|
306
|
+
if (!this._sitespecificriskassessmentoutcomeform__file) {
|
|
307
|
+
this._sitespecificriskassessmentoutcomeform__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm', 'SchemaModule:File', 'SiteSpecificRiskAssessmentOutcomeForm__File');
|
|
308
308
|
}
|
|
309
|
-
return this.
|
|
309
|
+
return this._sitespecificriskassessmentoutcomeform__file;
|
|
310
310
|
}
|
|
311
|
-
get
|
|
312
|
-
if (!this.
|
|
313
|
-
this.
|
|
311
|
+
get remediationoutcomeform_file() {
|
|
312
|
+
if (!this._remediationoutcomeform_file) {
|
|
313
|
+
this._remediationoutcomeform_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:RemediationOutcomeForm', 'SchemaModule:File', 'RemediationOutcomeForm_File');
|
|
314
314
|
}
|
|
315
|
-
return this.
|
|
315
|
+
return this._remediationoutcomeform_file;
|
|
316
316
|
}
|
|
317
|
-
get
|
|
318
|
-
if (!this.
|
|
319
|
-
this.
|
|
317
|
+
get order__file() {
|
|
318
|
+
if (!this._order__file) {
|
|
319
|
+
this._order__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'SchemaModule:File', 'Order__File');
|
|
320
320
|
}
|
|
321
|
-
return this.
|
|
321
|
+
return this._order__file;
|
|
322
322
|
}
|
|
323
|
-
get
|
|
324
|
-
if (!this.
|
|
325
|
-
this.
|
|
323
|
+
get call__file() {
|
|
324
|
+
if (!this._call__file) {
|
|
325
|
+
this._call__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'NotificationModule:Call', 'SchemaModule:File', 'Call__File');
|
|
326
326
|
}
|
|
327
|
-
return this.
|
|
327
|
+
return this._call__file;
|
|
328
328
|
}
|
|
329
|
-
get
|
|
330
|
-
if (!this.
|
|
331
|
-
this.
|
|
329
|
+
get ohexternalaudit_file() {
|
|
330
|
+
if (!this._ohexternalaudit_file) {
|
|
331
|
+
this._ohexternalaudit_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:OhExternalAudit', 'SchemaModule:File', 'OhExternalAudit_File');
|
|
332
332
|
}
|
|
333
|
-
return this.
|
|
333
|
+
return this._ohexternalaudit_file;
|
|
334
334
|
}
|
|
335
|
-
get
|
|
336
|
-
if (!this.
|
|
337
|
-
this.
|
|
335
|
+
get customerdeviceont__file() {
|
|
336
|
+
if (!this._customerdeviceont__file) {
|
|
337
|
+
this._customerdeviceont__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ServiceModule:CustomerDeviceOnt', 'SchemaModule:File', 'CustomerDeviceOnt__File');
|
|
338
338
|
}
|
|
339
|
-
return this.
|
|
339
|
+
return this._customerdeviceont__file;
|
|
340
340
|
}
|
|
341
|
-
get
|
|
342
|
-
if (!this.
|
|
343
|
-
this.
|
|
341
|
+
get yffieldservicevisit__file() {
|
|
342
|
+
if (!this._yffieldservicevisit__file) {
|
|
343
|
+
this._yffieldservicevisit__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:YfFieldServiceVisit', 'SchemaModule:File', 'YfFieldServiceVisit__File');
|
|
344
344
|
}
|
|
345
|
-
return this.
|
|
345
|
+
return this._yffieldservicevisit__file;
|
|
346
346
|
}
|
|
347
|
-
get
|
|
348
|
-
if (!this.
|
|
349
|
-
this.
|
|
347
|
+
get billingadjustment__file() {
|
|
348
|
+
if (!this._billingadjustment__file) {
|
|
349
|
+
this._billingadjustment__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:BillingAdjustment', 'SchemaModule:File', 'BillingAdjustment__File');
|
|
350
350
|
}
|
|
351
|
-
return this.
|
|
351
|
+
return this._billingadjustment__file;
|
|
352
352
|
}
|
|
353
|
-
get
|
|
354
|
-
if (!this.
|
|
355
|
-
this.
|
|
353
|
+
get contact__file() {
|
|
354
|
+
if (!this._contact__file) {
|
|
355
|
+
this._contact__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'SchemaModule:File', 'Contact__File');
|
|
356
356
|
}
|
|
357
|
-
return this.
|
|
357
|
+
return this._contact__file;
|
|
358
358
|
}
|
|
359
|
-
get
|
|
360
|
-
if (!this.
|
|
361
|
-
this.
|
|
359
|
+
get message_file() {
|
|
360
|
+
if (!this._message_file) {
|
|
361
|
+
this._message_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'NotificationModule:Message', 'SchemaModule:File', 'Message_File');
|
|
362
362
|
}
|
|
363
|
-
return this.
|
|
363
|
+
return this._message_file;
|
|
364
364
|
}
|
|
365
|
-
get
|
|
366
|
-
if (!this.
|
|
367
|
-
this.
|
|
365
|
+
get netomniainstallverification__file() {
|
|
366
|
+
if (!this._netomniainstallverification__file) {
|
|
367
|
+
this._netomniainstallverification__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:NetomniaInstallVerification', 'SchemaModule:File', 'NetomniaInstallVerification__File');
|
|
368
368
|
}
|
|
369
|
-
return this.
|
|
369
|
+
return this._netomniainstallverification__file;
|
|
370
370
|
}
|
|
371
|
-
get
|
|
372
|
-
if (!this.
|
|
373
|
-
this.
|
|
371
|
+
get attachments() {
|
|
372
|
+
if (!this._attachments) {
|
|
373
|
+
this._attachments = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'NotificationModule:Email', 'SchemaModule:File', 'Attachments');
|
|
374
374
|
}
|
|
375
|
-
return this.
|
|
375
|
+
return this._attachments;
|
|
376
376
|
}
|
|
377
|
-
get
|
|
378
|
-
if (!this.
|
|
379
|
-
this.
|
|
377
|
+
get ugretroaudit__file() {
|
|
378
|
+
if (!this._ugretroaudit__file) {
|
|
379
|
+
this._ugretroaudit__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:UgRetroAudit', 'SchemaModule:File', 'UgRetroAudit__File');
|
|
380
380
|
}
|
|
381
|
-
return this.
|
|
381
|
+
return this._ugretroaudit__file;
|
|
382
382
|
}
|
|
383
|
-
get
|
|
384
|
-
if (!this.
|
|
385
|
-
this.
|
|
383
|
+
get ohretroaudit__file() {
|
|
384
|
+
if (!this._ohretroaudit__file) {
|
|
385
|
+
this._ohretroaudit__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:OhRetroAudit', 'SchemaModule:File', 'OhRetroAudit__File');
|
|
386
386
|
}
|
|
387
|
-
return this.
|
|
387
|
+
return this._ohretroaudit__file;
|
|
388
388
|
}
|
|
389
|
-
get
|
|
390
|
-
if (!this.
|
|
391
|
-
this.
|
|
389
|
+
get uginprogressaudit_file() {
|
|
390
|
+
if (!this._uginprogressaudit_file) {
|
|
391
|
+
this._uginprogressaudit_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:UgInProgressAudit', 'SchemaModule:File', 'UgInProgressAudit_File');
|
|
392
392
|
}
|
|
393
|
-
return this.
|
|
393
|
+
return this._uginprogressaudit_file;
|
|
394
394
|
}
|
|
395
|
-
get
|
|
396
|
-
if (!this.
|
|
397
|
-
this.
|
|
395
|
+
get pgdirectdebitfile__file() {
|
|
396
|
+
if (!this._pgdirectdebitfile__file) {
|
|
397
|
+
this._pgdirectdebitfile__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:PgDirectDebitFile', 'SchemaModule:File', 'PgDirectDebitFile__File');
|
|
398
398
|
}
|
|
399
|
-
return this.
|
|
399
|
+
return this._pgdirectdebitfile__file;
|
|
400
400
|
}
|
|
401
|
-
get
|
|
402
|
-
if (!this.
|
|
403
|
-
this.
|
|
401
|
+
get yfwifisurvey__file() {
|
|
402
|
+
if (!this._yfwifisurvey__file) {
|
|
403
|
+
this._yfwifisurvey__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:YfWifiSurvey', 'SchemaModule:File', 'YfWifiSurvey__File');
|
|
404
404
|
}
|
|
405
|
-
return this.
|
|
405
|
+
return this._yfwifisurvey__file;
|
|
406
406
|
}
|
|
407
|
-
get
|
|
408
|
-
if (!this.
|
|
409
|
-
this.
|
|
407
|
+
get yffieldvisitoutcomeform__file() {
|
|
408
|
+
if (!this._yffieldvisitoutcomeform__file) {
|
|
409
|
+
this._yffieldvisitoutcomeform__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'FieldServiceModule:YfFieldVisitOutcomeForm', 'SchemaModule:File', 'YfFieldVisitOutcomeForm__File');
|
|
410
410
|
}
|
|
411
|
-
return this.
|
|
411
|
+
return this._yffieldvisitoutcomeform__file;
|
|
412
412
|
}
|
|
413
|
-
get
|
|
414
|
-
if (!this.
|
|
415
|
-
this.
|
|
413
|
+
get note__file() {
|
|
414
|
+
if (!this._note__file) {
|
|
415
|
+
this._note__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Note', 'SchemaModule:File', 'Note__File');
|
|
416
416
|
}
|
|
417
|
-
return this.
|
|
417
|
+
return this._note__file;
|
|
418
418
|
}
|
|
419
|
-
get
|
|
420
|
-
if (!this.
|
|
421
|
-
this.
|
|
419
|
+
get document__file() {
|
|
420
|
+
if (!this._document__file) {
|
|
421
|
+
this._document__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'AiModule:Document', 'SchemaModule:File', 'Document__File');
|
|
422
422
|
}
|
|
423
|
-
return this.
|
|
423
|
+
return this._document__file;
|
|
424
424
|
}
|
|
425
|
-
get
|
|
426
|
-
if (!this.
|
|
427
|
-
this.
|
|
425
|
+
get documentprocessing__file() {
|
|
426
|
+
if (!this._documentprocessing__file) {
|
|
427
|
+
this._documentprocessing__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'AiModule:DocumentProcessing', 'SchemaModule:File', 'DocumentProcessing__File');
|
|
428
428
|
}
|
|
429
|
-
return this.
|
|
429
|
+
return this._documentprocessing__file;
|
|
430
430
|
}
|
|
431
|
-
get
|
|
432
|
-
if (!this.
|
|
433
|
-
this.
|
|
431
|
+
get homemove__file() {
|
|
432
|
+
if (!this._homemove__file) {
|
|
433
|
+
this._homemove__file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:HomeMove', 'SchemaModule:File', 'HomeMove__File');
|
|
434
434
|
}
|
|
435
|
-
return this.
|
|
435
|
+
return this._homemove__file;
|
|
436
436
|
}
|
|
437
|
-
get
|
|
438
|
-
if (!this.
|
|
439
|
-
this.
|
|
437
|
+
get note() {
|
|
438
|
+
if (!this._note) {
|
|
439
|
+
this._note = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SchemaModule:File', 'SupportModule:Note', 'File__Note');
|
|
440
440
|
}
|
|
441
|
-
return this.
|
|
441
|
+
return this._note;
|
|
442
442
|
}
|
|
443
443
|
// ============================================
|
|
444
444
|
// STANDARD METHODS
|
|
@@ -96,6 +96,7 @@ import { UpdateOverrideDispatchAmcoOrderProperties } from '../actions-v2/UpdateO
|
|
|
96
96
|
import { UpdateRemediationWorkOrderProperties } from '../actions-v2/UpdateRemediationWorkOrderDto';
|
|
97
97
|
import { UpdateSetReturnedLegacyProperties } from '../actions-v2/UpdateSetReturnedLegacyDto';
|
|
98
98
|
import { UpdateWayleaveWorkOrderProperties } from '../actions-v2/UpdateWayleaveWorkOrderDto';
|
|
99
|
+
import { UpdateWorkOrderWithdrawEquipmentChargeProperties } from '../actions-v2/UpdateWorkOrderWithdrawEquipmentChargeDto';
|
|
99
100
|
import { OverlayRealA55Record } from './OverlayRealA55Record';
|
|
100
101
|
import { OntReplacementApprovalRecord } from './OntReplacementApprovalRecord';
|
|
101
102
|
import { ActivityLogRecord } from './ActivityLogRecord';
|
|
@@ -8974,6 +8975,32 @@ export declare class WorkOrderRecord<TProps = WorkOrderProperties> {
|
|
|
8974
8975
|
journeyId?: string;
|
|
8975
8976
|
stageKey?: string;
|
|
8976
8977
|
}): ActionBuilder;
|
|
8978
|
+
/**
|
|
8979
|
+
* UpdateWorkOrderWithdrawEquipmentCharge
|
|
8980
|
+
*
|
|
8981
|
+
* Updates this WorkOrder record with the specified properties.
|
|
8982
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
8983
|
+
*
|
|
8984
|
+
* @param properties - Required properties for this action
|
|
8985
|
+
* @param options - Optional settings
|
|
8986
|
+
* @param options.journeyId - Associate with a journey
|
|
8987
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
8988
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
8989
|
+
* @throws Error if called on a new (unsaved) record
|
|
8990
|
+
*
|
|
8991
|
+
* @example
|
|
8992
|
+
* ```typescript
|
|
8993
|
+
* const record = await odinClient.workOrders.get(id);
|
|
8994
|
+
* await record.updateWorkOrderWithdrawEquipmentCharge({ ... }).execute();
|
|
8995
|
+
*
|
|
8996
|
+
* // Dry run (for debugging)
|
|
8997
|
+
* const payload = record.updateWorkOrderWithdrawEquipmentCharge({ ... }).dryRun();
|
|
8998
|
+
* ```
|
|
8999
|
+
*/
|
|
9000
|
+
updateWorkOrderWithdrawEquipmentCharge(properties: UpdateWorkOrderWithdrawEquipmentChargeProperties, options?: {
|
|
9001
|
+
journeyId?: string;
|
|
9002
|
+
stageKey?: string;
|
|
9003
|
+
}): ActionBuilder;
|
|
8977
9004
|
}
|
|
8978
9005
|
/** Type guard to check if an object is a WorkOrderRecord */
|
|
8979
9006
|
export declare function isWorkOrderRecord(obj: any): obj is WorkOrderRecord;
|
|
@@ -12351,6 +12351,35 @@ class WorkOrderRecord {
|
|
|
12351
12351
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateWayleaveWorkOrder', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, opts);
|
|
12352
12352
|
return new ActionBuilder(this._provider, 'FieldServiceModule', 'WorkOrder', payload, () => { this._pendingLinks = []; });
|
|
12353
12353
|
}
|
|
12354
|
+
/**
|
|
12355
|
+
* UpdateWorkOrderWithdrawEquipmentCharge
|
|
12356
|
+
*
|
|
12357
|
+
* Updates this WorkOrder record with the specified properties.
|
|
12358
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
12359
|
+
*
|
|
12360
|
+
* @param properties - Required properties for this action
|
|
12361
|
+
* @param options - Optional settings
|
|
12362
|
+
* @param options.journeyId - Associate with a journey
|
|
12363
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
12364
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
12365
|
+
* @throws Error if called on a new (unsaved) record
|
|
12366
|
+
*
|
|
12367
|
+
* @example
|
|
12368
|
+
* ```typescript
|
|
12369
|
+
* const record = await odinClient.workOrders.get(id);
|
|
12370
|
+
* await record.updateWorkOrderWithdrawEquipmentCharge({ ... }).execute();
|
|
12371
|
+
*
|
|
12372
|
+
* // Dry run (for debugging)
|
|
12373
|
+
* const payload = record.updateWorkOrderWithdrawEquipmentCharge({ ... }).dryRun();
|
|
12374
|
+
* ```
|
|
12375
|
+
*/
|
|
12376
|
+
updateWorkOrderWithdrawEquipmentCharge(properties, options) {
|
|
12377
|
+
var _a;
|
|
12378
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
12379
|
+
throw new Error('updateWorkOrderWithdrawEquipmentCharge requires an existing record. Use accessor.get() first.');
|
|
12380
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateWorkOrderWithdrawEquipmentCharge', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
12381
|
+
return new ActionBuilder(this._provider, 'FieldServiceModule', 'WorkOrder', payload, () => { this._pendingLinks = []; });
|
|
12382
|
+
}
|
|
12354
12383
|
}
|
|
12355
12384
|
exports.WorkOrderRecord = WorkOrderRecord;
|
|
12356
12385
|
// ============================================
|