rcs-js 2.0.21 → 2.0.23-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.d.ts +6 -0
- package/dist/cjs/Client.js +32 -22
- package/dist/cjs/api/errors/BadGatewayError.d.ts +6 -0
- package/dist/cjs/api/errors/BadGatewayError.js +50 -0
- package/dist/cjs/api/errors/ConflictError.d.ts +6 -0
- package/dist/cjs/api/errors/ConflictError.js +50 -0
- package/dist/cjs/api/errors/GoneError.d.ts +6 -0
- package/dist/cjs/api/errors/GoneError.js +50 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +6 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.js +50 -0
- package/dist/cjs/api/errors/TooEarlyError.d.ts +6 -0
- package/dist/cjs/api/errors/TooEarlyError.js +50 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +6 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +50 -0
- package/dist/cjs/api/errors/index.d.ts +6 -0
- package/dist/cjs/api/errors/index.js +6 -0
- package/dist/cjs/api/resources/calls/client/Client.d.ts +181 -0
- package/dist/cjs/api/resources/calls/client/Client.js +788 -0
- package/dist/cjs/api/resources/calls/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/calls/client/index.js +17 -0
- package/dist/cjs/api/resources/calls/client/requests/CallsDownloadRecordingRequest.d.ts +8 -0
- package/dist/cjs/api/resources/calls/client/requests/CallsDownloadRecordingRequest.js +3 -0
- package/dist/cjs/api/resources/calls/client/requests/CallsListEventsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/calls/client/requests/CallsListEventsRequest.js +3 -0
- package/dist/cjs/api/resources/calls/client/requests/CallsListRequest.d.ts +17 -0
- package/dist/cjs/api/resources/calls/client/requests/CallsListRequest.js +3 -0
- package/dist/cjs/api/resources/calls/client/requests/CreateCallParams.d.ts +17 -0
- package/dist/cjs/api/resources/calls/client/requests/CreateCallParams.js +3 -0
- package/dist/cjs/api/resources/calls/client/requests/CreateStreamTokenParams.d.ts +12 -0
- package/dist/cjs/api/resources/calls/client/requests/CreateStreamTokenParams.js +3 -0
- package/dist/cjs/api/resources/calls/client/requests/UpdateCallParams.d.ts +12 -0
- package/dist/cjs/api/resources/calls/client/requests/UpdateCallParams.js +3 -0
- package/dist/cjs/api/resources/calls/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/calls/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/calls/index.d.ts +1 -0
- package/dist/cjs/api/resources/calls/index.js +17 -0
- package/dist/cjs/api/resources/forms/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/forms/client/Client.js +1 -1
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/network/client/Client.d.ts +21 -0
- package/dist/cjs/api/resources/network/client/Client.js +30 -0
- package/dist/cjs/api/resources/network/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/client/index.js +2 -0
- package/dist/cjs/api/resources/network/index.d.ts +2 -0
- package/dist/cjs/api/resources/network/index.js +18 -0
- package/dist/cjs/api/resources/network/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/network/resources/index.js +47 -0
- package/dist/cjs/api/resources/network/resources/requests/client/Client.d.ts +61 -0
- package/dist/cjs/api/resources/network/resources/requests/client/Client.js +223 -0
- package/dist/cjs/api/resources/network/resources/requests/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/requests/client/index.js +17 -0
- package/dist/cjs/api/resources/network/resources/requests/client/requests/ListNetworkRequestsParams.d.ts +21 -0
- package/dist/cjs/api/resources/network/resources/requests/client/requests/ListNetworkRequestsParams.js +3 -0
- package/dist/cjs/api/resources/network/resources/requests/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/requests/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/network/resources/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/requests/index.js +17 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/client/Client.d.ts +71 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/client/Client.js +234 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/client/index.js +17 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/SilentAuthCheckRequest.d.ts +10 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/SilentAuthCheckRequest.js +3 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/SilentAuthRequest.d.ts +34 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/SilentAuthRequest.js +3 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/silentAuth/index.js +17 -0
- package/dist/cjs/api/resources/network/resources/simSwap/client/Client.d.ts +37 -0
- package/dist/cjs/api/resources/network/resources/simSwap/client/Client.js +143 -0
- package/dist/cjs/api/resources/network/resources/simSwap/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/simSwap/client/index.js +17 -0
- package/dist/cjs/api/resources/network/resources/simSwap/client/requests/SimSwapRequest.d.ts +13 -0
- package/dist/cjs/api/resources/network/resources/simSwap/client/requests/SimSwapRequest.js +3 -0
- package/dist/cjs/api/resources/network/resources/simSwap/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/simSwap/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/network/resources/simSwap/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/simSwap/index.js +17 -0
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/Client.js +153 -0
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/index.js +17 -0
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/requests/SubscriberMatchRequest.d.ts +22 -0
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/requests/SubscriberMatchRequest.js +3 -0
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/network/resources/subscriberMatch/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/resources/subscriberMatch/index.js +17 -0
- package/dist/cjs/api/resources/voiceStreams/index.d.ts +1 -0
- package/dist/cjs/api/resources/voiceStreams/index.js +17 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientFrame.d.ts +10 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientFrame.js +3 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientMedia.d.ts +10 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientMedia.js +3 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientMediaFrame.d.ts +11 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientMediaFrame.js +10 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandAckFrame.d.ts +22 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandAckFrame.js +14 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandAction.d.ts +15 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandAction.js +18 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandFrame.d.ts +15 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandFrame.js +10 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceConnectedFrame.d.ts +11 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceConnectedFrame.js +10 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceEventFrame.d.ts +15 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceEventFrame.js +10 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceMediaTrack.d.ts +5 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceMediaTrack.js +8 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerFrame.d.ts +16 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerFrame.js +3 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerMedia.d.ts +10 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerMedia.js +3 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerMediaFrame.d.ts +13 -0
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerMediaFrame.js +10 -0
- package/dist/cjs/api/resources/voiceStreams/types/index.d.ts +12 -0
- package/dist/cjs/api/resources/voiceStreams/types/index.js +28 -0
- package/dist/cjs/api/types/AgentSummary.d.ts +2 -2
- package/dist/cjs/api/types/Call.d.ts +16 -0
- package/dist/cjs/api/types/Call.js +3 -0
- package/dist/cjs/api/types/CallDirection.d.ts +11 -0
- package/dist/cjs/api/types/CallDirection.js +14 -0
- package/dist/cjs/api/types/CallEvent.d.ts +15 -0
- package/dist/cjs/api/types/CallEvent.js +3 -0
- package/dist/cjs/api/types/CallEventSource.d.ts +8 -0
- package/dist/cjs/api/types/CallEventSource.js +11 -0
- package/dist/cjs/api/types/CallMetadata.d.ts +4 -0
- package/dist/cjs/api/types/CallMetadata.js +3 -0
- package/dist/cjs/api/types/CallState.d.ts +25 -0
- package/dist/cjs/api/types/CallState.js +28 -0
- package/dist/cjs/api/types/CallStatusEvent.d.ts +41 -0
- package/dist/cjs/api/types/CallStatusEvent.js +3 -0
- package/dist/cjs/api/types/CallStreamToken.d.ts +7 -0
- package/dist/cjs/api/types/CallStreamToken.js +3 -0
- package/dist/cjs/api/types/CreatedCall.d.ts +18 -0
- package/dist/cjs/api/types/CreatedCall.js +3 -0
- package/dist/cjs/api/types/E164PhoneNumber.d.ts +4 -0
- package/dist/cjs/api/types/E164PhoneNumber.js +3 -0
- package/dist/cjs/api/types/HostedSilentAuthResponse.d.ts +8 -0
- package/dist/cjs/api/types/HostedSilentAuthResponse.js +3 -0
- package/dist/cjs/api/types/JsonSilentAuthResponse.d.ts +8 -0
- package/dist/cjs/api/types/JsonSilentAuthResponse.js +3 -0
- package/dist/cjs/api/types/ListCallEventsResponse.d.ts +5 -0
- package/dist/cjs/api/types/ListCallEventsResponse.js +3 -0
- package/dist/cjs/api/types/ListCallsResponse.d.ts +5 -0
- package/dist/cjs/api/types/ListCallsResponse.js +3 -0
- package/dist/cjs/api/types/ListNetworkRequestsResponse.d.ts +8 -0
- package/dist/cjs/api/types/ListNetworkRequestsResponse.js +3 -0
- package/dist/cjs/api/types/NetworkInsightStatus.d.ts +8 -0
- package/dist/cjs/api/types/NetworkInsightStatus.js +11 -0
- package/dist/cjs/api/types/NetworkRequestId.d.ts +4 -0
- package/dist/cjs/api/types/NetworkRequestId.js +3 -0
- package/dist/cjs/api/types/NetworkRequestResult.d.ts +5 -0
- package/dist/cjs/api/types/NetworkRequestResult.js +3 -0
- package/dist/cjs/api/types/NetworkRequestStatus.d.ts +9 -0
- package/dist/cjs/api/types/NetworkRequestStatus.js +12 -0
- package/dist/cjs/api/types/NetworkRequestSummary.d.ts +19 -0
- package/dist/cjs/api/types/NetworkRequestSummary.js +3 -0
- package/dist/cjs/api/types/NetworkRequestType.d.ts +7 -0
- package/dist/cjs/api/types/NetworkRequestType.js +10 -0
- package/dist/cjs/api/types/RecordingDownload.d.ts +5 -0
- package/dist/cjs/api/types/RecordingDownload.js +3 -0
- package/dist/cjs/api/types/RecordingState.d.ts +15 -0
- package/dist/cjs/api/types/RecordingState.js +18 -0
- package/dist/cjs/api/types/SilentAuthCheckResponse.d.ts +14 -0
- package/dist/cjs/api/types/SilentAuthCheckResponse.js +12 -0
- package/dist/cjs/api/types/SilentAuthResponse.d.ts +10 -0
- package/dist/cjs/api/types/SilentAuthResponse.js +3 -0
- package/dist/cjs/api/types/SimSwapResponse.d.ts +9 -0
- package/dist/cjs/api/types/SimSwapResponse.js +3 -0
- package/dist/cjs/api/types/SubscriberMatchAttributes.d.ts +27 -0
- package/dist/cjs/api/types/SubscriberMatchAttributes.js +3 -0
- package/dist/cjs/api/types/SubscriberMatchResponse.d.ts +46 -0
- package/dist/cjs/api/types/SubscriberMatchResponse.js +3 -0
- package/dist/cjs/api/types/SubscriberMatchResult.d.ts +12 -0
- package/dist/cjs/api/types/SubscriberMatchResult.js +15 -0
- package/dist/cjs/api/types/WebhookEventEnum.d.ts +1 -0
- package/dist/cjs/api/types/WebhookEventEnum.js +1 -0
- package/dist/cjs/api/types/index.d.ts +29 -0
- package/dist/cjs/api/types/index.js +29 -0
- package/dist/cjs/index.d.ts +6 -1
- package/dist/cjs/index.js +12 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/wrapper/PinnacleClient.d.ts +4 -1
- package/dist/cjs/wrapper/PinnacleClient.js +17 -6
- package/dist/cjs/wrapper/messages/Client.d.ts +1 -1
- package/dist/cjs/wrapper/voice/Client.d.ts +34 -0
- package/dist/cjs/wrapper/voice/Client.js +147 -0
- package/dist/cjs/wrapper/voice/VoiceSocket.d.ts +98 -0
- package/dist/cjs/wrapper/voice/VoiceSocket.js +371 -0
- package/dist/cjs/wrapper/voice/types.d.ts +199 -0
- package/dist/cjs/wrapper/voice/types.js +35 -0
- package/dist/esm/Client.d.mts +6 -0
- package/dist/esm/Client.mjs +12 -2
- package/dist/esm/api/errors/BadGatewayError.d.mts +6 -0
- package/dist/esm/api/errors/BadGatewayError.mjs +13 -0
- package/dist/esm/api/errors/ConflictError.d.mts +6 -0
- package/dist/esm/api/errors/ConflictError.mjs +13 -0
- package/dist/esm/api/errors/GoneError.d.mts +6 -0
- package/dist/esm/api/errors/GoneError.mjs +13 -0
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +6 -0
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +13 -0
- package/dist/esm/api/errors/TooEarlyError.d.mts +6 -0
- package/dist/esm/api/errors/TooEarlyError.mjs +13 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +6 -0
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +13 -0
- package/dist/esm/api/errors/index.d.mts +6 -0
- package/dist/esm/api/errors/index.mjs +6 -0
- package/dist/esm/api/resources/calls/client/Client.d.mts +181 -0
- package/dist/esm/api/resources/calls/client/Client.mjs +751 -0
- package/dist/esm/api/resources/calls/client/index.d.mts +1 -0
- package/dist/esm/api/resources/calls/client/index.mjs +1 -0
- package/dist/esm/api/resources/calls/client/requests/CallsDownloadRecordingRequest.d.mts +8 -0
- package/dist/esm/api/resources/calls/client/requests/CallsDownloadRecordingRequest.mjs +2 -0
- package/dist/esm/api/resources/calls/client/requests/CallsListEventsRequest.d.mts +10 -0
- package/dist/esm/api/resources/calls/client/requests/CallsListEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/calls/client/requests/CallsListRequest.d.mts +17 -0
- package/dist/esm/api/resources/calls/client/requests/CallsListRequest.mjs +2 -0
- package/dist/esm/api/resources/calls/client/requests/CreateCallParams.d.mts +17 -0
- package/dist/esm/api/resources/calls/client/requests/CreateCallParams.mjs +2 -0
- package/dist/esm/api/resources/calls/client/requests/CreateStreamTokenParams.d.mts +12 -0
- package/dist/esm/api/resources/calls/client/requests/CreateStreamTokenParams.mjs +2 -0
- package/dist/esm/api/resources/calls/client/requests/UpdateCallParams.d.mts +12 -0
- package/dist/esm/api/resources/calls/client/requests/UpdateCallParams.mjs +2 -0
- package/dist/esm/api/resources/calls/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/calls/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/calls/index.d.mts +1 -0
- package/dist/esm/api/resources/calls/index.mjs +1 -0
- package/dist/esm/api/resources/forms/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/forms/client/Client.mjs +1 -1
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/network/client/Client.d.mts +21 -0
- package/dist/esm/api/resources/network/client/Client.mjs +26 -0
- package/dist/esm/api/resources/network/client/index.d.mts +1 -0
- package/dist/esm/api/resources/network/client/index.mjs +1 -0
- package/dist/esm/api/resources/network/index.d.mts +2 -0
- package/dist/esm/api/resources/network/index.mjs +2 -0
- package/dist/esm/api/resources/network/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/network/resources/index.mjs +8 -0
- package/dist/esm/api/resources/network/resources/requests/client/Client.d.mts +61 -0
- package/dist/esm/api/resources/network/resources/requests/client/Client.mjs +186 -0
- package/dist/esm/api/resources/network/resources/requests/client/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/requests/client/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/requests/client/requests/ListNetworkRequestsParams.d.mts +21 -0
- package/dist/esm/api/resources/network/resources/requests/client/requests/ListNetworkRequestsParams.mjs +2 -0
- package/dist/esm/api/resources/network/resources/requests/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/requests/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/requests/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/silentAuth/client/Client.d.mts +71 -0
- package/dist/esm/api/resources/network/resources/silentAuth/client/Client.mjs +197 -0
- package/dist/esm/api/resources/network/resources/silentAuth/client/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/silentAuth/client/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/SilentAuthCheckRequest.d.mts +10 -0
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/SilentAuthCheckRequest.mjs +2 -0
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/SilentAuthRequest.d.mts +34 -0
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/SilentAuthRequest.mjs +2 -0
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/silentAuth/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/silentAuth/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/simSwap/client/Client.d.mts +37 -0
- package/dist/esm/api/resources/network/resources/simSwap/client/Client.mjs +106 -0
- package/dist/esm/api/resources/network/resources/simSwap/client/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/simSwap/client/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/simSwap/client/requests/SimSwapRequest.d.mts +13 -0
- package/dist/esm/api/resources/network/resources/simSwap/client/requests/SimSwapRequest.mjs +2 -0
- package/dist/esm/api/resources/network/resources/simSwap/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/simSwap/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/simSwap/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/simSwap/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/Client.mjs +116 -0
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/requests/SubscriberMatchRequest.d.mts +22 -0
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/requests/SubscriberMatchRequest.mjs +2 -0
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/network/resources/subscriberMatch/index.d.mts +1 -0
- package/dist/esm/api/resources/network/resources/subscriberMatch/index.mjs +1 -0
- package/dist/esm/api/resources/voiceStreams/index.d.mts +1 -0
- package/dist/esm/api/resources/voiceStreams/index.mjs +1 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientFrame.d.mts +10 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientFrame.mjs +2 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientMedia.d.mts +10 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientMedia.mjs +2 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientMediaFrame.d.mts +11 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientMediaFrame.mjs +7 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandAckFrame.d.mts +22 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandAckFrame.mjs +11 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandAction.d.mts +15 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandAction.mjs +15 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandFrame.d.mts +15 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandFrame.mjs +7 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceConnectedFrame.d.mts +11 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceConnectedFrame.mjs +7 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceEventFrame.d.mts +15 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceEventFrame.mjs +7 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceMediaTrack.d.mts +5 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceMediaTrack.mjs +5 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerFrame.d.mts +16 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerFrame.mjs +2 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerMedia.d.mts +10 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerMedia.mjs +2 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerMediaFrame.d.mts +13 -0
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerMediaFrame.mjs +7 -0
- package/dist/esm/api/resources/voiceStreams/types/index.d.mts +12 -0
- package/dist/esm/api/resources/voiceStreams/types/index.mjs +12 -0
- package/dist/esm/api/types/AgentSummary.d.mts +2 -2
- package/dist/esm/api/types/Call.d.mts +16 -0
- package/dist/esm/api/types/Call.mjs +2 -0
- package/dist/esm/api/types/CallDirection.d.mts +11 -0
- package/dist/esm/api/types/CallDirection.mjs +11 -0
- package/dist/esm/api/types/CallEvent.d.mts +15 -0
- package/dist/esm/api/types/CallEvent.mjs +2 -0
- package/dist/esm/api/types/CallEventSource.d.mts +8 -0
- package/dist/esm/api/types/CallEventSource.mjs +8 -0
- package/dist/esm/api/types/CallMetadata.d.mts +4 -0
- package/dist/esm/api/types/CallMetadata.mjs +2 -0
- package/dist/esm/api/types/CallState.d.mts +25 -0
- package/dist/esm/api/types/CallState.mjs +25 -0
- package/dist/esm/api/types/CallStatusEvent.d.mts +41 -0
- package/dist/esm/api/types/CallStatusEvent.mjs +2 -0
- package/dist/esm/api/types/CallStreamToken.d.mts +7 -0
- package/dist/esm/api/types/CallStreamToken.mjs +2 -0
- package/dist/esm/api/types/CreatedCall.d.mts +18 -0
- package/dist/esm/api/types/CreatedCall.mjs +2 -0
- package/dist/esm/api/types/E164PhoneNumber.d.mts +4 -0
- package/dist/esm/api/types/E164PhoneNumber.mjs +2 -0
- package/dist/esm/api/types/HostedSilentAuthResponse.d.mts +8 -0
- package/dist/esm/api/types/HostedSilentAuthResponse.mjs +2 -0
- package/dist/esm/api/types/JsonSilentAuthResponse.d.mts +8 -0
- package/dist/esm/api/types/JsonSilentAuthResponse.mjs +2 -0
- package/dist/esm/api/types/ListCallEventsResponse.d.mts +5 -0
- package/dist/esm/api/types/ListCallEventsResponse.mjs +2 -0
- package/dist/esm/api/types/ListCallsResponse.d.mts +5 -0
- package/dist/esm/api/types/ListCallsResponse.mjs +2 -0
- package/dist/esm/api/types/ListNetworkRequestsResponse.d.mts +8 -0
- package/dist/esm/api/types/ListNetworkRequestsResponse.mjs +2 -0
- package/dist/esm/api/types/NetworkInsightStatus.d.mts +8 -0
- package/dist/esm/api/types/NetworkInsightStatus.mjs +8 -0
- package/dist/esm/api/types/NetworkRequestId.d.mts +4 -0
- package/dist/esm/api/types/NetworkRequestId.mjs +2 -0
- package/dist/esm/api/types/NetworkRequestResult.d.mts +5 -0
- package/dist/esm/api/types/NetworkRequestResult.mjs +2 -0
- package/dist/esm/api/types/NetworkRequestStatus.d.mts +9 -0
- package/dist/esm/api/types/NetworkRequestStatus.mjs +9 -0
- package/dist/esm/api/types/NetworkRequestSummary.d.mts +19 -0
- package/dist/esm/api/types/NetworkRequestSummary.mjs +2 -0
- package/dist/esm/api/types/NetworkRequestType.d.mts +7 -0
- package/dist/esm/api/types/NetworkRequestType.mjs +7 -0
- package/dist/esm/api/types/RecordingDownload.d.mts +5 -0
- package/dist/esm/api/types/RecordingDownload.mjs +2 -0
- package/dist/esm/api/types/RecordingState.d.mts +15 -0
- package/dist/esm/api/types/RecordingState.mjs +15 -0
- package/dist/esm/api/types/SilentAuthCheckResponse.d.mts +14 -0
- package/dist/esm/api/types/SilentAuthCheckResponse.mjs +9 -0
- package/dist/esm/api/types/SilentAuthResponse.d.mts +10 -0
- package/dist/esm/api/types/SilentAuthResponse.mjs +2 -0
- package/dist/esm/api/types/SimSwapResponse.d.mts +9 -0
- package/dist/esm/api/types/SimSwapResponse.mjs +2 -0
- package/dist/esm/api/types/SubscriberMatchAttributes.d.mts +27 -0
- package/dist/esm/api/types/SubscriberMatchAttributes.mjs +2 -0
- package/dist/esm/api/types/SubscriberMatchResponse.d.mts +46 -0
- package/dist/esm/api/types/SubscriberMatchResponse.mjs +2 -0
- package/dist/esm/api/types/SubscriberMatchResult.d.mts +12 -0
- package/dist/esm/api/types/SubscriberMatchResult.mjs +12 -0
- package/dist/esm/api/types/WebhookEventEnum.d.mts +1 -0
- package/dist/esm/api/types/WebhookEventEnum.mjs +1 -0
- package/dist/esm/api/types/index.d.mts +29 -0
- package/dist/esm/api/types/index.mjs +29 -0
- package/dist/esm/index.d.mts +6 -1
- package/dist/esm/index.mjs +4 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/esm/wrapper/PinnacleClient.d.mts +4 -1
- package/dist/esm/wrapper/PinnacleClient.mjs +16 -5
- package/dist/esm/wrapper/messages/Client.d.mts +1 -1
- package/dist/esm/wrapper/voice/Client.d.mts +34 -0
- package/dist/esm/wrapper/voice/Client.mjs +143 -0
- package/dist/esm/wrapper/voice/VoiceSocket.d.mts +98 -0
- package/dist/esm/wrapper/voice/VoiceSocket.mjs +366 -0
- package/dist/esm/wrapper/voice/types.d.mts +199 -0
- package/dist/esm/wrapper/voice/types.mjs +32 -0
- package/package.json +9 -8
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Pinnacle from "../index.js";
|
|
2
|
+
export interface ListNetworkRequestsResponse {
|
|
3
|
+
data: Pinnacle.NetworkRequestSummary[];
|
|
4
|
+
/** Whether another page exists after this one. */
|
|
5
|
+
hasMore: boolean;
|
|
6
|
+
/** Total number of matching request records. */
|
|
7
|
+
count: number;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Availability of the carrier-backed insight. */
|
|
2
|
+
export declare const NetworkInsightStatus: {
|
|
3
|
+
readonly Available: "available";
|
|
4
|
+
readonly Unavailable: "unavailable";
|
|
5
|
+
readonly Unsupported: "unsupported";
|
|
6
|
+
readonly Failed: "failed";
|
|
7
|
+
};
|
|
8
|
+
export type NetworkInsightStatus = (typeof NetworkInsightStatus)[keyof typeof NetworkInsightStatus];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.NetworkInsightStatus = void 0;
|
|
5
|
+
/** Availability of the carrier-backed insight. */
|
|
6
|
+
exports.NetworkInsightStatus = {
|
|
7
|
+
Available: "available",
|
|
8
|
+
Unavailable: "unavailable",
|
|
9
|
+
Unsupported: "unsupported",
|
|
10
|
+
Failed: "failed",
|
|
11
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as Pinnacle from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Result from the original check, or null while the request is still pending or no result is available.
|
|
4
|
+
*/
|
|
5
|
+
export type NetworkRequestResult = Pinnacle.SimSwapResponse | Pinnacle.SubscriberMatchResponse | Pinnacle.SilentAuthCheckResponse;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Lifecycle status of a Network API request. `started` and `challenge-issued` are in-progress states; `completed`, `failed`, and `expired` are terminal states. */
|
|
2
|
+
export declare const NetworkRequestStatus: {
|
|
3
|
+
readonly Started: "started";
|
|
4
|
+
readonly ChallengeIssued: "challenge-issued";
|
|
5
|
+
readonly Completed: "completed";
|
|
6
|
+
readonly Failed: "failed";
|
|
7
|
+
readonly Expired: "expired";
|
|
8
|
+
};
|
|
9
|
+
export type NetworkRequestStatus = (typeof NetworkRequestStatus)[keyof typeof NetworkRequestStatus];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.NetworkRequestStatus = void 0;
|
|
5
|
+
/** Lifecycle status of a Network API request. `started` and `challenge-issued` are in-progress states; `completed`, `failed`, and `expired` are terminal states. */
|
|
6
|
+
exports.NetworkRequestStatus = {
|
|
7
|
+
Started: "started",
|
|
8
|
+
ChallengeIssued: "challenge-issued",
|
|
9
|
+
Completed: "completed",
|
|
10
|
+
Failed: "failed",
|
|
11
|
+
Expired: "expired",
|
|
12
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as Pinnacle from "../index.js";
|
|
2
|
+
export interface NetworkRequestSummary {
|
|
3
|
+
requestId: Pinnacle.NetworkRequestId;
|
|
4
|
+
type: Pinnacle.NetworkRequestType;
|
|
5
|
+
status: Pinnacle.NetworkRequestStatus;
|
|
6
|
+
/** Your correlation ID from the original request. */
|
|
7
|
+
clientRef: string | null;
|
|
8
|
+
/** Timestamp when the request record was created. */
|
|
9
|
+
createdAt: string;
|
|
10
|
+
/** Timestamp when the request record was last updated. */
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
/** Timestamp when the request reached a terminal state. */
|
|
13
|
+
completedAt: string | null;
|
|
14
|
+
/** Expiration timestamp for short-lived request flows, when applicable. */
|
|
15
|
+
expiresAt: string | null;
|
|
16
|
+
/** Error message for failed requests. */
|
|
17
|
+
errorMessage: string | null;
|
|
18
|
+
result: Pinnacle.NetworkRequestResult | null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Type of Network API check. */
|
|
2
|
+
export declare const NetworkRequestType: {
|
|
3
|
+
readonly SilentAuth: "silent-auth";
|
|
4
|
+
readonly SimSwap: "sim-swap";
|
|
5
|
+
readonly SubscriberMatch: "subscriber-match";
|
|
6
|
+
};
|
|
7
|
+
export type NetworkRequestType = (typeof NetworkRequestType)[keyof typeof NetworkRequestType];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.NetworkRequestType = void 0;
|
|
5
|
+
/** Type of Network API check. */
|
|
6
|
+
exports.NetworkRequestType = {
|
|
7
|
+
SilentAuth: "silent-auth",
|
|
8
|
+
SimSwap: "sim-swap",
|
|
9
|
+
SubscriberMatch: "subscriber-match",
|
|
10
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Recording processing state for a call.
|
|
3
|
+
*
|
|
4
|
+
* - `PENDING`: Audio was captured and is still being finalized. Download returns `425` until processing completes.
|
|
5
|
+
* - `READY`: The recording is finalized and can be downloaded with a signed URL.
|
|
6
|
+
* - `FAILED`: Recording finalization failed. Download returns `422`.
|
|
7
|
+
* - `DELETED`: The recording was deleted. Download returns `410`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const RecordingState: {
|
|
10
|
+
readonly Pending: "PENDING";
|
|
11
|
+
readonly Ready: "READY";
|
|
12
|
+
readonly Failed: "FAILED";
|
|
13
|
+
readonly Deleted: "DELETED";
|
|
14
|
+
};
|
|
15
|
+
export type RecordingState = (typeof RecordingState)[keyof typeof RecordingState];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.RecordingState = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* Recording processing state for a call.
|
|
7
|
+
*
|
|
8
|
+
* - `PENDING`: Audio was captured and is still being finalized. Download returns `425` until processing completes.
|
|
9
|
+
* - `READY`: The recording is finalized and can be downloaded with a signed URL.
|
|
10
|
+
* - `FAILED`: Recording finalization failed. Download returns `422`.
|
|
11
|
+
* - `DELETED`: The recording was deleted. Download returns `410`.
|
|
12
|
+
*/
|
|
13
|
+
exports.RecordingState = {
|
|
14
|
+
Pending: "PENDING",
|
|
15
|
+
Ready: "READY",
|
|
16
|
+
Failed: "FAILED",
|
|
17
|
+
Deleted: "DELETED",
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Pinnacle from "../index.js";
|
|
2
|
+
export interface SilentAuthCheckResponse {
|
|
3
|
+
requestId: Pinnacle.NetworkRequestId;
|
|
4
|
+
/** Terminal verification result after exchanging a device flow code. `completed` means the phone number was verified; `failed` means the verification did not complete successfully. To inspect pending lifecycle states, use [Get Network Request](/api-reference/network/get-network-request). */
|
|
5
|
+
status: SilentAuthCheckResponse.Status;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace SilentAuthCheckResponse {
|
|
8
|
+
/** Terminal verification result after exchanging a device flow code. `completed` means the phone number was verified; `failed` means the verification did not complete successfully. To inspect pending lifecycle states, use [Get Network Request](/api-reference/network/get-network-request). */
|
|
9
|
+
const Status: {
|
|
10
|
+
readonly Completed: "completed";
|
|
11
|
+
readonly Failed: "failed";
|
|
12
|
+
};
|
|
13
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SilentAuthCheckResponse = void 0;
|
|
5
|
+
var SilentAuthCheckResponse;
|
|
6
|
+
(function (SilentAuthCheckResponse) {
|
|
7
|
+
/** Terminal verification result after exchanging a device flow code. `completed` means the phone number was verified; `failed` means the verification did not complete successfully. To inspect pending lifecycle states, use [Get Network Request](/api-reference/network/get-network-request). */
|
|
8
|
+
SilentAuthCheckResponse.Status = {
|
|
9
|
+
Completed: "completed",
|
|
10
|
+
Failed: "failed",
|
|
11
|
+
};
|
|
12
|
+
})(SilentAuthCheckResponse || (exports.SilentAuthCheckResponse = SilentAuthCheckResponse = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Pinnacle from "../index.js";
|
|
2
|
+
export type SilentAuthResponse = Pinnacle.SilentAuthResponse.Hosted | Pinnacle.SilentAuthResponse.Json;
|
|
3
|
+
export declare namespace SilentAuthResponse {
|
|
4
|
+
interface Hosted extends Pinnacle.HostedSilentAuthResponse {
|
|
5
|
+
format: "hosted";
|
|
6
|
+
}
|
|
7
|
+
interface Json extends Pinnacle.JsonSilentAuthResponse {
|
|
8
|
+
format: "json";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Pinnacle from "../index.js";
|
|
2
|
+
export interface SimSwapResponse {
|
|
3
|
+
requestId: Pinnacle.NetworkRequestId;
|
|
4
|
+
status: Pinnacle.NetworkInsightStatus;
|
|
5
|
+
/** Whether the SIM changed during the requested window. Null means the carrier insight was unavailable, unsupported, or failed. */
|
|
6
|
+
simSwapped: boolean | null;
|
|
7
|
+
/** Timestamp of the latest SIM change in the requested window, when the carrier provides it. */
|
|
8
|
+
latestSimSwapAt: string | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User-provided subscriber details to compare with the carrier record. Provide at least one non-empty field.
|
|
3
|
+
*/
|
|
4
|
+
export interface SubscriberMatchAttributes {
|
|
5
|
+
/** Government-issued ID number, such as a national ID, passport number, or driver's license number when supported by the carrier. Do not send an image or file. */
|
|
6
|
+
idDocument?: string;
|
|
7
|
+
/** Subscriber's first or given name. */
|
|
8
|
+
givenName?: string;
|
|
9
|
+
/** Subscriber's last or family name. */
|
|
10
|
+
familyName?: string;
|
|
11
|
+
/** Street name from the subscriber's address. */
|
|
12
|
+
streetName?: string;
|
|
13
|
+
/** Street number from the subscriber's address. */
|
|
14
|
+
streetNumber?: string;
|
|
15
|
+
/** Postal or ZIP code from the subscriber's address. */
|
|
16
|
+
postalCode?: string;
|
|
17
|
+
/** City or locality from the subscriber's address. */
|
|
18
|
+
locality?: string;
|
|
19
|
+
/** State, province, or region from the subscriber's address. */
|
|
20
|
+
region?: string;
|
|
21
|
+
/** Country from the subscriber's address. */
|
|
22
|
+
country?: string;
|
|
23
|
+
/** Suffix attached to the street number, such as the A in 123A Main Street. */
|
|
24
|
+
streetNumberSuffix?: string;
|
|
25
|
+
/** Subscriber's date of birth in YYYY-MM-DD format. */
|
|
26
|
+
birthdate?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type * as Pinnacle from "../index.js";
|
|
2
|
+
export interface SubscriberMatchResponse {
|
|
3
|
+
requestId: Pinnacle.NetworkRequestId;
|
|
4
|
+
status: Pinnacle.NetworkInsightStatus;
|
|
5
|
+
/**
|
|
6
|
+
* Match strength for each evaluated subscriber attribute.
|
|
7
|
+
*
|
|
8
|
+
* - `exact`: Carrier record matches the submitted value exactly.
|
|
9
|
+
* - `high`: Strong match with minor formatting or normalization differences.
|
|
10
|
+
* - `partial`: Some parts match, but the value is not a strong match.
|
|
11
|
+
* - `low`: Weak match.
|
|
12
|
+
* - `none`: Carrier record does not match the submitted value.
|
|
13
|
+
* - `unavailable`: Carrier could not evaluate this attribute.
|
|
14
|
+
* - `included-with-address-match`: Attribute was evaluated as part of the overall address match.
|
|
15
|
+
* - `unknown`: Carrier returned a match value Pinnacle does not recognize yet.
|
|
16
|
+
*/
|
|
17
|
+
matches: SubscriberMatchResponse.Matches;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace SubscriberMatchResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Match strength for each evaluated subscriber attribute.
|
|
22
|
+
*
|
|
23
|
+
* - `exact`: Carrier record matches the submitted value exactly.
|
|
24
|
+
* - `high`: Strong match with minor formatting or normalization differences.
|
|
25
|
+
* - `partial`: Some parts match, but the value is not a strong match.
|
|
26
|
+
* - `low`: Weak match.
|
|
27
|
+
* - `none`: Carrier record does not match the submitted value.
|
|
28
|
+
* - `unavailable`: Carrier could not evaluate this attribute.
|
|
29
|
+
* - `included-with-address-match`: Attribute was evaluated as part of the overall address match.
|
|
30
|
+
* - `unknown`: Carrier returned a match value Pinnacle does not recognize yet.
|
|
31
|
+
*/
|
|
32
|
+
interface Matches {
|
|
33
|
+
idDocument?: Pinnacle.SubscriberMatchResult;
|
|
34
|
+
givenName?: Pinnacle.SubscriberMatchResult;
|
|
35
|
+
familyName?: Pinnacle.SubscriberMatchResult;
|
|
36
|
+
address?: Pinnacle.SubscriberMatchResult;
|
|
37
|
+
streetName?: Pinnacle.SubscriberMatchResult;
|
|
38
|
+
streetNumber?: Pinnacle.SubscriberMatchResult;
|
|
39
|
+
postalCode?: Pinnacle.SubscriberMatchResult;
|
|
40
|
+
locality?: Pinnacle.SubscriberMatchResult;
|
|
41
|
+
region?: Pinnacle.SubscriberMatchResult;
|
|
42
|
+
country?: Pinnacle.SubscriberMatchResult;
|
|
43
|
+
streetNumberSuffix?: Pinnacle.SubscriberMatchResult;
|
|
44
|
+
birthdate?: Pinnacle.SubscriberMatchResult;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Carrier match strength for one submitted subscriber attribute. */
|
|
2
|
+
export declare const SubscriberMatchResult: {
|
|
3
|
+
readonly Exact: "exact";
|
|
4
|
+
readonly High: "high";
|
|
5
|
+
readonly Partial: "partial";
|
|
6
|
+
readonly Low: "low";
|
|
7
|
+
readonly None: "none";
|
|
8
|
+
readonly Unavailable: "unavailable";
|
|
9
|
+
readonly IncludedWithAddressMatch: "included-with-address-match";
|
|
10
|
+
readonly Unknown: "unknown";
|
|
11
|
+
};
|
|
12
|
+
export type SubscriberMatchResult = (typeof SubscriberMatchResult)[keyof typeof SubscriberMatchResult];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SubscriberMatchResult = void 0;
|
|
5
|
+
/** Carrier match strength for one submitted subscriber attribute. */
|
|
6
|
+
exports.SubscriberMatchResult = {
|
|
7
|
+
Exact: "exact",
|
|
8
|
+
High: "high",
|
|
9
|
+
Partial: "partial",
|
|
10
|
+
Low: "low",
|
|
11
|
+
None: "none",
|
|
12
|
+
Unavailable: "unavailable",
|
|
13
|
+
IncludedWithAddressMatch: "included-with-address-match",
|
|
14
|
+
Unknown: "unknown",
|
|
15
|
+
};
|
|
@@ -9,5 +9,6 @@ export declare const WebhookEventEnum: {
|
|
|
9
9
|
readonly UserTyping: "USER.TYPING";
|
|
10
10
|
readonly FormSubmission: "FORM.SUBMISSION";
|
|
11
11
|
readonly CampaignStatus: "CAMPAIGN.STATUS";
|
|
12
|
+
readonly CallStatus: "CALL.STATUS";
|
|
12
13
|
};
|
|
13
14
|
export type WebhookEventEnum = (typeof WebhookEventEnum)[keyof typeof WebhookEventEnum];
|
|
@@ -21,6 +21,14 @@ export * from "./BrandStatus.js";
|
|
|
21
21
|
export * from "./BrandStatusEnum.js";
|
|
22
22
|
export * from "./ButtonClicked.js";
|
|
23
23
|
export * from "./ButtonClickedData.js";
|
|
24
|
+
export * from "./Call.js";
|
|
25
|
+
export * from "./CallDirection.js";
|
|
26
|
+
export * from "./CallEvent.js";
|
|
27
|
+
export * from "./CallEventSource.js";
|
|
28
|
+
export * from "./CallMetadata.js";
|
|
29
|
+
export * from "./CallState.js";
|
|
30
|
+
export * from "./CallStatusEvent.js";
|
|
31
|
+
export * from "./CallStreamToken.js";
|
|
24
32
|
export * from "./CampaignEnum.js";
|
|
25
33
|
export * from "./CampaignQuery.js";
|
|
26
34
|
export * from "./CampaignStatusEvent.js";
|
|
@@ -41,6 +49,7 @@ export * from "./Contact.js";
|
|
|
41
49
|
export * from "./ContactId.js";
|
|
42
50
|
export * from "./Conversation.js";
|
|
43
51
|
export * from "./ConversationList.js";
|
|
52
|
+
export * from "./CreatedCall.js";
|
|
44
53
|
export * from "./CreateFormRequest.js";
|
|
45
54
|
export * from "./CreateUrlOptions.js";
|
|
46
55
|
export * from "./DateField.js";
|
|
@@ -54,6 +63,7 @@ export * from "./DlcCampaignStatus.js";
|
|
|
54
63
|
export * from "./DlcCampaignSummary.js";
|
|
55
64
|
export * from "./DlcCampaignUseCaseEnum.js";
|
|
56
65
|
export * from "./DlcCampaignWithExtendedBrandAndStatus.js";
|
|
66
|
+
export * from "./E164PhoneNumber.js";
|
|
57
67
|
export * from "./EmailField.js";
|
|
58
68
|
export * from "./EnhancedContact.js";
|
|
59
69
|
export * from "./EnhancedContactItem.js";
|
|
@@ -85,18 +95,23 @@ export * from "./FormSubmissionEventSubmission.js";
|
|
|
85
95
|
export * from "./FormSubmittedField.js";
|
|
86
96
|
export * from "./FormThemeOverride.js";
|
|
87
97
|
export * from "./GetConversationParams.js";
|
|
98
|
+
export * from "./HostedSilentAuthResponse.js";
|
|
99
|
+
export * from "./JsonSilentAuthResponse.js";
|
|
88
100
|
export * from "./LinkClickEvent.js";
|
|
89
101
|
export * from "./LinkSummary.js";
|
|
90
102
|
export * from "./ListAgentsResponse.js";
|
|
91
103
|
export * from "./ListAudiencesResponse.js";
|
|
92
104
|
export * from "./ListBlastsResponse.js";
|
|
93
105
|
export * from "./ListBrandsResponse.js";
|
|
106
|
+
export * from "./ListCallEventsResponse.js";
|
|
107
|
+
export * from "./ListCallsResponse.js";
|
|
94
108
|
export * from "./ListContactsResponse.js";
|
|
95
109
|
export * from "./ListDlcCampaignsResponse.js";
|
|
96
110
|
export * from "./ListFormSubmissionsResponse.js";
|
|
97
111
|
export * from "./ListFormsResponse.js";
|
|
98
112
|
export * from "./ListLinksResponse.js";
|
|
99
113
|
export * from "./ListMessagesResponse.js";
|
|
114
|
+
export * from "./ListNetworkRequestsResponse.js";
|
|
100
115
|
export * from "./ListPhoneNumbersResponse.js";
|
|
101
116
|
export * from "./ListRcsCampaignsResponse.js";
|
|
102
117
|
export * from "./ListScheduledMessagesResponse.js";
|
|
@@ -126,6 +141,12 @@ export * from "./MessageWithReactions.js";
|
|
|
126
141
|
export * from "./MessagingProfileEnum.js";
|
|
127
142
|
export * from "./MmsContent.js";
|
|
128
143
|
export * from "./MmsValidationResult.js";
|
|
144
|
+
export * from "./NetworkInsightStatus.js";
|
|
145
|
+
export * from "./NetworkRequestId.js";
|
|
146
|
+
export * from "./NetworkRequestResult.js";
|
|
147
|
+
export * from "./NetworkRequestStatus.js";
|
|
148
|
+
export * from "./NetworkRequestSummary.js";
|
|
149
|
+
export * from "./NetworkRequestType.js";
|
|
129
150
|
export * from "./NotFoundErrorBody.js";
|
|
130
151
|
export * from "./NumberField.js";
|
|
131
152
|
export * from "./NumberFormat.js";
|
|
@@ -171,6 +192,8 @@ export * from "./RcsValidateContent.js";
|
|
|
171
192
|
export * from "./RcsValidationResult.js";
|
|
172
193
|
export * from "./RcsWhitelistStatus.js";
|
|
173
194
|
export * from "./ReactionResult.js";
|
|
195
|
+
export * from "./RecordingDownload.js";
|
|
196
|
+
export * from "./RecordingState.js";
|
|
174
197
|
export * from "./RefreshedFile.js";
|
|
175
198
|
export * from "./RichButton.js";
|
|
176
199
|
export * from "./RichCards.js";
|
|
@@ -200,6 +223,9 @@ export * from "./SentRichMessageFallbackSms.js";
|
|
|
200
223
|
export * from "./SentSmsDetails.js";
|
|
201
224
|
export * from "./ShortenedUrl.js";
|
|
202
225
|
export * from "./ShortenedUrlWithClickData.js";
|
|
226
|
+
export * from "./SilentAuthCheckResponse.js";
|
|
227
|
+
export * from "./SilentAuthResponse.js";
|
|
228
|
+
export * from "./SimSwapResponse.js";
|
|
203
229
|
export * from "./SimulateMessageInput.js";
|
|
204
230
|
export * from "./SimulateUserButton.js";
|
|
205
231
|
export * from "./SimulateUserMessage.js";
|
|
@@ -208,6 +234,9 @@ export * from "./SimulateUserResponse.js";
|
|
|
208
234
|
export * from "./SmsContent.js";
|
|
209
235
|
export * from "./SmsValidationResult.js";
|
|
210
236
|
export * from "./SubmissionResults.js";
|
|
237
|
+
export * from "./SubscriberMatchAttributes.js";
|
|
238
|
+
export * from "./SubscriberMatchResponse.js";
|
|
239
|
+
export * from "./SubscriberMatchResult.js";
|
|
211
240
|
export * from "./SubUseCaseEnum.js";
|
|
212
241
|
export * from "./SuccessfulConversationUpdate.js";
|
|
213
242
|
export * from "./TestAgentResponse.js";
|
|
@@ -37,6 +37,14 @@ __exportStar(require("./BrandStatus.js"), exports);
|
|
|
37
37
|
__exportStar(require("./BrandStatusEnum.js"), exports);
|
|
38
38
|
__exportStar(require("./ButtonClicked.js"), exports);
|
|
39
39
|
__exportStar(require("./ButtonClickedData.js"), exports);
|
|
40
|
+
__exportStar(require("./Call.js"), exports);
|
|
41
|
+
__exportStar(require("./CallDirection.js"), exports);
|
|
42
|
+
__exportStar(require("./CallEvent.js"), exports);
|
|
43
|
+
__exportStar(require("./CallEventSource.js"), exports);
|
|
44
|
+
__exportStar(require("./CallMetadata.js"), exports);
|
|
45
|
+
__exportStar(require("./CallState.js"), exports);
|
|
46
|
+
__exportStar(require("./CallStatusEvent.js"), exports);
|
|
47
|
+
__exportStar(require("./CallStreamToken.js"), exports);
|
|
40
48
|
__exportStar(require("./CampaignEnum.js"), exports);
|
|
41
49
|
__exportStar(require("./CampaignQuery.js"), exports);
|
|
42
50
|
__exportStar(require("./CampaignStatusEvent.js"), exports);
|
|
@@ -57,6 +65,7 @@ __exportStar(require("./Contact.js"), exports);
|
|
|
57
65
|
__exportStar(require("./ContactId.js"), exports);
|
|
58
66
|
__exportStar(require("./Conversation.js"), exports);
|
|
59
67
|
__exportStar(require("./ConversationList.js"), exports);
|
|
68
|
+
__exportStar(require("./CreatedCall.js"), exports);
|
|
60
69
|
__exportStar(require("./CreateFormRequest.js"), exports);
|
|
61
70
|
__exportStar(require("./CreateUrlOptions.js"), exports);
|
|
62
71
|
__exportStar(require("./DateField.js"), exports);
|
|
@@ -70,6 +79,7 @@ __exportStar(require("./DlcCampaignStatus.js"), exports);
|
|
|
70
79
|
__exportStar(require("./DlcCampaignSummary.js"), exports);
|
|
71
80
|
__exportStar(require("./DlcCampaignUseCaseEnum.js"), exports);
|
|
72
81
|
__exportStar(require("./DlcCampaignWithExtendedBrandAndStatus.js"), exports);
|
|
82
|
+
__exportStar(require("./E164PhoneNumber.js"), exports);
|
|
73
83
|
__exportStar(require("./EmailField.js"), exports);
|
|
74
84
|
__exportStar(require("./EnhancedContact.js"), exports);
|
|
75
85
|
__exportStar(require("./EnhancedContactItem.js"), exports);
|
|
@@ -101,18 +111,23 @@ __exportStar(require("./FormSubmissionEventSubmission.js"), exports);
|
|
|
101
111
|
__exportStar(require("./FormSubmittedField.js"), exports);
|
|
102
112
|
__exportStar(require("./FormThemeOverride.js"), exports);
|
|
103
113
|
__exportStar(require("./GetConversationParams.js"), exports);
|
|
114
|
+
__exportStar(require("./HostedSilentAuthResponse.js"), exports);
|
|
115
|
+
__exportStar(require("./JsonSilentAuthResponse.js"), exports);
|
|
104
116
|
__exportStar(require("./LinkClickEvent.js"), exports);
|
|
105
117
|
__exportStar(require("./LinkSummary.js"), exports);
|
|
106
118
|
__exportStar(require("./ListAgentsResponse.js"), exports);
|
|
107
119
|
__exportStar(require("./ListAudiencesResponse.js"), exports);
|
|
108
120
|
__exportStar(require("./ListBlastsResponse.js"), exports);
|
|
109
121
|
__exportStar(require("./ListBrandsResponse.js"), exports);
|
|
122
|
+
__exportStar(require("./ListCallEventsResponse.js"), exports);
|
|
123
|
+
__exportStar(require("./ListCallsResponse.js"), exports);
|
|
110
124
|
__exportStar(require("./ListContactsResponse.js"), exports);
|
|
111
125
|
__exportStar(require("./ListDlcCampaignsResponse.js"), exports);
|
|
112
126
|
__exportStar(require("./ListFormSubmissionsResponse.js"), exports);
|
|
113
127
|
__exportStar(require("./ListFormsResponse.js"), exports);
|
|
114
128
|
__exportStar(require("./ListLinksResponse.js"), exports);
|
|
115
129
|
__exportStar(require("./ListMessagesResponse.js"), exports);
|
|
130
|
+
__exportStar(require("./ListNetworkRequestsResponse.js"), exports);
|
|
116
131
|
__exportStar(require("./ListPhoneNumbersResponse.js"), exports);
|
|
117
132
|
__exportStar(require("./ListRcsCampaignsResponse.js"), exports);
|
|
118
133
|
__exportStar(require("./ListScheduledMessagesResponse.js"), exports);
|
|
@@ -142,6 +157,12 @@ __exportStar(require("./MessageWithReactions.js"), exports);
|
|
|
142
157
|
__exportStar(require("./MessagingProfileEnum.js"), exports);
|
|
143
158
|
__exportStar(require("./MmsContent.js"), exports);
|
|
144
159
|
__exportStar(require("./MmsValidationResult.js"), exports);
|
|
160
|
+
__exportStar(require("./NetworkInsightStatus.js"), exports);
|
|
161
|
+
__exportStar(require("./NetworkRequestId.js"), exports);
|
|
162
|
+
__exportStar(require("./NetworkRequestResult.js"), exports);
|
|
163
|
+
__exportStar(require("./NetworkRequestStatus.js"), exports);
|
|
164
|
+
__exportStar(require("./NetworkRequestSummary.js"), exports);
|
|
165
|
+
__exportStar(require("./NetworkRequestType.js"), exports);
|
|
145
166
|
__exportStar(require("./NotFoundErrorBody.js"), exports);
|
|
146
167
|
__exportStar(require("./NumberField.js"), exports);
|
|
147
168
|
__exportStar(require("./NumberFormat.js"), exports);
|
|
@@ -187,6 +208,8 @@ __exportStar(require("./RcsValidateContent.js"), exports);
|
|
|
187
208
|
__exportStar(require("./RcsValidationResult.js"), exports);
|
|
188
209
|
__exportStar(require("./RcsWhitelistStatus.js"), exports);
|
|
189
210
|
__exportStar(require("./ReactionResult.js"), exports);
|
|
211
|
+
__exportStar(require("./RecordingDownload.js"), exports);
|
|
212
|
+
__exportStar(require("./RecordingState.js"), exports);
|
|
190
213
|
__exportStar(require("./RefreshedFile.js"), exports);
|
|
191
214
|
__exportStar(require("./RichButton.js"), exports);
|
|
192
215
|
__exportStar(require("./RichCards.js"), exports);
|
|
@@ -216,6 +239,9 @@ __exportStar(require("./SentRichMessageFallbackSms.js"), exports);
|
|
|
216
239
|
__exportStar(require("./SentSmsDetails.js"), exports);
|
|
217
240
|
__exportStar(require("./ShortenedUrl.js"), exports);
|
|
218
241
|
__exportStar(require("./ShortenedUrlWithClickData.js"), exports);
|
|
242
|
+
__exportStar(require("./SilentAuthCheckResponse.js"), exports);
|
|
243
|
+
__exportStar(require("./SilentAuthResponse.js"), exports);
|
|
244
|
+
__exportStar(require("./SimSwapResponse.js"), exports);
|
|
219
245
|
__exportStar(require("./SimulateMessageInput.js"), exports);
|
|
220
246
|
__exportStar(require("./SimulateUserButton.js"), exports);
|
|
221
247
|
__exportStar(require("./SimulateUserMessage.js"), exports);
|
|
@@ -224,6 +250,9 @@ __exportStar(require("./SimulateUserResponse.js"), exports);
|
|
|
224
250
|
__exportStar(require("./SmsContent.js"), exports);
|
|
225
251
|
__exportStar(require("./SmsValidationResult.js"), exports);
|
|
226
252
|
__exportStar(require("./SubmissionResults.js"), exports);
|
|
253
|
+
__exportStar(require("./SubscriberMatchAttributes.js"), exports);
|
|
254
|
+
__exportStar(require("./SubscriberMatchResponse.js"), exports);
|
|
255
|
+
__exportStar(require("./SubscriberMatchResult.js"), exports);
|
|
227
256
|
__exportStar(require("./SubUseCaseEnum.js"), exports);
|
|
228
257
|
__exportStar(require("./SuccessfulConversationUpdate.js"), exports);
|
|
229
258
|
__exportStar(require("./TestAgentResponse.js"), exports);
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export * as Pinnacle from "./api/index.js";
|
|
2
|
-
export { PinnacleClient } from "./wrapper/PinnacleClient.js";
|
|
3
2
|
export { PinnacleEnvironment } from "./environments.js";
|
|
4
3
|
export { PinnacleError, PinnacleTimeoutError } from "./errors/index.js";
|
|
4
|
+
export { PinnacleClient } from "./wrapper/PinnacleClient.js";
|
|
5
|
+
export type { VoiceConnectOptions, VoiceConnectStreamOptions, VoiceConnection, VoiceCreateAndConnectOptions, } from "./wrapper/voice/Client.js";
|
|
6
|
+
export { EnhancedVoice } from "./wrapper/voice/Client.js";
|
|
7
|
+
export * from "./wrapper/voice/types.js";
|
|
8
|
+
export type { VoiceAckOptions, VoiceEvent, VoiceEvents, VoiceReconnectEvent, VoiceReconnectOptions, VoiceSocketConstructor, VoiceSocketFactory, VoiceSocketLike, VoiceSocketOptions, } from "./wrapper/voice/VoiceSocket.js";
|
|
9
|
+
export { createVoiceCommandId, VoiceSocket } from "./wrapper/voice/VoiceSocket.js";
|
package/dist/cjs/index.js
CHANGED
|
@@ -32,13 +32,22 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
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
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
39
|
+
exports.VoiceSocket = exports.createVoiceCommandId = exports.EnhancedVoice = exports.PinnacleClient = exports.PinnacleTimeoutError = exports.PinnacleError = exports.PinnacleEnvironment = exports.Pinnacle = void 0;
|
|
37
40
|
exports.Pinnacle = __importStar(require("./api/index.js"));
|
|
38
|
-
var PinnacleClient_js_1 = require("./wrapper/PinnacleClient.js");
|
|
39
|
-
Object.defineProperty(exports, "PinnacleClient", { enumerable: true, get: function () { return PinnacleClient_js_1.PinnacleClient; } });
|
|
40
41
|
var environments_js_1 = require("./environments.js");
|
|
41
42
|
Object.defineProperty(exports, "PinnacleEnvironment", { enumerable: true, get: function () { return environments_js_1.PinnacleEnvironment; } });
|
|
42
43
|
var index_js_1 = require("./errors/index.js");
|
|
43
44
|
Object.defineProperty(exports, "PinnacleError", { enumerable: true, get: function () { return index_js_1.PinnacleError; } });
|
|
44
45
|
Object.defineProperty(exports, "PinnacleTimeoutError", { enumerable: true, get: function () { return index_js_1.PinnacleTimeoutError; } });
|
|
46
|
+
var PinnacleClient_js_1 = require("./wrapper/PinnacleClient.js");
|
|
47
|
+
Object.defineProperty(exports, "PinnacleClient", { enumerable: true, get: function () { return PinnacleClient_js_1.PinnacleClient; } });
|
|
48
|
+
var Client_js_1 = require("./wrapper/voice/Client.js");
|
|
49
|
+
Object.defineProperty(exports, "EnhancedVoice", { enumerable: true, get: function () { return Client_js_1.EnhancedVoice; } });
|
|
50
|
+
__exportStar(require("./wrapper/voice/types.js"), exports);
|
|
51
|
+
var VoiceSocket_js_1 = require("./wrapper/voice/VoiceSocket.js");
|
|
52
|
+
Object.defineProperty(exports, "createVoiceCommandId", { enumerable: true, get: function () { return VoiceSocket_js_1.createVoiceCommandId; } });
|
|
53
|
+
Object.defineProperty(exports, "VoiceSocket", { enumerable: true, get: function () { return VoiceSocket_js_1.VoiceSocket; } });
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.23-rc.1";
|