@d19n/youfibre-odin-sdk 2.0.203 → 2.0.206
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 +24 -10
- package/dist/actions-v2/CreateCallRecordingEventDto.d.ts +116 -0
- package/dist/actions-v2/CreateCallRecordingEventDto.js +54 -0
- package/dist/actions-v2/MovePgPaymentMethodToCreatedDto.d.ts +70 -0
- package/dist/actions-v2/MovePgPaymentMethodToCreatedDto.js +62 -0
- package/dist/actions-v2/MovePgPaymentMethodToReallocatingDto.d.ts +70 -0
- package/dist/actions-v2/MovePgPaymentMethodToReallocatingDto.js +62 -0
- package/dist/actions-v2/MovePgTransactionChargeToReallocatingDto.d.ts +70 -0
- package/dist/actions-v2/MovePgTransactionChargeToReallocatingDto.js +62 -0
- package/dist/actions-v2/MovePgTransactionRefundToReallocatingDto.d.ts +70 -0
- package/dist/actions-v2/MovePgTransactionRefundToReallocatingDto.js +62 -0
- package/dist/actions-v2/UpdateCallRecordingDetailsDto.d.ts +89 -0
- package/dist/actions-v2/UpdateCallRecordingDetailsDto.js +56 -0
- package/dist/entities-v2/PgPaymentMethod.d.ts +20 -16
- package/dist/entities-v2/PgPaymentMethod.js +8 -4
- package/dist/entities-v2/PgTransaction.d.ts +12 -4
- package/dist/entities-v2/PgTransaction.js +8 -0
- package/dist/entities-v2/TwilioCallEvent.d.ts +5 -3
- package/dist/entities-v2/TwilioCallEvent.js +4 -2
- package/dist/records-v2/CallRecord.d.ts +27 -0
- package/dist/records-v2/CallRecord.js +29 -0
- package/dist/records-v2/PgPaymentMethodRecord.d.ts +50 -0
- package/dist/records-v2/PgPaymentMethodRecord.js +58 -0
- package/dist/records-v2/PgTransactionRecord.d.ts +50 -0
- package/dist/records-v2/PgTransactionRecord.js +58 -0
- package/dist/records-v2/TwilioCallEventRecord.d.ts +29 -0
- package/dist/records-v2/TwilioCallEventRecord.js +36 -0
- package/dist/records-v2/index.d.ts +1 -1
- package/dist/records-v2/index.js +5 -5
- package/package.json +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovePgTransactionChargeToReallocating Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move PG Transaction Charge To Reallocating
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PgTransaction
|
|
9
|
+
* @entityType CHARGE
|
|
10
|
+
* @actionKey MovePgTransactionChargeToReallocating
|
|
11
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReallocating
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MovePgTransactionChargeToReallocatingDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* MovePgTransactionChargeToReallocating
|
|
20
|
+
*
|
|
21
|
+
* Move PG Transaction Charge To Reallocating
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module BillingModule
|
|
25
|
+
* @entity PgTransaction
|
|
26
|
+
* @entityType CHARGE (Charge)
|
|
27
|
+
* @targetStages ChargeStatusStageReallocating
|
|
28
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReallocating
|
|
29
|
+
* @permission schema.action.movepgtransactionchargetoreallocating.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MovePgTransactionChargeToReallocatingDto extends core_1.OdinRecordUpdateDto {
|
|
33
|
+
constructor(record, options) {
|
|
34
|
+
super({
|
|
35
|
+
id: record.id,
|
|
36
|
+
entity: record.entity,
|
|
37
|
+
type: record.type,
|
|
38
|
+
properties: {},
|
|
39
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
40
|
+
});
|
|
41
|
+
this.actionName = 'MovePgTransactionChargeToReallocating';
|
|
42
|
+
this.schemaActionId = 'e66a534a-aa86-4255-931c-b860e4f958f7';
|
|
43
|
+
this.entity = 'BillingModule:PgTransaction';
|
|
44
|
+
this.stageKey = 'ChargeStatusStageReallocating';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MovePgTransactionChargeToReallocatingDto = MovePgTransactionChargeToReallocatingDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MovePgTransactionChargeToReallocatingDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MovePgTransactionChargeToReallocatingDto.ACTION_KEY = 'MovePgTransactionChargeToReallocating';
|
|
51
|
+
MovePgTransactionChargeToReallocatingDto.MODULE_NAME = 'BillingModule';
|
|
52
|
+
MovePgTransactionChargeToReallocatingDto.ENTITIES = ['PgTransaction'];
|
|
53
|
+
MovePgTransactionChargeToReallocatingDto.ENTITY_TYPE = 'CHARGE';
|
|
54
|
+
MovePgTransactionChargeToReallocatingDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReallocating';
|
|
55
|
+
MovePgTransactionChargeToReallocatingDto.SCHEMA_ACTION_ID = 'e66a534a-aa86-4255-931c-b860e4f958f7';
|
|
56
|
+
MovePgTransactionChargeToReallocatingDto.PERMISSION = 'schema.action.movepgtransactionchargetoreallocating.trigger';
|
|
57
|
+
MovePgTransactionChargeToReallocatingDto.TARGET_STAGES = ['ChargeStatusStageReallocating'];
|
|
58
|
+
MovePgTransactionChargeToReallocatingDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MovePgTransactionChargeToReallocatingDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MovePgTransactionChargeToReallocatingDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MovePgTransactionChargeToReallocatingDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MovePgTransactionRefundToReallocating Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move PG Transaction Refund To Reallocating
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PgTransaction
|
|
8
|
+
* @entityType REFUND
|
|
9
|
+
* @actionKey MovePgTransactionRefundToReallocating
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReallocating
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for MovePgTransactionRefundToReallocating step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReallocating
|
|
19
|
+
*/
|
|
20
|
+
export interface MovePgTransactionRefundToReallocatingMessage extends OdinRecordUpdatedEvent<MovePgTransactionRefundToReallocatingDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MovePgTransactionRefundToReallocating action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MovePgTransactionRefundToReallocatingProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MovePgTransactionRefundToReallocating
|
|
30
|
+
*
|
|
31
|
+
* Move PG Transaction Refund To Reallocating
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module BillingModule
|
|
35
|
+
* @entity PgTransaction
|
|
36
|
+
* @entityType REFUND (Refund)
|
|
37
|
+
* @targetStages RefundStatusStageReallocating
|
|
38
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReallocating
|
|
39
|
+
* @permission schema.action.movepgtransactionrefundtoreallocating.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MovePgTransactionRefundToReallocatingDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
43
|
+
/** Used by SDK generators to identify action type */
|
|
44
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
45
|
+
static readonly ACTION_KEY = "MovePgTransactionRefundToReallocating";
|
|
46
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
47
|
+
static readonly ENTITIES: string[];
|
|
48
|
+
static readonly ENTITY_TYPE = "REFUND";
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReallocating";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "24f49f28-c8bc-4681-a0c9-316a57cc747c";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movepgtransactionrefundtoreallocating.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["RefundStatusStageReallocating"];
|
|
53
|
+
static readonly IS_STAGE_TRANSITION = true;
|
|
54
|
+
static readonly IS_MULTI_STEP_FLOW = false;
|
|
55
|
+
static readonly HAS_STEP_LINKS = false;
|
|
56
|
+
readonly actionName: string;
|
|
57
|
+
readonly schemaActionId: string;
|
|
58
|
+
readonly entity: string;
|
|
59
|
+
readonly stageKey: string;
|
|
60
|
+
constructor(record: OdinRecord<any> | {
|
|
61
|
+
id: string;
|
|
62
|
+
entity: string;
|
|
63
|
+
type?: string;
|
|
64
|
+
}, options?: {
|
|
65
|
+
journeyId?: string;
|
|
66
|
+
});
|
|
67
|
+
/** Step classes that can be used with this action */
|
|
68
|
+
static readonly stepClasses: readonly [];
|
|
69
|
+
steps: [];
|
|
70
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovePgTransactionRefundToReallocating Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move PG Transaction Refund To Reallocating
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PgTransaction
|
|
9
|
+
* @entityType REFUND
|
|
10
|
+
* @actionKey MovePgTransactionRefundToReallocating
|
|
11
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReallocating
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MovePgTransactionRefundToReallocatingDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* MovePgTransactionRefundToReallocating
|
|
20
|
+
*
|
|
21
|
+
* Move PG Transaction Refund To Reallocating
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module BillingModule
|
|
25
|
+
* @entity PgTransaction
|
|
26
|
+
* @entityType REFUND (Refund)
|
|
27
|
+
* @targetStages RefundStatusStageReallocating
|
|
28
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReallocating
|
|
29
|
+
* @permission schema.action.movepgtransactionrefundtoreallocating.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MovePgTransactionRefundToReallocatingDto extends core_1.OdinRecordUpdateDto {
|
|
33
|
+
constructor(record, options) {
|
|
34
|
+
super({
|
|
35
|
+
id: record.id,
|
|
36
|
+
entity: record.entity,
|
|
37
|
+
type: record.type,
|
|
38
|
+
properties: {},
|
|
39
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
40
|
+
});
|
|
41
|
+
this.actionName = 'MovePgTransactionRefundToReallocating';
|
|
42
|
+
this.schemaActionId = '24f49f28-c8bc-4681-a0c9-316a57cc747c';
|
|
43
|
+
this.entity = 'BillingModule:PgTransaction';
|
|
44
|
+
this.stageKey = 'RefundStatusStageReallocating';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MovePgTransactionRefundToReallocatingDto = MovePgTransactionRefundToReallocatingDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MovePgTransactionRefundToReallocatingDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MovePgTransactionRefundToReallocatingDto.ACTION_KEY = 'MovePgTransactionRefundToReallocating';
|
|
51
|
+
MovePgTransactionRefundToReallocatingDto.MODULE_NAME = 'BillingModule';
|
|
52
|
+
MovePgTransactionRefundToReallocatingDto.ENTITIES = ['PgTransaction'];
|
|
53
|
+
MovePgTransactionRefundToReallocatingDto.ENTITY_TYPE = 'REFUND';
|
|
54
|
+
MovePgTransactionRefundToReallocatingDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReallocating';
|
|
55
|
+
MovePgTransactionRefundToReallocatingDto.SCHEMA_ACTION_ID = '24f49f28-c8bc-4681-a0c9-316a57cc747c';
|
|
56
|
+
MovePgTransactionRefundToReallocatingDto.PERMISSION = 'schema.action.movepgtransactionrefundtoreallocating.trigger';
|
|
57
|
+
MovePgTransactionRefundToReallocatingDto.TARGET_STAGES = ['RefundStatusStageReallocating'];
|
|
58
|
+
MovePgTransactionRefundToReallocatingDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MovePgTransactionRefundToReallocatingDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MovePgTransactionRefundToReallocatingDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MovePgTransactionRefundToReallocatingDto.stepClasses = [];
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateCallRecordingDetails Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Update with call recording details
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity Call
|
|
8
|
+
* @actionKey UpdateCallRecordingDetails
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallRecordingDetails
|
|
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 UpdateCallRecordingDetails updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallRecordingDetails
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateCallRecordingDetailsMessage extends OdinRecordUpdatedEvent<UpdateCallRecordingDetailsDto, UpdateCallRecordingDetailsProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateCallRecordingDetails action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 3
|
|
25
|
+
* @property Optional fields: 0
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateCallRecordingDetailsProperties {
|
|
28
|
+
/**
|
|
29
|
+
* RecordingSid
|
|
30
|
+
*
|
|
31
|
+
* Twilio ID for Recording (Communications - Call)
|
|
32
|
+
* @type {TEXT}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
RecordingSid: string;
|
|
36
|
+
/**
|
|
37
|
+
* RecordingDuration
|
|
38
|
+
*
|
|
39
|
+
* RecordingDuration (Communications - Call)
|
|
40
|
+
* @type {NUMBER}
|
|
41
|
+
* @required
|
|
42
|
+
*/
|
|
43
|
+
RecordingDuration: number;
|
|
44
|
+
/**
|
|
45
|
+
* RecordingUrl
|
|
46
|
+
*
|
|
47
|
+
* RecordingUrl (Communications - Call)
|
|
48
|
+
* @type {TEXT}
|
|
49
|
+
* @required
|
|
50
|
+
*/
|
|
51
|
+
RecordingUrl: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* UpdateCallRecordingDetails
|
|
55
|
+
*
|
|
56
|
+
* Update with call recording details
|
|
57
|
+
*
|
|
58
|
+
* @actionType UPDATE - Updates an existing Call record
|
|
59
|
+
* @module NotificationModule
|
|
60
|
+
* @entity Call
|
|
61
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallRecordingDetails
|
|
62
|
+
* @permission schema.action.updatecallrecordingdetails.trigger
|
|
63
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
64
|
+
*/
|
|
65
|
+
export declare class UpdateCallRecordingDetailsDto extends OdinRecordUpdateDto<UpdateCallRecordingDetailsProperties> {
|
|
66
|
+
/** Used by SDK generators to identify action type */
|
|
67
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
68
|
+
static readonly ACTION_KEY = "UpdateCallRecordingDetails";
|
|
69
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
70
|
+
static readonly ENTITIES: string[];
|
|
71
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallRecordingDetails";
|
|
72
|
+
static readonly PERMISSION = "schema.action.updatecallrecordingdetails.trigger";
|
|
73
|
+
/** Step metadata - entity this action targets */
|
|
74
|
+
static readonly STEP_ENTITY = "NotificationModule:Call";
|
|
75
|
+
static readonly STEP_SCHEMA_ID = "e157f15c-6846-4bfb-bc92-aed4c4084e9f";
|
|
76
|
+
static readonly STEP_SCHEMA_ACTION_ID = "929b0409-decf-4942-834c-c2f0ba01bedf";
|
|
77
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
78
|
+
readonly actionName: string;
|
|
79
|
+
readonly schemaActionId: string;
|
|
80
|
+
readonly entity: string;
|
|
81
|
+
constructor(record: OdinRecord<any> | {
|
|
82
|
+
id: string;
|
|
83
|
+
entity: string;
|
|
84
|
+
type?: string;
|
|
85
|
+
}, properties: UpdateCallRecordingDetailsProperties, options?: {
|
|
86
|
+
journeyId?: string;
|
|
87
|
+
stageKey?: string;
|
|
88
|
+
});
|
|
89
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateCallRecordingDetails Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Update with call recording details
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity Call
|
|
9
|
+
* @actionKey UpdateCallRecordingDetails
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallRecordingDetails
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateCallRecordingDetailsDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* UpdateCallRecordingDetails
|
|
19
|
+
*
|
|
20
|
+
* Update with call recording details
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing Call record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity Call
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallRecordingDetails
|
|
26
|
+
* @permission schema.action.updatecallrecordingdetails.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateCallRecordingDetailsDto 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 = 'UpdateCallRecordingDetails';
|
|
40
|
+
this.schemaActionId = '929b0409-decf-4942-834c-c2f0ba01bedf';
|
|
41
|
+
this.entity = 'NotificationModule:Call';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateCallRecordingDetailsDto = UpdateCallRecordingDetailsDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateCallRecordingDetailsDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateCallRecordingDetailsDto.ACTION_KEY = 'UpdateCallRecordingDetails';
|
|
48
|
+
UpdateCallRecordingDetailsDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
UpdateCallRecordingDetailsDto.ENTITIES = ['Call'];
|
|
50
|
+
UpdateCallRecordingDetailsDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallRecordingDetails';
|
|
51
|
+
UpdateCallRecordingDetailsDto.PERMISSION = 'schema.action.updatecallrecordingdetails.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateCallRecordingDetailsDto.STEP_ENTITY = 'NotificationModule:Call';
|
|
54
|
+
UpdateCallRecordingDetailsDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
|
|
55
|
+
UpdateCallRecordingDetailsDto.STEP_SCHEMA_ACTION_ID = '929b0409-decf-4942-834c-c2f0ba01bedf';
|
|
56
|
+
UpdateCallRecordingDetailsDto.AUTO_LINK_PARENT = false;
|
|
@@ -55,7 +55,9 @@ export declare enum DefaultPgPaymentMethodStageNames {
|
|
|
55
55
|
/** Instruction Rejected (fail) */
|
|
56
56
|
InstructionRejected = "Instruction Rejected",
|
|
57
57
|
/** Invalid (fail) */
|
|
58
|
-
Invalid = "Invalid"
|
|
58
|
+
Invalid = "Invalid",
|
|
59
|
+
/** Reallocating */
|
|
60
|
+
Reallocating = "Reallocating"
|
|
59
61
|
}
|
|
60
62
|
/**
|
|
61
63
|
* Pipeline stage keys for DEFAULT PgPaymentMethod
|
|
@@ -89,7 +91,9 @@ export declare enum DefaultPgPaymentMethodStageKeys {
|
|
|
89
91
|
/** Instruction Rejected */
|
|
90
92
|
StatusStageInstructionRejected = "StatusStageInstructionRejected",
|
|
91
93
|
/** Invalid */
|
|
92
|
-
StatusStageInvalid = "StatusStageInvalid"
|
|
94
|
+
StatusStageInvalid = "StatusStageInvalid",
|
|
95
|
+
/** Reallocating */
|
|
96
|
+
StatusStageReallocating = "StatusStageReallocating"
|
|
93
97
|
}
|
|
94
98
|
/**
|
|
95
99
|
* Valid values for PgPaymentMethod.Company
|
|
@@ -132,8 +136,6 @@ export declare enum PgPaymentMethodPublicView {
|
|
|
132
136
|
* Use these constants instead of string literals for type safety
|
|
133
137
|
*/
|
|
134
138
|
export declare enum PgPaymentMethodPropertyKeys {
|
|
135
|
-
/** Account Number */
|
|
136
|
-
AccountNumber = "AccountNumber",
|
|
137
139
|
/** Activated Datetime */
|
|
138
140
|
ActivatedDatetime = "ActivatedDatetime",
|
|
139
141
|
/** Contact */
|
|
@@ -142,6 +144,8 @@ export declare enum PgPaymentMethodPropertyKeys {
|
|
|
142
144
|
Message = "Message",
|
|
143
145
|
/** Payment method to be used for the customer, if true */
|
|
144
146
|
InUse = "InUse",
|
|
147
|
+
/** Account Number */
|
|
148
|
+
AccountNumber = "AccountNumber",
|
|
145
149
|
/** Company */
|
|
146
150
|
Company = "Company",
|
|
147
151
|
/** Fingerprint */
|
|
@@ -160,10 +164,10 @@ export declare enum PgPaymentMethodPropertyKeys {
|
|
|
160
164
|
PublicView = "PublicView",
|
|
161
165
|
/** Mandate */
|
|
162
166
|
Mandate = "Mandate",
|
|
163
|
-
/** BankName */
|
|
164
|
-
BankName = "BankName",
|
|
165
167
|
/** Bacs Reference */
|
|
166
|
-
BacsReference = "BacsReference"
|
|
168
|
+
BacsReference = "BacsReference",
|
|
169
|
+
/** BankName */
|
|
170
|
+
BankName = "BankName"
|
|
167
171
|
}
|
|
168
172
|
/**
|
|
169
173
|
* Properties for PgPaymentMethod records
|
|
@@ -171,11 +175,6 @@ export declare enum PgPaymentMethodPropertyKeys {
|
|
|
171
175
|
* @see BillingModule:PgPaymentMethod
|
|
172
176
|
*/
|
|
173
177
|
export interface PgPaymentMethodProperties {
|
|
174
|
-
/** Account Number
|
|
175
|
-
*
|
|
176
|
-
* @type {TEXT}
|
|
177
|
-
*/
|
|
178
|
-
AccountNumber: string;
|
|
179
178
|
/** Activated Datetime
|
|
180
179
|
*
|
|
181
180
|
* @type {DATE_TIME}
|
|
@@ -196,6 +195,11 @@ export interface PgPaymentMethodProperties {
|
|
|
196
195
|
* @type {BOOLEAN}
|
|
197
196
|
*/
|
|
198
197
|
InUse: boolean;
|
|
198
|
+
/** Account Number
|
|
199
|
+
*
|
|
200
|
+
* @type {TEXT}
|
|
201
|
+
*/
|
|
202
|
+
AccountNumber: string;
|
|
199
203
|
/** Company
|
|
200
204
|
*
|
|
201
205
|
* @type {ENUM}
|
|
@@ -245,16 +249,16 @@ export interface PgPaymentMethodProperties {
|
|
|
245
249
|
* @type {UUID}
|
|
246
250
|
*/
|
|
247
251
|
Mandate: string;
|
|
248
|
-
/**
|
|
252
|
+
/** Bacs Reference
|
|
249
253
|
*
|
|
250
254
|
* @type {TEXT}
|
|
251
255
|
*/
|
|
252
|
-
|
|
253
|
-
/**
|
|
256
|
+
BacsReference: string;
|
|
257
|
+
/** BankName
|
|
254
258
|
*
|
|
255
259
|
* @type {TEXT}
|
|
256
260
|
*/
|
|
257
|
-
|
|
261
|
+
BankName: string;
|
|
258
262
|
}
|
|
259
263
|
/**
|
|
260
264
|
* PgPaymentMethod entity from BillingModule
|
|
@@ -57,6 +57,8 @@ var DefaultPgPaymentMethodStageNames;
|
|
|
57
57
|
DefaultPgPaymentMethodStageNames["InstructionRejected"] = "Instruction Rejected";
|
|
58
58
|
/** Invalid (fail) */
|
|
59
59
|
DefaultPgPaymentMethodStageNames["Invalid"] = "Invalid";
|
|
60
|
+
/** Reallocating */
|
|
61
|
+
DefaultPgPaymentMethodStageNames["Reallocating"] = "Reallocating";
|
|
60
62
|
})(DefaultPgPaymentMethodStageNames = exports.DefaultPgPaymentMethodStageNames || (exports.DefaultPgPaymentMethodStageNames = {}));
|
|
61
63
|
/**
|
|
62
64
|
* Pipeline stage keys for DEFAULT PgPaymentMethod
|
|
@@ -92,6 +94,8 @@ var DefaultPgPaymentMethodStageKeys;
|
|
|
92
94
|
DefaultPgPaymentMethodStageKeys["StatusStageInstructionRejected"] = "StatusStageInstructionRejected";
|
|
93
95
|
/** Invalid */
|
|
94
96
|
DefaultPgPaymentMethodStageKeys["StatusStageInvalid"] = "StatusStageInvalid";
|
|
97
|
+
/** Reallocating */
|
|
98
|
+
DefaultPgPaymentMethodStageKeys["StatusStageReallocating"] = "StatusStageReallocating";
|
|
95
99
|
})(DefaultPgPaymentMethodStageKeys = exports.DefaultPgPaymentMethodStageKeys || (exports.DefaultPgPaymentMethodStageKeys = {}));
|
|
96
100
|
/**
|
|
97
101
|
* Valid values for PgPaymentMethod.Company
|
|
@@ -137,8 +141,6 @@ var PgPaymentMethodPublicView;
|
|
|
137
141
|
*/
|
|
138
142
|
var PgPaymentMethodPropertyKeys;
|
|
139
143
|
(function (PgPaymentMethodPropertyKeys) {
|
|
140
|
-
/** Account Number */
|
|
141
|
-
PgPaymentMethodPropertyKeys["AccountNumber"] = "AccountNumber";
|
|
142
144
|
/** Activated Datetime */
|
|
143
145
|
PgPaymentMethodPropertyKeys["ActivatedDatetime"] = "ActivatedDatetime";
|
|
144
146
|
/** Contact */
|
|
@@ -147,6 +149,8 @@ var PgPaymentMethodPropertyKeys;
|
|
|
147
149
|
PgPaymentMethodPropertyKeys["Message"] = "Message";
|
|
148
150
|
/** Payment method to be used for the customer, if true */
|
|
149
151
|
PgPaymentMethodPropertyKeys["InUse"] = "InUse";
|
|
152
|
+
/** Account Number */
|
|
153
|
+
PgPaymentMethodPropertyKeys["AccountNumber"] = "AccountNumber";
|
|
150
154
|
/** Company */
|
|
151
155
|
PgPaymentMethodPropertyKeys["Company"] = "Company";
|
|
152
156
|
/** Fingerprint */
|
|
@@ -165,10 +169,10 @@ var PgPaymentMethodPropertyKeys;
|
|
|
165
169
|
PgPaymentMethodPropertyKeys["PublicView"] = "PublicView";
|
|
166
170
|
/** Mandate */
|
|
167
171
|
PgPaymentMethodPropertyKeys["Mandate"] = "Mandate";
|
|
168
|
-
/** BankName */
|
|
169
|
-
PgPaymentMethodPropertyKeys["BankName"] = "BankName";
|
|
170
172
|
/** Bacs Reference */
|
|
171
173
|
PgPaymentMethodPropertyKeys["BacsReference"] = "BacsReference";
|
|
174
|
+
/** BankName */
|
|
175
|
+
PgPaymentMethodPropertyKeys["BankName"] = "BankName";
|
|
172
176
|
})(PgPaymentMethodPropertyKeys = exports.PgPaymentMethodPropertyKeys || (exports.PgPaymentMethodPropertyKeys = {}));
|
|
173
177
|
/**
|
|
174
178
|
* PgPaymentMethod entity from BillingModule
|
|
@@ -57,7 +57,9 @@ export declare enum ChargePgTransactionStageNames {
|
|
|
57
57
|
/** Failed (fail) */
|
|
58
58
|
Failed = "Failed",
|
|
59
59
|
/** Cancelled */
|
|
60
|
-
Cancelled = "Cancelled"
|
|
60
|
+
Cancelled = "Cancelled",
|
|
61
|
+
/** Reallocating */
|
|
62
|
+
Reallocating = "Reallocating"
|
|
61
63
|
}
|
|
62
64
|
/**
|
|
63
65
|
* Pipeline stage keys for CHARGE PgTransaction
|
|
@@ -89,7 +91,9 @@ export declare enum ChargePgTransactionStageKeys {
|
|
|
89
91
|
/** Failed */
|
|
90
92
|
ChargeStatusStageFailed = "ChargeStatusStageFailed",
|
|
91
93
|
/** Cancelled */
|
|
92
|
-
ChargeStatusStageCancelled = "ChargeStatusStageCancelled"
|
|
94
|
+
ChargeStatusStageCancelled = "ChargeStatusStageCancelled",
|
|
95
|
+
/** Reallocating */
|
|
96
|
+
ChargeStatusStageReallocating = "ChargeStatusStageReallocating"
|
|
93
97
|
}
|
|
94
98
|
/**
|
|
95
99
|
* Pipeline stage names for REFUND PgTransaction
|
|
@@ -122,7 +126,9 @@ export declare enum RefundPgTransactionStageNames {
|
|
|
122
126
|
/** Failed (fail) */
|
|
123
127
|
Failed = "Failed",
|
|
124
128
|
/** Cancelled */
|
|
125
|
-
Cancelled = "Cancelled"
|
|
129
|
+
Cancelled = "Cancelled",
|
|
130
|
+
/** Reallocating */
|
|
131
|
+
Reallocating = "Reallocating"
|
|
126
132
|
}
|
|
127
133
|
/**
|
|
128
134
|
* Pipeline stage keys for REFUND PgTransaction
|
|
@@ -154,7 +160,9 @@ export declare enum RefundPgTransactionStageKeys {
|
|
|
154
160
|
/** Failed */
|
|
155
161
|
RefundStatusStageFailed = "RefundStatusStageFailed",
|
|
156
162
|
/** Cancelled */
|
|
157
|
-
RefundStatusStageCancelled = "RefundStatusStageCancelled"
|
|
163
|
+
RefundStatusStageCancelled = "RefundStatusStageCancelled",
|
|
164
|
+
/** Reallocating */
|
|
165
|
+
RefundStatusStageReallocating = "RefundStatusStageReallocating"
|
|
158
166
|
}
|
|
159
167
|
/**
|
|
160
168
|
* Valid values for PgTransaction.PublicView
|
|
@@ -59,6 +59,8 @@ var ChargePgTransactionStageNames;
|
|
|
59
59
|
ChargePgTransactionStageNames["Failed"] = "Failed";
|
|
60
60
|
/** Cancelled */
|
|
61
61
|
ChargePgTransactionStageNames["Cancelled"] = "Cancelled";
|
|
62
|
+
/** Reallocating */
|
|
63
|
+
ChargePgTransactionStageNames["Reallocating"] = "Reallocating";
|
|
62
64
|
})(ChargePgTransactionStageNames = exports.ChargePgTransactionStageNames || (exports.ChargePgTransactionStageNames = {}));
|
|
63
65
|
/**
|
|
64
66
|
* Pipeline stage keys for CHARGE PgTransaction
|
|
@@ -92,6 +94,8 @@ var ChargePgTransactionStageKeys;
|
|
|
92
94
|
ChargePgTransactionStageKeys["ChargeStatusStageFailed"] = "ChargeStatusStageFailed";
|
|
93
95
|
/** Cancelled */
|
|
94
96
|
ChargePgTransactionStageKeys["ChargeStatusStageCancelled"] = "ChargeStatusStageCancelled";
|
|
97
|
+
/** Reallocating */
|
|
98
|
+
ChargePgTransactionStageKeys["ChargeStatusStageReallocating"] = "ChargeStatusStageReallocating";
|
|
95
99
|
})(ChargePgTransactionStageKeys = exports.ChargePgTransactionStageKeys || (exports.ChargePgTransactionStageKeys = {}));
|
|
96
100
|
/**
|
|
97
101
|
* Pipeline stage names for REFUND PgTransaction
|
|
@@ -126,6 +130,8 @@ var RefundPgTransactionStageNames;
|
|
|
126
130
|
RefundPgTransactionStageNames["Failed"] = "Failed";
|
|
127
131
|
/** Cancelled */
|
|
128
132
|
RefundPgTransactionStageNames["Cancelled"] = "Cancelled";
|
|
133
|
+
/** Reallocating */
|
|
134
|
+
RefundPgTransactionStageNames["Reallocating"] = "Reallocating";
|
|
129
135
|
})(RefundPgTransactionStageNames = exports.RefundPgTransactionStageNames || (exports.RefundPgTransactionStageNames = {}));
|
|
130
136
|
/**
|
|
131
137
|
* Pipeline stage keys for REFUND PgTransaction
|
|
@@ -159,6 +165,8 @@ var RefundPgTransactionStageKeys;
|
|
|
159
165
|
RefundPgTransactionStageKeys["RefundStatusStageFailed"] = "RefundStatusStageFailed";
|
|
160
166
|
/** Cancelled */
|
|
161
167
|
RefundPgTransactionStageKeys["RefundStatusStageCancelled"] = "RefundStatusStageCancelled";
|
|
168
|
+
/** Reallocating */
|
|
169
|
+
RefundPgTransactionStageKeys["RefundStatusStageReallocating"] = "RefundStatusStageReallocating";
|
|
162
170
|
})(RefundPgTransactionStageKeys = exports.RefundPgTransactionStageKeys || (exports.RefundPgTransactionStageKeys = {}));
|
|
163
171
|
/**
|
|
164
172
|
* Valid values for PgTransaction.PublicView
|
|
@@ -31,18 +31,20 @@ export declare enum TwilioCallEventEntityTypes {
|
|
|
31
31
|
* Source of the captured event
|
|
32
32
|
*
|
|
33
33
|
* @remarks Available options:
|
|
34
|
-
* - `
|
|
34
|
+
* - `CallSummaryEvent`
|
|
35
35
|
* - `InboundCallStatusUpdateEvent`
|
|
36
36
|
* - `NumberCallStatusEvent`
|
|
37
37
|
* - `OutboundCallStatusUpdateEvent`
|
|
38
38
|
* - `OutboundDialActionEvent`
|
|
39
|
+
* - `RecordingStatusEvent`
|
|
39
40
|
*/
|
|
40
41
|
export declare enum TwilioCallEventWebhookSource {
|
|
41
|
-
|
|
42
|
+
CALL_SUMMARY_EVENT = "CallSummaryEvent",
|
|
42
43
|
INBOUND_CALL_STATUS_UPDATE_EVENT = "InboundCallStatusUpdateEvent",
|
|
43
44
|
NUMBER_CALL_STATUS_EVENT = "NumberCallStatusEvent",
|
|
44
45
|
OUTBOUND_CALL_STATUS_UPDATE_EVENT = "OutboundCallStatusUpdateEvent",
|
|
45
|
-
OUTBOUND_DIAL_ACTION_EVENT = "OutboundDialActionEvent"
|
|
46
|
+
OUTBOUND_DIAL_ACTION_EVENT = "OutboundDialActionEvent",
|
|
47
|
+
RECORDING_STATUS_EVENT = "RecordingStatusEvent"
|
|
46
48
|
}
|
|
47
49
|
/**
|
|
48
50
|
* Valid values for TwilioCallEvent.ProcessingStatus
|
|
@@ -34,19 +34,21 @@ var TwilioCallEventEntityTypes;
|
|
|
34
34
|
* Source of the captured event
|
|
35
35
|
*
|
|
36
36
|
* @remarks Available options:
|
|
37
|
-
* - `
|
|
37
|
+
* - `CallSummaryEvent`
|
|
38
38
|
* - `InboundCallStatusUpdateEvent`
|
|
39
39
|
* - `NumberCallStatusEvent`
|
|
40
40
|
* - `OutboundCallStatusUpdateEvent`
|
|
41
41
|
* - `OutboundDialActionEvent`
|
|
42
|
+
* - `RecordingStatusEvent`
|
|
42
43
|
*/
|
|
43
44
|
var TwilioCallEventWebhookSource;
|
|
44
45
|
(function (TwilioCallEventWebhookSource) {
|
|
45
|
-
TwilioCallEventWebhookSource["
|
|
46
|
+
TwilioCallEventWebhookSource["CALL_SUMMARY_EVENT"] = "CallSummaryEvent";
|
|
46
47
|
TwilioCallEventWebhookSource["INBOUND_CALL_STATUS_UPDATE_EVENT"] = "InboundCallStatusUpdateEvent";
|
|
47
48
|
TwilioCallEventWebhookSource["NUMBER_CALL_STATUS_EVENT"] = "NumberCallStatusEvent";
|
|
48
49
|
TwilioCallEventWebhookSource["OUTBOUND_CALL_STATUS_UPDATE_EVENT"] = "OutboundCallStatusUpdateEvent";
|
|
49
50
|
TwilioCallEventWebhookSource["OUTBOUND_DIAL_ACTION_EVENT"] = "OutboundDialActionEvent";
|
|
51
|
+
TwilioCallEventWebhookSource["RECORDING_STATUS_EVENT"] = "RecordingStatusEvent";
|
|
50
52
|
})(TwilioCallEventWebhookSource = exports.TwilioCallEventWebhookSource || (exports.TwilioCallEventWebhookSource = {}));
|
|
51
53
|
/**
|
|
52
54
|
* Valid values for TwilioCallEvent.ProcessingStatus
|
|
@@ -39,6 +39,7 @@ import { UpdateCallOnOutboundCallCompletedProperties } from '../actions-v2/Updat
|
|
|
39
39
|
import { UpdateCallOnOutboundDialActionProperties } from '../actions-v2/UpdateCallOnOutboundDialActionDto';
|
|
40
40
|
import { UpdateCallOnTaskCanceledProperties } from '../actions-v2/UpdateCallOnTaskCanceledDto';
|
|
41
41
|
import { UpdateCallOnTaskRouterAssignProperties } from '../actions-v2/UpdateCallOnTaskRouterAssignDto';
|
|
42
|
+
import { UpdateCallRecordingDetailsProperties } from '../actions-v2/UpdateCallRecordingDetailsDto';
|
|
42
43
|
import { UpdateCallTranscriptionUrlProperties } from '../actions-v2/UpdateCallTranscriptionUrlDto';
|
|
43
44
|
import { LeadRecord } from './LeadRecord';
|
|
44
45
|
import { FileRecord } from './FileRecord';
|
|
@@ -713,6 +714,32 @@ export declare class CallRecord<TProps = CallProperties> {
|
|
|
713
714
|
journeyId?: string;
|
|
714
715
|
stageKey?: string;
|
|
715
716
|
}): ActionBuilder;
|
|
717
|
+
/**
|
|
718
|
+
* UpdateCallRecordingDetails
|
|
719
|
+
*
|
|
720
|
+
* Updates this Call record with the specified properties.
|
|
721
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
722
|
+
*
|
|
723
|
+
* @param properties - Required properties for this action
|
|
724
|
+
* @param options - Optional settings
|
|
725
|
+
* @param options.journeyId - Associate with a journey
|
|
726
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
727
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
728
|
+
* @throws Error if called on a new (unsaved) record
|
|
729
|
+
*
|
|
730
|
+
* @example
|
|
731
|
+
* ```typescript
|
|
732
|
+
* const record = await odinClient.calls.get(id);
|
|
733
|
+
* await record.updateCallRecordingDetails({ ... }).execute();
|
|
734
|
+
*
|
|
735
|
+
* // Dry run (for debugging)
|
|
736
|
+
* const payload = record.updateCallRecordingDetails({ ... }).dryRun();
|
|
737
|
+
* ```
|
|
738
|
+
*/
|
|
739
|
+
updateCallRecordingDetails(properties: UpdateCallRecordingDetailsProperties, options?: {
|
|
740
|
+
journeyId?: string;
|
|
741
|
+
stageKey?: string;
|
|
742
|
+
}): ActionBuilder;
|
|
716
743
|
/**
|
|
717
744
|
* UpdateCallTranscriptionUrl
|
|
718
745
|
*
|