@d19n/youfibre-odin-sdk 2.0.103-beta.4 → 2.0.103-beta.5

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 CHANGED
@@ -1116,7 +1116,7 @@ This SDK includes **630** actions.
1116
1116
  | `UpdateAgentCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered |
1117
1117
  | `UpdateAgentCallLegOnIncomingCallCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled |
1118
1118
  | `UpdateAgentCallLegOnIncomingCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCompleted |
1119
- | `UpdateAgentCallLegOnIncomingCallRinding` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinding |
1119
+ | `UpdateAgentCallLegOnIncomingCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging |
1120
1120
  | `UpdateCall` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCall |
1121
1121
  | `UpdateCustomerCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallAnswered |
1122
1122
 
@@ -1,30 +1,30 @@
1
1
  /**
2
- * UpdateAgentCallLegOnIncomingCallRinding Action DTO
2
+ * UpdateAgentCallLegOnIncomingCallRinging Action DTO
3
3
  *
4
- * Update agent call leg on incoming call rinding
4
+ * Update agent call leg on incoming call ringing
5
5
  *
6
6
  * @module NotificationModule
7
7
  * @entity CallLeg
8
- * @actionKey UpdateAgentCallLegOnIncomingCallRinding
9
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinding
8
+ * @actionKey UpdateAgentCallLegOnIncomingCallRinging
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging
10
10
  *
11
11
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
12
  */
13
13
  import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
14
  /**
15
- * RabbitMQ message payload for UpdateAgentCallLegOnIncomingCallRinding updated events
15
+ * RabbitMQ message payload for UpdateAgentCallLegOnIncomingCallRinging updated events
16
16
  *
17
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinding
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging
18
18
  */
19
- export interface UpdateAgentCallLegOnIncomingCallRindingMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnIncomingCallRindingDto, UpdateAgentCallLegOnIncomingCallRindingProperties> {
19
+ export interface UpdateAgentCallLegOnIncomingCallRingingMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnIncomingCallRingingDto, UpdateAgentCallLegOnIncomingCallRingingProperties> {
20
20
  }
21
21
  /**
22
- * Properties for UpdateAgentCallLegOnIncomingCallRinding action
22
+ * Properties for UpdateAgentCallLegOnIncomingCallRinging action
23
23
  *
24
24
  * @property Required fields: 2
25
25
  * @property Optional fields: 0
26
26
  */
27
- export interface UpdateAgentCallLegOnIncomingCallRindingProperties {
27
+ export interface UpdateAgentCallLegOnIncomingCallRingingProperties {
28
28
  /**
29
29
  * RingingAt
30
30
  *
@@ -43,29 +43,29 @@ export interface UpdateAgentCallLegOnIncomingCallRindingProperties {
43
43
  Status: string;
44
44
  }
45
45
  /**
46
- * UpdateAgentCallLegOnIncomingCallRinding
46
+ * UpdateAgentCallLegOnIncomingCallRinging
47
47
  *
48
- * Update agent call leg on incoming call rinding
48
+ * Update agent call leg on incoming call ringing
49
49
  *
50
50
  * @actionType UPDATE - Updates an existing CallLeg record
51
51
  * @module NotificationModule
52
52
  * @entity CallLeg
53
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinding
54
- * @permission schema.action.updateagentcalllegonincomingcallrinding.trigger
53
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging
54
+ * @permission schema.action.updateagentcalllegonincomingcallringing.trigger
55
55
  * @benchmark This action is tracked for performance benchmarks
56
56
  */
57
- export declare class UpdateAgentCallLegOnIncomingCallRindingDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnIncomingCallRindingProperties> {
57
+ export declare class UpdateAgentCallLegOnIncomingCallRingingDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnIncomingCallRingingProperties> {
58
58
  /** Used by SDK generators to identify action type */
59
59
  static readonly ACTION_TYPE = "UPDATE";
60
- static readonly ACTION_KEY = "UpdateAgentCallLegOnIncomingCallRinding";
60
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnIncomingCallRinging";
61
61
  static readonly MODULE_NAME = "NotificationModule";
62
62
  static readonly ENTITIES: string[];
63
- static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinding";
64
- static readonly PERMISSION = "schema.action.updateagentcalllegonincomingcallrinding.trigger";
63
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging";
64
+ static readonly PERMISSION = "schema.action.updateagentcalllegonincomingcallringing.trigger";
65
65
  /** Step metadata - entity this action targets */
66
66
  static readonly STEP_ENTITY = "NotificationModule:CallLeg";
67
67
  static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
68
- static readonly STEP_SCHEMA_ACTION_ID = "a3d8be43-ce38-4841-a836-7f38ceba4761";
68
+ static readonly STEP_SCHEMA_ACTION_ID = "a16ff881-91e5-449d-b5e2-c9556dd2e850";
69
69
  static readonly AUTO_LINK_PARENT = false;
70
70
  readonly actionName: string;
71
71
  readonly schemaActionId: string;
@@ -74,7 +74,7 @@ export declare class UpdateAgentCallLegOnIncomingCallRindingDto extends OdinReco
74
74
  id: string;
75
75
  entity: string;
76
76
  type?: string;
77
- }, properties: UpdateAgentCallLegOnIncomingCallRindingProperties, options?: {
77
+ }, properties: UpdateAgentCallLegOnIncomingCallRingingProperties, options?: {
78
78
  journeyId?: string;
79
79
  stageKey?: string;
80
80
  });
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnIncomingCallRinging Action DTO
4
+ *
5
+ * Update agent call leg on incoming call ringing
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnIncomingCallRinging
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnIncomingCallRingingDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnIncomingCallRinging
19
+ *
20
+ * Update agent call leg on incoming call ringing
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging
26
+ * @permission schema.action.updateagentcalllegonincomingcallringing.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnIncomingCallRingingDto 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 = 'UpdateAgentCallLegOnIncomingCallRinging';
40
+ this.schemaActionId = 'a16ff881-91e5-449d-b5e2-c9556dd2e850';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnIncomingCallRingingDto = UpdateAgentCallLegOnIncomingCallRingingDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnIncomingCallRingingDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnIncomingCallRingingDto.ACTION_KEY = 'UpdateAgentCallLegOnIncomingCallRinging';
48
+ UpdateAgentCallLegOnIncomingCallRingingDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnIncomingCallRingingDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnIncomingCallRingingDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging';
51
+ UpdateAgentCallLegOnIncomingCallRingingDto.PERMISSION = 'schema.action.updateagentcalllegonincomingcallringing.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnIncomingCallRingingDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnIncomingCallRingingDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnIncomingCallRingingDto.STEP_SCHEMA_ACTION_ID = 'a16ff881-91e5-449d-b5e2-c9556dd2e850';
56
+ UpdateAgentCallLegOnIncomingCallRingingDto.AUTO_LINK_PARENT = false;
@@ -28,7 +28,7 @@ import { CreateCustomerCallLegProperties } from '../actions-v2/CreateCustomerCal
28
28
  import { UpdateAgentCallLegOnIncomingCallAnsweredProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallAnsweredDto';
29
29
  import { UpdateAgentCallLegOnIncomingCallCanceledProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallCanceledDto';
30
30
  import { UpdateAgentCallLegOnIncomingCallCompletedProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallCompletedDto';
31
- import { UpdateAgentCallLegOnIncomingCallRindingProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallRindingDto';
31
+ import { UpdateAgentCallLegOnIncomingCallRingingProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallRingingDto';
32
32
  import { UpdateCallProperties } from '../actions-v2/UpdateCallDto';
33
33
  import { UpdateCustomerCallLegOnIncomingCallAnsweredProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallAnsweredDto';
34
34
  import { CallRecord } from './CallRecord';
@@ -353,7 +353,7 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
353
353
  stageKey?: string;
354
354
  }): ActionBuilder;
355
355
  /**
356
- * UpdateAgentCallLegOnIncomingCallRinding
356
+ * UpdateAgentCallLegOnIncomingCallRinging
357
357
  *
358
358
  * Updates this CallLeg record with the specified properties.
359
359
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
@@ -368,13 +368,13 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
368
368
  * @example
369
369
  * ```typescript
370
370
  * const record = await odinClient.callLegs.get(id);
371
- * await record.updateAgentCallLegOnIncomingCallRinding({ ... }).execute();
371
+ * await record.updateAgentCallLegOnIncomingCallRinging({ ... }).execute();
372
372
  *
373
373
  * // Dry run (for debugging)
374
- * const payload = record.updateAgentCallLegOnIncomingCallRinding({ ... }).dryRun();
374
+ * const payload = record.updateAgentCallLegOnIncomingCallRinging({ ... }).dryRun();
375
375
  * ```
376
376
  */
377
- updateAgentCallLegOnIncomingCallRinding(properties: UpdateAgentCallLegOnIncomingCallRindingProperties, options?: {
377
+ updateAgentCallLegOnIncomingCallRinging(properties: UpdateAgentCallLegOnIncomingCallRingingProperties, options?: {
378
378
  journeyId?: string;
379
379
  stageKey?: string;
380
380
  }): ActionBuilder;
@@ -455,7 +455,7 @@ class CallLegRecord {
455
455
  return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
456
456
  }
457
457
  /**
458
- * UpdateAgentCallLegOnIncomingCallRinding
458
+ * UpdateAgentCallLegOnIncomingCallRinging
459
459
  *
460
460
  * Updates this CallLeg record with the specified properties.
461
461
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
@@ -470,17 +470,17 @@ class CallLegRecord {
470
470
  * @example
471
471
  * ```typescript
472
472
  * const record = await odinClient.callLegs.get(id);
473
- * await record.updateAgentCallLegOnIncomingCallRinding({ ... }).execute();
473
+ * await record.updateAgentCallLegOnIncomingCallRinging({ ... }).execute();
474
474
  *
475
475
  * // Dry run (for debugging)
476
- * const payload = record.updateAgentCallLegOnIncomingCallRinding({ ... }).dryRun();
476
+ * const payload = record.updateAgentCallLegOnIncomingCallRinging({ ... }).dryRun();
477
477
  * ```
478
478
  */
479
- updateAgentCallLegOnIncomingCallRinding(properties, options) {
479
+ updateAgentCallLegOnIncomingCallRinging(properties, options) {
480
480
  var _a;
481
481
  if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
482
- throw new Error('updateAgentCallLegOnIncomingCallRinding requires an existing record. Use accessor.get() first.');
483
- const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnIncomingCallRinding', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
482
+ throw new Error('updateAgentCallLegOnIncomingCallRinging requires an existing record. Use accessor.get() first.');
483
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnIncomingCallRinging', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
484
484
  return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
485
485
  }
486
486
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.103-beta.4",
3
+ "version": "2.0.103-beta.5",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -1,56 +0,0 @@
1
- "use strict";
2
- /**
3
- * UpdateAgentCallLegOnIncomingCallRinding Action DTO
4
- *
5
- * Update agent call leg on incoming call rinding
6
- *
7
- * @module NotificationModule
8
- * @entity CallLeg
9
- * @actionKey UpdateAgentCallLegOnIncomingCallRinding
10
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinding
11
- *
12
- * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.UpdateAgentCallLegOnIncomingCallRindingDto = void 0;
16
- const core_1 = require("@d19n/odin-types/dist/core");
17
- /**
18
- * UpdateAgentCallLegOnIncomingCallRinding
19
- *
20
- * Update agent call leg on incoming call rinding
21
- *
22
- * @actionType UPDATE - Updates an existing CallLeg record
23
- * @module NotificationModule
24
- * @entity CallLeg
25
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinding
26
- * @permission schema.action.updateagentcalllegonincomingcallrinding.trigger
27
- * @benchmark This action is tracked for performance benchmarks
28
- */
29
- class UpdateAgentCallLegOnIncomingCallRindingDto 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 = 'UpdateAgentCallLegOnIncomingCallRinding';
40
- this.schemaActionId = 'a3d8be43-ce38-4841-a836-7f38ceba4761';
41
- this.entity = 'NotificationModule:CallLeg';
42
- }
43
- }
44
- exports.UpdateAgentCallLegOnIncomingCallRindingDto = UpdateAgentCallLegOnIncomingCallRindingDto;
45
- /** Used by SDK generators to identify action type */
46
- UpdateAgentCallLegOnIncomingCallRindingDto.ACTION_TYPE = 'UPDATE';
47
- UpdateAgentCallLegOnIncomingCallRindingDto.ACTION_KEY = 'UpdateAgentCallLegOnIncomingCallRinding';
48
- UpdateAgentCallLegOnIncomingCallRindingDto.MODULE_NAME = 'NotificationModule';
49
- UpdateAgentCallLegOnIncomingCallRindingDto.ENTITIES = ['CallLeg'];
50
- UpdateAgentCallLegOnIncomingCallRindingDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinding';
51
- UpdateAgentCallLegOnIncomingCallRindingDto.PERMISSION = 'schema.action.updateagentcalllegonincomingcallrinding.trigger';
52
- /** Step metadata - entity this action targets */
53
- UpdateAgentCallLegOnIncomingCallRindingDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
- UpdateAgentCallLegOnIncomingCallRindingDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
- UpdateAgentCallLegOnIncomingCallRindingDto.STEP_SCHEMA_ACTION_ID = 'a3d8be43-ce38-4841-a836-7f38ceba4761';
56
- UpdateAgentCallLegOnIncomingCallRindingDto.AUTO_LINK_PARENT = false;