@rc-ex/core 1.3.13 → 1.3.15

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.
Files changed (143) hide show
  1. package/lib/definitions/ContactBusinessAddressInfo.d.ts +6 -6
  2. package/lib/definitions/ContactInfo.d.ts +12 -13
  3. package/lib/definitions/CreateFaxMessageRequest.d.ts +2 -1
  4. package/lib/definitions/CreateUserEmergencyLocationRequest.d.ts +4 -0
  5. package/lib/definitions/DepartmentInfo.d.ts +2 -2
  6. package/lib/definitions/DeviceResource.d.ts +5 -5
  7. package/lib/definitions/EmergencyLocationRequestResource.d.ts +42 -0
  8. package/lib/definitions/{ImportIdentityRequest.js → EmergencyLocationRequestResource.js} +1 -1
  9. package/lib/definitions/EmergencyLocationRequestResource.js.map +1 -0
  10. package/lib/definitions/EmergencyLocationResponseResource.d.ts +58 -0
  11. package/lib/definitions/EmergencyLocationResponseResource.js +3 -0
  12. package/lib/definitions/EmergencyLocationResponseResource.js.map +1 -0
  13. package/lib/definitions/ExtensionBulkUpdateInfo.d.ts +2 -0
  14. package/lib/definitions/ExtensionCreationRequest.d.ts +1 -2
  15. package/lib/definitions/ExtensionCreationResponse.d.ts +2 -2
  16. package/lib/definitions/ExtensionUpdateRequest.d.ts +2 -0
  17. package/lib/definitions/GetAccountInfoResponse.d.ts +2 -3
  18. package/lib/definitions/GetExtensionInfoResponse.d.ts +1 -1
  19. package/lib/definitions/GrantInfo.d.ts +4 -0
  20. package/lib/definitions/MessageStoreConfiguration.d.ts +1 -1
  21. package/lib/definitions/PauseResumeCallRecordingParameters.d.ts +1 -1
  22. package/lib/definitions/PronouncedNameInfo.d.ts +5 -6
  23. package/lib/definitions/ReadA2PSMSOptOutsParameters.d.ts +2 -1
  24. package/lib/definitions/ReadCallSessionStatusParameters.d.ts +2 -1
  25. package/lib/definitions/SipRegistrationDeviceInfo.d.ts +4 -7
  26. package/lib/definitions/SyncAccountCallLogParameters.d.ts +4 -1
  27. package/lib/definitions/SyncMessagesParameters.d.ts +1 -1
  28. package/lib/definitions/SyncUserCallLogParameters.d.ts +8 -3
  29. package/lib/definitions/TokenInfo.d.ts +3 -3
  30. package/lib/paths/Ai/Audio/V1/Async/SpeakerIdentify/index.d.ts +1 -1
  31. package/lib/paths/Ai/Audio/V1/Async/SpeakerIdentify/index.js +1 -1
  32. package/lib/paths/Ai/Audio/V1/Async/SpeechToText/index.d.ts +1 -1
  33. package/lib/paths/Ai/Audio/V1/Async/SpeechToText/index.js +1 -1
  34. package/lib/paths/Ai/Text/V1/Async/Punctuate/index.d.ts +1 -1
  35. package/lib/paths/Ai/Text/V1/Async/Punctuate/index.js +1 -1
  36. package/lib/paths/Ai/Text/V1/Async/Summarize/index.d.ts +3 -1
  37. package/lib/paths/Ai/Text/V1/Async/Summarize/index.js +3 -1
  38. package/lib/paths/Ai/Text/V1/Async/Summarize/index.js.map +1 -1
  39. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +0 -6
  40. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +0 -15
  41. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +1 -1
  42. package/lib/paths/Restapi/Account/A2pSms/OptOuts/index.d.ts +4 -1
  43. package/lib/paths/Restapi/Account/A2pSms/OptOuts/index.js +4 -1
  44. package/lib/paths/Restapi/Account/A2pSms/OptOuts/index.js.map +1 -1
  45. package/lib/paths/Restapi/Account/EmergencyLocations/index.d.ts +5 -4
  46. package/lib/paths/Restapi/Account/EmergencyLocations/index.js +4 -4
  47. package/lib/paths/Restapi/Account/EmergencyLocations/index.js.map +1 -1
  48. package/lib/paths/Restapi/Account/Extension/AssignedRole/index.d.ts +1 -1
  49. package/lib/paths/Restapi/Account/Extension/AssignedRole/index.js +1 -1
  50. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.d.ts +4 -3
  51. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js +2 -2
  52. package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js.map +1 -1
  53. package/lib/paths/Restapi/Account/Extension/Features/index.d.ts +6 -6
  54. package/lib/paths/Restapi/Account/Extension/Features/index.js +6 -6
  55. package/lib/paths/Restapi/Account/Extension/MessageStore/index.d.ts +3 -3
  56. package/lib/paths/Restapi/Account/Extension/MessageStore/index.js +3 -3
  57. package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.d.ts +0 -1
  58. package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js +0 -1
  59. package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js.map +1 -1
  60. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.d.ts +6 -1
  61. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.js +6 -1
  62. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.js.map +1 -1
  63. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.d.ts +5 -1
  64. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.js +5 -1
  65. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.js.map +1 -1
  66. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Hold/index.d.ts +1 -1
  67. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Hold/index.js +1 -1
  68. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.d.ts +1 -1
  69. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.js +1 -1
  70. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.d.ts +11 -1
  71. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.js +11 -1
  72. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.js.map +1 -1
  73. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.d.ts +1 -1
  74. package/lib/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.js +1 -1
  75. package/lib/paths/Restapi/Account/Telephony/Sessions/Supervise/index.d.ts +1 -1
  76. package/lib/paths/Restapi/Account/Telephony/Sessions/Supervise/index.js +1 -1
  77. package/lib/paths/Webinar/Configuration/V1/Webinars/index.d.ts +1 -1
  78. package/lib/paths/Webinar/Configuration/V1/Webinars/index.js +1 -1
  79. package/lib/paths/Webinar/Notifications/V1/Subscriptions/index.d.ts +1 -1
  80. package/lib/paths/Webinar/Notifications/V1/Subscriptions/index.js +1 -1
  81. package/package.json +5 -5
  82. package/src/definitions/ContactBusinessAddressInfo.ts +6 -6
  83. package/src/definitions/ContactInfo.ts +12 -13
  84. package/src/definitions/CreateFaxMessageRequest.ts +2 -1
  85. package/src/definitions/CreateUserEmergencyLocationRequest.ts +5 -0
  86. package/src/definitions/DepartmentInfo.ts +2 -2
  87. package/src/definitions/DeviceResource.ts +5 -5
  88. package/src/definitions/EmergencyLocationRequestResource.ts +52 -0
  89. package/src/definitions/EmergencyLocationResponseResource.ts +71 -0
  90. package/src/definitions/ExtensionBulkUpdateInfo.ts +2 -0
  91. package/src/definitions/ExtensionCreationRequest.ts +1 -2
  92. package/src/definitions/ExtensionCreationResponse.ts +2 -2
  93. package/src/definitions/ExtensionUpdateRequest.ts +2 -0
  94. package/src/definitions/GetAccountInfoResponse.ts +2 -3
  95. package/src/definitions/GetExtensionInfoResponse.ts +1 -1
  96. package/src/definitions/GrantInfo.ts +5 -0
  97. package/src/definitions/MessageStoreConfiguration.ts +1 -1
  98. package/src/definitions/PauseResumeCallRecordingParameters.ts +1 -1
  99. package/src/definitions/PronouncedNameInfo.ts +5 -6
  100. package/src/definitions/ReadA2PSMSOptOutsParameters.ts +2 -1
  101. package/src/definitions/ReadCallSessionStatusParameters.ts +2 -1
  102. package/src/definitions/SipRegistrationDeviceInfo.ts +4 -7
  103. package/src/definitions/SyncAccountCallLogParameters.ts +4 -1
  104. package/src/definitions/SyncMessagesParameters.ts +1 -1
  105. package/src/definitions/SyncUserCallLogParameters.ts +8 -3
  106. package/src/definitions/TokenInfo.ts +3 -3
  107. package/src/paths/Ai/Audio/V1/Async/SpeakerIdentify/index.ts +1 -1
  108. package/src/paths/Ai/Audio/V1/Async/SpeechToText/index.ts +1 -1
  109. package/src/paths/Ai/Text/V1/Async/Punctuate/index.ts +1 -1
  110. package/src/paths/Ai/Text/V1/Async/Summarize/index.ts +3 -1
  111. package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +0 -15
  112. package/src/paths/Restapi/Account/A2pSms/OptOuts/index.ts +4 -1
  113. package/src/paths/Restapi/Account/EmergencyLocations/index.ts +11 -10
  114. package/src/paths/Restapi/Account/Extension/AssignedRole/index.ts +1 -1
  115. package/src/paths/Restapi/Account/Extension/EmergencyLocations/index.ts +8 -7
  116. package/src/paths/Restapi/Account/Extension/Features/index.ts +6 -6
  117. package/src/paths/Restapi/Account/Extension/MessageStore/index.ts +3 -3
  118. package/src/paths/Restapi/Account/Extension/OverflowSettings/index.ts +0 -1
  119. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.ts +6 -1
  120. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.ts +5 -1
  121. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Hold/index.ts +1 -1
  122. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Park/index.ts +1 -1
  123. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.ts +11 -1
  124. package/src/paths/Restapi/Account/Telephony/Sessions/Parties/Unhold/index.ts +1 -1
  125. package/src/paths/Restapi/Account/Telephony/Sessions/Supervise/index.ts +1 -1
  126. package/src/paths/Webinar/Configuration/V1/Webinars/index.ts +1 -1
  127. package/src/paths/Webinar/Notifications/V1/Subscriptions/index.ts +1 -1
  128. package/src/samples.md +201 -267
  129. package/lib/definitions/ImportIdentityRequest.d.ts +0 -61
  130. package/lib/definitions/ImportIdentityRequest.js.map +0 -1
  131. package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.d.ts +0 -17
  132. package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.js +0 -25
  133. package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.js.map +0 -1
  134. package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.d.ts +0 -19
  135. package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.js +0 -27
  136. package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.js.map +0 -1
  137. package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.d.ts +0 -20
  138. package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.js +0 -27
  139. package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.js.map +0 -1
  140. package/src/definitions/ImportIdentityRequest.ts +0 -73
  141. package/src/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.ts +0 -27
  142. package/src/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.ts +0 -29
  143. package/src/paths/Cx/SocialMessaging/V1/Identities/Import/index.ts +0 -33
@@ -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 can be filtered by `to`/`from` phone number query parameters. Specifying `text/csv` in the Accept header downloads the data in CSV format.
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 EmergencyLocationInfoRequest from '../../../../definitions/EmergencyLocationInfoRequest';
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
- emergencyLocationInfoRequest: EmergencyLocationInfoRequest,
51
+ emergencyLocationRequestResource: EmergencyLocationRequestResource,
51
52
  restRequestConfig?: RestRequestConfig,
52
- ): Promise<CommonEmergencyLocationResource> {
53
- const r = await this.rc.post<CommonEmergencyLocationResource>(
53
+ ): Promise<EmergencyLocationResponseResource> {
54
+ const r = await this.rc.post<EmergencyLocationResponseResource>(
54
55
  this.path(false),
55
- emergencyLocationInfoRequest,
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
- emergencyLocationInfoRequest: EmergencyLocationInfoRequest,
91
+ emergencyLocationRequestResource: EmergencyLocationRequestResource,
91
92
  restRequestConfig?: RestRequestConfig,
92
- ): Promise<CommonEmergencyLocationResource> {
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<CommonEmergencyLocationResource>(
97
+ const r = await this.rc.put<EmergencyLocationResponseResource>(
97
98
  this.path(),
98
- emergencyLocationInfoRequest,
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: ReadExtensions
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 EmergencyLocationInfoRequest from '../../../../../definitions/EmergencyLocationInfoRequest';
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<CommonEmergencyLocationResource> {
52
- const r = await this.rc.post<CommonEmergencyLocationResource>(
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
- emergencyLocationInfoRequest: EmergencyLocationInfoRequest,
87
+ emergencyLocationRequestResource: EmergencyLocationRequestResource,
87
88
  restRequestConfig?: RestRequestConfig,
88
- ): Promise<CommonEmergencyLocationResource> {
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<CommonEmergencyLocationResource>(
93
+ const r = await this.rc.put<EmergencyLocationResponseResource>(
93
94
  this.path(),
94
- emergencyLocationInfoRequest,
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. Specific feature(s) might
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 might be specified. In case a feature
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's access token is used);
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., limits, which are returned in `params` attribute as a name-value collection:
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 message read status
85
- * can be updated through this method.
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 message read status update and
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.
@@ -28,7 +28,6 @@ class Index {
28
28
 
29
29
  /**
30
30
  * Updates overflow settings for a call queue specified in path.
31
- *
32
31
  * HTTP Method: put
33
32
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{callQueueId}/overflow-settings
34
33
  * Rate Limit Group: Heavy
@@ -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. The current active call session ID and party ID of the user within this session should be specified in path; the bridged call session ID and party ID of the user within that session should be specified in request body. Thus the user connects participants of two sessions into one conference call using his/her own party IDs from both sessions.
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-in an established SIP call connection. The maximum number of parties to bring-in is 10; only 1 call party can be added per request. Currently the method is supported for sessions of 'Conference' origin only.
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 unhold both endpoints to remove Hold Music and bring media back.
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 are extension number of a monitored user and internal identifier of a supervisor's device. Call session and party identifiers should be specified in path. Please note that for this method dual channel audio flow is supported, which means that you need to make one more request for monitoring the second participant of a call. And as a result of each monitoring request the client receives SIP invite with the following header `p-rc-api-monitoring-ids` containing IDs of the monitored party and session. The flow is supported for calls with no more than 2 participants. Currently this method is supported for Softphone/Hardphone only, since device IDs for WebRTC/Mobile apps cannot be obtained.
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 unhold both endpoints to remove Hold Music and bring media back.
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 to monitor 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.
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 to set the subscription expiration time.
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.