@d19n/youfibre-odin-sdk 1.0.295 → 1.0.296-beta.1
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 +9 -8
- package/dist/actions-v2/CreateCustomerDeviceRouterFromDispatchDto.d.ts +74 -0
- package/dist/actions-v2/CreateCustomerDeviceRouterFromDispatchDto.js +47 -0
- package/dist/entities-v2/Case.d.ts +3 -1
- package/dist/entities-v2/Case.js +3 -1
- package/dist/entities-v2/OutageCase.d.ts +3 -1
- package/dist/entities-v2/OutageCase.js +3 -1
- package/dist/records-v2/CustomerDeviceRouterRecord.d.ts +31 -0
- package/dist/records-v2/CustomerDeviceRouterRecord.js +41 -0
- package/dist/records-v2/index.d.ts +1 -1
- package/dist/records-v2/index.js +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -444,7 +444,7 @@ This SDK includes **256** entities across **12** modules.
|
|
|
444
444
|
|
|
445
445
|
## Actions
|
|
446
446
|
|
|
447
|
-
This SDK includes **
|
|
447
|
+
This SDK includes **478** actions.
|
|
448
448
|
|
|
449
449
|
### Action Types
|
|
450
450
|
|
|
@@ -1173,6 +1173,14 @@ This SDK includes **477** actions.
|
|
|
1173
1173
|
| `CreateCustomerDeviceOnt` | CREATE | ServiceModule.CustomerDeviceOnt.Create.CreateCustomerDeviceOnt |
|
|
1174
1174
|
| `UpdateCustomerDeviceOnt` | UPDATE | ServiceModule.CustomerDeviceOnt.Update.UpdateCustomerDeviceONT |
|
|
1175
1175
|
|
|
1176
|
+
#### CustomerDeviceRouter
|
|
1177
|
+
|
|
1178
|
+
| Action | Type | Event |
|
|
1179
|
+
|--------|------|-------|
|
|
1180
|
+
| `CreateCustomerDeviceRouterFromDispatch` | CREATE | ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch |
|
|
1181
|
+
| `CustomerDeviceRouterCreate` | CREATE | ServiceModule.CustomerDeviceRouter.Create.CustomerDeviceRouterCreate |
|
|
1182
|
+
| `CustomerDeviceRouterUpdate` | UPDATE | ServiceModule.CustomerDeviceRouter.Update.CustomerDeviceRouterUpdate |
|
|
1183
|
+
|
|
1176
1184
|
#### EmailTemplate
|
|
1177
1185
|
|
|
1178
1186
|
| Action | Type | Event |
|
|
@@ -1528,13 +1536,6 @@ This SDK includes **477** actions.
|
|
|
1528
1536
|
|--------|------|-------|
|
|
1529
1537
|
| `CustomerDeviceAtaUpdate` | UPDATE | ServiceModule.CustomerDeviceAta.Update.CustomerDeviceAtaUpdate |
|
|
1530
1538
|
|
|
1531
|
-
#### CustomerDeviceRouter
|
|
1532
|
-
|
|
1533
|
-
| Action | Type | Event |
|
|
1534
|
-
|--------|------|-------|
|
|
1535
|
-
| `CustomerDeviceRouterCreate` | CREATE | ServiceModule.CustomerDeviceRouter.Create.CustomerDeviceRouterCreate |
|
|
1536
|
-
| `CustomerDeviceRouterUpdate` | UPDATE | ServiceModule.CustomerDeviceRouter.Update.CustomerDeviceRouterUpdate |
|
|
1537
|
-
|
|
1538
1539
|
#### Discount
|
|
1539
1540
|
|
|
1540
1541
|
| Action | Type | Event |
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateCustomerDeviceRouterFromDispatch Action DTO
|
|
3
|
+
*
|
|
4
|
+
* CreateCustomerDeviceRouterFromDispatch
|
|
5
|
+
*
|
|
6
|
+
* @module ServiceModule
|
|
7
|
+
* @entity CustomerDeviceRouter
|
|
8
|
+
* @actionKey CreateCustomerDeviceRouterFromDispatch
|
|
9
|
+
* @event CreateCustomerDeviceRouterFromDispatch
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for CreateCustomerDeviceRouterFromDispatch created events
|
|
16
|
+
*
|
|
17
|
+
* @event ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateCustomerDeviceRouterFromDispatchMessage extends OdinRecordCreatedEvent<CreateCustomerDeviceRouterFromDispatchDto, CreateCustomerDeviceRouterFromDispatchProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for CreateCustomerDeviceRouterFromDispatch action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 0
|
|
25
|
+
* @property Optional fields: 3
|
|
26
|
+
*/
|
|
27
|
+
export interface CreateCustomerDeviceRouterFromDispatchProperties {
|
|
28
|
+
/**
|
|
29
|
+
* SerialNumber
|
|
30
|
+
*
|
|
31
|
+
* serial number for the customer device, scanned during install (Network Operations - CustomerDeviceRouter)
|
|
32
|
+
* @type {TEXT}
|
|
33
|
+
*/
|
|
34
|
+
SerialNumber?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* MacAddress
|
|
37
|
+
*
|
|
38
|
+
* mac address (Network Operations - CustomerDeviceRouter)
|
|
39
|
+
* @type {TEXT}
|
|
40
|
+
*/
|
|
41
|
+
MacAddress?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Model
|
|
44
|
+
*
|
|
45
|
+
* model of the customer device (Network Operations - CustomerDeviceRouter)
|
|
46
|
+
* @type {ENUM}
|
|
47
|
+
*/
|
|
48
|
+
Model?: string | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* CreateCustomerDeviceRouterFromDispatch
|
|
52
|
+
*
|
|
53
|
+
* @actionType CREATE - Creates a new CustomerDeviceRouter record
|
|
54
|
+
* @module ServiceModule
|
|
55
|
+
* @entity CustomerDeviceRouter
|
|
56
|
+
* @event ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch
|
|
57
|
+
* @permission schema.action.createcustomerdevicerouterfromdispatch.trigger
|
|
58
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
59
|
+
*/
|
|
60
|
+
export declare class CreateCustomerDeviceRouterFromDispatchDto extends OdinRecordCreateDto<CreateCustomerDeviceRouterFromDispatchProperties> {
|
|
61
|
+
/** Used by SDK generators to identify action type */
|
|
62
|
+
static readonly ACTION_TYPE = "CREATE";
|
|
63
|
+
static readonly ACTION_KEY = "CreateCustomerDeviceRouterFromDispatch";
|
|
64
|
+
static readonly MODULE_NAME = "ServiceModule";
|
|
65
|
+
static readonly ENTITIES: string[];
|
|
66
|
+
static readonly EVENT_NAME = "ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch";
|
|
67
|
+
static readonly PERMISSION = "schema.action.createcustomerdevicerouterfromdispatch.trigger";
|
|
68
|
+
readonly actionName: string;
|
|
69
|
+
readonly schemaActionId: string;
|
|
70
|
+
readonly entity: string;
|
|
71
|
+
constructor(properties: CreateCustomerDeviceRouterFromDispatchProperties, options?: {
|
|
72
|
+
journeyId?: string;
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CreateCustomerDeviceRouterFromDispatch Action DTO
|
|
4
|
+
*
|
|
5
|
+
* CreateCustomerDeviceRouterFromDispatch
|
|
6
|
+
*
|
|
7
|
+
* @module ServiceModule
|
|
8
|
+
* @entity CustomerDeviceRouter
|
|
9
|
+
* @actionKey CreateCustomerDeviceRouterFromDispatch
|
|
10
|
+
* @event CreateCustomerDeviceRouterFromDispatch
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.CreateCustomerDeviceRouterFromDispatchDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* CreateCustomerDeviceRouterFromDispatch
|
|
19
|
+
*
|
|
20
|
+
* @actionType CREATE - Creates a new CustomerDeviceRouter record
|
|
21
|
+
* @module ServiceModule
|
|
22
|
+
* @entity CustomerDeviceRouter
|
|
23
|
+
* @event ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch
|
|
24
|
+
* @permission schema.action.createcustomerdevicerouterfromdispatch.trigger
|
|
25
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
26
|
+
*/
|
|
27
|
+
class CreateCustomerDeviceRouterFromDispatchDto extends core_1.OdinRecordCreateDto {
|
|
28
|
+
constructor(properties, options) {
|
|
29
|
+
super({
|
|
30
|
+
entity: 'ServiceModule:CustomerDeviceRouter',
|
|
31
|
+
type: undefined,
|
|
32
|
+
properties,
|
|
33
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
34
|
+
});
|
|
35
|
+
this.actionName = 'CreateCustomerDeviceRouterFromDispatch';
|
|
36
|
+
this.schemaActionId = '9b749620-f5d1-4148-897e-773c80d9bb10';
|
|
37
|
+
this.entity = 'ServiceModule:CustomerDeviceRouter';
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.CreateCustomerDeviceRouterFromDispatchDto = CreateCustomerDeviceRouterFromDispatchDto;
|
|
41
|
+
/** Used by SDK generators to identify action type */
|
|
42
|
+
CreateCustomerDeviceRouterFromDispatchDto.ACTION_TYPE = 'CREATE';
|
|
43
|
+
CreateCustomerDeviceRouterFromDispatchDto.ACTION_KEY = 'CreateCustomerDeviceRouterFromDispatch';
|
|
44
|
+
CreateCustomerDeviceRouterFromDispatchDto.MODULE_NAME = 'ServiceModule';
|
|
45
|
+
CreateCustomerDeviceRouterFromDispatchDto.ENTITIES = ['CustomerDeviceRouter'];
|
|
46
|
+
CreateCustomerDeviceRouterFromDispatchDto.EVENT_NAME = 'ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch';
|
|
47
|
+
CreateCustomerDeviceRouterFromDispatchDto.PERMISSION = 'schema.action.createcustomerdevicerouterfromdispatch.trigger';
|
|
@@ -122,6 +122,7 @@ export declare enum CaseSla {
|
|
|
122
122
|
*
|
|
123
123
|
* @remarks Available options:
|
|
124
124
|
* - `CALL` - Call
|
|
125
|
+
* - `CUSTOMER_APP` - Customer App
|
|
125
126
|
* - `CUSTOMER_PORTAL` - Customer Portal
|
|
126
127
|
* - `EMAIL` - Email
|
|
127
128
|
* - `FACEBOOK_MESSENGER` - Facebook Messenger
|
|
@@ -135,10 +136,11 @@ export declare enum CaseSla {
|
|
|
135
136
|
* - `TWITTER_MENTION` - Twitter Mention
|
|
136
137
|
* - `WEB_CHAT` - Web chat
|
|
137
138
|
* - `WEB_FORM_BUSINESS` - Web form - Business
|
|
138
|
-
* -
|
|
139
|
+
* - ... and 1 more
|
|
139
140
|
*/
|
|
140
141
|
export declare enum CaseChannel {
|
|
141
142
|
CALL = "CALL",
|
|
143
|
+
CUSTOMER_APP = "CUSTOMER_APP",
|
|
142
144
|
CUSTOMER_PORTAL = "CUSTOMER_PORTAL",
|
|
143
145
|
EMAIL = "EMAIL",
|
|
144
146
|
FACEBOOK_MESSENGER = "FACEBOOK_MESSENGER",
|
package/dist/entities-v2/Case.js
CHANGED
|
@@ -112,6 +112,7 @@ var CaseSla;
|
|
|
112
112
|
*
|
|
113
113
|
* @remarks Available options:
|
|
114
114
|
* - `CALL` - Call
|
|
115
|
+
* - `CUSTOMER_APP` - Customer App
|
|
115
116
|
* - `CUSTOMER_PORTAL` - Customer Portal
|
|
116
117
|
* - `EMAIL` - Email
|
|
117
118
|
* - `FACEBOOK_MESSENGER` - Facebook Messenger
|
|
@@ -125,11 +126,12 @@ var CaseSla;
|
|
|
125
126
|
* - `TWITTER_MENTION` - Twitter Mention
|
|
126
127
|
* - `WEB_CHAT` - Web chat
|
|
127
128
|
* - `WEB_FORM_BUSINESS` - Web form - Business
|
|
128
|
-
* -
|
|
129
|
+
* - ... and 1 more
|
|
129
130
|
*/
|
|
130
131
|
var CaseChannel;
|
|
131
132
|
(function (CaseChannel) {
|
|
132
133
|
CaseChannel["CALL"] = "CALL";
|
|
134
|
+
CaseChannel["CUSTOMER_APP"] = "CUSTOMER_APP";
|
|
133
135
|
CaseChannel["CUSTOMER_PORTAL"] = "CUSTOMER_PORTAL";
|
|
134
136
|
CaseChannel["EMAIL"] = "EMAIL";
|
|
135
137
|
CaseChannel["FACEBOOK_MESSENGER"] = "FACEBOOK_MESSENGER";
|
|
@@ -115,6 +115,7 @@ export declare enum OutageCaseSla {
|
|
|
115
115
|
*
|
|
116
116
|
* @remarks Available options:
|
|
117
117
|
* - `CALL` - Call
|
|
118
|
+
* - `CUSTOMER_APP` - Customer App
|
|
118
119
|
* - `CUSTOMER_PORTAL` - Customer Portal
|
|
119
120
|
* - `EMAIL` - Email
|
|
120
121
|
* - `FACEBOOK_MESSENGER` - Facebook Messenger
|
|
@@ -128,10 +129,11 @@ export declare enum OutageCaseSla {
|
|
|
128
129
|
* - `TWITTER_MENTION` - Twitter Mention
|
|
129
130
|
* - `WEB_CHAT` - Web chat
|
|
130
131
|
* - `WEB_FORM_BUSINESS` - Web form - Business
|
|
131
|
-
* -
|
|
132
|
+
* - ... and 1 more
|
|
132
133
|
*/
|
|
133
134
|
export declare enum OutageCaseChannel {
|
|
134
135
|
CALL = "CALL",
|
|
136
|
+
CUSTOMER_APP = "CUSTOMER_APP",
|
|
135
137
|
CUSTOMER_PORTAL = "CUSTOMER_PORTAL",
|
|
136
138
|
EMAIL = "EMAIL",
|
|
137
139
|
FACEBOOK_MESSENGER = "FACEBOOK_MESSENGER",
|
|
@@ -103,6 +103,7 @@ var OutageCaseSla;
|
|
|
103
103
|
*
|
|
104
104
|
* @remarks Available options:
|
|
105
105
|
* - `CALL` - Call
|
|
106
|
+
* - `CUSTOMER_APP` - Customer App
|
|
106
107
|
* - `CUSTOMER_PORTAL` - Customer Portal
|
|
107
108
|
* - `EMAIL` - Email
|
|
108
109
|
* - `FACEBOOK_MESSENGER` - Facebook Messenger
|
|
@@ -116,11 +117,12 @@ var OutageCaseSla;
|
|
|
116
117
|
* - `TWITTER_MENTION` - Twitter Mention
|
|
117
118
|
* - `WEB_CHAT` - Web chat
|
|
118
119
|
* - `WEB_FORM_BUSINESS` - Web form - Business
|
|
119
|
-
* -
|
|
120
|
+
* - ... and 1 more
|
|
120
121
|
*/
|
|
121
122
|
var OutageCaseChannel;
|
|
122
123
|
(function (OutageCaseChannel) {
|
|
123
124
|
OutageCaseChannel["CALL"] = "CALL";
|
|
125
|
+
OutageCaseChannel["CUSTOMER_APP"] = "CUSTOMER_APP";
|
|
124
126
|
OutageCaseChannel["CUSTOMER_PORTAL"] = "CUSTOMER_PORTAL";
|
|
125
127
|
OutageCaseChannel["EMAIL"] = "EMAIL";
|
|
126
128
|
OutageCaseChannel["FACEBOOK_MESSENGER"] = "FACEBOOK_MESSENGER";
|
|
@@ -18,6 +18,7 @@ import { IDbRecordCreateUpdateRes } from '@d19n/odin-types/dist/core/interfaces/
|
|
|
18
18
|
import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
19
19
|
import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
|
|
20
20
|
import { CustomerDeviceRouterProperties } from '../entities-v2/CustomerDeviceRouter';
|
|
21
|
+
import { CreateCustomerDeviceRouterFromDispatchProperties } from '../actions-v2/CreateCustomerDeviceRouterFromDispatchDto';
|
|
21
22
|
import { CustomerDeviceRouterCreateProperties } from '../actions-v2/CustomerDeviceRouterCreateDto';
|
|
22
23
|
import { CustomerDeviceRouterUpdateProperties } from '../actions-v2/CustomerDeviceRouterUpdateDto';
|
|
23
24
|
import { FieldServiceDispatchedProductRecord } from './FieldServiceDispatchedProductRecord';
|
|
@@ -188,6 +189,36 @@ export declare class CustomerDeviceRouterRecord<TProps = CustomerDeviceRouterPro
|
|
|
188
189
|
unlink(target: OdinRecord<any> | {
|
|
189
190
|
id: string;
|
|
190
191
|
} | string): Promise<void>;
|
|
192
|
+
/**
|
|
193
|
+
* CreateCustomerDeviceRouterFromDispatch
|
|
194
|
+
*
|
|
195
|
+
* Creates a new CustomerDeviceRouter record with the specified properties.
|
|
196
|
+
* Can be chained with .link() to create associations.
|
|
197
|
+
*
|
|
198
|
+
* @param properties - The properties for the new record
|
|
199
|
+
* @param options - Optional settings
|
|
200
|
+
* @param options.type - Override the record type
|
|
201
|
+
* @param options.journeyId - Associate with a journey
|
|
202
|
+
* @param options.stageKey - Set initial pipeline stage
|
|
203
|
+
* @returns The created record(s)
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* ```typescript
|
|
207
|
+
* // Create with properties
|
|
208
|
+
* const record = odinClient.customerDeviceRouters.new();
|
|
209
|
+
* await record.createCustomerDeviceRouterFromDispatch({ ... });
|
|
210
|
+
*
|
|
211
|
+
* // Create with link to parent
|
|
212
|
+
* await odinClient.customerDeviceRouters.new()
|
|
213
|
+
* .link({ id: parentId, entity: "Module:Entity" })
|
|
214
|
+
* .createCustomerDeviceRouterFromDispatch({ ... });
|
|
215
|
+
* ```
|
|
216
|
+
*/
|
|
217
|
+
createCustomerDeviceRouterFromDispatch(properties?: CreateCustomerDeviceRouterFromDispatchProperties, options?: {
|
|
218
|
+
type?: string;
|
|
219
|
+
journeyId?: string;
|
|
220
|
+
stageKey?: string;
|
|
221
|
+
}): Promise<IDbRecordCreateUpdateRes[]>;
|
|
191
222
|
/**
|
|
192
223
|
* CustomerDeviceRouterCreate
|
|
193
224
|
*
|
|
@@ -282,6 +282,47 @@ class CustomerDeviceRouterRecord {
|
|
|
282
282
|
// ============================================
|
|
283
283
|
// CREATE ACTIONS (no existing record required)
|
|
284
284
|
// ============================================
|
|
285
|
+
/**
|
|
286
|
+
* CreateCustomerDeviceRouterFromDispatch
|
|
287
|
+
*
|
|
288
|
+
* Creates a new CustomerDeviceRouter record with the specified properties.
|
|
289
|
+
* Can be chained with .link() to create associations.
|
|
290
|
+
*
|
|
291
|
+
* @param properties - The properties for the new record
|
|
292
|
+
* @param options - Optional settings
|
|
293
|
+
* @param options.type - Override the record type
|
|
294
|
+
* @param options.journeyId - Associate with a journey
|
|
295
|
+
* @param options.stageKey - Set initial pipeline stage
|
|
296
|
+
* @returns The created record(s)
|
|
297
|
+
*
|
|
298
|
+
* @example
|
|
299
|
+
* ```typescript
|
|
300
|
+
* // Create with properties
|
|
301
|
+
* const record = odinClient.customerDeviceRouters.new();
|
|
302
|
+
* await record.createCustomerDeviceRouterFromDispatch({ ... });
|
|
303
|
+
*
|
|
304
|
+
* // Create with link to parent
|
|
305
|
+
* await odinClient.customerDeviceRouters.new()
|
|
306
|
+
* .link({ id: parentId, entity: "Module:Entity" })
|
|
307
|
+
* .createCustomerDeviceRouterFromDispatch({ ... });
|
|
308
|
+
* ```
|
|
309
|
+
*/
|
|
310
|
+
createCustomerDeviceRouterFromDispatch(properties, options) {
|
|
311
|
+
var _a, _b;
|
|
312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
313
|
+
const result = yield this._provider._applyAction('ServiceModule', 'CustomerDeviceRouter', {
|
|
314
|
+
entity: 'ServiceModule:CustomerDeviceRouter',
|
|
315
|
+
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,
|
|
316
|
+
actionName: 'CreateCustomerDeviceRouterFromDispatch',
|
|
317
|
+
properties: properties || {},
|
|
318
|
+
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
319
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
320
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
321
|
+
});
|
|
322
|
+
this._pendingLinks = [];
|
|
323
|
+
return result;
|
|
324
|
+
});
|
|
325
|
+
}
|
|
285
326
|
/**
|
|
286
327
|
* CustomerDeviceRouterCreate
|
|
287
328
|
*
|
|
@@ -52,6 +52,7 @@ export { ContactRecord, isContactRecord } from './ContactRecord';
|
|
|
52
52
|
export { RewardRecord, isRewardRecord } from './RewardRecord';
|
|
53
53
|
export { ConfigRecord, isConfigRecord } from './ConfigRecord';
|
|
54
54
|
export { CustomerDeviceOntRecord, isCustomerDeviceOntRecord } from './CustomerDeviceOntRecord';
|
|
55
|
+
export { CustomerDeviceRouterRecord, isCustomerDeviceRouterRecord } from './CustomerDeviceRouterRecord';
|
|
55
56
|
export { EmailTemplateRecord, isEmailTemplateRecord } from './EmailTemplateRecord';
|
|
56
57
|
export { FieldServiceDispatchedProductRecord, isFieldServiceDispatchedProductRecord } from './FieldServiceDispatchedProductRecord';
|
|
57
58
|
export { FieldServiceProductRecord, isFieldServiceProductRecord } from './FieldServiceProductRecord';
|
|
@@ -86,7 +87,6 @@ export { WorkOrderStatusUpdateRecord, isWorkOrderStatusUpdateRecord } from './Wo
|
|
|
86
87
|
export { TwilioUserUpdateRecord, isTwilioUserUpdateRecord } from './TwilioUserUpdateRecord';
|
|
87
88
|
export { CreditNoteRecord, isCreditNoteRecord } from './CreditNoteRecord';
|
|
88
89
|
export { CustomerDeviceAtaRecord, isCustomerDeviceAtaRecord } from './CustomerDeviceAtaRecord';
|
|
89
|
-
export { CustomerDeviceRouterRecord, isCustomerDeviceRouterRecord } from './CustomerDeviceRouterRecord';
|
|
90
90
|
export { DiscountRecord, isDiscountRecord } from './DiscountRecord';
|
|
91
91
|
export { InvoiceRecord, isInvoiceRecord } from './InvoiceRecord';
|
|
92
92
|
export { KnowledgeArticleRecord, isKnowledgeArticleRecord } from './KnowledgeArticleRecord';
|
package/dist/records-v2/index.js
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.isOhInstallationAuditRecord = exports.OhInstallationAuditRecord = exports.isOhInProgressAuditRecord = exports.OhInProgressAuditRecord = exports.isOhAuditOfInstallationRecord = exports.OhAuditOfInstallationRecord = exports.isUgRetroAuditRecord = exports.UgRetroAuditRecord = exports.isUgInProgressAuditRecord = exports.UgInProgressAuditRecord = exports.isUgInstallationAuditRecord = exports.UgInstallationAuditRecord = exports.isUgAuditOfInstallationRecord = exports.UgAuditOfInstallationRecord = 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.isCaseRecord = exports.CaseRecord = exports.isContractBuyOutRecord = exports.ContractBuyOutRecord = exports.isAddressRecord = exports.AddressRecord = exports.isWorkOrderRecord = exports.WorkOrderRecord = exports.isOrderRecord = exports.OrderRecord = void 0;
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isUserRecord = exports.UserRecord = exports.isEmailRecord = exports.EmailRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isCallRecord = exports.CallRecord = exports.isCallLegRecord = exports.CallLegRecord = 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.
|
|
12
|
+
exports.isFieldServiceProductRecord = exports.FieldServiceProductRecord = exports.isFieldServiceDispatchedProductRecord = exports.FieldServiceDispatchedProductRecord = exports.isEmailTemplateRecord = exports.EmailTemplateRecord = exports.isCustomerDeviceRouterRecord = exports.CustomerDeviceRouterRecord = exports.isCustomerDeviceOntRecord = exports.CustomerDeviceOntRecord = exports.isConfigRecord = exports.ConfigRecord = exports.isRewardRecord = exports.RewardRecord = exports.isContactRecord = exports.ContactRecord = exports.isMessageRecord = exports.MessageRecord = exports.isConversationRecord = exports.ConversationRecord = exports.isProductRecord = exports.ProductRecord = exports.isPgFileAllocationRecord = exports.PgFileAllocationRecord = exports.isAppointmentRecord = exports.AppointmentRecord = exports.isAffiliateCodeRecord = exports.AffiliateCodeRecord = exports.isActivityLogRecord = exports.ActivityLogRecord = exports.isServiceVisitAuditRecord = exports.ServiceVisitAuditRecord = exports.isYfFieldServiceVisitRecord = exports.YfFieldServiceVisitRecord = exports.isRemediationOutcomeFormRecord = exports.RemediationOutcomeFormRecord = exports.isOhExternalAuditRecord = exports.OhExternalAuditRecord = exports.isUgExternalAuditRecord = exports.UgExternalAuditRecord = exports.isPaymentMethodRefundRecord = exports.PaymentMethodRefundRecord = exports.isInternalInstallAuditRecord = exports.InternalInstallAuditRecord = exports.isSweeperMaintenanceAuditRecord = exports.SweeperMaintenanceAuditRecord = exports.isBlockageA55Record = exports.BlockageA55Record = exports.isOhRetroAuditRecord = exports.OhRetroAuditRecord = void 0;
|
|
13
|
+
exports.isTeamRecord = exports.TeamRecord = exports.isSalesTerritoryRecord = exports.SalesTerritoryRecord = 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 = exports.isPgPaymentMethodRecord = exports.PgPaymentMethodRecord = exports.isPgLogRecord = exports.PgLogRecord = exports.isPgDisputeRecord = exports.PgDisputeRecord = exports.isPgContactRecord = exports.PgContactRecord = exports.isPaymentMethodRecord = exports.PaymentMethodRecord = exports.isReferralRecord = exports.ReferralRecord = exports.isOrderCheckRecord = exports.OrderCheckRecord = exports.isOneTouchSwitchRecord = exports.OneTouchSwitchRecord = exports.isReturnsRecord = exports.ReturnsRecord = exports.isNetworkDeviceRecord = exports.NetworkDeviceRecord = exports.isLeadRecord = exports.LeadRecord = exports.isImpersonationTrackerRecord = exports.ImpersonationTrackerRecord = exports.isActivityRecord = exports.ActivityRecord = void 0;
|
|
14
|
+
exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isUserRecord = exports.UserRecord = exports.isEmailRecord = exports.EmailRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isCallRecord = exports.CallRecord = exports.isCallLegRecord = exports.CallLegRecord = 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.isTwilioUserUpdateRecord = exports.TwilioUserUpdateRecord = exports.isWorkOrderStatusUpdateRecord = exports.WorkOrderStatusUpdateRecord = exports.isWayleaveAuditRecord = exports.WayleaveAuditRecord = exports.isTimeSlotRecord = exports.TimeSlotRecord = void 0;
|
|
15
15
|
var OrderRecord_1 = require("./OrderRecord");
|
|
16
16
|
Object.defineProperty(exports, "OrderRecord", { enumerable: true, get: function () { return OrderRecord_1.OrderRecord; } });
|
|
17
17
|
Object.defineProperty(exports, "isOrderRecord", { enumerable: true, get: function () { return OrderRecord_1.isOrderRecord; } });
|
|
@@ -150,6 +150,9 @@ Object.defineProperty(exports, "isConfigRecord", { enumerable: true, get: functi
|
|
|
150
150
|
var CustomerDeviceOntRecord_1 = require("./CustomerDeviceOntRecord");
|
|
151
151
|
Object.defineProperty(exports, "CustomerDeviceOntRecord", { enumerable: true, get: function () { return CustomerDeviceOntRecord_1.CustomerDeviceOntRecord; } });
|
|
152
152
|
Object.defineProperty(exports, "isCustomerDeviceOntRecord", { enumerable: true, get: function () { return CustomerDeviceOntRecord_1.isCustomerDeviceOntRecord; } });
|
|
153
|
+
var CustomerDeviceRouterRecord_1 = require("./CustomerDeviceRouterRecord");
|
|
154
|
+
Object.defineProperty(exports, "CustomerDeviceRouterRecord", { enumerable: true, get: function () { return CustomerDeviceRouterRecord_1.CustomerDeviceRouterRecord; } });
|
|
155
|
+
Object.defineProperty(exports, "isCustomerDeviceRouterRecord", { enumerable: true, get: function () { return CustomerDeviceRouterRecord_1.isCustomerDeviceRouterRecord; } });
|
|
153
156
|
var EmailTemplateRecord_1 = require("./EmailTemplateRecord");
|
|
154
157
|
Object.defineProperty(exports, "EmailTemplateRecord", { enumerable: true, get: function () { return EmailTemplateRecord_1.EmailTemplateRecord; } });
|
|
155
158
|
Object.defineProperty(exports, "isEmailTemplateRecord", { enumerable: true, get: function () { return EmailTemplateRecord_1.isEmailTemplateRecord; } });
|
|
@@ -252,9 +255,6 @@ Object.defineProperty(exports, "isCreditNoteRecord", { enumerable: true, get: fu
|
|
|
252
255
|
var CustomerDeviceAtaRecord_1 = require("./CustomerDeviceAtaRecord");
|
|
253
256
|
Object.defineProperty(exports, "CustomerDeviceAtaRecord", { enumerable: true, get: function () { return CustomerDeviceAtaRecord_1.CustomerDeviceAtaRecord; } });
|
|
254
257
|
Object.defineProperty(exports, "isCustomerDeviceAtaRecord", { enumerable: true, get: function () { return CustomerDeviceAtaRecord_1.isCustomerDeviceAtaRecord; } });
|
|
255
|
-
var CustomerDeviceRouterRecord_1 = require("./CustomerDeviceRouterRecord");
|
|
256
|
-
Object.defineProperty(exports, "CustomerDeviceRouterRecord", { enumerable: true, get: function () { return CustomerDeviceRouterRecord_1.CustomerDeviceRouterRecord; } });
|
|
257
|
-
Object.defineProperty(exports, "isCustomerDeviceRouterRecord", { enumerable: true, get: function () { return CustomerDeviceRouterRecord_1.isCustomerDeviceRouterRecord; } });
|
|
258
258
|
var DiscountRecord_1 = require("./DiscountRecord");
|
|
259
259
|
Object.defineProperty(exports, "DiscountRecord", { enumerable: true, get: function () { return DiscountRecord_1.DiscountRecord; } });
|
|
260
260
|
Object.defineProperty(exports, "isDiscountRecord", { enumerable: true, get: function () { return DiscountRecord_1.isDiscountRecord; } });
|