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,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GuidelineUpdateParams = exports.GuidelineCreationParams = void 0;
|
|
4
|
+
var GuidelineCreationParams_1 = require("./GuidelineCreationParams");
|
|
5
|
+
Object.defineProperty(exports, "GuidelineCreationParams", { enumerable: true, get: function () { return GuidelineCreationParams_1.GuidelineCreationParams; } });
|
|
6
|
+
var GuidelineUpdateParams_1 = require("./GuidelineUpdateParams");
|
|
7
|
+
Object.defineProperty(exports, "GuidelineUpdateParams", { enumerable: true, get: function () { return GuidelineUpdateParams_1.GuidelineUpdateParams; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * as agents from "./agents";
|
|
2
|
+
export * as guidelines from "./guidelines";
|
|
3
|
+
export * as glossary from "./glossary";
|
|
4
|
+
export * as contextVariables from "./contextVariables";
|
|
5
|
+
export * as sessions from "./sessions";
|
|
6
|
+
export * as services from "./services";
|
|
7
|
+
export * as tags from "./tags";
|
|
8
|
+
export * as customers from "./customers";
|
|
9
|
+
export * from "./agents/client/requests";
|
|
10
|
+
export * from "./guidelines/client/requests";
|
|
11
|
+
export * from "./glossary/client/requests";
|
|
12
|
+
export * from "./contextVariables/client/requests";
|
|
13
|
+
export * from "./sessions/client/requests";
|
|
14
|
+
export * as evaluations from "./evaluations";
|
|
15
|
+
export * from "./evaluations/client/requests";
|
|
16
|
+
export * from "./services/client/requests";
|
|
17
|
+
export * from "./tags/client/requests";
|
|
18
|
+
export * from "./customers/client/requests";
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.evaluations = exports.customers = exports.tags = exports.services = exports.sessions = exports.contextVariables = exports.glossary = exports.guidelines = exports.agents = void 0;
|
|
30
|
+
exports.agents = __importStar(require("./agents"));
|
|
31
|
+
exports.guidelines = __importStar(require("./guidelines"));
|
|
32
|
+
exports.glossary = __importStar(require("./glossary"));
|
|
33
|
+
exports.contextVariables = __importStar(require("./contextVariables"));
|
|
34
|
+
exports.sessions = __importStar(require("./sessions"));
|
|
35
|
+
exports.services = __importStar(require("./services"));
|
|
36
|
+
exports.tags = __importStar(require("./tags"));
|
|
37
|
+
exports.customers = __importStar(require("./customers"));
|
|
38
|
+
__exportStar(require("./agents/client/requests"), exports);
|
|
39
|
+
__exportStar(require("./guidelines/client/requests"), exports);
|
|
40
|
+
__exportStar(require("./glossary/client/requests"), exports);
|
|
41
|
+
__exportStar(require("./contextVariables/client/requests"), exports);
|
|
42
|
+
__exportStar(require("./sessions/client/requests"), exports);
|
|
43
|
+
exports.evaluations = __importStar(require("./evaluations"));
|
|
44
|
+
__exportStar(require("./evaluations/client/requests"), exports);
|
|
45
|
+
__exportStar(require("./services/client/requests"), exports);
|
|
46
|
+
__exportStar(require("./tags/client/requests"), exports);
|
|
47
|
+
__exportStar(require("./customers/client/requests"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.list = void 0;
|
|
30
|
+
exports.list = __importStar(require("./list"));
|
|
31
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { Service } from "../../../types/Service";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.services.list.Response.Raw, Parlant.Service[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Service.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.Response = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const Service_1 = require("../../../types/Service");
|
|
32
|
+
exports.Response = core.serialization.list(Service_1.Service);
|
|
@@ -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 { ToolServiceKindDto } from "../../../../types/ToolServiceKindDto";
|
|
8
|
+
import { SdkServiceParams } from "../../../../types/SdkServiceParams";
|
|
9
|
+
import { OpenApiServiceParams } from "../../../../types/OpenApiServiceParams";
|
|
10
|
+
export declare const ServiceUpdateParams: core.serialization.Schema<serializers.ServiceUpdateParams.Raw, Parlant.ServiceUpdateParams>;
|
|
11
|
+
export declare namespace ServiceUpdateParams {
|
|
12
|
+
interface Raw {
|
|
13
|
+
kind: ToolServiceKindDto.Raw;
|
|
14
|
+
sdk?: SdkServiceParams.Raw | null;
|
|
15
|
+
openapi?: OpenApiServiceParams.Raw | null;
|
|
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.ServiceUpdateParams = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
const ToolServiceKindDto_1 = require("../../../../types/ToolServiceKindDto");
|
|
32
|
+
const SdkServiceParams_1 = require("../../../../types/SdkServiceParams");
|
|
33
|
+
const OpenApiServiceParams_1 = require("../../../../types/OpenApiServiceParams");
|
|
34
|
+
exports.ServiceUpdateParams = core.serialization.object({
|
|
35
|
+
kind: ToolServiceKindDto_1.ToolServiceKindDto,
|
|
36
|
+
sdk: SdkServiceParams_1.SdkServiceParams.optional(),
|
|
37
|
+
openapi: OpenApiServiceParams_1.OpenApiServiceParams.optional(),
|
|
38
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ServiceUpdateParams } from "./ServiceUpdateParams";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceUpdateParams = void 0;
|
|
4
|
+
var ServiceUpdateParams_1 = require("./ServiceUpdateParams");
|
|
5
|
+
Object.defineProperty(exports, "ServiceUpdateParams", { enumerable: true, get: function () { return ServiceUpdateParams_1.ServiceUpdateParams; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.listEvents = exports.list = void 0;
|
|
30
|
+
exports.list = __importStar(require("./list"));
|
|
31
|
+
exports.listEvents = __importStar(require("./listEvents"));
|
|
32
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Parlant from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Session } from "../../../types/Session";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.sessions.list.Response.Raw, Parlant.Session[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Session.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.Response = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const Session_1 = require("../../../types/Session");
|
|
32
|
+
exports.Response = core.serialization.list(Session_1.Session);
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { Event } from "../../../types/Event";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.sessions.listEvents.Response.Raw, Parlant.Event[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Event.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.Response = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const Event_1 = require("../../../types/Event");
|
|
32
|
+
exports.Response = core.serialization.list(Event_1.Event);
|
|
@@ -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 { EventKindDto } from "../../../../types/EventKindDto";
|
|
8
|
+
import { EventSourceDto } from "../../../../types/EventSourceDto";
|
|
9
|
+
export declare const EventCreationParams: core.serialization.Schema<serializers.EventCreationParams.Raw, Omit<Parlant.EventCreationParams, "moderation">>;
|
|
10
|
+
export declare namespace EventCreationParams {
|
|
11
|
+
interface Raw {
|
|
12
|
+
kind: EventKindDto.Raw;
|
|
13
|
+
source: EventSourceDto.Raw;
|
|
14
|
+
message?: string | null;
|
|
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.EventCreationParams = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
const EventKindDto_1 = require("../../../../types/EventKindDto");
|
|
32
|
+
const EventSourceDto_1 = require("../../../../types/EventSourceDto");
|
|
33
|
+
exports.EventCreationParams = core.serialization.object({
|
|
34
|
+
kind: EventKindDto_1.EventKindDto,
|
|
35
|
+
source: EventSourceDto_1.EventSourceDto,
|
|
36
|
+
message: core.serialization.string().optional(),
|
|
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 SessionCreationParams: core.serialization.Schema<serializers.SessionCreationParams.Raw, Omit<Parlant.SessionCreationParams, "allowGreeting">>;
|
|
8
|
+
export declare namespace SessionCreationParams {
|
|
9
|
+
interface Raw {
|
|
10
|
+
agent_id: string;
|
|
11
|
+
customer_id?: string | null;
|
|
12
|
+
title?: 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.SessionCreationParams = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.SessionCreationParams = core.serialization.object({
|
|
32
|
+
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
33
|
+
customerId: core.serialization.property("customer_id", core.serialization.string().optional()),
|
|
34
|
+
title: core.serialization.string().optional(),
|
|
35
|
+
});
|
|
@@ -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 { ConsumptionOffsetsUpdateParams } from "../../../../types/ConsumptionOffsetsUpdateParams";
|
|
8
|
+
export declare const SessionUpdateParams: core.serialization.Schema<serializers.SessionUpdateParams.Raw, Parlant.SessionUpdateParams>;
|
|
9
|
+
export declare namespace SessionUpdateParams {
|
|
10
|
+
interface Raw {
|
|
11
|
+
consumption_offsets?: ConsumptionOffsetsUpdateParams.Raw | null;
|
|
12
|
+
title?: 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.SessionUpdateParams = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
const ConsumptionOffsetsUpdateParams_1 = require("../../../../types/ConsumptionOffsetsUpdateParams");
|
|
32
|
+
exports.SessionUpdateParams = core.serialization.object({
|
|
33
|
+
consumptionOffsets: core.serialization.property("consumption_offsets", ConsumptionOffsetsUpdateParams_1.ConsumptionOffsetsUpdateParams.optional()),
|
|
34
|
+
title: core.serialization.string().optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventCreationParams = exports.SessionUpdateParams = exports.SessionCreationParams = void 0;
|
|
4
|
+
var SessionCreationParams_1 = require("./SessionCreationParams");
|
|
5
|
+
Object.defineProperty(exports, "SessionCreationParams", { enumerable: true, get: function () { return SessionCreationParams_1.SessionCreationParams; } });
|
|
6
|
+
var SessionUpdateParams_1 = require("./SessionUpdateParams");
|
|
7
|
+
Object.defineProperty(exports, "SessionUpdateParams", { enumerable: true, get: function () { return SessionUpdateParams_1.SessionUpdateParams; } });
|
|
8
|
+
var EventCreationParams_1 = require("./EventCreationParams");
|
|
9
|
+
Object.defineProperty(exports, "EventCreationParams", { enumerable: true, get: function () { return EventCreationParams_1.EventCreationParams; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.list = void 0;
|
|
30
|
+
exports.list = __importStar(require("./list"));
|
|
31
|
+
__exportStar(require("./requests"), exports);
|