@d19n/youfibre-odin-sdk 2.0.204 → 2.0.207

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.
Files changed (70) hide show
  1. package/README.md +24 -2
  2. package/dist/EntityRegistry.d.ts +2 -0
  3. package/dist/EntityRegistry.js +2 -0
  4. package/dist/OdinApiClient.d.ts +4 -0
  5. package/dist/OdinApiClient.js +8 -0
  6. package/dist/OdinDbClient.d.ts +4 -0
  7. package/dist/OdinDbClient.js +8 -0
  8. package/dist/accessors-v2/ConversationSummaryFeedbackAccessor.d.ts +111 -0
  9. package/dist/accessors-v2/ConversationSummaryFeedbackAccessor.js +190 -0
  10. package/dist/accessors-v2/index.d.ts +1 -0
  11. package/dist/accessors-v2/index.js +5 -3
  12. package/dist/actions-v2/CompleteChurnRequestDto.d.ts +10 -1
  13. package/dist/actions-v2/CompleteChurnRequestFlowDto.d.ts +10 -1
  14. package/dist/actions-v2/CreateConversationSummaryFeedbackDto.d.ts +101 -0
  15. package/dist/actions-v2/CreateConversationSummaryFeedbackDto.js +57 -0
  16. package/dist/actions-v2/CreateRecontractReminderEmailDto.d.ts +128 -0
  17. package/dist/actions-v2/CreateRecontractReminderEmailDto.js +59 -0
  18. package/dist/actions-v2/MovePgPaymentMethodToCreatedDto.d.ts +70 -0
  19. package/dist/actions-v2/MovePgPaymentMethodToCreatedDto.js +62 -0
  20. package/dist/actions-v2/MovePgPaymentMethodToReallocatingDto.d.ts +70 -0
  21. package/dist/actions-v2/MovePgPaymentMethodToReallocatingDto.js +62 -0
  22. package/dist/actions-v2/MovePgTransactionChargeToReallocatingDto.d.ts +70 -0
  23. package/dist/actions-v2/MovePgTransactionChargeToReallocatingDto.js +62 -0
  24. package/dist/actions-v2/MovePgTransactionRefundToReallocatingDto.d.ts +70 -0
  25. package/dist/actions-v2/MovePgTransactionRefundToReallocatingDto.js +62 -0
  26. package/dist/actions-v2/OfferCreateDto.d.ts +10 -1
  27. package/dist/actions-v2/OfferUpdateDto.d.ts +10 -1
  28. package/dist/actions-v2/UpdateCallRecordingDetailsDto.d.ts +89 -0
  29. package/dist/actions-v2/UpdateCallRecordingDetailsDto.js +56 -0
  30. package/dist/actions-v2/UpdatePgAllocationSubmissionFileLineNumberDto.d.ts +78 -0
  31. package/dist/actions-v2/UpdatePgAllocationSubmissionFileLineNumberDto.js +61 -0
  32. package/dist/api-sdk-v2/ConversationApi.d.ts +2 -0
  33. package/dist/api-sdk-v2/ConversationApi.js +6 -0
  34. package/dist/api-sdk-v2/ConversationSummaryFeedbackApi.d.ts +48 -0
  35. package/dist/api-sdk-v2/ConversationSummaryFeedbackApi.js +155 -0
  36. package/dist/db-accessors-v2/ConversationSummaryFeedbackDbAccessor.d.ts +149 -0
  37. package/dist/db-accessors-v2/ConversationSummaryFeedbackDbAccessor.js +227 -0
  38. package/dist/db-accessors-v2/index.d.ts +1 -0
  39. package/dist/db-accessors-v2/index.js +5 -3
  40. package/dist/db-sdk-v2/ConversationDb.d.ts +2 -0
  41. package/dist/db-sdk-v2/ConversationDb.js +6 -0
  42. package/dist/db-sdk-v2/ConversationSummaryFeedbackDb.d.ts +120 -0
  43. package/dist/db-sdk-v2/ConversationSummaryFeedbackDb.js +204 -0
  44. package/dist/entities-v2/ChurnRequest.d.ts +46 -5
  45. package/dist/entities-v2/ChurnRequest.js +41 -5
  46. package/dist/entities-v2/Conversation.d.ts +7 -0
  47. package/dist/entities-v2/Conversation.js +5 -1
  48. package/dist/entities-v2/ConversationSummaryFeedback.d.ts +153 -0
  49. package/dist/entities-v2/ConversationSummaryFeedback.js +122 -0
  50. package/dist/entities-v2/PgPaymentMethod.d.ts +20 -16
  51. package/dist/entities-v2/PgPaymentMethod.js +8 -4
  52. package/dist/entities-v2/PgTransaction.d.ts +12 -4
  53. package/dist/entities-v2/PgTransaction.js +8 -0
  54. package/dist/records-v2/CallRecord.d.ts +27 -0
  55. package/dist/records-v2/CallRecord.js +29 -0
  56. package/dist/records-v2/ConversationRecord.d.ts +20 -0
  57. package/dist/records-v2/ConversationRecord.js +33 -0
  58. package/dist/records-v2/ConversationSummaryFeedbackRecord.d.ts +205 -0
  59. package/dist/records-v2/ConversationSummaryFeedbackRecord.js +280 -0
  60. package/dist/records-v2/EmailRecord.d.ts +29 -0
  61. package/dist/records-v2/EmailRecord.js +36 -0
  62. package/dist/records-v2/PgFileAllocationRecord.d.ts +27 -0
  63. package/dist/records-v2/PgFileAllocationRecord.js +29 -0
  64. package/dist/records-v2/PgPaymentMethodRecord.d.ts +50 -0
  65. package/dist/records-v2/PgPaymentMethodRecord.js +58 -0
  66. package/dist/records-v2/PgTransactionRecord.d.ts +50 -0
  67. package/dist/records-v2/PgTransactionRecord.js +58 -0
  68. package/dist/records-v2/index.d.ts +1 -0
  69. package/dist/records-v2/index.js +7 -4
  70. 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 = [];
@@ -21,7 +21,7 @@ export interface OfferCreateMessage extends OdinRecordCreatedEvent<OfferCreateDt
21
21
  /**
22
22
  * Properties for OfferCreate action
23
23
  *
24
- * @property Required fields: 6
24
+ * @property Required fields: 7
25
25
  * @property Optional fields: 7
26
26
  */
27
27
  export interface OfferCreateProperties {
@@ -74,6 +74,15 @@ export interface OfferCreateProperties {
74
74
  * @format DD/MM/YYYY
75
75
  */
76
76
  AvailableFrom: string;
77
+ /**
78
+ * Available to
79
+ *
80
+ * offer is available to this date (Product Management - Offer)
81
+ * @type {DATE}
82
+ * @required
83
+ * @format DD/MM/YYYY
84
+ */
85
+ AvailableTo: string;
77
86
  /**
78
87
  * ExPolygonId
79
88
  *
@@ -21,7 +21,7 @@ export interface OfferUpdateMessage extends OdinRecordUpdatedEvent<OfferUpdateDt
21
21
  /**
22
22
  * Properties for OfferUpdate action
23
23
  *
24
- * @property Required fields: 6
24
+ * @property Required fields: 7
25
25
  * @property Optional fields: 7
26
26
  */
27
27
  export interface OfferUpdateProperties {
@@ -74,6 +74,15 @@ export interface OfferUpdateProperties {
74
74
  * @format DD/MM/YYYY
75
75
  */
76
76
  AvailableFrom: string;
77
+ /**
78
+ * Available to
79
+ *
80
+ * offer is available to this date (Product Management - Offer)
81
+ * @type {DATE}
82
+ * @required
83
+ * @format DD/MM/YYYY
84
+ */
85
+ AvailableTo: string;
77
86
  /**
78
87
  * ExPolygonId
79
88
  *
@@ -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;
@@ -0,0 +1,78 @@
1
+ /**
2
+ * UpdatePgAllocationSubmissionFileLineNumber Action DTO
3
+ *
4
+ * Update Pg Allocation Submission File Line Number
5
+ *
6
+ * @module BillingModule
7
+ * @entity PgFileAllocation
8
+ * @entityType SUBMISSION
9
+ * @actionKey UpdatePgAllocationSubmissionFileLineNumber
10
+ * @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber
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 UpdatePgAllocationSubmissionFileLineNumber updated events
17
+ *
18
+ * @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber
19
+ */
20
+ export interface UpdatePgAllocationSubmissionFileLineNumberMessage extends OdinRecordUpdatedEvent<UpdatePgAllocationSubmissionFileLineNumberDto, UpdatePgAllocationSubmissionFileLineNumberProperties> {
21
+ }
22
+ /**
23
+ * Properties for UpdatePgAllocationSubmissionFileLineNumber action
24
+ *
25
+ * @property Required fields: 1
26
+ * @property Optional fields: 0
27
+ */
28
+ export interface UpdatePgAllocationSubmissionFileLineNumberProperties {
29
+ /**
30
+ * SubmissionFileLineNumber
31
+ *
32
+ * Submission File Line Number
33
+ * @type {NUMBER}
34
+ * @required
35
+ */
36
+ SubmissionFileLineNumber: number;
37
+ }
38
+ /**
39
+ * UpdatePgAllocationSubmissionFileLineNumber
40
+ *
41
+ * Update Pg Allocation Submission File Line Number
42
+ *
43
+ * @actionType UPDATE - Updates an existing PgFileAllocation record
44
+ * @module BillingModule
45
+ * @entity PgFileAllocation
46
+ * @entityType SUBMISSION (Submission)
47
+ * @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber
48
+ * @permission schema.action.updatepgallocationsubmissionfilelinenumber.trigger
49
+ * @benchmark This action is tracked for performance benchmarks
50
+ */
51
+ export declare class UpdatePgAllocationSubmissionFileLineNumberDto extends OdinRecordUpdateDto<UpdatePgAllocationSubmissionFileLineNumberProperties> {
52
+ /** Used by SDK generators to identify action type */
53
+ static readonly ACTION_TYPE = "UPDATE";
54
+ static readonly ACTION_KEY = "UpdatePgAllocationSubmissionFileLineNumber";
55
+ static readonly MODULE_NAME = "BillingModule";
56
+ static readonly ENTITIES: string[];
57
+ static readonly ENTITY_TYPE = "SUBMISSION";
58
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber";
59
+ static readonly PERMISSION = "schema.action.updatepgallocationsubmissionfilelinenumber.trigger";
60
+ /** Step metadata - entity this action targets */
61
+ static readonly STEP_ENTITY = "BillingModule:PgFileAllocation";
62
+ static readonly STEP_SCHEMA_ID = "0747b695-c0c0-4d18-b445-40e80ad531b4";
63
+ static readonly STEP_SCHEMA_ACTION_ID = "ddbe5e29-f81e-4d01-8651-b13f30d74e9d";
64
+ static readonly STEP_SCHEMA_TYPE_ID = "4470ee4e-b77c-483a-8112-7bed250b2e2e";
65
+ static readonly STEP_TYPE = "SUBMISSION";
66
+ static readonly AUTO_LINK_PARENT = false;
67
+ readonly actionName: string;
68
+ readonly schemaActionId: string;
69
+ readonly entity: string;
70
+ constructor(record: OdinRecord<any> | {
71
+ id: string;
72
+ entity: string;
73
+ type?: string;
74
+ }, properties: UpdatePgAllocationSubmissionFileLineNumberProperties, options?: {
75
+ journeyId?: string;
76
+ stageKey?: string;
77
+ });
78
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * UpdatePgAllocationSubmissionFileLineNumber Action DTO
4
+ *
5
+ * Update Pg Allocation Submission File Line Number
6
+ *
7
+ * @module BillingModule
8
+ * @entity PgFileAllocation
9
+ * @entityType SUBMISSION
10
+ * @actionKey UpdatePgAllocationSubmissionFileLineNumber
11
+ * @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UpdatePgAllocationSubmissionFileLineNumberDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * UpdatePgAllocationSubmissionFileLineNumber
20
+ *
21
+ * Update Pg Allocation Submission File Line Number
22
+ *
23
+ * @actionType UPDATE - Updates an existing PgFileAllocation record
24
+ * @module BillingModule
25
+ * @entity PgFileAllocation
26
+ * @entityType SUBMISSION (Submission)
27
+ * @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber
28
+ * @permission schema.action.updatepgallocationsubmissionfilelinenumber.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class UpdatePgAllocationSubmissionFileLineNumberDto extends core_1.OdinRecordUpdateDto {
32
+ constructor(record, properties, options) {
33
+ super({
34
+ id: record.id,
35
+ entity: record.entity,
36
+ type: record.type,
37
+ properties,
38
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
39
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
40
+ });
41
+ this.actionName = 'UpdatePgAllocationSubmissionFileLineNumber';
42
+ this.schemaActionId = 'ddbe5e29-f81e-4d01-8651-b13f30d74e9d';
43
+ this.entity = 'BillingModule:PgFileAllocation';
44
+ }
45
+ }
46
+ exports.UpdatePgAllocationSubmissionFileLineNumberDto = UpdatePgAllocationSubmissionFileLineNumberDto;
47
+ /** Used by SDK generators to identify action type */
48
+ UpdatePgAllocationSubmissionFileLineNumberDto.ACTION_TYPE = 'UPDATE';
49
+ UpdatePgAllocationSubmissionFileLineNumberDto.ACTION_KEY = 'UpdatePgAllocationSubmissionFileLineNumber';
50
+ UpdatePgAllocationSubmissionFileLineNumberDto.MODULE_NAME = 'BillingModule';
51
+ UpdatePgAllocationSubmissionFileLineNumberDto.ENTITIES = ['PgFileAllocation'];
52
+ UpdatePgAllocationSubmissionFileLineNumberDto.ENTITY_TYPE = 'SUBMISSION';
53
+ UpdatePgAllocationSubmissionFileLineNumberDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber';
54
+ UpdatePgAllocationSubmissionFileLineNumberDto.PERMISSION = 'schema.action.updatepgallocationsubmissionfilelinenumber.trigger';
55
+ /** Step metadata - entity this action targets */
56
+ UpdatePgAllocationSubmissionFileLineNumberDto.STEP_ENTITY = 'BillingModule:PgFileAllocation';
57
+ UpdatePgAllocationSubmissionFileLineNumberDto.STEP_SCHEMA_ID = '0747b695-c0c0-4d18-b445-40e80ad531b4';
58
+ UpdatePgAllocationSubmissionFileLineNumberDto.STEP_SCHEMA_ACTION_ID = 'ddbe5e29-f81e-4d01-8651-b13f30d74e9d';
59
+ UpdatePgAllocationSubmissionFileLineNumberDto.STEP_SCHEMA_TYPE_ID = '4470ee4e-b77c-483a-8112-7bed250b2e2e';
60
+ UpdatePgAllocationSubmissionFileLineNumberDto.STEP_TYPE = 'SUBMISSION';
61
+ UpdatePgAllocationSubmissionFileLineNumberDto.AUTO_LINK_PARENT = false;
@@ -20,10 +20,12 @@ export declare class ConversationApi extends ApiProvider {
20
20
  private _message?;
21
21
  private _case?;
22
22
  private _pushnotification?;
23
+ private _conversationsummaryfeedback?;
23
24
  constructor(authParams?: OauthParams, authToken?: string);
24
25
  get message(): ApiRecordLinkManager;
25
26
  get case(): ApiRecordLinkManager;
26
27
  get pushnotification(): ApiRecordLinkManager;
28
+ get conversationsummaryfeedback(): ApiRecordLinkManager;
27
29
  setRecord(sourceRecord: any): void;
28
30
  schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
29
31
  search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<ConversationProperties>>>;
@@ -51,6 +51,12 @@ class ConversationApi extends api_provider_1.ApiProvider {
51
51
  }
52
52
  return this._pushnotification;
53
53
  }
54
+ get conversationsummaryfeedback() {
55
+ if (!this._conversationsummaryfeedback) {
56
+ this._conversationsummaryfeedback = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'NotificationModule:Conversation', 'NotificationModule:ConversationSummaryFeedback', 'Conversation__ConversationSummaryFeedback');
57
+ }
58
+ return this._conversationsummaryfeedback;
59
+ }
54
60
  // ============================================
55
61
  // STANDARD METHODS (Unchanged API)
56
62
  // ============================================
@@ -0,0 +1,48 @@
1
+ import { OauthParams } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
2
+ import { ApiProvider } from '@d19n/odin-sdk-generator/dist/api.provider';
3
+ import { OdinSearchV2, OdinRecordCreateDto, OdinRecordUpdateDto } from '@d19n/odin-types/dist/core';
4
+ import { ApiRecordLinkManager } from '@d19n/odin-sdk-generator/dist/api.record.link.manager';
5
+ import { ConversationSummaryFeedbackProperties } from '../entities-v2/ConversationSummaryFeedback';
6
+ /**
7
+ * @deprecated Use OdinApiClient.
8
+ *
9
+ * Migration:
10
+ * - Old: new ConversationSummaryFeedbackApi(authParams).get(id)
11
+ * - New: new odin.conversationsummaryfeedback.get(id)
12
+ *
13
+ * The new OdinApiClient returns typed record wrappers with action methods.
14
+ */
15
+ export declare class ConversationSummaryFeedbackApi extends ApiProvider {
16
+ protected readonly authToken?: string;
17
+ private readonly moduleName;
18
+ private readonly entityName;
19
+ private sourceRecord;
20
+ private _conversation?;
21
+ constructor(authParams?: OauthParams, authToken?: string);
22
+ get conversation(): ApiRecordLinkManager;
23
+ setRecord(sourceRecord: any): void;
24
+ schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
25
+ search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<ConversationSummaryFeedbackProperties>>>;
26
+ searchAndPaginate(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<ConversationSummaryFeedbackProperties>>>;
27
+ reIndex(body: {
28
+ id: string;
29
+ schemaId: string;
30
+ }[]): Promise<any>;
31
+ get(conversationSummaryFeedbackId: string): Promise<import("@d19n/odin-types/dist/core").OdinRecord<ConversationSummaryFeedbackProperties>>;
32
+ getMany(conversationSummaryFeedbackIds: string[]): Promise<import("@d19n/odin-types/dist/core").OdinRecord<ConversationSummaryFeedbackProperties>[]>;
33
+ upsert(upsertDto: OdinRecordCreateDto): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes>;
34
+ upsertMany(upsertDtos: OdinRecordCreateDto[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes[]>;
35
+ update(updateDto: OdinRecordUpdateDto): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes>;
36
+ updateMany(updateDtos: OdinRecordUpdateDto[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes[]>;
37
+ delete(conversationSummaryFeedbackId: string): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinDeleteResponse[]>;
38
+ deleteMany(conversationSummaryFeedbackIds: string[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinDeleteResponse[]>;
39
+ restore(conversationSummaryFeedbackIds: string[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinRestoreResponse[]>;
40
+ applyAction(dto: any): Promise<any[]>;
41
+ bulkApplyActions(dtos: any[]): Promise<any[]>;
42
+ getVersions(): Promise<{
43
+ [key: string]: Record<string, any>;
44
+ }>;
45
+ getRevisionTimeline(): Promise<{
46
+ [key: string]: Record<string, any>[];
47
+ }>;
48
+ }