@rc-ex/core 1.3.12 → 1.3.14
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 -3
- package/lib/Rest.js.map +1 -1
- package/lib/definitions/ContactBusinessAddressInfo.d.ts +6 -6
- package/lib/definitions/ContactInfo.d.ts +12 -13
- package/lib/definitions/CreateFaxMessageRequest.d.ts +2 -1
- package/lib/definitions/CreateUserEmergencyLocationRequest.d.ts +4 -0
- package/lib/definitions/DepartmentInfo.d.ts +2 -2
- package/lib/definitions/DeviceResource.d.ts +5 -5
- package/lib/definitions/EmergencyLocationRequestResource.d.ts +42 -0
- package/lib/definitions/{ImportIdentityRequest.js → EmergencyLocationRequestResource.js} +1 -1
- package/lib/definitions/EmergencyLocationRequestResource.js.map +1 -0
- package/lib/definitions/EmergencyLocationResponseResource.d.ts +58 -0
- package/lib/definitions/EmergencyLocationResponseResource.js +3 -0
- package/lib/definitions/EmergencyLocationResponseResource.js.map +1 -0
- package/lib/definitions/ExtensionBulkUpdateInfo.d.ts +2 -0
- package/lib/definitions/ExtensionCreationRequest.d.ts +1 -2
- package/lib/definitions/ExtensionCreationResponse.d.ts +2 -2
- package/lib/definitions/ExtensionUpdateRequest.d.ts +2 -0
- package/lib/definitions/GetAccountInfoResponse.d.ts +2 -3
- package/lib/definitions/GetExtensionInfoResponse.d.ts +1 -1
- package/lib/definitions/GrantInfo.d.ts +4 -0
- package/lib/definitions/MessageStoreConfiguration.d.ts +1 -1
- package/lib/definitions/PauseResumeCallRecordingParameters.d.ts +1 -1
- package/lib/definitions/PronouncedNameInfo.d.ts +5 -6
- package/lib/definitions/ReadA2PSMSOptOutsParameters.d.ts +2 -1
- package/lib/definitions/ReadCallSessionStatusParameters.d.ts +2 -1
- package/lib/definitions/SipRegistrationDeviceInfo.d.ts +4 -7
- package/lib/definitions/SyncAccountCallLogParameters.d.ts +4 -1
- package/lib/definitions/SyncMessagesParameters.d.ts +1 -1
- package/lib/definitions/SyncUserCallLogParameters.d.ts +8 -3
- package/lib/definitions/TokenInfo.d.ts +3 -3
- package/lib/paths/Ai/Audio/V1/Async/SpeakerIdentify/index.d.ts +1 -1
- package/lib/paths/Ai/Audio/V1/Async/SpeakerIdentify/index.js +1 -1
- package/lib/paths/Ai/Audio/V1/Async/SpeechToText/index.d.ts +1 -1
- package/lib/paths/Ai/Audio/V1/Async/SpeechToText/index.js +1 -1
- package/lib/paths/Ai/Text/V1/Async/Punctuate/index.d.ts +1 -1
- package/lib/paths/Ai/Text/V1/Async/Punctuate/index.js +1 -1
- package/lib/paths/Ai/Text/V1/Async/Summarize/index.d.ts +3 -1
- package/lib/paths/Ai/Text/V1/Async/Summarize/index.js +3 -1
- package/lib/paths/Ai/Text/V1/Async/Summarize/index.js.map +1 -1
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +0 -6
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +0 -15
- package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +1 -1
- package/lib/paths/Restapi/Account/A2pSms/OptOuts/index.d.ts +4 -1
- package/lib/paths/Restapi/Account/A2pSms/OptOuts/index.js +4 -1
- package/lib/paths/Restapi/Account/A2pSms/OptOuts/index.js.map +1 -1
- package/lib/paths/Restapi/Account/EmergencyLocations/index.d.ts +5 -4
- package/lib/paths/Restapi/Account/EmergencyLocations/index.js +4 -4
- package/lib/paths/Restapi/Account/EmergencyLocations/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/AssignedRole/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/Extension/AssignedRole/index.js +1 -1
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.d.ts +4 -3
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js +2 -2
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/Features/index.d.ts +6 -6
- package/lib/paths/Restapi/Account/Extension/Features/index.js +6 -6
- package/lib/paths/Restapi/Account/Extension/MessageStore/index.d.ts +3 -3
- package/lib/paths/Restapi/Account/Extension/MessageStore/index.js +3 -3
- 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/Telephony/Sessions/Parties/Bridge/index.d.ts +6 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.js +6 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.d.ts +5 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.js +5 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Hold/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Hold/index.js +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.js +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.d.ts +11 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.js +11 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.js +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Supervise/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/Telephony/Sessions/Supervise/index.js +1 -1
- package/lib/paths/Webinar/Configuration/V1/Webinars/index.d.ts +1 -1
- package/lib/paths/Webinar/Configuration/V1/Webinars/index.js +1 -1
- package/lib/paths/Webinar/Notifications/V1/Subscriptions/index.d.ts +1 -1
- package/lib/paths/Webinar/Notifications/V1/Subscriptions/index.js +1 -1
- package/package.json +2 -2
- package/src/Rest.ts +1 -5
- package/src/definitions/ContactBusinessAddressInfo.ts +6 -6
- package/src/definitions/ContactInfo.ts +12 -13
- package/src/definitions/CreateFaxMessageRequest.ts +2 -1
- package/src/definitions/CreateUserEmergencyLocationRequest.ts +5 -0
- package/src/definitions/DepartmentInfo.ts +2 -2
- package/src/definitions/DeviceResource.ts +5 -5
- package/src/definitions/EmergencyLocationRequestResource.ts +52 -0
- package/src/definitions/EmergencyLocationResponseResource.ts +71 -0
- package/src/definitions/ExtensionBulkUpdateInfo.ts +2 -0
- package/src/definitions/ExtensionCreationRequest.ts +1 -2
- package/src/definitions/ExtensionCreationResponse.ts +2 -2
- package/src/definitions/ExtensionUpdateRequest.ts +2 -0
- package/src/definitions/GetAccountInfoResponse.ts +2 -3
- package/src/definitions/GetExtensionInfoResponse.ts +1 -1
- package/src/definitions/GrantInfo.ts +5 -0
- package/src/definitions/MessageStoreConfiguration.ts +1 -1
- package/src/definitions/PauseResumeCallRecordingParameters.ts +1 -1
- package/src/definitions/PronouncedNameInfo.ts +5 -6
- package/src/definitions/ReadA2PSMSOptOutsParameters.ts +2 -1
- package/src/definitions/ReadCallSessionStatusParameters.ts +2 -1
- package/src/definitions/SipRegistrationDeviceInfo.ts +4 -7
- package/src/definitions/SyncAccountCallLogParameters.ts +4 -1
- package/src/definitions/SyncMessagesParameters.ts +1 -1
- package/src/definitions/SyncUserCallLogParameters.ts +8 -3
- package/src/definitions/TokenInfo.ts +3 -3
- package/src/paths/Ai/Audio/V1/Async/SpeakerIdentify/index.ts +1 -1
- package/src/paths/Ai/Audio/V1/Async/SpeechToText/index.ts +1 -1
- package/src/paths/Ai/Text/V1/Async/Punctuate/index.ts +1 -1
- package/src/paths/Ai/Text/V1/Async/Summarize/index.ts +3 -1
- package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +0 -15
- package/src/paths/Restapi/Account/A2pSms/OptOuts/index.ts +4 -1
- package/src/paths/Restapi/Account/EmergencyLocations/index.ts +11 -10
- package/src/paths/Restapi/Account/Extension/AssignedRole/index.ts +1 -1
- package/src/paths/Restapi/Account/Extension/EmergencyLocations/index.ts +8 -7
- package/src/paths/Restapi/Account/Extension/Features/index.ts +6 -6
- package/src/paths/Restapi/Account/Extension/MessageStore/index.ts +3 -3
- package/src/paths/Restapi/Account/Extension/OverflowSettings/index.ts +0 -1
- package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.ts +6 -1
- package/src/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.ts +5 -1
- package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Hold/index.ts +1 -1
- package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.ts +1 -1
- package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.ts +11 -1
- package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.ts +1 -1
- package/src/paths/Restapi/Account/Telephony/Sessions/Supervise/index.ts +1 -1
- package/src/paths/Webinar/Configuration/V1/Webinars/index.ts +1 -1
- package/src/paths/Webinar/Notifications/V1/Subscriptions/index.ts +1 -1
- package/src/samples.md +201 -267
- package/lib/definitions/ImportIdentityRequest.d.ts +0 -61
- package/lib/definitions/ImportIdentityRequest.js.map +0 -1
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.d.ts +0 -17
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.js +0 -25
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.js.map +0 -1
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.d.ts +0 -19
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.js +0 -27
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.js.map +0 -1
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.d.ts +0 -20
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.js +0 -27
- package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.js.map +0 -1
- package/src/definitions/ImportIdentityRequest.ts +0 -73
- package/src/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.ts +0 -27
- package/src/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.ts +0 -29
- package/src/paths/Cx/SocialMessaging/V1/Identities/Import/index.ts +0 -33
|
@@ -15,7 +15,7 @@ class Index {
|
|
|
15
15
|
return `${this._parent.path()}/punctuate`;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* Returns Smart Punctuation to the provided webhook
|
|
18
|
+
* Returns Smart Punctuation to the provided webhook URI.
|
|
19
19
|
* HTTP Method: post
|
|
20
20
|
* Endpoint: /ai/text/v1/async/punctuate
|
|
21
21
|
* Rate Limit Group: Heavy
|
|
@@ -15,7 +15,9 @@ class Index {
|
|
|
15
15
|
return `${this._parent.path()}/summarize`;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* Returns Conversational Summarization to webhook
|
|
18
|
+
* Returns Conversational Summarization to the webhook URI for segmented transcript of audios
|
|
19
|
+
* with start, end, speakerId, text(alphanumeric and punctuations).
|
|
20
|
+
*
|
|
19
21
|
* HTTP Method: post
|
|
20
22
|
* Endpoint: /ai/text/v1/async/summarize
|
|
21
23
|
* Rate Limit Group: Heavy
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import Deanonymize from './Deanonymize';
|
|
2
|
-
import Anonymize from './Anonymize';
|
|
3
|
-
import Import from './Import';
|
|
4
1
|
import type SocMsgListIdentitiesParameters from '../../../../../definitions/SocMsgListIdentitiesParameters';
|
|
5
2
|
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../../types';
|
|
6
3
|
|
|
@@ -59,17 +56,5 @@ class Index {
|
|
|
59
56
|
const r = await this.rc.get<string>(this.path(), undefined, restRequestConfig);
|
|
60
57
|
return r.data;
|
|
61
58
|
}
|
|
62
|
-
|
|
63
|
-
public import(): Import {
|
|
64
|
-
return new Import(this);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
public anonymize(): Anonymize {
|
|
68
|
-
return new Anonymize(this);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
public deanonymize(): Deanonymize {
|
|
72
|
-
return new Deanonymize(this);
|
|
73
|
-
}
|
|
74
59
|
}
|
|
75
60
|
export default Index;
|
|
@@ -15,7 +15,10 @@ class Index {
|
|
|
15
15
|
return `${this._parent.path()}/opt-outs`;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* Returns the list of numbers opted out from the account. The list
|
|
18
|
+
* Returns the list of numbers opted out from the account. The list
|
|
19
|
+
* can be filtered by `to`/`from` phone number query parameters. Specifying `text/csv`
|
|
20
|
+
* in the `Accept` header lets download the data in the CSV format.
|
|
21
|
+
*
|
|
19
22
|
* HTTP Method: get
|
|
20
23
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/a2p-sms/opt-outs
|
|
21
24
|
* Rate Limit Group: Light
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type DeleteEmergencyLocationParameters from '../../../../definitions/DeleteEmergencyLocationParameters';
|
|
2
|
-
import type ReadEmergencyLocationParameters from '../../../../definitions/ReadEmergencyLocationParameters';
|
|
3
2
|
import type CommonEmergencyLocationResource from '../../../../definitions/CommonEmergencyLocationResource';
|
|
4
|
-
import type
|
|
3
|
+
import type ReadEmergencyLocationParameters from '../../../../definitions/ReadEmergencyLocationParameters';
|
|
4
|
+
import type EmergencyLocationResponseResource from '../../../../definitions/EmergencyLocationResponseResource';
|
|
5
|
+
import type EmergencyLocationRequestResource from '../../../../definitions/EmergencyLocationRequestResource';
|
|
5
6
|
import type EmergencyLocationsResource from '../../../../definitions/EmergencyLocationsResource';
|
|
6
7
|
import type ListEmergencyLocationsParameters from '../../../../definitions/ListEmergencyLocationsParameters';
|
|
7
8
|
import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
|
|
@@ -47,12 +48,12 @@ class Index {
|
|
|
47
48
|
* User Permission: ConfigureEmergencyMaps
|
|
48
49
|
*/
|
|
49
50
|
public async post(
|
|
50
|
-
|
|
51
|
+
emergencyLocationRequestResource: EmergencyLocationRequestResource,
|
|
51
52
|
restRequestConfig?: RestRequestConfig,
|
|
52
|
-
): Promise<
|
|
53
|
-
const r = await this.rc.post<
|
|
53
|
+
): Promise<EmergencyLocationResponseResource> {
|
|
54
|
+
const r = await this.rc.post<EmergencyLocationResponseResource>(
|
|
54
55
|
this.path(false),
|
|
55
|
-
|
|
56
|
+
emergencyLocationRequestResource,
|
|
56
57
|
undefined,
|
|
57
58
|
restRequestConfig,
|
|
58
59
|
);
|
|
@@ -87,15 +88,15 @@ class Index {
|
|
|
87
88
|
* User Permission: ConfigureEmergencyMaps
|
|
88
89
|
*/
|
|
89
90
|
public async put(
|
|
90
|
-
|
|
91
|
+
emergencyLocationRequestResource: EmergencyLocationRequestResource,
|
|
91
92
|
restRequestConfig?: RestRequestConfig,
|
|
92
|
-
): Promise<
|
|
93
|
+
): Promise<EmergencyLocationResponseResource> {
|
|
93
94
|
if (this.locationId === null) {
|
|
94
95
|
throw new Error('locationId must be specified.');
|
|
95
96
|
}
|
|
96
|
-
const r = await this.rc.put<
|
|
97
|
+
const r = await this.rc.put<EmergencyLocationResponseResource>(
|
|
97
98
|
this.path(),
|
|
98
|
-
|
|
99
|
+
emergencyLocationRequestResource,
|
|
99
100
|
undefined,
|
|
100
101
|
restRequestConfig,
|
|
101
102
|
);
|
|
@@ -20,7 +20,7 @@ class Index {
|
|
|
20
20
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/assigned-role
|
|
21
21
|
* Rate Limit Group: Light
|
|
22
22
|
* App Permission: ReadAccounts
|
|
23
|
-
* User Permission:
|
|
23
|
+
* User Permission: ReadAssignedRoles
|
|
24
24
|
*/
|
|
25
25
|
public async get(
|
|
26
26
|
queryParams?: ListUserAssignedRolesParameters,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type DeleteExtensionEmergencyLocationParameters from '../../../../../definitions/DeleteExtensionEmergencyLocationParameters';
|
|
2
|
-
import type
|
|
2
|
+
import type EmergencyLocationRequestResource from '../../../../../definitions/EmergencyLocationRequestResource';
|
|
3
3
|
import type CommonEmergencyLocationResource from '../../../../../definitions/CommonEmergencyLocationResource';
|
|
4
|
+
import type EmergencyLocationResponseResource from '../../../../../definitions/EmergencyLocationResponseResource';
|
|
4
5
|
import type CreateUserEmergencyLocationRequest from '../../../../../definitions/CreateUserEmergencyLocationRequest';
|
|
5
6
|
import type EmergencyLocationsResource from '../../../../../definitions/EmergencyLocationsResource';
|
|
6
7
|
import type GetExtensionEmergencyLocationsParameters from '../../../../../definitions/GetExtensionEmergencyLocationsParameters';
|
|
@@ -48,8 +49,8 @@ class Index {
|
|
|
48
49
|
public async post(
|
|
49
50
|
createUserEmergencyLocationRequest: CreateUserEmergencyLocationRequest,
|
|
50
51
|
restRequestConfig?: RestRequestConfig,
|
|
51
|
-
): Promise<
|
|
52
|
-
const r = await this.rc.post<
|
|
52
|
+
): Promise<EmergencyLocationResponseResource> {
|
|
53
|
+
const r = await this.rc.post<EmergencyLocationResponseResource>(
|
|
53
54
|
this.path(false),
|
|
54
55
|
createUserEmergencyLocationRequest,
|
|
55
56
|
undefined,
|
|
@@ -83,15 +84,15 @@ class Index {
|
|
|
83
84
|
* User Permission: EmergencyFramework
|
|
84
85
|
*/
|
|
85
86
|
public async put(
|
|
86
|
-
|
|
87
|
+
emergencyLocationRequestResource: EmergencyLocationRequestResource,
|
|
87
88
|
restRequestConfig?: RestRequestConfig,
|
|
88
|
-
): Promise<
|
|
89
|
+
): Promise<EmergencyLocationResponseResource> {
|
|
89
90
|
if (this.locationId === null) {
|
|
90
91
|
throw new Error('locationId must be specified.');
|
|
91
92
|
}
|
|
92
|
-
const r = await this.rc.put<
|
|
93
|
+
const r = await this.rc.put<EmergencyLocationResponseResource>(
|
|
93
94
|
this.path(),
|
|
94
|
-
|
|
95
|
+
emergencyLocationRequestResource,
|
|
95
96
|
undefined,
|
|
96
97
|
restRequestConfig,
|
|
97
98
|
);
|
|
@@ -14,23 +14,23 @@ class Index {
|
|
|
14
14
|
return `${this._parent.path()}/features`;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* Returns a list of supported features and information on their
|
|
18
|
-
* availability for the current extension.
|
|
17
|
+
* Returns a list of supported features and the information on their
|
|
18
|
+
* availability for the current extension. Particular feature(s) can
|
|
19
19
|
* be checked by providing `featureId` query parameter. Multiple values
|
|
20
20
|
* are supported in the format: `?featureId=Feature1&featureId=Feature2`.
|
|
21
21
|
* To get only available features in order to decrease response size,
|
|
22
|
-
* `availableOnly=true` query param
|
|
22
|
+
* `availableOnly=true` query param can be specified. If a feature
|
|
23
23
|
* is available for the current user, `"available": true` is returned in
|
|
24
24
|
* response for the record with the corresponding feature ID. Otherwise,
|
|
25
|
-
* additional attribute `reason` is returned with the appropriate code:
|
|
25
|
+
* the additional attribute `reason` is returned with the appropriate code:
|
|
26
26
|
* - `ServicePlanLimitation` - a feature is not included in account service plan;
|
|
27
27
|
* - `AccountLimitation` - a feature is turned off for account;
|
|
28
28
|
* - `ExtensionTypeLimitation` - a feature is not applicable for extension type;
|
|
29
29
|
* - `ExtensionLimitation` - a feature is not available for extension, e.g., additional license required;
|
|
30
|
-
* - `InsufficientPermissions` - required permission not granted to the current user (not the one, who is specified in the URL, but the one who
|
|
30
|
+
* - `InsufficientPermissions` - required permission is not granted to the current user (not the one, who is specified in the URL, but the one who is calling this API);
|
|
31
31
|
* - `ConfigurationLimitation` - a feature is turned off for extension, e.g., by account administrator.
|
|
32
32
|
*
|
|
33
|
-
* Also, some features may have additional parameters, e.g
|
|
33
|
+
* Also, some features may have additional parameters, e.g. limits, which are returned in `params` attribute as a name-value collection:
|
|
34
34
|
*
|
|
35
35
|
* {
|
|
36
36
|
* "id": "HUD",
|
|
@@ -81,8 +81,8 @@ class Index {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Updates message(s) by their ID(s). Currently only
|
|
85
|
-
* can be updated
|
|
84
|
+
* Updates message(s) by their ID(s). Currently, only the `readStatus`
|
|
85
|
+
* can be updated using this method.
|
|
86
86
|
*
|
|
87
87
|
* Bulk syntax is supported, max number of IDs passed as query/path
|
|
88
88
|
* parameters is 50. Alternative bulk syntax is also supported - user messages can be updated
|
|
@@ -138,7 +138,7 @@ class Index {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* Patches message(s) by ID(s). Currently only
|
|
141
|
+
* Patches message(s) by ID(s). Currently, only updating the `readStatus` and
|
|
142
142
|
* restoring deleted messages are supported through this method.
|
|
143
143
|
*
|
|
144
144
|
* For changing status of a message send `readStatus` set to either 'Read' or 'Unread' in request.
|
|
@@ -14,7 +14,12 @@ class Index {
|
|
|
14
14
|
return `${this._parent.path()}/bridge`;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* Allows the user to connect multiple call session participants over a conference call bridge.
|
|
17
|
+
* Allows the user to connect multiple call session participants over a conference call bridge.
|
|
18
|
+
* The current active call session ID and party ID of the user within this session should be specified
|
|
19
|
+
* in path; the bridged call session ID and party ID of the user within that session should be specified
|
|
20
|
+
* in request body. Thus, the user connects participants of two sessions into the one conference call
|
|
21
|
+
* using his/her own party IDs from both sessions."
|
|
22
|
+
*
|
|
18
23
|
* HTTP Method: post
|
|
19
24
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/bridge
|
|
20
25
|
* Rate Limit Group: Light
|
|
@@ -14,7 +14,11 @@ class Index {
|
|
|
14
14
|
return `${this._parent.path()}/bring-in`;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* Adds a new party to the call session by bringing
|
|
17
|
+
* Adds a new party to the call session by bringing in an established
|
|
18
|
+
* SIP call connection. The maximum number of parties to bring in is 10; only
|
|
19
|
+
* 1 call party can be added per request. Currently, the method is supported for
|
|
20
|
+
* sessions of the `Conference` origin only.
|
|
21
|
+
*
|
|
18
22
|
* HTTP Method: post
|
|
19
23
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/bring-in
|
|
20
24
|
* Rate Limit Group: Light
|
|
@@ -14,7 +14,7 @@ class Index {
|
|
|
14
14
|
return `${this._parent.path()}/hold`;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* Puts the party to stand-alone mode and starts to play Hold Music according to configuration & state to peers. There is a known limitation for Hold API - hold via REST API doesn't work with hold placed via RingCentral apps or HardPhone. It means that if you muted participant via Call Control API and RingCentral Desktop app, then you need to
|
|
17
|
+
* Puts the party to stand-alone mode and starts to play Hold Music according to configuration & state to peers. There is a known limitation for Hold API - hold via REST API doesn't work with hold placed via RingCentral apps or HardPhone. It means that if you muted participant via Call Control API and RingCentral Desktop app, then you need to un-hold both endpoints to remove Hold Music and bring media back.
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/hold
|
|
20
20
|
* Rate Limit Group: Light
|
|
@@ -13,7 +13,7 @@ class Index {
|
|
|
13
13
|
return `${this._parent.path()}/park`;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* Parks a call to a virtual location from where it can further be retrieved by any user from any phone of the system. The call session and call party identifiers should be specified in path. Currently the users can park only their own incoming calls. Up to 50 calls can be parked simultaneously. Park location starts with asterisk (*) and ranges 801-899.
|
|
16
|
+
* Parks a call to a virtual location from where it can further be retrieved by any user from any phone of the system. The call session and call party identifiers should be specified in path. Currently, the users can park only their own incoming calls. Up to 50 calls can be parked simultaneously. Park location starts with asterisk (*) and ranges 801-899.
|
|
17
17
|
* HTTP Method: post
|
|
18
18
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/park
|
|
19
19
|
* Rate Limit Group: Light
|
|
@@ -14,7 +14,17 @@ class Index {
|
|
|
14
14
|
return `${this._parent.path()}/supervise`;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* Allows to monitor a call party in 'Listen' mode. Input parameters
|
|
17
|
+
* Allows to monitor a call party in 'Listen' mode. Input parameters
|
|
18
|
+
* are extension number of a monitored user and internal identifier of a supervisor's
|
|
19
|
+
* device. Call session and party identifiers should be specified in path. Please
|
|
20
|
+
* note that for this method dual channel audio flow is supported, which means
|
|
21
|
+
* that you need to make one more request for monitoring the second participant
|
|
22
|
+
* of a call. And as a result of each monitoring request the client receives
|
|
23
|
+
* SIP invite with the following header `p-rc-api-monitoring-ids` containing
|
|
24
|
+
* IDs of the monitored party and session. The flow is supported for calls with
|
|
25
|
+
* no more than 2 participants. Currently, this method is supported for Softphone/Hardphone devices
|
|
26
|
+
* only, since device IDs for WebRTC/Mobile apps cannot be obtained.
|
|
27
|
+
*
|
|
18
28
|
* HTTP Method: post
|
|
19
29
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/supervise
|
|
20
30
|
* Rate Limit Group: Light
|
|
@@ -13,7 +13,7 @@ class Index {
|
|
|
13
13
|
return `${this._parent.path()}/unhold`;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* Brings a party back into a call and stops to play Hold Music. There is a known limitation for Hold API - hold via REST API doesn't work with hold placed via RingCentral apps or HardPhone. It means that if you muted participant via Call Control API and RingCentral Desktop app, then you need to
|
|
16
|
+
* Brings a party back into a call and stops to play Hold Music. There is a known limitation for Hold API - hold via REST API doesn't work with hold placed via RingCentral apps or HardPhone. It means that if you muted participant via Call Control API and RingCentral Desktop app, then you need to un-hold both endpoints to remove Hold Music and bring media back.
|
|
17
17
|
* HTTP Method: post
|
|
18
18
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/unhold
|
|
19
19
|
* Rate Limit Group: Light
|
|
@@ -14,7 +14,7 @@ class Index {
|
|
|
14
14
|
return `${this._parent.path()}/supervise`;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* Allows
|
|
17
|
+
* Allows monitoring a call session in 'Listen' mode. Input parameters should contain internal identifiers of a monitored user and a supervisor's device. Call session should be specified in path. Please note that this method supports single channel audio flow, which means that audio of both call participants is mixed and delivered to the supervisor in single audio channel. Currently this method is supported for Softphone/Hardphone only, since device IDs for WebRTC/Mobile apps cannot be obtained.
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/supervise
|
|
20
20
|
* Rate Limit Group: Light
|
|
@@ -102,7 +102,7 @@ class Index {
|
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
104
|
* Updates a Webinar. The payload may contain just changed fields of a Webinar resource (it is a partial update):
|
|
105
|
-
* - host cannot be changed and host user information cannot be updated;
|
|
105
|
+
* - host cannot be changed, and host user information cannot be updated;
|
|
106
106
|
* - only the settings which are not mandated at account level or are unlocked can be
|
|
107
107
|
* changed;
|
|
108
108
|
* - in order to reset a webinar password it should be passed as an empty string;
|
|
@@ -69,7 +69,7 @@ class Index {
|
|
|
69
69
|
* Updates the existing subscription. The client application can extend/narrow
|
|
70
70
|
* the list of events for which it receives notifications within this subscription.
|
|
71
71
|
* If event filters are specified, calling this method modifies them for the
|
|
72
|
-
* existing subscription. The method also allows
|
|
72
|
+
* existing subscription. The method also allows setting the subscription expiration time.
|
|
73
73
|
* If other than `events` and `expiresIn` parameters are passed in the request they will be ignored.
|
|
74
74
|
* If the request body is empty then the specified subscription will be just renewed without any
|
|
75
75
|
* event filter modifications and with default expiration time.
|