@d19n/youfibre-odin-sdk 2.0.203 → 2.0.204
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 +11 -10
- package/dist/actions-v2/CreateCallRecordingEventDto.d.ts +116 -0
- package/dist/actions-v2/CreateCallRecordingEventDto.js +54 -0
- package/dist/entities-v2/TwilioCallEvent.d.ts +5 -3
- package/dist/entities-v2/TwilioCallEvent.js +4 -2
- package/dist/records-v2/TwilioCallEventRecord.d.ts +29 -0
- package/dist/records-v2/TwilioCallEventRecord.js +36 -0
- package/dist/records-v2/index.d.ts +1 -1
- package/dist/records-v2/index.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -354,7 +354,7 @@ This SDK includes **166** entities across **12** modules.
|
|
|
354
354
|
|
|
355
355
|
## Actions
|
|
356
356
|
|
|
357
|
-
This SDK includes **
|
|
357
|
+
This SDK includes **687** actions.
|
|
358
358
|
|
|
359
359
|
### Action Types
|
|
360
360
|
|
|
@@ -1267,6 +1267,16 @@ This SDK includes **686** actions.
|
|
|
1267
1267
|
| `UpdateMobileProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateMobileProductAction |
|
|
1268
1268
|
| `UpdateTelevisionProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateTelevisionProductAction |
|
|
1269
1269
|
|
|
1270
|
+
#### TwilioCallEvent
|
|
1271
|
+
|
|
1272
|
+
| Action | Type | Event |
|
|
1273
|
+
|--------|------|-------|
|
|
1274
|
+
| `CreateCallRecordingEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent |
|
|
1275
|
+
| `CreateInboundCallEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateInboundCallEvent |
|
|
1276
|
+
| `CreateOutboundCallEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateOutboundCallEvent |
|
|
1277
|
+
| `CreateVoiceInsightsEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateVoiceInsightsEvent |
|
|
1278
|
+
| `UpdateCallEventAfterProcessing` | UPDATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Update.UpdateCallEventAfterProcessing |
|
|
1279
|
+
|
|
1270
1280
|
#### CallTransfer
|
|
1271
1281
|
|
|
1272
1282
|
| Action | Type | Event |
|
|
@@ -1425,15 +1435,6 @@ This SDK includes **686** actions.
|
|
|
1425
1435
|
| `UpdateCallOnTaskRouterAssign` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskRouterAssign |
|
|
1426
1436
|
| `UpdateCallTranscriptionUrl` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallTranscriptionUrl |
|
|
1427
1437
|
|
|
1428
|
-
#### TwilioCallEvent
|
|
1429
|
-
|
|
1430
|
-
| Action | Type | Event |
|
|
1431
|
-
|--------|------|-------|
|
|
1432
|
-
| `CreateInboundCallEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateInboundCallEvent |
|
|
1433
|
-
| `CreateOutboundCallEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateOutboundCallEvent |
|
|
1434
|
-
| `CreateVoiceInsightsEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateVoiceInsightsEvent |
|
|
1435
|
-
| `UpdateCallEventAfterProcessing` | UPDATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Update.UpdateCallEventAfterProcessing |
|
|
1436
|
-
|
|
1437
1438
|
#### InvoiceItem
|
|
1438
1439
|
|
|
1439
1440
|
| Action | Type | Event |
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateCallRecordingEvent Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Create call recording event
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity TwilioCallEvent
|
|
8
|
+
* @actionKey CreateCallRecordingEvent
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent
|
|
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 CreateCallRecordingEvent created events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateCallRecordingEventMessage extends OdinRecordCreatedEvent<CreateCallRecordingEventDto, CreateCallRecordingEventProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for CreateCallRecordingEvent action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 7
|
|
25
|
+
* @property Optional fields: 0
|
|
26
|
+
*/
|
|
27
|
+
export interface CreateCallRecordingEventProperties {
|
|
28
|
+
/**
|
|
29
|
+
* WebhookSource
|
|
30
|
+
*
|
|
31
|
+
* Source of the captured event
|
|
32
|
+
* @type {ENUM}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
WebhookSource: string;
|
|
36
|
+
/**
|
|
37
|
+
* ReceivedAt
|
|
38
|
+
*
|
|
39
|
+
* Moment of storing the event in odin
|
|
40
|
+
* @type {DATE_TIME}
|
|
41
|
+
* @required
|
|
42
|
+
*/
|
|
43
|
+
ReceivedAt: string;
|
|
44
|
+
/**
|
|
45
|
+
* Query
|
|
46
|
+
*
|
|
47
|
+
* Query parameters of the request received from Twilio
|
|
48
|
+
* @type {JSON}
|
|
49
|
+
* @required
|
|
50
|
+
*/
|
|
51
|
+
Query: string;
|
|
52
|
+
/**
|
|
53
|
+
* Body
|
|
54
|
+
*
|
|
55
|
+
* Body of the request received from Twilio
|
|
56
|
+
* @type {JSON}
|
|
57
|
+
* @required
|
|
58
|
+
*/
|
|
59
|
+
Body: string;
|
|
60
|
+
/**
|
|
61
|
+
* Title
|
|
62
|
+
*
|
|
63
|
+
* Title of twilio call event record
|
|
64
|
+
* @type {TEXT}
|
|
65
|
+
* @required
|
|
66
|
+
*/
|
|
67
|
+
Title: string;
|
|
68
|
+
/**
|
|
69
|
+
* CallId
|
|
70
|
+
*
|
|
71
|
+
* Reference of the call record
|
|
72
|
+
* @type {LOOKUP}
|
|
73
|
+
* @required
|
|
74
|
+
*/
|
|
75
|
+
CallId: string;
|
|
76
|
+
/**
|
|
77
|
+
* CallSid
|
|
78
|
+
*
|
|
79
|
+
* Twilio id of the call
|
|
80
|
+
* @type {TEXT}
|
|
81
|
+
* @required
|
|
82
|
+
*/
|
|
83
|
+
CallSid: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* CreateCallRecordingEvent
|
|
87
|
+
*
|
|
88
|
+
* Create call recording event
|
|
89
|
+
*
|
|
90
|
+
* @actionType CREATE - Creates a new TwilioCallEvent record
|
|
91
|
+
* @module NotificationModule
|
|
92
|
+
* @entity TwilioCallEvent
|
|
93
|
+
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent
|
|
94
|
+
* @permission schema.action.createcallrecordingevent.trigger
|
|
95
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
96
|
+
*/
|
|
97
|
+
export declare class CreateCallRecordingEventDto extends OdinRecordCreateDto<CreateCallRecordingEventProperties> {
|
|
98
|
+
/** Used by SDK generators to identify action type */
|
|
99
|
+
static readonly ACTION_TYPE = "CREATE";
|
|
100
|
+
static readonly ACTION_KEY = "CreateCallRecordingEvent";
|
|
101
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
102
|
+
static readonly ENTITIES: string[];
|
|
103
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent";
|
|
104
|
+
static readonly PERMISSION = "schema.action.createcallrecordingevent.trigger";
|
|
105
|
+
/** Step metadata - entity this action targets */
|
|
106
|
+
static readonly STEP_ENTITY = "NotificationModule:TwilioCallEvent";
|
|
107
|
+
static readonly STEP_SCHEMA_ID = "52cc16be-2010-453f-a1c9-142ca95f9a54";
|
|
108
|
+
static readonly STEP_SCHEMA_ACTION_ID = "037eb208-5783-463f-b0dd-05e0eb68efbc";
|
|
109
|
+
static readonly AUTO_LINK_PARENT = true;
|
|
110
|
+
readonly actionName: string;
|
|
111
|
+
readonly schemaActionId: string;
|
|
112
|
+
readonly entity: string;
|
|
113
|
+
constructor(properties: CreateCallRecordingEventProperties, options?: {
|
|
114
|
+
journeyId?: string;
|
|
115
|
+
});
|
|
116
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CreateCallRecordingEvent Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Create call recording event
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity TwilioCallEvent
|
|
9
|
+
* @actionKey CreateCallRecordingEvent
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.CreateCallRecordingEventDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* CreateCallRecordingEvent
|
|
19
|
+
*
|
|
20
|
+
* Create call recording event
|
|
21
|
+
*
|
|
22
|
+
* @actionType CREATE - Creates a new TwilioCallEvent record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity TwilioCallEvent
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent
|
|
26
|
+
* @permission schema.action.createcallrecordingevent.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class CreateCallRecordingEventDto extends core_1.OdinRecordCreateDto {
|
|
30
|
+
constructor(properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
entity: 'NotificationModule:TwilioCallEvent',
|
|
33
|
+
type: undefined,
|
|
34
|
+
properties,
|
|
35
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
36
|
+
});
|
|
37
|
+
this.actionName = 'CreateCallRecordingEvent';
|
|
38
|
+
this.schemaActionId = '037eb208-5783-463f-b0dd-05e0eb68efbc';
|
|
39
|
+
this.entity = 'NotificationModule:TwilioCallEvent';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.CreateCallRecordingEventDto = CreateCallRecordingEventDto;
|
|
43
|
+
/** Used by SDK generators to identify action type */
|
|
44
|
+
CreateCallRecordingEventDto.ACTION_TYPE = 'CREATE';
|
|
45
|
+
CreateCallRecordingEventDto.ACTION_KEY = 'CreateCallRecordingEvent';
|
|
46
|
+
CreateCallRecordingEventDto.MODULE_NAME = 'NotificationModule';
|
|
47
|
+
CreateCallRecordingEventDto.ENTITIES = ['TwilioCallEvent'];
|
|
48
|
+
CreateCallRecordingEventDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.TwilioCallEvent.Create.CreateCallRecordingEvent';
|
|
49
|
+
CreateCallRecordingEventDto.PERMISSION = 'schema.action.createcallrecordingevent.trigger';
|
|
50
|
+
/** Step metadata - entity this action targets */
|
|
51
|
+
CreateCallRecordingEventDto.STEP_ENTITY = 'NotificationModule:TwilioCallEvent';
|
|
52
|
+
CreateCallRecordingEventDto.STEP_SCHEMA_ID = '52cc16be-2010-453f-a1c9-142ca95f9a54';
|
|
53
|
+
CreateCallRecordingEventDto.STEP_SCHEMA_ACTION_ID = '037eb208-5783-463f-b0dd-05e0eb68efbc';
|
|
54
|
+
CreateCallRecordingEventDto.AUTO_LINK_PARENT = true;
|
|
@@ -31,18 +31,20 @@ export declare enum TwilioCallEventEntityTypes {
|
|
|
31
31
|
* Source of the captured event
|
|
32
32
|
*
|
|
33
33
|
* @remarks Available options:
|
|
34
|
-
* - `
|
|
34
|
+
* - `CallSummaryEvent`
|
|
35
35
|
* - `InboundCallStatusUpdateEvent`
|
|
36
36
|
* - `NumberCallStatusEvent`
|
|
37
37
|
* - `OutboundCallStatusUpdateEvent`
|
|
38
38
|
* - `OutboundDialActionEvent`
|
|
39
|
+
* - `RecordingStatusEvent`
|
|
39
40
|
*/
|
|
40
41
|
export declare enum TwilioCallEventWebhookSource {
|
|
41
|
-
|
|
42
|
+
CALL_SUMMARY_EVENT = "CallSummaryEvent",
|
|
42
43
|
INBOUND_CALL_STATUS_UPDATE_EVENT = "InboundCallStatusUpdateEvent",
|
|
43
44
|
NUMBER_CALL_STATUS_EVENT = "NumberCallStatusEvent",
|
|
44
45
|
OUTBOUND_CALL_STATUS_UPDATE_EVENT = "OutboundCallStatusUpdateEvent",
|
|
45
|
-
OUTBOUND_DIAL_ACTION_EVENT = "OutboundDialActionEvent"
|
|
46
|
+
OUTBOUND_DIAL_ACTION_EVENT = "OutboundDialActionEvent",
|
|
47
|
+
RECORDING_STATUS_EVENT = "RecordingStatusEvent"
|
|
46
48
|
}
|
|
47
49
|
/**
|
|
48
50
|
* Valid values for TwilioCallEvent.ProcessingStatus
|
|
@@ -34,19 +34,21 @@ var TwilioCallEventEntityTypes;
|
|
|
34
34
|
* Source of the captured event
|
|
35
35
|
*
|
|
36
36
|
* @remarks Available options:
|
|
37
|
-
* - `
|
|
37
|
+
* - `CallSummaryEvent`
|
|
38
38
|
* - `InboundCallStatusUpdateEvent`
|
|
39
39
|
* - `NumberCallStatusEvent`
|
|
40
40
|
* - `OutboundCallStatusUpdateEvent`
|
|
41
41
|
* - `OutboundDialActionEvent`
|
|
42
|
+
* - `RecordingStatusEvent`
|
|
42
43
|
*/
|
|
43
44
|
var TwilioCallEventWebhookSource;
|
|
44
45
|
(function (TwilioCallEventWebhookSource) {
|
|
45
|
-
TwilioCallEventWebhookSource["
|
|
46
|
+
TwilioCallEventWebhookSource["CALL_SUMMARY_EVENT"] = "CallSummaryEvent";
|
|
46
47
|
TwilioCallEventWebhookSource["INBOUND_CALL_STATUS_UPDATE_EVENT"] = "InboundCallStatusUpdateEvent";
|
|
47
48
|
TwilioCallEventWebhookSource["NUMBER_CALL_STATUS_EVENT"] = "NumberCallStatusEvent";
|
|
48
49
|
TwilioCallEventWebhookSource["OUTBOUND_CALL_STATUS_UPDATE_EVENT"] = "OutboundCallStatusUpdateEvent";
|
|
49
50
|
TwilioCallEventWebhookSource["OUTBOUND_DIAL_ACTION_EVENT"] = "OutboundDialActionEvent";
|
|
51
|
+
TwilioCallEventWebhookSource["RECORDING_STATUS_EVENT"] = "RecordingStatusEvent";
|
|
50
52
|
})(TwilioCallEventWebhookSource = exports.TwilioCallEventWebhookSource || (exports.TwilioCallEventWebhookSource = {}));
|
|
51
53
|
/**
|
|
52
54
|
* Valid values for TwilioCallEvent.ProcessingStatus
|
|
@@ -23,6 +23,7 @@ import { IDbRecordCreateUpdateRes } from '@d19n/odin-types/dist/core/interfaces/
|
|
|
23
23
|
import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
24
24
|
import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
|
|
25
25
|
import { TwilioCallEventProperties, CallRecordingEventTwilioCallEventProperties, InboundCallEventTwilioCallEventProperties, OutboundCallEventTwilioCallEventProperties, VoiceInsightsEventTwilioCallEventProperties } from '../entities-v2/TwilioCallEvent';
|
|
26
|
+
import { CreateCallRecordingEventProperties } from '../actions-v2/CreateCallRecordingEventDto';
|
|
26
27
|
import { CreateInboundCallEventProperties } from '../actions-v2/CreateInboundCallEventDto';
|
|
27
28
|
import { CreateOutboundCallEventProperties } from '../actions-v2/CreateOutboundCallEventDto';
|
|
28
29
|
import { CreateVoiceInsightsEventProperties } from '../actions-v2/CreateVoiceInsightsEventDto';
|
|
@@ -222,6 +223,34 @@ export declare class TwilioCallEventRecord<TProps = TwilioCallEventProperties> {
|
|
|
222
223
|
unlink(target: OdinRecord<any> | {
|
|
223
224
|
id: string;
|
|
224
225
|
} | string): Promise<void>;
|
|
226
|
+
/**
|
|
227
|
+
* CreateCallRecordingEvent
|
|
228
|
+
*
|
|
229
|
+
* Creates a new TwilioCallEvent record with the specified properties.
|
|
230
|
+
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
231
|
+
*
|
|
232
|
+
* @param properties - The properties for the new record
|
|
233
|
+
* @param options - Optional settings
|
|
234
|
+
* @param options.type - Override the record type
|
|
235
|
+
* @param options.journeyId - Associate with a journey
|
|
236
|
+
* @param options.stageKey - Set initial pipeline stage
|
|
237
|
+
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* ```typescript
|
|
241
|
+
* // Create with properties
|
|
242
|
+
* const record = odinClient.twilioCallEvents.new();
|
|
243
|
+
* await record.createCallRecordingEvent({ ... }).execute();
|
|
244
|
+
*
|
|
245
|
+
* // Dry run (for debugging)
|
|
246
|
+
* const payload = record.createCallRecordingEvent({ ... }).dryRun();
|
|
247
|
+
* ```
|
|
248
|
+
*/
|
|
249
|
+
createCallRecordingEvent(properties: CreateCallRecordingEventProperties, options?: {
|
|
250
|
+
type?: string;
|
|
251
|
+
journeyId?: string;
|
|
252
|
+
stageKey?: string;
|
|
253
|
+
}): ActionBuilder;
|
|
225
254
|
/**
|
|
226
255
|
* CreateInboundCallEvent
|
|
227
256
|
*
|
|
@@ -278,6 +278,42 @@ class TwilioCallEventRecord {
|
|
|
278
278
|
// ============================================
|
|
279
279
|
// CREATE ACTIONS (no existing record required)
|
|
280
280
|
// ============================================
|
|
281
|
+
/**
|
|
282
|
+
* CreateCallRecordingEvent
|
|
283
|
+
*
|
|
284
|
+
* Creates a new TwilioCallEvent record with the specified properties.
|
|
285
|
+
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
286
|
+
*
|
|
287
|
+
* @param properties - The properties for the new record
|
|
288
|
+
* @param options - Optional settings
|
|
289
|
+
* @param options.type - Override the record type
|
|
290
|
+
* @param options.journeyId - Associate with a journey
|
|
291
|
+
* @param options.stageKey - Set initial pipeline stage
|
|
292
|
+
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
293
|
+
*
|
|
294
|
+
* @example
|
|
295
|
+
* ```typescript
|
|
296
|
+
* // Create with properties
|
|
297
|
+
* const record = odinClient.twilioCallEvents.new();
|
|
298
|
+
* await record.createCallRecordingEvent({ ... }).execute();
|
|
299
|
+
*
|
|
300
|
+
* // Dry run (for debugging)
|
|
301
|
+
* const payload = record.createCallRecordingEvent({ ... }).dryRun();
|
|
302
|
+
* ```
|
|
303
|
+
*/
|
|
304
|
+
createCallRecordingEvent(properties, options) {
|
|
305
|
+
var _a, _b;
|
|
306
|
+
const payload = {
|
|
307
|
+
entity: 'NotificationModule:TwilioCallEvent',
|
|
308
|
+
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,
|
|
309
|
+
actionName: 'CreateCallRecordingEvent',
|
|
310
|
+
properties: properties || {},
|
|
311
|
+
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
312
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
313
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
314
|
+
};
|
|
315
|
+
return new ActionBuilder(this._provider, 'NotificationModule', 'TwilioCallEvent', payload, () => { this._pendingLinks = []; });
|
|
316
|
+
}
|
|
281
317
|
/**
|
|
282
318
|
* CreateInboundCallEvent
|
|
283
319
|
*
|
|
@@ -43,6 +43,7 @@ export { PgFileAllocationRecord, isPgFileAllocationRecord } from './PgFileAlloca
|
|
|
43
43
|
export { BngProvisionRecord, isBngProvisionRecord } from './BngProvisionRecord';
|
|
44
44
|
export { BrskEntityMigrationErrorRecord, isBrskEntityMigrationErrorRecord } from './BrskEntityMigrationErrorRecord';
|
|
45
45
|
export { ProductRecord, isProductRecord } from './ProductRecord';
|
|
46
|
+
export { TwilioCallEventRecord, isTwilioCallEventRecord } from './TwilioCallEventRecord';
|
|
46
47
|
export { CallTransferRecord, isCallTransferRecord } from './CallTransferRecord';
|
|
47
48
|
export { ContactRecord, isContactRecord } from './ContactRecord';
|
|
48
49
|
export { RewardRecord, isRewardRecord } from './RewardRecord';
|
|
@@ -60,7 +61,6 @@ export { FileRecord, isFileRecord } from './FileRecord';
|
|
|
60
61
|
export { ActivityRecord, isActivityRecord } from './ActivityRecord';
|
|
61
62
|
export { ImpersonationTrackerRecord, isImpersonationTrackerRecord } from './ImpersonationTrackerRecord';
|
|
62
63
|
export { CallRecord, isCallRecord } from './CallRecord';
|
|
63
|
-
export { TwilioCallEventRecord, isTwilioCallEventRecord } from './TwilioCallEventRecord';
|
|
64
64
|
export { InvoiceItemRecord, isInvoiceItemRecord } from './InvoiceItemRecord';
|
|
65
65
|
export { LeadRecord, isLeadRecord } from './LeadRecord';
|
|
66
66
|
export { MessageRecord, isMessageRecord } from './MessageRecord';
|
package/dist/records-v2/index.js
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.isYfFieldServiceVisitRecord = exports.YfFieldServiceVisitRecord = 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.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
|
-
exports.
|
|
16
|
-
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.isSmsMessageRecord = exports.SmsMessageRecord = exports.isReferralRecord = exports.ReferralRecord = exports.isOrderKciRecord = exports.OrderKciRecord = 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.isMessageRecord = exports.MessageRecord = exports.isLeadRecord = exports.LeadRecord = exports.isInvoiceItemRecord = exports.InvoiceItemRecord = exports.
|
|
15
|
+
exports.isActivityRecord = exports.ActivityRecord = exports.isFileRecord = exports.FileRecord = exports.isFieldServiceProductRecord = exports.FieldServiceProductRecord = exports.isFieldServiceDispatchedProductRecord = exports.FieldServiceDispatchedProductRecord = exports.isExchangeRecord = exports.ExchangeRecord = exports.isEmailTemplateRecord = exports.EmailTemplateRecord = exports.isEmailSenderRecord = exports.EmailSenderRecord = exports.isCustomerDeviceOntRecord = exports.CustomerDeviceOntRecord = exports.isCustomerDeviceConfigurationRecord = exports.CustomerDeviceConfigurationRecord = exports.isContactIdentityRecord = exports.ContactIdentityRecord = exports.isConfigRecord = exports.ConfigRecord = exports.isEmailRecord = exports.EmailRecord = exports.isRewardRecord = exports.RewardRecord = exports.isContactRecord = exports.ContactRecord = exports.isCallTransferRecord = exports.CallTransferRecord = 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 = void 0;
|
|
16
|
+
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.isSmsMessageRecord = exports.SmsMessageRecord = exports.isReferralRecord = exports.ReferralRecord = exports.isOrderKciRecord = exports.OrderKciRecord = 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.isMessageRecord = exports.MessageRecord = exports.isLeadRecord = exports.LeadRecord = exports.isInvoiceItemRecord = exports.InvoiceItemRecord = exports.isCallRecord = exports.CallRecord = exports.isImpersonationTrackerRecord = exports.ImpersonationTrackerRecord = void 0;
|
|
17
17
|
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 = exports.isCustomerDeviceAtaRecord = exports.CustomerDeviceAtaRecord = exports.isCreditNoteRecord = exports.CreditNoteRecord = exports.isWorkOrderStatusUpdateRecord = exports.WorkOrderStatusUpdateRecord = exports.isWayleaveAuditRecord = exports.WayleaveAuditRecord = exports.isUserRecord = exports.UserRecord = exports.isTwilioUserUpdateRecord = exports.TwilioUserUpdateRecord = exports.isTwilioTaskQueueRecord = exports.TwilioTaskQueueRecord = 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 = void 0;
|
|
18
18
|
exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isScheduleSlotRecord = exports.ScheduleSlotRecord = exports.isPriceBookRecord = exports.PriceBookRecord = void 0;
|
|
19
19
|
var OrderRecord_1 = require("./OrderRecord");
|
|
@@ -118,6 +118,9 @@ Object.defineProperty(exports, "isBrskEntityMigrationErrorRecord", { enumerable:
|
|
|
118
118
|
var ProductRecord_1 = require("./ProductRecord");
|
|
119
119
|
Object.defineProperty(exports, "ProductRecord", { enumerable: true, get: function () { return ProductRecord_1.ProductRecord; } });
|
|
120
120
|
Object.defineProperty(exports, "isProductRecord", { enumerable: true, get: function () { return ProductRecord_1.isProductRecord; } });
|
|
121
|
+
var TwilioCallEventRecord_1 = require("./TwilioCallEventRecord");
|
|
122
|
+
Object.defineProperty(exports, "TwilioCallEventRecord", { enumerable: true, get: function () { return TwilioCallEventRecord_1.TwilioCallEventRecord; } });
|
|
123
|
+
Object.defineProperty(exports, "isTwilioCallEventRecord", { enumerable: true, get: function () { return TwilioCallEventRecord_1.isTwilioCallEventRecord; } });
|
|
121
124
|
var CallTransferRecord_1 = require("./CallTransferRecord");
|
|
122
125
|
Object.defineProperty(exports, "CallTransferRecord", { enumerable: true, get: function () { return CallTransferRecord_1.CallTransferRecord; } });
|
|
123
126
|
Object.defineProperty(exports, "isCallTransferRecord", { enumerable: true, get: function () { return CallTransferRecord_1.isCallTransferRecord; } });
|
|
@@ -169,9 +172,6 @@ Object.defineProperty(exports, "isImpersonationTrackerRecord", { enumerable: tru
|
|
|
169
172
|
var CallRecord_1 = require("./CallRecord");
|
|
170
173
|
Object.defineProperty(exports, "CallRecord", { enumerable: true, get: function () { return CallRecord_1.CallRecord; } });
|
|
171
174
|
Object.defineProperty(exports, "isCallRecord", { enumerable: true, get: function () { return CallRecord_1.isCallRecord; } });
|
|
172
|
-
var TwilioCallEventRecord_1 = require("./TwilioCallEventRecord");
|
|
173
|
-
Object.defineProperty(exports, "TwilioCallEventRecord", { enumerable: true, get: function () { return TwilioCallEventRecord_1.TwilioCallEventRecord; } });
|
|
174
|
-
Object.defineProperty(exports, "isTwilioCallEventRecord", { enumerable: true, get: function () { return TwilioCallEventRecord_1.isTwilioCallEventRecord; } });
|
|
175
175
|
var InvoiceItemRecord_1 = require("./InvoiceItemRecord");
|
|
176
176
|
Object.defineProperty(exports, "InvoiceItemRecord", { enumerable: true, get: function () { return InvoiceItemRecord_1.InvoiceItemRecord; } });
|
|
177
177
|
Object.defineProperty(exports, "isInvoiceItemRecord", { enumerable: true, get: function () { return InvoiceItemRecord_1.isInvoiceItemRecord; } });
|