@band-ai/rest-client 0.0.113 → 0.0.118
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 +97 -30
- package/dist/cjs/BaseClient.d.ts +42 -0
- package/dist/cjs/BaseClient.js +77 -0
- package/dist/cjs/Client.d.ts +77 -0
- package/dist/cjs/Client.js +168 -0
- package/dist/cjs/api/errors/BadRequestError.d.ts +6 -0
- package/dist/cjs/api/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/errors/ConflictError.d.ts +6 -0
- package/dist/cjs/api/errors/ConflictError.js +54 -0
- package/dist/cjs/api/errors/ForbiddenError.d.ts +6 -0
- package/dist/cjs/api/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/errors/NotFoundError.d.ts +6 -0
- package/dist/cjs/api/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +6 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.js +54 -0
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +6 -0
- package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +5 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +54 -0
- package/dist/cjs/api/errors/index.d.ts +7 -0
- package/dist/cjs/api/errors/index.js +23 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/agentApiActivity/client/Client.d.ts +45 -0
- package/dist/cjs/api/resources/agentApiActivity/client/Client.js +137 -0
- package/dist/cjs/api/resources/agentApiActivity/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiActivity/client/index.js +17 -0
- package/dist/cjs/api/resources/agentApiActivity/client/requests/ReportAgentChatActivityRequest.d.ts +10 -0
- package/dist/cjs/api/resources/agentApiActivity/client/requests/ReportAgentChatActivityRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiActivity/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiActivity/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/agentApiActivity/exports.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiActivity/exports.js +21 -0
- package/dist/cjs/api/resources/agentApiActivity/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiActivity/index.js +18 -0
- package/dist/cjs/api/resources/agentApiActivity/types/ReportAgentChatActivityResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiActivity/types/ReportAgentChatActivityResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiActivity/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiActivity/types/index.js +17 -0
- package/dist/cjs/api/resources/agentApiChats/client/Client.d.ts +65 -0
- package/dist/cjs/api/resources/agentApiChats/client/Client.js +238 -0
- package/dist/cjs/api/resources/agentApiChats/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiChats/client/index.js +17 -0
- package/dist/cjs/api/resources/agentApiChats/client/requests/CreateAgentChatRequest.d.ts +10 -0
- package/dist/cjs/api/resources/agentApiChats/client/requests/CreateAgentChatRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiChats/client/requests/ListAgentChatsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/agentApiChats/client/requests/ListAgentChatsRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiChats/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiChats/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/agentApiChats/exports.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiChats/exports.js +21 -0
- package/dist/cjs/api/resources/agentApiChats/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiChats/index.js +18 -0
- package/dist/cjs/api/resources/agentApiChats/types/CreateAgentChatResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiChats/types/CreateAgentChatResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiChats/types/GetAgentChatResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiChats/types/GetAgentChatResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiChats/types/ListAgentChatsResponse.d.ts +13 -0
- package/dist/cjs/api/resources/agentApiChats/types/ListAgentChatsResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiChats/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/agentApiChats/types/index.js +19 -0
- package/dist/cjs/api/resources/agentApiContacts/client/Client.d.ts +112 -0
- package/dist/cjs/api/resources/agentApiContacts/client/Client.js +385 -0
- package/dist/cjs/api/resources/agentApiContacts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiContacts/client/index.js +17 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/AddAgentContactRequest.d.ts +11 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/AddAgentContactRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/ListAgentContactRequestsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/ListAgentContactRequestsRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/ListAgentContactsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/ListAgentContactsRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/RemoveAgentContactRequest.d.ts +10 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/RemoveAgentContactRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/RespondToAgentContactRequestRequest.d.ts +21 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/RespondToAgentContactRequestRequest.js +12 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/agentApiContacts/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/agentApiContacts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiContacts/exports.js +21 -0
- package/dist/cjs/api/resources/agentApiContacts/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiContacts/index.js +18 -0
- package/dist/cjs/api/resources/agentApiContacts/types/AddAgentContactResponse.d.ts +16 -0
- package/dist/cjs/api/resources/agentApiContacts/types/AddAgentContactResponse.js +14 -0
- package/dist/cjs/api/resources/agentApiContacts/types/ListAgentContactRequestsRequestSentStatus.d.ts +8 -0
- package/dist/cjs/api/resources/agentApiContacts/types/ListAgentContactRequestsRequestSentStatus.js +11 -0
- package/dist/cjs/api/resources/agentApiContacts/types/ListAgentContactRequestsResponse.d.ts +35 -0
- package/dist/cjs/api/resources/agentApiContacts/types/ListAgentContactRequestsResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiContacts/types/ListAgentContactsResponse.d.ts +13 -0
- package/dist/cjs/api/resources/agentApiContacts/types/ListAgentContactsResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiContacts/types/RemoveAgentContactResponse.d.ts +8 -0
- package/dist/cjs/api/resources/agentApiContacts/types/RemoveAgentContactResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiContacts/types/RespondToAgentContactRequestResponse.d.ts +17 -0
- package/dist/cjs/api/resources/agentApiContacts/types/RespondToAgentContactRequestResponse.js +15 -0
- package/dist/cjs/api/resources/agentApiContacts/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/agentApiContacts/types/index.js +22 -0
- package/dist/cjs/api/resources/agentApiContext/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/agentApiContext/client/Client.js +151 -0
- package/dist/cjs/api/resources/agentApiContext/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiContext/client/index.js +17 -0
- package/dist/cjs/api/resources/agentApiContext/client/requests/GetAgentChatContextRequest.d.ts +19 -0
- package/dist/cjs/api/resources/agentApiContext/client/requests/GetAgentChatContextRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiContext/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiContext/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/agentApiContext/exports.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiContext/exports.js +21 -0
- package/dist/cjs/api/resources/agentApiContext/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiContext/index.js +18 -0
- package/dist/cjs/api/resources/agentApiContext/types/GetAgentChatContextResponse.d.ts +37 -0
- package/dist/cjs/api/resources/agentApiContext/types/GetAgentChatContextResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiContext/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiContext/types/index.js +17 -0
- package/dist/cjs/api/resources/agentApiEvents/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/agentApiEvents/client/Client.js +139 -0
- package/dist/cjs/api/resources/agentApiEvents/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiEvents/client/index.js +17 -0
- package/dist/cjs/api/resources/agentApiEvents/client/requests/CreateAgentChatEventRequest.d.ts +13 -0
- package/dist/cjs/api/resources/agentApiEvents/client/requests/CreateAgentChatEventRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiEvents/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiEvents/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/agentApiEvents/exports.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiEvents/exports.js +21 -0
- package/dist/cjs/api/resources/agentApiEvents/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiEvents/index.js +18 -0
- package/dist/cjs/api/resources/agentApiEvents/types/CreateAgentChatEventResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiEvents/types/CreateAgentChatEventResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiEvents/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiEvents/types/index.js +17 -0
- package/dist/cjs/api/resources/agentApiIdentity/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/agentApiIdentity/client/Client.js +113 -0
- package/dist/cjs/api/resources/agentApiIdentity/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiIdentity/client/index.js +2 -0
- package/dist/cjs/api/resources/agentApiIdentity/exports.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiIdentity/exports.js +21 -0
- package/dist/cjs/api/resources/agentApiIdentity/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiIdentity/index.js +18 -0
- package/dist/cjs/api/resources/agentApiIdentity/types/GetAgentMeResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiIdentity/types/GetAgentMeResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiIdentity/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiIdentity/types/index.js +17 -0
- package/dist/cjs/api/resources/agentApiMemories/client/Client.d.ts +120 -0
- package/dist/cjs/api/resources/agentApiMemories/client/Client.js +371 -0
- package/dist/cjs/api/resources/agentApiMemories/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiMemories/client/index.js +17 -0
- package/dist/cjs/api/resources/agentApiMemories/client/requests/CreateAgentMemoryRequest.d.ts +16 -0
- package/dist/cjs/api/resources/agentApiMemories/client/requests/CreateAgentMemoryRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiMemories/client/requests/ListAgentMemoriesRequest.d.ts +31 -0
- package/dist/cjs/api/resources/agentApiMemories/client/requests/ListAgentMemoriesRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiMemories/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiMemories/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/agentApiMemories/exports.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiMemories/exports.js +21 -0
- package/dist/cjs/api/resources/agentApiMemories/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiMemories/index.js +18 -0
- package/dist/cjs/api/resources/agentApiMemories/types/ArchiveAgentMemoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiMemories/types/ArchiveAgentMemoryResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMemories/types/CreateAgentMemoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiMemories/types/CreateAgentMemoryResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMemories/types/GetAgentMemoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiMemories/types/GetAgentMemoryResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMemories/types/ListAgentMemoriesResponse.d.ts +13 -0
- package/dist/cjs/api/resources/agentApiMemories/types/ListAgentMemoriesResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMemories/types/SupersedeAgentMemoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiMemories/types/SupersedeAgentMemoryResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMemories/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/agentApiMemories/types/index.js +21 -0
- package/dist/cjs/api/resources/agentApiMessages/client/Client.d.ts +316 -0
- package/dist/cjs/api/resources/agentApiMessages/client/Client.js +636 -0
- package/dist/cjs/api/resources/agentApiMessages/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiMessages/client/index.js +17 -0
- package/dist/cjs/api/resources/agentApiMessages/client/requests/CreateAgentChatMessageRequest.d.ts +15 -0
- package/dist/cjs/api/resources/agentApiMessages/client/requests/CreateAgentChatMessageRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiMessages/client/requests/ListAgentMessagesRequest.d.ts +23 -0
- package/dist/cjs/api/resources/agentApiMessages/client/requests/ListAgentMessagesRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiMessages/client/requests/MarkAgentMessageFailedRequest.d.ts +10 -0
- package/dist/cjs/api/resources/agentApiMessages/client/requests/MarkAgentMessageFailedRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiMessages/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/agentApiMessages/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/agentApiMessages/exports.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiMessages/exports.js +21 -0
- package/dist/cjs/api/resources/agentApiMessages/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiMessages/index.js +18 -0
- package/dist/cjs/api/resources/agentApiMessages/types/CreateAgentChatMessageResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiMessages/types/CreateAgentChatMessageResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMessages/types/GetAgentNextMessageResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiMessages/types/GetAgentNextMessageResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMessages/types/ListAgentMessagesRequestStatus.d.ts +8 -0
- package/dist/cjs/api/resources/agentApiMessages/types/ListAgentMessagesRequestStatus.js +11 -0
- package/dist/cjs/api/resources/agentApiMessages/types/ListAgentMessagesResponse.d.ts +25 -0
- package/dist/cjs/api/resources/agentApiMessages/types/ListAgentMessagesResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMessages/types/MarkAgentMessageFailedResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiMessages/types/MarkAgentMessageFailedResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMessages/types/MarkAgentMessageProcessedResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiMessages/types/MarkAgentMessageProcessedResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMessages/types/MarkAgentMessageProcessingResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiMessages/types/MarkAgentMessageProcessingResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiMessages/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/agentApiMessages/types/index.js +23 -0
- package/dist/cjs/api/resources/agentApiParticipants/client/Client.d.ts +73 -0
- package/dist/cjs/api/resources/agentApiParticipants/client/Client.js +247 -0
- package/dist/cjs/api/resources/agentApiParticipants/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiParticipants/client/index.js +17 -0
- package/dist/cjs/api/resources/agentApiParticipants/client/requests/AddAgentChatParticipantRequest.d.ts +12 -0
- package/dist/cjs/api/resources/agentApiParticipants/client/requests/AddAgentChatParticipantRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiParticipants/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiParticipants/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/agentApiParticipants/exports.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiParticipants/exports.js +21 -0
- package/dist/cjs/api/resources/agentApiParticipants/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiParticipants/index.js +18 -0
- package/dist/cjs/api/resources/agentApiParticipants/types/AddAgentChatParticipantResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiParticipants/types/AddAgentChatParticipantResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiParticipants/types/ListAgentChatParticipantsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiParticipants/types/ListAgentChatParticipantsResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiParticipants/types/RemoveAgentChatParticipantResponse.d.ts +4 -0
- package/dist/cjs/api/resources/agentApiParticipants/types/RemoveAgentChatParticipantResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiParticipants/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/agentApiParticipants/types/index.js +19 -0
- package/dist/cjs/api/resources/agentApiPeers/client/Client.d.ts +35 -0
- package/dist/cjs/api/resources/agentApiPeers/client/Client.js +128 -0
- package/dist/cjs/api/resources/agentApiPeers/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiPeers/client/index.js +17 -0
- package/dist/cjs/api/resources/agentApiPeers/client/requests/ListAgentPeersRequest.d.ts +16 -0
- package/dist/cjs/api/resources/agentApiPeers/client/requests/ListAgentPeersRequest.js +3 -0
- package/dist/cjs/api/resources/agentApiPeers/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiPeers/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/agentApiPeers/exports.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiPeers/exports.js +21 -0
- package/dist/cjs/api/resources/agentApiPeers/index.d.ts +2 -0
- package/dist/cjs/api/resources/agentApiPeers/index.js +18 -0
- package/dist/cjs/api/resources/agentApiPeers/types/ListAgentPeersResponse.d.ts +13 -0
- package/dist/cjs/api/resources/agentApiPeers/types/ListAgentPeersResponse.js +3 -0
- package/dist/cjs/api/resources/agentApiPeers/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/agentApiPeers/types/index.js +17 -0
- package/dist/cjs/api/resources/humanApiAgents/client/Client.d.ts +107 -0
- package/dist/cjs/api/resources/humanApiAgents/client/Client.js +299 -0
- package/dist/cjs/api/resources/humanApiAgents/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiAgents/client/index.js +17 -0
- package/dist/cjs/api/resources/humanApiAgents/client/requests/DeleteMyAgentRequest.d.ts +10 -0
- package/dist/cjs/api/resources/humanApiAgents/client/requests/DeleteMyAgentRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiAgents/client/requests/ListMyAgentsRequest.d.ts +35 -0
- package/dist/cjs/api/resources/humanApiAgents/client/requests/ListMyAgentsRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiAgents/client/requests/RegisterMyAgentRequest.d.ts +13 -0
- package/dist/cjs/api/resources/humanApiAgents/client/requests/RegisterMyAgentRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiAgents/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/humanApiAgents/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/humanApiAgents/exports.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiAgents/exports.js +21 -0
- package/dist/cjs/api/resources/humanApiAgents/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiAgents/index.js +18 -0
- package/dist/cjs/api/resources/humanApiAgents/types/DeleteMyAgentResponse.d.ts +15 -0
- package/dist/cjs/api/resources/humanApiAgents/types/DeleteMyAgentResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiAgents/types/ListMyAgentsRequestOrder.d.ts +5 -0
- package/dist/cjs/api/resources/humanApiAgents/types/ListMyAgentsRequestOrder.js +8 -0
- package/dist/cjs/api/resources/humanApiAgents/types/ListMyAgentsRequestSort.d.ts +6 -0
- package/dist/cjs/api/resources/humanApiAgents/types/ListMyAgentsRequestSort.js +9 -0
- package/dist/cjs/api/resources/humanApiAgents/types/ListMyAgentsResponse.d.ts +36 -0
- package/dist/cjs/api/resources/humanApiAgents/types/ListMyAgentsResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiAgents/types/RegisterMyAgentResponse.d.ts +27 -0
- package/dist/cjs/api/resources/humanApiAgents/types/RegisterMyAgentResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiAgents/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/humanApiAgents/types/index.js +21 -0
- package/dist/cjs/api/resources/humanApiChats/client/Client.d.ts +81 -0
- package/dist/cjs/api/resources/humanApiChats/client/Client.js +262 -0
- package/dist/cjs/api/resources/humanApiChats/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiChats/client/index.js +17 -0
- package/dist/cjs/api/resources/humanApiChats/client/requests/CreateMyChatRoomRequest.d.ts +17 -0
- package/dist/cjs/api/resources/humanApiChats/client/requests/CreateMyChatRoomRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiChats/client/requests/ListMyChatsRequest.d.ts +32 -0
- package/dist/cjs/api/resources/humanApiChats/client/requests/ListMyChatsRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiChats/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiChats/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/humanApiChats/exports.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiChats/exports.js +21 -0
- package/dist/cjs/api/resources/humanApiChats/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiChats/index.js +18 -0
- package/dist/cjs/api/resources/humanApiChats/types/CreateMyChatRoomResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiChats/types/CreateMyChatRoomResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiChats/types/GetMyChatRoomResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiChats/types/GetMyChatRoomResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiChats/types/ListMyChatsRequestOrder.d.ts +5 -0
- package/dist/cjs/api/resources/humanApiChats/types/ListMyChatsRequestOrder.js +8 -0
- package/dist/cjs/api/resources/humanApiChats/types/ListMyChatsRequestSortBy.d.ts +5 -0
- package/dist/cjs/api/resources/humanApiChats/types/ListMyChatsRequestSortBy.js +8 -0
- package/dist/cjs/api/resources/humanApiChats/types/ListMyChatsRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/humanApiChats/types/ListMyChatsRequestStatus.js +9 -0
- package/dist/cjs/api/resources/humanApiChats/types/ListMyChatsRequestType.d.ts +6 -0
- package/dist/cjs/api/resources/humanApiChats/types/ListMyChatsRequestType.js +9 -0
- package/dist/cjs/api/resources/humanApiChats/types/ListMyChatsResponse.d.ts +23 -0
- package/dist/cjs/api/resources/humanApiChats/types/ListMyChatsResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiChats/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/humanApiChats/types/index.js +23 -0
- package/dist/cjs/api/resources/humanApiContacts/client/Client.d.ts +201 -0
- package/dist/cjs/api/resources/humanApiContacts/client/Client.js +648 -0
- package/dist/cjs/api/resources/humanApiContacts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiContacts/client/index.js +17 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/CreateContactRequestRequest.d.ts +19 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/CreateContactRequestRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/ListMyContactsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/ListMyContactsRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/ListReceivedContactRequestsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/ListReceivedContactRequestsRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/ListSentContactRequestsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/ListSentContactRequestsRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/RemoveMyContactRequest.d.ts +10 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/RemoveMyContactRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/ResolveHandleRequest.d.ts +10 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/ResolveHandleRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/humanApiContacts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/humanApiContacts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiContacts/exports.js +21 -0
- package/dist/cjs/api/resources/humanApiContacts/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiContacts/index.js +18 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ApproveContactRequestResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ApproveContactRequestResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/types/CancelContactRequestResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiContacts/types/CancelContactRequestResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/types/CreateContactRequestResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiContacts/types/CreateContactRequestResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ListMyContactsResponse.d.ts +21 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ListMyContactsResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ListReceivedContactRequestsResponse.d.ts +21 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ListReceivedContactRequestsResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ListSentContactRequestsRequestStatus.d.ts +9 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ListSentContactRequestsRequestStatus.js +12 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ListSentContactRequestsResponse.d.ts +21 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ListSentContactRequestsResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/types/RejectContactRequestResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiContacts/types/RejectContactRequestResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/types/RemoveMyContactResponse.d.ts +8 -0
- package/dist/cjs/api/resources/humanApiContacts/types/RemoveMyContactResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ResolveHandleResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiContacts/types/ResolveHandleResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiContacts/types/index.d.ts +10 -0
- package/dist/cjs/api/resources/humanApiContacts/types/index.js +26 -0
- package/dist/cjs/api/resources/humanApiMemories/client/Client.d.ts +131 -0
- package/dist/cjs/api/resources/humanApiMemories/client/Client.js +426 -0
- package/dist/cjs/api/resources/humanApiMemories/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiMemories/client/index.js +17 -0
- package/dist/cjs/api/resources/humanApiMemories/client/requests/ListUserMemoriesRequest.d.ts +31 -0
- package/dist/cjs/api/resources/humanApiMemories/client/requests/ListUserMemoriesRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiMemories/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiMemories/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/humanApiMemories/exports.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiMemories/exports.js +21 -0
- package/dist/cjs/api/resources/humanApiMemories/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiMemories/index.js +18 -0
- package/dist/cjs/api/resources/humanApiMemories/types/ArchiveUserMemoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiMemories/types/ArchiveUserMemoryResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiMemories/types/GetUserMemoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiMemories/types/GetUserMemoryResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiMemories/types/ListUserMemoriesResponse.d.ts +13 -0
- package/dist/cjs/api/resources/humanApiMemories/types/ListUserMemoriesResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiMemories/types/RestoreUserMemoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiMemories/types/RestoreUserMemoryResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiMemories/types/SupersedeUserMemoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiMemories/types/SupersedeUserMemoryResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiMemories/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/humanApiMemories/types/index.js +21 -0
- package/dist/cjs/api/resources/humanApiMessages/client/Client.d.ts +97 -0
- package/dist/cjs/api/resources/humanApiMessages/client/Client.js +237 -0
- package/dist/cjs/api/resources/humanApiMessages/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiMessages/client/index.js +17 -0
- package/dist/cjs/api/resources/humanApiMessages/client/requests/ListMyChatMessagesRequest.d.ts +26 -0
- package/dist/cjs/api/resources/humanApiMessages/client/requests/ListMyChatMessagesRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiMessages/client/requests/SendMyChatMessageRequest.d.ts +15 -0
- package/dist/cjs/api/resources/humanApiMessages/client/requests/SendMyChatMessageRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiMessages/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiMessages/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/humanApiMessages/exports.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiMessages/exports.js +21 -0
- package/dist/cjs/api/resources/humanApiMessages/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiMessages/index.js +18 -0
- package/dist/cjs/api/resources/humanApiMessages/types/ListMyChatMessagesRequestMessageType.d.ts +10 -0
- package/dist/cjs/api/resources/humanApiMessages/types/ListMyChatMessagesRequestMessageType.js +13 -0
- package/dist/cjs/api/resources/humanApiMessages/types/ListMyChatMessagesResponse.d.ts +23 -0
- package/dist/cjs/api/resources/humanApiMessages/types/ListMyChatMessagesResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiMessages/types/SendMyChatMessageResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiMessages/types/SendMyChatMessageResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiMessages/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/humanApiMessages/types/index.js +19 -0
- package/dist/cjs/api/resources/humanApiParticipants/client/Client.d.ts +84 -0
- package/dist/cjs/api/resources/humanApiParticipants/client/Client.js +264 -0
- package/dist/cjs/api/resources/humanApiParticipants/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiParticipants/client/index.js +17 -0
- package/dist/cjs/api/resources/humanApiParticipants/client/requests/AddMyChatParticipantRequest.d.ts +12 -0
- package/dist/cjs/api/resources/humanApiParticipants/client/requests/AddMyChatParticipantRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiParticipants/client/requests/ListMyChatParticipantsRequest.d.ts +23 -0
- package/dist/cjs/api/resources/humanApiParticipants/client/requests/ListMyChatParticipantsRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiParticipants/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiParticipants/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/humanApiParticipants/exports.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiParticipants/exports.js +21 -0
- package/dist/cjs/api/resources/humanApiParticipants/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiParticipants/index.js +18 -0
- package/dist/cjs/api/resources/humanApiParticipants/types/AddMyChatParticipantResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiParticipants/types/AddMyChatParticipantResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiParticipants/types/ListMyChatParticipantsRequestParticipantType.d.ts +5 -0
- package/dist/cjs/api/resources/humanApiParticipants/types/ListMyChatParticipantsRequestParticipantType.js +8 -0
- package/dist/cjs/api/resources/humanApiParticipants/types/ListMyChatParticipantsResponse.d.ts +23 -0
- package/dist/cjs/api/resources/humanApiParticipants/types/ListMyChatParticipantsResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiParticipants/types/RemoveMyChatParticipantResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiParticipants/types/RemoveMyChatParticipantResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiParticipants/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiParticipants/types/index.js +20 -0
- package/dist/cjs/api/resources/humanApiPeers/client/Client.d.ts +46 -0
- package/dist/cjs/api/resources/humanApiPeers/client/Client.js +140 -0
- package/dist/cjs/api/resources/humanApiPeers/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiPeers/client/index.js +17 -0
- package/dist/cjs/api/resources/humanApiPeers/client/requests/ListMyPeersRequest.d.ts +20 -0
- package/dist/cjs/api/resources/humanApiPeers/client/requests/ListMyPeersRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiPeers/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiPeers/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/humanApiPeers/exports.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiPeers/exports.js +21 -0
- package/dist/cjs/api/resources/humanApiPeers/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiPeers/index.js +18 -0
- package/dist/cjs/api/resources/humanApiPeers/types/ListMyPeersRequestType.d.ts +5 -0
- package/dist/cjs/api/resources/humanApiPeers/types/ListMyPeersRequestType.js +8 -0
- package/dist/cjs/api/resources/humanApiPeers/types/ListMyPeersResponse.d.ts +13 -0
- package/dist/cjs/api/resources/humanApiPeers/types/ListMyPeersResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiPeers/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiPeers/types/index.js +18 -0
- package/dist/cjs/api/resources/humanApiProfile/client/Client.d.ts +46 -0
- package/dist/cjs/api/resources/humanApiProfile/client/Client.js +171 -0
- package/dist/cjs/api/resources/humanApiProfile/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiProfile/client/index.js +17 -0
- package/dist/cjs/api/resources/humanApiProfile/client/requests/UpdateMyProfileRequest.d.ts +21 -0
- package/dist/cjs/api/resources/humanApiProfile/client/requests/UpdateMyProfileRequest.js +3 -0
- package/dist/cjs/api/resources/humanApiProfile/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/humanApiProfile/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/humanApiProfile/exports.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiProfile/exports.js +21 -0
- package/dist/cjs/api/resources/humanApiProfile/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiProfile/index.js +18 -0
- package/dist/cjs/api/resources/humanApiProfile/types/GetMyProfileResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiProfile/types/GetMyProfileResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiProfile/types/UpdateMyProfileResponse.d.ts +4 -0
- package/dist/cjs/api/resources/humanApiProfile/types/UpdateMyProfileResponse.js +3 -0
- package/dist/cjs/api/resources/humanApiProfile/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/humanApiProfile/types/index.js +18 -0
- package/dist/cjs/api/resources/index.d.ts +53 -0
- package/dist/cjs/api/resources/index.js +92 -0
- package/dist/cjs/api/types/AgentActivityResponse.d.ts +7 -0
- package/dist/cjs/api/types/AgentActivityResponse.js +3 -0
- package/dist/cjs/api/types/AgentContact.d.ts +30 -0
- package/dist/cjs/api/types/AgentContact.js +12 -0
- package/dist/cjs/api/types/AgentMe.d.ts +23 -0
- package/dist/cjs/api/types/AgentMe.js +3 -0
- package/dist/cjs/api/types/AgentMemory.d.ts +71 -0
- package/dist/cjs/api/types/AgentMemory.js +40 -0
- package/dist/cjs/api/types/AgentMemoryCreateRequest.d.ts +63 -0
- package/dist/cjs/api/types/AgentMemoryCreateRequest.js +34 -0
- package/dist/cjs/api/types/AgentRegisterRequest.d.ts +9 -0
- package/dist/cjs/api/types/AgentRegisterRequest.js +3 -0
- package/dist/cjs/api/types/ChatEventMessageType.d.ts +19 -0
- package/dist/cjs/api/types/ChatEventMessageType.js +22 -0
- package/dist/cjs/api/types/ChatEventRequest.d.ts +22 -0
- package/dist/cjs/api/types/ChatEventRequest.js +3 -0
- package/dist/cjs/api/types/ChatMessage.d.ts +25 -0
- package/dist/cjs/api/types/ChatMessage.js +3 -0
- package/dist/cjs/api/types/ChatMessageRequest.d.ts +22 -0
- package/dist/cjs/api/types/ChatMessageRequest.js +3 -0
- package/dist/cjs/api/types/ChatParticipant.d.ts +25 -0
- package/dist/cjs/api/types/ChatParticipant.js +12 -0
- package/dist/cjs/api/types/ChatParticipantDetails.d.ts +29 -0
- package/dist/cjs/api/types/ChatParticipantDetails.js +12 -0
- package/dist/cjs/api/types/ChatRoom.d.ts +15 -0
- package/dist/cjs/api/types/ChatRoom.js +3 -0
- package/dist/cjs/api/types/ChatRoomRequest.d.ts +9 -0
- package/dist/cjs/api/types/ChatRoomRequest.js +3 -0
- package/dist/cjs/api/types/Contact.d.ts +41 -0
- package/dist/cjs/api/types/Contact.js +12 -0
- package/dist/cjs/api/types/ContactRequest.d.ts +68 -0
- package/dist/cjs/api/types/ContactRequest.js +25 -0
- package/dist/cjs/api/types/ContactRequestActionResponse.d.ts +18 -0
- package/dist/cjs/api/types/ContactRequestActionResponse.js +13 -0
- package/dist/cjs/api/types/Error_.d.ts +18 -0
- package/dist/cjs/api/types/Error_.js +3 -0
- package/dist/cjs/api/types/EventCreatedResponse.d.ts +11 -0
- package/dist/cjs/api/types/EventCreatedResponse.js +3 -0
- package/dist/cjs/api/types/MeChatRoom.d.ts +35 -0
- package/dist/cjs/api/types/MeChatRoom.js +19 -0
- package/dist/cjs/api/types/MessageSentResponse.d.ts +24 -0
- package/dist/cjs/api/types/MessageSentResponse.js +3 -0
- package/dist/cjs/api/types/MessageStatusResponse.d.ts +22 -0
- package/dist/cjs/api/types/MessageStatusResponse.js +13 -0
- package/dist/cjs/api/types/MyAgent.d.ts +29 -0
- package/dist/cjs/api/types/MyAgent.js +3 -0
- package/dist/cjs/api/types/ParticipantRequest.d.ts +18 -0
- package/dist/cjs/api/types/ParticipantRequest.js +13 -0
- package/dist/cjs/api/types/ParticipantRole.d.ts +13 -0
- package/dist/cjs/api/types/ParticipantRole.js +16 -0
- package/dist/cjs/api/types/Peer.d.ts +39 -0
- package/dist/cjs/api/types/Peer.js +17 -0
- package/dist/cjs/api/types/ReceivedContactRequest.d.ts +22 -0
- package/dist/cjs/api/types/ReceivedContactRequest.js +13 -0
- package/dist/cjs/api/types/ResolvedEntity.d.ts +21 -0
- package/dist/cjs/api/types/ResolvedEntity.js +12 -0
- package/dist/cjs/api/types/SentContactRequest.d.ts +22 -0
- package/dist/cjs/api/types/SentContactRequest.js +13 -0
- package/dist/cjs/api/types/UserDetails.d.ts +25 -0
- package/dist/cjs/api/types/UserDetails.js +12 -0
- package/dist/cjs/api/types/UserMemory.d.ts +73 -0
- package/dist/cjs/api/types/UserMemory.js +40 -0
- package/dist/cjs/api/types/ValidationError.d.ts +18 -0
- package/dist/cjs/api/types/ValidationError.js +3 -0
- package/dist/cjs/api/types/index.d.ts +32 -0
- package/dist/cjs/api/types/index.js +48 -0
- package/dist/cjs/auth/HeaderAuthProvider.d.ts +20 -0
- package/dist/cjs/auth/HeaderAuthProvider.js +80 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +8 -0
- package/dist/cjs/core/auth/AuthProvider.js +9 -0
- package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +2 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +33 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
- package/dist/cjs/core/auth/BearerToken.js +16 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +11 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +17 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/cjs/core/fetcher/Fetcher.js +327 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +69 -0
- package/dist/cjs/core/fetcher/index.d.ts +13 -0
- package/dist/cjs/core/fetcher/index.js +19 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +135 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -0
- package/dist/cjs/core/fetcher/makeRequest.js +61 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +70 -0
- package/dist/cjs/core/fetcher/signals.d.ts +5 -0
- package/dist/cjs/core/fetcher/signals.js +24 -0
- package/dist/cjs/core/headers.d.ts +2 -0
- package/dist/cjs/core/headers.js +31 -0
- package/dist/cjs/core/index.d.ts +6 -0
- package/dist/cjs/core/index.js +45 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +5 -0
- package/dist/cjs/core/runtime/runtime.d.ts +9 -0
- package/dist/cjs/core/runtime/runtime.js +104 -0
- package/dist/cjs/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/cjs/core/url/QueryStringBuilder.js +83 -0
- package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
- package/dist/cjs/core/url/encodePathParam.js +21 -0
- package/dist/cjs/core/url/index.d.ts +4 -0
- package/dist/cjs/core/url/index.js +11 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +68 -0
- package/dist/cjs/core/url/qs.d.ts +7 -0
- package/dist/cjs/core/url/qs.js +76 -0
- package/dist/cjs/environments.d.ts +4 -0
- package/dist/cjs/environments.js +7 -0
- package/dist/cjs/errors/BandError.d.ts +14 -0
- package/dist/cjs/errors/BandError.js +35 -0
- package/dist/cjs/errors/BandTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/BandTimeoutError.js +18 -0
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +68 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/index.d.ts +6 -0
- package/dist/cjs/index.js +48 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.d.mts +42 -0
- package/dist/esm/BaseClient.mjs +40 -0
- package/dist/esm/Client.d.mts +77 -0
- package/dist/esm/Client.mjs +131 -0
- package/dist/esm/api/errors/BadRequestError.d.mts +6 -0
- package/dist/esm/api/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/errors/ConflictError.d.mts +6 -0
- package/dist/esm/api/errors/ConflictError.mjs +17 -0
- package/dist/esm/api/errors/ForbiddenError.d.mts +6 -0
- package/dist/esm/api/errors/ForbiddenError.mjs +17 -0
- package/dist/esm/api/errors/NotFoundError.d.mts +6 -0
- package/dist/esm/api/errors/NotFoundError.mjs +17 -0
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +6 -0
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +17 -0
- package/dist/esm/api/errors/UnauthorizedError.d.mts +6 -0
- package/dist/esm/api/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +5 -0
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +17 -0
- package/dist/esm/api/errors/index.d.mts +7 -0
- package/dist/esm/api/errors/index.mjs +7 -0
- package/dist/esm/api/index.d.mts +3 -0
- package/dist/esm/api/index.mjs +3 -0
- package/dist/esm/api/resources/agentApiActivity/client/Client.d.mts +45 -0
- package/dist/esm/api/resources/agentApiActivity/client/Client.mjs +100 -0
- package/dist/esm/api/resources/agentApiActivity/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiActivity/client/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiActivity/client/requests/ReportAgentChatActivityRequest.d.mts +10 -0
- package/dist/esm/api/resources/agentApiActivity/client/requests/ReportAgentChatActivityRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiActivity/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiActivity/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiActivity/exports.d.mts +2 -0
- package/dist/esm/api/resources/agentApiActivity/exports.mjs +3 -0
- package/dist/esm/api/resources/agentApiActivity/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiActivity/index.mjs +2 -0
- package/dist/esm/api/resources/agentApiActivity/types/ReportAgentChatActivityResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiActivity/types/ReportAgentChatActivityResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiActivity/types/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiActivity/types/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiChats/client/Client.d.mts +65 -0
- package/dist/esm/api/resources/agentApiChats/client/Client.mjs +201 -0
- package/dist/esm/api/resources/agentApiChats/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiChats/client/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiChats/client/requests/CreateAgentChatRequest.d.mts +10 -0
- package/dist/esm/api/resources/agentApiChats/client/requests/CreateAgentChatRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiChats/client/requests/ListAgentChatsRequest.d.mts +13 -0
- package/dist/esm/api/resources/agentApiChats/client/requests/ListAgentChatsRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiChats/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiChats/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiChats/exports.d.mts +2 -0
- package/dist/esm/api/resources/agentApiChats/exports.mjs +3 -0
- package/dist/esm/api/resources/agentApiChats/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiChats/index.mjs +2 -0
- package/dist/esm/api/resources/agentApiChats/types/CreateAgentChatResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiChats/types/CreateAgentChatResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiChats/types/GetAgentChatResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiChats/types/GetAgentChatResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiChats/types/ListAgentChatsResponse.d.mts +13 -0
- package/dist/esm/api/resources/agentApiChats/types/ListAgentChatsResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiChats/types/index.d.mts +3 -0
- package/dist/esm/api/resources/agentApiChats/types/index.mjs +3 -0
- package/dist/esm/api/resources/agentApiContacts/client/Client.d.mts +112 -0
- package/dist/esm/api/resources/agentApiContacts/client/Client.mjs +348 -0
- package/dist/esm/api/resources/agentApiContacts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiContacts/client/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/AddAgentContactRequest.d.mts +11 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/AddAgentContactRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/ListAgentContactRequestsRequest.d.mts +17 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/ListAgentContactRequestsRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/ListAgentContactsRequest.d.mts +13 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/ListAgentContactsRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/RemoveAgentContactRequest.d.mts +10 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/RemoveAgentContactRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/RespondToAgentContactRequestRequest.d.mts +21 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/RespondToAgentContactRequestRequest.mjs +9 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/agentApiContacts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiContacts/exports.d.mts +2 -0
- package/dist/esm/api/resources/agentApiContacts/exports.mjs +3 -0
- package/dist/esm/api/resources/agentApiContacts/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiContacts/index.mjs +2 -0
- package/dist/esm/api/resources/agentApiContacts/types/AddAgentContactResponse.d.mts +16 -0
- package/dist/esm/api/resources/agentApiContacts/types/AddAgentContactResponse.mjs +11 -0
- package/dist/esm/api/resources/agentApiContacts/types/ListAgentContactRequestsRequestSentStatus.d.mts +8 -0
- package/dist/esm/api/resources/agentApiContacts/types/ListAgentContactRequestsRequestSentStatus.mjs +8 -0
- package/dist/esm/api/resources/agentApiContacts/types/ListAgentContactRequestsResponse.d.mts +35 -0
- package/dist/esm/api/resources/agentApiContacts/types/ListAgentContactRequestsResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiContacts/types/ListAgentContactsResponse.d.mts +13 -0
- package/dist/esm/api/resources/agentApiContacts/types/ListAgentContactsResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiContacts/types/RemoveAgentContactResponse.d.mts +8 -0
- package/dist/esm/api/resources/agentApiContacts/types/RemoveAgentContactResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiContacts/types/RespondToAgentContactRequestResponse.d.mts +17 -0
- package/dist/esm/api/resources/agentApiContacts/types/RespondToAgentContactRequestResponse.mjs +12 -0
- package/dist/esm/api/resources/agentApiContacts/types/index.d.mts +6 -0
- package/dist/esm/api/resources/agentApiContacts/types/index.mjs +6 -0
- package/dist/esm/api/resources/agentApiContext/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/agentApiContext/client/Client.mjs +114 -0
- package/dist/esm/api/resources/agentApiContext/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiContext/client/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiContext/client/requests/GetAgentChatContextRequest.d.mts +19 -0
- package/dist/esm/api/resources/agentApiContext/client/requests/GetAgentChatContextRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiContext/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiContext/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiContext/exports.d.mts +2 -0
- package/dist/esm/api/resources/agentApiContext/exports.mjs +3 -0
- package/dist/esm/api/resources/agentApiContext/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiContext/index.mjs +2 -0
- package/dist/esm/api/resources/agentApiContext/types/GetAgentChatContextResponse.d.mts +37 -0
- package/dist/esm/api/resources/agentApiContext/types/GetAgentChatContextResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiContext/types/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiContext/types/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiEvents/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/agentApiEvents/client/Client.mjs +102 -0
- package/dist/esm/api/resources/agentApiEvents/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiEvents/client/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiEvents/client/requests/CreateAgentChatEventRequest.d.mts +13 -0
- package/dist/esm/api/resources/agentApiEvents/client/requests/CreateAgentChatEventRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiEvents/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiEvents/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiEvents/exports.d.mts +2 -0
- package/dist/esm/api/resources/agentApiEvents/exports.mjs +3 -0
- package/dist/esm/api/resources/agentApiEvents/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiEvents/index.mjs +2 -0
- package/dist/esm/api/resources/agentApiEvents/types/CreateAgentChatEventResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiEvents/types/CreateAgentChatEventResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiEvents/types/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiEvents/types/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiIdentity/client/Client.d.mts +30 -0
- package/dist/esm/api/resources/agentApiIdentity/client/Client.mjs +76 -0
- package/dist/esm/api/resources/agentApiIdentity/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiIdentity/client/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiIdentity/exports.d.mts +2 -0
- package/dist/esm/api/resources/agentApiIdentity/exports.mjs +3 -0
- package/dist/esm/api/resources/agentApiIdentity/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiIdentity/index.mjs +2 -0
- package/dist/esm/api/resources/agentApiIdentity/types/GetAgentMeResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiIdentity/types/GetAgentMeResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiIdentity/types/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiIdentity/types/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiMemories/client/Client.d.mts +120 -0
- package/dist/esm/api/resources/agentApiMemories/client/Client.mjs +334 -0
- package/dist/esm/api/resources/agentApiMemories/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiMemories/client/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiMemories/client/requests/CreateAgentMemoryRequest.d.mts +16 -0
- package/dist/esm/api/resources/agentApiMemories/client/requests/CreateAgentMemoryRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiMemories/client/requests/ListAgentMemoriesRequest.d.mts +31 -0
- package/dist/esm/api/resources/agentApiMemories/client/requests/ListAgentMemoriesRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiMemories/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiMemories/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiMemories/exports.d.mts +2 -0
- package/dist/esm/api/resources/agentApiMemories/exports.mjs +3 -0
- package/dist/esm/api/resources/agentApiMemories/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiMemories/index.mjs +2 -0
- package/dist/esm/api/resources/agentApiMemories/types/ArchiveAgentMemoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiMemories/types/ArchiveAgentMemoryResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMemories/types/CreateAgentMemoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiMemories/types/CreateAgentMemoryResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMemories/types/GetAgentMemoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiMemories/types/GetAgentMemoryResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMemories/types/ListAgentMemoriesResponse.d.mts +13 -0
- package/dist/esm/api/resources/agentApiMemories/types/ListAgentMemoriesResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMemories/types/SupersedeAgentMemoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiMemories/types/SupersedeAgentMemoryResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMemories/types/index.d.mts +5 -0
- package/dist/esm/api/resources/agentApiMemories/types/index.mjs +5 -0
- package/dist/esm/api/resources/agentApiMessages/client/Client.d.mts +316 -0
- package/dist/esm/api/resources/agentApiMessages/client/Client.mjs +599 -0
- package/dist/esm/api/resources/agentApiMessages/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiMessages/client/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiMessages/client/requests/CreateAgentChatMessageRequest.d.mts +15 -0
- package/dist/esm/api/resources/agentApiMessages/client/requests/CreateAgentChatMessageRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiMessages/client/requests/ListAgentMessagesRequest.d.mts +23 -0
- package/dist/esm/api/resources/agentApiMessages/client/requests/ListAgentMessagesRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiMessages/client/requests/MarkAgentMessageFailedRequest.d.mts +10 -0
- package/dist/esm/api/resources/agentApiMessages/client/requests/MarkAgentMessageFailedRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiMessages/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/agentApiMessages/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiMessages/exports.d.mts +2 -0
- package/dist/esm/api/resources/agentApiMessages/exports.mjs +3 -0
- package/dist/esm/api/resources/agentApiMessages/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiMessages/index.mjs +2 -0
- package/dist/esm/api/resources/agentApiMessages/types/CreateAgentChatMessageResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiMessages/types/CreateAgentChatMessageResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMessages/types/GetAgentNextMessageResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiMessages/types/GetAgentNextMessageResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMessages/types/ListAgentMessagesRequestStatus.d.mts +8 -0
- package/dist/esm/api/resources/agentApiMessages/types/ListAgentMessagesRequestStatus.mjs +8 -0
- package/dist/esm/api/resources/agentApiMessages/types/ListAgentMessagesResponse.d.mts +25 -0
- package/dist/esm/api/resources/agentApiMessages/types/ListAgentMessagesResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMessages/types/MarkAgentMessageFailedResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiMessages/types/MarkAgentMessageFailedResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMessages/types/MarkAgentMessageProcessedResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiMessages/types/MarkAgentMessageProcessedResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMessages/types/MarkAgentMessageProcessingResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiMessages/types/MarkAgentMessageProcessingResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiMessages/types/index.d.mts +7 -0
- package/dist/esm/api/resources/agentApiMessages/types/index.mjs +7 -0
- package/dist/esm/api/resources/agentApiParticipants/client/Client.d.mts +73 -0
- package/dist/esm/api/resources/agentApiParticipants/client/Client.mjs +210 -0
- package/dist/esm/api/resources/agentApiParticipants/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiParticipants/client/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiParticipants/client/requests/AddAgentChatParticipantRequest.d.mts +12 -0
- package/dist/esm/api/resources/agentApiParticipants/client/requests/AddAgentChatParticipantRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiParticipants/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiParticipants/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiParticipants/exports.d.mts +2 -0
- package/dist/esm/api/resources/agentApiParticipants/exports.mjs +3 -0
- package/dist/esm/api/resources/agentApiParticipants/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiParticipants/index.mjs +2 -0
- package/dist/esm/api/resources/agentApiParticipants/types/AddAgentChatParticipantResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiParticipants/types/AddAgentChatParticipantResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiParticipants/types/ListAgentChatParticipantsResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiParticipants/types/ListAgentChatParticipantsResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiParticipants/types/RemoveAgentChatParticipantResponse.d.mts +4 -0
- package/dist/esm/api/resources/agentApiParticipants/types/RemoveAgentChatParticipantResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiParticipants/types/index.d.mts +3 -0
- package/dist/esm/api/resources/agentApiParticipants/types/index.mjs +3 -0
- package/dist/esm/api/resources/agentApiPeers/client/Client.d.mts +35 -0
- package/dist/esm/api/resources/agentApiPeers/client/Client.mjs +91 -0
- package/dist/esm/api/resources/agentApiPeers/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiPeers/client/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiPeers/client/requests/ListAgentPeersRequest.d.mts +16 -0
- package/dist/esm/api/resources/agentApiPeers/client/requests/ListAgentPeersRequest.mjs +2 -0
- package/dist/esm/api/resources/agentApiPeers/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiPeers/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/agentApiPeers/exports.d.mts +2 -0
- package/dist/esm/api/resources/agentApiPeers/exports.mjs +3 -0
- package/dist/esm/api/resources/agentApiPeers/index.d.mts +2 -0
- package/dist/esm/api/resources/agentApiPeers/index.mjs +2 -0
- package/dist/esm/api/resources/agentApiPeers/types/ListAgentPeersResponse.d.mts +13 -0
- package/dist/esm/api/resources/agentApiPeers/types/ListAgentPeersResponse.mjs +2 -0
- package/dist/esm/api/resources/agentApiPeers/types/index.d.mts +1 -0
- package/dist/esm/api/resources/agentApiPeers/types/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiAgents/client/Client.d.mts +107 -0
- package/dist/esm/api/resources/humanApiAgents/client/Client.mjs +262 -0
- package/dist/esm/api/resources/humanApiAgents/client/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiAgents/client/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiAgents/client/requests/DeleteMyAgentRequest.d.mts +10 -0
- package/dist/esm/api/resources/humanApiAgents/client/requests/DeleteMyAgentRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiAgents/client/requests/ListMyAgentsRequest.d.mts +35 -0
- package/dist/esm/api/resources/humanApiAgents/client/requests/ListMyAgentsRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiAgents/client/requests/RegisterMyAgentRequest.d.mts +13 -0
- package/dist/esm/api/resources/humanApiAgents/client/requests/RegisterMyAgentRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiAgents/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/humanApiAgents/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiAgents/exports.d.mts +2 -0
- package/dist/esm/api/resources/humanApiAgents/exports.mjs +3 -0
- package/dist/esm/api/resources/humanApiAgents/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiAgents/index.mjs +2 -0
- package/dist/esm/api/resources/humanApiAgents/types/DeleteMyAgentResponse.d.mts +15 -0
- package/dist/esm/api/resources/humanApiAgents/types/DeleteMyAgentResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiAgents/types/ListMyAgentsRequestOrder.d.mts +5 -0
- package/dist/esm/api/resources/humanApiAgents/types/ListMyAgentsRequestOrder.mjs +5 -0
- package/dist/esm/api/resources/humanApiAgents/types/ListMyAgentsRequestSort.d.mts +6 -0
- package/dist/esm/api/resources/humanApiAgents/types/ListMyAgentsRequestSort.mjs +6 -0
- package/dist/esm/api/resources/humanApiAgents/types/ListMyAgentsResponse.d.mts +36 -0
- package/dist/esm/api/resources/humanApiAgents/types/ListMyAgentsResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiAgents/types/RegisterMyAgentResponse.d.mts +27 -0
- package/dist/esm/api/resources/humanApiAgents/types/RegisterMyAgentResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiAgents/types/index.d.mts +5 -0
- package/dist/esm/api/resources/humanApiAgents/types/index.mjs +5 -0
- package/dist/esm/api/resources/humanApiChats/client/Client.d.mts +81 -0
- package/dist/esm/api/resources/humanApiChats/client/Client.mjs +225 -0
- package/dist/esm/api/resources/humanApiChats/client/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiChats/client/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiChats/client/requests/CreateMyChatRoomRequest.d.mts +17 -0
- package/dist/esm/api/resources/humanApiChats/client/requests/CreateMyChatRoomRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiChats/client/requests/ListMyChatsRequest.d.mts +32 -0
- package/dist/esm/api/resources/humanApiChats/client/requests/ListMyChatsRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiChats/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiChats/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiChats/exports.d.mts +2 -0
- package/dist/esm/api/resources/humanApiChats/exports.mjs +3 -0
- package/dist/esm/api/resources/humanApiChats/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiChats/index.mjs +2 -0
- package/dist/esm/api/resources/humanApiChats/types/CreateMyChatRoomResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiChats/types/CreateMyChatRoomResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiChats/types/GetMyChatRoomResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiChats/types/GetMyChatRoomResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiChats/types/ListMyChatsRequestOrder.d.mts +5 -0
- package/dist/esm/api/resources/humanApiChats/types/ListMyChatsRequestOrder.mjs +5 -0
- package/dist/esm/api/resources/humanApiChats/types/ListMyChatsRequestSortBy.d.mts +5 -0
- package/dist/esm/api/resources/humanApiChats/types/ListMyChatsRequestSortBy.mjs +5 -0
- package/dist/esm/api/resources/humanApiChats/types/ListMyChatsRequestStatus.d.mts +6 -0
- package/dist/esm/api/resources/humanApiChats/types/ListMyChatsRequestStatus.mjs +6 -0
- package/dist/esm/api/resources/humanApiChats/types/ListMyChatsRequestType.d.mts +6 -0
- package/dist/esm/api/resources/humanApiChats/types/ListMyChatsRequestType.mjs +6 -0
- package/dist/esm/api/resources/humanApiChats/types/ListMyChatsResponse.d.mts +23 -0
- package/dist/esm/api/resources/humanApiChats/types/ListMyChatsResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiChats/types/index.d.mts +7 -0
- package/dist/esm/api/resources/humanApiChats/types/index.mjs +7 -0
- package/dist/esm/api/resources/humanApiContacts/client/Client.d.mts +201 -0
- package/dist/esm/api/resources/humanApiContacts/client/Client.mjs +611 -0
- package/dist/esm/api/resources/humanApiContacts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiContacts/client/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/CreateContactRequestRequest.d.mts +19 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/CreateContactRequestRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/ListMyContactsRequest.d.mts +13 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/ListMyContactsRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/ListReceivedContactRequestsRequest.d.mts +13 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/ListReceivedContactRequestsRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/ListSentContactRequestsRequest.d.mts +17 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/ListSentContactRequestsRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/RemoveMyContactRequest.d.mts +10 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/RemoveMyContactRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/ResolveHandleRequest.d.mts +10 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/ResolveHandleRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/humanApiContacts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiContacts/exports.d.mts +2 -0
- package/dist/esm/api/resources/humanApiContacts/exports.mjs +3 -0
- package/dist/esm/api/resources/humanApiContacts/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiContacts/index.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/types/ApproveContactRequestResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiContacts/types/ApproveContactRequestResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/types/CancelContactRequestResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiContacts/types/CancelContactRequestResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/types/CreateContactRequestResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiContacts/types/CreateContactRequestResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/types/ListMyContactsResponse.d.mts +21 -0
- package/dist/esm/api/resources/humanApiContacts/types/ListMyContactsResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/types/ListReceivedContactRequestsResponse.d.mts +21 -0
- package/dist/esm/api/resources/humanApiContacts/types/ListReceivedContactRequestsResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/types/ListSentContactRequestsRequestStatus.d.mts +9 -0
- package/dist/esm/api/resources/humanApiContacts/types/ListSentContactRequestsRequestStatus.mjs +9 -0
- package/dist/esm/api/resources/humanApiContacts/types/ListSentContactRequestsResponse.d.mts +21 -0
- package/dist/esm/api/resources/humanApiContacts/types/ListSentContactRequestsResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/types/RejectContactRequestResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiContacts/types/RejectContactRequestResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/types/RemoveMyContactResponse.d.mts +8 -0
- package/dist/esm/api/resources/humanApiContacts/types/RemoveMyContactResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/types/ResolveHandleResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiContacts/types/ResolveHandleResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiContacts/types/index.d.mts +10 -0
- package/dist/esm/api/resources/humanApiContacts/types/index.mjs +10 -0
- package/dist/esm/api/resources/humanApiMemories/client/Client.d.mts +131 -0
- package/dist/esm/api/resources/humanApiMemories/client/Client.mjs +389 -0
- package/dist/esm/api/resources/humanApiMemories/client/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiMemories/client/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiMemories/client/requests/ListUserMemoriesRequest.d.mts +31 -0
- package/dist/esm/api/resources/humanApiMemories/client/requests/ListUserMemoriesRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiMemories/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiMemories/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiMemories/exports.d.mts +2 -0
- package/dist/esm/api/resources/humanApiMemories/exports.mjs +3 -0
- package/dist/esm/api/resources/humanApiMemories/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiMemories/index.mjs +2 -0
- package/dist/esm/api/resources/humanApiMemories/types/ArchiveUserMemoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiMemories/types/ArchiveUserMemoryResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiMemories/types/GetUserMemoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiMemories/types/GetUserMemoryResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiMemories/types/ListUserMemoriesResponse.d.mts +13 -0
- package/dist/esm/api/resources/humanApiMemories/types/ListUserMemoriesResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiMemories/types/RestoreUserMemoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiMemories/types/RestoreUserMemoryResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiMemories/types/SupersedeUserMemoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiMemories/types/SupersedeUserMemoryResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiMemories/types/index.d.mts +5 -0
- package/dist/esm/api/resources/humanApiMemories/types/index.mjs +5 -0
- package/dist/esm/api/resources/humanApiMessages/client/Client.d.mts +97 -0
- package/dist/esm/api/resources/humanApiMessages/client/Client.mjs +200 -0
- package/dist/esm/api/resources/humanApiMessages/client/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiMessages/client/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiMessages/client/requests/ListMyChatMessagesRequest.d.mts +26 -0
- package/dist/esm/api/resources/humanApiMessages/client/requests/ListMyChatMessagesRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiMessages/client/requests/SendMyChatMessageRequest.d.mts +15 -0
- package/dist/esm/api/resources/humanApiMessages/client/requests/SendMyChatMessageRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiMessages/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiMessages/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiMessages/exports.d.mts +2 -0
- package/dist/esm/api/resources/humanApiMessages/exports.mjs +3 -0
- package/dist/esm/api/resources/humanApiMessages/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiMessages/index.mjs +2 -0
- package/dist/esm/api/resources/humanApiMessages/types/ListMyChatMessagesRequestMessageType.d.mts +10 -0
- package/dist/esm/api/resources/humanApiMessages/types/ListMyChatMessagesRequestMessageType.mjs +10 -0
- package/dist/esm/api/resources/humanApiMessages/types/ListMyChatMessagesResponse.d.mts +23 -0
- package/dist/esm/api/resources/humanApiMessages/types/ListMyChatMessagesResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiMessages/types/SendMyChatMessageResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiMessages/types/SendMyChatMessageResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiMessages/types/index.d.mts +3 -0
- package/dist/esm/api/resources/humanApiMessages/types/index.mjs +3 -0
- package/dist/esm/api/resources/humanApiParticipants/client/Client.d.mts +84 -0
- package/dist/esm/api/resources/humanApiParticipants/client/Client.mjs +227 -0
- package/dist/esm/api/resources/humanApiParticipants/client/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiParticipants/client/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiParticipants/client/requests/AddMyChatParticipantRequest.d.mts +12 -0
- package/dist/esm/api/resources/humanApiParticipants/client/requests/AddMyChatParticipantRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiParticipants/client/requests/ListMyChatParticipantsRequest.d.mts +23 -0
- package/dist/esm/api/resources/humanApiParticipants/client/requests/ListMyChatParticipantsRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiParticipants/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiParticipants/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiParticipants/exports.d.mts +2 -0
- package/dist/esm/api/resources/humanApiParticipants/exports.mjs +3 -0
- package/dist/esm/api/resources/humanApiParticipants/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiParticipants/index.mjs +2 -0
- package/dist/esm/api/resources/humanApiParticipants/types/AddMyChatParticipantResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiParticipants/types/AddMyChatParticipantResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiParticipants/types/ListMyChatParticipantsRequestParticipantType.d.mts +5 -0
- package/dist/esm/api/resources/humanApiParticipants/types/ListMyChatParticipantsRequestParticipantType.mjs +5 -0
- package/dist/esm/api/resources/humanApiParticipants/types/ListMyChatParticipantsResponse.d.mts +23 -0
- package/dist/esm/api/resources/humanApiParticipants/types/ListMyChatParticipantsResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiParticipants/types/RemoveMyChatParticipantResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiParticipants/types/RemoveMyChatParticipantResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiParticipants/types/index.d.mts +4 -0
- package/dist/esm/api/resources/humanApiParticipants/types/index.mjs +4 -0
- package/dist/esm/api/resources/humanApiPeers/client/Client.d.mts +46 -0
- package/dist/esm/api/resources/humanApiPeers/client/Client.mjs +103 -0
- package/dist/esm/api/resources/humanApiPeers/client/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiPeers/client/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiPeers/client/requests/ListMyPeersRequest.d.mts +20 -0
- package/dist/esm/api/resources/humanApiPeers/client/requests/ListMyPeersRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiPeers/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiPeers/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiPeers/exports.d.mts +2 -0
- package/dist/esm/api/resources/humanApiPeers/exports.mjs +3 -0
- package/dist/esm/api/resources/humanApiPeers/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiPeers/index.mjs +2 -0
- package/dist/esm/api/resources/humanApiPeers/types/ListMyPeersRequestType.d.mts +5 -0
- package/dist/esm/api/resources/humanApiPeers/types/ListMyPeersRequestType.mjs +5 -0
- package/dist/esm/api/resources/humanApiPeers/types/ListMyPeersResponse.d.mts +13 -0
- package/dist/esm/api/resources/humanApiPeers/types/ListMyPeersResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiPeers/types/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiPeers/types/index.mjs +2 -0
- package/dist/esm/api/resources/humanApiProfile/client/Client.d.mts +46 -0
- package/dist/esm/api/resources/humanApiProfile/client/Client.mjs +134 -0
- package/dist/esm/api/resources/humanApiProfile/client/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiProfile/client/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiProfile/client/requests/UpdateMyProfileRequest.d.mts +21 -0
- package/dist/esm/api/resources/humanApiProfile/client/requests/UpdateMyProfileRequest.mjs +2 -0
- package/dist/esm/api/resources/humanApiProfile/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/humanApiProfile/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/humanApiProfile/exports.d.mts +2 -0
- package/dist/esm/api/resources/humanApiProfile/exports.mjs +3 -0
- package/dist/esm/api/resources/humanApiProfile/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiProfile/index.mjs +2 -0
- package/dist/esm/api/resources/humanApiProfile/types/GetMyProfileResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiProfile/types/GetMyProfileResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiProfile/types/UpdateMyProfileResponse.d.mts +4 -0
- package/dist/esm/api/resources/humanApiProfile/types/UpdateMyProfileResponse.mjs +2 -0
- package/dist/esm/api/resources/humanApiProfile/types/index.d.mts +2 -0
- package/dist/esm/api/resources/humanApiProfile/types/index.mjs +2 -0
- package/dist/esm/api/resources/index.d.mts +53 -0
- package/dist/esm/api/resources/index.mjs +53 -0
- package/dist/esm/api/types/AgentActivityResponse.d.mts +7 -0
- package/dist/esm/api/types/AgentActivityResponse.mjs +2 -0
- package/dist/esm/api/types/AgentContact.d.mts +30 -0
- package/dist/esm/api/types/AgentContact.mjs +9 -0
- package/dist/esm/api/types/AgentMe.d.mts +23 -0
- package/dist/esm/api/types/AgentMe.mjs +2 -0
- package/dist/esm/api/types/AgentMemory.d.mts +71 -0
- package/dist/esm/api/types/AgentMemory.mjs +37 -0
- package/dist/esm/api/types/AgentMemoryCreateRequest.d.mts +63 -0
- package/dist/esm/api/types/AgentMemoryCreateRequest.mjs +31 -0
- package/dist/esm/api/types/AgentRegisterRequest.d.mts +9 -0
- package/dist/esm/api/types/AgentRegisterRequest.mjs +2 -0
- package/dist/esm/api/types/ChatEventMessageType.d.mts +19 -0
- package/dist/esm/api/types/ChatEventMessageType.mjs +19 -0
- package/dist/esm/api/types/ChatEventRequest.d.mts +22 -0
- package/dist/esm/api/types/ChatEventRequest.mjs +2 -0
- package/dist/esm/api/types/ChatMessage.d.mts +25 -0
- package/dist/esm/api/types/ChatMessage.mjs +2 -0
- package/dist/esm/api/types/ChatMessageRequest.d.mts +22 -0
- package/dist/esm/api/types/ChatMessageRequest.mjs +2 -0
- package/dist/esm/api/types/ChatParticipant.d.mts +25 -0
- package/dist/esm/api/types/ChatParticipant.mjs +9 -0
- package/dist/esm/api/types/ChatParticipantDetails.d.mts +29 -0
- package/dist/esm/api/types/ChatParticipantDetails.mjs +9 -0
- package/dist/esm/api/types/ChatRoom.d.mts +15 -0
- package/dist/esm/api/types/ChatRoom.mjs +2 -0
- package/dist/esm/api/types/ChatRoomRequest.d.mts +9 -0
- package/dist/esm/api/types/ChatRoomRequest.mjs +2 -0
- package/dist/esm/api/types/Contact.d.mts +41 -0
- package/dist/esm/api/types/Contact.mjs +9 -0
- package/dist/esm/api/types/ContactRequest.d.mts +68 -0
- package/dist/esm/api/types/ContactRequest.mjs +22 -0
- package/dist/esm/api/types/ContactRequestActionResponse.d.mts +18 -0
- package/dist/esm/api/types/ContactRequestActionResponse.mjs +10 -0
- package/dist/esm/api/types/Error_.d.mts +18 -0
- package/dist/esm/api/types/Error_.mjs +2 -0
- package/dist/esm/api/types/EventCreatedResponse.d.mts +11 -0
- package/dist/esm/api/types/EventCreatedResponse.mjs +2 -0
- package/dist/esm/api/types/MeChatRoom.d.mts +35 -0
- package/dist/esm/api/types/MeChatRoom.mjs +16 -0
- package/dist/esm/api/types/MessageSentResponse.d.mts +24 -0
- package/dist/esm/api/types/MessageSentResponse.mjs +2 -0
- package/dist/esm/api/types/MessageStatusResponse.d.mts +22 -0
- package/dist/esm/api/types/MessageStatusResponse.mjs +10 -0
- package/dist/esm/api/types/MyAgent.d.mts +29 -0
- package/dist/esm/api/types/MyAgent.mjs +2 -0
- package/dist/esm/api/types/ParticipantRequest.d.mts +18 -0
- package/dist/esm/api/types/ParticipantRequest.mjs +10 -0
- package/dist/esm/api/types/ParticipantRole.d.mts +13 -0
- package/dist/esm/api/types/ParticipantRole.mjs +13 -0
- package/dist/esm/api/types/Peer.d.mts +39 -0
- package/dist/esm/api/types/Peer.mjs +14 -0
- package/dist/esm/api/types/ReceivedContactRequest.d.mts +22 -0
- package/dist/esm/api/types/ReceivedContactRequest.mjs +10 -0
- package/dist/esm/api/types/ResolvedEntity.d.mts +21 -0
- package/dist/esm/api/types/ResolvedEntity.mjs +9 -0
- package/dist/esm/api/types/SentContactRequest.d.mts +22 -0
- package/dist/esm/api/types/SentContactRequest.mjs +10 -0
- package/dist/esm/api/types/UserDetails.d.mts +25 -0
- package/dist/esm/api/types/UserDetails.mjs +9 -0
- package/dist/esm/api/types/UserMemory.d.mts +73 -0
- package/dist/esm/api/types/UserMemory.mjs +37 -0
- package/dist/esm/api/types/ValidationError.d.mts +18 -0
- package/dist/esm/api/types/ValidationError.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +32 -0
- package/dist/esm/api/types/index.mjs +32 -0
- package/dist/esm/auth/HeaderAuthProvider.d.mts +20 -0
- package/dist/esm/auth/HeaderAuthProvider.mjs +43 -0
- package/dist/esm/auth/index.d.mts +1 -0
- package/dist/esm/auth/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +8 -0
- package/dist/esm/core/auth/AuthProvider.mjs +6 -0
- package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
- package/dist/esm/core/auth/AuthRequest.mjs +1 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +30 -0
- package/dist/esm/core/auth/BearerToken.d.mts +7 -0
- package/dist/esm/core/auth/BearerToken.mjs +13 -0
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/dist/esm/core/auth/index.d.mts +5 -0
- package/dist/esm/core/auth/index.mjs +4 -0
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/exports.d.mts +1 -0
- package/dist/esm/core/exports.mjs +1 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +56 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +323 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +42 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +66 -0
- package/dist/esm/core/fetcher/index.d.mts +13 -0
- package/dist/esm/core/fetcher/index.mjs +7 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.mjs +132 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +6 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +55 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +67 -0
- package/dist/esm/core/fetcher/signals.d.mts +5 -0
- package/dist/esm/core/fetcher/signals.mjs +20 -0
- package/dist/esm/core/headers.d.mts +2 -0
- package/dist/esm/core/headers.mjs +27 -0
- package/dist/esm/core/index.d.mts +6 -0
- package/dist/esm/core/index.mjs +6 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +9 -0
- package/dist/esm/core/runtime/runtime.mjs +101 -0
- package/dist/esm/core/url/QueryStringBuilder.d.mts +47 -0
- package/dist/esm/core/url/QueryStringBuilder.mjs +80 -0
- package/dist/esm/core/url/encodePathParam.d.mts +1 -0
- package/dist/esm/core/url/encodePathParam.mjs +18 -0
- package/dist/esm/core/url/index.d.mts +4 -0
- package/dist/esm/core/url/index.mjs +4 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +65 -0
- package/dist/esm/core/url/qs.d.mts +7 -0
- package/dist/esm/core/url/qs.mjs +73 -0
- package/dist/esm/environments.d.mts +4 -0
- package/dist/esm/environments.mjs +4 -0
- package/dist/esm/errors/BandError.d.mts +14 -0
- package/dist/esm/errors/BandError.mjs +31 -0
- package/dist/esm/errors/BandTimeoutError.d.mts +6 -0
- package/dist/esm/errors/BandTimeoutError.mjs +14 -0
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.mjs +32 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/exports.d.mts +1 -0
- package/dist/esm/exports.mjs +1 -0
- package/dist/esm/index.d.mts +6 -0
- package/dist/esm/index.mjs +5 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +212 -11
- package/reference.md +263 -290
|
@@ -0,0 +1,48 @@
|
|
|
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 () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.BandTimeoutError = exports.BandError = exports.BandEnvironment = exports.BandClient = exports.Band = void 0;
|
|
40
|
+
exports.Band = __importStar(require("./api/index.js"));
|
|
41
|
+
var Client_js_1 = require("./Client.js");
|
|
42
|
+
Object.defineProperty(exports, "BandClient", { enumerable: true, get: function () { return Client_js_1.BandClient; } });
|
|
43
|
+
var environments_js_1 = require("./environments.js");
|
|
44
|
+
Object.defineProperty(exports, "BandEnvironment", { enumerable: true, get: function () { return environments_js_1.BandEnvironment; } });
|
|
45
|
+
var index_js_1 = require("./errors/index.js");
|
|
46
|
+
Object.defineProperty(exports, "BandError", { enumerable: true, get: function () { return index_js_1.BandError; } });
|
|
47
|
+
Object.defineProperty(exports, "BandTimeoutError", { enumerable: true, get: function () { return index_js_1.BandTimeoutError; } });
|
|
48
|
+
__exportStar(require("./exports.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SDK_VERSION = "0.0.118";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { HeaderAuthProvider } from "./auth/HeaderAuthProvider.mjs";
|
|
2
|
+
import * as core from "./core/index.mjs";
|
|
3
|
+
import type * as environments from "./environments.mjs";
|
|
4
|
+
export type AuthOption = false | core.AuthProvider["getAuthRequest"] | core.AuthProvider | HeaderAuthProvider.AuthOptions;
|
|
5
|
+
export type BaseClientOptions = {
|
|
6
|
+
environment?: core.Supplier<environments.BandEnvironment | string>;
|
|
7
|
+
/** Specify a custom URL to connect the client to. */
|
|
8
|
+
baseUrl?: core.Supplier<string>;
|
|
9
|
+
/** Additional headers to include in requests. */
|
|
10
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
11
|
+
/** The default maximum time to wait for a response in seconds. */
|
|
12
|
+
timeoutInSeconds?: number;
|
|
13
|
+
/** The default number of times to retry the request. Defaults to 2. */
|
|
14
|
+
maxRetries?: number;
|
|
15
|
+
/** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */
|
|
16
|
+
fetch?: typeof fetch;
|
|
17
|
+
/** Configure logging for the client. */
|
|
18
|
+
logging?: core.logging.LogConfig | core.logging.Logger;
|
|
19
|
+
/** Override auth. Pass false to disable, a function returning auth headers, an AuthProvider, or auth options. */
|
|
20
|
+
auth?: AuthOption;
|
|
21
|
+
} & HeaderAuthProvider.AuthOptions;
|
|
22
|
+
export interface BaseRequestOptions {
|
|
23
|
+
/** The maximum time to wait for a response in seconds. */
|
|
24
|
+
timeoutInSeconds?: number;
|
|
25
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
26
|
+
maxRetries?: number;
|
|
27
|
+
/** A hook to abort the request. */
|
|
28
|
+
abortSignal?: AbortSignal;
|
|
29
|
+
/** Additional query string parameters to include in the request. */
|
|
30
|
+
queryParams?: Record<string, unknown>;
|
|
31
|
+
/** Additional headers to include in the request. */
|
|
32
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
33
|
+
}
|
|
34
|
+
export type NormalizedClientOptions<T extends BaseClientOptions = BaseClientOptions> = T & {
|
|
35
|
+
logging: core.logging.Logger;
|
|
36
|
+
authProvider?: core.AuthProvider;
|
|
37
|
+
};
|
|
38
|
+
export type NormalizedClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions> = NormalizedClientOptions<T> & {
|
|
39
|
+
authProvider: core.AuthProvider;
|
|
40
|
+
};
|
|
41
|
+
export declare function normalizeClientOptions<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptions<T>;
|
|
42
|
+
export declare function normalizeClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptionsWithAuth<T>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import { HeaderAuthProvider } from "./auth/HeaderAuthProvider.mjs";
|
|
3
|
+
import { mergeHeaders } from "./core/headers.mjs";
|
|
4
|
+
import * as core from "./core/index.mjs";
|
|
5
|
+
export function normalizeClientOptions(options) {
|
|
6
|
+
const headers = mergeHeaders({
|
|
7
|
+
"X-Fern-Language": "JavaScript",
|
|
8
|
+
"X-Fern-SDK-Name": "@band-ai/rest-client",
|
|
9
|
+
"X-Fern-SDK-Version": "0.0.118",
|
|
10
|
+
"User-Agent": "@band-ai/rest-client/0.0.118",
|
|
11
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
|
+
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
14
|
+
return Object.assign(Object.assign({}, options), { logging: core.logging.createLogger(options === null || options === void 0 ? void 0 : options.logging), headers });
|
|
15
|
+
}
|
|
16
|
+
export function normalizeClientOptionsWithAuth(options) {
|
|
17
|
+
var _a;
|
|
18
|
+
const normalized = normalizeClientOptions(options);
|
|
19
|
+
if (options.auth === false) {
|
|
20
|
+
normalized.authProvider = new core.NoOpAuthProvider();
|
|
21
|
+
return normalized;
|
|
22
|
+
}
|
|
23
|
+
if (options.auth != null) {
|
|
24
|
+
if (typeof options.auth === "function") {
|
|
25
|
+
normalized.authProvider = { getAuthRequest: options.auth };
|
|
26
|
+
return normalized;
|
|
27
|
+
}
|
|
28
|
+
if (core.isAuthProvider(options.auth)) {
|
|
29
|
+
normalized.authProvider = options.auth;
|
|
30
|
+
return normalized;
|
|
31
|
+
}
|
|
32
|
+
Object.assign(normalized, options.auth);
|
|
33
|
+
}
|
|
34
|
+
const normalizedWithNoOpAuthProvider = withNoOpAuthProvider(normalized);
|
|
35
|
+
(_a = normalized.authProvider) !== null && _a !== void 0 ? _a : (normalized.authProvider = new HeaderAuthProvider(normalizedWithNoOpAuthProvider));
|
|
36
|
+
return normalized;
|
|
37
|
+
}
|
|
38
|
+
function withNoOpAuthProvider(options) {
|
|
39
|
+
return Object.assign(Object.assign({}, options), { authProvider: new core.NoOpAuthProvider() });
|
|
40
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { AgentApiActivityClient } from "./api/resources/agentApiActivity/client/Client.mjs";
|
|
2
|
+
import { AgentApiChatsClient } from "./api/resources/agentApiChats/client/Client.mjs";
|
|
3
|
+
import { AgentApiContactsClient } from "./api/resources/agentApiContacts/client/Client.mjs";
|
|
4
|
+
import { AgentApiContextClient } from "./api/resources/agentApiContext/client/Client.mjs";
|
|
5
|
+
import { AgentApiEventsClient } from "./api/resources/agentApiEvents/client/Client.mjs";
|
|
6
|
+
import { AgentApiIdentityClient } from "./api/resources/agentApiIdentity/client/Client.mjs";
|
|
7
|
+
import { AgentApiMemoriesClient } from "./api/resources/agentApiMemories/client/Client.mjs";
|
|
8
|
+
import { AgentApiMessagesClient } from "./api/resources/agentApiMessages/client/Client.mjs";
|
|
9
|
+
import { AgentApiParticipantsClient } from "./api/resources/agentApiParticipants/client/Client.mjs";
|
|
10
|
+
import { AgentApiPeersClient } from "./api/resources/agentApiPeers/client/Client.mjs";
|
|
11
|
+
import { HumanApiAgentsClient } from "./api/resources/humanApiAgents/client/Client.mjs";
|
|
12
|
+
import { HumanApiChatsClient } from "./api/resources/humanApiChats/client/Client.mjs";
|
|
13
|
+
import { HumanApiContactsClient } from "./api/resources/humanApiContacts/client/Client.mjs";
|
|
14
|
+
import { HumanApiMemoriesClient } from "./api/resources/humanApiMemories/client/Client.mjs";
|
|
15
|
+
import { HumanApiMessagesClient } from "./api/resources/humanApiMessages/client/Client.mjs";
|
|
16
|
+
import { HumanApiParticipantsClient } from "./api/resources/humanApiParticipants/client/Client.mjs";
|
|
17
|
+
import { HumanApiPeersClient } from "./api/resources/humanApiPeers/client/Client.mjs";
|
|
18
|
+
import { HumanApiProfileClient } from "./api/resources/humanApiProfile/client/Client.mjs";
|
|
19
|
+
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
|
|
20
|
+
import { type NormalizedClientOptionsWithAuth } from "./BaseClient.mjs";
|
|
21
|
+
import * as core from "./core/index.mjs";
|
|
22
|
+
export declare namespace BandClient {
|
|
23
|
+
type Options = BaseClientOptions;
|
|
24
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export declare class BandClient {
|
|
28
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<BandClient.Options>;
|
|
29
|
+
protected _agentApiContacts: AgentApiContactsClient | undefined;
|
|
30
|
+
protected _humanApiContacts: HumanApiContactsClient | undefined;
|
|
31
|
+
protected _humanApiMemories: HumanApiMemoriesClient | undefined;
|
|
32
|
+
protected _humanApiChats: HumanApiChatsClient | undefined;
|
|
33
|
+
protected _agentApiMessages: AgentApiMessagesClient | undefined;
|
|
34
|
+
protected _agentApiMemories: AgentApiMemoriesClient | undefined;
|
|
35
|
+
protected _agentApiPeers: AgentApiPeersClient | undefined;
|
|
36
|
+
protected _humanApiPeers: HumanApiPeersClient | undefined;
|
|
37
|
+
protected _humanApiMessages: HumanApiMessagesClient | undefined;
|
|
38
|
+
protected _agentApiEvents: AgentApiEventsClient | undefined;
|
|
39
|
+
protected _humanApiAgents: HumanApiAgentsClient | undefined;
|
|
40
|
+
protected _humanApiParticipants: HumanApiParticipantsClient | undefined;
|
|
41
|
+
protected _agentApiIdentity: AgentApiIdentityClient | undefined;
|
|
42
|
+
protected _agentApiParticipants: AgentApiParticipantsClient | undefined;
|
|
43
|
+
protected _agentApiContext: AgentApiContextClient | undefined;
|
|
44
|
+
protected _agentApiChats: AgentApiChatsClient | undefined;
|
|
45
|
+
protected _humanApiProfile: HumanApiProfileClient | undefined;
|
|
46
|
+
protected _agentApiActivity: AgentApiActivityClient | undefined;
|
|
47
|
+
constructor(options: BandClient.Options);
|
|
48
|
+
get agentApiContacts(): AgentApiContactsClient;
|
|
49
|
+
get humanApiContacts(): HumanApiContactsClient;
|
|
50
|
+
get humanApiMemories(): HumanApiMemoriesClient;
|
|
51
|
+
get humanApiChats(): HumanApiChatsClient;
|
|
52
|
+
get agentApiMessages(): AgentApiMessagesClient;
|
|
53
|
+
get agentApiMemories(): AgentApiMemoriesClient;
|
|
54
|
+
get agentApiPeers(): AgentApiPeersClient;
|
|
55
|
+
get humanApiPeers(): HumanApiPeersClient;
|
|
56
|
+
get humanApiMessages(): HumanApiMessagesClient;
|
|
57
|
+
get agentApiEvents(): AgentApiEventsClient;
|
|
58
|
+
get humanApiAgents(): HumanApiAgentsClient;
|
|
59
|
+
get humanApiParticipants(): HumanApiParticipantsClient;
|
|
60
|
+
get agentApiIdentity(): AgentApiIdentityClient;
|
|
61
|
+
get agentApiParticipants(): AgentApiParticipantsClient;
|
|
62
|
+
get agentApiContext(): AgentApiContextClient;
|
|
63
|
+
get agentApiChats(): AgentApiChatsClient;
|
|
64
|
+
get humanApiProfile(): HumanApiProfileClient;
|
|
65
|
+
get agentApiActivity(): AgentApiActivityClient;
|
|
66
|
+
/**
|
|
67
|
+
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
68
|
+
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
69
|
+
* The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
|
|
70
|
+
*
|
|
71
|
+
* @param {Request | string | URL} input - The URL, path, or Request object.
|
|
72
|
+
* @param {RequestInit} init - Standard fetch RequestInit options.
|
|
73
|
+
* @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
|
|
74
|
+
* @returns {Promise<Response>} A standard Response object.
|
|
75
|
+
*/
|
|
76
|
+
fetch(input: Request | string | URL, init?: RequestInit, requestOptions?: core.PassthroughRequest.RequestOptions): Promise<Response>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
import { AgentApiActivityClient } from "./api/resources/agentApiActivity/client/Client.mjs";
|
|
12
|
+
import { AgentApiChatsClient } from "./api/resources/agentApiChats/client/Client.mjs";
|
|
13
|
+
import { AgentApiContactsClient } from "./api/resources/agentApiContacts/client/Client.mjs";
|
|
14
|
+
import { AgentApiContextClient } from "./api/resources/agentApiContext/client/Client.mjs";
|
|
15
|
+
import { AgentApiEventsClient } from "./api/resources/agentApiEvents/client/Client.mjs";
|
|
16
|
+
import { AgentApiIdentityClient } from "./api/resources/agentApiIdentity/client/Client.mjs";
|
|
17
|
+
import { AgentApiMemoriesClient } from "./api/resources/agentApiMemories/client/Client.mjs";
|
|
18
|
+
import { AgentApiMessagesClient } from "./api/resources/agentApiMessages/client/Client.mjs";
|
|
19
|
+
import { AgentApiParticipantsClient } from "./api/resources/agentApiParticipants/client/Client.mjs";
|
|
20
|
+
import { AgentApiPeersClient } from "./api/resources/agentApiPeers/client/Client.mjs";
|
|
21
|
+
import { HumanApiAgentsClient } from "./api/resources/humanApiAgents/client/Client.mjs";
|
|
22
|
+
import { HumanApiChatsClient } from "./api/resources/humanApiChats/client/Client.mjs";
|
|
23
|
+
import { HumanApiContactsClient } from "./api/resources/humanApiContacts/client/Client.mjs";
|
|
24
|
+
import { HumanApiMemoriesClient } from "./api/resources/humanApiMemories/client/Client.mjs";
|
|
25
|
+
import { HumanApiMessagesClient } from "./api/resources/humanApiMessages/client/Client.mjs";
|
|
26
|
+
import { HumanApiParticipantsClient } from "./api/resources/humanApiParticipants/client/Client.mjs";
|
|
27
|
+
import { HumanApiPeersClient } from "./api/resources/humanApiPeers/client/Client.mjs";
|
|
28
|
+
import { HumanApiProfileClient } from "./api/resources/humanApiProfile/client/Client.mjs";
|
|
29
|
+
import { normalizeClientOptionsWithAuth } from "./BaseClient.mjs";
|
|
30
|
+
import * as core from "./core/index.mjs";
|
|
31
|
+
export class BandClient {
|
|
32
|
+
constructor(options) {
|
|
33
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
34
|
+
}
|
|
35
|
+
get agentApiContacts() {
|
|
36
|
+
var _a;
|
|
37
|
+
return ((_a = this._agentApiContacts) !== null && _a !== void 0 ? _a : (this._agentApiContacts = new AgentApiContactsClient(this._options)));
|
|
38
|
+
}
|
|
39
|
+
get humanApiContacts() {
|
|
40
|
+
var _a;
|
|
41
|
+
return ((_a = this._humanApiContacts) !== null && _a !== void 0 ? _a : (this._humanApiContacts = new HumanApiContactsClient(this._options)));
|
|
42
|
+
}
|
|
43
|
+
get humanApiMemories() {
|
|
44
|
+
var _a;
|
|
45
|
+
return ((_a = this._humanApiMemories) !== null && _a !== void 0 ? _a : (this._humanApiMemories = new HumanApiMemoriesClient(this._options)));
|
|
46
|
+
}
|
|
47
|
+
get humanApiChats() {
|
|
48
|
+
var _a;
|
|
49
|
+
return ((_a = this._humanApiChats) !== null && _a !== void 0 ? _a : (this._humanApiChats = new HumanApiChatsClient(this._options)));
|
|
50
|
+
}
|
|
51
|
+
get agentApiMessages() {
|
|
52
|
+
var _a;
|
|
53
|
+
return ((_a = this._agentApiMessages) !== null && _a !== void 0 ? _a : (this._agentApiMessages = new AgentApiMessagesClient(this._options)));
|
|
54
|
+
}
|
|
55
|
+
get agentApiMemories() {
|
|
56
|
+
var _a;
|
|
57
|
+
return ((_a = this._agentApiMemories) !== null && _a !== void 0 ? _a : (this._agentApiMemories = new AgentApiMemoriesClient(this._options)));
|
|
58
|
+
}
|
|
59
|
+
get agentApiPeers() {
|
|
60
|
+
var _a;
|
|
61
|
+
return ((_a = this._agentApiPeers) !== null && _a !== void 0 ? _a : (this._agentApiPeers = new AgentApiPeersClient(this._options)));
|
|
62
|
+
}
|
|
63
|
+
get humanApiPeers() {
|
|
64
|
+
var _a;
|
|
65
|
+
return ((_a = this._humanApiPeers) !== null && _a !== void 0 ? _a : (this._humanApiPeers = new HumanApiPeersClient(this._options)));
|
|
66
|
+
}
|
|
67
|
+
get humanApiMessages() {
|
|
68
|
+
var _a;
|
|
69
|
+
return ((_a = this._humanApiMessages) !== null && _a !== void 0 ? _a : (this._humanApiMessages = new HumanApiMessagesClient(this._options)));
|
|
70
|
+
}
|
|
71
|
+
get agentApiEvents() {
|
|
72
|
+
var _a;
|
|
73
|
+
return ((_a = this._agentApiEvents) !== null && _a !== void 0 ? _a : (this._agentApiEvents = new AgentApiEventsClient(this._options)));
|
|
74
|
+
}
|
|
75
|
+
get humanApiAgents() {
|
|
76
|
+
var _a;
|
|
77
|
+
return ((_a = this._humanApiAgents) !== null && _a !== void 0 ? _a : (this._humanApiAgents = new HumanApiAgentsClient(this._options)));
|
|
78
|
+
}
|
|
79
|
+
get humanApiParticipants() {
|
|
80
|
+
var _a;
|
|
81
|
+
return ((_a = this._humanApiParticipants) !== null && _a !== void 0 ? _a : (this._humanApiParticipants = new HumanApiParticipantsClient(this._options)));
|
|
82
|
+
}
|
|
83
|
+
get agentApiIdentity() {
|
|
84
|
+
var _a;
|
|
85
|
+
return ((_a = this._agentApiIdentity) !== null && _a !== void 0 ? _a : (this._agentApiIdentity = new AgentApiIdentityClient(this._options)));
|
|
86
|
+
}
|
|
87
|
+
get agentApiParticipants() {
|
|
88
|
+
var _a;
|
|
89
|
+
return ((_a = this._agentApiParticipants) !== null && _a !== void 0 ? _a : (this._agentApiParticipants = new AgentApiParticipantsClient(this._options)));
|
|
90
|
+
}
|
|
91
|
+
get agentApiContext() {
|
|
92
|
+
var _a;
|
|
93
|
+
return ((_a = this._agentApiContext) !== null && _a !== void 0 ? _a : (this._agentApiContext = new AgentApiContextClient(this._options)));
|
|
94
|
+
}
|
|
95
|
+
get agentApiChats() {
|
|
96
|
+
var _a;
|
|
97
|
+
return ((_a = this._agentApiChats) !== null && _a !== void 0 ? _a : (this._agentApiChats = new AgentApiChatsClient(this._options)));
|
|
98
|
+
}
|
|
99
|
+
get humanApiProfile() {
|
|
100
|
+
var _a;
|
|
101
|
+
return ((_a = this._humanApiProfile) !== null && _a !== void 0 ? _a : (this._humanApiProfile = new HumanApiProfileClient(this._options)));
|
|
102
|
+
}
|
|
103
|
+
get agentApiActivity() {
|
|
104
|
+
var _a;
|
|
105
|
+
return ((_a = this._agentApiActivity) !== null && _a !== void 0 ? _a : (this._agentApiActivity = new AgentApiActivityClient(this._options)));
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
109
|
+
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
110
|
+
* The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
|
|
111
|
+
*
|
|
112
|
+
* @param {Request | string | URL} input - The URL, path, or Request object.
|
|
113
|
+
* @param {RequestInit} init - Standard fetch RequestInit options.
|
|
114
|
+
* @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
|
|
115
|
+
* @returns {Promise<Response>} A standard Response object.
|
|
116
|
+
*/
|
|
117
|
+
fetch(input, init, requestOptions) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
var _a;
|
|
120
|
+
return core.makePassthroughRequest(input, init, {
|
|
121
|
+
baseUrl: (_a = this._options.baseUrl) !== null && _a !== void 0 ? _a : this._options.environment,
|
|
122
|
+
headers: this._options.headers,
|
|
123
|
+
timeoutInSeconds: this._options.timeoutInSeconds,
|
|
124
|
+
maxRetries: this._options.maxRetries,
|
|
125
|
+
fetch: this._options.fetch,
|
|
126
|
+
logging: this._options.logging,
|
|
127
|
+
getAuthHeaders: () => __awaiter(this, void 0, void 0, function* () { return (yield this._options.authProvider.getAuthRequest()).headers; }),
|
|
128
|
+
}, requestOptions);
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
import type * as Band from "../index.mjs";
|
|
4
|
+
export declare class BadRequestError extends errors.BandError {
|
|
5
|
+
constructor(body: Band.Error_, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
export class BadRequestError extends errors.BandError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "BadRequestError",
|
|
7
|
+
statusCode: 400,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
import type * as Band from "../index.mjs";
|
|
4
|
+
export declare class ConflictError extends errors.BandError {
|
|
5
|
+
constructor(body: Band.Error_, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
export class ConflictError extends errors.BandError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "ConflictError",
|
|
7
|
+
statusCode: 409,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
import type * as Band from "../index.mjs";
|
|
4
|
+
export declare class ForbiddenError extends errors.BandError {
|
|
5
|
+
constructor(body: Band.Error_, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
export class ForbiddenError extends errors.BandError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "ForbiddenError",
|
|
7
|
+
statusCode: 403,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
import type * as Band from "../index.mjs";
|
|
4
|
+
export declare class NotFoundError extends errors.BandError {
|
|
5
|
+
constructor(body: Band.Error_, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
export class NotFoundError extends errors.BandError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "NotFoundError",
|
|
7
|
+
statusCode: 404,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
import type * as Band from "../index.mjs";
|
|
4
|
+
export declare class ServiceUnavailableError extends errors.BandError {
|
|
5
|
+
constructor(body: Band.Error_, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
export class ServiceUnavailableError extends errors.BandError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "ServiceUnavailableError",
|
|
7
|
+
statusCode: 503,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
import type * as Band from "../index.mjs";
|
|
4
|
+
export declare class UnauthorizedError extends errors.BandError {
|
|
5
|
+
constructor(body: Band.Error_, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
export class UnauthorizedError extends errors.BandError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "UnauthorizedError",
|
|
7
|
+
statusCode: 401,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
export class UnprocessableEntityError extends errors.BandError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "UnprocessableEntityError",
|
|
7
|
+
statusCode: 422,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./BadRequestError.mjs";
|
|
2
|
+
export * from "./ConflictError.mjs";
|
|
3
|
+
export * from "./ForbiddenError.mjs";
|
|
4
|
+
export * from "./NotFoundError.mjs";
|
|
5
|
+
export * from "./ServiceUnavailableError.mjs";
|
|
6
|
+
export * from "./UnauthorizedError.mjs";
|
|
7
|
+
export * from "./UnprocessableEntityError.mjs";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./BadRequestError.mjs";
|
|
2
|
+
export * from "./ConflictError.mjs";
|
|
3
|
+
export * from "./ForbiddenError.mjs";
|
|
4
|
+
export * from "./NotFoundError.mjs";
|
|
5
|
+
export * from "./ServiceUnavailableError.mjs";
|
|
6
|
+
export * from "./UnauthorizedError.mjs";
|
|
7
|
+
export * from "./UnprocessableEntityError.mjs";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../core/index.mjs";
|
|
4
|
+
import * as Band from "../../../index.mjs";
|
|
5
|
+
export declare namespace AgentApiActivityClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Report the remote agent's working/Reasoning keep-alive for its active execution in a chat room.
|
|
12
|
+
*/
|
|
13
|
+
export declare class AgentApiActivityClient {
|
|
14
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<AgentApiActivityClient.Options>;
|
|
15
|
+
constructor(options: AgentApiActivityClient.Options);
|
|
16
|
+
/**
|
|
17
|
+
* Reports whether the agent is actively working ("Reasoning…") on its execution in
|
|
18
|
+
* this chat room, driving a real-time indicator on chat surfaces.
|
|
19
|
+
*
|
|
20
|
+
* - `{ "working": true }` — the agent is working. Re-send on a keep-alive cadence
|
|
21
|
+
* (~every 3 s); the platform expires the indicator ~10 s after the last report, so
|
|
22
|
+
* a crashed or hung agent clears automatically.
|
|
23
|
+
* - `{ "working": false }` — the agent finished; the indicator clears immediately.
|
|
24
|
+
*
|
|
25
|
+
* Scoped to the agent's own active execution in the room (resolved server-side); a
|
|
26
|
+
* foreign room or one with no active execution returns 404.
|
|
27
|
+
*
|
|
28
|
+
* @param {string} chat_id - Chat Room ID
|
|
29
|
+
* @param {Band.ReportAgentChatActivityRequest} request
|
|
30
|
+
* @param {AgentApiActivityClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
31
|
+
*
|
|
32
|
+
* @throws {@link Band.UnauthorizedError}
|
|
33
|
+
* @throws {@link Band.ForbiddenError}
|
|
34
|
+
* @throws {@link Band.NotFoundError}
|
|
35
|
+
* @throws {@link Band.UnprocessableEntityError}
|
|
36
|
+
* @throws {@link Band.ServiceUnavailableError}
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* await client.agentApiActivity.reportAgentChatActivity("chat_id", {
|
|
40
|
+
* working: true
|
|
41
|
+
* })
|
|
42
|
+
*/
|
|
43
|
+
reportAgentChatActivity(chat_id: string, request: Band.ReportAgentChatActivityRequest, requestOptions?: AgentApiActivityClient.RequestOptions): core.HttpResponsePromise<Band.ReportAgentChatActivityResponse>;
|
|
44
|
+
private __reportAgentChatActivity;
|
|
45
|
+
}
|