mavenagi 1.2.70 → 1.2.72
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/capabilities/client/Client.d.ts +3 -3
- package/api/resources/capabilities/client/Client.js +3 -3
- package/api/resources/commons/types/AbsoluteTimeWindow.d.ts +5 -2
- package/api/resources/commons/types/ActionEffects.d.ts +18 -0
- package/api/resources/commons/types/ActionEffects.js +3 -0
- package/api/resources/commons/types/AllUsersConversationAudience.d.ts +1 -0
- package/api/resources/commons/types/AllUsersConversationAudience.js +3 -0
- package/api/resources/commons/types/ChangeAuthor.d.ts +18 -0
- package/api/resources/commons/types/ChangeAuthor.js +3 -0
- package/api/resources/commons/types/ConversationAudience.d.ts +19 -0
- package/api/resources/commons/types/ConversationAudience.js +3 -0
- package/api/resources/commons/types/ConversationAudienceResponse.d.ts +16 -0
- package/api/resources/commons/types/ConversationAudienceResponse.js +3 -0
- package/api/resources/commons/types/ConversationResponse.d.ts +8 -0
- package/api/resources/commons/types/ConversationSetupFields.d.ts +21 -0
- package/api/resources/commons/types/ConversationSetupFields.js +3 -0
- package/api/resources/commons/types/CrossOrganizationLevelEntityId.d.ts +7 -0
- package/api/resources/commons/types/CrossOrganizationLevelEntityId.js +3 -0
- package/api/resources/commons/types/FieldCondition.d.ts +3 -2
- package/api/resources/commons/types/InitializeConversationResponse.d.ts +3 -0
- package/api/resources/commons/types/LeveledEntityId.d.ts +28 -0
- package/api/resources/commons/types/LeveledEntityId.js +3 -0
- package/api/resources/commons/types/MetadataPrecondition.d.ts +27 -3
- package/api/resources/commons/types/OrganizationLevelEntityId.d.ts +9 -0
- package/api/resources/commons/types/OrganizationLevelEntityId.js +3 -0
- package/api/resources/commons/types/PresenceOperator.d.ts +2 -1
- package/api/resources/commons/types/PresenceOperator.js +2 -1
- package/api/resources/commons/types/ResolutionStatus.d.ts +9 -5
- package/api/resources/commons/types/ResolutionStatus.js +9 -5
- package/api/resources/commons/types/SimulationActionBehavior.d.ts +1 -1
- package/api/resources/commons/types/SimulationContext.d.ts +6 -24
- package/api/resources/commons/types/SimulationFixedResponse.d.ts +14 -0
- package/api/resources/commons/types/SimulationFixedResponse.js +3 -0
- package/api/resources/commons/types/SimulationSetupFields.d.ts +29 -0
- package/api/resources/commons/types/SimulationSetupFields.js +3 -0
- package/api/resources/commons/types/TagsPrecondition.d.ts +12 -1
- package/api/resources/commons/types/TimePrecondition.d.ts +1 -0
- package/api/resources/commons/types/UserDataEffect.d.ts +10 -0
- package/api/resources/commons/types/UserDataEffect.js +3 -0
- package/api/resources/commons/types/UserDataPatch.d.ts +10 -0
- package/api/resources/commons/types/UserDataPatch.js +3 -0
- package/api/resources/commons/types/UsersConversationAudience.d.ts +8 -0
- package/api/resources/commons/types/UsersConversationAudience.js +3 -0
- package/api/resources/commons/types/UsersConversationAudienceResponse.d.ts +9 -0
- package/api/resources/commons/types/UsersConversationAudienceResponse.js +3 -0
- package/api/resources/commons/types/index.d.ts +15 -0
- package/api/resources/commons/types/index.js +15 -0
- package/api/resources/conversation/client/Client.d.ts +35 -1
- package/api/resources/conversation/client/Client.js +35 -1
- package/api/resources/conversation/types/AskRequest.d.ts +4 -1
- package/api/resources/conversation/types/BillableFilterField.d.ts +1 -1
- package/api/resources/conversation/types/BillableFilterField.js +1 -1
- package/api/resources/conversation/types/ConversationRequest.d.ts +26 -16
- package/api/resources/conversation/types/DeliverMessageResponse.d.ts +5 -0
- package/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +20 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +4 -0
- package/api/resources/knowledge/client/Client.d.ts +14 -0
- package/api/resources/knowledge/client/Client.js +14 -0
- package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +2 -0
- package/package.json +1 -1
- package/reference.md +29 -4
- package/serialization/resources/commons/types/AbsoluteTimeWindow.d.ts +1 -0
- package/serialization/resources/commons/types/AbsoluteTimeWindow.js +1 -0
- package/serialization/resources/commons/types/ActionEffects.d.ts +11 -0
- package/serialization/resources/commons/types/ActionEffects.js +45 -0
- package/serialization/resources/commons/types/AllUsersConversationAudience.d.ts +7 -0
- package/serialization/resources/commons/types/AllUsersConversationAudience.js +39 -0
- package/serialization/resources/commons/types/ChangeAuthor.d.ts +12 -0
- package/serialization/resources/commons/types/ChangeAuthor.js +44 -0
- package/serialization/resources/commons/types/ConversationAudience.d.ts +15 -0
- package/serialization/resources/commons/types/ConversationAudience.js +49 -0
- package/serialization/resources/commons/types/ConversationAudienceResponse.d.ts +15 -0
- package/serialization/resources/commons/types/ConversationAudienceResponse.js +49 -0
- package/serialization/resources/commons/types/ConversationResponse.d.ts +2 -0
- package/serialization/resources/commons/types/ConversationResponse.js +2 -0
- package/serialization/resources/commons/types/ConversationSetupFields.d.ts +12 -0
- package/serialization/resources/commons/types/ConversationSetupFields.js +44 -0
- package/serialization/resources/commons/types/CrossOrganizationLevelEntityId.d.ts +9 -0
- package/serialization/resources/commons/types/CrossOrganizationLevelEntityId.js +40 -0
- package/serialization/resources/commons/types/LeveledEntityId.d.ts +19 -0
- package/serialization/resources/commons/types/LeveledEntityId.js +51 -0
- package/serialization/resources/commons/types/MetadataPrecondition.d.ts +2 -0
- package/serialization/resources/commons/types/MetadataPrecondition.js +2 -0
- package/serialization/resources/commons/types/OrganizationLevelEntityId.d.ts +10 -0
- package/serialization/resources/commons/types/OrganizationLevelEntityId.js +44 -0
- package/serialization/resources/commons/types/SimulationActionBehavior.d.ts +2 -2
- package/serialization/resources/commons/types/SimulationActionBehavior.js +2 -2
- package/serialization/resources/commons/types/SimulationContext.d.ts +2 -6
- package/serialization/resources/commons/types/SimulationContext.js +5 -7
- package/serialization/resources/commons/types/SimulationFixedResponse.d.ts +11 -0
- package/serialization/resources/commons/types/SimulationFixedResponse.js +45 -0
- package/serialization/resources/commons/types/SimulationSetupFields.d.ts +13 -0
- package/serialization/resources/commons/types/SimulationSetupFields.js +45 -0
- package/serialization/resources/commons/types/UserDataEffect.d.ts +11 -0
- package/serialization/resources/commons/types/UserDataEffect.js +43 -0
- package/serialization/resources/commons/types/UserDataPatch.d.ts +11 -0
- package/serialization/resources/commons/types/UserDataPatch.js +43 -0
- package/serialization/resources/commons/types/UsersConversationAudience.d.ts +10 -0
- package/serialization/resources/commons/types/UsersConversationAudience.js +42 -0
- package/serialization/resources/commons/types/UsersConversationAudienceResponse.d.ts +10 -0
- package/serialization/resources/commons/types/UsersConversationAudienceResponse.js +42 -0
- package/serialization/resources/commons/types/index.d.ts +15 -0
- package/serialization/resources/commons/types/index.js +15 -0
- package/serialization/resources/conversation/types/ConversationRequest.d.ts +4 -5
- package/serialization/resources/conversation/types/ConversationRequest.js +7 -6
- package/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +2 -0
- package/serialization/resources/conversation/types/DeliverMessageResponse.js +2 -0
- package/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +1 -0
- package/serialization/resources/conversation/types/DeliverUserMessageRequest.js +1 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +3 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -39,14 +39,12 @@ const core = __importStar(require("../../../../core"));
|
|
|
39
39
|
const EntityId_1 = require("./EntityId");
|
|
40
40
|
const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
|
|
41
41
|
const LlmPersona_1 = require("./LlmPersona");
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
const SimulationSetupFields_1 = require("./SimulationSetupFields");
|
|
43
|
+
exports.SimulationContext = core.serialization
|
|
44
|
+
.object({
|
|
45
45
|
additionalPromptText: core.serialization.string().optional(),
|
|
46
46
|
persona: LlmPersona_1.LlmPersona.optional(),
|
|
47
47
|
availableKnowledgeBases: core.serialization.list(EntityId_1.EntityId).optional(),
|
|
48
48
|
variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
defaultActionBehavior: SimulationActionBehavior_1.SimulationActionBehavior.optional(),
|
|
52
|
-
});
|
|
49
|
+
})
|
|
50
|
+
.extend(SimulationSetupFields_1.SimulationSetupFields);
|
|
@@ -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 { ActionEffects } from "./ActionEffects";
|
|
5
|
+
import { ExecuteActionResponse } from "./ExecuteActionResponse";
|
|
6
|
+
export declare const SimulationFixedResponse: core.serialization.ObjectSchema<serializers.SimulationFixedResponse.Raw, MavenAGI.SimulationFixedResponse>;
|
|
7
|
+
export declare namespace SimulationFixedResponse {
|
|
8
|
+
interface Raw extends ExecuteActionResponse.Raw {
|
|
9
|
+
effects?: ActionEffects.Raw | null;
|
|
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.SimulationFixedResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ActionEffects_1 = require("./ActionEffects");
|
|
40
|
+
const ExecuteActionResponse_1 = require("./ExecuteActionResponse");
|
|
41
|
+
exports.SimulationFixedResponse = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
effects: ActionEffects_1.ActionEffects.optional(),
|
|
44
|
+
})
|
|
45
|
+
.extend(ExecuteActionResponse_1.ExecuteActionResponse);
|
|
@@ -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 { SimulationActionBehavior } from "./SimulationActionBehavior";
|
|
5
|
+
import { SimulationActionMock } from "./SimulationActionMock";
|
|
6
|
+
export declare const SimulationSetupFields: core.serialization.ObjectSchema<serializers.SimulationSetupFields.Raw, MavenAGI.SimulationSetupFields>;
|
|
7
|
+
export declare namespace SimulationSetupFields {
|
|
8
|
+
interface Raw {
|
|
9
|
+
evaluateWithCharters?: boolean | null;
|
|
10
|
+
actionMocks?: SimulationActionMock.Raw[] | null;
|
|
11
|
+
defaultActionBehavior?: SimulationActionBehavior.Raw | 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.SimulationSetupFields = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const SimulationActionBehavior_1 = require("./SimulationActionBehavior");
|
|
40
|
+
const SimulationActionMock_1 = require("./SimulationActionMock");
|
|
41
|
+
exports.SimulationSetupFields = core.serialization.object({
|
|
42
|
+
evaluateWithCharters: core.serialization.boolean().optional(),
|
|
43
|
+
actionMocks: core.serialization.list(SimulationActionMock_1.SimulationActionMock).optional(),
|
|
44
|
+
defaultActionBehavior: SimulationActionBehavior_1.SimulationActionBehavior.optional(),
|
|
45
|
+
});
|
|
@@ -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 { UserDataPatch } from "./UserDataPatch";
|
|
5
|
+
export declare const UserDataEffect: core.serialization.ObjectSchema<serializers.UserDataEffect.Raw, MavenAGI.UserDataEffect>;
|
|
6
|
+
export declare namespace UserDataEffect {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data?: Record<string, UserDataPatch.Raw> | null;
|
|
9
|
+
removeKeys?: string[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.UserDataEffect = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const UserDataPatch_1 = require("./UserDataPatch");
|
|
40
|
+
exports.UserDataEffect = core.serialization.object({
|
|
41
|
+
data: core.serialization.record(core.serialization.string(), UserDataPatch_1.UserDataPatch).optional(),
|
|
42
|
+
removeKeys: core.serialization.list(core.serialization.string()).optional(),
|
|
43
|
+
});
|
|
@@ -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 { VisibilityType } from "./VisibilityType";
|
|
5
|
+
export declare const UserDataPatch: core.serialization.ObjectSchema<serializers.UserDataPatch.Raw, MavenAGI.UserDataPatch>;
|
|
6
|
+
export declare namespace UserDataPatch {
|
|
7
|
+
interface Raw {
|
|
8
|
+
value: string;
|
|
9
|
+
visibility?: VisibilityType.Raw | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.UserDataPatch = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const VisibilityType_1 = require("./VisibilityType");
|
|
40
|
+
exports.UserDataPatch = core.serialization.object({
|
|
41
|
+
value: core.serialization.string(),
|
|
42
|
+
visibility: VisibilityType_1.VisibilityType.optional(),
|
|
43
|
+
});
|
|
@@ -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
|
+
import { EntityIdBase } from "./EntityIdBase";
|
|
5
|
+
export declare const UsersConversationAudience: core.serialization.ObjectSchema<serializers.UsersConversationAudience.Raw, MavenAGI.UsersConversationAudience>;
|
|
6
|
+
export declare namespace UsersConversationAudience {
|
|
7
|
+
interface Raw {
|
|
8
|
+
userIds: EntityIdBase.Raw[];
|
|
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.UsersConversationAudience = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityIdBase_1 = require("./EntityIdBase");
|
|
40
|
+
exports.UsersConversationAudience = core.serialization.object({
|
|
41
|
+
userIds: core.serialization.list(EntityIdBase_1.EntityIdBase),
|
|
42
|
+
});
|
|
@@ -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
|
+
import { EntityId } from "./EntityId";
|
|
5
|
+
export declare const UsersConversationAudienceResponse: core.serialization.ObjectSchema<serializers.UsersConversationAudienceResponse.Raw, MavenAGI.UsersConversationAudienceResponse>;
|
|
6
|
+
export declare namespace UsersConversationAudienceResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
userIds: EntityId.Raw[];
|
|
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.UsersConversationAudienceResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("./EntityId");
|
|
40
|
+
exports.UsersConversationAudienceResponse = core.serialization.object({
|
|
41
|
+
userIds: core.serialization.list(EntityId_1.EntityId),
|
|
42
|
+
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AbsoluteTimeWindow";
|
|
2
2
|
export * from "./ActionBase";
|
|
3
|
+
export * from "./ActionEffects";
|
|
3
4
|
export * from "./ActionEnumOption";
|
|
4
5
|
export * from "./ActionExecutionParamValue";
|
|
5
6
|
export * from "./ActionExecutionStatus";
|
|
@@ -11,6 +12,7 @@ export * from "./ActionProperties";
|
|
|
11
12
|
export * from "./ActionResponse";
|
|
12
13
|
export * from "./ActionUser";
|
|
13
14
|
export * from "./AdditionalDataKey";
|
|
15
|
+
export * from "./AllUsersConversationAudience";
|
|
14
16
|
export * from "./AppPrecondition";
|
|
15
17
|
export * from "./AppUser";
|
|
16
18
|
export * from "./AppUserIdentifier";
|
|
@@ -61,6 +63,7 @@ export * from "./Capability";
|
|
|
61
63
|
export * from "./CapabilityBase";
|
|
62
64
|
export * from "./CapabilityStatus";
|
|
63
65
|
export * from "./CapabilityType";
|
|
66
|
+
export * from "./ChangeAuthor";
|
|
64
67
|
export * from "./CharterType";
|
|
65
68
|
export * from "./ChartSpecSchema";
|
|
66
69
|
export * from "./CheckboxSettingsSchemaEntry";
|
|
@@ -68,6 +71,8 @@ export * from "./ColorSettingsSchemaEntry";
|
|
|
68
71
|
export * from "./ComplexArraySettingsSchemaEntry";
|
|
69
72
|
export * from "./ContextInfo";
|
|
70
73
|
export * from "./ConversationAnalysis";
|
|
74
|
+
export * from "./ConversationAudience";
|
|
75
|
+
export * from "./ConversationAudienceResponse";
|
|
71
76
|
export * from "./ConversationExecutedActionPrecondition";
|
|
72
77
|
export * from "./ConversationInformation";
|
|
73
78
|
export * from "./ConversationKickoffExecutionResponse";
|
|
@@ -82,10 +87,12 @@ export * from "./ConversationPreconditionResponse";
|
|
|
82
87
|
export * from "./ConversationPreview";
|
|
83
88
|
export * from "./ConversationResponse";
|
|
84
89
|
export * from "./ConversationRound";
|
|
90
|
+
export * from "./ConversationSetupFields";
|
|
85
91
|
export * from "./ConversationState";
|
|
86
92
|
export * from "./ConversationStatePrecondition";
|
|
87
93
|
export * from "./ConversationSummary";
|
|
88
94
|
export * from "./ConversationValueSource";
|
|
95
|
+
export * from "./CrossOrganizationLevelEntityId";
|
|
89
96
|
export * from "./CsatInfo";
|
|
90
97
|
export * from "./CursorPage";
|
|
91
98
|
export * from "./DayOfMonthDaySelector";
|
|
@@ -154,6 +161,7 @@ export * from "./KnowledgeContextByEntities";
|
|
|
154
161
|
export * from "./KnowledgeContextByEntityTypes";
|
|
155
162
|
export * from "./KnowledgeContextFilter";
|
|
156
163
|
export * from "./LanguageInfo";
|
|
164
|
+
export * from "./LeveledEntityId";
|
|
157
165
|
export * from "./LlmInclusionStatus";
|
|
158
166
|
export * from "./LlmPersona";
|
|
159
167
|
export * from "./MessageStatus";
|
|
@@ -183,6 +191,7 @@ export * from "./OAuthSettingsSchemaEntry";
|
|
|
183
191
|
export * from "./ObjectCondition";
|
|
184
192
|
export * from "./Occurrence";
|
|
185
193
|
export * from "./OneOfSettingsSchemaEntry";
|
|
194
|
+
export * from "./OrganizationLevelEntityId";
|
|
186
195
|
export * from "./OsInfo";
|
|
187
196
|
export * from "./OsType";
|
|
188
197
|
export * from "./Page";
|
|
@@ -227,6 +236,8 @@ export * from "./SimulationActionCallApp";
|
|
|
227
236
|
export * from "./SimulationActionMock";
|
|
228
237
|
export * from "./SimulationContext";
|
|
229
238
|
export * from "./SimulationFilter";
|
|
239
|
+
export * from "./SimulationFixedResponse";
|
|
240
|
+
export * from "./SimulationSetupFields";
|
|
230
241
|
export * from "./Source";
|
|
231
242
|
export * from "./SourceInfo";
|
|
232
243
|
export * from "./SourceType";
|
|
@@ -251,6 +262,8 @@ export * from "./TimeWindow";
|
|
|
251
262
|
export * from "./UniversalCondition";
|
|
252
263
|
export * from "./UserConversationMessageType";
|
|
253
264
|
export * from "./UserData";
|
|
265
|
+
export * from "./UserDataEffect";
|
|
266
|
+
export * from "./UserDataPatch";
|
|
254
267
|
export * from "./UserDataValueSource";
|
|
255
268
|
export * from "./UserDataWithReference";
|
|
256
269
|
export * from "./UserEvent";
|
|
@@ -259,6 +272,8 @@ export * from "./UserEventNameCondition";
|
|
|
259
272
|
export * from "./UserMessage";
|
|
260
273
|
export * from "./UserMessageBase";
|
|
261
274
|
export * from "./UserMessageResponseState";
|
|
275
|
+
export * from "./UsersConversationAudience";
|
|
276
|
+
export * from "./UsersConversationAudienceResponse";
|
|
262
277
|
export * from "./ValidatedSettingsSchemaEntryBase";
|
|
263
278
|
export * from "./VisibilityType";
|
|
264
279
|
export * from "./WeekdaysDaySelector";
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AbsoluteTimeWindow"), exports);
|
|
18
18
|
__exportStar(require("./ActionBase"), exports);
|
|
19
|
+
__exportStar(require("./ActionEffects"), exports);
|
|
19
20
|
__exportStar(require("./ActionEnumOption"), exports);
|
|
20
21
|
__exportStar(require("./ActionExecutionParamValue"), exports);
|
|
21
22
|
__exportStar(require("./ActionExecutionStatus"), exports);
|
|
@@ -27,6 +28,7 @@ __exportStar(require("./ActionProperties"), exports);
|
|
|
27
28
|
__exportStar(require("./ActionResponse"), exports);
|
|
28
29
|
__exportStar(require("./ActionUser"), exports);
|
|
29
30
|
__exportStar(require("./AdditionalDataKey"), exports);
|
|
31
|
+
__exportStar(require("./AllUsersConversationAudience"), exports);
|
|
30
32
|
__exportStar(require("./AppPrecondition"), exports);
|
|
31
33
|
__exportStar(require("./AppUser"), exports);
|
|
32
34
|
__exportStar(require("./AppUserIdentifier"), exports);
|
|
@@ -77,6 +79,7 @@ __exportStar(require("./Capability"), exports);
|
|
|
77
79
|
__exportStar(require("./CapabilityBase"), exports);
|
|
78
80
|
__exportStar(require("./CapabilityStatus"), exports);
|
|
79
81
|
__exportStar(require("./CapabilityType"), exports);
|
|
82
|
+
__exportStar(require("./ChangeAuthor"), exports);
|
|
80
83
|
__exportStar(require("./CharterType"), exports);
|
|
81
84
|
__exportStar(require("./ChartSpecSchema"), exports);
|
|
82
85
|
__exportStar(require("./CheckboxSettingsSchemaEntry"), exports);
|
|
@@ -84,6 +87,8 @@ __exportStar(require("./ColorSettingsSchemaEntry"), exports);
|
|
|
84
87
|
__exportStar(require("./ComplexArraySettingsSchemaEntry"), exports);
|
|
85
88
|
__exportStar(require("./ContextInfo"), exports);
|
|
86
89
|
__exportStar(require("./ConversationAnalysis"), exports);
|
|
90
|
+
__exportStar(require("./ConversationAudience"), exports);
|
|
91
|
+
__exportStar(require("./ConversationAudienceResponse"), exports);
|
|
87
92
|
__exportStar(require("./ConversationExecutedActionPrecondition"), exports);
|
|
88
93
|
__exportStar(require("./ConversationInformation"), exports);
|
|
89
94
|
__exportStar(require("./ConversationKickoffExecutionResponse"), exports);
|
|
@@ -98,10 +103,12 @@ __exportStar(require("./ConversationPreconditionResponse"), exports);
|
|
|
98
103
|
__exportStar(require("./ConversationPreview"), exports);
|
|
99
104
|
__exportStar(require("./ConversationResponse"), exports);
|
|
100
105
|
__exportStar(require("./ConversationRound"), exports);
|
|
106
|
+
__exportStar(require("./ConversationSetupFields"), exports);
|
|
101
107
|
__exportStar(require("./ConversationState"), exports);
|
|
102
108
|
__exportStar(require("./ConversationStatePrecondition"), exports);
|
|
103
109
|
__exportStar(require("./ConversationSummary"), exports);
|
|
104
110
|
__exportStar(require("./ConversationValueSource"), exports);
|
|
111
|
+
__exportStar(require("./CrossOrganizationLevelEntityId"), exports);
|
|
105
112
|
__exportStar(require("./CsatInfo"), exports);
|
|
106
113
|
__exportStar(require("./CursorPage"), exports);
|
|
107
114
|
__exportStar(require("./DayOfMonthDaySelector"), exports);
|
|
@@ -170,6 +177,7 @@ __exportStar(require("./KnowledgeContextByEntities"), exports);
|
|
|
170
177
|
__exportStar(require("./KnowledgeContextByEntityTypes"), exports);
|
|
171
178
|
__exportStar(require("./KnowledgeContextFilter"), exports);
|
|
172
179
|
__exportStar(require("./LanguageInfo"), exports);
|
|
180
|
+
__exportStar(require("./LeveledEntityId"), exports);
|
|
173
181
|
__exportStar(require("./LlmInclusionStatus"), exports);
|
|
174
182
|
__exportStar(require("./LlmPersona"), exports);
|
|
175
183
|
__exportStar(require("./MessageStatus"), exports);
|
|
@@ -199,6 +207,7 @@ __exportStar(require("./OAuthSettingsSchemaEntry"), exports);
|
|
|
199
207
|
__exportStar(require("./ObjectCondition"), exports);
|
|
200
208
|
__exportStar(require("./Occurrence"), exports);
|
|
201
209
|
__exportStar(require("./OneOfSettingsSchemaEntry"), exports);
|
|
210
|
+
__exportStar(require("./OrganizationLevelEntityId"), exports);
|
|
202
211
|
__exportStar(require("./OsInfo"), exports);
|
|
203
212
|
__exportStar(require("./OsType"), exports);
|
|
204
213
|
__exportStar(require("./Page"), exports);
|
|
@@ -243,6 +252,8 @@ __exportStar(require("./SimulationActionCallApp"), exports);
|
|
|
243
252
|
__exportStar(require("./SimulationActionMock"), exports);
|
|
244
253
|
__exportStar(require("./SimulationContext"), exports);
|
|
245
254
|
__exportStar(require("./SimulationFilter"), exports);
|
|
255
|
+
__exportStar(require("./SimulationFixedResponse"), exports);
|
|
256
|
+
__exportStar(require("./SimulationSetupFields"), exports);
|
|
246
257
|
__exportStar(require("./Source"), exports);
|
|
247
258
|
__exportStar(require("./SourceInfo"), exports);
|
|
248
259
|
__exportStar(require("./SourceType"), exports);
|
|
@@ -267,6 +278,8 @@ __exportStar(require("./TimeWindow"), exports);
|
|
|
267
278
|
__exportStar(require("./UniversalCondition"), exports);
|
|
268
279
|
__exportStar(require("./UserConversationMessageType"), exports);
|
|
269
280
|
__exportStar(require("./UserData"), exports);
|
|
281
|
+
__exportStar(require("./UserDataEffect"), exports);
|
|
282
|
+
__exportStar(require("./UserDataPatch"), exports);
|
|
270
283
|
__exportStar(require("./UserDataValueSource"), exports);
|
|
271
284
|
__exportStar(require("./UserDataWithReference"), exports);
|
|
272
285
|
__exportStar(require("./UserEvent"), exports);
|
|
@@ -275,6 +288,8 @@ __exportStar(require("./UserEventNameCondition"), exports);
|
|
|
275
288
|
__exportStar(require("./UserMessage"), exports);
|
|
276
289
|
__exportStar(require("./UserMessageBase"), exports);
|
|
277
290
|
__exportStar(require("./UserMessageResponseState"), exports);
|
|
291
|
+
__exportStar(require("./UsersConversationAudience"), exports);
|
|
292
|
+
__exportStar(require("./UsersConversationAudienceResponse"), exports);
|
|
278
293
|
__exportStar(require("./ValidatedSettingsSchemaEntryBase"), exports);
|
|
279
294
|
__exportStar(require("./VisibilityType"), exports);
|
|
280
295
|
__exportStar(require("./WeekdaysDaySelector"), exports);
|
|
@@ -1,24 +1,23 @@
|
|
|
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 { ConversationAudience } from "../../commons/types/ConversationAudience";
|
|
5
|
+
import { ConversationSetupFields } from "../../commons/types/ConversationSetupFields";
|
|
4
6
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
7
|
import { EntityIdBase } from "../../commons/types/EntityIdBase";
|
|
6
|
-
import { ResponseConfig } from "../../commons/types/ResponseConfig";
|
|
7
8
|
import { SimulationContext } from "../../commons/types/SimulationContext";
|
|
8
9
|
import { ConversationMessageRequest } from "./ConversationMessageRequest";
|
|
9
10
|
export declare const ConversationRequest: core.serialization.ObjectSchema<serializers.ConversationRequest.Raw, MavenAGI.ConversationRequest>;
|
|
10
11
|
export declare namespace ConversationRequest {
|
|
11
|
-
interface Raw {
|
|
12
|
+
interface Raw extends ConversationSetupFields.Raw {
|
|
12
13
|
conversationId: EntityIdBase.Raw;
|
|
13
14
|
simulationContext?: SimulationContext.Raw | null;
|
|
14
|
-
responseConfig?: ResponseConfig.Raw | null;
|
|
15
15
|
subject?: string | null;
|
|
16
16
|
url?: string | null;
|
|
17
17
|
createdAt?: string | null;
|
|
18
18
|
updatedAt?: string | null;
|
|
19
|
-
tags?: string[] | null;
|
|
20
|
-
metadata?: Record<string, string> | null;
|
|
21
19
|
messages: ConversationMessageRequest.Raw[];
|
|
22
20
|
spawnedFromConversationId?: EntityId.Raw | null;
|
|
21
|
+
audience?: ConversationAudience.Raw | null;
|
|
23
22
|
}
|
|
24
23
|
}
|
|
@@ -36,21 +36,22 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationRequest = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ConversationAudience_1 = require("../../commons/types/ConversationAudience");
|
|
40
|
+
const ConversationSetupFields_1 = require("../../commons/types/ConversationSetupFields");
|
|
39
41
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
42
|
const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
|
|
41
|
-
const ResponseConfig_1 = require("../../commons/types/ResponseConfig");
|
|
42
43
|
const SimulationContext_1 = require("../../commons/types/SimulationContext");
|
|
43
44
|
const ConversationMessageRequest_1 = require("./ConversationMessageRequest");
|
|
44
|
-
exports.ConversationRequest = core.serialization
|
|
45
|
+
exports.ConversationRequest = core.serialization
|
|
46
|
+
.object({
|
|
45
47
|
conversationId: EntityIdBase_1.EntityIdBase,
|
|
46
48
|
simulationContext: SimulationContext_1.SimulationContext.optional(),
|
|
47
|
-
responseConfig: ResponseConfig_1.ResponseConfig.optional(),
|
|
48
49
|
subject: core.serialization.string().optional(),
|
|
49
50
|
url: core.serialization.string().optional(),
|
|
50
51
|
createdAt: core.serialization.date().optional(),
|
|
51
52
|
updatedAt: core.serialization.date().optional(),
|
|
52
|
-
tags: core.serialization.set(core.serialization.string()).optional(),
|
|
53
|
-
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
54
53
|
messages: core.serialization.list(ConversationMessageRequest_1.ConversationMessageRequest),
|
|
55
54
|
spawnedFromConversationId: EntityId_1.EntityId.optional(),
|
|
56
|
-
|
|
55
|
+
audience: ConversationAudience_1.ConversationAudience.optional(),
|
|
56
|
+
})
|
|
57
|
+
.extend(ConversationSetupFields_1.ConversationSetupFields);
|
|
@@ -1,10 +1,12 @@
|
|
|
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 { EntityId } from "../../commons/types/EntityId";
|
|
4
5
|
import { DeliveryStatus } from "./DeliveryStatus";
|
|
5
6
|
export declare const DeliverMessageResponse: core.serialization.ObjectSchema<serializers.DeliverMessageResponse.Raw, MavenAGI.DeliverMessageResponse>;
|
|
6
7
|
export declare namespace DeliverMessageResponse {
|
|
7
8
|
interface Raw {
|
|
8
9
|
status: DeliveryStatus.Raw;
|
|
10
|
+
conversationId?: EntityId.Raw | null;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.DeliverMessageResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
39
40
|
const DeliveryStatus_1 = require("./DeliveryStatus");
|
|
40
41
|
exports.DeliverMessageResponse = core.serialization.object({
|
|
41
42
|
status: DeliveryStatus_1.DeliveryStatus,
|
|
43
|
+
conversationId: EntityId_1.EntityId.optional(),
|
|
42
44
|
});
|
|
@@ -41,5 +41,6 @@ const DeliverMessageBase_1 = require("./DeliverMessageBase");
|
|
|
41
41
|
exports.DeliverUserMessageRequest = core.serialization
|
|
42
42
|
.object({
|
|
43
43
|
userId: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
|
|
44
|
+
appIds: core.serialization.list(core.serialization.string()).optional(),
|
|
44
45
|
})
|
|
45
46
|
.extend(DeliverMessageBase_1.DeliverMessageBase);
|