@d19n/youfibre-odin-sdk 2.0.382-beta.0 → 2.0.383

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
@@ -406,7 +406,7 @@ This SDK includes **213** entities across **13** modules.
406
406
 
407
407
  ## Actions
408
408
 
409
- This SDK includes **943** actions.
409
+ This SDK includes **945** actions.
410
410
 
411
411
  ### Action Types
412
412
 
@@ -1474,6 +1474,8 @@ This SDK includes **943** actions.
1474
1474
  | `CreateOrderReferralReferrerPendingEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail |
1475
1475
  | `CreateOrderReferralReferrerQualifiedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerQualifiedEmail |
1476
1476
  | `CreateOtsGainingCancellationIssue` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingCancellationIssue |
1477
+ | `CreateOtsGainingMatchRequestConfirmed` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestConfirmed |
1478
+ | `CreateOtsGainingMatchRequestFailed` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestFailed |
1477
1479
  | `CreateOtsGainingSwitchCancelled` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchCancelled |
1478
1480
  | `CreateOtsGainingSwitchComplete` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingSwitchComplete |
1479
1481
  | `CreateOtsLosingSwitchConfirmation` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsLosingSwitchConfirmation |
@@ -23,7 +23,7 @@ export interface CreateCaseWithDpaMessage extends OdinRecordCreatedEvent<CreateC
23
23
  * Properties for CreateCaseWithDpa action
24
24
  *
25
25
  * @property Required fields: 3
26
- * @property Optional fields: 14
26
+ * @property Optional fields: 15
27
27
  */
28
28
  export interface CreateCaseWithDpaProperties {
29
29
  /**
@@ -149,6 +149,13 @@ export interface CreateCaseWithDpaProperties {
149
149
  * @type {ENUM}
150
150
  */
151
151
  SubCategory?: string | null;
152
+ /**
153
+ * Review Stars
154
+ *
155
+ * Star rating (1-5) of the review this case was raised from. Set when a Trustpilot review creates the case; empty on every other case.
156
+ * @type {NUMBER}
157
+ */
158
+ ReviewStars?: number | null;
152
159
  }
153
160
  /**
154
161
  * CreateCaseWithDpa
@@ -0,0 +1,135 @@
1
+ /**
2
+ * CreateOtsGainingMatchRequestConfirmed Action DTO
3
+ *
4
+ * OTS-GP1S. Tells a customer switching to YouFibre that their old provider has matched their account and what happens next.
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Email
8
+ * @entityType TRANSACTIONAL
9
+ * @actionKey CreateOtsGainingMatchRequestConfirmed
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestConfirmed
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 CreateOtsGainingMatchRequestConfirmed created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestConfirmed
19
+ */
20
+ export interface CreateOtsGainingMatchRequestConfirmedMessage extends OdinRecordCreatedEvent<CreateOtsGainingMatchRequestConfirmedDto, CreateOtsGainingMatchRequestConfirmedProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateOtsGainingMatchRequestConfirmed action
24
+ *
25
+ * @property Required fields: 0
26
+ * @property Optional fields: 10
27
+ */
28
+ export interface CreateOtsGainingMatchRequestConfirmedProperties {
29
+ /**
30
+ * Date
31
+ *
32
+ * Date field for Email records. Used by Communications team.
33
+ * @type {DATE_TIME}
34
+ */
35
+ Date?: string | null;
36
+ /**
37
+ * EmailingService
38
+ *
39
+ * The provider we use to send email (eg. Sendgrid)
40
+ * @type {ENUM}
41
+ */
42
+ EmailingService?: string | null;
43
+ /**
44
+ * ContactId
45
+ *
46
+ * The related Contact to send the email
47
+ * @type {LOOKUP}
48
+ */
49
+ ContactId?: string | null;
50
+ /**
51
+ * TemplateLabel
52
+ *
53
+ * The template label from email templates engine
54
+ * @type {TEXT}
55
+ */
56
+ TemplateLabel?: string | null;
57
+ /**
58
+ * MessageId
59
+ *
60
+ * SMTP Message Id (Communications - Email)
61
+ * @type {TEXT}
62
+ */
63
+ MessageId?: string | null;
64
+ /**
65
+ * EmailSenderId
66
+ *
67
+ * The Email Sender related entity
68
+ * @type {LOOKUP}
69
+ */
70
+ EmailSenderId?: string | null;
71
+ /**
72
+ * DynamicData
73
+ *
74
+ * Data will pass to emailing service (variables)
75
+ * @type {JSON}
76
+ */
77
+ DynamicData?: string | null;
78
+ /**
79
+ * Title
80
+ *
81
+ * Used for title
82
+ * @type {TEXT}
83
+ */
84
+ Title?: string | null;
85
+ /**
86
+ * Subject
87
+ *
88
+ * Data field for Email records. Used by Communications team.
89
+ * @type {TEXT}
90
+ */
91
+ Subject?: string | null;
92
+ /**
93
+ * To
94
+ *
95
+ * Data field for Email records. Used by Communications team.
96
+ * @type {TEXT}
97
+ */
98
+ To?: string | null;
99
+ }
100
+ /**
101
+ * CreateOtsGainingMatchRequestConfirmed
102
+ *
103
+ * OTS-GP1S. Tells a customer switching to YouFibre that their old provider has matched their account and what happens next.
104
+ *
105
+ * @actionType CREATE - Creates a new Email record
106
+ * @module NotificationModule
107
+ * @entity Email
108
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
109
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestConfirmed
110
+ * @permission schema.action.createotsgainingmatchrequestconfirmed.trigger
111
+ * @benchmark This action is tracked for performance benchmarks
112
+ */
113
+ export declare class CreateOtsGainingMatchRequestConfirmedDto extends OdinRecordCreateDto<CreateOtsGainingMatchRequestConfirmedProperties> {
114
+ /** Used by SDK generators to identify action type */
115
+ static readonly ACTION_TYPE = "CREATE";
116
+ static readonly ACTION_KEY = "CreateOtsGainingMatchRequestConfirmed";
117
+ static readonly MODULE_NAME = "NotificationModule";
118
+ static readonly ENTITIES: string[];
119
+ static readonly ENTITY_TYPE = "TRANSACTIONAL";
120
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestConfirmed";
121
+ static readonly PERMISSION = "schema.action.createotsgainingmatchrequestconfirmed.trigger";
122
+ /** Step metadata - entity this action targets */
123
+ static readonly STEP_ENTITY = "NotificationModule:Email";
124
+ static readonly STEP_SCHEMA_ID = "cb37958c-d72f-44aa-975a-a8fae42b1b72";
125
+ static readonly STEP_SCHEMA_ACTION_ID = "12ae8b13-fd72-437a-8f7e-83965d07cd92";
126
+ static readonly STEP_SCHEMA_TYPE_ID = "14042940-a388-44c7-87fe-3a4105d92e94";
127
+ static readonly STEP_TYPE = "TRANSACTIONAL";
128
+ static readonly AUTO_LINK_PARENT = true;
129
+ readonly actionName: string;
130
+ readonly schemaActionId: string;
131
+ readonly entity: string;
132
+ constructor(properties: CreateOtsGainingMatchRequestConfirmedProperties, options?: {
133
+ journeyId?: string;
134
+ });
135
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * CreateOtsGainingMatchRequestConfirmed Action DTO
4
+ *
5
+ * OTS-GP1S. Tells a customer switching to YouFibre that their old provider has matched their account and what happens next.
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Email
9
+ * @entityType TRANSACTIONAL
10
+ * @actionKey CreateOtsGainingMatchRequestConfirmed
11
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestConfirmed
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateOtsGainingMatchRequestConfirmedDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateOtsGainingMatchRequestConfirmed
20
+ *
21
+ * OTS-GP1S. Tells a customer switching to YouFibre that their old provider has matched their account and what happens next.
22
+ *
23
+ * @actionType CREATE - Creates a new Email record
24
+ * @module NotificationModule
25
+ * @entity Email
26
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
27
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestConfirmed
28
+ * @permission schema.action.createotsgainingmatchrequestconfirmed.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class CreateOtsGainingMatchRequestConfirmedDto extends core_1.OdinRecordCreateDto {
32
+ constructor(properties, options) {
33
+ super({
34
+ entity: 'NotificationModule:Email',
35
+ type: 'TRANSACTIONAL',
36
+ properties,
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'CreateOtsGainingMatchRequestConfirmed';
40
+ this.schemaActionId = '12ae8b13-fd72-437a-8f7e-83965d07cd92';
41
+ this.entity = 'NotificationModule:Email';
42
+ }
43
+ }
44
+ exports.CreateOtsGainingMatchRequestConfirmedDto = CreateOtsGainingMatchRequestConfirmedDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CreateOtsGainingMatchRequestConfirmedDto.ACTION_TYPE = 'CREATE';
47
+ CreateOtsGainingMatchRequestConfirmedDto.ACTION_KEY = 'CreateOtsGainingMatchRequestConfirmed';
48
+ CreateOtsGainingMatchRequestConfirmedDto.MODULE_NAME = 'NotificationModule';
49
+ CreateOtsGainingMatchRequestConfirmedDto.ENTITIES = ['Email'];
50
+ CreateOtsGainingMatchRequestConfirmedDto.ENTITY_TYPE = 'TRANSACTIONAL';
51
+ CreateOtsGainingMatchRequestConfirmedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestConfirmed';
52
+ CreateOtsGainingMatchRequestConfirmedDto.PERMISSION = 'schema.action.createotsgainingmatchrequestconfirmed.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ CreateOtsGainingMatchRequestConfirmedDto.STEP_ENTITY = 'NotificationModule:Email';
55
+ CreateOtsGainingMatchRequestConfirmedDto.STEP_SCHEMA_ID = 'cb37958c-d72f-44aa-975a-a8fae42b1b72';
56
+ CreateOtsGainingMatchRequestConfirmedDto.STEP_SCHEMA_ACTION_ID = '12ae8b13-fd72-437a-8f7e-83965d07cd92';
57
+ CreateOtsGainingMatchRequestConfirmedDto.STEP_SCHEMA_TYPE_ID = '14042940-a388-44c7-87fe-3a4105d92e94';
58
+ CreateOtsGainingMatchRequestConfirmedDto.STEP_TYPE = 'TRANSACTIONAL';
59
+ CreateOtsGainingMatchRequestConfirmedDto.AUTO_LINK_PARENT = true;
@@ -0,0 +1,135 @@
1
+ /**
2
+ * CreateOtsGainingMatchRequestFailed Action DTO
3
+ *
4
+ * OTS-GP1F. Tells a customer switching to YouFibre that their old provider could not match their account, and asks for the details we need.
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Email
8
+ * @entityType TRANSACTIONAL
9
+ * @actionKey CreateOtsGainingMatchRequestFailed
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestFailed
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 CreateOtsGainingMatchRequestFailed created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestFailed
19
+ */
20
+ export interface CreateOtsGainingMatchRequestFailedMessage extends OdinRecordCreatedEvent<CreateOtsGainingMatchRequestFailedDto, CreateOtsGainingMatchRequestFailedProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateOtsGainingMatchRequestFailed action
24
+ *
25
+ * @property Required fields: 0
26
+ * @property Optional fields: 10
27
+ */
28
+ export interface CreateOtsGainingMatchRequestFailedProperties {
29
+ /**
30
+ * Date
31
+ *
32
+ * Date field for Email records. Used by Communications team.
33
+ * @type {DATE_TIME}
34
+ */
35
+ Date?: string | null;
36
+ /**
37
+ * EmailingService
38
+ *
39
+ * The provider we use to send email (eg. Sendgrid)
40
+ * @type {ENUM}
41
+ */
42
+ EmailingService?: string | null;
43
+ /**
44
+ * ContactId
45
+ *
46
+ * The related Contact to send the email
47
+ * @type {LOOKUP}
48
+ */
49
+ ContactId?: string | null;
50
+ /**
51
+ * TemplateLabel
52
+ *
53
+ * The template label from email templates engine
54
+ * @type {TEXT}
55
+ */
56
+ TemplateLabel?: string | null;
57
+ /**
58
+ * MessageId
59
+ *
60
+ * SMTP Message Id (Communications - Email)
61
+ * @type {TEXT}
62
+ */
63
+ MessageId?: string | null;
64
+ /**
65
+ * EmailSenderId
66
+ *
67
+ * The Email Sender related entity
68
+ * @type {LOOKUP}
69
+ */
70
+ EmailSenderId?: string | null;
71
+ /**
72
+ * DynamicData
73
+ *
74
+ * Data will pass to emailing service (variables)
75
+ * @type {JSON}
76
+ */
77
+ DynamicData?: string | null;
78
+ /**
79
+ * Title
80
+ *
81
+ * Used for title
82
+ * @type {TEXT}
83
+ */
84
+ Title?: string | null;
85
+ /**
86
+ * Subject
87
+ *
88
+ * Data field for Email records. Used by Communications team.
89
+ * @type {TEXT}
90
+ */
91
+ Subject?: string | null;
92
+ /**
93
+ * To
94
+ *
95
+ * Data field for Email records. Used by Communications team.
96
+ * @type {TEXT}
97
+ */
98
+ To?: string | null;
99
+ }
100
+ /**
101
+ * CreateOtsGainingMatchRequestFailed
102
+ *
103
+ * OTS-GP1F. Tells a customer switching to YouFibre that their old provider could not match their account, and asks for the details we need.
104
+ *
105
+ * @actionType CREATE - Creates a new Email record
106
+ * @module NotificationModule
107
+ * @entity Email
108
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
109
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestFailed
110
+ * @permission schema.action.createotsgainingmatchrequestfailed.trigger
111
+ * @benchmark This action is tracked for performance benchmarks
112
+ */
113
+ export declare class CreateOtsGainingMatchRequestFailedDto extends OdinRecordCreateDto<CreateOtsGainingMatchRequestFailedProperties> {
114
+ /** Used by SDK generators to identify action type */
115
+ static readonly ACTION_TYPE = "CREATE";
116
+ static readonly ACTION_KEY = "CreateOtsGainingMatchRequestFailed";
117
+ static readonly MODULE_NAME = "NotificationModule";
118
+ static readonly ENTITIES: string[];
119
+ static readonly ENTITY_TYPE = "TRANSACTIONAL";
120
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestFailed";
121
+ static readonly PERMISSION = "schema.action.createotsgainingmatchrequestfailed.trigger";
122
+ /** Step metadata - entity this action targets */
123
+ static readonly STEP_ENTITY = "NotificationModule:Email";
124
+ static readonly STEP_SCHEMA_ID = "cb37958c-d72f-44aa-975a-a8fae42b1b72";
125
+ static readonly STEP_SCHEMA_ACTION_ID = "2c11d368-24cd-4818-abc8-1d8491d46943";
126
+ static readonly STEP_SCHEMA_TYPE_ID = "14042940-a388-44c7-87fe-3a4105d92e94";
127
+ static readonly STEP_TYPE = "TRANSACTIONAL";
128
+ static readonly AUTO_LINK_PARENT = true;
129
+ readonly actionName: string;
130
+ readonly schemaActionId: string;
131
+ readonly entity: string;
132
+ constructor(properties: CreateOtsGainingMatchRequestFailedProperties, options?: {
133
+ journeyId?: string;
134
+ });
135
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * CreateOtsGainingMatchRequestFailed Action DTO
4
+ *
5
+ * OTS-GP1F. Tells a customer switching to YouFibre that their old provider could not match their account, and asks for the details we need.
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Email
9
+ * @entityType TRANSACTIONAL
10
+ * @actionKey CreateOtsGainingMatchRequestFailed
11
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestFailed
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateOtsGainingMatchRequestFailedDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateOtsGainingMatchRequestFailed
20
+ *
21
+ * OTS-GP1F. Tells a customer switching to YouFibre that their old provider could not match their account, and asks for the details we need.
22
+ *
23
+ * @actionType CREATE - Creates a new Email record
24
+ * @module NotificationModule
25
+ * @entity Email
26
+ * @entityType TRANSACTIONAL (TRANSACTIONAL)
27
+ * @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestFailed
28
+ * @permission schema.action.createotsgainingmatchrequestfailed.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class CreateOtsGainingMatchRequestFailedDto extends core_1.OdinRecordCreateDto {
32
+ constructor(properties, options) {
33
+ super({
34
+ entity: 'NotificationModule:Email',
35
+ type: 'TRANSACTIONAL',
36
+ properties,
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'CreateOtsGainingMatchRequestFailed';
40
+ this.schemaActionId = '2c11d368-24cd-4818-abc8-1d8491d46943';
41
+ this.entity = 'NotificationModule:Email';
42
+ }
43
+ }
44
+ exports.CreateOtsGainingMatchRequestFailedDto = CreateOtsGainingMatchRequestFailedDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CreateOtsGainingMatchRequestFailedDto.ACTION_TYPE = 'CREATE';
47
+ CreateOtsGainingMatchRequestFailedDto.ACTION_KEY = 'CreateOtsGainingMatchRequestFailed';
48
+ CreateOtsGainingMatchRequestFailedDto.MODULE_NAME = 'NotificationModule';
49
+ CreateOtsGainingMatchRequestFailedDto.ENTITIES = ['Email'];
50
+ CreateOtsGainingMatchRequestFailedDto.ENTITY_TYPE = 'TRANSACTIONAL';
51
+ CreateOtsGainingMatchRequestFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOtsGainingMatchRequestFailed';
52
+ CreateOtsGainingMatchRequestFailedDto.PERMISSION = 'schema.action.createotsgainingmatchrequestfailed.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ CreateOtsGainingMatchRequestFailedDto.STEP_ENTITY = 'NotificationModule:Email';
55
+ CreateOtsGainingMatchRequestFailedDto.STEP_SCHEMA_ID = 'cb37958c-d72f-44aa-975a-a8fae42b1b72';
56
+ CreateOtsGainingMatchRequestFailedDto.STEP_SCHEMA_ACTION_ID = '2c11d368-24cd-4818-abc8-1d8491d46943';
57
+ CreateOtsGainingMatchRequestFailedDto.STEP_SCHEMA_TYPE_ID = '14042940-a388-44c7-87fe-3a4105d92e94';
58
+ CreateOtsGainingMatchRequestFailedDto.STEP_TYPE = 'TRANSACTIONAL';
59
+ CreateOtsGainingMatchRequestFailedDto.AUTO_LINK_PARENT = true;
@@ -17,9 +17,9 @@ export declare class RouterPingSnapshotApi extends ApiProvider {
17
17
  private readonly moduleName;
18
18
  private readonly entityName;
19
19
  private sourceRecord;
20
- private _customerdevicerouter?;
20
+ private _routerpingsnapshot?;
21
21
  constructor(authParams?: OauthParams, authToken?: string);
22
- get customerdevicerouter(): ApiRecordLinkManager;
22
+ get routerpingsnapshot(): ApiRecordLinkManager;
23
23
  setRecord(sourceRecord: any): void;
24
24
  schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
25
25
  search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<RouterPingSnapshotProperties>>>;
@@ -33,11 +33,11 @@ class RouterPingSnapshotApi extends api_provider_1.ApiProvider {
33
33
  // LAZY-LOADED LINK MANAGERS (Public Getters)
34
34
  // ============================================
35
35
  // Usage remains identical: api.address.list(recordId)
36
- get customerdevicerouter() {
37
- if (!this._customerdevicerouter) {
38
- this._customerdevicerouter = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'ServiceModule:RouterPingSnapshot', 'ServiceModule:CustomerDeviceRouter', 'CustomerDeviceRouter__RouterPingSnapshot');
36
+ get routerpingsnapshot() {
37
+ if (!this._routerpingsnapshot) {
38
+ this._routerpingsnapshot = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'ServiceModule:RouterPingSnapshot', 'ServiceModule:RouterPingSnapshot', 'CustomerDeviceRouter__RouterPingSnapshot');
39
39
  }
40
- return this._customerdevicerouter;
40
+ return this._routerpingsnapshot;
41
41
  }
42
42
  // ============================================
43
43
  // STANDARD METHODS (Unchanged API)
@@ -1314,7 +1314,9 @@ export declare enum CasePropertyKeys {
1314
1314
  /** A copy of the Account's FrustrationScore stage when the Case was created or last refreshed. Written only by the frustration engine. */
1315
1315
  FrustrationBand = "FrustrationBand",
1316
1316
  /** How an OTS/recontract retention save was made — call or email. Set only when RetentionOutcome is SAVED. */
1317
- SaveContactMethod = "SaveContactMethod"
1317
+ SaveContactMethod = "SaveContactMethod",
1318
+ /** Star rating (1-5) of the review this case was raised from. Set when a Trustpilot review creates the case; empty on every other case. */
1319
+ ReviewStars = "ReviewStars"
1318
1320
  }
1319
1321
  /**
1320
1322
  * Properties for Case records
@@ -1913,6 +1915,13 @@ export interface CaseProperties {
1913
1915
  * @enum {CaseSaveContactMethod}
1914
1916
  */
1915
1917
  SaveContactMethod: CaseSaveContactMethod;
1918
+ /** Star rating (1-5) of the review this case was raised from. Set when a Trustpilot review creates the case; empty on every other case.
1919
+ *
1920
+ * @type {NUMBER}
1921
+ * @default
1922
+ * @hidden This field is hidden in the UI
1923
+ */
1924
+ ReviewStars: number;
1916
1925
  }
1917
1926
  /**
1918
1927
  * Properties for OUTAGE Case records
@@ -2511,6 +2520,13 @@ export interface OutageCaseProperties {
2511
2520
  * @enum {CaseSaveContactMethod}
2512
2521
  */
2513
2522
  SaveContactMethod: CaseSaveContactMethod;
2523
+ /** Star rating (1-5) of the review this case was raised from. Set when a Trustpilot review creates the case; empty on every other case.
2524
+ *
2525
+ * @type {NUMBER}
2526
+ * @default
2527
+ * @hidden This field is hidden in the UI
2528
+ */
2529
+ ReviewStars: number;
2514
2530
  }
2515
2531
  /**
2516
2532
  * Case entity from SupportModule
@@ -1331,6 +1331,8 @@ var CasePropertyKeys;
1331
1331
  CasePropertyKeys["FrustrationBand"] = "FrustrationBand";
1332
1332
  /** How an OTS/recontract retention save was made — call or email. Set only when RetentionOutcome is SAVED. */
1333
1333
  CasePropertyKeys["SaveContactMethod"] = "SaveContactMethod";
1334
+ /** Star rating (1-5) of the review this case was raised from. Set when a Trustpilot review creates the case; empty on every other case. */
1335
+ CasePropertyKeys["ReviewStars"] = "ReviewStars";
1334
1336
  })(CasePropertyKeys = exports.CasePropertyKeys || (exports.CasePropertyKeys = {}));
1335
1337
  /**
1336
1338
  * Case entity from SupportModule
@@ -120,6 +120,8 @@ export declare class RouterPingSnapshot extends OdinRecord<RouterPingSnapshotPro
120
120
  type: RouterPingSnapshotEntityTypes;
121
121
  schemaId: '8ff79a59-ba8a-4227-8a24-bf8c95d342d6';
122
122
  properties: RouterPingSnapshotProperties;
123
+ /** Linked RouterPingSnapshot records (CustomerDeviceRouter__RouterPingSnapshot) */
124
+ RouterPingSnapshot: OdinLink<LinkedOdinRecord<RouterPingSnapshotProperties>>;
123
125
  /** Linked CustomerDeviceRouter records (CustomerDeviceRouter__RouterPingSnapshot) */
124
126
  CustomerDeviceRouter: OdinLink<LinkedOdinRecord<CustomerDeviceRouterProperties>>;
125
127
  }
@@ -139,3 +141,7 @@ export declare const ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_CREATED = "Service
139
141
  export declare const ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_UPDATED = "ServiceModule.RouterPingSnapshot.DEFAULT.SubDbRecordUpdated";
140
142
  /** This is the default record type deleted */
141
143
  export declare const ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_DELETED = "ServiceModule.RouterPingSnapshot.DEFAULT.SubDbRecordDeleted";
144
+ /** Event: CustomerDeviceRouter__RouterPingSnapshot link created */
145
+ export declare const ROUTING_KEY_LINK_CUSTOMER_DEVICE_ROUTER_ROUTER_PING_SNAPSHOT_CREATED = "ServiceModule.RouterPingSnapshot.RouterPingSnapshot.SubDbRecordAssociationCreated";
146
+ /** Event: CustomerDeviceRouter__RouterPingSnapshot link deleted */
147
+ export declare const ROUTING_KEY_LINK_CUSTOMER_DEVICE_ROUTER_ROUTER_PING_SNAPSHOT_DELETED = "ServiceModule.RouterPingSnapshot.RouterPingSnapshot.SubDbRecordAssociationDeleted";
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_DELETED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_UPDATED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_CREATED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DELETED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_UPDATED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_CREATED = exports.RouterPingSnapshot = exports.RouterPingSnapshotPropertyKeys = exports.RouterPingSnapshotEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ROUTER_ROUTER_PING_SNAPSHOT_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ROUTER_ROUTER_PING_SNAPSHOT_CREATED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_DELETED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_UPDATED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_CREATED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DELETED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_UPDATED = exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_CREATED = exports.RouterPingSnapshot = exports.RouterPingSnapshotPropertyKeys = exports.RouterPingSnapshotEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for RouterPingSnapshot records
@@ -80,3 +80,7 @@ exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_CREATED = 'ServiceModule.Router
80
80
  exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_UPDATED = 'ServiceModule.RouterPingSnapshot.DEFAULT.SubDbRecordUpdated';
81
81
  /** This is the default record type deleted */
82
82
  exports.ROUTING_KEY_ROUTER_PING_SNAPSHOT_DEFAULT_DELETED = 'ServiceModule.RouterPingSnapshot.DEFAULT.SubDbRecordDeleted';
83
+ /** Event: CustomerDeviceRouter__RouterPingSnapshot link created */
84
+ exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ROUTER_ROUTER_PING_SNAPSHOT_CREATED = 'ServiceModule.RouterPingSnapshot.RouterPingSnapshot.SubDbRecordAssociationCreated';
85
+ /** Event: CustomerDeviceRouter__RouterPingSnapshot link deleted */
86
+ exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ROUTER_ROUTER_PING_SNAPSHOT_DELETED = 'ServiceModule.RouterPingSnapshot.RouterPingSnapshot.SubDbRecordAssociationDeleted';