rcs-js 2.0.23-rc.1 → 2.0.23
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 +0 -6
- package/dist/cjs/Client.js +22 -32
- package/dist/cjs/api/errors/index.d.ts +0 -6
- package/dist/cjs/api/errors/index.js +0 -6
- 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 +0 -3
- package/dist/cjs/api/resources/index.js +1 -4
- package/dist/cjs/api/types/AgentSummary.d.ts +2 -2
- package/dist/cjs/api/types/WebhookEventEnum.d.ts +0 -1
- package/dist/cjs/api/types/WebhookEventEnum.js +0 -1
- package/dist/cjs/api/types/index.d.ts +0 -29
- package/dist/cjs/api/types/index.js +0 -29
- package/dist/cjs/index.d.ts +1 -6
- package/dist/cjs/index.js +3 -12
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/wrapper/PinnacleClient.d.ts +1 -4
- package/dist/cjs/wrapper/PinnacleClient.js +6 -17
- package/dist/cjs/wrapper/messages/Client.d.ts +1 -1
- package/dist/esm/Client.d.mts +0 -6
- package/dist/esm/Client.mjs +2 -12
- package/dist/esm/api/errors/index.d.mts +0 -6
- package/dist/esm/api/errors/index.mjs +0 -6
- 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 +0 -3
- package/dist/esm/api/resources/index.mjs +0 -3
- package/dist/esm/api/types/AgentSummary.d.mts +2 -2
- package/dist/esm/api/types/WebhookEventEnum.d.mts +0 -1
- package/dist/esm/api/types/WebhookEventEnum.mjs +0 -1
- package/dist/esm/api/types/index.d.mts +0 -29
- package/dist/esm/api/types/index.mjs +0 -29
- package/dist/esm/index.d.mts +1 -6
- package/dist/esm/index.mjs +1 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/esm/wrapper/PinnacleClient.d.mts +1 -4
- package/dist/esm/wrapper/PinnacleClient.mjs +5 -16
- package/dist/esm/wrapper/messages/Client.d.mts +1 -1
- package/package.json +8 -9
- package/dist/cjs/api/errors/BadGatewayError.d.ts +0 -6
- package/dist/cjs/api/errors/BadGatewayError.js +0 -50
- package/dist/cjs/api/errors/ConflictError.d.ts +0 -6
- package/dist/cjs/api/errors/ConflictError.js +0 -50
- package/dist/cjs/api/errors/GoneError.d.ts +0 -6
- package/dist/cjs/api/errors/GoneError.js +0 -50
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +0 -6
- package/dist/cjs/api/errors/ServiceUnavailableError.js +0 -50
- package/dist/cjs/api/errors/TooEarlyError.d.ts +0 -6
- package/dist/cjs/api/errors/TooEarlyError.js +0 -50
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +0 -6
- package/dist/cjs/api/errors/UnprocessableEntityError.js +0 -50
- package/dist/cjs/api/resources/calls/client/Client.d.ts +0 -181
- package/dist/cjs/api/resources/calls/client/Client.js +0 -788
- package/dist/cjs/api/resources/calls/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/calls/client/index.js +0 -17
- package/dist/cjs/api/resources/calls/client/requests/CallsDownloadRecordingRequest.d.ts +0 -8
- package/dist/cjs/api/resources/calls/client/requests/CallsDownloadRecordingRequest.js +0 -3
- package/dist/cjs/api/resources/calls/client/requests/CallsListEventsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/calls/client/requests/CallsListEventsRequest.js +0 -3
- package/dist/cjs/api/resources/calls/client/requests/CallsListRequest.d.ts +0 -17
- package/dist/cjs/api/resources/calls/client/requests/CallsListRequest.js +0 -3
- package/dist/cjs/api/resources/calls/client/requests/CreateCallParams.d.ts +0 -17
- package/dist/cjs/api/resources/calls/client/requests/CreateCallParams.js +0 -3
- package/dist/cjs/api/resources/calls/client/requests/CreateStreamTokenParams.d.ts +0 -12
- package/dist/cjs/api/resources/calls/client/requests/CreateStreamTokenParams.js +0 -3
- package/dist/cjs/api/resources/calls/client/requests/UpdateCallParams.d.ts +0 -12
- package/dist/cjs/api/resources/calls/client/requests/UpdateCallParams.js +0 -3
- package/dist/cjs/api/resources/calls/client/requests/index.d.ts +0 -6
- package/dist/cjs/api/resources/calls/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/calls/index.d.ts +0 -1
- package/dist/cjs/api/resources/calls/index.js +0 -17
- package/dist/cjs/api/resources/network/client/Client.d.ts +0 -21
- package/dist/cjs/api/resources/network/client/Client.js +0 -30
- package/dist/cjs/api/resources/network/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/client/index.js +0 -2
- package/dist/cjs/api/resources/network/index.d.ts +0 -2
- package/dist/cjs/api/resources/network/index.js +0 -18
- package/dist/cjs/api/resources/network/resources/index.d.ts +0 -8
- package/dist/cjs/api/resources/network/resources/index.js +0 -47
- package/dist/cjs/api/resources/network/resources/requests/client/Client.d.ts +0 -61
- package/dist/cjs/api/resources/network/resources/requests/client/Client.js +0 -223
- package/dist/cjs/api/resources/network/resources/requests/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/requests/client/index.js +0 -17
- package/dist/cjs/api/resources/network/resources/requests/client/requests/ListNetworkRequestsParams.d.ts +0 -21
- package/dist/cjs/api/resources/network/resources/requests/client/requests/ListNetworkRequestsParams.js +0 -3
- package/dist/cjs/api/resources/network/resources/requests/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/requests/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/network/resources/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/requests/index.js +0 -17
- package/dist/cjs/api/resources/network/resources/silentAuth/client/Client.d.ts +0 -71
- package/dist/cjs/api/resources/network/resources/silentAuth/client/Client.js +0 -234
- package/dist/cjs/api/resources/network/resources/silentAuth/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/silentAuth/client/index.js +0 -17
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/SilentAuthCheckRequest.d.ts +0 -10
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/SilentAuthCheckRequest.js +0 -3
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/SilentAuthRequest.d.ts +0 -34
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/SilentAuthRequest.js +0 -3
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/network/resources/silentAuth/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/network/resources/silentAuth/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/silentAuth/index.js +0 -17
- package/dist/cjs/api/resources/network/resources/simSwap/client/Client.d.ts +0 -37
- package/dist/cjs/api/resources/network/resources/simSwap/client/Client.js +0 -143
- package/dist/cjs/api/resources/network/resources/simSwap/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/simSwap/client/index.js +0 -17
- package/dist/cjs/api/resources/network/resources/simSwap/client/requests/SimSwapRequest.d.ts +0 -13
- package/dist/cjs/api/resources/network/resources/simSwap/client/requests/SimSwapRequest.js +0 -3
- package/dist/cjs/api/resources/network/resources/simSwap/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/simSwap/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/network/resources/simSwap/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/simSwap/index.js +0 -17
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/Client.d.ts +0 -47
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/Client.js +0 -153
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/index.js +0 -17
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/requests/SubscriberMatchRequest.d.ts +0 -22
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/requests/SubscriberMatchRequest.js +0 -3
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/subscriberMatch/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/network/resources/subscriberMatch/index.d.ts +0 -1
- package/dist/cjs/api/resources/network/resources/subscriberMatch/index.js +0 -17
- package/dist/cjs/api/resources/voiceStreams/index.d.ts +0 -1
- package/dist/cjs/api/resources/voiceStreams/index.js +0 -17
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientFrame.d.ts +0 -10
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientFrame.js +0 -3
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientMedia.d.ts +0 -10
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientMedia.js +0 -3
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientMediaFrame.d.ts +0 -11
- package/dist/cjs/api/resources/voiceStreams/types/VoiceClientMediaFrame.js +0 -10
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandAckFrame.d.ts +0 -22
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandAckFrame.js +0 -14
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandAction.d.ts +0 -15
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandAction.js +0 -18
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandFrame.d.ts +0 -15
- package/dist/cjs/api/resources/voiceStreams/types/VoiceCommandFrame.js +0 -10
- package/dist/cjs/api/resources/voiceStreams/types/VoiceConnectedFrame.d.ts +0 -11
- package/dist/cjs/api/resources/voiceStreams/types/VoiceConnectedFrame.js +0 -10
- package/dist/cjs/api/resources/voiceStreams/types/VoiceEventFrame.d.ts +0 -15
- package/dist/cjs/api/resources/voiceStreams/types/VoiceEventFrame.js +0 -10
- package/dist/cjs/api/resources/voiceStreams/types/VoiceMediaTrack.d.ts +0 -5
- package/dist/cjs/api/resources/voiceStreams/types/VoiceMediaTrack.js +0 -8
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerFrame.d.ts +0 -16
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerFrame.js +0 -3
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerMedia.d.ts +0 -10
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerMedia.js +0 -3
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerMediaFrame.d.ts +0 -13
- package/dist/cjs/api/resources/voiceStreams/types/VoiceServerMediaFrame.js +0 -10
- package/dist/cjs/api/resources/voiceStreams/types/index.d.ts +0 -12
- package/dist/cjs/api/resources/voiceStreams/types/index.js +0 -28
- package/dist/cjs/api/types/Call.d.ts +0 -16
- package/dist/cjs/api/types/Call.js +0 -3
- package/dist/cjs/api/types/CallDirection.d.ts +0 -11
- package/dist/cjs/api/types/CallDirection.js +0 -14
- package/dist/cjs/api/types/CallEvent.d.ts +0 -15
- package/dist/cjs/api/types/CallEvent.js +0 -3
- package/dist/cjs/api/types/CallEventSource.d.ts +0 -8
- package/dist/cjs/api/types/CallEventSource.js +0 -11
- package/dist/cjs/api/types/CallMetadata.d.ts +0 -4
- package/dist/cjs/api/types/CallMetadata.js +0 -3
- package/dist/cjs/api/types/CallState.d.ts +0 -25
- package/dist/cjs/api/types/CallState.js +0 -28
- package/dist/cjs/api/types/CallStatusEvent.d.ts +0 -41
- package/dist/cjs/api/types/CallStatusEvent.js +0 -3
- package/dist/cjs/api/types/CallStreamToken.d.ts +0 -7
- package/dist/cjs/api/types/CallStreamToken.js +0 -3
- package/dist/cjs/api/types/CreatedCall.d.ts +0 -18
- package/dist/cjs/api/types/CreatedCall.js +0 -3
- package/dist/cjs/api/types/E164PhoneNumber.d.ts +0 -4
- package/dist/cjs/api/types/E164PhoneNumber.js +0 -3
- package/dist/cjs/api/types/HostedSilentAuthResponse.d.ts +0 -8
- package/dist/cjs/api/types/HostedSilentAuthResponse.js +0 -3
- package/dist/cjs/api/types/JsonSilentAuthResponse.d.ts +0 -8
- package/dist/cjs/api/types/JsonSilentAuthResponse.js +0 -3
- package/dist/cjs/api/types/ListCallEventsResponse.d.ts +0 -5
- package/dist/cjs/api/types/ListCallEventsResponse.js +0 -3
- package/dist/cjs/api/types/ListCallsResponse.d.ts +0 -5
- package/dist/cjs/api/types/ListCallsResponse.js +0 -3
- package/dist/cjs/api/types/ListNetworkRequestsResponse.d.ts +0 -8
- package/dist/cjs/api/types/ListNetworkRequestsResponse.js +0 -3
- package/dist/cjs/api/types/NetworkInsightStatus.d.ts +0 -8
- package/dist/cjs/api/types/NetworkInsightStatus.js +0 -11
- package/dist/cjs/api/types/NetworkRequestId.d.ts +0 -4
- package/dist/cjs/api/types/NetworkRequestId.js +0 -3
- package/dist/cjs/api/types/NetworkRequestResult.d.ts +0 -5
- package/dist/cjs/api/types/NetworkRequestResult.js +0 -3
- package/dist/cjs/api/types/NetworkRequestStatus.d.ts +0 -9
- package/dist/cjs/api/types/NetworkRequestStatus.js +0 -12
- package/dist/cjs/api/types/NetworkRequestSummary.d.ts +0 -19
- package/dist/cjs/api/types/NetworkRequestSummary.js +0 -3
- package/dist/cjs/api/types/NetworkRequestType.d.ts +0 -7
- package/dist/cjs/api/types/NetworkRequestType.js +0 -10
- package/dist/cjs/api/types/RecordingDownload.d.ts +0 -5
- package/dist/cjs/api/types/RecordingDownload.js +0 -3
- package/dist/cjs/api/types/RecordingState.d.ts +0 -15
- package/dist/cjs/api/types/RecordingState.js +0 -18
- package/dist/cjs/api/types/SilentAuthCheckResponse.d.ts +0 -14
- package/dist/cjs/api/types/SilentAuthCheckResponse.js +0 -12
- package/dist/cjs/api/types/SilentAuthResponse.d.ts +0 -10
- package/dist/cjs/api/types/SilentAuthResponse.js +0 -3
- package/dist/cjs/api/types/SimSwapResponse.d.ts +0 -9
- package/dist/cjs/api/types/SimSwapResponse.js +0 -3
- package/dist/cjs/api/types/SubscriberMatchAttributes.d.ts +0 -27
- package/dist/cjs/api/types/SubscriberMatchAttributes.js +0 -3
- package/dist/cjs/api/types/SubscriberMatchResponse.d.ts +0 -46
- package/dist/cjs/api/types/SubscriberMatchResponse.js +0 -3
- package/dist/cjs/api/types/SubscriberMatchResult.d.ts +0 -12
- package/dist/cjs/api/types/SubscriberMatchResult.js +0 -15
- package/dist/cjs/wrapper/voice/Client.d.ts +0 -34
- package/dist/cjs/wrapper/voice/Client.js +0 -147
- package/dist/cjs/wrapper/voice/VoiceSocket.d.ts +0 -98
- package/dist/cjs/wrapper/voice/VoiceSocket.js +0 -371
- package/dist/cjs/wrapper/voice/types.d.ts +0 -199
- package/dist/cjs/wrapper/voice/types.js +0 -35
- package/dist/esm/api/errors/BadGatewayError.d.mts +0 -6
- package/dist/esm/api/errors/BadGatewayError.mjs +0 -13
- package/dist/esm/api/errors/ConflictError.d.mts +0 -6
- package/dist/esm/api/errors/ConflictError.mjs +0 -13
- package/dist/esm/api/errors/GoneError.d.mts +0 -6
- package/dist/esm/api/errors/GoneError.mjs +0 -13
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +0 -6
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +0 -13
- package/dist/esm/api/errors/TooEarlyError.d.mts +0 -6
- package/dist/esm/api/errors/TooEarlyError.mjs +0 -13
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +0 -6
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +0 -13
- package/dist/esm/api/resources/calls/client/Client.d.mts +0 -181
- package/dist/esm/api/resources/calls/client/Client.mjs +0 -751
- package/dist/esm/api/resources/calls/client/index.d.mts +0 -1
- package/dist/esm/api/resources/calls/client/index.mjs +0 -1
- package/dist/esm/api/resources/calls/client/requests/CallsDownloadRecordingRequest.d.mts +0 -8
- package/dist/esm/api/resources/calls/client/requests/CallsDownloadRecordingRequest.mjs +0 -2
- package/dist/esm/api/resources/calls/client/requests/CallsListEventsRequest.d.mts +0 -10
- package/dist/esm/api/resources/calls/client/requests/CallsListEventsRequest.mjs +0 -2
- package/dist/esm/api/resources/calls/client/requests/CallsListRequest.d.mts +0 -17
- package/dist/esm/api/resources/calls/client/requests/CallsListRequest.mjs +0 -2
- package/dist/esm/api/resources/calls/client/requests/CreateCallParams.d.mts +0 -17
- package/dist/esm/api/resources/calls/client/requests/CreateCallParams.mjs +0 -2
- package/dist/esm/api/resources/calls/client/requests/CreateStreamTokenParams.d.mts +0 -12
- package/dist/esm/api/resources/calls/client/requests/CreateStreamTokenParams.mjs +0 -2
- package/dist/esm/api/resources/calls/client/requests/UpdateCallParams.d.mts +0 -12
- package/dist/esm/api/resources/calls/client/requests/UpdateCallParams.mjs +0 -2
- package/dist/esm/api/resources/calls/client/requests/index.d.mts +0 -6
- package/dist/esm/api/resources/calls/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/calls/index.d.mts +0 -1
- package/dist/esm/api/resources/calls/index.mjs +0 -1
- package/dist/esm/api/resources/network/client/Client.d.mts +0 -21
- package/dist/esm/api/resources/network/client/Client.mjs +0 -26
- package/dist/esm/api/resources/network/client/index.d.mts +0 -1
- package/dist/esm/api/resources/network/client/index.mjs +0 -1
- package/dist/esm/api/resources/network/index.d.mts +0 -2
- package/dist/esm/api/resources/network/index.mjs +0 -2
- package/dist/esm/api/resources/network/resources/index.d.mts +0 -8
- package/dist/esm/api/resources/network/resources/index.mjs +0 -8
- package/dist/esm/api/resources/network/resources/requests/client/Client.d.mts +0 -61
- package/dist/esm/api/resources/network/resources/requests/client/Client.mjs +0 -186
- package/dist/esm/api/resources/network/resources/requests/client/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/requests/client/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/requests/client/requests/ListNetworkRequestsParams.d.mts +0 -21
- package/dist/esm/api/resources/network/resources/requests/client/requests/ListNetworkRequestsParams.mjs +0 -2
- package/dist/esm/api/resources/network/resources/requests/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/requests/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/requests/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/silentAuth/client/Client.d.mts +0 -71
- package/dist/esm/api/resources/network/resources/silentAuth/client/Client.mjs +0 -197
- package/dist/esm/api/resources/network/resources/silentAuth/client/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/silentAuth/client/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/SilentAuthCheckRequest.d.mts +0 -10
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/SilentAuthCheckRequest.mjs +0 -2
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/SilentAuthRequest.d.mts +0 -34
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/SilentAuthRequest.mjs +0 -2
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/network/resources/silentAuth/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/silentAuth/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/silentAuth/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/simSwap/client/Client.d.mts +0 -37
- package/dist/esm/api/resources/network/resources/simSwap/client/Client.mjs +0 -106
- package/dist/esm/api/resources/network/resources/simSwap/client/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/simSwap/client/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/simSwap/client/requests/SimSwapRequest.d.mts +0 -13
- package/dist/esm/api/resources/network/resources/simSwap/client/requests/SimSwapRequest.mjs +0 -2
- package/dist/esm/api/resources/network/resources/simSwap/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/simSwap/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/simSwap/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/simSwap/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/Client.d.mts +0 -47
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/Client.mjs +0 -116
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/requests/SubscriberMatchRequest.d.mts +0 -22
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/requests/SubscriberMatchRequest.mjs +0 -2
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/subscriberMatch/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/network/resources/subscriberMatch/index.d.mts +0 -1
- package/dist/esm/api/resources/network/resources/subscriberMatch/index.mjs +0 -1
- package/dist/esm/api/resources/voiceStreams/index.d.mts +0 -1
- package/dist/esm/api/resources/voiceStreams/index.mjs +0 -1
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientFrame.d.mts +0 -10
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientFrame.mjs +0 -2
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientMedia.d.mts +0 -10
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientMedia.mjs +0 -2
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientMediaFrame.d.mts +0 -11
- package/dist/esm/api/resources/voiceStreams/types/VoiceClientMediaFrame.mjs +0 -7
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandAckFrame.d.mts +0 -22
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandAckFrame.mjs +0 -11
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandAction.d.mts +0 -15
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandAction.mjs +0 -15
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandFrame.d.mts +0 -15
- package/dist/esm/api/resources/voiceStreams/types/VoiceCommandFrame.mjs +0 -7
- package/dist/esm/api/resources/voiceStreams/types/VoiceConnectedFrame.d.mts +0 -11
- package/dist/esm/api/resources/voiceStreams/types/VoiceConnectedFrame.mjs +0 -7
- package/dist/esm/api/resources/voiceStreams/types/VoiceEventFrame.d.mts +0 -15
- package/dist/esm/api/resources/voiceStreams/types/VoiceEventFrame.mjs +0 -7
- package/dist/esm/api/resources/voiceStreams/types/VoiceMediaTrack.d.mts +0 -5
- package/dist/esm/api/resources/voiceStreams/types/VoiceMediaTrack.mjs +0 -5
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerFrame.d.mts +0 -16
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerFrame.mjs +0 -2
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerMedia.d.mts +0 -10
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerMedia.mjs +0 -2
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerMediaFrame.d.mts +0 -13
- package/dist/esm/api/resources/voiceStreams/types/VoiceServerMediaFrame.mjs +0 -7
- package/dist/esm/api/resources/voiceStreams/types/index.d.mts +0 -12
- package/dist/esm/api/resources/voiceStreams/types/index.mjs +0 -12
- package/dist/esm/api/types/Call.d.mts +0 -16
- package/dist/esm/api/types/Call.mjs +0 -2
- package/dist/esm/api/types/CallDirection.d.mts +0 -11
- package/dist/esm/api/types/CallDirection.mjs +0 -11
- package/dist/esm/api/types/CallEvent.d.mts +0 -15
- package/dist/esm/api/types/CallEvent.mjs +0 -2
- package/dist/esm/api/types/CallEventSource.d.mts +0 -8
- package/dist/esm/api/types/CallEventSource.mjs +0 -8
- package/dist/esm/api/types/CallMetadata.d.mts +0 -4
- package/dist/esm/api/types/CallMetadata.mjs +0 -2
- package/dist/esm/api/types/CallState.d.mts +0 -25
- package/dist/esm/api/types/CallState.mjs +0 -25
- package/dist/esm/api/types/CallStatusEvent.d.mts +0 -41
- package/dist/esm/api/types/CallStatusEvent.mjs +0 -2
- package/dist/esm/api/types/CallStreamToken.d.mts +0 -7
- package/dist/esm/api/types/CallStreamToken.mjs +0 -2
- package/dist/esm/api/types/CreatedCall.d.mts +0 -18
- package/dist/esm/api/types/CreatedCall.mjs +0 -2
- package/dist/esm/api/types/E164PhoneNumber.d.mts +0 -4
- package/dist/esm/api/types/E164PhoneNumber.mjs +0 -2
- package/dist/esm/api/types/HostedSilentAuthResponse.d.mts +0 -8
- package/dist/esm/api/types/HostedSilentAuthResponse.mjs +0 -2
- package/dist/esm/api/types/JsonSilentAuthResponse.d.mts +0 -8
- package/dist/esm/api/types/JsonSilentAuthResponse.mjs +0 -2
- package/dist/esm/api/types/ListCallEventsResponse.d.mts +0 -5
- package/dist/esm/api/types/ListCallEventsResponse.mjs +0 -2
- package/dist/esm/api/types/ListCallsResponse.d.mts +0 -5
- package/dist/esm/api/types/ListCallsResponse.mjs +0 -2
- package/dist/esm/api/types/ListNetworkRequestsResponse.d.mts +0 -8
- package/dist/esm/api/types/ListNetworkRequestsResponse.mjs +0 -2
- package/dist/esm/api/types/NetworkInsightStatus.d.mts +0 -8
- package/dist/esm/api/types/NetworkInsightStatus.mjs +0 -8
- package/dist/esm/api/types/NetworkRequestId.d.mts +0 -4
- package/dist/esm/api/types/NetworkRequestId.mjs +0 -2
- package/dist/esm/api/types/NetworkRequestResult.d.mts +0 -5
- package/dist/esm/api/types/NetworkRequestResult.mjs +0 -2
- package/dist/esm/api/types/NetworkRequestStatus.d.mts +0 -9
- package/dist/esm/api/types/NetworkRequestStatus.mjs +0 -9
- package/dist/esm/api/types/NetworkRequestSummary.d.mts +0 -19
- package/dist/esm/api/types/NetworkRequestSummary.mjs +0 -2
- package/dist/esm/api/types/NetworkRequestType.d.mts +0 -7
- package/dist/esm/api/types/NetworkRequestType.mjs +0 -7
- package/dist/esm/api/types/RecordingDownload.d.mts +0 -5
- package/dist/esm/api/types/RecordingDownload.mjs +0 -2
- package/dist/esm/api/types/RecordingState.d.mts +0 -15
- package/dist/esm/api/types/RecordingState.mjs +0 -15
- package/dist/esm/api/types/SilentAuthCheckResponse.d.mts +0 -14
- package/dist/esm/api/types/SilentAuthCheckResponse.mjs +0 -9
- package/dist/esm/api/types/SilentAuthResponse.d.mts +0 -10
- package/dist/esm/api/types/SilentAuthResponse.mjs +0 -2
- package/dist/esm/api/types/SimSwapResponse.d.mts +0 -9
- package/dist/esm/api/types/SimSwapResponse.mjs +0 -2
- package/dist/esm/api/types/SubscriberMatchAttributes.d.mts +0 -27
- package/dist/esm/api/types/SubscriberMatchAttributes.mjs +0 -2
- package/dist/esm/api/types/SubscriberMatchResponse.d.mts +0 -46
- package/dist/esm/api/types/SubscriberMatchResponse.mjs +0 -2
- package/dist/esm/api/types/SubscriberMatchResult.d.mts +0 -12
- package/dist/esm/api/types/SubscriberMatchResult.mjs +0 -12
- package/dist/esm/wrapper/voice/Client.d.mts +0 -34
- package/dist/esm/wrapper/voice/Client.mjs +0 -143
- package/dist/esm/wrapper/voice/VoiceSocket.d.mts +0 -98
- package/dist/esm/wrapper/voice/VoiceSocket.mjs +0 -366
- package/dist/esm/wrapper/voice/types.d.mts +0 -199
- package/dist/esm/wrapper/voice/types.mjs +0 -32
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Audiences } from "./api/resources/audiences/client/Client.js";
|
|
2
2
|
import { Brands } from "./api/resources/brands/client/Client.js";
|
|
3
|
-
import { Calls } from "./api/resources/calls/client/Client.js";
|
|
4
3
|
import { Campaigns } from "./api/resources/campaigns/client/Client.js";
|
|
5
4
|
import { Contacts } from "./api/resources/contacts/client/Client.js";
|
|
6
5
|
import { Conversations } from "./api/resources/conversations/client/Client.js";
|
|
7
6
|
import { Forms } from "./api/resources/forms/client/Client.js";
|
|
8
7
|
import { Messages } from "./api/resources/messages/client/Client.js";
|
|
9
|
-
import { Network } from "./api/resources/network/client/Client.js";
|
|
10
8
|
import { PhoneNumbers } from "./api/resources/phoneNumbers/client/Client.js";
|
|
11
9
|
import { Rcs } from "./api/resources/rcs/client/Client.js";
|
|
12
10
|
import { Status } from "./api/resources/status/client/Client.js";
|
|
@@ -29,10 +27,8 @@ export declare class PinnacleClient {
|
|
|
29
27
|
protected _phoneNumbers: PhoneNumbers | undefined;
|
|
30
28
|
protected _rcs: Rcs | undefined;
|
|
31
29
|
protected _webhooks: Webhooks | undefined;
|
|
32
|
-
protected _calls: Calls | undefined;
|
|
33
30
|
protected _forms: Forms | undefined;
|
|
34
31
|
protected _campaigns: Campaigns | undefined;
|
|
35
|
-
protected _network: Network | undefined;
|
|
36
32
|
protected _status: Status | undefined;
|
|
37
33
|
protected _tools: Tools | undefined;
|
|
38
34
|
constructor(_options: PinnacleClient.Options);
|
|
@@ -44,10 +40,8 @@ export declare class PinnacleClient {
|
|
|
44
40
|
get phoneNumbers(): PhoneNumbers;
|
|
45
41
|
get rcs(): Rcs;
|
|
46
42
|
get webhooks(): Webhooks;
|
|
47
|
-
get calls(): Calls;
|
|
48
43
|
get forms(): Forms;
|
|
49
44
|
get campaigns(): Campaigns;
|
|
50
|
-
get network(): Network;
|
|
51
45
|
get status(): Status;
|
|
52
46
|
get tools(): Tools;
|
|
53
47
|
}
|
package/dist/cjs/Client.js
CHANGED
|
@@ -37,18 +37,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.PinnacleClient = void 0;
|
|
38
38
|
const Client_js_1 = require("./api/resources/audiences/client/Client.js");
|
|
39
39
|
const Client_js_2 = require("./api/resources/brands/client/Client.js");
|
|
40
|
-
const Client_js_3 = require("./api/resources/
|
|
41
|
-
const Client_js_4 = require("./api/resources/
|
|
42
|
-
const Client_js_5 = require("./api/resources/
|
|
43
|
-
const Client_js_6 = require("./api/resources/
|
|
44
|
-
const Client_js_7 = require("./api/resources/
|
|
45
|
-
const Client_js_8 = require("./api/resources/
|
|
46
|
-
const Client_js_9 = require("./api/resources/
|
|
47
|
-
const Client_js_10 = require("./api/resources/
|
|
48
|
-
const Client_js_11 = require("./api/resources/
|
|
49
|
-
const Client_js_12 = require("./api/resources/
|
|
50
|
-
const Client_js_13 = require("./api/resources/tools/client/Client.js");
|
|
51
|
-
const Client_js_14 = require("./api/resources/webhooks/client/Client.js");
|
|
40
|
+
const Client_js_3 = require("./api/resources/campaigns/client/Client.js");
|
|
41
|
+
const Client_js_4 = require("./api/resources/contacts/client/Client.js");
|
|
42
|
+
const Client_js_5 = require("./api/resources/conversations/client/Client.js");
|
|
43
|
+
const Client_js_6 = require("./api/resources/forms/client/Client.js");
|
|
44
|
+
const Client_js_7 = require("./api/resources/messages/client/Client.js");
|
|
45
|
+
const Client_js_8 = require("./api/resources/phoneNumbers/client/Client.js");
|
|
46
|
+
const Client_js_9 = require("./api/resources/rcs/client/Client.js");
|
|
47
|
+
const Client_js_10 = require("./api/resources/status/client/Client.js");
|
|
48
|
+
const Client_js_11 = require("./api/resources/tools/client/Client.js");
|
|
49
|
+
const Client_js_12 = require("./api/resources/webhooks/client/Client.js");
|
|
52
50
|
const headers_js_1 = require("./core/headers.js");
|
|
53
51
|
const core = __importStar(require("./core/index.js"));
|
|
54
52
|
class PinnacleClient {
|
|
@@ -56,8 +54,8 @@ class PinnacleClient {
|
|
|
56
54
|
this._options = Object.assign(Object.assign({}, _options), { logging: core.logging.createLogger(_options === null || _options === void 0 ? void 0 : _options.logging), headers: (0, headers_js_1.mergeHeaders)({
|
|
57
55
|
"X-Fern-Language": "JavaScript",
|
|
58
56
|
"X-Fern-SDK-Name": "rcs-js",
|
|
59
|
-
"X-Fern-SDK-Version": "2.0.23
|
|
60
|
-
"User-Agent": "rcs-js/2.0.23
|
|
57
|
+
"X-Fern-SDK-Version": "2.0.23",
|
|
58
|
+
"User-Agent": "rcs-js/2.0.23",
|
|
61
59
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
62
60
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
63
61
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -72,51 +70,43 @@ class PinnacleClient {
|
|
|
72
70
|
}
|
|
73
71
|
get contacts() {
|
|
74
72
|
var _a;
|
|
75
|
-
return ((_a = this._contacts) !== null && _a !== void 0 ? _a : (this._contacts = new
|
|
73
|
+
return ((_a = this._contacts) !== null && _a !== void 0 ? _a : (this._contacts = new Client_js_4.Contacts(this._options)));
|
|
76
74
|
}
|
|
77
75
|
get conversations() {
|
|
78
76
|
var _a;
|
|
79
|
-
return ((_a = this._conversations) !== null && _a !== void 0 ? _a : (this._conversations = new
|
|
77
|
+
return ((_a = this._conversations) !== null && _a !== void 0 ? _a : (this._conversations = new Client_js_5.Conversations(this._options)));
|
|
80
78
|
}
|
|
81
79
|
get messages() {
|
|
82
80
|
var _a;
|
|
83
|
-
return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new
|
|
81
|
+
return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_js_7.Messages(this._options)));
|
|
84
82
|
}
|
|
85
83
|
get phoneNumbers() {
|
|
86
84
|
var _a;
|
|
87
|
-
return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new
|
|
85
|
+
return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_js_8.PhoneNumbers(this._options)));
|
|
88
86
|
}
|
|
89
87
|
get rcs() {
|
|
90
88
|
var _a;
|
|
91
|
-
return ((_a = this._rcs) !== null && _a !== void 0 ? _a : (this._rcs = new
|
|
89
|
+
return ((_a = this._rcs) !== null && _a !== void 0 ? _a : (this._rcs = new Client_js_9.Rcs(this._options)));
|
|
92
90
|
}
|
|
93
91
|
get webhooks() {
|
|
94
92
|
var _a;
|
|
95
|
-
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new
|
|
96
|
-
}
|
|
97
|
-
get calls() {
|
|
98
|
-
var _a;
|
|
99
|
-
return ((_a = this._calls) !== null && _a !== void 0 ? _a : (this._calls = new Client_js_3.Calls(this._options)));
|
|
93
|
+
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_js_12.Webhooks(this._options)));
|
|
100
94
|
}
|
|
101
95
|
get forms() {
|
|
102
96
|
var _a;
|
|
103
|
-
return ((_a = this._forms) !== null && _a !== void 0 ? _a : (this._forms = new
|
|
97
|
+
return ((_a = this._forms) !== null && _a !== void 0 ? _a : (this._forms = new Client_js_6.Forms(this._options)));
|
|
104
98
|
}
|
|
105
99
|
get campaigns() {
|
|
106
100
|
var _a;
|
|
107
|
-
return ((_a = this._campaigns) !== null && _a !== void 0 ? _a : (this._campaigns = new
|
|
108
|
-
}
|
|
109
|
-
get network() {
|
|
110
|
-
var _a;
|
|
111
|
-
return ((_a = this._network) !== null && _a !== void 0 ? _a : (this._network = new Client_js_9.Network(this._options)));
|
|
101
|
+
return ((_a = this._campaigns) !== null && _a !== void 0 ? _a : (this._campaigns = new Client_js_3.Campaigns(this._options)));
|
|
112
102
|
}
|
|
113
103
|
get status() {
|
|
114
104
|
var _a;
|
|
115
|
-
return ((_a = this._status) !== null && _a !== void 0 ? _a : (this._status = new
|
|
105
|
+
return ((_a = this._status) !== null && _a !== void 0 ? _a : (this._status = new Client_js_10.Status(this._options)));
|
|
116
106
|
}
|
|
117
107
|
get tools() {
|
|
118
108
|
var _a;
|
|
119
|
-
return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new
|
|
109
|
+
return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new Client_js_11.Tools(this._options)));
|
|
120
110
|
}
|
|
121
111
|
}
|
|
122
112
|
exports.PinnacleClient = PinnacleClient;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
export * from "./BadGatewayError.js";
|
|
2
1
|
export * from "./BadRequestError.js";
|
|
3
|
-
export * from "./ConflictError.js";
|
|
4
2
|
export * from "./ForbiddenError.js";
|
|
5
|
-
export * from "./GoneError.js";
|
|
6
3
|
export * from "./InternalServerError.js";
|
|
7
4
|
export * from "./NotFoundError.js";
|
|
8
5
|
export * from "./NotImplementedError.js";
|
|
9
6
|
export * from "./PaymentRequiredError.js";
|
|
10
|
-
export * from "./ServiceUnavailableError.js";
|
|
11
|
-
export * from "./TooEarlyError.js";
|
|
12
7
|
export * from "./UnauthorizedError.js";
|
|
13
|
-
export * from "./UnprocessableEntityError.js";
|
|
@@ -14,16 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./BadGatewayError.js"), exports);
|
|
18
17
|
__exportStar(require("./BadRequestError.js"), exports);
|
|
19
|
-
__exportStar(require("./ConflictError.js"), exports);
|
|
20
18
|
__exportStar(require("./ForbiddenError.js"), exports);
|
|
21
|
-
__exportStar(require("./GoneError.js"), exports);
|
|
22
19
|
__exportStar(require("./InternalServerError.js"), exports);
|
|
23
20
|
__exportStar(require("./NotFoundError.js"), exports);
|
|
24
21
|
__exportStar(require("./NotImplementedError.js"), exports);
|
|
25
22
|
__exportStar(require("./PaymentRequiredError.js"), exports);
|
|
26
|
-
__exportStar(require("./ServiceUnavailableError.js"), exports);
|
|
27
|
-
__exportStar(require("./TooEarlyError.js"), exports);
|
|
28
23
|
__exportStar(require("./UnauthorizedError.js"), exports);
|
|
29
|
-
__exportStar(require("./UnprocessableEntityError.js"), exports);
|
|
@@ -142,7 +142,7 @@ export declare class Forms {
|
|
|
142
142
|
*
|
|
143
143
|
* When `to` is omitted, no message is sent — `submission.to` and `message_id` are both `null` — which is useful for embedding the URL in your own outreach.
|
|
144
144
|
*
|
|
145
|
-
* On completion, a `FORM.SUBMISSION` webhook event is delivered to webhooks subscribed to the sender. See [Receiving
|
|
145
|
+
* On completion, a `FORM.SUBMISSION` webhook event is delivered to webhooks subscribed to the sender. See [Receiving Messages and User Events](/guides/messages/receiving).
|
|
146
146
|
*
|
|
147
147
|
* @param {Pinnacle.SendFormParams} request
|
|
148
148
|
* @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -408,7 +408,7 @@ class Forms {
|
|
|
408
408
|
*
|
|
409
409
|
* When `to` is omitted, no message is sent — `submission.to` and `message_id` are both `null` — which is useful for embedding the URL in your own outreach.
|
|
410
410
|
*
|
|
411
|
-
* On completion, a `FORM.SUBMISSION` webhook event is delivered to webhooks subscribed to the sender. See [Receiving
|
|
411
|
+
* On completion, a `FORM.SUBMISSION` webhook event is delivered to webhooks subscribed to the sender. See [Receiving Messages and User Events](/guides/messages/receiving).
|
|
412
412
|
*
|
|
413
413
|
* @param {Pinnacle.SendFormParams} request
|
|
414
414
|
* @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3,8 +3,6 @@ export * as audiences from "./audiences/index.js";
|
|
|
3
3
|
export * from "./audiences/types/index.js";
|
|
4
4
|
export * from "./brands/client/requests/index.js";
|
|
5
5
|
export * as brands from "./brands/index.js";
|
|
6
|
-
export * from "./calls/client/requests/index.js";
|
|
7
|
-
export * as calls from "./calls/index.js";
|
|
8
6
|
export * as campaigns from "./campaigns/index.js";
|
|
9
7
|
export * from "./contacts/client/requests/index.js";
|
|
10
8
|
export * as contacts from "./contacts/index.js";
|
|
@@ -16,7 +14,6 @@ export * as forms from "./forms/index.js";
|
|
|
16
14
|
export * from "./forms/types/index.js";
|
|
17
15
|
export * from "./messages/client/requests/index.js";
|
|
18
16
|
export * as messages from "./messages/index.js";
|
|
19
|
-
export * as network from "./network/index.js";
|
|
20
17
|
export * from "./phoneNumbers/client/requests/index.js";
|
|
21
18
|
export * as phoneNumbers from "./phoneNumbers/index.js";
|
|
22
19
|
export * from "./phoneNumbers/types/index.js";
|
|
@@ -36,14 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.webhooks = exports.tools = exports.status = exports.rcs = exports.phoneNumbers = exports.
|
|
39
|
+
exports.webhooks = exports.tools = exports.status = exports.rcs = exports.phoneNumbers = exports.messages = exports.forms = exports.conversations = exports.contacts = exports.campaigns = exports.brands = exports.audiences = void 0;
|
|
40
40
|
__exportStar(require("./audiences/client/requests/index.js"), exports);
|
|
41
41
|
exports.audiences = __importStar(require("./audiences/index.js"));
|
|
42
42
|
__exportStar(require("./audiences/types/index.js"), exports);
|
|
43
43
|
__exportStar(require("./brands/client/requests/index.js"), exports);
|
|
44
44
|
exports.brands = __importStar(require("./brands/index.js"));
|
|
45
|
-
__exportStar(require("./calls/client/requests/index.js"), exports);
|
|
46
|
-
exports.calls = __importStar(require("./calls/index.js"));
|
|
47
45
|
exports.campaigns = __importStar(require("./campaigns/index.js"));
|
|
48
46
|
__exportStar(require("./contacts/client/requests/index.js"), exports);
|
|
49
47
|
exports.contacts = __importStar(require("./contacts/index.js"));
|
|
@@ -55,7 +53,6 @@ exports.forms = __importStar(require("./forms/index.js"));
|
|
|
55
53
|
__exportStar(require("./forms/types/index.js"), exports);
|
|
56
54
|
__exportStar(require("./messages/client/requests/index.js"), exports);
|
|
57
55
|
exports.messages = __importStar(require("./messages/index.js"));
|
|
58
|
-
exports.network = __importStar(require("./network/index.js"));
|
|
59
56
|
__exportStar(require("./phoneNumbers/client/requests/index.js"), exports);
|
|
60
57
|
exports.phoneNumbers = __importStar(require("./phoneNumbers/index.js"));
|
|
61
58
|
__exportStar(require("./phoneNumbers/types/index.js"), exports);
|
|
@@ -9,7 +9,7 @@ export interface AgentSummary {
|
|
|
9
9
|
* Raw per-carrier launch + verification state for the agent. Each
|
|
10
10
|
* value is tri-state — `null` means "no launch requested" or "not
|
|
11
11
|
* sent yet"; `false` means "pending" / "sent"; `true` means
|
|
12
|
-
* "launched" / "verified". Use the [GET /rcs/{agentId}](/api-reference/rcs-agents/get
|
|
12
|
+
* "launched" / "verified". Use the [GET /rcs/{agentId}](/api-reference/rcs-agents/get)
|
|
13
13
|
* endpoint for the resolved enum representation.
|
|
14
14
|
*/
|
|
15
15
|
carrierLaunches?: AgentSummary.CarrierLaunches | null;
|
|
@@ -31,7 +31,7 @@ export declare namespace AgentSummary {
|
|
|
31
31
|
* Raw per-carrier launch + verification state for the agent. Each
|
|
32
32
|
* value is tri-state — `null` means "no launch requested" or "not
|
|
33
33
|
* sent yet"; `false` means "pending" / "sent"; `true` means
|
|
34
|
-
* "launched" / "verified". Use the [GET /rcs/{agentId}](/api-reference/rcs-agents/get
|
|
34
|
+
* "launched" / "verified". Use the [GET /rcs/{agentId}](/api-reference/rcs-agents/get)
|
|
35
35
|
* endpoint for the resolved enum representation.
|
|
36
36
|
*/
|
|
37
37
|
interface CarrierLaunches {
|
|
@@ -9,6 +9,5 @@ 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";
|
|
13
12
|
};
|
|
14
13
|
export type WebhookEventEnum = (typeof WebhookEventEnum)[keyof typeof WebhookEventEnum];
|
|
@@ -21,14 +21,6 @@ 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";
|
|
32
24
|
export * from "./CampaignEnum.js";
|
|
33
25
|
export * from "./CampaignQuery.js";
|
|
34
26
|
export * from "./CampaignStatusEvent.js";
|
|
@@ -49,7 +41,6 @@ export * from "./Contact.js";
|
|
|
49
41
|
export * from "./ContactId.js";
|
|
50
42
|
export * from "./Conversation.js";
|
|
51
43
|
export * from "./ConversationList.js";
|
|
52
|
-
export * from "./CreatedCall.js";
|
|
53
44
|
export * from "./CreateFormRequest.js";
|
|
54
45
|
export * from "./CreateUrlOptions.js";
|
|
55
46
|
export * from "./DateField.js";
|
|
@@ -63,7 +54,6 @@ export * from "./DlcCampaignStatus.js";
|
|
|
63
54
|
export * from "./DlcCampaignSummary.js";
|
|
64
55
|
export * from "./DlcCampaignUseCaseEnum.js";
|
|
65
56
|
export * from "./DlcCampaignWithExtendedBrandAndStatus.js";
|
|
66
|
-
export * from "./E164PhoneNumber.js";
|
|
67
57
|
export * from "./EmailField.js";
|
|
68
58
|
export * from "./EnhancedContact.js";
|
|
69
59
|
export * from "./EnhancedContactItem.js";
|
|
@@ -95,23 +85,18 @@ export * from "./FormSubmissionEventSubmission.js";
|
|
|
95
85
|
export * from "./FormSubmittedField.js";
|
|
96
86
|
export * from "./FormThemeOverride.js";
|
|
97
87
|
export * from "./GetConversationParams.js";
|
|
98
|
-
export * from "./HostedSilentAuthResponse.js";
|
|
99
|
-
export * from "./JsonSilentAuthResponse.js";
|
|
100
88
|
export * from "./LinkClickEvent.js";
|
|
101
89
|
export * from "./LinkSummary.js";
|
|
102
90
|
export * from "./ListAgentsResponse.js";
|
|
103
91
|
export * from "./ListAudiencesResponse.js";
|
|
104
92
|
export * from "./ListBlastsResponse.js";
|
|
105
93
|
export * from "./ListBrandsResponse.js";
|
|
106
|
-
export * from "./ListCallEventsResponse.js";
|
|
107
|
-
export * from "./ListCallsResponse.js";
|
|
108
94
|
export * from "./ListContactsResponse.js";
|
|
109
95
|
export * from "./ListDlcCampaignsResponse.js";
|
|
110
96
|
export * from "./ListFormSubmissionsResponse.js";
|
|
111
97
|
export * from "./ListFormsResponse.js";
|
|
112
98
|
export * from "./ListLinksResponse.js";
|
|
113
99
|
export * from "./ListMessagesResponse.js";
|
|
114
|
-
export * from "./ListNetworkRequestsResponse.js";
|
|
115
100
|
export * from "./ListPhoneNumbersResponse.js";
|
|
116
101
|
export * from "./ListRcsCampaignsResponse.js";
|
|
117
102
|
export * from "./ListScheduledMessagesResponse.js";
|
|
@@ -141,12 +126,6 @@ export * from "./MessageWithReactions.js";
|
|
|
141
126
|
export * from "./MessagingProfileEnum.js";
|
|
142
127
|
export * from "./MmsContent.js";
|
|
143
128
|
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";
|
|
150
129
|
export * from "./NotFoundErrorBody.js";
|
|
151
130
|
export * from "./NumberField.js";
|
|
152
131
|
export * from "./NumberFormat.js";
|
|
@@ -192,8 +171,6 @@ export * from "./RcsValidateContent.js";
|
|
|
192
171
|
export * from "./RcsValidationResult.js";
|
|
193
172
|
export * from "./RcsWhitelistStatus.js";
|
|
194
173
|
export * from "./ReactionResult.js";
|
|
195
|
-
export * from "./RecordingDownload.js";
|
|
196
|
-
export * from "./RecordingState.js";
|
|
197
174
|
export * from "./RefreshedFile.js";
|
|
198
175
|
export * from "./RichButton.js";
|
|
199
176
|
export * from "./RichCards.js";
|
|
@@ -223,9 +200,6 @@ export * from "./SentRichMessageFallbackSms.js";
|
|
|
223
200
|
export * from "./SentSmsDetails.js";
|
|
224
201
|
export * from "./ShortenedUrl.js";
|
|
225
202
|
export * from "./ShortenedUrlWithClickData.js";
|
|
226
|
-
export * from "./SilentAuthCheckResponse.js";
|
|
227
|
-
export * from "./SilentAuthResponse.js";
|
|
228
|
-
export * from "./SimSwapResponse.js";
|
|
229
203
|
export * from "./SimulateMessageInput.js";
|
|
230
204
|
export * from "./SimulateUserButton.js";
|
|
231
205
|
export * from "./SimulateUserMessage.js";
|
|
@@ -234,9 +208,6 @@ export * from "./SimulateUserResponse.js";
|
|
|
234
208
|
export * from "./SmsContent.js";
|
|
235
209
|
export * from "./SmsValidationResult.js";
|
|
236
210
|
export * from "./SubmissionResults.js";
|
|
237
|
-
export * from "./SubscriberMatchAttributes.js";
|
|
238
|
-
export * from "./SubscriberMatchResponse.js";
|
|
239
|
-
export * from "./SubscriberMatchResult.js";
|
|
240
211
|
export * from "./SubUseCaseEnum.js";
|
|
241
212
|
export * from "./SuccessfulConversationUpdate.js";
|
|
242
213
|
export * from "./TestAgentResponse.js";
|
|
@@ -37,14 +37,6 @@ __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);
|
|
48
40
|
__exportStar(require("./CampaignEnum.js"), exports);
|
|
49
41
|
__exportStar(require("./CampaignQuery.js"), exports);
|
|
50
42
|
__exportStar(require("./CampaignStatusEvent.js"), exports);
|
|
@@ -65,7 +57,6 @@ __exportStar(require("./Contact.js"), exports);
|
|
|
65
57
|
__exportStar(require("./ContactId.js"), exports);
|
|
66
58
|
__exportStar(require("./Conversation.js"), exports);
|
|
67
59
|
__exportStar(require("./ConversationList.js"), exports);
|
|
68
|
-
__exportStar(require("./CreatedCall.js"), exports);
|
|
69
60
|
__exportStar(require("./CreateFormRequest.js"), exports);
|
|
70
61
|
__exportStar(require("./CreateUrlOptions.js"), exports);
|
|
71
62
|
__exportStar(require("./DateField.js"), exports);
|
|
@@ -79,7 +70,6 @@ __exportStar(require("./DlcCampaignStatus.js"), exports);
|
|
|
79
70
|
__exportStar(require("./DlcCampaignSummary.js"), exports);
|
|
80
71
|
__exportStar(require("./DlcCampaignUseCaseEnum.js"), exports);
|
|
81
72
|
__exportStar(require("./DlcCampaignWithExtendedBrandAndStatus.js"), exports);
|
|
82
|
-
__exportStar(require("./E164PhoneNumber.js"), exports);
|
|
83
73
|
__exportStar(require("./EmailField.js"), exports);
|
|
84
74
|
__exportStar(require("./EnhancedContact.js"), exports);
|
|
85
75
|
__exportStar(require("./EnhancedContactItem.js"), exports);
|
|
@@ -111,23 +101,18 @@ __exportStar(require("./FormSubmissionEventSubmission.js"), exports);
|
|
|
111
101
|
__exportStar(require("./FormSubmittedField.js"), exports);
|
|
112
102
|
__exportStar(require("./FormThemeOverride.js"), exports);
|
|
113
103
|
__exportStar(require("./GetConversationParams.js"), exports);
|
|
114
|
-
__exportStar(require("./HostedSilentAuthResponse.js"), exports);
|
|
115
|
-
__exportStar(require("./JsonSilentAuthResponse.js"), exports);
|
|
116
104
|
__exportStar(require("./LinkClickEvent.js"), exports);
|
|
117
105
|
__exportStar(require("./LinkSummary.js"), exports);
|
|
118
106
|
__exportStar(require("./ListAgentsResponse.js"), exports);
|
|
119
107
|
__exportStar(require("./ListAudiencesResponse.js"), exports);
|
|
120
108
|
__exportStar(require("./ListBlastsResponse.js"), exports);
|
|
121
109
|
__exportStar(require("./ListBrandsResponse.js"), exports);
|
|
122
|
-
__exportStar(require("./ListCallEventsResponse.js"), exports);
|
|
123
|
-
__exportStar(require("./ListCallsResponse.js"), exports);
|
|
124
110
|
__exportStar(require("./ListContactsResponse.js"), exports);
|
|
125
111
|
__exportStar(require("./ListDlcCampaignsResponse.js"), exports);
|
|
126
112
|
__exportStar(require("./ListFormSubmissionsResponse.js"), exports);
|
|
127
113
|
__exportStar(require("./ListFormsResponse.js"), exports);
|
|
128
114
|
__exportStar(require("./ListLinksResponse.js"), exports);
|
|
129
115
|
__exportStar(require("./ListMessagesResponse.js"), exports);
|
|
130
|
-
__exportStar(require("./ListNetworkRequestsResponse.js"), exports);
|
|
131
116
|
__exportStar(require("./ListPhoneNumbersResponse.js"), exports);
|
|
132
117
|
__exportStar(require("./ListRcsCampaignsResponse.js"), exports);
|
|
133
118
|
__exportStar(require("./ListScheduledMessagesResponse.js"), exports);
|
|
@@ -157,12 +142,6 @@ __exportStar(require("./MessageWithReactions.js"), exports);
|
|
|
157
142
|
__exportStar(require("./MessagingProfileEnum.js"), exports);
|
|
158
143
|
__exportStar(require("./MmsContent.js"), exports);
|
|
159
144
|
__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);
|
|
166
145
|
__exportStar(require("./NotFoundErrorBody.js"), exports);
|
|
167
146
|
__exportStar(require("./NumberField.js"), exports);
|
|
168
147
|
__exportStar(require("./NumberFormat.js"), exports);
|
|
@@ -208,8 +187,6 @@ __exportStar(require("./RcsValidateContent.js"), exports);
|
|
|
208
187
|
__exportStar(require("./RcsValidationResult.js"), exports);
|
|
209
188
|
__exportStar(require("./RcsWhitelistStatus.js"), exports);
|
|
210
189
|
__exportStar(require("./ReactionResult.js"), exports);
|
|
211
|
-
__exportStar(require("./RecordingDownload.js"), exports);
|
|
212
|
-
__exportStar(require("./RecordingState.js"), exports);
|
|
213
190
|
__exportStar(require("./RefreshedFile.js"), exports);
|
|
214
191
|
__exportStar(require("./RichButton.js"), exports);
|
|
215
192
|
__exportStar(require("./RichCards.js"), exports);
|
|
@@ -239,9 +216,6 @@ __exportStar(require("./SentRichMessageFallbackSms.js"), exports);
|
|
|
239
216
|
__exportStar(require("./SentSmsDetails.js"), exports);
|
|
240
217
|
__exportStar(require("./ShortenedUrl.js"), exports);
|
|
241
218
|
__exportStar(require("./ShortenedUrlWithClickData.js"), exports);
|
|
242
|
-
__exportStar(require("./SilentAuthCheckResponse.js"), exports);
|
|
243
|
-
__exportStar(require("./SilentAuthResponse.js"), exports);
|
|
244
|
-
__exportStar(require("./SimSwapResponse.js"), exports);
|
|
245
219
|
__exportStar(require("./SimulateMessageInput.js"), exports);
|
|
246
220
|
__exportStar(require("./SimulateUserButton.js"), exports);
|
|
247
221
|
__exportStar(require("./SimulateUserMessage.js"), exports);
|
|
@@ -250,9 +224,6 @@ __exportStar(require("./SimulateUserResponse.js"), exports);
|
|
|
250
224
|
__exportStar(require("./SmsContent.js"), exports);
|
|
251
225
|
__exportStar(require("./SmsValidationResult.js"), exports);
|
|
252
226
|
__exportStar(require("./SubmissionResults.js"), exports);
|
|
253
|
-
__exportStar(require("./SubscriberMatchAttributes.js"), exports);
|
|
254
|
-
__exportStar(require("./SubscriberMatchResponse.js"), exports);
|
|
255
|
-
__exportStar(require("./SubscriberMatchResult.js"), exports);
|
|
256
227
|
__exportStar(require("./SubUseCaseEnum.js"), exports);
|
|
257
228
|
__exportStar(require("./SuccessfulConversationUpdate.js"), exports);
|
|
258
229
|
__exportStar(require("./TestAgentResponse.js"), exports);
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
export * as Pinnacle from "./api/index.js";
|
|
2
|
+
export { PinnacleClient } from "./wrapper/PinnacleClient.js";
|
|
2
3
|
export { PinnacleEnvironment } from "./environments.js";
|
|
3
4
|
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,22 +32,13 @@ 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
|
-
};
|
|
38
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
36
|
+
exports.PinnacleTimeoutError = exports.PinnacleError = exports.PinnacleEnvironment = exports.PinnacleClient = exports.Pinnacle = void 0;
|
|
40
37
|
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; } });
|
|
41
40
|
var environments_js_1 = require("./environments.js");
|
|
42
41
|
Object.defineProperty(exports, "PinnacleEnvironment", { enumerable: true, get: function () { return environments_js_1.PinnacleEnvironment; } });
|
|
43
42
|
var index_js_1 = require("./errors/index.js");
|
|
44
43
|
Object.defineProperty(exports, "PinnacleError", { enumerable: true, get: function () { return index_js_1.PinnacleError; } });
|
|
45
44
|
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.23
|
|
1
|
+
export declare const SDK_VERSION = "2.0.23";
|
package/dist/cjs/version.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { PinnacleClient as FernClient } from "../Client.js";
|
|
2
|
-
import { EnhancedMessages } from "./messages/Client.js";
|
|
3
2
|
import { EnhancedTools } from "./tools/Client.js";
|
|
4
|
-
import {
|
|
3
|
+
import { EnhancedMessages } from "./messages/Client.js";
|
|
5
4
|
export declare class PinnacleClient extends FernClient {
|
|
6
5
|
protected _tools: EnhancedTools | undefined;
|
|
7
6
|
protected _messages: EnhancedMessages | undefined;
|
|
8
|
-
protected _voice: EnhancedVoice | undefined;
|
|
9
7
|
get tools(): EnhancedTools;
|
|
10
8
|
get messages(): EnhancedMessages;
|
|
11
|
-
get voice(): EnhancedVoice;
|
|
12
9
|
}
|
|
@@ -2,27 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PinnacleClient = void 0;
|
|
4
4
|
const Client_js_1 = require("../Client.js");
|
|
5
|
-
const Client_js_2 = require("./
|
|
6
|
-
const Client_js_3 = require("./
|
|
7
|
-
const Client_js_4 = require("./voice/Client.js");
|
|
5
|
+
const Client_js_2 = require("./tools/Client.js");
|
|
6
|
+
const Client_js_3 = require("./messages/Client.js");
|
|
8
7
|
class PinnacleClient extends Client_js_1.PinnacleClient {
|
|
9
8
|
get tools() {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
return this._tools;
|
|
9
|
+
var _a;
|
|
10
|
+
return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new Client_js_2.EnhancedTools(this._options)));
|
|
14
11
|
}
|
|
15
12
|
get messages() {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
return this._messages;
|
|
20
|
-
}
|
|
21
|
-
get voice() {
|
|
22
|
-
if (this._voice === undefined) {
|
|
23
|
-
this._voice = new Client_js_4.EnhancedVoice(this._options);
|
|
24
|
-
}
|
|
25
|
-
return this._voice;
|
|
13
|
+
var _a;
|
|
14
|
+
return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_js_3.EnhancedMessages(this._options)));
|
|
26
15
|
}
|
|
27
16
|
}
|
|
28
17
|
exports.PinnacleClient = PinnacleClient;
|
|
@@ -8,6 +8,6 @@ interface ExpressLikeRequest {
|
|
|
8
8
|
originalUrl?: string;
|
|
9
9
|
}
|
|
10
10
|
export declare class EnhancedMessages extends Messages {
|
|
11
|
-
process(req: Request | ExpressLikeRequest, secret?: string): Promise<Pinnacle.MessageEvent | Pinnacle.UserEvent | Pinnacle.FormSubmissionEvent | Pinnacle.CampaignStatusEvent
|
|
11
|
+
process(req: Request | ExpressLikeRequest, secret?: string): Promise<Pinnacle.MessageEvent | Pinnacle.UserEvent | Pinnacle.FormSubmissionEvent | Pinnacle.CampaignStatusEvent>;
|
|
12
12
|
}
|
|
13
13
|
export {};
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Audiences } from "./api/resources/audiences/client/Client.mjs";
|
|
2
2
|
import { Brands } from "./api/resources/brands/client/Client.mjs";
|
|
3
|
-
import { Calls } from "./api/resources/calls/client/Client.mjs";
|
|
4
3
|
import { Campaigns } from "./api/resources/campaigns/client/Client.mjs";
|
|
5
4
|
import { Contacts } from "./api/resources/contacts/client/Client.mjs";
|
|
6
5
|
import { Conversations } from "./api/resources/conversations/client/Client.mjs";
|
|
7
6
|
import { Forms } from "./api/resources/forms/client/Client.mjs";
|
|
8
7
|
import { Messages } from "./api/resources/messages/client/Client.mjs";
|
|
9
|
-
import { Network } from "./api/resources/network/client/Client.mjs";
|
|
10
8
|
import { PhoneNumbers } from "./api/resources/phoneNumbers/client/Client.mjs";
|
|
11
9
|
import { Rcs } from "./api/resources/rcs/client/Client.mjs";
|
|
12
10
|
import { Status } from "./api/resources/status/client/Client.mjs";
|
|
@@ -29,10 +27,8 @@ export declare class PinnacleClient {
|
|
|
29
27
|
protected _phoneNumbers: PhoneNumbers | undefined;
|
|
30
28
|
protected _rcs: Rcs | undefined;
|
|
31
29
|
protected _webhooks: Webhooks | undefined;
|
|
32
|
-
protected _calls: Calls | undefined;
|
|
33
30
|
protected _forms: Forms | undefined;
|
|
34
31
|
protected _campaigns: Campaigns | undefined;
|
|
35
|
-
protected _network: Network | undefined;
|
|
36
32
|
protected _status: Status | undefined;
|
|
37
33
|
protected _tools: Tools | undefined;
|
|
38
34
|
constructor(_options: PinnacleClient.Options);
|
|
@@ -44,10 +40,8 @@ export declare class PinnacleClient {
|
|
|
44
40
|
get phoneNumbers(): PhoneNumbers;
|
|
45
41
|
get rcs(): Rcs;
|
|
46
42
|
get webhooks(): Webhooks;
|
|
47
|
-
get calls(): Calls;
|
|
48
43
|
get forms(): Forms;
|
|
49
44
|
get campaigns(): Campaigns;
|
|
50
|
-
get network(): Network;
|
|
51
45
|
get status(): Status;
|
|
52
46
|
get tools(): Tools;
|
|
53
47
|
}
|