@d19n/youfibre-odin-sdk 2.0.288 → 2.0.290

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.
@@ -0,0 +1,164 @@
1
+ "use strict";
2
+ /**
3
+ * AgentStatusHistory Entity Definition
4
+ *
5
+ * Append-only log of agent status transitions: one row per change (from, to, when, source, time spent in the previous status). Never updated after create. Phase 1 POC (CASES-1729).
6
+ *
7
+ * @module SupportModule
8
+ * @entity AgentStatusHistory
9
+ * @schemaId bab18158-d61c-42bf-b05d-22f606c951a2
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_LINK_AGENT_STATUS_HISTORY_USER_DELETED = exports.ROUTING_KEY_LINK_AGENT_STATUS_HISTORY_USER_CREATED = exports.ROUTING_KEY_AGENT_STATUS_HISTORY_DEFAULT_DELETED = exports.ROUTING_KEY_AGENT_STATUS_HISTORY_DEFAULT_UPDATED = exports.ROUTING_KEY_AGENT_STATUS_HISTORY_DEFAULT_CREATED = exports.ROUTING_KEY_AGENT_STATUS_HISTORY_DELETED = exports.ROUTING_KEY_AGENT_STATUS_HISTORY_UPDATED = exports.ROUTING_KEY_AGENT_STATUS_HISTORY_CREATED = exports.AgentStatusHistory = exports.AgentStatusHistoryPropertyKeys = exports.AgentStatusHistoryFromStatus = exports.AgentStatusHistorySource = exports.AgentStatusHistoryToStatus = exports.AgentStatusHistoryEntityTypes = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Available types for AgentStatusHistory records
19
+ */
20
+ var AgentStatusHistoryEntityTypes;
21
+ (function (AgentStatusHistoryEntityTypes) {
22
+ /** This is the default record type */
23
+ AgentStatusHistoryEntityTypes["DEFAULT"] = "DEFAULT";
24
+ })(AgentStatusHistoryEntityTypes = exports.AgentStatusHistoryEntityTypes || (exports.AgentStatusHistoryEntityTypes = {}));
25
+ /**
26
+ * Valid values for AgentStatusHistory.ToStatus
27
+ *
28
+ * Status this transition moved the agent into.
29
+ *
30
+ * @remarks Available options:
31
+ * - `After call work`
32
+ * - `Available`
33
+ * - `Away`
34
+ * - `Back office`
35
+ * - `Coaching`
36
+ * - `Offline`
37
+ * - `On a break`
38
+ * - `On a call`
39
+ * - `Special task`
40
+ * - `Training`
41
+ * - `Unavailable`
42
+ * - `Unplanned Break`
43
+ */
44
+ var AgentStatusHistoryToStatus;
45
+ (function (AgentStatusHistoryToStatus) {
46
+ AgentStatusHistoryToStatus["AFTER_CALL_WORK"] = "After call work";
47
+ AgentStatusHistoryToStatus["AVAILABLE"] = "Available";
48
+ AgentStatusHistoryToStatus["AWAY"] = "Away";
49
+ AgentStatusHistoryToStatus["BACK_OFFICE"] = "Back office";
50
+ AgentStatusHistoryToStatus["COACHING"] = "Coaching";
51
+ AgentStatusHistoryToStatus["OFFLINE"] = "Offline";
52
+ AgentStatusHistoryToStatus["ON_A_BREAK"] = "On a break";
53
+ AgentStatusHistoryToStatus["ON_A_CALL"] = "On a call";
54
+ AgentStatusHistoryToStatus["SPECIAL_TASK"] = "Special task";
55
+ AgentStatusHistoryToStatus["TRAINING"] = "Training";
56
+ AgentStatusHistoryToStatus["UNAVAILABLE"] = "Unavailable";
57
+ AgentStatusHistoryToStatus["UNPLANNED_BREAK"] = "Unplanned Break";
58
+ })(AgentStatusHistoryToStatus = exports.AgentStatusHistoryToStatus || (exports.AgentStatusHistoryToStatus = {}));
59
+ /**
60
+ * Valid values for AgentStatusHistory.Source
61
+ *
62
+ * What triggered this transition: manual agent selection, a voice/Twilio event, or a system-generated change.
63
+ *
64
+ * @remarks Available options:
65
+ * - `Manual` - Manual agent selection
66
+ * - `System` - System-generated change
67
+ * - `Voice` - Voice or Twilio event
68
+ */
69
+ var AgentStatusHistorySource;
70
+ (function (AgentStatusHistorySource) {
71
+ AgentStatusHistorySource["MANUAL_AGENT_SELECTION"] = "Manual";
72
+ AgentStatusHistorySource["SYSTEM_GENERATED_CHANGE"] = "System";
73
+ AgentStatusHistorySource["VOICE_OR_TWILIO_EVENT"] = "Voice";
74
+ })(AgentStatusHistorySource = exports.AgentStatusHistorySource || (exports.AgentStatusHistorySource = {}));
75
+ /**
76
+ * Valid values for AgentStatusHistory.FromStatus
77
+ *
78
+ * Status before this transition. Empty on a user’s very first history row.
79
+ *
80
+ * @remarks Available options:
81
+ * - `After call work`
82
+ * - `Available`
83
+ * - `Away`
84
+ * - `Back office`
85
+ * - `Coaching`
86
+ * - `Offline`
87
+ * - `On a break`
88
+ * - `On a call`
89
+ * - `Special task`
90
+ * - `Training`
91
+ * - `Unavailable`
92
+ * - `Unplanned Break`
93
+ */
94
+ var AgentStatusHistoryFromStatus;
95
+ (function (AgentStatusHistoryFromStatus) {
96
+ AgentStatusHistoryFromStatus["AFTER_CALL_WORK"] = "After call work";
97
+ AgentStatusHistoryFromStatus["AVAILABLE"] = "Available";
98
+ AgentStatusHistoryFromStatus["AWAY"] = "Away";
99
+ AgentStatusHistoryFromStatus["BACK_OFFICE"] = "Back office";
100
+ AgentStatusHistoryFromStatus["COACHING"] = "Coaching";
101
+ AgentStatusHistoryFromStatus["OFFLINE"] = "Offline";
102
+ AgentStatusHistoryFromStatus["ON_A_BREAK"] = "On a break";
103
+ AgentStatusHistoryFromStatus["ON_A_CALL"] = "On a call";
104
+ AgentStatusHistoryFromStatus["SPECIAL_TASK"] = "Special task";
105
+ AgentStatusHistoryFromStatus["TRAINING"] = "Training";
106
+ AgentStatusHistoryFromStatus["UNAVAILABLE"] = "Unavailable";
107
+ AgentStatusHistoryFromStatus["UNPLANNED_BREAK"] = "Unplanned Break";
108
+ })(AgentStatusHistoryFromStatus = exports.AgentStatusHistoryFromStatus || (exports.AgentStatusHistoryFromStatus = {}));
109
+ /**
110
+ * Property keys for AgentStatusHistory
111
+ * Use these constants instead of string literals for type safety
112
+ */
113
+ var AgentStatusHistoryPropertyKeys;
114
+ (function (AgentStatusHistoryPropertyKeys) {
115
+ /** Status this transition moved the agent into. */
116
+ AgentStatusHistoryPropertyKeys["ToStatus"] = "ToStatus";
117
+ /** What triggered this transition: manual agent selection, a voice/Twilio event, or a system-generated change. */
118
+ AgentStatusHistoryPropertyKeys["Source"] = "Source";
119
+ /** Status before this transition. Empty on a user’s very first history row. */
120
+ AgentStatusHistoryPropertyKeys["FromStatus"] = "FromStatus";
121
+ /** The Odin user this transition belongs to. */
122
+ AgentStatusHistoryPropertyKeys["UserId"] = "UserId";
123
+ /** When this transition happened. */
124
+ AgentStatusHistoryPropertyKeys["ChangedAt"] = "ChangedAt";
125
+ /** How long the agent spent in FromStatus, in seconds. Empty on the first-ever transition (no prior status to measure). */
126
+ AgentStatusHistoryPropertyKeys["DurationInPreviousStatusSeconds"] = "DurationInPreviousStatusSeconds";
127
+ })(AgentStatusHistoryPropertyKeys = exports.AgentStatusHistoryPropertyKeys || (exports.AgentStatusHistoryPropertyKeys = {}));
128
+ /**
129
+ * AgentStatusHistory entity from SupportModule
130
+ *
131
+ * Append-only log of agent status transitions: one row per change (from, to, when, source, time spent in the previous status). Never updated after create. Phase 1 POC (CASES-1729).
132
+ *
133
+ * @module SupportModule
134
+ * @entity AgentStatusHistory
135
+ * @schemaId bab18158-d61c-42bf-b05d-22f606c951a2
136
+ * @recordPrefix AGSH
137
+ * @capabilities searchable, updateable, undeletable, triggerable
138
+ */
139
+ class AgentStatusHistory extends core_1.OdinRecord {
140
+ }
141
+ exports.AgentStatusHistory = AgentStatusHistory;
142
+ // ============================================
143
+ // RABBITMQ EVENT ROUTING KEYS
144
+ // ============================================
145
+ /**
146
+ * RabbitMQ routing keys for AgentStatusHistory events
147
+ */
148
+ exports.ROUTING_KEY_AGENT_STATUS_HISTORY_CREATED = 'SupportModule.AgentStatusHistory.SubDbRecordCreated';
149
+ exports.ROUTING_KEY_AGENT_STATUS_HISTORY_UPDATED = 'SupportModule.AgentStatusHistory.SubDbRecordUpdated';
150
+ exports.ROUTING_KEY_AGENT_STATUS_HISTORY_DELETED = 'SupportModule.AgentStatusHistory.SubDbRecordDeleted';
151
+ /**
152
+ * Type-specific routing keys for AgentStatusHistory events
153
+ * Subscribe to these for events on specific entity types only
154
+ */
155
+ /** This is the default record type created */
156
+ exports.ROUTING_KEY_AGENT_STATUS_HISTORY_DEFAULT_CREATED = 'SupportModule.AgentStatusHistory.DEFAULT.SubDbRecordCreated';
157
+ /** This is the default record type updated */
158
+ exports.ROUTING_KEY_AGENT_STATUS_HISTORY_DEFAULT_UPDATED = 'SupportModule.AgentStatusHistory.DEFAULT.SubDbRecordUpdated';
159
+ /** This is the default record type deleted */
160
+ exports.ROUTING_KEY_AGENT_STATUS_HISTORY_DEFAULT_DELETED = 'SupportModule.AgentStatusHistory.DEFAULT.SubDbRecordDeleted';
161
+ /** Event: AgentStatusHistory__User link created */
162
+ exports.ROUTING_KEY_LINK_AGENT_STATUS_HISTORY_USER_CREATED = 'SupportModule.AgentStatusHistory.User.SubDbRecordAssociationCreated';
163
+ /** Event: AgentStatusHistory__User link deleted */
164
+ exports.ROUTING_KEY_LINK_AGENT_STATUS_HISTORY_USER_DELETED = 'SupportModule.AgentStatusHistory.User.SubDbRecordAssociationDeleted';
@@ -782,6 +782,23 @@ export declare enum CaseLastDialOutcome {
782
782
  MACHINE = "MACHINE",
783
783
  NO_ANSWER = "NO_ANSWER"
784
784
  }
785
+ /**
786
+ * Valid values for Case.AutoResolutionStatus
787
+ *
788
+ * State of the auto-resolution bot working this case, set when an agent assigns OwnerId to the bot user (CORE-991).
789
+ *
790
+ * @remarks Available options:
791
+ * - `CLAIMED` - Claimed
792
+ * - `FAILED` - Failed
793
+ * - `IN_PROGRESS` - In progress
794
+ * - `RESOLVED` - Resolved
795
+ */
796
+ export declare enum CaseAutoResolutionStatus {
797
+ CLAIMED = "CLAIMED",
798
+ FAILED = "FAILED",
799
+ IN_PROGRESS = "IN_PROGRESS",
800
+ RESOLVED = "RESOLVED"
801
+ }
785
802
  /**
786
803
  * Valid values for Case.VulnerableCustomer
787
804
  *
@@ -1016,6 +1033,8 @@ export declare enum CasePropertyKeys {
1016
1033
  LastDialAt = "LastDialAt",
1017
1034
  /** LastDialOutcome */
1018
1035
  LastDialOutcome = "LastDialOutcome",
1036
+ /** State of the auto-resolution bot working this case, set when an agent assigns OwnerId to the bot user (CORE-991). */
1037
+ AutoResolutionStatus = "AutoResolutionStatus",
1019
1038
  /** Vulnerable Customer */
1020
1039
  VulnerableCustomer = "VulnerableCustomer",
1021
1040
  /** The Trigger that created this Case. */
@@ -1555,6 +1574,13 @@ export interface CaseProperties {
1555
1574
  * @enum {CaseLastDialOutcome}
1556
1575
  */
1557
1576
  LastDialOutcome: CaseLastDialOutcome;
1577
+ /** State of the auto-resolution bot working this case, set when an agent assigns OwnerId to the bot user (CORE-991).
1578
+ *
1579
+ * @type {ENUM}
1580
+ * @default
1581
+ * @enum {CaseAutoResolutionStatus}
1582
+ */
1583
+ AutoResolutionStatus: CaseAutoResolutionStatus;
1558
1584
  /** Vulnerable Customer
1559
1585
  *
1560
1586
  * @type {ENUM}
@@ -2112,6 +2138,13 @@ export interface OutageCaseProperties {
2112
2138
  * @enum {CaseLastDialOutcome}
2113
2139
  */
2114
2140
  LastDialOutcome: CaseLastDialOutcome;
2141
+ /** State of the auto-resolution bot working this case, set when an agent assigns OwnerId to the bot user (CORE-991).
2142
+ *
2143
+ * @type {ENUM}
2144
+ * @default
2145
+ * @enum {CaseAutoResolutionStatus}
2146
+ */
2147
+ AutoResolutionStatus: CaseAutoResolutionStatus;
2115
2148
  /** Vulnerable Customer
2116
2149
  *
2117
2150
  * @type {ENUM}
@@ -12,8 +12,8 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_CASE_OUTAGE_DELETED = exports.ROUTING_KEY_CASE_OUTAGE_UPDATED = exports.ROUTING_KEY_CASE_OUTAGE_CREATED = exports.ROUTING_KEY_CASE_DEFAULT_DELETED = exports.ROUTING_KEY_CASE_DEFAULT_UPDATED = exports.ROUTING_KEY_CASE_DEFAULT_CREATED = exports.ROUTING_KEY_CASE_DELETED = exports.ROUTING_KEY_CASE_UPDATED = exports.ROUTING_KEY_CASE_CREATED = exports.Case = exports.CasePropertyKeys = exports.CaseDeprecated = exports.CaseRetentionOutcome = exports.CaseVulnerableCustomer = exports.CaseLastDialOutcome = exports.CaseEscalationReason = exports.CaseOmbudsmanReason = exports.CaseSource = exports.CaseReasonForReview = exports.CaseImpact = exports.CaseCsatReason = exports.CaseBusinessArea = exports.CaseRetentionOffer = exports.CaseSla = exports.CaseReasonForLeaving = exports.CaseDpaCustomerType = exports.CaseDpaCustomerCategory = exports.CaseConversationStatus = exports.CaseBlockedReason = exports.CaseSubCategory = exports.CaseCategory = exports.CaseChannel = exports.CaseProblem = exports.CasePrimaryExceptionReason = exports.CasePrimaryException = exports.CaseFormalComplaint = exports.CaseOrigin = exports.CaseProviders = exports.CaseCsatResolutionReason = exports.CaseComplaint = exports.CaseCsatAgentReason = exports.OutageCaseStageKeys = exports.OutageCaseStageNames = exports.DefaultCaseStageKeys = exports.DefaultCaseStageNames = exports.CaseEntityTypes = void 0;
16
- exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_DELETED = exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_DELETED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_USER_DELETED = exports.ROUTING_KEY_LINK_CASE_USER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = void 0;
15
+ exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_CASE_OUTAGE_DELETED = exports.ROUTING_KEY_CASE_OUTAGE_UPDATED = exports.ROUTING_KEY_CASE_OUTAGE_CREATED = exports.ROUTING_KEY_CASE_DEFAULT_DELETED = exports.ROUTING_KEY_CASE_DEFAULT_UPDATED = exports.ROUTING_KEY_CASE_DEFAULT_CREATED = exports.ROUTING_KEY_CASE_DELETED = exports.ROUTING_KEY_CASE_UPDATED = exports.ROUTING_KEY_CASE_CREATED = exports.Case = exports.CasePropertyKeys = exports.CaseDeprecated = exports.CaseRetentionOutcome = exports.CaseVulnerableCustomer = exports.CaseAutoResolutionStatus = exports.CaseLastDialOutcome = exports.CaseEscalationReason = exports.CaseOmbudsmanReason = exports.CaseSource = exports.CaseReasonForReview = exports.CaseImpact = exports.CaseCsatReason = exports.CaseBusinessArea = exports.CaseRetentionOffer = exports.CaseSla = exports.CaseReasonForLeaving = exports.CaseDpaCustomerType = exports.CaseDpaCustomerCategory = exports.CaseConversationStatus = exports.CaseBlockedReason = exports.CaseSubCategory = exports.CaseCategory = exports.CaseChannel = exports.CaseProblem = exports.CasePrimaryExceptionReason = exports.CasePrimaryException = exports.CaseFormalComplaint = exports.CaseOrigin = exports.CaseProviders = exports.CaseCsatResolutionReason = exports.CaseComplaint = exports.CaseCsatAgentReason = exports.OutageCaseStageKeys = exports.OutageCaseStageNames = exports.DefaultCaseStageKeys = exports.DefaultCaseStageNames = exports.CaseEntityTypes = void 0;
16
+ exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_DELETED = exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_DELETED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_USER_DELETED = exports.ROUTING_KEY_LINK_CASE_USER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = void 0;
17
17
  const core_1 = require("@d19n/odin-types/dist/core");
18
18
  /**
19
19
  * Available types for Case records
@@ -795,6 +795,24 @@ var CaseLastDialOutcome;
795
795
  CaseLastDialOutcome["MACHINE"] = "MACHINE";
796
796
  CaseLastDialOutcome["NO_ANSWER"] = "NO_ANSWER";
797
797
  })(CaseLastDialOutcome = exports.CaseLastDialOutcome || (exports.CaseLastDialOutcome = {}));
798
+ /**
799
+ * Valid values for Case.AutoResolutionStatus
800
+ *
801
+ * State of the auto-resolution bot working this case, set when an agent assigns OwnerId to the bot user (CORE-991).
802
+ *
803
+ * @remarks Available options:
804
+ * - `CLAIMED` - Claimed
805
+ * - `FAILED` - Failed
806
+ * - `IN_PROGRESS` - In progress
807
+ * - `RESOLVED` - Resolved
808
+ */
809
+ var CaseAutoResolutionStatus;
810
+ (function (CaseAutoResolutionStatus) {
811
+ CaseAutoResolutionStatus["CLAIMED"] = "CLAIMED";
812
+ CaseAutoResolutionStatus["FAILED"] = "FAILED";
813
+ CaseAutoResolutionStatus["IN_PROGRESS"] = "IN_PROGRESS";
814
+ CaseAutoResolutionStatus["RESOLVED"] = "RESOLVED";
815
+ })(CaseAutoResolutionStatus = exports.CaseAutoResolutionStatus || (exports.CaseAutoResolutionStatus = {}));
798
816
  /**
799
817
  * Valid values for Case.VulnerableCustomer
800
818
  *
@@ -1033,6 +1051,8 @@ var CasePropertyKeys;
1033
1051
  CasePropertyKeys["LastDialAt"] = "LastDialAt";
1034
1052
  /** LastDialOutcome */
1035
1053
  CasePropertyKeys["LastDialOutcome"] = "LastDialOutcome";
1054
+ /** State of the auto-resolution bot working this case, set when an agent assigns OwnerId to the bot user (CORE-991). */
1055
+ CasePropertyKeys["AutoResolutionStatus"] = "AutoResolutionStatus";
1036
1056
  /** Vulnerable Customer */
1037
1057
  CasePropertyKeys["VulnerableCustomer"] = "VulnerableCustomer";
1038
1058
  /** The Trigger that created this Case. */
@@ -34,6 +34,8 @@ import { SalesTerritoryProperties } from './SalesTerritory';
34
34
  import { TwilioWorkerProperties } from './TwilioWorker';
35
35
  import { OutboundDialCampaignProperties } from './OutboundDialCampaign';
36
36
  import { OutboundDialSessionProperties } from './OutboundDialSession';
37
+ import { AgentStatusProperties } from './AgentStatus';
38
+ import { AgentStatusHistoryProperties } from './AgentStatusHistory';
37
39
  /**
38
40
  * Available types for User records
39
41
  */
@@ -279,6 +281,10 @@ export declare class User extends OdinRecord<UserProperties> {
279
281
  OutboundDialCampaign: OdinLink<LinkedOdinRecord<OutboundDialCampaignProperties>>;
280
282
  /** Linked OutboundDialSession records (OutboundDialSession__User) */
281
283
  OutboundDialSession: OdinLink<LinkedOdinRecord<OutboundDialSessionProperties>>;
284
+ /** Linked AgentStatus records (AgentStatus__User) */
285
+ AgentStatus: OdinLink<LinkedOdinRecord<AgentStatusProperties>>;
286
+ /** Linked AgentStatusHistory records (AgentStatusHistory__User) */
287
+ AgentStatusHistory: OdinLink<LinkedOdinRecord<AgentStatusHistoryProperties>>;
282
288
  }
283
289
  /**
284
290
  * RabbitMQ routing keys for User events