@rc-ex/core 1.3.13 → 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.
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 +2 -2
  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
  declare class Index {
@@ -35,8 +32,5 @@ declare class Index {
35
32
  * App Permission: SocialMessaging
36
33
  */
37
34
  get(restRequestConfig?: RestRequestConfig): Promise<string>;
38
- import(): Import;
39
- anonymize(): Anonymize;
40
- deanonymize(): Deanonymize;
41
35
  }
42
36
  export default Index;
@@ -1,11 +1,5 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const Deanonymize_1 = __importDefault(require("./Deanonymize"));
7
- const Anonymize_1 = __importDefault(require("./Anonymize"));
8
- const Import_1 = __importDefault(require("./Import"));
9
3
  class Index {
10
4
  constructor(_parent, identityId = null) {
11
5
  this._parent = _parent;
@@ -53,15 +47,6 @@ class Index {
53
47
  const r = await this.rc.get(this.path(), undefined, restRequestConfig);
54
48
  return r.data;
55
49
  }
56
- import() {
57
- return new Import_1.default(this);
58
- }
59
- anonymize() {
60
- return new Anonymize_1.default(this);
61
- }
62
- deanonymize() {
63
- return new Deanonymize_1.default(this);
64
- }
65
50
  }
66
51
  exports.default = Index;
67
52
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Cx/SocialMessaging/V1/Identities/index.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,4DAAoC;AACpC,sDAA8B;AAI9B,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,aAA4B,IAAI;QAC3E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC9C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,eAAe,IAAI,CAAC,UAAU,EAAE,CAAC;QAChE,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;;;;;;;;OAeG;IACI,KAAK,CAAC,IAAI,CACf,WAA4C,EAC5C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACtF,OAAO,CAAC,CAAC,IA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;;;OAeG;IACI,KAAK,CAAC,IAAI,CACf,WAA4C,EAC5C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACtF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAC/E,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -8,7 +8,10 @@ declare class Index {
8
8
  constructor(_parent: ParentInterface);
9
9
  path(): string;
10
10
  /**
11
- * 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.
11
+ * Returns the list of numbers opted out from the account. The list
12
+ * can be filtered by `to`/`from` phone number query parameters. Specifying `text/csv`
13
+ * in the `Accept` header lets download the data in the CSV format.
14
+ *
12
15
  * HTTP Method: get
13
16
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/a2p-sms/opt-outs
14
17
  * Rate Limit Group: Light
@@ -13,7 +13,10 @@ class Index {
13
13
  return `${this._parent.path()}/opt-outs`;
14
14
  }
15
15
  /**
16
- * 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.
16
+ * Returns the list of numbers opted out from the account. The list
17
+ * can be filtered by `to`/`from` phone number query parameters. Specifying `text/csv`
18
+ * in the `Accept` header lets download the data in the CSV format.
19
+ *
17
20
  * HTTP Method: get
18
21
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/a2p-sms/opt-outs
19
22
  * Rate Limit Group: Light
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/A2pSms/OptOuts/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AAKtC,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CACd,WAAyC,EACzC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAqB,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QAC7F,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,UAAU;QACf,OAAO,IAAI,oBAAU,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/A2pSms/OptOuts/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AAKtC,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;;;OASG;IACI,KAAK,CAAC,GAAG,CACd,WAAyC,EACzC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAqB,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QAC7F,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAEM,UAAU;QACf,OAAO,IAAI,oBAAU,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -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';
@@ -28,7 +29,7 @@ declare class Index {
28
29
  * App Permission: EditAccounts
29
30
  * User Permission: ConfigureEmergencyMaps
30
31
  */
31
- post(emergencyLocationInfoRequest: EmergencyLocationInfoRequest, restRequestConfig?: RestRequestConfig): Promise<CommonEmergencyLocationResource>;
32
+ post(emergencyLocationRequestResource: EmergencyLocationRequestResource, restRequestConfig?: RestRequestConfig): Promise<EmergencyLocationResponseResource>;
32
33
  /**
33
34
  * Returns emergency response location by ID. Available for Admin users only.
34
35
  * HTTP Method: get
@@ -46,7 +47,7 @@ declare class Index {
46
47
  * App Permission: EditAccounts
47
48
  * User Permission: ConfigureEmergencyMaps
48
49
  */
49
- put(emergencyLocationInfoRequest: EmergencyLocationInfoRequest, restRequestConfig?: RestRequestConfig): Promise<CommonEmergencyLocationResource>;
50
+ put(emergencyLocationRequestResource: EmergencyLocationRequestResource, restRequestConfig?: RestRequestConfig): Promise<EmergencyLocationResponseResource>;
50
51
  /**
51
52
  * Deletes the specified emergency response location.
52
53
  * HTTP Method: delete
@@ -32,8 +32,8 @@ class Index {
32
32
  * App Permission: EditAccounts
33
33
  * User Permission: ConfigureEmergencyMaps
34
34
  */
35
- async post(emergencyLocationInfoRequest, restRequestConfig) {
36
- const r = await this.rc.post(this.path(false), emergencyLocationInfoRequest, undefined, restRequestConfig);
35
+ async post(emergencyLocationRequestResource, restRequestConfig) {
36
+ const r = await this.rc.post(this.path(false), emergencyLocationRequestResource, undefined, restRequestConfig);
37
37
  return r.data;
38
38
  }
39
39
  /**
@@ -59,11 +59,11 @@ class Index {
59
59
  * App Permission: EditAccounts
60
60
  * User Permission: ConfigureEmergencyMaps
61
61
  */
62
- async put(emergencyLocationInfoRequest, restRequestConfig) {
62
+ async put(emergencyLocationRequestResource, restRequestConfig) {
63
63
  if (this.locationId === null) {
64
64
  throw new Error('locationId must be specified.');
65
65
  }
66
- const r = await this.rc.put(this.path(), emergencyLocationInfoRequest, undefined, restRequestConfig);
66
+ const r = await this.rc.put(this.path(), emergencyLocationRequestResource, undefined, restRequestConfig);
67
67
  return r.data;
68
68
  }
69
69
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Account/EmergencyLocations/index.ts"],"names":[],"mappings":";;AAQA,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,aAA4B,IAAI;QAC3E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,C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CAAC,GAAG,CACd,4BAA0D,EAC1D,iBAAqC;QAErC,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,4BAA4B,EAC5B,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,MAAM,CACjB,WAA+C,EAC/C,iBAAqC;QAErC,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACxF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Account/EmergencyLocations/index.ts"],"names":[],"mappings":";;AASA,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,aAA4B,IAAI;QAC3E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC9C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,wBAAwB,IAAI,CAAC,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EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,gCAAgC,EAChC,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,MAAM,CACjB,WAA+C,EAC/C,iBAAqC;QAErC,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACxF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -13,7 +13,7 @@ declare class Index {
13
13
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/assigned-role
14
14
  * Rate Limit Group: Light
15
15
  * App Permission: ReadAccounts
16
- * User Permission: ReadExtensions
16
+ * User Permission: ReadAssignedRoles
17
17
  */
18
18
  get(queryParams?: ListUserAssignedRolesParameters, restRequestConfig?: RestRequestConfig): Promise<AssignedRolesResource>;
19
19
  /**
@@ -18,7 +18,7 @@ class Index {
18
18
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/assigned-role
19
19
  * Rate Limit Group: Light
20
20
  * App Permission: ReadAccounts
21
- * User Permission: ReadExtensions
21
+ * User Permission: ReadAssignedRoles
22
22
  */
23
23
  async get(queryParams, restRequestConfig) {
24
24
  const r = await this.rc.get(this.path(), queryParams, restRequestConfig);
@@ -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';
@@ -27,7 +28,7 @@ declare class Index {
27
28
  * App Permission: EditAccounts
28
29
  * User Permission: EmergencyFramework
29
30
  */
30
- post(createUserEmergencyLocationRequest: CreateUserEmergencyLocationRequest, restRequestConfig?: RestRequestConfig): Promise<CommonEmergencyLocationResource>;
31
+ post(createUserEmergencyLocationRequest: CreateUserEmergencyLocationRequest, restRequestConfig?: RestRequestConfig): Promise<EmergencyLocationResponseResource>;
31
32
  /**
32
33
  * Returns a personal emergency response location for the current user.
33
34
  * HTTP Method: get
@@ -45,7 +46,7 @@ declare class Index {
45
46
  * App Permission: EditAccounts
46
47
  * User Permission: EmergencyFramework
47
48
  */
48
- put(emergencyLocationInfoRequest: EmergencyLocationInfoRequest, restRequestConfig?: RestRequestConfig): Promise<CommonEmergencyLocationResource>;
49
+ put(emergencyLocationRequestResource: EmergencyLocationRequestResource, restRequestConfig?: RestRequestConfig): Promise<EmergencyLocationResponseResource>;
49
50
  /**
50
51
  * Deletes a personal emergency response location by ID by
51
52
  * the current user or admin. Multiple personal emergency response
@@ -58,11 +58,11 @@ class Index {
58
58
  * App Permission: EditAccounts
59
59
  * User Permission: EmergencyFramework
60
60
  */
61
- async put(emergencyLocationInfoRequest, restRequestConfig) {
61
+ async put(emergencyLocationRequestResource, restRequestConfig) {
62
62
  if (this.locationId === null) {
63
63
  throw new Error('locationId must be specified.');
64
64
  }
65
- const r = await this.rc.put(this.path(), emergencyLocationInfoRequest, undefined, restRequestConfig);
65
+ const r = await this.rc.put(this.path(), emergencyLocationRequestResource, undefined, restRequestConfig);
66
66
  return r.data;
67
67
  }
68
68
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Extension/EmergencyLocations/index.ts"],"names":[],"mappings":";;AAQA,MAAM,KAAK;IAKT,YAAmB,OAAwB,EAAE,aAA4B,IAAI;QAC3E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IACM,IAAI,CAAC,aAAa,GAAG,IAAI;QAC9B,IAAI,aAAa,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC9C,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,wBAAwB,IAAI,CAAC,UAAU,EAAE,CAAC;QACzE,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,sBAAsB,CAAC;IACtD,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CACf,WAAsD,EACtD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAA6B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QAC1G,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,IAAI,CACf,kCAAsE,EACtE,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,kCAAkC,EAClC,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAkC,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACxG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;OAQG;IACI,KAAK,CAAC,GAAG,CACd,4BAA0D,EAC1D,iBAAqC;QAErC,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,4BAA4B,EAC5B,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;OAUG;IACI,KAAK,CAAC,MAAM,CACjB,WAAwD,EACxD,iBAAqC;QAErC,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACxF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Extension/EmergencyLocations/index.ts"],"names":[],"mappings":";;AASA,MAAM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E,CAAC,GAAG,CAAkC,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACxG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;OAQG;IACI,KAAK,CAAC,GAAG,CACd,gCAAkE,EAClE,iBAAqC;QAErC,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,gCAAgC,EAChC,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;;;OAUG;IACI,KAAK,CAAC,MAAM,CACjB,WAAwD,EACxD,iBAAqC;QAErC,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QACxF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -7,23 +7,23 @@ declare class Index {
7
7
  constructor(_parent: ParentInterface);
8
8
  path(): string;
9
9
  /**
10
- * Returns a list of supported features and information on their
11
- * availability for the current extension. Specific feature(s) might
10
+ * Returns a list of supported features and the information on their
11
+ * availability for the current extension. Particular feature(s) can
12
12
  * be checked by providing `featureId` query parameter. Multiple values
13
13
  * are supported in the format: `?featureId=Feature1&featureId=Feature2`.
14
14
  * To get only available features in order to decrease response size,
15
- * `availableOnly=true` query param might be specified. In case a feature
15
+ * `availableOnly=true` query param can be specified. If a feature
16
16
  * is available for the current user, `"available": true` is returned in
17
17
  * response for the record with the corresponding feature ID. Otherwise,
18
- * additional attribute `reason` is returned with the appropriate code:
18
+ * the additional attribute `reason` is returned with the appropriate code:
19
19
  * - `ServicePlanLimitation` - a feature is not included in account service plan;
20
20
  * - `AccountLimitation` - a feature is turned off for account;
21
21
  * - `ExtensionTypeLimitation` - a feature is not applicable for extension type;
22
22
  * - `ExtensionLimitation` - a feature is not available for extension, e.g., additional license required;
23
- * - `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);
23
+ * - `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);
24
24
  * - `ConfigurationLimitation` - a feature is turned off for extension, e.g., by account administrator.
25
25
  *
26
- * Also, some features may have additional parameters, e.g., limits, which are returned in `params` attribute as a name-value collection:
26
+ * Also, some features may have additional parameters, e.g. limits, which are returned in `params` attribute as a name-value collection:
27
27
  *
28
28
  * {
29
29
  * "id": "HUD",
@@ -9,23 +9,23 @@ class Index {
9
9
  return `${this._parent.path()}/features`;
10
10
  }
11
11
  /**
12
- * Returns a list of supported features and information on their
13
- * availability for the current extension. Specific feature(s) might
12
+ * Returns a list of supported features and the information on their
13
+ * availability for the current extension. Particular feature(s) can
14
14
  * be checked by providing `featureId` query parameter. Multiple values
15
15
  * are supported in the format: `?featureId=Feature1&featureId=Feature2`.
16
16
  * To get only available features in order to decrease response size,
17
- * `availableOnly=true` query param might be specified. In case a feature
17
+ * `availableOnly=true` query param can be specified. If a feature
18
18
  * is available for the current user, `"available": true` is returned in
19
19
  * response for the record with the corresponding feature ID. Otherwise,
20
- * additional attribute `reason` is returned with the appropriate code:
20
+ * the additional attribute `reason` is returned with the appropriate code:
21
21
  * - `ServicePlanLimitation` - a feature is not included in account service plan;
22
22
  * - `AccountLimitation` - a feature is turned off for account;
23
23
  * - `ExtensionTypeLimitation` - a feature is not applicable for extension type;
24
24
  * - `ExtensionLimitation` - a feature is not available for extension, e.g., additional license required;
25
- * - `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);
25
+ * - `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);
26
26
  * - `ConfigurationLimitation` - a feature is turned off for extension, e.g., by account administrator.
27
27
  *
28
- * Also, some features may have additional parameters, e.g., limits, which are returned in `params` attribute as a name-value collection:
28
+ * Also, some features may have additional parameters, e.g. limits, which are returned in `params` attribute as a name-value collection:
29
29
  *
30
30
  * {
31
31
  * "id": "HUD",
@@ -49,8 +49,8 @@ declare class Index {
49
49
  */
50
50
  get(restRequestConfig?: RestRequestConfig): Promise<GetMessageInfoResponse>;
51
51
  /**
52
- * Updates message(s) by their ID(s). Currently only message read status
53
- * can be updated through this method.
52
+ * Updates message(s) by their ID(s). Currently, only the `readStatus`
53
+ * can be updated using this method.
54
54
  *
55
55
  * Bulk syntax is supported, max number of IDs passed as query/path
56
56
  * parameters is 50. Alternative bulk syntax is also supported - user messages can be updated
@@ -80,7 +80,7 @@ declare class Index {
80
80
  */
81
81
  delete(deleteMessageBulkRequest: string[], queryParams?: DeleteMessageParameters, restRequestConfig?: RestRequestConfig): Promise<string>;
82
82
  /**
83
- * Patches message(s) by ID(s). Currently only message read status update and
83
+ * Patches message(s) by ID(s). Currently, only updating the `readStatus` and
84
84
  * restoring deleted messages are supported through this method.
85
85
  *
86
86
  * For changing status of a message send `readStatus` set to either 'Read' or 'Unread' in request.
@@ -64,8 +64,8 @@ class Index {
64
64
  return r.data;
65
65
  }
66
66
  /**
67
- * Updates message(s) by their ID(s). Currently only message read status
68
- * can be updated through this method.
67
+ * Updates message(s) by their ID(s). Currently, only the `readStatus`
68
+ * can be updated using this method.
69
69
  *
70
70
  * Bulk syntax is supported, max number of IDs passed as query/path
71
71
  * parameters is 50. Alternative bulk syntax is also supported - user messages can be updated
@@ -107,7 +107,7 @@ class Index {
107
107
  return r.data;
108
108
  }
109
109
  /**
110
- * Patches message(s) by ID(s). Currently only message read status update and
110
+ * Patches message(s) by ID(s). Currently, only updating the `readStatus` and
111
111
  * restoring deleted messages are supported through this method.
112
112
  *
113
113
  * For changing status of a message send `readStatus` set to either 'Read' or 'Unread' in request.
@@ -17,7 +17,6 @@ declare class Index {
17
17
  get(restRequestConfig?: RestRequestConfig): Promise<CallQueueOverflowSettings>;
18
18
  /**
19
19
  * Updates overflow settings for a call queue specified in path.
20
- *
21
20
  * HTTP Method: put
22
21
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{callQueueId}/overflow-settings
23
22
  * Rate Limit Group: Heavy
@@ -22,7 +22,6 @@ class Index {
22
22
  }
23
23
  /**
24
24
  * Updates overflow settings for a call queue specified in path.
25
- *
26
25
  * HTTP Method: put
27
26
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{callQueueId}/overflow-settings
28
27
  * Rate Limit Group: Heavy
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Extension/OverflowSettings/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpD,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAA4B,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAClG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;;OAQG;IACI,KAAK,CAAC,GAAG,CACd,wCAAkF,EAClF,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,wCAAwC,EACxC,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/paths/Restapi/Account/Extension/OverflowSettings/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpD,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAA4B,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAClG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CACd,wCAAkF,EAClF,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,wCAAwC,EACxC,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -7,7 +7,12 @@ declare class Index {
7
7
  constructor(_parent: ParentInterface);
8
8
  path(): string;
9
9
  /**
10
- * 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.
10
+ * Allows the user to connect multiple call session participants over a conference call bridge.
11
+ * The current active call session ID and party ID of the user within this session should be specified
12
+ * in path; the bridged call session ID and party ID of the user within that session should be specified
13
+ * in request body. Thus, the user connects participants of two sessions into the one conference call
14
+ * using his/her own party IDs from both sessions."
15
+ *
11
16
  * HTTP Method: post
12
17
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/bridge
13
18
  * Rate Limit Group: Light
@@ -9,7 +9,12 @@ class Index {
9
9
  return `${this._parent.path()}/bridge`;
10
10
  }
11
11
  /**
12
- * 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.
12
+ * Allows the user to connect multiple call session participants over a conference call bridge.
13
+ * The current active call session ID and party ID of the user within this session should be specified
14
+ * in path; the bridged call session ID and party ID of the user within that session should be specified
15
+ * in request body. Thus, the user connects participants of two sessions into the one conference call
16
+ * using his/her own party IDs from both sessions."
17
+ *
13
18
  * HTTP Method: post
14
19
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/bridge
15
20
  * Rate Limit Group: Light
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC;IACzC,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CACf,mBAAwC,EACxC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAY,IAAI,CAAC,IAAI,EAAE,EAAE,mBAAmB,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACxG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/Account/Telephony/Sessions/Parties/Bridge/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC;IACzC,CAAC;IACD;;;;;;;;;;;OAWG;IACI,KAAK,CAAC,IAAI,CACf,mBAAwC,EACxC,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAY,IAAI,CAAC,IAAI,EAAE,EAAE,mBAAmB,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACxG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -7,7 +7,11 @@ declare class Index {
7
7
  constructor(_parent: ParentInterface);
8
8
  path(): string;
9
9
  /**
10
- * 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.
10
+ * Adds a new party to the call session by bringing in an established
11
+ * SIP call connection. The maximum number of parties to bring in is 10; only
12
+ * 1 call party can be added per request. Currently, the method is supported for
13
+ * sessions of the `Conference` origin only.
14
+ *
11
15
  * HTTP Method: post
12
16
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/bring-in
13
17
  * Rate Limit Group: Light
@@ -9,7 +9,11 @@ class Index {
9
9
  return `${this._parent.path()}/bring-in`;
10
10
  }
11
11
  /**
12
- * 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.
12
+ * Adds a new party to the call session by bringing in an established
13
+ * SIP call connection. The maximum number of parties to bring in is 10; only
14
+ * 1 call party can be added per request. Currently, the method is supported for
15
+ * sessions of the `Conference` origin only.
16
+ *
13
17
  * HTTP Method: post
14
18
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/bring-in
15
19
  * Rate Limit Group: Light
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CAAC,eAAgC,EAAE,iBAAqC;QACvF,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAY,IAAI,CAAC,IAAI,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACpG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/Account/Telephony/Sessions/Parties/BringIn/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3C,CAAC;IACD;;;;;;;;;;OAUG;IACI,KAAK,CAAC,IAAI,CAAC,eAAgC,EAAE,iBAAqC;QACvF,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAAY,IAAI,CAAC,IAAI,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACpG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -7,7 +7,7 @@ declare class Index {
7
7
  constructor(_parent: ParentInterface);
8
8
  path(): string;
9
9
  /**
10
- * 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.
10
+ * 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.
11
11
  * HTTP Method: post
12
12
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/hold
13
13
  * Rate Limit Group: Light
@@ -9,7 +9,7 @@ class Index {
9
9
  return `${this._parent.path()}/hold`;
10
10
  }
11
11
  /**
12
- * 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.
12
+ * 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.
13
13
  * HTTP Method: post
14
14
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/hold
15
15
  * Rate Limit Group: Light
@@ -6,7 +6,7 @@ declare class Index {
6
6
  constructor(_parent: ParentInterface);
7
7
  path(): string;
8
8
  /**
9
- * 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.
9
+ * 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.
10
10
  * HTTP Method: post
11
11
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/park
12
12
  * Rate Limit Group: Light
@@ -9,7 +9,7 @@ class Index {
9
9
  return `${this._parent.path()}/park`;
10
10
  }
11
11
  /**
12
- * 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.
12
+ * 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.
13
13
  * HTTP Method: post
14
14
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/park
15
15
  * Rate Limit Group: Light
@@ -7,7 +7,17 @@ declare class Index {
7
7
  constructor(_parent: ParentInterface);
8
8
  path(): string;
9
9
  /**
10
- * 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.
10
+ * Allows to monitor a call party in 'Listen' mode. Input parameters
11
+ * are extension number of a monitored user and internal identifier of a supervisor's
12
+ * device. Call session and party identifiers should be specified in path. Please
13
+ * note that for this method dual channel audio flow is supported, which means
14
+ * that you need to make one more request for monitoring the second participant
15
+ * of a call. And as a result of each monitoring request the client receives
16
+ * SIP invite with the following header `p-rc-api-monitoring-ids` containing
17
+ * IDs of the monitored party and session. The flow is supported for calls with
18
+ * no more than 2 participants. Currently, this method is supported for Softphone/Hardphone devices
19
+ * only, since device IDs for WebRTC/Mobile apps cannot be obtained.
20
+ *
11
21
  * HTTP Method: post
12
22
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/supervise
13
23
  * Rate Limit Group: Light
@@ -9,7 +9,17 @@ class Index {
9
9
  return `${this._parent.path()}/supervise`;
10
10
  }
11
11
  /**
12
- * 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.
12
+ * Allows to monitor a call party in 'Listen' mode. Input parameters
13
+ * are extension number of a monitored user and internal identifier of a supervisor's
14
+ * device. Call session and party identifiers should be specified in path. Please
15
+ * note that for this method dual channel audio flow is supported, which means
16
+ * that you need to make one more request for monitoring the second participant
17
+ * of a call. And as a result of each monitoring request the client receives
18
+ * SIP invite with the following header `p-rc-api-monitoring-ids` containing
19
+ * IDs of the monitored party and session. The flow is supported for calls with
20
+ * no more than 2 participants. Currently, this method is supported for Softphone/Hardphone devices
21
+ * only, since device IDs for WebRTC/Mobile apps cannot be obtained.
22
+ *
13
23
  * HTTP Method: post
14
24
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/supervise
15
25
  * Rate Limit Group: Light
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CACf,qBAA4C,EAC5C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,qBAAqB,EACrB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/paths/Restapi/Account/Telephony/Sessions/Parties/Supervise/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5C,CAAC;IACD;;;;;;;;;;;;;;;;OAgBG;IACI,KAAK,CAAC,IAAI,CACf,qBAA4C,EAC5C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,qBAAqB,EACrB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -6,7 +6,7 @@ declare class Index {
6
6
  constructor(_parent: ParentInterface);
7
7
  path(): string;
8
8
  /**
9
- * 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.
9
+ * 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.
10
10
  * HTTP Method: post
11
11
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/unhold
12
12
  * Rate Limit Group: Light
@@ -9,7 +9,7 @@ class Index {
9
9
  return `${this._parent.path()}/unhold`;
10
10
  }
11
11
  /**
12
- * 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.
12
+ * 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.
13
13
  * HTTP Method: post
14
14
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/unhold
15
15
  * Rate Limit Group: Light
@@ -7,7 +7,7 @@ declare class Index {
7
7
  constructor(_parent: ParentInterface);
8
8
  path(): string;
9
9
  /**
10
- * 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.
10
+ * 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.
11
11
  * HTTP Method: post
12
12
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/supervise
13
13
  * Rate Limit Group: Light
@@ -9,7 +9,7 @@ class Index {
9
9
  return `${this._parent.path()}/supervise`;
10
10
  }
11
11
  /**
12
- * 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.
12
+ * 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.
13
13
  * HTTP Method: post
14
14
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/supervise
15
15
  * Rate Limit Group: Light
@@ -58,7 +58,7 @@ declare class Index {
58
58
  delete(restRequestConfig?: RestRequestConfig): Promise<string>;
59
59
  /**
60
60
  * Updates a Webinar. The payload may contain just changed fields of a Webinar resource (it is a partial update):
61
- * - host cannot be changed and host user information cannot be updated;
61
+ * - host cannot be changed, and host user information cannot be updated;
62
62
  * - only the settings which are not mandated at account level or are unlocked can be
63
63
  * changed;
64
64
  * - in order to reset a webinar password it should be passed as an empty string;
@@ -81,7 +81,7 @@ class Index {
81
81
  }
82
82
  /**
83
83
  * Updates a Webinar. The payload may contain just changed fields of a Webinar resource (it is a partial update):
84
- * - host cannot be changed and host user information cannot be updated;
84
+ * - host cannot be changed, and host user information cannot be updated;
85
85
  * - only the settings which are not mandated at account level or are unlocked can be
86
86
  * changed;
87
87
  * - in order to reset a webinar password it should be passed as an empty string;