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,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.GuidelineProposition = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GuidelineProposition = core.serialization.object({
|
|
32
|
+
guidelineId: core.serialization.property("guideline_id", core.serialization.string()),
|
|
33
|
+
condition: core.serialization.string(),
|
|
34
|
+
action: core.serialization.string(),
|
|
35
|
+
score: core.serialization.number(),
|
|
36
|
+
rationale: core.serialization.string(),
|
|
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
|
+
import { GenerationInfo } from "./GenerationInfo";
|
|
8
|
+
export declare const GuidelinePropositionInspection: core.serialization.ObjectSchema<serializers.GuidelinePropositionInspection.Raw, Parlant.GuidelinePropositionInspection>;
|
|
9
|
+
export declare namespace GuidelinePropositionInspection {
|
|
10
|
+
interface Raw {
|
|
11
|
+
total_duration: number;
|
|
12
|
+
batches: GenerationInfo.Raw[];
|
|
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.GuidelinePropositionInspection = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const GenerationInfo_1 = require("./GenerationInfo");
|
|
32
|
+
exports.GuidelinePropositionInspection = core.serialization.object({
|
|
33
|
+
totalDuration: core.serialization.property("total_duration", core.serialization.number()),
|
|
34
|
+
batches: core.serialization.list(GenerationInfo_1.GenerationInfo),
|
|
35
|
+
});
|
|
@@ -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 { ToolId } from "./ToolId";
|
|
8
|
+
export declare const GuidelineToolAssociation: core.serialization.ObjectSchema<serializers.GuidelineToolAssociation.Raw, Parlant.GuidelineToolAssociation>;
|
|
9
|
+
export declare namespace GuidelineToolAssociation {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
guideline_id: string;
|
|
13
|
+
tool_id: ToolId.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.GuidelineToolAssociation = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ToolId_1 = require("./ToolId");
|
|
32
|
+
exports.GuidelineToolAssociation = core.serialization.object({
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
guidelineId: core.serialization.property("guideline_id", core.serialization.string()),
|
|
35
|
+
toolId: core.serialization.property("tool_id", ToolId_1.ToolId),
|
|
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 { ToolId } from "./ToolId";
|
|
8
|
+
export declare const GuidelineToolAssociationUpdateParams: core.serialization.ObjectSchema<serializers.GuidelineToolAssociationUpdateParams.Raw, Parlant.GuidelineToolAssociationUpdateParams>;
|
|
9
|
+
export declare namespace GuidelineToolAssociationUpdateParams {
|
|
10
|
+
interface Raw {
|
|
11
|
+
add?: ToolId.Raw[] | null;
|
|
12
|
+
remove?: ToolId.Raw[] | 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.GuidelineToolAssociationUpdateParams = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ToolId_1 = require("./ToolId");
|
|
32
|
+
exports.GuidelineToolAssociationUpdateParams = core.serialization.object({
|
|
33
|
+
add: core.serialization.list(ToolId_1.ToolId).optional(),
|
|
34
|
+
remove: core.serialization.list(ToolId_1.ToolId).optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { GuidelineConnection } from "./GuidelineConnection";
|
|
9
|
+
import { GuidelineToolAssociation } from "./GuidelineToolAssociation";
|
|
10
|
+
export declare const GuidelineWithConnectionsAndToolAssociations: core.serialization.ObjectSchema<serializers.GuidelineWithConnectionsAndToolAssociations.Raw, Parlant.GuidelineWithConnectionsAndToolAssociations>;
|
|
11
|
+
export declare namespace GuidelineWithConnectionsAndToolAssociations {
|
|
12
|
+
interface Raw {
|
|
13
|
+
guideline: Guideline.Raw;
|
|
14
|
+
connections: GuidelineConnection.Raw[];
|
|
15
|
+
tool_associations: GuidelineToolAssociation.Raw[];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -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.GuidelineWithConnectionsAndToolAssociations = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const Guideline_1 = require("./Guideline");
|
|
32
|
+
const GuidelineConnection_1 = require("./GuidelineConnection");
|
|
33
|
+
const GuidelineToolAssociation_1 = require("./GuidelineToolAssociation");
|
|
34
|
+
exports.GuidelineWithConnectionsAndToolAssociations = core.serialization.object({
|
|
35
|
+
guideline: Guideline_1.Guideline,
|
|
36
|
+
connections: core.serialization.list(GuidelineConnection_1.GuidelineConnection),
|
|
37
|
+
toolAssociations: core.serialization.property("tool_associations", core.serialization.list(GuidelineToolAssociation_1.GuidelineToolAssociation)),
|
|
38
|
+
});
|
|
@@ -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 { ValidationError } from "./ValidationError";
|
|
8
|
+
export declare const HttpValidationError: core.serialization.ObjectSchema<serializers.HttpValidationError.Raw, Parlant.HttpValidationError>;
|
|
9
|
+
export declare namespace HttpValidationError {
|
|
10
|
+
interface Raw {
|
|
11
|
+
detail?: ValidationError.Raw[] | null;
|
|
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.HttpValidationError = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ValidationError_1 = require("./ValidationError");
|
|
32
|
+
exports.HttpValidationError = core.serialization.object({
|
|
33
|
+
detail: core.serialization.list(ValidationError_1.ValidationError).optional(),
|
|
34
|
+
});
|
|
@@ -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 { Payload } from "./Payload";
|
|
8
|
+
import { InvoiceData } from "./InvoiceData";
|
|
9
|
+
export declare const Invoice: core.serialization.ObjectSchema<serializers.Invoice.Raw, Parlant.Invoice>;
|
|
10
|
+
export declare namespace Invoice {
|
|
11
|
+
interface Raw {
|
|
12
|
+
payload: Payload.Raw;
|
|
13
|
+
checksum: string;
|
|
14
|
+
approved: boolean;
|
|
15
|
+
data?: InvoiceData.Raw | null;
|
|
16
|
+
error?: string | 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.Invoice = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const Payload_1 = require("./Payload");
|
|
32
|
+
const InvoiceData_1 = require("./InvoiceData");
|
|
33
|
+
exports.Invoice = core.serialization.object({
|
|
34
|
+
payload: Payload_1.Payload,
|
|
35
|
+
checksum: core.serialization.string(),
|
|
36
|
+
approved: core.serialization.boolean(),
|
|
37
|
+
data: InvoiceData_1.InvoiceData.optional(),
|
|
38
|
+
error: core.serialization.string().optional(),
|
|
39
|
+
});
|
|
@@ -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 { GuidelineInvoiceData } from "./GuidelineInvoiceData";
|
|
8
|
+
export declare const InvoiceData: core.serialization.ObjectSchema<serializers.InvoiceData.Raw, Parlant.InvoiceData>;
|
|
9
|
+
export declare namespace InvoiceData {
|
|
10
|
+
interface Raw {
|
|
11
|
+
guideline?: GuidelineInvoiceData.Raw | null;
|
|
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.InvoiceData = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const GuidelineInvoiceData_1 = require("./GuidelineInvoiceData");
|
|
32
|
+
exports.InvoiceData = core.serialization.object({
|
|
33
|
+
guideline: GuidelineInvoiceData_1.GuidelineInvoiceData.optional(),
|
|
34
|
+
});
|
|
@@ -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 { GenerationInfo } from "./GenerationInfo";
|
|
8
|
+
export declare const MessageGenerationInspection: core.serialization.ObjectSchema<serializers.MessageGenerationInspection.Raw, Parlant.MessageGenerationInspection>;
|
|
9
|
+
export declare namespace MessageGenerationInspection {
|
|
10
|
+
interface Raw {
|
|
11
|
+
generation: GenerationInfo.Raw;
|
|
12
|
+
messages: (string | null | undefined)[];
|
|
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.MessageGenerationInspection = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const GenerationInfo_1 = require("./GenerationInfo");
|
|
32
|
+
exports.MessageGenerationInspection = core.serialization.object({
|
|
33
|
+
generation: GenerationInfo_1.GenerationInfo,
|
|
34
|
+
messages: core.serialization.list(core.serialization.string().optional()),
|
|
35
|
+
});
|
|
@@ -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 Moderation: core.serialization.Schema<serializers.Moderation.Raw, Parlant.Moderation>;
|
|
8
|
+
export declare namespace Moderation {
|
|
9
|
+
type Raw = "auto" | "paranoid" | "none";
|
|
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.Moderation = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.Moderation = core.serialization.enum_(["auto", "paranoid", "none"]);
|
|
@@ -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 OpenApiServiceParams: core.serialization.ObjectSchema<serializers.OpenApiServiceParams.Raw, Parlant.OpenApiServiceParams>;
|
|
8
|
+
export declare namespace OpenApiServiceParams {
|
|
9
|
+
interface Raw {
|
|
10
|
+
url: string;
|
|
11
|
+
source: 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.OpenApiServiceParams = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.OpenApiServiceParams = core.serialization.object({
|
|
32
|
+
url: core.serialization.string(),
|
|
33
|
+
source: core.serialization.string(),
|
|
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 { PayloadKindDto } from "./PayloadKindDto";
|
|
8
|
+
import { GuidelinePayload } from "./GuidelinePayload";
|
|
9
|
+
export declare const Payload: core.serialization.ObjectSchema<serializers.Payload.Raw, Parlant.Payload>;
|
|
10
|
+
export declare namespace Payload {
|
|
11
|
+
interface Raw {
|
|
12
|
+
kind: PayloadKindDto.Raw;
|
|
13
|
+
guideline?: GuidelinePayload.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.Payload = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const PayloadKindDto_1 = require("./PayloadKindDto");
|
|
32
|
+
const GuidelinePayload_1 = require("./GuidelinePayload");
|
|
33
|
+
exports.Payload = core.serialization.object({
|
|
34
|
+
kind: PayloadKindDto_1.PayloadKindDto,
|
|
35
|
+
guideline: GuidelinePayload_1.GuidelinePayload.optional(),
|
|
36
|
+
});
|
|
@@ -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 PayloadKindDto: core.serialization.Schema<serializers.PayloadKindDto.Raw, Parlant.PayloadKindDto>;
|
|
8
|
+
export declare namespace PayloadKindDto {
|
|
9
|
+
type Raw = "guideline";
|
|
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.PayloadKindDto = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.PayloadKindDto = core.serialization.stringLiteral("guideline");
|