@d19n/youfibre-odin-sdk 2.0.270 → 2.0.272
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 +8 -1
- package/dist/EntityRegistry.d.ts +2 -0
- package/dist/EntityRegistry.js +2 -0
- package/dist/OdinApiClient.d.ts +4 -0
- package/dist/OdinApiClient.js +8 -0
- package/dist/OdinDbClient.d.ts +4 -0
- package/dist/OdinDbClient.js +8 -0
- package/dist/accessors-v2/YfWifiSurveyAccessor.d.ts +111 -0
- package/dist/accessors-v2/YfWifiSurveyAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +1 -0
- package/dist/accessors-v2/index.js +3 -1
- package/dist/actions-v2/CreateAppointmentDto.d.ts +8 -1
- package/dist/actions-v2/CreateConversationDto.d.ts +23 -1
- package/dist/actions-v2/CreateCustomerDeviceBatteryDto.d.ts +103 -1
- package/dist/actions-v2/CreateCustomerDeviceBatteryDto.js +120 -1
- package/dist/actions-v2/CreateMessageDto.d.ts +17 -11
- package/dist/actions-v2/CreateYfWifiSurveyDto.d.ts +118 -0
- package/dist/actions-v2/CreateYfWifiSurveyDto.js +54 -0
- package/dist/actions-v2/UpdateCustomerDeviceBatteryDto.d.ts +183 -0
- package/dist/actions-v2/UpdateCustomerDeviceBatteryDto.js +179 -0
- package/dist/db-accessors-v2/YfWifiSurveyDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/YfWifiSurveyDbAccessor.js +227 -0
- package/dist/db-accessors-v2/index.d.ts +1 -0
- package/dist/db-accessors-v2/index.js +3 -1
- package/dist/entities-v2/Order.d.ts +8 -0
- package/dist/entities-v2/Order.js +2 -0
- package/dist/records-v2/ConversationRecord.d.ts +1 -1
- package/dist/records-v2/CustomerDeviceRecord.d.ts +34 -68
- package/dist/records-v2/CustomerDeviceRecord.js +38 -17
- package/dist/records-v2/FileRecord.d.ts +20 -0
- package/dist/records-v2/FileRecord.js +33 -0
- package/dist/records-v2/WorkOrderRecord.d.ts +20 -0
- package/dist/records-v2/WorkOrderRecord.js +33 -0
- package/dist/records-v2/YfWifiSurveyRecord.d.ts +225 -0
- package/dist/records-v2/YfWifiSurveyRecord.js +313 -0
- package/dist/records-v2/index.d.ts +1 -0
- package/dist/records-v2/index.js +5 -2
- package/package.json +1 -1
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* YfWifiSurvey Record Wrapper
|
|
4
|
+
*
|
|
5
|
+
* Provides typed action methods and link management.
|
|
6
|
+
* Works with both ApiProvider and DbProvider.
|
|
7
|
+
*
|
|
8
|
+
* All action methods return an ActionBuilder or FlowBuilder.
|
|
9
|
+
* Call .execute() to run or .dryRun() to get the payload for debugging.
|
|
10
|
+
*
|
|
11
|
+
* Can be instantiated with null record for create operations:
|
|
12
|
+
* ```typescript
|
|
13
|
+
* const record = odinClient.yfWifiSurveys.new();
|
|
14
|
+
* await record.createYfWifiSurvey({ ... }).execute();
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* Entity Types: DEFAULT
|
|
18
|
+
*
|
|
19
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
20
|
+
*/
|
|
21
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
22
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
23
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
24
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
25
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
26
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
+
exports.isYfWifiSurveyRecord = exports.YfWifiSurveyRecord = void 0;
|
|
32
|
+
const uuid_1 = require("uuid");
|
|
33
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
34
|
+
const record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/record-link-manager");
|
|
35
|
+
const WorkOrderRecord_1 = require("./WorkOrderRecord");
|
|
36
|
+
const FileRecord_1 = require("./FileRecord");
|
|
37
|
+
/**
|
|
38
|
+
* Builder for action execution with dryRun support
|
|
39
|
+
*
|
|
40
|
+
* Provides a consistent API across all action types:
|
|
41
|
+
* - `.execute()` - Execute the action and return results
|
|
42
|
+
* - `.dryRun()` - Return the payload without executing (for debugging)
|
|
43
|
+
*/
|
|
44
|
+
class ActionBuilder {
|
|
45
|
+
constructor(provider, moduleName, entityName, payload, clearPendingLinks) {
|
|
46
|
+
this._provider = provider;
|
|
47
|
+
this._moduleName = moduleName;
|
|
48
|
+
this._entityName = entityName;
|
|
49
|
+
this._payload = payload;
|
|
50
|
+
this._clearPendingLinks = clearPendingLinks;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Set an external system identifier for this record.
|
|
54
|
+
* Links the record to a corresponding entry in an external application.
|
|
55
|
+
*
|
|
56
|
+
* @param externalId - The ID in the external system
|
|
57
|
+
* @param externalAppId - The external application identifier
|
|
58
|
+
* @returns this (for chaining)
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```typescript
|
|
62
|
+
* await record.createOrder({ ... }).withExternalId('SF-123', 'salesforce').execute();
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
withExternalId(externalId, externalAppId) {
|
|
66
|
+
this._payload.externalId = externalId;
|
|
67
|
+
this._payload.externalAppId = externalAppId;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Set security/access groups for this record.
|
|
72
|
+
* Controls which user groups can access the record.
|
|
73
|
+
*
|
|
74
|
+
* @param groups - Array of group names
|
|
75
|
+
* @returns this (for chaining)
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* ```typescript
|
|
79
|
+
* await record.createOrder({ ... }).withGroups(['TenantA', 'BillingTeam']).execute();
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
withGroups(groups) {
|
|
83
|
+
this._payload.groups = groups;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Execute the action
|
|
88
|
+
* @returns The result from the API
|
|
89
|
+
*/
|
|
90
|
+
execute() {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
const result = yield this._provider._applyAction(this._moduleName, this._entityName, this._payload);
|
|
93
|
+
this._clearPendingLinks();
|
|
94
|
+
return result;
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns the request payload without executing (for debugging)
|
|
99
|
+
* @returns The request payload that would be sent to the API
|
|
100
|
+
*/
|
|
101
|
+
dryRun() {
|
|
102
|
+
return this._payload;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Prevents accidental `await actionBuilder` without .execute()
|
|
106
|
+
* Forces developers to explicitly call .execute()
|
|
107
|
+
* @throws Error always - use .execute() or .dryRun() instead
|
|
108
|
+
*/
|
|
109
|
+
then() {
|
|
110
|
+
throw new Error('ActionBuilder cannot be awaited directly. Call .execute() to run the action or .dryRun() to get the payload.');
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
class YfWifiSurveyRecord {
|
|
114
|
+
/**
|
|
115
|
+
* Create a record wrapper.
|
|
116
|
+
* @param record - The underlying record, or null for create operations
|
|
117
|
+
* @param provider - The API or DB provider
|
|
118
|
+
* @param preGeneratedId - Optional pre-generated ID for new records (auto-generated if not provided)
|
|
119
|
+
*/
|
|
120
|
+
constructor(record, provider, preGeneratedId) {
|
|
121
|
+
this._pendingLinks = [];
|
|
122
|
+
this._record = record;
|
|
123
|
+
this._provider = provider;
|
|
124
|
+
this._preGeneratedId = preGeneratedId !== null && preGeneratedId !== void 0 ? preGeneratedId : (0, uuid_1.v4)();
|
|
125
|
+
}
|
|
126
|
+
// ============================================
|
|
127
|
+
// CORE PROPERTIES
|
|
128
|
+
// ============================================
|
|
129
|
+
/** Returns true if this is a new (unsaved) record */
|
|
130
|
+
get isNew() { var _a; return !((_a = this._record) === null || _a === void 0 ? void 0 : _a.id); }
|
|
131
|
+
/** Record ID - always available (pre-generated for new records) */
|
|
132
|
+
get id() { var _a, _b; return (_b = (_a = this._record) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : this._preGeneratedId; }
|
|
133
|
+
get entity() { var _a, _b; return (_b = (_a = this._record) === null || _a === void 0 ? void 0 : _a.entity) !== null && _b !== void 0 ? _b : 'FieldServiceModule:YfWifiSurvey'; }
|
|
134
|
+
get type() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.type; }
|
|
135
|
+
/** Record properties - empty object for new (unsaved) records */
|
|
136
|
+
get properties() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.properties) || {}; }
|
|
137
|
+
get title() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.title; }
|
|
138
|
+
get recordNumber() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.recordNumber; }
|
|
139
|
+
get stage() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.stage; }
|
|
140
|
+
get createdAt() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.createdAt; }
|
|
141
|
+
get updatedAt() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.updatedAt; }
|
|
142
|
+
get externalId() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.externalId; }
|
|
143
|
+
get externalAppId() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.externalAppId; }
|
|
144
|
+
get groups() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.groups) || []; }
|
|
145
|
+
/** Access the underlying OdinRecord (null for new records) */
|
|
146
|
+
get record() { return this._record; }
|
|
147
|
+
// ============================================
|
|
148
|
+
// TYPE GUARDS (with TypeScript type predicates)
|
|
149
|
+
// ============================================
|
|
150
|
+
/**
|
|
151
|
+
* Type guard: check if this record is of type DEFAULT
|
|
152
|
+
*
|
|
153
|
+
* When this returns true, TypeScript automatically narrows the type,
|
|
154
|
+
* giving you access to DEFAULT-specific properties.
|
|
155
|
+
*
|
|
156
|
+
* @example
|
|
157
|
+
* ```typescript
|
|
158
|
+
* if (record.isDefault()) {
|
|
159
|
+
* // TypeScript knows record.properties is YfWifiSurveyProperties
|
|
160
|
+
* console.log(record.properties.SomeTypeSpecificField);
|
|
161
|
+
* }
|
|
162
|
+
* ```
|
|
163
|
+
* @remarks This is the default record type
|
|
164
|
+
*/
|
|
165
|
+
isDefault() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.type) === 'DEFAULT'; }
|
|
166
|
+
/**
|
|
167
|
+
* Access linked WorkOrder records
|
|
168
|
+
* @remarks Available labels: WorkOrder__YfWifiSurvey
|
|
169
|
+
* @throws Error if called on a new (unsaved) record
|
|
170
|
+
*
|
|
171
|
+
* @example
|
|
172
|
+
* ```typescript
|
|
173
|
+
* // Get all linked WorkOrder records
|
|
174
|
+
* const items = await record.workOrders.list();
|
|
175
|
+
* const first = await record.workOrders.first();
|
|
176
|
+
*
|
|
177
|
+
* // Filter by label
|
|
178
|
+
* const specific = await record.workOrders.first({ label: 'WorkOrder__YfWifiSurvey' });
|
|
179
|
+
* ```
|
|
180
|
+
*/
|
|
181
|
+
get workOrders() {
|
|
182
|
+
var _a;
|
|
183
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
184
|
+
throw new Error('Cannot access links on a new (unsaved) record');
|
|
185
|
+
if (!this._workOrders) {
|
|
186
|
+
this._workOrders = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
187
|
+
sourceEntity: 'FieldServiceModule:YfWifiSurvey',
|
|
188
|
+
targetEntity: 'FieldServiceModule:WorkOrder',
|
|
189
|
+
targetModuleName: 'FieldServiceModule',
|
|
190
|
+
targetEntityName: 'WorkOrder',
|
|
191
|
+
labels: ['WorkOrder__YfWifiSurvey'],
|
|
192
|
+
}, WorkOrderRecord_1.WorkOrderRecord);
|
|
193
|
+
}
|
|
194
|
+
return this._workOrders;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Access linked File records
|
|
198
|
+
* @remarks Available labels: YfWifiSurvey__File
|
|
199
|
+
* @throws Error if called on a new (unsaved) record
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* ```typescript
|
|
203
|
+
* // Get all linked File records
|
|
204
|
+
* const items = await record.files.list();
|
|
205
|
+
* const first = await record.files.first();
|
|
206
|
+
*
|
|
207
|
+
* // Filter by label
|
|
208
|
+
* const specific = await record.files.first({ label: 'YfWifiSurvey__File' });
|
|
209
|
+
* ```
|
|
210
|
+
*/
|
|
211
|
+
get files() {
|
|
212
|
+
var _a;
|
|
213
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
214
|
+
throw new Error('Cannot access links on a new (unsaved) record');
|
|
215
|
+
if (!this._files) {
|
|
216
|
+
this._files = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
217
|
+
sourceEntity: 'FieldServiceModule:YfWifiSurvey',
|
|
218
|
+
targetEntity: 'SchemaModule:File',
|
|
219
|
+
targetModuleName: 'SchemaModule',
|
|
220
|
+
targetEntityName: 'File',
|
|
221
|
+
labels: ['YfWifiSurvey__File'],
|
|
222
|
+
}, FileRecord_1.FileRecord);
|
|
223
|
+
}
|
|
224
|
+
return this._files;
|
|
225
|
+
}
|
|
226
|
+
// ============================================
|
|
227
|
+
// LINK MANAGEMENT
|
|
228
|
+
// ============================================
|
|
229
|
+
/**
|
|
230
|
+
* Queue a link to be created with the next action.
|
|
231
|
+
* Works for both create and update actions.
|
|
232
|
+
* @returns this (for chaining)
|
|
233
|
+
*/
|
|
234
|
+
link(target) {
|
|
235
|
+
this._pendingLinks.push(new core_1.OdinRecordLinkDto({ id: target.id, entity: target.entity }));
|
|
236
|
+
return this;
|
|
237
|
+
}
|
|
238
|
+
/** Get the currently queued links */
|
|
239
|
+
get pendingLinks() {
|
|
240
|
+
return [...this._pendingLinks];
|
|
241
|
+
}
|
|
242
|
+
/** Clear pending links without executing an action */
|
|
243
|
+
clearPendingLinks() {
|
|
244
|
+
this._pendingLinks = [];
|
|
245
|
+
return this;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Immediately unlink a record (API call).
|
|
249
|
+
* Unlike link(), this executes immediately.
|
|
250
|
+
* @throws Error if called on a new (unsaved) record
|
|
251
|
+
*/
|
|
252
|
+
unlink(target) {
|
|
253
|
+
var _a;
|
|
254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
256
|
+
throw new Error('Cannot unlink from a new (unsaved) record');
|
|
257
|
+
const targetId = typeof target === 'string' ? target : target.id;
|
|
258
|
+
yield this._provider._deleteLinks('FieldServiceModule', 'YfWifiSurvey', this._record.id, targetId);
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
// ============================================
|
|
262
|
+
// CREATE ACTIONS (no existing record required)
|
|
263
|
+
// ============================================
|
|
264
|
+
/**
|
|
265
|
+
* CreateYfWifiSurvey
|
|
266
|
+
*
|
|
267
|
+
* Creates a new YfWifiSurvey record with the specified properties.
|
|
268
|
+
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
269
|
+
*
|
|
270
|
+
* @param properties - The properties for the new record
|
|
271
|
+
* @param options - Optional settings
|
|
272
|
+
* @param options.type - Override the record type
|
|
273
|
+
* @param options.journeyId - Associate with a journey
|
|
274
|
+
* @param options.stageKey - Set initial pipeline stage
|
|
275
|
+
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
276
|
+
*
|
|
277
|
+
* @example
|
|
278
|
+
* ```typescript
|
|
279
|
+
* // Create with properties
|
|
280
|
+
* const record = odinClient.yfWifiSurveys.new();
|
|
281
|
+
* await record.createYfWifiSurvey({ ... }).execute();
|
|
282
|
+
*
|
|
283
|
+
* // Dry run (for debugging)
|
|
284
|
+
* const payload = record.createYfWifiSurvey({ ... }).dryRun();
|
|
285
|
+
* ```
|
|
286
|
+
*/
|
|
287
|
+
createYfWifiSurvey(properties, options) {
|
|
288
|
+
var _a, _b;
|
|
289
|
+
const payload = {
|
|
290
|
+
entity: 'FieldServiceModule:YfWifiSurvey',
|
|
291
|
+
type: (_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : (_b = this._record) === null || _b === void 0 ? void 0 : _b.type,
|
|
292
|
+
actionName: 'CreateYfWifiSurvey',
|
|
293
|
+
properties: properties || {},
|
|
294
|
+
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
295
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
296
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
297
|
+
};
|
|
298
|
+
return new ActionBuilder(this._provider, 'FieldServiceModule', 'YfWifiSurvey', payload, () => { this._pendingLinks = []; });
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
exports.YfWifiSurveyRecord = YfWifiSurveyRecord;
|
|
302
|
+
// ============================================
|
|
303
|
+
// TYPED LINK ACCESSORS
|
|
304
|
+
// ============================================
|
|
305
|
+
/** Valid labels for WorkOrder associations */
|
|
306
|
+
YfWifiSurveyRecord.workOrdersLabels = ['WorkOrder__YfWifiSurvey'];
|
|
307
|
+
/** Valid labels for File associations */
|
|
308
|
+
YfWifiSurveyRecord.filesLabels = ['YfWifiSurvey__File'];
|
|
309
|
+
/** Type guard to check if an object is a YfWifiSurveyRecord */
|
|
310
|
+
function isYfWifiSurveyRecord(obj) {
|
|
311
|
+
return obj instanceof YfWifiSurveyRecord;
|
|
312
|
+
}
|
|
313
|
+
exports.isYfWifiSurveyRecord = isYfWifiSurveyRecord;
|
|
@@ -105,6 +105,7 @@ export { TwilioWorkerRecord, isTwilioWorkerRecord } from './TwilioWorkerRecord';
|
|
|
105
105
|
export { UserRecord, isUserRecord } from './UserRecord';
|
|
106
106
|
export { WayleaveAuditRecord, isWayleaveAuditRecord } from './WayleaveAuditRecord';
|
|
107
107
|
export { WorkOrderStatusUpdateRecord, isWorkOrderStatusUpdateRecord } from './WorkOrderStatusUpdateRecord';
|
|
108
|
+
export { YfWifiSurveyRecord, isYfWifiSurveyRecord } from './YfWifiSurveyRecord';
|
|
108
109
|
export { OutboundDialCampaignCaseRecord, isOutboundDialCampaignCaseRecord } from './OutboundDialCampaignCaseRecord';
|
|
109
110
|
export { CreditNoteRecord, isCreditNoteRecord } from './CreditNoteRecord';
|
|
110
111
|
export { CustomerDeviceAtaRecord, isCustomerDeviceAtaRecord } from './CustomerDeviceAtaRecord';
|
package/dist/records-v2/index.js
CHANGED
|
@@ -14,8 +14,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
14
14
|
exports.isRemediationOutcomeFormRecord = exports.RemediationOutcomeFormRecord = exports.isOhExternalAuditRecord = exports.OhExternalAuditRecord = exports.isUgExternalAuditRecord = exports.UgExternalAuditRecord = exports.isPaymentMethodRefundRecord = exports.PaymentMethodRefundRecord = 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.isCaseRecord = exports.CaseRecord = exports.isAddressInteractionRecord = exports.AddressInteractionRecord = exports.isAddressRecord = exports.AddressRecord = exports.isWorkOrderRecord = exports.WorkOrderRecord = exports.isOrderRecord = exports.OrderRecord = void 0;
|
|
15
15
|
exports.isExchangeRecord = exports.ExchangeRecord = exports.isEmailTemplateRecord = exports.EmailTemplateRecord = 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.isOrderKciRecord = exports.OrderKciRecord = exports.isEmailRecord = exports.EmailRecord = 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.isCallLegRecord = exports.CallLegRecord = exports.isAffiliateCodeRecord = exports.AffiliateCodeRecord = exports.isActivityLogRecord = exports.ActivityLogRecord = exports.isAccountCreditRecord = exports.AccountCreditRecord = exports.isYfFieldServiceVisitRecord = exports.YfFieldServiceVisitRecord = void 0;
|
|
16
16
|
exports.isPgReportEventRecord = exports.PgReportEventRecord = 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.isMessageRecord = exports.MessageRecord = 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 = void 0;
|
|
17
|
-
exports.
|
|
18
|
-
exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isServiceRecord = exports.ServiceRecord = 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 = void 0;
|
|
17
|
+
exports.isCustomerDeviceAtaRecord = exports.CustomerDeviceAtaRecord = exports.isCreditNoteRecord = exports.CreditNoteRecord = exports.isOutboundDialCampaignCaseRecord = exports.OutboundDialCampaignCaseRecord = exports.isYfWifiSurveyRecord = exports.YfWifiSurveyRecord = 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.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 = void 0;
|
|
18
|
+
exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isServiceRecord = exports.ServiceRecord = 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.isCustomerDeviceRouterRecord = exports.CustomerDeviceRouterRecord = void 0;
|
|
19
19
|
var OrderRecord_1 = require("./OrderRecord");
|
|
20
20
|
Object.defineProperty(exports, "OrderRecord", { enumerable: true, get: function () { return OrderRecord_1.OrderRecord; } });
|
|
21
21
|
Object.defineProperty(exports, "isOrderRecord", { enumerable: true, get: function () { return OrderRecord_1.isOrderRecord; } });
|
|
@@ -304,6 +304,9 @@ Object.defineProperty(exports, "isWayleaveAuditRecord", { enumerable: true, get:
|
|
|
304
304
|
var WorkOrderStatusUpdateRecord_1 = require("./WorkOrderStatusUpdateRecord");
|
|
305
305
|
Object.defineProperty(exports, "WorkOrderStatusUpdateRecord", { enumerable: true, get: function () { return WorkOrderStatusUpdateRecord_1.WorkOrderStatusUpdateRecord; } });
|
|
306
306
|
Object.defineProperty(exports, "isWorkOrderStatusUpdateRecord", { enumerable: true, get: function () { return WorkOrderStatusUpdateRecord_1.isWorkOrderStatusUpdateRecord; } });
|
|
307
|
+
var YfWifiSurveyRecord_1 = require("./YfWifiSurveyRecord");
|
|
308
|
+
Object.defineProperty(exports, "YfWifiSurveyRecord", { enumerable: true, get: function () { return YfWifiSurveyRecord_1.YfWifiSurveyRecord; } });
|
|
309
|
+
Object.defineProperty(exports, "isYfWifiSurveyRecord", { enumerable: true, get: function () { return YfWifiSurveyRecord_1.isYfWifiSurveyRecord; } });
|
|
307
310
|
var OutboundDialCampaignCaseRecord_1 = require("./OutboundDialCampaignCaseRecord");
|
|
308
311
|
Object.defineProperty(exports, "OutboundDialCampaignCaseRecord", { enumerable: true, get: function () { return OutboundDialCampaignCaseRecord_1.OutboundDialCampaignCaseRecord; } });
|
|
309
312
|
Object.defineProperty(exports, "isOutboundDialCampaignCaseRecord", { enumerable: true, get: function () { return OutboundDialCampaignCaseRecord_1.isOutboundDialCampaignCaseRecord; } });
|