twilio 4.7.2 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base/BaseTwilio.d.ts +1 -0
- package/lib/index.d.ts +52 -36
- package/lib/index.js +32 -51
- package/lib/jwt/AccessToken.d.ts +168 -173
- package/lib/jwt/AccessToken.js +180 -185
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +17 -22
- package/lib/rest/api/v2010/account/application.d.ts +15 -20
- package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +1 -1
- package/lib/rest/api/v2010/account/call/feedback.d.ts +5 -5
- package/lib/rest/api/v2010/account/call/feedbackSummary.d.ts +4 -4
- package/lib/rest/api/v2010/account/call/notification.d.ts +3 -4
- package/lib/rest/api/v2010/account/call/payment.d.ts +10 -10
- package/lib/rest/api/v2010/account/call/recording.d.ts +9 -9
- package/lib/rest/api/v2010/account/call/siprec.d.ts +3 -3
- package/lib/rest/api/v2010/account/call/stream.d.ts +3 -3
- package/lib/rest/api/v2010/account/call.d.ts +2 -2
- package/lib/rest/api/v2010/account/conference/participant.d.ts +1 -1
- package/lib/rest/api/v2010/account/conference/recording.d.ts +9 -9
- package/lib/rest/api/v2010/account/conference.d.ts +4 -4
- package/lib/rest/api/v2010/account/connectApp.d.ts +4 -5
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +33 -38
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +33 -38
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +33 -38
- package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +19 -24
- package/lib/rest/api/v2010/account/message/feedback.d.ts +5 -5
- package/lib/rest/api/v2010/account/message.d.ts +6 -6
- package/lib/rest/api/v2010/account/notification.d.ts +3 -4
- package/lib/rest/api/v2010/account/queue.d.ts +3 -3
- package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +4 -4
- package/lib/rest/api/v2010/account/recording/transcription.d.ts +4 -4
- package/lib/rest/api/v2010/account/recording.d.ts +2 -2
- package/lib/rest/api/v2010/account/shortCode.d.ts +6 -8
- package/lib/rest/api/v2010/account/sip/domain.d.ts +9 -12
- package/lib/rest/api/v2010/account/transcription.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/daily.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/today.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/trigger.d.ts +27 -28
- package/lib/rest/api/v2010/account/usage.d.ts +1 -0
- package/lib/rest/api/v2010/account.d.ts +2 -2
- package/lib/rest/autopilot/v1/assistant/modelBuild.d.ts +1 -1
- package/lib/rest/chat/v1/credential.d.ts +1 -1
- package/lib/rest/chat/v1/service/channel/message.d.ts +1 -1
- package/lib/rest/chat/v1/service/channel.d.ts +1 -1
- package/lib/rest/chat/v1/service/role.d.ts +1 -1
- package/lib/rest/chat/v1/service/user/userChannel.d.ts +1 -1
- package/lib/rest/chat/v2/credential.d.ts +1 -1
- package/lib/rest/chat/v2/service/binding.d.ts +1 -1
- package/lib/rest/chat/v2/service/channel/member.d.ts +1 -1
- package/lib/rest/chat/v2/service/channel/message.d.ts +2 -2
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +5 -5
- package/lib/rest/chat/v2/service/channel.d.ts +2 -2
- package/lib/rest/chat/v2/service/role.d.ts +1 -1
- package/lib/rest/chat/v2/service/user/userBinding.d.ts +1 -1
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -3
- package/lib/rest/chat/v2/service/user.d.ts +1 -1
- package/lib/rest/chat/v3/channel.d.ts +2 -2
- package/lib/rest/content/V1.d.ts +5 -0
- package/lib/rest/content/V1.js +7 -0
- package/lib/rest/content/v1/contentAndApprovals.d.ts +190 -0
- package/lib/rest/content/v1/contentAndApprovals.js +134 -0
- package/lib/rest/conversations/v1/addressConfiguration.d.ts +8 -8
- package/lib/rest/conversations/v1/configuration/webhook.d.ts +9 -9
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +4 -4
- package/lib/rest/conversations/v1/conversation/message.d.ts +8 -8
- package/lib/rest/conversations/v1/conversation/participant.d.ts +4 -4
- package/lib/rest/conversations/v1/conversation/webhook.d.ts +5 -5
- package/lib/rest/conversations/v1/conversation.d.ts +2 -2
- package/lib/rest/conversations/v1/credential.d.ts +1 -1
- package/lib/rest/conversations/v1/participantConversation.d.ts +1 -1
- package/lib/rest/conversations/v1/role.d.ts +1 -1
- package/lib/rest/conversations/v1/service/binding.d.ts +7 -7
- package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +4 -4
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +4 -4
- package/lib/rest/conversations/v1/service/conversation/message.d.ts +8 -8
- package/lib/rest/conversations/v1/service/conversation/participant.d.ts +4 -4
- package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +5 -5
- package/lib/rest/conversations/v1/service/conversation.d.ts +10 -10
- package/lib/rest/conversations/v1/service/participantConversation.d.ts +4 -4
- package/lib/rest/conversations/v1/service/role.d.ts +5 -5
- package/lib/rest/conversations/v1/service/user/userConversation.d.ts +9 -9
- package/lib/rest/conversations/v1/service/user.d.ts +4 -4
- package/lib/rest/conversations/v1/user/userConversation.d.ts +2 -2
- package/lib/rest/conversations/v1/user.d.ts +1 -1
- package/lib/rest/events/v1/sink.d.ts +2 -2
- package/lib/rest/flexApi/V1.d.ts +5 -0
- package/lib/rest/flexApi/V1.js +7 -0
- package/lib/rest/flexApi/v1/assessments.d.ts +255 -10
- package/lib/rest/flexApi/v1/assessments.js +208 -23
- package/lib/rest/flexApi/v1/configuration.d.ts +1 -1
- package/lib/rest/flexApi/v1/flexFlow.d.ts +2 -2
- package/lib/rest/flexApi/v1/insightsConversations.d.ts +172 -0
- package/lib/rest/flexApi/v1/insightsConversations.js +128 -0
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +8 -2
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +4 -4
- package/lib/rest/flexApi/v1/insightsSegments.d.ts +121 -4
- package/lib/rest/flexApi/v1/insightsSegments.js +71 -2
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +2 -2
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +3 -3
- package/lib/rest/flexApi/v1/webChannel.d.ts +1 -1
- package/lib/rest/frontlineApi/v1/user.d.ts +1 -1
- package/lib/rest/insights/v1/call/annotation.d.ts +2 -2
- package/lib/rest/insights/v1/call/callSummary.d.ts +17 -17
- package/lib/rest/insights/v1/call/event.d.ts +2 -2
- package/lib/rest/insights/v1/call/metric.d.ts +2 -2
- package/lib/rest/insights/v1/callSummaries.d.ts +6 -6
- package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +6 -6
- package/lib/rest/insights/v1/conference.d.ts +5 -5
- package/lib/rest/insights/v1/room/participant.d.ts +16 -16
- package/lib/rest/insights/v1/room.d.ts +41 -42
- package/lib/rest/ipMessaging/v1/credential.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/channel/message.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/channel.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/role.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/credential.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/binding.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/channel/member.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +5 -5
- package/lib/rest/ipMessaging/v2/service/channel.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/role.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/user.d.ts +1 -1
- package/lib/rest/lookups/v2/phoneNumber.d.ts +1 -1
- package/lib/rest/media/v1/mediaProcessor.d.ts +6 -7
- package/lib/rest/media/v1/mediaRecording.d.ts +6 -7
- package/lib/rest/media/v1/playerStreamer.d.ts +7 -8
- package/lib/rest/messaging/V1.d.ts +10 -0
- package/lib/rest/messaging/V1.js +16 -0
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +1 -1
- package/lib/rest/messaging/v1/brandRegistration.d.ts +12 -12
- package/lib/rest/messaging/v1/domainCerts.d.ts +4 -4
- package/lib/rest/messaging/v1/domainCerts.js +2 -2
- package/lib/rest/messaging/v1/domainConfigMessagingService.d.ts +121 -0
- package/lib/rest/messaging/v1/domainConfigMessagingService.js +122 -0
- package/lib/rest/messaging/v1/linkshorteningMessagingService.d.ts +109 -0
- package/lib/rest/messaging/v1/linkshorteningMessagingService.js +135 -0
- package/lib/rest/messaging/v1/service.d.ts +7 -9
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +2 -2
- package/lib/rest/microvisor/v1/accountConfig.d.ts +27 -1
- package/lib/rest/microvisor/v1/accountConfig.js +25 -0
- package/lib/rest/microvisor/v1/accountSecret.d.ts +26 -0
- package/lib/rest/microvisor/v1/accountSecret.js +25 -0
- package/lib/rest/microvisor/v1/app/appManifest.d.ts +101 -0
- package/lib/rest/microvisor/v1/app/appManifest.js +115 -0
- package/lib/rest/microvisor/v1/app.d.ts +11 -0
- package/lib/rest/microvisor/v1/app.js +15 -0
- package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +26 -0
- package/lib/rest/microvisor/v1/device/deviceConfig.js +25 -0
- package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +26 -0
- package/lib/rest/microvisor/v1/device/deviceSecret.js +25 -0
- package/lib/rest/monitor/v1/alert.d.ts +3 -4
- package/lib/rest/notify/v1/credential.d.ts +1 -1
- package/lib/rest/notify/v1/service/binding.d.ts +1 -1
- package/lib/rest/notify/v1/service/notification.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +4 -4
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +1 -1
- package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +2 -2
- package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +1 -1
- package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +2 -2
- package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +2 -2
- package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +2 -2
- package/lib/rest/preview/understand/assistant/modelBuild.d.ts +1 -1
- package/lib/rest/preview/wireless/sim.d.ts +12 -16
- package/lib/rest/proxy/v1/service/session/interaction.d.ts +2 -2
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +2 -2
- package/lib/rest/proxy/v1/service/session.d.ts +2 -2
- package/lib/rest/proxy/v1/service.d.ts +2 -2
- package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +1 -1
- package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +1 -1
- package/lib/rest/serverless/v1/service/build.d.ts +2 -2
- package/lib/rest/serverless/v1/service/environment/log.d.ts +1 -1
- package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +1 -1
- package/lib/rest/studio/v1/flow/engagement.d.ts +1 -1
- package/lib/rest/studio/v1/flow/execution.d.ts +1 -1
- package/lib/rest/studio/v1/flow.d.ts +1 -1
- package/lib/rest/studio/v2/flow/execution.d.ts +1 -1
- package/lib/rest/studio/v2/flow/flowRevision.d.ts +1 -1
- package/lib/rest/studio/v2/flow.d.ts +1 -1
- package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
- package/lib/rest/supersim/v1/esimProfile.d.ts +15 -1
- package/lib/rest/supersim/v1/esimProfile.js +6 -0
- package/lib/rest/supersim/v1/fleet.d.ts +7 -9
- package/lib/rest/supersim/v1/ipCommand.d.ts +3 -3
- package/lib/rest/supersim/v1/settingsUpdate.d.ts +1 -1
- package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +1 -1
- package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +1 -1
- package/lib/rest/supersim/v1/sim.d.ts +2 -2
- package/lib/rest/supersim/v1/smsCommand.d.ts +2 -2
- package/lib/rest/supersim/v1/usageRecord.d.ts +2 -2
- package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +2 -2
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +2 -2
- package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +14 -14
- package/lib/rest/taskrouter/v1/workspace/task.d.ts +1 -1
- package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +1 -1
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +12 -12
- package/lib/rest/taskrouter/v1/workspace.d.ts +1 -1
- package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +16 -21
- package/lib/rest/trunking/v1/trunk/recording.d.ts +2 -2
- package/lib/rest/trunking/v1/trunk.d.ts +5 -6
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +4 -4
- package/lib/rest/trusthub/v1/customerProfiles.d.ts +8 -8
- package/lib/rest/trusthub/v1/supportingDocument.d.ts +1 -1
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +4 -4
- package/lib/rest/trusthub/v1/trustProducts.d.ts +8 -8
- package/lib/rest/verify/v2/form.d.ts +1 -1
- package/lib/rest/verify/v2/service/accessToken.d.ts +1 -1
- package/lib/rest/verify/v2/service/entity/challenge.d.ts +4 -4
- package/lib/rest/verify/v2/service/entity/factor.d.ts +3 -3
- package/lib/rest/verify/v2/service/entity/newFactor.d.ts +4 -4
- package/lib/rest/verify/v2/service/verification.d.ts +3 -3
- package/lib/rest/verify/v2/service/verificationCheck.d.ts +1 -1
- package/lib/rest/verify/v2/service/webhook.d.ts +3 -3
- package/lib/rest/verify/v2/verificationAttempt.d.ts +2 -2
- package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +1 -1
- package/lib/rest/video/v1/composition.d.ts +5 -6
- package/lib/rest/video/v1/compositionHook.d.ts +4 -5
- package/lib/rest/video/v1/recording.d.ts +7 -8
- package/lib/rest/video/v1/room/participant/anonymize.d.ts +4 -4
- package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +4 -4
- package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +4 -4
- package/lib/rest/video/v1/room/participant.d.ts +8 -8
- package/lib/rest/video/v1/room/roomRecording.d.ts +4 -4
- package/lib/rest/video/v1/room.d.ts +6 -7
- package/lib/rest/voice/v1/byocTrunk.d.ts +9 -12
- package/lib/rest/wireless/v1/command.d.ts +4 -4
- package/lib/rest/wireless/v1/sim/usageRecord.d.ts +1 -1
- package/lib/rest/wireless/v1/sim.d.ts +17 -22
- package/lib/rest/wireless/v1/usageRecord.d.ts +4 -4
- package/package.json +2 -5
package/lib/base/BaseTwilio.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -1,39 +1,55 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ITwilio from "./rest/Twilio";
|
|
2
2
|
import * as webhooks from "./webhooks/webhooks";
|
|
3
|
-
import
|
|
4
|
-
import { ClientOpts } from "./base/BaseTwilio";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
3
|
+
import IRequestClient from "./base/RequestClient";
|
|
4
|
+
import type { ClientOpts as IClientOpts } from "./base/BaseTwilio";
|
|
5
|
+
import IAccessToken from "./jwt/AccessToken";
|
|
6
|
+
import IClientCapability from "./jwt/ClientCapability";
|
|
7
|
+
import ITaskRouterCapability from "./jwt/taskrouter/TaskRouterCapability";
|
|
8
8
|
import * as taskRouterUtil from "./jwt/taskrouter/util";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Twilio
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
9
|
+
import IVoiceResponse from "./twiml/VoiceResponse";
|
|
10
|
+
import IMessagingResponse from "./twiml/MessagingResponse";
|
|
11
|
+
import IFaxResponse from "./twiml/FaxResponse";
|
|
12
|
+
declare function TwilioSDK(accountSid?: string, authToken?: string, opts?: IClientOpts): TwilioSDK.Twilio;
|
|
13
|
+
declare namespace TwilioSDK {
|
|
14
|
+
type Twilio = ITwilio;
|
|
15
|
+
const Twilio: typeof ITwilio;
|
|
16
|
+
namespace jwt {
|
|
17
|
+
type AccessToken = IAccessToken;
|
|
18
|
+
const AccessToken: typeof IAccessToken;
|
|
19
|
+
type ClientCapability = IClientCapability;
|
|
20
|
+
const ClientCapability: typeof IClientCapability;
|
|
21
|
+
namespace taskrouter {
|
|
22
|
+
type TaskRouterCapability = ITaskRouterCapability;
|
|
23
|
+
const TaskRouterCapability: typeof ITaskRouterCapability;
|
|
24
|
+
const util: typeof taskRouterUtil;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
namespace twiml {
|
|
28
|
+
type VoiceResponse = IVoiceResponse;
|
|
29
|
+
const VoiceResponse: typeof IVoiceResponse;
|
|
30
|
+
type MessagingResponse = IMessagingResponse;
|
|
31
|
+
const MessagingResponse: typeof IMessagingResponse;
|
|
32
|
+
type FaxResponse = IFaxResponse;
|
|
33
|
+
const FaxResponse: typeof IFaxResponse;
|
|
34
|
+
}
|
|
35
|
+
type RequestClient = IRequestClient;
|
|
36
|
+
const RequestClient: typeof IRequestClient;
|
|
37
|
+
type validateBody = typeof webhooks.validateBody;
|
|
38
|
+
const validateBody: typeof webhooks.validateBody;
|
|
39
|
+
type validateRequest = typeof webhooks.validateRequest;
|
|
40
|
+
const validateRequest: typeof webhooks.validateRequest;
|
|
41
|
+
type validateRequestWithBody = typeof webhooks.validateRequestWithBody;
|
|
42
|
+
const validateRequestWithBody: typeof webhooks.validateRequestWithBody;
|
|
43
|
+
type validateExpressRequest = typeof webhooks.validateExpressRequest;
|
|
44
|
+
const validateExpressRequest: typeof webhooks.validateExpressRequest;
|
|
45
|
+
type validateIncomingRequest = typeof webhooks.validateIncomingRequest;
|
|
46
|
+
const validateIncomingRequest: typeof webhooks.validateIncomingRequest;
|
|
47
|
+
type getExpectedBodyHash = typeof webhooks.getExpectedBodyHash;
|
|
48
|
+
const getExpectedBodyHash: typeof webhooks.getExpectedBodyHash;
|
|
49
|
+
type getExpectedTwilioSignature = typeof webhooks.getExpectedTwilioSignature;
|
|
50
|
+
const getExpectedTwilioSignature: typeof webhooks.getExpectedTwilioSignature;
|
|
51
|
+
type webhook = typeof webhooks.webhook;
|
|
52
|
+
const webhook: typeof webhooks.webhook;
|
|
53
|
+
type ClientOpts = IClientOpts;
|
|
37
54
|
}
|
|
38
|
-
|
|
39
|
-
export = initializer;
|
|
55
|
+
export = TwilioSDK;
|
package/lib/index.js
CHANGED
|
@@ -36,54 +36,35 @@ const VoiceResponse_1 = __importDefault(require("./twiml/VoiceResponse"));
|
|
|
36
36
|
const MessagingResponse_1 = __importDefault(require("./twiml/MessagingResponse"));
|
|
37
37
|
const FaxResponse_1 = __importDefault(require("./twiml/FaxResponse"));
|
|
38
38
|
// Shorthand to automatically create a RestClient
|
|
39
|
-
|
|
40
|
-
return new
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
get: function () {
|
|
72
|
-
return MessagingResponse_1.default;
|
|
73
|
-
},
|
|
74
|
-
});
|
|
75
|
-
Object.defineProperty(initializer.twiml, "FaxResponse", {
|
|
76
|
-
get: function () {
|
|
77
|
-
return FaxResponse_1.default;
|
|
78
|
-
},
|
|
79
|
-
});
|
|
80
|
-
// Setup webhook helper functionality
|
|
81
|
-
initializer.validateBody = webhooks.validateBody;
|
|
82
|
-
initializer.validateRequest = webhooks.validateRequest;
|
|
83
|
-
initializer.validateRequestWithBody = webhooks.validateRequestWithBody;
|
|
84
|
-
initializer.validateIncomingRequest = webhooks.validateIncomingRequest;
|
|
85
|
-
initializer.validateExpressRequest = webhooks.validateExpressRequest;
|
|
86
|
-
initializer.getExpectedBodyHash = webhooks.getExpectedBodyHash;
|
|
87
|
-
initializer.getExpectedTwilioSignature = webhooks.getExpectedTwilioSignature;
|
|
88
|
-
initializer.webhook = webhooks.webhook;
|
|
89
|
-
module.exports = initializer;
|
|
39
|
+
function TwilioSDK(accountSid, authToken, opts) {
|
|
40
|
+
return new TwilioSDK.Twilio(accountSid, authToken, opts);
|
|
41
|
+
}
|
|
42
|
+
(function (TwilioSDK) {
|
|
43
|
+
TwilioSDK.Twilio = Twilio_1.default;
|
|
44
|
+
let jwt;
|
|
45
|
+
(function (jwt) {
|
|
46
|
+
jwt.AccessToken = AccessToken_1.default;
|
|
47
|
+
jwt.ClientCapability = ClientCapability_1.default;
|
|
48
|
+
let taskrouter;
|
|
49
|
+
(function (taskrouter) {
|
|
50
|
+
taskrouter.TaskRouterCapability = TaskRouterCapability_1.default;
|
|
51
|
+
taskrouter.util = taskRouterUtil;
|
|
52
|
+
})(taskrouter = jwt.taskrouter || (jwt.taskrouter = {}));
|
|
53
|
+
})(jwt = TwilioSDK.jwt || (TwilioSDK.jwt = {}));
|
|
54
|
+
let twiml;
|
|
55
|
+
(function (twiml) {
|
|
56
|
+
twiml.VoiceResponse = VoiceResponse_1.default;
|
|
57
|
+
twiml.MessagingResponse = MessagingResponse_1.default;
|
|
58
|
+
twiml.FaxResponse = FaxResponse_1.default;
|
|
59
|
+
})(twiml = TwilioSDK.twiml || (TwilioSDK.twiml = {}));
|
|
60
|
+
TwilioSDK.RequestClient = RequestClient_1.default;
|
|
61
|
+
TwilioSDK.validateBody = webhooks.validateBody;
|
|
62
|
+
TwilioSDK.validateRequest = webhooks.validateRequest;
|
|
63
|
+
TwilioSDK.validateRequestWithBody = webhooks.validateRequestWithBody;
|
|
64
|
+
TwilioSDK.validateExpressRequest = webhooks.validateExpressRequest;
|
|
65
|
+
TwilioSDK.validateIncomingRequest = webhooks.validateIncomingRequest;
|
|
66
|
+
TwilioSDK.getExpectedBodyHash = webhooks.getExpectedBodyHash;
|
|
67
|
+
TwilioSDK.getExpectedTwilioSignature = webhooks.getExpectedTwilioSignature;
|
|
68
|
+
TwilioSDK.webhook = webhooks.webhook;
|
|
69
|
+
})(TwilioSDK || (TwilioSDK = {}));
|
|
70
|
+
module.exports = TwilioSDK;
|
package/lib/jwt/AccessToken.d.ts
CHANGED
|
@@ -1,171 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
key?: TKey;
|
|
3
|
-
constructor(opts?: TOptions);
|
|
4
|
-
abstract toPayload(): TPayload;
|
|
5
|
-
}
|
|
6
|
-
export interface TaskRouterGrantOptions {
|
|
7
|
-
workspaceSid?: string;
|
|
8
|
-
workerSid?: string;
|
|
9
|
-
role?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface TaskRouterGrantPayload {
|
|
12
|
-
workspace_sid?: string;
|
|
13
|
-
worker_sid?: string;
|
|
14
|
-
role?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface ChatGrantOptions {
|
|
17
|
-
serviceSid?: string;
|
|
18
|
-
endpointId?: string;
|
|
19
|
-
deploymentRoleSid?: string;
|
|
20
|
-
pushCredentialSid?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface ChatGrantPayload {
|
|
23
|
-
service_sid?: string;
|
|
24
|
-
endpoint_id?: string;
|
|
25
|
-
deployment_role_sid?: string;
|
|
26
|
-
push_credential_sid?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface VideoGrantOptions {
|
|
29
|
-
room?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface VideoGrantPayload {
|
|
32
|
-
room?: string;
|
|
33
|
-
}
|
|
34
|
-
export interface SyncGrantOptions {
|
|
35
|
-
serviceSid?: string;
|
|
36
|
-
endpointId?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface SyncGrantPayload {
|
|
39
|
-
service_sid?: string;
|
|
40
|
-
endpoint_id?: string;
|
|
41
|
-
}
|
|
42
|
-
export interface VoiceGrantOptions {
|
|
43
|
-
incomingAllow?: boolean;
|
|
44
|
-
outgoingApplicationSid?: string;
|
|
45
|
-
outgoingApplicationParams?: object;
|
|
46
|
-
pushCredentialSid?: string;
|
|
47
|
-
endpointId?: string;
|
|
48
|
-
}
|
|
49
|
-
export interface VoiceGrantPayload {
|
|
50
|
-
incoming?: {
|
|
51
|
-
allow: boolean;
|
|
52
|
-
};
|
|
53
|
-
outgoing?: {
|
|
54
|
-
application_sid: string;
|
|
55
|
-
params?: object;
|
|
56
|
-
};
|
|
57
|
-
push_credential_sid?: string;
|
|
58
|
-
endpoint_id?: string;
|
|
59
|
-
}
|
|
60
|
-
export interface PlaybackGrantOptions {
|
|
61
|
-
grant?: object;
|
|
62
|
-
}
|
|
63
|
-
export interface PlaybackGrantPayload {
|
|
64
|
-
grant?: object;
|
|
65
|
-
}
|
|
66
|
-
export interface AccessTokenOptions {
|
|
67
|
-
/**
|
|
68
|
-
* Time to live in seconds
|
|
69
|
-
*/
|
|
70
|
-
ttl?: number;
|
|
71
|
-
/**
|
|
72
|
-
* The identity of the first person. Required.
|
|
73
|
-
*/
|
|
74
|
-
identity: string;
|
|
75
|
-
/**
|
|
76
|
-
* Time from epoch in seconds for not before value
|
|
77
|
-
*/
|
|
78
|
-
nbf?: number;
|
|
79
|
-
/**
|
|
80
|
-
* The region value associated with this account
|
|
81
|
-
*/
|
|
82
|
-
region?: string;
|
|
83
|
-
}
|
|
84
|
-
type ALGORITHMS = "HS256" | "HS384" | "HS512";
|
|
85
|
-
declare class TaskRouterGrant extends Grant<TaskRouterGrantOptions, TaskRouterGrantPayload, "task_router"> implements TaskRouterGrantOptions {
|
|
86
|
-
workspaceSid?: string;
|
|
87
|
-
workerSid?: string;
|
|
88
|
-
role?: string;
|
|
89
|
-
/**
|
|
90
|
-
* @param options - ...
|
|
91
|
-
* @param options.workspaceSid - The workspace unique ID
|
|
92
|
-
* @param options.workerSid - The worker unique ID
|
|
93
|
-
* @param options.role - The role of the grant
|
|
94
|
-
*/
|
|
95
|
-
constructor(options?: TaskRouterGrantOptions);
|
|
96
|
-
toPayload(): TaskRouterGrantPayload;
|
|
97
|
-
}
|
|
98
|
-
export declare class ChatGrant extends Grant<ChatGrantOptions, ChatGrantPayload, "chat"> implements ChatGrantOptions {
|
|
99
|
-
serviceSid?: string;
|
|
100
|
-
endpointId?: string;
|
|
101
|
-
deploymentRoleSid?: string;
|
|
102
|
-
pushCredentialSid?: string;
|
|
103
|
-
/**
|
|
104
|
-
* @param options - ...
|
|
105
|
-
* @param options.serviceSid - The service unique ID
|
|
106
|
-
* @param options.endpointId - The endpoint ID
|
|
107
|
-
* @param options.deploymentRoleSid - SID of the deployment role to be
|
|
108
|
-
* assigned to the user
|
|
109
|
-
* @param options.pushCredentialSid - The Push Credentials SID
|
|
110
|
-
*/
|
|
111
|
-
constructor(options?: ChatGrantOptions);
|
|
112
|
-
toPayload(): ChatGrantPayload;
|
|
113
|
-
}
|
|
114
|
-
declare class VideoGrant extends Grant<VideoGrantOptions, VideoGrantPayload, "video"> implements VideoGrantOptions {
|
|
115
|
-
room?: string;
|
|
116
|
-
/**
|
|
117
|
-
* @param options - ...
|
|
118
|
-
* @param options.room - The Room name or Room sid.
|
|
119
|
-
*/
|
|
120
|
-
constructor(options?: VideoGrantOptions);
|
|
121
|
-
toPayload(): VideoGrantPayload;
|
|
122
|
-
}
|
|
123
|
-
declare class SyncGrant extends Grant<SyncGrantOptions, SyncGrantPayload, "data_sync"> implements SyncGrantOptions {
|
|
124
|
-
serviceSid?: string;
|
|
125
|
-
endpointId?: string;
|
|
126
|
-
/**
|
|
127
|
-
* @param options.serviceSid - The service unique ID
|
|
128
|
-
* @param options.endpointId - The endpoint ID
|
|
129
|
-
*/
|
|
130
|
-
constructor(options?: SyncGrantOptions);
|
|
131
|
-
toPayload(): SyncGrantPayload;
|
|
132
|
-
}
|
|
133
|
-
declare class VoiceGrant extends Grant<VoiceGrantOptions, VoiceGrantPayload, "voice"> implements VoiceGrantOptions {
|
|
134
|
-
incomingAllow?: boolean;
|
|
135
|
-
outgoingApplicationSid?: string;
|
|
136
|
-
outgoingApplicationParams?: object;
|
|
137
|
-
pushCredentialSid?: string;
|
|
138
|
-
endpointId?: string;
|
|
139
|
-
/**
|
|
140
|
-
* @param options - ...
|
|
141
|
-
* @param options.incomingAllow - Whether or not this endpoint is allowed to receive incoming calls as grants.identity
|
|
142
|
-
* @param options.outgoingApplicationSid - application sid to call when placing outgoing call
|
|
143
|
-
* @param options.outgoingApplicationParams - request params to pass to the application
|
|
144
|
-
* @param options.pushCredentialSid - Push Credential Sid to use when registering to receive incoming call notifications
|
|
145
|
-
* @param options.endpointId - Specify an endpoint identifier for this device, which will allow the developer
|
|
146
|
-
* to direct calls to a specific endpoint when multiple devices are associated with a single identity
|
|
147
|
-
*/
|
|
148
|
-
constructor(options?: VoiceGrantOptions);
|
|
149
|
-
toPayload(): VoiceGrantPayload;
|
|
150
|
-
}
|
|
151
|
-
declare class PlaybackGrant extends Grant<PlaybackGrantOptions, PlaybackGrantPayload, "player"> implements PlaybackGrantOptions {
|
|
152
|
-
grant?: object;
|
|
153
|
-
/**
|
|
154
|
-
* @param options - ...
|
|
155
|
-
* @param options.grant - The PlaybackGrant retrieved from Twilio's API
|
|
156
|
-
*/
|
|
157
|
-
constructor(options?: PlaybackGrantOptions);
|
|
158
|
-
toPayload(): PlaybackGrantPayload;
|
|
159
|
-
}
|
|
160
|
-
export default class AccessToken implements AccessTokenOptions {
|
|
1
|
+
declare class AccessToken implements AccessToken.AccessTokenOptions {
|
|
161
2
|
static DEFAULT_ALGORITHM: "HS256";
|
|
162
|
-
static ALGORITHMS:
|
|
163
|
-
static ChatGrant: typeof ChatGrant;
|
|
164
|
-
static VoiceGrant: typeof VoiceGrant;
|
|
165
|
-
static SyncGrant: typeof SyncGrant;
|
|
166
|
-
static VideoGrant: typeof VideoGrant;
|
|
167
|
-
static TaskRouterGrant: typeof TaskRouterGrant;
|
|
168
|
-
static PlaybackGrant: typeof PlaybackGrant;
|
|
3
|
+
static ALGORITHMS: string[];
|
|
169
4
|
accountSid: string;
|
|
170
5
|
keySid: string;
|
|
171
6
|
secret: string;
|
|
@@ -173,7 +8,7 @@ export default class AccessToken implements AccessTokenOptions {
|
|
|
173
8
|
identity: string;
|
|
174
9
|
nbf?: number;
|
|
175
10
|
region?: string;
|
|
176
|
-
grants: Grant<any, any, any>[];
|
|
11
|
+
grants: AccessToken.Grant<any, any, any>[];
|
|
177
12
|
/**
|
|
178
13
|
* @param accountSid - The account's unique ID to which access is scoped
|
|
179
14
|
* @param keySid - The signing key's unique ID
|
|
@@ -184,8 +19,168 @@ export default class AccessToken implements AccessTokenOptions {
|
|
|
184
19
|
* @param options.nbf - Time from epoch in seconds for not before value
|
|
185
20
|
* @param options.region - The region value associated with this account
|
|
186
21
|
*/
|
|
187
|
-
constructor(accountSid: string, keySid: string, secret: string, options: AccessTokenOptions);
|
|
188
|
-
addGrant<T extends Grant<any, any, any>>(grant: T): void;
|
|
189
|
-
toJwt(algorithm?:
|
|
190
|
-
}
|
|
191
|
-
|
|
22
|
+
constructor(accountSid: string, keySid: string, secret: string, options: AccessToken.AccessTokenOptions);
|
|
23
|
+
addGrant<T extends AccessToken.Grant<any, any, any>>(grant: T): void;
|
|
24
|
+
toJwt(algorithm?: "HS256" | "HS384" | "HS512"): string;
|
|
25
|
+
}
|
|
26
|
+
declare namespace AccessToken {
|
|
27
|
+
abstract class Grant<TOptions, TPayload, TKey> {
|
|
28
|
+
key: TKey;
|
|
29
|
+
protected constructor(key: TKey);
|
|
30
|
+
abstract toPayload(): TPayload;
|
|
31
|
+
}
|
|
32
|
+
interface TaskRouterGrantOptions {
|
|
33
|
+
workspaceSid?: string;
|
|
34
|
+
workerSid?: string;
|
|
35
|
+
role?: string;
|
|
36
|
+
}
|
|
37
|
+
interface TaskRouterGrantPayload {
|
|
38
|
+
workspace_sid?: string;
|
|
39
|
+
worker_sid?: string;
|
|
40
|
+
role?: string;
|
|
41
|
+
}
|
|
42
|
+
interface ChatGrantOptions {
|
|
43
|
+
serviceSid?: string;
|
|
44
|
+
endpointId?: string;
|
|
45
|
+
deploymentRoleSid?: string;
|
|
46
|
+
pushCredentialSid?: string;
|
|
47
|
+
}
|
|
48
|
+
interface ChatGrantPayload {
|
|
49
|
+
service_sid?: string;
|
|
50
|
+
endpoint_id?: string;
|
|
51
|
+
deployment_role_sid?: string;
|
|
52
|
+
push_credential_sid?: string;
|
|
53
|
+
}
|
|
54
|
+
interface VideoGrantOptions {
|
|
55
|
+
room?: string;
|
|
56
|
+
}
|
|
57
|
+
interface VideoGrantPayload {
|
|
58
|
+
room?: string;
|
|
59
|
+
}
|
|
60
|
+
interface SyncGrantOptions {
|
|
61
|
+
serviceSid?: string;
|
|
62
|
+
endpointId?: string;
|
|
63
|
+
}
|
|
64
|
+
interface SyncGrantPayload {
|
|
65
|
+
service_sid?: string;
|
|
66
|
+
endpoint_id?: string;
|
|
67
|
+
}
|
|
68
|
+
interface VoiceGrantOptions {
|
|
69
|
+
incomingAllow?: boolean;
|
|
70
|
+
outgoingApplicationSid?: string;
|
|
71
|
+
outgoingApplicationParams?: object;
|
|
72
|
+
pushCredentialSid?: string;
|
|
73
|
+
endpointId?: string;
|
|
74
|
+
}
|
|
75
|
+
interface VoiceGrantPayload {
|
|
76
|
+
incoming?: {
|
|
77
|
+
allow: boolean;
|
|
78
|
+
};
|
|
79
|
+
outgoing?: {
|
|
80
|
+
application_sid: string;
|
|
81
|
+
params?: object;
|
|
82
|
+
};
|
|
83
|
+
push_credential_sid?: string;
|
|
84
|
+
endpoint_id?: string;
|
|
85
|
+
}
|
|
86
|
+
interface PlaybackGrantOptions {
|
|
87
|
+
grant?: object;
|
|
88
|
+
}
|
|
89
|
+
interface PlaybackGrantPayload {
|
|
90
|
+
grant?: object;
|
|
91
|
+
}
|
|
92
|
+
interface AccessTokenOptions {
|
|
93
|
+
/**
|
|
94
|
+
* Time to live in seconds
|
|
95
|
+
*/
|
|
96
|
+
ttl?: number;
|
|
97
|
+
/**
|
|
98
|
+
* The identity of the first person. Required.
|
|
99
|
+
*/
|
|
100
|
+
identity: string;
|
|
101
|
+
/**
|
|
102
|
+
* Time from epoch in seconds for not before value
|
|
103
|
+
*/
|
|
104
|
+
nbf?: number;
|
|
105
|
+
/**
|
|
106
|
+
* The region value associated with this account
|
|
107
|
+
*/
|
|
108
|
+
region?: string;
|
|
109
|
+
}
|
|
110
|
+
class TaskRouterGrant extends Grant<TaskRouterGrantOptions, TaskRouterGrantPayload, "task_router"> implements TaskRouterGrantOptions {
|
|
111
|
+
workspaceSid?: string;
|
|
112
|
+
workerSid?: string;
|
|
113
|
+
role?: string;
|
|
114
|
+
/**
|
|
115
|
+
* @param options - ...
|
|
116
|
+
* @param options.workspaceSid - The workspace unique ID
|
|
117
|
+
* @param options.workerSid - The worker unique ID
|
|
118
|
+
* @param options.role - The role of the grant
|
|
119
|
+
*/
|
|
120
|
+
constructor(options?: TaskRouterGrantOptions);
|
|
121
|
+
toPayload(): TaskRouterGrantPayload;
|
|
122
|
+
}
|
|
123
|
+
class ChatGrant extends Grant<ChatGrantOptions, ChatGrantPayload, "chat"> implements ChatGrantOptions {
|
|
124
|
+
serviceSid?: string;
|
|
125
|
+
endpointId?: string;
|
|
126
|
+
deploymentRoleSid?: string;
|
|
127
|
+
pushCredentialSid?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @param options - ...
|
|
130
|
+
* @param options.serviceSid - The service unique ID
|
|
131
|
+
* @param options.endpointId - The endpoint ID
|
|
132
|
+
* @param options.deploymentRoleSid - SID of the deployment role to be
|
|
133
|
+
* assigned to the user
|
|
134
|
+
* @param options.pushCredentialSid - The Push Credentials SID
|
|
135
|
+
*/
|
|
136
|
+
constructor(options?: ChatGrantOptions);
|
|
137
|
+
toPayload(): ChatGrantPayload;
|
|
138
|
+
}
|
|
139
|
+
class VideoGrant extends Grant<VideoGrantOptions, VideoGrantPayload, "video"> implements VideoGrantOptions {
|
|
140
|
+
room?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @param options - ...
|
|
143
|
+
* @param options.room - The Room name or Room sid.
|
|
144
|
+
*/
|
|
145
|
+
constructor(options?: VideoGrantOptions);
|
|
146
|
+
toPayload(): VideoGrantPayload;
|
|
147
|
+
}
|
|
148
|
+
class SyncGrant extends Grant<SyncGrantOptions, SyncGrantPayload, "data_sync"> implements SyncGrantOptions {
|
|
149
|
+
serviceSid?: string;
|
|
150
|
+
endpointId?: string;
|
|
151
|
+
/**
|
|
152
|
+
* @param options.serviceSid - The service unique ID
|
|
153
|
+
* @param options.endpointId - The endpoint ID
|
|
154
|
+
*/
|
|
155
|
+
constructor(options?: SyncGrantOptions);
|
|
156
|
+
toPayload(): SyncGrantPayload;
|
|
157
|
+
}
|
|
158
|
+
class VoiceGrant extends Grant<VoiceGrantOptions, VoiceGrantPayload, "voice"> implements VoiceGrantOptions {
|
|
159
|
+
incomingAllow?: boolean;
|
|
160
|
+
outgoingApplicationSid?: string;
|
|
161
|
+
outgoingApplicationParams?: object;
|
|
162
|
+
pushCredentialSid?: string;
|
|
163
|
+
endpointId?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @param options - ...
|
|
166
|
+
* @param options.incomingAllow - Whether or not this endpoint is allowed to receive incoming calls as grants.identity
|
|
167
|
+
* @param options.outgoingApplicationSid - application sid to call when placing outgoing call
|
|
168
|
+
* @param options.outgoingApplicationParams - request params to pass to the application
|
|
169
|
+
* @param options.pushCredentialSid - Push Credential Sid to use when registering to receive incoming call notifications
|
|
170
|
+
* @param options.endpointId - Specify an endpoint identifier for this device, which will allow the developer
|
|
171
|
+
* to direct calls to a specific endpoint when multiple devices are associated with a single identity
|
|
172
|
+
*/
|
|
173
|
+
constructor(options?: VoiceGrantOptions);
|
|
174
|
+
toPayload(): VoiceGrantPayload;
|
|
175
|
+
}
|
|
176
|
+
class PlaybackGrant extends Grant<PlaybackGrantOptions, PlaybackGrantPayload, "player"> implements PlaybackGrantOptions {
|
|
177
|
+
grant?: object;
|
|
178
|
+
/**
|
|
179
|
+
* @param options - ...
|
|
180
|
+
* @param options.grant - The PlaybackGrant retrieved from Twilio's API
|
|
181
|
+
*/
|
|
182
|
+
constructor(options?: PlaybackGrantOptions);
|
|
183
|
+
toPayload(): PlaybackGrantPayload;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
export = AccessToken;
|