@d19n/youfibre-odin-sdk 2.0.375 → 2.0.377

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 (39) hide show
  1. package/README.md +5 -2
  2. package/dist/actions-v2/SetContactYouFibreTvInterestDto.d.ts +72 -0
  3. package/dist/actions-v2/SetContactYouFibreTvInterestDto.js +56 -0
  4. package/dist/actions-v2/UpdateWorkOrderWithdrawEquipmentChargeDto.d.ts +5 -5
  5. package/dist/api-sdk-v2/DocumentApi.d.ts +2 -0
  6. package/dist/api-sdk-v2/DocumentApi.js +6 -0
  7. package/dist/api-sdk-v2/DocumentValueApi.d.ts +48 -0
  8. package/dist/api-sdk-v2/DocumentValueApi.js +155 -0
  9. package/dist/api-sdk-v2/QaBatchApi.d.ts +2 -0
  10. package/dist/api-sdk-v2/QaBatchApi.js +6 -0
  11. package/dist/api-sdk-v2/QaBatchSummaryApi.d.ts +48 -0
  12. package/dist/api-sdk-v2/QaBatchSummaryApi.js +155 -0
  13. package/dist/db-sdk-v2/DocumentDb.d.ts +2 -0
  14. package/dist/db-sdk-v2/DocumentDb.js +6 -0
  15. package/dist/db-sdk-v2/DocumentValueDb.d.ts +120 -0
  16. package/dist/db-sdk-v2/DocumentValueDb.js +204 -0
  17. package/dist/db-sdk-v2/QaBatchDb.d.ts +2 -0
  18. package/dist/db-sdk-v2/QaBatchDb.js +6 -0
  19. package/dist/db-sdk-v2/QaBatchSummaryDb.d.ts +120 -0
  20. package/dist/db-sdk-v2/QaBatchSummaryDb.js +204 -0
  21. package/dist/entities-v2/Contact.d.ts +9 -1
  22. package/dist/entities-v2/Contact.js +2 -0
  23. package/dist/entities-v2/Document.d.ts +167 -2
  24. package/dist/entities-v2/Document.js +19 -1
  25. package/dist/entities-v2/DocumentProcessing.d.ts +2 -0
  26. package/dist/entities-v2/DocumentProcessing.js +2 -0
  27. package/dist/entities-v2/DocumentValue.d.ts +213 -0
  28. package/dist/entities-v2/DocumentValue.js +130 -0
  29. package/dist/entities-v2/QaBatch.d.ts +46 -1
  30. package/dist/entities-v2/QaBatch.js +25 -1
  31. package/dist/entities-v2/QaBatchSummary.d.ts +219 -0
  32. package/dist/entities-v2/QaBatchSummary.js +124 -0
  33. package/dist/entities-v2/QaReport.d.ts +17 -1
  34. package/dist/entities-v2/QaReport.js +4 -0
  35. package/dist/entities-v2/Recontract.d.ts +2 -0
  36. package/dist/entities-v2/Recontract.js +2 -0
  37. package/dist/records-v2/ContactRecord.d.ts +28 -0
  38. package/dist/records-v2/ContactRecord.js +37 -0
  39. package/package.json +1 -1
@@ -0,0 +1,219 @@
1
+ /**
2
+ * QaBatchSummary Entity Definition
3
+ *
4
+ * The AI-written overall report on one bulk QA run: the agent or team, what they do well, what recurs, what to coach, with the case numbers behind each point. Written only by youfibre-api-support.
5
+ *
6
+ * @module SupportModule
7
+ * @entity QaBatchSummary
8
+ * @schemaId c932a484-143a-4b2d-bf01-88b9fb9fc9df
9
+ *
10
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
11
+ * Generated from Odin schema definition
12
+ */
13
+ import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
14
+ import { QaBatchProperties } from './QaBatch';
15
+ /**
16
+ * Available types for QaBatchSummary records
17
+ */
18
+ export declare enum QaBatchSummaryEntityTypes {
19
+ /** This is the default record type */
20
+ DEFAULT = "DEFAULT"
21
+ }
22
+ /**
23
+ * Valid values for QaBatchSummary.Scope
24
+ *
25
+ * AGENT: one agent. TEAM: a team, with a per-agent section and a team synthesis.
26
+ *
27
+ * @remarks Available options:
28
+ * - `AGENT` - Agent
29
+ * - `TEAM` - Team
30
+ */
31
+ export declare enum QaBatchSummaryScope {
32
+ AGENT = "AGENT",
33
+ TEAM = "TEAM"
34
+ }
35
+ /**
36
+ * Valid values for QaBatchSummary.Status
37
+ *
38
+ * PENDING while the model writes it; COMPLETE when the files are stored; FAILED with Error when it could not be written.
39
+ *
40
+ * @remarks Available options:
41
+ * - `COMPLETE` - Complete
42
+ * - `FAILED` - Failed
43
+ * - `PENDING` - Pending
44
+ */
45
+ export declare enum QaBatchSummaryStatus {
46
+ COMPLETE = "COMPLETE",
47
+ FAILED = "FAILED",
48
+ PENDING = "PENDING"
49
+ }
50
+ /**
51
+ * Property keys for QaBatchSummary
52
+ * Use these constants instead of string literals for type safety
53
+ */
54
+ export declare enum QaBatchSummaryPropertyKeys {
55
+ /** AGENT: one agent. TEAM: a team, with a per-agent section and a team synthesis. */
56
+ Scope = "Scope",
57
+ /** The agent summarised, for an AGENT summary. */
58
+ AgentId = "AgentId",
59
+ /** The agent's display name at the time. */
60
+ AgentName = "AgentName",
61
+ /** The team summarised, for a TEAM summary. */
62
+ TeamId = "TeamId",
63
+ /** The team's name at the time. */
64
+ TeamName = "TeamName",
65
+ /** PENDING while the model writes it; COMPLETE when the files are stored; FAILED with Error when it could not be written. */
66
+ Status = "Status",
67
+ /** How many COMPLETE QA reports of the run the summary was built from. */
68
+ ReportCount = "ReportCount",
69
+ /** The mean score of the reports read, computed in code. */
70
+ AverageScore = "AverageScore",
71
+ /** S3 URL of the rendered summary. */
72
+ ReportUrl = "ReportUrl",
73
+ /** S3 URL of the structured summary: the model's sections plus the figures computed in code. */
74
+ SummaryUrl = "SummaryUrl",
75
+ /** The model that wrote it, and the prompt version. */
76
+ Model = "Model",
77
+ /** How many model calls the reports were split across before the final synthesis. */
78
+ Chunks = "Chunks",
79
+ /** When the summary was stored. */
80
+ GeneratedAt = "GeneratedAt",
81
+ /** Why the summary could not be written, when Status is FAILED. */
82
+ Error = "Error",
83
+ /** The bulk QA run this summary is about. */
84
+ BatchId = "BatchId"
85
+ }
86
+ /**
87
+ * Properties for QaBatchSummary records
88
+ *
89
+ * @see SupportModule:QaBatchSummary
90
+ */
91
+ export interface QaBatchSummaryProperties {
92
+ /** AGENT: one agent. TEAM: a team, with a per-agent section and a team synthesis.
93
+ *
94
+ * @type {ENUM}
95
+ * @default AGENT
96
+ * @enum {QaBatchSummaryScope}
97
+ */
98
+ Scope: QaBatchSummaryScope;
99
+ /** The agent summarised, for an AGENT summary.
100
+ *
101
+ * @type {TEXT}
102
+ * @default
103
+ */
104
+ AgentId: string;
105
+ /** The agent's display name at the time.
106
+ *
107
+ * @type {TEXT}
108
+ * @default
109
+ */
110
+ AgentName: string;
111
+ /** The team summarised, for a TEAM summary.
112
+ *
113
+ * @type {TEXT}
114
+ * @default
115
+ */
116
+ TeamId: string;
117
+ /** The team's name at the time.
118
+ *
119
+ * @type {TEXT}
120
+ * @default
121
+ */
122
+ TeamName: string;
123
+ /** PENDING while the model writes it; COMPLETE when the files are stored; FAILED with Error when it could not be written.
124
+ *
125
+ * @type {ENUM}
126
+ * @default PENDING
127
+ * @enum {QaBatchSummaryStatus}
128
+ */
129
+ Status: QaBatchSummaryStatus;
130
+ /** How many COMPLETE QA reports of the run the summary was built from.
131
+ *
132
+ * @type {NUMBER}
133
+ * @default
134
+ */
135
+ ReportCount: number;
136
+ /** The mean score of the reports read, computed in code.
137
+ *
138
+ * @type {NUMBER}
139
+ * @default
140
+ */
141
+ AverageScore: number;
142
+ /** S3 URL of the rendered summary.
143
+ *
144
+ * @type {TEXT}
145
+ * @default
146
+ */
147
+ ReportUrl: string;
148
+ /** S3 URL of the structured summary: the model's sections plus the figures computed in code.
149
+ *
150
+ * @type {TEXT}
151
+ * @default
152
+ */
153
+ SummaryUrl: string;
154
+ /** The model that wrote it, and the prompt version.
155
+ *
156
+ * @type {TEXT}
157
+ * @default
158
+ */
159
+ Model: string;
160
+ /** How many model calls the reports were split across before the final synthesis.
161
+ *
162
+ * @type {NUMBER}
163
+ * @default
164
+ */
165
+ Chunks: number;
166
+ /** When the summary was stored.
167
+ *
168
+ * @type {DATE_TIME}
169
+ * @default
170
+ */
171
+ GeneratedAt: string;
172
+ /** Why the summary could not be written, when Status is FAILED.
173
+ *
174
+ * @type {TEXT_LONG}
175
+ * @default
176
+ */
177
+ Error: string;
178
+ /** The bulk QA run this summary is about.
179
+ *
180
+ * @type {LOOKUP}
181
+ * @default
182
+ */
183
+ BatchId: string;
184
+ }
185
+ /**
186
+ * QaBatchSummary entity from SupportModule
187
+ *
188
+ * The AI-written overall report on one bulk QA run: the agent or team, what they do well, what recurs, what to coach, with the case numbers behind each point. Written only by youfibre-api-support.
189
+ *
190
+ * @module SupportModule
191
+ * @entity QaBatchSummary
192
+ * @schemaId c932a484-143a-4b2d-bf01-88b9fb9fc9df
193
+ * @recordPrefix QAS
194
+ * @capabilities searchable, updateable, undeletable, triggerable
195
+ */
196
+ export declare class QaBatchSummary extends OdinRecord<QaBatchSummaryProperties> {
197
+ entity: 'SupportModule:QaBatchSummary';
198
+ type: QaBatchSummaryEntityTypes;
199
+ schemaId: 'c932a484-143a-4b2d-bf01-88b9fb9fc9df';
200
+ properties: QaBatchSummaryProperties;
201
+ /** Linked QaBatch records (QaBatch__Summary) */
202
+ QaBatch: OdinLink<LinkedOdinRecord<QaBatchProperties>>;
203
+ }
204
+ /**
205
+ * RabbitMQ routing keys for QaBatchSummary events
206
+ */
207
+ export declare const ROUTING_KEY_QA_BATCH_SUMMARY_CREATED = "SupportModule.QaBatchSummary.SubDbRecordCreated";
208
+ export declare const ROUTING_KEY_QA_BATCH_SUMMARY_UPDATED = "SupportModule.QaBatchSummary.SubDbRecordUpdated";
209
+ export declare const ROUTING_KEY_QA_BATCH_SUMMARY_DELETED = "SupportModule.QaBatchSummary.SubDbRecordDeleted";
210
+ /**
211
+ * Type-specific routing keys for QaBatchSummary events
212
+ * Subscribe to these for events on specific entity types only
213
+ */
214
+ /** This is the default record type created */
215
+ export declare const ROUTING_KEY_QA_BATCH_SUMMARY_DEFAULT_CREATED = "SupportModule.QaBatchSummary.DEFAULT.SubDbRecordCreated";
216
+ /** This is the default record type updated */
217
+ export declare const ROUTING_KEY_QA_BATCH_SUMMARY_DEFAULT_UPDATED = "SupportModule.QaBatchSummary.DEFAULT.SubDbRecordUpdated";
218
+ /** This is the default record type deleted */
219
+ export declare const ROUTING_KEY_QA_BATCH_SUMMARY_DEFAULT_DELETED = "SupportModule.QaBatchSummary.DEFAULT.SubDbRecordDeleted";
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ /**
3
+ * QaBatchSummary Entity Definition
4
+ *
5
+ * The AI-written overall report on one bulk QA run: the agent or team, what they do well, what recurs, what to coach, with the case numbers behind each point. Written only by youfibre-api-support.
6
+ *
7
+ * @module SupportModule
8
+ * @entity QaBatchSummary
9
+ * @schemaId c932a484-143a-4b2d-bf01-88b9fb9fc9df
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ * Generated from Odin schema definition
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ROUTING_KEY_QA_BATCH_SUMMARY_DEFAULT_DELETED = exports.ROUTING_KEY_QA_BATCH_SUMMARY_DEFAULT_UPDATED = exports.ROUTING_KEY_QA_BATCH_SUMMARY_DEFAULT_CREATED = exports.ROUTING_KEY_QA_BATCH_SUMMARY_DELETED = exports.ROUTING_KEY_QA_BATCH_SUMMARY_UPDATED = exports.ROUTING_KEY_QA_BATCH_SUMMARY_CREATED = exports.QaBatchSummary = exports.QaBatchSummaryPropertyKeys = exports.QaBatchSummaryStatus = exports.QaBatchSummaryScope = exports.QaBatchSummaryEntityTypes = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Available types for QaBatchSummary records
19
+ */
20
+ var QaBatchSummaryEntityTypes;
21
+ (function (QaBatchSummaryEntityTypes) {
22
+ /** This is the default record type */
23
+ QaBatchSummaryEntityTypes["DEFAULT"] = "DEFAULT";
24
+ })(QaBatchSummaryEntityTypes = exports.QaBatchSummaryEntityTypes || (exports.QaBatchSummaryEntityTypes = {}));
25
+ /**
26
+ * Valid values for QaBatchSummary.Scope
27
+ *
28
+ * AGENT: one agent. TEAM: a team, with a per-agent section and a team synthesis.
29
+ *
30
+ * @remarks Available options:
31
+ * - `AGENT` - Agent
32
+ * - `TEAM` - Team
33
+ */
34
+ var QaBatchSummaryScope;
35
+ (function (QaBatchSummaryScope) {
36
+ QaBatchSummaryScope["AGENT"] = "AGENT";
37
+ QaBatchSummaryScope["TEAM"] = "TEAM";
38
+ })(QaBatchSummaryScope = exports.QaBatchSummaryScope || (exports.QaBatchSummaryScope = {}));
39
+ /**
40
+ * Valid values for QaBatchSummary.Status
41
+ *
42
+ * PENDING while the model writes it; COMPLETE when the files are stored; FAILED with Error when it could not be written.
43
+ *
44
+ * @remarks Available options:
45
+ * - `COMPLETE` - Complete
46
+ * - `FAILED` - Failed
47
+ * - `PENDING` - Pending
48
+ */
49
+ var QaBatchSummaryStatus;
50
+ (function (QaBatchSummaryStatus) {
51
+ QaBatchSummaryStatus["COMPLETE"] = "COMPLETE";
52
+ QaBatchSummaryStatus["FAILED"] = "FAILED";
53
+ QaBatchSummaryStatus["PENDING"] = "PENDING";
54
+ })(QaBatchSummaryStatus = exports.QaBatchSummaryStatus || (exports.QaBatchSummaryStatus = {}));
55
+ /**
56
+ * Property keys for QaBatchSummary
57
+ * Use these constants instead of string literals for type safety
58
+ */
59
+ var QaBatchSummaryPropertyKeys;
60
+ (function (QaBatchSummaryPropertyKeys) {
61
+ /** AGENT: one agent. TEAM: a team, with a per-agent section and a team synthesis. */
62
+ QaBatchSummaryPropertyKeys["Scope"] = "Scope";
63
+ /** The agent summarised, for an AGENT summary. */
64
+ QaBatchSummaryPropertyKeys["AgentId"] = "AgentId";
65
+ /** The agent's display name at the time. */
66
+ QaBatchSummaryPropertyKeys["AgentName"] = "AgentName";
67
+ /** The team summarised, for a TEAM summary. */
68
+ QaBatchSummaryPropertyKeys["TeamId"] = "TeamId";
69
+ /** The team's name at the time. */
70
+ QaBatchSummaryPropertyKeys["TeamName"] = "TeamName";
71
+ /** PENDING while the model writes it; COMPLETE when the files are stored; FAILED with Error when it could not be written. */
72
+ QaBatchSummaryPropertyKeys["Status"] = "Status";
73
+ /** How many COMPLETE QA reports of the run the summary was built from. */
74
+ QaBatchSummaryPropertyKeys["ReportCount"] = "ReportCount";
75
+ /** The mean score of the reports read, computed in code. */
76
+ QaBatchSummaryPropertyKeys["AverageScore"] = "AverageScore";
77
+ /** S3 URL of the rendered summary. */
78
+ QaBatchSummaryPropertyKeys["ReportUrl"] = "ReportUrl";
79
+ /** S3 URL of the structured summary: the model's sections plus the figures computed in code. */
80
+ QaBatchSummaryPropertyKeys["SummaryUrl"] = "SummaryUrl";
81
+ /** The model that wrote it, and the prompt version. */
82
+ QaBatchSummaryPropertyKeys["Model"] = "Model";
83
+ /** How many model calls the reports were split across before the final synthesis. */
84
+ QaBatchSummaryPropertyKeys["Chunks"] = "Chunks";
85
+ /** When the summary was stored. */
86
+ QaBatchSummaryPropertyKeys["GeneratedAt"] = "GeneratedAt";
87
+ /** Why the summary could not be written, when Status is FAILED. */
88
+ QaBatchSummaryPropertyKeys["Error"] = "Error";
89
+ /** The bulk QA run this summary is about. */
90
+ QaBatchSummaryPropertyKeys["BatchId"] = "BatchId";
91
+ })(QaBatchSummaryPropertyKeys = exports.QaBatchSummaryPropertyKeys || (exports.QaBatchSummaryPropertyKeys = {}));
92
+ /**
93
+ * QaBatchSummary entity from SupportModule
94
+ *
95
+ * The AI-written overall report on one bulk QA run: the agent or team, what they do well, what recurs, what to coach, with the case numbers behind each point. Written only by youfibre-api-support.
96
+ *
97
+ * @module SupportModule
98
+ * @entity QaBatchSummary
99
+ * @schemaId c932a484-143a-4b2d-bf01-88b9fb9fc9df
100
+ * @recordPrefix QAS
101
+ * @capabilities searchable, updateable, undeletable, triggerable
102
+ */
103
+ class QaBatchSummary extends core_1.OdinRecord {
104
+ }
105
+ exports.QaBatchSummary = QaBatchSummary;
106
+ // ============================================
107
+ // RABBITMQ EVENT ROUTING KEYS
108
+ // ============================================
109
+ /**
110
+ * RabbitMQ routing keys for QaBatchSummary events
111
+ */
112
+ exports.ROUTING_KEY_QA_BATCH_SUMMARY_CREATED = 'SupportModule.QaBatchSummary.SubDbRecordCreated';
113
+ exports.ROUTING_KEY_QA_BATCH_SUMMARY_UPDATED = 'SupportModule.QaBatchSummary.SubDbRecordUpdated';
114
+ exports.ROUTING_KEY_QA_BATCH_SUMMARY_DELETED = 'SupportModule.QaBatchSummary.SubDbRecordDeleted';
115
+ /**
116
+ * Type-specific routing keys for QaBatchSummary events
117
+ * Subscribe to these for events on specific entity types only
118
+ */
119
+ /** This is the default record type created */
120
+ exports.ROUTING_KEY_QA_BATCH_SUMMARY_DEFAULT_CREATED = 'SupportModule.QaBatchSummary.DEFAULT.SubDbRecordCreated';
121
+ /** This is the default record type updated */
122
+ exports.ROUTING_KEY_QA_BATCH_SUMMARY_DEFAULT_UPDATED = 'SupportModule.QaBatchSummary.DEFAULT.SubDbRecordUpdated';
123
+ /** This is the default record type deleted */
124
+ exports.ROUTING_KEY_QA_BATCH_SUMMARY_DEFAULT_DELETED = 'SupportModule.QaBatchSummary.DEFAULT.SubDbRecordDeleted';
@@ -164,7 +164,11 @@ export declare enum QaReportPropertyKeys {
164
164
  /** Optional note from the manager about the amendment as a whole. */
165
165
  AmendmentNote = "AmendmentNote",
166
166
  /** The bulk QA run this report was generated by. Empty for a report generated from the case tab. */
167
- BatchId = "BatchId"
167
+ BatchId = "BatchId",
168
+ /** The model's verdict per rubric item key, the auto-fails it triggered and PASS/FAIL, as {"result","items","autoFails"}. Written once with the report; never changed. */
169
+ ItemVerdicts = "ItemVerdicts",
170
+ /** The same shape as ItemVerdicts after a manager's amendment. Empty when the report has not been amended; cleared on restore. */
171
+ AmendedItemVerdicts = "AmendedItemVerdicts"
168
172
  }
169
173
  /**
170
174
  * Properties for QaReport records
@@ -358,6 +362,18 @@ export interface QaReportProperties {
358
362
  * @default
359
363
  */
360
364
  BatchId: string;
365
+ /** The model's verdict per rubric item key, the auto-fails it triggered and PASS/FAIL, as {"result","items","autoFails"}. Written once with the report; never changed.
366
+ *
367
+ * @type {JSON}
368
+ * @default
369
+ */
370
+ ItemVerdicts: string;
371
+ /** The same shape as ItemVerdicts after a manager's amendment. Empty when the report has not been amended; cleared on restore.
372
+ *
373
+ * @type {JSON}
374
+ * @default
375
+ */
376
+ AmendedItemVerdicts: string;
361
377
  }
362
378
  /**
363
379
  * QaReport entity from SupportModule
@@ -172,6 +172,10 @@ var QaReportPropertyKeys;
172
172
  QaReportPropertyKeys["AmendmentNote"] = "AmendmentNote";
173
173
  /** The bulk QA run this report was generated by. Empty for a report generated from the case tab. */
174
174
  QaReportPropertyKeys["BatchId"] = "BatchId";
175
+ /** The model's verdict per rubric item key, the auto-fails it triggered and PASS/FAIL, as {"result","items","autoFails"}. Written once with the report; never changed. */
176
+ QaReportPropertyKeys["ItemVerdicts"] = "ItemVerdicts";
177
+ /** The same shape as ItemVerdicts after a manager's amendment. Empty when the report has not been amended; cleared on restore. */
178
+ QaReportPropertyKeys["AmendedItemVerdicts"] = "AmendedItemVerdicts";
175
179
  })(QaReportPropertyKeys = exports.QaReportPropertyKeys || (exports.QaReportPropertyKeys = {}));
176
180
  /**
177
181
  * QaReport entity from SupportModule
@@ -58,12 +58,14 @@ export declare enum DefaultRecontractStageKeys {
58
58
  * - `AGENT` - Agent
59
59
  * - `CUSTOMER_APP` - Customer App
60
60
  * - `CUSTOMER_PORTAL` - Customer Portal
61
+ * - `SPEED_CHANGE` - Speed Change
61
62
  * - `WEB_RECONTRACT` - Website
62
63
  */
63
64
  export declare enum RecontractSource {
64
65
  AGENT = "AGENT",
65
66
  CUSTOMER_APP = "CUSTOMER_APP",
66
67
  CUSTOMER_PORTAL = "CUSTOMER_PORTAL",
68
+ SPEED_CHANGE = "SPEED_CHANGE",
67
69
  WEBSITE = "WEB_RECONTRACT"
68
70
  }
69
71
  /**
@@ -62,6 +62,7 @@ var DefaultRecontractStageKeys;
62
62
  * - `AGENT` - Agent
63
63
  * - `CUSTOMER_APP` - Customer App
64
64
  * - `CUSTOMER_PORTAL` - Customer Portal
65
+ * - `SPEED_CHANGE` - Speed Change
65
66
  * - `WEB_RECONTRACT` - Website
66
67
  */
67
68
  var RecontractSource;
@@ -69,6 +70,7 @@ var RecontractSource;
69
70
  RecontractSource["AGENT"] = "AGENT";
70
71
  RecontractSource["CUSTOMER_APP"] = "CUSTOMER_APP";
71
72
  RecontractSource["CUSTOMER_PORTAL"] = "CUSTOMER_PORTAL";
73
+ RecontractSource["SPEED_CHANGE"] = "SPEED_CHANGE";
72
74
  RecontractSource["WEBSITE"] = "WEB_RECONTRACT";
73
75
  })(RecontractSource = exports.RecontractSource || (exports.RecontractSource = {}));
74
76
  /**
@@ -26,6 +26,7 @@ import { CreateContactProperties } from '../actions-v2/CreateContactDto';
26
26
  import { CreateContactSalesAppProperties } from '../actions-v2/CreateContactSalesAppDto';
27
27
  import { OrderBuilderCreateContactProperties } from '../actions-v2/OrderBuilderCreateContactDto';
28
28
  import { OrderBuilderUpdateContactProperties } from '../actions-v2/OrderBuilderUpdateContactDto';
29
+ import { SetContactYouFibreTvInterestProperties } from '../actions-v2/SetContactYouFibreTvInterestDto';
29
30
  import { UpdateAdditionalCareProperties } from '../actions-v2/UpdateAdditionalCareDto';
30
31
  import { UpdateContactAppPreferencesProperties } from '../actions-v2/UpdateContactAppPreferencesDto';
31
32
  import { UpdateContactProperties } from '../actions-v2/UpdateContactDto';
@@ -895,6 +896,33 @@ export declare class ContactRecord<TProps = ContactProperties> {
895
896
  journeyId?: string;
896
897
  stageKey?: string;
897
898
  }): ActionBuilder;
899
+ /**
900
+ * SetContactYouFibreTvInterest
901
+ *
902
+ * Updates this Contact record.
903
+ * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
904
+ *
905
+ * @param propertiesOrOptions - Properties to update, or options object
906
+ * @param options - Optional settings (journeyId, stageKey)
907
+ * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
908
+ * @throws Error if called on a new (unsaved) record
909
+ *
910
+ * @example
911
+ * ```typescript
912
+ * const record = await odinClient.contacts.get(id);
913
+ * await record.setContactYouFibreTvInterest({ ... }).execute();
914
+ *
915
+ * // Dry run (for debugging)
916
+ * const payload = record.setContactYouFibreTvInterest({ ... }).dryRun();
917
+ * ```
918
+ */
919
+ setContactYouFibreTvInterest(propertiesOrOptions?: SetContactYouFibreTvInterestProperties | {
920
+ journeyId?: string;
921
+ stageKey?: string;
922
+ }, options?: {
923
+ journeyId?: string;
924
+ stageKey?: string;
925
+ }): ActionBuilder;
898
926
  /**
899
927
  * UpdateAdditionalCare
900
928
  *
@@ -1313,6 +1313,43 @@ class ContactRecord {
1313
1313
  const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'OrderBuilderUpdateContact', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
1314
1314
  return new ActionBuilder(this._provider, 'CrmModule', 'Contact', payload, () => { this._pendingLinks = []; });
1315
1315
  }
1316
+ /**
1317
+ * SetContactYouFibreTvInterest
1318
+ *
1319
+ * Updates this Contact record.
1320
+ * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
1321
+ *
1322
+ * @param propertiesOrOptions - Properties to update, or options object
1323
+ * @param options - Optional settings (journeyId, stageKey)
1324
+ * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
1325
+ * @throws Error if called on a new (unsaved) record
1326
+ *
1327
+ * @example
1328
+ * ```typescript
1329
+ * const record = await odinClient.contacts.get(id);
1330
+ * await record.setContactYouFibreTvInterest({ ... }).execute();
1331
+ *
1332
+ * // Dry run (for debugging)
1333
+ * const payload = record.setContactYouFibreTvInterest({ ... }).dryRun();
1334
+ * ```
1335
+ */
1336
+ setContactYouFibreTvInterest(propertiesOrOptions, options) {
1337
+ var _a;
1338
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
1339
+ throw new Error('setContactYouFibreTvInterest requires an existing record. Use accessor.get() first.');
1340
+ let properties = {};
1341
+ let opts = options;
1342
+ if (propertiesOrOptions) {
1343
+ if ('journeyId' in propertiesOrOptions || 'stageKey' in propertiesOrOptions) {
1344
+ opts = propertiesOrOptions;
1345
+ }
1346
+ else {
1347
+ properties = propertiesOrOptions;
1348
+ }
1349
+ }
1350
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'SetContactYouFibreTvInterest', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, opts);
1351
+ return new ActionBuilder(this._provider, 'CrmModule', 'Contact', payload, () => { this._pendingLinks = []; });
1352
+ }
1316
1353
  /**
1317
1354
  * UpdateAdditionalCare
1318
1355
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.375",
3
+ "version": "2.0.377",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",