@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,13 +0,0 @@
1
- /**
2
- * Request body for operation introspectToken
3
- */
4
- interface IntrospectTokenRequest {
5
- /**
6
- * OAuth token
7
- */
8
- token?: string;
9
- /**
10
- */
11
- scope?: string;
12
- }
13
- export default IntrospectTokenRequest;
@@ -1 +0,0 @@
1
- {"version":3,"file":"IntrospectTokenRequest.js","sourceRoot":"","sources":["../../src/definitions/IntrospectTokenRequest.ts"],"names":[],"mappings":""}
@@ -1,42 +0,0 @@
1
- interface SessionInfoResponse {
2
- /**
3
- * Identifier (key) of a client application
4
- * Required
5
- */
6
- client_id?: string;
7
- /**
8
- * List of permissions (space separated) granted to the application with this token
9
- * Example: AccountInfo CallLog ExtensionInfo Messages SMS
10
- */
11
- scope?: string;
12
- /**
13
- * Subject of the token (extension ID or the owner)
14
- */
15
- sub?: string;
16
- /**
17
- * RC account ID associated with the token
18
- */
19
- account_id?: string;
20
- /**
21
- * Remaining time in seconds until session expiration due to absolute timeout
22
- * Format: int32
23
- */
24
- session_expires_in?: number;
25
- /**
26
- * Absolute value of session expiration time in ISO date formatted string
27
- * Format: date-time
28
- * Example: 2023-04-01T12:00:01Z
29
- */
30
- session_expiration_time?: string;
31
- /**
32
- * OAuth session ID
33
- * Required
34
- */
35
- session_id?: string;
36
- /**
37
- * Nominal value of session idle timeout in seconds
38
- * Format: int32
39
- */
40
- session_idle_timeout?: number;
41
- }
42
- export default SessionInfoResponse;
@@ -1 +0,0 @@
1
- {"version":3,"file":"SessionInfoResponse.js","sourceRoot":"","sources":["../../src/definitions/SessionInfoResponse.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SocMsgListIdentitiesParameters.js","sourceRoot":"","sources":["../../src/definitions/SocMsgListIdentitiesParameters.ts"],"names":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- interface TMCreateTaskRequestRecurrence {
2
- /**
3
- * Task recurrence settings.
4
- * Default: None
5
- */
6
- schedule?: 'None' | 'Daily' | 'Weekdays' | 'Weekly' | 'Monthly' | 'Yearly';
7
- /**
8
- * Task ending condition.
9
- * Default: None
10
- */
11
- endingCondition?: 'None' | 'Count' | 'Date';
12
- /**
13
- * Count of iterations of periodic tasks
14
- * Maximum: 10
15
- * Minimum: 1
16
- * Format: int32
17
- */
18
- endingAfter?: number;
19
- /**
20
- * End date of a periodic task in UTC time zone
21
- * Format: date-time
22
- */
23
- endingOn?: string;
24
- }
25
- export default TMCreateTaskRequestRecurrence;
@@ -1 +0,0 @@
1
- {"version":3,"file":"TMCreateTaskRequestRecurrence.js","sourceRoot":"","sources":["../../src/definitions/TMCreateTaskRequestRecurrence.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TMTaskInfoRecurrence.js","sourceRoot":"","sources":["../../src/definitions/TMTaskInfoRecurrence.ts"],"names":[],"mappings":""}
@@ -1,24 +0,0 @@
1
- interface TMUpdateTaskRequestRecurrence {
2
- /**
3
- * Task recurrence settings.
4
- * Default: None
5
- */
6
- schedule?: 'None' | 'Daily' | 'Weekdays' | 'Weekly' | 'Monthly' | 'Yearly';
7
- /**
8
- * Task ending condition
9
- */
10
- endingCondition?: 'None' | 'Count' | 'Date';
11
- /**
12
- * Count of iterations of periodic tasks
13
- * Maximum: 10
14
- * Minimum: 1
15
- * Format: int32
16
- */
17
- endingAfter?: number;
18
- /**
19
- * End date of a periodic task in UTC time zone
20
- * Format: date-time
21
- */
22
- endingOn?: string;
23
- }
24
- export default TMUpdateTaskRequestRecurrence;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=TMUpdateTaskRequestRecurrence.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TMUpdateTaskRequestRecurrence.js","sourceRoot":"","sources":["../../src/definitions/TMUpdateTaskRequestRecurrence.ts"],"names":[],"mappings":""}
@@ -1,47 +0,0 @@
1
- interface TokenIntrospectionResponse {
2
- /**
3
- * Is presented token valid and active
4
- * Required
5
- * Example: true
6
- */
7
- active?: boolean;
8
- /**
9
- * List of permissions (space separated) granted to the application with this token
10
- * Example: AccountInfo CallLog ExtensionInfo Messages SMS
11
- */
12
- scope?: string;
13
- /**
14
- * Identifier (key) of a client application
15
- */
16
- client_id?: string;
17
- /**
18
- * Type of token. The only supported value is `bearer`
19
- * Example: bearer
20
- */
21
- token_type?: string;
22
- /**
23
- * Timestamp indicating when this token will expire in seconds since January 1 1970 UTC
24
- * Format: int64
25
- * Example: 1706715293
26
- */
27
- exp?: number;
28
- /**
29
- * Timestamp indicating when this token was originally issued in seconds since January 1 1970 UTC
30
- * Format: int64
31
- * Example: 1706711693
32
- */
33
- iat?: number;
34
- /**
35
- * Subject of the token (extension ID or the owner)
36
- */
37
- sub?: string;
38
- /**
39
- * RC account ID associated with the token
40
- */
41
- account_id?: string;
42
- /**
43
- * OAuth session ID associated with the token
44
- */
45
- session_id?: string;
46
- }
47
- export default TokenIntrospectionResponse;
@@ -1 +0,0 @@
1
- {"version":3,"file":"TokenIntrospectionResponse.js","sourceRoot":"","sources":["../../src/definitions/TokenIntrospectionResponse.ts"],"names":[],"mappings":""}
@@ -1,24 +0,0 @@
1
- import type TokenIntrospectionResponse from '../../../../definitions/TokenIntrospectionResponse';
2
- import type IntrospectTokenRequest from '../../../../definitions/IntrospectTokenRequest';
3
- import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
4
- declare class Index {
5
- rc: RingCentralInterface;
6
- _parent: ParentInterface;
7
- constructor(_parent: ParentInterface);
8
- path(): string;
9
- /**
10
- * Determines state and metadata for a given token (access token, refresh token
11
- * or authorization code)
12
- *
13
- * Depending on client application type
14
- * requests to this endpoint may require authentication with HTTP Basic scheme
15
- * using registered client ID and client secret as login and password, correspondingly.
16
- *
17
- * HTTP Method: post
18
- * Endpoint: /restapi/oauth/introspect
19
- * Rate Limit Group: Auth
20
- * App Permission: Interoperability
21
- */
22
- post(introspectTokenRequest: IntrospectTokenRequest, restRequestConfig?: RestRequestConfig): Promise<TokenIntrospectionResponse>;
23
- }
24
- export default Index;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- class Index {
4
- constructor(_parent) {
5
- this._parent = _parent;
6
- this.rc = _parent.rc;
7
- }
8
- path() {
9
- return `${this._parent.path()}/introspect`;
10
- }
11
- /**
12
- * Determines state and metadata for a given token (access token, refresh token
13
- * or authorization code)
14
- *
15
- * Depending on client application type
16
- * requests to this endpoint may require authentication with HTTP Basic scheme
17
- * using registered client ID and client secret as login and password, correspondingly.
18
- *
19
- * HTTP Method: post
20
- * Endpoint: /restapi/oauth/introspect
21
- * Rate Limit Group: Auth
22
- * App Permission: Interoperability
23
- */
24
- async post(introspectTokenRequest, restRequestConfig) {
25
- const r = await this.rc.post(this.path(), introspectTokenRequest, undefined, restRequestConfig);
26
- return r.data;
27
- }
28
- }
29
- exports.default = Index;
30
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Oauth/Introspect/index.ts"],"names":[],"mappings":";;AAIA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7C,CAAC;IACD;;;;;;;;;;;;OAYG;IACI,KAAK,CAAC,IAAI,CACf,sBAA8C,EAC9C,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,EAAE,EACX,sBAAsB,EACtB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -1,17 +0,0 @@
1
- import type SessionInfoResponse from '../../../../definitions/SessionInfoResponse';
2
- import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
3
- declare class Index {
4
- rc: RingCentralInterface;
5
- _parent: ParentInterface;
6
- constructor(_parent: ParentInterface);
7
- path(): string;
8
- /**
9
- * Returns information about current OAuth session
10
- *
11
- * HTTP Method: get
12
- * Endpoint: /restapi/oauth/session-info
13
- * Rate Limit Group: Auth
14
- */
15
- get(restRequestConfig?: RestRequestConfig): Promise<SessionInfoResponse>;
16
- }
17
- export default Index;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- class Index {
4
- constructor(_parent) {
5
- this._parent = _parent;
6
- this.rc = _parent.rc;
7
- }
8
- path() {
9
- return `${this._parent.path()}/session-info`;
10
- }
11
- /**
12
- * Returns information about current OAuth session
13
- *
14
- * HTTP Method: get
15
- * Endpoint: /restapi/oauth/session-info
16
- * Rate Limit Group: Auth
17
- */
18
- async get(restRequestConfig) {
19
- const r = await this.rc.get(this.path(), undefined, restRequestConfig);
20
- return r.data;
21
- }
22
- }
23
- exports.default = Index;
24
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Oauth/SessionInfo/index.ts"],"names":[],"mappings":";;AAGA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,eAAe,CAAC;IAC/C,CAAC;IACD;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CAAC,iBAAqC;QACpD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CAAsB,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QAC5F,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -1,15 +0,0 @@
1
- /**
2
- * Request body for operation introspectToken
3
- */
4
- interface IntrospectTokenRequest {
5
- /**
6
- * OAuth token
7
- */
8
- token?: string;
9
-
10
- /**
11
- */
12
- scope?: string;
13
- }
14
-
15
- export default IntrospectTokenRequest;
@@ -1,50 +0,0 @@
1
- interface SessionInfoResponse {
2
- /**
3
- * Identifier (key) of a client application
4
- * Required
5
- */
6
- client_id?: string;
7
-
8
- /**
9
- * List of permissions (space separated) granted to the application with this token
10
- * Example: AccountInfo CallLog ExtensionInfo Messages SMS
11
- */
12
- scope?: string;
13
-
14
- /**
15
- * Subject of the token (extension ID or the owner)
16
- */
17
- sub?: string;
18
-
19
- /**
20
- * RC account ID associated with the token
21
- */
22
- account_id?: string;
23
-
24
- /**
25
- * Remaining time in seconds until session expiration due to absolute timeout
26
- * Format: int32
27
- */
28
- session_expires_in?: number;
29
-
30
- /**
31
- * Absolute value of session expiration time in ISO date formatted string
32
- * Format: date-time
33
- * Example: 2023-04-01T12:00:01Z
34
- */
35
- session_expiration_time?: string;
36
-
37
- /**
38
- * OAuth session ID
39
- * Required
40
- */
41
- session_id?: string;
42
-
43
- /**
44
- * Nominal value of session idle timeout in seconds
45
- * Format: int32
46
- */
47
- session_idle_timeout?: number;
48
- }
49
-
50
- export default SessionInfoResponse;
@@ -1,29 +0,0 @@
1
- interface TMCreateTaskRequestRecurrence {
2
- /**
3
- * Task recurrence settings.
4
- * Default: None
5
- */
6
- schedule?: 'None' | 'Daily' | 'Weekdays' | 'Weekly' | 'Monthly' | 'Yearly';
7
-
8
- /**
9
- * Task ending condition.
10
- * Default: None
11
- */
12
- endingCondition?: 'None' | 'Count' | 'Date';
13
-
14
- /**
15
- * Count of iterations of periodic tasks
16
- * Maximum: 10
17
- * Minimum: 1
18
- * Format: int32
19
- */
20
- endingAfter?: number;
21
-
22
- /**
23
- * End date of a periodic task in UTC time zone
24
- * Format: date-time
25
- */
26
- endingOn?: string;
27
- }
28
-
29
- export default TMCreateTaskRequestRecurrence;
@@ -1,28 +0,0 @@
1
- interface TMUpdateTaskRequestRecurrence {
2
- /**
3
- * Task recurrence settings.
4
- * Default: None
5
- */
6
- schedule?: 'None' | 'Daily' | 'Weekdays' | 'Weekly' | 'Monthly' | 'Yearly';
7
-
8
- /**
9
- * Task ending condition
10
- */
11
- endingCondition?: 'None' | 'Count' | 'Date';
12
-
13
- /**
14
- * Count of iterations of periodic tasks
15
- * Maximum: 10
16
- * Minimum: 1
17
- * Format: int32
18
- */
19
- endingAfter?: number;
20
-
21
- /**
22
- * End date of a periodic task in UTC time zone
23
- * Format: date-time
24
- */
25
- endingOn?: string;
26
- }
27
-
28
- export default TMUpdateTaskRequestRecurrence;
@@ -1,56 +0,0 @@
1
- interface TokenIntrospectionResponse {
2
- /**
3
- * Is presented token valid and active
4
- * Required
5
- * Example: true
6
- */
7
- active?: boolean;
8
-
9
- /**
10
- * List of permissions (space separated) granted to the application with this token
11
- * Example: AccountInfo CallLog ExtensionInfo Messages SMS
12
- */
13
- scope?: string;
14
-
15
- /**
16
- * Identifier (key) of a client application
17
- */
18
- client_id?: string;
19
-
20
- /**
21
- * Type of token. The only supported value is `bearer`
22
- * Example: bearer
23
- */
24
- token_type?: string;
25
-
26
- /**
27
- * Timestamp indicating when this token will expire in seconds since January 1 1970 UTC
28
- * Format: int64
29
- * Example: 1706715293
30
- */
31
- exp?: number;
32
-
33
- /**
34
- * Timestamp indicating when this token was originally issued in seconds since January 1 1970 UTC
35
- * Format: int64
36
- * Example: 1706711693
37
- */
38
- iat?: number;
39
-
40
- /**
41
- * Subject of the token (extension ID or the owner)
42
- */
43
- sub?: string;
44
-
45
- /**
46
- * RC account ID associated with the token
47
- */
48
- account_id?: string;
49
-
50
- /**
51
- * OAuth session ID associated with the token
52
- */
53
- session_id?: string;
54
- }
55
-
56
- export default TokenIntrospectionResponse;
@@ -1,42 +0,0 @@
1
- import type TokenIntrospectionResponse from '../../../../definitions/TokenIntrospectionResponse';
2
- import type IntrospectTokenRequest from '../../../../definitions/IntrospectTokenRequest';
3
- import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
4
-
5
- class Index {
6
- public rc: RingCentralInterface;
7
- public _parent: ParentInterface;
8
-
9
- public constructor(_parent: ParentInterface) {
10
- this._parent = _parent;
11
- this.rc = _parent.rc;
12
- }
13
- public path(): string {
14
- return `${this._parent.path()}/introspect`;
15
- }
16
- /**
17
- * Determines state and metadata for a given token (access token, refresh token
18
- * or authorization code)
19
- *
20
- * Depending on client application type
21
- * requests to this endpoint may require authentication with HTTP Basic scheme
22
- * using registered client ID and client secret as login and password, correspondingly.
23
- *
24
- * HTTP Method: post
25
- * Endpoint: /restapi/oauth/introspect
26
- * Rate Limit Group: Auth
27
- * App Permission: Interoperability
28
- */
29
- public async post(
30
- introspectTokenRequest: IntrospectTokenRequest,
31
- restRequestConfig?: RestRequestConfig,
32
- ): Promise<TokenIntrospectionResponse> {
33
- const r = await this.rc.post<TokenIntrospectionResponse>(
34
- this.path(),
35
- introspectTokenRequest,
36
- undefined,
37
- restRequestConfig,
38
- );
39
- return r.data;
40
- }
41
- }
42
- export default Index;
@@ -1,27 +0,0 @@
1
- import type SessionInfoResponse from '../../../../definitions/SessionInfoResponse';
2
- import type { RingCentralInterface, ParentInterface, RestRequestConfig } from '../../../../types';
3
-
4
- class Index {
5
- public rc: RingCentralInterface;
6
- public _parent: ParentInterface;
7
-
8
- public constructor(_parent: ParentInterface) {
9
- this._parent = _parent;
10
- this.rc = _parent.rc;
11
- }
12
- public path(): string {
13
- return `${this._parent.path()}/session-info`;
14
- }
15
- /**
16
- * Returns information about current OAuth session
17
- *
18
- * HTTP Method: get
19
- * Endpoint: /restapi/oauth/session-info
20
- * Rate Limit Group: Auth
21
- */
22
- public async get(restRequestConfig?: RestRequestConfig): Promise<SessionInfoResponse> {
23
- const r = await this.rc.get<SessionInfoResponse>(this.path(), undefined, restRequestConfig);
24
- return r.data;
25
- }
26
- }
27
- export default Index;