@rc-ex/core 1.6.16 → 1.6.17

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 (161) hide show
  1. package/dist/cjs/Rest.js +1 -1
  2. package/dist/cjs/definitions/AIInsights.d.ts +3 -0
  3. package/dist/cjs/definitions/ASGErrorResponse.d.ts +3 -0
  4. package/dist/cjs/definitions/AccountHistorySearchPublicRequest.d.ts +2 -2
  5. package/dist/cjs/definitions/AccountPhoneNumberInfo.d.ts +2 -2
  6. package/dist/cjs/definitions/AggregateA2PSMSStatusesParameters.d.ts +3 -2
  7. package/dist/cjs/definitions/BaseCallLogRecord.d.ts +4 -0
  8. package/dist/cjs/definitions/CallLogRecord.d.ts +4 -0
  9. package/dist/cjs/definitions/CallLogRecordLegInfo.d.ts +4 -0
  10. package/dist/cjs/definitions/CallNotesInsightUnit.d.ts +9 -0
  11. package/dist/cjs/definitions/CallQueueDetails.d.ts +1 -1
  12. package/dist/cjs/definitions/CallQueueDetailsForUpdate.d.ts +1 -1
  13. package/dist/cjs/definitions/CallQueueInfo.d.ts +1 -1
  14. package/dist/cjs/definitions/CompanyPhoneNumberInfo.d.ts +3 -7
  15. package/dist/cjs/definitions/CreateForwardingNumberRequest.d.ts +8 -3
  16. package/dist/cjs/definitions/CreateSiteRequest.d.ts +4 -0
  17. package/dist/cjs/definitions/CreateUserEmergencyLocationRequest.d.ts +3 -0
  18. package/dist/cjs/definitions/EmailRecipientInfo.d.ts +1 -1
  19. package/dist/cjs/definitions/ErrorEntry.d.ts +18 -0
  20. package/dist/cjs/definitions/ErrorEntry.js +2 -0
  21. package/dist/cjs/definitions/GetExtensionInfoResponse.d.ts +5 -0
  22. package/dist/cjs/definitions/GetMessageInfoResponse.d.ts +2 -2
  23. package/dist/cjs/definitions/GetRecordingInsightsParameters.d.ts +1 -1
  24. package/dist/cjs/definitions/GetSessionInsightsParameters.d.ts +10 -0
  25. package/dist/cjs/definitions/GetSessionInsightsParameters.js +2 -0
  26. package/dist/cjs/definitions/GetSessionInsightsResponse.d.ts +13 -0
  27. package/dist/cjs/definitions/GetSessionInsightsResponse.js +2 -0
  28. package/dist/cjs/definitions/HoldCallPartyRequest.d.ts +1 -1
  29. package/dist/cjs/definitions/ListA2PSMSParameters.d.ts +3 -2
  30. package/dist/cjs/definitions/ListAccountPhoneNumbersParameters.d.ts +2 -2
  31. package/dist/cjs/definitions/ListAccountPhoneNumbersV2Parameters.d.ts +1 -1
  32. package/dist/cjs/definitions/ListAccountSwitchesParameters.d.ts +5 -4
  33. package/dist/cjs/definitions/ListAutomaticLocationUpdatesUsersParameters.d.ts +3 -3
  34. package/dist/cjs/definitions/ListDevicesAutomaticLocationUpdatesParameters.d.ts +3 -3
  35. package/dist/cjs/definitions/ListDirectoryEntriesParameters.d.ts +1 -1
  36. package/dist/cjs/definitions/ListExtensionGrantsParameters.d.ts +3 -3
  37. package/dist/cjs/definitions/ListExtensionPhoneNumbersParameters.d.ts +2 -2
  38. package/dist/cjs/definitions/ListMessagesParameters.d.ts +15 -0
  39. package/dist/cjs/definitions/ListNetworksParameters.d.ts +6 -6
  40. package/dist/cjs/definitions/ListWirelessPointsParameters.d.ts +5 -4
  41. package/dist/cjs/definitions/MessageBatchResponse.d.ts +1 -1
  42. package/dist/cjs/definitions/NotificationSettings.d.ts +9 -0
  43. package/dist/cjs/definitions/OwnerResource.d.ts +18 -0
  44. package/dist/cjs/definitions/OwnerResource.js +2 -0
  45. package/dist/cjs/definitions/PhoneNumberResource.d.ts +1 -1
  46. package/dist/cjs/definitions/RSPagingModel.d.ts +58 -0
  47. package/dist/cjs/definitions/RSPagingModel.js +2 -0
  48. package/dist/cjs/definitions/ReadCompanyCallLogParameters.d.ts +5 -0
  49. package/dist/cjs/definitions/ReadUserCallLogParameters.d.ts +5 -0
  50. package/dist/cjs/definitions/ReasonInfo.d.ts +1 -1
  51. package/dist/cjs/definitions/SearchDirectoryEntriesParameters.d.ts +9 -13
  52. package/dist/cjs/definitions/ShortSiteInfo.d.ts +1 -0
  53. package/dist/cjs/definitions/SmsBrandInfo.d.ts +14 -0
  54. package/dist/cjs/definitions/SmsBrandInfo.js +2 -0
  55. package/dist/cjs/definitions/SmsCampaignInfo.d.ts +22 -0
  56. package/dist/cjs/definitions/SmsCampaignInfo.js +2 -0
  57. package/dist/cjs/definitions/SmsConfigurationResource.d.ts +18 -0
  58. package/dist/cjs/definitions/SmsConfigurationResource.js +2 -0
  59. package/dist/cjs/definitions/SyncAccountCallLogParameters.d.ts +5 -0
  60. package/dist/cjs/definitions/SyncMessagesParameters.d.ts +12 -1
  61. package/dist/cjs/definitions/SyncUserCallLogParameters.d.ts +5 -0
  62. package/dist/cjs/definitions/UserPhoneNumberInfo.d.ts +3 -2
  63. package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/Insights/index.d.ts +18 -0
  64. package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/Insights/index.js +25 -0
  65. package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/index.d.ts +11 -0
  66. package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/index.js +26 -0
  67. package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.d.ts +2 -0
  68. package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js +6 -2
  69. package/dist/cjs/paths/Restapi/Account/Extension/Features/index.d.ts +1 -0
  70. package/dist/cjs/paths/Restapi/Account/Extension/Features/index.js +1 -0
  71. package/dist/cjs/paths/Restapi/Account/Extension/Grant/index.d.ts +2 -3
  72. package/dist/cjs/paths/Restapi/Account/Extension/Grant/index.js +2 -3
  73. package/dist/cjs/paths/Restapi/Account/Extension/PhoneNumber/SmsConfiguration/index.d.ts +18 -0
  74. package/dist/cjs/paths/Restapi/Account/Extension/PhoneNumber/SmsConfiguration/index.js +26 -0
  75. package/dist/cjs/paths/Restapi/Account/Extension/PhoneNumber/index.d.ts +2 -0
  76. package/dist/cjs/paths/Restapi/Account/Extension/PhoneNumber/index.js +7 -0
  77. package/dist/cjs/paths/Restapi/V2/Accounts/Extensions/index.d.ts +0 -2
  78. package/dist/cjs/paths/Restapi/V2/Accounts/Extensions/index.js +0 -2
  79. package/dist/esm/Rest.js +1 -1
  80. package/dist/esm/definitions/AIInsights.d.ts +3 -0
  81. package/dist/esm/definitions/ASGErrorResponse.d.ts +3 -0
  82. package/dist/esm/definitions/AccountHistorySearchPublicRequest.d.ts +2 -2
  83. package/dist/esm/definitions/AccountPhoneNumberInfo.d.ts +2 -2
  84. package/dist/esm/definitions/AggregateA2PSMSStatusesParameters.d.ts +3 -2
  85. package/dist/esm/definitions/BaseCallLogRecord.d.ts +4 -0
  86. package/dist/esm/definitions/CallLogRecord.d.ts +4 -0
  87. package/dist/esm/definitions/CallLogRecordLegInfo.d.ts +4 -0
  88. package/dist/esm/definitions/CallNotesInsightUnit.d.ts +9 -0
  89. package/dist/esm/definitions/CallQueueDetails.d.ts +1 -1
  90. package/dist/esm/definitions/CallQueueDetailsForUpdate.d.ts +1 -1
  91. package/dist/esm/definitions/CallQueueInfo.d.ts +1 -1
  92. package/dist/esm/definitions/CompanyPhoneNumberInfo.d.ts +3 -7
  93. package/dist/esm/definitions/CreateForwardingNumberRequest.d.ts +8 -3
  94. package/dist/esm/definitions/CreateSiteRequest.d.ts +4 -0
  95. package/dist/esm/definitions/CreateUserEmergencyLocationRequest.d.ts +3 -0
  96. package/dist/esm/definitions/EmailRecipientInfo.d.ts +1 -1
  97. package/dist/esm/definitions/ErrorEntry.d.ts +18 -0
  98. package/dist/esm/definitions/ErrorEntry.js +1 -0
  99. package/dist/esm/definitions/GetExtensionInfoResponse.d.ts +5 -0
  100. package/dist/esm/definitions/GetMessageInfoResponse.d.ts +2 -2
  101. package/dist/esm/definitions/GetRecordingInsightsParameters.d.ts +1 -1
  102. package/dist/esm/definitions/GetSessionInsightsParameters.d.ts +10 -0
  103. package/dist/esm/definitions/GetSessionInsightsParameters.js +1 -0
  104. package/dist/esm/definitions/GetSessionInsightsResponse.d.ts +13 -0
  105. package/dist/esm/definitions/GetSessionInsightsResponse.js +1 -0
  106. package/dist/esm/definitions/HoldCallPartyRequest.d.ts +1 -1
  107. package/dist/esm/definitions/ListA2PSMSParameters.d.ts +3 -2
  108. package/dist/esm/definitions/ListAccountPhoneNumbersParameters.d.ts +2 -2
  109. package/dist/esm/definitions/ListAccountPhoneNumbersV2Parameters.d.ts +1 -1
  110. package/dist/esm/definitions/ListAccountSwitchesParameters.d.ts +5 -4
  111. package/dist/esm/definitions/ListAutomaticLocationUpdatesUsersParameters.d.ts +3 -3
  112. package/dist/esm/definitions/ListDevicesAutomaticLocationUpdatesParameters.d.ts +3 -3
  113. package/dist/esm/definitions/ListDirectoryEntriesParameters.d.ts +1 -1
  114. package/dist/esm/definitions/ListExtensionGrantsParameters.d.ts +3 -3
  115. package/dist/esm/definitions/ListExtensionPhoneNumbersParameters.d.ts +2 -2
  116. package/dist/esm/definitions/ListMessagesParameters.d.ts +15 -0
  117. package/dist/esm/definitions/ListNetworksParameters.d.ts +6 -6
  118. package/dist/esm/definitions/ListWirelessPointsParameters.d.ts +5 -4
  119. package/dist/esm/definitions/MessageBatchResponse.d.ts +1 -1
  120. package/dist/esm/definitions/NotificationSettings.d.ts +9 -0
  121. package/dist/esm/definitions/OwnerResource.d.ts +18 -0
  122. package/dist/esm/definitions/OwnerResource.js +1 -0
  123. package/dist/esm/definitions/PhoneNumberResource.d.ts +1 -1
  124. package/dist/esm/definitions/RSPagingModel.d.ts +58 -0
  125. package/dist/esm/definitions/RSPagingModel.js +1 -0
  126. package/dist/esm/definitions/ReadCompanyCallLogParameters.d.ts +5 -0
  127. package/dist/esm/definitions/ReadUserCallLogParameters.d.ts +5 -0
  128. package/dist/esm/definitions/ReasonInfo.d.ts +1 -1
  129. package/dist/esm/definitions/SearchDirectoryEntriesParameters.d.ts +9 -13
  130. package/dist/esm/definitions/ShortSiteInfo.d.ts +1 -0
  131. package/dist/esm/definitions/SmsBrandInfo.d.ts +14 -0
  132. package/dist/esm/definitions/SmsBrandInfo.js +1 -0
  133. package/dist/esm/definitions/SmsCampaignInfo.d.ts +22 -0
  134. package/dist/esm/definitions/SmsCampaignInfo.js +1 -0
  135. package/dist/esm/definitions/SmsConfigurationResource.d.ts +18 -0
  136. package/dist/esm/definitions/SmsConfigurationResource.js +1 -0
  137. package/dist/esm/definitions/SyncAccountCallLogParameters.d.ts +5 -0
  138. package/dist/esm/definitions/SyncMessagesParameters.d.ts +12 -1
  139. package/dist/esm/definitions/SyncUserCallLogParameters.d.ts +5 -0
  140. package/dist/esm/definitions/UserPhoneNumberInfo.d.ts +3 -2
  141. package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/Insights/index.d.ts +18 -0
  142. package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/Insights/index.js +23 -0
  143. package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/index.d.ts +11 -0
  144. package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/index.js +21 -0
  145. package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.d.ts +2 -0
  146. package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js +4 -0
  147. package/dist/esm/paths/Restapi/Account/Extension/Features/index.d.ts +1 -0
  148. package/dist/esm/paths/Restapi/Account/Extension/Features/index.js +1 -0
  149. package/dist/esm/paths/Restapi/Account/Extension/Grant/index.d.ts +2 -3
  150. package/dist/esm/paths/Restapi/Account/Extension/Grant/index.js +2 -3
  151. package/dist/esm/paths/Restapi/Account/Extension/PhoneNumber/SmsConfiguration/index.d.ts +18 -0
  152. package/dist/esm/paths/Restapi/Account/Extension/PhoneNumber/SmsConfiguration/index.js +24 -0
  153. package/dist/esm/paths/Restapi/Account/Extension/PhoneNumber/index.d.ts +2 -0
  154. package/dist/esm/paths/Restapi/Account/Extension/PhoneNumber/index.js +4 -0
  155. package/dist/esm/paths/Restapi/V2/Accounts/Extensions/index.d.ts +0 -2
  156. package/dist/esm/paths/Restapi/V2/Accounts/Extensions/index.js +0 -2
  157. package/package.json +3 -3
  158. package/dist/cjs/definitions/VoicemailOwnerResource.d.ts +0 -14
  159. package/dist/esm/definitions/VoicemailOwnerResource.d.ts +0 -14
  160. /package/dist/cjs/definitions/{VoicemailOwnerResource.js → CallNotesInsightUnit.js} +0 -0
  161. /package/dist/esm/definitions/{VoicemailOwnerResource.js → CallNotesInsightUnit.js} +0 -0
@@ -8,29 +8,25 @@ interface SearchDirectoryEntriesParameters {
8
8
  */
9
9
  accessibleSitesOnly?: boolean;
10
10
  /**
11
- * A list of Account IDs
12
- * Example: 400131426008
11
+ * A list of Account IDs. Deprecated, use the appropriate body field 'accountIds' instead.
13
12
  */
14
- accountId?: string;
13
+ accountId?: string[];
15
14
  /**
16
- * A list of department names
15
+ * Department name. Deprecated, use the appropriate body field 'department' instead.
17
16
  * Example: North office
18
17
  */
19
18
  department?: string;
20
19
  /**
21
- * A list of Site IDs
22
- * Example: 872781797006
20
+ * A list of Site IDs. Deprecated, use the appropriate body field 'siteIds' instead.
23
21
  */
24
- siteId?: string;
22
+ siteId?: string[];
25
23
  /**
26
- * Extension current state
27
- * Example: Enabled
24
+ * List of extension current statuses. Deprecated, use the appropriate body field 'extensionStatuses' instead.
28
25
  */
29
- extensionStatus?: string;
26
+ extensionStatus?: string[];
30
27
  /**
31
- * Type of extension to filter the contacts
32
- * Example: User
28
+ * Types of extension to filter the contacts
33
29
  */
34
- extensionType?: "User" | "Department" | "Announcement" | "Voicemail" | "DigitalUser" | "VirtualUser" | "FaxUser" | "PagingOnly" | "SharedLinesGroup" | "IvrMenu" | "ApplicationExtension" | "ParkLocation" | "Limited" | "Bot" | "Site" | "Room" | "ProxyAdmin" | "DelegatedLinesGroup" | "FlexibleUser" | "GroupCallPickup" | "RoomConnector";
30
+ extensionType?: ("User" | "Department" | "Announcement" | "Voicemail" | "DigitalUser" | "VirtualUser" | "FaxUser" | "PagingOnly" | "SharedLinesGroup" | "IvrMenu" | "ApplicationExtension" | "ParkLocation" | "Limited" | "Bot" | "Site" | "Room" | "ProxyAdmin" | "DelegatedLinesGroup" | "FlexibleUser" | "GroupCallPickup" | "RoomConnector")[];
35
31
  }
36
32
  export default SearchDirectoryEntriesParameters;
@@ -1,6 +1,7 @@
1
1
  interface ShortSiteInfo {
2
2
  /**
3
3
  * Internal identifier of a site extension
4
+ * Example: main-site
4
5
  */
5
6
  id?: string;
6
7
  /**
@@ -0,0 +1,14 @@
1
+ import ApiError from "./ApiError.js";
2
+ interface SmsBrandInfo {
3
+ /**
4
+ * Identifier of the associated TCR brand
5
+ */
6
+ id?: string;
7
+ /**
8
+ * Status of the associated TCR campaign
9
+ */
10
+ status?: "Created" | "Submitted" | "Confirmed" | "SubmitFailed" | "UpdateRequested" | "DeleteRequested" | "CampaignSuspended" | "CampaignExpired" | "Draft" | "PreVetFailed" | "Unconfirmed";
11
+ /** */
12
+ errors?: ApiError[];
13
+ }
14
+ export default SmsBrandInfo;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ import ApiError from "./ApiError.js";
2
+ interface SmsCampaignInfo {
3
+ /**
4
+ * Identifier of the associated TCR campaign
5
+ */
6
+ id?: string;
7
+ /**
8
+ * Status of the associated TCR campaign
9
+ */
10
+ status?: "Created" | "Submitted" | "Confirmed" | "SubmitFailed" | "UpdateRequested" | "DeleteRequested" | "CampaignSuspended" | "CampaignExpired" | "Draft" | "PreVetFailed" | "Unconfirmed";
11
+ /**
12
+ * Use case of the associated TCR campaign
13
+ */
14
+ registrationTier?: string;
15
+ /**
16
+ * List of sub use cases of the associated TCR campaign
17
+ */
18
+ useCases?: string[];
19
+ /** */
20
+ errors?: ApiError[];
21
+ }
22
+ export default SmsCampaignInfo;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,18 @@
1
+ import SmsCampaignInfo from "./SmsCampaignInfo.js";
2
+ import SmsBrandInfo from "./SmsBrandInfo.js";
3
+ interface SmsConfigurationResource {
4
+ /**
5
+ * Internal identifier of a phone number
6
+ */
7
+ phoneNumberId?: string;
8
+ /**
9
+ * Phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) (with '+' sign) format
10
+ * Example: +18661234567
11
+ */
12
+ phoneNumber?: string;
13
+ /** */
14
+ smsCampaignInfo?: SmsCampaignInfo;
15
+ /** */
16
+ smsBrandInfo?: SmsBrandInfo;
17
+ }
18
+ export default SmsConfigurationResource;
@@ -0,0 +1 @@
1
+ export {};
@@ -53,5 +53,10 @@ interface SyncAccountCallLogParameters {
53
53
  * If omitted, then calls with and without recordings are returned
54
54
  */
55
55
  recordingType?: "Automatic" | "OnDemand" | "All";
56
+ /**
57
+ * Category of metadata to be returned. If omitted, all call records are returned.
58
+ * Multiple values are supported
59
+ */
60
+ metadataCategory?: string[];
56
61
  }
57
62
  export default SyncAccountCallLogParameters;
@@ -54,10 +54,21 @@ interface SyncMessagesParameters {
54
54
  */
55
55
  syncType?: "FSync" | "ISync";
56
56
  /**
57
- * Filters voicemail messages based on the owner extension. Supported if the 'SharedVoicemail'
57
+ * Deprecated. Filters voicemail messages based on the owner extension. Supported if the 'SharedVoicemail'
58
58
  * feature is enabled.
59
59
  * Default: Personal
60
60
  */
61
61
  voicemailOwner?: string[];
62
+ /**
63
+ * Filters shared messages based on the owner extension. Supported if the 'SharedVoicemail' or 'CallQueueSmsRecipient'
64
+ * feature is enabled.
65
+ * Default: Personal
66
+ */
67
+ owner?: string[];
68
+ /**
69
+ * Filters shared messages based on the owner extension type. Supported if "SharedVoicemail" or "CallQueueSmsRecipient"
70
+ * feature is enabled.
71
+ */
72
+ ownerExtensionType?: ("User" | "Department" | "Announcement" | "Voicemail" | "DigitalUser" | "VirtualUser" | "FaxUser" | "PagingOnly" | "SharedLinesGroup" | "DelegatedLinesGroup" | "GroupCallPickup" | "IvrMenu" | "ApplicationExtension" | "ProxyAdmin" | "RoomConnector" | "ParkLocation" | "Limited" | "Bot" | "Site" | "Room" | "FlexibleUser")[];
62
73
  }
63
74
  export default SyncMessagesParameters;
@@ -52,5 +52,10 @@ interface SyncUserCallLogParameters {
52
52
  * If omitted, then calls with and without recordings are returned
53
53
  */
54
54
  recordingType?: "Automatic" | "OnDemand" | "All";
55
+ /**
56
+ * Category of metadata to be returned. If omitted, all call records are returned.
57
+ * Multiple values are supported
58
+ */
59
+ metadataCategory?: string[];
55
60
  }
56
61
  export default SyncUserCallLogParameters;
@@ -54,9 +54,10 @@ interface UserPhoneNumberInfo {
54
54
  */
55
55
  subType?: "VideoPro" | "VideoProPlus" | "DigitalSignage" | "Unknown" | "Emergency";
56
56
  /**
57
- * Usage type of phone number. Numbers of 'NumberPool' type will not be returned for phone number list requests
57
+ * Usage type of a phone number. Numbers of 'NumberPool' and 'NumberStorage' type are not returned in
58
+ * phone number list requests
58
59
  */
59
- usageType?: "MainCompanyNumber" | "AdditionalCompanyNumber" | "CompanyNumber" | "DirectNumber" | "CompanyFaxNumber" | "ForwardedNumber" | "ForwardedCompanyNumber" | "ContactCenterNumber" | "ConferencingNumber" | "NumberPool" | "BusinessMobileNumber" | "PartnerBusinessMobileNumber" | "IntegrationNumber";
60
+ usageType?: "MainCompanyNumber" | "AdditionalCompanyNumber" | "CompanyNumber" | "DirectNumber" | "CompanyFaxNumber" | "ForwardedNumber" | "ForwardedCompanyNumber" | "ContactCenterNumber" | "ConferencingNumber" | "MeetingsNumber" | "NumberPool" | "NumberStorage" | "BusinessMobileNumber" | "PartnerBusinessMobileNumber" | "IntegrationNumber";
60
61
  /**
61
62
  * List of features of a phone number
62
63
  */
@@ -0,0 +1,18 @@
1
+ import GetSessionInsightsResponse from "../../../../../../../../../definitions/GetSessionInsightsResponse.js";
2
+ import GetSessionInsightsParameters from "../../../../../../../../../definitions/GetSessionInsightsParameters.js";
3
+ import { ParentInterface, RestRequestConfig, RingCentralInterface } from "../../../../../../../../../types.js";
4
+ declare class Index {
5
+ rc: RingCentralInterface;
6
+ _parent: ParentInterface;
7
+ constructor(_parent: ParentInterface);
8
+ path(): string;
9
+ /**
10
+ * Returns the insights of all call recordings in a session
11
+ * HTTP Method: get
12
+ * Endpoint: /ai/ringsense/v1/public/accounts/{accountId}/domains/{domain}/sessions/{sourceSessionId}/insights
13
+ * Rate Limit Group: Light
14
+ * App Permission: RingSense
15
+ */
16
+ get(queryParams?: GetSessionInsightsParameters, restRequestConfig?: RestRequestConfig): Promise<GetSessionInsightsResponse>;
17
+ }
18
+ export default Index;
@@ -0,0 +1,23 @@
1
+ class Index {
2
+ rc;
3
+ _parent;
4
+ constructor(_parent) {
5
+ this._parent = _parent;
6
+ this.rc = _parent.rc;
7
+ }
8
+ path() {
9
+ return `${this._parent.path()}/insights`;
10
+ }
11
+ /**
12
+ * Returns the insights of all call recordings in a session
13
+ * HTTP Method: get
14
+ * Endpoint: /ai/ringsense/v1/public/accounts/{accountId}/domains/{domain}/sessions/{sourceSessionId}/insights
15
+ * Rate Limit Group: Light
16
+ * App Permission: RingSense
17
+ */
18
+ async get(queryParams, restRequestConfig) {
19
+ const r = await this.rc.get(this.path(), queryParams, restRequestConfig);
20
+ return r.data;
21
+ }
22
+ }
23
+ export default Index;
@@ -0,0 +1,11 @@
1
+ import Insights from "./Insights/index.js";
2
+ import { ParentInterface, RingCentralInterface } from "../../../../../../../../types.js";
3
+ declare class Index {
4
+ rc: RingCentralInterface;
5
+ _parent: ParentInterface;
6
+ sourceSessionId: string | null;
7
+ constructor(_parent: ParentInterface, sourceSessionId?: string | null);
8
+ path(withParameter?: boolean): string;
9
+ insights(): Insights;
10
+ }
11
+ export default Index;
@@ -0,0 +1,21 @@
1
+ import Insights from "./Insights/index.js";
2
+ class Index {
3
+ rc;
4
+ _parent;
5
+ sourceSessionId;
6
+ constructor(_parent, sourceSessionId = null) {
7
+ this._parent = _parent;
8
+ this.rc = _parent.rc;
9
+ this.sourceSessionId = sourceSessionId;
10
+ }
11
+ path(withParameter = true) {
12
+ if (withParameter && this.sourceSessionId !== null) {
13
+ return `${this._parent.path()}/sessions/${this.sourceSessionId}`;
14
+ }
15
+ return `${this._parent.path()}/sessions`;
16
+ }
17
+ insights() {
18
+ return new Insights(this);
19
+ }
20
+ }
21
+ export default Index;
@@ -1,3 +1,4 @@
1
+ import Sessions from "./Sessions/index.js";
1
2
  import Records from "./Records/index.js";
2
3
  import { ParentInterface, RingCentralInterface } from "../../../../../../../types.js";
3
4
  declare class Index {
@@ -7,5 +8,6 @@ declare class Index {
7
8
  constructor(_parent: ParentInterface, domain?: string | null);
8
9
  path(withParameter?: boolean): string;
9
10
  records(sourceRecordId?: string | null): Records;
11
+ sessions(sourceSessionId?: string | null): Sessions;
10
12
  }
11
13
  export default Index;
@@ -1,3 +1,4 @@
1
+ import Sessions from "./Sessions/index.js";
1
2
  import Records from "./Records/index.js";
2
3
  class Index {
3
4
  rc;
@@ -17,5 +18,8 @@ class Index {
17
18
  records(sourceRecordId = null) {
18
19
  return new Records(this, sourceRecordId);
19
20
  }
21
+ sessions(sourceSessionId = null) {
22
+ return new Sessions(this, sourceSessionId);
23
+ }
20
24
  }
21
25
  export default Index;
@@ -22,6 +22,7 @@ declare class Index {
22
22
  * - `ExtensionLimitation` - a feature is not available for extension, e.g., additional license required;
23
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
+ * - `PermissionLimitation` - a feature is unavailable due to a specific permission this extension has.
25
26
  *
26
27
  * Also, some features may have additional parameters, e.g. limits, which are returned in `params` attribute as a name-value collection:
27
28
  *
@@ -24,6 +24,7 @@ class Index {
24
24
  * - `ExtensionLimitation` - a feature is not available for extension, e.g., additional license required;
25
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
+ * - `PermissionLimitation` - a feature is unavailable due to a specific permission this extension has.
27
28
  *
28
29
  * Also, some features may have additional parameters, e.g. limits, which are returned in `params` attribute as a name-value collection:
29
30
  *
@@ -7,9 +7,8 @@ declare class Index {
7
7
  constructor(_parent: ParentInterface);
8
8
  path(): string;
9
9
  /**
10
- * Returns the list of extensions with information on grants
11
- * given to the current extension regarding them. Currently the list of grants
12
- * include: picking up a call, monitoring, calling or receiving a call on behalf
10
+ * Returns a list of extensions including information on grants given to the current extension towards them.
11
+ * Currently the list of grants includes: picking up a call, call monitoring, calling or receiving a call on behalf
13
12
  * of somebody, call delegation and calling paging groups.
14
13
  *
15
14
  * HTTP Method: get
@@ -9,9 +9,8 @@ class Index {
9
9
  return `${this._parent.path()}/grant`;
10
10
  }
11
11
  /**
12
- * Returns the list of extensions with information on grants
13
- * given to the current extension regarding them. Currently the list of grants
14
- * include: picking up a call, monitoring, calling or receiving a call on behalf
12
+ * Returns a list of extensions including information on grants given to the current extension towards them.
13
+ * Currently the list of grants includes: picking up a call, call monitoring, calling or receiving a call on behalf
15
14
  * of somebody, call delegation and calling paging groups.
16
15
  *
17
16
  * HTTP Method: get
@@ -0,0 +1,18 @@
1
+ import SmsConfigurationResource from "../../../../../../definitions/SmsConfigurationResource.js";
2
+ import { ParentInterface, RestRequestConfig, RingCentralInterface } from "../../../../../../types.js";
3
+ declare class Index {
4
+ rc: RingCentralInterface;
5
+ _parent: ParentInterface;
6
+ constructor(_parent: ParentInterface);
7
+ path(): string;
8
+ /**
9
+ * Returns SMS configuration for the specified phone number of the extension.
10
+ *
11
+ * HTTP Method: get
12
+ * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/phone-number/{phoneNumberId}/sms-configuration
13
+ * Rate Limit Group: Light
14
+ * App Permission: ReadAccounts
15
+ */
16
+ get(restRequestConfig?: RestRequestConfig): Promise<SmsConfigurationResource>;
17
+ }
18
+ export default Index;
@@ -0,0 +1,24 @@
1
+ class Index {
2
+ rc;
3
+ _parent;
4
+ constructor(_parent) {
5
+ this._parent = _parent;
6
+ this.rc = _parent.rc;
7
+ }
8
+ path() {
9
+ return `${this._parent.path()}/sms-configuration`;
10
+ }
11
+ /**
12
+ * Returns SMS configuration for the specified phone number of the extension.
13
+ *
14
+ * HTTP Method: get
15
+ * Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/phone-number/{phoneNumberId}/sms-configuration
16
+ * Rate Limit Group: Light
17
+ * App Permission: ReadAccounts
18
+ */
19
+ async get(restRequestConfig) {
20
+ const r = await this.rc.get(this.path(), undefined, restRequestConfig);
21
+ return r.data;
22
+ }
23
+ }
24
+ export default Index;
@@ -1,3 +1,4 @@
1
+ import SmsConfiguration from "./SmsConfiguration/index.js";
1
2
  import GetExtensionPhoneNumbersResponse from "../../../../../definitions/GetExtensionPhoneNumbersResponse.js";
2
3
  import ListExtensionPhoneNumbersParameters from "../../../../../definitions/ListExtensionPhoneNumbersParameters.js";
3
4
  import { ParentInterface, RestRequestConfig, RingCentralInterface } from "../../../../../types.js";
@@ -20,5 +21,6 @@ declare class Index {
20
21
  * User Permission: ReadUserPhoneNumbers
21
22
  */
22
23
  get(queryParams?: ListExtensionPhoneNumbersParameters, restRequestConfig?: RestRequestConfig): Promise<GetExtensionPhoneNumbersResponse>;
24
+ smsConfiguration(): SmsConfiguration;
23
25
  }
24
26
  export default Index;
@@ -1,3 +1,4 @@
1
+ import SmsConfiguration from "./SmsConfiguration/index.js";
1
2
  class Index {
2
3
  rc;
3
4
  _parent;
@@ -25,5 +26,8 @@ class Index {
25
26
  const r = await this.rc.get(this.path(), queryParams, restRequestConfig);
26
27
  return r.data;
27
28
  }
29
+ smsConfiguration() {
30
+ return new SmsConfiguration(this);
31
+ }
28
32
  }
29
33
  export default Index;
@@ -12,8 +12,6 @@ declare class Index {
12
12
  * Deletes user extension(s) and either keeps or destroys the assets - numbers and devices.
13
13
  * Multiple extensions can be deleted with a single API call.
14
14
  *
15
- * **Please note:** This API cannot be tested on Sandbox.
16
- *
17
15
  * HTTP Method: delete
18
16
  * Endpoint: /restapi/v2/accounts/{accountId}/extensions
19
17
  * Rate Limit Group: Heavy
@@ -14,8 +14,6 @@ class Index {
14
14
  * Deletes user extension(s) and either keeps or destroys the assets - numbers and devices.
15
15
  * Multiple extensions can be deleted with a single API call.
16
16
  *
17
- * **Please note:** This API cannot be tested on Sandbox.
18
- *
19
17
  * HTTP Method: delete
20
18
  * Endpoint: /restapi/v2/accounts/{accountId}/extensions
21
19
  * Rate Limit Group: Heavy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-ex/core",
3
- "version": "1.6.16",
3
+ "version": "1.6.17",
4
4
  "description": "Core for ringcentral-extensible project",
5
5
  "author": "Tyler Liu <tyler.liu@ringcentral.com>",
6
6
  "homepage": "https://github.com/ringcentral/ringcentral-extensible/tree/master/packages/core",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@types/qs": "^6.9.18",
43
- "axios": "^1.7.9",
43
+ "axios": "^1.8.3",
44
44
  "qs": "^6.14.0"
45
45
  },
46
46
  "devDependencies": {
@@ -50,5 +50,5 @@
50
50
  "scripts": {
51
51
  "build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json"
52
52
  },
53
- "gitHead": "1ded64e887920a6e6a27bc3a2173ecf3cd1d50f9"
53
+ "gitHead": "45a55ad7b1ed4a4d9d64a179f97952f20942863a"
54
54
  }
@@ -1,14 +0,0 @@
1
- /**
2
- * Voicemail owner information. Supported for shared voicemail messages only
3
- */
4
- interface VoicemailOwnerResource {
5
- /**
6
- * Name of a voicemail owner
7
- */
8
- name?: string;
9
- /**
10
- * Internal identifier of an extension
11
- */
12
- extensionId?: string;
13
- }
14
- export default VoicemailOwnerResource;
@@ -1,14 +0,0 @@
1
- /**
2
- * Voicemail owner information. Supported for shared voicemail messages only
3
- */
4
- interface VoicemailOwnerResource {
5
- /**
6
- * Name of a voicemail owner
7
- */
8
- name?: string;
9
- /**
10
- * Internal identifier of an extension
11
- */
12
- extensionId?: string;
13
- }
14
- export default VoicemailOwnerResource;