@rc-ex/core 1.3.15 → 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 +4 -4
- 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
|
@@ -1,23 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Guest" authorization flow with the `guest` grant type
|
|
3
|
+
*/
|
|
1
4
|
interface GetTokenRequest {
|
|
2
5
|
/**
|
|
3
|
-
*
|
|
6
|
+
* Client assertion type for the `client_secret_jwt` or `private_key_jwt` client authentication types,
|
|
7
|
+
* as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.2).
|
|
8
|
+
* This parameter is mandatory if the client authentication is required and a client decided to use one of these authentication types
|
|
4
9
|
*/
|
|
5
|
-
|
|
10
|
+
client_assertion_type?: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer';
|
|
6
11
|
|
|
7
12
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
13
|
+
* Client assertion (JWT) for the `client_secret_jwt` or `private_key_jwt` client authentication types,
|
|
14
|
+
* as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.2).
|
|
15
|
+
* This parameter is mandatory if the client authentication is required and a client decided to use one of these authentication types
|
|
10
16
|
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* For `password` grant type only. Optional. Extension short number. If company number
|
|
15
|
-
* is specified as a username, and extension is not specified, the
|
|
16
|
-
* server will attempt to authenticate client as main company administrator
|
|
17
|
-
*
|
|
18
|
-
* DEPRECATED: use extension number embedded into username string like `+16501234567*101`
|
|
19
|
-
*/
|
|
20
|
-
extension?: string;
|
|
17
|
+
client_assertion?: string;
|
|
21
18
|
|
|
22
19
|
/**
|
|
23
20
|
* Grant type
|
|
@@ -38,17 +35,25 @@ interface GetTokenRequest {
|
|
|
38
35
|
| 'ivr_pin';
|
|
39
36
|
|
|
40
37
|
/**
|
|
41
|
-
*
|
|
38
|
+
* The list of application permissions (OAuth scopes) requested.
|
|
39
|
+
* By default, it includes all permissions configured on
|
|
40
|
+
* the client application registration
|
|
42
41
|
*/
|
|
43
|
-
|
|
42
|
+
scope?: string;
|
|
44
43
|
|
|
45
44
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
45
|
+
* The registered identifier of a client application.
|
|
46
|
+
* Used to identify a client ONLY if the client authentication is not required and
|
|
47
|
+
* corresponding credentials are not provided with this request
|
|
48
|
+
* Example: AZwEVwGEcfGet2PCouA7K6
|
|
50
49
|
*/
|
|
51
|
-
|
|
50
|
+
client_id?: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* The unique identifier of a client application instance. If not
|
|
54
|
+
* specified, the derived or auto-generated value will be used
|
|
55
|
+
*/
|
|
56
|
+
endpoint_id?: string;
|
|
52
57
|
|
|
53
58
|
/**
|
|
54
59
|
* Access token lifetime in seconds
|
|
@@ -68,72 +73,110 @@ interface GetTokenRequest {
|
|
|
68
73
|
refresh_token_ttl?: number;
|
|
69
74
|
|
|
70
75
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
76
|
+
* For `otp` grant type only.
|
|
77
|
+
* One-time password code
|
|
78
|
+
* Required
|
|
74
79
|
*/
|
|
75
|
-
|
|
80
|
+
code?: string;
|
|
76
81
|
|
|
77
82
|
/**
|
|
78
|
-
* For `
|
|
83
|
+
* For `authorization_code` grant type only. This is a callback URI which determines where the response
|
|
84
|
+
* is sent. The value of this parameter must exactly match one of
|
|
85
|
+
* the URIs you have provided for your app upon registration
|
|
86
|
+
* Format: uri
|
|
79
87
|
*/
|
|
80
|
-
|
|
88
|
+
redirect_uri?: string;
|
|
81
89
|
|
|
82
90
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
91
|
+
* For `authorization_code` grant type only.
|
|
92
|
+
* The code verifier as defined by the PKCE specification -
|
|
93
|
+
* [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)
|
|
85
94
|
*/
|
|
86
|
-
|
|
95
|
+
code_verifier?: string;
|
|
87
96
|
|
|
88
97
|
/**
|
|
98
|
+
* For `password` grant type only. User login name: email or phone number in E.164 format
|
|
99
|
+
* Required
|
|
89
100
|
*/
|
|
90
|
-
|
|
101
|
+
username?: string;
|
|
91
102
|
|
|
92
103
|
/**
|
|
93
|
-
*
|
|
104
|
+
* For `password` grant type only. User's password
|
|
105
|
+
* Required
|
|
106
|
+
* Format: password
|
|
94
107
|
*/
|
|
95
|
-
|
|
108
|
+
password?: string;
|
|
96
109
|
|
|
97
110
|
/**
|
|
111
|
+
* For `password` grant type only. Optional. Extension short number. If a company number
|
|
112
|
+
* is specified as a username, and extension is not specified, the
|
|
113
|
+
* server will attempt to authenticate client as main company administrator
|
|
114
|
+
*
|
|
115
|
+
* DEPRECATED: use extension number embedded into username string like `+16501234567*101`
|
|
98
116
|
*/
|
|
99
|
-
|
|
117
|
+
extension?: string;
|
|
100
118
|
|
|
101
119
|
/**
|
|
120
|
+
* IVR pin for pin-based authentication.
|
|
121
|
+
*
|
|
122
|
+
* DEPRECATED: use a dedicated `ivr_pin` grant type instead
|
|
102
123
|
*/
|
|
103
|
-
|
|
124
|
+
pin?: string;
|
|
104
125
|
|
|
105
126
|
/**
|
|
106
|
-
*
|
|
127
|
+
* For `urn:ietf:params:oauth:grant-type:jwt-bearer` or `partner_jwt` grant types only.
|
|
128
|
+
* Authorization grant assertion (JWT)
|
|
129
|
+
* as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.1).
|
|
130
|
+
* Required
|
|
107
131
|
*/
|
|
108
|
-
|
|
132
|
+
assertion?: string;
|
|
109
133
|
|
|
110
134
|
/**
|
|
111
|
-
*
|
|
135
|
+
* For `refresh_token` grant type only. Previously issued refresh token.
|
|
136
|
+
* Required
|
|
112
137
|
*/
|
|
113
|
-
|
|
138
|
+
refresh_token?: string;
|
|
114
139
|
|
|
115
140
|
/**
|
|
116
|
-
* For `
|
|
141
|
+
* For `ivr_pin` grant type only. User's IVR pin.
|
|
142
|
+
* Required
|
|
117
143
|
*/
|
|
118
|
-
|
|
144
|
+
ivr_pin?: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* For `urn:ietf:params:oauth:grant-type:device_code` grant type only.
|
|
148
|
+
* The device verification code as defined by [RFC-8628](https://datatracker.ietf.org/doc/html/rfc8628#section-3.4)
|
|
149
|
+
* Required
|
|
150
|
+
*/
|
|
151
|
+
device_code?: string;
|
|
119
152
|
|
|
120
153
|
/**
|
|
154
|
+
* RingCentral Brand identifier.
|
|
155
|
+
* Required
|
|
121
156
|
*/
|
|
122
157
|
brand_id?: string;
|
|
123
158
|
|
|
124
159
|
/**
|
|
125
|
-
*
|
|
160
|
+
* RingCentral internal account ID
|
|
161
|
+
* Required
|
|
126
162
|
*/
|
|
127
|
-
|
|
163
|
+
account_id?: string;
|
|
128
164
|
|
|
129
165
|
/**
|
|
166
|
+
* The ID of the account on RingCentral partner's side
|
|
167
|
+
* Required
|
|
130
168
|
*/
|
|
131
|
-
|
|
169
|
+
partner_account_id?: string;
|
|
132
170
|
|
|
133
171
|
/**
|
|
134
|
-
*
|
|
172
|
+
* Resource type for the guest access.
|
|
135
173
|
*/
|
|
136
|
-
|
|
174
|
+
resource_type?: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Resource URL for the guest access.
|
|
178
|
+
*/
|
|
179
|
+
resource?: string;
|
|
137
180
|
}
|
|
138
181
|
|
|
139
182
|
export default GetTokenRequest;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Guest" authorization flow with the `guest` grant type
|
|
3
|
+
*/
|
|
4
|
+
interface GuestTokenRequest {
|
|
5
|
+
/**
|
|
6
|
+
* Grant type
|
|
7
|
+
*/
|
|
8
|
+
grant_type?: 'guest';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* RingCentral Brand identifier.
|
|
12
|
+
*/
|
|
13
|
+
brand_id?: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Resource type for the guest access.
|
|
17
|
+
*/
|
|
18
|
+
resource_type?: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Resource URL for the guest access.
|
|
22
|
+
*/
|
|
23
|
+
resource?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export default GuestTokenRequest;
|
|
@@ -9,7 +9,7 @@ interface IdentityModel {
|
|
|
9
9
|
id?: string;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Identity's avatar
|
|
12
|
+
* Identity's avatar URI
|
|
13
13
|
* Format: uri
|
|
14
14
|
* Example: https://example.com/assets/avatar/default-79fd530c58c2a6b83a11fcc0e842ed7023ceb69292cfeb857bc2af2c624b90fd.png
|
|
15
15
|
*/
|
|
@@ -30,7 +30,7 @@ interface IdentityModel {
|
|
|
30
30
|
creationTime?: string;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Display name of
|
|
33
|
+
* Display name of identity
|
|
34
34
|
* Example: John Doe
|
|
35
35
|
*/
|
|
36
36
|
displayName?: string;
|
|
@@ -65,10 +65,10 @@ interface IdentityModel {
|
|
|
65
65
|
homePhone?: string;
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
69
|
-
* all information (phone, notes, etc
|
|
70
|
-
*
|
|
71
|
-
* does not
|
|
68
|
+
* Identity group identifier which references the identity group that contains
|
|
69
|
+
* all information (phone, notes, etc). Multiple identities may belong to
|
|
70
|
+
* a single group. If the parameter value is null, it means that identity
|
|
71
|
+
* does not belong to a group or have extra information
|
|
72
72
|
* Example: 54085e5b7aa58d8b5d00006c
|
|
73
73
|
*/
|
|
74
74
|
identityGroupId?: string;
|
|
@@ -86,13 +86,13 @@ interface IdentityModel {
|
|
|
86
86
|
mobilePhone?: string;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
* Screen name of
|
|
89
|
+
* Screen name of identity
|
|
90
90
|
* Example: John D.
|
|
91
91
|
*/
|
|
92
92
|
screenName?: string;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
|
-
* Type of
|
|
95
|
+
* Type of identity
|
|
96
96
|
* Required
|
|
97
97
|
*/
|
|
98
98
|
type?:
|
|
@@ -118,160 +118,124 @@ interface IdentityModel {
|
|
|
118
118
|
lastModifiedTime?: string;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
* List of the associated user identifiers who can use the identity
|
|
121
|
+
* List of the associated user identifiers who can use the identity
|
|
122
122
|
*/
|
|
123
123
|
userIds?: string[];
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
* UUID of
|
|
126
|
+
* UUID of identity
|
|
127
127
|
* Example: 9680ab94-3b78-495c-bb2c-a969954d8260
|
|
128
128
|
*/
|
|
129
129
|
uuid?: string;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
* Device info of the identity.
|
|
133
|
-
*
|
|
134
|
-
* Applicable to RingCX Digital Messaging channels only.
|
|
132
|
+
* Device info of the identity. Applicable to RingCX Digital Messaging channels only
|
|
135
133
|
* Example: iPhone (iPhone); iOS 15.0.2
|
|
136
134
|
*/
|
|
137
135
|
mobileDeviceInfo?: string;
|
|
138
136
|
|
|
139
137
|
/**
|
|
140
|
-
* Facebook biography of the identity.
|
|
141
|
-
*
|
|
142
|
-
* Applicable to Facebook and Messenger channels only.
|
|
138
|
+
* Facebook biography of the identity. Applicable to Facebook and Messenger channels only
|
|
143
139
|
* Example: Painter living in Paris
|
|
144
140
|
*/
|
|
145
141
|
fbBio?: string;
|
|
146
142
|
|
|
147
143
|
/**
|
|
148
|
-
* Facebook category of the identity.
|
|
149
|
-
*
|
|
150
|
-
* Applicable to Facebook and Messenger channels only.
|
|
144
|
+
* Facebook category of the identity. Applicable to Facebook and Messenger channels only
|
|
151
145
|
* Example: Computers/Internet
|
|
152
146
|
*/
|
|
153
147
|
fbCategory?: string;
|
|
154
148
|
|
|
155
149
|
/**
|
|
156
|
-
* Facebook locale of the identity.
|
|
157
|
-
*
|
|
158
|
-
* Applicable to Facebook and Messenger channels only.
|
|
150
|
+
* Facebook locale of the identity. Applicable to Facebook and Messenger channels only
|
|
159
151
|
* Example: fr_FR
|
|
160
152
|
*/
|
|
161
153
|
fbLocale?: string;
|
|
162
154
|
|
|
163
155
|
/**
|
|
164
|
-
* Instagram followers count of the identity.
|
|
165
|
-
*
|
|
166
|
-
* Applicable to Instagram and InstagramMessaging channels only.
|
|
156
|
+
* Instagram followers count of the identity. Applicable to Instagram and InstagramMessaging channels only
|
|
167
157
|
* Format: int32
|
|
168
158
|
* Example: 10
|
|
169
159
|
*/
|
|
170
160
|
igFollowersCount?: number;
|
|
171
161
|
|
|
172
162
|
/**
|
|
173
|
-
* Twitter description of the identity.
|
|
174
|
-
*
|
|
175
|
-
* Applicable to Twitter channels only.
|
|
163
|
+
* Twitter description of the identity. Applicable to Twitter channels only
|
|
176
164
|
* Example: Software Engineer
|
|
177
165
|
*/
|
|
178
166
|
twDescription?: string;
|
|
179
167
|
|
|
180
168
|
/**
|
|
181
|
-
* Twitter followers count of the identity.
|
|
182
|
-
*
|
|
183
|
-
* Applicable to Twitter channels only.
|
|
169
|
+
* Twitter followers count of the identity. Applicable to Twitter channels only
|
|
184
170
|
* Format: int32
|
|
185
171
|
* Example: 10
|
|
186
172
|
*/
|
|
187
173
|
twFollowersCount?: number;
|
|
188
174
|
|
|
189
175
|
/**
|
|
190
|
-
* Count of Twitter accounts followed by the identity.
|
|
191
|
-
*
|
|
192
|
-
* Applicable to Twitter channels only.
|
|
176
|
+
* Count of Twitter accounts followed by the identity. Applicable to Twitter channels only
|
|
193
177
|
* Format: int32
|
|
194
178
|
* Example: 500
|
|
195
179
|
*/
|
|
196
180
|
twFollowingCount?: number;
|
|
197
181
|
|
|
198
182
|
/**
|
|
199
|
-
* Count of tweets of the identity.
|
|
200
|
-
*
|
|
201
|
-
* Applicable to Twitter channels only.
|
|
183
|
+
* Count of tweets of the identity. Applicable to Twitter channels only
|
|
202
184
|
* Format: int32
|
|
203
185
|
* Example: 42
|
|
204
186
|
*/
|
|
205
187
|
twStatusesCount?: number;
|
|
206
188
|
|
|
207
189
|
/**
|
|
208
|
-
* Twitter location of the identity.
|
|
209
|
-
*
|
|
210
|
-
* Applicable to Twitter channels only.
|
|
190
|
+
* Twitter location of the identity. Applicable to Twitter channels only
|
|
211
191
|
* Example: Paris
|
|
212
192
|
*/
|
|
213
193
|
twLocation?: string;
|
|
214
194
|
|
|
215
195
|
/**
|
|
216
|
-
* Viber API version of the identity.
|
|
217
|
-
*
|
|
218
|
-
* Applicable to Viber channels only.
|
|
196
|
+
* Viber API version of the identity. Applicable to Viber channels only
|
|
219
197
|
* Example: 10
|
|
220
198
|
*/
|
|
221
199
|
apiVersion?: string;
|
|
222
200
|
|
|
223
201
|
/**
|
|
224
|
-
* Viber country of the identity.
|
|
225
|
-
*
|
|
226
|
-
* Applicable to Viber channels only.
|
|
202
|
+
* Viber country of the identity. Applicable to Viber channels only
|
|
227
203
|
* Example: FR
|
|
228
204
|
*/
|
|
229
205
|
country?: string;
|
|
230
206
|
|
|
231
207
|
/**
|
|
232
|
-
* Viber device type of the identity.
|
|
233
|
-
*
|
|
234
|
-
* Applicable to Viber channels only.
|
|
208
|
+
* Viber device type of the identity. Applicable to Viber channels only
|
|
235
209
|
* Example: SM-G970U1
|
|
236
210
|
*/
|
|
237
211
|
deviceType?: string;
|
|
238
212
|
|
|
239
213
|
/**
|
|
240
|
-
* Viber language of the identity.
|
|
241
|
-
*
|
|
242
|
-
* Applicable to Viber channels only.
|
|
214
|
+
* Viber language of the identity. Applicable to Viber channels only
|
|
243
215
|
* Example: fr-FR
|
|
244
216
|
*/
|
|
245
217
|
language?: string;
|
|
246
218
|
|
|
247
219
|
/**
|
|
248
|
-
* Viber mobile country code of the identity.
|
|
249
|
-
*
|
|
250
|
-
* Applicable to Viber channels only.
|
|
220
|
+
* Viber mobile country code of the identity. Applicable to Viber channels only
|
|
251
221
|
* Example: 1
|
|
252
222
|
*/
|
|
253
223
|
mcc?: string;
|
|
254
224
|
|
|
255
225
|
/**
|
|
256
|
-
* Viber mobile network code of the identity.
|
|
257
|
-
*
|
|
258
|
-
* Applicable to Viber channels only.
|
|
226
|
+
* Viber mobile network code of the identity. Applicable to Viber channels only
|
|
259
227
|
* Example: 220
|
|
260
228
|
*/
|
|
261
229
|
mnc?: string;
|
|
262
230
|
|
|
263
231
|
/**
|
|
264
|
-
* Viber primary device OS of the identity.
|
|
265
|
-
*
|
|
266
|
-
* Applicable to Viber channels only.
|
|
232
|
+
* Viber primary device OS of the identity. Applicable to Viber channels only
|
|
267
233
|
* Example: Android 11
|
|
268
234
|
*/
|
|
269
235
|
primaryDeviceOs?: string;
|
|
270
236
|
|
|
271
237
|
/**
|
|
272
|
-
* Viber application version of the identity.
|
|
273
|
-
*
|
|
274
|
-
* Applicable to Viber channels only.
|
|
238
|
+
* Viber application version of the identity. Applicable to Viber channels only
|
|
275
239
|
* Example: 19.5.0
|
|
276
240
|
*/
|
|
277
241
|
viberVersion?: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "IVR Pin" authorization flow with the `ivr_pin` grant type
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
interface IvrPinTokenRequest {
|
|
6
|
+
/**
|
|
7
|
+
* Grant type
|
|
8
|
+
*/
|
|
9
|
+
grant_type?: 'ivr_pin';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* For `ivr_pin` grant type only. User's IVR pin.
|
|
13
|
+
* Required
|
|
14
|
+
*/
|
|
15
|
+
ivr_pin?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export default IvrPinTokenRequest;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type JobStatusResponseResponse from './JobStatusResponseResponse';
|
|
2
|
+
|
|
1
3
|
interface JobStatusResponse {
|
|
2
4
|
/**
|
|
3
5
|
*/
|
|
@@ -17,6 +19,14 @@ interface JobStatusResponse {
|
|
|
17
19
|
* Format: date-time
|
|
18
20
|
*/
|
|
19
21
|
expirationTime?: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*/
|
|
25
|
+
status?: 'Success' | 'Fail';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
*/
|
|
29
|
+
response?: JobStatusResponseResponse;
|
|
20
30
|
}
|
|
21
31
|
|
|
22
32
|
export default JobStatusResponse;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type UtteranceObject from './UtteranceObject';
|
|
2
|
+
import type WordSegment from './WordSegment';
|
|
3
|
+
import type UtteranceInsightsObject from './UtteranceInsightsObject';
|
|
4
|
+
import type SpeakerInsightsObject from './SpeakerInsightsObject';
|
|
5
|
+
import type ConversationalInsightsUnit from './ConversationalInsightsUnit';
|
|
6
|
+
|
|
7
|
+
interface JobStatusResponseResponse {
|
|
8
|
+
/**
|
|
9
|
+
* The number of speakers detected. Field is set only when enableSpeakerDiarization is true.
|
|
10
|
+
* Format: int32
|
|
11
|
+
* Example: 2
|
|
12
|
+
*/
|
|
13
|
+
speakerCount?: number;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Speaker wise utterances. Field is set only when enableSpeakerDiarization is true.
|
|
17
|
+
*/
|
|
18
|
+
utterances?: UtteranceObject[];
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*/
|
|
22
|
+
words?: WordSegment[];
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Overall transcription confidence.
|
|
26
|
+
* Format: float
|
|
27
|
+
*/
|
|
28
|
+
confidence?: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The entire transcript with/without punctuations according to the input.
|
|
32
|
+
*/
|
|
33
|
+
transcript?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*/
|
|
37
|
+
utteranceInsights?: UtteranceInsightsObject[];
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
*/
|
|
41
|
+
speakerInsights?: SpeakerInsightsObject;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
*/
|
|
45
|
+
conversationalInsights?: ConversationalInsightsUnit[];
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export default JobStatusResponseResponse;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token endpoint request parameters used in the "Personal JWT", "JWT Bearer" and "Partner JWT" authorization flows
|
|
3
|
+
* with the `urn:ietf:params:oauth:grant-type:jwt-bearer` and `partner_jwt` grant types
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
interface JwtTokenRequest {
|
|
7
|
+
/**
|
|
8
|
+
* Grant type
|
|
9
|
+
*/
|
|
10
|
+
grant_type?: 'urn:ietf:params:oauth:grant-type:jwt-bearer' | 'partner_jwt';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* For `urn:ietf:params:oauth:grant-type:jwt-bearer` or `partner_jwt` grant types only.
|
|
14
|
+
* Authorization grant assertion (JWT)
|
|
15
|
+
* as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.1).
|
|
16
|
+
* Required
|
|
17
|
+
*/
|
|
18
|
+
assertion?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default JwtTokenRequest;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query parameters for operation listCompanyMessageTemplates
|
|
3
|
+
*/
|
|
4
|
+
interface ListCompanyMessageTemplatesParameters {
|
|
5
|
+
/**
|
|
6
|
+
* Site ID(s) to filter company message templates, associated with particular sites
|
|
7
|
+
* By default the value is all - templates with all sites will be returned
|
|
8
|
+
*/
|
|
9
|
+
siteIds?: string[];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export default ListCompanyMessageTemplatesParameters;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Query parameters for operation
|
|
2
|
+
* Query parameters for operation listSocialMessagingIdentities
|
|
3
3
|
*/
|
|
4
|
-
interface
|
|
4
|
+
interface ListSocialMessagingIdentitiesParameters {
|
|
5
5
|
/**
|
|
6
|
-
* Filter based on the specified sourceId
|
|
6
|
+
* Filter based on the specified `sourceId`
|
|
7
7
|
*/
|
|
8
8
|
sourceId?: string;
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Filter based on the specified identityGroupIds (separated by commas)
|
|
11
|
+
* Filter based on the specified `identityGroupIds` (separated by commas)
|
|
12
12
|
*/
|
|
13
13
|
identityGroupIds?: string[];
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Filter based on the specified userId
|
|
16
|
+
* Filter based on the specified `userId`
|
|
17
17
|
*/
|
|
18
18
|
userId?: string;
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Filter based on the specified uuid
|
|
21
|
+
* Filter based on the specified `uuid`
|
|
22
22
|
*/
|
|
23
23
|
uuid?: string;
|
|
24
24
|
|
|
@@ -47,4 +47,4 @@ interface SocMsgListIdentitiesParameters {
|
|
|
47
47
|
perPage?: number;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export default
|
|
50
|
+
export default ListSocialMessagingIdentitiesParameters;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query parameters for operation listUserMessageTemplates
|
|
3
|
+
*/
|
|
4
|
+
interface ListUserMessageTemplatesParameters {
|
|
5
|
+
/**
|
|
6
|
+
* Site ID(s) to filter user message templates, associated with particular sites.
|
|
7
|
+
* By default the value is all - templates with all sites will be returned
|
|
8
|
+
*/
|
|
9
|
+
siteIds?: string[];
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Specifies if a template is available on a user (Personal) or a company (Company) level
|
|
13
|
+
*/
|
|
14
|
+
scope?: 'Company' | 'Personal';
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default ListUserMessageTemplatesParameters;
|
|
@@ -10,12 +10,13 @@ interface MessageStatusCounts {
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Count of messages with this status code
|
|
13
|
-
* Format:
|
|
13
|
+
* Format: int32
|
|
14
14
|
* Example: 7
|
|
15
15
|
*/
|
|
16
16
|
count?: number;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
+
* Message sending/delivery errors. Returned in `deliveryFailed` and `sendingFailed` resources
|
|
19
20
|
*/
|
|
20
21
|
errorCodeCounts?: object;
|
|
21
22
|
}
|