@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
@@ -0,0 +1,21 @@
1
+ import type TemplateInfo from './TemplateInfo';
2
+ import type Site from './Site';
3
+
4
+ interface MessageTemplateRequest {
5
+ /**
6
+ * Name of a template
7
+ * Required
8
+ */
9
+ displayName?: string;
10
+
11
+ /**
12
+ * Required
13
+ */
14
+ body?: TemplateInfo;
15
+
16
+ /**
17
+ */
18
+ site?: Site;
19
+ }
20
+
21
+ export default MessageTemplateRequest;
@@ -0,0 +1,29 @@
1
+ import type TemplateInfo from './TemplateInfo';
2
+ import type Site from './Site';
3
+
4
+ interface MessageTemplateResponse {
5
+ /**
6
+ * Internal identifier of a template
7
+ */
8
+ id?: string;
9
+
10
+ /**
11
+ * Name of a template
12
+ */
13
+ displayName?: string;
14
+
15
+ /**
16
+ */
17
+ body?: TemplateInfo;
18
+
19
+ /**
20
+ * Specifies if a template is available on a user (Personal) or a company (Company) level
21
+ */
22
+ scope?: 'Company' | 'Personal';
23
+
24
+ /**
25
+ */
26
+ site?: Site;
27
+ }
28
+
29
+ export default MessageTemplateResponse;
@@ -0,0 +1,20 @@
1
+ import type TemplateInfo from './TemplateInfo';
2
+ import type Site from './Site';
3
+
4
+ interface MessageTemplateUpdateRequest {
5
+ /**
6
+ * Name of a template
7
+ */
8
+ displayName?: string;
9
+
10
+ /**
11
+ * Required
12
+ */
13
+ body?: TemplateInfo;
14
+
15
+ /**
16
+ */
17
+ site?: Site;
18
+ }
19
+
20
+ export default MessageTemplateUpdateRequest;
@@ -0,0 +1,10 @@
1
+ import type MessageTemplateResponse from './MessageTemplateResponse';
2
+
3
+ interface MessageTemplatesListResponse {
4
+ /**
5
+ * List of text message templates
6
+ */
7
+ records?: MessageTemplateResponse[];
8
+ }
9
+
10
+ export default MessageTemplatesListResponse;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Token endpoint request parameters used in the "One-time Password" (OTP) authorization flow with the `otp` grant type
3
+ */
4
+ interface OtpTokenRequest {
5
+ /**
6
+ * Grant type
7
+ */
8
+ grant_type?: 'otp';
9
+
10
+ /**
11
+ * For `otp` grant type only.
12
+ * One-time password code
13
+ * Required
14
+ */
15
+ code?: string;
16
+ }
17
+
18
+ export default OtpTokenRequest;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  interface ReadGlipPostsNewParameters {
5
5
  /**
6
- * Max number of posts to be fetched by one request (not more than 250).
6
+ * Max number of posts to be fetched by one request (not more than 250)
7
7
  * Maximum: 250
8
8
  * Format: int32
9
9
  * Default: 30
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Token endpoint request parameters used in the "Refresh Token" flow
3
+ * with the `refresh_token` grant type
4
+ *
5
+ */
6
+ interface RefreshTokenRequest {
7
+ /**
8
+ * Grant type
9
+ */
10
+ grant_type?: 'refresh_token';
11
+
12
+ /**
13
+ * For `refresh_token` grant type only. Previously issued refresh token.
14
+ * Required
15
+ */
16
+ refresh_token?: string;
17
+ }
18
+
19
+ export default RefreshTokenRequest;
@@ -28,9 +28,19 @@ interface RegSessionModelSettings {
28
28
 
29
29
  /**
30
30
  * Indicates that recording will be shown after the webinar and in emails.
31
- * Default: true
32
31
  */
33
32
  viewRecording?: boolean;
33
+
34
+ /**
35
+ * Duration of on-demand webinar. The default value can only be used if the session is on demand.
36
+ * Default: SixMonths
37
+ */
38
+ onDemandDuration?: 'OneMonth' | 'TwoMonths' | 'ThreeMonths' | 'SixMonths' | 'OneYear';
39
+
40
+ /**
41
+ * Indicates that recording exists for the session.
42
+ */
43
+ recordingExist?: boolean;
34
44
  }
35
45
 
36
46
  export default RegSessionModelSettings;
@@ -35,6 +35,11 @@ interface RegistrantBaseModel {
35
35
  */
36
36
  cancellationUri?: string;
37
37
 
38
+ /**
39
+ * Indicates if the registrant was registered to on-demand webinar
40
+ */
41
+ registeredPostWebinar?: boolean;
42
+
38
43
  /**
39
44
  * Visitor ID passed from registration page
40
45
  */
@@ -37,6 +37,11 @@ interface RegistrantBaseModelWithQuestionnaire {
37
37
  */
38
38
  cancellationUri?: string;
39
39
 
40
+ /**
41
+ * Indicates if the registrant was registered to on-demand webinar
42
+ */
43
+ registeredPostWebinar?: boolean;
44
+
40
45
  /**
41
46
  * Visitor ID passed from registration page
42
47
  */
@@ -34,6 +34,11 @@ interface RegistrantMinimalModel {
34
34
  * Example: https://abcde12345.webinar.ringcentral.com/register?jlt=iuyef77fsj473wn10ashjfk34&action=cancel
35
35
  */
36
36
  cancellationUri?: string;
37
+
38
+ /**
39
+ * Indicates if the registrant was registered to on-demand webinar
40
+ */
41
+ registeredPostWebinar?: boolean;
37
42
  }
38
43
 
39
44
  export default RegistrantMinimalModel;
@@ -57,6 +57,11 @@ interface RegistrantModelResponsePostWithQuestionnaire {
57
57
  */
58
58
  cancellationUri?: string;
59
59
 
60
+ /**
61
+ * Indicates if the registrant was registered to on-demand webinar
62
+ */
63
+ registeredPostWebinar?: boolean;
64
+
60
65
  /**
61
66
  * Visitor ID passed from registration page
62
67
  */
@@ -57,6 +57,11 @@ interface RegistrantModelWithQuestionnaire {
57
57
  */
58
58
  cancellationUri?: string;
59
59
 
60
+ /**
61
+ * Indicates if the registrant was registered to on-demand webinar
62
+ */
63
+ registeredPostWebinar?: boolean;
64
+
60
65
  /**
61
66
  * Visitor ID passed from registration page
62
67
  */
@@ -6,12 +6,16 @@ interface RevokeTokenRequest {
6
6
  token?: string;
7
7
 
8
8
  /**
9
- * Client assertion type
9
+ * Client assertion type for the `client_secret_jwt` or `private_key_jwt` client authentication types,
10
+ * as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.2).
11
+ * This parameter is mandatory if the client authentication is required and a client decided to use one of these authentication types
10
12
  */
11
- client_assertion_type?: string;
13
+ client_assertion_type?: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer';
12
14
 
13
15
  /**
14
- * Client assertion
16
+ * Client assertion (JWT) for the `client_secret_jwt` or `private_key_jwt` client authentication types,
17
+ * as defined by [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.2).
18
+ * This parameter is mandatory if the client authentication is required and a client decided to use one of these authentication types
15
19
  */
16
20
  client_assertion?: string;
17
21
  }
@@ -37,7 +37,15 @@ interface RoleResource {
37
37
  /**
38
38
  * Specifies resource for permission
39
39
  */
40
- scope?: 'Account' | 'AllExtensions' | 'Federation' | 'NonUserExtensions' | 'RoleBased' | 'Self' | 'UserExtensions';
40
+ scope?:
41
+ | 'Account'
42
+ | 'AllExtensions'
43
+ | 'Federation'
44
+ | 'Group'
45
+ | 'NonUserExtensions'
46
+ | 'RoleBased'
47
+ | 'Self'
48
+ | 'UserExtensions';
41
49
 
42
50
  /**
43
51
  */
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Token endpoint request parameters used in the "Password" (also known as "Resource Owner Password Credentials" - ROPC)
3
+ * authorization flow with the `password` grant type
4
+ *
5
+ */
6
+ interface RopcTokenRequest {
7
+ /**
8
+ * Grant type
9
+ */
10
+ grant_type?: 'password';
11
+
12
+ /**
13
+ * For `password` grant type only. User login name: email or phone number in E.164 format
14
+ * Required
15
+ */
16
+ username?: string;
17
+
18
+ /**
19
+ * For `password` grant type only. User's password
20
+ * Required
21
+ * Format: password
22
+ */
23
+ password?: string;
24
+
25
+ /**
26
+ * For `password` grant type only. Optional. Extension short number. If a company number
27
+ * is specified as a username, and extension is not specified, the
28
+ * server will attempt to authenticate client as main company administrator
29
+ *
30
+ * DEPRECATED: use extension number embedded into username string like `+16501234567*101`
31
+ */
32
+ extension?: string;
33
+
34
+ /**
35
+ * IVR pin for pin-based authentication.
36
+ *
37
+ * DEPRECATED: use a dedicated `ivr_pin` grant type instead
38
+ */
39
+ pin?: string;
40
+ }
41
+
42
+ export default RopcTokenRequest;
@@ -39,7 +39,7 @@ interface ServiceInfo {
39
39
 
40
40
  /**
41
41
  */
42
- ubrand?: UBrandInfo;
42
+ uBrand?: UBrandInfo;
43
43
  }
44
44
 
45
45
  export default ServiceInfo;
@@ -0,0 +1,34 @@
1
+ interface ServiceInfoCountryShortModel {
2
+ /**
3
+ * Internal identifier of a country
4
+ */
5
+ id?: string;
6
+
7
+ /**
8
+ * Canonical URI of a country resource
9
+ * Format: uri
10
+ */
11
+ uri?: string;
12
+
13
+ /**
14
+ * The official name of a country
15
+ */
16
+ name?: string;
17
+
18
+ /**
19
+ * A ISO country code value complying with the
20
+ * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
21
+ * format.
22
+ */
23
+ isoCode?: string;
24
+
25
+ /**
26
+ * Country calling code defined by [ITU-T](http://en.wikipedia.org/wiki/ITU-T)
27
+ * recommendations [E.123](http://en.wikipedia.org/wiki/E.123) and
28
+ * [E.164](http://en.wikipedia.org/wiki/E.164),
29
+ * see [Calling Codes](http://en.wikipedia.org/wiki/List_of_country_calling_codes)
30
+ */
31
+ callingCode?: string;
32
+ }
33
+
34
+ export default ServiceInfoCountryShortModel;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Information on account service plan
3
+ */
4
+ interface ServiceInfoPlan {
5
+ /**
6
+ * Internal identifier of a service plan
7
+ */
8
+ id?: string;
9
+
10
+ /**
11
+ * Name of a service plan
12
+ */
13
+ name?: string;
14
+
15
+ /**
16
+ * Edition of a service plan
17
+ */
18
+ edition?: string;
19
+
20
+ /**
21
+ */
22
+ freemiumProductType?: 'Freyja' | 'Phoenix';
23
+ }
24
+
25
+ export default ServiceInfoPlan;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Account sub-brand information
3
+ */
4
+ interface ServiceInfoUBrand {
5
+ /**
6
+ * Sub-brand unique ID
7
+ * Example: 111.222
8
+ */
9
+ id?: string;
10
+
11
+ /**
12
+ * Sub-brand name
13
+ * Example: Sub-brand name
14
+ */
15
+ name?: string;
16
+ }
17
+
18
+ export default ServiceInfoUBrand;
@@ -1,5 +1,8 @@
1
1
  import type ServiceInfoPackage from './ServiceInfoPackage';
2
2
  import type ServiceInfoBrand from './ServiceInfoBrand';
3
+ import type ServiceInfoCountryShortModel from './ServiceInfoCountryShortModel';
4
+ import type ServiceInfoUBrand from './ServiceInfoUBrand';
5
+ import type ServiceInfoPlan from './ServiceInfoPlan';
3
6
 
4
7
  /**
5
8
  * Service Plan information (billing package, brand, etc.)
@@ -13,6 +16,18 @@ interface ServiceInfoV2 {
13
16
  /**
14
17
  */
15
18
  brand?: ServiceInfoBrand;
19
+
20
+ /**
21
+ */
22
+ contractedCountry?: ServiceInfoCountryShortModel;
23
+
24
+ /**
25
+ */
26
+ uBrand?: ServiceInfoUBrand;
27
+
28
+ /**
29
+ */
30
+ servicePlan?: ServiceInfoPlan;
16
31
  }
17
32
 
18
33
  export default ServiceInfoV2;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Specifies a site that message template is associated with. Supported only if the Sites feature is enabled.
3
+ * The default is `main-site` value.
4
+ *
5
+ */
6
+ interface Site {
7
+ /**
8
+ * Internal identifier of a site
9
+ */
10
+ id?: string;
11
+
12
+ /**
13
+ * Custom name of a site
14
+ */
15
+ name?: string;
16
+ }
17
+
18
+ export default Site;
@@ -1,3 +1,5 @@
1
+ import type EventRecurrenceInfo from './EventRecurrenceInfo';
2
+
1
3
  interface TMCreateEventRequest {
2
4
  /**
3
5
  * Internal identifier of an event
@@ -35,29 +37,8 @@ interface TMCreateEventRequest {
35
37
  allDay?: boolean;
36
38
 
37
39
  /**
38
- * Event recurrence settings. For non-periodic events the value
39
- * is `None`. Must be greater or equal to event duration: 1- Day/Weekday;
40
- * 7 - Week; 28 - Month; 365 - Year
41
- */
42
- recurrence?: 'None' | 'Day' | 'Weekday' | 'Week' | 'Month' | 'Year';
43
-
44
- /**
45
- * Condition of ending an event
46
- */
47
- endingCondition?: 'None' | 'Count' | 'Date';
48
-
49
- /**
50
- * Count of event iterations. For periodic events only. Value range is 1 - 10.
51
- * Must be specified if `endingCondition` is `Count`
52
- * Format: int32
53
- */
54
- endingAfter?: number;
55
-
56
- /**
57
- * Iterations ending datetime for periodic events in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
58
- * Format: date-time
59
40
  */
60
- endingOn?: string;
41
+ recurrence?: EventRecurrenceInfo;
61
42
 
62
43
  /**
63
44
  * Color of Event title (including its presentation in Calendar)
@@ -1,5 +1,5 @@
1
1
  import type TMCreateTaskRequestAssignees from './TMCreateTaskRequestAssignees';
2
- import type TMCreateTaskRequestRecurrence from './TMCreateTaskRequestRecurrence';
2
+ import type TaskRecurrenceInfo from './TaskRecurrenceInfo';
3
3
  import type TMAttachmentInfo from './TMAttachmentInfo';
4
4
 
5
5
  interface TMCreateTaskRequest {
@@ -48,7 +48,7 @@ interface TMCreateTaskRequest {
48
48
 
49
49
  /**
50
50
  */
51
- recurrence?: TMCreateTaskRequestRecurrence;
51
+ recurrence?: TaskRecurrenceInfo;
52
52
 
53
53
  /**
54
54
  */
@@ -1,3 +1,5 @@
1
+ import type EventRecurrenceInfo from './EventRecurrenceInfo';
2
+
1
3
  interface TMEventInfo {
2
4
  /**
3
5
  * Internal identifier of an event
@@ -32,27 +34,8 @@ interface TMEventInfo {
32
34
  allDay?: boolean;
33
35
 
34
36
  /**
35
- * Event recurrence settings
36
- */
37
- recurrence?: 'None' | 'Day' | 'Weekday' | 'Week' | 'Month' | 'Year';
38
-
39
- /**
40
- * Condition of ending an event
41
- */
42
- endingCondition?: 'None' | 'Count' | 'Date';
43
-
44
- /**
45
- * Count of event iterations. For periodic events only. Value range is 1 - 10.
46
- * Must be specified if `endingCondition` is `Count`
47
- * Format: int32
48
- */
49
- endingAfter?: number;
50
-
51
- /**
52
- * Iterations ending datetime for periodic events in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
53
- * Format: date-time
54
37
  */
55
- endingOn?: string;
38
+ recurrence?: EventRecurrenceInfo;
56
39
 
57
40
  /**
58
41
  * Color of Event title (including its presentation in Calendar)
@@ -1,6 +1,7 @@
1
1
  import type TMAttachmentAuthorInfo from './TMAttachmentAuthorInfo';
2
2
  import type TMAttachmentFieldsInfo from './TMAttachmentFieldsInfo';
3
3
  import type TMAttachmentFootnoteInfo from './TMAttachmentFootnoteInfo';
4
+ import type EventRecurrenceInfo from './EventRecurrenceInfo';
4
5
 
5
6
  interface TMMessageAttachmentInfo {
6
7
  /**
@@ -82,27 +83,8 @@ interface TMMessageAttachmentInfo {
82
83
  allDay?: boolean;
83
84
 
84
85
  /**
85
- * Event recurrence settings.
86
86
  */
87
- recurrence?: 'None' | 'Day' | 'Weekday' | 'Week' | 'Month' | 'Year';
88
-
89
- /**
90
- * Condition of ending an event
91
- */
92
- endingCondition?: 'None' | 'Count' | 'Date';
93
-
94
- /**
95
- * Count of event iterations. For periodic events only. Value range is 1 - 10.
96
- * Must be specified if `endingCondition` is `Count`
97
- * Format: int32
98
- */
99
- endingAfter?: number;
100
-
101
- /**
102
- * Iterations ending datetime for periodic events in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
103
- * Format: date-time
104
- */
105
- endingOn?: string;
87
+ recurrence?: EventRecurrenceInfo;
106
88
 
107
89
  /**
108
90
  * Color of Event title, including its presentation in Calendar; or the color of the side border of an interactive message of a Card
@@ -1,6 +1,6 @@
1
1
  import type TMTaskInfoCreator from './TMTaskInfoCreator';
2
2
  import type TMTaskInfoAssignees from './TMTaskInfoAssignees';
3
- import type TMTaskInfoRecurrence from './TMTaskInfoRecurrence';
3
+ import type TaskRecurrenceInfo from './TaskRecurrenceInfo';
4
4
  import type TaskAttachment from './TaskAttachment';
5
5
 
6
6
  interface TMTaskInfo {
@@ -90,9 +90,8 @@ interface TMTaskInfo {
90
90
  description?: string;
91
91
 
92
92
  /**
93
- * Task details
94
93
  */
95
- recurrence?: TMTaskInfoRecurrence;
94
+ recurrence?: TaskRecurrenceInfo;
96
95
 
97
96
  /**
98
97
  */
@@ -1,5 +1,5 @@
1
1
  import type TMUpdateTaskRequestAssignees from './TMUpdateTaskRequestAssignees';
2
- import type TMUpdateTaskRequestRecurrence from './TMUpdateTaskRequestRecurrence';
2
+ import type TaskRecurrenceInfo from './TaskRecurrenceInfo';
3
3
  import type TMAttachmentInfo from './TMAttachmentInfo';
4
4
 
5
5
  interface TMUpdateTaskRequest {
@@ -44,7 +44,7 @@ interface TMUpdateTaskRequest {
44
44
 
45
45
  /**
46
46
  */
47
- recurrence?: TMUpdateTaskRequestRecurrence;
47
+ recurrence?: TaskRecurrenceInfo;
48
48
 
49
49
  /**
50
50
  */
@@ -1,11 +1,16 @@
1
- interface TMTaskInfoRecurrence {
1
+ /**
2
+ * Task information
3
+ */
4
+ interface TaskRecurrenceInfo {
2
5
  /**
3
- * Task recurrence settings. None for non-periodic tasks
6
+ * Recurrence settings of a task. None for non-periodic tasks
7
+ * Default: None
4
8
  */
5
9
  schedule?: 'None' | 'Daily' | 'Weekdays' | 'Weekly' | 'Monthly' | 'Yearly';
6
10
 
7
11
  /**
8
- * Task ending condition
12
+ * Ending condition of a task
13
+ * Default: None
9
14
  */
10
15
  endingCondition?: 'None' | 'Count' | 'Date';
11
16
 
@@ -18,10 +23,11 @@ interface TMTaskInfoRecurrence {
18
23
  endingAfter?: number;
19
24
 
20
25
  /**
21
- * End date of a periodic task in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
26
+ * End date of a periodic task in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
27
+ * format, UTC time zone
22
28
  * Format: date-time
23
29
  */
24
30
  endingOn?: string;
25
31
  }
26
32
 
27
- export default TMTaskInfoRecurrence;
33
+ export default TaskRecurrenceInfo;
@@ -1,35 +1,12 @@
1
+ /**
2
+ * Text message template information
3
+ */
1
4
  interface TemplateInfo {
2
5
  /**
3
- * Link to a template
4
- * Format: uri
6
+ * Text of a message template. Maximum length is 1000 symbols (2-byte UTF-16 encoded)
7
+ * Required
5
8
  */
6
- uri?: string;
7
-
8
- /**
9
- * Internal identifier of a template
10
- */
11
- id?: string;
12
-
13
- /**
14
- */
15
- type?: 'UserSettings' | 'CallHandling';
16
-
17
- /**
18
- * Name of a template
19
- */
20
- name?: string;
21
-
22
- /**
23
- * Time of a template creation
24
- * Format: date-time
25
- */
26
- creationTime?: string;
27
-
28
- /**
29
- * Time of the last template modification
30
- * Format: date-time
31
- */
32
- lastModifiedTime?: string;
9
+ text?: string;
33
10
  }
34
11
 
35
12
  export default TemplateInfo;