@d19n/youfibre-odin-sdk 2.0.137 → 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/actions-v2/CreateContactDto.d.ts +2 -2
- package/dist/actions-v2/CreateInboundCallDto.d.ts +9 -1
- package/dist/actions-v2/CreateLeadFromAddressDto.d.ts +2 -2
- package/dist/actions-v2/UpdateAdditionalCareDto.d.ts +2 -2
- package/dist/actions-v2/UpdateContactDto.d.ts +7 -19
- package/dist/actions-v2/UpdateCustomerCallLegOnNumberCallStatusCompletedDto.d.ts +14 -4
- package/dist/entities-v2/Contact.d.ts +10 -10
- package/dist/entities-v2/Contact.js +3 -3
- package/dist/records-v2/CallLegRecord.d.ts +6 -142
- package/dist/records-v2/CallLegRecord.js +7 -160
- 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 |
|
|
@@ -52,7 +52,7 @@ export interface CreateContactProperties {
|
|
|
52
52
|
/**
|
|
53
53
|
* Additional Care Reason
|
|
54
54
|
*
|
|
55
|
-
*
|
|
55
|
+
* Select a care requirement
|
|
56
56
|
* @type {ENUM_MULTI_SELECT}
|
|
57
57
|
* @required
|
|
58
58
|
* @visibleWhen AdditionalCareRequired = [true]
|
|
@@ -109,7 +109,7 @@ export interface CreateContactProperties {
|
|
|
109
109
|
/**
|
|
110
110
|
* Additional Care Notes
|
|
111
111
|
*
|
|
112
|
-
*
|
|
112
|
+
* Any additional information
|
|
113
113
|
* @type {TEXT_LONG}
|
|
114
114
|
* @visibleWhen AdditionalCareRequired = [true]
|
|
115
115
|
*/
|
|
@@ -21,7 +21,7 @@ export interface CreateInboundCallMessage extends OdinRecordCreatedEvent<CreateI
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for CreateInboundCall action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 14
|
|
25
25
|
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateInboundCallProperties {
|
|
@@ -129,6 +129,14 @@ export interface CreateInboundCallProperties {
|
|
|
129
129
|
* @required
|
|
130
130
|
*/
|
|
131
131
|
UserId: string;
|
|
132
|
+
/**
|
|
133
|
+
* TaskQueueSid
|
|
134
|
+
*
|
|
135
|
+
* TaskQueueSid
|
|
136
|
+
* @type {TEXT}
|
|
137
|
+
* @required
|
|
138
|
+
*/
|
|
139
|
+
TaskQueueSid: string;
|
|
132
140
|
/**
|
|
133
141
|
* QueueName
|
|
134
142
|
*
|
|
@@ -117,7 +117,7 @@ export interface CreateContactProperties {
|
|
|
117
117
|
/**
|
|
118
118
|
* Additional Care Reason
|
|
119
119
|
*
|
|
120
|
-
*
|
|
120
|
+
* Select a care requirement
|
|
121
121
|
* @type {ENUM_MULTI_SELECT}
|
|
122
122
|
* @required
|
|
123
123
|
* @visibleWhen AdditionalCareRequired = [true]
|
|
@@ -174,7 +174,7 @@ export interface CreateContactProperties {
|
|
|
174
174
|
/**
|
|
175
175
|
* Additional Care Notes
|
|
176
176
|
*
|
|
177
|
-
*
|
|
177
|
+
* Any additional information
|
|
178
178
|
* @type {TEXT_LONG}
|
|
179
179
|
* @visibleWhen AdditionalCareRequired = [true]
|
|
180
180
|
*/
|
|
@@ -60,7 +60,7 @@ export interface UpdateAdditionalCareProperties {
|
|
|
60
60
|
/**
|
|
61
61
|
* Additional Care Requirements
|
|
62
62
|
*
|
|
63
|
-
*
|
|
63
|
+
* Select a care requirement
|
|
64
64
|
* @type {ENUM_MULTI_SELECT}
|
|
65
65
|
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
66
66
|
*/
|
|
@@ -68,7 +68,7 @@ export interface UpdateAdditionalCareProperties {
|
|
|
68
68
|
/**
|
|
69
69
|
* Additional Care Notes
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
* Any additional information
|
|
72
72
|
* @type {TEXT_LONG}
|
|
73
73
|
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
74
74
|
*/
|
|
@@ -22,7 +22,7 @@ export interface UpdateContactMessage extends OdinRecordUpdatedEvent<UpdateConta
|
|
|
22
22
|
* Properties for UpdateContact action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 4
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 12
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateContactProperties {
|
|
28
28
|
/**
|
|
@@ -55,7 +55,6 @@ export interface UpdateContactProperties {
|
|
|
55
55
|
* Customer consent for recording additional care requiremetns (Sales - Contact)
|
|
56
56
|
* @type {BOOLEAN}
|
|
57
57
|
* @required
|
|
58
|
-
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
59
58
|
*/
|
|
60
59
|
AdditionalCareConsent: boolean;
|
|
61
60
|
/**
|
|
@@ -109,42 +108,31 @@ export interface UpdateContactProperties {
|
|
|
109
108
|
*/
|
|
110
109
|
CurrentContractType?: string | null;
|
|
111
110
|
/**
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
* Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact)
|
|
115
|
-
* @type {ENUM}
|
|
116
|
-
*/
|
|
117
|
-
AdditionalCareRequired?: string | null;
|
|
118
|
-
/**
|
|
119
|
-
* Medically Dependant
|
|
111
|
+
* Are you medically dependent on your broadband?
|
|
120
112
|
*
|
|
121
113
|
* Is the customer medically dependant on their broadband (Sales - Contact)
|
|
122
114
|
* @type {ENUM}
|
|
123
|
-
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
124
115
|
*/
|
|
125
116
|
MedicallyDependant?: string | null;
|
|
126
117
|
/**
|
|
127
|
-
* Telecare Alarm
|
|
118
|
+
* Do any members of your household rely on a Telecare Alarm?
|
|
128
119
|
*
|
|
129
120
|
* Does the customer use a Telecare Alarm (Sales - Contact)
|
|
130
121
|
* @type {ENUM}
|
|
131
|
-
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
132
122
|
*/
|
|
133
123
|
TelecareAlarm?: string | null;
|
|
134
124
|
/**
|
|
135
|
-
* Additional
|
|
125
|
+
* Additional care requirements?
|
|
136
126
|
*
|
|
137
|
-
*
|
|
127
|
+
* Select a care requirement
|
|
138
128
|
* @type {ENUM_MULTI_SELECT}
|
|
139
|
-
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
140
129
|
*/
|
|
141
130
|
AdditionalCareReason?: string | null;
|
|
142
131
|
/**
|
|
143
|
-
* Additional
|
|
132
|
+
* Additional care notes
|
|
144
133
|
*
|
|
145
|
-
*
|
|
134
|
+
* Any additional information
|
|
146
135
|
* @type {TEXT_LONG}
|
|
147
|
-
* @visibleWhen AdditionalCareRequired = [true,"YES"]
|
|
148
136
|
*/
|
|
149
137
|
AdditionalCareNotes?: string | null;
|
|
150
138
|
}
|
|
@@ -21,8 +21,8 @@ export interface UpdateCustomerCallLegOnNumberCallStatusCompletedMessage extends
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for UpdateCustomerCallLegOnNumberCallStatusCompleted action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
25
|
-
* @property Optional fields:
|
|
24
|
+
* @property Required fields: 3
|
|
25
|
+
* @property Optional fields: 0
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCustomerCallLegOnNumberCallStatusCompletedProperties {
|
|
28
28
|
/**
|
|
@@ -30,15 +30,25 @@ export interface UpdateCustomerCallLegOnNumberCallStatusCompletedProperties {
|
|
|
30
30
|
*
|
|
31
31
|
* Data field for CallLeg records. Used by Communications team.
|
|
32
32
|
* @type {DATE_TIME}
|
|
33
|
+
* @required
|
|
33
34
|
*/
|
|
34
|
-
EndedAt
|
|
35
|
+
EndedAt: string;
|
|
35
36
|
/**
|
|
36
37
|
* Duration
|
|
37
38
|
*
|
|
38
39
|
* Duration of THIS leg only in seconds (Communications - CallLeg)
|
|
39
40
|
* @type {NUMBER}
|
|
41
|
+
* @required
|
|
40
42
|
*/
|
|
41
|
-
Duration
|
|
43
|
+
Duration: number;
|
|
44
|
+
/**
|
|
45
|
+
* Status
|
|
46
|
+
*
|
|
47
|
+
* Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
|
|
48
|
+
* @type {ENUM}
|
|
49
|
+
* @required
|
|
50
|
+
*/
|
|
51
|
+
Status: string;
|
|
42
52
|
}
|
|
43
53
|
/**
|
|
44
54
|
* UpdateCustomerCallLegOnNumberCallStatusCompleted
|
|
@@ -352,15 +352,15 @@ export declare enum ContactPropertyKeys {
|
|
|
352
352
|
PortalLastActiveDate = "PortalLastActiveDate",
|
|
353
353
|
/** When the customer last used or was last active on the native customer mobile app (Sales - Contact) */
|
|
354
354
|
AppLastActiveDate = "AppLastActiveDate",
|
|
355
|
-
/** Free-text notes field for Contact. Used by Sales team for documentation. */
|
|
356
|
-
AdditionalCareNotes = "AdditionalCareNotes",
|
|
357
355
|
/** Is the customer medically dependant on their broadband (Sales - Contact) */
|
|
358
356
|
MedicallyDependant = "MedicallyDependant",
|
|
357
|
+
/** Any additional information */
|
|
358
|
+
AdditionalCareNotes = "AdditionalCareNotes",
|
|
359
359
|
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact) */
|
|
360
360
|
AdditionalCareRequired = "AdditionalCareRequired",
|
|
361
361
|
/** Does the customer use a Telecare Alarm (Sales - Contact) */
|
|
362
362
|
TelecareAlarm = "TelecareAlarm",
|
|
363
|
-
/**
|
|
363
|
+
/** Select a care requirement */
|
|
364
364
|
AdditionalCareReason = "AdditionalCareReason",
|
|
365
365
|
/** Phone number (Sales - Contact) */
|
|
366
366
|
Phone = "Phone"
|
|
@@ -667,12 +667,6 @@ export interface ContactProperties {
|
|
|
667
667
|
* @hidden This field is hidden in the UI
|
|
668
668
|
*/
|
|
669
669
|
AppLastActiveDate: string;
|
|
670
|
-
/** Free-text notes field for Contact. Used by Sales team for documentation.
|
|
671
|
-
*
|
|
672
|
-
* @type {TEXT_LONG}
|
|
673
|
-
* @hidden This field is hidden in the UI
|
|
674
|
-
*/
|
|
675
|
-
AdditionalCareNotes: string;
|
|
676
670
|
/** Is the customer medically dependant on their broadband (Sales - Contact)
|
|
677
671
|
*
|
|
678
672
|
* @type {ENUM}
|
|
@@ -681,6 +675,12 @@ export interface ContactProperties {
|
|
|
681
675
|
* @hidden This field is hidden in the UI
|
|
682
676
|
*/
|
|
683
677
|
MedicallyDependant: ContactMedicallyDependant;
|
|
678
|
+
/** Any additional information
|
|
679
|
+
*
|
|
680
|
+
* @type {TEXT_LONG}
|
|
681
|
+
* @hidden This field is hidden in the UI
|
|
682
|
+
*/
|
|
683
|
+
AdditionalCareNotes: string;
|
|
684
684
|
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact)
|
|
685
685
|
*
|
|
686
686
|
* @type {ENUM}
|
|
@@ -696,7 +696,7 @@ export interface ContactProperties {
|
|
|
696
696
|
* @hidden This field is hidden in the UI
|
|
697
697
|
*/
|
|
698
698
|
TelecareAlarm: ContactTelecareAlarm;
|
|
699
|
-
/**
|
|
699
|
+
/** Select a care requirement
|
|
700
700
|
*
|
|
701
701
|
* @type {ENUM_MULTI_SELECT}
|
|
702
702
|
* @hidden This field is hidden in the UI
|
|
@@ -337,15 +337,15 @@ var ContactPropertyKeys;
|
|
|
337
337
|
ContactPropertyKeys["PortalLastActiveDate"] = "PortalLastActiveDate";
|
|
338
338
|
/** When the customer last used or was last active on the native customer mobile app (Sales - Contact) */
|
|
339
339
|
ContactPropertyKeys["AppLastActiveDate"] = "AppLastActiveDate";
|
|
340
|
-
/** Free-text notes field for Contact. Used by Sales team for documentation. */
|
|
341
|
-
ContactPropertyKeys["AdditionalCareNotes"] = "AdditionalCareNotes";
|
|
342
340
|
/** Is the customer medically dependant on their broadband (Sales - Contact) */
|
|
343
341
|
ContactPropertyKeys["MedicallyDependant"] = "MedicallyDependant";
|
|
342
|
+
/** Any additional information */
|
|
343
|
+
ContactPropertyKeys["AdditionalCareNotes"] = "AdditionalCareNotes";
|
|
344
344
|
/** Marks if the customer requires additional care (Ofcom vulnerable customer handling). (Sales - Contact) */
|
|
345
345
|
ContactPropertyKeys["AdditionalCareRequired"] = "AdditionalCareRequired";
|
|
346
346
|
/** Does the customer use a Telecare Alarm (Sales - Contact) */
|
|
347
347
|
ContactPropertyKeys["TelecareAlarm"] = "TelecareAlarm";
|
|
348
|
-
/**
|
|
348
|
+
/** Select a care requirement */
|
|
349
349
|
ContactPropertyKeys["AdditionalCareReason"] = "AdditionalCareReason";
|
|
350
350
|
/** Phone number (Sales - Contact) */
|
|
351
351
|
ContactPropertyKeys["Phone"] = "Phone";
|
|
@@ -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
|
*
|
|
@@ -764,11 +629,13 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
|
|
|
764
629
|
/**
|
|
765
630
|
* UpdateCustomerCallLegOnNumberCallStatusCompleted
|
|
766
631
|
*
|
|
767
|
-
* Updates this CallLeg record.
|
|
632
|
+
* Updates this CallLeg record with the specified properties.
|
|
768
633
|
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
769
634
|
*
|
|
770
|
-
* @param
|
|
771
|
-
* @param options - Optional settings
|
|
635
|
+
* @param properties - Required properties for this action
|
|
636
|
+
* @param options - Optional settings
|
|
637
|
+
* @param options.journeyId - Associate with a journey
|
|
638
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
772
639
|
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
773
640
|
* @throws Error if called on a new (unsaved) record
|
|
774
641
|
*
|
|
@@ -781,10 +648,7 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
|
|
|
781
648
|
* const payload = record.updateCustomerCallLegOnNumberCallStatusCompleted({ ... }).dryRun();
|
|
782
649
|
* ```
|
|
783
650
|
*/
|
|
784
|
-
updateCustomerCallLegOnNumberCallStatusCompleted(
|
|
785
|
-
journeyId?: string;
|
|
786
|
-
stageKey?: string;
|
|
787
|
-
}, options?: {
|
|
651
|
+
updateCustomerCallLegOnNumberCallStatusCompleted(properties: UpdateCustomerCallLegOnNumberCallStatusCompletedProperties, options?: {
|
|
788
652
|
journeyId?: string;
|
|
789
653
|
stageKey?: string;
|
|
790
654
|
}): ActionBuilder;
|