@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
package/lib/Rest.js
CHANGED
|
@@ -11,7 +11,7 @@ const version = '1.3.x';
|
|
|
11
11
|
class Rest {
|
|
12
12
|
constructor(options) {
|
|
13
13
|
var _a, _b, _c, _d, _e;
|
|
14
|
-
this.server = (_a = options.server) !== null && _a !== void 0 ? _a : Rest.
|
|
14
|
+
this.server = (_a = options.server) !== null && _a !== void 0 ? _a : Rest.productionServer;
|
|
15
15
|
this.clientId = (_b = options.clientId) !== null && _b !== void 0 ? _b : '';
|
|
16
16
|
this.clientSecret = options.clientSecret;
|
|
17
17
|
this.token = (_c = options.token) !== null && _c !== void 0 ? _c : undefined;
|
package/lib/Rest.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rest.js","sourceRoot":"","sources":["../src/Rest.ts"],"names":[],"mappings":";;;;;AACA,kDAA0B;AAC1B,4CAAoB;AACpB,yCAAsC;AAEtC,oEAA4C;AAI5C,MAAM,OAAO,GAAG,OAAO,CAAC;AAExB,MAAqB,IAAI;IAmBvB,YAAmB,OAAoB;;QACrC,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,CAAC,MAAM,mCAAI,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"Rest.js","sourceRoot":"","sources":["../src/Rest.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type AccountStatusInfo from './AccountStatusInfo';
|
|
2
2
|
import type PostalAddress from './PostalAddress';
|
|
3
3
|
import type ServiceInfoV2 from './ServiceInfoV2';
|
|
4
4
|
import type SystemUserContactInfo from './SystemUserContactInfo';
|
|
@@ -28,7 +28,7 @@ interface AccountInfo {
|
|
|
28
28
|
status?: 'Initial' | 'Unconfirmed' | 'Confirmed' | 'Disabled';
|
|
29
29
|
/**
|
|
30
30
|
*/
|
|
31
|
-
statusInfo?:
|
|
31
|
+
statusInfo?: AccountStatusInfo;
|
|
32
32
|
/**
|
|
33
33
|
* Company name
|
|
34
34
|
* Example: Acme Inc.
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* status only
|
|
4
|
-
*
|
|
2
|
+
* Optional information to be used when account is moved to "Disabled" status
|
|
5
3
|
*/
|
|
6
4
|
interface AccountStatusInfo {
|
|
7
5
|
/**
|
|
8
|
-
*
|
|
6
|
+
* Type of suspension, voluntarily or not
|
|
7
|
+
* Example: CancelledVoluntarily
|
|
9
8
|
*/
|
|
10
|
-
|
|
9
|
+
reason?: 'SuspendedVoluntarily' | 'SuspendedInvoluntarily' | 'CancelledVoluntarily' | 'CancelledInvoluntarily';
|
|
11
10
|
/**
|
|
12
|
-
*
|
|
11
|
+
* A meaningful description of the reason to change the status
|
|
12
|
+
* Example: By customer request. Case ABC123
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
comment?: string;
|
|
15
15
|
/**
|
|
16
|
-
* Date
|
|
17
|
-
*
|
|
16
|
+
* Date after which the account will get deleted. Parameter can be used to overwrite default retention period
|
|
17
|
+
* Format: date-time
|
|
18
|
+
* Example: 2023-03-26T11:30:45.940Z
|
|
18
19
|
*/
|
|
19
20
|
till?: string;
|
|
20
21
|
}
|
|
@@ -9,6 +9,6 @@ interface ActivePermissionResource {
|
|
|
9
9
|
effectiveRole?: RoleIdResource;
|
|
10
10
|
/**
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
scope?: ('Account' | 'AllExtensions' | 'Federation' | 'NonUserExtensions' | 'RoleBased' | 'Self' | 'UserExtensions')[];
|
|
13
13
|
}
|
|
14
14
|
export default ActivePermissionResource;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Controls whether recording can be auto shared
|
|
3
|
+
*/
|
|
4
|
+
interface AutoShared {
|
|
5
|
+
/**
|
|
6
|
+
* Controls whether preference is enabled
|
|
7
|
+
* Example: true
|
|
8
|
+
*/
|
|
9
|
+
enabled?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Describes whether preference is locked on Service Web
|
|
12
|
+
*/
|
|
13
|
+
locked?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export default AutoShared;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoShared.js","sourceRoot":"","sources":["../../src/definitions/AutoShared.ts"],"names":[],"mappings":""}
|
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
import type CallQueueServiceLevelSettings from './CallQueueServiceLevelSettings';
|
|
2
2
|
interface CallQueueDetails {
|
|
3
|
+
/**
|
|
4
|
+
* Link to a call queue
|
|
5
|
+
* Format: uri
|
|
6
|
+
*/
|
|
7
|
+
uri?: string;
|
|
3
8
|
/**
|
|
4
9
|
* Internal identifier of a call queue
|
|
5
10
|
*/
|
|
6
11
|
id?: string;
|
|
7
12
|
/**
|
|
8
|
-
*
|
|
13
|
+
* Extension number of a call queue
|
|
9
14
|
*/
|
|
10
|
-
|
|
15
|
+
extensionNumber?: string;
|
|
11
16
|
/**
|
|
12
|
-
*
|
|
17
|
+
* Name of a call queue
|
|
13
18
|
*/
|
|
14
|
-
|
|
19
|
+
name?: string;
|
|
15
20
|
/**
|
|
16
21
|
* Call queue status
|
|
17
22
|
*/
|
|
18
23
|
status?: 'Enabled' | 'Disabled' | 'NotActivated';
|
|
24
|
+
/**
|
|
25
|
+
* Indicates whether it is an emergency call queue extension or not
|
|
26
|
+
*/
|
|
27
|
+
subType?: 'Emergency';
|
|
19
28
|
/**
|
|
20
29
|
*/
|
|
21
30
|
serviceLevelSettings?: CallQueueServiceLevelSettings;
|
|
@@ -16,5 +16,13 @@ interface CallQueueInfo {
|
|
|
16
16
|
* Name of a call queue
|
|
17
17
|
*/
|
|
18
18
|
name?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Call queue status
|
|
21
|
+
*/
|
|
22
|
+
status?: 'Enabled' | 'Disabled' | 'NotActivated';
|
|
23
|
+
/**
|
|
24
|
+
* Indicates whether it is an emergency call queue extension or not
|
|
25
|
+
*/
|
|
26
|
+
subType?: 'Emergency';
|
|
19
27
|
}
|
|
20
28
|
export default CallQueueInfo;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type CallQueueInfo from './CallQueueInfo';
|
|
2
2
|
interface CallQueueOverflowSettings {
|
|
3
3
|
/**
|
|
4
4
|
* Call queue overflow status
|
|
@@ -6,6 +6,6 @@ interface CallQueueOverflowSettings {
|
|
|
6
6
|
enabled?: boolean;
|
|
7
7
|
/**
|
|
8
8
|
*/
|
|
9
|
-
items?:
|
|
9
|
+
items?: CallQueueInfo[];
|
|
10
10
|
}
|
|
11
11
|
export default CallQueueOverflowSettings;
|
|
@@ -35,9 +35,18 @@ interface CloudRecording {
|
|
|
35
35
|
*/
|
|
36
36
|
hostInfo?: Host;
|
|
37
37
|
/**
|
|
38
|
-
* Link to the recording file
|
|
38
|
+
* Link to the recording file. Not used anymore by Web team
|
|
39
39
|
* Required
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
mediaLink?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Encrypted link to the recording file
|
|
44
|
+
* Required
|
|
45
|
+
*/
|
|
46
|
+
url?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Date after which recording will be deleted
|
|
49
|
+
*/
|
|
50
|
+
expiresIn?: string;
|
|
42
51
|
}
|
|
43
52
|
export default CloudRecording;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
interface ContentAttachment {
|
|
2
|
+
/**
|
|
3
|
+
* Type of the attachment, which is generally a MIME attachment type like "image/jpeg", etc.
|
|
4
|
+
*
|
|
5
|
+
* Security level in ED determines what type of attachment is allowed.
|
|
6
|
+
*
|
|
7
|
+
* Based on the security level the following attachment types are supported.
|
|
8
|
+
*
|
|
9
|
+
* "Strict" level allows safe extensions below:
|
|
10
|
+
* Content name and supported types
|
|
11
|
+
* * audio (supports aac mp3 ogg m4a)
|
|
12
|
+
* * image (supports bmp gif jpg jpeg png svg webp)
|
|
13
|
+
* * pdf (supports pdf)
|
|
14
|
+
* * text (supports csv txt log)
|
|
15
|
+
* * video (supports avi flv m4v mkv mov mp4 mpg qt wmv)
|
|
16
|
+
* * other (supports amr dms vcard tif tiff mpeg)
|
|
17
|
+
*
|
|
18
|
+
* "Relaxed" level allows documents:
|
|
19
|
+
* Content name and supported types
|
|
20
|
+
* * excel (supports xls xlsm xlsx xlc xlt xltm xltx)
|
|
21
|
+
* * presentation (supports key odp otp)
|
|
22
|
+
* * powerpoint (supports pps ppt pptx pot)
|
|
23
|
+
* * spreadsheet (supports numbers ods ots)
|
|
24
|
+
* * word (supports doc docm docx dotm dotx)
|
|
25
|
+
* * word_processing (supports pages odt ott rtf)
|
|
26
|
+
*
|
|
27
|
+
* "Permissive" level allows all documents.
|
|
28
|
+
*
|
|
29
|
+
* However, there are no security level restrictions for content posted through the channel.
|
|
30
|
+
* Example: image/jpeg
|
|
31
|
+
*/
|
|
32
|
+
contentType?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Creation time of the attachment.
|
|
35
|
+
* Format: date-time
|
|
36
|
+
* Example: 2023-02-04T12:43:07Z
|
|
37
|
+
*/
|
|
38
|
+
creationTime?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Embedded in a content.
|
|
41
|
+
*/
|
|
42
|
+
embedded?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Filename of the attachment.
|
|
45
|
+
* Example: 0.jpeg
|
|
46
|
+
*/
|
|
47
|
+
filename?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Identifier of the attachment.
|
|
50
|
+
* Example: 54085e5b7aa58d8b5d00006c
|
|
51
|
+
*/
|
|
52
|
+
id?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Privacy setting of the attachment.
|
|
55
|
+
*/
|
|
56
|
+
public?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Size of the attachment.
|
|
59
|
+
* Format: int32
|
|
60
|
+
* Example: 217571
|
|
61
|
+
*/
|
|
62
|
+
size?: number;
|
|
63
|
+
/**
|
|
64
|
+
* The time when the last modification was completed.
|
|
65
|
+
* Format: date-time
|
|
66
|
+
* Example: 2023-02-04T12:43:07Z
|
|
67
|
+
*/
|
|
68
|
+
lastModifiedTime?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Uri of the attachment.
|
|
71
|
+
* Format: uri
|
|
72
|
+
* Example: https://example.digital.ringcentral.com/files/attachments/54085e5b7aa58d8b5d00006c
|
|
73
|
+
*/
|
|
74
|
+
uri?: string;
|
|
75
|
+
}
|
|
76
|
+
export default ContentAttachment;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentAttachment.js","sourceRoot":"","sources":["../../src/definitions/ContentAttachment.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentBodyFormatted.js","sourceRoot":"","sources":["../../src/definitions/ContentBodyFormatted.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentContextData.js","sourceRoot":"","sources":["../../src/definitions/ContentContextData.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type ContentModel from './ContentModel';
|
|
2
|
+
import type NonEnumeratedPagingModel from './NonEnumeratedPagingModel';
|
|
3
|
+
interface ContentList {
|
|
4
|
+
/**
|
|
5
|
+
* Required
|
|
6
|
+
*/
|
|
7
|
+
records?: ContentModel[];
|
|
8
|
+
/**
|
|
9
|
+
* Required
|
|
10
|
+
*/
|
|
11
|
+
paging?: NonEnumeratedPagingModel;
|
|
12
|
+
}
|
|
13
|
+
export default ContentList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentList.js","sourceRoot":"","sources":["../../src/definitions/ContentList.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import type ContentAttachment from './ContentAttachment';
|
|
2
|
+
import type ContentBodyFormatted from './ContentBodyFormatted';
|
|
3
|
+
import type ContentContextData from './ContentContextData';
|
|
4
|
+
interface ContentModel {
|
|
5
|
+
/**
|
|
6
|
+
* An array containing the attachments that are attached to the content.
|
|
7
|
+
* Required
|
|
8
|
+
*/
|
|
9
|
+
attachments?: ContentAttachment[];
|
|
10
|
+
/**
|
|
11
|
+
* Identity identifier of the author of content.
|
|
12
|
+
*
|
|
13
|
+
* Not mandatory on creation, by default it uses the token's user first identity on channel.
|
|
14
|
+
* Required
|
|
15
|
+
* Example: 541014e17aa58d8ccf000023
|
|
16
|
+
*/
|
|
17
|
+
authorIdentityId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Auto submitted content:
|
|
20
|
+
* - won't reopen tasks or interventions
|
|
21
|
+
* - can be used to send automatic messages like asking an user to follow on twitter, sending a survey, etc,
|
|
22
|
+
* - doesn't get included in statistics
|
|
23
|
+
* Required
|
|
24
|
+
*/
|
|
25
|
+
autoSubmitted?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The content's body.
|
|
28
|
+
*
|
|
29
|
+
* On creation this field is mandatory except for WhatsApp content using templates.
|
|
30
|
+
*
|
|
31
|
+
* The following are the max length restrictions for the different channels supported.
|
|
32
|
+
* Channel and max length
|
|
33
|
+
* * Apple Messages For Business (max length 10000)
|
|
34
|
+
* * Email (max length 262144)
|
|
35
|
+
* * Engage Messaging (max length 1024)
|
|
36
|
+
* * Facebook (max length 8000)
|
|
37
|
+
* * GoogleBusinessMessages (max length 3000)
|
|
38
|
+
* * Google My Business (max length 4000)
|
|
39
|
+
* * Instagram (max length 950)
|
|
40
|
+
* * Instagram Messaging (max length 1000)
|
|
41
|
+
* * LinkedIn (max length 3000)
|
|
42
|
+
* * Messenger (max length 2000)
|
|
43
|
+
* * Twitter (max length 280)
|
|
44
|
+
* * Viber (max length 7000)
|
|
45
|
+
* * WhatsApp (max length 3800)
|
|
46
|
+
* * Youtube (max length 8000)
|
|
47
|
+
* Required
|
|
48
|
+
* Example: Body of the content
|
|
49
|
+
*/
|
|
50
|
+
body?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Required
|
|
53
|
+
*/
|
|
54
|
+
bodyFormatted?: ContentBodyFormatted;
|
|
55
|
+
/**
|
|
56
|
+
* Values can be Text or Html.
|
|
57
|
+
* Required
|
|
58
|
+
*/
|
|
59
|
+
bodyInputFormat?: 'Text' | 'Html';
|
|
60
|
+
/**
|
|
61
|
+
* List of the category identifiers of the content.
|
|
62
|
+
* Required
|
|
63
|
+
* Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf002023
|
|
64
|
+
*/
|
|
65
|
+
categoryIds?: string[];
|
|
66
|
+
/**
|
|
67
|
+
*/
|
|
68
|
+
contextData?: ContentContextData;
|
|
69
|
+
/**
|
|
70
|
+
* Creation time of the resource.
|
|
71
|
+
* Required
|
|
72
|
+
* Format: date-time
|
|
73
|
+
* Example: 2023-02-04T12:43:07Z
|
|
74
|
+
*/
|
|
75
|
+
creationTime?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Created from of the content.
|
|
78
|
+
* Required
|
|
79
|
+
*/
|
|
80
|
+
createdFrom?: 'Synchronizer' | 'Interface' | 'Api' | 'AutoSurvey' | 'AutoResponseTrigger' | 'AutoRequestEmail';
|
|
81
|
+
/**
|
|
82
|
+
* RC user id of the creator
|
|
83
|
+
* Required
|
|
84
|
+
* Example: 2683222036
|
|
85
|
+
*/
|
|
86
|
+
creatorId?: string;
|
|
87
|
+
/**
|
|
88
|
+
* External categories of the content.
|
|
89
|
+
*
|
|
90
|
+
* Present only if the content has foreignCategories.
|
|
91
|
+
* Example: foreign_category_id
|
|
92
|
+
*/
|
|
93
|
+
foreignCategories?: string[];
|
|
94
|
+
/**
|
|
95
|
+
* Identifier of the content.
|
|
96
|
+
* Required
|
|
97
|
+
* Example: 541014e17aa58d8ccf000023
|
|
98
|
+
*/
|
|
99
|
+
id?: string;
|
|
100
|
+
/**
|
|
101
|
+
* The identity identifier of the content to which this content is a reply to.
|
|
102
|
+
* Required
|
|
103
|
+
* Example: 541014e17asdd8ccf000023
|
|
104
|
+
*/
|
|
105
|
+
inReplyToAuthorIdentityId?: string;
|
|
106
|
+
/**
|
|
107
|
+
* The content identifier to which this content is a reply to.
|
|
108
|
+
*
|
|
109
|
+
* On creation, if omitted, a new discussion will be created. If the channel does not support to initiate discussion this parameter is mandatory.
|
|
110
|
+
* Required
|
|
111
|
+
* Example: 123414e17asdd8ccf000023
|
|
112
|
+
*/
|
|
113
|
+
inReplyToContentId?: string;
|
|
114
|
+
/**
|
|
115
|
+
* The intervention identifier of the content.
|
|
116
|
+
* Required
|
|
117
|
+
* Example: 123415437asdd8ccf000023
|
|
118
|
+
*/
|
|
119
|
+
interventionId?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Language of the content.
|
|
122
|
+
* Required
|
|
123
|
+
* Example: En
|
|
124
|
+
*/
|
|
125
|
+
language?: string;
|
|
126
|
+
/**
|
|
127
|
+
* True if the content is publicly visible on the remote channel (default).
|
|
128
|
+
*
|
|
129
|
+
* Private content is NOT supported on every channel.
|
|
130
|
+
* Required
|
|
131
|
+
* Default: true
|
|
132
|
+
*/
|
|
133
|
+
public?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* True if the content is published on the remote channel.
|
|
136
|
+
* Required
|
|
137
|
+
* Example: true
|
|
138
|
+
*/
|
|
139
|
+
published?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Rating of the content.
|
|
142
|
+
*
|
|
143
|
+
* Present only if the content supports rating and rating is filled.
|
|
144
|
+
* Required
|
|
145
|
+
* Format: int32
|
|
146
|
+
* Example: 4
|
|
147
|
+
*/
|
|
148
|
+
rating?: number;
|
|
149
|
+
/**
|
|
150
|
+
* True if the content has been deleted on the remote channel.
|
|
151
|
+
* Required
|
|
152
|
+
*/
|
|
153
|
+
remotelyDeleted?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Identifier of the channel.
|
|
156
|
+
*
|
|
157
|
+
* On creation if `inReplyToContentId` is specified, the channel will be determined from it. Otherwise, this parameter is mandatory.
|
|
158
|
+
* Required
|
|
159
|
+
* Example: fff415437asdd8ccf000023
|
|
160
|
+
*/
|
|
161
|
+
sourceId?: string;
|
|
162
|
+
/**
|
|
163
|
+
* Type of the channel.
|
|
164
|
+
* Required
|
|
165
|
+
*/
|
|
166
|
+
sourceType?: 'AppleMessagesForBusiness' | 'Email' | 'EngageMessaging' | 'Facebook' | 'GoogleBusinessMessages' | 'GoogleMyBusiness' | 'Instagram' | 'InstagramMessaging' | 'Linkedin' | 'Messenger' | 'Twitter' | 'Viber' | 'WhatsApp' | 'Youtube';
|
|
167
|
+
/**
|
|
168
|
+
* External Uri of the content channel.
|
|
169
|
+
* Required
|
|
170
|
+
* Format: uri
|
|
171
|
+
*/
|
|
172
|
+
sourceUri?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Content status.
|
|
175
|
+
* Required
|
|
176
|
+
*/
|
|
177
|
+
status?: 'New' | 'Assigned' | 'Replied' | 'UserReply' | 'UserInitiated' | 'Ignored';
|
|
178
|
+
/**
|
|
179
|
+
* Synchronization status.
|
|
180
|
+
* Required
|
|
181
|
+
* Example: success
|
|
182
|
+
*/
|
|
183
|
+
synchronizationStatus?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Synchronization error details.
|
|
186
|
+
* Required
|
|
187
|
+
*/
|
|
188
|
+
synchronizationError?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Content thread identifier of the content.
|
|
191
|
+
* Required
|
|
192
|
+
*/
|
|
193
|
+
threadId?: string;
|
|
194
|
+
/**
|
|
195
|
+
* Applicable to Email channels only.
|
|
196
|
+
*
|
|
197
|
+
* The subject of the email.
|
|
198
|
+
*
|
|
199
|
+
* This field is mandatory when initiating a discussion.
|
|
200
|
+
* Required
|
|
201
|
+
* Example: An email title
|
|
202
|
+
*/
|
|
203
|
+
title?: string;
|
|
204
|
+
/**
|
|
205
|
+
* Type of the content.
|
|
206
|
+
* Required
|
|
207
|
+
* Example: Email
|
|
208
|
+
*/
|
|
209
|
+
type?: 'Album' | 'AuthenticateMessage' | 'AuthenticateResponse' | 'Carousel' | 'CarouselMessage' | 'Comment' | 'ContactMessage' | 'Content' | 'Email' | 'FormMessage' | 'FormResponse' | 'HsmMessage' | 'Link' | 'ListMessage' | 'Media' | 'Message' | 'OutboundMessage' | 'PaymentMessage' | 'Photo' | 'PostbackMessage' | 'PrivateTweet' | 'PromptMessage' | 'Question' | 'Review' | 'ReviewResponse' | 'RichLinkMessage' | 'SelectMessage' | 'Status' | 'TemplateMessage' | 'TimePickerMessage' | 'Tweet' | 'Video' | 'VideoCallRequestMessage';
|
|
210
|
+
/**
|
|
211
|
+
* The time when the last modification was completed.
|
|
212
|
+
* Required
|
|
213
|
+
* Format: date-time
|
|
214
|
+
* Example: 2023-02-04T12:43:07Z
|
|
215
|
+
*/
|
|
216
|
+
lastModifiedTime?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Types of structured messages that can be used to reply to this type of message.
|
|
219
|
+
* Required
|
|
220
|
+
*/
|
|
221
|
+
capabilitiesSupported?: string[];
|
|
222
|
+
}
|
|
223
|
+
export default ContentModel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentModel.js","sourceRoot":"","sources":["../../src/definitions/ContentModel.ts"],"names":[],"mappings":""}
|