parlant-client 0.5.0
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/README.md +2 -0
- package/package.json +31 -0
- package/src/Client.d.ts +55 -0
- package/src/Client.js +137 -0
- package/src/api/errors/UnprocessableEntityError.d.ts +8 -0
- package/src/api/errors/UnprocessableEntityError.js +41 -0
- package/src/api/errors/index.d.ts +1 -0
- package/src/api/errors/index.js +17 -0
- package/src/api/index.d.ts +3 -0
- package/src/api/index.js +19 -0
- package/src/api/resources/agents/client/Client.d.ts +72 -0
- package/src/api/resources/agents/client/Client.js +359 -0
- package/src/api/resources/agents/client/index.d.ts +1 -0
- package/src/api/resources/agents/client/index.js +17 -0
- package/src/api/resources/agents/client/requests/AgentCreationParams.d.ts +14 -0
- package/src/api/resources/agents/client/requests/AgentCreationParams.js +5 -0
- package/src/api/resources/agents/client/requests/AgentUpdateParams.d.ts +12 -0
- package/src/api/resources/agents/client/requests/AgentUpdateParams.js +5 -0
- package/src/api/resources/agents/client/requests/index.d.ts +2 -0
- package/src/api/resources/agents/client/requests/index.js +2 -0
- package/src/api/resources/agents/index.d.ts +1 -0
- package/src/api/resources/agents/index.js +17 -0
- package/src/api/resources/contextVariables/client/Client.d.ts +131 -0
- package/src/api/resources/contextVariables/client/Client.js +643 -0
- package/src/api/resources/contextVariables/client/index.d.ts +1 -0
- package/src/api/resources/contextVariables/client/index.js +17 -0
- package/src/api/resources/contextVariables/client/requests/ContextVariableCreationParams.d.ts +16 -0
- package/src/api/resources/contextVariables/client/requests/ContextVariableCreationParams.js +5 -0
- package/src/api/resources/contextVariables/client/requests/ContextVariableUpdateParams.d.ts +14 -0
- package/src/api/resources/contextVariables/client/requests/ContextVariableUpdateParams.js +5 -0
- package/src/api/resources/contextVariables/client/requests/ContextVariableValueUpdateParams.d.ts +14 -0
- package/src/api/resources/contextVariables/client/requests/ContextVariableValueUpdateParams.js +5 -0
- package/src/api/resources/contextVariables/client/requests/ContextVariablesRetrieveRequest.d.ts +10 -0
- package/src/api/resources/contextVariables/client/requests/ContextVariablesRetrieveRequest.js +5 -0
- package/src/api/resources/contextVariables/client/requests/index.d.ts +4 -0
- package/src/api/resources/contextVariables/client/requests/index.js +2 -0
- package/src/api/resources/contextVariables/index.d.ts +1 -0
- package/src/api/resources/contextVariables/index.js +17 -0
- package/src/api/resources/customers/client/Client.d.ts +72 -0
- package/src/api/resources/customers/client/Client.js +359 -0
- package/src/api/resources/customers/client/index.d.ts +1 -0
- package/src/api/resources/customers/client/index.js +17 -0
- package/src/api/resources/customers/client/requests/CustomerCreationParams.d.ts +13 -0
- package/src/api/resources/customers/client/requests/CustomerCreationParams.js +5 -0
- package/src/api/resources/customers/client/requests/CustomerUpdateParams.d.ts +13 -0
- package/src/api/resources/customers/client/requests/CustomerUpdateParams.js +5 -0
- package/src/api/resources/customers/client/requests/index.d.ts +2 -0
- package/src/api/resources/customers/client/requests/index.js +2 -0
- package/src/api/resources/customers/index.d.ts +1 -0
- package/src/api/resources/customers/index.js +17 -0
- package/src/api/resources/evaluations/client/Client.d.ts +48 -0
- package/src/api/resources/evaluations/client/Client.js +193 -0
- package/src/api/resources/evaluations/client/index.d.ts +1 -0
- package/src/api/resources/evaluations/client/index.js +17 -0
- package/src/api/resources/evaluations/client/requests/EvaluationCreationParams.d.ts +17 -0
- package/src/api/resources/evaluations/client/requests/EvaluationCreationParams.js +5 -0
- package/src/api/resources/evaluations/client/requests/EvaluationsRetrieveRequest.d.ts +10 -0
- package/src/api/resources/evaluations/client/requests/EvaluationsRetrieveRequest.js +5 -0
- package/src/api/resources/evaluations/client/requests/index.d.ts +2 -0
- package/src/api/resources/evaluations/client/requests/index.js +2 -0
- package/src/api/resources/evaluations/index.d.ts +1 -0
- package/src/api/resources/evaluations/index.js +17 -0
- package/src/api/resources/glossary/client/Client.d.ts +80 -0
- package/src/api/resources/glossary/client/Client.js +377 -0
- package/src/api/resources/glossary/client/index.d.ts +1 -0
- package/src/api/resources/glossary/client/index.js +17 -0
- package/src/api/resources/glossary/client/requests/TermCreationParams.d.ts +15 -0
- package/src/api/resources/glossary/client/requests/TermCreationParams.js +5 -0
- package/src/api/resources/glossary/client/requests/TermUpdateParams.d.ts +12 -0
- package/src/api/resources/glossary/client/requests/TermUpdateParams.js +5 -0
- package/src/api/resources/glossary/client/requests/index.d.ts +2 -0
- package/src/api/resources/glossary/client/requests/index.js +2 -0
- package/src/api/resources/glossary/index.d.ts +1 -0
- package/src/api/resources/glossary/index.js +17 -0
- package/src/api/resources/guidelines/client/Client.d.ts +85 -0
- package/src/api/resources/guidelines/client/Client.js +382 -0
- package/src/api/resources/guidelines/client/index.d.ts +1 -0
- package/src/api/resources/guidelines/client/index.js +17 -0
- package/src/api/resources/guidelines/client/requests/GuidelineCreationParams.d.ts +19 -0
- package/src/api/resources/guidelines/client/requests/GuidelineCreationParams.js +5 -0
- package/src/api/resources/guidelines/client/requests/GuidelineUpdateParams.d.ts +12 -0
- package/src/api/resources/guidelines/client/requests/GuidelineUpdateParams.js +5 -0
- package/src/api/resources/guidelines/client/requests/index.d.ts +2 -0
- package/src/api/resources/guidelines/client/requests/index.js +2 -0
- package/src/api/resources/guidelines/index.d.ts +1 -0
- package/src/api/resources/guidelines/index.js +17 -0
- package/src/api/resources/index.d.ts +18 -0
- package/src/api/resources/index.js +47 -0
- package/src/api/resources/services/client/Client.d.ts +62 -0
- package/src/api/resources/services/client/Client.js +294 -0
- package/src/api/resources/services/client/index.d.ts +1 -0
- package/src/api/resources/services/client/index.js +17 -0
- package/src/api/resources/services/client/requests/ServiceUpdateParams.d.ts +15 -0
- package/src/api/resources/services/client/requests/ServiceUpdateParams.js +5 -0
- package/src/api/resources/services/client/requests/index.d.ts +1 -0
- package/src/api/resources/services/client/requests/index.js +2 -0
- package/src/api/resources/services/index.d.ts +1 -0
- package/src/api/resources/services/index.js +17 -0
- package/src/api/resources/sessions/client/Client.d.ts +134 -0
- package/src/api/resources/sessions/client/Client.js +755 -0
- package/src/api/resources/sessions/client/index.d.ts +1 -0
- package/src/api/resources/sessions/client/index.js +17 -0
- package/src/api/resources/sessions/client/requests/EventCreationParams.d.ts +17 -0
- package/src/api/resources/sessions/client/requests/EventCreationParams.js +5 -0
- package/src/api/resources/sessions/client/requests/SessionCreationParams.d.ts +15 -0
- package/src/api/resources/sessions/client/requests/SessionCreationParams.js +5 -0
- package/src/api/resources/sessions/client/requests/SessionUpdateParams.d.ts +12 -0
- package/src/api/resources/sessions/client/requests/SessionUpdateParams.js +5 -0
- package/src/api/resources/sessions/client/requests/SessionsDeleteEventsRequest.d.ts +12 -0
- package/src/api/resources/sessions/client/requests/SessionsDeleteEventsRequest.js +5 -0
- package/src/api/resources/sessions/client/requests/SessionsDeleteManyRequest.d.ts +11 -0
- package/src/api/resources/sessions/client/requests/SessionsDeleteManyRequest.js +5 -0
- package/src/api/resources/sessions/client/requests/SessionsListEventsRequest.d.ts +18 -0
- package/src/api/resources/sessions/client/requests/SessionsListEventsRequest.js +5 -0
- package/src/api/resources/sessions/client/requests/SessionsListRequest.d.ts +11 -0
- package/src/api/resources/sessions/client/requests/SessionsListRequest.js +5 -0
- package/src/api/resources/sessions/client/requests/index.d.ts +7 -0
- package/src/api/resources/sessions/client/requests/index.js +2 -0
- package/src/api/resources/sessions/index.d.ts +1 -0
- package/src/api/resources/sessions/index.js +17 -0
- package/src/api/resources/tags/client/Client.d.ts +74 -0
- package/src/api/resources/tags/client/Client.js +356 -0
- package/src/api/resources/tags/client/index.d.ts +1 -0
- package/src/api/resources/tags/client/index.js +17 -0
- package/src/api/resources/tags/client/requests/TagCreationParams.d.ts +12 -0
- package/src/api/resources/tags/client/requests/TagCreationParams.js +5 -0
- package/src/api/resources/tags/client/requests/TagUpdateParams.d.ts +12 -0
- package/src/api/resources/tags/client/requests/TagUpdateParams.js +5 -0
- package/src/api/resources/tags/client/requests/index.d.ts +2 -0
- package/src/api/resources/tags/client/requests/index.js +2 -0
- package/src/api/resources/tags/index.d.ts +1 -0
- package/src/api/resources/tags/index.js +17 -0
- package/src/api/types/Agent.d.ts +10 -0
- package/src/api/types/Agent.js +5 -0
- package/src/api/types/CoherenceCheck.d.ts +11 -0
- package/src/api/types/CoherenceCheck.js +5 -0
- package/src/api/types/CoherenceCheckKindDto.d.ts +8 -0
- package/src/api/types/CoherenceCheckKindDto.js +10 -0
- package/src/api/types/ConnectionKindDto.d.ts +8 -0
- package/src/api/types/ConnectionKindDto.js +10 -0
- package/src/api/types/ConnectionProposition.d.ts +10 -0
- package/src/api/types/ConnectionProposition.js +5 -0
- package/src/api/types/ConnectionPropositionKindDto.d.ts +8 -0
- package/src/api/types/ConnectionPropositionKindDto.js +10 -0
- package/src/api/types/ConsumptionOffsets.d.ts +6 -0
- package/src/api/types/ConsumptionOffsets.js +5 -0
- package/src/api/types/ConsumptionOffsetsUpdateParams.d.ts +6 -0
- package/src/api/types/ConsumptionOffsetsUpdateParams.js +5 -0
- package/src/api/types/ContextVariable.d.ts +11 -0
- package/src/api/types/ContextVariable.js +5 -0
- package/src/api/types/ContextVariableAndValue.d.ts +10 -0
- package/src/api/types/ContextVariableAndValue.js +5 -0
- package/src/api/types/ContextVariableReadResult.d.ts +8 -0
- package/src/api/types/ContextVariableReadResult.js +5 -0
- package/src/api/types/ContextVariableValue.d.ts +8 -0
- package/src/api/types/ContextVariableValue.js +5 -0
- package/src/api/types/Customer.d.ts +10 -0
- package/src/api/types/Customer.js +5 -0
- package/src/api/types/CustomerExtraUpdateParams.d.ts +7 -0
- package/src/api/types/CustomerExtraUpdateParams.js +5 -0
- package/src/api/types/DayOfWeekDto.d.ts +13 -0
- package/src/api/types/DayOfWeekDto.js +15 -0
- package/src/api/types/Evaluation.d.ts +12 -0
- package/src/api/types/Evaluation.js +5 -0
- package/src/api/types/EvaluationStatusDto.d.ts +10 -0
- package/src/api/types/EvaluationStatusDto.js +12 -0
- package/src/api/types/Event.d.ts +13 -0
- package/src/api/types/Event.js +5 -0
- package/src/api/types/EventInspectionResult.d.ts +9 -0
- package/src/api/types/EventInspectionResult.js +5 -0
- package/src/api/types/EventKindDto.d.ts +10 -0
- package/src/api/types/EventKindDto.js +12 -0
- package/src/api/types/EventSourceDto.d.ts +12 -0
- package/src/api/types/EventSourceDto.js +14 -0
- package/src/api/types/EventTrace.d.ts +9 -0
- package/src/api/types/EventTrace.js +5 -0
- package/src/api/types/FreshnessRules.d.ts +12 -0
- package/src/api/types/FreshnessRules.js +5 -0
- package/src/api/types/GenerationInfo.d.ts +10 -0
- package/src/api/types/GenerationInfo.js +5 -0
- package/src/api/types/Guideline.d.ts +8 -0
- package/src/api/types/Guideline.js +5 -0
- package/src/api/types/GuidelineConnection.d.ts +11 -0
- package/src/api/types/GuidelineConnection.js +5 -0
- package/src/api/types/GuidelineConnectionAddition.d.ts +9 -0
- package/src/api/types/GuidelineConnectionAddition.js +5 -0
- package/src/api/types/GuidelineConnectionUpdateParams.d.ts +8 -0
- package/src/api/types/GuidelineConnectionUpdateParams.js +5 -0
- package/src/api/types/GuidelineContent.d.ts +7 -0
- package/src/api/types/GuidelineContent.js +5 -0
- package/src/api/types/GuidelineCreationResult.d.ts +7 -0
- package/src/api/types/GuidelineCreationResult.js +5 -0
- package/src/api/types/GuidelineInvoiceData.d.ts +8 -0
- package/src/api/types/GuidelineInvoiceData.js +5 -0
- package/src/api/types/GuidelinePayload.d.ts +11 -0
- package/src/api/types/GuidelinePayload.js +5 -0
- package/src/api/types/GuidelinePayloadOperationDto.d.ts +8 -0
- package/src/api/types/GuidelinePayloadOperationDto.js +10 -0
- package/src/api/types/GuidelineProposition.d.ts +10 -0
- package/src/api/types/GuidelineProposition.js +5 -0
- package/src/api/types/GuidelinePropositionInspection.d.ts +8 -0
- package/src/api/types/GuidelinePropositionInspection.js +5 -0
- package/src/api/types/GuidelineToolAssociation.d.ts +9 -0
- package/src/api/types/GuidelineToolAssociation.js +5 -0
- package/src/api/types/GuidelineToolAssociationUpdateParams.d.ts +8 -0
- package/src/api/types/GuidelineToolAssociationUpdateParams.js +5 -0
- package/src/api/types/GuidelineWithConnectionsAndToolAssociations.d.ts +9 -0
- package/src/api/types/GuidelineWithConnectionsAndToolAssociations.js +5 -0
- package/src/api/types/HttpValidationError.d.ts +7 -0
- package/src/api/types/HttpValidationError.js +5 -0
- package/src/api/types/Invoice.d.ts +11 -0
- package/src/api/types/Invoice.js +5 -0
- package/src/api/types/InvoiceData.d.ts +7 -0
- package/src/api/types/InvoiceData.js +5 -0
- package/src/api/types/MessageGenerationInspection.d.ts +8 -0
- package/src/api/types/MessageGenerationInspection.js +5 -0
- package/src/api/types/Moderation.d.ts +9 -0
- package/src/api/types/Moderation.js +11 -0
- package/src/api/types/OpenApiServiceParams.d.ts +7 -0
- package/src/api/types/OpenApiServiceParams.js +5 -0
- package/src/api/types/Payload.d.ts +8 -0
- package/src/api/types/Payload.js +5 -0
- package/src/api/types/PayloadKindDto.d.ts +4 -0
- package/src/api/types/PayloadKindDto.js +5 -0
- package/src/api/types/PreparationIteration.d.ts +11 -0
- package/src/api/types/PreparationIteration.js +5 -0
- package/src/api/types/PreparationIterationGenerations.d.ts +8 -0
- package/src/api/types/PreparationIterationGenerations.js +5 -0
- package/src/api/types/SdkServiceParams.d.ts +6 -0
- package/src/api/types/SdkServiceParams.js +5 -0
- package/src/api/types/Service.d.ts +10 -0
- package/src/api/types/Service.js +5 -0
- package/src/api/types/Session.d.ts +12 -0
- package/src/api/types/Session.js +5 -0
- package/src/api/types/Tag.d.ts +8 -0
- package/src/api/types/Tag.js +5 -0
- package/src/api/types/TagsUpdateParams.d.ts +7 -0
- package/src/api/types/TagsUpdateParams.js +5 -0
- package/src/api/types/Term.d.ts +9 -0
- package/src/api/types/Term.js +5 -0
- package/src/api/types/Tool.d.ts +11 -0
- package/src/api/types/Tool.js +5 -0
- package/src/api/types/ToolCall.d.ts +9 -0
- package/src/api/types/ToolCall.js +5 -0
- package/src/api/types/ToolId.d.ts +7 -0
- package/src/api/types/ToolId.js +5 -0
- package/src/api/types/ToolParameter.d.ts +9 -0
- package/src/api/types/ToolParameter.js +5 -0
- package/src/api/types/ToolParameterDtoEnumItem.d.ts +4 -0
- package/src/api/types/ToolParameterDtoEnumItem.js +5 -0
- package/src/api/types/ToolParameterTypeDto.d.ts +10 -0
- package/src/api/types/ToolParameterTypeDto.js +12 -0
- package/src/api/types/ToolResult.d.ts +7 -0
- package/src/api/types/ToolResult.js +5 -0
- package/src/api/types/ToolServiceKindDto.d.ts +8 -0
- package/src/api/types/ToolServiceKindDto.js +10 -0
- package/src/api/types/UsageInfo.d.ts +8 -0
- package/src/api/types/UsageInfo.js +5 -0
- package/src/api/types/ValidationError.d.ts +9 -0
- package/src/api/types/ValidationError.js +5 -0
- package/src/api/types/ValidationErrorLocItem.d.ts +4 -0
- package/src/api/types/ValidationErrorLocItem.js +5 -0
- package/src/api/types/index.d.ts +65 -0
- package/src/api/types/index.js +81 -0
- package/src/core/fetcher/APIResponse.d.ts +10 -0
- package/src/core/fetcher/APIResponse.js +2 -0
- package/src/core/fetcher/Fetcher.d.ts +39 -0
- package/src/core/fetcher/Fetcher.js +99 -0
- package/src/core/fetcher/Supplier.d.ts +4 -0
- package/src/core/fetcher/Supplier.js +22 -0
- package/src/core/fetcher/createRequestUrl.d.ts +1 -0
- package/src/core/fetcher/createRequestUrl.js +13 -0
- package/src/core/fetcher/getFetchFn.d.ts +4 -0
- package/src/core/fetcher/getFetchFn.js +59 -0
- package/src/core/fetcher/getHeader.d.ts +1 -0
- package/src/core/fetcher/getHeader.js +12 -0
- package/src/core/fetcher/getRequestBody.d.ts +7 -0
- package/src/core/fetcher/getRequestBody.js +23 -0
- package/src/core/fetcher/getResponseBody.d.ts +1 -0
- package/src/core/fetcher/getResponseBody.js +55 -0
- package/src/core/fetcher/index.d.ts +5 -0
- package/src/core/fetcher/index.js +9 -0
- package/src/core/fetcher/makeRequest.d.ts +1 -0
- package/src/core/fetcher/makeRequest.js +42 -0
- package/src/core/fetcher/requestWithRetries.d.ts +1 -0
- package/src/core/fetcher/requestWithRetries.js +41 -0
- package/src/core/fetcher/signals.d.ts +12 -0
- package/src/core/fetcher/signals.js +37 -0
- package/src/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/src/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/src/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
- package/src/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
- package/src/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/src/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/src/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/src/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
- package/src/core/index.d.ts +3 -0
- package/src/core/index.js +32 -0
- package/src/core/runtime/index.d.ts +1 -0
- package/src/core/runtime/index.js +5 -0
- package/src/core/runtime/runtime.d.ts +9 -0
- package/src/core/runtime/runtime.js +93 -0
- package/src/core/schemas/Schema.d.ts +85 -0
- package/src/core/schemas/Schema.js +22 -0
- package/src/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/src/core/schemas/builders/bigint/bigint.js +50 -0
- package/src/core/schemas/builders/bigint/index.d.ts +1 -0
- package/src/core/schemas/builders/bigint/index.js +5 -0
- package/src/core/schemas/builders/date/date.d.ts +2 -0
- package/src/core/schemas/builders/date/date.js +63 -0
- package/src/core/schemas/builders/date/index.d.ts +1 -0
- package/src/core/schemas/builders/date/index.js +5 -0
- package/src/core/schemas/builders/enum/enum.d.ts +2 -0
- package/src/core/schemas/builders/enum/enum.js +39 -0
- package/src/core/schemas/builders/enum/index.d.ts +1 -0
- package/src/core/schemas/builders/enum/index.js +5 -0
- package/src/core/schemas/builders/index.d.ts +14 -0
- package/src/core/schemas/builders/index.js +30 -0
- package/src/core/schemas/builders/lazy/index.d.ts +3 -0
- package/src/core/schemas/builders/lazy/index.js +7 -0
- package/src/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/src/core/schemas/builders/lazy/lazy.js +25 -0
- package/src/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/src/core/schemas/builders/lazy/lazyObject.js +12 -0
- package/src/core/schemas/builders/list/index.d.ts +1 -0
- package/src/core/schemas/builders/list/index.js +5 -0
- package/src/core/schemas/builders/list/list.d.ts +2 -0
- package/src/core/schemas/builders/list/list.js +55 -0
- package/src/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/src/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/src/core/schemas/builders/literals/index.d.ts +2 -0
- package/src/core/schemas/builders/literals/index.js +7 -0
- package/src/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/src/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/src/core/schemas/builders/object/index.d.ts +6 -0
- package/src/core/schemas/builders/object/index.js +11 -0
- package/src/core/schemas/builders/object/object.d.ts +3 -0
- package/src/core/schemas/builders/object/object.js +233 -0
- package/src/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/src/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/src/core/schemas/builders/object/property.d.ts +8 -0
- package/src/core/schemas/builders/object/property.js +16 -0
- package/src/core/schemas/builders/object/types.d.ts +26 -0
- package/src/core/schemas/builders/object/types.js +2 -0
- package/src/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/src/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
- package/src/core/schemas/builders/object-like/index.d.ts +2 -0
- package/src/core/schemas/builders/object-like/index.js +6 -0
- package/src/core/schemas/builders/object-like/types.d.ts +7 -0
- package/src/core/schemas/builders/object-like/types.js +2 -0
- package/src/core/schemas/builders/primitives/any.d.ts +1 -0
- package/src/core/schemas/builders/primitives/any.js +6 -0
- package/src/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/src/core/schemas/builders/primitives/boolean.js +25 -0
- package/src/core/schemas/builders/primitives/index.d.ts +5 -0
- package/src/core/schemas/builders/primitives/index.js +13 -0
- package/src/core/schemas/builders/primitives/number.d.ts +1 -0
- package/src/core/schemas/builders/primitives/number.js +25 -0
- package/src/core/schemas/builders/primitives/string.d.ts +1 -0
- package/src/core/schemas/builders/primitives/string.js +25 -0
- package/src/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/src/core/schemas/builders/primitives/unknown.js +6 -0
- package/src/core/schemas/builders/record/index.d.ts +2 -0
- package/src/core/schemas/builders/record/index.js +5 -0
- package/src/core/schemas/builders/record/record.d.ts +3 -0
- package/src/core/schemas/builders/record/record.js +95 -0
- package/src/core/schemas/builders/record/types.d.ts +4 -0
- package/src/core/schemas/builders/record/types.js +2 -0
- package/src/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/src/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/src/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/src/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/src/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/src/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
- package/src/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/src/core/schemas/builders/schema-utils/index.js +11 -0
- package/src/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/src/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/src/core/schemas/builders/set/index.d.ts +1 -0
- package/src/core/schemas/builders/set/index.js +5 -0
- package/src/core/schemas/builders/set/set.d.ts +2 -0
- package/src/core/schemas/builders/set/set.js +44 -0
- package/src/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/src/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/src/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/src/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/src/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/src/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
- package/src/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/src/core/schemas/builders/union/discriminant.js +10 -0
- package/src/core/schemas/builders/union/index.d.ts +4 -0
- package/src/core/schemas/builders/union/index.js +7 -0
- package/src/core/schemas/builders/union/types.d.ts +13 -0
- package/src/core/schemas/builders/union/types.js +2 -0
- package/src/core/schemas/builders/union/union.d.ts +4 -0
- package/src/core/schemas/builders/union/union.js +130 -0
- package/src/core/schemas/index.d.ts +2 -0
- package/src/core/schemas/index.js +17 -0
- package/src/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/src/core/schemas/utils/MaybePromise.js +2 -0
- package/src/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/src/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/src/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/src/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/src/core/schemas/utils/entries.d.ts +1 -0
- package/src/core/schemas/utils/entries.js +7 -0
- package/src/core/schemas/utils/filterObject.d.ts +1 -0
- package/src/core/schemas/utils/filterObject.js +14 -0
- package/src/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/src/core/schemas/utils/getErrorMessageForIncorrectType.js +28 -0
- package/src/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/src/core/schemas/utils/isPlainObject.js +18 -0
- package/src/core/schemas/utils/keys.d.ts +1 -0
- package/src/core/schemas/utils/keys.js +7 -0
- package/src/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/src/core/schemas/utils/maybeSkipValidation.js +28 -0
- package/src/core/schemas/utils/partition.d.ts +1 -0
- package/src/core/schemas/utils/partition.js +16 -0
- package/src/errors/ParlantError.d.ts +12 -0
- package/src/errors/ParlantError.js +32 -0
- package/src/errors/ParlantTimeoutError.d.ts +6 -0
- package/src/errors/ParlantTimeoutError.js +13 -0
- package/src/errors/index.d.ts +2 -0
- package/src/errors/index.js +7 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +32 -0
- package/src/serialization/index.d.ts +2 -0
- package/src/serialization/index.js +18 -0
- package/src/serialization/resources/agents/client/index.d.ts +2 -0
- package/src/serialization/resources/agents/client/index.js +31 -0
- package/src/serialization/resources/agents/client/list.d.ts +11 -0
- package/src/serialization/resources/agents/client/list.js +32 -0
- package/src/serialization/resources/agents/client/requests/AgentCreationParams.d.ts +14 -0
- package/src/serialization/resources/agents/client/requests/AgentCreationParams.js +35 -0
- package/src/serialization/resources/agents/client/requests/AgentUpdateParams.d.ts +14 -0
- package/src/serialization/resources/agents/client/requests/AgentUpdateParams.js +35 -0
- package/src/serialization/resources/agents/client/requests/index.d.ts +2 -0
- package/src/serialization/resources/agents/client/requests/index.js +7 -0
- package/src/serialization/resources/agents/index.d.ts +1 -0
- package/src/serialization/resources/agents/index.js +17 -0
- package/src/serialization/resources/contextVariables/client/index.d.ts +2 -0
- package/src/serialization/resources/contextVariables/client/index.js +31 -0
- package/src/serialization/resources/contextVariables/client/list.d.ts +11 -0
- package/src/serialization/resources/contextVariables/client/list.js +32 -0
- package/src/serialization/resources/contextVariables/client/requests/ContextVariableCreationParams.d.ts +17 -0
- package/src/serialization/resources/contextVariables/client/requests/ContextVariableCreationParams.js +38 -0
- package/src/serialization/resources/contextVariables/client/requests/ContextVariableUpdateParams.d.ts +17 -0
- package/src/serialization/resources/contextVariables/client/requests/ContextVariableUpdateParams.js +38 -0
- package/src/serialization/resources/contextVariables/client/requests/ContextVariableValueUpdateParams.d.ts +12 -0
- package/src/serialization/resources/contextVariables/client/requests/ContextVariableValueUpdateParams.js +33 -0
- package/src/serialization/resources/contextVariables/client/requests/index.d.ts +3 -0
- package/src/serialization/resources/contextVariables/client/requests/index.js +9 -0
- package/src/serialization/resources/contextVariables/index.d.ts +1 -0
- package/src/serialization/resources/contextVariables/index.js +17 -0
- package/src/serialization/resources/customers/client/index.d.ts +2 -0
- package/src/serialization/resources/customers/client/index.js +31 -0
- package/src/serialization/resources/customers/client/list.d.ts +11 -0
- package/src/serialization/resources/customers/client/list.js +32 -0
- package/src/serialization/resources/customers/client/requests/CustomerCreationParams.d.ts +13 -0
- package/src/serialization/resources/customers/client/requests/CustomerCreationParams.js +34 -0
- package/src/serialization/resources/customers/client/requests/CustomerUpdateParams.d.ts +16 -0
- package/src/serialization/resources/customers/client/requests/CustomerUpdateParams.js +37 -0
- package/src/serialization/resources/customers/client/requests/index.d.ts +2 -0
- package/src/serialization/resources/customers/client/requests/index.js +7 -0
- package/src/serialization/resources/customers/index.d.ts +1 -0
- package/src/serialization/resources/customers/index.js +17 -0
- package/src/serialization/resources/evaluations/client/index.d.ts +1 -0
- package/src/serialization/resources/evaluations/client/index.js +17 -0
- package/src/serialization/resources/evaluations/client/requests/EvaluationCreationParams.d.ts +14 -0
- package/src/serialization/resources/evaluations/client/requests/EvaluationCreationParams.js +35 -0
- package/src/serialization/resources/evaluations/client/requests/index.d.ts +1 -0
- package/src/serialization/resources/evaluations/client/requests/index.js +5 -0
- package/src/serialization/resources/evaluations/index.d.ts +1 -0
- package/src/serialization/resources/evaluations/index.js +17 -0
- package/src/serialization/resources/glossary/client/index.d.ts +2 -0
- package/src/serialization/resources/glossary/client/index.js +31 -0
- package/src/serialization/resources/glossary/client/listTerms.d.ts +11 -0
- package/src/serialization/resources/glossary/client/listTerms.js +32 -0
- package/src/serialization/resources/glossary/client/requests/TermCreationParams.d.ts +14 -0
- package/src/serialization/resources/glossary/client/requests/TermCreationParams.js +35 -0
- package/src/serialization/resources/glossary/client/requests/TermUpdateParams.d.ts +14 -0
- package/src/serialization/resources/glossary/client/requests/TermUpdateParams.js +35 -0
- package/src/serialization/resources/glossary/client/requests/index.d.ts +2 -0
- package/src/serialization/resources/glossary/client/requests/index.js +7 -0
- package/src/serialization/resources/glossary/index.d.ts +1 -0
- package/src/serialization/resources/glossary/index.js +17 -0
- package/src/serialization/resources/guidelines/client/index.d.ts +2 -0
- package/src/serialization/resources/guidelines/client/index.js +31 -0
- package/src/serialization/resources/guidelines/client/list.d.ts +11 -0
- package/src/serialization/resources/guidelines/client/list.js +32 -0
- package/src/serialization/resources/guidelines/client/requests/GuidelineCreationParams.d.ts +13 -0
- package/src/serialization/resources/guidelines/client/requests/GuidelineCreationParams.js +34 -0
- package/src/serialization/resources/guidelines/client/requests/GuidelineUpdateParams.d.ts +15 -0
- package/src/serialization/resources/guidelines/client/requests/GuidelineUpdateParams.js +36 -0
- package/src/serialization/resources/guidelines/client/requests/index.d.ts +2 -0
- package/src/serialization/resources/guidelines/client/requests/index.js +7 -0
- package/src/serialization/resources/guidelines/index.d.ts +1 -0
- package/src/serialization/resources/guidelines/index.js +17 -0
- package/src/serialization/resources/index.d.ts +18 -0
- package/src/serialization/resources/index.js +47 -0
- package/src/serialization/resources/services/client/index.d.ts +2 -0
- package/src/serialization/resources/services/client/index.js +31 -0
- package/src/serialization/resources/services/client/list.d.ts +11 -0
- package/src/serialization/resources/services/client/list.js +32 -0
- package/src/serialization/resources/services/client/requests/ServiceUpdateParams.d.ts +17 -0
- package/src/serialization/resources/services/client/requests/ServiceUpdateParams.js +38 -0
- package/src/serialization/resources/services/client/requests/index.d.ts +1 -0
- package/src/serialization/resources/services/client/requests/index.js +5 -0
- package/src/serialization/resources/services/index.d.ts +1 -0
- package/src/serialization/resources/services/index.js +17 -0
- package/src/serialization/resources/sessions/client/index.d.ts +3 -0
- package/src/serialization/resources/sessions/client/index.js +32 -0
- package/src/serialization/resources/sessions/client/list.d.ts +11 -0
- package/src/serialization/resources/sessions/client/list.js +32 -0
- package/src/serialization/resources/sessions/client/listEvents.d.ts +11 -0
- package/src/serialization/resources/sessions/client/listEvents.js +32 -0
- package/src/serialization/resources/sessions/client/requests/EventCreationParams.d.ts +16 -0
- package/src/serialization/resources/sessions/client/requests/EventCreationParams.js +37 -0
- package/src/serialization/resources/sessions/client/requests/SessionCreationParams.d.ts +14 -0
- package/src/serialization/resources/sessions/client/requests/SessionCreationParams.js +35 -0
- package/src/serialization/resources/sessions/client/requests/SessionUpdateParams.d.ts +14 -0
- package/src/serialization/resources/sessions/client/requests/SessionUpdateParams.js +35 -0
- package/src/serialization/resources/sessions/client/requests/index.d.ts +3 -0
- package/src/serialization/resources/sessions/client/requests/index.js +9 -0
- package/src/serialization/resources/sessions/index.d.ts +1 -0
- package/src/serialization/resources/sessions/index.js +17 -0
- package/src/serialization/resources/tags/client/index.d.ts +2 -0
- package/src/serialization/resources/tags/client/index.js +31 -0
- package/src/serialization/resources/tags/client/list.d.ts +11 -0
- package/src/serialization/resources/tags/client/list.js +32 -0
- package/src/serialization/resources/tags/client/requests/TagCreationParams.d.ts +12 -0
- package/src/serialization/resources/tags/client/requests/TagCreationParams.js +33 -0
- package/src/serialization/resources/tags/client/requests/TagUpdateParams.d.ts +12 -0
- package/src/serialization/resources/tags/client/requests/TagUpdateParams.js +33 -0
- package/src/serialization/resources/tags/client/requests/index.d.ts +2 -0
- package/src/serialization/resources/tags/client/requests/index.js +7 -0
- package/src/serialization/resources/tags/index.d.ts +1 -0
- package/src/serialization/resources/tags/index.js +17 -0
- package/src/serialization/types/Agent.d.ts +16 -0
- package/src/serialization/types/Agent.js +37 -0
- package/src/serialization/types/CoherenceCheck.d.ts +18 -0
- package/src/serialization/types/CoherenceCheck.js +39 -0
- package/src/serialization/types/CoherenceCheckKindDto.d.ts +10 -0
- package/src/serialization/types/CoherenceCheckKindDto.js +34 -0
- package/src/serialization/types/ConnectionKindDto.d.ts +10 -0
- package/src/serialization/types/ConnectionKindDto.js +31 -0
- package/src/serialization/types/ConnectionProposition.d.ts +18 -0
- package/src/serialization/types/ConnectionProposition.js +39 -0
- package/src/serialization/types/ConnectionPropositionKindDto.d.ts +10 -0
- package/src/serialization/types/ConnectionPropositionKindDto.js +31 -0
- package/src/serialization/types/ConsumptionOffsets.d.ts +12 -0
- package/src/serialization/types/ConsumptionOffsets.js +33 -0
- package/src/serialization/types/ConsumptionOffsetsUpdateParams.d.ts +12 -0
- package/src/serialization/types/ConsumptionOffsetsUpdateParams.js +33 -0
- package/src/serialization/types/ContextVariable.d.ts +18 -0
- package/src/serialization/types/ContextVariable.js +39 -0
- package/src/serialization/types/ContextVariableAndValue.d.ts +16 -0
- package/src/serialization/types/ContextVariableAndValue.js +37 -0
- package/src/serialization/types/ContextVariableReadResult.d.ts +15 -0
- package/src/serialization/types/ContextVariableReadResult.js +36 -0
- package/src/serialization/types/ContextVariableValue.d.ts +14 -0
- package/src/serialization/types/ContextVariableValue.js +35 -0
- package/src/serialization/types/Customer.d.ts +16 -0
- package/src/serialization/types/Customer.js +37 -0
- package/src/serialization/types/CustomerExtraUpdateParams.d.ts +13 -0
- package/src/serialization/types/CustomerExtraUpdateParams.js +34 -0
- package/src/serialization/types/DayOfWeekDto.d.ts +10 -0
- package/src/serialization/types/DayOfWeekDto.js +31 -0
- package/src/serialization/types/Evaluation.d.ts +19 -0
- package/src/serialization/types/Evaluation.js +40 -0
- package/src/serialization/types/EvaluationStatusDto.d.ts +10 -0
- package/src/serialization/types/EvaluationStatusDto.js +31 -0
- package/src/serialization/types/Event.d.ts +19 -0
- package/src/serialization/types/Event.js +40 -0
- package/src/serialization/types/EventInspectionResult.d.ts +16 -0
- package/src/serialization/types/EventInspectionResult.js +37 -0
- package/src/serialization/types/EventKindDto.d.ts +10 -0
- package/src/serialization/types/EventKindDto.js +31 -0
- package/src/serialization/types/EventSourceDto.d.ts +10 -0
- package/src/serialization/types/EventSourceDto.js +38 -0
- package/src/serialization/types/EventTrace.d.ts +17 -0
- package/src/serialization/types/EventTrace.js +38 -0
- package/src/serialization/types/FreshnessRules.d.ts +18 -0
- package/src/serialization/types/FreshnessRules.js +39 -0
- package/src/serialization/types/GenerationInfo.d.ts +16 -0
- package/src/serialization/types/GenerationInfo.js +37 -0
- package/src/serialization/types/Guideline.d.ts +14 -0
- package/src/serialization/types/Guideline.js +35 -0
- package/src/serialization/types/GuidelineConnection.d.ts +18 -0
- package/src/serialization/types/GuidelineConnection.js +39 -0
- package/src/serialization/types/GuidelineConnectionAddition.d.ts +15 -0
- package/src/serialization/types/GuidelineConnectionAddition.js +36 -0
- package/src/serialization/types/GuidelineConnectionUpdateParams.d.ts +14 -0
- package/src/serialization/types/GuidelineConnectionUpdateParams.js +35 -0
- package/src/serialization/types/GuidelineContent.d.ts +13 -0
- package/src/serialization/types/GuidelineContent.js +34 -0
- package/src/serialization/types/GuidelineCreationResult.d.ts +13 -0
- package/src/serialization/types/GuidelineCreationResult.js +34 -0
- package/src/serialization/types/GuidelineInvoiceData.d.ts +15 -0
- package/src/serialization/types/GuidelineInvoiceData.js +36 -0
- package/src/serialization/types/GuidelinePayload.d.ts +18 -0
- package/src/serialization/types/GuidelinePayload.js +39 -0
- package/src/serialization/types/GuidelinePayloadOperationDto.d.ts +10 -0
- package/src/serialization/types/GuidelinePayloadOperationDto.js +31 -0
- package/src/serialization/types/GuidelineProposition.d.ts +16 -0
- package/src/serialization/types/GuidelineProposition.js +37 -0
- package/src/serialization/types/GuidelinePropositionInspection.d.ts +14 -0
- package/src/serialization/types/GuidelinePropositionInspection.js +35 -0
- package/src/serialization/types/GuidelineToolAssociation.d.ts +15 -0
- package/src/serialization/types/GuidelineToolAssociation.js +36 -0
- package/src/serialization/types/GuidelineToolAssociationUpdateParams.d.ts +14 -0
- package/src/serialization/types/GuidelineToolAssociationUpdateParams.js +35 -0
- package/src/serialization/types/GuidelineWithConnectionsAndToolAssociations.d.ts +17 -0
- package/src/serialization/types/GuidelineWithConnectionsAndToolAssociations.js +38 -0
- package/src/serialization/types/HttpValidationError.d.ts +13 -0
- package/src/serialization/types/HttpValidationError.js +34 -0
- package/src/serialization/types/Invoice.d.ts +18 -0
- package/src/serialization/types/Invoice.js +39 -0
- package/src/serialization/types/InvoiceData.d.ts +13 -0
- package/src/serialization/types/InvoiceData.js +34 -0
- package/src/serialization/types/MessageGenerationInspection.d.ts +14 -0
- package/src/serialization/types/MessageGenerationInspection.js +35 -0
- package/src/serialization/types/Moderation.d.ts +10 -0
- package/src/serialization/types/Moderation.js +31 -0
- package/src/serialization/types/OpenApiServiceParams.d.ts +13 -0
- package/src/serialization/types/OpenApiServiceParams.js +34 -0
- package/src/serialization/types/Payload.d.ts +15 -0
- package/src/serialization/types/Payload.js +36 -0
- package/src/serialization/types/PayloadKindDto.d.ts +10 -0
- package/src/serialization/types/PayloadKindDto.js +31 -0
- package/src/serialization/types/PreparationIteration.d.ts +21 -0
- package/src/serialization/types/PreparationIteration.js +42 -0
- package/src/serialization/types/PreparationIterationGenerations.d.ts +15 -0
- package/src/serialization/types/PreparationIterationGenerations.js +36 -0
- package/src/serialization/types/SdkServiceParams.d.ts +12 -0
- package/src/serialization/types/SdkServiceParams.js +33 -0
- package/src/serialization/types/Service.d.ts +17 -0
- package/src/serialization/types/Service.js +38 -0
- package/src/serialization/types/Session.d.ts +18 -0
- package/src/serialization/types/Session.js +39 -0
- package/src/serialization/types/Tag.d.ts +14 -0
- package/src/serialization/types/Tag.js +35 -0
- package/src/serialization/types/TagsUpdateParams.d.ts +13 -0
- package/src/serialization/types/TagsUpdateParams.js +34 -0
- package/src/serialization/types/Term.d.ts +15 -0
- package/src/serialization/types/Term.js +36 -0
- package/src/serialization/types/Tool.d.ts +17 -0
- package/src/serialization/types/Tool.js +38 -0
- package/src/serialization/types/ToolCall.d.ts +15 -0
- package/src/serialization/types/ToolCall.js +36 -0
- package/src/serialization/types/ToolId.d.ts +13 -0
- package/src/serialization/types/ToolId.js +34 -0
- package/src/serialization/types/ToolParameter.d.ts +16 -0
- package/src/serialization/types/ToolParameter.js +37 -0
- package/src/serialization/types/ToolParameterDtoEnumItem.d.ts +10 -0
- package/src/serialization/types/ToolParameterDtoEnumItem.js +31 -0
- package/src/serialization/types/ToolParameterTypeDto.d.ts +10 -0
- package/src/serialization/types/ToolParameterTypeDto.js +31 -0
- package/src/serialization/types/ToolResult.d.ts +13 -0
- package/src/serialization/types/ToolResult.js +34 -0
- package/src/serialization/types/ToolServiceKindDto.d.ts +10 -0
- package/src/serialization/types/ToolServiceKindDto.js +31 -0
- package/src/serialization/types/UsageInfo.d.ts +14 -0
- package/src/serialization/types/UsageInfo.js +37 -0
- package/src/serialization/types/ValidationError.d.ts +15 -0
- package/src/serialization/types/ValidationError.js +36 -0
- package/src/serialization/types/ValidationErrorLocItem.d.ts +10 -0
- package/src/serialization/types/ValidationErrorLocItem.js +31 -0
- package/src/serialization/types/index.d.ts +65 -0
- package/src/serialization/types/index.js +81 -0
|
@@ -0,0 +1,38 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.EventTrace = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ToolCall_1 = require("./ToolCall");
|
|
32
|
+
const MessageGenerationInspection_1 = require("./MessageGenerationInspection");
|
|
33
|
+
const PreparationIteration_1 = require("./PreparationIteration");
|
|
34
|
+
exports.EventTrace = core.serialization.object({
|
|
35
|
+
toolCalls: core.serialization.property("tool_calls", core.serialization.list(ToolCall_1.ToolCall)),
|
|
36
|
+
messageGenerations: core.serialization.property("message_generations", core.serialization.list(MessageGenerationInspection_1.MessageGenerationInspection)),
|
|
37
|
+
preparationIterations: core.serialization.property("preparation_iterations", core.serialization.list(PreparationIteration_1.PreparationIteration)),
|
|
38
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { DayOfWeekDto } from "./DayOfWeekDto";
|
|
8
|
+
export declare const FreshnessRules: core.serialization.ObjectSchema<serializers.FreshnessRules.Raw, Parlant.FreshnessRules>;
|
|
9
|
+
export declare namespace FreshnessRules {
|
|
10
|
+
interface Raw {
|
|
11
|
+
months?: number[] | null;
|
|
12
|
+
days_of_month?: number[] | null;
|
|
13
|
+
days_of_week?: DayOfWeekDto.Raw[] | null;
|
|
14
|
+
hours?: number[] | null;
|
|
15
|
+
minutes?: number[] | null;
|
|
16
|
+
seconds?: number[] | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.FreshnessRules = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const DayOfWeekDto_1 = require("./DayOfWeekDto");
|
|
32
|
+
exports.FreshnessRules = core.serialization.object({
|
|
33
|
+
months: core.serialization.list(core.serialization.number()).optional(),
|
|
34
|
+
daysOfMonth: core.serialization.property("days_of_month", core.serialization.list(core.serialization.number()).optional()),
|
|
35
|
+
daysOfWeek: core.serialization.property("days_of_week", core.serialization.list(DayOfWeekDto_1.DayOfWeekDto).optional()),
|
|
36
|
+
hours: core.serialization.list(core.serialization.number()).optional(),
|
|
37
|
+
minutes: core.serialization.list(core.serialization.number()).optional(),
|
|
38
|
+
seconds: core.serialization.list(core.serialization.number()).optional(),
|
|
39
|
+
});
|
|
@@ -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 { UsageInfo } from "./UsageInfo";
|
|
8
|
+
export declare const GenerationInfo: core.serialization.ObjectSchema<serializers.GenerationInfo.Raw, Parlant.GenerationInfo>;
|
|
9
|
+
export declare namespace GenerationInfo {
|
|
10
|
+
interface Raw {
|
|
11
|
+
schema_name: string;
|
|
12
|
+
model: string;
|
|
13
|
+
duration: number;
|
|
14
|
+
usage: UsageInfo.Raw;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GenerationInfo = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const UsageInfo_1 = require("./UsageInfo");
|
|
32
|
+
exports.GenerationInfo = core.serialization.object({
|
|
33
|
+
schemaName: core.serialization.property("schema_name", core.serialization.string()),
|
|
34
|
+
model: core.serialization.string(),
|
|
35
|
+
duration: core.serialization.number(),
|
|
36
|
+
usage: UsageInfo_1.UsageInfo,
|
|
37
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 Guideline: core.serialization.ObjectSchema<serializers.Guideline.Raw, Parlant.Guideline>;
|
|
8
|
+
export declare namespace Guideline {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
condition: string;
|
|
12
|
+
action: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Guideline = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.Guideline = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
condition: core.serialization.string(),
|
|
34
|
+
action: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { Guideline } from "./Guideline";
|
|
8
|
+
import { ConnectionKindDto } from "./ConnectionKindDto";
|
|
9
|
+
export declare const GuidelineConnection: core.serialization.ObjectSchema<serializers.GuidelineConnection.Raw, Parlant.GuidelineConnection>;
|
|
10
|
+
export declare namespace GuidelineConnection {
|
|
11
|
+
interface Raw {
|
|
12
|
+
id: string;
|
|
13
|
+
source: Guideline.Raw;
|
|
14
|
+
target: Guideline.Raw;
|
|
15
|
+
kind: ConnectionKindDto.Raw;
|
|
16
|
+
indirect: boolean;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GuidelineConnection = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const Guideline_1 = require("./Guideline");
|
|
32
|
+
const ConnectionKindDto_1 = require("./ConnectionKindDto");
|
|
33
|
+
exports.GuidelineConnection = core.serialization.object({
|
|
34
|
+
id: core.serialization.string(),
|
|
35
|
+
source: Guideline_1.Guideline,
|
|
36
|
+
target: Guideline_1.Guideline,
|
|
37
|
+
kind: ConnectionKindDto_1.ConnectionKindDto,
|
|
38
|
+
indirect: core.serialization.boolean(),
|
|
39
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { ConnectionKindDto } from "./ConnectionKindDto";
|
|
8
|
+
export declare const GuidelineConnectionAddition: core.serialization.ObjectSchema<serializers.GuidelineConnectionAddition.Raw, Parlant.GuidelineConnectionAddition>;
|
|
9
|
+
export declare namespace GuidelineConnectionAddition {
|
|
10
|
+
interface Raw {
|
|
11
|
+
source: string;
|
|
12
|
+
target: string;
|
|
13
|
+
kind: ConnectionKindDto.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GuidelineConnectionAddition = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ConnectionKindDto_1 = require("./ConnectionKindDto");
|
|
32
|
+
exports.GuidelineConnectionAddition = core.serialization.object({
|
|
33
|
+
source: core.serialization.string(),
|
|
34
|
+
target: core.serialization.string(),
|
|
35
|
+
kind: ConnectionKindDto_1.ConnectionKindDto,
|
|
36
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { GuidelineConnectionAddition } from "./GuidelineConnectionAddition";
|
|
8
|
+
export declare const GuidelineConnectionUpdateParams: core.serialization.ObjectSchema<serializers.GuidelineConnectionUpdateParams.Raw, Parlant.GuidelineConnectionUpdateParams>;
|
|
9
|
+
export declare namespace GuidelineConnectionUpdateParams {
|
|
10
|
+
interface Raw {
|
|
11
|
+
add?: GuidelineConnectionAddition.Raw[] | null;
|
|
12
|
+
remove?: string[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GuidelineConnectionUpdateParams = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const GuidelineConnectionAddition_1 = require("./GuidelineConnectionAddition");
|
|
32
|
+
exports.GuidelineConnectionUpdateParams = core.serialization.object({
|
|
33
|
+
add: core.serialization.list(GuidelineConnectionAddition_1.GuidelineConnectionAddition).optional(),
|
|
34
|
+
remove: core.serialization.list(core.serialization.string()).optional(),
|
|
35
|
+
});
|
|
@@ -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 GuidelineContent: core.serialization.ObjectSchema<serializers.GuidelineContent.Raw, Parlant.GuidelineContent>;
|
|
8
|
+
export declare namespace GuidelineContent {
|
|
9
|
+
interface Raw {
|
|
10
|
+
condition: string;
|
|
11
|
+
action: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GuidelineContent = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GuidelineContent = core.serialization.object({
|
|
32
|
+
condition: core.serialization.string(),
|
|
33
|
+
action: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -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
|
+
import { GuidelineWithConnectionsAndToolAssociations } from "./GuidelineWithConnectionsAndToolAssociations";
|
|
8
|
+
export declare const GuidelineCreationResult: core.serialization.ObjectSchema<serializers.GuidelineCreationResult.Raw, Parlant.GuidelineCreationResult>;
|
|
9
|
+
export declare namespace GuidelineCreationResult {
|
|
10
|
+
interface Raw {
|
|
11
|
+
items: GuidelineWithConnectionsAndToolAssociations.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GuidelineCreationResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const GuidelineWithConnectionsAndToolAssociations_1 = require("./GuidelineWithConnectionsAndToolAssociations");
|
|
32
|
+
exports.GuidelineCreationResult = core.serialization.object({
|
|
33
|
+
items: core.serialization.list(GuidelineWithConnectionsAndToolAssociations_1.GuidelineWithConnectionsAndToolAssociations),
|
|
34
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { CoherenceCheck } from "./CoherenceCheck";
|
|
8
|
+
import { ConnectionProposition } from "./ConnectionProposition";
|
|
9
|
+
export declare const GuidelineInvoiceData: core.serialization.ObjectSchema<serializers.GuidelineInvoiceData.Raw, Parlant.GuidelineInvoiceData>;
|
|
10
|
+
export declare namespace GuidelineInvoiceData {
|
|
11
|
+
interface Raw {
|
|
12
|
+
coherence_checks: CoherenceCheck.Raw[];
|
|
13
|
+
connection_propositions?: ConnectionProposition.Raw[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GuidelineInvoiceData = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const CoherenceCheck_1 = require("./CoherenceCheck");
|
|
32
|
+
const ConnectionProposition_1 = require("./ConnectionProposition");
|
|
33
|
+
exports.GuidelineInvoiceData = core.serialization.object({
|
|
34
|
+
coherenceChecks: core.serialization.property("coherence_checks", core.serialization.list(CoherenceCheck_1.CoherenceCheck)),
|
|
35
|
+
connectionPropositions: core.serialization.property("connection_propositions", core.serialization.list(ConnectionProposition_1.ConnectionProposition).optional()),
|
|
36
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { GuidelineContent } from "./GuidelineContent";
|
|
8
|
+
import { GuidelinePayloadOperationDto } from "./GuidelinePayloadOperationDto";
|
|
9
|
+
export declare const GuidelinePayload: core.serialization.ObjectSchema<serializers.GuidelinePayload.Raw, Parlant.GuidelinePayload>;
|
|
10
|
+
export declare namespace GuidelinePayload {
|
|
11
|
+
interface Raw {
|
|
12
|
+
content: GuidelineContent.Raw;
|
|
13
|
+
operation: GuidelinePayloadOperationDto.Raw;
|
|
14
|
+
updated_id?: string | null;
|
|
15
|
+
coherence_check: boolean;
|
|
16
|
+
connection_proposition: boolean;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GuidelinePayload = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const GuidelineContent_1 = require("./GuidelineContent");
|
|
32
|
+
const GuidelinePayloadOperationDto_1 = require("./GuidelinePayloadOperationDto");
|
|
33
|
+
exports.GuidelinePayload = core.serialization.object({
|
|
34
|
+
content: GuidelineContent_1.GuidelineContent,
|
|
35
|
+
operation: GuidelinePayloadOperationDto_1.GuidelinePayloadOperationDto,
|
|
36
|
+
updatedId: core.serialization.property("updated_id", core.serialization.string().optional()),
|
|
37
|
+
coherenceCheck: core.serialization.property("coherence_check", core.serialization.boolean()),
|
|
38
|
+
connectionProposition: core.serialization.property("connection_proposition", core.serialization.boolean()),
|
|
39
|
+
});
|
|
@@ -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 GuidelinePayloadOperationDto: core.serialization.Schema<serializers.GuidelinePayloadOperationDto.Raw, Parlant.GuidelinePayloadOperationDto>;
|
|
8
|
+
export declare namespace GuidelinePayloadOperationDto {
|
|
9
|
+
type Raw = "add" | "update";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GuidelinePayloadOperationDto = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GuidelinePayloadOperationDto = core.serialization.enum_(["add", "update"]);
|
|
@@ -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
|
+
export declare const GuidelineProposition: core.serialization.ObjectSchema<serializers.GuidelineProposition.Raw, Parlant.GuidelineProposition>;
|
|
8
|
+
export declare namespace GuidelineProposition {
|
|
9
|
+
interface Raw {
|
|
10
|
+
guideline_id: string;
|
|
11
|
+
condition: string;
|
|
12
|
+
action: string;
|
|
13
|
+
score: number;
|
|
14
|
+
rationale: string;
|
|
15
|
+
}
|
|
16
|
+
}
|