@d19n/youfibre-odin-sdk 2.0.146-beta.2 → 2.0.146
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 +1 -5
- package/dist/records-v2/TwilioCallEventsRecord.d.ts +0 -116
- package/dist/records-v2/TwilioCallEventsRecord.js +0 -144
- package/package.json +1 -1
- package/dist/actions-v2/CreateInboundCallStatusUpdateEventDto.d.ts +0 -113
- package/dist/actions-v2/CreateInboundCallStatusUpdateEventDto.js +0 -59
- package/dist/actions-v2/CreateNumberCallStatusEventDto.d.ts +0 -105
- package/dist/actions-v2/CreateNumberCallStatusEventDto.js +0 -59
- package/dist/actions-v2/CreateOutboundCallStatusUpdateEventDto.d.ts +0 -113
- package/dist/actions-v2/CreateOutboundCallStatusUpdateEventDto.js +0 -59
- package/dist/actions-v2/CreateOutboundDialActionEventDto.d.ts +0 -113
- package/dist/actions-v2/CreateOutboundDialActionEventDto.js +0 -59
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 **689** actions.
|
|
358
358
|
|
|
359
359
|
### Action Types
|
|
360
360
|
|
|
@@ -1446,11 +1446,7 @@ This SDK includes **693** actions.
|
|
|
1446
1446
|
| Action | Type | Event |
|
|
1447
1447
|
|--------|------|-------|
|
|
1448
1448
|
| `CreateInboundCallEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateInboundCallEvent |
|
|
1449
|
-
| `CreateInboundCallStatusUpdateEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateInboundCallStatusUpdateEvent |
|
|
1450
|
-
| `CreateNumberCallStatusEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateNumberCallStatusEvent |
|
|
1451
1449
|
| `CreateOutboundCallEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundCallEvent |
|
|
1452
|
-
| `CreateOutboundCallStatusUpdateEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundCallStatusUpdateEvent |
|
|
1453
|
-
| `CreateOutboundDialActionEvent` | CREATE | k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundDialActionEvent |
|
|
1454
1450
|
|
|
1455
1451
|
#### InvoiceItem
|
|
1456
1452
|
|
|
@@ -24,11 +24,7 @@ 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 { TwilioCallEventsProperties, InboundCallEventTwilioCallEventsProperties, InboundCallStatusUpdateEventTwilioCallEventsProperties, NumberCallStatusEventTwilioCallEventsProperties, OutboundCallEventTwilioCallEventsProperties, OutboundCallStatusUpdateEventTwilioCallEventsProperties, OutboundDialActionEventTwilioCallEventsProperties } from '../entities-v2/TwilioCallEvents';
|
|
26
26
|
import { CreateInboundCallEventProperties } from '../actions-v2/CreateInboundCallEventDto';
|
|
27
|
-
import { CreateInboundCallStatusUpdateEventProperties } from '../actions-v2/CreateInboundCallStatusUpdateEventDto';
|
|
28
|
-
import { CreateNumberCallStatusEventProperties } from '../actions-v2/CreateNumberCallStatusEventDto';
|
|
29
27
|
import { CreateOutboundCallEventProperties } from '../actions-v2/CreateOutboundCallEventDto';
|
|
30
|
-
import { CreateOutboundCallStatusUpdateEventProperties } from '../actions-v2/CreateOutboundCallStatusUpdateEventDto';
|
|
31
|
-
import { CreateOutboundDialActionEventProperties } from '../actions-v2/CreateOutboundDialActionEventDto';
|
|
32
28
|
import { CallRecord } from './CallRecord';
|
|
33
29
|
/** Valid entity types for TwilioCallEvents */
|
|
34
30
|
export declare type TwilioCallEventsType = 'INBOUND_CALL_EVENT' | 'INBOUND_CALL_STATUS_UPDATE_EVENT' | 'NUMBER_CALL_STATUS_EVENT' | 'OUTBOUND_CALL_EVENT' | 'OUTBOUND_CALL_STATUS_UPDATE_EVENT' | 'OUTBOUND_DIAL_ACTION_EVENT';
|
|
@@ -284,62 +280,6 @@ export declare class TwilioCallEventsRecord<TProps = TwilioCallEventsProperties>
|
|
|
284
280
|
journeyId?: string;
|
|
285
281
|
stageKey?: string;
|
|
286
282
|
}): ActionBuilder;
|
|
287
|
-
/**
|
|
288
|
-
* CreateInboundCallStatusUpdateEvent
|
|
289
|
-
*
|
|
290
|
-
* Creates a new TwilioCallEvents record with the specified properties.
|
|
291
|
-
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
292
|
-
*
|
|
293
|
-
* @remarks Record type: INBOUND_CALL_STATUS_UPDATE_EVENT
|
|
294
|
-
*
|
|
295
|
-
* @param properties - The properties for the new record
|
|
296
|
-
* @param options - Optional settings
|
|
297
|
-
* @param options.journeyId - Associate with a journey
|
|
298
|
-
* @param options.stageKey - Set initial pipeline stage
|
|
299
|
-
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
300
|
-
*
|
|
301
|
-
* @example
|
|
302
|
-
* ```typescript
|
|
303
|
-
* // Create with properties
|
|
304
|
-
* const record = odinClient.twilioCallEventss.new();
|
|
305
|
-
* await record.createInboundCallStatusUpdateEvent({ ... }).execute();
|
|
306
|
-
*
|
|
307
|
-
* // Dry run (for debugging)
|
|
308
|
-
* const payload = record.createInboundCallStatusUpdateEvent({ ... }).dryRun();
|
|
309
|
-
* ```
|
|
310
|
-
*/
|
|
311
|
-
createInboundCallStatusUpdateEvent(properties: CreateInboundCallStatusUpdateEventProperties, options?: {
|
|
312
|
-
journeyId?: string;
|
|
313
|
-
stageKey?: string;
|
|
314
|
-
}): ActionBuilder;
|
|
315
|
-
/**
|
|
316
|
-
* CreateNumberCallStatusEvent
|
|
317
|
-
*
|
|
318
|
-
* Creates a new TwilioCallEvents record with the specified properties.
|
|
319
|
-
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
320
|
-
*
|
|
321
|
-
* @remarks Record type: NUMBER_CALL_STATUS_EVENT
|
|
322
|
-
*
|
|
323
|
-
* @param properties - The properties for the new record
|
|
324
|
-
* @param options - Optional settings
|
|
325
|
-
* @param options.journeyId - Associate with a journey
|
|
326
|
-
* @param options.stageKey - Set initial pipeline stage
|
|
327
|
-
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
328
|
-
*
|
|
329
|
-
* @example
|
|
330
|
-
* ```typescript
|
|
331
|
-
* // Create with properties
|
|
332
|
-
* const record = odinClient.twilioCallEventss.new();
|
|
333
|
-
* await record.createNumberCallStatusEvent({ ... }).execute();
|
|
334
|
-
*
|
|
335
|
-
* // Dry run (for debugging)
|
|
336
|
-
* const payload = record.createNumberCallStatusEvent({ ... }).dryRun();
|
|
337
|
-
* ```
|
|
338
|
-
*/
|
|
339
|
-
createNumberCallStatusEvent(properties: CreateNumberCallStatusEventProperties, options?: {
|
|
340
|
-
journeyId?: string;
|
|
341
|
-
stageKey?: string;
|
|
342
|
-
}): ActionBuilder;
|
|
343
283
|
/**
|
|
344
284
|
* CreateOutboundCallEvent
|
|
345
285
|
*
|
|
@@ -368,62 +308,6 @@ export declare class TwilioCallEventsRecord<TProps = TwilioCallEventsProperties>
|
|
|
368
308
|
journeyId?: string;
|
|
369
309
|
stageKey?: string;
|
|
370
310
|
}): ActionBuilder;
|
|
371
|
-
/**
|
|
372
|
-
* CreateOutboundCallStatusUpdateEvent
|
|
373
|
-
*
|
|
374
|
-
* Creates a new TwilioCallEvents record with the specified properties.
|
|
375
|
-
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
376
|
-
*
|
|
377
|
-
* @remarks Record type: OUTBOUND_CALL_STATUS_UPDATE_EVENT
|
|
378
|
-
*
|
|
379
|
-
* @param properties - The properties for the new record
|
|
380
|
-
* @param options - Optional settings
|
|
381
|
-
* @param options.journeyId - Associate with a journey
|
|
382
|
-
* @param options.stageKey - Set initial pipeline stage
|
|
383
|
-
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
384
|
-
*
|
|
385
|
-
* @example
|
|
386
|
-
* ```typescript
|
|
387
|
-
* // Create with properties
|
|
388
|
-
* const record = odinClient.twilioCallEventss.new();
|
|
389
|
-
* await record.createOutboundCallStatusUpdateEvent({ ... }).execute();
|
|
390
|
-
*
|
|
391
|
-
* // Dry run (for debugging)
|
|
392
|
-
* const payload = record.createOutboundCallStatusUpdateEvent({ ... }).dryRun();
|
|
393
|
-
* ```
|
|
394
|
-
*/
|
|
395
|
-
createOutboundCallStatusUpdateEvent(properties: CreateOutboundCallStatusUpdateEventProperties, options?: {
|
|
396
|
-
journeyId?: string;
|
|
397
|
-
stageKey?: string;
|
|
398
|
-
}): ActionBuilder;
|
|
399
|
-
/**
|
|
400
|
-
* CreateOutboundDialActionEvent
|
|
401
|
-
*
|
|
402
|
-
* Creates a new TwilioCallEvents record with the specified properties.
|
|
403
|
-
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
404
|
-
*
|
|
405
|
-
* @remarks Record type: OUTBOUND_DIAL_ACTION_EVENT
|
|
406
|
-
*
|
|
407
|
-
* @param properties - The properties for the new record
|
|
408
|
-
* @param options - Optional settings
|
|
409
|
-
* @param options.journeyId - Associate with a journey
|
|
410
|
-
* @param options.stageKey - Set initial pipeline stage
|
|
411
|
-
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
412
|
-
*
|
|
413
|
-
* @example
|
|
414
|
-
* ```typescript
|
|
415
|
-
* // Create with properties
|
|
416
|
-
* const record = odinClient.twilioCallEventss.new();
|
|
417
|
-
* await record.createOutboundDialActionEvent({ ... }).execute();
|
|
418
|
-
*
|
|
419
|
-
* // Dry run (for debugging)
|
|
420
|
-
* const payload = record.createOutboundDialActionEvent({ ... }).dryRun();
|
|
421
|
-
* ```
|
|
422
|
-
*/
|
|
423
|
-
createOutboundDialActionEvent(properties: CreateOutboundDialActionEventProperties, options?: {
|
|
424
|
-
journeyId?: string;
|
|
425
|
-
stageKey?: string;
|
|
426
|
-
}): ActionBuilder;
|
|
427
311
|
}
|
|
428
312
|
/** Type guard to check if an object is a TwilioCallEventsRecord */
|
|
429
313
|
export declare function isTwilioCallEventsRecord(obj: any): obj is TwilioCallEventsRecord;
|
|
@@ -346,78 +346,6 @@ class TwilioCallEventsRecord {
|
|
|
346
346
|
};
|
|
347
347
|
return new ActionBuilder(this._provider, 'NotificationModule', 'TwilioCallEvents', payload, () => { this._pendingLinks = []; });
|
|
348
348
|
}
|
|
349
|
-
/**
|
|
350
|
-
* CreateInboundCallStatusUpdateEvent
|
|
351
|
-
*
|
|
352
|
-
* Creates a new TwilioCallEvents record with the specified properties.
|
|
353
|
-
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
354
|
-
*
|
|
355
|
-
* @remarks Record type: INBOUND_CALL_STATUS_UPDATE_EVENT
|
|
356
|
-
*
|
|
357
|
-
* @param properties - The properties for the new record
|
|
358
|
-
* @param options - Optional settings
|
|
359
|
-
* @param options.journeyId - Associate with a journey
|
|
360
|
-
* @param options.stageKey - Set initial pipeline stage
|
|
361
|
-
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
362
|
-
*
|
|
363
|
-
* @example
|
|
364
|
-
* ```typescript
|
|
365
|
-
* // Create with properties
|
|
366
|
-
* const record = odinClient.twilioCallEventss.new();
|
|
367
|
-
* await record.createInboundCallStatusUpdateEvent({ ... }).execute();
|
|
368
|
-
*
|
|
369
|
-
* // Dry run (for debugging)
|
|
370
|
-
* const payload = record.createInboundCallStatusUpdateEvent({ ... }).dryRun();
|
|
371
|
-
* ```
|
|
372
|
-
*/
|
|
373
|
-
createInboundCallStatusUpdateEvent(properties, options) {
|
|
374
|
-
const payload = {
|
|
375
|
-
entity: 'NotificationModule:TwilioCallEvents',
|
|
376
|
-
type: 'INBOUND_CALL_STATUS_UPDATE_EVENT',
|
|
377
|
-
actionName: 'CreateInboundCallStatusUpdateEvent',
|
|
378
|
-
properties: properties || {},
|
|
379
|
-
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
380
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
381
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
382
|
-
};
|
|
383
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'TwilioCallEvents', payload, () => { this._pendingLinks = []; });
|
|
384
|
-
}
|
|
385
|
-
/**
|
|
386
|
-
* CreateNumberCallStatusEvent
|
|
387
|
-
*
|
|
388
|
-
* Creates a new TwilioCallEvents record with the specified properties.
|
|
389
|
-
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
390
|
-
*
|
|
391
|
-
* @remarks Record type: NUMBER_CALL_STATUS_EVENT
|
|
392
|
-
*
|
|
393
|
-
* @param properties - The properties for the new record
|
|
394
|
-
* @param options - Optional settings
|
|
395
|
-
* @param options.journeyId - Associate with a journey
|
|
396
|
-
* @param options.stageKey - Set initial pipeline stage
|
|
397
|
-
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
398
|
-
*
|
|
399
|
-
* @example
|
|
400
|
-
* ```typescript
|
|
401
|
-
* // Create with properties
|
|
402
|
-
* const record = odinClient.twilioCallEventss.new();
|
|
403
|
-
* await record.createNumberCallStatusEvent({ ... }).execute();
|
|
404
|
-
*
|
|
405
|
-
* // Dry run (for debugging)
|
|
406
|
-
* const payload = record.createNumberCallStatusEvent({ ... }).dryRun();
|
|
407
|
-
* ```
|
|
408
|
-
*/
|
|
409
|
-
createNumberCallStatusEvent(properties, options) {
|
|
410
|
-
const payload = {
|
|
411
|
-
entity: 'NotificationModule:TwilioCallEvents',
|
|
412
|
-
type: 'NUMBER_CALL_STATUS_EVENT',
|
|
413
|
-
actionName: 'CreateNumberCallStatusEvent',
|
|
414
|
-
properties: properties || {},
|
|
415
|
-
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
416
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
417
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
418
|
-
};
|
|
419
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'TwilioCallEvents', payload, () => { this._pendingLinks = []; });
|
|
420
|
-
}
|
|
421
349
|
/**
|
|
422
350
|
* CreateOutboundCallEvent
|
|
423
351
|
*
|
|
@@ -454,78 +382,6 @@ class TwilioCallEventsRecord {
|
|
|
454
382
|
};
|
|
455
383
|
return new ActionBuilder(this._provider, 'NotificationModule', 'TwilioCallEvents', payload, () => { this._pendingLinks = []; });
|
|
456
384
|
}
|
|
457
|
-
/**
|
|
458
|
-
* CreateOutboundCallStatusUpdateEvent
|
|
459
|
-
*
|
|
460
|
-
* Creates a new TwilioCallEvents record with the specified properties.
|
|
461
|
-
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
462
|
-
*
|
|
463
|
-
* @remarks Record type: OUTBOUND_CALL_STATUS_UPDATE_EVENT
|
|
464
|
-
*
|
|
465
|
-
* @param properties - The properties for the new record
|
|
466
|
-
* @param options - Optional settings
|
|
467
|
-
* @param options.journeyId - Associate with a journey
|
|
468
|
-
* @param options.stageKey - Set initial pipeline stage
|
|
469
|
-
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
470
|
-
*
|
|
471
|
-
* @example
|
|
472
|
-
* ```typescript
|
|
473
|
-
* // Create with properties
|
|
474
|
-
* const record = odinClient.twilioCallEventss.new();
|
|
475
|
-
* await record.createOutboundCallStatusUpdateEvent({ ... }).execute();
|
|
476
|
-
*
|
|
477
|
-
* // Dry run (for debugging)
|
|
478
|
-
* const payload = record.createOutboundCallStatusUpdateEvent({ ... }).dryRun();
|
|
479
|
-
* ```
|
|
480
|
-
*/
|
|
481
|
-
createOutboundCallStatusUpdateEvent(properties, options) {
|
|
482
|
-
const payload = {
|
|
483
|
-
entity: 'NotificationModule:TwilioCallEvents',
|
|
484
|
-
type: 'OUTBOUND_CALL_STATUS_UPDATE_EVENT',
|
|
485
|
-
actionName: 'CreateOutboundCallStatusUpdateEvent',
|
|
486
|
-
properties: properties || {},
|
|
487
|
-
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
488
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
489
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
490
|
-
};
|
|
491
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'TwilioCallEvents', payload, () => { this._pendingLinks = []; });
|
|
492
|
-
}
|
|
493
|
-
/**
|
|
494
|
-
* CreateOutboundDialActionEvent
|
|
495
|
-
*
|
|
496
|
-
* Creates a new TwilioCallEvents record with the specified properties.
|
|
497
|
-
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
498
|
-
*
|
|
499
|
-
* @remarks Record type: OUTBOUND_DIAL_ACTION_EVENT
|
|
500
|
-
*
|
|
501
|
-
* @param properties - The properties for the new record
|
|
502
|
-
* @param options - Optional settings
|
|
503
|
-
* @param options.journeyId - Associate with a journey
|
|
504
|
-
* @param options.stageKey - Set initial pipeline stage
|
|
505
|
-
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
506
|
-
*
|
|
507
|
-
* @example
|
|
508
|
-
* ```typescript
|
|
509
|
-
* // Create with properties
|
|
510
|
-
* const record = odinClient.twilioCallEventss.new();
|
|
511
|
-
* await record.createOutboundDialActionEvent({ ... }).execute();
|
|
512
|
-
*
|
|
513
|
-
* // Dry run (for debugging)
|
|
514
|
-
* const payload = record.createOutboundDialActionEvent({ ... }).dryRun();
|
|
515
|
-
* ```
|
|
516
|
-
*/
|
|
517
|
-
createOutboundDialActionEvent(properties, options) {
|
|
518
|
-
const payload = {
|
|
519
|
-
entity: 'NotificationModule:TwilioCallEvents',
|
|
520
|
-
type: 'OUTBOUND_DIAL_ACTION_EVENT',
|
|
521
|
-
actionName: 'CreateOutboundDialActionEvent',
|
|
522
|
-
properties: properties || {},
|
|
523
|
-
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
524
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
525
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
526
|
-
};
|
|
527
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'TwilioCallEvents', payload, () => { this._pendingLinks = []; });
|
|
528
|
-
}
|
|
529
385
|
}
|
|
530
386
|
exports.TwilioCallEventsRecord = TwilioCallEventsRecord;
|
|
531
387
|
// ============================================
|
package/package.json
CHANGED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CreateInboundCallStatusUpdateEvent Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Create inbound call status update event
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity TwilioCallEvents
|
|
8
|
-
* @entityType INBOUND_CALL_STATUS_UPDATE_EVENT
|
|
9
|
-
* @actionKey CreateInboundCallStatusUpdateEvent
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateInboundCallStatusUpdateEvent
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
-
/**
|
|
16
|
-
* RabbitMQ message payload for CreateInboundCallStatusUpdateEvent created events
|
|
17
|
-
*
|
|
18
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateInboundCallStatusUpdateEvent
|
|
19
|
-
*/
|
|
20
|
-
export interface CreateInboundCallStatusUpdateEventMessage extends OdinRecordCreatedEvent<CreateInboundCallStatusUpdateEventDto, CreateInboundCallStatusUpdateEventProperties> {
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Properties for CreateInboundCallStatusUpdateEvent action
|
|
24
|
-
*
|
|
25
|
-
* @property Required fields: 6
|
|
26
|
-
* @property Optional fields: 0
|
|
27
|
-
*/
|
|
28
|
-
export interface CreateInboundCallStatusUpdateEventProperties {
|
|
29
|
-
/**
|
|
30
|
-
* CallSid
|
|
31
|
-
*
|
|
32
|
-
* Twilio id of the call
|
|
33
|
-
* @type {TEXT}
|
|
34
|
-
* @required
|
|
35
|
-
*/
|
|
36
|
-
CallSid: string;
|
|
37
|
-
/**
|
|
38
|
-
* CallId
|
|
39
|
-
*
|
|
40
|
-
* Reference of the call record
|
|
41
|
-
* @type {LOOKUP}
|
|
42
|
-
* @required
|
|
43
|
-
*/
|
|
44
|
-
CallId: string;
|
|
45
|
-
/**
|
|
46
|
-
* Query
|
|
47
|
-
*
|
|
48
|
-
* Query parameters of the request received from Twilio
|
|
49
|
-
* @type {JSON}
|
|
50
|
-
* @required
|
|
51
|
-
*/
|
|
52
|
-
Query: string;
|
|
53
|
-
/**
|
|
54
|
-
* Body
|
|
55
|
-
*
|
|
56
|
-
* Body of the request received from Twilio
|
|
57
|
-
* @type {JSON}
|
|
58
|
-
* @required
|
|
59
|
-
*/
|
|
60
|
-
Body: string;
|
|
61
|
-
/**
|
|
62
|
-
* ReceivedAt
|
|
63
|
-
*
|
|
64
|
-
* Moment of storing the event in odin
|
|
65
|
-
* @type {DATE_TIME}
|
|
66
|
-
* @required
|
|
67
|
-
*/
|
|
68
|
-
ReceivedAt: string;
|
|
69
|
-
/**
|
|
70
|
-
* Title
|
|
71
|
-
*
|
|
72
|
-
* Title of twilio call event record
|
|
73
|
-
* @type {TEXT}
|
|
74
|
-
* @required
|
|
75
|
-
*/
|
|
76
|
-
Title: string;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* CreateInboundCallStatusUpdateEvent
|
|
80
|
-
*
|
|
81
|
-
* Create inbound call status update event
|
|
82
|
-
*
|
|
83
|
-
* @actionType CREATE - Creates a new TwilioCallEvents record
|
|
84
|
-
* @module NotificationModule
|
|
85
|
-
* @entity TwilioCallEvents
|
|
86
|
-
* @entityType INBOUND_CALL_STATUS_UPDATE_EVENT (INBOUND_CALL_STATUS_UPDATE_EVENT)
|
|
87
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateInboundCallStatusUpdateEvent
|
|
88
|
-
* @permission schema.action.createinboundcallstatusupdateevent.trigger
|
|
89
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
90
|
-
*/
|
|
91
|
-
export declare class CreateInboundCallStatusUpdateEventDto extends OdinRecordCreateDto<CreateInboundCallStatusUpdateEventProperties> {
|
|
92
|
-
/** Used by SDK generators to identify action type */
|
|
93
|
-
static readonly ACTION_TYPE = "CREATE";
|
|
94
|
-
static readonly ACTION_KEY = "CreateInboundCallStatusUpdateEvent";
|
|
95
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
96
|
-
static readonly ENTITIES: string[];
|
|
97
|
-
static readonly ENTITY_TYPE = "INBOUND_CALL_STATUS_UPDATE_EVENT";
|
|
98
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateInboundCallStatusUpdateEvent";
|
|
99
|
-
static readonly PERMISSION = "schema.action.createinboundcallstatusupdateevent.trigger";
|
|
100
|
-
/** Step metadata - entity this action targets */
|
|
101
|
-
static readonly STEP_ENTITY = "NotificationModule:TwilioCallEvents";
|
|
102
|
-
static readonly STEP_SCHEMA_ID = "dff5448f-59f1-42dd-b6c8-f6ab4789b447";
|
|
103
|
-
static readonly STEP_SCHEMA_ACTION_ID = "560a05c9-c0fb-472d-a2d7-f8671b090d18";
|
|
104
|
-
static readonly STEP_SCHEMA_TYPE_ID = "6bc39832-3ee7-47db-85ad-169546464619";
|
|
105
|
-
static readonly STEP_TYPE = "INBOUND_CALL_STATUS_UPDATE_EVENT";
|
|
106
|
-
static readonly AUTO_LINK_PARENT = true;
|
|
107
|
-
readonly actionName: string;
|
|
108
|
-
readonly schemaActionId: string;
|
|
109
|
-
readonly entity: string;
|
|
110
|
-
constructor(properties: CreateInboundCallStatusUpdateEventProperties, options?: {
|
|
111
|
-
journeyId?: string;
|
|
112
|
-
});
|
|
113
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* CreateInboundCallStatusUpdateEvent Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Create inbound call status update event
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity TwilioCallEvents
|
|
9
|
-
* @entityType INBOUND_CALL_STATUS_UPDATE_EVENT
|
|
10
|
-
* @actionKey CreateInboundCallStatusUpdateEvent
|
|
11
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateInboundCallStatusUpdateEvent
|
|
12
|
-
*
|
|
13
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateInboundCallStatusUpdateEventDto = void 0;
|
|
17
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
-
/**
|
|
19
|
-
* CreateInboundCallStatusUpdateEvent
|
|
20
|
-
*
|
|
21
|
-
* Create inbound call status update event
|
|
22
|
-
*
|
|
23
|
-
* @actionType CREATE - Creates a new TwilioCallEvents record
|
|
24
|
-
* @module NotificationModule
|
|
25
|
-
* @entity TwilioCallEvents
|
|
26
|
-
* @entityType INBOUND_CALL_STATUS_UPDATE_EVENT (INBOUND_CALL_STATUS_UPDATE_EVENT)
|
|
27
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateInboundCallStatusUpdateEvent
|
|
28
|
-
* @permission schema.action.createinboundcallstatusupdateevent.trigger
|
|
29
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
-
*/
|
|
31
|
-
class CreateInboundCallStatusUpdateEventDto extends core_1.OdinRecordCreateDto {
|
|
32
|
-
constructor(properties, options) {
|
|
33
|
-
super({
|
|
34
|
-
entity: 'NotificationModule:TwilioCallEvents',
|
|
35
|
-
type: 'INBOUND_CALL_STATUS_UPDATE_EVENT',
|
|
36
|
-
properties,
|
|
37
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'CreateInboundCallStatusUpdateEvent';
|
|
40
|
-
this.schemaActionId = '560a05c9-c0fb-472d-a2d7-f8671b090d18';
|
|
41
|
-
this.entity = 'NotificationModule:TwilioCallEvents';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.CreateInboundCallStatusUpdateEventDto = CreateInboundCallStatusUpdateEventDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
CreateInboundCallStatusUpdateEventDto.ACTION_TYPE = 'CREATE';
|
|
47
|
-
CreateInboundCallStatusUpdateEventDto.ACTION_KEY = 'CreateInboundCallStatusUpdateEvent';
|
|
48
|
-
CreateInboundCallStatusUpdateEventDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
CreateInboundCallStatusUpdateEventDto.ENTITIES = ['TwilioCallEvents'];
|
|
50
|
-
CreateInboundCallStatusUpdateEventDto.ENTITY_TYPE = 'INBOUND_CALL_STATUS_UPDATE_EVENT';
|
|
51
|
-
CreateInboundCallStatusUpdateEventDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateInboundCallStatusUpdateEvent';
|
|
52
|
-
CreateInboundCallStatusUpdateEventDto.PERMISSION = 'schema.action.createinboundcallstatusupdateevent.trigger';
|
|
53
|
-
/** Step metadata - entity this action targets */
|
|
54
|
-
CreateInboundCallStatusUpdateEventDto.STEP_ENTITY = 'NotificationModule:TwilioCallEvents';
|
|
55
|
-
CreateInboundCallStatusUpdateEventDto.STEP_SCHEMA_ID = 'dff5448f-59f1-42dd-b6c8-f6ab4789b447';
|
|
56
|
-
CreateInboundCallStatusUpdateEventDto.STEP_SCHEMA_ACTION_ID = '560a05c9-c0fb-472d-a2d7-f8671b090d18';
|
|
57
|
-
CreateInboundCallStatusUpdateEventDto.STEP_SCHEMA_TYPE_ID = '6bc39832-3ee7-47db-85ad-169546464619';
|
|
58
|
-
CreateInboundCallStatusUpdateEventDto.STEP_TYPE = 'INBOUND_CALL_STATUS_UPDATE_EVENT';
|
|
59
|
-
CreateInboundCallStatusUpdateEventDto.AUTO_LINK_PARENT = true;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CreateNumberCallStatusEvent Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Create number call status event
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity TwilioCallEvents
|
|
8
|
-
* @entityType NUMBER_CALL_STATUS_EVENT
|
|
9
|
-
* @actionKey CreateNumberCallStatusEvent
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateNumberCallStatusEvent
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
-
/**
|
|
16
|
-
* RabbitMQ message payload for CreateNumberCallStatusEvent created events
|
|
17
|
-
*
|
|
18
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateNumberCallStatusEvent
|
|
19
|
-
*/
|
|
20
|
-
export interface CreateNumberCallStatusEventMessage extends OdinRecordCreatedEvent<CreateNumberCallStatusEventDto, CreateNumberCallStatusEventProperties> {
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Properties for CreateNumberCallStatusEvent action
|
|
24
|
-
*
|
|
25
|
-
* @property Required fields: 5
|
|
26
|
-
* @property Optional fields: 0
|
|
27
|
-
*/
|
|
28
|
-
export interface CreateNumberCallStatusEventProperties {
|
|
29
|
-
/**
|
|
30
|
-
* CallId
|
|
31
|
-
*
|
|
32
|
-
* Reference of the call record
|
|
33
|
-
* @type {LOOKUP}
|
|
34
|
-
* @required
|
|
35
|
-
*/
|
|
36
|
-
CallId: string;
|
|
37
|
-
/**
|
|
38
|
-
* CallSid
|
|
39
|
-
*
|
|
40
|
-
* Twilio id of the call
|
|
41
|
-
* @type {TEXT}
|
|
42
|
-
* @required
|
|
43
|
-
*/
|
|
44
|
-
CallSid: string;
|
|
45
|
-
/**
|
|
46
|
-
* Body
|
|
47
|
-
*
|
|
48
|
-
* Body of the request received from Twilio
|
|
49
|
-
* @type {JSON}
|
|
50
|
-
* @required
|
|
51
|
-
*/
|
|
52
|
-
Body: string;
|
|
53
|
-
/**
|
|
54
|
-
* ReceivedAt
|
|
55
|
-
*
|
|
56
|
-
* Moment of storing the event in odin
|
|
57
|
-
* @type {DATE_TIME}
|
|
58
|
-
* @required
|
|
59
|
-
*/
|
|
60
|
-
ReceivedAt: string;
|
|
61
|
-
/**
|
|
62
|
-
* Title
|
|
63
|
-
*
|
|
64
|
-
* Title of twilio call event record
|
|
65
|
-
* @type {TEXT}
|
|
66
|
-
* @required
|
|
67
|
-
*/
|
|
68
|
-
Title: string;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* CreateNumberCallStatusEvent
|
|
72
|
-
*
|
|
73
|
-
* Create number call status event
|
|
74
|
-
*
|
|
75
|
-
* @actionType CREATE - Creates a new TwilioCallEvents record
|
|
76
|
-
* @module NotificationModule
|
|
77
|
-
* @entity TwilioCallEvents
|
|
78
|
-
* @entityType NUMBER_CALL_STATUS_EVENT (NUMBER_CALL_STATUS_EVENT)
|
|
79
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateNumberCallStatusEvent
|
|
80
|
-
* @permission schema.action.createnumbercallstatusevent.trigger
|
|
81
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
82
|
-
*/
|
|
83
|
-
export declare class CreateNumberCallStatusEventDto extends OdinRecordCreateDto<CreateNumberCallStatusEventProperties> {
|
|
84
|
-
/** Used by SDK generators to identify action type */
|
|
85
|
-
static readonly ACTION_TYPE = "CREATE";
|
|
86
|
-
static readonly ACTION_KEY = "CreateNumberCallStatusEvent";
|
|
87
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
88
|
-
static readonly ENTITIES: string[];
|
|
89
|
-
static readonly ENTITY_TYPE = "NUMBER_CALL_STATUS_EVENT";
|
|
90
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateNumberCallStatusEvent";
|
|
91
|
-
static readonly PERMISSION = "schema.action.createnumbercallstatusevent.trigger";
|
|
92
|
-
/** Step metadata - entity this action targets */
|
|
93
|
-
static readonly STEP_ENTITY = "NotificationModule:TwilioCallEvents";
|
|
94
|
-
static readonly STEP_SCHEMA_ID = "dff5448f-59f1-42dd-b6c8-f6ab4789b447";
|
|
95
|
-
static readonly STEP_SCHEMA_ACTION_ID = "bcd78567-c88b-44f5-b20a-7b9e7618364a";
|
|
96
|
-
static readonly STEP_SCHEMA_TYPE_ID = "fbb07811-9180-417e-8f12-b13815c5ad6f";
|
|
97
|
-
static readonly STEP_TYPE = "NUMBER_CALL_STATUS_EVENT";
|
|
98
|
-
static readonly AUTO_LINK_PARENT = true;
|
|
99
|
-
readonly actionName: string;
|
|
100
|
-
readonly schemaActionId: string;
|
|
101
|
-
readonly entity: string;
|
|
102
|
-
constructor(properties: CreateNumberCallStatusEventProperties, options?: {
|
|
103
|
-
journeyId?: string;
|
|
104
|
-
});
|
|
105
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* CreateNumberCallStatusEvent Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Create number call status event
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity TwilioCallEvents
|
|
9
|
-
* @entityType NUMBER_CALL_STATUS_EVENT
|
|
10
|
-
* @actionKey CreateNumberCallStatusEvent
|
|
11
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateNumberCallStatusEvent
|
|
12
|
-
*
|
|
13
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateNumberCallStatusEventDto = void 0;
|
|
17
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
-
/**
|
|
19
|
-
* CreateNumberCallStatusEvent
|
|
20
|
-
*
|
|
21
|
-
* Create number call status event
|
|
22
|
-
*
|
|
23
|
-
* @actionType CREATE - Creates a new TwilioCallEvents record
|
|
24
|
-
* @module NotificationModule
|
|
25
|
-
* @entity TwilioCallEvents
|
|
26
|
-
* @entityType NUMBER_CALL_STATUS_EVENT (NUMBER_CALL_STATUS_EVENT)
|
|
27
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateNumberCallStatusEvent
|
|
28
|
-
* @permission schema.action.createnumbercallstatusevent.trigger
|
|
29
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
-
*/
|
|
31
|
-
class CreateNumberCallStatusEventDto extends core_1.OdinRecordCreateDto {
|
|
32
|
-
constructor(properties, options) {
|
|
33
|
-
super({
|
|
34
|
-
entity: 'NotificationModule:TwilioCallEvents',
|
|
35
|
-
type: 'NUMBER_CALL_STATUS_EVENT',
|
|
36
|
-
properties,
|
|
37
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'CreateNumberCallStatusEvent';
|
|
40
|
-
this.schemaActionId = 'bcd78567-c88b-44f5-b20a-7b9e7618364a';
|
|
41
|
-
this.entity = 'NotificationModule:TwilioCallEvents';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.CreateNumberCallStatusEventDto = CreateNumberCallStatusEventDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
CreateNumberCallStatusEventDto.ACTION_TYPE = 'CREATE';
|
|
47
|
-
CreateNumberCallStatusEventDto.ACTION_KEY = 'CreateNumberCallStatusEvent';
|
|
48
|
-
CreateNumberCallStatusEventDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
CreateNumberCallStatusEventDto.ENTITIES = ['TwilioCallEvents'];
|
|
50
|
-
CreateNumberCallStatusEventDto.ENTITY_TYPE = 'NUMBER_CALL_STATUS_EVENT';
|
|
51
|
-
CreateNumberCallStatusEventDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateNumberCallStatusEvent';
|
|
52
|
-
CreateNumberCallStatusEventDto.PERMISSION = 'schema.action.createnumbercallstatusevent.trigger';
|
|
53
|
-
/** Step metadata - entity this action targets */
|
|
54
|
-
CreateNumberCallStatusEventDto.STEP_ENTITY = 'NotificationModule:TwilioCallEvents';
|
|
55
|
-
CreateNumberCallStatusEventDto.STEP_SCHEMA_ID = 'dff5448f-59f1-42dd-b6c8-f6ab4789b447';
|
|
56
|
-
CreateNumberCallStatusEventDto.STEP_SCHEMA_ACTION_ID = 'bcd78567-c88b-44f5-b20a-7b9e7618364a';
|
|
57
|
-
CreateNumberCallStatusEventDto.STEP_SCHEMA_TYPE_ID = 'fbb07811-9180-417e-8f12-b13815c5ad6f';
|
|
58
|
-
CreateNumberCallStatusEventDto.STEP_TYPE = 'NUMBER_CALL_STATUS_EVENT';
|
|
59
|
-
CreateNumberCallStatusEventDto.AUTO_LINK_PARENT = true;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CreateOutboundCallStatusUpdateEvent Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Create outbound call status update event
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity TwilioCallEvents
|
|
8
|
-
* @entityType OUTBOUND_CALL_STATUS_UPDATE_EVENT
|
|
9
|
-
* @actionKey CreateOutboundCallStatusUpdateEvent
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundCallStatusUpdateEvent
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
-
/**
|
|
16
|
-
* RabbitMQ message payload for CreateOutboundCallStatusUpdateEvent created events
|
|
17
|
-
*
|
|
18
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundCallStatusUpdateEvent
|
|
19
|
-
*/
|
|
20
|
-
export interface CreateOutboundCallStatusUpdateEventMessage extends OdinRecordCreatedEvent<CreateOutboundCallStatusUpdateEventDto, CreateOutboundCallStatusUpdateEventProperties> {
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Properties for CreateOutboundCallStatusUpdateEvent action
|
|
24
|
-
*
|
|
25
|
-
* @property Required fields: 6
|
|
26
|
-
* @property Optional fields: 0
|
|
27
|
-
*/
|
|
28
|
-
export interface CreateOutboundCallStatusUpdateEventProperties {
|
|
29
|
-
/**
|
|
30
|
-
* CallId
|
|
31
|
-
*
|
|
32
|
-
* Reference of the call record
|
|
33
|
-
* @type {LOOKUP}
|
|
34
|
-
* @required
|
|
35
|
-
*/
|
|
36
|
-
CallId: string;
|
|
37
|
-
/**
|
|
38
|
-
* CallSid
|
|
39
|
-
*
|
|
40
|
-
* Twilio id of the call
|
|
41
|
-
* @type {TEXT}
|
|
42
|
-
* @required
|
|
43
|
-
*/
|
|
44
|
-
CallSid: string;
|
|
45
|
-
/**
|
|
46
|
-
* Body
|
|
47
|
-
*
|
|
48
|
-
* Body of the request received from Twilio
|
|
49
|
-
* @type {JSON}
|
|
50
|
-
* @required
|
|
51
|
-
*/
|
|
52
|
-
Body: string;
|
|
53
|
-
/**
|
|
54
|
-
* Query
|
|
55
|
-
*
|
|
56
|
-
* Query parameters of the request received from Twilio
|
|
57
|
-
* @type {JSON}
|
|
58
|
-
* @required
|
|
59
|
-
*/
|
|
60
|
-
Query: string;
|
|
61
|
-
/**
|
|
62
|
-
* ReceivedAt
|
|
63
|
-
*
|
|
64
|
-
* Moment of storing the event in odin
|
|
65
|
-
* @type {DATE_TIME}
|
|
66
|
-
* @required
|
|
67
|
-
*/
|
|
68
|
-
ReceivedAt: string;
|
|
69
|
-
/**
|
|
70
|
-
* Title
|
|
71
|
-
*
|
|
72
|
-
* Title of twilio call event record
|
|
73
|
-
* @type {TEXT}
|
|
74
|
-
* @required
|
|
75
|
-
*/
|
|
76
|
-
Title: string;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* CreateOutboundCallStatusUpdateEvent
|
|
80
|
-
*
|
|
81
|
-
* Create outbound call status update event
|
|
82
|
-
*
|
|
83
|
-
* @actionType CREATE - Creates a new TwilioCallEvents record
|
|
84
|
-
* @module NotificationModule
|
|
85
|
-
* @entity TwilioCallEvents
|
|
86
|
-
* @entityType OUTBOUND_CALL_STATUS_UPDATE_EVENT (OUTBOUND_CALL_STATUS_UPDATE_EVENT)
|
|
87
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundCallStatusUpdateEvent
|
|
88
|
-
* @permission schema.action.createoutboundcallstatusupdateevent.trigger
|
|
89
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
90
|
-
*/
|
|
91
|
-
export declare class CreateOutboundCallStatusUpdateEventDto extends OdinRecordCreateDto<CreateOutboundCallStatusUpdateEventProperties> {
|
|
92
|
-
/** Used by SDK generators to identify action type */
|
|
93
|
-
static readonly ACTION_TYPE = "CREATE";
|
|
94
|
-
static readonly ACTION_KEY = "CreateOutboundCallStatusUpdateEvent";
|
|
95
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
96
|
-
static readonly ENTITIES: string[];
|
|
97
|
-
static readonly ENTITY_TYPE = "OUTBOUND_CALL_STATUS_UPDATE_EVENT";
|
|
98
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundCallStatusUpdateEvent";
|
|
99
|
-
static readonly PERMISSION = "schema.action.createoutboundcallstatusupdateevent.trigger";
|
|
100
|
-
/** Step metadata - entity this action targets */
|
|
101
|
-
static readonly STEP_ENTITY = "NotificationModule:TwilioCallEvents";
|
|
102
|
-
static readonly STEP_SCHEMA_ID = "dff5448f-59f1-42dd-b6c8-f6ab4789b447";
|
|
103
|
-
static readonly STEP_SCHEMA_ACTION_ID = "1ab1f738-7a6f-45c9-9f17-928ea6bf8d52";
|
|
104
|
-
static readonly STEP_SCHEMA_TYPE_ID = "a6c1301b-ada9-4a57-940d-1afc3d643a76";
|
|
105
|
-
static readonly STEP_TYPE = "OUTBOUND_CALL_STATUS_UPDATE_EVENT";
|
|
106
|
-
static readonly AUTO_LINK_PARENT = true;
|
|
107
|
-
readonly actionName: string;
|
|
108
|
-
readonly schemaActionId: string;
|
|
109
|
-
readonly entity: string;
|
|
110
|
-
constructor(properties: CreateOutboundCallStatusUpdateEventProperties, options?: {
|
|
111
|
-
journeyId?: string;
|
|
112
|
-
});
|
|
113
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* CreateOutboundCallStatusUpdateEvent Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Create outbound call status update event
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity TwilioCallEvents
|
|
9
|
-
* @entityType OUTBOUND_CALL_STATUS_UPDATE_EVENT
|
|
10
|
-
* @actionKey CreateOutboundCallStatusUpdateEvent
|
|
11
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundCallStatusUpdateEvent
|
|
12
|
-
*
|
|
13
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateOutboundCallStatusUpdateEventDto = void 0;
|
|
17
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
-
/**
|
|
19
|
-
* CreateOutboundCallStatusUpdateEvent
|
|
20
|
-
*
|
|
21
|
-
* Create outbound call status update event
|
|
22
|
-
*
|
|
23
|
-
* @actionType CREATE - Creates a new TwilioCallEvents record
|
|
24
|
-
* @module NotificationModule
|
|
25
|
-
* @entity TwilioCallEvents
|
|
26
|
-
* @entityType OUTBOUND_CALL_STATUS_UPDATE_EVENT (OUTBOUND_CALL_STATUS_UPDATE_EVENT)
|
|
27
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundCallStatusUpdateEvent
|
|
28
|
-
* @permission schema.action.createoutboundcallstatusupdateevent.trigger
|
|
29
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
-
*/
|
|
31
|
-
class CreateOutboundCallStatusUpdateEventDto extends core_1.OdinRecordCreateDto {
|
|
32
|
-
constructor(properties, options) {
|
|
33
|
-
super({
|
|
34
|
-
entity: 'NotificationModule:TwilioCallEvents',
|
|
35
|
-
type: 'OUTBOUND_CALL_STATUS_UPDATE_EVENT',
|
|
36
|
-
properties,
|
|
37
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'CreateOutboundCallStatusUpdateEvent';
|
|
40
|
-
this.schemaActionId = '1ab1f738-7a6f-45c9-9f17-928ea6bf8d52';
|
|
41
|
-
this.entity = 'NotificationModule:TwilioCallEvents';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.CreateOutboundCallStatusUpdateEventDto = CreateOutboundCallStatusUpdateEventDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
CreateOutboundCallStatusUpdateEventDto.ACTION_TYPE = 'CREATE';
|
|
47
|
-
CreateOutboundCallStatusUpdateEventDto.ACTION_KEY = 'CreateOutboundCallStatusUpdateEvent';
|
|
48
|
-
CreateOutboundCallStatusUpdateEventDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
CreateOutboundCallStatusUpdateEventDto.ENTITIES = ['TwilioCallEvents'];
|
|
50
|
-
CreateOutboundCallStatusUpdateEventDto.ENTITY_TYPE = 'OUTBOUND_CALL_STATUS_UPDATE_EVENT';
|
|
51
|
-
CreateOutboundCallStatusUpdateEventDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundCallStatusUpdateEvent';
|
|
52
|
-
CreateOutboundCallStatusUpdateEventDto.PERMISSION = 'schema.action.createoutboundcallstatusupdateevent.trigger';
|
|
53
|
-
/** Step metadata - entity this action targets */
|
|
54
|
-
CreateOutboundCallStatusUpdateEventDto.STEP_ENTITY = 'NotificationModule:TwilioCallEvents';
|
|
55
|
-
CreateOutboundCallStatusUpdateEventDto.STEP_SCHEMA_ID = 'dff5448f-59f1-42dd-b6c8-f6ab4789b447';
|
|
56
|
-
CreateOutboundCallStatusUpdateEventDto.STEP_SCHEMA_ACTION_ID = '1ab1f738-7a6f-45c9-9f17-928ea6bf8d52';
|
|
57
|
-
CreateOutboundCallStatusUpdateEventDto.STEP_SCHEMA_TYPE_ID = 'a6c1301b-ada9-4a57-940d-1afc3d643a76';
|
|
58
|
-
CreateOutboundCallStatusUpdateEventDto.STEP_TYPE = 'OUTBOUND_CALL_STATUS_UPDATE_EVENT';
|
|
59
|
-
CreateOutboundCallStatusUpdateEventDto.AUTO_LINK_PARENT = true;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CreateOutboundDialActionEvent Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Create outbound dial action event
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity TwilioCallEvents
|
|
8
|
-
* @entityType OUTBOUND_DIAL_ACTION_EVENT
|
|
9
|
-
* @actionKey CreateOutboundDialActionEvent
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundDialActionEvent
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
-
/**
|
|
16
|
-
* RabbitMQ message payload for CreateOutboundDialActionEvent created events
|
|
17
|
-
*
|
|
18
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundDialActionEvent
|
|
19
|
-
*/
|
|
20
|
-
export interface CreateOutboundDialActionEventMessage extends OdinRecordCreatedEvent<CreateOutboundDialActionEventDto, CreateOutboundDialActionEventProperties> {
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Properties for CreateOutboundDialActionEvent action
|
|
24
|
-
*
|
|
25
|
-
* @property Required fields: 6
|
|
26
|
-
* @property Optional fields: 0
|
|
27
|
-
*/
|
|
28
|
-
export interface CreateOutboundDialActionEventProperties {
|
|
29
|
-
/**
|
|
30
|
-
* CallId
|
|
31
|
-
*
|
|
32
|
-
* Reference of the call record
|
|
33
|
-
* @type {LOOKUP}
|
|
34
|
-
* @required
|
|
35
|
-
*/
|
|
36
|
-
CallId: string;
|
|
37
|
-
/**
|
|
38
|
-
* CallSid
|
|
39
|
-
*
|
|
40
|
-
* Twilio id of the call
|
|
41
|
-
* @type {TEXT}
|
|
42
|
-
* @required
|
|
43
|
-
*/
|
|
44
|
-
CallSid: string;
|
|
45
|
-
/**
|
|
46
|
-
* Body
|
|
47
|
-
*
|
|
48
|
-
* Body of the request received from Twilio
|
|
49
|
-
* @type {JSON}
|
|
50
|
-
* @required
|
|
51
|
-
*/
|
|
52
|
-
Body: string;
|
|
53
|
-
/**
|
|
54
|
-
* Query
|
|
55
|
-
*
|
|
56
|
-
* Query parameters of the request received from Twilio
|
|
57
|
-
* @type {JSON}
|
|
58
|
-
* @required
|
|
59
|
-
*/
|
|
60
|
-
Query: string;
|
|
61
|
-
/**
|
|
62
|
-
* ReceivedAt
|
|
63
|
-
*
|
|
64
|
-
* Moment of storing the event in odin
|
|
65
|
-
* @type {DATE_TIME}
|
|
66
|
-
* @required
|
|
67
|
-
*/
|
|
68
|
-
ReceivedAt: string;
|
|
69
|
-
/**
|
|
70
|
-
* Title
|
|
71
|
-
*
|
|
72
|
-
* Title of twilio call event record
|
|
73
|
-
* @type {TEXT}
|
|
74
|
-
* @required
|
|
75
|
-
*/
|
|
76
|
-
Title: string;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* CreateOutboundDialActionEvent
|
|
80
|
-
*
|
|
81
|
-
* Create outbound dial action event
|
|
82
|
-
*
|
|
83
|
-
* @actionType CREATE - Creates a new TwilioCallEvents record
|
|
84
|
-
* @module NotificationModule
|
|
85
|
-
* @entity TwilioCallEvents
|
|
86
|
-
* @entityType OUTBOUND_DIAL_ACTION_EVENT (OUTBOUND_DIAL_ACTION_EVENT)
|
|
87
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundDialActionEvent
|
|
88
|
-
* @permission schema.action.createoutbounddialactionevent.trigger
|
|
89
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
90
|
-
*/
|
|
91
|
-
export declare class CreateOutboundDialActionEventDto extends OdinRecordCreateDto<CreateOutboundDialActionEventProperties> {
|
|
92
|
-
/** Used by SDK generators to identify action type */
|
|
93
|
-
static readonly ACTION_TYPE = "CREATE";
|
|
94
|
-
static readonly ACTION_KEY = "CreateOutboundDialActionEvent";
|
|
95
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
96
|
-
static readonly ENTITIES: string[];
|
|
97
|
-
static readonly ENTITY_TYPE = "OUTBOUND_DIAL_ACTION_EVENT";
|
|
98
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundDialActionEvent";
|
|
99
|
-
static readonly PERMISSION = "schema.action.createoutbounddialactionevent.trigger";
|
|
100
|
-
/** Step metadata - entity this action targets */
|
|
101
|
-
static readonly STEP_ENTITY = "NotificationModule:TwilioCallEvents";
|
|
102
|
-
static readonly STEP_SCHEMA_ID = "dff5448f-59f1-42dd-b6c8-f6ab4789b447";
|
|
103
|
-
static readonly STEP_SCHEMA_ACTION_ID = "26b4d029-fa33-4121-a653-05f67b265772";
|
|
104
|
-
static readonly STEP_SCHEMA_TYPE_ID = "bc1fcd12-02c7-49f1-9e58-eec50677e084";
|
|
105
|
-
static readonly STEP_TYPE = "OUTBOUND_DIAL_ACTION_EVENT";
|
|
106
|
-
static readonly AUTO_LINK_PARENT = true;
|
|
107
|
-
readonly actionName: string;
|
|
108
|
-
readonly schemaActionId: string;
|
|
109
|
-
readonly entity: string;
|
|
110
|
-
constructor(properties: CreateOutboundDialActionEventProperties, options?: {
|
|
111
|
-
journeyId?: string;
|
|
112
|
-
});
|
|
113
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* CreateOutboundDialActionEvent Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Create outbound dial action event
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity TwilioCallEvents
|
|
9
|
-
* @entityType OUTBOUND_DIAL_ACTION_EVENT
|
|
10
|
-
* @actionKey CreateOutboundDialActionEvent
|
|
11
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundDialActionEvent
|
|
12
|
-
*
|
|
13
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateOutboundDialActionEventDto = void 0;
|
|
17
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
-
/**
|
|
19
|
-
* CreateOutboundDialActionEvent
|
|
20
|
-
*
|
|
21
|
-
* Create outbound dial action event
|
|
22
|
-
*
|
|
23
|
-
* @actionType CREATE - Creates a new TwilioCallEvents record
|
|
24
|
-
* @module NotificationModule
|
|
25
|
-
* @entity TwilioCallEvents
|
|
26
|
-
* @entityType OUTBOUND_DIAL_ACTION_EVENT (OUTBOUND_DIAL_ACTION_EVENT)
|
|
27
|
-
* @event k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundDialActionEvent
|
|
28
|
-
* @permission schema.action.createoutbounddialactionevent.trigger
|
|
29
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
-
*/
|
|
31
|
-
class CreateOutboundDialActionEventDto extends core_1.OdinRecordCreateDto {
|
|
32
|
-
constructor(properties, options) {
|
|
33
|
-
super({
|
|
34
|
-
entity: 'NotificationModule:TwilioCallEvents',
|
|
35
|
-
type: 'OUTBOUND_DIAL_ACTION_EVENT',
|
|
36
|
-
properties,
|
|
37
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'CreateOutboundDialActionEvent';
|
|
40
|
-
this.schemaActionId = '26b4d029-fa33-4121-a653-05f67b265772';
|
|
41
|
-
this.entity = 'NotificationModule:TwilioCallEvents';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.CreateOutboundDialActionEventDto = CreateOutboundDialActionEventDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
CreateOutboundDialActionEventDto.ACTION_TYPE = 'CREATE';
|
|
47
|
-
CreateOutboundDialActionEventDto.ACTION_KEY = 'CreateOutboundDialActionEvent';
|
|
48
|
-
CreateOutboundDialActionEventDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
CreateOutboundDialActionEventDto.ENTITIES = ['TwilioCallEvents'];
|
|
50
|
-
CreateOutboundDialActionEventDto.ENTITY_TYPE = 'OUTBOUND_DIAL_ACTION_EVENT';
|
|
51
|
-
CreateOutboundDialActionEventDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.TwilioCallEvents.Create.CreateOutboundDialActionEvent';
|
|
52
|
-
CreateOutboundDialActionEventDto.PERMISSION = 'schema.action.createoutbounddialactionevent.trigger';
|
|
53
|
-
/** Step metadata - entity this action targets */
|
|
54
|
-
CreateOutboundDialActionEventDto.STEP_ENTITY = 'NotificationModule:TwilioCallEvents';
|
|
55
|
-
CreateOutboundDialActionEventDto.STEP_SCHEMA_ID = 'dff5448f-59f1-42dd-b6c8-f6ab4789b447';
|
|
56
|
-
CreateOutboundDialActionEventDto.STEP_SCHEMA_ACTION_ID = '26b4d029-fa33-4121-a653-05f67b265772';
|
|
57
|
-
CreateOutboundDialActionEventDto.STEP_SCHEMA_TYPE_ID = 'bc1fcd12-02c7-49f1-9e58-eec50677e084';
|
|
58
|
-
CreateOutboundDialActionEventDto.STEP_TYPE = 'OUTBOUND_DIAL_ACTION_EVENT';
|
|
59
|
-
CreateOutboundDialActionEventDto.AUTO_LINK_PARENT = true;
|