@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.
- package/dist/cjs/Rest.js +1 -1
- package/dist/cjs/definitions/AIInsights.d.ts +3 -0
- package/dist/cjs/definitions/ASGErrorResponse.d.ts +3 -0
- package/dist/cjs/definitions/AccountHistorySearchPublicRequest.d.ts +2 -2
- package/dist/cjs/definitions/AccountPhoneNumberInfo.d.ts +2 -2
- package/dist/cjs/definitions/AggregateA2PSMSStatusesParameters.d.ts +3 -2
- package/dist/cjs/definitions/BaseCallLogRecord.d.ts +4 -0
- package/dist/cjs/definitions/CallLogRecord.d.ts +4 -0
- package/dist/cjs/definitions/CallLogRecordLegInfo.d.ts +4 -0
- package/dist/cjs/definitions/CallNotesInsightUnit.d.ts +9 -0
- package/dist/cjs/definitions/CallQueueDetails.d.ts +1 -1
- package/dist/cjs/definitions/CallQueueDetailsForUpdate.d.ts +1 -1
- package/dist/cjs/definitions/CallQueueInfo.d.ts +1 -1
- package/dist/cjs/definitions/CompanyPhoneNumberInfo.d.ts +3 -7
- package/dist/cjs/definitions/CreateForwardingNumberRequest.d.ts +8 -3
- package/dist/cjs/definitions/CreateSiteRequest.d.ts +4 -0
- package/dist/cjs/definitions/CreateUserEmergencyLocationRequest.d.ts +3 -0
- package/dist/cjs/definitions/EmailRecipientInfo.d.ts +1 -1
- package/dist/cjs/definitions/ErrorEntry.d.ts +18 -0
- package/dist/cjs/definitions/ErrorEntry.js +2 -0
- package/dist/cjs/definitions/GetExtensionInfoResponse.d.ts +5 -0
- package/dist/cjs/definitions/GetMessageInfoResponse.d.ts +2 -2
- package/dist/cjs/definitions/GetRecordingInsightsParameters.d.ts +1 -1
- package/dist/cjs/definitions/GetSessionInsightsParameters.d.ts +10 -0
- package/dist/cjs/definitions/GetSessionInsightsParameters.js +2 -0
- package/dist/cjs/definitions/GetSessionInsightsResponse.d.ts +13 -0
- package/dist/cjs/definitions/GetSessionInsightsResponse.js +2 -0
- package/dist/cjs/definitions/HoldCallPartyRequest.d.ts +1 -1
- package/dist/cjs/definitions/ListA2PSMSParameters.d.ts +3 -2
- package/dist/cjs/definitions/ListAccountPhoneNumbersParameters.d.ts +2 -2
- package/dist/cjs/definitions/ListAccountPhoneNumbersV2Parameters.d.ts +1 -1
- package/dist/cjs/definitions/ListAccountSwitchesParameters.d.ts +5 -4
- package/dist/cjs/definitions/ListAutomaticLocationUpdatesUsersParameters.d.ts +3 -3
- package/dist/cjs/definitions/ListDevicesAutomaticLocationUpdatesParameters.d.ts +3 -3
- package/dist/cjs/definitions/ListDirectoryEntriesParameters.d.ts +1 -1
- package/dist/cjs/definitions/ListExtensionGrantsParameters.d.ts +3 -3
- package/dist/cjs/definitions/ListExtensionPhoneNumbersParameters.d.ts +2 -2
- package/dist/cjs/definitions/ListMessagesParameters.d.ts +15 -0
- package/dist/cjs/definitions/ListNetworksParameters.d.ts +6 -6
- package/dist/cjs/definitions/ListWirelessPointsParameters.d.ts +5 -4
- package/dist/cjs/definitions/MessageBatchResponse.d.ts +1 -1
- package/dist/cjs/definitions/NotificationSettings.d.ts +9 -0
- package/dist/cjs/definitions/OwnerResource.d.ts +18 -0
- package/dist/cjs/definitions/OwnerResource.js +2 -0
- package/dist/cjs/definitions/PhoneNumberResource.d.ts +1 -1
- package/dist/cjs/definitions/RSPagingModel.d.ts +58 -0
- package/dist/cjs/definitions/RSPagingModel.js +2 -0
- package/dist/cjs/definitions/ReadCompanyCallLogParameters.d.ts +5 -0
- package/dist/cjs/definitions/ReadUserCallLogParameters.d.ts +5 -0
- package/dist/cjs/definitions/ReasonInfo.d.ts +1 -1
- package/dist/cjs/definitions/SearchDirectoryEntriesParameters.d.ts +9 -13
- package/dist/cjs/definitions/ShortSiteInfo.d.ts +1 -0
- package/dist/cjs/definitions/SmsBrandInfo.d.ts +14 -0
- package/dist/cjs/definitions/SmsBrandInfo.js +2 -0
- package/dist/cjs/definitions/SmsCampaignInfo.d.ts +22 -0
- package/dist/cjs/definitions/SmsCampaignInfo.js +2 -0
- package/dist/cjs/definitions/SmsConfigurationResource.d.ts +18 -0
- package/dist/cjs/definitions/SmsConfigurationResource.js +2 -0
- package/dist/cjs/definitions/SyncAccountCallLogParameters.d.ts +5 -0
- package/dist/cjs/definitions/SyncMessagesParameters.d.ts +12 -1
- package/dist/cjs/definitions/SyncUserCallLogParameters.d.ts +5 -0
- package/dist/cjs/definitions/UserPhoneNumberInfo.d.ts +3 -2
- package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/Insights/index.d.ts +18 -0
- package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/Insights/index.js +25 -0
- package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/index.d.ts +11 -0
- package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/index.js +26 -0
- package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.d.ts +2 -0
- package/dist/cjs/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js +6 -2
- package/dist/cjs/paths/Restapi/Account/Extension/Features/index.d.ts +1 -0
- package/dist/cjs/paths/Restapi/Account/Extension/Features/index.js +1 -0
- package/dist/cjs/paths/Restapi/Account/Extension/Grant/index.d.ts +2 -3
- package/dist/cjs/paths/Restapi/Account/Extension/Grant/index.js +2 -3
- package/dist/cjs/paths/Restapi/Account/Extension/PhoneNumber/SmsConfiguration/index.d.ts +18 -0
- package/dist/cjs/paths/Restapi/Account/Extension/PhoneNumber/SmsConfiguration/index.js +26 -0
- package/dist/cjs/paths/Restapi/Account/Extension/PhoneNumber/index.d.ts +2 -0
- package/dist/cjs/paths/Restapi/Account/Extension/PhoneNumber/index.js +7 -0
- package/dist/cjs/paths/Restapi/V2/Accounts/Extensions/index.d.ts +0 -2
- package/dist/cjs/paths/Restapi/V2/Accounts/Extensions/index.js +0 -2
- package/dist/esm/Rest.js +1 -1
- package/dist/esm/definitions/AIInsights.d.ts +3 -0
- package/dist/esm/definitions/ASGErrorResponse.d.ts +3 -0
- package/dist/esm/definitions/AccountHistorySearchPublicRequest.d.ts +2 -2
- package/dist/esm/definitions/AccountPhoneNumberInfo.d.ts +2 -2
- package/dist/esm/definitions/AggregateA2PSMSStatusesParameters.d.ts +3 -2
- package/dist/esm/definitions/BaseCallLogRecord.d.ts +4 -0
- package/dist/esm/definitions/CallLogRecord.d.ts +4 -0
- package/dist/esm/definitions/CallLogRecordLegInfo.d.ts +4 -0
- package/dist/esm/definitions/CallNotesInsightUnit.d.ts +9 -0
- package/dist/esm/definitions/CallQueueDetails.d.ts +1 -1
- package/dist/esm/definitions/CallQueueDetailsForUpdate.d.ts +1 -1
- package/dist/esm/definitions/CallQueueInfo.d.ts +1 -1
- package/dist/esm/definitions/CompanyPhoneNumberInfo.d.ts +3 -7
- package/dist/esm/definitions/CreateForwardingNumberRequest.d.ts +8 -3
- package/dist/esm/definitions/CreateSiteRequest.d.ts +4 -0
- package/dist/esm/definitions/CreateUserEmergencyLocationRequest.d.ts +3 -0
- package/dist/esm/definitions/EmailRecipientInfo.d.ts +1 -1
- package/dist/esm/definitions/ErrorEntry.d.ts +18 -0
- package/dist/esm/definitions/ErrorEntry.js +1 -0
- package/dist/esm/definitions/GetExtensionInfoResponse.d.ts +5 -0
- package/dist/esm/definitions/GetMessageInfoResponse.d.ts +2 -2
- package/dist/esm/definitions/GetRecordingInsightsParameters.d.ts +1 -1
- package/dist/esm/definitions/GetSessionInsightsParameters.d.ts +10 -0
- package/dist/esm/definitions/GetSessionInsightsParameters.js +1 -0
- package/dist/esm/definitions/GetSessionInsightsResponse.d.ts +13 -0
- package/dist/esm/definitions/GetSessionInsightsResponse.js +1 -0
- package/dist/esm/definitions/HoldCallPartyRequest.d.ts +1 -1
- package/dist/esm/definitions/ListA2PSMSParameters.d.ts +3 -2
- package/dist/esm/definitions/ListAccountPhoneNumbersParameters.d.ts +2 -2
- package/dist/esm/definitions/ListAccountPhoneNumbersV2Parameters.d.ts +1 -1
- package/dist/esm/definitions/ListAccountSwitchesParameters.d.ts +5 -4
- package/dist/esm/definitions/ListAutomaticLocationUpdatesUsersParameters.d.ts +3 -3
- package/dist/esm/definitions/ListDevicesAutomaticLocationUpdatesParameters.d.ts +3 -3
- package/dist/esm/definitions/ListDirectoryEntriesParameters.d.ts +1 -1
- package/dist/esm/definitions/ListExtensionGrantsParameters.d.ts +3 -3
- package/dist/esm/definitions/ListExtensionPhoneNumbersParameters.d.ts +2 -2
- package/dist/esm/definitions/ListMessagesParameters.d.ts +15 -0
- package/dist/esm/definitions/ListNetworksParameters.d.ts +6 -6
- package/dist/esm/definitions/ListWirelessPointsParameters.d.ts +5 -4
- package/dist/esm/definitions/MessageBatchResponse.d.ts +1 -1
- package/dist/esm/definitions/NotificationSettings.d.ts +9 -0
- package/dist/esm/definitions/OwnerResource.d.ts +18 -0
- package/dist/esm/definitions/OwnerResource.js +1 -0
- package/dist/esm/definitions/PhoneNumberResource.d.ts +1 -1
- package/dist/esm/definitions/RSPagingModel.d.ts +58 -0
- package/dist/esm/definitions/RSPagingModel.js +1 -0
- package/dist/esm/definitions/ReadCompanyCallLogParameters.d.ts +5 -0
- package/dist/esm/definitions/ReadUserCallLogParameters.d.ts +5 -0
- package/dist/esm/definitions/ReasonInfo.d.ts +1 -1
- package/dist/esm/definitions/SearchDirectoryEntriesParameters.d.ts +9 -13
- package/dist/esm/definitions/ShortSiteInfo.d.ts +1 -0
- package/dist/esm/definitions/SmsBrandInfo.d.ts +14 -0
- package/dist/esm/definitions/SmsBrandInfo.js +1 -0
- package/dist/esm/definitions/SmsCampaignInfo.d.ts +22 -0
- package/dist/esm/definitions/SmsCampaignInfo.js +1 -0
- package/dist/esm/definitions/SmsConfigurationResource.d.ts +18 -0
- package/dist/esm/definitions/SmsConfigurationResource.js +1 -0
- package/dist/esm/definitions/SyncAccountCallLogParameters.d.ts +5 -0
- package/dist/esm/definitions/SyncMessagesParameters.d.ts +12 -1
- package/dist/esm/definitions/SyncUserCallLogParameters.d.ts +5 -0
- package/dist/esm/definitions/UserPhoneNumberInfo.d.ts +3 -2
- package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/Insights/index.d.ts +18 -0
- package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/Insights/index.js +23 -0
- package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/index.d.ts +11 -0
- package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/Sessions/index.js +21 -0
- package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.d.ts +2 -0
- package/dist/esm/paths/Ai/Ringsense/V1/Public/Accounts/Domains/index.js +4 -0
- package/dist/esm/paths/Restapi/Account/Extension/Features/index.d.ts +1 -0
- package/dist/esm/paths/Restapi/Account/Extension/Features/index.js +1 -0
- package/dist/esm/paths/Restapi/Account/Extension/Grant/index.d.ts +2 -3
- package/dist/esm/paths/Restapi/Account/Extension/Grant/index.js +2 -3
- package/dist/esm/paths/Restapi/Account/Extension/PhoneNumber/SmsConfiguration/index.d.ts +18 -0
- package/dist/esm/paths/Restapi/Account/Extension/PhoneNumber/SmsConfiguration/index.js +24 -0
- package/dist/esm/paths/Restapi/Account/Extension/PhoneNumber/index.d.ts +2 -0
- package/dist/esm/paths/Restapi/Account/Extension/PhoneNumber/index.js +4 -0
- package/dist/esm/paths/Restapi/V2/Accounts/Extensions/index.d.ts +0 -2
- package/dist/esm/paths/Restapi/V2/Accounts/Extensions/index.js +0 -2
- package/package.json +3 -3
- package/dist/cjs/definitions/VoicemailOwnerResource.d.ts +0 -14
- package/dist/esm/definitions/VoicemailOwnerResource.d.ts +0 -14
- /package/dist/cjs/definitions/{VoicemailOwnerResource.js → CallNotesInsightUnit.js} +0 -0
- /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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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;
|
|
@@ -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
|
|
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
|
|
11
|
-
*
|
|
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
|
|
13
|
-
*
|
|
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.
|
|
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.
|
|
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": "
|
|
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;
|
|
File without changes
|
|
File without changes
|