@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,67 @@
|
|
|
1
|
+
import type CreateContentRequest from '../../../../../definitions/CreateContentRequest';
|
|
2
|
+
import type SocMsgListContentsParameters from '../../../../../definitions/SocMsgListContentsParameters';
|
|
3
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
|
|
4
|
+
declare class Index {
|
|
5
|
+
rc: RingCentralInterface;
|
|
6
|
+
_parent: ParentInterface;
|
|
7
|
+
contentId: string | null;
|
|
8
|
+
constructor(_parent: ParentInterface, contentId?: string | null);
|
|
9
|
+
path(withParameter?: boolean): string;
|
|
10
|
+
/**
|
|
11
|
+
* List contents by creation date. The default creation order is descending.
|
|
12
|
+
*
|
|
13
|
+
* The account context of this request is determined by the RC Account Id associated with the access token provided
|
|
14
|
+
* in the Authorization header.
|
|
15
|
+
*
|
|
16
|
+
* The query parameters provided shall be considered an AND operation to filter the list.
|
|
17
|
+
*
|
|
18
|
+
* A query parameter not specified or a query parameter provided with no value is treated as not required for
|
|
19
|
+
* filtering the list.
|
|
20
|
+
*
|
|
21
|
+
* HTTP Method: get
|
|
22
|
+
* Endpoint: /cx/social-messaging/v1/contents
|
|
23
|
+
* Rate Limit Group: Light
|
|
24
|
+
* App Permission: SocialMessaging
|
|
25
|
+
*/
|
|
26
|
+
list(queryParams?: SocMsgListContentsParameters, restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Creates new content for use in discussions.
|
|
29
|
+
*
|
|
30
|
+
* This request is used to reply to already-posted content or to initiate a discussion. If authorized, the
|
|
31
|
+
* authenticated user will be used as the content author.
|
|
32
|
+
*
|
|
33
|
+
* Content will be created and pushed asynchronously to the channel. When the content is successfully pushed to
|
|
34
|
+
* the channel, the Content.Exported event will be reported.
|
|
35
|
+
*
|
|
36
|
+
* The account context of this request is determined by the RC Account Id associated with the access token provided
|
|
37
|
+
* in the Authorization header.
|
|
38
|
+
*
|
|
39
|
+
* Replying to customer content is usually possible unless the channel or conversation is read only. Composing
|
|
40
|
+
* content, on the contrary, depends on the channel itself.
|
|
41
|
+
*
|
|
42
|
+
* * The channel may not support it (and be purely reactive like Instagram, Messenger, etc.).
|
|
43
|
+
*
|
|
44
|
+
* * Some channels (usually public accounts like Twitter or Facebook pages) allow for the publishing of content
|
|
45
|
+
* without targeting specific individuals.
|
|
46
|
+
*
|
|
47
|
+
* * Some channels (usually non-public media) require specific targeting (phone number for SMS, email address
|
|
48
|
+
* for email, customer_id, etc.) to be able to create content. This is channel-specific and detailed under the
|
|
49
|
+
* generic parameters.
|
|
50
|
+
*
|
|
51
|
+
* HTTP Method: post
|
|
52
|
+
* Endpoint: /cx/social-messaging/v1/contents
|
|
53
|
+
* Rate Limit Group: Light
|
|
54
|
+
* App Permission: SocialMessaging
|
|
55
|
+
*/
|
|
56
|
+
post(createContentRequest: CreateContentRequest, restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Retrieves the content from the given id.
|
|
59
|
+
*
|
|
60
|
+
* HTTP Method: get
|
|
61
|
+
* Endpoint: /cx/social-messaging/v1/contents/{contentId}
|
|
62
|
+
* Rate Limit Group: Light
|
|
63
|
+
* App Permission: SocialMessaging
|
|
64
|
+
*/
|
|
65
|
+
get(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
66
|
+
}
|
|
67
|
+
export default Index;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Index {
|
|
4
|
+
constructor(_parent, contentId = null) {
|
|
5
|
+
this._parent = _parent;
|
|
6
|
+
this.rc = _parent.rc;
|
|
7
|
+
this.contentId = contentId;
|
|
8
|
+
}
|
|
9
|
+
path(withParameter = true) {
|
|
10
|
+
if (withParameter && this.contentId !== null) {
|
|
11
|
+
return `${this._parent.path()}/contents/${this.contentId}`;
|
|
12
|
+
}
|
|
13
|
+
return `${this._parent.path()}/contents`;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* List contents by creation date. The default creation order is descending.
|
|
17
|
+
*
|
|
18
|
+
* The account context of this request is determined by the RC Account Id associated with the access token provided
|
|
19
|
+
* in the Authorization header.
|
|
20
|
+
*
|
|
21
|
+
* The query parameters provided shall be considered an AND operation to filter the list.
|
|
22
|
+
*
|
|
23
|
+
* A query parameter not specified or a query parameter provided with no value is treated as not required for
|
|
24
|
+
* filtering the list.
|
|
25
|
+
*
|
|
26
|
+
* HTTP Method: get
|
|
27
|
+
* Endpoint: /cx/social-messaging/v1/contents
|
|
28
|
+
* Rate Limit Group: Light
|
|
29
|
+
* App Permission: SocialMessaging
|
|
30
|
+
*/
|
|
31
|
+
async list(queryParams, restRequestConfig) {
|
|
32
|
+
const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
|
|
33
|
+
return r.data;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Creates new content for use in discussions.
|
|
37
|
+
*
|
|
38
|
+
* This request is used to reply to already-posted content or to initiate a discussion. If authorized, the
|
|
39
|
+
* authenticated user will be used as the content author.
|
|
40
|
+
*
|
|
41
|
+
* Content will be created and pushed asynchronously to the channel. When the content is successfully pushed to
|
|
42
|
+
* the channel, the Content.Exported event will be reported.
|
|
43
|
+
*
|
|
44
|
+
* The account context of this request is determined by the RC Account Id associated with the access token provided
|
|
45
|
+
* in the Authorization header.
|
|
46
|
+
*
|
|
47
|
+
* Replying to customer content is usually possible unless the channel or conversation is read only. Composing
|
|
48
|
+
* content, on the contrary, depends on the channel itself.
|
|
49
|
+
*
|
|
50
|
+
* * The channel may not support it (and be purely reactive like Instagram, Messenger, etc.).
|
|
51
|
+
*
|
|
52
|
+
* * Some channels (usually public accounts like Twitter or Facebook pages) allow for the publishing of content
|
|
53
|
+
* without targeting specific individuals.
|
|
54
|
+
*
|
|
55
|
+
* * Some channels (usually non-public media) require specific targeting (phone number for SMS, email address
|
|
56
|
+
* for email, customer_id, etc.) to be able to create content. This is channel-specific and detailed under the
|
|
57
|
+
* generic parameters.
|
|
58
|
+
*
|
|
59
|
+
* HTTP Method: post
|
|
60
|
+
* Endpoint: /cx/social-messaging/v1/contents
|
|
61
|
+
* Rate Limit Group: Light
|
|
62
|
+
* App Permission: SocialMessaging
|
|
63
|
+
*/
|
|
64
|
+
async post(createContentRequest, restRequestConfig) {
|
|
65
|
+
const r = await this.rc.post(this.path(false), createContentRequest, undefined, restRequestConfig);
|
|
66
|
+
return r.data;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Retrieves the content from the given id.
|
|
70
|
+
*
|
|
71
|
+
* HTTP Method: get
|
|
72
|
+
* Endpoint: /cx/social-messaging/v1/contents/{contentId}
|
|
73
|
+
* Rate Limit Group: Light
|
|
74
|
+
* App Permission: SocialMessaging
|
|
75
|
+
*/
|
|
76
|
+
async get(restRequestConfig) {
|
|
77
|
+
if (this.contentId === null) {
|
|
78
|
+
throw new Error('contentId must be specified.');
|
|
79
|
+
}
|
|
80
|
+
const r = await this.rc.get(this.path(), undefined, restRequestConfig);
|
|
81
|
+
return r.data;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.default = Index;
|
|
85
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Cx/SocialMessaging/V1/Contents/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,YAA2B,IAAI;QAC1E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC7C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,IAAI,CAAC,SAAS,EAAE,CAAC;QAC7D,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;;;;;;;;;OAeG;IACI,KAAK,CAAC,IAAI,CACf,WAA0C,EAC1C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACtF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACI,KAAK,CAAC,IAAI,CACf,oBAA0C,EAC1C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,oBAAoB,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAC3G,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAC/E,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../../types';
|
|
2
|
+
declare class Index {
|
|
3
|
+
rc: RingCentralInterface;
|
|
4
|
+
_parent: ParentInterface;
|
|
5
|
+
constructor(_parent: ParentInterface);
|
|
6
|
+
path(): string;
|
|
7
|
+
/**
|
|
8
|
+
* Anonymizes an Identity.
|
|
9
|
+
*
|
|
10
|
+
* HTTP Method: post
|
|
11
|
+
* Endpoint: /cx/social-messaging/v1/identities/{identityId}/anonymize
|
|
12
|
+
* Rate Limit Group: Light
|
|
13
|
+
* App Permission: SocialMessaging
|
|
14
|
+
*/
|
|
15
|
+
post(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
16
|
+
}
|
|
17
|
+
export default Index;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Index {
|
|
4
|
+
constructor(_parent) {
|
|
5
|
+
this._parent = _parent;
|
|
6
|
+
this.rc = _parent.rc;
|
|
7
|
+
}
|
|
8
|
+
path() {
|
|
9
|
+
return `${this._parent.path()}/anonymize`;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Anonymizes an Identity.
|
|
13
|
+
*
|
|
14
|
+
* HTTP Method: post
|
|
15
|
+
* Endpoint: /cx/social-messaging/v1/identities/{identityId}/anonymize
|
|
16
|
+
* Rate Limit Group: Light
|
|
17
|
+
* App Permission: SocialMessaging
|
|
18
|
+
*/
|
|
19
|
+
async post(restRequestConfig) {
|
|
20
|
+
const r = await this.rc.post(this.path(), {}, undefined, restRequestConfig);
|
|
21
|
+
return r.data;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.default = Index;
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.ts"],"names":[],"mappings":";;AAEA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5C,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,IAAI,CAAC,iBAAqC;QACrD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACpF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../../types';
|
|
2
|
+
declare class Index {
|
|
3
|
+
rc: RingCentralInterface;
|
|
4
|
+
_parent: ParentInterface;
|
|
5
|
+
constructor(_parent: ParentInterface);
|
|
6
|
+
path(): string;
|
|
7
|
+
/**
|
|
8
|
+
* Flag Identity for deanonymization.
|
|
9
|
+
*
|
|
10
|
+
* The next time a content from this Identity will be imported, the identity will be imported again.
|
|
11
|
+
*
|
|
12
|
+
* HTTP Method: post
|
|
13
|
+
* Endpoint: /cx/social-messaging/v1/identities/{identityId}/deanonymize
|
|
14
|
+
* Rate Limit Group: Light
|
|
15
|
+
* App Permission: SocialMessaging
|
|
16
|
+
*/
|
|
17
|
+
post(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
18
|
+
}
|
|
19
|
+
export default Index;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Index {
|
|
4
|
+
constructor(_parent) {
|
|
5
|
+
this._parent = _parent;
|
|
6
|
+
this.rc = _parent.rc;
|
|
7
|
+
}
|
|
8
|
+
path() {
|
|
9
|
+
return `${this._parent.path()}/deanonymize`;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Flag Identity for deanonymization.
|
|
13
|
+
*
|
|
14
|
+
* The next time a content from this Identity will be imported, the identity will be imported again.
|
|
15
|
+
*
|
|
16
|
+
* HTTP Method: post
|
|
17
|
+
* Endpoint: /cx/social-messaging/v1/identities/{identityId}/deanonymize
|
|
18
|
+
* Rate Limit Group: Light
|
|
19
|
+
* App Permission: SocialMessaging
|
|
20
|
+
*/
|
|
21
|
+
async post(restRequestConfig) {
|
|
22
|
+
const r = await this.rc.post(this.path(), {}, undefined, restRequestConfig);
|
|
23
|
+
return r.data;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.default = Index;
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.ts"],"names":[],"mappings":";;AAEA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9C,CAAC;IACD;;;;;;;;;OASG;IACI,KAAK,CAAC,IAAI,CAAC,iBAAqC;QACrD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACpF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type ImportIdentityRequest from '../../../../../../definitions/ImportIdentityRequest';
|
|
2
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../../types';
|
|
3
|
+
declare class Index {
|
|
4
|
+
rc: RingCentralInterface;
|
|
5
|
+
_parent: ParentInterface;
|
|
6
|
+
constructor(_parent: ParentInterface);
|
|
7
|
+
path(): string;
|
|
8
|
+
/**
|
|
9
|
+
* Import an identity from given identifier.
|
|
10
|
+
*
|
|
11
|
+
* Available only for Email channels.
|
|
12
|
+
*
|
|
13
|
+
* HTTP Method: post
|
|
14
|
+
* Endpoint: /cx/social-messaging/v1/identities/import
|
|
15
|
+
* Rate Limit Group: Light
|
|
16
|
+
* App Permission: SocialMessaging
|
|
17
|
+
*/
|
|
18
|
+
post(importIdentityRequest: ImportIdentityRequest, restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
19
|
+
}
|
|
20
|
+
export default Index;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Index {
|
|
4
|
+
constructor(_parent) {
|
|
5
|
+
this._parent = _parent;
|
|
6
|
+
this.rc = _parent.rc;
|
|
7
|
+
}
|
|
8
|
+
path() {
|
|
9
|
+
return `${this._parent.path()}/import`;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Import an identity from given identifier.
|
|
13
|
+
*
|
|
14
|
+
* Available only for Email channels.
|
|
15
|
+
*
|
|
16
|
+
* HTTP Method: post
|
|
17
|
+
* Endpoint: /cx/social-messaging/v1/identities/import
|
|
18
|
+
* Rate Limit Group: Light
|
|
19
|
+
* App Permission: SocialMessaging
|
|
20
|
+
*/
|
|
21
|
+
async post(importIdentityRequest, restRequestConfig) {
|
|
22
|
+
const r = await this.rc.post(this.path(), importIdentityRequest, undefined, restRequestConfig);
|
|
23
|
+
return r.data;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.default = Index;
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Cx/SocialMessaging/V1/Identities/Import/index.ts"],"names":[],"mappings":";;AAGA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC;IACzC,CAAC;IACD;;;;;;;;;OASG;IACI,KAAK,CAAC,IAAI,CACf,qBAA4C,EAC5C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,qBAAqB,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACvG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import Deanonymize from './Deanonymize';
|
|
2
|
+
import Anonymize from './Anonymize';
|
|
3
|
+
import Import from './Import';
|
|
4
|
+
import type SocMsgListIdentitiesParameters from '../../../../../definitions/SocMsgListIdentitiesParameters';
|
|
5
|
+
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
|
|
6
|
+
declare class Index {
|
|
7
|
+
rc: RingCentralInterface;
|
|
8
|
+
_parent: ParentInterface;
|
|
9
|
+
identityId: string | null;
|
|
10
|
+
constructor(_parent: ParentInterface, identityId?: string | null);
|
|
11
|
+
path(withParameter?: boolean): string;
|
|
12
|
+
/**
|
|
13
|
+
* List identities by creation date. The default order is descending.
|
|
14
|
+
*
|
|
15
|
+
* The account context of this request is determined by the RC Account Id associated with the access token provided
|
|
16
|
+
* in the Authorization header.
|
|
17
|
+
*
|
|
18
|
+
* The query parameters provided shall be considered an AND operation to filter the list.
|
|
19
|
+
*
|
|
20
|
+
* A query parameter not specified or a query parameter provided with no value is treated as not required for
|
|
21
|
+
* filtering the list.
|
|
22
|
+
*
|
|
23
|
+
* HTTP Method: get
|
|
24
|
+
* Endpoint: /cx/social-messaging/v1/identities
|
|
25
|
+
* Rate Limit Group: Light
|
|
26
|
+
* App Permission: SocialMessaging
|
|
27
|
+
*/
|
|
28
|
+
list(queryParams?: SocMsgListIdentitiesParameters, restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Renders an identity from given id.
|
|
31
|
+
*
|
|
32
|
+
* HTTP Method: get
|
|
33
|
+
* Endpoint: /cx/social-messaging/v1/identities/{identityId}
|
|
34
|
+
* Rate Limit Group: Light
|
|
35
|
+
* App Permission: SocialMessaging
|
|
36
|
+
*/
|
|
37
|
+
get(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
38
|
+
import(): Import;
|
|
39
|
+
anonymize(): Anonymize;
|
|
40
|
+
deanonymize(): Deanonymize;
|
|
41
|
+
}
|
|
42
|
+
export default Index;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const Deanonymize_1 = __importDefault(require("./Deanonymize"));
|
|
7
|
+
const Anonymize_1 = __importDefault(require("./Anonymize"));
|
|
8
|
+
const Import_1 = __importDefault(require("./Import"));
|
|
9
|
+
class Index {
|
|
10
|
+
constructor(_parent, identityId = null) {
|
|
11
|
+
this._parent = _parent;
|
|
12
|
+
this.rc = _parent.rc;
|
|
13
|
+
this.identityId = identityId;
|
|
14
|
+
}
|
|
15
|
+
path(withParameter = true) {
|
|
16
|
+
if (withParameter && this.identityId !== null) {
|
|
17
|
+
return `${this._parent.path()}/identities/${this.identityId}`;
|
|
18
|
+
}
|
|
19
|
+
return `${this._parent.path()}/identities`;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* List identities by creation date. The default 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/identities
|
|
34
|
+
* Rate Limit Group: Light
|
|
35
|
+
* App Permission: SocialMessaging
|
|
36
|
+
*/
|
|
37
|
+
async list(queryParams, restRequestConfig) {
|
|
38
|
+
const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
|
|
39
|
+
return r.data;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Renders an identity from given id.
|
|
43
|
+
*
|
|
44
|
+
* HTTP Method: get
|
|
45
|
+
* Endpoint: /cx/social-messaging/v1/identities/{identityId}
|
|
46
|
+
* Rate Limit Group: Light
|
|
47
|
+
* App Permission: SocialMessaging
|
|
48
|
+
*/
|
|
49
|
+
async get(restRequestConfig) {
|
|
50
|
+
if (this.identityId === null) {
|
|
51
|
+
throw new Error('identityId must be specified.');
|
|
52
|
+
}
|
|
53
|
+
const r = await this.rc.get(this.path(), undefined, restRequestConfig);
|
|
54
|
+
return r.data;
|
|
55
|
+
}
|
|
56
|
+
import() {
|
|
57
|
+
return new Import_1.default(this);
|
|
58
|
+
}
|
|
59
|
+
anonymize() {
|
|
60
|
+
return new Anonymize_1.default(this);
|
|
61
|
+
}
|
|
62
|
+
deanonymize() {
|
|
63
|
+
return new Deanonymize_1.default(this);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.default = Index;
|
|
67
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Cx/SocialMessaging/V1/Identities/index.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,4DAAoC;AACpC,sDAA8B;AAI9B,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,aAA4B,IAAI;QAC3E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC9C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,eAAe,IAAI,CAAC,UAAU,EAAE,CAAC;QAChE,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;;;;;;;;OAeG;IACI,KAAK,CAAC,IAAI,CACf,WAA4C,EAC5C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACtF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAC/E,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,MAAM;QACX,OAAO,IAAI,gBAAM,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAEM,SAAS;QACd,OAAO,IAAI,mBAAS,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAEM,WAAW;QAChB,OAAO,IAAI,qBAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Identities from './Identities';
|
|
2
|
+
import Contents from './Contents';
|
|
3
|
+
import type { RingCentralInterface, ParentInterface } from '../../../../types';
|
|
4
|
+
declare class Index {
|
|
5
|
+
rc: RingCentralInterface;
|
|
6
|
+
_parent: ParentInterface;
|
|
7
|
+
constructor(_parent: ParentInterface);
|
|
8
|
+
path(): string;
|
|
9
|
+
contents(contentId?: string | null): Contents;
|
|
10
|
+
identities(identityId?: string | null): Identities;
|
|
11
|
+
}
|
|
12
|
+
export default Index;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const Identities_1 = __importDefault(require("./Identities"));
|
|
7
|
+
const Contents_1 = __importDefault(require("./Contents"));
|
|
8
|
+
class Index {
|
|
9
|
+
constructor(_parent) {
|
|
10
|
+
this._parent = _parent;
|
|
11
|
+
this.rc = _parent.rc;
|
|
12
|
+
}
|
|
13
|
+
path() {
|
|
14
|
+
return `${this._parent.path(false)}/v1`;
|
|
15
|
+
}
|
|
16
|
+
contents(contentId = null) {
|
|
17
|
+
return new Contents_1.default(this, contentId);
|
|
18
|
+
}
|
|
19
|
+
identities(identityId = null) {
|
|
20
|
+
return new Identities_1.default(this, identityId);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.default = Index;
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Cx/SocialMessaging/V1/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AACtC,0DAAkC;AAGlC,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;IAC1C,CAAC;IAEM,QAAQ,CAAC,YAA2B,IAAI;QAC7C,OAAO,IAAI,kBAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IACvC,CAAC;IAEM,UAAU,CAAC,aAA4B,IAAI;QAChD,OAAO,IAAI,oBAAU,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IAC1C,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import V1 from './V1';
|
|
2
|
+
import type { RingCentralInterface, ParentInterface } from '../../../types';
|
|
3
|
+
declare class Index {
|
|
4
|
+
rc: RingCentralInterface;
|
|
5
|
+
_parent: ParentInterface;
|
|
6
|
+
constructor(_parent: ParentInterface);
|
|
7
|
+
path(): string;
|
|
8
|
+
v1(): V1;
|
|
9
|
+
}
|
|
10
|
+
export default Index;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const V1_1 = __importDefault(require("./V1"));
|
|
7
|
+
class Index {
|
|
8
|
+
constructor(_parent) {
|
|
9
|
+
this._parent = _parent;
|
|
10
|
+
this.rc = _parent.rc;
|
|
11
|
+
}
|
|
12
|
+
path() {
|
|
13
|
+
return `${this._parent.path(false)}/social-messaging`;
|
|
14
|
+
}
|
|
15
|
+
v1() {
|
|
16
|
+
return new V1_1.default(this);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.default = Index;
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/paths/Cx/SocialMessaging/index.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AAGtB,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC;IACxD,CAAC;IAEM,EAAE;QACP,OAAO,IAAI,YAAE,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import SocialMessaging from './SocialMessaging';
|
|
2
|
+
import type { RingCentralInterface } from '../../types';
|
|
3
|
+
declare class Index {
|
|
4
|
+
rc: RingCentralInterface;
|
|
5
|
+
constructor(rc: RingCentralInterface);
|
|
6
|
+
path(): string;
|
|
7
|
+
socialMessaging(): SocialMessaging;
|
|
8
|
+
}
|
|
9
|
+
export default Index;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const SocialMessaging_1 = __importDefault(require("./SocialMessaging"));
|
|
7
|
+
class Index {
|
|
8
|
+
constructor(rc) {
|
|
9
|
+
this.rc = rc;
|
|
10
|
+
}
|
|
11
|
+
path() {
|
|
12
|
+
return '/cx';
|
|
13
|
+
}
|
|
14
|
+
socialMessaging() {
|
|
15
|
+
return new SocialMessaging_1.default(this);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.default = Index;
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/paths/Cx/index.ts"],"names":[],"mappings":";;;;;AAAA,wEAAgD;AAGhD,MAAM,KAAK;IAGT,YAAmB,EAAwB;QACzC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,CAAC;IACM,IAAI;QACT,OAAO,KAAK,CAAC;IACf,CAAC;IAEM,eAAe;QACpB,OAAO,IAAI,yBAAe,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -7,7 +7,9 @@ declare class Index {
|
|
|
7
7
|
constructor(_parent: ParentInterface);
|
|
8
8
|
path(): string;
|
|
9
9
|
/**
|
|
10
|
-
* Returns
|
|
10
|
+
* Returns all recordings available for specific extension.
|
|
11
|
+
* This endpoint is used in admin recording service, not regular web
|
|
12
|
+
*
|
|
11
13
|
* HTTP Method: get
|
|
12
14
|
* Endpoint: /rcvideo/v1/account/{accountId}/extension/{extensionId}/recordings
|
|
13
15
|
* Rate Limit Group: Light
|
|
@@ -9,7 +9,9 @@ class Index {
|
|
|
9
9
|
return `${this._parent.path()}/recordings`;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* Returns
|
|
12
|
+
* Returns all recordings available for specific extension.
|
|
13
|
+
* This endpoint is used in admin recording service, not regular web
|
|
14
|
+
*
|
|
13
15
|
* HTTP Method: get
|
|
14
16
|
* Endpoint: /rcvideo/v1/account/{accountId}/extension/{extensionId}/recordings
|
|
15
17
|
* Rate Limit Group: Light
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Rcvideo/V1/Account/Extension/Recordings/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Rcvideo/V1/Account/Extension/Recordings/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;OAQG;IACI,KAAK,CAAC,GAAG,CACd,WAA8C,EAC9C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAkB,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QAC1F,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -7,7 +7,9 @@ declare class Index {
|
|
|
7
7
|
constructor(_parent: ParentInterface);
|
|
8
8
|
path(): string;
|
|
9
9
|
/**
|
|
10
|
-
* Returns
|
|
10
|
+
* Returns all account recordings.
|
|
11
|
+
* This endpoint is used in Admin recording service, not regular web
|
|
12
|
+
*
|
|
11
13
|
* HTTP Method: get
|
|
12
14
|
* Endpoint: /rcvideo/v1/account/{accountId}/recordings
|
|
13
15
|
* Rate Limit Group: Light
|
|
@@ -9,7 +9,9 @@ class Index {
|
|
|
9
9
|
return `${this._parent.path()}/recordings`;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* Returns
|
|
12
|
+
* Returns all account recordings.
|
|
13
|
+
* This endpoint is used in Admin recording service, not regular web
|
|
14
|
+
*
|
|
13
15
|
* HTTP Method: get
|
|
14
16
|
* Endpoint: /rcvideo/v1/account/{accountId}/recordings
|
|
15
17
|
* Rate Limit Group: Light
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Rcvideo/V1/Account/Recordings/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Rcvideo/V1/Account/Recordings/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;OAQG;IACI,KAAK,CAAC,GAAG,CACd,WAA4C,EAC5C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAkB,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QAC1F,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type DelegatorsListResult from '../../../../../../definitions/DelegatorsListResult';
|
|
2
|
-
import type RcvListDelegatorsParameters from '../../../../../../definitions/RcvListDelegatorsParameters';
|
|
3
2
|
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../../types';
|
|
4
3
|
declare class Index {
|
|
5
4
|
rc: RingCentralInterface;
|
|
@@ -13,6 +12,6 @@ declare class Index {
|
|
|
13
12
|
* Rate Limit Group: Medium
|
|
14
13
|
* App Permission: Video
|
|
15
14
|
*/
|
|
16
|
-
get(
|
|
15
|
+
get(restRequestConfig?: RestRequestConfig): Promise<DelegatorsListResult>;
|
|
17
16
|
}
|
|
18
17
|
export default Index;
|
|
@@ -15,8 +15,8 @@ class Index {
|
|
|
15
15
|
* Rate Limit Group: Medium
|
|
16
16
|
* App Permission: Video
|
|
17
17
|
*/
|
|
18
|
-
async get(
|
|
19
|
-
const r = await this.rc.get(this.path(),
|
|
18
|
+
async get(restRequestConfig) {
|
|
19
|
+
const r = await this.rc.get(this.path(), undefined, restRequestConfig);
|
|
20
20
|
return r.data;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.ts"],"names":[],"mappings":";;AAGA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAuB,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAC7F,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|