@rc-ex/core 1.3.8 → 1.3.10
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/Rest.js +1 -1
- package/lib/Rest.js.map +1 -1
- package/lib/definitions/AccountInfo.d.ts +2 -2
- package/lib/definitions/AccountStatusInfo.d.ts +10 -9
- package/lib/definitions/ActivePermissionResource.d.ts +1 -1
- package/lib/definitions/AutoShared.d.ts +15 -0
- package/lib/definitions/{StatusInfo.js → AutoShared.js} +1 -1
- package/lib/definitions/AutoShared.js.map +1 -0
- package/lib/definitions/CallQueueDetails.d.ts +13 -4
- package/lib/definitions/CallQueueInfo.d.ts +8 -0
- package/lib/definitions/CallQueueOverflowSettings.d.ts +2 -2
- package/lib/definitions/CloudRecording.d.ts +11 -2
- package/lib/definitions/ContentAttachment.d.ts +76 -0
- package/lib/definitions/{CallQueueUpdateDetails.js → ContentAttachment.js} +1 -1
- package/lib/definitions/ContentAttachment.js.map +1 -0
- package/lib/definitions/ContentBodyFormatted.d.ts +12 -0
- package/lib/definitions/{CallQueueOverflowAgent.js → ContentBodyFormatted.js} +1 -1
- package/lib/definitions/ContentBodyFormatted.js.map +1 -0
- package/lib/definitions/ContentContextData.d.ts +9 -0
- package/lib/definitions/{RcvListDelegatorsParameters.js → ContentContextData.js} +1 -1
- package/lib/definitions/ContentContextData.js.map +1 -0
- package/lib/definitions/ContentList.d.ts +13 -0
- package/lib/definitions/ContentList.js +3 -0
- package/lib/definitions/ContentList.js.map +1 -0
- package/lib/definitions/ContentModel.d.ts +223 -0
- package/lib/definitions/ContentModel.js +3 -0
- package/lib/definitions/ContentModel.js.map +1 -0
- package/lib/definitions/CreateContentRequest.d.ts +131 -0
- package/lib/definitions/CreateContentRequest.js +3 -0
- package/lib/definitions/CreateContentRequest.js.map +1 -0
- package/lib/definitions/ExtensionUpdateRequest.d.ts +1 -1
- package/lib/definitions/GetExtensionInfoResponse.d.ts +1 -1
- package/lib/definitions/GetExtensionListInfoResponse.d.ts +1 -1
- package/lib/definitions/Host.d.ts +3 -3
- package/lib/definitions/IdentitiesList.d.ts +13 -0
- package/lib/definitions/IdentitiesList.js +3 -0
- package/lib/definitions/IdentitiesList.js.map +1 -0
- package/lib/definitions/IdentityExtraValues.d.ts +6 -0
- package/lib/definitions/IdentityExtraValues.js +3 -0
- package/lib/definitions/IdentityExtraValues.js.map +1 -0
- package/lib/definitions/IdentityModel.d.ts +231 -0
- package/lib/definitions/IdentityModel.js +3 -0
- package/lib/definitions/IdentityModel.js.map +1 -0
- package/lib/definitions/ImportIdentityRequest.d.ts +61 -0
- package/lib/definitions/ImportIdentityRequest.js +3 -0
- package/lib/definitions/ImportIdentityRequest.js.map +1 -0
- package/lib/definitions/IntrospectTokenRequest.d.ts +13 -0
- package/lib/definitions/IntrospectTokenRequest.js +3 -0
- package/lib/definitions/IntrospectTokenRequest.js.map +1 -0
- package/lib/definitions/ListCallQueuesParameters.d.ts +2 -4
- package/lib/definitions/ListExtensionsParameters.d.ts +1 -1
- package/lib/definitions/ListOfAvailableForAssigningRolesParameters.d.ts +25 -0
- package/lib/definitions/ListOfAvailableForAssigningRolesParameters.js +3 -0
- package/lib/definitions/ListOfAvailableForAssigningRolesParameters.js.map +1 -0
- package/lib/definitions/ListStandardUserRoleParameters.d.ts +5 -0
- package/lib/definitions/ListVideoMeetingsParameters.d.ts +17 -1
- package/lib/definitions/Meeting.d.ts +27 -13
- package/lib/definitions/MeetingPage.d.ts +3 -1
- package/lib/definitions/NonEnumeratedPagingModel.d.ts +31 -0
- package/lib/definitions/NonEnumeratedPagingModel.js +3 -0
- package/lib/definitions/NonEnumeratedPagingModel.js.map +1 -0
- package/lib/definitions/Paging.d.ts +1 -0
- package/lib/definitions/Participant.d.ts +11 -5
- package/lib/definitions/PermissionIdResource.d.ts +4 -0
- package/lib/definitions/PermissionsCapabilities.d.ts +18 -0
- package/lib/definitions/PermissionsCapabilities.js +3 -0
- package/lib/definitions/PermissionsCapabilities.js.map +1 -0
- package/lib/definitions/ReadUserRoleParameters.d.ts +11 -0
- package/lib/definitions/ReadUserRoleParameters.js +3 -0
- package/lib/definitions/ReadUserRoleParameters.js.map +1 -0
- package/lib/definitions/Recording.d.ts +20 -7
- package/lib/definitions/RecordingsPreferences.d.ts +4 -0
- package/lib/definitions/RoleResource.d.ts +7 -1
- package/lib/definitions/SessionInfoResponse.d.ts +42 -0
- package/lib/definitions/SessionInfoResponse.js +3 -0
- package/lib/definitions/SessionInfoResponse.js.map +1 -0
- package/lib/definitions/SipInfoResponse.d.ts +1 -1
- package/lib/definitions/SocMsgListContentsParameters.d.ts +60 -0
- package/lib/definitions/SocMsgListContentsParameters.js +3 -0
- package/lib/definitions/SocMsgListContentsParameters.js.map +1 -0
- package/lib/definitions/SocMsgListIdentitiesParameters.d.ts +43 -0
- package/lib/definitions/SocMsgListIdentitiesParameters.js +3 -0
- package/lib/definitions/SocMsgListIdentitiesParameters.js.map +1 -0
- package/lib/definitions/TokenInfo.d.ts +19 -0
- package/lib/definitions/TokenIntrospectionResponse.d.ts +47 -0
- package/lib/definitions/TokenIntrospectionResponse.js +3 -0
- package/lib/definitions/TokenIntrospectionResponse.js.map +1 -0
- package/lib/definitions/UserPhoneNumberInfo.d.ts +1 -1
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.d.ts +67 -0
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js +85 -0
- package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.d.ts +17 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.js +25 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.d.ts +19 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.js +27 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.d.ts +20 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.js +27 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +42 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +67 -0
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/V1/index.d.ts +12 -0
- package/lib/paths/Cx/SocialMessaging/V1/index.js +24 -0
- package/lib/paths/Cx/SocialMessaging/V1/index.js.map +1 -0
- package/lib/paths/Cx/SocialMessaging/index.d.ts +10 -0
- package/lib/paths/Cx/SocialMessaging/index.js +20 -0
- package/lib/paths/Cx/SocialMessaging/index.js.map +1 -0
- package/lib/paths/Cx/index.d.ts +9 -0
- package/lib/paths/Cx/index.js +19 -0
- package/lib/paths/Cx/index.js.map +1 -0
- package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.d.ts +3 -1
- package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.js +3 -1
- package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Account/Recordings/index.d.ts +3 -1
- package/lib/paths/Rcvideo/V1/Account/Recordings/index.js +3 -1
- package/lib/paths/Rcvideo/V1/Account/Recordings/index.js.map +1 -1
- package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.d.ts +1 -2
- package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.js +2 -2
- package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.js.map +1 -1
- package/lib/paths/Restapi/Account/CallQueues/index.d.ts +1 -4
- package/lib/paths/Restapi/Account/CallQueues/index.js +2 -4
- package/lib/paths/Restapi/Account/CallQueues/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.d.ts +18 -0
- package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.js +24 -0
- package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.js.map +1 -0
- package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.d.ts +0 -1
- package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js +0 -1
- package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js.map +1 -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/UserRole/index.d.ts +3 -2
- package/lib/paths/Restapi/Account/UserRole/index.js +2 -2
- package/lib/paths/Restapi/Account/UserRole/index.js.map +1 -1
- package/lib/paths/Restapi/Oauth/Introspect/index.d.ts +24 -0
- package/lib/paths/Restapi/Oauth/Introspect/index.js +30 -0
- package/lib/paths/Restapi/Oauth/Introspect/index.js.map +1 -0
- package/lib/paths/Restapi/Oauth/SessionInfo/index.d.ts +17 -0
- package/lib/paths/Restapi/Oauth/SessionInfo/index.js +24 -0
- package/lib/paths/Restapi/Oauth/SessionInfo/index.js.map +1 -0
- package/lib/paths/Restapi/Oauth/index.d.ts +4 -0
- package/lib/paths/Restapi/Oauth/index.js +8 -0
- package/lib/paths/Restapi/Oauth/index.js.map +1 -1
- package/package.json +6 -6
- package/src/Rest.ts +1 -1
- package/src/definitions/AccountInfo.ts +2 -2
- package/src/definitions/AccountStatusInfo.ts +10 -9
- package/src/definitions/ActivePermissionResource.ts +1 -1
- package/src/definitions/AutoShared.ts +17 -0
- package/src/definitions/CallQueueDetails.ts +15 -4
- package/src/definitions/CallQueueInfo.ts +10 -0
- package/src/definitions/CallQueueOverflowSettings.ts +2 -2
- package/src/definitions/CloudRecording.ts +13 -2
- package/src/definitions/ContentAttachment.ts +85 -0
- package/src/definitions/ContentBodyFormatted.ts +14 -0
- package/src/definitions/ContentContextData.ts +10 -0
- package/src/definitions/ContentList.ts +16 -0
- package/src/definitions/ContentModel.ts +303 -0
- package/src/definitions/CreateContentRequest.ts +147 -0
- package/src/definitions/ExtensionUpdateRequest.ts +1 -1
- package/src/definitions/GetExtensionInfoResponse.ts +1 -1
- package/src/definitions/GetExtensionListInfoResponse.ts +1 -1
- package/src/definitions/Host.ts +3 -3
- package/src/definitions/IdentitiesList.ts +16 -0
- package/src/definitions/IdentityExtraValues.ts +7 -0
- package/src/definitions/IdentityModel.ts +280 -0
- package/src/definitions/ImportIdentityRequest.ts +73 -0
- package/src/definitions/IntrospectTokenRequest.ts +15 -0
- package/src/definitions/ListCallQueuesParameters.ts +2 -4
- package/src/definitions/ListExtensionsParameters.ts +1 -0
- package/src/definitions/ListOfAvailableForAssigningRolesParameters.ts +27 -0
- package/src/definitions/ListStandardUserRoleParameters.ts +6 -0
- package/src/definitions/ListVideoMeetingsParameters.ts +19 -1
- package/src/definitions/Meeting.ts +30 -13
- package/src/definitions/MeetingPage.ts +3 -1
- package/src/definitions/NonEnumeratedPagingModel.ts +36 -0
- package/src/definitions/Paging.ts +1 -0
- package/src/definitions/Participant.ts +12 -5
- package/src/definitions/PermissionIdResource.ts +6 -0
- package/src/definitions/PermissionsCapabilities.ts +21 -0
- package/src/definitions/ReadUserRoleParameters.ts +12 -0
- package/src/definitions/Recording.ts +23 -7
- package/src/definitions/RecordingsPreferences.ts +5 -0
- package/src/definitions/RoleResource.ts +7 -1
- package/src/definitions/SessionInfoResponse.ts +50 -0
- package/src/definitions/SipInfoResponse.ts +1 -1
- package/src/definitions/SocMsgListContentsParameters.ts +70 -0
- package/src/definitions/SocMsgListIdentitiesParameters.ts +50 -0
- package/src/definitions/TokenInfo.ts +23 -0
- package/src/definitions/TokenIntrospectionResponse.ts +56 -0
- package/src/definitions/UserPhoneNumberInfo.ts +1 -1
- package/src/paths/Cx/SocialMessaging/V1/Contents/index.ts +98 -0
- package/src/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.ts +27 -0
- package/src/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.ts +29 -0
- package/src/paths/Cx/SocialMessaging/V1/Identities/Import/index.ts +33 -0
- package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +75 -0
- package/src/paths/Cx/SocialMessaging/V1/index.ts +25 -0
- package/src/paths/Cx/SocialMessaging/index.ts +20 -0
- package/src/paths/Cx/index.ts +18 -0
- package/src/paths/Rcvideo/V1/Account/Extension/Recordings/index.ts +3 -1
- package/src/paths/Rcvideo/V1/Account/Recordings/index.ts +3 -1
- package/src/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.ts +2 -6
- package/src/paths/Restapi/Account/CallQueues/index.ts +2 -5
- package/src/paths/Restapi/Account/Extension/AssignableRoles/index.ts +31 -0
- package/src/paths/Restapi/Account/Extension/OverflowSettings/index.ts +0 -1
- package/src/paths/Restapi/Account/Extension/index.ts +5 -0
- package/src/paths/Restapi/Account/UserRole/index.ts +5 -4
- package/src/paths/Restapi/Oauth/Introspect/index.ts +42 -0
- package/src/paths/Restapi/Oauth/SessionInfo/index.ts +27 -0
- package/src/paths/Restapi/Oauth/index.ts +10 -0
- package/src/samples.md +3999 -3738
- package/lib/definitions/CallQueueOverflowAgent.d.ts +0 -19
- package/lib/definitions/CallQueueOverflowAgent.js.map +0 -1
- package/lib/definitions/CallQueueUpdateDetails.d.ts +0 -16
- package/lib/definitions/CallQueueUpdateDetails.js.map +0 -1
- package/lib/definitions/RcvListDelegatorsParameters.d.ts +0 -9
- package/lib/definitions/RcvListDelegatorsParameters.js.map +0 -1
- package/lib/definitions/StatusInfo.d.ts +0 -22
- package/lib/definitions/StatusInfo.js.map +0 -1
- package/src/definitions/CallQueueOverflowAgent.ts +0 -23
- package/src/definitions/CallQueueUpdateDetails.ts +0 -20
- package/src/definitions/RcvListDelegatorsParameters.ts +0 -10
- package/src/definitions/StatusInfo.ts +0 -25
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Advanced permissions capabilities. Returned if `advancedPermissions` query parameter is set to `true`.
|
|
3
|
+
*/
|
|
4
|
+
interface PermissionsCapabilities {
|
|
5
|
+
/**
|
|
6
|
+
* Specifies whether the user is enabled with the listed permission or not
|
|
7
|
+
*/
|
|
8
|
+
enabled?: boolean;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Specifies if the user can manage the listed permission and is allowed to enable it on other users
|
|
12
|
+
*/
|
|
13
|
+
manageEnabled?: boolean;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Specifies if the users who were enabled with the listed permission can grant it further to other users
|
|
17
|
+
*/
|
|
18
|
+
grantEnabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default PermissionsCapabilities;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query parameters for operation readUserRole
|
|
3
|
+
*/
|
|
4
|
+
interface ReadUserRoleParameters {
|
|
5
|
+
/**
|
|
6
|
+
* Specifies whether to return advanced permissions capabilities within `permissionsCapabilities` resource.
|
|
7
|
+
* The default value is false.
|
|
8
|
+
*/
|
|
9
|
+
advancedPermissions?: boolean;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export default ReadUserRoleParameters;
|
|
@@ -5,35 +5,51 @@ import type JsValue from './JsValue';
|
|
|
5
5
|
*/
|
|
6
6
|
interface Recording {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Recording id
|
|
9
|
+
* Required
|
|
9
10
|
*/
|
|
10
11
|
id?: string;
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
|
-
*
|
|
14
|
+
* Recording start time
|
|
14
15
|
* Format: int64
|
|
15
16
|
*/
|
|
16
17
|
startTime?: number;
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
|
-
* recording
|
|
20
|
+
* Secure Link to the recording file
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
+
url?: string;
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
*/
|
|
25
26
|
metadata?: JsValue;
|
|
26
27
|
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
+
* Recording processing status
|
|
29
30
|
*/
|
|
30
|
-
status?: 'Processing' | 'Processed' | 'Error' | 'Corrupted' | 'InProgress';
|
|
31
|
+
status?: 'Processing' | 'Processed' | 'Error' | 'Corrupted' | 'InProgress' | 'Purged' | 'Failed';
|
|
31
32
|
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
+
* Availability status
|
|
34
35
|
* Required
|
|
35
36
|
*/
|
|
36
37
|
availabilityStatus?: 'Alive' | 'Deleted' | 'Purged' | 'NotAvailable';
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* During meeting AI team analyze code and after meeting finished generates text summary about this meeting
|
|
41
|
+
*/
|
|
42
|
+
longSummary?: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* During meeting AI team analyze code and after meeting finished generates text summary about this meeting
|
|
46
|
+
*/
|
|
47
|
+
shortSummary?: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* During meeting AI team analyze code and after meeting finished generates key words used in meeting
|
|
51
|
+
*/
|
|
52
|
+
keywords?: string[];
|
|
37
53
|
}
|
|
38
54
|
|
|
39
55
|
export default Recording;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type EveryoneCanControl from './EveryoneCanControl';
|
|
2
|
+
import type AutoShared from './AutoShared';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Recordings preferences
|
|
@@ -7,6 +8,10 @@ interface RecordingsPreferences {
|
|
|
7
8
|
/**
|
|
8
9
|
*/
|
|
9
10
|
everyoneCanControl?: EveryoneCanControl;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
*/
|
|
14
|
+
autoShared?: AutoShared;
|
|
10
15
|
}
|
|
11
16
|
|
|
12
17
|
export default RecordingsPreferences;
|
|
@@ -2,20 +2,24 @@ import type PermissionIdResource from './PermissionIdResource';
|
|
|
2
2
|
|
|
3
3
|
interface RoleResource {
|
|
4
4
|
/**
|
|
5
|
+
* Link to a role resource
|
|
5
6
|
* Format: uri
|
|
6
7
|
*/
|
|
7
8
|
uri?: string;
|
|
8
9
|
|
|
9
10
|
/**
|
|
11
|
+
* Internal identifier of a role
|
|
10
12
|
*/
|
|
11
13
|
id?: string;
|
|
12
14
|
|
|
13
15
|
/**
|
|
16
|
+
* Dispayed name of a role
|
|
14
17
|
* Example: Super Admin
|
|
15
18
|
*/
|
|
16
19
|
displayName?: string;
|
|
17
20
|
|
|
18
21
|
/**
|
|
22
|
+
* Role description
|
|
19
23
|
* Example: Primary company administrator role
|
|
20
24
|
*/
|
|
21
25
|
description?: string;
|
|
@@ -26,12 +30,14 @@ interface RoleResource {
|
|
|
26
30
|
siteCompatible?: boolean;
|
|
27
31
|
|
|
28
32
|
/**
|
|
33
|
+
* Specifies if a user role is custom
|
|
29
34
|
*/
|
|
30
35
|
custom?: boolean;
|
|
31
36
|
|
|
32
37
|
/**
|
|
38
|
+
* Specifies resource for permission
|
|
33
39
|
*/
|
|
34
|
-
scope?:
|
|
40
|
+
scope?: 'Account' | 'AllExtensions' | 'Federation' | 'NonUserExtensions' | 'RoleBased' | 'Self' | 'UserExtensions';
|
|
35
41
|
|
|
36
42
|
/**
|
|
37
43
|
*/
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
interface SessionInfoResponse {
|
|
2
|
+
/**
|
|
3
|
+
* Identifier (key) of a client application
|
|
4
|
+
* Required
|
|
5
|
+
*/
|
|
6
|
+
client_id?: string;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* List of permissions (space separated) granted to the application with this token
|
|
10
|
+
* Example: AccountInfo CallLog ExtensionInfo Messages SMS
|
|
11
|
+
*/
|
|
12
|
+
scope?: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Subject of the token (extension ID or the owner)
|
|
16
|
+
*/
|
|
17
|
+
sub?: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* RC account ID associated with the token
|
|
21
|
+
*/
|
|
22
|
+
account_id?: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Remaining time in seconds until session expiration due to absolute timeout
|
|
26
|
+
* Format: int32
|
|
27
|
+
*/
|
|
28
|
+
session_expires_in?: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Absolute value of session expiration time in ISO date formatted string
|
|
32
|
+
* Format: date-time
|
|
33
|
+
* Example: 2023-04-01T12:00:01Z
|
|
34
|
+
*/
|
|
35
|
+
session_expiration_time?: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* OAuth session ID
|
|
39
|
+
* Required
|
|
40
|
+
*/
|
|
41
|
+
session_id?: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Nominal value of session idle timeout in seconds
|
|
45
|
+
* Format: int32
|
|
46
|
+
*/
|
|
47
|
+
session_idle_timeout?: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export default SessionInfoResponse;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query parameters for operation socMsgListContents
|
|
3
|
+
*/
|
|
4
|
+
interface SocMsgListContentsParameters {
|
|
5
|
+
/**
|
|
6
|
+
* Filter based on the specified intervention identifiers.
|
|
7
|
+
* Example: 7f946431b6eebffafae642cc,re946431b6eebffafae642cc
|
|
8
|
+
*/
|
|
9
|
+
intervention?: string[];
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Filter based on the specified identity identifiers.
|
|
13
|
+
* Example: 7f946431b6eebffafae642cc,re946431b6eebffafae642cc
|
|
14
|
+
*/
|
|
15
|
+
identity?: string[];
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Filter based on the specified identity group identifiers.
|
|
19
|
+
* Example: 7f946431b6eebffafae642cc,re946431b6eebffafae642cc
|
|
20
|
+
*/
|
|
21
|
+
identityGroup?: string[];
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Filter based on the specified channel identifiers.
|
|
25
|
+
* Example: 7f946431b6eebffafae642cc
|
|
26
|
+
*/
|
|
27
|
+
source?: string[];
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Filter based on the specified thread identifiers.
|
|
31
|
+
* Example: 7f946431b6eebffafae642cc
|
|
32
|
+
*/
|
|
33
|
+
thread?: string[];
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Filter based on the specified text(s). Provided multiple times, the values are ANDed.
|
|
37
|
+
*/
|
|
38
|
+
text?: string[];
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Filter for specified status.
|
|
42
|
+
*/
|
|
43
|
+
status?: ('New' | 'Assigned' | 'Replied' | 'UserReply' | 'UserInitiated' | 'Ignored')[];
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Ordering by creationTime is descending by default.
|
|
47
|
+
* Example: +creationTime
|
|
48
|
+
* Default: -creationTime
|
|
49
|
+
*/
|
|
50
|
+
orderBy?: '-creationTime' | '+creationTime' | 'creationTime';
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* The token indicating the particular page of the result set to be retrieved.
|
|
54
|
+
* If omitted the first page will be returned.
|
|
55
|
+
*/
|
|
56
|
+
pageToken?: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* The number of items per page. If provided value in the request
|
|
60
|
+
* is greater than a maximum, the maximum value is applied
|
|
61
|
+
* Maximum: 1000
|
|
62
|
+
* Minimum: 1
|
|
63
|
+
* Format: int32
|
|
64
|
+
* Example: 100
|
|
65
|
+
* Default: 100
|
|
66
|
+
*/
|
|
67
|
+
perPage?: number;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export default SocMsgListContentsParameters;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query parameters for operation socMsgListIdentities
|
|
3
|
+
*/
|
|
4
|
+
interface SocMsgListIdentitiesParameters {
|
|
5
|
+
/**
|
|
6
|
+
* Filter based on the specified sourceId.
|
|
7
|
+
*/
|
|
8
|
+
sourceId?: string;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Filter based on the specified identityGroupId.
|
|
12
|
+
*/
|
|
13
|
+
identityGroupId?: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Filter based on the specified userId.
|
|
17
|
+
*/
|
|
18
|
+
userId?: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Filter based on the specified uuid.
|
|
22
|
+
*/
|
|
23
|
+
uuid?: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Ordering by creationTime is descending by default.
|
|
27
|
+
* Example: +creationTime
|
|
28
|
+
* Default: -creationTime
|
|
29
|
+
*/
|
|
30
|
+
orderBy?: '-creationTime' | '+creationTime' | 'creationTime';
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* The token indicating the particular page of the result set to be retrieved.
|
|
34
|
+
* If omitted the first page will be returned.
|
|
35
|
+
*/
|
|
36
|
+
pageToken?: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* The number of items per page. If provided value in the request
|
|
40
|
+
* is greater than a maximum, the maximum value is applied
|
|
41
|
+
* Maximum: 1000
|
|
42
|
+
* Minimum: 1
|
|
43
|
+
* Format: int32
|
|
44
|
+
* Example: 100
|
|
45
|
+
* Default: 100
|
|
46
|
+
*/
|
|
47
|
+
perPage?: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export default SocMsgListIdentitiesParameters;
|
|
@@ -57,6 +57,29 @@ interface TokenInfo {
|
|
|
57
57
|
* OIDC ID token (if OpenId Connect flow was activated during authorization)
|
|
58
58
|
*/
|
|
59
59
|
id_token?: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* OAuth session ID
|
|
63
|
+
*/
|
|
64
|
+
session_id?: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Absolute value of session expiration time as ISO datetime
|
|
68
|
+
* Format: date-time
|
|
69
|
+
*/
|
|
70
|
+
session_expiration_time?: string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Remaining time (in seconds) until session expiration due to absolute timeout
|
|
74
|
+
* Format: int32
|
|
75
|
+
*/
|
|
76
|
+
session_expires_in?: number;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Nominal session idle timeout in seconds
|
|
80
|
+
* Format: int32
|
|
81
|
+
*/
|
|
82
|
+
session_idle_timeout?: number;
|
|
60
83
|
}
|
|
61
84
|
|
|
62
85
|
export default TokenInfo;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
interface TokenIntrospectionResponse {
|
|
2
|
+
/**
|
|
3
|
+
* Is presented token valid and active
|
|
4
|
+
* Required
|
|
5
|
+
* Example: true
|
|
6
|
+
*/
|
|
7
|
+
active?: boolean;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* List of permissions (space separated) granted to the application with this token
|
|
11
|
+
* Example: AccountInfo CallLog ExtensionInfo Messages SMS
|
|
12
|
+
*/
|
|
13
|
+
scope?: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Identifier (key) of a client application
|
|
17
|
+
*/
|
|
18
|
+
client_id?: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Type of token. The only supported value is `bearer`
|
|
22
|
+
* Example: bearer
|
|
23
|
+
*/
|
|
24
|
+
token_type?: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Timestamp indicating when this token will expire in seconds since January 1 1970 UTC
|
|
28
|
+
* Format: int64
|
|
29
|
+
* Example: 1706715293
|
|
30
|
+
*/
|
|
31
|
+
exp?: number;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Timestamp indicating when this token was originally issued in seconds since January 1 1970 UTC
|
|
35
|
+
* Format: int64
|
|
36
|
+
* Example: 1706711693
|
|
37
|
+
*/
|
|
38
|
+
iat?: number;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Subject of the token (extension ID or the owner)
|
|
42
|
+
*/
|
|
43
|
+
sub?: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* RC account ID associated with the token
|
|
47
|
+
*/
|
|
48
|
+
account_id?: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* OAuth session ID associated with the token
|
|
52
|
+
*/
|
|
53
|
+
session_id?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export default TokenIntrospectionResponse;
|
|
@@ -68,7 +68,7 @@ interface UserPhoneNumberInfo {
|
|
|
68
68
|
/**
|
|
69
69
|
* Extension subtype, if applicable. For any unsupported subtypes the 'Unknown' value will be returned
|
|
70
70
|
*/
|
|
71
|
-
subType?: 'VideoPro' | 'VideoProPlus' | 'DigitalSignage' | 'Unknown';
|
|
71
|
+
subType?: 'VideoPro' | 'VideoProPlus' | 'DigitalSignage' | 'Unknown' | 'Emergency';
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Usage type of phone number. Numbers of 'NumberPool' type will not be returned for phone number list requests
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type CreateContentRequest from '../../../../../definitions/CreateContentRequest';
|
|
2
|
+
import type SocMsgListContentsParameters from '../../../../../definitions/SocMsgListContentsParameters';
|
|
3
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
|
|
4
|
+
|
|
5
|
+
class Index {
|
|
6
|
+
public rc: RingCentralInterface;
|
|
7
|
+
public _parent: ParentInterface;
|
|
8
|
+
public contentId: string | null;
|
|
9
|
+
|
|
10
|
+
public constructor(_parent: ParentInterface, contentId: string | null = null) {
|
|
11
|
+
this._parent = _parent;
|
|
12
|
+
this.rc = _parent.rc;
|
|
13
|
+
this.contentId = contentId;
|
|
14
|
+
}
|
|
15
|
+
public path(withParameter = true): string {
|
|
16
|
+
if (withParameter && this.contentId !== null) {
|
|
17
|
+
return `${this._parent.path()}/contents/${this.contentId}`;
|
|
18
|
+
}
|
|
19
|
+
return `${this._parent.path()}/contents`;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* List contents by creation date. The default creation order is descending.
|
|
23
|
+
*
|
|
24
|
+
* The account context of this request is determined by the RC Account Id associated with the access token provided
|
|
25
|
+
* in the Authorization header.
|
|
26
|
+
*
|
|
27
|
+
* The query parameters provided shall be considered an AND operation to filter the list.
|
|
28
|
+
*
|
|
29
|
+
* A query parameter not specified or a query parameter provided with no value is treated as not required for
|
|
30
|
+
* filtering the list.
|
|
31
|
+
*
|
|
32
|
+
* HTTP Method: get
|
|
33
|
+
* Endpoint: /cx/social-messaging/v1/contents
|
|
34
|
+
* Rate Limit Group: Light
|
|
35
|
+
* App Permission: SocialMessaging
|
|
36
|
+
*/
|
|
37
|
+
public async list(
|
|
38
|
+
queryParams?: SocMsgListContentsParameters,
|
|
39
|
+
restRequestConfig?: RestRequestConfig,
|
|
40
|
+
): Promise<string> {
|
|
41
|
+
const r = await this.rc.get<string>(this.path(false), queryParams, restRequestConfig);
|
|
42
|
+
return r.data;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Creates new content for use in discussions.
|
|
47
|
+
*
|
|
48
|
+
* This request is used to reply to already-posted content or to initiate a discussion. If authorized, the
|
|
49
|
+
* authenticated user will be used as the content author.
|
|
50
|
+
*
|
|
51
|
+
* Content will be created and pushed asynchronously to the channel. When the content is successfully pushed to
|
|
52
|
+
* the channel, the Content.Exported event will be reported.
|
|
53
|
+
*
|
|
54
|
+
* The account context of this request is determined by the RC Account Id associated with the access token provided
|
|
55
|
+
* in the Authorization header.
|
|
56
|
+
*
|
|
57
|
+
* Replying to customer content is usually possible unless the channel or conversation is read only. Composing
|
|
58
|
+
* content, on the contrary, depends on the channel itself.
|
|
59
|
+
*
|
|
60
|
+
* * The channel may not support it (and be purely reactive like Instagram, Messenger, etc.).
|
|
61
|
+
*
|
|
62
|
+
* * Some channels (usually public accounts like Twitter or Facebook pages) allow for the publishing of content
|
|
63
|
+
* without targeting specific individuals.
|
|
64
|
+
*
|
|
65
|
+
* * Some channels (usually non-public media) require specific targeting (phone number for SMS, email address
|
|
66
|
+
* for email, customer_id, etc.) to be able to create content. This is channel-specific and detailed under the
|
|
67
|
+
* generic parameters.
|
|
68
|
+
*
|
|
69
|
+
* HTTP Method: post
|
|
70
|
+
* Endpoint: /cx/social-messaging/v1/contents
|
|
71
|
+
* Rate Limit Group: Light
|
|
72
|
+
* App Permission: SocialMessaging
|
|
73
|
+
*/
|
|
74
|
+
public async post(
|
|
75
|
+
createContentRequest: CreateContentRequest,
|
|
76
|
+
restRequestConfig?: RestRequestConfig,
|
|
77
|
+
): Promise<string> {
|
|
78
|
+
const r = await this.rc.post<string>(this.path(false), createContentRequest, undefined, restRequestConfig);
|
|
79
|
+
return r.data;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Retrieves the content from the given id.
|
|
84
|
+
*
|
|
85
|
+
* HTTP Method: get
|
|
86
|
+
* Endpoint: /cx/social-messaging/v1/contents/{contentId}
|
|
87
|
+
* Rate Limit Group: Light
|
|
88
|
+
* App Permission: SocialMessaging
|
|
89
|
+
*/
|
|
90
|
+
public async get(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
91
|
+
if (this.contentId === null) {
|
|
92
|
+
throw new Error('contentId must be specified.');
|
|
93
|
+
}
|
|
94
|
+
const r = await this.rc.get<string>(this.path(), undefined, restRequestConfig);
|
|
95
|
+
return r.data;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export default Index;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../../types';
|
|
2
|
+
|
|
3
|
+
class Index {
|
|
4
|
+
public rc: RingCentralInterface;
|
|
5
|
+
public _parent: ParentInterface;
|
|
6
|
+
|
|
7
|
+
public constructor(_parent: ParentInterface) {
|
|
8
|
+
this._parent = _parent;
|
|
9
|
+
this.rc = _parent.rc;
|
|
10
|
+
}
|
|
11
|
+
public path(): string {
|
|
12
|
+
return `${this._parent.path()}/anonymize`;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Anonymizes an Identity.
|
|
16
|
+
*
|
|
17
|
+
* HTTP Method: post
|
|
18
|
+
* Endpoint: /cx/social-messaging/v1/identities/{identityId}/anonymize
|
|
19
|
+
* Rate Limit Group: Light
|
|
20
|
+
* App Permission: SocialMessaging
|
|
21
|
+
*/
|
|
22
|
+
public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
23
|
+
const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
|
|
24
|
+
return r.data;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export default Index;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../../types';
|
|
2
|
+
|
|
3
|
+
class Index {
|
|
4
|
+
public rc: RingCentralInterface;
|
|
5
|
+
public _parent: ParentInterface;
|
|
6
|
+
|
|
7
|
+
public constructor(_parent: ParentInterface) {
|
|
8
|
+
this._parent = _parent;
|
|
9
|
+
this.rc = _parent.rc;
|
|
10
|
+
}
|
|
11
|
+
public path(): string {
|
|
12
|
+
return `${this._parent.path()}/deanonymize`;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Flag Identity for deanonymization.
|
|
16
|
+
*
|
|
17
|
+
* The next time a content from this Identity will be imported, the identity will be imported again.
|
|
18
|
+
*
|
|
19
|
+
* HTTP Method: post
|
|
20
|
+
* Endpoint: /cx/social-messaging/v1/identities/{identityId}/deanonymize
|
|
21
|
+
* Rate Limit Group: Light
|
|
22
|
+
* App Permission: SocialMessaging
|
|
23
|
+
*/
|
|
24
|
+
public async post(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
25
|
+
const r = await this.rc.post<string>(this.path(), {}, undefined, restRequestConfig);
|
|
26
|
+
return r.data;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export default Index;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type ImportIdentityRequest from '../../../../../../definitions/ImportIdentityRequest';
|
|
2
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../../types';
|
|
3
|
+
|
|
4
|
+
class Index {
|
|
5
|
+
public rc: RingCentralInterface;
|
|
6
|
+
public _parent: ParentInterface;
|
|
7
|
+
|
|
8
|
+
public constructor(_parent: ParentInterface) {
|
|
9
|
+
this._parent = _parent;
|
|
10
|
+
this.rc = _parent.rc;
|
|
11
|
+
}
|
|
12
|
+
public path(): string {
|
|
13
|
+
return `${this._parent.path()}/import`;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Import an identity from given identifier.
|
|
17
|
+
*
|
|
18
|
+
* Available only for Email channels.
|
|
19
|
+
*
|
|
20
|
+
* HTTP Method: post
|
|
21
|
+
* Endpoint: /cx/social-messaging/v1/identities/import
|
|
22
|
+
* Rate Limit Group: Light
|
|
23
|
+
* App Permission: SocialMessaging
|
|
24
|
+
*/
|
|
25
|
+
public async post(
|
|
26
|
+
importIdentityRequest: ImportIdentityRequest,
|
|
27
|
+
restRequestConfig?: RestRequestConfig,
|
|
28
|
+
): Promise<string> {
|
|
29
|
+
const r = await this.rc.post<string>(this.path(), importIdentityRequest, undefined, restRequestConfig);
|
|
30
|
+
return r.data;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export default Index;
|