@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
package/lib/FormData.d.ts
CHANGED
package/lib/Utils.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type ContactCenterProvider from './ContactCenterProvider';
|
|
1
2
|
import type AccountPhoneNumberInfoExtension from './AccountPhoneNumberInfoExtension';
|
|
2
3
|
interface AccountPhoneNumberInfo {
|
|
3
4
|
/**
|
|
@@ -30,6 +31,9 @@ interface AccountPhoneNumberInfo {
|
|
|
30
31
|
/**
|
|
31
32
|
*/
|
|
32
33
|
byocNumber?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*/
|
|
36
|
+
contactCenterProvider?: ContactCenterProvider;
|
|
33
37
|
/**
|
|
34
38
|
* Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise, it is an external number not yet ported to RingCentral
|
|
35
39
|
* Required
|
|
@@ -9,6 +9,6 @@ interface ActivePermissionResource {
|
|
|
9
9
|
effectiveRole?: RoleIdResource;
|
|
10
10
|
/**
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
scopes?: ('Account' | 'AllExtensions' | 'Federation' | 'NonUserExtensions' | 'RoleBased' | 'Self' | 'UserExtensions')[];
|
|
13
13
|
}
|
|
14
14
|
export default ActivePermissionResource;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type AssignPhoneNumberRequestExtension from './AssignPhoneNumberRequestExtension';
|
|
2
|
+
import type ContactCenterProvider from './ContactCenterProvider';
|
|
2
3
|
interface AssignPhoneNumberRequest {
|
|
3
4
|
/**
|
|
4
5
|
* Type of phone number
|
|
@@ -8,12 +9,15 @@ interface AssignPhoneNumberRequest {
|
|
|
8
9
|
* Target usage type of phone number (only listed values are supported)
|
|
9
10
|
* Required
|
|
10
11
|
*/
|
|
11
|
-
usageType?: 'MainCompanyNumber' | 'CompanyNumber' | 'DirectNumber' | 'PhoneLine';
|
|
12
|
+
usageType?: 'MainCompanyNumber' | 'CompanyNumber' | 'DirectNumber' | 'PhoneLine' | 'ContactCenterNumber';
|
|
12
13
|
/**
|
|
13
14
|
*/
|
|
14
15
|
extension?: AssignPhoneNumberRequestExtension;
|
|
15
16
|
/**
|
|
16
17
|
*/
|
|
17
18
|
costCenterId?: string;
|
|
19
|
+
/**
|
|
20
|
+
*/
|
|
21
|
+
contactCenterProvider?: ContactCenterProvider;
|
|
18
22
|
}
|
|
19
23
|
export default AssignPhoneNumberRequest;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Authorization Code" and "Authorization code with PKCE" flows
|
|
3
|
+
* with the `authorization_code` grant type
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
interface AuthCodeTokenRequest {
|
|
7
|
+
/**
|
|
8
|
+
* Grant type
|
|
9
|
+
*/
|
|
10
|
+
grant_type?: 'authorization_code';
|
|
11
|
+
/**
|
|
12
|
+
* For `authorization_code` grant type only. User's authorization code
|
|
13
|
+
* Required
|
|
14
|
+
*/
|
|
15
|
+
code?: string;
|
|
16
|
+
/**
|
|
17
|
+
* For `authorization_code` grant type only. This is a callback URI which determines where the response
|
|
18
|
+
* is sent. The value of this parameter must exactly match one of
|
|
19
|
+
* the URIs you have provided for your app upon registration
|
|
20
|
+
* Format: uri
|
|
21
|
+
*/
|
|
22
|
+
redirect_uri?: string;
|
|
23
|
+
/**
|
|
24
|
+
* For `authorization_code` grant type only.
|
|
25
|
+
* The code verifier as defined by the PKCE specification -
|
|
26
|
+
* [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)
|
|
27
|
+
*/
|
|
28
|
+
code_verifier?: string;
|
|
29
|
+
}
|
|
30
|
+
export default AuthCodeTokenRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthCodeTokenRequest.js","sourceRoot":"","sources":["../../src/definitions/AuthCodeTokenRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query parameters for operation authorize
|
|
3
|
+
*/
|
|
4
|
+
interface AuthorizeParameters {
|
|
5
|
+
/**
|
|
6
|
+
* The registered identifier of a client application
|
|
7
|
+
* Example: AZwEVwGEcfGet2PCouA7K6
|
|
8
|
+
*/
|
|
9
|
+
client_id?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Determines authorization flow type. The only supported value is `code` which corresponds to OAuth 2.0 "Authorization Code Flow"
|
|
12
|
+
*/
|
|
13
|
+
response_type?: 'code';
|
|
14
|
+
/**
|
|
15
|
+
* This is the URI where the Authorization Server redirects the User Agent to at the end of the authorization flow.
|
|
16
|
+
* The value of this parameter must exactly match one of the URIs registered for this client application.
|
|
17
|
+
* This parameter is required if there are more than one redirect URIs registered for the app.
|
|
18
|
+
* Format: uri
|
|
19
|
+
*/
|
|
20
|
+
redirect_uri?: string;
|
|
21
|
+
/**
|
|
22
|
+
* An opaque value used by the client to maintain state between the request and callback.
|
|
23
|
+
* The authorization server includes this value when redirecting the User Agent back
|
|
24
|
+
* to the client. The parameter SHOULD be used for preventing cross-site request forgery attacks.
|
|
25
|
+
*/
|
|
26
|
+
state?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The list of space separated application permissions (OAuth scopes)
|
|
29
|
+
*/
|
|
30
|
+
scope?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.
|
|
33
|
+
* Default: page
|
|
34
|
+
*/
|
|
35
|
+
display?: 'page' | 'popup' | 'touch' | 'mobile';
|
|
36
|
+
/**
|
|
37
|
+
* Space-delimited, case-sensitive list of ASCII string values that specifies whether the Authorization Server prompts the End-User for
|
|
38
|
+
* re-authentication and consent. The defined values are:
|
|
39
|
+
*
|
|
40
|
+
* - `login` - RingCentral native login form,
|
|
41
|
+
* - `sso` - Single Sign-On login form,
|
|
42
|
+
* - `consent` - form to show the requested scope and prompt user for consent.
|
|
43
|
+
*
|
|
44
|
+
* Either `login` or `sso` (or both) must be specified. The default
|
|
45
|
+
* value is `login sso`
|
|
46
|
+
* Default: login sso
|
|
47
|
+
*/
|
|
48
|
+
prompt?: string;
|
|
49
|
+
/**
|
|
50
|
+
* End-User's preferred languages and scripts for the user interface, represented as a space-separated list of
|
|
51
|
+
* [RFC-5646](https://datatracker.ietf.org/doc/html/rfc5646) language tag values, ordered by preference.
|
|
52
|
+
*
|
|
53
|
+
* If this parameter is provided, its value overrides 'Accept-Language' header value and 'localeId' parameter value (if any)
|
|
54
|
+
* Example: en-US
|
|
55
|
+
*/
|
|
56
|
+
ui_locales?: string;
|
|
57
|
+
/**
|
|
58
|
+
* DEPRECATED: `ui_locales` parameter should be used instead
|
|
59
|
+
* Example: en-US
|
|
60
|
+
*/
|
|
61
|
+
localeId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The code challenge value as defined by the PKCE specification -
|
|
64
|
+
* [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)
|
|
65
|
+
*/
|
|
66
|
+
code_challenge?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The code challenge method as defined by the PKCE specification -
|
|
69
|
+
* [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)
|
|
70
|
+
* Default: plain
|
|
71
|
+
*/
|
|
72
|
+
code_challenge_method?: 'plain' | 'S256';
|
|
73
|
+
/**
|
|
74
|
+
* String value used to associate a Client session with an ID Token, and to mitigate replay attacks. The value is passed through unmodified from the Authentication Request to the ID Token.
|
|
75
|
+
*/
|
|
76
|
+
nonce?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Login form user interface options (space-separated). By default, the UI options that are registered for this client application will be used
|
|
79
|
+
*/
|
|
80
|
+
ui_options?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Hint to the Authorization Server about the login identifier the End-User might use to log in.
|
|
83
|
+
*/
|
|
84
|
+
login_hint?: string;
|
|
85
|
+
/**
|
|
86
|
+
* RingCentral Brand identifier. If it is not provided in the request,
|
|
87
|
+
* server will try to determine brand from the client application profile.
|
|
88
|
+
* Example: 1210
|
|
89
|
+
*/
|
|
90
|
+
brand_id?: string;
|
|
91
|
+
}
|
|
92
|
+
export default AuthorizeParameters;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthorizeParameters.js","sourceRoot":"","sources":["../../src/definitions/AuthorizeParameters.ts"],"names":[],"mappings":""}
|
|
@@ -1,48 +1,44 @@
|
|
|
1
1
|
interface AuthorizeRequest {
|
|
2
2
|
/**
|
|
3
|
-
* Determines authorization flow
|
|
4
|
-
* - **code** - Authorization Code,
|
|
5
|
-
* - **token** - Implicit
|
|
3
|
+
* Determines authorization flow type. The only supported value is `code` which corresponds to OAuth 2.0 "Authorization Code Flow"
|
|
6
4
|
* Required
|
|
7
5
|
*/
|
|
8
|
-
response_type?: 'code'
|
|
6
|
+
response_type?: 'code';
|
|
9
7
|
/**
|
|
10
|
-
* This is
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* Required
|
|
8
|
+
* This is the URI where the Authorization Server redirects the User Agent to at the end of the authorization flow.
|
|
9
|
+
* The value of this parameter must exactly match one of the URIs registered for this client application.
|
|
10
|
+
* This parameter is required if there are more than one redirect URIs registered for the app.
|
|
14
11
|
* Format: uri
|
|
15
12
|
*/
|
|
16
13
|
redirect_uri?: string;
|
|
17
14
|
/**
|
|
18
|
-
*
|
|
15
|
+
* The registered identifier of a client application
|
|
19
16
|
* Required
|
|
17
|
+
* Example: AZwEVwGEcfGet2PCouA7K6
|
|
20
18
|
*/
|
|
21
19
|
client_id?: string;
|
|
22
20
|
/**
|
|
23
|
-
*
|
|
21
|
+
* An opaque value used by the client to maintain state between the request and callback.
|
|
22
|
+
* The authorization server includes this value when redirecting the User Agent back
|
|
23
|
+
* to the client. The parameter SHOULD be used for preventing cross-site request forgery attacks.
|
|
24
24
|
*/
|
|
25
25
|
state?: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
* server will try to determine brand from client app profile. The
|
|
29
|
-
* default value is `1210` - RingCentral US brand ID
|
|
30
|
-
* Default: 1210
|
|
27
|
+
* The list of requested OAuth scopes (space separated)
|
|
31
28
|
*/
|
|
32
|
-
|
|
29
|
+
scope?: string;
|
|
33
30
|
/**
|
|
34
|
-
*
|
|
35
|
-
* 'popup' and 'touch' values are featured for mobile applications
|
|
31
|
+
* Specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.
|
|
36
32
|
* Default: page
|
|
37
33
|
*/
|
|
38
34
|
display?: 'page' | 'popup' | 'touch' | 'mobile';
|
|
39
35
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
36
|
+
* Space-delimited, case-sensitive list of ASCII string values that specifies whether the Authorization Server prompts the End-User for
|
|
37
|
+
* re-authentication and consent. The defined values are:
|
|
42
38
|
*
|
|
43
|
-
* -
|
|
44
|
-
* -
|
|
45
|
-
* -
|
|
39
|
+
* - `login` - RingCentral native login form,
|
|
40
|
+
* - `sso` - Single Sign-On login form,
|
|
41
|
+
* - `consent` - form to show the requested scope and prompt user for consent.
|
|
46
42
|
*
|
|
47
43
|
* Either `login` or `sso` (or both) must be specified. The default
|
|
48
44
|
* value is `login sso`
|
|
@@ -50,43 +46,44 @@ interface AuthorizeRequest {
|
|
|
50
46
|
*/
|
|
51
47
|
prompt?: string;
|
|
52
48
|
/**
|
|
53
|
-
*
|
|
49
|
+
* End-User's preferred languages and scripts for the user interface, represented as a space-separated list of
|
|
50
|
+
* [RFC-5646](https://datatracker.ietf.org/doc/html/rfc5646) language tag values, ordered by preference.
|
|
54
51
|
*
|
|
55
|
-
*
|
|
56
|
-
* Example: en-US
|
|
57
|
-
*/
|
|
58
|
-
localeId?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Locale code of a language. Overwrites 'Accept-Language' header value and 'localeId' parameter value
|
|
52
|
+
* If this parameter is provided, its value overrides 'Accept-Language' header value and 'localeId' parameter value (if any)
|
|
61
53
|
* Example: en-US
|
|
62
54
|
*/
|
|
63
55
|
ui_locales?: string;
|
|
64
56
|
/**
|
|
65
|
-
*
|
|
57
|
+
* The code challenge value as defined by the PKCE specification -
|
|
58
|
+
* [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)
|
|
66
59
|
*/
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* OAuth scope
|
|
70
|
-
*/
|
|
71
|
-
scope?: string;
|
|
60
|
+
code_challenge?: string;
|
|
72
61
|
/**
|
|
62
|
+
* The code challenge method as defined by the PKCE specification -
|
|
63
|
+
* [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)
|
|
64
|
+
* Default: plain
|
|
73
65
|
*/
|
|
74
|
-
|
|
66
|
+
code_challenge_method?: 'plain' | 'S256';
|
|
75
67
|
/**
|
|
68
|
+
* String value used to associate a Client session with an ID Token, and to mitigate replay attacks. The value is passed through unmodified from the Authentication Request to the ID Token.
|
|
76
69
|
*/
|
|
77
|
-
|
|
70
|
+
nonce?: string;
|
|
78
71
|
/**
|
|
79
|
-
*
|
|
72
|
+
* Login form user interface options (space-separated). By default, the UI options that are registered for this client application will be used
|
|
80
73
|
*/
|
|
81
|
-
|
|
74
|
+
ui_options?: string;
|
|
82
75
|
/**
|
|
76
|
+
* Hint to the Authorization Server about the login identifier the End-User might use to log in.
|
|
83
77
|
*/
|
|
84
|
-
|
|
78
|
+
login_hint?: string;
|
|
85
79
|
/**
|
|
80
|
+
* RingCentral Brand identifier. If it is not provided in the request,
|
|
81
|
+
* server will try to determine brand from the client application profile.
|
|
82
|
+
* Example: 1210
|
|
86
83
|
*/
|
|
87
|
-
|
|
84
|
+
brand_id?: string;
|
|
88
85
|
/**
|
|
89
86
|
*/
|
|
90
|
-
|
|
87
|
+
accept_language?: string;
|
|
91
88
|
}
|
|
92
89
|
export default AuthorizeRequest;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
interface BaseTokenRequest {
|
|
2
|
+
/**
|
|
3
|
+
* Grant type
|
|
4
|
+
* Required
|
|
5
|
+
*/
|
|
6
|
+
grant_type?: 'authorization_code' | 'password' | 'refresh_token' | 'client_credentials' | 'urn:ietf:params:oauth:grant-type:jwt-bearer' | 'urn:ietf:params:oauth:grant-type:device_code' | 'device_certificate' | 'partner_jwt' | 'guest' | 'personal_jwt' | 'otp' | 'ivr_pin';
|
|
7
|
+
/**
|
|
8
|
+
* The list of application permissions (OAuth scopes) requested.
|
|
9
|
+
* By default, it includes all permissions configured on
|
|
10
|
+
* the client application registration
|
|
11
|
+
*/
|
|
12
|
+
scope?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The registered identifier of a client application.
|
|
15
|
+
* Used to identify a client ONLY if the client authentication is not required and
|
|
16
|
+
* corresponding credentials are not provided with this request
|
|
17
|
+
* Example: AZwEVwGEcfGet2PCouA7K6
|
|
18
|
+
*/
|
|
19
|
+
client_id?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The unique identifier of a client application instance. If not
|
|
22
|
+
* specified, the derived or auto-generated value will be used
|
|
23
|
+
*/
|
|
24
|
+
endpoint_id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Access token lifetime in seconds
|
|
27
|
+
* Maximum: 3600
|
|
28
|
+
* Minimum: 600
|
|
29
|
+
* Format: int32
|
|
30
|
+
* Default: 3600
|
|
31
|
+
*/
|
|
32
|
+
access_token_ttl?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Refresh token lifetime in seconds
|
|
35
|
+
* Maximum: 604800
|
|
36
|
+
* Format: int32
|
|
37
|
+
* Default: 604800
|
|
38
|
+
*/
|
|
39
|
+
refresh_token_ttl?: number;
|
|
40
|
+
}
|
|
41
|
+
export default BaseTokenRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseTokenRequest.js","sourceRoot":"","sources":["../../src/definitions/BaseTokenRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface ClientAuthJwtModel {
|
|
2
|
+
/**
|
|
3
|
+
* Client assertion type for the `client_secret_jwt` or `private_key_jwt` client authentication types,
|
|
4
|
+
* as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.2).
|
|
5
|
+
* This parameter is mandatory if the client authentication is required and a client decided to use one of these authentication types
|
|
6
|
+
*/
|
|
7
|
+
client_assertion_type?: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer';
|
|
8
|
+
/**
|
|
9
|
+
* Client assertion (JWT) for the `client_secret_jwt` or `private_key_jwt` client authentication types,
|
|
10
|
+
* as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.2).
|
|
11
|
+
* This parameter is mandatory if the client authentication is required and a client decided to use one of these authentication types
|
|
12
|
+
*/
|
|
13
|
+
client_assertion?: string;
|
|
14
|
+
}
|
|
15
|
+
export default ClientAuthJwtModel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientAuthJwtModel.js","sourceRoot":"","sources":["../../src/definitions/ClientAuthJwtModel.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Client Credentials" authorization flow with the `client_credentials` grant type
|
|
3
|
+
*/
|
|
4
|
+
interface ClientCredentialsBase {
|
|
5
|
+
/**
|
|
6
|
+
* Grant type
|
|
7
|
+
*/
|
|
8
|
+
grant_type?: 'client_credentials';
|
|
9
|
+
}
|
|
10
|
+
export default ClientCredentialsBase;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientCredentialsBase.js","sourceRoot":"","sources":["../../src/definitions/ClientCredentialsBase.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Client Credentials" authorization flow with the `client_credentials` grant type
|
|
3
|
+
*/
|
|
4
|
+
interface ClientCredentialsByAccount {
|
|
5
|
+
/**
|
|
6
|
+
* Grant type
|
|
7
|
+
*/
|
|
8
|
+
grant_type?: 'client_credentials';
|
|
9
|
+
/**
|
|
10
|
+
* RingCentral internal account ID
|
|
11
|
+
* Required
|
|
12
|
+
*/
|
|
13
|
+
account_id?: string;
|
|
14
|
+
}
|
|
15
|
+
export default ClientCredentialsByAccount;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientCredentialsByAccount.js","sourceRoot":"","sources":["../../src/definitions/ClientCredentialsByAccount.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Client Credentials" authorization flow with the `client_credentials` grant type
|
|
3
|
+
*/
|
|
4
|
+
interface ClientCredentialsByBrand {
|
|
5
|
+
/**
|
|
6
|
+
* Grant type
|
|
7
|
+
*/
|
|
8
|
+
grant_type?: 'client_credentials';
|
|
9
|
+
/**
|
|
10
|
+
* RingCentral Brand identifier
|
|
11
|
+
* Required
|
|
12
|
+
*/
|
|
13
|
+
brand_id?: string;
|
|
14
|
+
}
|
|
15
|
+
export default ClientCredentialsByBrand;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientCredentialsByBrand.js","sourceRoot":"","sources":["../../src/definitions/ClientCredentialsByBrand.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Client Credentials" authorization flow with the `client_credentials` grant type
|
|
3
|
+
*/
|
|
4
|
+
interface ClientCredentialsByPartnerAccount {
|
|
5
|
+
/**
|
|
6
|
+
* Grant type
|
|
7
|
+
*/
|
|
8
|
+
grant_type?: 'client_credentials';
|
|
9
|
+
/**
|
|
10
|
+
* RingCentral Brand identifier
|
|
11
|
+
* Required
|
|
12
|
+
*/
|
|
13
|
+
brand_id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The ID of the account on RingCentral partner's side
|
|
16
|
+
* Required
|
|
17
|
+
*/
|
|
18
|
+
partner_account_id?: string;
|
|
19
|
+
}
|
|
20
|
+
export default ClientCredentialsByPartnerAccount;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientCredentialsByPartnerAccount.js","sourceRoot":"","sources":["../../src/definitions/ClientCredentialsByPartnerAccount.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Client Credentials" authorization flow with the `client_credentials` grant type
|
|
3
|
+
*/
|
|
4
|
+
interface ClientCredentialsTokenRequest {
|
|
5
|
+
/**
|
|
6
|
+
* Grant type
|
|
7
|
+
*/
|
|
8
|
+
grant_type?: 'client_credentials';
|
|
9
|
+
/**
|
|
10
|
+
* RingCentral Brand identifier
|
|
11
|
+
* Required
|
|
12
|
+
*/
|
|
13
|
+
brand_id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* RingCentral internal account ID
|
|
16
|
+
* Required
|
|
17
|
+
*/
|
|
18
|
+
account_id?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The ID of the account on RingCentral partner's side
|
|
21
|
+
* Required
|
|
22
|
+
*/
|
|
23
|
+
partner_account_id?: string;
|
|
24
|
+
}
|
|
25
|
+
export default ClientCredentialsTokenRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientCredentialsTokenRequest.js","sourceRoot":"","sources":["../../src/definitions/ClientCredentialsTokenRequest.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type CompanyAnsweringRuleCallersInfoRequest from './CompanyAnsweringRuleCallersInfoRequest';
|
|
2
2
|
import type CompanyAnsweringRuleCalledNumberInfo from './CompanyAnsweringRuleCalledNumberInfo';
|
|
3
3
|
import type CompanyAnsweringRuleScheduleInfoRequest from './CompanyAnsweringRuleScheduleInfoRequest';
|
|
4
|
+
import type CompanyAnsweringRuleExtensionInfoRequest from './CompanyAnsweringRuleExtensionInfoRequest';
|
|
4
5
|
import type GreetingInfo from './GreetingInfo';
|
|
5
6
|
interface CompanyAnsweringRuleRequest {
|
|
6
7
|
/**
|
|
@@ -33,7 +34,7 @@ interface CompanyAnsweringRuleRequest {
|
|
|
33
34
|
callHandlingAction?: 'Operator' | 'Disconnect' | 'Bypass';
|
|
34
35
|
/**
|
|
35
36
|
*/
|
|
36
|
-
extension?:
|
|
37
|
+
extension?: CompanyAnsweringRuleExtensionInfoRequest;
|
|
37
38
|
/**
|
|
38
39
|
* Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List
|
|
39
40
|
*/
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Device Authorization" flow
|
|
3
|
+
* with the `urn:ietf:params:oauth:grant-type:device_code` grant type
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
interface DeviceCodeTokenRequest {
|
|
7
|
+
/**
|
|
8
|
+
* Grant type
|
|
9
|
+
*/
|
|
10
|
+
grant_type?: 'urn:ietf:params:oauth:grant-type:device_code';
|
|
11
|
+
/**
|
|
12
|
+
* For `urn:ietf:params:oauth:grant-type:device_code` grant type only.
|
|
13
|
+
* The device verification code as defined by [RFC-8628](https://datatracker.ietf.org/doc/html/rfc8628#section-3.4)
|
|
14
|
+
* Required
|
|
15
|
+
*/
|
|
16
|
+
device_code?: string;
|
|
17
|
+
}
|
|
18
|
+
export default DeviceCodeTokenRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeviceCodeTokenRequest.js","sourceRoot":"","sources":["../../src/definitions/DeviceCodeTokenRequest.ts"],"names":[],"mappings":""}
|