@d19n/youfibre-odin-sdk 2.0.350 → 2.0.352

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 (60) hide show
  1. package/README.md +49 -2
  2. package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.d.ts +70 -0
  3. package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.js +62 -0
  4. package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestFailedDto.d.ts +70 -0
  5. package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestFailedDto.js +62 -0
  6. package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestSentDto.d.ts +70 -0
  7. package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestSentDto.js +62 -0
  8. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.d.ts +70 -0
  9. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.js +62 -0
  10. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelFailedDto.d.ts +70 -0
  11. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelFailedDto.js +62 -0
  12. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelSentDto.d.ts +70 -0
  13. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelSentDto.js +62 -0
  14. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.d.ts +70 -0
  15. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.js +62 -0
  16. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestFailedDto.d.ts +70 -0
  17. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestFailedDto.js +62 -0
  18. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestSentDto.d.ts +70 -0
  19. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestSentDto.js +62 -0
  20. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.d.ts +70 -0
  21. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.js +62 -0
  22. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerFailedDto.d.ts +70 -0
  23. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerFailedDto.js +62 -0
  24. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerSentDto.d.ts +70 -0
  25. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerSentDto.js +62 -0
  26. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.d.ts +70 -0
  27. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.js +62 -0
  28. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateFailedDto.d.ts +70 -0
  29. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateFailedDto.js +62 -0
  30. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateSentDto.d.ts +70 -0
  31. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateSentDto.js +62 -0
  32. package/dist/api-sdk-v2/AiTagItemApi.d.ts +48 -0
  33. package/dist/api-sdk-v2/AiTagItemApi.js +155 -0
  34. package/dist/api-sdk-v2/AiTagSetApi.d.ts +48 -0
  35. package/dist/api-sdk-v2/AiTagSetApi.js +155 -0
  36. package/dist/db-sdk-v2/AiTagItemDb.d.ts +120 -0
  37. package/dist/db-sdk-v2/AiTagItemDb.js +204 -0
  38. package/dist/db-sdk-v2/AiTagSetDb.d.ts +120 -0
  39. package/dist/db-sdk-v2/AiTagSetDb.js +204 -0
  40. package/dist/db-sdk-v2/FileDb.d.ts +132 -132
  41. package/dist/db-sdk-v2/FileDb.js +268 -268
  42. package/dist/entities-v2/AiTagItem.d.ts +195 -0
  43. package/dist/entities-v2/AiTagItem.js +118 -0
  44. package/dist/entities-v2/AiTagSet.d.ts +151 -0
  45. package/dist/entities-v2/AiTagSet.js +110 -0
  46. package/dist/entities-v2/ChangeReason.d.ts +2 -1
  47. package/dist/entities-v2/ChangeReason.js +2 -1
  48. package/dist/entities-v2/Commitment.d.ts +37 -5
  49. package/dist/entities-v2/Commitment.js +12 -4
  50. package/dist/entities-v2/CustomerDeviceOnt.d.ts +9 -1
  51. package/dist/entities-v2/CustomerDeviceOnt.js +2 -0
  52. package/dist/entities-v2/File.d.ts +0 -6
  53. package/dist/entities-v2/File.js +1 -5
  54. package/dist/entities-v2/OneTouchSwitch.d.ts +73 -0
  55. package/dist/entities-v2/OneTouchSwitch.js +76 -1
  56. package/dist/records-v2/OneTouchSwitchRecord.d.ts +375 -0
  57. package/dist/records-v2/OneTouchSwitchRecord.js +435 -0
  58. package/dist/wholesale-provider/kci-effect-bridge.js +8 -2
  59. package/dist/wholesale-provider/test/kci-effect-bridge.spec.js +9 -0
  60. package/package.json +1 -1
@@ -31,9 +31,9 @@ export declare enum DefaultCommitmentStageNames {
31
31
  Pending = "Pending",
32
32
  /** Owed, ExpectedBy has passed, nothing discharged it. Still open work — it ages. Can still be discharged late, which is how lateness gets measured. */
33
33
  Breached = "Breached",
34
- /** The thing that was owed happened. CompletedBy names the record that did it — a COMPLETED OrderKci, a switch at TRIGGER_CONFIRMED. */
34
+ /** The thing that was owed happened. CompletedBy names the record that did it. Re-judged when the order changes, so a wrong closure is corrected rather than kept. */
35
35
  Complete = "Complete",
36
- /** Resolved as never owed, with the reason — an order with no switch to trigger. A distinct terminal state from Discharged: nothing happened, rather than the thing happening. */
36
+ /** Resolved as never owed, with the reason. Re-judged when the order changes, so a wrong closure is corrected rather than kept. */
37
37
  NotRequired = "Not Required"
38
38
  }
39
39
  /**
@@ -47,9 +47,9 @@ export declare enum DefaultCommitmentStageKeys {
47
47
  CommitmentStagePending = "CommitmentStagePending",
48
48
  /** Owed, ExpectedBy has passed, nothing discharged it. Still open work — it ages. Can still be discharged late, which is how lateness gets measured. */
49
49
  CommitmentStageBreached = "CommitmentStageBreached",
50
- /** The thing that was owed happened. CompletedBy names the record that did it — a COMPLETED OrderKci, a switch at TRIGGER_CONFIRMED. */
50
+ /** The thing that was owed happened. CompletedBy names the record that did it. Re-judged when the order changes, so a wrong closure is corrected rather than kept. */
51
51
  CommitmentStageComplete = "CommitmentStageComplete",
52
- /** Resolved as never owed, with the reason — an order with no switch to trigger. A distinct terminal state from Discharged: nothing happened, rather than the thing happening. */
52
+ /** Resolved as never owed, with the reason. Re-judged when the order changes, so a wrong closure is corrected rather than kept. */
53
53
  CommitmentStageNotRequired = "CommitmentStageNotRequired"
54
54
  }
55
55
  /**
@@ -68,7 +68,15 @@ export declare enum CommitmentPropertyKeys {
68
68
  /** When it was settled. Together with ExpectedBy this says whether it was late. */
69
69
  CompletedAt = "CompletedAt",
70
70
  /** Why it was never owed, when it resolves that way — e.g. NO_CURRENT_PROVIDER for an order with no switch to trigger. Without this, "not required" is indistinguishable from "nobody looked". */
71
- NotRequiredReason = "NotRequiredReason"
71
+ NotRequiredReason = "NotRequiredReason",
72
+ /** One sentence of facts, filled from the catalogue template for this Type by the resolver — e.g. "Committed date was 21 Sep. No Completed update has arrived." */
73
+ Summary = "Summary",
74
+ /** The facts behind the verdict — dates, KCI ids, switch status — as the resolver saw them. Same name and type as DataIssue.Evidence. */
75
+ Evidence = "Evidence",
76
+ /** The order this commitment belongs to. Also the first segment of Fingerprint; a column so that every deadline on one order is a single query. */
77
+ OrderId = "OrderId",
78
+ /** When the commitment checker last judged this record, whether or not the verdict changed. Written without an update event. How "due but never checked" is measured. */
79
+ LastCheckedAt = "LastCheckedAt"
72
80
  }
73
81
  /**
74
82
  * Properties for Commitment records
@@ -112,6 +120,30 @@ export interface CommitmentProperties {
112
120
  * @default
113
121
  */
114
122
  NotRequiredReason: string;
123
+ /** One sentence of facts, filled from the catalogue template for this Type by the resolver — e.g. "Committed date was 21 Sep. No Completed update has arrived."
124
+ *
125
+ * @type {TEXT_LONG}
126
+ * @default
127
+ */
128
+ Summary: string;
129
+ /** The facts behind the verdict — dates, KCI ids, switch status — as the resolver saw them. Same name and type as DataIssue.Evidence.
130
+ *
131
+ * @type {JSON}
132
+ * @default
133
+ */
134
+ Evidence: string;
135
+ /** The order this commitment belongs to. Also the first segment of Fingerprint; a column so that every deadline on one order is a single query.
136
+ *
137
+ * @type {UUID}
138
+ * @default
139
+ */
140
+ OrderId: string;
141
+ /** When the commitment checker last judged this record, whether or not the verdict changed. Written without an update event. How "due but never checked" is measured.
142
+ *
143
+ * @type {DATE_TIME}
144
+ * @default
145
+ */
146
+ LastCheckedAt: string;
115
147
  }
116
148
  /**
117
149
  * Commitment entity from OrderModule
@@ -35,9 +35,9 @@ var DefaultCommitmentStageNames;
35
35
  DefaultCommitmentStageNames["Pending"] = "Pending";
36
36
  /** Owed, ExpectedBy has passed, nothing discharged it. Still open work — it ages. Can still be discharged late, which is how lateness gets measured. */
37
37
  DefaultCommitmentStageNames["Breached"] = "Breached";
38
- /** The thing that was owed happened. CompletedBy names the record that did it — a COMPLETED OrderKci, a switch at TRIGGER_CONFIRMED. */
38
+ /** The thing that was owed happened. CompletedBy names the record that did it. Re-judged when the order changes, so a wrong closure is corrected rather than kept. */
39
39
  DefaultCommitmentStageNames["Complete"] = "Complete";
40
- /** Resolved as never owed, with the reason — an order with no switch to trigger. A distinct terminal state from Discharged: nothing happened, rather than the thing happening. */
40
+ /** Resolved as never owed, with the reason. Re-judged when the order changes, so a wrong closure is corrected rather than kept. */
41
41
  DefaultCommitmentStageNames["NotRequired"] = "Not Required";
42
42
  })(DefaultCommitmentStageNames = exports.DefaultCommitmentStageNames || (exports.DefaultCommitmentStageNames = {}));
43
43
  /**
@@ -52,9 +52,9 @@ var DefaultCommitmentStageKeys;
52
52
  DefaultCommitmentStageKeys["CommitmentStagePending"] = "CommitmentStagePending";
53
53
  /** Owed, ExpectedBy has passed, nothing discharged it. Still open work — it ages. Can still be discharged late, which is how lateness gets measured. */
54
54
  DefaultCommitmentStageKeys["CommitmentStageBreached"] = "CommitmentStageBreached";
55
- /** The thing that was owed happened. CompletedBy names the record that did it — a COMPLETED OrderKci, a switch at TRIGGER_CONFIRMED. */
55
+ /** The thing that was owed happened. CompletedBy names the record that did it. Re-judged when the order changes, so a wrong closure is corrected rather than kept. */
56
56
  DefaultCommitmentStageKeys["CommitmentStageComplete"] = "CommitmentStageComplete";
57
- /** Resolved as never owed, with the reason — an order with no switch to trigger. A distinct terminal state from Discharged: nothing happened, rather than the thing happening. */
57
+ /** Resolved as never owed, with the reason. Re-judged when the order changes, so a wrong closure is corrected rather than kept. */
58
58
  DefaultCommitmentStageKeys["CommitmentStageNotRequired"] = "CommitmentStageNotRequired";
59
59
  })(DefaultCommitmentStageKeys = exports.DefaultCommitmentStageKeys || (exports.DefaultCommitmentStageKeys = {}));
60
60
  /**
@@ -75,6 +75,14 @@ var CommitmentPropertyKeys;
75
75
  CommitmentPropertyKeys["CompletedAt"] = "CompletedAt";
76
76
  /** Why it was never owed, when it resolves that way — e.g. NO_CURRENT_PROVIDER for an order with no switch to trigger. Without this, "not required" is indistinguishable from "nobody looked". */
77
77
  CommitmentPropertyKeys["NotRequiredReason"] = "NotRequiredReason";
78
+ /** One sentence of facts, filled from the catalogue template for this Type by the resolver — e.g. "Committed date was 21 Sep. No Completed update has arrived." */
79
+ CommitmentPropertyKeys["Summary"] = "Summary";
80
+ /** The facts behind the verdict — dates, KCI ids, switch status — as the resolver saw them. Same name and type as DataIssue.Evidence. */
81
+ CommitmentPropertyKeys["Evidence"] = "Evidence";
82
+ /** The order this commitment belongs to. Also the first segment of Fingerprint; a column so that every deadline on one order is a single query. */
83
+ CommitmentPropertyKeys["OrderId"] = "OrderId";
84
+ /** When the commitment checker last judged this record, whether or not the verdict changed. Written without an update event. How "due but never checked" is measured. */
85
+ CommitmentPropertyKeys["LastCheckedAt"] = "LastCheckedAt";
78
86
  })(CommitmentPropertyKeys = exports.CommitmentPropertyKeys || (exports.CommitmentPropertyKeys = {}));
79
87
  /**
80
88
  * Commitment entity from OrderModule
@@ -162,7 +162,9 @@ export declare enum CustomerDeviceOntPropertyKeys {
162
162
  /** the operational state of the ONT UNI port carrying the service, as reported by the last device or service check (Network Operations - CustomerDeviceOnt) */
163
163
  UniState = "UniState",
164
164
  /** ServiceState */
165
- ServiceState = "ServiceState"
165
+ ServiceState = "ServiceState",
166
+ /** Why this ONT reads down, when its alarms say firmware: downloading (taking the image now) or update_pending (needs one, still serving). Empty means the alarms said nothing about firmware. Written by PyOmni on every check. */
167
+ UpdateState = "UpdateState"
166
168
  }
167
169
  /**
168
170
  * Properties for CustomerDeviceOnt records
@@ -324,6 +326,12 @@ export interface CustomerDeviceOntProperties {
324
326
  * @type {TEXT}
325
327
  */
326
328
  ServiceState: string;
329
+ /** Why this ONT reads down, when its alarms say firmware: downloading (taking the image now) or update_pending (needs one, still serving). Empty means the alarms said nothing about firmware. Written by PyOmni on every check.
330
+ *
331
+ * @type {TEXT}
332
+ * @default
333
+ */
334
+ UpdateState: string;
327
335
  }
328
336
  /**
329
337
  * CustomerDeviceOnt entity from ServiceModule
@@ -161,6 +161,8 @@ var CustomerDeviceOntPropertyKeys;
161
161
  CustomerDeviceOntPropertyKeys["UniState"] = "UniState";
162
162
  /** ServiceState */
163
163
  CustomerDeviceOntPropertyKeys["ServiceState"] = "ServiceState";
164
+ /** Why this ONT reads down, when its alarms say firmware: downloading (taking the image now) or update_pending (needs one, still serving). Empty means the alarms said nothing about firmware. Written by PyOmni on every check. */
165
+ CustomerDeviceOntPropertyKeys["UpdateState"] = "UpdateState";
164
166
  })(CustomerDeviceOntPropertyKeys = exports.CustomerDeviceOntPropertyKeys || (exports.CustomerDeviceOntPropertyKeys = {}));
165
167
  /**
166
168
  * CustomerDeviceOnt entity from ServiceModule
@@ -977,8 +977,6 @@ export declare class File extends OdinRecord<FileProperties> {
977
977
  type: FileEntityTypes;
978
978
  schemaId: '74510906-4af8-479c-862e-04a1bae015d7';
979
979
  properties: FileProperties;
980
- /** Linked File records (ServiceVisitAudit__File) */
981
- File: OdinLink<LinkedOdinRecord<FileProperties>>;
982
980
  /** Linked ServiceVisitAudit records (ServiceVisitAudit__File) */
983
981
  ServiceVisitAudit: OdinLink<LinkedOdinRecord<ServiceVisitAuditProperties>>;
984
982
  /** Linked BlockageA55 records (BlockageA55_File) */
@@ -1194,10 +1192,6 @@ export declare const ROUTING_KEY_FILE_PROCESSING_OUTPUT_CREATED = "SchemaModule.
1194
1192
  export declare const ROUTING_KEY_FILE_PROCESSING_OUTPUT_UPDATED = "SchemaModule.File.PROCESSING_OUTPUT.SubDbRecordUpdated";
1195
1193
  /** JSON detail of a document pipeline run, linked to its AiModule:DocumentProcessing row (e.g. per-question verdicts and reasons). deleted */
1196
1194
  export declare const ROUTING_KEY_FILE_PROCESSING_OUTPUT_DELETED = "SchemaModule.File.PROCESSING_OUTPUT.SubDbRecordDeleted";
1197
- /** Event: ServiceVisitAudit__File link created */
1198
- export declare const ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = "SchemaModule.File.File.SubDbRecordAssociationCreated";
1199
- /** Event: ServiceVisitAudit__File link deleted */
1200
- export declare const ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = "SchemaModule.File.File.SubDbRecordAssociationDeleted";
1201
1195
  /** Event: File__Note link created */
1202
1196
  export declare const ROUTING_KEY_LINK_FILE_NOTE_CREATED = "SchemaModule.File.Note.SubDbRecordAssociationCreated";
1203
1197
  /** Event: File__Note link deleted */
@@ -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_LINK_FILE_NOTE_DELETED = exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = exports.ROUTING_KEY_FILE_PROCESSING_OUTPUT_DELETED = exports.ROUTING_KEY_FILE_PROCESSING_OUTPUT_UPDATED = exports.ROUTING_KEY_FILE_PROCESSING_OUTPUT_CREATED = exports.ROUTING_KEY_FILE_OTDR_DELETED = exports.ROUTING_KEY_FILE_OTDR_UPDATED = exports.ROUTING_KEY_FILE_OTDR_CREATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_DELETED = exports.ROUTING_KEY_FILE_OPENREACH_A55_UPDATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_CREATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_INVOICE_DELETED = exports.ROUTING_KEY_FILE_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_INVOICE_CREATED = exports.ROUTING_KEY_FILE_HOME_MOVE_PROOF_DELETED = exports.ROUTING_KEY_FILE_HOME_MOVE_PROOF_UPDATED = exports.ROUTING_KEY_FILE_HOME_MOVE_PROOF_CREATED = exports.ROUTING_KEY_FILE_EMAIL_DELETED = exports.ROUTING_KEY_FILE_EMAIL_UPDATED = exports.ROUTING_KEY_FILE_EMAIL_CREATED = exports.ROUTING_KEY_FILE_DEFAULT_DELETED = exports.ROUTING_KEY_FILE_DEFAULT_UPDATED = exports.ROUTING_KEY_FILE_DEFAULT_CREATED = exports.ROUTING_KEY_FILE_CSV_DELETED = exports.ROUTING_KEY_FILE_CSV_UPDATED = exports.ROUTING_KEY_FILE_CSV_CREATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_DELETED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_UPDATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_CREATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_DELETED = exports.ROUTING_KEY_FILE_AFP_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_CREATED = exports.ROUTING_KEY_FILE_DELETED = exports.ROUTING_KEY_FILE_UPDATED = exports.ROUTING_KEY_FILE_CREATED = exports.File = exports.FilePropertyKeys = exports.FileCategory = exports.FileDevice = exports.FileDataStore = exports.FileEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_FILE_NOTE_DELETED = exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = exports.ROUTING_KEY_FILE_PROCESSING_OUTPUT_DELETED = exports.ROUTING_KEY_FILE_PROCESSING_OUTPUT_UPDATED = exports.ROUTING_KEY_FILE_PROCESSING_OUTPUT_CREATED = exports.ROUTING_KEY_FILE_OTDR_DELETED = exports.ROUTING_KEY_FILE_OTDR_UPDATED = exports.ROUTING_KEY_FILE_OTDR_CREATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_DELETED = exports.ROUTING_KEY_FILE_OPENREACH_A55_UPDATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_CREATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_INVOICE_DELETED = exports.ROUTING_KEY_FILE_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_INVOICE_CREATED = exports.ROUTING_KEY_FILE_HOME_MOVE_PROOF_DELETED = exports.ROUTING_KEY_FILE_HOME_MOVE_PROOF_UPDATED = exports.ROUTING_KEY_FILE_HOME_MOVE_PROOF_CREATED = exports.ROUTING_KEY_FILE_EMAIL_DELETED = exports.ROUTING_KEY_FILE_EMAIL_UPDATED = exports.ROUTING_KEY_FILE_EMAIL_CREATED = exports.ROUTING_KEY_FILE_DEFAULT_DELETED = exports.ROUTING_KEY_FILE_DEFAULT_UPDATED = exports.ROUTING_KEY_FILE_DEFAULT_CREATED = exports.ROUTING_KEY_FILE_CSV_DELETED = exports.ROUTING_KEY_FILE_CSV_UPDATED = exports.ROUTING_KEY_FILE_CSV_CREATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_DELETED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_UPDATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_CREATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_DELETED = exports.ROUTING_KEY_FILE_AFP_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_CREATED = exports.ROUTING_KEY_FILE_DELETED = exports.ROUTING_KEY_FILE_UPDATED = exports.ROUTING_KEY_FILE_CREATED = exports.File = exports.FilePropertyKeys = exports.FileCategory = exports.FileDevice = exports.FileDataStore = exports.FileEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for File records
@@ -210,10 +210,6 @@ exports.ROUTING_KEY_FILE_PROCESSING_OUTPUT_CREATED = 'SchemaModule.File.PROCESSI
210
210
  exports.ROUTING_KEY_FILE_PROCESSING_OUTPUT_UPDATED = 'SchemaModule.File.PROCESSING_OUTPUT.SubDbRecordUpdated';
211
211
  /** JSON detail of a document pipeline run, linked to its AiModule:DocumentProcessing row (e.g. per-question verdicts and reasons). deleted */
212
212
  exports.ROUTING_KEY_FILE_PROCESSING_OUTPUT_DELETED = 'SchemaModule.File.PROCESSING_OUTPUT.SubDbRecordDeleted';
213
- /** Event: ServiceVisitAudit__File link created */
214
- exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = 'SchemaModule.File.File.SubDbRecordAssociationCreated';
215
- /** Event: ServiceVisitAudit__File link deleted */
216
- exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = 'SchemaModule.File.File.SubDbRecordAssociationDeleted';
217
213
  /** Event: File__Note link created */
218
214
  exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = 'SchemaModule.File.Note.SubDbRecordAssociationCreated';
219
215
  /** Event: File__Note link deleted */
@@ -33,6 +33,79 @@ export declare enum OneTouchSwitchEntityTypes {
33
33
  /** losing */
34
34
  LOSING = "LOSING"
35
35
  }
36
+ /**
37
+ * Pipeline stage names for GAINING OneTouchSwitch
38
+ * Pipeline: One Touch Switch Gaining
39
+ * Switch to YouFibre through the TOTSCo hub. One stage per Status value; the stage and Status are always set together by one move action.
40
+ */
41
+ export declare enum GainingOneTouchSwitchStageNames {
42
+ /** Status = SWITCH_MATCH_REQUEST_SENT. (default) */
43
+ MatchRequestSent = "Match Request Sent",
44
+ /** Status = SWITCH_MATCH_REQUEST_CONFIRMED. */
45
+ MatchRequestConfirmed = "Match Request Confirmed",
46
+ /** Status = SWITCH_MATCH_REQUEST_FAILED. */
47
+ MatchRequestFailed = "Match Request Failed",
48
+ /** Status = SWITCH_ORDER_REQUEST_SENT. */
49
+ OrderRequestSent = "Order Request Sent",
50
+ /** Status = SWITCH_ORDER_REQUEST_CONFIRMED. */
51
+ OrderRequestConfirmed = "Order Request Confirmed",
52
+ /** Status = SWITCH_ORDER_REQUEST_FAILED. */
53
+ OrderRequestFailed = "Order Request Failed",
54
+ /** Status = SWITCH_ORDER_TRIGGER_SENT. */
55
+ OrderTriggerSent = "Order Trigger Sent",
56
+ /** Status = SWITCH_ORDER_UPDATE_SENT. */
57
+ OrderUpdateSent = "Order Update Sent",
58
+ /** Status = SWITCH_ORDER_UPDATE_CONFIRMED. */
59
+ OrderUpdateConfirmed = "Order Update Confirmed",
60
+ /** Status = SWITCH_ORDER_UPDATE_FAILED. */
61
+ OrderUpdateFailed = "Order Update Failed",
62
+ /** Status = SWITCH_ORDER_TRIGGER_CONFIRMED. */
63
+ OrderTriggerConfirmed = "Order Trigger Confirmed",
64
+ /** Status = SWITCH_ORDER_TRIGGER_FAILED. */
65
+ OrderTriggerFailed = "Order Trigger Failed",
66
+ /** Status = SWITCH_ORDER_CANCEL_SENT. */
67
+ OrderCancelSent = "Order Cancel Sent",
68
+ /** Status = SWITCH_ORDER_CANCEL_CONFIRMED. */
69
+ OrderCancelConfirmed = "Order Cancel Confirmed",
70
+ /** Status = SWITCH_ORDER_CANCEL_FAILED. */
71
+ OrderCancelFailed = "Order Cancel Failed"
72
+ }
73
+ /**
74
+ * Pipeline stage keys for GAINING OneTouchSwitch
75
+ * Use these keys when transitioning between stages
76
+ */
77
+ export declare enum GainingOneTouchSwitchStageKeys {
78
+ /** Status = SWITCH_MATCH_REQUEST_SENT. */
79
+ OneTouchSwitchGainingStageMatchRequestSent = "OneTouchSwitchGainingStageMatchRequestSent",
80
+ /** Status = SWITCH_MATCH_REQUEST_CONFIRMED. */
81
+ OneTouchSwitchGainingStageMatchRequestConfirmed = "OneTouchSwitchGainingStageMatchRequestConfirmed",
82
+ /** Status = SWITCH_MATCH_REQUEST_FAILED. */
83
+ OneTouchSwitchGainingStageMatchRequestFailed = "OneTouchSwitchGainingStageMatchRequestFailed",
84
+ /** Status = SWITCH_ORDER_REQUEST_SENT. */
85
+ OneTouchSwitchGainingStageOrderRequestSent = "OneTouchSwitchGainingStageOrderRequestSent",
86
+ /** Status = SWITCH_ORDER_REQUEST_CONFIRMED. */
87
+ OneTouchSwitchGainingStageOrderRequestConfirmed = "OneTouchSwitchGainingStageOrderRequestConfirmed",
88
+ /** Status = SWITCH_ORDER_REQUEST_FAILED. */
89
+ OneTouchSwitchGainingStageOrderRequestFailed = "OneTouchSwitchGainingStageOrderRequestFailed",
90
+ /** Status = SWITCH_ORDER_TRIGGER_SENT. */
91
+ OneTouchSwitchGainingStageOrderTriggerSent = "OneTouchSwitchGainingStageOrderTriggerSent",
92
+ /** Status = SWITCH_ORDER_UPDATE_SENT. */
93
+ OneTouchSwitchGainingStageOrderUpdateSent = "OneTouchSwitchGainingStageOrderUpdateSent",
94
+ /** Status = SWITCH_ORDER_UPDATE_CONFIRMED. */
95
+ OneTouchSwitchGainingStageOrderUpdateConfirmed = "OneTouchSwitchGainingStageOrderUpdateConfirmed",
96
+ /** Status = SWITCH_ORDER_UPDATE_FAILED. */
97
+ OneTouchSwitchGainingStageOrderUpdateFailed = "OneTouchSwitchGainingStageOrderUpdateFailed",
98
+ /** Status = SWITCH_ORDER_TRIGGER_CONFIRMED. */
99
+ OneTouchSwitchGainingStageOrderTriggerConfirmed = "OneTouchSwitchGainingStageOrderTriggerConfirmed",
100
+ /** Status = SWITCH_ORDER_TRIGGER_FAILED. */
101
+ OneTouchSwitchGainingStageOrderTriggerFailed = "OneTouchSwitchGainingStageOrderTriggerFailed",
102
+ /** Status = SWITCH_ORDER_CANCEL_SENT. */
103
+ OneTouchSwitchGainingStageOrderCancelSent = "OneTouchSwitchGainingStageOrderCancelSent",
104
+ /** Status = SWITCH_ORDER_CANCEL_CONFIRMED. */
105
+ OneTouchSwitchGainingStageOrderCancelConfirmed = "OneTouchSwitchGainingStageOrderCancelConfirmed",
106
+ /** Status = SWITCH_ORDER_CANCEL_FAILED. */
107
+ OneTouchSwitchGainingStageOrderCancelFailed = "OneTouchSwitchGainingStageOrderCancelFailed"
108
+ }
36
109
  /**
37
110
  * Property keys for OneTouchSwitch
38
111
  * Use these constants instead of string literals for type safety
@@ -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_LINK_ONE_TOUCH_SWITCH_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_INVOICE_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_INVOICE_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ORDER_ITEM_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ORDER_ITEM_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_CONTACT_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_CONTACT_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ORDER_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ORDER_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_NOTE_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_NOTE_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_FILE_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_FILE_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_LOSING_DELETED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_LOSING_UPDATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_LOSING_CREATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_GAINING_DELETED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_GAINING_UPDATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_GAINING_CREATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_DEFAULT_DELETED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_DEFAULT_UPDATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_DEFAULT_CREATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_DELETED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_UPDATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_CREATED = exports.OneTouchSwitch = exports.OneTouchSwitchPropertyKeys = exports.OneTouchSwitchEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_INVOICE_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_INVOICE_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ORDER_ITEM_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ORDER_ITEM_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_CONTACT_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_CONTACT_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ORDER_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ORDER_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_NOTE_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_NOTE_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_FILE_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_FILE_CREATED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_ONE_TOUCH_SWITCH_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_LOSING_DELETED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_LOSING_UPDATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_LOSING_CREATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_GAINING_DELETED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_GAINING_UPDATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_GAINING_CREATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_DEFAULT_DELETED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_DEFAULT_UPDATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_DEFAULT_CREATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_DELETED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_UPDATED = exports.ROUTING_KEY_ONE_TOUCH_SWITCH_CREATED = exports.OneTouchSwitch = exports.OneTouchSwitchPropertyKeys = exports.GainingOneTouchSwitchStageKeys = exports.GainingOneTouchSwitchStageNames = exports.OneTouchSwitchEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for OneTouchSwitch records
@@ -26,6 +26,81 @@ var OneTouchSwitchEntityTypes;
26
26
  /** losing */
27
27
  OneTouchSwitchEntityTypes["LOSING"] = "LOSING";
28
28
  })(OneTouchSwitchEntityTypes = exports.OneTouchSwitchEntityTypes || (exports.OneTouchSwitchEntityTypes = {}));
29
+ /**
30
+ * Pipeline stage names for GAINING OneTouchSwitch
31
+ * Pipeline: One Touch Switch Gaining
32
+ * Switch to YouFibre through the TOTSCo hub. One stage per Status value; the stage and Status are always set together by one move action.
33
+ */
34
+ var GainingOneTouchSwitchStageNames;
35
+ (function (GainingOneTouchSwitchStageNames) {
36
+ /** Status = SWITCH_MATCH_REQUEST_SENT. (default) */
37
+ GainingOneTouchSwitchStageNames["MatchRequestSent"] = "Match Request Sent";
38
+ /** Status = SWITCH_MATCH_REQUEST_CONFIRMED. */
39
+ GainingOneTouchSwitchStageNames["MatchRequestConfirmed"] = "Match Request Confirmed";
40
+ /** Status = SWITCH_MATCH_REQUEST_FAILED. */
41
+ GainingOneTouchSwitchStageNames["MatchRequestFailed"] = "Match Request Failed";
42
+ /** Status = SWITCH_ORDER_REQUEST_SENT. */
43
+ GainingOneTouchSwitchStageNames["OrderRequestSent"] = "Order Request Sent";
44
+ /** Status = SWITCH_ORDER_REQUEST_CONFIRMED. */
45
+ GainingOneTouchSwitchStageNames["OrderRequestConfirmed"] = "Order Request Confirmed";
46
+ /** Status = SWITCH_ORDER_REQUEST_FAILED. */
47
+ GainingOneTouchSwitchStageNames["OrderRequestFailed"] = "Order Request Failed";
48
+ /** Status = SWITCH_ORDER_TRIGGER_SENT. */
49
+ GainingOneTouchSwitchStageNames["OrderTriggerSent"] = "Order Trigger Sent";
50
+ /** Status = SWITCH_ORDER_UPDATE_SENT. */
51
+ GainingOneTouchSwitchStageNames["OrderUpdateSent"] = "Order Update Sent";
52
+ /** Status = SWITCH_ORDER_UPDATE_CONFIRMED. */
53
+ GainingOneTouchSwitchStageNames["OrderUpdateConfirmed"] = "Order Update Confirmed";
54
+ /** Status = SWITCH_ORDER_UPDATE_FAILED. */
55
+ GainingOneTouchSwitchStageNames["OrderUpdateFailed"] = "Order Update Failed";
56
+ /** Status = SWITCH_ORDER_TRIGGER_CONFIRMED. */
57
+ GainingOneTouchSwitchStageNames["OrderTriggerConfirmed"] = "Order Trigger Confirmed";
58
+ /** Status = SWITCH_ORDER_TRIGGER_FAILED. */
59
+ GainingOneTouchSwitchStageNames["OrderTriggerFailed"] = "Order Trigger Failed";
60
+ /** Status = SWITCH_ORDER_CANCEL_SENT. */
61
+ GainingOneTouchSwitchStageNames["OrderCancelSent"] = "Order Cancel Sent";
62
+ /** Status = SWITCH_ORDER_CANCEL_CONFIRMED. */
63
+ GainingOneTouchSwitchStageNames["OrderCancelConfirmed"] = "Order Cancel Confirmed";
64
+ /** Status = SWITCH_ORDER_CANCEL_FAILED. */
65
+ GainingOneTouchSwitchStageNames["OrderCancelFailed"] = "Order Cancel Failed";
66
+ })(GainingOneTouchSwitchStageNames = exports.GainingOneTouchSwitchStageNames || (exports.GainingOneTouchSwitchStageNames = {}));
67
+ /**
68
+ * Pipeline stage keys for GAINING OneTouchSwitch
69
+ * Use these keys when transitioning between stages
70
+ */
71
+ var GainingOneTouchSwitchStageKeys;
72
+ (function (GainingOneTouchSwitchStageKeys) {
73
+ /** Status = SWITCH_MATCH_REQUEST_SENT. */
74
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageMatchRequestSent"] = "OneTouchSwitchGainingStageMatchRequestSent";
75
+ /** Status = SWITCH_MATCH_REQUEST_CONFIRMED. */
76
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageMatchRequestConfirmed"] = "OneTouchSwitchGainingStageMatchRequestConfirmed";
77
+ /** Status = SWITCH_MATCH_REQUEST_FAILED. */
78
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageMatchRequestFailed"] = "OneTouchSwitchGainingStageMatchRequestFailed";
79
+ /** Status = SWITCH_ORDER_REQUEST_SENT. */
80
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderRequestSent"] = "OneTouchSwitchGainingStageOrderRequestSent";
81
+ /** Status = SWITCH_ORDER_REQUEST_CONFIRMED. */
82
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderRequestConfirmed"] = "OneTouchSwitchGainingStageOrderRequestConfirmed";
83
+ /** Status = SWITCH_ORDER_REQUEST_FAILED. */
84
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderRequestFailed"] = "OneTouchSwitchGainingStageOrderRequestFailed";
85
+ /** Status = SWITCH_ORDER_TRIGGER_SENT. */
86
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderTriggerSent"] = "OneTouchSwitchGainingStageOrderTriggerSent";
87
+ /** Status = SWITCH_ORDER_UPDATE_SENT. */
88
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderUpdateSent"] = "OneTouchSwitchGainingStageOrderUpdateSent";
89
+ /** Status = SWITCH_ORDER_UPDATE_CONFIRMED. */
90
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderUpdateConfirmed"] = "OneTouchSwitchGainingStageOrderUpdateConfirmed";
91
+ /** Status = SWITCH_ORDER_UPDATE_FAILED. */
92
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderUpdateFailed"] = "OneTouchSwitchGainingStageOrderUpdateFailed";
93
+ /** Status = SWITCH_ORDER_TRIGGER_CONFIRMED. */
94
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderTriggerConfirmed"] = "OneTouchSwitchGainingStageOrderTriggerConfirmed";
95
+ /** Status = SWITCH_ORDER_TRIGGER_FAILED. */
96
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderTriggerFailed"] = "OneTouchSwitchGainingStageOrderTriggerFailed";
97
+ /** Status = SWITCH_ORDER_CANCEL_SENT. */
98
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderCancelSent"] = "OneTouchSwitchGainingStageOrderCancelSent";
99
+ /** Status = SWITCH_ORDER_CANCEL_CONFIRMED. */
100
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderCancelConfirmed"] = "OneTouchSwitchGainingStageOrderCancelConfirmed";
101
+ /** Status = SWITCH_ORDER_CANCEL_FAILED. */
102
+ GainingOneTouchSwitchStageKeys["OneTouchSwitchGainingStageOrderCancelFailed"] = "OneTouchSwitchGainingStageOrderCancelFailed";
103
+ })(GainingOneTouchSwitchStageKeys = exports.GainingOneTouchSwitchStageKeys || (exports.GainingOneTouchSwitchStageKeys = {}));
29
104
  /**
30
105
  * Property keys for OneTouchSwitch
31
106
  * Use these constants instead of string literals for type safety