@d19n/youfibre-odin-sdk 2.0.138 → 2.0.139
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 -6
- package/dist/records-v2/CallLegRecord.d.ts +0 -135
- package/dist/records-v2/CallLegRecord.js +0 -145
- package/package.json +1 -1
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallFailedDto.d.ts +0 -88
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallFailedDto.js +0 -56
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto.d.ts +0 -88
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto.js +0 -56
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallCanceledDto.d.ts +0 -81
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallCanceledDto.js +0 -56
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallFailedDto.d.ts +0 -81
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallFailedDto.js +0 -56
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.d.ts +0 -81
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.js +0 -56
package/README.md
CHANGED
|
@@ -353,7 +353,7 @@ This SDK includes **165** entities across **12** modules.
|
|
|
353
353
|
|
|
354
354
|
## Actions
|
|
355
355
|
|
|
356
|
-
This SDK includes **
|
|
356
|
+
This SDK includes **682** actions.
|
|
357
357
|
|
|
358
358
|
### Action Types
|
|
359
359
|
|
|
@@ -1204,15 +1204,10 @@ This SDK includes **687** actions.
|
|
|
1204
1204
|
| `UpdateAgentCallLegOnIncomingCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging |
|
|
1205
1205
|
| `UpdateAgentCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallAnswered |
|
|
1206
1206
|
| `UpdateAgentCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted |
|
|
1207
|
-
| `UpdateAgentCallLegOnOutboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed |
|
|
1208
|
-
| `UpdateAgentCallLegOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer |
|
|
1209
1207
|
| `UpdateAgentCallLegOnOutboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging |
|
|
1210
1208
|
| `UpdateCall` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCall |
|
|
1211
1209
|
| `UpdateCustomerCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallAnswered |
|
|
1212
|
-
| `UpdateCustomerCallLegOnIncomingCallCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled |
|
|
1213
1210
|
| `UpdateCustomerCallLegOnIncomingCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCompleted |
|
|
1214
|
-
| `UpdateCustomerCallLegOnIncomingCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed |
|
|
1215
|
-
| `UpdateCustomerCallLegOnIncomingCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer |
|
|
1216
1211
|
| `UpdateCustomerCallLegOnIncomingCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallRinging |
|
|
1217
1212
|
| `UpdateCustomerCallLegOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted |
|
|
1218
1213
|
| `UpdateCustomerCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallAnswered |
|
|
@@ -33,15 +33,10 @@ import { UpdateAgentCallLegOnIncomingCallNoAnswerProperties } from '../actions-v
|
|
|
33
33
|
import { UpdateAgentCallLegOnIncomingCallRingingProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallRingingDto';
|
|
34
34
|
import { UpdateAgentCallLegOnOutboundCallAnsweredProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallAnsweredDto';
|
|
35
35
|
import { UpdateAgentCallLegOnOutboundCallCompletedProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallCompletedDto';
|
|
36
|
-
import { UpdateAgentCallLegOnOutboundCallFailedProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallFailedDto';
|
|
37
|
-
import { UpdateAgentCallLegOnOutboundCallNoAnswerProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto';
|
|
38
36
|
import { UpdateAgentCallLegOnOutboundCallRingingProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallRingingDto';
|
|
39
37
|
import { UpdateCallProperties } from '../actions-v2/UpdateCallDto';
|
|
40
38
|
import { UpdateCustomerCallLegOnIncomingCallAnsweredProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallAnsweredDto';
|
|
41
|
-
import { UpdateCustomerCallLegOnIncomingCallCanceledProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallCanceledDto';
|
|
42
39
|
import { UpdateCustomerCallLegOnIncomingCallCompletedProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallCompletedDto';
|
|
43
|
-
import { UpdateCustomerCallLegOnIncomingCallFailedProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallFailedDto';
|
|
44
|
-
import { UpdateCustomerCallLegOnIncomingCallNoAnswerProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto';
|
|
45
40
|
import { UpdateCustomerCallLegOnIncomingCallRingingProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallRingingDto';
|
|
46
41
|
import { UpdateCustomerCallLegOnNumberCallStatusCompletedProperties } from '../actions-v2/UpdateCustomerCallLegOnNumberCallStatusCompletedDto';
|
|
47
42
|
import { UpdateCustomerCallLegOnOutboundCallAnsweredProperties } from '../actions-v2/UpdateCustomerCallLegOnOutboundCallAnsweredDto';
|
|
@@ -500,58 +495,6 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
|
|
|
500
495
|
journeyId?: string;
|
|
501
496
|
stageKey?: string;
|
|
502
497
|
}): ActionBuilder;
|
|
503
|
-
/**
|
|
504
|
-
* UpdateAgentCallLegOnOutboundCallFailed
|
|
505
|
-
*
|
|
506
|
-
* Updates this CallLeg record with the specified properties.
|
|
507
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
508
|
-
*
|
|
509
|
-
* @param properties - Required properties for this action
|
|
510
|
-
* @param options - Optional settings
|
|
511
|
-
* @param options.journeyId - Associate with a journey
|
|
512
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
513
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
514
|
-
* @throws Error if called on a new (unsaved) record
|
|
515
|
-
*
|
|
516
|
-
* @example
|
|
517
|
-
* ```typescript
|
|
518
|
-
* const record = await odinClient.callLegs.get(id);
|
|
519
|
-
* await record.updateAgentCallLegOnOutboundCallFailed({ ... }).execute();
|
|
520
|
-
*
|
|
521
|
-
* // Dry run (for debugging)
|
|
522
|
-
* const payload = record.updateAgentCallLegOnOutboundCallFailed({ ... }).dryRun();
|
|
523
|
-
* ```
|
|
524
|
-
*/
|
|
525
|
-
updateAgentCallLegOnOutboundCallFailed(properties: UpdateAgentCallLegOnOutboundCallFailedProperties, options?: {
|
|
526
|
-
journeyId?: string;
|
|
527
|
-
stageKey?: string;
|
|
528
|
-
}): ActionBuilder;
|
|
529
|
-
/**
|
|
530
|
-
* UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
531
|
-
*
|
|
532
|
-
* Updates this CallLeg record with the specified properties.
|
|
533
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
534
|
-
*
|
|
535
|
-
* @param properties - Required properties for this action
|
|
536
|
-
* @param options - Optional settings
|
|
537
|
-
* @param options.journeyId - Associate with a journey
|
|
538
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
539
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
540
|
-
* @throws Error if called on a new (unsaved) record
|
|
541
|
-
*
|
|
542
|
-
* @example
|
|
543
|
-
* ```typescript
|
|
544
|
-
* const record = await odinClient.callLegs.get(id);
|
|
545
|
-
* await record.updateAgentCallLegOnOutboundCallNoAnswer({ ... }).execute();
|
|
546
|
-
*
|
|
547
|
-
* // Dry run (for debugging)
|
|
548
|
-
* const payload = record.updateAgentCallLegOnOutboundCallNoAnswer({ ... }).dryRun();
|
|
549
|
-
* ```
|
|
550
|
-
*/
|
|
551
|
-
updateAgentCallLegOnOutboundCallNoAnswer(properties: UpdateAgentCallLegOnOutboundCallNoAnswerProperties, options?: {
|
|
552
|
-
journeyId?: string;
|
|
553
|
-
stageKey?: string;
|
|
554
|
-
}): ActionBuilder;
|
|
555
498
|
/**
|
|
556
499
|
* UpdateAgentCallLegOnOutboundCallRinging
|
|
557
500
|
*
|
|
@@ -631,32 +574,6 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
|
|
|
631
574
|
journeyId?: string;
|
|
632
575
|
stageKey?: string;
|
|
633
576
|
}): ActionBuilder;
|
|
634
|
-
/**
|
|
635
|
-
* UpdateCustomerCallLegOnIncomingCallCanceled
|
|
636
|
-
*
|
|
637
|
-
* Updates this CallLeg record with the specified properties.
|
|
638
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
639
|
-
*
|
|
640
|
-
* @param properties - Required properties for this action
|
|
641
|
-
* @param options - Optional settings
|
|
642
|
-
* @param options.journeyId - Associate with a journey
|
|
643
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
644
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
645
|
-
* @throws Error if called on a new (unsaved) record
|
|
646
|
-
*
|
|
647
|
-
* @example
|
|
648
|
-
* ```typescript
|
|
649
|
-
* const record = await odinClient.callLegs.get(id);
|
|
650
|
-
* await record.updateCustomerCallLegOnIncomingCallCanceled({ ... }).execute();
|
|
651
|
-
*
|
|
652
|
-
* // Dry run (for debugging)
|
|
653
|
-
* const payload = record.updateCustomerCallLegOnIncomingCallCanceled({ ... }).dryRun();
|
|
654
|
-
* ```
|
|
655
|
-
*/
|
|
656
|
-
updateCustomerCallLegOnIncomingCallCanceled(properties: UpdateCustomerCallLegOnIncomingCallCanceledProperties, options?: {
|
|
657
|
-
journeyId?: string;
|
|
658
|
-
stageKey?: string;
|
|
659
|
-
}): ActionBuilder;
|
|
660
577
|
/**
|
|
661
578
|
* UpdateCustomerCallLegOnIncomingCallCompleted
|
|
662
579
|
*
|
|
@@ -683,58 +600,6 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
|
|
|
683
600
|
journeyId?: string;
|
|
684
601
|
stageKey?: string;
|
|
685
602
|
}): ActionBuilder;
|
|
686
|
-
/**
|
|
687
|
-
* UpdateCustomerCallLegOnIncomingCallFailed
|
|
688
|
-
*
|
|
689
|
-
* Updates this CallLeg record with the specified properties.
|
|
690
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
691
|
-
*
|
|
692
|
-
* @param properties - Required properties for this action
|
|
693
|
-
* @param options - Optional settings
|
|
694
|
-
* @param options.journeyId - Associate with a journey
|
|
695
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
696
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
697
|
-
* @throws Error if called on a new (unsaved) record
|
|
698
|
-
*
|
|
699
|
-
* @example
|
|
700
|
-
* ```typescript
|
|
701
|
-
* const record = await odinClient.callLegs.get(id);
|
|
702
|
-
* await record.updateCustomerCallLegOnIncomingCallFailed({ ... }).execute();
|
|
703
|
-
*
|
|
704
|
-
* // Dry run (for debugging)
|
|
705
|
-
* const payload = record.updateCustomerCallLegOnIncomingCallFailed({ ... }).dryRun();
|
|
706
|
-
* ```
|
|
707
|
-
*/
|
|
708
|
-
updateCustomerCallLegOnIncomingCallFailed(properties: UpdateCustomerCallLegOnIncomingCallFailedProperties, options?: {
|
|
709
|
-
journeyId?: string;
|
|
710
|
-
stageKey?: string;
|
|
711
|
-
}): ActionBuilder;
|
|
712
|
-
/**
|
|
713
|
-
* UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
714
|
-
*
|
|
715
|
-
* Updates this CallLeg record with the specified properties.
|
|
716
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
717
|
-
*
|
|
718
|
-
* @param properties - Required properties for this action
|
|
719
|
-
* @param options - Optional settings
|
|
720
|
-
* @param options.journeyId - Associate with a journey
|
|
721
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
722
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
723
|
-
* @throws Error if called on a new (unsaved) record
|
|
724
|
-
*
|
|
725
|
-
* @example
|
|
726
|
-
* ```typescript
|
|
727
|
-
* const record = await odinClient.callLegs.get(id);
|
|
728
|
-
* await record.updateCustomerCallLegOnIncomingCallNoAnswer({ ... }).execute();
|
|
729
|
-
*
|
|
730
|
-
* // Dry run (for debugging)
|
|
731
|
-
* const payload = record.updateCustomerCallLegOnIncomingCallNoAnswer({ ... }).dryRun();
|
|
732
|
-
* ```
|
|
733
|
-
*/
|
|
734
|
-
updateCustomerCallLegOnIncomingCallNoAnswer(properties: UpdateCustomerCallLegOnIncomingCallNoAnswerProperties, options?: {
|
|
735
|
-
journeyId?: string;
|
|
736
|
-
stageKey?: string;
|
|
737
|
-
}): ActionBuilder;
|
|
738
603
|
/**
|
|
739
604
|
* UpdateCustomerCallLegOnIncomingCallRinging
|
|
740
605
|
*
|
|
@@ -599,64 +599,6 @@ class CallLegRecord {
|
|
|
599
599
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnOutboundCallCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
600
600
|
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
601
601
|
}
|
|
602
|
-
/**
|
|
603
|
-
* UpdateAgentCallLegOnOutboundCallFailed
|
|
604
|
-
*
|
|
605
|
-
* Updates this CallLeg record with the specified properties.
|
|
606
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
607
|
-
*
|
|
608
|
-
* @param properties - Required properties for this action
|
|
609
|
-
* @param options - Optional settings
|
|
610
|
-
* @param options.journeyId - Associate with a journey
|
|
611
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
612
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
613
|
-
* @throws Error if called on a new (unsaved) record
|
|
614
|
-
*
|
|
615
|
-
* @example
|
|
616
|
-
* ```typescript
|
|
617
|
-
* const record = await odinClient.callLegs.get(id);
|
|
618
|
-
* await record.updateAgentCallLegOnOutboundCallFailed({ ... }).execute();
|
|
619
|
-
*
|
|
620
|
-
* // Dry run (for debugging)
|
|
621
|
-
* const payload = record.updateAgentCallLegOnOutboundCallFailed({ ... }).dryRun();
|
|
622
|
-
* ```
|
|
623
|
-
*/
|
|
624
|
-
updateAgentCallLegOnOutboundCallFailed(properties, options) {
|
|
625
|
-
var _a;
|
|
626
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
627
|
-
throw new Error('updateAgentCallLegOnOutboundCallFailed requires an existing record. Use accessor.get() first.');
|
|
628
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnOutboundCallFailed', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
629
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
630
|
-
}
|
|
631
|
-
/**
|
|
632
|
-
* UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
633
|
-
*
|
|
634
|
-
* Updates this CallLeg record with the specified properties.
|
|
635
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
636
|
-
*
|
|
637
|
-
* @param properties - Required properties for this action
|
|
638
|
-
* @param options - Optional settings
|
|
639
|
-
* @param options.journeyId - Associate with a journey
|
|
640
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
641
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
642
|
-
* @throws Error if called on a new (unsaved) record
|
|
643
|
-
*
|
|
644
|
-
* @example
|
|
645
|
-
* ```typescript
|
|
646
|
-
* const record = await odinClient.callLegs.get(id);
|
|
647
|
-
* await record.updateAgentCallLegOnOutboundCallNoAnswer({ ... }).execute();
|
|
648
|
-
*
|
|
649
|
-
* // Dry run (for debugging)
|
|
650
|
-
* const payload = record.updateAgentCallLegOnOutboundCallNoAnswer({ ... }).dryRun();
|
|
651
|
-
* ```
|
|
652
|
-
*/
|
|
653
|
-
updateAgentCallLegOnOutboundCallNoAnswer(properties, options) {
|
|
654
|
-
var _a;
|
|
655
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
656
|
-
throw new Error('updateAgentCallLegOnOutboundCallNoAnswer requires an existing record. Use accessor.get() first.');
|
|
657
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnOutboundCallNoAnswer', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
658
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
659
|
-
}
|
|
660
602
|
/**
|
|
661
603
|
* UpdateAgentCallLegOnOutboundCallRinging
|
|
662
604
|
*
|
|
@@ -752,35 +694,6 @@ class CallLegRecord {
|
|
|
752
694
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnIncomingCallAnswered', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
753
695
|
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
754
696
|
}
|
|
755
|
-
/**
|
|
756
|
-
* UpdateCustomerCallLegOnIncomingCallCanceled
|
|
757
|
-
*
|
|
758
|
-
* Updates this CallLeg record with the specified properties.
|
|
759
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
760
|
-
*
|
|
761
|
-
* @param properties - Required properties for this action
|
|
762
|
-
* @param options - Optional settings
|
|
763
|
-
* @param options.journeyId - Associate with a journey
|
|
764
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
765
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
766
|
-
* @throws Error if called on a new (unsaved) record
|
|
767
|
-
*
|
|
768
|
-
* @example
|
|
769
|
-
* ```typescript
|
|
770
|
-
* const record = await odinClient.callLegs.get(id);
|
|
771
|
-
* await record.updateCustomerCallLegOnIncomingCallCanceled({ ... }).execute();
|
|
772
|
-
*
|
|
773
|
-
* // Dry run (for debugging)
|
|
774
|
-
* const payload = record.updateCustomerCallLegOnIncomingCallCanceled({ ... }).dryRun();
|
|
775
|
-
* ```
|
|
776
|
-
*/
|
|
777
|
-
updateCustomerCallLegOnIncomingCallCanceled(properties, options) {
|
|
778
|
-
var _a;
|
|
779
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
780
|
-
throw new Error('updateCustomerCallLegOnIncomingCallCanceled requires an existing record. Use accessor.get() first.');
|
|
781
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnIncomingCallCanceled', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
782
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
783
|
-
}
|
|
784
697
|
/**
|
|
785
698
|
* UpdateCustomerCallLegOnIncomingCallCompleted
|
|
786
699
|
*
|
|
@@ -810,64 +723,6 @@ class CallLegRecord {
|
|
|
810
723
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnIncomingCallCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
811
724
|
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
812
725
|
}
|
|
813
|
-
/**
|
|
814
|
-
* UpdateCustomerCallLegOnIncomingCallFailed
|
|
815
|
-
*
|
|
816
|
-
* Updates this CallLeg record with the specified properties.
|
|
817
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
818
|
-
*
|
|
819
|
-
* @param properties - Required properties for this action
|
|
820
|
-
* @param options - Optional settings
|
|
821
|
-
* @param options.journeyId - Associate with a journey
|
|
822
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
823
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
824
|
-
* @throws Error if called on a new (unsaved) record
|
|
825
|
-
*
|
|
826
|
-
* @example
|
|
827
|
-
* ```typescript
|
|
828
|
-
* const record = await odinClient.callLegs.get(id);
|
|
829
|
-
* await record.updateCustomerCallLegOnIncomingCallFailed({ ... }).execute();
|
|
830
|
-
*
|
|
831
|
-
* // Dry run (for debugging)
|
|
832
|
-
* const payload = record.updateCustomerCallLegOnIncomingCallFailed({ ... }).dryRun();
|
|
833
|
-
* ```
|
|
834
|
-
*/
|
|
835
|
-
updateCustomerCallLegOnIncomingCallFailed(properties, options) {
|
|
836
|
-
var _a;
|
|
837
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
838
|
-
throw new Error('updateCustomerCallLegOnIncomingCallFailed requires an existing record. Use accessor.get() first.');
|
|
839
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnIncomingCallFailed', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
840
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
841
|
-
}
|
|
842
|
-
/**
|
|
843
|
-
* UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
844
|
-
*
|
|
845
|
-
* Updates this CallLeg record with the specified properties.
|
|
846
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
847
|
-
*
|
|
848
|
-
* @param properties - Required properties for this action
|
|
849
|
-
* @param options - Optional settings
|
|
850
|
-
* @param options.journeyId - Associate with a journey
|
|
851
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
852
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
853
|
-
* @throws Error if called on a new (unsaved) record
|
|
854
|
-
*
|
|
855
|
-
* @example
|
|
856
|
-
* ```typescript
|
|
857
|
-
* const record = await odinClient.callLegs.get(id);
|
|
858
|
-
* await record.updateCustomerCallLegOnIncomingCallNoAnswer({ ... }).execute();
|
|
859
|
-
*
|
|
860
|
-
* // Dry run (for debugging)
|
|
861
|
-
* const payload = record.updateCustomerCallLegOnIncomingCallNoAnswer({ ... }).dryRun();
|
|
862
|
-
* ```
|
|
863
|
-
*/
|
|
864
|
-
updateCustomerCallLegOnIncomingCallNoAnswer(properties, options) {
|
|
865
|
-
var _a;
|
|
866
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
867
|
-
throw new Error('updateCustomerCallLegOnIncomingCallNoAnswer requires an existing record. Use accessor.get() first.');
|
|
868
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnIncomingCallNoAnswer', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
869
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
870
|
-
}
|
|
871
726
|
/**
|
|
872
727
|
* UpdateCustomerCallLegOnIncomingCallRinging
|
|
873
728
|
*
|
package/package.json
CHANGED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UpdateAgentCallLegOnOutboundCallFailed Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Update agent call leg on outbound call failed
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity CallLeg
|
|
8
|
-
* @actionKey UpdateAgentCallLegOnOutboundCallFailed
|
|
9
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
|
|
10
|
-
*
|
|
11
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
-
*/
|
|
13
|
-
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
-
/**
|
|
15
|
-
* RabbitMQ message payload for UpdateAgentCallLegOnOutboundCallFailed updated events
|
|
16
|
-
*
|
|
17
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateAgentCallLegOnOutboundCallFailedMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundCallFailedDto, UpdateAgentCallLegOnOutboundCallFailedProperties> {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Properties for UpdateAgentCallLegOnOutboundCallFailed action
|
|
23
|
-
*
|
|
24
|
-
* @property Required fields: 2
|
|
25
|
-
* @property Optional fields: 1
|
|
26
|
-
*/
|
|
27
|
-
export interface UpdateAgentCallLegOnOutboundCallFailedProperties {
|
|
28
|
-
/**
|
|
29
|
-
* EndedAt
|
|
30
|
-
*
|
|
31
|
-
* Data field for CallLeg records. Used by Communications team.
|
|
32
|
-
* @type {DATE_TIME}
|
|
33
|
-
* @required
|
|
34
|
-
*/
|
|
35
|
-
EndedAt: string;
|
|
36
|
-
/**
|
|
37
|
-
* Status
|
|
38
|
-
*
|
|
39
|
-
* Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
|
|
40
|
-
* @type {ENUM}
|
|
41
|
-
* @required
|
|
42
|
-
*/
|
|
43
|
-
Status: string;
|
|
44
|
-
/**
|
|
45
|
-
* Duration
|
|
46
|
-
*
|
|
47
|
-
* Duration of THIS leg only in seconds (Communications - CallLeg)
|
|
48
|
-
* @type {NUMBER}
|
|
49
|
-
*/
|
|
50
|
-
Duration?: number | null;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* UpdateAgentCallLegOnOutboundCallFailed
|
|
54
|
-
*
|
|
55
|
-
* Update agent call leg on outbound call failed
|
|
56
|
-
*
|
|
57
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
58
|
-
* @module NotificationModule
|
|
59
|
-
* @entity CallLeg
|
|
60
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
|
|
61
|
-
* @permission schema.action.updateagentcalllegonoutboundcallfailed.trigger
|
|
62
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
63
|
-
*/
|
|
64
|
-
export declare class UpdateAgentCallLegOnOutboundCallFailedDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnOutboundCallFailedProperties> {
|
|
65
|
-
/** Used by SDK generators to identify action type */
|
|
66
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
67
|
-
static readonly ACTION_KEY = "UpdateAgentCallLegOnOutboundCallFailed";
|
|
68
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
69
|
-
static readonly ENTITIES: string[];
|
|
70
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed";
|
|
71
|
-
static readonly PERMISSION = "schema.action.updateagentcalllegonoutboundcallfailed.trigger";
|
|
72
|
-
/** Step metadata - entity this action targets */
|
|
73
|
-
static readonly STEP_ENTITY = "NotificationModule:CallLeg";
|
|
74
|
-
static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
|
|
75
|
-
static readonly STEP_SCHEMA_ACTION_ID = "50ce49f0-76da-4a67-a743-e88145a52ce5";
|
|
76
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
77
|
-
readonly actionName: string;
|
|
78
|
-
readonly schemaActionId: string;
|
|
79
|
-
readonly entity: string;
|
|
80
|
-
constructor(record: OdinRecord<any> | {
|
|
81
|
-
id: string;
|
|
82
|
-
entity: string;
|
|
83
|
-
type?: string;
|
|
84
|
-
}, properties: UpdateAgentCallLegOnOutboundCallFailedProperties, options?: {
|
|
85
|
-
journeyId?: string;
|
|
86
|
-
stageKey?: string;
|
|
87
|
-
});
|
|
88
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateAgentCallLegOnOutboundCallFailed Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update agent call leg on outbound call failed
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity CallLeg
|
|
9
|
-
* @actionKey UpdateAgentCallLegOnOutboundCallFailed
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateAgentCallLegOnOutboundCallFailedDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateAgentCallLegOnOutboundCallFailed
|
|
19
|
-
*
|
|
20
|
-
* Update agent call leg on outbound call failed
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity CallLeg
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
|
|
26
|
-
* @permission schema.action.updateagentcalllegonoutboundcallfailed.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateAgentCallLegOnOutboundCallFailedDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
-
constructor(record, properties, options) {
|
|
31
|
-
super({
|
|
32
|
-
id: record.id,
|
|
33
|
-
entity: record.entity,
|
|
34
|
-
type: record.type,
|
|
35
|
-
properties,
|
|
36
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'UpdateAgentCallLegOnOutboundCallFailed';
|
|
40
|
-
this.schemaActionId = '50ce49f0-76da-4a67-a743-e88145a52ce5';
|
|
41
|
-
this.entity = 'NotificationModule:CallLeg';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateAgentCallLegOnOutboundCallFailedDto = UpdateAgentCallLegOnOutboundCallFailedDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.ACTION_KEY = 'UpdateAgentCallLegOnOutboundCallFailed';
|
|
48
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.ENTITIES = ['CallLeg'];
|
|
50
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed';
|
|
51
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.PERMISSION = 'schema.action.updateagentcalllegonoutboundcallfailed.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.STEP_ENTITY = 'NotificationModule:CallLeg';
|
|
54
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
|
|
55
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.STEP_SCHEMA_ACTION_ID = '50ce49f0-76da-4a67-a743-e88145a52ce5';
|
|
56
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.AUTO_LINK_PARENT = false;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UpdateAgentCallLegOnOutboundCallNoAnswer Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Update agent call leg on outbound call no answer
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity CallLeg
|
|
8
|
-
* @actionKey UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
9
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
10
|
-
*
|
|
11
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
-
*/
|
|
13
|
-
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
-
/**
|
|
15
|
-
* RabbitMQ message payload for UpdateAgentCallLegOnOutboundCallNoAnswer updated events
|
|
16
|
-
*
|
|
17
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateAgentCallLegOnOutboundCallNoAnswerMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundCallNoAnswerDto, UpdateAgentCallLegOnOutboundCallNoAnswerProperties> {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Properties for UpdateAgentCallLegOnOutboundCallNoAnswer action
|
|
23
|
-
*
|
|
24
|
-
* @property Required fields: 2
|
|
25
|
-
* @property Optional fields: 1
|
|
26
|
-
*/
|
|
27
|
-
export interface UpdateAgentCallLegOnOutboundCallNoAnswerProperties {
|
|
28
|
-
/**
|
|
29
|
-
* EndedAt
|
|
30
|
-
*
|
|
31
|
-
* Data field for CallLeg records. Used by Communications team.
|
|
32
|
-
* @type {DATE_TIME}
|
|
33
|
-
* @required
|
|
34
|
-
*/
|
|
35
|
-
EndedAt: string;
|
|
36
|
-
/**
|
|
37
|
-
* Status
|
|
38
|
-
*
|
|
39
|
-
* Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
|
|
40
|
-
* @type {ENUM}
|
|
41
|
-
* @required
|
|
42
|
-
*/
|
|
43
|
-
Status: string;
|
|
44
|
-
/**
|
|
45
|
-
* Duration
|
|
46
|
-
*
|
|
47
|
-
* Duration of THIS leg only in seconds (Communications - CallLeg)
|
|
48
|
-
* @type {NUMBER}
|
|
49
|
-
*/
|
|
50
|
-
Duration?: number | null;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
54
|
-
*
|
|
55
|
-
* Update agent call leg on outbound call no answer
|
|
56
|
-
*
|
|
57
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
58
|
-
* @module NotificationModule
|
|
59
|
-
* @entity CallLeg
|
|
60
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
61
|
-
* @permission schema.action.updateagentcalllegonoutboundcallnoanswer.trigger
|
|
62
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
63
|
-
*/
|
|
64
|
-
export declare class UpdateAgentCallLegOnOutboundCallNoAnswerDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnOutboundCallNoAnswerProperties> {
|
|
65
|
-
/** Used by SDK generators to identify action type */
|
|
66
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
67
|
-
static readonly ACTION_KEY = "UpdateAgentCallLegOnOutboundCallNoAnswer";
|
|
68
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
69
|
-
static readonly ENTITIES: string[];
|
|
70
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer";
|
|
71
|
-
static readonly PERMISSION = "schema.action.updateagentcalllegonoutboundcallnoanswer.trigger";
|
|
72
|
-
/** Step metadata - entity this action targets */
|
|
73
|
-
static readonly STEP_ENTITY = "NotificationModule:CallLeg";
|
|
74
|
-
static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
|
|
75
|
-
static readonly STEP_SCHEMA_ACTION_ID = "97caee17-987e-427a-a3c4-b3a7a230c3f4";
|
|
76
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
77
|
-
readonly actionName: string;
|
|
78
|
-
readonly schemaActionId: string;
|
|
79
|
-
readonly entity: string;
|
|
80
|
-
constructor(record: OdinRecord<any> | {
|
|
81
|
-
id: string;
|
|
82
|
-
entity: string;
|
|
83
|
-
type?: string;
|
|
84
|
-
}, properties: UpdateAgentCallLegOnOutboundCallNoAnswerProperties, options?: {
|
|
85
|
-
journeyId?: string;
|
|
86
|
-
stageKey?: string;
|
|
87
|
-
});
|
|
88
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateAgentCallLegOnOutboundCallNoAnswer Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update agent call leg on outbound call no answer
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity CallLeg
|
|
9
|
-
* @actionKey UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateAgentCallLegOnOutboundCallNoAnswerDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
19
|
-
*
|
|
20
|
-
* Update agent call leg on outbound call no answer
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity CallLeg
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
26
|
-
* @permission schema.action.updateagentcalllegonoutboundcallnoanswer.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateAgentCallLegOnOutboundCallNoAnswerDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
-
constructor(record, properties, options) {
|
|
31
|
-
super({
|
|
32
|
-
id: record.id,
|
|
33
|
-
entity: record.entity,
|
|
34
|
-
type: record.type,
|
|
35
|
-
properties,
|
|
36
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'UpdateAgentCallLegOnOutboundCallNoAnswer';
|
|
40
|
-
this.schemaActionId = '97caee17-987e-427a-a3c4-b3a7a230c3f4';
|
|
41
|
-
this.entity = 'NotificationModule:CallLeg';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateAgentCallLegOnOutboundCallNoAnswerDto = UpdateAgentCallLegOnOutboundCallNoAnswerDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateAgentCallLegOnOutboundCallNoAnswerDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateAgentCallLegOnOutboundCallNoAnswerDto.ACTION_KEY = 'UpdateAgentCallLegOnOutboundCallNoAnswer';
|
|
48
|
-
UpdateAgentCallLegOnOutboundCallNoAnswerDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateAgentCallLegOnOutboundCallNoAnswerDto.ENTITIES = ['CallLeg'];
|
|
50
|
-
UpdateAgentCallLegOnOutboundCallNoAnswerDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer';
|
|
51
|
-
UpdateAgentCallLegOnOutboundCallNoAnswerDto.PERMISSION = 'schema.action.updateagentcalllegonoutboundcallnoanswer.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateAgentCallLegOnOutboundCallNoAnswerDto.STEP_ENTITY = 'NotificationModule:CallLeg';
|
|
54
|
-
UpdateAgentCallLegOnOutboundCallNoAnswerDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
|
|
55
|
-
UpdateAgentCallLegOnOutboundCallNoAnswerDto.STEP_SCHEMA_ACTION_ID = '97caee17-987e-427a-a3c4-b3a7a230c3f4';
|
|
56
|
-
UpdateAgentCallLegOnOutboundCallNoAnswerDto.AUTO_LINK_PARENT = false;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UpdateCustomerCallLegOnIncomingCallCanceled Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Update customer call leg on incoming call canceled
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity CallLeg
|
|
8
|
-
* @actionKey UpdateCustomerCallLegOnIncomingCallCanceled
|
|
9
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
|
|
10
|
-
*
|
|
11
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
-
*/
|
|
13
|
-
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
-
/**
|
|
15
|
-
* RabbitMQ message payload for UpdateCustomerCallLegOnIncomingCallCanceled updated events
|
|
16
|
-
*
|
|
17
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateCustomerCallLegOnIncomingCallCanceledMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnIncomingCallCanceledDto, UpdateCustomerCallLegOnIncomingCallCanceledProperties> {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Properties for UpdateCustomerCallLegOnIncomingCallCanceled action
|
|
23
|
-
*
|
|
24
|
-
* @property Required fields: 2
|
|
25
|
-
* @property Optional fields: 0
|
|
26
|
-
*/
|
|
27
|
-
export interface UpdateCustomerCallLegOnIncomingCallCanceledProperties {
|
|
28
|
-
/**
|
|
29
|
-
* EndedAt
|
|
30
|
-
*
|
|
31
|
-
* Data field for CallLeg records. Used by Communications team.
|
|
32
|
-
* @type {DATE_TIME}
|
|
33
|
-
* @required
|
|
34
|
-
*/
|
|
35
|
-
EndedAt: string;
|
|
36
|
-
/**
|
|
37
|
-
* Status
|
|
38
|
-
*
|
|
39
|
-
* Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
|
|
40
|
-
* @type {ENUM}
|
|
41
|
-
* @required
|
|
42
|
-
*/
|
|
43
|
-
Status: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* UpdateCustomerCallLegOnIncomingCallCanceled
|
|
47
|
-
*
|
|
48
|
-
* Update customer call leg on incoming call canceled
|
|
49
|
-
*
|
|
50
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
51
|
-
* @module NotificationModule
|
|
52
|
-
* @entity CallLeg
|
|
53
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
|
|
54
|
-
* @permission schema.action.updatecustomercalllegonincomingcallcanceled.trigger
|
|
55
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
56
|
-
*/
|
|
57
|
-
export declare class UpdateCustomerCallLegOnIncomingCallCanceledDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnIncomingCallCanceledProperties> {
|
|
58
|
-
/** Used by SDK generators to identify action type */
|
|
59
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
60
|
-
static readonly ACTION_KEY = "UpdateCustomerCallLegOnIncomingCallCanceled";
|
|
61
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
62
|
-
static readonly ENTITIES: string[];
|
|
63
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled";
|
|
64
|
-
static readonly PERMISSION = "schema.action.updatecustomercalllegonincomingcallcanceled.trigger";
|
|
65
|
-
/** Step metadata - entity this action targets */
|
|
66
|
-
static readonly STEP_ENTITY = "NotificationModule:CallLeg";
|
|
67
|
-
static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
|
|
68
|
-
static readonly STEP_SCHEMA_ACTION_ID = "aa945ebd-fc99-473a-bd67-6651fb6b6350";
|
|
69
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
70
|
-
readonly actionName: string;
|
|
71
|
-
readonly schemaActionId: string;
|
|
72
|
-
readonly entity: string;
|
|
73
|
-
constructor(record: OdinRecord<any> | {
|
|
74
|
-
id: string;
|
|
75
|
-
entity: string;
|
|
76
|
-
type?: string;
|
|
77
|
-
}, properties: UpdateCustomerCallLegOnIncomingCallCanceledProperties, options?: {
|
|
78
|
-
journeyId?: string;
|
|
79
|
-
stageKey?: string;
|
|
80
|
-
});
|
|
81
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateCustomerCallLegOnIncomingCallCanceled Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update customer call leg on incoming call canceled
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity CallLeg
|
|
9
|
-
* @actionKey UpdateCustomerCallLegOnIncomingCallCanceled
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateCustomerCallLegOnIncomingCallCanceledDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateCustomerCallLegOnIncomingCallCanceled
|
|
19
|
-
*
|
|
20
|
-
* Update customer call leg on incoming call canceled
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity CallLeg
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
|
|
26
|
-
* @permission schema.action.updatecustomercalllegonincomingcallcanceled.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateCustomerCallLegOnIncomingCallCanceledDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
-
constructor(record, properties, options) {
|
|
31
|
-
super({
|
|
32
|
-
id: record.id,
|
|
33
|
-
entity: record.entity,
|
|
34
|
-
type: record.type,
|
|
35
|
-
properties,
|
|
36
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'UpdateCustomerCallLegOnIncomingCallCanceled';
|
|
40
|
-
this.schemaActionId = 'aa945ebd-fc99-473a-bd67-6651fb6b6350';
|
|
41
|
-
this.entity = 'NotificationModule:CallLeg';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateCustomerCallLegOnIncomingCallCanceledDto = UpdateCustomerCallLegOnIncomingCallCanceledDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.ACTION_KEY = 'UpdateCustomerCallLegOnIncomingCallCanceled';
|
|
48
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.ENTITIES = ['CallLeg'];
|
|
50
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled';
|
|
51
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.PERMISSION = 'schema.action.updatecustomercalllegonincomingcallcanceled.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.STEP_ENTITY = 'NotificationModule:CallLeg';
|
|
54
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
|
|
55
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.STEP_SCHEMA_ACTION_ID = 'aa945ebd-fc99-473a-bd67-6651fb6b6350';
|
|
56
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.AUTO_LINK_PARENT = false;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UpdateCustomerCallLegOnIncomingCallFailed Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Update agent call leg on incoming call failed
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity CallLeg
|
|
8
|
-
* @actionKey UpdateCustomerCallLegOnIncomingCallFailed
|
|
9
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
|
|
10
|
-
*
|
|
11
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
-
*/
|
|
13
|
-
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
-
/**
|
|
15
|
-
* RabbitMQ message payload for UpdateCustomerCallLegOnIncomingCallFailed updated events
|
|
16
|
-
*
|
|
17
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateCustomerCallLegOnIncomingCallFailedMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnIncomingCallFailedDto, UpdateCustomerCallLegOnIncomingCallFailedProperties> {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Properties for UpdateCustomerCallLegOnIncomingCallFailed action
|
|
23
|
-
*
|
|
24
|
-
* @property Required fields: 2
|
|
25
|
-
* @property Optional fields: 0
|
|
26
|
-
*/
|
|
27
|
-
export interface UpdateCustomerCallLegOnIncomingCallFailedProperties {
|
|
28
|
-
/**
|
|
29
|
-
* EndedAt
|
|
30
|
-
*
|
|
31
|
-
* Data field for CallLeg records. Used by Communications team.
|
|
32
|
-
* @type {DATE_TIME}
|
|
33
|
-
* @required
|
|
34
|
-
*/
|
|
35
|
-
EndedAt: string;
|
|
36
|
-
/**
|
|
37
|
-
* Status
|
|
38
|
-
*
|
|
39
|
-
* Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
|
|
40
|
-
* @type {ENUM}
|
|
41
|
-
* @required
|
|
42
|
-
*/
|
|
43
|
-
Status: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* UpdateCustomerCallLegOnIncomingCallFailed
|
|
47
|
-
*
|
|
48
|
-
* Update agent call leg on incoming call failed
|
|
49
|
-
*
|
|
50
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
51
|
-
* @module NotificationModule
|
|
52
|
-
* @entity CallLeg
|
|
53
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
|
|
54
|
-
* @permission schema.action.updatecustomercalllegonincomingcallfailed.trigger
|
|
55
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
56
|
-
*/
|
|
57
|
-
export declare class UpdateCustomerCallLegOnIncomingCallFailedDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnIncomingCallFailedProperties> {
|
|
58
|
-
/** Used by SDK generators to identify action type */
|
|
59
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
60
|
-
static readonly ACTION_KEY = "UpdateCustomerCallLegOnIncomingCallFailed";
|
|
61
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
62
|
-
static readonly ENTITIES: string[];
|
|
63
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed";
|
|
64
|
-
static readonly PERMISSION = "schema.action.updatecustomercalllegonincomingcallfailed.trigger";
|
|
65
|
-
/** Step metadata - entity this action targets */
|
|
66
|
-
static readonly STEP_ENTITY = "NotificationModule:CallLeg";
|
|
67
|
-
static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
|
|
68
|
-
static readonly STEP_SCHEMA_ACTION_ID = "9570a7ac-effe-4002-a933-6f92a3914321";
|
|
69
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
70
|
-
readonly actionName: string;
|
|
71
|
-
readonly schemaActionId: string;
|
|
72
|
-
readonly entity: string;
|
|
73
|
-
constructor(record: OdinRecord<any> | {
|
|
74
|
-
id: string;
|
|
75
|
-
entity: string;
|
|
76
|
-
type?: string;
|
|
77
|
-
}, properties: UpdateCustomerCallLegOnIncomingCallFailedProperties, options?: {
|
|
78
|
-
journeyId?: string;
|
|
79
|
-
stageKey?: string;
|
|
80
|
-
});
|
|
81
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateCustomerCallLegOnIncomingCallFailed Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update agent call leg on incoming call failed
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity CallLeg
|
|
9
|
-
* @actionKey UpdateCustomerCallLegOnIncomingCallFailed
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateCustomerCallLegOnIncomingCallFailedDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateCustomerCallLegOnIncomingCallFailed
|
|
19
|
-
*
|
|
20
|
-
* Update agent call leg on incoming call failed
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity CallLeg
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
|
|
26
|
-
* @permission schema.action.updatecustomercalllegonincomingcallfailed.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateCustomerCallLegOnIncomingCallFailedDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
-
constructor(record, properties, options) {
|
|
31
|
-
super({
|
|
32
|
-
id: record.id,
|
|
33
|
-
entity: record.entity,
|
|
34
|
-
type: record.type,
|
|
35
|
-
properties,
|
|
36
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'UpdateCustomerCallLegOnIncomingCallFailed';
|
|
40
|
-
this.schemaActionId = '9570a7ac-effe-4002-a933-6f92a3914321';
|
|
41
|
-
this.entity = 'NotificationModule:CallLeg';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateCustomerCallLegOnIncomingCallFailedDto = UpdateCustomerCallLegOnIncomingCallFailedDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateCustomerCallLegOnIncomingCallFailedDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateCustomerCallLegOnIncomingCallFailedDto.ACTION_KEY = 'UpdateCustomerCallLegOnIncomingCallFailed';
|
|
48
|
-
UpdateCustomerCallLegOnIncomingCallFailedDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateCustomerCallLegOnIncomingCallFailedDto.ENTITIES = ['CallLeg'];
|
|
50
|
-
UpdateCustomerCallLegOnIncomingCallFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed';
|
|
51
|
-
UpdateCustomerCallLegOnIncomingCallFailedDto.PERMISSION = 'schema.action.updatecustomercalllegonincomingcallfailed.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateCustomerCallLegOnIncomingCallFailedDto.STEP_ENTITY = 'NotificationModule:CallLeg';
|
|
54
|
-
UpdateCustomerCallLegOnIncomingCallFailedDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
|
|
55
|
-
UpdateCustomerCallLegOnIncomingCallFailedDto.STEP_SCHEMA_ACTION_ID = '9570a7ac-effe-4002-a933-6f92a3914321';
|
|
56
|
-
UpdateCustomerCallLegOnIncomingCallFailedDto.AUTO_LINK_PARENT = false;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UpdateCustomerCallLegOnIncomingCallNoAnswer Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Update customer call leg on incoming call no answer
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity CallLeg
|
|
8
|
-
* @actionKey UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
9
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
10
|
-
*
|
|
11
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
-
*/
|
|
13
|
-
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
-
/**
|
|
15
|
-
* RabbitMQ message payload for UpdateCustomerCallLegOnIncomingCallNoAnswer updated events
|
|
16
|
-
*
|
|
17
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateCustomerCallLegOnIncomingCallNoAnswerMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnIncomingCallNoAnswerDto, UpdateCustomerCallLegOnIncomingCallNoAnswerProperties> {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Properties for UpdateCustomerCallLegOnIncomingCallNoAnswer action
|
|
23
|
-
*
|
|
24
|
-
* @property Required fields: 2
|
|
25
|
-
* @property Optional fields: 0
|
|
26
|
-
*/
|
|
27
|
-
export interface UpdateCustomerCallLegOnIncomingCallNoAnswerProperties {
|
|
28
|
-
/**
|
|
29
|
-
* EndedAt
|
|
30
|
-
*
|
|
31
|
-
* Data field for CallLeg records. Used by Communications team.
|
|
32
|
-
* @type {DATE_TIME}
|
|
33
|
-
* @required
|
|
34
|
-
*/
|
|
35
|
-
EndedAt: string;
|
|
36
|
-
/**
|
|
37
|
-
* Status
|
|
38
|
-
*
|
|
39
|
-
* Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
|
|
40
|
-
* @type {ENUM}
|
|
41
|
-
* @required
|
|
42
|
-
*/
|
|
43
|
-
Status: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
47
|
-
*
|
|
48
|
-
* Update customer call leg on incoming call no answer
|
|
49
|
-
*
|
|
50
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
51
|
-
* @module NotificationModule
|
|
52
|
-
* @entity CallLeg
|
|
53
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
54
|
-
* @permission schema.action.updatecustomercalllegonincomingcallnoanswer.trigger
|
|
55
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
56
|
-
*/
|
|
57
|
-
export declare class UpdateCustomerCallLegOnIncomingCallNoAnswerDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnIncomingCallNoAnswerProperties> {
|
|
58
|
-
/** Used by SDK generators to identify action type */
|
|
59
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
60
|
-
static readonly ACTION_KEY = "UpdateCustomerCallLegOnIncomingCallNoAnswer";
|
|
61
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
62
|
-
static readonly ENTITIES: string[];
|
|
63
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer";
|
|
64
|
-
static readonly PERMISSION = "schema.action.updatecustomercalllegonincomingcallnoanswer.trigger";
|
|
65
|
-
/** Step metadata - entity this action targets */
|
|
66
|
-
static readonly STEP_ENTITY = "NotificationModule:CallLeg";
|
|
67
|
-
static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
|
|
68
|
-
static readonly STEP_SCHEMA_ACTION_ID = "bb4bc0f1-8641-49bd-857c-470bf34b8f9b";
|
|
69
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
70
|
-
readonly actionName: string;
|
|
71
|
-
readonly schemaActionId: string;
|
|
72
|
-
readonly entity: string;
|
|
73
|
-
constructor(record: OdinRecord<any> | {
|
|
74
|
-
id: string;
|
|
75
|
-
entity: string;
|
|
76
|
-
type?: string;
|
|
77
|
-
}, properties: UpdateCustomerCallLegOnIncomingCallNoAnswerProperties, options?: {
|
|
78
|
-
journeyId?: string;
|
|
79
|
-
stageKey?: string;
|
|
80
|
-
});
|
|
81
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateCustomerCallLegOnIncomingCallNoAnswer Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update customer call leg on incoming call no answer
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity CallLeg
|
|
9
|
-
* @actionKey UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateCustomerCallLegOnIncomingCallNoAnswerDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
19
|
-
*
|
|
20
|
-
* Update customer call leg on incoming call no answer
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity CallLeg
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
|
|
26
|
-
* @permission schema.action.updatecustomercalllegonincomingcallnoanswer.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateCustomerCallLegOnIncomingCallNoAnswerDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
-
constructor(record, properties, options) {
|
|
31
|
-
super({
|
|
32
|
-
id: record.id,
|
|
33
|
-
entity: record.entity,
|
|
34
|
-
type: record.type,
|
|
35
|
-
properties,
|
|
36
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'UpdateCustomerCallLegOnIncomingCallNoAnswer';
|
|
40
|
-
this.schemaActionId = 'bb4bc0f1-8641-49bd-857c-470bf34b8f9b';
|
|
41
|
-
this.entity = 'NotificationModule:CallLeg';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateCustomerCallLegOnIncomingCallNoAnswerDto = UpdateCustomerCallLegOnIncomingCallNoAnswerDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateCustomerCallLegOnIncomingCallNoAnswerDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateCustomerCallLegOnIncomingCallNoAnswerDto.ACTION_KEY = 'UpdateCustomerCallLegOnIncomingCallNoAnswer';
|
|
48
|
-
UpdateCustomerCallLegOnIncomingCallNoAnswerDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateCustomerCallLegOnIncomingCallNoAnswerDto.ENTITIES = ['CallLeg'];
|
|
50
|
-
UpdateCustomerCallLegOnIncomingCallNoAnswerDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer';
|
|
51
|
-
UpdateCustomerCallLegOnIncomingCallNoAnswerDto.PERMISSION = 'schema.action.updatecustomercalllegonincomingcallnoanswer.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateCustomerCallLegOnIncomingCallNoAnswerDto.STEP_ENTITY = 'NotificationModule:CallLeg';
|
|
54
|
-
UpdateCustomerCallLegOnIncomingCallNoAnswerDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
|
|
55
|
-
UpdateCustomerCallLegOnIncomingCallNoAnswerDto.STEP_SCHEMA_ACTION_ID = 'bb4bc0f1-8641-49bd-857c-470bf34b8f9b';
|
|
56
|
-
UpdateCustomerCallLegOnIncomingCallNoAnswerDto.AUTO_LINK_PARENT = false;
|