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
|
@@ -3,9 +3,11 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { ActionBase } from "../../commons/types/ActionBase";
|
|
5
5
|
import { EntityIdBase } from "../../commons/types/EntityIdBase";
|
|
6
|
+
import { FunctionVersionBinding } from "../../commons/types/FunctionVersionBinding";
|
|
6
7
|
export declare const ActionRequest: core.serialization.ObjectSchema<serializers.ActionRequest.Raw, MavenAGI.ActionRequest>;
|
|
7
8
|
export declare namespace ActionRequest {
|
|
8
9
|
interface Raw extends ActionBase.Raw {
|
|
9
10
|
actionId: EntityIdBase.Raw;
|
|
11
|
+
functionBinding?: FunctionVersionBinding.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -38,8 +38,10 @@ exports.ActionRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const ActionBase_1 = require("../../commons/types/ActionBase");
|
|
40
40
|
const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
|
|
41
|
+
const FunctionVersionBinding_1 = require("../../commons/types/FunctionVersionBinding");
|
|
41
42
|
exports.ActionRequest = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
actionId: EntityIdBase_1.EntityIdBase,
|
|
45
|
+
functionBinding: FunctionVersionBinding_1.FunctionVersionBinding.optional(),
|
|
44
46
|
})
|
|
45
47
|
.extend(ActionBase_1.ActionBase);
|
|
@@ -50,4 +50,5 @@ exports.AgentVariantResponse = core.serialization.object({
|
|
|
50
50
|
createdAt: core.serialization.date().optional(),
|
|
51
51
|
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
52
52
|
updatedAt: core.serialization.date().optional(),
|
|
53
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
53
54
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import * as serializers from "../../../index";
|
|
4
|
+
import { AppCapability } from "../../developersCommons/types/AppCapability";
|
|
5
|
+
import { AppCategory } from "../../developersCommons/types/AppCategory";
|
|
6
|
+
import { Link } from "../../developersCommons/types/Link";
|
|
7
|
+
export declare const AppPatchRequest: core.serialization.ObjectSchema<serializers.AppPatchRequest.Raw, MavenAGI.AppPatchRequest>;
|
|
8
|
+
export declare namespace AppPatchRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name?: string | null;
|
|
11
|
+
description?: (string | null | undefined) | null;
|
|
12
|
+
shortDescription?: (string | null | undefined) | null;
|
|
13
|
+
categories?: AppCategory.Raw[] | null;
|
|
14
|
+
capabilities?: AppCapability.Raw[] | null;
|
|
15
|
+
installationInstructions?: (string | null | undefined) | null;
|
|
16
|
+
instructions?: (string | null | undefined) | null;
|
|
17
|
+
links?: Link.Raw[] | null;
|
|
18
|
+
settingsSchema?: serializers.SettingsSchema.Raw | null;
|
|
19
|
+
requestedPermissions?: string[] | null;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.AppPatchRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const AppCapability_1 = require("../../developersCommons/types/AppCapability");
|
|
41
|
+
const AppCategory_1 = require("../../developersCommons/types/AppCategory");
|
|
42
|
+
const Link_1 = require("../../developersCommons/types/Link");
|
|
43
|
+
exports.AppPatchRequest = core.serialization.object({
|
|
44
|
+
name: core.serialization.string().optional(),
|
|
45
|
+
description: core.serialization.string().optionalNullable(),
|
|
46
|
+
shortDescription: core.serialization.string().optionalNullable(),
|
|
47
|
+
categories: core.serialization.list(AppCategory_1.AppCategory).optional(),
|
|
48
|
+
capabilities: core.serialization.list(AppCapability_1.AppCapability).optional(),
|
|
49
|
+
installationInstructions: core.serialization.string().optionalNullable(),
|
|
50
|
+
instructions: core.serialization.string().optionalNullable(),
|
|
51
|
+
links: core.serialization.list(Link_1.Link).optional(),
|
|
52
|
+
settingsSchema: core.serialization.lazy(() => serializers.SettingsSchema).optional(),
|
|
53
|
+
requestedPermissions: core.serialization.list(core.serialization.string()).optional(),
|
|
54
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AppDirectoryDetails } from "../../developersCommons/types/AppDirectoryDetails";
|
|
5
|
+
import { AppDirectoryListing } from "../../developersCommons/types/AppDirectoryListing";
|
|
6
|
+
export declare const AppRequest: core.serialization.ObjectSchema<serializers.AppRequest.Raw, MavenAGI.AppRequest>;
|
|
7
|
+
export declare namespace AppRequest {
|
|
8
|
+
interface Raw extends AppDirectoryListing.Raw, AppDirectoryDetails.Raw {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
requestedPermissions?: string[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.AppRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const AppDirectoryDetails_1 = require("../../developersCommons/types/AppDirectoryDetails");
|
|
40
|
+
const AppDirectoryListing_1 = require("../../developersCommons/types/AppDirectoryListing");
|
|
41
|
+
exports.AppRequest = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
id: core.serialization.string(),
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
requestedPermissions: core.serialization.list(core.serialization.string()).optional(),
|
|
46
|
+
})
|
|
47
|
+
.extend(AppDirectoryListing_1.AppDirectoryListing)
|
|
48
|
+
.extend(AppDirectoryDetails_1.AppDirectoryDetails);
|
|
@@ -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 { BaseDetailApp } from "../../developersCommons/types/BaseDetailApp";
|
|
5
|
+
export declare const AppResponse: core.serialization.ObjectSchema<serializers.AppResponse.Raw, MavenAGI.AppResponse>;
|
|
6
|
+
export declare namespace AppResponse {
|
|
7
|
+
interface Raw extends BaseDetailApp.Raw {
|
|
8
|
+
requestedPermissions: string[];
|
|
9
|
+
installCount: number;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.AppResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const BaseDetailApp_1 = require("../../developersCommons/types/BaseDetailApp");
|
|
40
|
+
exports.AppResponse = core.serialization
|
|
41
|
+
.object({
|
|
42
|
+
requestedPermissions: core.serialization.list(core.serialization.string()),
|
|
43
|
+
installCount: core.serialization.number(),
|
|
44
|
+
})
|
|
45
|
+
.extend(BaseDetailApp_1.BaseDetailApp);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { BaseCappedPaginatedRequest } from "../../commons/types/BaseCappedPaginatedRequest";
|
|
5
|
+
export declare const AppsSearchRequest: core.serialization.ObjectSchema<serializers.AppsSearchRequest.Raw, MavenAGI.AppsSearchRequest>;
|
|
6
|
+
export declare namespace AppsSearchRequest {
|
|
7
|
+
interface Raw extends BaseCappedPaginatedRequest.Raw {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.AppsSearchRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const BaseCappedPaginatedRequest_1 = require("../../commons/types/BaseCappedPaginatedRequest");
|
|
40
|
+
exports.AppsSearchRequest = core.serialization.object({}).extend(BaseCappedPaginatedRequest_1.BaseCappedPaginatedRequest);
|
|
@@ -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 { Page } from "../../commons/types/Page";
|
|
5
|
+
import { AppResponse } from "./AppResponse";
|
|
6
|
+
export declare const AppsSearchResponse: core.serialization.ObjectSchema<serializers.AppsSearchResponse.Raw, MavenAGI.AppsSearchResponse>;
|
|
7
|
+
export declare namespace AppsSearchResponse {
|
|
8
|
+
interface Raw extends Page.Raw {
|
|
9
|
+
apps: AppResponse.Raw[];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.AppsSearchResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const Page_1 = require("../../commons/types/Page");
|
|
40
|
+
const AppResponse_1 = require("./AppResponse");
|
|
41
|
+
exports.AppsSearchResponse = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
apps: core.serialization.list(AppResponse_1.AppResponse),
|
|
44
|
+
})
|
|
45
|
+
.extend(Page_1.Page);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AppPatchRequest"), exports);
|
|
18
|
+
__exportStar(require("./AppRequest"), exports);
|
|
19
|
+
__exportStar(require("./AppResponse"), exports);
|
|
20
|
+
__exportStar(require("./AppsSearchRequest"), exports);
|
|
21
|
+
__exportStar(require("./AppsSearchResponse"), exports);
|
|
@@ -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 "../../commons/types/ChangeAuthor";
|
|
4
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
6
|
import { CapabilityRunBase } from "./CapabilityRunBase";
|
|
6
7
|
export declare const CapabilityExecutionBase: core.serialization.ObjectSchema<serializers.CapabilityExecutionBase.Raw, MavenAGI.CapabilityExecutionBase>;
|
|
@@ -8,5 +9,6 @@ export declare namespace CapabilityExecutionBase {
|
|
|
8
9
|
interface Raw extends CapabilityRunBase.Raw {
|
|
9
10
|
subjectId: EntityId.Raw;
|
|
10
11
|
createdAt: string;
|
|
12
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -36,11 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.CapabilityExecutionBase = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("../../commons/types/ChangeAuthor");
|
|
39
40
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
41
|
const CapabilityRunBase_1 = require("./CapabilityRunBase");
|
|
41
42
|
exports.CapabilityExecutionBase = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
subjectId: EntityId_1.EntityId,
|
|
44
45
|
createdAt: core.serialization.date(),
|
|
46
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
45
47
|
})
|
|
46
48
|
.extend(CapabilityRunBase_1.CapabilityRunBase);
|
|
@@ -4,11 +4,13 @@ import type * as serializers from "../../../index";
|
|
|
4
4
|
import { ActionProperties } from "./ActionProperties";
|
|
5
5
|
import { CapabilityBase } from "./CapabilityBase";
|
|
6
6
|
import { EntityId } from "./EntityId";
|
|
7
|
+
import { FunctionVersionBinding } from "./FunctionVersionBinding";
|
|
7
8
|
import { LlmInclusionStatus } from "./LlmInclusionStatus";
|
|
8
9
|
export declare const ActionResponse: core.serialization.ObjectSchema<serializers.ActionResponse.Raw, MavenAGI.ActionResponse>;
|
|
9
10
|
export declare namespace ActionResponse {
|
|
10
11
|
interface Raw extends ActionProperties.Raw, CapabilityBase.Raw {
|
|
11
12
|
actionId: EntityId.Raw;
|
|
13
|
+
functionBinding?: FunctionVersionBinding.Raw | null;
|
|
12
14
|
instructions?: string | null;
|
|
13
15
|
llmInclusionStatus: LlmInclusionStatus.Raw;
|
|
14
16
|
segmentId?: EntityId.Raw | null;
|
|
@@ -39,10 +39,12 @@ const core = __importStar(require("../../../../core"));
|
|
|
39
39
|
const ActionProperties_1 = require("./ActionProperties");
|
|
40
40
|
const CapabilityBase_1 = require("./CapabilityBase");
|
|
41
41
|
const EntityId_1 = require("./EntityId");
|
|
42
|
+
const FunctionVersionBinding_1 = require("./FunctionVersionBinding");
|
|
42
43
|
const LlmInclusionStatus_1 = require("./LlmInclusionStatus");
|
|
43
44
|
exports.ActionResponse = core.serialization
|
|
44
45
|
.object({
|
|
45
46
|
actionId: EntityId_1.EntityId,
|
|
47
|
+
functionBinding: FunctionVersionBinding_1.FunctionVersionBinding.optional(),
|
|
46
48
|
instructions: core.serialization.string().optional(),
|
|
47
49
|
llmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus,
|
|
48
50
|
segmentId: EntityId_1.EntityId.optional(),
|
|
@@ -0,0 +1,7 @@
|
|
|
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 AttachmentNotSentToModelReason: core.serialization.Schema<serializers.AttachmentNotSentToModelReason.Raw, MavenAGI.AttachmentNotSentToModelReason>;
|
|
5
|
+
export declare namespace AttachmentNotSentToModelReason {
|
|
6
|
+
type Raw = "UNSUPPORTED_TYPE" | "TOO_LARGE";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.AttachmentNotSentToModelReason = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.AttachmentNotSentToModelReason = core.serialization.forwardCompatibleEnum_(["UNSUPPORTED_TYPE", "TOO_LARGE"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AttachmentNotSentToModelReason } from "./AttachmentNotSentToModelReason";
|
|
5
|
+
export declare const AttachmentNotSentToModelWarning: core.serialization.ObjectSchema<serializers.AttachmentNotSentToModelWarning.Raw, MavenAGI.AttachmentNotSentToModelWarning>;
|
|
6
|
+
export declare namespace AttachmentNotSentToModelWarning {
|
|
7
|
+
interface Raw {
|
|
8
|
+
reason: AttachmentNotSentToModelReason.Raw;
|
|
9
|
+
attachmentType: string;
|
|
10
|
+
attachmentName?: string | null;
|
|
11
|
+
sizeBytes?: number | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.AttachmentNotSentToModelWarning = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const AttachmentNotSentToModelReason_1 = require("./AttachmentNotSentToModelReason");
|
|
40
|
+
exports.AttachmentNotSentToModelWarning = core.serialization.object({
|
|
41
|
+
reason: AttachmentNotSentToModelReason_1.AttachmentNotSentToModelReason,
|
|
42
|
+
attachmentType: core.serialization.string(),
|
|
43
|
+
attachmentName: core.serialization.string().optional(),
|
|
44
|
+
sizeBytes: core.serialization.number().optional(),
|
|
45
|
+
});
|
|
@@ -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 { ConversationAnalysis } from "./ConversationAnalysis";
|
|
5
6
|
import { ConversationMode } from "./ConversationMode";
|
|
6
7
|
import { ConversationSummary } from "./ConversationSummary";
|
|
@@ -17,6 +18,8 @@ export declare namespace BaseConversationResponse {
|
|
|
17
18
|
url?: string | null;
|
|
18
19
|
createdAt?: string | null;
|
|
19
20
|
updatedAt?: string | null;
|
|
21
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
22
|
+
updatedBy?: ChangeAuthor.Raw | null;
|
|
20
23
|
tags?: string[] | null;
|
|
21
24
|
metadata?: Record<string, string> | null;
|
|
22
25
|
allMetadata: Record<string, Record<string, string>>;
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.BaseConversationResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("./ChangeAuthor");
|
|
39
40
|
const ConversationAnalysis_1 = require("./ConversationAnalysis");
|
|
40
41
|
const ConversationMode_1 = require("./ConversationMode");
|
|
41
42
|
const ConversationSummary_1 = require("./ConversationSummary");
|
|
@@ -50,6 +51,8 @@ exports.BaseConversationResponse = core.serialization.object({
|
|
|
50
51
|
url: core.serialization.string().optional(),
|
|
51
52
|
createdAt: core.serialization.date().optional(),
|
|
52
53
|
updatedAt: core.serialization.date().optional(),
|
|
54
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
55
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
53
56
|
tags: core.serialization.set(core.serialization.string()).optional(),
|
|
54
57
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
55
58
|
allMetadata: core.serialization.record(core.serialization.string(), core.serialization.record(core.serialization.string(), core.serialization.string())),
|
|
@@ -4,8 +4,10 @@ import type * as serializers from "../../../index";
|
|
|
4
4
|
import { BotConversationMessageType } from "./BotConversationMessageType";
|
|
5
5
|
import { BotLogic } from "./BotLogic";
|
|
6
6
|
import { BotMessageStatusReason } from "./BotMessageStatusReason";
|
|
7
|
+
import { BotMessageWarning } from "./BotMessageWarning";
|
|
7
8
|
import { BotResponse } from "./BotResponse";
|
|
8
9
|
import { BotResponseMetadata } from "./BotResponseMetadata";
|
|
10
|
+
import { ChangeAuthor } from "./ChangeAuthor";
|
|
9
11
|
import { ConversationMessageBase } from "./ConversationMessageBase";
|
|
10
12
|
import { EntityId } from "./EntityId";
|
|
11
13
|
import { MessageStatus } from "./MessageStatus";
|
|
@@ -19,5 +21,8 @@ export declare namespace BotMessage {
|
|
|
19
21
|
status: MessageStatus.Raw;
|
|
20
22
|
logic?: BotLogic.Raw | null;
|
|
21
23
|
statusReason?: BotMessageStatusReason.Raw | null;
|
|
24
|
+
warnings?: BotMessageWarning.Raw[] | null;
|
|
25
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
26
|
+
updatedBy?: ChangeAuthor.Raw | null;
|
|
22
27
|
}
|
|
23
28
|
}
|