mavenagi 1.2.73 → 1.2.74
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/Client.d.ts +3 -0
- package/Client.js +41 -36
- package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +11 -0
- package/api/resources/actions/types/ActionRequest.d.ts +5 -0
- package/api/resources/agentVariants/types/AgentVariantResponse.d.ts +3 -1
- package/api/resources/agents/client/Client.d.ts +22 -12
- package/api/resources/agents/client/Client.js +22 -12
- package/api/resources/agents/types/AgentMigrations.d.ts +1 -1
- package/api/resources/agents/types/AgentSettingName.d.ts +1 -1
- package/api/resources/agents/types/AgentSettingName.js +1 -1
- package/api/resources/agents/types/VersionedAgentSettings.d.ts +1 -1
- package/api/resources/appDirectory/client/Client.d.ts +6 -2
- package/api/resources/appDirectory/client/Client.js +6 -2
- package/api/resources/apps/client/Client.d.ts +139 -0
- package/api/resources/apps/client/Client.js +504 -0
- package/api/resources/apps/client/index.d.ts +1 -0
- package/api/resources/apps/client/index.js +2 -0
- package/api/resources/apps/exports.d.ts +2 -0
- package/api/resources/apps/exports.js +21 -0
- package/api/resources/apps/index.d.ts +2 -0
- package/api/resources/apps/index.js +18 -0
- package/api/resources/apps/types/AppPatchRequest.d.ts +26 -0
- package/api/resources/apps/types/AppPatchRequest.js +3 -0
- package/api/resources/apps/types/AppRequest.d.ts +38 -0
- package/api/resources/apps/types/AppRequest.js +3 -0
- package/api/resources/apps/types/AppResponse.d.ts +29 -0
- package/api/resources/apps/types/AppResponse.js +3 -0
- package/api/resources/apps/types/AppsSearchRequest.d.ts +3 -0
- package/api/resources/apps/types/AppsSearchRequest.js +3 -0
- package/api/resources/apps/types/AppsSearchResponse.d.ts +5 -0
- package/api/resources/apps/types/AppsSearchResponse.js +3 -0
- package/api/resources/apps/types/index.d.ts +5 -0
- package/api/resources/apps/types/index.js +21 -0
- package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +7 -0
- package/api/resources/commons/types/ActionResponse.d.ts +2 -0
- package/api/resources/commons/types/AttachmentNotSentToModelReason.d.ts +11 -0
- package/api/resources/commons/types/AttachmentNotSentToModelReason.js +14 -0
- package/api/resources/commons/types/AttachmentNotSentToModelWarning.d.ts +10 -0
- package/api/resources/commons/types/AttachmentNotSentToModelWarning.js +3 -0
- package/api/resources/commons/types/BaseConversationResponse.d.ts +4 -0
- package/api/resources/commons/types/BotMessage.d.ts +9 -0
- package/api/resources/commons/types/BotMessageWarning.d.ts +13 -0
- package/api/resources/commons/types/BotMessageWarning.js +3 -0
- package/api/resources/commons/types/ChangeAuthor.d.ts +1 -1
- package/api/resources/commons/types/EntityType.d.ts +3 -0
- package/api/resources/commons/types/EntityType.js +3 -0
- package/api/resources/commons/types/ErrorMessage.d.ts +2 -0
- package/api/resources/commons/types/ErrorReason.d.ts +7 -1
- package/api/resources/commons/types/ErrorReason.js +7 -1
- package/api/resources/commons/types/Feedback.d.ts +8 -0
- package/api/resources/commons/types/FieldError.d.ts +6 -0
- package/api/resources/commons/types/FieldError.js +3 -0
- package/api/resources/commons/types/InboxItemBase.d.ts +13 -0
- package/api/resources/commons/types/IntelligentFieldValueResponse.d.ts +13 -1
- package/api/resources/commons/types/UserEvent.d.ts +8 -0
- package/api/resources/commons/types/UserMessage.d.ts +4 -0
- package/api/resources/commons/types/index.d.ts +4 -0
- package/api/resources/commons/types/index.js +4 -0
- package/api/resources/conversation/client/Client.d.ts +1 -1
- package/api/resources/conversation/client/Client.js +1 -1
- package/api/resources/conversation/types/AskRequestFields.d.ts +3 -2
- package/api/resources/conversation/types/ConversationFilter.d.ts +2 -2
- package/api/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -1
- package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +5 -0
- package/api/resources/conversationKickoffs/types/ConversationKickoff.d.ts +2 -0
- package/api/resources/developersCommons/types/AppDirectoryDetails.d.ts +23 -0
- package/api/resources/developersCommons/types/AppDirectoryDetails.js +3 -0
- package/api/resources/developersCommons/types/AppDirectoryListing.d.ts +14 -0
- package/api/resources/developersCommons/types/AppDirectoryListing.js +3 -0
- package/api/resources/developersCommons/types/BaseApp.d.ts +1 -9
- package/api/resources/developersCommons/types/BaseDetailApp.d.ts +1 -18
- package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +5 -2
- package/api/resources/developersCommons/types/index.d.ts +2 -0
- package/api/resources/developersCommons/types/index.js +2 -0
- package/api/resources/events/client/Client.d.ts +1 -1
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +4 -1
- package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +5 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +5 -0
- package/api/resources/triggers/types/EventTriggerRequest.d.ts +5 -0
- package/api/resources/triggers/types/EventTriggerResponse.d.ts +2 -0
- package/api/resources/users/types/AgentUser.d.ts +13 -0
- package/package.json +1 -1
- package/reference.md +340 -16
- package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +4 -0
- package/serialization/resources/actions/client/requests/ActionPatchRequest.js +4 -0
- package/serialization/resources/actions/types/ActionRequest.d.ts +2 -0
- package/serialization/resources/actions/types/ActionRequest.js +2 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.d.ts +1 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.js +1 -0
- package/serialization/resources/apps/index.d.ts +1 -0
- package/serialization/resources/apps/index.js +17 -0
- package/serialization/resources/apps/types/AppPatchRequest.d.ts +21 -0
- package/serialization/resources/apps/types/AppPatchRequest.js +54 -0
- package/serialization/resources/apps/types/AppRequest.d.ts +13 -0
- package/serialization/resources/apps/types/AppRequest.js +48 -0
- package/serialization/resources/apps/types/AppResponse.d.ts +11 -0
- package/serialization/resources/apps/types/AppResponse.js +45 -0
- package/serialization/resources/apps/types/AppsSearchRequest.d.ts +9 -0
- package/serialization/resources/apps/types/AppsSearchRequest.js +40 -0
- package/serialization/resources/apps/types/AppsSearchResponse.d.ts +11 -0
- package/serialization/resources/apps/types/AppsSearchResponse.js +45 -0
- package/serialization/resources/apps/types/index.d.ts +5 -0
- package/serialization/resources/apps/types/index.js +21 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +2 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +2 -0
- package/serialization/resources/commons/types/ActionResponse.d.ts +2 -0
- package/serialization/resources/commons/types/ActionResponse.js +2 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelReason.d.ts +7 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelReason.js +39 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelWarning.d.ts +13 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelWarning.js +45 -0
- package/serialization/resources/commons/types/BaseConversationResponse.d.ts +3 -0
- package/serialization/resources/commons/types/BaseConversationResponse.js +3 -0
- package/serialization/resources/commons/types/BotMessage.d.ts +5 -0
- package/serialization/resources/commons/types/BotMessage.js +5 -0
- package/serialization/resources/commons/types/BotMessageWarning.d.ts +11 -0
- package/serialization/resources/commons/types/BotMessageWarning.js +47 -0
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +1 -0
- package/serialization/resources/commons/types/ErrorMessage.d.ts +2 -0
- package/serialization/resources/commons/types/ErrorMessage.js +2 -0
- package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
- package/serialization/resources/commons/types/ErrorReason.js +2 -0
- package/serialization/resources/commons/types/Feedback.d.ts +2 -0
- package/serialization/resources/commons/types/Feedback.js +2 -0
- package/serialization/resources/commons/types/FieldError.d.ts +10 -0
- package/serialization/resources/commons/types/FieldError.js +42 -0
- package/serialization/resources/commons/types/InboxItemBase.d.ts +3 -0
- package/serialization/resources/commons/types/InboxItemBase.js +3 -0
- package/serialization/resources/commons/types/IntelligentFieldValueResponse.d.ts +2 -0
- package/serialization/resources/commons/types/IntelligentFieldValueResponse.js +2 -0
- package/serialization/resources/commons/types/UserEvent.d.ts +2 -0
- package/serialization/resources/commons/types/UserEvent.js +2 -0
- package/serialization/resources/commons/types/UserMessage.d.ts +3 -0
- package/serialization/resources/commons/types/UserMessage.js +3 -0
- package/serialization/resources/commons/types/index.d.ts +4 -0
- package/serialization/resources/commons/types/index.js +4 -0
- package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +2 -0
- package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +2 -0
- package/serialization/resources/conversationKickoffs/types/ConversationKickoff.d.ts +2 -0
- package/serialization/resources/conversationKickoffs/types/ConversationKickoff.js +2 -0
- package/serialization/resources/developersCommons/types/AppDirectoryDetails.d.ts +13 -0
- package/serialization/resources/developersCommons/types/AppDirectoryDetails.js +46 -0
- package/serialization/resources/developersCommons/types/AppDirectoryListing.d.ts +14 -0
- package/serialization/resources/developersCommons/types/AppDirectoryListing.js +46 -0
- package/serialization/resources/developersCommons/types/BaseApp.d.ts +2 -7
- package/serialization/resources/developersCommons/types/BaseApp.js +5 -8
- package/serialization/resources/developersCommons/types/BaseDetailApp.d.ts +3 -7
- package/serialization/resources/developersCommons/types/BaseDetailApp.js +3 -7
- package/serialization/resources/developersCommons/types/index.d.ts +2 -0
- package/serialization/resources/developersCommons/types/index.js +2 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +2 -0
- package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +2 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +2 -0
- package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -0
- package/serialization/resources/triggers/types/EventTriggerRequest.js +2 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.js +2 -0
- package/serialization/resources/users/types/AgentUser.d.ts +3 -0
- package/serialization/resources/users/types/AgentUser.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -39,8 +39,10 @@ const core = __importStar(require("../../../../core"));
|
|
|
39
39
|
const BotConversationMessageType_1 = require("./BotConversationMessageType");
|
|
40
40
|
const BotLogic_1 = require("./BotLogic");
|
|
41
41
|
const BotMessageStatusReason_1 = require("./BotMessageStatusReason");
|
|
42
|
+
const BotMessageWarning_1 = require("./BotMessageWarning");
|
|
42
43
|
const BotResponse_1 = require("./BotResponse");
|
|
43
44
|
const BotResponseMetadata_1 = require("./BotResponseMetadata");
|
|
45
|
+
const ChangeAuthor_1 = require("./ChangeAuthor");
|
|
44
46
|
const ConversationMessageBase_1 = require("./ConversationMessageBase");
|
|
45
47
|
const EntityId_1 = require("./EntityId");
|
|
46
48
|
const MessageStatus_1 = require("./MessageStatus");
|
|
@@ -53,5 +55,8 @@ exports.BotMessage = core.serialization
|
|
|
53
55
|
status: MessageStatus_1.MessageStatus,
|
|
54
56
|
logic: BotLogic_1.BotLogic.optional(),
|
|
55
57
|
statusReason: BotMessageStatusReason_1.BotMessageStatusReason.optional(),
|
|
58
|
+
warnings: core.serialization.list(BotMessageWarning_1.BotMessageWarning).optional(),
|
|
59
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
60
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
56
61
|
})
|
|
57
62
|
.extend(ConversationMessageBase_1.ConversationMessageBase);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AttachmentNotSentToModelWarning } from "./AttachmentNotSentToModelWarning";
|
|
5
|
+
export declare const BotMessageWarning: core.serialization.Schema<serializers.BotMessageWarning.Raw, MavenAGI.BotMessageWarning>;
|
|
6
|
+
export declare namespace BotMessageWarning {
|
|
7
|
+
type Raw = BotMessageWarning.AttachmentNotSentToModel;
|
|
8
|
+
interface AttachmentNotSentToModel extends AttachmentNotSentToModelWarning.Raw {
|
|
9
|
+
type: "attachmentNotSentToModel";
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BotMessageWarning = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const AttachmentNotSentToModelWarning_1 = require("./AttachmentNotSentToModelWarning");
|
|
40
|
+
exports.BotMessageWarning = core.serialization
|
|
41
|
+
.union("type", {
|
|
42
|
+
attachmentNotSentToModel: AttachmentNotSentToModelWarning_1.AttachmentNotSentToModelWarning,
|
|
43
|
+
})
|
|
44
|
+
.transform({
|
|
45
|
+
transform: (value) => value,
|
|
46
|
+
untransform: (value) => value,
|
|
47
|
+
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const EntityType: core.serialization.Schema<serializers.EntityType.Raw, MavenAGI.EntityType>;
|
|
5
5
|
export declare namespace EntityType {
|
|
6
|
-
type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "AGENT_USER" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD" | "CHARTER" | "CONVERSATION_KICKOFF" | "AGENT_VARIANT" | "ASSET" | "TRAFFIC_CONFIG" | "SCENARIO" | "SCENARIO_SUITE" | "SCENARIO_RUN" | "FUNCTION" | "FUNCTION_VERSION" | "MAVEN_USER";
|
|
6
|
+
type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "AGENT_USER" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD" | "CHARTER" | "CONVERSATION_KICKOFF" | "AGENT_VARIANT" | "ASSET" | "TRAFFIC_CONFIG" | "SCENARIO" | "SCENARIO_SUITE" | "SCENARIO_RUN" | "SCENARIO_RESULT" | "FUNCTION" | "FUNCTION_VERSION" | "MAVEN_USER";
|
|
7
7
|
}
|
|
@@ -2,6 +2,7 @@ import type * as MavenAGI from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { ErrorReason } from "./ErrorReason";
|
|
5
|
+
import { FieldError } from "./FieldError";
|
|
5
6
|
export declare const ErrorMessage: core.serialization.ObjectSchema<serializers.ErrorMessage.Raw, MavenAGI.ErrorMessage>;
|
|
6
7
|
export declare namespace ErrorMessage {
|
|
7
8
|
interface Raw {
|
|
@@ -9,5 +10,6 @@ export declare namespace ErrorMessage {
|
|
|
9
10
|
error?: string | null;
|
|
10
11
|
message?: string | null;
|
|
11
12
|
reason?: ErrorReason.Raw | null;
|
|
13
|
+
fieldErrors?: FieldError.Raw[] | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -37,9 +37,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ErrorMessage = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const ErrorReason_1 = require("./ErrorReason");
|
|
40
|
+
const FieldError_1 = require("./FieldError");
|
|
40
41
|
exports.ErrorMessage = core.serialization.object({
|
|
41
42
|
status: core.serialization.number().optional(),
|
|
42
43
|
error: core.serialization.string().optional(),
|
|
43
44
|
message: core.serialization.string().optional(),
|
|
44
45
|
reason: ErrorReason_1.ErrorReason.optional(),
|
|
46
|
+
fieldErrors: core.serialization.list(FieldError_1.FieldError).optional(),
|
|
45
47
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const ErrorReason: core.serialization.Schema<serializers.ErrorReason.Raw, MavenAGI.ErrorReason>;
|
|
5
5
|
export declare namespace ErrorReason {
|
|
6
|
-
type Raw = "VARIANT_LIVE" | "VARIANT_NOT_ACTIVE" | "STALE_TRAFFIC_REVISION" | "STALE_WORKING_SET" | "NOTHING_TO_COMMIT" | "VARIANT_ALREADY_EXISTS" | "VARIANT_LIMIT_REACHED" | "CANNOT_ARCHIVE_LIVE_VARIANT" | "VARIANT_HAS_STAGED_EDITS" | "VARIANT_REQUIRED" | "INTELLIGENT_FIELD_TYPE_CHANGED" | "WORKING_SET_HAS_UNVERSIONED_EDITS";
|
|
6
|
+
type Raw = "VARIANT_LIVE" | "VARIANT_NOT_ACTIVE" | "STALE_TRAFFIC_REVISION" | "STALE_WORKING_SET" | "NOTHING_TO_COMMIT" | "VARIANT_ALREADY_EXISTS" | "VARIANT_LIMIT_REACHED" | "CANNOT_ARCHIVE_LIVE_VARIANT" | "VARIANT_HAS_STAGED_EDITS" | "VARIANT_REQUIRED" | "CHARTER_MODE_REQUIRED" | "INTELLIGENT_FIELD_TYPE_CHANGED" | "WORKING_SET_HAS_UNVERSIONED_EDITS" | "INVALID_SETTINGS";
|
|
7
7
|
}
|
|
@@ -47,6 +47,8 @@ exports.ErrorReason = core.serialization.forwardCompatibleEnum_([
|
|
|
47
47
|
"CANNOT_ARCHIVE_LIVE_VARIANT",
|
|
48
48
|
"VARIANT_HAS_STAGED_EDITS",
|
|
49
49
|
"VARIANT_REQUIRED",
|
|
50
|
+
"CHARTER_MODE_REQUIRED",
|
|
50
51
|
"INTELLIGENT_FIELD_TYPE_CHANGED",
|
|
51
52
|
"WORKING_SET_HAS_UNVERSIONED_EDITS",
|
|
53
|
+
"INVALID_SETTINGS",
|
|
52
54
|
]);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { ChangeAuthor } from "./ChangeAuthor";
|
|
4
5
|
import { EntityId } from "./EntityId";
|
|
5
6
|
import { FeedbackBase } from "./FeedbackBase";
|
|
6
7
|
export declare const Feedback: core.serialization.ObjectSchema<serializers.Feedback.Raw, MavenAGI.Feedback>;
|
|
@@ -11,5 +12,6 @@ export declare namespace Feedback {
|
|
|
11
12
|
conversationMessageId: EntityId.Raw;
|
|
12
13
|
userId?: EntityId.Raw | null;
|
|
13
14
|
createdAt?: string | null;
|
|
15
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.Feedback = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("./ChangeAuthor");
|
|
39
40
|
const EntityId_1 = require("./EntityId");
|
|
40
41
|
const FeedbackBase_1 = require("./FeedbackBase");
|
|
41
42
|
exports.Feedback = core.serialization
|
|
@@ -45,5 +46,6 @@ exports.Feedback = core.serialization
|
|
|
45
46
|
conversationMessageId: EntityId_1.EntityId,
|
|
46
47
|
userId: EntityId_1.EntityId.optional(),
|
|
47
48
|
createdAt: core.serialization.date().optional(),
|
|
49
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
48
50
|
})
|
|
49
51
|
.extend(FeedbackBase_1.FeedbackBase);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const FieldError: core.serialization.ObjectSchema<serializers.FieldError.Raw, MavenAGI.FieldError>;
|
|
5
|
+
export declare namespace FieldError {
|
|
6
|
+
interface Raw {
|
|
7
|
+
path: string;
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.FieldError = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.FieldError = core.serialization.object({
|
|
40
|
+
path: core.serialization.string(),
|
|
41
|
+
message: core.serialization.string(),
|
|
42
|
+
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { ChangeAuthor } from "./ChangeAuthor";
|
|
4
5
|
import { EntityId } from "./EntityId";
|
|
5
6
|
import { InboxItemSeverity } from "./InboxItemSeverity";
|
|
6
7
|
import { InboxItemStatus } from "./InboxItemStatus";
|
|
@@ -10,6 +11,8 @@ export declare namespace InboxItemBase {
|
|
|
10
11
|
id: EntityId.Raw;
|
|
11
12
|
createdAt: string;
|
|
12
13
|
updatedAt: string;
|
|
14
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
15
|
+
updatedBy?: ChangeAuthor.Raw | null;
|
|
13
16
|
status: InboxItemStatus.Raw;
|
|
14
17
|
severity: InboxItemSeverity.Raw;
|
|
15
18
|
tags?: string[] | null;
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.InboxItemBase = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("./ChangeAuthor");
|
|
39
40
|
const EntityId_1 = require("./EntityId");
|
|
40
41
|
const InboxItemSeverity_1 = require("./InboxItemSeverity");
|
|
41
42
|
const InboxItemStatus_1 = require("./InboxItemStatus");
|
|
@@ -43,6 +44,8 @@ exports.InboxItemBase = core.serialization.object({
|
|
|
43
44
|
id: EntityId_1.EntityId,
|
|
44
45
|
createdAt: core.serialization.date(),
|
|
45
46
|
updatedAt: core.serialization.date(),
|
|
47
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
48
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
46
49
|
status: InboxItemStatus_1.InboxItemStatus,
|
|
47
50
|
severity: InboxItemSeverity_1.InboxItemSeverity,
|
|
48
51
|
tags: core.serialization.set(core.serialization.string()).optional(),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { ChangeAuthor } from "./ChangeAuthor";
|
|
4
5
|
import { EntityId } from "./EntityId";
|
|
5
6
|
export declare const IntelligentFieldValueResponse: core.serialization.ObjectSchema<serializers.IntelligentFieldValueResponse.Raw, MavenAGI.IntelligentFieldValueResponse>;
|
|
6
7
|
export declare namespace IntelligentFieldValueResponse {
|
|
@@ -12,5 +13,6 @@ export declare namespace IntelligentFieldValueResponse {
|
|
|
12
13
|
confidence?: number | null;
|
|
13
14
|
rationale?: string | null;
|
|
14
15
|
createdAt?: string | null;
|
|
16
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.IntelligentFieldValueResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("./ChangeAuthor");
|
|
39
40
|
const EntityId_1 = require("./EntityId");
|
|
40
41
|
exports.IntelligentFieldValueResponse = core.serialization.object({
|
|
41
42
|
fieldId: EntityId_1.EntityId,
|
|
@@ -45,4 +46,5 @@ exports.IntelligentFieldValueResponse = core.serialization.object({
|
|
|
45
46
|
confidence: core.serialization.number().optional(),
|
|
46
47
|
rationale: core.serialization.string().optional(),
|
|
47
48
|
createdAt: core.serialization.date().optional(),
|
|
49
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
48
50
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { ChangeAuthor } from "./ChangeAuthor";
|
|
4
5
|
import { CsatInfo } from "./CsatInfo";
|
|
5
6
|
import { EntityId } from "./EntityId";
|
|
6
7
|
import { EventBaseNoId } from "./EventBaseNoId";
|
|
@@ -13,6 +14,7 @@ export declare namespace UserEvent {
|
|
|
13
14
|
interface Raw extends EventBaseNoId.Raw {
|
|
14
15
|
id: EntityId.Raw;
|
|
15
16
|
createdAt?: string | null;
|
|
17
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
16
18
|
eventName: UserEventName.Raw;
|
|
17
19
|
userInfo: EventUserInfo.Raw;
|
|
18
20
|
feedbackInfo?: FeedbackInfo.Raw[] | null;
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.UserEvent = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("./ChangeAuthor");
|
|
39
40
|
const CsatInfo_1 = require("./CsatInfo");
|
|
40
41
|
const EntityId_1 = require("./EntityId");
|
|
41
42
|
const EventBaseNoId_1 = require("./EventBaseNoId");
|
|
@@ -47,6 +48,7 @@ exports.UserEvent = core.serialization
|
|
|
47
48
|
.object({
|
|
48
49
|
id: EntityId_1.EntityId,
|
|
49
50
|
createdAt: core.serialization.date().optional(),
|
|
51
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
50
52
|
eventName: UserEventName_1.UserEventName,
|
|
51
53
|
userInfo: EventUserInfo_1.EventUserInfo,
|
|
52
54
|
feedbackInfo: core.serialization.list(FeedbackInfo_1.FeedbackInfo).optional(),
|
|
@@ -2,6 +2,7 @@ import type * as MavenAGI from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { AttachmentResponse } from "./AttachmentResponse";
|
|
5
|
+
import { ChangeAuthor } from "./ChangeAuthor";
|
|
5
6
|
import { EntityId } from "./EntityId";
|
|
6
7
|
import { MessageStatus } from "./MessageStatus";
|
|
7
8
|
import { UserMessageBase } from "./UserMessageBase";
|
|
@@ -15,6 +16,8 @@ export declare namespace UserMessage {
|
|
|
15
16
|
agentUserId?: string | null;
|
|
16
17
|
userDisplayName?: string | null;
|
|
17
18
|
status: MessageStatus.Raw;
|
|
19
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
20
|
+
updatedBy?: ChangeAuthor.Raw | null;
|
|
18
21
|
responseState?: UserMessageResponseState.Raw | null;
|
|
19
22
|
timezone?: string | null;
|
|
20
23
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.UserMessage = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const AttachmentResponse_1 = require("./AttachmentResponse");
|
|
40
|
+
const ChangeAuthor_1 = require("./ChangeAuthor");
|
|
40
41
|
const EntityId_1 = require("./EntityId");
|
|
41
42
|
const MessageStatus_1 = require("./MessageStatus");
|
|
42
43
|
const UserMessageBase_1 = require("./UserMessageBase");
|
|
@@ -49,6 +50,8 @@ exports.UserMessage = core.serialization
|
|
|
49
50
|
agentUserId: core.serialization.string().optional(),
|
|
50
51
|
userDisplayName: core.serialization.string().optional(),
|
|
51
52
|
status: MessageStatus_1.MessageStatus,
|
|
53
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
54
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
52
55
|
responseState: UserMessageResponseState_1.UserMessageResponseState.optional(),
|
|
53
56
|
timezone: core.serialization.string().optional(),
|
|
54
57
|
})
|
|
@@ -21,6 +21,8 @@ export * from "./AppUserRequest";
|
|
|
21
21
|
export * from "./AppUserResponse";
|
|
22
22
|
export * from "./ArraySettingsSchemaEntry";
|
|
23
23
|
export * from "./AskType";
|
|
24
|
+
export * from "./AttachmentNotSentToModelReason";
|
|
25
|
+
export * from "./AttachmentNotSentToModelWarning";
|
|
24
26
|
export * from "./AttachmentRequest";
|
|
25
27
|
export * from "./AttachmentResponse";
|
|
26
28
|
export * from "./AttachmentStatus";
|
|
@@ -52,6 +54,7 @@ export * from "./BotLogicSteeringItem";
|
|
|
52
54
|
export * from "./BotLogicUserItem";
|
|
53
55
|
export * from "./BotMessage";
|
|
54
56
|
export * from "./BotMessageStatusReason";
|
|
57
|
+
export * from "./BotMessageWarning";
|
|
55
58
|
export * from "./BotOAuthButtonResponse";
|
|
56
59
|
export * from "./BotObjectResponse";
|
|
57
60
|
export * from "./BotResponse";
|
|
@@ -131,6 +134,7 @@ export * from "./FeedbackBase";
|
|
|
131
134
|
export * from "./FeedbackInfo";
|
|
132
135
|
export * from "./FeedbackType";
|
|
133
136
|
export * from "./FieldCondition";
|
|
137
|
+
export * from "./FieldError";
|
|
134
138
|
export * from "./FunctionVersionBinding";
|
|
135
139
|
export * from "./GeoInfo";
|
|
136
140
|
export * from "./HarmfulContentAnalysis";
|
|
@@ -37,6 +37,8 @@ __exportStar(require("./AppUserRequest"), exports);
|
|
|
37
37
|
__exportStar(require("./AppUserResponse"), exports);
|
|
38
38
|
__exportStar(require("./ArraySettingsSchemaEntry"), exports);
|
|
39
39
|
__exportStar(require("./AskType"), exports);
|
|
40
|
+
__exportStar(require("./AttachmentNotSentToModelReason"), exports);
|
|
41
|
+
__exportStar(require("./AttachmentNotSentToModelWarning"), exports);
|
|
40
42
|
__exportStar(require("./AttachmentRequest"), exports);
|
|
41
43
|
__exportStar(require("./AttachmentResponse"), exports);
|
|
42
44
|
__exportStar(require("./AttachmentStatus"), exports);
|
|
@@ -68,6 +70,7 @@ __exportStar(require("./BotLogicSteeringItem"), exports);
|
|
|
68
70
|
__exportStar(require("./BotLogicUserItem"), exports);
|
|
69
71
|
__exportStar(require("./BotMessage"), exports);
|
|
70
72
|
__exportStar(require("./BotMessageStatusReason"), exports);
|
|
73
|
+
__exportStar(require("./BotMessageWarning"), exports);
|
|
71
74
|
__exportStar(require("./BotOAuthButtonResponse"), exports);
|
|
72
75
|
__exportStar(require("./BotObjectResponse"), exports);
|
|
73
76
|
__exportStar(require("./BotResponse"), exports);
|
|
@@ -147,6 +150,7 @@ __exportStar(require("./FeedbackBase"), exports);
|
|
|
147
150
|
__exportStar(require("./FeedbackInfo"), exports);
|
|
148
151
|
__exportStar(require("./FeedbackType"), exports);
|
|
149
152
|
__exportStar(require("./FieldCondition"), exports);
|
|
153
|
+
__exportStar(require("./FieldError"), exports);
|
|
150
154
|
__exportStar(require("./FunctionVersionBinding"), exports);
|
|
151
155
|
__exportStar(require("./GeoInfo"), exports);
|
|
152
156
|
__exportStar(require("./HarmfulContentAnalysis"), exports);
|
|
@@ -2,11 +2,13 @@ import type * as MavenAGI from "../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { EntityIdBase } from "../../../commons/types/EntityIdBase";
|
|
5
|
+
import { FunctionVersionBinding } from "../../../commons/types/FunctionVersionBinding";
|
|
5
6
|
export declare const CreateConversationKickoffRequest: core.serialization.Schema<serializers.CreateConversationKickoffRequest.Raw, MavenAGI.CreateConversationKickoffRequest>;
|
|
6
7
|
export declare namespace CreateConversationKickoffRequest {
|
|
7
8
|
interface Raw {
|
|
8
9
|
kickoffId: EntityIdBase.Raw;
|
|
9
10
|
name: string;
|
|
10
11
|
description?: string | null;
|
|
12
|
+
functionBinding?: FunctionVersionBinding.Raw | null;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -37,8 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CreateConversationKickoffRequest = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core"));
|
|
39
39
|
const EntityIdBase_1 = require("../../../commons/types/EntityIdBase");
|
|
40
|
+
const FunctionVersionBinding_1 = require("../../../commons/types/FunctionVersionBinding");
|
|
40
41
|
exports.CreateConversationKickoffRequest = core.serialization.object({
|
|
41
42
|
kickoffId: EntityIdBase_1.EntityIdBase,
|
|
42
43
|
name: core.serialization.string(),
|
|
43
44
|
description: core.serialization.string().optional(),
|
|
45
|
+
functionBinding: FunctionVersionBinding_1.FunctionVersionBinding.optional(),
|
|
44
46
|
});
|
|
@@ -3,9 +3,11 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { CapabilityBase } from "../../commons/types/CapabilityBase";
|
|
5
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
6
|
+
import { FunctionVersionBinding } from "../../commons/types/FunctionVersionBinding";
|
|
6
7
|
export declare const ConversationKickoff: core.serialization.ObjectSchema<serializers.ConversationKickoff.Raw, MavenAGI.ConversationKickoff>;
|
|
7
8
|
export declare namespace ConversationKickoff {
|
|
8
9
|
interface Raw extends CapabilityBase.Raw {
|
|
9
10
|
kickoffId: EntityId.Raw;
|
|
11
|
+
functionBinding?: FunctionVersionBinding.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -38,8 +38,10 @@ exports.ConversationKickoff = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const CapabilityBase_1 = require("../../commons/types/CapabilityBase");
|
|
40
40
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
41
|
+
const FunctionVersionBinding_1 = require("../../commons/types/FunctionVersionBinding");
|
|
41
42
|
exports.ConversationKickoff = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
kickoffId: EntityId_1.EntityId,
|
|
45
|
+
functionBinding: FunctionVersionBinding_1.FunctionVersionBinding.optional(),
|
|
44
46
|
})
|
|
45
47
|
.extend(CapabilityBase_1.CapabilityBase);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import * as serializers from "../../../index";
|
|
4
|
+
import { Link } from "./Link";
|
|
5
|
+
export declare const AppDirectoryDetails: core.serialization.ObjectSchema<serializers.AppDirectoryDetails.Raw, MavenAGI.AppDirectoryDetails>;
|
|
6
|
+
export declare namespace AppDirectoryDetails {
|
|
7
|
+
interface Raw {
|
|
8
|
+
installationInstructions?: string | null;
|
|
9
|
+
instructions?: string | null;
|
|
10
|
+
links: Link.Raw[];
|
|
11
|
+
settingsSchema: serializers.SettingsSchema.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.AppDirectoryDetails = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const Link_1 = require("./Link");
|
|
41
|
+
exports.AppDirectoryDetails = core.serialization.object({
|
|
42
|
+
installationInstructions: core.serialization.string().optional(),
|
|
43
|
+
instructions: core.serialization.string().optional(),
|
|
44
|
+
links: core.serialization.list(Link_1.Link),
|
|
45
|
+
settingsSchema: core.serialization.lazy(() => serializers.SettingsSchema),
|
|
46
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AppCapability } from "./AppCapability";
|
|
5
|
+
import { AppCategory } from "./AppCategory";
|
|
6
|
+
export declare const AppDirectoryListing: core.serialization.ObjectSchema<serializers.AppDirectoryListing.Raw, MavenAGI.AppDirectoryListing>;
|
|
7
|
+
export declare namespace AppDirectoryListing {
|
|
8
|
+
interface Raw {
|
|
9
|
+
description?: string | null;
|
|
10
|
+
shortDescription?: string | null;
|
|
11
|
+
categories: AppCategory.Raw[];
|
|
12
|
+
capabilities: AppCapability.Raw[];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.AppDirectoryListing = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const AppCapability_1 = require("./AppCapability");
|
|
40
|
+
const AppCategory_1 = require("./AppCategory");
|
|
41
|
+
exports.AppDirectoryListing = core.serialization.object({
|
|
42
|
+
description: core.serialization.string().optional(),
|
|
43
|
+
shortDescription: core.serialization.string().optional(),
|
|
44
|
+
categories: core.serialization.list(AppCategory_1.AppCategory),
|
|
45
|
+
capabilities: core.serialization.list(AppCapability_1.AppCapability),
|
|
46
|
+
});
|
|
@@ -1,23 +1,18 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
-
import {
|
|
5
|
-
import { AppCategory } from "./AppCategory";
|
|
4
|
+
import { AppDirectoryListing } from "./AppDirectoryListing";
|
|
6
5
|
import { AppVisibility } from "./AppVisibility";
|
|
7
6
|
import { DeveloperOrganization } from "./DeveloperOrganization";
|
|
8
7
|
export declare const BaseApp: core.serialization.ObjectSchema<serializers.BaseApp.Raw, MavenAGI.BaseApp>;
|
|
9
8
|
export declare namespace BaseApp {
|
|
10
|
-
interface Raw {
|
|
9
|
+
interface Raw extends AppDirectoryListing.Raw {
|
|
11
10
|
id: string;
|
|
12
11
|
name: string;
|
|
13
12
|
developerOrganizationId: string;
|
|
14
13
|
creator?: DeveloperOrganization.Raw | null;
|
|
15
14
|
visibility: AppVisibility.Raw;
|
|
16
|
-
description?: string | null;
|
|
17
|
-
shortDescription?: string | null;
|
|
18
15
|
logoUrl?: string | null;
|
|
19
|
-
categories: AppCategory.Raw[];
|
|
20
|
-
capabilities: AppCapability.Raw[];
|
|
21
16
|
isAgentApp?: boolean | null;
|
|
22
17
|
}
|
|
23
18
|
}
|