parlant-client 3.0.1 → 3.3.1
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/package.json +1 -1
- package/src/Client.d.ts +7 -0
- package/src/Client.js +97 -0
- package/src/api/index.d.ts +1 -1
- package/src/api/index.js +1 -1
- package/src/api/resources/agents/client/Client.d.ts +5 -2
- package/src/api/resources/agents/client/Client.js +5 -2
- package/src/api/resources/agents/client/requests/AgentCreationParams.d.ts +4 -0
- package/src/api/resources/agents/client/requests/AgentUpdateParams.d.ts +3 -1
- package/src/api/resources/cannedResponses/client/Client.d.ts +14 -2
- package/src/api/resources/cannedResponses/client/Client.js +14 -2
- package/src/api/resources/cannedResponses/client/requests/CannedResponseCreationParams.d.ts +10 -1
- package/src/api/resources/cannedResponses/client/requests/CannedResponseUpdateParams.d.ts +9 -1
- package/src/api/resources/customers/client/Client.d.ts +17 -4
- package/src/api/resources/customers/client/Client.js +41 -11
- package/src/api/resources/customers/client/requests/CustomerCreationParams.d.ts +2 -0
- package/src/api/resources/customers/client/requests/CustomersListRequest.d.ts +16 -0
- package/src/api/resources/customers/client/requests/index.d.ts +1 -0
- package/src/api/resources/customers/index.d.ts +1 -0
- package/src/api/resources/customers/index.js +1 -0
- package/src/api/resources/customers/types/CustomersListResponse.d.ts +5 -0
- package/src/api/resources/customers/types/index.d.ts +1 -0
- package/src/api/resources/customers/types/index.js +17 -0
- package/src/api/resources/glossary/client/requests/TermCreationParams.d.ts +1 -0
- package/src/api/resources/guidelines/client/Client.d.ts +14 -2
- package/src/api/resources/guidelines/client/Client.js +14 -2
- package/src/api/resources/guidelines/client/requests/GuidelineCreationParams.d.ts +14 -1
- package/src/api/resources/guidelines/client/requests/GuidelineUpdateParams.d.ts +14 -1
- package/src/api/resources/index.d.ts +4 -2
- package/src/api/resources/index.js +5 -3
- package/src/api/resources/journeys/client/Client.d.ts +4 -2
- package/src/api/resources/journeys/client/Client.js +4 -2
- package/src/api/resources/journeys/client/requests/JourneyCreationParams.d.ts +10 -1
- package/src/api/resources/journeys/client/requests/JourneyUpdateParams.d.ts +3 -0
- package/src/api/resources/sessions/client/Client.d.ts +96 -9
- package/src/api/resources/sessions/client/Client.js +232 -13
- package/src/api/resources/sessions/client/requests/EventCreationParams.d.ts +3 -1
- package/src/api/resources/sessions/client/requests/EventUpdateParams.d.ts +20 -0
- package/src/api/resources/sessions/client/requests/SessionCreationParams.d.ts +10 -1
- package/src/api/resources/sessions/client/requests/SessionUpdateParams.d.ts +16 -1
- package/src/api/resources/sessions/client/requests/SessionsListEventsRequest.d.ts +3 -0
- package/src/api/resources/sessions/client/requests/SessionsListRequest.d.ts +8 -1
- package/src/api/resources/sessions/client/requests/SessionsReadEventRequest.d.ts +12 -0
- package/src/api/resources/sessions/client/requests/index.d.ts +2 -0
- package/src/api/resources/sessions/index.d.ts +1 -0
- package/src/api/resources/sessions/index.js +1 -0
- package/src/api/resources/sessions/types/SessionsListResponse.d.ts +5 -0
- package/src/api/resources/sessions/types/index.d.ts +1 -0
- package/src/api/resources/sessions/types/index.js +17 -0
- package/src/api/resources/tags/client/Client.d.ts +6 -3
- package/src/api/resources/tags/client/Client.js +22 -8
- package/src/api/resources/tags/client/requests/TagsListRequest.d.ts +13 -0
- package/src/api/resources/tags/client/requests/index.d.ts +1 -0
- package/src/api/types/Agent.d.ts +1 -0
- package/src/api/types/CannedResponse.d.ts +4 -0
- package/src/api/types/CannedResponseMetadataUpdateParams.d.ts +12 -0
- package/src/api/types/CriticalityDto.d.ts +12 -0
- package/src/api/types/CriticalityDto.js +11 -0
- package/src/api/types/Event.d.ts +4 -0
- package/src/api/types/Guideline.d.ts +10 -0
- package/src/api/types/GuidelineLabelsUpdateParams.d.ts +12 -0
- package/src/api/types/Journey.d.ts +5 -0
- package/src/api/types/JourneyLabelsUpdateParams.d.ts +12 -0
- package/src/api/types/MessageOutputModeDto.d.ts +15 -0
- package/src/api/types/MessageOutputModeDto.js +10 -0
- package/src/api/types/{Moderation.d.ts → ModerationDto.d.ts} +2 -2
- package/src/api/types/{Moderation.js → ModerationDto.js} +2 -2
- package/src/api/types/PaginatedCustomers.d.ts +13 -0
- package/src/api/types/Session.d.ts +4 -0
- package/src/api/types/SessionLabelsUpdateParams.d.ts +12 -0
- package/src/api/types/SessionListing.d.ts +13 -0
- package/src/api/types/SessionMetadataUpdateParams.d.ts +12 -0
- package/src/api/types/SortDirectionDto.d.ts +11 -0
- package/src/api/types/SortDirectionDto.js +10 -0
- package/src/api/types/ToolServiceKindDto.d.ts +2 -2
- package/src/api/types/ValidationError.d.ts +2 -0
- package/src/api/types/index.d.ts +11 -27
- package/src/api/types/index.js +11 -27
- package/src/serialization/client/healthCheckHealthzGet.d.ts +9 -0
- package/src/serialization/{resources/sessions/client/list.js → client/healthCheckHealthzGet.js} +2 -3
- package/src/serialization/client/index.d.ts +1 -0
- package/src/serialization/client/index.js +37 -0
- package/src/serialization/index.d.ts +2 -1
- package/src/serialization/index.js +2 -1
- package/src/serialization/resources/agents/client/requests/AgentCreationParams.d.ts +3 -0
- package/src/serialization/resources/agents/client/requests/AgentCreationParams.js +3 -0
- package/src/serialization/resources/agents/client/requests/AgentUpdateParams.d.ts +2 -0
- package/src/serialization/resources/agents/client/requests/AgentUpdateParams.js +2 -0
- package/src/serialization/resources/cannedResponses/client/requests/CannedResponseCreationParams.d.ts +2 -0
- package/src/serialization/resources/cannedResponses/client/requests/CannedResponseCreationParams.js +2 -0
- package/src/serialization/resources/cannedResponses/client/requests/CannedResponseUpdateParams.d.ts +2 -0
- package/src/serialization/resources/cannedResponses/client/requests/CannedResponseUpdateParams.js +2 -0
- package/src/serialization/resources/customers/client/index.d.ts +0 -1
- package/src/serialization/resources/customers/client/index.js +0 -24
- package/src/serialization/resources/customers/client/requests/CustomerCreationParams.d.ts +1 -0
- package/src/serialization/resources/customers/client/requests/CustomerCreationParams.js +1 -0
- package/src/serialization/resources/customers/index.d.ts +1 -0
- package/src/serialization/resources/customers/index.js +1 -0
- package/src/serialization/resources/customers/types/CustomersListResponse.d.ts +12 -0
- package/src/serialization/resources/customers/{client/list.js → types/CustomersListResponse.js} +3 -2
- package/src/serialization/resources/customers/types/index.d.ts +1 -0
- package/src/serialization/resources/customers/types/index.js +17 -0
- package/src/serialization/resources/glossary/client/requests/TermCreationParams.d.ts +1 -0
- package/src/serialization/resources/glossary/client/requests/TermCreationParams.js +1 -0
- package/src/serialization/resources/guidelines/client/requests/GuidelineCreationParams.d.ts +9 -0
- package/src/serialization/resources/guidelines/client/requests/GuidelineCreationParams.js +9 -0
- package/src/serialization/resources/guidelines/client/requests/GuidelineUpdateParams.d.ts +8 -0
- package/src/serialization/resources/guidelines/client/requests/GuidelineUpdateParams.js +8 -0
- package/src/serialization/resources/index.d.ts +4 -2
- package/src/serialization/resources/index.js +5 -3
- package/src/serialization/resources/journeys/client/requests/JourneyCreationParams.d.ts +5 -0
- package/src/serialization/resources/journeys/client/requests/JourneyCreationParams.js +5 -0
- package/src/serialization/resources/journeys/client/requests/JourneyUpdateParams.d.ts +5 -0
- package/src/serialization/resources/journeys/client/requests/JourneyUpdateParams.js +5 -0
- package/src/serialization/resources/sessions/client/index.d.ts +0 -1
- package/src/serialization/resources/sessions/client/index.js +1 -2
- package/src/serialization/resources/sessions/client/requests/EventCreationParams.d.ts +1 -0
- package/src/serialization/resources/sessions/client/requests/EventCreationParams.js +1 -0
- package/src/serialization/resources/sessions/client/requests/EventUpdateParams.d.ts +13 -0
- package/src/serialization/resources/sessions/client/requests/EventUpdateParams.js +44 -0
- package/src/serialization/resources/sessions/client/requests/SessionCreationParams.d.ts +2 -0
- package/src/serialization/resources/sessions/client/requests/SessionCreationParams.js +2 -0
- package/src/serialization/resources/sessions/client/requests/SessionUpdateParams.d.ts +6 -0
- package/src/serialization/resources/sessions/client/requests/SessionUpdateParams.js +6 -0
- package/src/serialization/resources/sessions/client/requests/index.d.ts +1 -0
- package/src/serialization/resources/sessions/client/requests/index.js +3 -1
- package/src/serialization/resources/sessions/index.d.ts +1 -0
- package/src/serialization/resources/sessions/index.js +1 -0
- package/src/serialization/resources/sessions/types/SessionsListResponse.d.ts +12 -0
- package/src/serialization/resources/sessions/types/SessionsListResponse.js +43 -0
- package/src/serialization/resources/sessions/types/index.d.ts +1 -0
- package/src/serialization/resources/sessions/types/index.js +17 -0
- package/src/serialization/types/Agent.d.ts +2 -0
- package/src/serialization/types/Agent.js +2 -0
- package/src/serialization/types/CannedResponse.d.ts +2 -0
- package/src/serialization/types/CannedResponse.js +2 -0
- package/src/serialization/types/CannedResponseMetadataUpdateParams.d.ts +13 -0
- package/src/serialization/types/CannedResponseMetadataUpdateParams.js +44 -0
- package/src/serialization/types/CriticalityDto.d.ts +10 -0
- package/src/serialization/types/{ConnectionPropositionKindDto.js → CriticalityDto.js} +2 -2
- package/src/serialization/types/Event.d.ts +2 -0
- package/src/serialization/types/Event.js +2 -0
- package/src/serialization/types/Guideline.d.ts +8 -0
- package/src/serialization/types/Guideline.js +8 -0
- package/src/serialization/types/GuidelineLabelsUpdateParams.d.ts +13 -0
- package/src/serialization/types/{LegacyGuideline.js → GuidelineLabelsUpdateParams.js} +4 -6
- package/src/serialization/types/Journey.d.ts +4 -0
- package/src/serialization/types/Journey.js +4 -0
- package/src/serialization/types/JourneyLabelsUpdateParams.d.ts +13 -0
- package/src/serialization/types/{LegacyGuidelineConnectionAddition.js → JourneyLabelsUpdateParams.js} +4 -4
- package/src/serialization/types/MessageOutputModeDto.d.ts +10 -0
- package/src/serialization/types/{CoherenceCheckKindDto.js → MessageOutputModeDto.js} +2 -5
- package/src/serialization/types/{Moderation.d.ts → ModerationDto.d.ts} +2 -2
- package/src/serialization/types/ModerationDto.js +41 -0
- package/src/serialization/types/PaginatedCustomers.d.ts +16 -0
- package/src/serialization/types/{ConnectionProposition.js → PaginatedCustomers.js} +7 -7
- package/src/serialization/types/Session.d.ts +2 -0
- package/src/serialization/types/Session.js +2 -0
- package/src/serialization/types/SessionLabelsUpdateParams.d.ts +13 -0
- package/src/serialization/types/{LegacyGuidelineCreationParams.js → SessionLabelsUpdateParams.js} +4 -4
- package/src/serialization/types/SessionListing.d.ts +16 -0
- package/src/serialization/types/{LegacyEvaluationCreationParams.js → SessionListing.js} +7 -5
- package/src/serialization/types/SessionMetadataUpdateParams.d.ts +13 -0
- package/src/serialization/types/{LegacyInvoiceData.js → SessionMetadataUpdateParams.js} +4 -4
- package/src/serialization/types/SortDirectionDto.d.ts +10 -0
- package/src/serialization/types/{Moderation.js → SortDirectionDto.js} +2 -2
- package/src/serialization/types/ValidationError.d.ts +2 -0
- package/src/serialization/types/ValidationError.js +2 -0
- package/src/serialization/types/index.d.ts +11 -27
- package/src/serialization/types/index.js +11 -27
- package/src/api/types/CoherenceCheck.d.ts +0 -16
- package/src/api/types/CoherenceCheckKindDto.d.ts +0 -11
- package/src/api/types/CoherenceCheckKindDto.js +0 -10
- package/src/api/types/ConnectionProposition.d.ts +0 -12
- package/src/api/types/ConnectionPropositionKindDto.d.ts +0 -11
- package/src/api/types/ConnectionPropositionKindDto.js +0 -10
- package/src/api/types/LegacyContextVariable.d.ts +0 -22
- package/src/api/types/LegacyContextVariableCreationParams.d.ts +0 -16
- package/src/api/types/LegacyContextVariableReadResult.d.ts +0 -12
- package/src/api/types/LegacyContextVariableUpdateParams.d.ts +0 -16
- package/src/api/types/LegacyEvaluation.d.ts +0 -19
- package/src/api/types/LegacyEvaluationCreationParams.d.ts +0 -12
- package/src/api/types/LegacyGuideline.d.ts +0 -16
- package/src/api/types/LegacyGuidelineConnection.d.ts +0 -15
- package/src/api/types/LegacyGuidelineConnectionAddition.d.ts +0 -12
- package/src/api/types/LegacyGuidelineConnectionUpdateParams.d.ts +0 -14
- package/src/api/types/LegacyGuidelineCreationParams.d.ts +0 -10
- package/src/api/types/LegacyGuidelineCreationResult.d.ts +0 -10
- package/src/api/types/LegacyGuidelineCreationResult.js +0 -5
- package/src/api/types/LegacyGuidelineInvoiceData.d.ts +0 -11
- package/src/api/types/LegacyGuidelineInvoiceData.js +0 -5
- package/src/api/types/LegacyGuidelinePayload.d.ts +0 -17
- package/src/api/types/LegacyGuidelinePayload.js +0 -5
- package/src/api/types/LegacyGuidelineUpdateParams.d.ts +0 -12
- package/src/api/types/LegacyGuidelineUpdateParams.js +0 -5
- package/src/api/types/LegacyGuidelineWithConnectionsAndToolAssociations.d.ts +0 -12
- package/src/api/types/LegacyGuidelineWithConnectionsAndToolAssociations.js +0 -5
- package/src/api/types/LegacyInvoice.d.ts +0 -19
- package/src/api/types/LegacyInvoice.js +0 -5
- package/src/api/types/LegacyInvoiceData.d.ts +0 -12
- package/src/api/types/LegacyInvoiceData.js +0 -5
- package/src/api/types/LegacyPayload.d.ts +0 -13
- package/src/api/types/LegacyPayload.js +0 -5
- package/src/api/types/LegacyTerm.d.ts +0 -18
- package/src/api/types/LegacyTerm.js +0 -5
- package/src/api/types/LegacyTermCreationParams.d.ts +0 -16
- package/src/api/types/LegacyTermCreationParams.js +0 -5
- package/src/api/types/LegacyTermUpdateParams.d.ts +0 -16
- package/src/api/types/LegacyTermUpdateParams.js +0 -5
- package/src/serialization/resources/customers/client/list.d.ts +0 -11
- package/src/serialization/resources/sessions/client/list.d.ts +0 -11
- package/src/serialization/types/CoherenceCheck.d.ts +0 -18
- package/src/serialization/types/CoherenceCheck.js +0 -49
- package/src/serialization/types/CoherenceCheckKindDto.d.ts +0 -10
- package/src/serialization/types/ConnectionProposition.d.ts +0 -16
- package/src/serialization/types/ConnectionPropositionKindDto.d.ts +0 -10
- package/src/serialization/types/LegacyContextVariable.d.ts +0 -17
- package/src/serialization/types/LegacyContextVariable.js +0 -48
- package/src/serialization/types/LegacyContextVariableCreationParams.d.ts +0 -16
- package/src/serialization/types/LegacyContextVariableCreationParams.js +0 -47
- package/src/serialization/types/LegacyContextVariableReadResult.d.ts +0 -15
- package/src/serialization/types/LegacyContextVariableReadResult.js +0 -46
- package/src/serialization/types/LegacyContextVariableUpdateParams.d.ts +0 -16
- package/src/serialization/types/LegacyContextVariableUpdateParams.js +0 -47
- package/src/serialization/types/LegacyEvaluation.d.ts +0 -19
- package/src/serialization/types/LegacyEvaluation.js +0 -50
- package/src/serialization/types/LegacyEvaluationCreationParams.d.ts +0 -14
- package/src/serialization/types/LegacyGuideline.d.ts +0 -15
- package/src/serialization/types/LegacyGuidelineConnection.d.ts +0 -16
- package/src/serialization/types/LegacyGuidelineConnection.js +0 -47
- package/src/serialization/types/LegacyGuidelineConnectionAddition.d.ts +0 -13
- package/src/serialization/types/LegacyGuidelineConnectionUpdateParams.d.ts +0 -14
- package/src/serialization/types/LegacyGuidelineConnectionUpdateParams.js +0 -45
- package/src/serialization/types/LegacyGuidelineCreationParams.d.ts +0 -13
- package/src/serialization/types/LegacyGuidelineCreationResult.d.ts +0 -13
- package/src/serialization/types/LegacyGuidelineCreationResult.js +0 -44
- package/src/serialization/types/LegacyGuidelineInvoiceData.d.ts +0 -15
- package/src/serialization/types/LegacyGuidelineInvoiceData.js +0 -46
- package/src/serialization/types/LegacyGuidelinePayload.d.ts +0 -18
- package/src/serialization/types/LegacyGuidelinePayload.js +0 -49
- package/src/serialization/types/LegacyGuidelineUpdateParams.d.ts +0 -16
- package/src/serialization/types/LegacyGuidelineUpdateParams.js +0 -47
- package/src/serialization/types/LegacyGuidelineWithConnectionsAndToolAssociations.d.ts +0 -17
- package/src/serialization/types/LegacyGuidelineWithConnectionsAndToolAssociations.js +0 -48
- package/src/serialization/types/LegacyInvoice.d.ts +0 -18
- package/src/serialization/types/LegacyInvoice.js +0 -49
- package/src/serialization/types/LegacyInvoiceData.d.ts +0 -13
- package/src/serialization/types/LegacyPayload.d.ts +0 -15
- package/src/serialization/types/LegacyPayload.js +0 -46
- package/src/serialization/types/LegacyTerm.d.ts +0 -15
- package/src/serialization/types/LegacyTerm.js +0 -46
- package/src/serialization/types/LegacyTermCreationParams.d.ts +0 -14
- package/src/serialization/types/LegacyTermCreationParams.js +0 -45
- package/src/serialization/types/LegacyTermUpdateParams.d.ts +0 -14
- package/src/serialization/types/LegacyTermUpdateParams.js +0 -45
- /package/src/api/{types/CoherenceCheck.js → resources/customers/client/requests/CustomersListRequest.js} +0 -0
- /package/src/api/{types/ConnectionProposition.js → resources/customers/types/CustomersListResponse.js} +0 -0
- /package/src/api/{types/LegacyContextVariable.js → resources/sessions/client/requests/EventUpdateParams.js} +0 -0
- /package/src/api/{types/LegacyContextVariableCreationParams.js → resources/sessions/client/requests/SessionsReadEventRequest.js} +0 -0
- /package/src/api/{types/LegacyContextVariableReadResult.js → resources/sessions/types/SessionsListResponse.js} +0 -0
- /package/src/api/{types/LegacyContextVariableUpdateParams.js → resources/tags/client/requests/TagsListRequest.js} +0 -0
- /package/src/api/types/{LegacyEvaluation.js → CannedResponseMetadataUpdateParams.js} +0 -0
- /package/src/api/types/{LegacyEvaluationCreationParams.js → GuidelineLabelsUpdateParams.js} +0 -0
- /package/src/api/types/{LegacyGuideline.js → JourneyLabelsUpdateParams.js} +0 -0
- /package/src/api/types/{LegacyGuidelineConnection.js → PaginatedCustomers.js} +0 -0
- /package/src/api/types/{LegacyGuidelineConnectionAddition.js → SessionLabelsUpdateParams.js} +0 -0
- /package/src/api/types/{LegacyGuidelineConnectionUpdateParams.js → SessionListing.js} +0 -0
- /package/src/api/types/{LegacyGuidelineCreationParams.js → SessionMetadataUpdateParams.js} +0 -0
|
@@ -39,11 +39,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.Agent = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const CompositionModeDto_1 = require("./CompositionModeDto");
|
|
42
|
+
const MessageOutputModeDto_1 = require("./MessageOutputModeDto");
|
|
42
43
|
exports.Agent = core.serialization.object({
|
|
43
44
|
id: core.serialization.string(),
|
|
44
45
|
name: core.serialization.string(),
|
|
45
46
|
description: core.serialization.string().optional(),
|
|
46
47
|
maxEngineIterations: core.serialization.property("max_engine_iterations", core.serialization.number().optional()),
|
|
47
48
|
compositionMode: core.serialization.property("composition_mode", CompositionModeDto_1.CompositionModeDto),
|
|
49
|
+
messageOutputMode: core.serialization.property("message_output_mode", MessageOutputModeDto_1.MessageOutputModeDto),
|
|
48
50
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
49
51
|
});
|
|
@@ -46,4 +46,6 @@ exports.CannedResponse = core.serialization.object({
|
|
|
46
46
|
fields: core.serialization.list(CannedResponseField_1.CannedResponseField),
|
|
47
47
|
tags: core.serialization.list(core.serialization.string()),
|
|
48
48
|
signals: core.serialization.list(core.serialization.string()),
|
|
49
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
50
|
+
fieldDependencies: core.serialization.property("field_dependencies", core.serialization.list(core.serialization.string()).optional()),
|
|
49
51
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Parlant from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CannedResponseMetadataUpdateParams: core.serialization.ObjectSchema<serializers.CannedResponseMetadataUpdateParams.Raw, Parlant.CannedResponseMetadataUpdateParams>;
|
|
8
|
+
export declare namespace CannedResponseMetadataUpdateParams {
|
|
9
|
+
interface Raw {
|
|
10
|
+
set?: Record<string, unknown> | null;
|
|
11
|
+
unset?: string[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CannedResponseMetadataUpdateParams = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.CannedResponseMetadataUpdateParams = core.serialization.object({
|
|
42
|
+
set: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
43
|
+
unset: core.serialization.list(core.serialization.string()).optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Parlant from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CriticalityDto: core.serialization.Schema<serializers.CriticalityDto.Raw, Parlant.CriticalityDto>;
|
|
8
|
+
export declare namespace CriticalityDto {
|
|
9
|
+
type Raw = "low" | "medium" | "high";
|
|
10
|
+
}
|
|
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.CriticalityDto = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.CriticalityDto = core.serialization.enum_(["low", "medium", "high"]);
|
|
@@ -46,7 +46,9 @@ exports.Event = core.serialization.object({
|
|
|
46
46
|
kind: EventKindDto_1.EventKindDto,
|
|
47
47
|
offset: core.serialization.number(),
|
|
48
48
|
creationUtc: core.serialization.property("creation_utc", core.serialization.date()),
|
|
49
|
+
traceId: core.serialization.property("trace_id", core.serialization.string()),
|
|
49
50
|
correlationId: core.serialization.property("correlation_id", core.serialization.string()),
|
|
50
51
|
data: core.serialization.unknown(),
|
|
52
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
51
53
|
deleted: core.serialization.boolean(),
|
|
52
54
|
});
|
|
@@ -4,14 +4,22 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Parlant from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { CriticalityDto } from "./CriticalityDto";
|
|
8
|
+
import { CompositionModeDto } from "./CompositionModeDto";
|
|
7
9
|
export declare const Guideline: core.serialization.ObjectSchema<serializers.Guideline.Raw, Parlant.Guideline>;
|
|
8
10
|
export declare namespace Guideline {
|
|
9
11
|
interface Raw {
|
|
10
12
|
id: string;
|
|
11
13
|
condition: string;
|
|
12
14
|
action?: string | null;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
criticality?: CriticalityDto.Raw | null;
|
|
13
17
|
enabled?: boolean | null;
|
|
14
18
|
tags: string[];
|
|
15
19
|
metadata: Record<string, unknown>;
|
|
20
|
+
composition_mode?: CompositionModeDto.Raw | null;
|
|
21
|
+
track?: boolean | null;
|
|
22
|
+
labels?: string[] | null;
|
|
23
|
+
priority?: number | null;
|
|
16
24
|
}
|
|
17
25
|
}
|
|
@@ -38,11 +38,19 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Guideline = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const CriticalityDto_1 = require("./CriticalityDto");
|
|
42
|
+
const CompositionModeDto_1 = require("./CompositionModeDto");
|
|
41
43
|
exports.Guideline = core.serialization.object({
|
|
42
44
|
id: core.serialization.string(),
|
|
43
45
|
condition: core.serialization.string(),
|
|
44
46
|
action: core.serialization.string().optional(),
|
|
47
|
+
description: core.serialization.string().optional(),
|
|
48
|
+
criticality: CriticalityDto_1.CriticalityDto.optional(),
|
|
45
49
|
enabled: core.serialization.boolean().optional(),
|
|
46
50
|
tags: core.serialization.list(core.serialization.string()),
|
|
47
51
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
52
|
+
compositionMode: core.serialization.property("composition_mode", CompositionModeDto_1.CompositionModeDto.optional()),
|
|
53
|
+
track: core.serialization.boolean().optional(),
|
|
54
|
+
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
55
|
+
priority: core.serialization.number().optional(),
|
|
48
56
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Parlant from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const GuidelineLabelsUpdateParams: core.serialization.ObjectSchema<serializers.GuidelineLabelsUpdateParams.Raw, Parlant.GuidelineLabelsUpdateParams>;
|
|
8
|
+
export declare namespace GuidelineLabelsUpdateParams {
|
|
9
|
+
interface Raw {
|
|
10
|
+
upsert?: string[] | null;
|
|
11
|
+
remove?: string[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.GuidelineLabelsUpdateParams = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
action: core.serialization.string(),
|
|
45
|
-
enabled: core.serialization.boolean().optional(),
|
|
41
|
+
exports.GuidelineLabelsUpdateParams = core.serialization.object({
|
|
42
|
+
upsert: core.serialization.list(core.serialization.string()).optional(),
|
|
43
|
+
remove: core.serialization.list(core.serialization.string()).optional(),
|
|
46
44
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Parlant from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { CompositionModeDto } from "./CompositionModeDto";
|
|
7
8
|
export declare const Journey: core.serialization.ObjectSchema<serializers.Journey.Raw, Parlant.Journey>;
|
|
8
9
|
export declare namespace Journey {
|
|
9
10
|
interface Raw {
|
|
@@ -12,5 +13,8 @@ export declare namespace Journey {
|
|
|
12
13
|
description: string;
|
|
13
14
|
conditions: string[];
|
|
14
15
|
tags?: string[] | null;
|
|
16
|
+
composition_mode?: CompositionModeDto.Raw | null;
|
|
17
|
+
labels?: string[] | null;
|
|
18
|
+
priority?: number | null;
|
|
15
19
|
}
|
|
16
20
|
}
|
|
@@ -38,10 +38,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Journey = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const CompositionModeDto_1 = require("./CompositionModeDto");
|
|
41
42
|
exports.Journey = core.serialization.object({
|
|
42
43
|
id: core.serialization.string(),
|
|
43
44
|
title: core.serialization.string(),
|
|
44
45
|
description: core.serialization.string(),
|
|
45
46
|
conditions: core.serialization.list(core.serialization.string()),
|
|
46
47
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
48
|
+
compositionMode: core.serialization.property("composition_mode", CompositionModeDto_1.CompositionModeDto.optional()),
|
|
49
|
+
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
50
|
+
priority: core.serialization.number().optional(),
|
|
47
51
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Parlant from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const JourneyLabelsUpdateParams: core.serialization.ObjectSchema<serializers.JourneyLabelsUpdateParams.Raw, Parlant.JourneyLabelsUpdateParams>;
|
|
8
|
+
export declare namespace JourneyLabelsUpdateParams {
|
|
9
|
+
interface Raw {
|
|
10
|
+
upsert?: string[] | null;
|
|
11
|
+
remove?: string[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.JourneyLabelsUpdateParams = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
exports.JourneyLabelsUpdateParams = core.serialization.object({
|
|
42
|
+
upsert: core.serialization.list(core.serialization.string()).optional(),
|
|
43
|
+
remove: core.serialization.list(core.serialization.string()).optional(),
|
|
44
44
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Parlant from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const MessageOutputModeDto: core.serialization.Schema<serializers.MessageOutputModeDto.Raw, Parlant.MessageOutputModeDto>;
|
|
8
|
+
export declare namespace MessageOutputModeDto {
|
|
9
|
+
type Raw = "block" | "stream";
|
|
10
|
+
}
|
|
@@ -36,9 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.MessageOutputModeDto = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
42
|
-
"contradiction_with_existing_guideline",
|
|
43
|
-
"contradiction_with_another_evaluated_guideline",
|
|
44
|
-
]);
|
|
41
|
+
exports.MessageOutputModeDto = core.serialization.enum_(["block", "stream"]);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Parlant from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const ModerationDto: core.serialization.Schema<serializers.ModerationDto.Raw, Parlant.ModerationDto>;
|
|
8
|
+
export declare namespace ModerationDto {
|
|
9
9
|
type Raw = "auto" | "paranoid" | "none";
|
|
10
10
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ModerationDto = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ModerationDto = core.serialization.enum_(["auto", "paranoid", "none"]);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Parlant from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { Customer } from "./Customer";
|
|
8
|
+
export declare const PaginatedCustomers: core.serialization.ObjectSchema<serializers.PaginatedCustomers.Raw, Parlant.PaginatedCustomers>;
|
|
9
|
+
export declare namespace PaginatedCustomers {
|
|
10
|
+
interface Raw {
|
|
11
|
+
items: Customer.Raw[];
|
|
12
|
+
total_count: number;
|
|
13
|
+
has_more: boolean;
|
|
14
|
+
next_cursor?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -36,12 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.PaginatedCustomers = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
const Customer_1 = require("./Customer");
|
|
42
|
+
exports.PaginatedCustomers = core.serialization.object({
|
|
43
|
+
items: core.serialization.list(Customer_1.Customer),
|
|
44
|
+
totalCount: core.serialization.property("total_count", core.serialization.number()),
|
|
45
|
+
hasMore: core.serialization.property("has_more", core.serialization.boolean()),
|
|
46
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
|
47
47
|
});
|
|
@@ -48,4 +48,6 @@ exports.Session = core.serialization.object({
|
|
|
48
48
|
title: core.serialization.string().optional(),
|
|
49
49
|
mode: SessionModeDto_1.SessionModeDto,
|
|
50
50
|
consumptionOffsets: core.serialization.property("consumption_offsets", ConsumptionOffsets_1.ConsumptionOffsets),
|
|
51
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
52
|
+
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
51
53
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Parlant from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SessionLabelsUpdateParams: core.serialization.ObjectSchema<serializers.SessionLabelsUpdateParams.Raw, Parlant.SessionLabelsUpdateParams>;
|
|
8
|
+
export declare namespace SessionLabelsUpdateParams {
|
|
9
|
+
interface Raw {
|
|
10
|
+
upsert?: string[] | null;
|
|
11
|
+
remove?: string[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
package/src/serialization/types/{LegacyGuidelineCreationParams.js → SessionLabelsUpdateParams.js}
RENAMED
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.SessionLabelsUpdateParams = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
exports.SessionLabelsUpdateParams = core.serialization.object({
|
|
42
|
+
upsert: core.serialization.list(core.serialization.string()).optional(),
|
|
43
|
+
remove: core.serialization.list(core.serialization.string()).optional(),
|
|
44
44
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Parlant from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { Session } from "./Session";
|
|
8
|
+
export declare const SessionListing: core.serialization.ObjectSchema<serializers.SessionListing.Raw, Parlant.SessionListing>;
|
|
9
|
+
export declare namespace SessionListing {
|
|
10
|
+
interface Raw {
|
|
11
|
+
items: Session.Raw[];
|
|
12
|
+
total_count: number;
|
|
13
|
+
has_more: boolean;
|
|
14
|
+
next_cursor?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.SessionListing = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
const
|
|
42
|
-
exports.
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
const Session_1 = require("./Session");
|
|
42
|
+
exports.SessionListing = core.serialization.object({
|
|
43
|
+
items: core.serialization.list(Session_1.Session),
|
|
44
|
+
totalCount: core.serialization.property("total_count", core.serialization.number()),
|
|
45
|
+
hasMore: core.serialization.property("has_more", core.serialization.boolean()),
|
|
46
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
|
45
47
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Parlant from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SessionMetadataUpdateParams: core.serialization.ObjectSchema<serializers.SessionMetadataUpdateParams.Raw, Parlant.SessionMetadataUpdateParams>;
|
|
8
|
+
export declare namespace SessionMetadataUpdateParams {
|
|
9
|
+
interface Raw {
|
|
10
|
+
set?: Record<string, unknown> | null;
|
|
11
|
+
unset?: string[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.SessionMetadataUpdateParams = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
exports.SessionMetadataUpdateParams = core.serialization.object({
|
|
42
|
+
set: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
43
|
+
unset: core.serialization.list(core.serialization.string()).optional(),
|
|
44
44
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Parlant from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SortDirectionDto: core.serialization.Schema<serializers.SortDirectionDto.Raw, Parlant.SortDirectionDto>;
|
|
8
|
+
export declare namespace SortDirectionDto {
|
|
9
|
+
type Raw = "asc" | "desc";
|
|
10
|
+
}
|
|
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.SortDirectionDto = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.SortDirectionDto = core.serialization.enum_(["asc", "desc"]);
|
|
@@ -43,4 +43,6 @@ exports.ValidationError = core.serialization.object({
|
|
|
43
43
|
loc: core.serialization.list(ValidationErrorLocItem_1.ValidationErrorLocItem),
|
|
44
44
|
msg: core.serialization.string(),
|
|
45
45
|
type: core.serialization.string(),
|
|
46
|
+
input: core.serialization.unknown().optional(),
|
|
47
|
+
ctx: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
46
48
|
});
|
|
@@ -4,20 +4,18 @@ export * from "./AgentMessageGuidelineRationaleDto";
|
|
|
4
4
|
export * from "./AgentTagUpdateParams";
|
|
5
5
|
export * from "./CannedResponse";
|
|
6
6
|
export * from "./CannedResponseField";
|
|
7
|
+
export * from "./CannedResponseMetadataUpdateParams";
|
|
7
8
|
export * from "./CannedResponseTagUpdateParams";
|
|
8
9
|
export * from "./Capability";
|
|
9
10
|
export * from "./CapabilityTagUpdateParams";
|
|
10
|
-
export * from "./CoherenceCheck";
|
|
11
|
-
export * from "./CoherenceCheckKindDto";
|
|
12
11
|
export * from "./CompositionModeDto";
|
|
13
|
-
export * from "./ConnectionProposition";
|
|
14
|
-
export * from "./ConnectionPropositionKindDto";
|
|
15
12
|
export * from "./ConsumptionOffsets";
|
|
16
13
|
export * from "./ConsumptionOffsetsUpdateParams";
|
|
17
14
|
export * from "./ContextVariable";
|
|
18
15
|
export * from "./ContextVariableReadResult";
|
|
19
16
|
export * from "./ContextVariableTagsUpdateParams";
|
|
20
17
|
export * from "./ContextVariableValue";
|
|
18
|
+
export * from "./CriticalityDto";
|
|
21
19
|
export * from "./Customer";
|
|
22
20
|
export * from "./CustomerMetadataUpdateParams";
|
|
23
21
|
export * from "./CustomerTagUpdateParams";
|
|
@@ -29,6 +27,7 @@ export * from "./EventSourceDto";
|
|
|
29
27
|
export * from "./GuidelineContent";
|
|
30
28
|
export * from "./Guideline";
|
|
31
29
|
export * from "./GuidelineInvoiceData";
|
|
30
|
+
export * from "./GuidelineLabelsUpdateParams";
|
|
32
31
|
export * from "./GuidelineMetadataUpdateParams";
|
|
33
32
|
export * from "./GuidelinePayload";
|
|
34
33
|
export * from "./GuidelinePayloadOperationDto";
|
|
@@ -41,32 +40,13 @@ export * from "./Invoice";
|
|
|
41
40
|
export * from "./InvoiceData";
|
|
42
41
|
export * from "./JourneyConditionUpdateParams";
|
|
43
42
|
export * from "./Journey";
|
|
43
|
+
export * from "./JourneyLabelsUpdateParams";
|
|
44
44
|
export * from "./JourneyTagUpdateParams";
|
|
45
|
-
export * from "./LegacyContextVariableCreationParams";
|
|
46
|
-
export * from "./LegacyContextVariable";
|
|
47
|
-
export * from "./LegacyContextVariableReadResult";
|
|
48
|
-
export * from "./LegacyContextVariableUpdateParams";
|
|
49
|
-
export * from "./LegacyEvaluationCreationParams";
|
|
50
|
-
export * from "./LegacyEvaluation";
|
|
51
|
-
export * from "./LegacyGuidelineConnectionAddition";
|
|
52
|
-
export * from "./LegacyGuidelineConnection";
|
|
53
|
-
export * from "./LegacyGuidelineConnectionUpdateParams";
|
|
54
|
-
export * from "./LegacyGuidelineCreationParams";
|
|
55
|
-
export * from "./LegacyGuidelineCreationResult";
|
|
56
|
-
export * from "./LegacyGuideline";
|
|
57
|
-
export * from "./LegacyGuidelineInvoiceData";
|
|
58
|
-
export * from "./LegacyGuidelinePayload";
|
|
59
|
-
export * from "./LegacyGuidelineUpdateParams";
|
|
60
|
-
export * from "./LegacyGuidelineWithConnectionsAndToolAssociations";
|
|
61
|
-
export * from "./LegacyInvoice";
|
|
62
|
-
export * from "./LegacyInvoiceData";
|
|
63
|
-
export * from "./LegacyPayload";
|
|
64
|
-
export * from "./LegacyTermCreationParams";
|
|
65
|
-
export * from "./LegacyTerm";
|
|
66
|
-
export * from "./LegacyTermUpdateParams";
|
|
67
45
|
export * from "./McpServiceParams";
|
|
68
|
-
export * from "./
|
|
46
|
+
export * from "./MessageOutputModeDto";
|
|
47
|
+
export * from "./ModerationDto";
|
|
69
48
|
export * from "./OpenApiServiceParams";
|
|
49
|
+
export * from "./PaginatedCustomers";
|
|
70
50
|
export * from "./Participant";
|
|
71
51
|
export * from "./Payload";
|
|
72
52
|
export * from "./PayloadKindDto";
|
|
@@ -75,8 +55,12 @@ export * from "./RelationshipKindDto";
|
|
|
75
55
|
export * from "./SdkServiceParams";
|
|
76
56
|
export * from "./Service";
|
|
77
57
|
export * from "./Session";
|
|
58
|
+
export * from "./SessionLabelsUpdateParams";
|
|
59
|
+
export * from "./SessionListing";
|
|
60
|
+
export * from "./SessionMetadataUpdateParams";
|
|
78
61
|
export * from "./SessionModeDto";
|
|
79
62
|
export * from "./SessionStatusDto";
|
|
63
|
+
export * from "./SortDirectionDto";
|
|
80
64
|
export * from "./Tag";
|
|
81
65
|
export * from "./Term";
|
|
82
66
|
export * from "./TermTagsUpdateParams";
|