@webex/calling 0.0.1-next.8 → 3.0.0-next.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 (283) hide show
  1. package/dist/CallHistory/CallHistory.js +203 -0
  2. package/dist/CallHistory/CallHistory.js.map +1 -0
  3. package/dist/CallHistory/CallHistory.test.js +133 -0
  4. package/dist/CallHistory/CallHistory.test.js.map +1 -0
  5. package/dist/CallHistory/callHistoryFixtures.js +310 -0
  6. package/dist/CallHistory/callHistoryFixtures.js.map +1 -0
  7. package/dist/CallHistory/constants.js +26 -0
  8. package/dist/CallHistory/constants.js.map +1 -0
  9. package/dist/CallHistory/types.js +7 -0
  10. package/dist/CallHistory/types.js.map +1 -0
  11. package/dist/CallSettings/CallSettings.js +276 -0
  12. package/dist/CallSettings/CallSettings.js.map +1 -0
  13. package/dist/CallSettings/CallSettings.test.js +122 -0
  14. package/dist/CallSettings/CallSettings.test.js.map +1 -0
  15. package/dist/CallSettings/UcmBackendConnector.js +217 -0
  16. package/dist/CallSettings/UcmBackendConnector.js.map +1 -0
  17. package/dist/CallSettings/UcmBackendConnector.test.js +227 -0
  18. package/dist/CallSettings/UcmBackendConnector.test.js.map +1 -0
  19. package/dist/CallSettings/WxCallBackendConnector.js +541 -0
  20. package/dist/CallSettings/WxCallBackendConnector.js.map +1 -0
  21. package/dist/CallSettings/WxCallBackendConnector.test.js +802 -0
  22. package/dist/CallSettings/WxCallBackendConnector.test.js.map +1 -0
  23. package/dist/CallSettings/constants.js +30 -0
  24. package/dist/CallSettings/constants.js.map +1 -0
  25. package/dist/CallSettings/testFixtures.js +72 -0
  26. package/dist/CallSettings/testFixtures.js.map +1 -0
  27. package/dist/CallSettings/types.js +7 -0
  28. package/dist/CallSettings/types.js.map +1 -0
  29. package/dist/CallingClient/CallingClient.js +572 -0
  30. package/dist/CallingClient/CallingClient.js.map +1 -0
  31. package/dist/CallingClient/CallingClient.test.js +931 -0
  32. package/dist/CallingClient/CallingClient.test.js.map +1 -0
  33. package/dist/CallingClient/callRecordFixtures.js +103 -0
  34. package/dist/CallingClient/callRecordFixtures.js.map +1 -0
  35. package/dist/CallingClient/calling/CallerId/index.js +287 -0
  36. package/dist/CallingClient/calling/CallerId/index.js.map +1 -0
  37. package/dist/CallingClient/calling/CallerId/index.test.js +274 -0
  38. package/dist/CallingClient/calling/CallerId/index.test.js.map +1 -0
  39. package/dist/CallingClient/calling/CallerId/types.js +7 -0
  40. package/dist/CallingClient/calling/CallerId/types.js.map +1 -0
  41. package/dist/CallingClient/calling/call.js +2995 -0
  42. package/dist/CallingClient/calling/call.js.map +1 -0
  43. package/dist/CallingClient/calling/call.test.js +2614 -0
  44. package/dist/CallingClient/calling/call.test.js.map +1 -0
  45. package/dist/CallingClient/calling/callManager.js +443 -0
  46. package/dist/CallingClient/calling/callManager.js.map +1 -0
  47. package/dist/CallingClient/calling/callManager.test.js +683 -0
  48. package/dist/CallingClient/calling/callManager.test.js.map +1 -0
  49. package/dist/CallingClient/calling/index.js +30 -0
  50. package/dist/CallingClient/calling/index.js.map +1 -0
  51. package/dist/CallingClient/calling/types.js +71 -0
  52. package/dist/CallingClient/calling/types.js.map +1 -0
  53. package/dist/CallingClient/callingClientFixtures.js +53 -0
  54. package/dist/CallingClient/callingClientFixtures.js.map +1 -0
  55. package/dist/CallingClient/constants.js +226 -0
  56. package/dist/CallingClient/constants.js.map +1 -0
  57. package/dist/CallingClient/line/index.js +312 -0
  58. package/dist/CallingClient/line/index.js.map +1 -0
  59. package/dist/CallingClient/line/line.test.js +270 -0
  60. package/dist/CallingClient/line/line.test.js.map +1 -0
  61. package/dist/CallingClient/line/types.js +25 -0
  62. package/dist/CallingClient/line/types.js.map +1 -0
  63. package/dist/CallingClient/registration/index.js +19 -0
  64. package/dist/CallingClient/registration/index.js.map +1 -0
  65. package/dist/CallingClient/registration/register.js +1295 -0
  66. package/dist/CallingClient/registration/register.js.map +1 -0
  67. package/dist/CallingClient/registration/register.test.js +838 -0
  68. package/dist/CallingClient/registration/register.test.js.map +1 -0
  69. package/dist/CallingClient/registration/registerFixtures.js +41 -0
  70. package/dist/CallingClient/registration/registerFixtures.js.map +1 -0
  71. package/dist/CallingClient/registration/types.js +7 -0
  72. package/dist/CallingClient/registration/types.js.map +1 -0
  73. package/dist/CallingClient/types.js +7 -0
  74. package/dist/CallingClient/types.js.map +1 -0
  75. package/dist/Contacts/ContactsClient.js +1139 -0
  76. package/dist/Contacts/ContactsClient.js.map +1 -0
  77. package/dist/Contacts/ContactsClient.test.js +725 -0
  78. package/dist/Contacts/ContactsClient.test.js.map +1 -0
  79. package/dist/Contacts/constants.js +36 -0
  80. package/dist/Contacts/constants.js.map +1 -0
  81. package/dist/Contacts/contactFixtures.js +340 -0
  82. package/dist/Contacts/contactFixtures.js.map +1 -0
  83. package/dist/Contacts/types.js +20 -0
  84. package/dist/Contacts/types.js.map +1 -0
  85. package/dist/Errors/catalog/CallError.js +94 -0
  86. package/dist/Errors/catalog/CallError.js.map +1 -0
  87. package/dist/Errors/catalog/CallingDeviceError.js +88 -0
  88. package/dist/Errors/catalog/CallingDeviceError.js.map +1 -0
  89. package/dist/Errors/catalog/ExtendedError.js +45 -0
  90. package/dist/Errors/catalog/ExtendedError.js.map +1 -0
  91. package/dist/Errors/catalog/LineError.js +90 -0
  92. package/dist/Errors/catalog/LineError.js.map +1 -0
  93. package/dist/Errors/index.js +21 -0
  94. package/dist/Errors/index.js.map +1 -0
  95. package/dist/Errors/types.js +62 -0
  96. package/dist/Errors/types.js.map +1 -0
  97. package/dist/Events/impl/index.js +82 -0
  98. package/dist/Events/impl/index.js.map +1 -0
  99. package/dist/Events/types.js +111 -0
  100. package/dist/Events/types.js.map +1 -0
  101. package/dist/Logger/index.js +221 -0
  102. package/dist/Logger/index.js.map +1 -0
  103. package/dist/Logger/index.test.js +62 -0
  104. package/dist/Logger/index.test.js.map +1 -0
  105. package/dist/Logger/types.js +37 -0
  106. package/dist/Logger/types.js.map +1 -0
  107. package/dist/Metrics/index.js +329 -0
  108. package/dist/Metrics/index.js.map +1 -0
  109. package/dist/Metrics/index.test.js +291 -0
  110. package/dist/Metrics/index.test.js.map +1 -0
  111. package/dist/Metrics/types.js +50 -0
  112. package/dist/Metrics/types.js.map +1 -0
  113. package/dist/SDKConnector/index.js +105 -0
  114. package/dist/SDKConnector/index.js.map +1 -0
  115. package/dist/SDKConnector/index.test.js +9 -0
  116. package/dist/SDKConnector/index.test.js.map +1 -0
  117. package/dist/SDKConnector/types.js +7 -0
  118. package/dist/SDKConnector/types.js.map +1 -0
  119. package/dist/SDKConnector/utils.js +40 -0
  120. package/dist/SDKConnector/utils.js.map +1 -0
  121. package/dist/SDKConnector/utils.test.js +9 -0
  122. package/dist/SDKConnector/utils.test.js.map +1 -0
  123. package/dist/Voicemail/BroadworksBackendConnector.js +632 -0
  124. package/dist/Voicemail/BroadworksBackendConnector.js.map +1 -0
  125. package/dist/Voicemail/BroadworksBackendConnector.test.js +733 -0
  126. package/dist/Voicemail/BroadworksBackendConnector.test.js.map +1 -0
  127. package/dist/Voicemail/UcmBackendConnector.js +566 -0
  128. package/dist/Voicemail/UcmBackendConnector.js.map +1 -0
  129. package/dist/Voicemail/UcmBackendConnector.test.js +628 -0
  130. package/dist/Voicemail/UcmBackendConnector.test.js.map +1 -0
  131. package/dist/Voicemail/Voicemail.js +378 -0
  132. package/dist/Voicemail/Voicemail.js.map +1 -0
  133. package/dist/Voicemail/Voicemail.test.js +226 -0
  134. package/dist/Voicemail/Voicemail.test.js.map +1 -0
  135. package/dist/Voicemail/WxCallBackendConnector.js +540 -0
  136. package/dist/Voicemail/WxCallBackendConnector.js.map +1 -0
  137. package/dist/Voicemail/WxCallBackendConnector.test.js +942 -0
  138. package/dist/Voicemail/WxCallBackendConnector.test.js.map +1 -0
  139. package/dist/Voicemail/constants.js +66 -0
  140. package/dist/Voicemail/constants.js.map +1 -0
  141. package/dist/Voicemail/types.js +7 -0
  142. package/dist/Voicemail/types.js.map +1 -0
  143. package/dist/Voicemail/voicemailFixture.js +559 -0
  144. package/dist/Voicemail/voicemailFixture.js.map +1 -0
  145. package/dist/api.js +134 -0
  146. package/dist/api.js.map +1 -0
  147. package/dist/common/Utils.js +1264 -0
  148. package/dist/common/Utils.js.map +1 -0
  149. package/dist/common/Utils.test.js +1227 -0
  150. package/dist/common/Utils.test.js.map +1 -0
  151. package/dist/common/constants.js +90 -0
  152. package/dist/common/constants.js.map +1 -0
  153. package/dist/common/index.js +19 -0
  154. package/dist/common/index.js.map +1 -0
  155. package/dist/common/testUtil.js +968 -0
  156. package/dist/common/testUtil.js.map +1 -0
  157. package/dist/common/types.js +75 -0
  158. package/dist/common/types.js.map +1 -0
  159. package/dist/index.js +63 -0
  160. package/dist/index.js.map +1 -0
  161. package/dist/module/CallingClient/calling/call.js +8 -1
  162. package/dist/module/index.js +2 -2
  163. package/dist/types/CallHistory/CallHistory.d.ts +18 -0
  164. package/dist/types/CallHistory/CallHistory.d.ts.map +1 -0
  165. package/dist/types/CallHistory/callHistoryFixtures.d.ts +95 -0
  166. package/dist/types/CallHistory/callHistoryFixtures.d.ts.map +1 -0
  167. package/dist/types/CallHistory/constants.d.ts +10 -0
  168. package/dist/types/CallHistory/constants.d.ts.map +1 -0
  169. package/dist/types/CallHistory/types.d.ts +19 -0
  170. package/dist/types/CallHistory/types.d.ts.map +1 -0
  171. package/dist/types/CallSettings/CallSettings.d.ts +20 -0
  172. package/dist/types/CallSettings/CallSettings.d.ts.map +1 -0
  173. package/dist/types/CallSettings/UcmBackendConnector.d.ts +20 -0
  174. package/dist/types/CallSettings/UcmBackendConnector.d.ts.map +1 -0
  175. package/dist/types/CallSettings/WxCallBackendConnector.d.ts +22 -0
  176. package/dist/types/CallSettings/WxCallBackendConnector.d.ts.map +1 -0
  177. package/dist/types/CallSettings/constants.d.ts +12 -0
  178. package/dist/types/CallSettings/constants.d.ts.map +1 -0
  179. package/dist/types/CallSettings/testFixtures.d.ts +16 -0
  180. package/dist/types/CallSettings/testFixtures.d.ts.map +1 -0
  181. package/dist/types/CallSettings/types.d.ts +108 -0
  182. package/dist/types/CallSettings/types.d.ts.map +1 -0
  183. package/dist/types/CallingClient/CallingClient.d.ts +36 -0
  184. package/dist/types/CallingClient/CallingClient.d.ts.map +1 -0
  185. package/dist/types/CallingClient/callRecordFixtures.d.ts +4 -0
  186. package/dist/types/CallingClient/callRecordFixtures.d.ts.map +1 -0
  187. package/dist/types/CallingClient/calling/CallerId/index.d.ts +18 -0
  188. package/dist/types/CallingClient/calling/CallerId/index.d.ts.map +1 -0
  189. package/dist/types/CallingClient/calling/CallerId/types.d.ts +42 -0
  190. package/dist/types/CallingClient/calling/CallerId/types.d.ts.map +1 -0
  191. package/dist/types/CallingClient/calling/call.d.ts +97 -0
  192. package/dist/types/CallingClient/calling/call.d.ts.map +1 -0
  193. package/dist/types/CallingClient/calling/callManager.d.ts +26 -0
  194. package/dist/types/CallingClient/calling/callManager.d.ts.map +1 -0
  195. package/dist/types/CallingClient/calling/index.d.ts +3 -0
  196. package/dist/types/CallingClient/calling/index.d.ts.map +1 -0
  197. package/dist/types/CallingClient/calling/types.d.ts +207 -0
  198. package/dist/types/CallingClient/calling/types.d.ts.map +1 -0
  199. package/dist/types/CallingClient/callingClientFixtures.d.ts +19 -0
  200. package/dist/types/CallingClient/callingClientFixtures.d.ts.map +1 -0
  201. package/dist/types/CallingClient/constants.d.ts +123 -0
  202. package/dist/types/CallingClient/constants.d.ts.map +1 -0
  203. package/dist/types/CallingClient/line/index.d.ts +44 -0
  204. package/dist/types/CallingClient/line/index.d.ts.map +1 -0
  205. package/dist/types/CallingClient/line/types.d.ts +56 -0
  206. package/dist/types/CallingClient/line/types.d.ts.map +1 -0
  207. package/dist/types/CallingClient/registration/index.d.ts +2 -0
  208. package/dist/types/CallingClient/registration/index.d.ts.map +1 -0
  209. package/dist/types/CallingClient/registration/register.d.ts +65 -0
  210. package/dist/types/CallingClient/registration/register.d.ts.map +1 -0
  211. package/dist/types/CallingClient/registration/registerFixtures.d.ts +29 -0
  212. package/dist/types/CallingClient/registration/registerFixtures.d.ts.map +1 -0
  213. package/dist/types/CallingClient/registration/types.d.ts +21 -0
  214. package/dist/types/CallingClient/registration/types.d.ts.map +1 -0
  215. package/dist/types/CallingClient/types.d.ts +30 -0
  216. package/dist/types/CallingClient/types.d.ts.map +1 -0
  217. package/dist/types/Contacts/ContactsClient.d.ts +27 -0
  218. package/dist/types/Contacts/ContactsClient.d.ts.map +1 -0
  219. package/dist/types/Contacts/constants.d.ts +20 -0
  220. package/dist/types/Contacts/constants.d.ts.map +1 -0
  221. package/dist/types/Contacts/contactFixtures.d.ts +281 -0
  222. package/dist/types/Contacts/contactFixtures.d.ts.map +1 -0
  223. package/dist/types/Contacts/types.d.ts +73 -0
  224. package/dist/types/Contacts/types.d.ts.map +1 -0
  225. package/dist/types/Errors/catalog/CallError.d.ts +12 -0
  226. package/dist/types/Errors/catalog/CallError.d.ts.map +1 -0
  227. package/dist/types/Errors/catalog/CallingDeviceError.d.ts +11 -0
  228. package/dist/types/Errors/catalog/CallingDeviceError.d.ts.map +1 -0
  229. package/dist/types/Errors/catalog/ExtendedError.d.ts +7 -0
  230. package/dist/types/Errors/catalog/ExtendedError.d.ts.map +1 -0
  231. package/dist/types/Errors/catalog/LineError.d.ts +11 -0
  232. package/dist/types/Errors/catalog/LineError.d.ts.map +1 -0
  233. package/dist/types/Errors/index.d.ts +3 -0
  234. package/dist/types/Errors/index.d.ts.map +1 -0
  235. package/dist/types/Errors/types.d.ts +61 -0
  236. package/dist/types/Errors/types.d.ts.map +1 -0
  237. package/dist/types/Events/impl/index.d.ts +9 -0
  238. package/dist/types/Events/impl/index.d.ts.map +1 -0
  239. package/dist/types/Events/types.d.ts +289 -0
  240. package/dist/types/Events/types.d.ts.map +1 -0
  241. package/dist/types/Logger/index.d.ts +13 -0
  242. package/dist/types/Logger/index.d.ts.map +1 -0
  243. package/dist/types/Logger/types.d.ts +26 -0
  244. package/dist/types/Logger/types.d.ts.map +1 -0
  245. package/dist/types/Metrics/index.d.ts +6 -0
  246. package/dist/types/Metrics/index.d.ts.map +1 -0
  247. package/dist/types/Metrics/types.d.ts +43 -0
  248. package/dist/types/Metrics/types.d.ts.map +1 -0
  249. package/dist/types/SDKConnector/index.d.ts +13 -0
  250. package/dist/types/SDKConnector/index.d.ts.map +1 -0
  251. package/dist/types/SDKConnector/types.d.ts +129 -0
  252. package/dist/types/SDKConnector/types.d.ts.map +1 -0
  253. package/dist/types/SDKConnector/utils.d.ts +6 -0
  254. package/dist/types/SDKConnector/utils.d.ts.map +1 -0
  255. package/dist/types/Voicemail/BroadworksBackendConnector.d.ts +28 -0
  256. package/dist/types/Voicemail/BroadworksBackendConnector.d.ts.map +1 -0
  257. package/dist/types/Voicemail/UcmBackendConnector.d.ts +35 -0
  258. package/dist/types/Voicemail/UcmBackendConnector.d.ts.map +1 -0
  259. package/dist/types/Voicemail/Voicemail.d.ts +28 -0
  260. package/dist/types/Voicemail/Voicemail.d.ts.map +1 -0
  261. package/dist/types/Voicemail/WxCallBackendConnector.d.ts +24 -0
  262. package/dist/types/Voicemail/WxCallBackendConnector.d.ts.map +1 -0
  263. package/dist/types/Voicemail/constants.d.ts +30 -0
  264. package/dist/types/Voicemail/constants.d.ts.map +1 -0
  265. package/dist/types/Voicemail/types.d.ts +134 -0
  266. package/dist/types/Voicemail/types.d.ts.map +1 -0
  267. package/dist/types/Voicemail/voicemailFixture.d.ts +418 -0
  268. package/dist/types/Voicemail/voicemailFixture.d.ts.map +1 -0
  269. package/dist/types/api.d.ts +17 -0
  270. package/dist/types/api.d.ts.map +1 -0
  271. package/dist/types/common/Utils.d.ts +35 -0
  272. package/dist/types/common/Utils.d.ts.map +1 -0
  273. package/dist/types/common/constants.d.ts +42 -0
  274. package/dist/types/common/constants.d.ts.map +1 -0
  275. package/dist/types/common/index.d.ts +2 -0
  276. package/dist/types/common/index.d.ts.map +1 -0
  277. package/dist/types/common/testUtil.d.ts +3612 -0
  278. package/dist/types/common/testUtil.d.ts.map +1 -0
  279. package/dist/types/common/types.d.ts +192 -0
  280. package/dist/types/common/types.d.ts.map +1 -0
  281. package/dist/types/index.d.ts +9 -0
  282. package/dist/types/index.d.ts.map +1 -0
  283. package/package.json +1 -1
@@ -0,0 +1,281 @@
1
+ export declare const mockCity = "Edinburgh";
2
+ export declare const mockCountry = "UK";
3
+ export declare const mockState = "London";
4
+ export declare const mockStreet = "511, Houston Street";
5
+ export declare const mockZipCode = "455372";
6
+ export declare const mockCompany = "Intel";
7
+ export declare const mockDisplayNameOne = "Jane Doe";
8
+ export declare const mockFirstName = "Jane";
9
+ export declare const mockLastName = "Doe";
10
+ export declare const mockEmail = "jando567@gmail.com";
11
+ export declare const mockNumber1 = "jando@intel.com";
12
+ export declare const mockNumber2 = "6647384294";
13
+ export declare const mockSipAddress = "jando@go.webex.com";
14
+ export declare const mockTitle = "Director";
15
+ export declare const mockGroupName = "Other contacts";
16
+ export declare const mockAvatarURL = "avatar-prod-us-east-2.webexcontent.com";
17
+ export declare const mockDisplayNameTwo = "TestUser Webrtc";
18
+ export declare const mockContactResponseBodyOne: {
19
+ contacts: ({
20
+ avatarUrlDomain: string;
21
+ contactId: string;
22
+ contactType: string;
23
+ encryptionKeyUrl: string;
24
+ groups: string[];
25
+ isMigration: boolean;
26
+ meta: {
27
+ created: string;
28
+ lastModified: string;
29
+ };
30
+ ownerId: string;
31
+ phoneNumbers: {
32
+ type: string;
33
+ value: string;
34
+ }[];
35
+ sipAddresses: {
36
+ type: string;
37
+ value: string;
38
+ }[];
39
+ addressInfo?: undefined;
40
+ avatarURL?: undefined;
41
+ companyName?: undefined;
42
+ displayName?: undefined;
43
+ emails?: undefined;
44
+ firstName?: undefined;
45
+ lastName?: undefined;
46
+ title?: undefined;
47
+ } | {
48
+ addressInfo: {
49
+ city: string;
50
+ country: string;
51
+ state: string;
52
+ street: string;
53
+ zipCode: string;
54
+ };
55
+ avatarUrlDomain: string;
56
+ avatarURL: string;
57
+ companyName: string;
58
+ contactId: string;
59
+ contactType: string;
60
+ displayName: string;
61
+ emails: {
62
+ type: string;
63
+ value: string;
64
+ }[];
65
+ encryptionKeyUrl: string;
66
+ firstName: string;
67
+ groups: string[];
68
+ isMigration: boolean;
69
+ lastName: string;
70
+ meta: {
71
+ created: string;
72
+ lastModified: string;
73
+ };
74
+ ownerId: string;
75
+ phoneNumbers: {
76
+ type: string;
77
+ value: string;
78
+ }[];
79
+ sipAddresses: {
80
+ type: string;
81
+ value: string;
82
+ }[];
83
+ title: string;
84
+ })[];
85
+ groups: {
86
+ meta: {
87
+ created: string;
88
+ lastModified: string;
89
+ };
90
+ groupId: string;
91
+ groupType: string;
92
+ ownerId: string;
93
+ displayName: string;
94
+ members: string[];
95
+ encryptionKeyUrl: string;
96
+ isMigration: boolean;
97
+ }[];
98
+ };
99
+ export declare const mockContactResponseBodyTwo: {
100
+ contacts: {
101
+ avatarUrlDomain: string;
102
+ contactId: string;
103
+ contactType: string;
104
+ displayName: string;
105
+ encryptionKeyUrl: string;
106
+ groups: string[];
107
+ ownerId: string;
108
+ }[];
109
+ groups: {
110
+ meta: {
111
+ created: string;
112
+ lastModified: string;
113
+ };
114
+ groupId: string;
115
+ groupType: string;
116
+ ownerId: string;
117
+ displayName: string;
118
+ members: string[];
119
+ encryptionKeyUrl: string;
120
+ isMigration: boolean;
121
+ }[];
122
+ };
123
+ export declare const mockContactResponseBodyThird: {
124
+ contacts: never[];
125
+ groups: never[];
126
+ ownerId: string;
127
+ };
128
+ export declare const mockContactListOne: ({
129
+ addressInfo: {
130
+ city: string;
131
+ country: string;
132
+ state: string;
133
+ street: string;
134
+ zipCode: string;
135
+ };
136
+ avatarUrlDomain: string;
137
+ companyName: string;
138
+ contactId: string;
139
+ contactType: string;
140
+ displayName: string;
141
+ emails: {
142
+ type: string;
143
+ value: string;
144
+ }[];
145
+ encryptionKeyUrl: string;
146
+ firstName: string;
147
+ groups: string[];
148
+ lastName: string;
149
+ ownerId: string;
150
+ phoneNumbers: {
151
+ type: string;
152
+ value: string;
153
+ }[];
154
+ sipAddresses: {
155
+ type: string;
156
+ value: string;
157
+ }[];
158
+ title: string;
159
+ isMigration: boolean;
160
+ meta: {
161
+ created: string;
162
+ lastModified: string;
163
+ };
164
+ avatarURL: string;
165
+ department?: undefined;
166
+ manager?: undefined;
167
+ } | {
168
+ avatarUrlDomain: string;
169
+ contactId: string;
170
+ contactType: string;
171
+ department: string;
172
+ displayName: string;
173
+ emails: {
174
+ value: string;
175
+ }[];
176
+ encryptionKeyUrl: string;
177
+ firstName: string;
178
+ groups: string[];
179
+ lastName: string;
180
+ manager: string;
181
+ ownerId: string;
182
+ phoneNumbers: {
183
+ type: string;
184
+ value: string;
185
+ }[];
186
+ sipAddresses: ({
187
+ type: string;
188
+ value: string;
189
+ primary: boolean;
190
+ } | {
191
+ type: string;
192
+ value: string;
193
+ primary?: undefined;
194
+ })[];
195
+ title: string;
196
+ avatarURL: string;
197
+ addressInfo?: undefined;
198
+ companyName?: undefined;
199
+ isMigration?: undefined;
200
+ meta?: undefined;
201
+ })[];
202
+ export declare const mockContactListTwo: {
203
+ avatarUrlDomain: string;
204
+ contactId: string;
205
+ contactType: string;
206
+ displayName: string;
207
+ encryptionKeyUrl: string;
208
+ groups: string[];
209
+ ownerId: string;
210
+ }[];
211
+ export declare const mockContactGroupListOne: {
212
+ meta: {
213
+ created: string;
214
+ lastModified: string;
215
+ };
216
+ groupId: string;
217
+ groupType: string;
218
+ ownerId: string;
219
+ displayName: string;
220
+ members: string[];
221
+ encryptionKeyUrl: string;
222
+ isMigration: boolean;
223
+ }[];
224
+ export declare const mockContactGroupListTwo: {
225
+ meta: {
226
+ created: string;
227
+ lastModified: string;
228
+ };
229
+ groupId: string;
230
+ groupType: string;
231
+ ownerId: string;
232
+ displayName: string;
233
+ members: string[];
234
+ encryptionKeyUrl: string;
235
+ isMigration: boolean;
236
+ }[];
237
+ export declare const mockDSSResponse: {
238
+ additionalInfo: {
239
+ created: string;
240
+ department: string;
241
+ extLinkedAccts: {
242
+ providerID: string;
243
+ accountGUID: string;
244
+ status: string;
245
+ }[];
246
+ firstName: string;
247
+ identityManager: {
248
+ displayName: string;
249
+ managerId: string;
250
+ };
251
+ jobTitle: string;
252
+ lastName: string;
253
+ modified: string;
254
+ nickName: string;
255
+ userName: string;
256
+ };
257
+ displayName: string;
258
+ emails: {
259
+ value: string;
260
+ }[];
261
+ entityProviderType: string;
262
+ identity: string;
263
+ orgId: string;
264
+ phoneNumbers: {
265
+ type: string;
266
+ value: string;
267
+ }[];
268
+ photos: {
269
+ value: string;
270
+ }[];
271
+ sipAddresses: {
272
+ type: string;
273
+ value: string;
274
+ primary: boolean;
275
+ }[];
276
+ type: string;
277
+ }[];
278
+ export declare const mockKmsKey: {
279
+ uri: string;
280
+ };
281
+ //# sourceMappingURL=contactFixtures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contactFixtures.d.ts","sourceRoot":"","sources":["../../../src/Contacts/contactFixtures.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ,cAAc,CAAC;AACpC,eAAO,MAAM,WAAW,OAAO,CAAC;AAChC,eAAO,MAAM,SAAS,WAAW,CAAC;AAClC,eAAO,MAAM,UAAU,wBAAwB,CAAC;AAChD,eAAO,MAAM,WAAW,WAAW,CAAC;AACpC,eAAO,MAAM,WAAW,UAAU,CAAC;AACnC,eAAO,MAAM,kBAAkB,aAAa,CAAC;AAC7C,eAAO,MAAM,aAAa,SAAS,CAAC;AACpC,eAAO,MAAM,YAAY,QAAQ,CAAC;AAClC,eAAO,MAAM,SAAS,uBAAuB,CAAC;AAC9C,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAC7C,eAAO,MAAM,WAAW,eAAe,CAAC;AACxC,eAAO,MAAM,cAAc,uBAAuB,CAAC;AACnD,eAAO,MAAM,SAAS,aAAa,CAAC;AACpC,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,aAAa,2CAA2C,CAAC;AAEtE,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4GtC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;CA6BtC,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;CAIxC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6D9B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;GAU9B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;GAcnC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;GAcnC,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmC3B,CAAC;AAEF,eAAO,MAAM,UAAU;;CAEtB,CAAC"}
@@ -0,0 +1,73 @@
1
+ import { ContactDetail } from '../common/types';
2
+ export declare enum ContactType {
3
+ CUSTOM = "CUSTOM",
4
+ CLOUD = "CLOUD"
5
+ }
6
+ export type AddressType = {
7
+ city?: string;
8
+ country?: string;
9
+ state?: string;
10
+ street?: string;
11
+ zipCode?: string;
12
+ };
13
+ export type Contact = {
14
+ addressInfo?: AddressType;
15
+ avatarURL?: string;
16
+ avatarUrlDomain?: string;
17
+ companyName?: string;
18
+ contactId?: string;
19
+ contactType: ContactType;
20
+ department?: string;
21
+ displayName?: string;
22
+ emails?: ContactDetail[];
23
+ encryptionKeyUrl: string;
24
+ firstName?: string;
25
+ groups: string[];
26
+ kmsResourceObjectUrl?: string;
27
+ lastName?: string;
28
+ manager?: string;
29
+ ownerId?: string;
30
+ phoneNumbers?: ContactDetail[];
31
+ primaryContactMethod?: string;
32
+ schemas?: string;
33
+ sipAddresses?: ContactDetail[];
34
+ title?: string;
35
+ };
36
+ export declare enum GroupType {
37
+ NORMAL = "NORMAL",
38
+ EXTERNAL = "EXTERNAL"
39
+ }
40
+ export type ContactGroup = {
41
+ displayName: string;
42
+ encryptionKeyUrl: string;
43
+ groupId: string;
44
+ groupType: GroupType;
45
+ members?: string[];
46
+ ownerId?: string;
47
+ };
48
+ export type ContactList = {
49
+ contacts: Contact[];
50
+ groups: ContactGroup[];
51
+ };
52
+ export type ContactResponse = {
53
+ statusCode: number;
54
+ data: {
55
+ contacts?: Contact[];
56
+ groups?: ContactGroup[];
57
+ contact?: Contact;
58
+ group?: ContactGroup;
59
+ error?: string;
60
+ };
61
+ message: string | null;
62
+ };
63
+ export interface IContacts {
64
+ getContacts(): Promise<ContactResponse>;
65
+ createContactGroup(displayName: string, encryptionKeyUrl?: string, groupType?: GroupType): Promise<ContactResponse>;
66
+ deleteContactGroup(groupId: string): Promise<ContactResponse>;
67
+ createContact(contactInfo: Contact): Promise<ContactResponse>;
68
+ deleteContact(contactId: string): Promise<ContactResponse>;
69
+ }
70
+ export type ContactIdContactInfo = {
71
+ [Key: string]: Contact;
72
+ };
73
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/Contacts/types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,12 @@
1
+ import { CallErrorObject, ErrorContext, ErrorMessage, ERROR_LAYER, ERROR_TYPE } from '../types';
2
+ import ExtendedError from './ExtendedError';
3
+ import { CorrelationId } from '../../common/types';
4
+ export declare class CallError extends ExtendedError {
5
+ private correlationId;
6
+ private errorLayer;
7
+ constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, correlationId: CorrelationId, errorLayer: ERROR_LAYER);
8
+ setCallError(error: CallErrorObject): void;
9
+ getCallError(): CallErrorObject;
10
+ }
11
+ export declare const createCallError: (msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, correlationId: CorrelationId, errorLayer: ERROR_LAYER) => CallError;
12
+ //# sourceMappingURL=CallError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CallError.d.ts","sourceRoot":"","sources":["../../../../src/Errors/catalog/CallError.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAC,MAAM,UAAU,CAAC;AAC9F,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAKjD,qBAAa,SAAU,SAAQ,aAAa;IAC1C,OAAO,CAAC,aAAa,CAAgB;IAErC,OAAO,CAAC,UAAU,CAAc;gBAY9B,GAAG,EAAE,YAAY,EACjB,OAAO,EAAE,YAAY,EACrB,IAAI,EAAE,UAAU,EAChB,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,WAAW;IAYlB,YAAY,CAAC,KAAK,EAAE,eAAe;IAYnC,YAAY,IAAI,eAAe;CASvC;AAYD,eAAO,MAAM,eAAe,QACrB,YAAY,WACR,YAAY,QACf,UAAU,iBACD,aAAa,cAChB,WAAW,cACwC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { MobiusStatus } from '../../common/types';
2
+ import { ErrorContext, ErrorMessage, ErrorObject, ERROR_TYPE } from '../types';
3
+ import ExtendedError from './ExtendedError';
4
+ export declare class CallingClientError extends ExtendedError {
5
+ status: MobiusStatus;
6
+ constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: MobiusStatus);
7
+ setError(error: ErrorObject): void;
8
+ getError(): ErrorObject;
9
+ }
10
+ export declare const createClientError: (msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: MobiusStatus) => CallingClientError;
11
+ //# sourceMappingURL=CallingDeviceError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CallingDeviceError.d.ts","sourceRoot":"","sources":["../../../../src/Errors/catalog/CallingDeviceError.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAC,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAC,MAAM,UAAU,CAAC;AAC7E,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAK5C,qBAAa,kBAAmB,SAAQ,aAAa;IAC5C,MAAM,EAAE,YAAY,CAAwB;gBAUvC,GAAG,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY;IAUrF,QAAQ,CAAC,KAAK,EAAE,WAAW;IAW3B,QAAQ,IAAI,WAAW;CAG/B;AAWD,eAAO,MAAM,iBAAiB,QACvB,YAAY,WACR,YAAY,QACf,UAAU,UACR,YAAY,uBACiC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ErrorContext, ErrorMessage, ERROR_TYPE } from '../types';
2
+ export default class ExtendedError extends Error {
3
+ type: ERROR_TYPE;
4
+ context: ErrorContext;
5
+ constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE);
6
+ }
7
+ //# sourceMappingURL=ExtendedError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExtendedError.d.ts","sourceRoot":"","sources":["../../../../src/Errors/catalog/ExtendedError.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAC,MAAM,UAAU,CAAC;AAKhE,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,KAAK;IACvC,IAAI,EAAE,UAAU,CAAC;IAEjB,OAAO,EAAE,YAAY,CAAC;gBAOjB,GAAG,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU;CAKvE"}
@@ -0,0 +1,11 @@
1
+ import { LineStatus } from '../../CallingClient/line/types';
2
+ import { ErrorMessage, ERROR_TYPE, LineErrorObject, ErrorContext } from '../types';
3
+ import ExtendedError from './ExtendedError';
4
+ export declare class LineError extends ExtendedError {
5
+ status: LineStatus;
6
+ constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: LineStatus);
7
+ setError(error: LineErrorObject): void;
8
+ getError(): LineErrorObject;
9
+ }
10
+ export declare const createLineError: (msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: LineStatus) => LineError;
11
+ //# sourceMappingURL=LineError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineError.d.ts","sourceRoot":"","sources":["../../../../src/Errors/catalog/LineError.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAC,MAAM,UAAU,CAAC;AACjF,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAK5C,qBAAa,SAAU,SAAQ,aAAa;IACnC,MAAM,EAAE,UAAU,CAAuB;gBAUpC,GAAG,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU;IAUnF,QAAQ,CAAC,KAAK,EAAE,eAAe;IAY/B,QAAQ,IAAI,eAAe;CAQnC;AAWD,eAAO,MAAM,eAAe,QACrB,YAAY,WACR,YAAY,QACf,UAAU,UACR,UAAU,cAC0B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { CallingClientError } from './catalog/CallingDeviceError';
2
+ export { CallError } from './catalog/CallError';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { LineStatus } from '../CallingClient/line/types';
2
+ import { CorrelationId, IMetaContext } from '../common/types';
3
+ export type ErrorMessage = string;
4
+ export declare enum ERROR_LAYER {
5
+ CALL_CONTROL = "call_control",
6
+ MEDIA = "media"
7
+ }
8
+ export declare enum ERROR_TYPE {
9
+ CALL_ERROR = "call_error",
10
+ DEFAULT = "default_error",
11
+ FORBIDDEN_ERROR = "forbidden",
12
+ NOT_FOUND = "not_found",
13
+ REGISTRATION_ERROR = "registration_error",
14
+ SERVICE_UNAVAILABLE = "service_unavailable",
15
+ TIMEOUT = "timeout",
16
+ TOKEN_ERROR = "token_error",
17
+ SERVER_ERROR = "server_error"
18
+ }
19
+ export declare enum ERROR_CODE {
20
+ UNAUTHORIZED = 401,
21
+ FORBIDDEN = 403,
22
+ DEVICE_NOT_FOUND = 404,
23
+ INTERNAL_SERVER_ERROR = 500,
24
+ NOT_IMPLEMENTED = 501,
25
+ SERVICE_UNAVAILABLE = 503,
26
+ BAD_REQUEST = 400,
27
+ REQUEST_TIMEOUT = 408,
28
+ TOO_MANY_REQUESTS = 429
29
+ }
30
+ export declare enum CALL_ERROR_CODE {
31
+ INVALID_STATUS_UPDATE = 111,
32
+ DEVICE_NOT_REGISTERED = 112,
33
+ CALL_NOT_FOUND = 113,
34
+ ERROR_PROCESSING = 114,
35
+ USER_BUSY = 115,
36
+ PARSING_ERROR = 116,
37
+ TIMEOUT_ERROR = 117,
38
+ NOT_ACCEPTABLE = 118,
39
+ CALL_REJECTED = 119,
40
+ NOT_AVAILABLE = 120
41
+ }
42
+ export declare enum DEVICE_ERROR_CODE {
43
+ DEVICE_LIMIT_EXCEEDED = 101,
44
+ DEVICE_CREATION_DISABLED = 102,
45
+ DEVICE_CREATION_FAILED = 103
46
+ }
47
+ export interface ErrorContext extends IMetaContext {
48
+ }
49
+ export type ErrorObject = {
50
+ message: ErrorMessage;
51
+ type: ERROR_TYPE;
52
+ context: ErrorContext;
53
+ };
54
+ export interface LineErrorObject extends ErrorObject {
55
+ status: LineStatus;
56
+ }
57
+ export interface CallErrorObject extends ErrorObject {
58
+ correlationId: CorrelationId;
59
+ errorLayer: ERROR_LAYER;
60
+ }
61
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/Errors/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAC,aAAa,EAAE,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE5D,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAElC,oBAAY,WAAW;IACrB,YAAY,iBAAiB;IAC7B,KAAK,UAAU;CAChB;AAED,oBAAY,UAAU;IACpB,UAAU,eAAe;IACzB,OAAO,kBAAkB;IACzB,eAAe,cAAc;IAC7B,SAAS,cAAc;IACvB,kBAAkB,uBAAuB;IACzC,mBAAmB,wBAAwB;IAC3C,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;CAC9B;AAED,oBAAY,UAAU;IACpB,YAAY,MAAM;IAClB,SAAS,MAAM;IACf,gBAAgB,MAAM;IACtB,qBAAqB,MAAM;IAC3B,eAAe,MAAM;IACrB,mBAAmB,MAAM;IACzB,WAAW,MAAM;IACjB,eAAe,MAAM;IACrB,iBAAiB,MAAM;CACxB;AAED,oBAAY,eAAe;IACzB,qBAAqB,MAAM;IAC3B,qBAAqB,MAAM;IAC3B,cAAc,MAAM;IACpB,gBAAgB,MAAM;IACtB,SAAS,MAAM;IACf,aAAa,MAAM;IACnB,aAAa,MAAM;IACnB,cAAc,MAAM;IACpB,aAAa,MAAM;IACnB,aAAa,MAAM;CACpB;AAED,oBAAY,iBAAiB;IAC3B,qBAAqB,MAAM;IAC3B,wBAAwB,MAAM;IAC9B,sBAAsB,MAAM;CAC7B;AAED,MAAM,WAAW,YAAa,SAAQ,YAAY;CAAG;AAErD,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,WAAW,CAAC;CACzB"}
@@ -0,0 +1,9 @@
1
+ import TypedEmitter, { EventMap } from 'typed-emitter';
2
+ declare const Eventing_base: new <T_1 extends EventMap>() => TypedEmitter<T_1>;
3
+ export declare class Eventing<T extends EventMap> extends Eventing_base<T> {
4
+ emit<E extends keyof T>(event: E, ...args: Parameters<T[E]>): boolean;
5
+ on<E extends keyof T>(event: E, listener: T[E]): this;
6
+ off<E extends keyof T>(event: E, listener: T[E]): this;
7
+ }
8
+ export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Events/impl/index.ts"],"names":[],"mappings":"AAGA,OAAO,YAAY,EAAE,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;;AAOrD,qBAAa,QAAQ,CAAC,CAAC,SAAS,QAAQ,CAAE,SAAQ,cAE/C,CAAC,CAAC;IAOH,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO;IAuBrE,EAAE,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;IAWrD,GAAG,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;CAGvD"}