mavenagi 1.2.40 → 1.2.42
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/BaseClient.js +2 -2
- package/api/resources/actions/types/ActionField.d.ts +1 -1
- package/api/resources/agents/types/AgentEnvironment.d.ts +1 -1
- package/api/resources/agents/types/AgentField.d.ts +1 -1
- package/api/resources/analytics/types/TimeInterval.d.ts +1 -1
- package/api/resources/commons/types/ActionParameterType.d.ts +1 -1
- package/api/resources/commons/types/AppUserIdentifyingPropertyType.d.ts +1 -1
- package/api/resources/commons/types/AttachmentStatus.d.ts +1 -1
- package/api/resources/commons/types/BotConversationMessageType.d.ts +1 -1
- package/api/resources/commons/types/BrowserType.d.ts +1 -1
- package/api/resources/commons/types/Capability.d.ts +1 -1
- package/api/resources/commons/types/ChartSpecSchema.d.ts +1 -1
- package/api/resources/commons/types/DeviceType.d.ts +1 -1
- package/api/resources/commons/types/EntityType.d.ts +1 -1
- package/api/resources/commons/types/EventField.d.ts +1 -1
- package/api/resources/commons/types/EventTriggerType.d.ts +1 -1
- package/api/resources/commons/types/EventType.d.ts +1 -1
- package/api/resources/commons/types/FeedbackType.d.ts +1 -1
- package/api/resources/commons/types/InboxItemSeverity.d.ts +1 -1
- package/api/resources/commons/types/InboxItemStatus.d.ts +1 -1
- package/api/resources/commons/types/InboxItemType.d.ts +1 -1
- package/api/resources/commons/types/LlmInclusionStatus.d.ts +1 -1
- package/api/resources/commons/types/LlmPersona.d.ts +1 -1
- package/api/resources/commons/types/MessageStatus.d.ts +1 -1
- package/api/resources/commons/types/NumericComparisonOperator.d.ts +1 -1
- package/api/resources/commons/types/NumericMembershipOperator.d.ts +1 -1
- package/api/resources/commons/types/OAuthAuthenticationMethod.d.ts +1 -1
- package/api/resources/commons/types/OsType.d.ts +1 -1
- package/api/resources/commons/types/PiiCategory.d.ts +1 -1
- package/api/resources/commons/types/PreconditionGroupOperator.d.ts +1 -1
- package/api/resources/commons/types/PreconditionOperator.d.ts +1 -1
- package/api/resources/commons/types/Quality.d.ts +1 -1
- package/api/resources/commons/types/QualityReason.d.ts +1 -1
- package/api/resources/commons/types/ResolutionStatus.d.ts +3 -1
- package/api/resources/commons/types/ResolutionStatus.js +2 -0
- package/api/resources/commons/types/ResponseLength.d.ts +1 -1
- package/api/resources/commons/types/Sentiment.d.ts +1 -1
- package/api/resources/commons/types/SetElementOperator.d.ts +1 -1
- package/api/resources/commons/types/SetRelationOperator.d.ts +1 -1
- package/api/resources/commons/types/SourceType.d.ts +1 -1
- package/api/resources/commons/types/StringComparisonOperator.d.ts +1 -1
- package/api/resources/commons/types/StringMembershipOperator.d.ts +1 -1
- package/api/resources/commons/types/SystemEventName.d.ts +1 -1
- package/api/resources/commons/types/UserConversationMessageType.d.ts +1 -1
- package/api/resources/commons/types/UserEventName.d.ts +1 -1
- package/api/resources/commons/types/UserMessageResponseState.d.ts +1 -1
- package/api/resources/commons/types/VisibilityType.d.ts +1 -1
- package/api/resources/conversation/types/ConversationField.d.ts +1 -1
- package/api/resources/conversation/types/DeliveryStatus.d.ts +1 -1
- package/api/resources/conversation/types/FeedbackField.d.ts +1 -1
- package/api/resources/conversation/types/IntelligentFieldOperator.d.ts +1 -1
- package/api/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/api/resources/conversation/types/SimulationFilter.d.ts +1 -1
- package/api/resources/customers/types/CustomerField.d.ts +1 -1
- package/api/resources/customers/types/CustomerStatus.d.ts +1 -1
- package/api/resources/developersCommons/types/AppCapability.d.ts +1 -1
- package/api/resources/developersCommons/types/AppCategory.d.ts +1 -1
- package/api/resources/developersCommons/types/AppVisibility.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseField.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersionType.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeDocumentContentType.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeDocumentField.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeDocumentStatus.d.ts +1 -1
- package/api/resources/segments/types/SegmentField.d.ts +1 -1
- package/api/resources/segments/types/SegmentStatus.d.ts +1 -1
- package/api/resources/triggers/types/TriggerField.d.ts +1 -1
- package/api/resources/users/types/AgentUserField.d.ts +1 -1
- package/api/resources/voice/types/VoiceTokenType.d.ts +1 -1
- package/api/resources/voiceConversations/types/AudioFormat.d.ts +1 -1
- package/package.json +1 -1
- package/serialization/resources/actions/types/ActionField.js +7 -1
- package/serialization/resources/agents/types/AgentEnvironment.js +1 -1
- package/serialization/resources/agents/types/AgentField.js +1 -1
- package/serialization/resources/analytics/types/TimeInterval.js +1 -1
- package/serialization/resources/commons/types/ActionParameterType.js +1 -1
- package/serialization/resources/commons/types/AppUserIdentifyingPropertyType.js +1 -1
- package/serialization/resources/commons/types/AttachmentStatus.js +1 -1
- package/serialization/resources/commons/types/BotConversationMessageType.js +1 -1
- package/serialization/resources/commons/types/BrowserType.js +1 -1
- package/serialization/resources/commons/types/Capability.js +8 -1
- package/serialization/resources/commons/types/ChartSpecSchema.js +1 -1
- package/serialization/resources/commons/types/DeviceType.js +1 -1
- package/serialization/resources/commons/types/EntityType.js +1 -1
- package/serialization/resources/commons/types/EventField.js +1 -1
- package/serialization/resources/commons/types/EventTriggerType.js +6 -1
- package/serialization/resources/commons/types/EventType.js +1 -1
- package/serialization/resources/commons/types/FeedbackType.js +1 -1
- package/serialization/resources/commons/types/InboxItemSeverity.js +1 -1
- package/serialization/resources/commons/types/InboxItemStatus.js +1 -1
- package/serialization/resources/commons/types/InboxItemType.js +1 -1
- package/serialization/resources/commons/types/LlmInclusionStatus.js +1 -1
- package/serialization/resources/commons/types/LlmPersona.js +1 -1
- package/serialization/resources/commons/types/MessageStatus.js +1 -1
- package/serialization/resources/commons/types/NumericComparisonOperator.js +1 -1
- package/serialization/resources/commons/types/NumericMembershipOperator.js +1 -1
- package/serialization/resources/commons/types/OAuthAuthenticationMethod.js +1 -1
- package/serialization/resources/commons/types/OsType.js +1 -8
- package/serialization/resources/commons/types/PiiCategory.js +1 -1
- package/serialization/resources/commons/types/PreconditionGroupOperator.js +1 -1
- package/serialization/resources/commons/types/PreconditionOperator.js +1 -1
- package/serialization/resources/commons/types/Quality.js +1 -5
- package/serialization/resources/commons/types/QualityReason.js +1 -1
- package/serialization/resources/commons/types/ResolutionStatus.d.ts +1 -1
- package/serialization/resources/commons/types/ResolutionStatus.js +3 -1
- package/serialization/resources/commons/types/ResponseLength.js +1 -1
- package/serialization/resources/commons/types/Sentiment.js +1 -1
- package/serialization/resources/commons/types/SetElementOperator.js +1 -1
- package/serialization/resources/commons/types/SetRelationOperator.js +1 -1
- package/serialization/resources/commons/types/SourceType.js +1 -1
- package/serialization/resources/commons/types/StringComparisonOperator.js +1 -1
- package/serialization/resources/commons/types/StringMembershipOperator.js +1 -1
- package/serialization/resources/commons/types/SystemEventName.js +1 -1
- package/serialization/resources/commons/types/UserConversationMessageType.js +1 -1
- package/serialization/resources/commons/types/UserEventName.js +1 -1
- package/serialization/resources/commons/types/UserMessageResponseState.js +1 -1
- package/serialization/resources/commons/types/VisibilityType.js +1 -1
- package/serialization/resources/conversation/types/ConversationField.js +1 -1
- package/serialization/resources/conversation/types/DeliveryStatus.js +1 -1
- package/serialization/resources/conversation/types/FeedbackField.js +1 -1
- package/serialization/resources/conversation/types/IntelligentFieldOperator.js +11 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -1
- package/serialization/resources/conversation/types/SimulationFilter.js +1 -1
- package/serialization/resources/customers/types/CustomerField.js +1 -1
- package/serialization/resources/customers/types/CustomerStatus.js +1 -1
- package/serialization/resources/developersCommons/types/AppCapability.js +1 -1
- package/serialization/resources/developersCommons/types/AppCategory.js +1 -1
- package/serialization/resources/developersCommons/types/AppVisibility.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseField.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseType.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionType.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeDocumentContentType.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeDocumentField.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeDocumentStatus.js +1 -1
- package/serialization/resources/segments/types/SegmentField.js +1 -1
- package/serialization/resources/segments/types/SegmentStatus.js +1 -1
- package/serialization/resources/triggers/types/TriggerField.js +1 -1
- package/serialization/resources/users/types/AgentUserField.js +1 -1
- package/serialization/resources/voice/types/VoiceTokenType.js +1 -1
- package/serialization/resources/voiceConversations/types/AudioFormat.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "mavenagi",
|
|
46
|
-
"X-Fern-SDK-Version": "1.2.
|
|
47
|
-
"User-Agent": "mavenagi/1.2.
|
|
46
|
+
"X-Fern-SDK-Version": "1.2.42",
|
|
47
|
+
"User-Agent": "mavenagi/1.2.42",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"X-Organization-Id": options === null || options === void 0 ? void 0 : options.organizationId,
|
|
@@ -5,4 +5,4 @@ export declare const ActionField: {
|
|
|
5
5
|
readonly UserInteractionRequired: "UserInteractionRequired";
|
|
6
6
|
readonly CreatedAt: "CreatedAt";
|
|
7
7
|
};
|
|
8
|
-
export type ActionField = (typeof ActionField)[keyof typeof ActionField];
|
|
8
|
+
export type ActionField = (typeof ActionField)[keyof typeof ActionField] | string;
|
|
@@ -3,4 +3,4 @@ export declare const AgentEnvironment: {
|
|
|
3
3
|
readonly Staging: "STAGING";
|
|
4
4
|
readonly Production: "PRODUCTION";
|
|
5
5
|
};
|
|
6
|
-
export type AgentEnvironment = (typeof AgentEnvironment)[keyof typeof AgentEnvironment];
|
|
6
|
+
export type AgentEnvironment = (typeof AgentEnvironment)[keyof typeof AgentEnvironment] | string;
|
|
@@ -36,4 +36,4 @@ export declare const ActionParameterType: {
|
|
|
36
36
|
* OAuth authorization parameter type used to pass an access token at execution time. When this type is used it should be the only action parameter. This parameter is not sent to the LLM or shown on forms. */
|
|
37
37
|
readonly Oauth: "OAUTH";
|
|
38
38
|
};
|
|
39
|
-
export type ActionParameterType = (typeof ActionParameterType)[keyof typeof ActionParameterType];
|
|
39
|
+
export type ActionParameterType = (typeof ActionParameterType)[keyof typeof ActionParameterType] | string;
|
|
@@ -2,4 +2,4 @@ export declare const AppUserIdentifyingPropertyType: {
|
|
|
2
2
|
readonly Email: "EMAIL";
|
|
3
3
|
readonly PhoneNumber: "PHONE_NUMBER";
|
|
4
4
|
};
|
|
5
|
-
export type AppUserIdentifyingPropertyType = (typeof AppUserIdentifyingPropertyType)[keyof typeof AppUserIdentifyingPropertyType];
|
|
5
|
+
export type AppUserIdentifyingPropertyType = (typeof AppUserIdentifyingPropertyType)[keyof typeof AppUserIdentifyingPropertyType] | string;
|
|
@@ -4,4 +4,4 @@ export declare const AttachmentStatus: {
|
|
|
4
4
|
readonly Accepted: "ACCEPTED";
|
|
5
5
|
readonly Rejected: "REJECTED";
|
|
6
6
|
};
|
|
7
|
-
export type AttachmentStatus = (typeof AttachmentStatus)[keyof typeof AttachmentStatus];
|
|
7
|
+
export type AttachmentStatus = (typeof AttachmentStatus)[keyof typeof AttachmentStatus] | string;
|
|
@@ -2,4 +2,4 @@ export declare const BotConversationMessageType: {
|
|
|
2
2
|
readonly BotResponse: "BOT_RESPONSE";
|
|
3
3
|
readonly BotSuggestion: "BOT_SUGGESTION";
|
|
4
4
|
};
|
|
5
|
-
export type BotConversationMessageType = (typeof BotConversationMessageType)[keyof typeof BotConversationMessageType];
|
|
5
|
+
export type BotConversationMessageType = (typeof BotConversationMessageType)[keyof typeof BotConversationMessageType] | string;
|
|
@@ -18,4 +18,4 @@ export declare const EntityType: {
|
|
|
18
18
|
readonly IntelligentField: "INTELLIGENT_FIELD";
|
|
19
19
|
readonly Charter: "CHARTER";
|
|
20
20
|
};
|
|
21
|
-
export type EntityType = (typeof EntityType)[keyof typeof EntityType];
|
|
21
|
+
export type EntityType = (typeof EntityType)[keyof typeof EntityType] | string;
|
|
@@ -17,4 +17,4 @@ export declare const EventField: {
|
|
|
17
17
|
readonly AgentUserId: "AGENT_USER_ID";
|
|
18
18
|
readonly Timestamp: "TIMESTAMP";
|
|
19
19
|
};
|
|
20
|
-
export type EventField = (typeof EventField)[keyof typeof EventField];
|
|
20
|
+
export type EventField = (typeof EventField)[keyof typeof EventField] | string;
|
|
@@ -4,4 +4,4 @@ export declare const EventTriggerType: {
|
|
|
4
4
|
readonly InboxItemCreated: "INBOX_ITEM_CREATED";
|
|
5
5
|
readonly EventCreated: "EVENT_CREATED";
|
|
6
6
|
};
|
|
7
|
-
export type EventTriggerType = (typeof EventTriggerType)[keyof typeof EventTriggerType];
|
|
7
|
+
export type EventTriggerType = (typeof EventTriggerType)[keyof typeof EventTriggerType] | string;
|
|
@@ -3,4 +3,4 @@ export declare const InboxItemSeverity: {
|
|
|
3
3
|
readonly Medium: "MEDIUM";
|
|
4
4
|
readonly High: "HIGH";
|
|
5
5
|
};
|
|
6
|
-
export type InboxItemSeverity = (typeof InboxItemSeverity)[keyof typeof InboxItemSeverity];
|
|
6
|
+
export type InboxItemSeverity = (typeof InboxItemSeverity)[keyof typeof InboxItemSeverity] | string;
|
|
@@ -15,4 +15,4 @@ export declare const InboxItemStatus: {
|
|
|
15
15
|
* The inbox item was ignored. */
|
|
16
16
|
readonly Ignored: "IGNORED";
|
|
17
17
|
};
|
|
18
|
-
export type InboxItemStatus = (typeof InboxItemStatus)[keyof typeof InboxItemStatus];
|
|
18
|
+
export type InboxItemStatus = (typeof InboxItemStatus)[keyof typeof InboxItemStatus] | string;
|
|
@@ -9,4 +9,4 @@ export declare const InboxItemType: {
|
|
|
9
9
|
* The inbox item is a custom api-provided inbox item. */
|
|
10
10
|
readonly Custom: "CUSTOM";
|
|
11
11
|
};
|
|
12
|
-
export type InboxItemType = (typeof InboxItemType)[keyof typeof InboxItemType];
|
|
12
|
+
export type InboxItemType = (typeof InboxItemType)[keyof typeof InboxItemType] | string;
|
|
@@ -3,4 +3,4 @@ export declare const LlmInclusionStatus: {
|
|
|
3
3
|
readonly WhenRelevant: "WHEN_RELEVANT";
|
|
4
4
|
readonly Never: "NEVER";
|
|
5
5
|
};
|
|
6
|
-
export type LlmInclusionStatus = (typeof LlmInclusionStatus)[keyof typeof LlmInclusionStatus];
|
|
6
|
+
export type LlmInclusionStatus = (typeof LlmInclusionStatus)[keyof typeof LlmInclusionStatus] | string;
|
|
@@ -16,4 +16,4 @@ export declare const MessageStatus: {
|
|
|
16
16
|
readonly Failed: "FAILED";
|
|
17
17
|
readonly Unknown: "UNKNOWN";
|
|
18
18
|
};
|
|
19
|
-
export type MessageStatus = (typeof MessageStatus)[keyof typeof MessageStatus];
|
|
19
|
+
export type MessageStatus = (typeof MessageStatus)[keyof typeof MessageStatus] | string;
|
|
@@ -19,4 +19,4 @@ export declare const NumericComparisonOperator: {
|
|
|
19
19
|
* Greater than or equals (>=) */
|
|
20
20
|
readonly Ge: "GE";
|
|
21
21
|
};
|
|
22
|
-
export type NumericComparisonOperator = (typeof NumericComparisonOperator)[keyof typeof NumericComparisonOperator];
|
|
22
|
+
export type NumericComparisonOperator = (typeof NumericComparisonOperator)[keyof typeof NumericComparisonOperator] | string;
|
|
@@ -7,4 +7,4 @@ export declare const NumericMembershipOperator: {
|
|
|
7
7
|
* Value is not in the set (∉) */
|
|
8
8
|
readonly NotIn: "NOT_IN";
|
|
9
9
|
};
|
|
10
|
-
export type NumericMembershipOperator = (typeof NumericMembershipOperator)[keyof typeof NumericMembershipOperator];
|
|
10
|
+
export type NumericMembershipOperator = (typeof NumericMembershipOperator)[keyof typeof NumericMembershipOperator] | string;
|
|
@@ -7,4 +7,4 @@ export declare const OAuthAuthenticationMethod: {
|
|
|
7
7
|
* Credentials in request body (default) */
|
|
8
8
|
readonly Post: "post";
|
|
9
9
|
};
|
|
10
|
-
export type OAuthAuthenticationMethod = (typeof OAuthAuthenticationMethod)[keyof typeof OAuthAuthenticationMethod];
|
|
10
|
+
export type OAuthAuthenticationMethod = (typeof OAuthAuthenticationMethod)[keyof typeof OAuthAuthenticationMethod] | string;
|
|
@@ -57,4 +57,4 @@ export declare const PiiCategory: {
|
|
|
57
57
|
readonly UkNationalInsuranceNumber: "UkNationalInsuranceNumber";
|
|
58
58
|
readonly UkUniqueTaxpayerNumber: "UkUniqueTaxpayerNumber";
|
|
59
59
|
};
|
|
60
|
-
export type PiiCategory = (typeof PiiCategory)[keyof typeof PiiCategory];
|
|
60
|
+
export type PiiCategory = (typeof PiiCategory)[keyof typeof PiiCategory] | string;
|
|
@@ -2,4 +2,4 @@ export declare const PreconditionGroupOperator: {
|
|
|
2
2
|
readonly And: "AND";
|
|
3
3
|
readonly Or: "OR";
|
|
4
4
|
};
|
|
5
|
-
export type PreconditionGroupOperator = (typeof PreconditionGroupOperator)[keyof typeof PreconditionGroupOperator];
|
|
5
|
+
export type PreconditionGroupOperator = (typeof PreconditionGroupOperator)[keyof typeof PreconditionGroupOperator] | string;
|
|
@@ -21,4 +21,4 @@ export declare const PreconditionOperator: {
|
|
|
21
21
|
* Multiple values - check if NOT ALL values are in JSON array ({x,y} ⊄ array) */
|
|
22
22
|
readonly NotContainsAll: "NOT_CONTAINS_ALL";
|
|
23
23
|
};
|
|
24
|
-
export type PreconditionOperator = (typeof PreconditionOperator)[keyof typeof PreconditionOperator];
|
|
24
|
+
export type PreconditionOperator = (typeof PreconditionOperator)[keyof typeof PreconditionOperator] | string;
|
|
@@ -9,4 +9,4 @@ export declare const QualityReason: {
|
|
|
9
9
|
readonly Unknown: "UNKNOWN";
|
|
10
10
|
readonly NoBotReplies: "NO_BOT_REPLIES";
|
|
11
11
|
};
|
|
12
|
-
export type QualityReason = (typeof QualityReason)[keyof typeof QualityReason];
|
|
12
|
+
export type QualityReason = (typeof QualityReason)[keyof typeof QualityReason] | string;
|
|
@@ -5,6 +5,8 @@ export declare const ResolutionStatus: {
|
|
|
5
5
|
readonly Resolved: "RESOLVED";
|
|
6
6
|
readonly Escalated: "ESCALATED";
|
|
7
7
|
readonly NegativeFeedback: "NEGATIVE_FEEDBACK";
|
|
8
|
+
readonly ContentSafetyFlagged: "CONTENT_SAFETY_FLAGGED";
|
|
9
|
+
readonly PromptAttackFlagged: "PROMPT_ATTACK_FLAGGED";
|
|
8
10
|
readonly Ineligible: "INELIGIBLE";
|
|
9
11
|
};
|
|
10
|
-
export type ResolutionStatus = (typeof ResolutionStatus)[keyof typeof ResolutionStatus];
|
|
12
|
+
export type ResolutionStatus = (typeof ResolutionStatus)[keyof typeof ResolutionStatus] | string;
|
|
@@ -3,4 +3,4 @@ export declare const ResponseLength: {
|
|
|
3
3
|
readonly Medium: "MEDIUM";
|
|
4
4
|
readonly Long: "LONG";
|
|
5
5
|
};
|
|
6
|
-
export type ResponseLength = (typeof ResponseLength)[keyof typeof ResponseLength];
|
|
6
|
+
export type ResponseLength = (typeof ResponseLength)[keyof typeof ResponseLength] | string;
|
|
@@ -7,4 +7,4 @@ export declare const SetElementOperator: {
|
|
|
7
7
|
* Set does not contain the value (∌) */
|
|
8
8
|
readonly NotContains: "NOT_CONTAINS";
|
|
9
9
|
};
|
|
10
|
-
export type SetElementOperator = (typeof SetElementOperator)[keyof typeof SetElementOperator];
|
|
10
|
+
export type SetElementOperator = (typeof SetElementOperator)[keyof typeof SetElementOperator] | string;
|
|
@@ -25,4 +25,4 @@ export declare const SetRelationOperator: {
|
|
|
25
25
|
* Set is not a subset of the values (A ⊈ B) */
|
|
26
26
|
readonly NotSubsetOf: "NOT_SUBSET_OF";
|
|
27
27
|
};
|
|
28
|
-
export type SetRelationOperator = (typeof SetRelationOperator)[keyof typeof SetRelationOperator];
|
|
28
|
+
export type SetRelationOperator = (typeof SetRelationOperator)[keyof typeof SetRelationOperator] | string;
|
|
@@ -25,4 +25,4 @@ export declare const StringComparisonOperator: {
|
|
|
25
25
|
* String does not end with the specified suffix */
|
|
26
26
|
readonly NotEndsWith: "NOT_ENDS_WITH";
|
|
27
27
|
};
|
|
28
|
-
export type StringComparisonOperator = (typeof StringComparisonOperator)[keyof typeof StringComparisonOperator];
|
|
28
|
+
export type StringComparisonOperator = (typeof StringComparisonOperator)[keyof typeof StringComparisonOperator] | string;
|
|
@@ -7,4 +7,4 @@ export declare const StringMembershipOperator: {
|
|
|
7
7
|
* Value is not in the set (∉) */
|
|
8
8
|
readonly NotIn: "NOT_IN";
|
|
9
9
|
};
|
|
10
|
-
export type StringMembershipOperator = (typeof StringMembershipOperator)[keyof typeof StringMembershipOperator];
|
|
10
|
+
export type StringMembershipOperator = (typeof StringMembershipOperator)[keyof typeof StringMembershipOperator] | string;
|
|
@@ -9,4 +9,4 @@ export declare const SystemEventName: {
|
|
|
9
9
|
* An app was updated */
|
|
10
10
|
readonly AppUpdated: "APP_UPDATED";
|
|
11
11
|
};
|
|
12
|
-
export type SystemEventName = (typeof SystemEventName)[keyof typeof SystemEventName];
|
|
12
|
+
export type SystemEventName = (typeof SystemEventName)[keyof typeof SystemEventName] | string;
|
|
@@ -4,4 +4,4 @@ export declare const UserConversationMessageType: {
|
|
|
4
4
|
readonly HumanAgent: "HUMAN_AGENT";
|
|
5
5
|
readonly ExternalSystem: "EXTERNAL_SYSTEM";
|
|
6
6
|
};
|
|
7
|
-
export type UserConversationMessageType = (typeof UserConversationMessageType)[keyof typeof UserConversationMessageType];
|
|
7
|
+
export type UserConversationMessageType = (typeof UserConversationMessageType)[keyof typeof UserConversationMessageType] | string;
|
|
@@ -18,4 +18,4 @@ export declare const UserEventName: {
|
|
|
18
18
|
* A CSAT rating was submitted */
|
|
19
19
|
readonly CsatSubmitted: "CSAT_SUBMITTED";
|
|
20
20
|
};
|
|
21
|
-
export type UserEventName = (typeof UserEventName)[keyof typeof UserEventName];
|
|
21
|
+
export type UserEventName = (typeof UserEventName)[keyof typeof UserEventName] | string;
|
|
@@ -3,4 +3,4 @@ export declare const UserMessageResponseState: {
|
|
|
3
3
|
readonly LlmEnabled: "LLM_ENABLED";
|
|
4
4
|
readonly LlmDisabled: "LLM_DISABLED";
|
|
5
5
|
};
|
|
6
|
-
export type UserMessageResponseState = (typeof UserMessageResponseState)[keyof typeof UserMessageResponseState];
|
|
6
|
+
export type UserMessageResponseState = (typeof UserMessageResponseState)[keyof typeof UserMessageResponseState] | string;
|
|
@@ -3,4 +3,4 @@ export declare const VisibilityType: {
|
|
|
3
3
|
readonly PartiallyVisible: "PARTIALLY_VISIBLE";
|
|
4
4
|
readonly Hidden: "HIDDEN";
|
|
5
5
|
};
|
|
6
|
-
export type VisibilityType = (typeof VisibilityType)[keyof typeof VisibilityType];
|
|
6
|
+
export type VisibilityType = (typeof VisibilityType)[keyof typeof VisibilityType] | string;
|
|
@@ -30,4 +30,4 @@ export declare const ConversationField: {
|
|
|
30
30
|
readonly InboxItems: "InboxItems";
|
|
31
31
|
readonly InvolvedApps: "InvolvedApps";
|
|
32
32
|
};
|
|
33
|
-
export type ConversationField = (typeof ConversationField)[keyof typeof ConversationField];
|
|
33
|
+
export type ConversationField = (typeof ConversationField)[keyof typeof ConversationField] | string;
|
|
@@ -3,4 +3,4 @@ export declare const DeliveryStatus: {
|
|
|
3
3
|
readonly Failed: "FAILED";
|
|
4
4
|
readonly Queued: "QUEUED";
|
|
5
5
|
};
|
|
6
|
-
export type DeliveryStatus = (typeof DeliveryStatus)[keyof typeof DeliveryStatus];
|
|
6
|
+
export type DeliveryStatus = (typeof DeliveryStatus)[keyof typeof DeliveryStatus] | string;
|
|
@@ -10,4 +10,4 @@ export declare const IntelligentFieldOperator: {
|
|
|
10
10
|
readonly Exists: "EXISTS";
|
|
11
11
|
readonly NotExists: "NOT_EXISTS";
|
|
12
12
|
};
|
|
13
|
-
export type IntelligentFieldOperator = (typeof IntelligentFieldOperator)[keyof typeof IntelligentFieldOperator];
|
|
13
|
+
export type IntelligentFieldOperator = (typeof IntelligentFieldOperator)[keyof typeof IntelligentFieldOperator] | string;
|
|
@@ -9,4 +9,4 @@ export declare const NumericConversationField: {
|
|
|
9
9
|
readonly PredictedNps: "PredictedNPS";
|
|
10
10
|
readonly Csat: "Csat";
|
|
11
11
|
};
|
|
12
|
-
export type NumericConversationField = (typeof NumericConversationField)[keyof typeof NumericConversationField];
|
|
12
|
+
export type NumericConversationField = (typeof NumericConversationField)[keyof typeof NumericConversationField] | string;
|
|
@@ -3,4 +3,4 @@ export declare const SimulationFilter: {
|
|
|
3
3
|
readonly Simulations: "SIMULATIONS";
|
|
4
4
|
readonly All: "ALL";
|
|
5
5
|
};
|
|
6
|
-
export type SimulationFilter = (typeof SimulationFilter)[keyof typeof SimulationFilter];
|
|
6
|
+
export type SimulationFilter = (typeof SimulationFilter)[keyof typeof SimulationFilter] | string;
|
|
@@ -2,4 +2,4 @@ export declare const CustomerField: {
|
|
|
2
2
|
readonly CreatedAt: "CreatedAt";
|
|
3
3
|
readonly Name: "Name";
|
|
4
4
|
};
|
|
5
|
-
export type CustomerField = (typeof CustomerField)[keyof typeof CustomerField];
|
|
5
|
+
export type CustomerField = (typeof CustomerField)[keyof typeof CustomerField] | string;
|
|
@@ -2,4 +2,4 @@ export declare const CustomerStatus: {
|
|
|
2
2
|
readonly Active: "ACTIVE";
|
|
3
3
|
readonly Inactive: "INACTIVE";
|
|
4
4
|
};
|
|
5
|
-
export type CustomerStatus = (typeof CustomerStatus)[keyof typeof CustomerStatus];
|
|
5
|
+
export type CustomerStatus = (typeof CustomerStatus)[keyof typeof CustomerStatus] | string;
|
|
@@ -5,4 +5,4 @@ export declare const AppCapability: {
|
|
|
5
5
|
readonly Personalization: "PERSONALIZATION";
|
|
6
6
|
readonly Triggers: "TRIGGERS";
|
|
7
7
|
};
|
|
8
|
-
export type AppCapability = (typeof AppCapability)[keyof typeof AppCapability];
|
|
8
|
+
export type AppCapability = (typeof AppCapability)[keyof typeof AppCapability] | string;
|
|
@@ -7,4 +7,4 @@ export declare const AppCategory: {
|
|
|
7
7
|
readonly ProjectManagement: "PROJECT_MANAGEMENT";
|
|
8
8
|
readonly Voice: "VOICE";
|
|
9
9
|
};
|
|
10
|
-
export type AppCategory = (typeof AppCategory)[keyof typeof AppCategory];
|
|
10
|
+
export type AppCategory = (typeof AppCategory)[keyof typeof AppCategory] | string;
|
|
@@ -3,4 +3,4 @@ export declare const AppVisibility: {
|
|
|
3
3
|
readonly Private: "PRIVATE";
|
|
4
4
|
readonly Public: "PUBLIC";
|
|
5
5
|
};
|
|
6
|
-
export type AppVisibility = (typeof AppVisibility)[keyof typeof AppVisibility];
|
|
6
|
+
export type AppVisibility = (typeof AppVisibility)[keyof typeof AppVisibility] | string;
|
|
@@ -3,4 +3,4 @@ export declare const KnowledgeBaseField: {
|
|
|
3
3
|
readonly CreatedAt: "CreatedAt";
|
|
4
4
|
readonly UpdatedAt: "UpdatedAt";
|
|
5
5
|
};
|
|
6
|
-
export type KnowledgeBaseField = (typeof KnowledgeBaseField)[keyof typeof KnowledgeBaseField];
|
|
6
|
+
export type KnowledgeBaseField = (typeof KnowledgeBaseField)[keyof typeof KnowledgeBaseField] | string;
|
|
@@ -4,4 +4,4 @@ export declare const KnowledgeBaseRefreshFrequency: {
|
|
|
4
4
|
readonly Weekly: "WEEKLY";
|
|
5
5
|
readonly Monthly: "MONTHLY";
|
|
6
6
|
};
|
|
7
|
-
export type KnowledgeBaseRefreshFrequency = (typeof KnowledgeBaseRefreshFrequency)[keyof typeof KnowledgeBaseRefreshFrequency];
|
|
7
|
+
export type KnowledgeBaseRefreshFrequency = (typeof KnowledgeBaseRefreshFrequency)[keyof typeof KnowledgeBaseRefreshFrequency] | string;
|
|
@@ -9,4 +9,4 @@ export declare const KnowledgeBaseType: {
|
|
|
9
9
|
readonly Rss: "RSS";
|
|
10
10
|
readonly Legacy: "LEGACY";
|
|
11
11
|
};
|
|
12
|
-
export type KnowledgeBaseType = (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
12
|
+
export type KnowledgeBaseType = (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType] | string;
|
|
@@ -3,4 +3,4 @@ export declare const KnowledgeBaseVersionFinalizeStatus: {
|
|
|
3
3
|
readonly Succeeded: "SUCCEEDED";
|
|
4
4
|
readonly Failed: "FAILED";
|
|
5
5
|
};
|
|
6
|
-
export type KnowledgeBaseVersionFinalizeStatus = (typeof KnowledgeBaseVersionFinalizeStatus)[keyof typeof KnowledgeBaseVersionFinalizeStatus];
|
|
6
|
+
export type KnowledgeBaseVersionFinalizeStatus = (typeof KnowledgeBaseVersionFinalizeStatus)[keyof typeof KnowledgeBaseVersionFinalizeStatus] | string;
|
|
@@ -4,4 +4,4 @@ export declare const KnowledgeBaseVersionStatus: {
|
|
|
4
4
|
readonly Failed: "FAILED";
|
|
5
5
|
readonly InProgress: "IN_PROGRESS";
|
|
6
6
|
};
|
|
7
|
-
export type KnowledgeBaseVersionStatus = (typeof KnowledgeBaseVersionStatus)[keyof typeof KnowledgeBaseVersionStatus];
|
|
7
|
+
export type KnowledgeBaseVersionStatus = (typeof KnowledgeBaseVersionStatus)[keyof typeof KnowledgeBaseVersionStatus] | string;
|
|
@@ -3,4 +3,4 @@ export declare const KnowledgeBaseVersionType: {
|
|
|
3
3
|
readonly Full: "FULL";
|
|
4
4
|
readonly Partial: "PARTIAL";
|
|
5
5
|
};
|
|
6
|
-
export type KnowledgeBaseVersionType = (typeof KnowledgeBaseVersionType)[keyof typeof KnowledgeBaseVersionType];
|
|
6
|
+
export type KnowledgeBaseVersionType = (typeof KnowledgeBaseVersionType)[keyof typeof KnowledgeBaseVersionType] | string;
|
|
@@ -3,4 +3,4 @@ export declare const KnowledgeDocumentContentType: {
|
|
|
3
3
|
readonly Html: "HTML";
|
|
4
4
|
readonly Markdown: "MARKDOWN";
|
|
5
5
|
};
|
|
6
|
-
export type KnowledgeDocumentContentType = (typeof KnowledgeDocumentContentType)[keyof typeof KnowledgeDocumentContentType];
|
|
6
|
+
export type KnowledgeDocumentContentType = (typeof KnowledgeDocumentContentType)[keyof typeof KnowledgeDocumentContentType] | string;
|
|
@@ -4,4 +4,4 @@ export declare const KnowledgeDocumentField: {
|
|
|
4
4
|
readonly UpdatedAt: "UpdatedAt";
|
|
5
5
|
readonly Language: "Language";
|
|
6
6
|
};
|
|
7
|
-
export type KnowledgeDocumentField = (typeof KnowledgeDocumentField)[keyof typeof KnowledgeDocumentField];
|
|
7
|
+
export type KnowledgeDocumentField = (typeof KnowledgeDocumentField)[keyof typeof KnowledgeDocumentField] | string;
|
|
@@ -3,4 +3,4 @@ export declare const KnowledgeDocumentStatus: {
|
|
|
3
3
|
readonly Succeeded: "SUCCEEDED";
|
|
4
4
|
readonly InProgress: "IN_PROGRESS";
|
|
5
5
|
};
|
|
6
|
-
export type KnowledgeDocumentStatus = (typeof KnowledgeDocumentStatus)[keyof typeof KnowledgeDocumentStatus];
|
|
6
|
+
export type KnowledgeDocumentStatus = (typeof KnowledgeDocumentStatus)[keyof typeof KnowledgeDocumentStatus] | string;
|
|
@@ -3,4 +3,4 @@ export declare const SegmentStatus: {
|
|
|
3
3
|
readonly Inactive: "INACTIVE";
|
|
4
4
|
readonly Deleted: "DELETED";
|
|
5
5
|
};
|
|
6
|
-
export type SegmentStatus = (typeof SegmentStatus)[keyof typeof SegmentStatus];
|
|
6
|
+
export type SegmentStatus = (typeof SegmentStatus)[keyof typeof SegmentStatus] | string;
|
|
@@ -2,4 +2,4 @@ export declare const TriggerField: {
|
|
|
2
2
|
readonly CreatedAt: "CreatedAt";
|
|
3
3
|
readonly Enabled: "Enabled";
|
|
4
4
|
};
|
|
5
|
-
export type TriggerField = (typeof TriggerField)[keyof typeof TriggerField];
|
|
5
|
+
export type TriggerField = (typeof TriggerField)[keyof typeof TriggerField] | string;
|
|
@@ -2,4 +2,4 @@ export declare const AgentUserField: {
|
|
|
2
2
|
readonly CreatedAt: "CreatedAt";
|
|
3
3
|
readonly UpdatedAt: "UpdatedAt";
|
|
4
4
|
};
|
|
5
|
-
export type AgentUserField = (typeof AgentUserField)[keyof typeof AgentUserField];
|
|
5
|
+
export type AgentUserField = (typeof AgentUserField)[keyof typeof AgentUserField] | string;
|
|
@@ -2,4 +2,4 @@ export declare const VoiceTokenType: {
|
|
|
2
2
|
readonly Webrtc: "webrtc";
|
|
3
3
|
readonly Websocket: "websocket";
|
|
4
4
|
};
|
|
5
|
-
export type VoiceTokenType = (typeof VoiceTokenType)[keyof typeof VoiceTokenType];
|
|
5
|
+
export type VoiceTokenType = (typeof VoiceTokenType)[keyof typeof VoiceTokenType] | string;
|
package/package.json
CHANGED
|
@@ -36,4 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ActionField = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
exports.ActionField = core.serialization.
|
|
39
|
+
exports.ActionField = core.serialization.forwardCompatibleEnum_([
|
|
40
|
+
"AppId",
|
|
41
|
+
"Name",
|
|
42
|
+
"LlmInclusionStatus",
|
|
43
|
+
"UserInteractionRequired",
|
|
44
|
+
"CreatedAt",
|
|
45
|
+
]);
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentEnvironment = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
exports.AgentEnvironment = core.serialization.
|
|
39
|
+
exports.AgentEnvironment = core.serialization.forwardCompatibleEnum_(["DEMO", "STAGING", "PRODUCTION"]);
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentField = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
exports.AgentField = core.serialization.
|
|
39
|
+
exports.AgentField = core.serialization.forwardCompatibleEnum_(["CREATED_AT", "ENVIRONMENT"]);
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.TimeInterval = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
exports.TimeInterval = core.serialization.
|
|
39
|
+
exports.TimeInterval = core.serialization.forwardCompatibleEnum_(["HOUR", "DAY", "WEEK", "MONTH", "YEAR"]);
|