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
|
@@ -1,49 +0,0 @@
|
|
|
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.CoherenceCheck = void 0;
|
|
40
|
-
const core = __importStar(require("../../core"));
|
|
41
|
-
const CoherenceCheckKindDto_1 = require("./CoherenceCheckKindDto");
|
|
42
|
-
const GuidelineContent_1 = require("./GuidelineContent");
|
|
43
|
-
exports.CoherenceCheck = core.serialization.object({
|
|
44
|
-
kind: CoherenceCheckKindDto_1.CoherenceCheckKindDto,
|
|
45
|
-
first: GuidelineContent_1.GuidelineContent,
|
|
46
|
-
second: GuidelineContent_1.GuidelineContent,
|
|
47
|
-
issue: core.serialization.string(),
|
|
48
|
-
severity: core.serialization.number(),
|
|
49
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
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 CoherenceCheckKindDto: core.serialization.Schema<serializers.CoherenceCheckKindDto.Raw, Parlant.CoherenceCheckKindDto>;
|
|
8
|
-
export declare namespace CoherenceCheckKindDto {
|
|
9
|
-
type Raw = "contradiction_with_existing_guideline" | "contradiction_with_another_evaluated_guideline";
|
|
10
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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 { ConnectionPropositionKindDto } from "./ConnectionPropositionKindDto";
|
|
8
|
-
import { GuidelineContent } from "./GuidelineContent";
|
|
9
|
-
export declare const ConnectionProposition: core.serialization.ObjectSchema<serializers.ConnectionProposition.Raw, Parlant.ConnectionProposition>;
|
|
10
|
-
export declare namespace ConnectionProposition {
|
|
11
|
-
interface Raw {
|
|
12
|
-
check_kind: ConnectionPropositionKindDto.Raw;
|
|
13
|
-
source: GuidelineContent.Raw;
|
|
14
|
-
target: GuidelineContent.Raw;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 ConnectionPropositionKindDto: core.serialization.Schema<serializers.ConnectionPropositionKindDto.Raw, Parlant.ConnectionPropositionKindDto>;
|
|
8
|
-
export declare namespace ConnectionPropositionKindDto {
|
|
9
|
-
type Raw = "connection_with_existing_guideline" | "connection_with_another_evaluated_guideline";
|
|
10
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { ToolId } from "./ToolId";
|
|
8
|
-
export declare const LegacyContextVariable: core.serialization.ObjectSchema<serializers.LegacyContextVariable.Raw, Parlant.LegacyContextVariable>;
|
|
9
|
-
export declare namespace LegacyContextVariable {
|
|
10
|
-
interface Raw {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
description?: string | null;
|
|
14
|
-
tool_id?: ToolId.Raw | null;
|
|
15
|
-
freshness_rules?: string | null;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
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.LegacyContextVariable = void 0;
|
|
40
|
-
const core = __importStar(require("../../core"));
|
|
41
|
-
const ToolId_1 = require("./ToolId");
|
|
42
|
-
exports.LegacyContextVariable = core.serialization.object({
|
|
43
|
-
id: core.serialization.string(),
|
|
44
|
-
name: core.serialization.string(),
|
|
45
|
-
description: core.serialization.string().optional(),
|
|
46
|
-
toolId: core.serialization.property("tool_id", ToolId_1.ToolId.optional()),
|
|
47
|
-
freshnessRules: core.serialization.property("freshness_rules", core.serialization.string().optional()),
|
|
48
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
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 { ToolId } from "./ToolId";
|
|
8
|
-
export declare const LegacyContextVariableCreationParams: core.serialization.ObjectSchema<serializers.LegacyContextVariableCreationParams.Raw, Parlant.LegacyContextVariableCreationParams>;
|
|
9
|
-
export declare namespace LegacyContextVariableCreationParams {
|
|
10
|
-
interface Raw {
|
|
11
|
-
name: string;
|
|
12
|
-
description?: string | null;
|
|
13
|
-
tool_id?: ToolId.Raw | null;
|
|
14
|
-
freshness_rules?: string | null;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
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.LegacyContextVariableCreationParams = void 0;
|
|
40
|
-
const core = __importStar(require("../../core"));
|
|
41
|
-
const ToolId_1 = require("./ToolId");
|
|
42
|
-
exports.LegacyContextVariableCreationParams = core.serialization.object({
|
|
43
|
-
name: core.serialization.string(),
|
|
44
|
-
description: core.serialization.string().optional(),
|
|
45
|
-
toolId: core.serialization.property("tool_id", ToolId_1.ToolId.optional()),
|
|
46
|
-
freshnessRules: core.serialization.property("freshness_rules", core.serialization.string().optional()),
|
|
47
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
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 { LegacyContextVariable } from "./LegacyContextVariable";
|
|
8
|
-
import { ContextVariableValue } from "./ContextVariableValue";
|
|
9
|
-
export declare const LegacyContextVariableReadResult: core.serialization.ObjectSchema<serializers.LegacyContextVariableReadResult.Raw, Parlant.LegacyContextVariableReadResult>;
|
|
10
|
-
export declare namespace LegacyContextVariableReadResult {
|
|
11
|
-
interface Raw {
|
|
12
|
-
context_variable: LegacyContextVariable.Raw;
|
|
13
|
-
key_value_pairs?: Record<string, ContextVariableValue.Raw | null | undefined> | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
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.LegacyContextVariableReadResult = void 0;
|
|
40
|
-
const core = __importStar(require("../../core"));
|
|
41
|
-
const LegacyContextVariable_1 = require("./LegacyContextVariable");
|
|
42
|
-
const ContextVariableValue_1 = require("./ContextVariableValue");
|
|
43
|
-
exports.LegacyContextVariableReadResult = core.serialization.object({
|
|
44
|
-
contextVariable: core.serialization.property("context_variable", LegacyContextVariable_1.LegacyContextVariable),
|
|
45
|
-
keyValuePairs: core.serialization.property("key_value_pairs", core.serialization.record(core.serialization.string(), ContextVariableValue_1.ContextVariableValue.optional()).optional()),
|
|
46
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
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 { ToolId } from "./ToolId";
|
|
8
|
-
export declare const LegacyContextVariableUpdateParams: core.serialization.ObjectSchema<serializers.LegacyContextVariableUpdateParams.Raw, Parlant.LegacyContextVariableUpdateParams>;
|
|
9
|
-
export declare namespace LegacyContextVariableUpdateParams {
|
|
10
|
-
interface Raw {
|
|
11
|
-
name?: string | null;
|
|
12
|
-
description?: string | null;
|
|
13
|
-
tool_id?: ToolId.Raw | null;
|
|
14
|
-
freshness_rules?: string | null;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
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.LegacyContextVariableUpdateParams = void 0;
|
|
40
|
-
const core = __importStar(require("../../core"));
|
|
41
|
-
const ToolId_1 = require("./ToolId");
|
|
42
|
-
exports.LegacyContextVariableUpdateParams = core.serialization.object({
|
|
43
|
-
name: core.serialization.string().optional(),
|
|
44
|
-
description: core.serialization.string().optional(),
|
|
45
|
-
toolId: core.serialization.property("tool_id", ToolId_1.ToolId.optional()),
|
|
46
|
-
freshnessRules: core.serialization.property("freshness_rules", core.serialization.string().optional()),
|
|
47
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
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 { EvaluationStatusDto } from "./EvaluationStatusDto";
|
|
8
|
-
import { LegacyInvoice } from "./LegacyInvoice";
|
|
9
|
-
export declare const LegacyEvaluation: core.serialization.ObjectSchema<serializers.LegacyEvaluation.Raw, Parlant.LegacyEvaluation>;
|
|
10
|
-
export declare namespace LegacyEvaluation {
|
|
11
|
-
interface Raw {
|
|
12
|
-
id: string;
|
|
13
|
-
status: EvaluationStatusDto.Raw;
|
|
14
|
-
progress: number;
|
|
15
|
-
creation_utc: string;
|
|
16
|
-
error?: string | null;
|
|
17
|
-
invoices: LegacyInvoice.Raw[];
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
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.LegacyEvaluation = void 0;
|
|
40
|
-
const core = __importStar(require("../../core"));
|
|
41
|
-
const EvaluationStatusDto_1 = require("./EvaluationStatusDto");
|
|
42
|
-
const LegacyInvoice_1 = require("./LegacyInvoice");
|
|
43
|
-
exports.LegacyEvaluation = core.serialization.object({
|
|
44
|
-
id: core.serialization.string(),
|
|
45
|
-
status: EvaluationStatusDto_1.EvaluationStatusDto,
|
|
46
|
-
progress: core.serialization.number(),
|
|
47
|
-
creationUtc: core.serialization.property("creation_utc", core.serialization.date()),
|
|
48
|
-
error: core.serialization.string().optional(),
|
|
49
|
-
invoices: core.serialization.list(LegacyInvoice_1.LegacyInvoice),
|
|
50
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { LegacyPayload } from "./LegacyPayload";
|
|
8
|
-
export declare const LegacyEvaluationCreationParams: core.serialization.ObjectSchema<serializers.LegacyEvaluationCreationParams.Raw, Parlant.LegacyEvaluationCreationParams>;
|
|
9
|
-
export declare namespace LegacyEvaluationCreationParams {
|
|
10
|
-
interface Raw {
|
|
11
|
-
agent_id: string;
|
|
12
|
-
payloads: LegacyPayload.Raw[];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 LegacyGuideline: core.serialization.ObjectSchema<serializers.LegacyGuideline.Raw, Parlant.LegacyGuideline>;
|
|
8
|
-
export declare namespace LegacyGuideline {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id: string;
|
|
11
|
-
condition: string;
|
|
12
|
-
action: string;
|
|
13
|
-
enabled?: boolean | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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 { LegacyGuideline } from "./LegacyGuideline";
|
|
8
|
-
export declare const LegacyGuidelineConnection: core.serialization.ObjectSchema<serializers.LegacyGuidelineConnection.Raw, Parlant.LegacyGuidelineConnection>;
|
|
9
|
-
export declare namespace LegacyGuidelineConnection {
|
|
10
|
-
interface Raw {
|
|
11
|
-
id: string;
|
|
12
|
-
source: LegacyGuideline.Raw;
|
|
13
|
-
target: LegacyGuideline.Raw;
|
|
14
|
-
indirect: boolean;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
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.LegacyGuidelineConnection = void 0;
|
|
40
|
-
const core = __importStar(require("../../core"));
|
|
41
|
-
const LegacyGuideline_1 = require("./LegacyGuideline");
|
|
42
|
-
exports.LegacyGuidelineConnection = core.serialization.object({
|
|
43
|
-
id: core.serialization.string(),
|
|
44
|
-
source: LegacyGuideline_1.LegacyGuideline,
|
|
45
|
-
target: LegacyGuideline_1.LegacyGuideline,
|
|
46
|
-
indirect: core.serialization.boolean(),
|
|
47
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
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 LegacyGuidelineConnectionAddition: core.serialization.ObjectSchema<serializers.LegacyGuidelineConnectionAddition.Raw, Parlant.LegacyGuidelineConnectionAddition>;
|
|
8
|
-
export declare namespace LegacyGuidelineConnectionAddition {
|
|
9
|
-
interface Raw {
|
|
10
|
-
source: string;
|
|
11
|
-
target: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { LegacyGuidelineConnectionAddition } from "./LegacyGuidelineConnectionAddition";
|
|
8
|
-
export declare const LegacyGuidelineConnectionUpdateParams: core.serialization.ObjectSchema<serializers.LegacyGuidelineConnectionUpdateParams.Raw, Parlant.LegacyGuidelineConnectionUpdateParams>;
|
|
9
|
-
export declare namespace LegacyGuidelineConnectionUpdateParams {
|
|
10
|
-
interface Raw {
|
|
11
|
-
add?: LegacyGuidelineConnectionAddition.Raw[] | null;
|
|
12
|
-
remove?: string[] | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
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.LegacyGuidelineConnectionUpdateParams = void 0;
|
|
40
|
-
const core = __importStar(require("../../core"));
|
|
41
|
-
const LegacyGuidelineConnectionAddition_1 = require("./LegacyGuidelineConnectionAddition");
|
|
42
|
-
exports.LegacyGuidelineConnectionUpdateParams = core.serialization.object({
|
|
43
|
-
add: core.serialization.list(LegacyGuidelineConnectionAddition_1.LegacyGuidelineConnectionAddition).optional(),
|
|
44
|
-
remove: core.serialization.list(core.serialization.string()).optional(),
|
|
45
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
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 { LegacyInvoice } from "./LegacyInvoice";
|
|
8
|
-
export declare const LegacyGuidelineCreationParams: core.serialization.ObjectSchema<serializers.LegacyGuidelineCreationParams.Raw, Parlant.LegacyGuidelineCreationParams>;
|
|
9
|
-
export declare namespace LegacyGuidelineCreationParams {
|
|
10
|
-
interface Raw {
|
|
11
|
-
invoices: LegacyInvoice.Raw[];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 { LegacyGuidelineWithConnectionsAndToolAssociations } from "./LegacyGuidelineWithConnectionsAndToolAssociations";
|
|
8
|
-
export declare const LegacyGuidelineCreationResult: core.serialization.ObjectSchema<serializers.LegacyGuidelineCreationResult.Raw, Parlant.LegacyGuidelineCreationResult>;
|
|
9
|
-
export declare namespace LegacyGuidelineCreationResult {
|
|
10
|
-
interface Raw {
|
|
11
|
-
items: LegacyGuidelineWithConnectionsAndToolAssociations.Raw[];
|
|
12
|
-
}
|
|
13
|
-
}
|