@rc-ex/core 1.3.8 → 1.3.10

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 (225) hide show
  1. package/lib/Rest.js +1 -1
  2. package/lib/Rest.js.map +1 -1
  3. package/lib/definitions/AccountInfo.d.ts +2 -2
  4. package/lib/definitions/AccountStatusInfo.d.ts +10 -9
  5. package/lib/definitions/ActivePermissionResource.d.ts +1 -1
  6. package/lib/definitions/AutoShared.d.ts +15 -0
  7. package/lib/definitions/{StatusInfo.js → AutoShared.js} +1 -1
  8. package/lib/definitions/AutoShared.js.map +1 -0
  9. package/lib/definitions/CallQueueDetails.d.ts +13 -4
  10. package/lib/definitions/CallQueueInfo.d.ts +8 -0
  11. package/lib/definitions/CallQueueOverflowSettings.d.ts +2 -2
  12. package/lib/definitions/CloudRecording.d.ts +11 -2
  13. package/lib/definitions/ContentAttachment.d.ts +76 -0
  14. package/lib/definitions/{CallQueueUpdateDetails.js → ContentAttachment.js} +1 -1
  15. package/lib/definitions/ContentAttachment.js.map +1 -0
  16. package/lib/definitions/ContentBodyFormatted.d.ts +12 -0
  17. package/lib/definitions/{CallQueueOverflowAgent.js → ContentBodyFormatted.js} +1 -1
  18. package/lib/definitions/ContentBodyFormatted.js.map +1 -0
  19. package/lib/definitions/ContentContextData.d.ts +9 -0
  20. package/lib/definitions/{RcvListDelegatorsParameters.js → ContentContextData.js} +1 -1
  21. package/lib/definitions/ContentContextData.js.map +1 -0
  22. package/lib/definitions/ContentList.d.ts +13 -0
  23. package/lib/definitions/ContentList.js +3 -0
  24. package/lib/definitions/ContentList.js.map +1 -0
  25. package/lib/definitions/ContentModel.d.ts +223 -0
  26. package/lib/definitions/ContentModel.js +3 -0
  27. package/lib/definitions/ContentModel.js.map +1 -0
  28. package/lib/definitions/CreateContentRequest.d.ts +131 -0
  29. package/lib/definitions/CreateContentRequest.js +3 -0
  30. package/lib/definitions/CreateContentRequest.js.map +1 -0
  31. package/lib/definitions/ExtensionUpdateRequest.d.ts +1 -1
  32. package/lib/definitions/GetExtensionInfoResponse.d.ts +1 -1
  33. package/lib/definitions/GetExtensionListInfoResponse.d.ts +1 -1
  34. package/lib/definitions/Host.d.ts +3 -3
  35. package/lib/definitions/IdentitiesList.d.ts +13 -0
  36. package/lib/definitions/IdentitiesList.js +3 -0
  37. package/lib/definitions/IdentitiesList.js.map +1 -0
  38. package/lib/definitions/IdentityExtraValues.d.ts +6 -0
  39. package/lib/definitions/IdentityExtraValues.js +3 -0
  40. package/lib/definitions/IdentityExtraValues.js.map +1 -0
  41. package/lib/definitions/IdentityModel.d.ts +231 -0
  42. package/lib/definitions/IdentityModel.js +3 -0
  43. package/lib/definitions/IdentityModel.js.map +1 -0
  44. package/lib/definitions/ImportIdentityRequest.d.ts +61 -0
  45. package/lib/definitions/ImportIdentityRequest.js +3 -0
  46. package/lib/definitions/ImportIdentityRequest.js.map +1 -0
  47. package/lib/definitions/IntrospectTokenRequest.d.ts +13 -0
  48. package/lib/definitions/IntrospectTokenRequest.js +3 -0
  49. package/lib/definitions/IntrospectTokenRequest.js.map +1 -0
  50. package/lib/definitions/ListCallQueuesParameters.d.ts +2 -4
  51. package/lib/definitions/ListExtensionsParameters.d.ts +1 -1
  52. package/lib/definitions/ListOfAvailableForAssigningRolesParameters.d.ts +25 -0
  53. package/lib/definitions/ListOfAvailableForAssigningRolesParameters.js +3 -0
  54. package/lib/definitions/ListOfAvailableForAssigningRolesParameters.js.map +1 -0
  55. package/lib/definitions/ListStandardUserRoleParameters.d.ts +5 -0
  56. package/lib/definitions/ListVideoMeetingsParameters.d.ts +17 -1
  57. package/lib/definitions/Meeting.d.ts +27 -13
  58. package/lib/definitions/MeetingPage.d.ts +3 -1
  59. package/lib/definitions/NonEnumeratedPagingModel.d.ts +31 -0
  60. package/lib/definitions/NonEnumeratedPagingModel.js +3 -0
  61. package/lib/definitions/NonEnumeratedPagingModel.js.map +1 -0
  62. package/lib/definitions/Paging.d.ts +1 -0
  63. package/lib/definitions/Participant.d.ts +11 -5
  64. package/lib/definitions/PermissionIdResource.d.ts +4 -0
  65. package/lib/definitions/PermissionsCapabilities.d.ts +18 -0
  66. package/lib/definitions/PermissionsCapabilities.js +3 -0
  67. package/lib/definitions/PermissionsCapabilities.js.map +1 -0
  68. package/lib/definitions/ReadUserRoleParameters.d.ts +11 -0
  69. package/lib/definitions/ReadUserRoleParameters.js +3 -0
  70. package/lib/definitions/ReadUserRoleParameters.js.map +1 -0
  71. package/lib/definitions/Recording.d.ts +20 -7
  72. package/lib/definitions/RecordingsPreferences.d.ts +4 -0
  73. package/lib/definitions/RoleResource.d.ts +7 -1
  74. package/lib/definitions/SessionInfoResponse.d.ts +42 -0
  75. package/lib/definitions/SessionInfoResponse.js +3 -0
  76. package/lib/definitions/SessionInfoResponse.js.map +1 -0
  77. package/lib/definitions/SipInfoResponse.d.ts +1 -1
  78. package/lib/definitions/SocMsgListContentsParameters.d.ts +60 -0
  79. package/lib/definitions/SocMsgListContentsParameters.js +3 -0
  80. package/lib/definitions/SocMsgListContentsParameters.js.map +1 -0
  81. package/lib/definitions/SocMsgListIdentitiesParameters.d.ts +43 -0
  82. package/lib/definitions/SocMsgListIdentitiesParameters.js +3 -0
  83. package/lib/definitions/SocMsgListIdentitiesParameters.js.map +1 -0
  84. package/lib/definitions/TokenInfo.d.ts +19 -0
  85. package/lib/definitions/TokenIntrospectionResponse.d.ts +47 -0
  86. package/lib/definitions/TokenIntrospectionResponse.js +3 -0
  87. package/lib/definitions/TokenIntrospectionResponse.js.map +1 -0
  88. package/lib/definitions/UserPhoneNumberInfo.d.ts +1 -1
  89. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.d.ts +67 -0
  90. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js +85 -0
  91. package/lib/paths/Cx/SocialMessaging/V1/Contents/index.js.map +1 -0
  92. package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.d.ts +17 -0
  93. package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.js +25 -0
  94. package/lib/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.js.map +1 -0
  95. package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.d.ts +19 -0
  96. package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.js +27 -0
  97. package/lib/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.js.map +1 -0
  98. package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.d.ts +20 -0
  99. package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.js +27 -0
  100. package/lib/paths/Cx/SocialMessaging/V1/Identities/Import/index.js.map +1 -0
  101. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.d.ts +42 -0
  102. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js +67 -0
  103. package/lib/paths/Cx/SocialMessaging/V1/Identities/index.js.map +1 -0
  104. package/lib/paths/Cx/SocialMessaging/V1/index.d.ts +12 -0
  105. package/lib/paths/Cx/SocialMessaging/V1/index.js +24 -0
  106. package/lib/paths/Cx/SocialMessaging/V1/index.js.map +1 -0
  107. package/lib/paths/Cx/SocialMessaging/index.d.ts +10 -0
  108. package/lib/paths/Cx/SocialMessaging/index.js +20 -0
  109. package/lib/paths/Cx/SocialMessaging/index.js.map +1 -0
  110. package/lib/paths/Cx/index.d.ts +9 -0
  111. package/lib/paths/Cx/index.js +19 -0
  112. package/lib/paths/Cx/index.js.map +1 -0
  113. package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.d.ts +3 -1
  114. package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.js +3 -1
  115. package/lib/paths/Rcvideo/V1/Account/Extension/Recordings/index.js.map +1 -1
  116. package/lib/paths/Rcvideo/V1/Account/Recordings/index.d.ts +3 -1
  117. package/lib/paths/Rcvideo/V1/Account/Recordings/index.js +3 -1
  118. package/lib/paths/Rcvideo/V1/Account/Recordings/index.js.map +1 -1
  119. package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.d.ts +1 -2
  120. package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.js +2 -2
  121. package/lib/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.js.map +1 -1
  122. package/lib/paths/Restapi/Account/CallQueues/index.d.ts +1 -4
  123. package/lib/paths/Restapi/Account/CallQueues/index.js +2 -4
  124. package/lib/paths/Restapi/Account/CallQueues/index.js.map +1 -1
  125. package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.d.ts +18 -0
  126. package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.js +24 -0
  127. package/lib/paths/Restapi/Account/Extension/AssignableRoles/index.js.map +1 -0
  128. package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.d.ts +0 -1
  129. package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js +0 -1
  130. package/lib/paths/Restapi/Account/Extension/OverflowSettings/index.js.map +1 -1
  131. package/lib/paths/Restapi/Account/Extension/index.d.ts +2 -0
  132. package/lib/paths/Restapi/Account/Extension/index.js +4 -0
  133. package/lib/paths/Restapi/Account/Extension/index.js.map +1 -1
  134. package/lib/paths/Restapi/Account/UserRole/index.d.ts +3 -2
  135. package/lib/paths/Restapi/Account/UserRole/index.js +2 -2
  136. package/lib/paths/Restapi/Account/UserRole/index.js.map +1 -1
  137. package/lib/paths/Restapi/Oauth/Introspect/index.d.ts +24 -0
  138. package/lib/paths/Restapi/Oauth/Introspect/index.js +30 -0
  139. package/lib/paths/Restapi/Oauth/Introspect/index.js.map +1 -0
  140. package/lib/paths/Restapi/Oauth/SessionInfo/index.d.ts +17 -0
  141. package/lib/paths/Restapi/Oauth/SessionInfo/index.js +24 -0
  142. package/lib/paths/Restapi/Oauth/SessionInfo/index.js.map +1 -0
  143. package/lib/paths/Restapi/Oauth/index.d.ts +4 -0
  144. package/lib/paths/Restapi/Oauth/index.js +8 -0
  145. package/lib/paths/Restapi/Oauth/index.js.map +1 -1
  146. package/package.json +6 -6
  147. package/src/Rest.ts +1 -1
  148. package/src/definitions/AccountInfo.ts +2 -2
  149. package/src/definitions/AccountStatusInfo.ts +10 -9
  150. package/src/definitions/ActivePermissionResource.ts +1 -1
  151. package/src/definitions/AutoShared.ts +17 -0
  152. package/src/definitions/CallQueueDetails.ts +15 -4
  153. package/src/definitions/CallQueueInfo.ts +10 -0
  154. package/src/definitions/CallQueueOverflowSettings.ts +2 -2
  155. package/src/definitions/CloudRecording.ts +13 -2
  156. package/src/definitions/ContentAttachment.ts +85 -0
  157. package/src/definitions/ContentBodyFormatted.ts +14 -0
  158. package/src/definitions/ContentContextData.ts +10 -0
  159. package/src/definitions/ContentList.ts +16 -0
  160. package/src/definitions/ContentModel.ts +303 -0
  161. package/src/definitions/CreateContentRequest.ts +147 -0
  162. package/src/definitions/ExtensionUpdateRequest.ts +1 -1
  163. package/src/definitions/GetExtensionInfoResponse.ts +1 -1
  164. package/src/definitions/GetExtensionListInfoResponse.ts +1 -1
  165. package/src/definitions/Host.ts +3 -3
  166. package/src/definitions/IdentitiesList.ts +16 -0
  167. package/src/definitions/IdentityExtraValues.ts +7 -0
  168. package/src/definitions/IdentityModel.ts +280 -0
  169. package/src/definitions/ImportIdentityRequest.ts +73 -0
  170. package/src/definitions/IntrospectTokenRequest.ts +15 -0
  171. package/src/definitions/ListCallQueuesParameters.ts +2 -4
  172. package/src/definitions/ListExtensionsParameters.ts +1 -0
  173. package/src/definitions/ListOfAvailableForAssigningRolesParameters.ts +27 -0
  174. package/src/definitions/ListStandardUserRoleParameters.ts +6 -0
  175. package/src/definitions/ListVideoMeetingsParameters.ts +19 -1
  176. package/src/definitions/Meeting.ts +30 -13
  177. package/src/definitions/MeetingPage.ts +3 -1
  178. package/src/definitions/NonEnumeratedPagingModel.ts +36 -0
  179. package/src/definitions/Paging.ts +1 -0
  180. package/src/definitions/Participant.ts +12 -5
  181. package/src/definitions/PermissionIdResource.ts +6 -0
  182. package/src/definitions/PermissionsCapabilities.ts +21 -0
  183. package/src/definitions/ReadUserRoleParameters.ts +12 -0
  184. package/src/definitions/Recording.ts +23 -7
  185. package/src/definitions/RecordingsPreferences.ts +5 -0
  186. package/src/definitions/RoleResource.ts +7 -1
  187. package/src/definitions/SessionInfoResponse.ts +50 -0
  188. package/src/definitions/SipInfoResponse.ts +1 -1
  189. package/src/definitions/SocMsgListContentsParameters.ts +70 -0
  190. package/src/definitions/SocMsgListIdentitiesParameters.ts +50 -0
  191. package/src/definitions/TokenInfo.ts +23 -0
  192. package/src/definitions/TokenIntrospectionResponse.ts +56 -0
  193. package/src/definitions/UserPhoneNumberInfo.ts +1 -1
  194. package/src/paths/Cx/SocialMessaging/V1/Contents/index.ts +98 -0
  195. package/src/paths/Cx/SocialMessaging/V1/Identities/Anonymize/index.ts +27 -0
  196. package/src/paths/Cx/SocialMessaging/V1/Identities/Deanonymize/index.ts +29 -0
  197. package/src/paths/Cx/SocialMessaging/V1/Identities/Import/index.ts +33 -0
  198. package/src/paths/Cx/SocialMessaging/V1/Identities/index.ts +75 -0
  199. package/src/paths/Cx/SocialMessaging/V1/index.ts +25 -0
  200. package/src/paths/Cx/SocialMessaging/index.ts +20 -0
  201. package/src/paths/Cx/index.ts +18 -0
  202. package/src/paths/Rcvideo/V1/Account/Extension/Recordings/index.ts +3 -1
  203. package/src/paths/Rcvideo/V1/Account/Recordings/index.ts +3 -1
  204. package/src/paths/Rcvideo/V1/Accounts/Extensions/Delegators/index.ts +2 -6
  205. package/src/paths/Restapi/Account/CallQueues/index.ts +2 -5
  206. package/src/paths/Restapi/Account/Extension/AssignableRoles/index.ts +31 -0
  207. package/src/paths/Restapi/Account/Extension/OverflowSettings/index.ts +0 -1
  208. package/src/paths/Restapi/Account/Extension/index.ts +5 -0
  209. package/src/paths/Restapi/Account/UserRole/index.ts +5 -4
  210. package/src/paths/Restapi/Oauth/Introspect/index.ts +42 -0
  211. package/src/paths/Restapi/Oauth/SessionInfo/index.ts +27 -0
  212. package/src/paths/Restapi/Oauth/index.ts +10 -0
  213. package/src/samples.md +3999 -3738
  214. package/lib/definitions/CallQueueOverflowAgent.d.ts +0 -19
  215. package/lib/definitions/CallQueueOverflowAgent.js.map +0 -1
  216. package/lib/definitions/CallQueueUpdateDetails.d.ts +0 -16
  217. package/lib/definitions/CallQueueUpdateDetails.js.map +0 -1
  218. package/lib/definitions/RcvListDelegatorsParameters.d.ts +0 -9
  219. package/lib/definitions/RcvListDelegatorsParameters.js.map +0 -1
  220. package/lib/definitions/StatusInfo.d.ts +0 -22
  221. package/lib/definitions/StatusInfo.js.map +0 -1
  222. package/src/definitions/CallQueueOverflowAgent.ts +0 -23
  223. package/src/definitions/CallQueueUpdateDetails.ts +0 -20
  224. package/src/definitions/RcvListDelegatorsParameters.ts +0 -10
  225. package/src/definitions/StatusInfo.ts +0 -25
@@ -0,0 +1,131 @@
1
+ import type ContentContextData from './ContentContextData';
2
+ interface CreateContentRequest {
3
+ /**
4
+ * Identity identifier of the author of content.
5
+ *
6
+ * Not mandatory on creation, by default it uses the token's user first identity on channel.
7
+ * Example: 541014e17aa58d8ccf000023
8
+ */
9
+ authorIdentityId?: string;
10
+ /**
11
+ * The content's body.
12
+ *
13
+ * On creation this field is mandatory except for WhatsApp content using templates.
14
+ *
15
+ * The following are the max length restrictions for the different channels supported.
16
+ * Channel and max length
17
+ * * Apple Messages For Business (max length 10000)
18
+ * * Email (max length 262144)
19
+ * * Engage Messaging (max length 1024)
20
+ * * Facebook (max length 8000)
21
+ * * GoogleBusinessMessages (max length 3000)
22
+ * * Google My Business (max length 4000)
23
+ * * Instagram (max length 950)
24
+ * * Instagram Messaging (max length 1000)
25
+ * * LinkedIn (max length 3000)
26
+ * * Messenger (max length 2000)
27
+ * * Twitter (max length 280)
28
+ * * Viber (max length 7000)
29
+ * * WhatsApp (max length 3800)
30
+ * * Youtube (max length 8000)
31
+ * Example: Body of the content
32
+ */
33
+ body?: string;
34
+ /**
35
+ * The content identifier to which this content is a reply to.
36
+ *
37
+ * On creation, if omitted, a new discussion will be created. If the channel does not support to initiate discussion this parameter is mandatory.
38
+ * Example: 123414e17asdd8ccf000023
39
+ */
40
+ inReplyToContentId?: string;
41
+ /**
42
+ * True if the content is publicly visible on the remote channel (default).
43
+ *
44
+ * Private content is NOT supported on every channel.
45
+ * Default: true
46
+ */
47
+ public?: boolean;
48
+ /**
49
+ * Identifier of the channel.
50
+ *
51
+ * On creation if `inReplyToContentId` is specified, the channel will be determined from it. Otherwise, this parameter is mandatory.
52
+ * Example: fff415437asdd8ccf000023
53
+ */
54
+ sourceId?: string;
55
+ /**
56
+ * An array containing the attachment identifiers that need to be attached to the content.
57
+ * Example: 541014e17aa58d8ccf000023,541014e17aa58d8ccf000023
58
+ */
59
+ attachmentIds?: string[];
60
+ /**
61
+ * Applicable to Email channels only.
62
+ *
63
+ * The subject of the email.
64
+ *
65
+ * This field is mandatory when initiating a discussion.
66
+ * Example: An email title
67
+ */
68
+ title?: string;
69
+ /**
70
+ * Applicable on Email channels only.
71
+ *
72
+ * An array containing the email addresses used in sections of the email.
73
+ *
74
+ * This parameter is mandatory when initiating a discussion.
75
+ */
76
+ to?: string[];
77
+ /**
78
+ * Applicable on Email channels only.
79
+ *
80
+ * An array containing the email addresses used in sections of the email.
81
+ *
82
+ * This parameter is mandatory when initiating a discussion.
83
+ */
84
+ cc?: string[];
85
+ /**
86
+ * Applicable on Email channels only.
87
+ *
88
+ * An array containing the email addresses used in sections of the email.
89
+ *
90
+ * This parameter is mandatory when initiating a discussion.
91
+ */
92
+ bcc?: string[];
93
+ /**
94
+ * Applicable to WhatsApp channels only.
95
+ *
96
+ * Name of the Whatsapp template to use for the content.
97
+ *
98
+ * All available template names are visible on the Whatsapp Business Manager interface.
99
+ * Example: customer_order_shipment_template
100
+ */
101
+ templateName?: string;
102
+ /**
103
+ * Applicable to WhatsApp channels only.
104
+ *
105
+ * Language of the Whatsapp template to use for the content. All available template languages are visible on the Whatsapp Business Manager interface.
106
+ *
107
+ * Language specified must conform to the ISO 639-1 alpha-2 codes for representing the names of languages.
108
+ * Example: fr
109
+ */
110
+ templateLanguage?: string;
111
+ /**
112
+ * Applicable to WhatsApp channels only.
113
+ *
114
+ * Component configuration of the Whatsapp template to use for the content.
115
+ *
116
+ * All available components are visible on the Whatsapp Business Manager interface.
117
+ * Example: [object Object],[object Object]
118
+ */
119
+ components?: object[];
120
+ /**
121
+ */
122
+ contextData?: ContentContextData;
123
+ /**
124
+ * Auto submitted content:
125
+ * - won't reopen tasks or interventions
126
+ * - can be used to send automatic messages like asking an user to follow on twitter, sending a survey, etc,
127
+ * - doesn't get included in statistics
128
+ */
129
+ autoSubmitted?: boolean;
130
+ }
131
+ export default CreateContentRequest;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateContentRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateContentRequest.js","sourceRoot":"","sources":["../../src/definitions/CreateContentRequest.ts"],"names":[],"mappings":""}
@@ -61,7 +61,7 @@ interface ExtensionUpdateRequest {
61
61
  * Extension subtype, if applicable. For any unsupported subtypes
62
62
  * the 'Unknown' value will be returned
63
63
  */
64
- subType?: 'VideoPro' | 'VideoProPlus' | 'DigitalSignageOnlyRooms' | 'Unknown';
64
+ subType?: 'VideoPro' | 'VideoProPlus' | 'DigitalSignageOnlyRooms' | 'Unknown' | 'Emergency';
65
65
  /**
66
66
  * List of non-RC internal identifiers assigned to an extension
67
67
  */
@@ -113,7 +113,7 @@ interface GetExtensionInfoResponse {
113
113
  * Extension subtype, if applicable. For any unsupported subtypes the
114
114
  * `Unknown` value will be returned
115
115
  */
116
- subType?: 'VideoPro' | 'VideoProPlus' | 'DigitalSignage' | 'Unknown';
116
+ subType?: 'VideoPro' | 'VideoProPlus' | 'DigitalSignage' | 'Unknown' | 'Emergency';
117
117
  /**
118
118
  */
119
119
  callQueueInfo?: CallQueueExtensionInfo;
@@ -50,7 +50,7 @@ interface GetExtensionListInfoResponse {
50
50
  * Extension subtype, if applicable. For any unsupported subtypes the
51
51
  * `Unknown` value will be returned
52
52
  */
53
- subType?: 'VideoPro' | 'VideoProPlus' | 'DigitalSignage' | 'Unknown';
53
+ subType?: 'VideoPro' | 'VideoProPlus' | 'DigitalSignage' | 'Unknown' | 'Emergency';
54
54
  /**
55
55
  */
56
56
  callQueueInfo?: CallQueueExtensionInfo;
@@ -3,15 +3,15 @@
3
3
  */
4
4
  interface Host {
5
5
  /**
6
- * account id
6
+ * Account id
7
7
  */
8
8
  accountId?: string;
9
9
  /**
10
- * extension id
10
+ * Extension id
11
11
  */
12
12
  extensionId?: string;
13
13
  /**
14
- * displayName
14
+ * Display name
15
15
  */
16
16
  displayName?: string;
17
17
  }
@@ -0,0 +1,13 @@
1
+ import type IdentityModel from './IdentityModel';
2
+ import type NonEnumeratedPagingModel from './NonEnumeratedPagingModel';
3
+ interface IdentitiesList {
4
+ /**
5
+ * Required
6
+ */
7
+ records?: IdentityModel[];
8
+ /**
9
+ * Required
10
+ */
11
+ paging?: NonEnumeratedPagingModel;
12
+ }
13
+ export default IdentitiesList;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IdentitiesList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IdentitiesList.js","sourceRoot":"","sources":["../../src/definitions/IdentitiesList.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Additional data to store along the identity.
3
+ */
4
+ interface IdentityExtraValues {
5
+ }
6
+ export default IdentityExtraValues;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IdentityExtraValues.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IdentityExtraValues.js","sourceRoot":"","sources":["../../src/definitions/IdentityExtraValues.ts"],"names":[],"mappings":""}
@@ -0,0 +1,231 @@
1
+ import type IdentityExtraValues from './IdentityExtraValues';
2
+ interface IdentityModel {
3
+ /**
4
+ * Identity identifier.
5
+ * Required
6
+ * Example: 506d9e817aa58d1259000f12
7
+ */
8
+ id?: string;
9
+ /**
10
+ * Identity's avatar Uri.
11
+ * Format: uri
12
+ * Example: https://example.com/assets/avatar/default-79fd530c58c2a6b83a11fcc0e842ed7023ceb69292cfeb857bc2af2c624b90fd.png
13
+ */
14
+ avatarUri?: string;
15
+ /**
16
+ * Company.
17
+ * Example: Test Company
18
+ */
19
+ company?: string;
20
+ /**
21
+ * Creation time of the resource.
22
+ * Required
23
+ * Format: date-time
24
+ * Example: 2023-02-04T12:43:07Z
25
+ */
26
+ creationTime?: string;
27
+ /**
28
+ * Display name of the identity.
29
+ * Example: John Doe
30
+ */
31
+ displayName?: string;
32
+ /**
33
+ * Email address.
34
+ * Format: email
35
+ * Example: user@example.com
36
+ */
37
+ emailAddress?: string;
38
+ /**
39
+ */
40
+ extraValues?: IdentityExtraValues;
41
+ /**
42
+ * FirstName.
43
+ * Example: John
44
+ */
45
+ firstName?: string;
46
+ /**
47
+ * Gender.
48
+ * Example: Woman
49
+ */
50
+ gender?: 'Man' | 'Woman';
51
+ /**
52
+ * Phone number.
53
+ * Example: +33634231224
54
+ */
55
+ homePhone?: string;
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.
61
+ * Example: 54085e5b7aa58d8b5d00006c
62
+ */
63
+ identityGroupId?: string;
64
+ /**
65
+ * LastName.
66
+ * Example: Doe
67
+ */
68
+ lastName?: string;
69
+ /**
70
+ * Phone number.
71
+ * Example: +33634231224
72
+ */
73
+ mobilePhone?: string;
74
+ /**
75
+ * Screen name of the identity.
76
+ * Example: John D.
77
+ */
78
+ screenName?: string;
79
+ /**
80
+ * Type of the identity.
81
+ * Required
82
+ */
83
+ type?: 'AppleMessagesForBusiness' | 'Email' | 'EngageMessaging' | 'Facebook' | 'GoogleBusinessMessages' | 'GoogleMyBusiness' | 'Instagram' | 'Linkedin' | 'Twitter' | 'Viber' | 'WhatsApp' | 'Youtube';
84
+ /**
85
+ * The time when the last modification was completed.
86
+ * Required
87
+ * Format: date-time
88
+ * Example: 2023-02-04T12:43:07Z
89
+ */
90
+ lastModifiedTime?: string;
91
+ /**
92
+ * List of the associated user identifiers who can use the identity.
93
+ */
94
+ userIds?: string[];
95
+ /**
96
+ * UUID of the identity.
97
+ * Example: 9680ab94-3b78-495c-bb2c-a969954d8260
98
+ */
99
+ uuid?: string;
100
+ /**
101
+ * Device info of the identity.
102
+ *
103
+ * Applicable to Engage Messaging channels only.
104
+ * Example: iPhone (iPhone); iOS 15.0.2
105
+ */
106
+ mobileDeviceInfo?: string;
107
+ /**
108
+ * Facebook biography of the identity.
109
+ *
110
+ * Applicable to Facebook and Messenger channels only.
111
+ * Example: Painter living in Paris
112
+ */
113
+ fbBio?: string;
114
+ /**
115
+ * Facebook category of the identity.
116
+ *
117
+ * Applicable to Facebook and Messenger channels only.
118
+ * Example: Computers/Internet
119
+ */
120
+ fbCategory?: string;
121
+ /**
122
+ * Facebook locale of the identity.
123
+ *
124
+ * Applicable to Facebook and Messenger channels only.
125
+ * Example: fr_FR
126
+ */
127
+ fbLocale?: string;
128
+ /**
129
+ * Instagram followers count of the identity.
130
+ *
131
+ * Applicable to Instagram and InstagramMessaging channels only.
132
+ * Format: int32
133
+ * Example: 10
134
+ */
135
+ igFollowersCount?: number;
136
+ /**
137
+ * Twitter description of the identity.
138
+ *
139
+ * Applicable to Twitter channels only.
140
+ * Example: Software Engineer
141
+ */
142
+ twDescription?: string;
143
+ /**
144
+ * Twitter followers count of the identity.
145
+ *
146
+ * Applicable to Twitter channels only.
147
+ * Format: int32
148
+ * Example: 10
149
+ */
150
+ twFollowersCount?: number;
151
+ /**
152
+ * Count of Twitter accounts followed by the identity.
153
+ *
154
+ * Applicable to Twitter channels only.
155
+ * Format: int32
156
+ * Example: 500
157
+ */
158
+ twFollowingCount?: number;
159
+ /**
160
+ * Count of tweets of the identity.
161
+ *
162
+ * Applicable to Twitter channels only.
163
+ * Format: int32
164
+ * Example: 42
165
+ */
166
+ twStatusesCount?: number;
167
+ /**
168
+ * Twitter location of the identity.
169
+ *
170
+ * Applicable to Twitter channels only.
171
+ * Example: Paris
172
+ */
173
+ twLocation?: string;
174
+ /**
175
+ * Viber API version of the identity.
176
+ *
177
+ * Applicable to Viber channels only.
178
+ * Example: 10
179
+ */
180
+ apiVersion?: string;
181
+ /**
182
+ * Viber country of the identity.
183
+ *
184
+ * Applicable to Viber channels only.
185
+ * Example: FR
186
+ */
187
+ country?: string;
188
+ /**
189
+ * Viber device type of the identity.
190
+ *
191
+ * Applicable to Viber channels only.
192
+ * Example: SM-G970U1
193
+ */
194
+ deviceType?: string;
195
+ /**
196
+ * Viber language of the identity.
197
+ *
198
+ * Applicable to Viber channels only.
199
+ * Example: fr-FR
200
+ */
201
+ language?: string;
202
+ /**
203
+ * Viber mobile country code of the identity.
204
+ *
205
+ * Applicable to Viber channels only.
206
+ * Example: 1
207
+ */
208
+ mcc?: string;
209
+ /**
210
+ * Viber mobile network code of the identity.
211
+ *
212
+ * Applicable to Viber channels only.
213
+ * Example: 220
214
+ */
215
+ mnc?: string;
216
+ /**
217
+ * Viber primary device OS of the identity.
218
+ *
219
+ * Applicable to Viber channels only.
220
+ * Example: Android 11
221
+ */
222
+ primaryDeviceOs?: string;
223
+ /**
224
+ * Viber application version of the identity.
225
+ *
226
+ * Applicable to Viber channels only.
227
+ * Example: 19.5.0
228
+ */
229
+ viberVersion?: string;
230
+ }
231
+ export default IdentityModel;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IdentityModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IdentityModel.js","sourceRoot":"","sources":["../../src/definitions/IdentityModel.ts"],"names":[],"mappings":""}
@@ -0,0 +1,61 @@
1
+ import type IdentityExtraValues from './IdentityExtraValues';
2
+ interface ImportIdentityRequest {
3
+ /**
4
+ * Identifier of the identity on the remote channel.
5
+ * Required
6
+ * Example: 9680ab94-3b78-495c-bb2c-a969954d8260
7
+ */
8
+ foreignId?: string;
9
+ /**
10
+ * The channel identifier to create the identity for.
11
+ * Required
12
+ * Example: 541014e17aa58d8ccf000023
13
+ */
14
+ sourceId?: string;
15
+ /**
16
+ * Company.
17
+ * Example: Test Company
18
+ */
19
+ company?: string;
20
+ /**
21
+ * FirstName.
22
+ * Example: John
23
+ */
24
+ firstName?: string;
25
+ /**
26
+ * Gender.
27
+ * Example: Woman
28
+ */
29
+ gender?: 'Man' | 'Woman';
30
+ /**
31
+ * Phone number.
32
+ * Example: +33634231224
33
+ */
34
+ homePhone?: string;
35
+ /**
36
+ * LastName.
37
+ * Example: Doe
38
+ */
39
+ lastName?: string;
40
+ /**
41
+ * Phone number.
42
+ * Example: +33634231224
43
+ */
44
+ mobilePhone?: string;
45
+ /**
46
+ * Screen name of the identity.
47
+ * Example: John D.
48
+ */
49
+ screenName?: string;
50
+ /**
51
+ */
52
+ extraValues?: IdentityExtraValues;
53
+ /**
54
+ * Permit to update an existing identity if set to true.
55
+ *
56
+ * false by default.
57
+ * Example: true
58
+ */
59
+ upsert?: boolean;
60
+ }
61
+ export default ImportIdentityRequest;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ImportIdentityRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImportIdentityRequest.js","sourceRoot":"","sources":["../../src/definitions/ImportIdentityRequest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
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;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IntrospectTokenRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IntrospectTokenRequest.js","sourceRoot":"","sources":["../../src/definitions/IntrospectTokenRequest.ts"],"names":[],"mappings":""}
@@ -3,8 +3,7 @@
3
3
  */
4
4
  interface ListCallQueuesParameters {
5
5
  /**
6
- * Indicates a page number to retrieve. Only positive number values
7
- * are accepted
6
+ * Indicates a page number to retrieve. Only positive number values are accepted
8
7
  * Format: int32
9
8
  * Default: 1
10
9
  */
@@ -16,8 +15,7 @@ interface ListCallQueuesParameters {
16
15
  */
17
16
  perPage?: number;
18
17
  /**
19
- * Internal identifier of an extension that is a member of every
20
- * group within the result
18
+ * Internal identifier of an extension that is a member of every group within the result
21
19
  */
22
20
  memberExtensionId?: string;
23
21
  }
@@ -35,6 +35,6 @@ interface ListExtensionsParameters {
35
35
  * that legacy 'Department' extension type corresponds to 'Call Queue'
36
36
  * extensions in modern RingCentral product terminology
37
37
  */
38
- type?: ('User' | 'FaxUser' | 'FlexibleUser' | 'VirtualUser' | 'DigitalUser' | 'Department' | 'Announcement' | 'Voicemail' | 'SharedLinesGroup' | 'PagingOnly' | 'IvrMenu' | 'ApplicationExtension' | 'ParkLocation' | 'Limited' | 'Bot' | 'ProxyAdmin' | 'DelegatedLinesGroup')[];
38
+ type?: ('User' | 'FaxUser' | 'FlexibleUser' | 'VirtualUser' | 'DigitalUser' | 'Department' | 'Announcement' | 'Voicemail' | 'SharedLinesGroup' | 'PagingOnly' | 'IvrMenu' | 'ApplicationExtension' | 'ParkLocation' | 'Limited' | 'Bot' | 'ProxyAdmin' | 'DelegatedLinesGroup' | 'Site')[];
39
39
  }
40
40
  export default ListExtensionsParameters;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Query parameters for operation listOfAvailableForAssigningRoles
3
+ */
4
+ interface ListOfAvailableForAssigningRolesParameters {
5
+ /**
6
+ * The result set page number (1-indexed) to return
7
+ * Maximum: 1000
8
+ * Minimum: 1
9
+ * Format: int32
10
+ * Example: 1
11
+ * Default: 1
12
+ */
13
+ page?: number;
14
+ /**
15
+ * The number of items per page. If provided value in the request
16
+ * is greater than a maximum, the maximum value is applied
17
+ * Maximum: 1000
18
+ * Minimum: 1
19
+ * Format: int32
20
+ * Example: 100
21
+ * Default: 100
22
+ */
23
+ perPage?: number;
24
+ }
25
+ export default ListOfAvailableForAssigningRolesParameters;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListOfAvailableForAssigningRolesParameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListOfAvailableForAssigningRolesParameters.js","sourceRoot":"","sources":["../../src/definitions/ListOfAvailableForAssigningRolesParameters.ts"],"names":[],"mappings":""}
@@ -25,5 +25,10 @@ interface ListStandardUserRoleParameters {
25
25
  * Default: 100
26
26
  */
27
27
  perPage?: number;
28
+ /**
29
+ * Specifies whether to return advanced permissions capabilities within `permissionsCapabilities` resource.
30
+ * The default value is false.
31
+ */
32
+ advancedPermissions?: boolean;
28
33
  }
29
34
  export default ListStandardUserRoleParameters;
@@ -16,8 +16,24 @@ interface ListVideoMeetingsParameters {
16
16
  */
17
17
  perPage?: number;
18
18
  /**
19
- * Type of returned data
19
+ * Specify what kind of meeting should be returned. Possible values: All, My, Deleted, Shared
20
+ * Request type meaning in meeting search:
21
+ * `None` (not passed) - take meetings only where requested acc/ext is participant OR host OR deputy OR watcher.
22
+ * `ALL`- access rights of meeting is equal to Alive AND requested acc/ext is in watchers list OR host OR deputy
23
+ * `My`- access rights of meeting is equal to Alive AND requested acc/ext is host OR deputy
24
+ * `Shared` - access rights of meeting is equal to Alive AND requested acc/ext is in watcher list AND not HOST
25
+ * `Deleted` - access rights of meeting is equal to Delete and requested acc/ext is host OR deputy
20
26
  */
21
27
  type?: 'All' | 'My' | 'Deleted' | 'Shared';
28
+ /**
29
+ * Unix timestamp in milliseconds (inclusive) indicates the start time of meetings which should be included in response
30
+ * Format: int64
31
+ */
32
+ startTime?: number;
33
+ /**
34
+ * Unix timestamp in milliseconds (inclusive) indicates the end time of meetings which should be included in response
35
+ * Format: int64
36
+ */
37
+ endTime?: number;
22
38
  }
23
39
  export default ListVideoMeetingsParameters;