@rc-ex/core 1.3.14 → 1.4.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/FormData.d.ts +0 -1
- package/lib/Utils.d.ts +0 -1
- package/lib/definitions/AccountPhoneNumberInfo.d.ts +4 -0
- package/lib/definitions/ActivePermissionResource.d.ts +1 -1
- package/lib/definitions/AssignPhoneNumberRequest.d.ts +5 -1
- package/lib/definitions/Attachment.d.ts +0 -2
- package/lib/definitions/AuthCodeTokenRequest.d.ts +30 -0
- package/lib/definitions/{TMTaskInfoRecurrence.js → AuthCodeTokenRequest.js} +1 -1
- package/lib/definitions/AuthCodeTokenRequest.js.map +1 -0
- package/lib/definitions/AuthorizeParameters.d.ts +92 -0
- package/lib/definitions/{SessionInfoResponse.js → AuthorizeParameters.js} +1 -1
- package/lib/definitions/AuthorizeParameters.js.map +1 -0
- package/lib/definitions/AuthorizeRequest.d.ts +39 -42
- package/lib/definitions/BaseCallLogRecord.d.ts +0 -1
- package/lib/definitions/BaseTokenRequest.d.ts +41 -0
- package/lib/definitions/{IntrospectTokenRequest.js → BaseTokenRequest.js} +1 -1
- package/lib/definitions/BaseTokenRequest.js.map +1 -0
- package/lib/definitions/CallLogRecord.d.ts +0 -1
- package/lib/definitions/CallLogRecordLegInfo.d.ts +0 -1
- package/lib/definitions/ClientAuthJwtModel.d.ts +15 -0
- package/lib/definitions/{TokenIntrospectionResponse.js → ClientAuthJwtModel.js} +1 -1
- package/lib/definitions/ClientAuthJwtModel.js.map +1 -0
- package/lib/definitions/ClientCredentialsBase.d.ts +10 -0
- package/lib/definitions/ClientCredentialsBase.js +3 -0
- package/lib/definitions/ClientCredentialsBase.js.map +1 -0
- package/lib/definitions/ClientCredentialsByAccount.d.ts +15 -0
- package/lib/definitions/ClientCredentialsByAccount.js +3 -0
- package/lib/definitions/ClientCredentialsByAccount.js.map +1 -0
- package/lib/definitions/ClientCredentialsByBrand.d.ts +15 -0
- package/lib/definitions/ClientCredentialsByBrand.js +3 -0
- package/lib/definitions/ClientCredentialsByBrand.js.map +1 -0
- package/lib/definitions/ClientCredentialsByPartnerAccount.d.ts +20 -0
- package/lib/definitions/{SocMsgListIdentitiesParameters.js → ClientCredentialsByPartnerAccount.js} +1 -1
- package/lib/definitions/ClientCredentialsByPartnerAccount.js.map +1 -0
- package/lib/definitions/ClientCredentialsTokenRequest.d.ts +25 -0
- package/lib/definitions/{TMCreateTaskRequestRecurrence.js → ClientCredentialsTokenRequest.js} +1 -1
- package/lib/definitions/ClientCredentialsTokenRequest.js.map +1 -0
- package/lib/definitions/CompanyAnsweringRuleRequest.d.ts +2 -1
- package/lib/definitions/DeviceCodeTokenRequest.d.ts +18 -0
- package/lib/definitions/DeviceCodeTokenRequest.js +3 -0
- package/lib/definitions/DeviceCodeTokenRequest.js.map +1 -0
- package/lib/definitions/DeviceEmergencyInfo.d.ts +2 -2
- package/lib/definitions/EventRecurrenceInfo.d.ts +25 -0
- package/lib/definitions/EventRecurrenceInfo.js +3 -0
- package/lib/definitions/EventRecurrenceInfo.js.map +1 -0
- package/lib/definitions/ExtensionCreationResponse.d.ts +1 -1
- package/lib/definitions/FaxResponseTo.d.ts +11 -0
- package/lib/definitions/GetConferencingInfoResponse.d.ts +5 -0
- package/lib/definitions/GetTokenRequest.d.ts +86 -45
- package/lib/definitions/GuestTokenRequest.d.ts +22 -0
- package/lib/definitions/GuestTokenRequest.js +3 -0
- package/lib/definitions/GuestTokenRequest.js.map +1 -0
- package/lib/definitions/IdentityExtraValues.d.ts +1 -1
- package/lib/definitions/IdentityModel.d.ts +28 -64
- package/lib/definitions/IvrPinTokenRequest.d.ts +16 -0
- package/lib/definitions/IvrPinTokenRequest.js +3 -0
- package/lib/definitions/IvrPinTokenRequest.js.map +1 -0
- package/lib/definitions/JobStatusResponse.d.ts +7 -0
- package/lib/definitions/JobStatusResponseResponse.d.ts +39 -0
- package/lib/definitions/JobStatusResponseResponse.js +3 -0
- package/lib/definitions/JobStatusResponseResponse.js.map +1 -0
- package/lib/definitions/JwtTokenRequest.d.ts +19 -0
- package/lib/definitions/JwtTokenRequest.js +3 -0
- package/lib/definitions/JwtTokenRequest.js.map +1 -0
- package/lib/definitions/ListCompanyMessageTemplatesParameters.d.ts +11 -0
- package/lib/definitions/ListCompanyMessageTemplatesParameters.js +3 -0
- package/lib/definitions/ListCompanyMessageTemplatesParameters.js.map +1 -0
- package/lib/definitions/{SocMsgListIdentitiesParameters.d.ts → ListSocialMessagingIdentitiesParameters.d.ts} +7 -7
- package/lib/definitions/ListSocialMessagingIdentitiesParameters.js +3 -0
- package/lib/definitions/ListSocialMessagingIdentitiesParameters.js.map +1 -0
- package/lib/definitions/ListUserMessageTemplatesParameters.d.ts +15 -0
- package/lib/definitions/ListUserMessageTemplatesParameters.js +3 -0
- package/lib/definitions/ListUserMessageTemplatesParameters.js.map +1 -0
- package/lib/definitions/MessageStatusCounts.d.ts +2 -1
- package/lib/definitions/MessageStoreCallerInfoResponseTo.d.ts +4 -0
- package/lib/definitions/MessageTemplateRequest.d.ts +17 -0
- package/lib/definitions/MessageTemplateRequest.js +3 -0
- package/lib/definitions/MessageTemplateRequest.js.map +1 -0
- package/lib/definitions/MessageTemplateResponse.d.ts +23 -0
- package/lib/definitions/MessageTemplateResponse.js +3 -0
- package/lib/definitions/MessageTemplateResponse.js.map +1 -0
- package/lib/definitions/MessageTemplateUpdateRequest.d.ts +16 -0
- package/lib/definitions/MessageTemplateUpdateRequest.js +3 -0
- package/lib/definitions/MessageTemplateUpdateRequest.js.map +1 -0
- package/lib/definitions/MessageTemplatesListResponse.d.ts +8 -0
- package/lib/definitions/MessageTemplatesListResponse.js +3 -0
- package/lib/definitions/MessageTemplatesListResponse.js.map +1 -0
- package/lib/definitions/OtpTokenRequest.d.ts +16 -0
- package/lib/definitions/OtpTokenRequest.js +3 -0
- package/lib/definitions/OtpTokenRequest.js.map +1 -0
- package/lib/definitions/ReadGlipPostsNewParameters.d.ts +1 -1
- package/lib/definitions/RefreshTokenRequest.d.ts +17 -0
- package/lib/definitions/RefreshTokenRequest.js +3 -0
- package/lib/definitions/RefreshTokenRequest.js.map +1 -0
- package/lib/definitions/RegSessionModelSettings.d.ts +9 -1
- package/lib/definitions/RegistrantBaseModel.d.ts +4 -0
- package/lib/definitions/RegistrantBaseModelWithQuestionnaire.d.ts +4 -0
- package/lib/definitions/RegistrantMinimalModel.d.ts +4 -0
- package/lib/definitions/RegistrantModelResponsePostWithQuestionnaire.d.ts +4 -0
- package/lib/definitions/RegistrantModelWithQuestionnaire.d.ts +4 -0
- package/lib/definitions/RevokeTokenRequest.d.ts +7 -3
- package/lib/definitions/RoleResource.d.ts +1 -1
- package/lib/definitions/RopcTokenRequest.d.ts +37 -0
- package/lib/definitions/RopcTokenRequest.js +3 -0
- package/lib/definitions/RopcTokenRequest.js.map +1 -0
- package/lib/definitions/ServiceInfo.d.ts +1 -1
- package/lib/definitions/ServiceInfoCountryShortModel.d.ts +29 -0
- package/lib/definitions/ServiceInfoCountryShortModel.js +3 -0
- package/lib/definitions/ServiceInfoCountryShortModel.js.map +1 -0
- package/lib/definitions/ServiceInfoPlan.d.ts +21 -0
- package/lib/definitions/ServiceInfoPlan.js +3 -0
- package/lib/definitions/ServiceInfoPlan.js.map +1 -0
- package/lib/definitions/ServiceInfoUBrand.d.ts +16 -0
- package/lib/definitions/ServiceInfoUBrand.js +3 -0
- package/lib/definitions/ServiceInfoUBrand.js.map +1 -0
- package/lib/definitions/ServiceInfoV2.d.ts +12 -0
- package/lib/definitions/Site.d.ts +16 -0
- package/lib/definitions/Site.js +3 -0
- package/lib/definitions/Site.js.map +1 -0
- package/lib/definitions/TMCreateEventRequest.d.ts +2 -19
- package/lib/definitions/TMCreateTaskRequest.d.ts +2 -2
- package/lib/definitions/TMEventInfo.d.ts +2 -17
- package/lib/definitions/TMMessageAttachmentInfo.d.ts +2 -17
- package/lib/definitions/TMTaskInfo.d.ts +2 -3
- package/lib/definitions/TMUpdateTaskRequest.d.ts +2 -2
- package/lib/definitions/{TMTaskInfoRecurrence.d.ts → TaskRecurrenceInfo.d.ts} +11 -5
- package/lib/definitions/TaskRecurrenceInfo.js +3 -0
- package/lib/definitions/TaskRecurrenceInfo.js.map +1 -0
- package/lib/definitions/TemplateInfo.d.ts +6 -24
- package/lib/definitions/TokenInfo.d.ts +22 -16
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +8 -10
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +6 -8
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Greeting/Content/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/Extension/MessageStore/Content/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.d.ts +57 -0
- package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.js +84 -0
- package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.js.map +1 -0
- package/lib/paths/Restapi/Account/Extension/ProfileImage/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/Extension/index.d.ts +2 -0
- package/lib/paths/Restapi/Account/Extension/index.js +4 -0
- package/lib/paths/Restapi/Account/Extension/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Greeting/Content/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/IvrPrompts/Content/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/MessageStoreTemplates/index.d.ts +54 -0
- package/lib/paths/Restapi/Account/MessageStoreTemplates/index.js +81 -0
- package/lib/paths/Restapi/Account/MessageStoreTemplates/index.js.map +1 -0
- package/lib/paths/Restapi/Account/Recording/Content/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/ServiceInfo/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/ServiceInfo/index.js +1 -1
- package/lib/paths/Restapi/Account/index.d.ts +2 -0
- package/lib/paths/Restapi/Account/index.js +4 -0
- package/lib/paths/Restapi/Account/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Authorize/index.d.ts +18 -3
- package/lib/paths/Restapi/Oauth/Authorize/index.js +18 -4
- package/lib/paths/Restapi/Oauth/Authorize/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Revoke/index.d.ts +6 -4
- package/lib/paths/Restapi/Oauth/Revoke/index.js +6 -4
- package/lib/paths/Restapi/Oauth/Revoke/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Token/index.d.ts +6 -3
- package/lib/paths/Restapi/Oauth/Token/index.js +6 -3
- package/lib/paths/Restapi/Oauth/Token/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/index.d.ts +0 -4
- package/lib/paths/Restapi/Oauth/index.js +0 -8
- package/lib/paths/Restapi/Oauth/index.js.map +1 -1
- package/lib/types.d.ts +0 -2
- package/package.json +6 -6
- package/src/definitions/AccountPhoneNumberInfo.ts +5 -0
- package/src/definitions/ActivePermissionResource.ts +1 -1
- package/src/definitions/AssignPhoneNumberRequest.ts +6 -1
- package/src/definitions/AuthCodeTokenRequest.ts +34 -0
- package/src/definitions/AuthorizeParameters.ts +107 -0
- package/src/definitions/AuthorizeRequest.ts +39 -44
- package/src/definitions/BaseCallLogRecord.ts +0 -1
- package/src/definitions/BaseTokenRequest.ts +59 -0
- package/src/definitions/CallLogRecord.ts +0 -1
- package/src/definitions/CallLogRecordLegInfo.ts +0 -1
- package/src/definitions/ClientAuthJwtModel.ts +17 -0
- package/src/definitions/ClientCredentialsBase.ts +11 -0
- package/src/definitions/ClientCredentialsByAccount.ts +17 -0
- package/src/definitions/ClientCredentialsByBrand.ts +17 -0
- package/src/definitions/ClientCredentialsByPartnerAccount.ts +23 -0
- package/src/definitions/ClientCredentialsTokenRequest.ts +29 -0
- package/src/definitions/CompanyAnsweringRuleRequest.ts +2 -1
- package/src/definitions/DeviceCodeTokenRequest.ts +20 -0
- package/src/definitions/DeviceEmergencyInfo.ts +2 -2
- package/src/definitions/EventRecurrenceInfo.ts +29 -0
- package/src/definitions/ExtensionCreationResponse.ts +1 -0
- package/src/definitions/FaxResponseTo.ts +13 -0
- package/src/definitions/GetConferencingInfoResponse.ts +6 -0
- package/src/definitions/GetTokenRequest.ts +89 -46
- package/src/definitions/GuestTokenRequest.ts +26 -0
- package/src/definitions/IdentityExtraValues.ts +1 -1
- package/src/definitions/IdentityModel.ts +28 -64
- package/src/definitions/IvrPinTokenRequest.ts +18 -0
- package/src/definitions/JobStatusResponse.ts +10 -0
- package/src/definitions/JobStatusResponseResponse.ts +48 -0
- package/src/definitions/JwtTokenRequest.ts +21 -0
- package/src/definitions/ListCompanyMessageTemplatesParameters.ts +12 -0
- package/src/definitions/{SocMsgListIdentitiesParameters.ts → ListSocialMessagingIdentitiesParameters.ts} +7 -7
- package/src/definitions/ListUserMessageTemplatesParameters.ts +17 -0
- package/src/definitions/MessageStatusCounts.ts +2 -1
- package/src/definitions/MessageStoreCallerInfoResponseTo.ts +5 -0
- package/src/definitions/MessageTemplateRequest.ts +21 -0
- package/src/definitions/MessageTemplateResponse.ts +29 -0
- package/src/definitions/MessageTemplateUpdateRequest.ts +20 -0
- package/src/definitions/MessageTemplatesListResponse.ts +10 -0
- package/src/definitions/OtpTokenRequest.ts +18 -0
- package/src/definitions/ReadGlipPostsNewParameters.ts +1 -1
- package/src/definitions/RefreshTokenRequest.ts +19 -0
- package/src/definitions/RegSessionModelSettings.ts +11 -1
- package/src/definitions/RegistrantBaseModel.ts +5 -0
- package/src/definitions/RegistrantBaseModelWithQuestionnaire.ts +5 -0
- package/src/definitions/RegistrantMinimalModel.ts +5 -0
- package/src/definitions/RegistrantModelResponsePostWithQuestionnaire.ts +5 -0
- package/src/definitions/RegistrantModelWithQuestionnaire.ts +5 -0
- package/src/definitions/RevokeTokenRequest.ts +7 -3
- package/src/definitions/RoleResource.ts +9 -1
- package/src/definitions/RopcTokenRequest.ts +42 -0
- package/src/definitions/ServiceInfo.ts +1 -1
- package/src/definitions/ServiceInfoCountryShortModel.ts +34 -0
- package/src/definitions/ServiceInfoPlan.ts +25 -0
- package/src/definitions/ServiceInfoUBrand.ts +18 -0
- package/src/definitions/ServiceInfoV2.ts +15 -0
- package/src/definitions/Site.ts +18 -0
- package/src/definitions/TMCreateEventRequest.ts +3 -22
- package/src/definitions/TMCreateTaskRequest.ts +2 -2
- package/src/definitions/TMEventInfo.ts +3 -20
- package/src/definitions/TMMessageAttachmentInfo.ts +2 -20
- package/src/definitions/TMTaskInfo.ts +2 -3
- package/src/definitions/TMUpdateTaskRequest.ts +2 -2
- package/src/definitions/{TMTaskInfoRecurrence.ts → TaskRecurrenceInfo.ts} +11 -5
- package/src/definitions/TemplateInfo.ts +6 -29
- package/src/definitions/TokenInfo.ts +22 -16
- package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +8 -10
- package/src/paths/Restapi/Account/Extension/MessageStoreTemplates/index.ts +115 -0
- package/src/paths/Restapi/Account/Extension/index.ts +5 -0
- package/src/paths/Restapi/Account/MessageStoreTemplates/index.ts +112 -0
- package/src/paths/Restapi/Account/ServiceInfo/index.ts +1 -1
- package/src/paths/Restapi/Account/index.ts +5 -0
- package/src/paths/Restapi/Oauth/Authorize/index.ts +19 -4
- package/src/paths/Restapi/Oauth/Revoke/index.ts +6 -4
- package/src/paths/Restapi/Oauth/Token/index.ts +6 -3
- package/src/paths/Restapi/Oauth/index.ts +0 -10
- package/src/samples.md +1477 -1229
- package/lib/definitions/IntrospectTokenRequest.d.ts +0 -13
- package/lib/definitions/IntrospectTokenRequest.js.map +0 -1
- package/lib/definitions/SessionInfoResponse.d.ts +0 -42
- package/lib/definitions/SessionInfoResponse.js.map +0 -1
- package/lib/definitions/SocMsgListIdentitiesParameters.js.map +0 -1
- package/lib/definitions/TMCreateTaskRequestRecurrence.d.ts +0 -25
- package/lib/definitions/TMCreateTaskRequestRecurrence.js.map +0 -1
- package/lib/definitions/TMTaskInfoRecurrence.js.map +0 -1
- package/lib/definitions/TMUpdateTaskRequestRecurrence.d.ts +0 -24
- package/lib/definitions/TMUpdateTaskRequestRecurrence.js +0 -3
- package/lib/definitions/TMUpdateTaskRequestRecurrence.js.map +0 -1
- package/lib/definitions/TokenIntrospectionResponse.d.ts +0 -47
- package/lib/definitions/TokenIntrospectionResponse.js.map +0 -1
- package/lib/paths/Restapi/Oauth/Introspect/index.d.ts +0 -24
- package/lib/paths/Restapi/Oauth/Introspect/index.js +0 -30
- package/lib/paths/Restapi/Oauth/Introspect/index.js.map +0 -1
- package/lib/paths/Restapi/Oauth/SessionInfo/index.d.ts +0 -17
- package/lib/paths/Restapi/Oauth/SessionInfo/index.js +0 -24
- package/lib/paths/Restapi/Oauth/SessionInfo/index.js.map +0 -1
- package/src/definitions/IntrospectTokenRequest.ts +0 -15
- package/src/definitions/SessionInfoResponse.ts +0 -50
- package/src/definitions/TMCreateTaskRequestRecurrence.ts +0 -29
- package/src/definitions/TMUpdateTaskRequestRecurrence.ts +0 -28
- package/src/definitions/TokenIntrospectionResponse.ts +0 -56
- package/src/paths/Restapi/Oauth/Introspect/index.ts +0 -42
- package/src/paths/Restapi/Oauth/SessionInfo/index.ts +0 -27
|
@@ -7,7 +7,7 @@ interface TokenInfo {
|
|
|
7
7
|
access_token?: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Access token TTL (time-to-live) in seconds
|
|
11
11
|
* Required
|
|
12
12
|
* Format: int32
|
|
13
13
|
* Example: 7199
|
|
@@ -15,68 +15,74 @@ interface TokenInfo {
|
|
|
15
15
|
expires_in?: number;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* OAuth refresh token (
|
|
18
|
+
* OAuth refresh token (if issued)
|
|
19
19
|
* Example: U1BCMDFUMDRKV1MwMXxzLFL4ec6A0XMsUv9wLriecyxS_w
|
|
20
20
|
*/
|
|
21
21
|
refresh_token?: string;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Refresh token TTL (time-to-live) in seconds
|
|
25
25
|
* Format: int32
|
|
26
26
|
* Example: 604799
|
|
27
27
|
*/
|
|
28
28
|
refresh_token_expires_in?: number;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The list of space separated application permissions (OAuth scopes)
|
|
32
32
|
* Required
|
|
33
33
|
* Example: AccountInfo CallLog ExtensionInfo Messages SMS
|
|
34
34
|
*/
|
|
35
35
|
scope?: string;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
* Type of token. The only supported value is `bearer`. This value should be used when specifying access token in `Authorization` header of subsequent API requests
|
|
38
|
+
* Type of the token. The only supported value is `bearer`. This value should be used when specifying access token in `Authorization` header of subsequent API requests
|
|
39
39
|
* Required
|
|
40
40
|
* Example: bearer
|
|
41
41
|
*/
|
|
42
|
-
token_type?:
|
|
42
|
+
token_type?: 'bearer';
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* Token owner (extension
|
|
45
|
+
* Token owner's identifier. Contains RingCentral user (extension) ID
|
|
46
46
|
* Example: 256440016
|
|
47
47
|
*/
|
|
48
48
|
owner_id?: string;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Client application instance identifier that matches the value provided by the client,
|
|
52
|
+
* or generated by the server if a client has not provided this value
|
|
52
53
|
* Example: 8zXq6oaLT7WvwWITlGiA1A
|
|
53
54
|
*/
|
|
54
55
|
endpoint_id?: string;
|
|
55
56
|
|
|
56
57
|
/**
|
|
57
|
-
*
|
|
58
|
+
* OpenID Connect ID token (if OpenID Connect flow was activated during authorization)
|
|
58
59
|
*/
|
|
59
60
|
id_token?: string;
|
|
60
61
|
|
|
61
62
|
/**
|
|
62
|
-
*
|
|
63
|
+
* Remaining time in seconds until session expiration due to absolute timeout.
|
|
64
|
+
* Returned only if absolute session timeout is enforced
|
|
65
|
+
* Format: int32
|
|
63
66
|
*/
|
|
64
|
-
|
|
67
|
+
session_expires_in?: number;
|
|
65
68
|
|
|
66
69
|
/**
|
|
67
|
-
* Absolute value of session expiration time
|
|
70
|
+
* Absolute value of session expiration time in ISO date formatted string.
|
|
71
|
+
* Returned only if absolute session timeout is enforced
|
|
68
72
|
* Format: date-time
|
|
73
|
+
* Example: 2023-04-01T12:00:01Z
|
|
69
74
|
*/
|
|
70
75
|
session_expiration_time?: string;
|
|
71
76
|
|
|
72
77
|
/**
|
|
73
|
-
*
|
|
74
|
-
*
|
|
78
|
+
* OAuth session ID
|
|
79
|
+
* Required
|
|
75
80
|
*/
|
|
76
|
-
|
|
81
|
+
session_id?: string;
|
|
77
82
|
|
|
78
83
|
/**
|
|
79
|
-
* Nominal session idle timeout in seconds
|
|
84
|
+
* Nominal value of session idle timeout in seconds.
|
|
85
|
+
* Returned only if idle session timeout is enforced
|
|
80
86
|
* Format: int32
|
|
81
87
|
*/
|
|
82
88
|
session_idle_timeout?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type ListSocialMessagingIdentitiesParameters from '../../../../../definitions/ListSocialMessagingIdentitiesParameters';
|
|
2
2
|
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
|
|
3
3
|
|
|
4
4
|
class Index {
|
|
@@ -18,15 +18,14 @@ class Index {
|
|
|
18
18
|
return `${this._parent.path()}/identities`;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Returns a list of identities filtered by creation date. The default order is descending.
|
|
22
22
|
*
|
|
23
|
-
* The account context of this request is determined by the RC Account
|
|
24
|
-
* in the Authorization header.
|
|
23
|
+
* The account context of this request is determined by the RC Account ID associated with
|
|
24
|
+
* the access token provided in the Authorization header.
|
|
25
25
|
*
|
|
26
|
-
* The query parameters provided
|
|
26
|
+
* The query parameters provided will be considered an AND operation to filter the list.
|
|
27
27
|
*
|
|
28
|
-
* A query parameter not specified or
|
|
29
|
-
* filtering the list.
|
|
28
|
+
* A query parameter which is not specified or provided with the null value will be ignored.
|
|
30
29
|
*
|
|
31
30
|
* HTTP Method: get
|
|
32
31
|
* Endpoint: /cx/social-messaging/v1/identities
|
|
@@ -34,7 +33,7 @@ class Index {
|
|
|
34
33
|
* App Permission: SocialMessaging
|
|
35
34
|
*/
|
|
36
35
|
public async list(
|
|
37
|
-
queryParams?:
|
|
36
|
+
queryParams?: ListSocialMessagingIdentitiesParameters,
|
|
38
37
|
restRequestConfig?: RestRequestConfig,
|
|
39
38
|
): Promise<string> {
|
|
40
39
|
const r = await this.rc.get<string>(this.path(false), queryParams, restRequestConfig);
|
|
@@ -42,8 +41,7 @@ class Index {
|
|
|
42
41
|
}
|
|
43
42
|
|
|
44
43
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
44
|
+
* Returns an identity by ID specified in path.
|
|
47
45
|
* HTTP Method: get
|
|
48
46
|
* Endpoint: /cx/social-messaging/v1/identities/{identityId}
|
|
49
47
|
* Rate Limit Group: Light
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type MessageTemplateUpdateRequest from '../../../../../definitions/MessageTemplateUpdateRequest';
|
|
2
|
+
import type MessageTemplateResponse from '../../../../../definitions/MessageTemplateResponse';
|
|
3
|
+
import type MessageTemplateRequest from '../../../../../definitions/MessageTemplateRequest';
|
|
4
|
+
import type MessageTemplatesListResponse from '../../../../../definitions/MessageTemplatesListResponse';
|
|
5
|
+
import type ListUserMessageTemplatesParameters from '../../../../../definitions/ListUserMessageTemplatesParameters';
|
|
6
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
|
|
7
|
+
|
|
8
|
+
class Index {
|
|
9
|
+
public rc: RingCentralInterface;
|
|
10
|
+
public _parent: ParentInterface;
|
|
11
|
+
public templateId: string | null;
|
|
12
|
+
|
|
13
|
+
public constructor(_parent: ParentInterface, templateId: string | null = null) {
|
|
14
|
+
this._parent = _parent;
|
|
15
|
+
this.rc = _parent.rc;
|
|
16
|
+
this.templateId = templateId;
|
|
17
|
+
}
|
|
18
|
+
public path(withParameter = true): string {
|
|
19
|
+
if (withParameter && this.templateId !== null) {
|
|
20
|
+
return `${this._parent.path()}/message-store-templates/${this.templateId}`;
|
|
21
|
+
}
|
|
22
|
+
return `${this._parent.path()}/message-store-templates`;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns a list of user's personal text message templates.
|
|
26
|
+
* HTTP Method: get
|
|
27
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store-templates
|
|
28
|
+
* Rate Limit Group: Light
|
|
29
|
+
* App Permission: ReadAccounts
|
|
30
|
+
*/
|
|
31
|
+
public async list(
|
|
32
|
+
queryParams?: ListUserMessageTemplatesParameters,
|
|
33
|
+
restRequestConfig?: RestRequestConfig,
|
|
34
|
+
): Promise<MessageTemplatesListResponse> {
|
|
35
|
+
const r = await this.rc.get<MessageTemplatesListResponse>(this.path(false), queryParams, restRequestConfig);
|
|
36
|
+
return r.data;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Creates a user personal text message template.
|
|
41
|
+
* Maximum number of personal templates is 25 per user.
|
|
42
|
+
* Max length of the `body` property is 1000 symbols (2-byte UTF-16 encoded).
|
|
43
|
+
*
|
|
44
|
+
* HTTP Method: post
|
|
45
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store-templates
|
|
46
|
+
* Rate Limit Group: Medium
|
|
47
|
+
* App Permission: EditExtensions
|
|
48
|
+
*/
|
|
49
|
+
public async post(
|
|
50
|
+
messageTemplateRequest: MessageTemplateRequest,
|
|
51
|
+
restRequestConfig?: RestRequestConfig,
|
|
52
|
+
): Promise<MessageTemplateResponse> {
|
|
53
|
+
const r = await this.rc.post<MessageTemplateResponse>(
|
|
54
|
+
this.path(false),
|
|
55
|
+
messageTemplateRequest,
|
|
56
|
+
undefined,
|
|
57
|
+
restRequestConfig,
|
|
58
|
+
);
|
|
59
|
+
return r.data;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Returns a user personal text message template by ID.
|
|
64
|
+
* HTTP Method: get
|
|
65
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store-templates/{templateId}
|
|
66
|
+
* Rate Limit Group: Light
|
|
67
|
+
* App Permission: ReadAccounts
|
|
68
|
+
*/
|
|
69
|
+
public async get(restRequestConfig?: RestRequestConfig): Promise<MessageTemplateResponse> {
|
|
70
|
+
if (this.templateId === null) {
|
|
71
|
+
throw new Error('templateId must be specified.');
|
|
72
|
+
}
|
|
73
|
+
const r = await this.rc.get<MessageTemplateResponse>(this.path(), undefined, restRequestConfig);
|
|
74
|
+
return r.data;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Updates a user personal text message template.
|
|
79
|
+
* HTTP Method: put
|
|
80
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store-templates/{templateId}
|
|
81
|
+
* Rate Limit Group: Medium
|
|
82
|
+
* App Permission: EditExtensions
|
|
83
|
+
*/
|
|
84
|
+
public async put(
|
|
85
|
+
messageTemplateUpdateRequest: MessageTemplateUpdateRequest,
|
|
86
|
+
restRequestConfig?: RestRequestConfig,
|
|
87
|
+
): Promise<MessageTemplateResponse> {
|
|
88
|
+
if (this.templateId === null) {
|
|
89
|
+
throw new Error('templateId must be specified.');
|
|
90
|
+
}
|
|
91
|
+
const r = await this.rc.put<MessageTemplateResponse>(
|
|
92
|
+
this.path(),
|
|
93
|
+
messageTemplateUpdateRequest,
|
|
94
|
+
undefined,
|
|
95
|
+
restRequestConfig,
|
|
96
|
+
);
|
|
97
|
+
return r.data;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Deletes a user personal text message template.
|
|
102
|
+
* HTTP Method: delete
|
|
103
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store-templates/{templateId}
|
|
104
|
+
* Rate Limit Group: Medium
|
|
105
|
+
* App Permission: EditExtensions
|
|
106
|
+
*/
|
|
107
|
+
public async delete(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
108
|
+
if (this.templateId === null) {
|
|
109
|
+
throw new Error('templateId must be specified.');
|
|
110
|
+
}
|
|
111
|
+
const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
|
|
112
|
+
return r.data;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
export default Index;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import MessageStoreTemplates from './MessageStoreTemplates';
|
|
1
2
|
import NotificationSettings from './NotificationSettings';
|
|
2
3
|
import CallQueuePresence from './CallQueuePresence';
|
|
3
4
|
import VideoConfiguration from './VideoConfiguration';
|
|
@@ -287,5 +288,9 @@ class Index {
|
|
|
287
288
|
public notificationSettings(): NotificationSettings {
|
|
288
289
|
return new NotificationSettings(this);
|
|
289
290
|
}
|
|
291
|
+
|
|
292
|
+
public messageStoreTemplates(templateId: string | null = null): MessageStoreTemplates {
|
|
293
|
+
return new MessageStoreTemplates(this, templateId);
|
|
294
|
+
}
|
|
290
295
|
}
|
|
291
296
|
export default Index;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type MessageTemplateUpdateRequest from '../../../../definitions/MessageTemplateUpdateRequest';
|
|
2
|
+
import type MessageTemplateResponse from '../../../../definitions/MessageTemplateResponse';
|
|
3
|
+
import type MessageTemplateRequest from '../../../../definitions/MessageTemplateRequest';
|
|
4
|
+
import type MessageTemplatesListResponse from '../../../../definitions/MessageTemplatesListResponse';
|
|
5
|
+
import type ListCompanyMessageTemplatesParameters from '../../../../definitions/ListCompanyMessageTemplatesParameters';
|
|
6
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
|
|
7
|
+
|
|
8
|
+
class Index {
|
|
9
|
+
public rc: RingCentralInterface;
|
|
10
|
+
public _parent: ParentInterface;
|
|
11
|
+
public templateId: string | null;
|
|
12
|
+
|
|
13
|
+
public constructor(_parent: ParentInterface, templateId: string | null = null) {
|
|
14
|
+
this._parent = _parent;
|
|
15
|
+
this.rc = _parent.rc;
|
|
16
|
+
this.templateId = templateId;
|
|
17
|
+
}
|
|
18
|
+
public path(withParameter = true): string {
|
|
19
|
+
if (withParameter && this.templateId !== null) {
|
|
20
|
+
return `${this._parent.path()}/message-store-templates/${this.templateId}`;
|
|
21
|
+
}
|
|
22
|
+
return `${this._parent.path()}/message-store-templates`;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns a list of company text message templates.
|
|
26
|
+
* HTTP Method: get
|
|
27
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-store-templates
|
|
28
|
+
* Rate Limit Group: Light
|
|
29
|
+
* App Permission: ReadAccounts
|
|
30
|
+
*/
|
|
31
|
+
public async list(
|
|
32
|
+
queryParams?: ListCompanyMessageTemplatesParameters,
|
|
33
|
+
restRequestConfig?: RestRequestConfig,
|
|
34
|
+
): Promise<MessageTemplatesListResponse> {
|
|
35
|
+
const r = await this.rc.get<MessageTemplatesListResponse>(this.path(false), queryParams, restRequestConfig);
|
|
36
|
+
return r.data;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Creates a new text message template on a company level. Maximum number of company templates is 50.
|
|
41
|
+
* HTTP Method: post
|
|
42
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-store-templates
|
|
43
|
+
* Rate Limit Group: Medium
|
|
44
|
+
* App Permission: EditAccounts
|
|
45
|
+
*/
|
|
46
|
+
public async post(
|
|
47
|
+
messageTemplateRequest: MessageTemplateRequest,
|
|
48
|
+
restRequestConfig?: RestRequestConfig,
|
|
49
|
+
): Promise<MessageTemplateResponse> {
|
|
50
|
+
const r = await this.rc.post<MessageTemplateResponse>(
|
|
51
|
+
this.path(false),
|
|
52
|
+
messageTemplateRequest,
|
|
53
|
+
undefined,
|
|
54
|
+
restRequestConfig,
|
|
55
|
+
);
|
|
56
|
+
return r.data;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Returns a company text message template by ID.
|
|
61
|
+
* HTTP Method: get
|
|
62
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-store-templates/{templateId}
|
|
63
|
+
* Rate Limit Group: Light
|
|
64
|
+
* App Permission: ReadAccounts
|
|
65
|
+
*/
|
|
66
|
+
public async get(restRequestConfig?: RestRequestConfig): Promise<MessageTemplateResponse> {
|
|
67
|
+
if (this.templateId === null) {
|
|
68
|
+
throw new Error('templateId must be specified.');
|
|
69
|
+
}
|
|
70
|
+
const r = await this.rc.get<MessageTemplateResponse>(this.path(), undefined, restRequestConfig);
|
|
71
|
+
return r.data;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Updates a company text message template.
|
|
76
|
+
* HTTP Method: put
|
|
77
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-store-templates/{templateId}
|
|
78
|
+
* Rate Limit Group: Medium
|
|
79
|
+
* App Permission: EditAccounts
|
|
80
|
+
*/
|
|
81
|
+
public async put(
|
|
82
|
+
messageTemplateUpdateRequest: MessageTemplateUpdateRequest,
|
|
83
|
+
restRequestConfig?: RestRequestConfig,
|
|
84
|
+
): Promise<MessageTemplateResponse> {
|
|
85
|
+
if (this.templateId === null) {
|
|
86
|
+
throw new Error('templateId must be specified.');
|
|
87
|
+
}
|
|
88
|
+
const r = await this.rc.put<MessageTemplateResponse>(
|
|
89
|
+
this.path(),
|
|
90
|
+
messageTemplateUpdateRequest,
|
|
91
|
+
undefined,
|
|
92
|
+
restRequestConfig,
|
|
93
|
+
);
|
|
94
|
+
return r.data;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Deletes a company text message template.
|
|
99
|
+
* HTTP Method: delete
|
|
100
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/message-store-templates/{templateId}
|
|
101
|
+
* Rate Limit Group: Medium
|
|
102
|
+
* App Permission: EditAccounts
|
|
103
|
+
*/
|
|
104
|
+
public async delete(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
105
|
+
if (this.templateId === null) {
|
|
106
|
+
throw new Error('templateId must be specified.');
|
|
107
|
+
}
|
|
108
|
+
const r = await this.rc.delete<string>(this.path(), {}, undefined, restRequestConfig);
|
|
109
|
+
return r.data;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
export default Index;
|
|
@@ -20,7 +20,7 @@ class Index {
|
|
|
20
20
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/service-info
|
|
21
21
|
* Rate Limit Group: Light
|
|
22
22
|
* App Permission: ReadAccounts
|
|
23
|
-
* User Permission:
|
|
23
|
+
* User Permission: ReadCompanyInfo
|
|
24
24
|
*/
|
|
25
25
|
public async get(restRequestConfig?: RestRequestConfig): Promise<AccountServiceInfo> {
|
|
26
26
|
const r = await this.rc.get<AccountServiceInfo>(this.path(), undefined, restRequestConfig);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import EmergencyAddressAutoUpdate from './EmergencyAddressAutoUpdate';
|
|
2
2
|
import MessageStoreConfiguration from './MessageStoreConfiguration';
|
|
3
3
|
import AddressBookBulkUpload from './AddressBookBulkUpload';
|
|
4
|
+
import MessageStoreTemplates from './MessageStoreTemplates';
|
|
4
5
|
import CallMonitoringGroups from './CallMonitoringGroups';
|
|
5
6
|
import ExtensionBulkUpdate from './ExtensionBulkUpdate';
|
|
6
7
|
import MessageStoreReport from './MessageStoreReport';
|
|
@@ -202,6 +203,10 @@ class Index {
|
|
|
202
203
|
return new CallMonitoringGroups(this, groupId);
|
|
203
204
|
}
|
|
204
205
|
|
|
206
|
+
public messageStoreTemplates(templateId: string | null = null): MessageStoreTemplates {
|
|
207
|
+
return new MessageStoreTemplates(this, templateId);
|
|
208
|
+
}
|
|
209
|
+
|
|
205
210
|
public addressBookBulkUpload(): AddressBookBulkUpload {
|
|
206
211
|
return new AddressBookBulkUpload(this);
|
|
207
212
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type AuthorizeRequest from '../../../../definitions/AuthorizeRequest';
|
|
2
|
+
import type AuthorizeParameters from '../../../../definitions/AuthorizeParameters';
|
|
2
3
|
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
|
|
3
4
|
|
|
4
5
|
class Index {
|
|
@@ -13,18 +14,32 @@ class Index {
|
|
|
13
14
|
return `${this._parent.path()}/authorize`;
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
|
-
* Performs
|
|
17
|
+
* Performs Authentication of the End-User by sending the User Agent to the Authorization Server's
|
|
18
|
+
* Authorization Endpoint for Authentication and Authorization,
|
|
19
|
+
* using request parameters defined by OAuth 2.0 [RFC-6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.1)
|
|
20
|
+
* and additional parameters and parameter values defined by
|
|
21
|
+
* [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint).
|
|
22
|
+
*
|
|
23
|
+
* This is the version that uses HTTP `GET` method.
|
|
24
|
+
*
|
|
17
25
|
* HTTP Method: get
|
|
18
26
|
* Endpoint: /restapi/oauth/authorize
|
|
19
27
|
* Rate Limit Group: Auth
|
|
20
28
|
*/
|
|
21
|
-
public async get(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
22
|
-
const r = await this.rc.get<string>(this.path(),
|
|
29
|
+
public async get(queryParams?: AuthorizeParameters, restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
30
|
+
const r = await this.rc.get<string>(this.path(), queryParams, restRequestConfig);
|
|
23
31
|
return r.data;
|
|
24
32
|
}
|
|
25
33
|
|
|
26
34
|
/**
|
|
27
|
-
* Performs
|
|
35
|
+
* Performs Authentication of the End-User by sending the User Agent to the Authorization Server's
|
|
36
|
+
* Authorization Endpoint for Authentication and Authorization,
|
|
37
|
+
* using request parameters defined by OAuth 2.0 [RFC-6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.1)
|
|
38
|
+
* and additional parameters and parameter values defined by
|
|
39
|
+
* [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint).
|
|
40
|
+
*
|
|
41
|
+
* This is the version that uses HTTP `POST` method.
|
|
42
|
+
*
|
|
28
43
|
* HTTP Method: post
|
|
29
44
|
* Endpoint: /restapi/oauth/authorize
|
|
30
45
|
* Rate Limit Group: Auth
|
|
@@ -15,11 +15,13 @@ class Index {
|
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Revokes all active access/refresh tokens and invalidates the OAuth session basing on token provided.
|
|
18
|
-
* `token` parameter may be passed in query string or body and may represent access or refresh token.
|
|
18
|
+
* The `token` parameter may be passed in query string or body and may represent access or refresh token.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
20
|
+
* This endpoint is defined by [RFC-7009 "OAuth 2.0 Token Revocation"](https://datatracker.ietf.org/doc/html/rfc7009)
|
|
21
|
+
*
|
|
22
|
+
* For confidential client application types
|
|
23
|
+
* this endpoint requires client authentication using one of the supported
|
|
24
|
+
* methods (`client_secret_basic`, `client_secret_jwt` or `private_key_jwt`)
|
|
23
25
|
*
|
|
24
26
|
* HTTP Method: post
|
|
25
27
|
* Endpoint: /restapi/oauth/revoke
|
|
@@ -16,9 +16,12 @@ class Index {
|
|
|
16
16
|
/**
|
|
17
17
|
* Returns access (and potentially refresh) tokens for making API requests.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* For confidential client application types
|
|
20
|
+
* this endpoint requires client authentication using one of the supported
|
|
21
|
+
* methods (`client_secret_basic`, `client_secret_jwt` or `private_key_jwt`)
|
|
22
|
+
*
|
|
23
|
+
* For non-confidential client application types
|
|
24
|
+
* the client identifier must be provided via `client_id` request attribute.
|
|
22
25
|
*
|
|
23
26
|
* HTTP Method: post
|
|
24
27
|
* Endpoint: /restapi/oauth/token
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import SessionInfo from './SessionInfo';
|
|
2
|
-
import Introspect from './Introspect';
|
|
3
1
|
import Authorize from './Authorize';
|
|
4
2
|
import Revoke from './Revoke';
|
|
5
3
|
import Token from './Token';
|
|
@@ -28,13 +26,5 @@ class Index {
|
|
|
28
26
|
public authorize(): Authorize {
|
|
29
27
|
return new Authorize(this);
|
|
30
28
|
}
|
|
31
|
-
|
|
32
|
-
public introspect(): Introspect {
|
|
33
|
-
return new Introspect(this);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
public sessionInfo(): SessionInfo {
|
|
37
|
-
return new SessionInfo(this);
|
|
38
|
-
}
|
|
39
29
|
}
|
|
40
30
|
export default Index;
|