@d19n/youfibre-odin-sdk 2.0.284 → 2.0.286

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 (40) hide show
  1. package/README.md +35 -23
  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/RecontractAccessor.d.ts +111 -0
  9. package/dist/accessors-v2/RecontractAccessor.js +190 -0
  10. package/dist/accessors-v2/index.d.ts +1 -0
  11. package/dist/accessors-v2/index.js +4 -2
  12. package/dist/actions-v2/AddCaseAdditionalNotesDto.d.ts +73 -0
  13. package/dist/actions-v2/AddCaseAdditionalNotesDto.js +56 -0
  14. package/dist/actions-v2/CreateCustomerDeviceRouterFromDispatchDto.d.ts +74 -0
  15. package/dist/actions-v2/CreateCustomerDeviceRouterFromDispatchDto.js +54 -0
  16. package/dist/actions-v2/CreateRecontractDto.d.ts +63 -0
  17. package/dist/actions-v2/CreateRecontractDto.js +59 -0
  18. package/dist/actions-v2/FlagVulnerableCustomerDto.d.ts +73 -0
  19. package/dist/actions-v2/FlagVulnerableCustomerDto.js +56 -0
  20. package/dist/actions-v2/RecordAiTagsAccuracyDto.d.ts +73 -0
  21. package/dist/actions-v2/RecordAiTagsAccuracyDto.js +56 -0
  22. package/dist/actions-v2/UpdateCaseProvidersDto.d.ts +73 -0
  23. package/dist/actions-v2/UpdateCaseProvidersDto.js +56 -0
  24. package/dist/actions-v2/UpdateCaseSlaDto.d.ts +86 -0
  25. package/dist/actions-v2/UpdateCaseSlaDto.js +56 -0
  26. package/dist/db-accessors-v2/RecontractDbAccessor.d.ts +149 -0
  27. package/dist/db-accessors-v2/RecontractDbAccessor.js +227 -0
  28. package/dist/db-accessors-v2/index.d.ts +1 -0
  29. package/dist/db-accessors-v2/index.js +4 -2
  30. package/dist/records-v2/CaseRecord.d.ts +136 -0
  31. package/dist/records-v2/CaseRecord.js +153 -0
  32. package/dist/records-v2/CustomerDeviceRouterRecord.d.ts +29 -0
  33. package/dist/records-v2/CustomerDeviceRouterRecord.js +36 -0
  34. package/dist/records-v2/OrderRecord.d.ts +20 -0
  35. package/dist/records-v2/OrderRecord.js +33 -0
  36. package/dist/records-v2/RecontractRecord.d.ts +205 -0
  37. package/dist/records-v2/RecontractRecord.js +280 -0
  38. package/dist/records-v2/index.d.ts +3 -2
  39. package/dist/records-v2/index.js +14 -11
  40. package/package.json +1 -1
@@ -0,0 +1,73 @@
1
+ /**
2
+ * AddCaseAdditionalNotes Action DTO
3
+ *
4
+ * Writes the free-text additional notes a bulk stage move carries. Used with a caller-supplied target stage, which travels as the action options stageKey rather than as a field.
5
+ *
6
+ * @module SupportModule
7
+ * @entity Case
8
+ * @actionKey AddCaseAdditionalNotes
9
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.AddCaseAdditionalNotes
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 AddCaseAdditionalNotes updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.AddCaseAdditionalNotes
18
+ */
19
+ export interface AddCaseAdditionalNotesMessage extends OdinRecordUpdatedEvent<AddCaseAdditionalNotesDto, AddCaseAdditionalNotesProperties> {
20
+ }
21
+ /**
22
+ * Properties for AddCaseAdditionalNotes action
23
+ *
24
+ * @property Required fields: 1
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface AddCaseAdditionalNotesProperties {
28
+ /**
29
+ * Additional notes
30
+ *
31
+ * Additional Notes (Customer Service - Case)
32
+ * @type {TEXT_LONG}
33
+ * @required
34
+ */
35
+ AdditionalNotes: string;
36
+ }
37
+ /**
38
+ * Record additional notes on the case
39
+ *
40
+ * Writes the free-text additional notes a bulk stage move carries. Used with a caller-supplied target stage, which travels as the action options stageKey rather than as a field.
41
+ *
42
+ * @actionType UPDATE - Updates an existing Case record
43
+ * @module SupportModule
44
+ * @entity Case
45
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.AddCaseAdditionalNotes
46
+ * @permission schema.action.addcaseadditionalnotes.trigger
47
+ * @benchmark This action is tracked for performance benchmarks
48
+ */
49
+ export declare class AddCaseAdditionalNotesDto extends OdinRecordUpdateDto<AddCaseAdditionalNotesProperties> {
50
+ /** Used by SDK generators to identify action type */
51
+ static readonly ACTION_TYPE = "UPDATE";
52
+ static readonly ACTION_KEY = "AddCaseAdditionalNotes";
53
+ static readonly MODULE_NAME = "SupportModule";
54
+ static readonly ENTITIES: string[];
55
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.AddCaseAdditionalNotes";
56
+ static readonly PERMISSION = "schema.action.addcaseadditionalnotes.trigger";
57
+ /** Step metadata - entity this action targets */
58
+ static readonly STEP_ENTITY = "SupportModule:Case";
59
+ static readonly STEP_SCHEMA_ID = "bb540d25-53bf-491b-9d03-f3d42f755b3a";
60
+ static readonly STEP_SCHEMA_ACTION_ID = "99056dc7-837a-4e69-940a-457a26759aad";
61
+ static readonly AUTO_LINK_PARENT = false;
62
+ readonly actionName: string;
63
+ readonly schemaActionId: string;
64
+ readonly entity: string;
65
+ constructor(record: OdinRecord<any> | {
66
+ id: string;
67
+ entity: string;
68
+ type?: string;
69
+ }, properties: AddCaseAdditionalNotesProperties, options?: {
70
+ journeyId?: string;
71
+ stageKey?: string;
72
+ });
73
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * AddCaseAdditionalNotes Action DTO
4
+ *
5
+ * Writes the free-text additional notes a bulk stage move carries. Used with a caller-supplied target stage, which travels as the action options stageKey rather than as a field.
6
+ *
7
+ * @module SupportModule
8
+ * @entity Case
9
+ * @actionKey AddCaseAdditionalNotes
10
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.AddCaseAdditionalNotes
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AddCaseAdditionalNotesDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Record additional notes on the case
19
+ *
20
+ * Writes the free-text additional notes a bulk stage move carries. Used with a caller-supplied target stage, which travels as the action options stageKey rather than as a field.
21
+ *
22
+ * @actionType UPDATE - Updates an existing Case record
23
+ * @module SupportModule
24
+ * @entity Case
25
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.AddCaseAdditionalNotes
26
+ * @permission schema.action.addcaseadditionalnotes.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class AddCaseAdditionalNotesDto 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 = 'AddCaseAdditionalNotes';
40
+ this.schemaActionId = '99056dc7-837a-4e69-940a-457a26759aad';
41
+ this.entity = 'SupportModule:Case';
42
+ }
43
+ }
44
+ exports.AddCaseAdditionalNotesDto = AddCaseAdditionalNotesDto;
45
+ /** Used by SDK generators to identify action type */
46
+ AddCaseAdditionalNotesDto.ACTION_TYPE = 'UPDATE';
47
+ AddCaseAdditionalNotesDto.ACTION_KEY = 'AddCaseAdditionalNotes';
48
+ AddCaseAdditionalNotesDto.MODULE_NAME = 'SupportModule';
49
+ AddCaseAdditionalNotesDto.ENTITIES = ['Case'];
50
+ AddCaseAdditionalNotesDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.AddCaseAdditionalNotes';
51
+ AddCaseAdditionalNotesDto.PERMISSION = 'schema.action.addcaseadditionalnotes.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ AddCaseAdditionalNotesDto.STEP_ENTITY = 'SupportModule:Case';
54
+ AddCaseAdditionalNotesDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
55
+ AddCaseAdditionalNotesDto.STEP_SCHEMA_ACTION_ID = '99056dc7-837a-4e69-940a-457a26759aad';
56
+ AddCaseAdditionalNotesDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,74 @@
1
+ /**
2
+ * CreateCustomerDeviceRouterFromDispatch Action DTO
3
+ *
4
+ * Create a CustomerDeviceRouter from a dispatched parcel — the serial and mac AMCO reported, and nothing else.
5
+ *
6
+ * @module ServiceModule
7
+ * @entity CustomerDeviceRouter
8
+ * @actionKey CreateCustomerDeviceRouterFromDispatch
9
+ * @event k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for CreateCustomerDeviceRouterFromDispatch created events
16
+ *
17
+ * @event k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch
18
+ */
19
+ export interface CreateCustomerDeviceRouterFromDispatchMessage extends OdinRecordCreatedEvent<CreateCustomerDeviceRouterFromDispatchDto, CreateCustomerDeviceRouterFromDispatchProperties> {
20
+ }
21
+ /**
22
+ * Properties for CreateCustomerDeviceRouterFromDispatch action
23
+ *
24
+ * @property Required fields: 0
25
+ * @property Optional fields: 2
26
+ */
27
+ export interface CreateCustomerDeviceRouterFromDispatchProperties {
28
+ /**
29
+ * SerialNumber
30
+ *
31
+ * serial number for the customer device, scanned during install (Network Operations - CustomerDeviceRouter)
32
+ * @type {TEXT}
33
+ */
34
+ SerialNumber?: string | null;
35
+ /**
36
+ * MacAddress
37
+ *
38
+ * mac address (Network Operations - CustomerDeviceRouter)
39
+ * @type {TEXT}
40
+ */
41
+ MacAddress?: string | null;
42
+ }
43
+ /**
44
+ * CreateCustomerDeviceRouterFromDispatch
45
+ *
46
+ * Create a CustomerDeviceRouter from a dispatched parcel — the serial and mac AMCO reported, and nothing else.
47
+ *
48
+ * @actionType CREATE - Creates a new CustomerDeviceRouter record
49
+ * @module ServiceModule
50
+ * @entity CustomerDeviceRouter
51
+ * @event k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch
52
+ * @permission schema.action.createcustomerdevicerouterfromdispatch.trigger
53
+ * @benchmark This action is tracked for performance benchmarks
54
+ */
55
+ export declare class CreateCustomerDeviceRouterFromDispatchDto extends OdinRecordCreateDto<CreateCustomerDeviceRouterFromDispatchProperties> {
56
+ /** Used by SDK generators to identify action type */
57
+ static readonly ACTION_TYPE = "CREATE";
58
+ static readonly ACTION_KEY = "CreateCustomerDeviceRouterFromDispatch";
59
+ static readonly MODULE_NAME = "ServiceModule";
60
+ static readonly ENTITIES: string[];
61
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch";
62
+ static readonly PERMISSION = "schema.action.createcustomerdevicerouterfromdispatch.trigger";
63
+ /** Step metadata - entity this action targets */
64
+ static readonly STEP_ENTITY = "ServiceModule:CustomerDeviceRouter";
65
+ static readonly STEP_SCHEMA_ID = "4c9cdf3a-e059-4e45-8050-e6cdf9fdd87d";
66
+ static readonly STEP_SCHEMA_ACTION_ID = "5b818ad9-c6e5-4787-a990-539145fe47fe";
67
+ static readonly AUTO_LINK_PARENT = true;
68
+ readonly actionName: string;
69
+ readonly schemaActionId: string;
70
+ readonly entity: string;
71
+ constructor(properties: CreateCustomerDeviceRouterFromDispatchProperties, options?: {
72
+ journeyId?: string;
73
+ });
74
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * CreateCustomerDeviceRouterFromDispatch Action DTO
4
+ *
5
+ * Create a CustomerDeviceRouter from a dispatched parcel — the serial and mac AMCO reported, and nothing else.
6
+ *
7
+ * @module ServiceModule
8
+ * @entity CustomerDeviceRouter
9
+ * @actionKey CreateCustomerDeviceRouterFromDispatch
10
+ * @event k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CreateCustomerDeviceRouterFromDispatchDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * CreateCustomerDeviceRouterFromDispatch
19
+ *
20
+ * Create a CustomerDeviceRouter from a dispatched parcel — the serial and mac AMCO reported, and nothing else.
21
+ *
22
+ * @actionType CREATE - Creates a new CustomerDeviceRouter record
23
+ * @module ServiceModule
24
+ * @entity CustomerDeviceRouter
25
+ * @event k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch
26
+ * @permission schema.action.createcustomerdevicerouterfromdispatch.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class CreateCustomerDeviceRouterFromDispatchDto extends core_1.OdinRecordCreateDto {
30
+ constructor(properties, options) {
31
+ super({
32
+ entity: 'ServiceModule:CustomerDeviceRouter',
33
+ type: undefined,
34
+ properties,
35
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
36
+ });
37
+ this.actionName = 'CreateCustomerDeviceRouterFromDispatch';
38
+ this.schemaActionId = '5b818ad9-c6e5-4787-a990-539145fe47fe';
39
+ this.entity = 'ServiceModule:CustomerDeviceRouter';
40
+ }
41
+ }
42
+ exports.CreateCustomerDeviceRouterFromDispatchDto = CreateCustomerDeviceRouterFromDispatchDto;
43
+ /** Used by SDK generators to identify action type */
44
+ CreateCustomerDeviceRouterFromDispatchDto.ACTION_TYPE = 'CREATE';
45
+ CreateCustomerDeviceRouterFromDispatchDto.ACTION_KEY = 'CreateCustomerDeviceRouterFromDispatch';
46
+ CreateCustomerDeviceRouterFromDispatchDto.MODULE_NAME = 'ServiceModule';
47
+ CreateCustomerDeviceRouterFromDispatchDto.ENTITIES = ['CustomerDeviceRouter'];
48
+ CreateCustomerDeviceRouterFromDispatchDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch';
49
+ CreateCustomerDeviceRouterFromDispatchDto.PERMISSION = 'schema.action.createcustomerdevicerouterfromdispatch.trigger';
50
+ /** Step metadata - entity this action targets */
51
+ CreateCustomerDeviceRouterFromDispatchDto.STEP_ENTITY = 'ServiceModule:CustomerDeviceRouter';
52
+ CreateCustomerDeviceRouterFromDispatchDto.STEP_SCHEMA_ID = '4c9cdf3a-e059-4e45-8050-e6cdf9fdd87d';
53
+ CreateCustomerDeviceRouterFromDispatchDto.STEP_SCHEMA_ACTION_ID = '5b818ad9-c6e5-4787-a990-539145fe47fe';
54
+ CreateCustomerDeviceRouterFromDispatchDto.AUTO_LINK_PARENT = true;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * CreateRecontract Action DTO
3
+ *
4
+ * Create Recontract
5
+ *
6
+ * @module OrderModule
7
+ * @entity Recontract
8
+ * @entityType DEFAULT
9
+ * @actionKey CreateRecontract
10
+ * @event k1.t-hEOJjsDb.OrderModule.Recontract.Create.CreateRecontract
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for CreateRecontract created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.OrderModule.Recontract.Create.CreateRecontract
19
+ */
20
+ export interface CreateRecontractMessage extends OdinRecordCreatedEvent<CreateRecontractDto, CreateRecontractProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateRecontract action
24
+ *
25
+ */
26
+ export interface CreateRecontractProperties {
27
+ }
28
+ /**
29
+ * CreateRecontract
30
+ *
31
+ * Create Recontract
32
+ *
33
+ * @actionType CREATE - Creates a new Recontract record
34
+ * @module OrderModule
35
+ * @entity Recontract
36
+ * @entityType DEFAULT (Default)
37
+ * @event k1.t-hEOJjsDb.OrderModule.Recontract.Create.CreateRecontract
38
+ * @permission schema.action.createrecontract.trigger
39
+ * @benchmark This action is tracked for performance benchmarks
40
+ */
41
+ export declare class CreateRecontractDto extends OdinRecordCreateDto<CreateRecontractProperties> {
42
+ /** Used by SDK generators to identify action type */
43
+ static readonly ACTION_TYPE = "CREATE";
44
+ static readonly ACTION_KEY = "CreateRecontract";
45
+ static readonly MODULE_NAME = "OrderModule";
46
+ static readonly ENTITIES: string[];
47
+ static readonly ENTITY_TYPE = "DEFAULT";
48
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.Recontract.Create.CreateRecontract";
49
+ static readonly PERMISSION = "schema.action.createrecontract.trigger";
50
+ /** Step metadata - entity this action targets */
51
+ static readonly STEP_ENTITY = "OrderModule:Recontract";
52
+ static readonly STEP_SCHEMA_ID = "737797cf-3ab0-49da-827c-18ec499db889";
53
+ static readonly STEP_SCHEMA_ACTION_ID = "ca8242d6-738e-49b0-9822-8804ac5c379e";
54
+ static readonly STEP_SCHEMA_TYPE_ID = "61db803a-cf84-4fee-b460-eb0cba01b705";
55
+ static readonly STEP_TYPE = "DEFAULT";
56
+ static readonly AUTO_LINK_PARENT = true;
57
+ readonly actionName: string;
58
+ readonly schemaActionId: string;
59
+ readonly entity: string;
60
+ constructor(properties: CreateRecontractProperties, options?: {
61
+ journeyId?: string;
62
+ });
63
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * CreateRecontract Action DTO
4
+ *
5
+ * Create Recontract
6
+ *
7
+ * @module OrderModule
8
+ * @entity Recontract
9
+ * @entityType DEFAULT
10
+ * @actionKey CreateRecontract
11
+ * @event k1.t-hEOJjsDb.OrderModule.Recontract.Create.CreateRecontract
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateRecontractDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateRecontract
20
+ *
21
+ * Create Recontract
22
+ *
23
+ * @actionType CREATE - Creates a new Recontract record
24
+ * @module OrderModule
25
+ * @entity Recontract
26
+ * @entityType DEFAULT (Default)
27
+ * @event k1.t-hEOJjsDb.OrderModule.Recontract.Create.CreateRecontract
28
+ * @permission schema.action.createrecontract.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class CreateRecontractDto extends core_1.OdinRecordCreateDto {
32
+ constructor(properties, options) {
33
+ super({
34
+ entity: 'OrderModule:Recontract',
35
+ type: 'DEFAULT',
36
+ properties,
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'CreateRecontract';
40
+ this.schemaActionId = 'ca8242d6-738e-49b0-9822-8804ac5c379e';
41
+ this.entity = 'OrderModule:Recontract';
42
+ }
43
+ }
44
+ exports.CreateRecontractDto = CreateRecontractDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CreateRecontractDto.ACTION_TYPE = 'CREATE';
47
+ CreateRecontractDto.ACTION_KEY = 'CreateRecontract';
48
+ CreateRecontractDto.MODULE_NAME = 'OrderModule';
49
+ CreateRecontractDto.ENTITIES = ['Recontract'];
50
+ CreateRecontractDto.ENTITY_TYPE = 'DEFAULT';
51
+ CreateRecontractDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.Recontract.Create.CreateRecontract';
52
+ CreateRecontractDto.PERMISSION = 'schema.action.createrecontract.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ CreateRecontractDto.STEP_ENTITY = 'OrderModule:Recontract';
55
+ CreateRecontractDto.STEP_SCHEMA_ID = '737797cf-3ab0-49da-827c-18ec499db889';
56
+ CreateRecontractDto.STEP_SCHEMA_ACTION_ID = 'ca8242d6-738e-49b0-9822-8804ac5c379e';
57
+ CreateRecontractDto.STEP_SCHEMA_TYPE_ID = '61db803a-cf84-4fee-b460-eb0cba01b705';
58
+ CreateRecontractDto.STEP_TYPE = 'DEFAULT';
59
+ CreateRecontractDto.AUTO_LINK_PARENT = true;
@@ -0,0 +1,73 @@
1
+ /**
2
+ * FlagVulnerableCustomer Action DTO
3
+ *
4
+ * Marks (or clears) the vulnerable-customer flag on a case. Drives handling and prioritisation, so it is a deliberate, auditable event rather than a generic field edit.
5
+ *
6
+ * @module SupportModule
7
+ * @entity Case
8
+ * @actionKey FlagVulnerableCustomer
9
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.FlagVulnerableCustomer
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 FlagVulnerableCustomer updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.FlagVulnerableCustomer
18
+ */
19
+ export interface FlagVulnerableCustomerMessage extends OdinRecordUpdatedEvent<FlagVulnerableCustomerDto, FlagVulnerableCustomerProperties> {
20
+ }
21
+ /**
22
+ * Properties for FlagVulnerableCustomer action
23
+ *
24
+ * @property Required fields: 1
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface FlagVulnerableCustomerProperties {
28
+ /**
29
+ * Vulnerable customer
30
+ *
31
+ * Vulnerable Customer
32
+ * @type {ENUM}
33
+ * @required
34
+ */
35
+ VulnerableCustomer: string;
36
+ }
37
+ /**
38
+ * Flag the case as a vulnerable customer
39
+ *
40
+ * Marks (or clears) the vulnerable-customer flag on a case. Drives handling and prioritisation, so it is a deliberate, auditable event rather than a generic field edit.
41
+ *
42
+ * @actionType UPDATE - Updates an existing Case record
43
+ * @module SupportModule
44
+ * @entity Case
45
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.FlagVulnerableCustomer
46
+ * @permission schema.action.flagvulnerablecustomer.trigger
47
+ * @benchmark This action is tracked for performance benchmarks
48
+ */
49
+ export declare class FlagVulnerableCustomerDto extends OdinRecordUpdateDto<FlagVulnerableCustomerProperties> {
50
+ /** Used by SDK generators to identify action type */
51
+ static readonly ACTION_TYPE = "UPDATE";
52
+ static readonly ACTION_KEY = "FlagVulnerableCustomer";
53
+ static readonly MODULE_NAME = "SupportModule";
54
+ static readonly ENTITIES: string[];
55
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.FlagVulnerableCustomer";
56
+ static readonly PERMISSION = "schema.action.flagvulnerablecustomer.trigger";
57
+ /** Step metadata - entity this action targets */
58
+ static readonly STEP_ENTITY = "SupportModule:Case";
59
+ static readonly STEP_SCHEMA_ID = "bb540d25-53bf-491b-9d03-f3d42f755b3a";
60
+ static readonly STEP_SCHEMA_ACTION_ID = "f10d2dac-1b90-4d10-9f23-0ae881a291e1";
61
+ static readonly AUTO_LINK_PARENT = false;
62
+ readonly actionName: string;
63
+ readonly schemaActionId: string;
64
+ readonly entity: string;
65
+ constructor(record: OdinRecord<any> | {
66
+ id: string;
67
+ entity: string;
68
+ type?: string;
69
+ }, properties: FlagVulnerableCustomerProperties, options?: {
70
+ journeyId?: string;
71
+ stageKey?: string;
72
+ });
73
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * FlagVulnerableCustomer Action DTO
4
+ *
5
+ * Marks (or clears) the vulnerable-customer flag on a case. Drives handling and prioritisation, so it is a deliberate, auditable event rather than a generic field edit.
6
+ *
7
+ * @module SupportModule
8
+ * @entity Case
9
+ * @actionKey FlagVulnerableCustomer
10
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.FlagVulnerableCustomer
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.FlagVulnerableCustomerDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Flag the case as a vulnerable customer
19
+ *
20
+ * Marks (or clears) the vulnerable-customer flag on a case. Drives handling and prioritisation, so it is a deliberate, auditable event rather than a generic field edit.
21
+ *
22
+ * @actionType UPDATE - Updates an existing Case record
23
+ * @module SupportModule
24
+ * @entity Case
25
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.FlagVulnerableCustomer
26
+ * @permission schema.action.flagvulnerablecustomer.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class FlagVulnerableCustomerDto 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 = 'FlagVulnerableCustomer';
40
+ this.schemaActionId = 'f10d2dac-1b90-4d10-9f23-0ae881a291e1';
41
+ this.entity = 'SupportModule:Case';
42
+ }
43
+ }
44
+ exports.FlagVulnerableCustomerDto = FlagVulnerableCustomerDto;
45
+ /** Used by SDK generators to identify action type */
46
+ FlagVulnerableCustomerDto.ACTION_TYPE = 'UPDATE';
47
+ FlagVulnerableCustomerDto.ACTION_KEY = 'FlagVulnerableCustomer';
48
+ FlagVulnerableCustomerDto.MODULE_NAME = 'SupportModule';
49
+ FlagVulnerableCustomerDto.ENTITIES = ['Case'];
50
+ FlagVulnerableCustomerDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.FlagVulnerableCustomer';
51
+ FlagVulnerableCustomerDto.PERMISSION = 'schema.action.flagvulnerablecustomer.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ FlagVulnerableCustomerDto.STEP_ENTITY = 'SupportModule:Case';
54
+ FlagVulnerableCustomerDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
55
+ FlagVulnerableCustomerDto.STEP_SCHEMA_ACTION_ID = 'f10d2dac-1b90-4d10-9f23-0ae881a291e1';
56
+ FlagVulnerableCustomerDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,73 @@
1
+ /**
2
+ * RecordAiTagsAccuracy Action DTO
3
+ *
4
+ * Stores an agent's verdict on the AI-generated tags for a case (POSITIVE / NEGATIVE / SKIPPED). Feedback signal for the tagging model, not a case-state change. Fired from youfibre-api-support ai.service.ts.
5
+ *
6
+ * @module SupportModule
7
+ * @entity Case
8
+ * @actionKey RecordAiTagsAccuracy
9
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.RecordAiTagsAccuracy
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 RecordAiTagsAccuracy updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.RecordAiTagsAccuracy
18
+ */
19
+ export interface RecordAiTagsAccuracyMessage extends OdinRecordUpdatedEvent<RecordAiTagsAccuracyDto, RecordAiTagsAccuracyProperties> {
20
+ }
21
+ /**
22
+ * Properties for RecordAiTagsAccuracy action
23
+ *
24
+ * @property Required fields: 1
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface RecordAiTagsAccuracyProperties {
28
+ /**
29
+ * AI tags accuracy
30
+ *
31
+ * Accuracy of the AI tags
32
+ * @type {TEXT}
33
+ * @required
34
+ */
35
+ AiTagsAccuracy: string;
36
+ }
37
+ /**
38
+ * Record whether the AI tags were right
39
+ *
40
+ * Stores an agent's verdict on the AI-generated tags for a case (POSITIVE / NEGATIVE / SKIPPED). Feedback signal for the tagging model, not a case-state change. Fired from youfibre-api-support ai.service.ts.
41
+ *
42
+ * @actionType UPDATE - Updates an existing Case record
43
+ * @module SupportModule
44
+ * @entity Case
45
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.RecordAiTagsAccuracy
46
+ * @permission schema.action.recordaitagsaccuracy.trigger
47
+ * @benchmark This action is tracked for performance benchmarks
48
+ */
49
+ export declare class RecordAiTagsAccuracyDto extends OdinRecordUpdateDto<RecordAiTagsAccuracyProperties> {
50
+ /** Used by SDK generators to identify action type */
51
+ static readonly ACTION_TYPE = "UPDATE";
52
+ static readonly ACTION_KEY = "RecordAiTagsAccuracy";
53
+ static readonly MODULE_NAME = "SupportModule";
54
+ static readonly ENTITIES: string[];
55
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.RecordAiTagsAccuracy";
56
+ static readonly PERMISSION = "schema.action.recordaitagsaccuracy.trigger";
57
+ /** Step metadata - entity this action targets */
58
+ static readonly STEP_ENTITY = "SupportModule:Case";
59
+ static readonly STEP_SCHEMA_ID = "bb540d25-53bf-491b-9d03-f3d42f755b3a";
60
+ static readonly STEP_SCHEMA_ACTION_ID = "d7e90130-6aab-4196-8f44-8f4c1fbd9ac9";
61
+ static readonly AUTO_LINK_PARENT = false;
62
+ readonly actionName: string;
63
+ readonly schemaActionId: string;
64
+ readonly entity: string;
65
+ constructor(record: OdinRecord<any> | {
66
+ id: string;
67
+ entity: string;
68
+ type?: string;
69
+ }, properties: RecordAiTagsAccuracyProperties, options?: {
70
+ journeyId?: string;
71
+ stageKey?: string;
72
+ });
73
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * RecordAiTagsAccuracy Action DTO
4
+ *
5
+ * Stores an agent's verdict on the AI-generated tags for a case (POSITIVE / NEGATIVE / SKIPPED). Feedback signal for the tagging model, not a case-state change. Fired from youfibre-api-support ai.service.ts.
6
+ *
7
+ * @module SupportModule
8
+ * @entity Case
9
+ * @actionKey RecordAiTagsAccuracy
10
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.RecordAiTagsAccuracy
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.RecordAiTagsAccuracyDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Record whether the AI tags were right
19
+ *
20
+ * Stores an agent's verdict on the AI-generated tags for a case (POSITIVE / NEGATIVE / SKIPPED). Feedback signal for the tagging model, not a case-state change. Fired from youfibre-api-support ai.service.ts.
21
+ *
22
+ * @actionType UPDATE - Updates an existing Case record
23
+ * @module SupportModule
24
+ * @entity Case
25
+ * @event k1.t-hEOJjsDb.SupportModule.Case.Update.RecordAiTagsAccuracy
26
+ * @permission schema.action.recordaitagsaccuracy.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class RecordAiTagsAccuracyDto 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 = 'RecordAiTagsAccuracy';
40
+ this.schemaActionId = 'd7e90130-6aab-4196-8f44-8f4c1fbd9ac9';
41
+ this.entity = 'SupportModule:Case';
42
+ }
43
+ }
44
+ exports.RecordAiTagsAccuracyDto = RecordAiTagsAccuracyDto;
45
+ /** Used by SDK generators to identify action type */
46
+ RecordAiTagsAccuracyDto.ACTION_TYPE = 'UPDATE';
47
+ RecordAiTagsAccuracyDto.ACTION_KEY = 'RecordAiTagsAccuracy';
48
+ RecordAiTagsAccuracyDto.MODULE_NAME = 'SupportModule';
49
+ RecordAiTagsAccuracyDto.ENTITIES = ['Case'];
50
+ RecordAiTagsAccuracyDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.RecordAiTagsAccuracy';
51
+ RecordAiTagsAccuracyDto.PERMISSION = 'schema.action.recordaitagsaccuracy.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ RecordAiTagsAccuracyDto.STEP_ENTITY = 'SupportModule:Case';
54
+ RecordAiTagsAccuracyDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
55
+ RecordAiTagsAccuracyDto.STEP_SCHEMA_ACTION_ID = 'd7e90130-6aab-4196-8f44-8f4c1fbd9ac9';
56
+ RecordAiTagsAccuracyDto.AUTO_LINK_PARENT = false;