@rc-ex/core 1.3.14 → 1.4.0

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 (271) hide show
  1. package/lib/FormData.d.ts +0 -1
  2. package/lib/Utils.d.ts +0 -1
  3. package/lib/definitions/AccountPhoneNumberInfo.d.ts +4 -0
  4. package/lib/definitions/ActivePermissionResource.d.ts +1 -1
  5. package/lib/definitions/AssignPhoneNumberRequest.d.ts +5 -1
  6. package/lib/definitions/Attachment.d.ts +0 -2
  7. package/lib/definitions/AuthCodeTokenRequest.d.ts +30 -0
  8. package/lib/definitions/{TMTaskInfoRecurrence.js → AuthCodeTokenRequest.js} +1 -1
  9. package/lib/definitions/AuthCodeTokenRequest.js.map +1 -0
  10. package/lib/definitions/AuthorizeParameters.d.ts +92 -0
  11. package/lib/definitions/{SessionInfoResponse.js → AuthorizeParameters.js} +1 -1
  12. package/lib/definitions/AuthorizeParameters.js.map +1 -0
  13. package/lib/definitions/AuthorizeRequest.d.ts +39 -42
  14. package/lib/definitions/BaseCallLogRecord.d.ts +0 -1
  15. package/lib/definitions/BaseTokenRequest.d.ts +41 -0
  16. package/lib/definitions/{IntrospectTokenRequest.js → BaseTokenRequest.js} +1 -1
  17. package/lib/definitions/BaseTokenRequest.js.map +1 -0
  18. package/lib/definitions/CallLogRecord.d.ts +0 -1
  19. package/lib/definitions/CallLogRecordLegInfo.d.ts +0 -1
  20. package/lib/definitions/ClientAuthJwtModel.d.ts +15 -0
  21. package/lib/definitions/{TokenIntrospectionResponse.js → ClientAuthJwtModel.js} +1 -1
  22. package/lib/definitions/ClientAuthJwtModel.js.map +1 -0
  23. package/lib/definitions/ClientCredentialsBase.d.ts +10 -0
  24. package/lib/definitions/ClientCredentialsBase.js +3 -0
  25. package/lib/definitions/ClientCredentialsBase.js.map +1 -0
  26. package/lib/definitions/ClientCredentialsByAccount.d.ts +15 -0
  27. package/lib/definitions/ClientCredentialsByAccount.js +3 -0
  28. package/lib/definitions/ClientCredentialsByAccount.js.map +1 -0
  29. package/lib/definitions/ClientCredentialsByBrand.d.ts +15 -0
  30. package/lib/definitions/ClientCredentialsByBrand.js +3 -0
  31. package/lib/definitions/ClientCredentialsByBrand.js.map +1 -0
  32. package/lib/definitions/ClientCredentialsByPartnerAccount.d.ts +20 -0
  33. package/lib/definitions/{SocMsgListIdentitiesParameters.js → ClientCredentialsByPartnerAccount.js} +1 -1
  34. package/lib/definitions/ClientCredentialsByPartnerAccount.js.map +1 -0
  35. package/lib/definitions/ClientCredentialsTokenRequest.d.ts +25 -0
  36. package/lib/definitions/{TMCreateTaskRequestRecurrence.js → ClientCredentialsTokenRequest.js} +1 -1
  37. package/lib/definitions/ClientCredentialsTokenRequest.js.map +1 -0
  38. package/lib/definitions/CompanyAnsweringRuleRequest.d.ts +2 -1
  39. package/lib/definitions/DeviceCodeTokenRequest.d.ts +18 -0
  40. package/lib/definitions/DeviceCodeTokenRequest.js +3 -0
  41. package/lib/definitions/DeviceCodeTokenRequest.js.map +1 -0
  42. package/lib/definitions/DeviceEmergencyInfo.d.ts +2 -2
  43. package/lib/definitions/EventRecurrenceInfo.d.ts +25 -0
  44. package/lib/definitions/EventRecurrenceInfo.js +3 -0
  45. package/lib/definitions/EventRecurrenceInfo.js.map +1 -0
  46. package/lib/definitions/ExtensionCreationResponse.d.ts +1 -1
  47. package/lib/definitions/FaxResponseTo.d.ts +11 -0
  48. package/lib/definitions/GetConferencingInfoResponse.d.ts +5 -0
  49. package/lib/definitions/GetTokenRequest.d.ts +86 -45
  50. package/lib/definitions/GuestTokenRequest.d.ts +22 -0
  51. package/lib/definitions/GuestTokenRequest.js +3 -0
  52. package/lib/definitions/GuestTokenRequest.js.map +1 -0
  53. package/lib/definitions/IdentityExtraValues.d.ts +1 -1
  54. package/lib/definitions/IdentityModel.d.ts +28 -64
  55. package/lib/definitions/IvrPinTokenRequest.d.ts +16 -0
  56. package/lib/definitions/IvrPinTokenRequest.js +3 -0
  57. package/lib/definitions/IvrPinTokenRequest.js.map +1 -0
  58. package/lib/definitions/JobStatusResponse.d.ts +7 -0
  59. package/lib/definitions/JobStatusResponseResponse.d.ts +39 -0
  60. package/lib/definitions/JobStatusResponseResponse.js +3 -0
  61. package/lib/definitions/JobStatusResponseResponse.js.map +1 -0
  62. package/lib/definitions/JwtTokenRequest.d.ts +19 -0
  63. package/lib/definitions/JwtTokenRequest.js +3 -0
  64. package/lib/definitions/JwtTokenRequest.js.map +1 -0
  65. package/lib/definitions/ListCompanyMessageTemplatesParameters.d.ts +11 -0
  66. package/lib/definitions/ListCompanyMessageTemplatesParameters.js +3 -0
  67. package/lib/definitions/ListCompanyMessageTemplatesParameters.js.map +1 -0
  68. package/lib/definitions/{SocMsgListIdentitiesParameters.d.ts → ListSocialMessagingIdentitiesParameters.d.ts} +7 -7
  69. package/lib/definitions/ListSocialMessagingIdentitiesParameters.js +3 -0
  70. package/lib/definitions/ListSocialMessagingIdentitiesParameters.js.map +1 -0
  71. package/lib/definitions/ListUserMessageTemplatesParameters.d.ts +15 -0
  72. package/lib/definitions/ListUserMessageTemplatesParameters.js +3 -0
  73. package/lib/definitions/ListUserMessageTemplatesParameters.js.map +1 -0
  74. package/lib/definitions/MessageStatusCounts.d.ts +2 -1
  75. package/lib/definitions/MessageStoreCallerInfoResponseTo.d.ts +4 -0
  76. package/lib/definitions/MessageTemplateRequest.d.ts +17 -0
  77. package/lib/definitions/MessageTemplateRequest.js +3 -0
  78. package/lib/definitions/MessageTemplateRequest.js.map +1 -0
  79. package/lib/definitions/MessageTemplateResponse.d.ts +23 -0
  80. package/lib/definitions/MessageTemplateResponse.js +3 -0
  81. package/lib/definitions/MessageTemplateResponse.js.map +1 -0
  82. package/lib/definitions/MessageTemplateUpdateRequest.d.ts +16 -0
  83. package/lib/definitions/MessageTemplateUpdateRequest.js +3 -0
  84. package/lib/definitions/MessageTemplateUpdateRequest.js.map +1 -0
  85. package/lib/definitions/MessageTemplatesListResponse.d.ts +8 -0
  86. package/lib/definitions/MessageTemplatesListResponse.js +3 -0
  87. package/lib/definitions/MessageTemplatesListResponse.js.map +1 -0
  88. package/lib/definitions/OtpTokenRequest.d.ts +16 -0
  89. package/lib/definitions/OtpTokenRequest.js +3 -0
  90. package/lib/definitions/OtpTokenRequest.js.map +1 -0
  91. package/lib/definitions/ReadGlipPostsNewParameters.d.ts +1 -1
  92. package/lib/definitions/RefreshTokenRequest.d.ts +17 -0
  93. package/lib/definitions/RefreshTokenRequest.js +3 -0
  94. package/lib/definitions/RefreshTokenRequest.js.map +1 -0
  95. package/lib/definitions/RegSessionModelSettings.d.ts +9 -1
  96. package/lib/definitions/RegistrantBaseModel.d.ts +4 -0
  97. package/lib/definitions/RegistrantBaseModelWithQuestionnaire.d.ts +4 -0
  98. package/lib/definitions/RegistrantMinimalModel.d.ts +4 -0
  99. package/lib/definitions/RegistrantModelResponsePostWithQuestionnaire.d.ts +4 -0
  100. package/lib/definitions/RegistrantModelWithQuestionnaire.d.ts +4 -0
  101. package/lib/definitions/RevokeTokenRequest.d.ts +7 -3
  102. package/lib/definitions/RoleResource.d.ts +1 -1
  103. package/lib/definitions/RopcTokenRequest.d.ts +37 -0
  104. package/lib/definitions/RopcTokenRequest.js +3 -0
  105. package/lib/definitions/RopcTokenRequest.js.map +1 -0
  106. package/lib/definitions/ServiceInfo.d.ts +1 -1
  107. package/lib/definitions/ServiceInfoCountryShortModel.d.ts +29 -0
  108. package/lib/definitions/ServiceInfoCountryShortModel.js +3 -0
  109. package/lib/definitions/ServiceInfoCountryShortModel.js.map +1 -0
  110. package/lib/definitions/ServiceInfoPlan.d.ts +21 -0
  111. package/lib/definitions/ServiceInfoPlan.js +3 -0
  112. package/lib/definitions/ServiceInfoPlan.js.map +1 -0
  113. package/lib/definitions/ServiceInfoUBrand.d.ts +16 -0
  114. package/lib/definitions/ServiceInfoUBrand.js +3 -0
  115. package/lib/definitions/ServiceInfoUBrand.js.map +1 -0
  116. package/lib/definitions/ServiceInfoV2.d.ts +12 -0
  117. package/lib/definitions/Site.d.ts +16 -0
  118. package/lib/definitions/Site.js +3 -0
  119. package/lib/definitions/Site.js.map +1 -0
  120. package/lib/definitions/TMCreateEventRequest.d.ts +2 -19
  121. package/lib/definitions/TMCreateTaskRequest.d.ts +2 -2
  122. package/lib/definitions/TMEventInfo.d.ts +2 -17
  123. package/lib/definitions/TMMessageAttachmentInfo.d.ts +2 -17
  124. package/lib/definitions/TMTaskInfo.d.ts +2 -3
  125. package/lib/definitions/TMUpdateTaskRequest.d.ts +2 -2
  126. package/lib/definitions/{TMTaskInfoRecurrence.d.ts → TaskRecurrenceInfo.d.ts} +11 -5
  127. package/lib/definitions/TaskRecurrenceInfo.js +3 -0
  128. package/lib/definitions/TaskRecurrenceInfo.js.map +1 -0
  129. package/lib/definitions/TemplateInfo.d.ts +6 -24
  130. package/lib/definitions/TokenInfo.d.ts +22 -16
  131. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +8 -10
  132. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +6 -8
  133. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +1 -1
  134. package/lib/paths/Restapi/Account/Extension/Greeting/Content/index.d.ts +0 -1
  135. package/lib/paths/Restapi/Account/Extension/MessageStore/Content/index.d.ts +0 -1
  136. package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.d.ts +57 -0
  137. package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.js +84 -0
  138. package/lib/paths/Restapi/Account/Extension/MessageStoreTemplates/index.js.map +1 -0
  139. package/lib/paths/Restapi/Account/Extension/ProfileImage/index.d.ts +0 -1
  140. package/lib/paths/Restapi/Account/Extension/index.d.ts +2 -0
  141. package/lib/paths/Restapi/Account/Extension/index.js +4 -0
  142. package/lib/paths/Restapi/Account/Extension/index.js.map +1 -1
  143. package/lib/paths/Restapi/Account/Greeting/Content/index.d.ts +0 -1
  144. package/lib/paths/Restapi/Account/IvrPrompts/Content/index.d.ts +0 -1
  145. package/lib/paths/Restapi/Account/MessageStoreTemplates/index.d.ts +54 -0
  146. package/lib/paths/Restapi/Account/MessageStoreTemplates/index.js +81 -0
  147. package/lib/paths/Restapi/Account/MessageStoreTemplates/index.js.map +1 -0
  148. package/lib/paths/Restapi/Account/Recording/Content/index.d.ts +0 -1
  149. package/lib/paths/Restapi/Account/ServiceInfo/index.d.ts +1 -1
  150. package/lib/paths/Restapi/Account/ServiceInfo/index.js +1 -1
  151. package/lib/paths/Restapi/Account/index.d.ts +2 -0
  152. package/lib/paths/Restapi/Account/index.js +4 -0
  153. package/lib/paths/Restapi/Account/index.js.map +1 -1
  154. package/lib/paths/Restapi/Oauth/Authorize/index.d.ts +18 -3
  155. package/lib/paths/Restapi/Oauth/Authorize/index.js +18 -4
  156. package/lib/paths/Restapi/Oauth/Authorize/index.js.map +1 -1
  157. package/lib/paths/Restapi/Oauth/Revoke/index.d.ts +6 -4
  158. package/lib/paths/Restapi/Oauth/Revoke/index.js +6 -4
  159. package/lib/paths/Restapi/Oauth/Revoke/index.js.map +1 -1
  160. package/lib/paths/Restapi/Oauth/Token/index.d.ts +6 -3
  161. package/lib/paths/Restapi/Oauth/Token/index.js +6 -3
  162. package/lib/paths/Restapi/Oauth/Token/index.js.map +1 -1
  163. package/lib/paths/Restapi/Oauth/index.d.ts +0 -4
  164. package/lib/paths/Restapi/Oauth/index.js +0 -8
  165. package/lib/paths/Restapi/Oauth/index.js.map +1 -1
  166. package/lib/types.d.ts +0 -2
  167. package/package.json +6 -6
  168. package/src/definitions/AccountPhoneNumberInfo.ts +5 -0
  169. package/src/definitions/ActivePermissionResource.ts +1 -1
  170. package/src/definitions/AssignPhoneNumberRequest.ts +6 -1
  171. package/src/definitions/AuthCodeTokenRequest.ts +34 -0
  172. package/src/definitions/AuthorizeParameters.ts +107 -0
  173. package/src/definitions/AuthorizeRequest.ts +39 -44
  174. package/src/definitions/BaseCallLogRecord.ts +0 -1
  175. package/src/definitions/BaseTokenRequest.ts +59 -0
  176. package/src/definitions/CallLogRecord.ts +0 -1
  177. package/src/definitions/CallLogRecordLegInfo.ts +0 -1
  178. package/src/definitions/ClientAuthJwtModel.ts +17 -0
  179. package/src/definitions/ClientCredentialsBase.ts +11 -0
  180. package/src/definitions/ClientCredentialsByAccount.ts +17 -0
  181. package/src/definitions/ClientCredentialsByBrand.ts +17 -0
  182. package/src/definitions/ClientCredentialsByPartnerAccount.ts +23 -0
  183. package/src/definitions/ClientCredentialsTokenRequest.ts +29 -0
  184. package/src/definitions/CompanyAnsweringRuleRequest.ts +2 -1
  185. package/src/definitions/DeviceCodeTokenRequest.ts +20 -0
  186. package/src/definitions/DeviceEmergencyInfo.ts +2 -2
  187. package/src/definitions/EventRecurrenceInfo.ts +29 -0
  188. package/src/definitions/ExtensionCreationResponse.ts +1 -0
  189. package/src/definitions/FaxResponseTo.ts +13 -0
  190. package/src/definitions/GetConferencingInfoResponse.ts +6 -0
  191. package/src/definitions/GetTokenRequest.ts +89 -46
  192. package/src/definitions/GuestTokenRequest.ts +26 -0
  193. package/src/definitions/IdentityExtraValues.ts +1 -1
  194. package/src/definitions/IdentityModel.ts +28 -64
  195. package/src/definitions/IvrPinTokenRequest.ts +18 -0
  196. package/src/definitions/JobStatusResponse.ts +10 -0
  197. package/src/definitions/JobStatusResponseResponse.ts +48 -0
  198. package/src/definitions/JwtTokenRequest.ts +21 -0
  199. package/src/definitions/ListCompanyMessageTemplatesParameters.ts +12 -0
  200. package/src/definitions/{SocMsgListIdentitiesParameters.ts → ListSocialMessagingIdentitiesParameters.ts} +7 -7
  201. package/src/definitions/ListUserMessageTemplatesParameters.ts +17 -0
  202. package/src/definitions/MessageStatusCounts.ts +2 -1
  203. package/src/definitions/MessageStoreCallerInfoResponseTo.ts +5 -0
  204. package/src/definitions/MessageTemplateRequest.ts +21 -0
  205. package/src/definitions/MessageTemplateResponse.ts +29 -0
  206. package/src/definitions/MessageTemplateUpdateRequest.ts +20 -0
  207. package/src/definitions/MessageTemplatesListResponse.ts +10 -0
  208. package/src/definitions/OtpTokenRequest.ts +18 -0
  209. package/src/definitions/ReadGlipPostsNewParameters.ts +1 -1
  210. package/src/definitions/RefreshTokenRequest.ts +19 -0
  211. package/src/definitions/RegSessionModelSettings.ts +11 -1
  212. package/src/definitions/RegistrantBaseModel.ts +5 -0
  213. package/src/definitions/RegistrantBaseModelWithQuestionnaire.ts +5 -0
  214. package/src/definitions/RegistrantMinimalModel.ts +5 -0
  215. package/src/definitions/RegistrantModelResponsePostWithQuestionnaire.ts +5 -0
  216. package/src/definitions/RegistrantModelWithQuestionnaire.ts +5 -0
  217. package/src/definitions/RevokeTokenRequest.ts +7 -3
  218. package/src/definitions/RoleResource.ts +9 -1
  219. package/src/definitions/RopcTokenRequest.ts +42 -0
  220. package/src/definitions/ServiceInfo.ts +1 -1
  221. package/src/definitions/ServiceInfoCountryShortModel.ts +34 -0
  222. package/src/definitions/ServiceInfoPlan.ts +25 -0
  223. package/src/definitions/ServiceInfoUBrand.ts +18 -0
  224. package/src/definitions/ServiceInfoV2.ts +15 -0
  225. package/src/definitions/Site.ts +18 -0
  226. package/src/definitions/TMCreateEventRequest.ts +3 -22
  227. package/src/definitions/TMCreateTaskRequest.ts +2 -2
  228. package/src/definitions/TMEventInfo.ts +3 -20
  229. package/src/definitions/TMMessageAttachmentInfo.ts +2 -20
  230. package/src/definitions/TMTaskInfo.ts +2 -3
  231. package/src/definitions/TMUpdateTaskRequest.ts +2 -2
  232. package/src/definitions/{TMTaskInfoRecurrence.ts → TaskRecurrenceInfo.ts} +11 -5
  233. package/src/definitions/TemplateInfo.ts +6 -29
  234. package/src/definitions/TokenInfo.ts +22 -16
  235. package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +8 -10
  236. package/src/paths/Restapi/Account/Extension/MessageStoreTemplates/index.ts +115 -0
  237. package/src/paths/Restapi/Account/Extension/index.ts +5 -0
  238. package/src/paths/Restapi/Account/MessageStoreTemplates/index.ts +112 -0
  239. package/src/paths/Restapi/Account/ServiceInfo/index.ts +1 -1
  240. package/src/paths/Restapi/Account/index.ts +5 -0
  241. package/src/paths/Restapi/Oauth/Authorize/index.ts +19 -4
  242. package/src/paths/Restapi/Oauth/Revoke/index.ts +6 -4
  243. package/src/paths/Restapi/Oauth/Token/index.ts +6 -3
  244. package/src/paths/Restapi/Oauth/index.ts +0 -10
  245. package/src/samples.md +1477 -1229
  246. package/lib/definitions/IntrospectTokenRequest.d.ts +0 -13
  247. package/lib/definitions/IntrospectTokenRequest.js.map +0 -1
  248. package/lib/definitions/SessionInfoResponse.d.ts +0 -42
  249. package/lib/definitions/SessionInfoResponse.js.map +0 -1
  250. package/lib/definitions/SocMsgListIdentitiesParameters.js.map +0 -1
  251. package/lib/definitions/TMCreateTaskRequestRecurrence.d.ts +0 -25
  252. package/lib/definitions/TMCreateTaskRequestRecurrence.js.map +0 -1
  253. package/lib/definitions/TMTaskInfoRecurrence.js.map +0 -1
  254. package/lib/definitions/TMUpdateTaskRequestRecurrence.d.ts +0 -24
  255. package/lib/definitions/TMUpdateTaskRequestRecurrence.js +0 -3
  256. package/lib/definitions/TMUpdateTaskRequestRecurrence.js.map +0 -1
  257. package/lib/definitions/TokenIntrospectionResponse.d.ts +0 -47
  258. package/lib/definitions/TokenIntrospectionResponse.js.map +0 -1
  259. package/lib/paths/Restapi/Oauth/Introspect/index.d.ts +0 -24
  260. package/lib/paths/Restapi/Oauth/Introspect/index.js +0 -30
  261. package/lib/paths/Restapi/Oauth/Introspect/index.js.map +0 -1
  262. package/lib/paths/Restapi/Oauth/SessionInfo/index.d.ts +0 -17
  263. package/lib/paths/Restapi/Oauth/SessionInfo/index.js +0 -24
  264. package/lib/paths/Restapi/Oauth/SessionInfo/index.js.map +0 -1
  265. package/src/definitions/IntrospectTokenRequest.ts +0 -15
  266. package/src/definitions/SessionInfoResponse.ts +0 -50
  267. package/src/definitions/TMCreateTaskRequestRecurrence.ts +0 -29
  268. package/src/definitions/TMUpdateTaskRequestRecurrence.ts +0 -28
  269. package/src/definitions/TokenIntrospectionResponse.ts +0 -56
  270. package/src/paths/Restapi/Oauth/Introspect/index.ts +0 -42
  271. package/src/paths/Restapi/Oauth/SessionInfo/index.ts +0 -27
@@ -1,4 +1,4 @@
1
- import type EmergencyAddressInfo from './EmergencyAddressInfo';
1
+ import type CommonEmergencyLocationAddressInfoDefault from './CommonEmergencyLocationAddressInfoDefault';
2
2
  import type DeviceEmergencyLocationInfo from './DeviceEmergencyLocationInfo';
3
3
  /**
4
4
  * Device emergency settings
@@ -6,7 +6,7 @@ import type DeviceEmergencyLocationInfo from './DeviceEmergencyLocationInfo';
6
6
  interface DeviceEmergencyInfo {
7
7
  /**
8
8
  */
9
- address?: EmergencyAddressInfo;
9
+ address?: CommonEmergencyLocationAddressInfoDefault;
10
10
  /**
11
11
  */
12
12
  location?: DeviceEmergencyLocationInfo;
@@ -0,0 +1,25 @@
1
+ interface EventRecurrenceInfo {
2
+ /**
3
+ * Event recurrence settings. For non-periodic events the value
4
+ * is `None`. Must be greater or equal to event duration: 1- Day/Weekday;
5
+ * 7 - Week; 28 - Month; 365 - Year
6
+ */
7
+ schedule?: 'None' | 'Day' | 'Weekday' | 'Week' | 'Month' | 'Year';
8
+ /**
9
+ * Condition of ending an event
10
+ */
11
+ endingCondition?: 'None' | 'Count' | 'Date';
12
+ /**
13
+ * Count of event iterations. For periodic events only. Value range is 1 - 10.
14
+ * Must be specified if `endingCondition` is `Count`
15
+ * Format: int32
16
+ */
17
+ endingAfter?: number;
18
+ /**
19
+ * Iterations ending datetime for periodic events in
20
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
21
+ * Format: date-time
22
+ */
23
+ endingOn?: string;
24
+ }
25
+ export default EventRecurrenceInfo;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=EventRecurrenceInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventRecurrenceInfo.js","sourceRoot":"","sources":["../../src/definitions/EventRecurrenceInfo.ts"],"names":[],"mappings":""}
@@ -89,7 +89,7 @@ interface ExtensionCreationResponse {
89
89
  * Extension type. Please note that legacy 'Department' extension type
90
90
  * corresponds to 'Call Queue' extensions in modern RingCentral product terminology
91
91
  */
92
- type?: 'User' | 'VirtualUser' | 'DigitalUser' | 'Department' | 'Announcement' | 'Voicemail' | 'SharedLinesGroup' | 'PagingOnly' | 'ParkLocation' | 'Limited';
92
+ type?: 'User' | 'VirtualUser' | 'DigitalUser' | 'FlexibleUser' | 'Department' | 'Announcement' | 'Voicemail' | 'SharedLinesGroup' | 'PagingOnly' | 'ParkLocation' | 'Limited';
93
93
  /**
94
94
  * Hides an extension from showing in company directory. Supported
95
95
  * for extensions of 'User' type only
@@ -1,4 +1,8 @@
1
1
  interface FaxResponseTo {
2
+ /**
3
+ * Internal identifier of a fax recipient
4
+ */
5
+ recipientId?: string;
2
6
  /**
3
7
  * Phone number in E.164 (with '+' sign) format
4
8
  * Example: +18661234567
@@ -17,5 +21,12 @@ interface FaxResponseTo {
17
21
  * the 'Sent' status is returned
18
22
  */
19
23
  messageStatus?: 'Queued' | 'Sent' | 'Delivered' | 'DeliveryFailed' | 'SendingFailed' | 'Received';
24
+ /**
25
+ * Contains party location (city, state) if one can be determined
26
+ * from phoneNumber. This property is filled only when phoneNumber is not
27
+ * empty and server can calculate location information from it (for example,
28
+ * this information is unavailable for US toll-free numbers)
29
+ */
30
+ location?: string;
20
31
  }
21
32
  export default FaxResponseTo;
@@ -27,6 +27,11 @@ interface GetConferencingInfoResponse {
27
27
  * in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format
28
28
  */
29
29
  phoneNumber?: string;
30
+ /**
31
+ * Link to a branded support page
32
+ * Example: http://success.ringcentral.com
33
+ */
34
+ supportUri?: string;
30
35
  /**
31
36
  * Short URL leading to the service web page Tap to Join for audio
32
37
  * conference bridge
@@ -1,37 +1,42 @@
1
+ /**
2
+ * Token endpoint request parameters used in the "Guest" authorization flow with the `guest` grant type
3
+ */
1
4
  interface GetTokenRequest {
2
5
  /**
3
- * For `password` grant type only. User login name: email or phone number in E.164 format
4
- */
5
- username?: string;
6
- /**
7
- * For `password` grant type only. User's password
8
- * Format: password
6
+ * Client assertion type for the `client_secret_jwt` or `private_key_jwt` client authentication types,
7
+ * as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.2).
8
+ * This parameter is mandatory if the client authentication is required and a client decided to use one of these authentication types
9
9
  */
10
- password?: string;
10
+ client_assertion_type?: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer';
11
11
  /**
12
- * For `password` grant type only. Optional. Extension short number. If company number
13
- * is specified as a username, and extension is not specified, the
14
- * server will attempt to authenticate client as main company administrator
15
- *
16
- * DEPRECATED: use extension number embedded into username string like `+16501234567*101`
12
+ * Client assertion (JWT) for the `client_secret_jwt` or `private_key_jwt` client authentication types,
13
+ * as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.2).
14
+ * This parameter is mandatory if the client authentication is required and a client decided to use one of these authentication types
17
15
  */
18
- extension?: string;
16
+ client_assertion?: string;
19
17
  /**
20
18
  * Grant type
21
19
  * Required
22
20
  */
23
21
  grant_type?: 'authorization_code' | 'password' | 'refresh_token' | 'client_credentials' | 'urn:ietf:params:oauth:grant-type:jwt-bearer' | 'urn:ietf:params:oauth:grant-type:device_code' | 'device_certificate' | 'partner_jwt' | 'guest' | 'personal_jwt' | 'otp' | 'ivr_pin';
24
22
  /**
25
- * For `authorization_code` grant type only. User's authorization code
23
+ * The list of application permissions (OAuth scopes) requested.
24
+ * By default, it includes all permissions configured on
25
+ * the client application registration
26
26
  */
27
- code?: string;
27
+ scope?: string;
28
28
  /**
29
- * For `authorization_code` grant type only. This is a callback URI which determines where the response
30
- * is sent. The value of this parameter must exactly match one of
31
- * the URIs you have provided for your app upon registration
32
- * Format: uri
29
+ * The registered identifier of a client application.
30
+ * Used to identify a client ONLY if the client authentication is not required and
31
+ * corresponding credentials are not provided with this request
32
+ * Example: AZwEVwGEcfGet2PCouA7K6
33
33
  */
34
- redirect_uri?: string;
34
+ client_id?: string;
35
+ /**
36
+ * The unique identifier of a client application instance. If not
37
+ * specified, the derived or auto-generated value will be used
38
+ */
39
+ endpoint_id?: string;
35
40
  /**
36
41
  * Access token lifetime in seconds
37
42
  * Maximum: 3600
@@ -48,58 +53,94 @@ interface GetTokenRequest {
48
53
  */
49
54
  refresh_token_ttl?: number;
50
55
  /**
51
- * List of application permissions to be used with access token.
52
- * By default, the scope includes all permissions configured during
53
- * the application registration phase
56
+ * For `otp` grant type only.
57
+ * One-time password code
58
+ * Required
54
59
  */
55
- scope?: string;
60
+ code?: string;
56
61
  /**
57
- * For `refresh_token` grant type only. Previously issued refresh token.
62
+ * For `authorization_code` grant type only. This is a callback URI which determines where the response
63
+ * is sent. The value of this parameter must exactly match one of
64
+ * the URIs you have provided for your app upon registration
65
+ * Format: uri
58
66
  */
59
- refresh_token?: string;
67
+ redirect_uri?: string;
60
68
  /**
61
- * The unique identifier of a client application instance. If not
62
- * specified, the derived or auto generated value will be used
69
+ * For `authorization_code` grant type only.
70
+ * The code verifier as defined by the PKCE specification -
71
+ * [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)
63
72
  */
64
- endpoint_id?: string;
73
+ code_verifier?: string;
65
74
  /**
75
+ * For `password` grant type only. User login name: email or phone number in E.164 format
76
+ * Required
66
77
  */
67
- pin?: string;
78
+ username?: string;
68
79
  /**
69
- * OAuth client identifier (if not specified via `Authorization` header)
80
+ * For `password` grant type only. User's password
81
+ * Required
82
+ * Format: password
70
83
  */
71
- client_id?: string;
84
+ password?: string;
72
85
  /**
86
+ * For `password` grant type only. Optional. Extension short number. If a company number
87
+ * is specified as a username, and extension is not specified, the
88
+ * server will attempt to authenticate client as main company administrator
89
+ *
90
+ * DEPRECATED: use extension number embedded into username string like `+16501234567*101`
73
91
  */
74
- account_id?: string;
92
+ extension?: string;
75
93
  /**
94
+ * IVR pin for pin-based authentication.
95
+ *
96
+ * DEPRECATED: use a dedicated `ivr_pin` grant type instead
76
97
  */
77
- partner_account_id?: string;
98
+ pin?: string;
78
99
  /**
79
- * Client assertion type
100
+ * For `urn:ietf:params:oauth:grant-type:jwt-bearer` or `partner_jwt` grant types only.
101
+ * Authorization grant assertion (JWT)
102
+ * as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.1).
103
+ * Required
80
104
  */
81
- client_assertion_type?: string;
105
+ assertion?: string;
82
106
  /**
83
- * Client assertion
107
+ * For `refresh_token` grant type only. Previously issued refresh token.
108
+ * Required
84
109
  */
85
- client_assertion?: string;
110
+ refresh_token?: string;
86
111
  /**
87
- * For `jwt_bearer` grant type only. Assertion
112
+ * For `ivr_pin` grant type only. User's IVR pin.
113
+ * Required
88
114
  */
89
- assertion?: string;
115
+ ivr_pin?: string;
90
116
  /**
117
+ * For `urn:ietf:params:oauth:grant-type:device_code` grant type only.
118
+ * The device verification code as defined by [RFC-8628](https://datatracker.ietf.org/doc/html/rfc8628#section-3.4)
119
+ * Required
120
+ */
121
+ device_code?: string;
122
+ /**
123
+ * RingCentral Brand identifier.
124
+ * Required
91
125
  */
92
126
  brand_id?: string;
93
127
  /**
94
- * PKCE code verifier
128
+ * RingCentral internal account ID
129
+ * Required
95
130
  */
96
- code_verifier?: string;
131
+ account_id?: string;
97
132
  /**
133
+ * The ID of the account on RingCentral partner's side
134
+ * Required
98
135
  */
99
- device_code?: string;
136
+ partner_account_id?: string;
100
137
  /**
101
- * For `ivr_pin` grant type only. IVR pin.
138
+ * Resource type for the guest access.
102
139
  */
103
- ivr_pin?: string;
140
+ resource_type?: string;
141
+ /**
142
+ * Resource URL for the guest access.
143
+ */
144
+ resource?: string;
104
145
  }
105
146
  export default GetTokenRequest;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Token endpoint request parameters used in the "Guest" authorization flow with the `guest` grant type
3
+ */
4
+ interface GuestTokenRequest {
5
+ /**
6
+ * Grant type
7
+ */
8
+ grant_type?: 'guest';
9
+ /**
10
+ * RingCentral Brand identifier.
11
+ */
12
+ brand_id?: string;
13
+ /**
14
+ * Resource type for the guest access.
15
+ */
16
+ resource_type?: string;
17
+ /**
18
+ * Resource URL for the guest access.
19
+ */
20
+ resource?: string;
21
+ }
22
+ export default GuestTokenRequest;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GuestTokenRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuestTokenRequest.js","sourceRoot":"","sources":["../../src/definitions/GuestTokenRequest.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Additional data to store along the identity.
2
+ * Additional data to store along with identity
3
3
  */
4
4
  interface IdentityExtraValues {
5
5
  }
@@ -7,7 +7,7 @@ interface IdentityModel {
7
7
  */
8
8
  id?: string;
9
9
  /**
10
- * Identity's avatar Uri.
10
+ * Identity's avatar URI
11
11
  * Format: uri
12
12
  * Example: https://example.com/assets/avatar/default-79fd530c58c2a6b83a11fcc0e842ed7023ceb69292cfeb857bc2af2c624b90fd.png
13
13
  */
@@ -25,7 +25,7 @@ interface IdentityModel {
25
25
  */
26
26
  creationTime?: string;
27
27
  /**
28
- * Display name of the identity.
28
+ * Display name of identity
29
29
  * Example: John Doe
30
30
  */
31
31
  displayName?: string;
@@ -54,10 +54,10 @@ interface IdentityModel {
54
54
  */
55
55
  homePhone?: string;
56
56
  /**
57
- * The identity group id references the identity group that contains
58
- * all information (phone, notes, etc.). Many identities may belong to
59
- * this group. If the identity group id is null, it means that identity
60
- * does not have a group and any extra information.
57
+ * Identity group identifier which references the identity group that contains
58
+ * all information (phone, notes, etc). Multiple identities may belong to
59
+ * a single group. If the parameter value is null, it means that identity
60
+ * does not belong to a group or have extra information
61
61
  * Example: 54085e5b7aa58d8b5d00006c
62
62
  */
63
63
  identityGroupId?: string;
@@ -72,12 +72,12 @@ interface IdentityModel {
72
72
  */
73
73
  mobilePhone?: string;
74
74
  /**
75
- * Screen name of the identity.
75
+ * Screen name of identity
76
76
  * Example: John D.
77
77
  */
78
78
  screenName?: string;
79
79
  /**
80
- * Type of the identity.
80
+ * Type of identity
81
81
  * Required
82
82
  */
83
83
  type?: 'AppleMessagesForBusiness' | 'Email' | 'EngageMessaging' | 'Facebook' | 'GoogleBusinessMessages' | 'GoogleMyBusiness' | 'Instagram' | 'Linkedin' | 'Twitter' | 'Viber' | 'WhatsApp' | 'Youtube';
@@ -89,141 +89,105 @@ interface IdentityModel {
89
89
  */
90
90
  lastModifiedTime?: string;
91
91
  /**
92
- * List of the associated user identifiers who can use the identity.
92
+ * List of the associated user identifiers who can use the identity
93
93
  */
94
94
  userIds?: string[];
95
95
  /**
96
- * UUID of the identity.
96
+ * UUID of identity
97
97
  * Example: 9680ab94-3b78-495c-bb2c-a969954d8260
98
98
  */
99
99
  uuid?: string;
100
100
  /**
101
- * Device info of the identity.
102
- *
103
- * Applicable to RingCX Digital Messaging channels only.
101
+ * Device info of the identity. Applicable to RingCX Digital Messaging channels only
104
102
  * Example: iPhone (iPhone); iOS 15.0.2
105
103
  */
106
104
  mobileDeviceInfo?: string;
107
105
  /**
108
- * Facebook biography of the identity.
109
- *
110
- * Applicable to Facebook and Messenger channels only.
106
+ * Facebook biography of the identity. Applicable to Facebook and Messenger channels only
111
107
  * Example: Painter living in Paris
112
108
  */
113
109
  fbBio?: string;
114
110
  /**
115
- * Facebook category of the identity.
116
- *
117
- * Applicable to Facebook and Messenger channels only.
111
+ * Facebook category of the identity. Applicable to Facebook and Messenger channels only
118
112
  * Example: Computers/Internet
119
113
  */
120
114
  fbCategory?: string;
121
115
  /**
122
- * Facebook locale of the identity.
123
- *
124
- * Applicable to Facebook and Messenger channels only.
116
+ * Facebook locale of the identity. Applicable to Facebook and Messenger channels only
125
117
  * Example: fr_FR
126
118
  */
127
119
  fbLocale?: string;
128
120
  /**
129
- * Instagram followers count of the identity.
130
- *
131
- * Applicable to Instagram and InstagramMessaging channels only.
121
+ * Instagram followers count of the identity. Applicable to Instagram and InstagramMessaging channels only
132
122
  * Format: int32
133
123
  * Example: 10
134
124
  */
135
125
  igFollowersCount?: number;
136
126
  /**
137
- * Twitter description of the identity.
138
- *
139
- * Applicable to Twitter channels only.
127
+ * Twitter description of the identity. Applicable to Twitter channels only
140
128
  * Example: Software Engineer
141
129
  */
142
130
  twDescription?: string;
143
131
  /**
144
- * Twitter followers count of the identity.
145
- *
146
- * Applicable to Twitter channels only.
132
+ * Twitter followers count of the identity. Applicable to Twitter channels only
147
133
  * Format: int32
148
134
  * Example: 10
149
135
  */
150
136
  twFollowersCount?: number;
151
137
  /**
152
- * Count of Twitter accounts followed by the identity.
153
- *
154
- * Applicable to Twitter channels only.
138
+ * Count of Twitter accounts followed by the identity. Applicable to Twitter channels only
155
139
  * Format: int32
156
140
  * Example: 500
157
141
  */
158
142
  twFollowingCount?: number;
159
143
  /**
160
- * Count of tweets of the identity.
161
- *
162
- * Applicable to Twitter channels only.
144
+ * Count of tweets of the identity. Applicable to Twitter channels only
163
145
  * Format: int32
164
146
  * Example: 42
165
147
  */
166
148
  twStatusesCount?: number;
167
149
  /**
168
- * Twitter location of the identity.
169
- *
170
- * Applicable to Twitter channels only.
150
+ * Twitter location of the identity. Applicable to Twitter channels only
171
151
  * Example: Paris
172
152
  */
173
153
  twLocation?: string;
174
154
  /**
175
- * Viber API version of the identity.
176
- *
177
- * Applicable to Viber channels only.
155
+ * Viber API version of the identity. Applicable to Viber channels only
178
156
  * Example: 10
179
157
  */
180
158
  apiVersion?: string;
181
159
  /**
182
- * Viber country of the identity.
183
- *
184
- * Applicable to Viber channels only.
160
+ * Viber country of the identity. Applicable to Viber channels only
185
161
  * Example: FR
186
162
  */
187
163
  country?: string;
188
164
  /**
189
- * Viber device type of the identity.
190
- *
191
- * Applicable to Viber channels only.
165
+ * Viber device type of the identity. Applicable to Viber channels only
192
166
  * Example: SM-G970U1
193
167
  */
194
168
  deviceType?: string;
195
169
  /**
196
- * Viber language of the identity.
197
- *
198
- * Applicable to Viber channels only.
170
+ * Viber language of the identity. Applicable to Viber channels only
199
171
  * Example: fr-FR
200
172
  */
201
173
  language?: string;
202
174
  /**
203
- * Viber mobile country code of the identity.
204
- *
205
- * Applicable to Viber channels only.
175
+ * Viber mobile country code of the identity. Applicable to Viber channels only
206
176
  * Example: 1
207
177
  */
208
178
  mcc?: string;
209
179
  /**
210
- * Viber mobile network code of the identity.
211
- *
212
- * Applicable to Viber channels only.
180
+ * Viber mobile network code of the identity. Applicable to Viber channels only
213
181
  * Example: 220
214
182
  */
215
183
  mnc?: string;
216
184
  /**
217
- * Viber primary device OS of the identity.
218
- *
219
- * Applicable to Viber channels only.
185
+ * Viber primary device OS of the identity. Applicable to Viber channels only
220
186
  * Example: Android 11
221
187
  */
222
188
  primaryDeviceOs?: string;
223
189
  /**
224
- * Viber application version of the identity.
225
- *
226
- * Applicable to Viber channels only.
190
+ * Viber application version of the identity. Applicable to Viber channels only
227
191
  * Example: 19.5.0
228
192
  */
229
193
  viberVersion?: string;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Token endpoint request parameters used in the "IVR Pin" authorization flow with the `ivr_pin` grant type
3
+ *
4
+ */
5
+ interface IvrPinTokenRequest {
6
+ /**
7
+ * Grant type
8
+ */
9
+ grant_type?: 'ivr_pin';
10
+ /**
11
+ * For `ivr_pin` grant type only. User's IVR pin.
12
+ * Required
13
+ */
14
+ ivr_pin?: string;
15
+ }
16
+ export default IvrPinTokenRequest;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IvrPinTokenRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IvrPinTokenRequest.js","sourceRoot":"","sources":["../../src/definitions/IvrPinTokenRequest.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
+ import type JobStatusResponseResponse from './JobStatusResponseResponse';
1
2
  interface JobStatusResponse {
2
3
  /**
3
4
  */
@@ -14,5 +15,11 @@ interface JobStatusResponse {
14
15
  * Format: date-time
15
16
  */
16
17
  expirationTime?: string;
18
+ /**
19
+ */
20
+ status?: 'Success' | 'Fail';
21
+ /**
22
+ */
23
+ response?: JobStatusResponseResponse;
17
24
  }
18
25
  export default JobStatusResponse;
@@ -0,0 +1,39 @@
1
+ import type UtteranceObject from './UtteranceObject';
2
+ import type WordSegment from './WordSegment';
3
+ import type UtteranceInsightsObject from './UtteranceInsightsObject';
4
+ import type SpeakerInsightsObject from './SpeakerInsightsObject';
5
+ import type ConversationalInsightsUnit from './ConversationalInsightsUnit';
6
+ interface JobStatusResponseResponse {
7
+ /**
8
+ * The number of speakers detected. Field is set only when enableSpeakerDiarization is true.
9
+ * Format: int32
10
+ * Example: 2
11
+ */
12
+ speakerCount?: number;
13
+ /**
14
+ * Speaker wise utterances. Field is set only when enableSpeakerDiarization is true.
15
+ */
16
+ utterances?: UtteranceObject[];
17
+ /**
18
+ */
19
+ words?: WordSegment[];
20
+ /**
21
+ * Overall transcription confidence.
22
+ * Format: float
23
+ */
24
+ confidence?: number;
25
+ /**
26
+ * The entire transcript with/without punctuations according to the input.
27
+ */
28
+ transcript?: string;
29
+ /**
30
+ */
31
+ utteranceInsights?: UtteranceInsightsObject[];
32
+ /**
33
+ */
34
+ speakerInsights?: SpeakerInsightsObject;
35
+ /**
36
+ */
37
+ conversationalInsights?: ConversationalInsightsUnit[];
38
+ }
39
+ export default JobStatusResponseResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=JobStatusResponseResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JobStatusResponseResponse.js","sourceRoot":"","sources":["../../src/definitions/JobStatusResponseResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Token endpoint request parameters used in the "Personal JWT", "JWT Bearer" and "Partner JWT" authorization flows
3
+ * with the `urn:ietf:params:oauth:grant-type:jwt-bearer` and `partner_jwt` grant types
4
+ *
5
+ */
6
+ interface JwtTokenRequest {
7
+ /**
8
+ * Grant type
9
+ */
10
+ grant_type?: 'urn:ietf:params:oauth:grant-type:jwt-bearer' | 'partner_jwt';
11
+ /**
12
+ * For `urn:ietf:params:oauth:grant-type:jwt-bearer` or `partner_jwt` grant types only.
13
+ * Authorization grant assertion (JWT)
14
+ * as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.1).
15
+ * Required
16
+ */
17
+ assertion?: string;
18
+ }
19
+ export default JwtTokenRequest;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=JwtTokenRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JwtTokenRequest.js","sourceRoot":"","sources":["../../src/definitions/JwtTokenRequest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Query parameters for operation listCompanyMessageTemplates
3
+ */
4
+ interface ListCompanyMessageTemplatesParameters {
5
+ /**
6
+ * Site ID(s) to filter company message templates, associated with particular sites
7
+ * By default the value is all - templates with all sites will be returned
8
+ */
9
+ siteIds?: string[];
10
+ }
11
+ export default ListCompanyMessageTemplatesParameters;