@ndustrial/contxt-sdk 5.5.6 → 5.6.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 (233) hide show
  1. package/.nvmrc +1 -1
  2. package/CHANGELOG.md +6 -0
  3. package/eslint.config.mjs +44 -0
  4. package/esm/bus/channels.js +1883 -216
  5. package/esm/bus/channels.js.map +1 -1
  6. package/esm/bus/index.browser.js +218 -37
  7. package/esm/bus/index.browser.js.map +1 -1
  8. package/esm/bus/index.js +906 -94
  9. package/esm/bus/index.js.map +1 -1
  10. package/esm/bus/webSocketConnection.browser.js +86 -12
  11. package/esm/bus/webSocketConnection.browser.js.map +1 -1
  12. package/esm/bus/webSocketConnection.js +2464 -332
  13. package/esm/bus/webSocketConnection.js.map +1 -1
  14. package/esm/config/audiences.js +37 -1
  15. package/esm/config/audiences.js.map +1 -1
  16. package/esm/config/defaults.js +37 -1
  17. package/esm/config/defaults.js.map +1 -1
  18. package/esm/config/index.js +1622 -203
  19. package/esm/config/index.js.map +1 -1
  20. package/esm/coordinator/applications.js +1019 -172
  21. package/esm/coordinator/applications.js.map +1 -1
  22. package/esm/coordinator/consent.js +603 -76
  23. package/esm/coordinator/consent.js.map +1 -1
  24. package/esm/coordinator/edgeNodes.js +520 -40
  25. package/esm/coordinator/edgeNodes.js.map +1 -1
  26. package/esm/coordinator/index.js +811 -54
  27. package/esm/coordinator/index.js.map +1 -1
  28. package/esm/coordinator/organizations.js +533 -60
  29. package/esm/coordinator/organizations.js.map +1 -1
  30. package/esm/coordinator/permissions.js +914 -107
  31. package/esm/coordinator/permissions.js.map +1 -1
  32. package/esm/coordinator/roles.js +2146 -258
  33. package/esm/coordinator/roles.js.map +1 -1
  34. package/esm/coordinator/users.js +3393 -484
  35. package/esm/coordinator/users.js.map +1 -1
  36. package/esm/events/index.js +2301 -393
  37. package/esm/events/index.js.map +1 -1
  38. package/esm/files/index.js +2053 -410
  39. package/esm/files/index.js.map +1 -1
  40. package/esm/index.js +1002 -148
  41. package/esm/index.js.map +1 -1
  42. package/esm/iot/feedTypes.js +188 -25
  43. package/esm/iot/feedTypes.js.map +1 -1
  44. package/esm/iot/feeds.js +420 -59
  45. package/esm/iot/feeds.js.map +1 -1
  46. package/esm/iot/fieldCategories.js +1172 -195
  47. package/esm/iot/fieldCategories.js.map +1 -1
  48. package/esm/iot/fieldGroupings.js +1689 -255
  49. package/esm/iot/fieldGroupings.js.map +1 -1
  50. package/esm/iot/fields.js +254 -28
  51. package/esm/iot/fields.js.map +1 -1
  52. package/esm/iot/index.js +212 -34
  53. package/esm/iot/index.js.map +1 -1
  54. package/esm/iot/outputs.js +320 -31
  55. package/esm/iot/outputs.js.map +1 -1
  56. package/esm/nionic/index.js +1097 -97
  57. package/esm/nionic/index.js.map +1 -1
  58. package/esm/request.js +1313 -221
  59. package/esm/request.js.map +1 -1
  60. package/esm/sessionTypes/auth0WebAuth.js +3395 -409
  61. package/esm/sessionTypes/auth0WebAuth.js.map +1 -1
  62. package/esm/sessionTypes/index.js +213 -22
  63. package/esm/sessionTypes/index.js.map +1 -1
  64. package/esm/sessionTypes/machineAuth.js +1314 -144
  65. package/esm/sessionTypes/machineAuth.js.map +1 -1
  66. package/esm/sessionTypes/passwordGrantAuth.js +1060 -145
  67. package/esm/sessionTypes/passwordGrantAuth.js.map +1 -1
  68. package/esm/utils/events/formatEventUpdateToServer.js +107 -4
  69. package/esm/utils/events/formatEventUpdateToServer.js.map +1 -1
  70. package/esm/utils/events/index.js +54 -2
  71. package/esm/utils/events/index.js.map +1 -1
  72. package/esm/utils/iot/formatOutputFieldDataFromServer.js +227 -14
  73. package/esm/utils/iot/formatOutputFieldDataFromServer.js.map +1 -1
  74. package/esm/utils/iot/index.js +56 -3
  75. package/esm/utils/iot/index.js.map +1 -1
  76. package/esm/utils/iot/parseOutputFieldNextPageUrlMetadata.js +207 -7
  77. package/esm/utils/iot/parseOutputFieldNextPageUrlMetadata.js.map +1 -1
  78. package/esm/utils/objects/createCaseChangeFn.js +449 -18
  79. package/esm/utils/objects/createCaseChangeFn.js.map +1 -1
  80. package/esm/utils/objects/index.js +56 -3
  81. package/esm/utils/objects/index.js.map +1 -1
  82. package/esm/utils/objects/map.js +520 -26
  83. package/esm/utils/objects/map.js.map +1 -1
  84. package/esm/utils/objects/toCamelCase.js +39 -3
  85. package/esm/utils/objects/toCamelCase.js.map +1 -1
  86. package/esm/utils/objects/toSnakeCase.js +39 -3
  87. package/esm/utils/objects/toSnakeCase.js.map +1 -1
  88. package/esm/utils/pagination/formatPaginatedDataFromServer.js +268 -11
  89. package/esm/utils/pagination/formatPaginatedDataFromServer.js.map +1 -1
  90. package/esm/utils/pagination/index.js +54 -2
  91. package/esm/utils/pagination/index.js.map +1 -1
  92. package/esm/utils/url/index.js +47 -2
  93. package/esm/utils/url/index.js.map +1 -1
  94. package/esm/utils/url/stringifyParams.js +176 -10
  95. package/esm/utils/url/stringifyParams.js.map +1 -1
  96. package/lib/bus/channels.js +1880 -223
  97. package/lib/bus/channels.js.map +1 -1
  98. package/lib/bus/index.browser.js +215 -43
  99. package/lib/bus/index.browser.js.map +1 -1
  100. package/lib/bus/index.js +903 -106
  101. package/lib/bus/index.js.map +1 -1
  102. package/lib/bus/webSocketConnection.browser.js +83 -15
  103. package/lib/bus/webSocketConnection.browser.js.map +1 -1
  104. package/lib/bus/webSocketConnection.js +2461 -339
  105. package/lib/bus/webSocketConnection.js.map +1 -1
  106. package/lib/config/audiences.js +33 -2
  107. package/lib/config/audiences.js.map +1 -1
  108. package/lib/config/defaults.js +33 -2
  109. package/lib/config/defaults.js.map +1 -1
  110. package/lib/config/index.js +1619 -212
  111. package/lib/config/index.js.map +1 -1
  112. package/lib/coordinator/applications.js +1016 -174
  113. package/lib/coordinator/applications.js.map +1 -1
  114. package/lib/coordinator/consent.js +600 -78
  115. package/lib/coordinator/consent.js.map +1 -1
  116. package/lib/coordinator/edgeNodes.js +517 -42
  117. package/lib/coordinator/edgeNodes.js.map +1 -1
  118. package/lib/coordinator/index.js +808 -78
  119. package/lib/coordinator/index.js.map +1 -1
  120. package/lib/coordinator/organizations.js +530 -62
  121. package/lib/coordinator/organizations.js.map +1 -1
  122. package/lib/coordinator/permissions.js +911 -109
  123. package/lib/coordinator/permissions.js.map +1 -1
  124. package/lib/coordinator/roles.js +2143 -260
  125. package/lib/coordinator/roles.js.map +1 -1
  126. package/lib/coordinator/users.js +3389 -489
  127. package/lib/coordinator/users.js.map +1 -1
  128. package/lib/events/index.js +2297 -404
  129. package/lib/events/index.js.map +1 -1
  130. package/lib/files/index.js +2050 -418
  131. package/lib/files/index.js.map +1 -1
  132. package/lib/index.js +999 -183
  133. package/lib/index.js.map +1 -1
  134. package/lib/iot/feedTypes.js +185 -27
  135. package/lib/iot/feedTypes.js.map +1 -1
  136. package/lib/iot/feeds.js +417 -61
  137. package/lib/iot/feeds.js.map +1 -1
  138. package/lib/iot/fieldCategories.js +1169 -203
  139. package/lib/iot/fieldCategories.js.map +1 -1
  140. package/lib/iot/fieldGroupings.js +1686 -263
  141. package/lib/iot/fieldGroupings.js.map +1 -1
  142. package/lib/iot/fields.js +251 -30
  143. package/lib/iot/fields.js.map +1 -1
  144. package/lib/iot/index.js +209 -55
  145. package/lib/iot/index.js.map +1 -1
  146. package/lib/iot/outputs.js +317 -34
  147. package/lib/iot/outputs.js.map +1 -1
  148. package/lib/nionic/index.js +1094 -98
  149. package/lib/nionic/index.js.map +1 -1
  150. package/lib/request.js +1310 -228
  151. package/lib/request.js.map +1 -1
  152. package/lib/sessionTypes/auth0WebAuth.js +3391 -421
  153. package/lib/sessionTypes/auth0WebAuth.js.map +1 -1
  154. package/lib/sessionTypes/index.js +209 -26
  155. package/lib/sessionTypes/index.js.map +1 -1
  156. package/lib/sessionTypes/machineAuth.js +1311 -151
  157. package/lib/sessionTypes/machineAuth.js.map +1 -1
  158. package/lib/sessionTypes/passwordGrantAuth.js +1057 -156
  159. package/lib/sessionTypes/passwordGrantAuth.js.map +1 -1
  160. package/lib/utils/events/formatEventUpdateToServer.js +102 -4
  161. package/lib/utils/events/formatEventUpdateToServer.js.map +1 -1
  162. package/lib/utils/events/index.js +51 -10
  163. package/lib/utils/events/index.js.map +1 -1
  164. package/lib/utils/iot/formatOutputFieldDataFromServer.js +224 -18
  165. package/lib/utils/iot/formatOutputFieldDataFromServer.js.map +1 -1
  166. package/lib/utils/iot/index.js +53 -15
  167. package/lib/utils/iot/index.js.map +1 -1
  168. package/lib/utils/iot/parseOutputFieldNextPageUrlMetadata.js +203 -13
  169. package/lib/utils/iot/parseOutputFieldNextPageUrlMetadata.js.map +1 -1
  170. package/lib/utils/objects/createCaseChangeFn.js +446 -25
  171. package/lib/utils/objects/createCaseChangeFn.js.map +1 -1
  172. package/lib/utils/objects/index.js +53 -15
  173. package/lib/utils/objects/index.js.map +1 -1
  174. package/lib/utils/objects/map.js +517 -33
  175. package/lib/utils/objects/map.js.map +1 -1
  176. package/lib/utils/objects/toCamelCase.js +36 -11
  177. package/lib/utils/objects/toCamelCase.js.map +1 -1
  178. package/lib/utils/objects/toSnakeCase.js +36 -11
  179. package/lib/utils/objects/toSnakeCase.js.map +1 -1
  180. package/lib/utils/pagination/formatPaginatedDataFromServer.js +265 -14
  181. package/lib/utils/pagination/formatPaginatedDataFromServer.js.map +1 -1
  182. package/lib/utils/pagination/index.js +51 -10
  183. package/lib/utils/pagination/index.js.map +1 -1
  184. package/lib/utils/url/index.js +44 -7
  185. package/lib/utils/url/index.js.map +1 -1
  186. package/lib/utils/url/stringifyParams.js +172 -18
  187. package/lib/utils/url/stringifyParams.js.map +1 -1
  188. package/package.json +31 -35
  189. package/src/bus/channels.js +6 -6
  190. package/src/bus/channels.spec.js +1 -1
  191. package/src/coordinator/applications.js +7 -7
  192. package/src/coordinator/applications.spec.js +1 -1
  193. package/src/coordinator/consent.js +3 -3
  194. package/src/coordinator/edgeNodes.js +3 -3
  195. package/src/coordinator/edgeNodes.spec.js +1 -1
  196. package/src/coordinator/organizations.js +4 -4
  197. package/src/coordinator/organizations.spec.js +1 -1
  198. package/src/coordinator/permissions.js +6 -6
  199. package/src/coordinator/permissions.spec.js +1 -1
  200. package/src/coordinator/roles.js +9 -9
  201. package/src/coordinator/roles.spec.js +1 -1
  202. package/src/coordinator/users.js +12 -12
  203. package/src/coordinator/users.spec.js +1 -1
  204. package/src/events/index.js +18 -18
  205. package/src/events/index.spec.js +3 -3
  206. package/src/files/index.js +9 -9
  207. package/src/files/index.spec.js +2 -2
  208. package/src/index.js +3 -1
  209. package/src/iot/feedTypes.js +2 -2
  210. package/src/iot/feeds.js +4 -4
  211. package/src/iot/feeds.spec.js +1 -1
  212. package/src/iot/fieldCategories.js +10 -10
  213. package/src/iot/fieldCategories.spec.js +2 -2
  214. package/src/iot/fieldGroupings.js +10 -10
  215. package/src/iot/fieldGroupings.spec.js +2 -2
  216. package/src/iot/fields.js +2 -2
  217. package/src/iot/fields.spec.js +1 -1
  218. package/src/iot/outputs.js +2 -2
  219. package/src/iot/outputs.spec.js +1 -1
  220. package/src/request.js +2 -4
  221. package/src/request.spec.js +1 -1
  222. package/src/sessionTypes/auth0WebAuth.spec.js +1 -1
  223. package/src/utils/events/index.js +2 -1
  224. package/src/utils/iot/formatOutputFieldDataFromServer.js +5 -5
  225. package/src/utils/iot/formatOutputFieldDataFromServer.spec.js +2 -2
  226. package/src/utils/iot/index.js +2 -1
  227. package/src/utils/iot/parseOutputFieldNextPageUrlMetadata.js +3 -1
  228. package/src/utils/objects/index.js +2 -1
  229. package/src/utils/pagination/formatPaginatedDataFromServer.js +3 -3
  230. package/src/utils/pagination/formatPaginatedDataFromServer.spec.js +1 -1
  231. package/src/utils/pagination/index.js +2 -1
  232. package/support/mocharc.yml +1 -1
  233. package/.eslintrc +0 -24
@@ -1,21 +1,1584 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
-
7
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
8
-
9
- var _lodash = require('lodash.isplainobject');
10
-
11
- var _lodash2 = _interopRequireDefault(_lodash);
12
-
13
- var _objects = require('../utils/objects');
14
-
15
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
-
17
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18
-
6
+ exports.default = void 0;
7
+ require("core-js/modules/es.promise.js");
8
+ var _lodash = _interopRequireDefault(require("lodash.isplainobject"));
9
+ var _objects = _interopRequireDefault(require("../utils/objects"));
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
+ function cov_2e7hik51vz() {
12
+ var path = "/home/runner/work/contxt-sdk-js/contxt-sdk-js/src/bus/channels.js";
13
+ var hash = "b5ae2702b6596be52d1347227c41d4a3adfa1b70";
14
+ var global = new Function("return this")();
15
+ var gcv = "__coverage__";
16
+ var coverageData = {
17
+ path: "/home/runner/work/contxt-sdk-js/contxt-sdk-js/src/bus/channels.js",
18
+ statementMap: {
19
+ "0": {
20
+ start: {
21
+ line: 24,
22
+ column: 4
23
+ },
24
+ end: {
25
+ line: 24,
26
+ column: 28
27
+ }
28
+ },
29
+ "1": {
30
+ start: {
31
+ line: 25,
32
+ column: 4
33
+ },
34
+ end: {
35
+ line: 25,
36
+ column: 28
37
+ }
38
+ },
39
+ "2": {
40
+ start: {
41
+ line: 26,
42
+ column: 4
43
+ },
44
+ end: {
45
+ line: 26,
46
+ column: 20
47
+ }
48
+ },
49
+ "3": {
50
+ start: {
51
+ line: 55,
52
+ column: 27
53
+ },
54
+ end: {
55
+ line: 55,
56
+ column: 66
57
+ }
58
+ },
59
+ "4": {
60
+ start: {
61
+ line: 57,
62
+ column: 4
63
+ },
64
+ end: {
65
+ line: 67,
66
+ column: 5
67
+ }
68
+ },
69
+ "5": {
70
+ start: {
71
+ line: 57,
72
+ column: 17
73
+ },
74
+ end: {
75
+ line: 57,
76
+ column: 18
77
+ }
78
+ },
79
+ "6": {
80
+ start: {
81
+ line: 58,
82
+ column: 20
83
+ },
84
+ end: {
85
+ line: 58,
86
+ column: 37
87
+ }
88
+ },
89
+ "7": {
90
+ start: {
91
+ line: 60,
92
+ column: 6
93
+ },
94
+ end: {
95
+ line: 66,
96
+ column: 7
97
+ }
98
+ },
99
+ "8": {
100
+ start: {
101
+ line: 61,
102
+ column: 8
103
+ },
104
+ end: {
105
+ line: 65,
106
+ column: 10
107
+ }
108
+ },
109
+ "9": {
110
+ start: {
111
+ line: 69,
112
+ column: 4
113
+ },
114
+ end: {
115
+ line: 76,
116
+ column: 61
117
+ }
118
+ },
119
+ "10": {
120
+ start: {
121
+ line: 76,
122
+ column: 26
123
+ },
124
+ end: {
125
+ line: 76,
126
+ column: 59
127
+ }
128
+ },
129
+ "11": {
130
+ start: {
131
+ line: 104,
132
+ column: 4
133
+ },
134
+ end: {
135
+ line: 111,
136
+ column: 5
137
+ }
138
+ },
139
+ "12": {
140
+ start: {
141
+ line: 105,
142
+ column: 6
143
+ },
144
+ end: {
145
+ line: 106,
146
+ column: 73
147
+ }
148
+ },
149
+ "13": {
150
+ start: {
151
+ line: 107,
152
+ column: 11
153
+ },
154
+ end: {
155
+ line: 111,
156
+ column: 5
157
+ }
158
+ },
159
+ "14": {
160
+ start: {
161
+ line: 108,
162
+ column: 6
163
+ },
164
+ end: {
165
+ line: 108,
166
+ column: 76
167
+ }
168
+ },
169
+ "15": {
170
+ start: {
171
+ line: 109,
172
+ column: 11
173
+ },
174
+ end: {
175
+ line: 111,
176
+ column: 5
177
+ }
178
+ },
179
+ "16": {
180
+ start: {
181
+ line: 110,
182
+ column: 6
183
+ },
184
+ end: {
185
+ line: 110,
186
+ column: 76
187
+ }
188
+ },
189
+ "17": {
190
+ start: {
191
+ line: 113,
192
+ column: 4
193
+ },
194
+ end: {
195
+ line: 115,
196
+ column: 5
197
+ }
198
+ },
199
+ "18": {
200
+ start: {
201
+ line: 114,
202
+ column: 6
203
+ },
204
+ end: {
205
+ line: 114,
206
+ column: 49
207
+ }
208
+ },
209
+ "19": {
210
+ start: {
211
+ line: 117,
212
+ column: 4
213
+ },
214
+ end: {
215
+ line: 121,
216
+ column: 6
217
+ }
218
+ },
219
+ "20": {
220
+ start: {
221
+ line: 151,
222
+ column: 4
223
+ },
224
+ end: {
225
+ line: 157,
226
+ column: 5
227
+ }
228
+ },
229
+ "21": {
230
+ start: {
231
+ line: 152,
232
+ column: 6
233
+ },
234
+ end: {
235
+ line: 152,
236
+ column: 79
237
+ }
238
+ },
239
+ "22": {
240
+ start: {
241
+ line: 153,
242
+ column: 11
243
+ },
244
+ end: {
245
+ line: 157,
246
+ column: 5
247
+ }
248
+ },
249
+ "23": {
250
+ start: {
251
+ line: 154,
252
+ column: 6
253
+ },
254
+ end: {
255
+ line: 154,
256
+ column: 73
257
+ }
258
+ },
259
+ "24": {
260
+ start: {
261
+ line: 155,
262
+ column: 11
263
+ },
264
+ end: {
265
+ line: 157,
266
+ column: 5
267
+ }
268
+ },
269
+ "25": {
270
+ start: {
271
+ line: 156,
272
+ column: 6
273
+ },
274
+ end: {
275
+ line: 156,
276
+ column: 73
277
+ }
278
+ },
279
+ "26": {
280
+ start: {
281
+ line: 159,
282
+ column: 4
283
+ },
284
+ end: {
285
+ line: 161,
286
+ column: 5
287
+ }
288
+ },
289
+ "27": {
290
+ start: {
291
+ line: 160,
292
+ column: 6
293
+ },
294
+ end: {
295
+ line: 160,
296
+ column: 49
297
+ }
298
+ },
299
+ "28": {
300
+ start: {
301
+ line: 163,
302
+ column: 4
303
+ },
304
+ end: {
305
+ line: 169,
306
+ column: 61
307
+ }
308
+ },
309
+ "29": {
310
+ start: {
311
+ line: 169,
312
+ column: 26
313
+ },
314
+ end: {
315
+ line: 169,
316
+ column: 59
317
+ }
318
+ },
319
+ "30": {
320
+ start: {
321
+ line: 200,
322
+ column: 4
323
+ },
324
+ end: {
325
+ line: 207,
326
+ column: 5
327
+ }
328
+ },
329
+ "31": {
330
+ start: {
331
+ line: 201,
332
+ column: 6
333
+ },
334
+ end: {
335
+ line: 202,
336
+ column: 73
337
+ }
338
+ },
339
+ "32": {
340
+ start: {
341
+ line: 203,
342
+ column: 11
343
+ },
344
+ end: {
345
+ line: 207,
346
+ column: 5
347
+ }
348
+ },
349
+ "33": {
350
+ start: {
351
+ line: 204,
352
+ column: 6
353
+ },
354
+ end: {
355
+ line: 204,
356
+ column: 76
357
+ }
358
+ },
359
+ "34": {
360
+ start: {
361
+ line: 205,
362
+ column: 11
363
+ },
364
+ end: {
365
+ line: 207,
366
+ column: 5
367
+ }
368
+ },
369
+ "35": {
370
+ start: {
371
+ line: 206,
372
+ column: 6
373
+ },
374
+ end: {
375
+ line: 206,
376
+ column: 76
377
+ }
378
+ },
379
+ "36": {
380
+ start: {
381
+ line: 209,
382
+ column: 4
383
+ },
384
+ end: {
385
+ line: 211,
386
+ column: 5
387
+ }
388
+ },
389
+ "37": {
390
+ start: {
391
+ line: 210,
392
+ column: 6
393
+ },
394
+ end: {
395
+ line: 210,
396
+ column: 49
397
+ }
398
+ },
399
+ "38": {
400
+ start: {
401
+ line: 213,
402
+ column: 4
403
+ },
404
+ end: {
405
+ line: 217,
406
+ column: 5
407
+ }
408
+ },
409
+ "39": {
410
+ start: {
411
+ line: 214,
412
+ column: 6
413
+ },
414
+ end: {
415
+ line: 216,
416
+ column: 8
417
+ }
418
+ },
419
+ "40": {
420
+ start: {
421
+ line: 219,
422
+ column: 4
423
+ },
424
+ end: {
425
+ line: 225,
426
+ column: 5
427
+ }
428
+ },
429
+ "41": {
430
+ start: {
431
+ line: 220,
432
+ column: 6
433
+ },
434
+ end: {
435
+ line: 224,
436
+ column: 8
437
+ }
438
+ },
439
+ "42": {
440
+ start: {
441
+ line: 227,
442
+ column: 4
443
+ },
444
+ end: {
445
+ line: 232,
446
+ column: 6
447
+ }
448
+ },
449
+ "43": {
450
+ start: {
451
+ line: 265,
452
+ column: 4
453
+ },
454
+ end: {
455
+ line: 273,
456
+ column: 5
457
+ }
458
+ },
459
+ "44": {
460
+ start: {
461
+ line: 266,
462
+ column: 6
463
+ },
464
+ end: {
465
+ line: 266,
466
+ column: 93
467
+ }
468
+ },
469
+ "45": {
470
+ start: {
471
+ line: 267,
472
+ column: 11
473
+ },
474
+ end: {
475
+ line: 273,
476
+ column: 5
477
+ }
478
+ },
479
+ "46": {
480
+ start: {
481
+ line: 268,
482
+ column: 6
483
+ },
484
+ end: {
485
+ line: 268,
486
+ column: 87
487
+ }
488
+ },
489
+ "47": {
490
+ start: {
491
+ line: 269,
492
+ column: 11
493
+ },
494
+ end: {
495
+ line: 273,
496
+ column: 5
497
+ }
498
+ },
499
+ "48": {
500
+ start: {
501
+ line: 270,
502
+ column: 6
503
+ },
504
+ end: {
505
+ line: 270,
506
+ column: 87
507
+ }
508
+ },
509
+ "49": {
510
+ start: {
511
+ line: 271,
512
+ column: 11
513
+ },
514
+ end: {
515
+ line: 273,
516
+ column: 5
517
+ }
518
+ },
519
+ "50": {
520
+ start: {
521
+ line: 272,
522
+ column: 6
523
+ },
524
+ end: {
525
+ line: 272,
526
+ column: 95
527
+ }
528
+ },
529
+ "51": {
530
+ start: {
531
+ line: 275,
532
+ column: 4
533
+ },
534
+ end: {
535
+ line: 277,
536
+ column: 5
537
+ }
538
+ },
539
+ "52": {
540
+ start: {
541
+ line: 276,
542
+ column: 6
543
+ },
544
+ end: {
545
+ line: 276,
546
+ column: 49
547
+ }
548
+ },
549
+ "53": {
550
+ start: {
551
+ line: 279,
552
+ column: 4
553
+ },
554
+ end: {
555
+ line: 286,
556
+ column: 61
557
+ }
558
+ },
559
+ "54": {
560
+ start: {
561
+ line: 286,
562
+ column: 26
563
+ },
564
+ end: {
565
+ line: 286,
566
+ column: 59
567
+ }
568
+ }
569
+ },
570
+ fnMap: {
571
+ "0": {
572
+ name: "(anonymous_0)",
573
+ decl: {
574
+ start: {
575
+ line: 23,
576
+ column: 2
577
+ },
578
+ end: {
579
+ line: 23,
580
+ column: 3
581
+ }
582
+ },
583
+ loc: {
584
+ start: {
585
+ line: 23,
586
+ column: 37
587
+ },
588
+ end: {
589
+ line: 27,
590
+ column: 3
591
+ }
592
+ },
593
+ line: 23
594
+ },
595
+ "1": {
596
+ name: "(anonymous_1)",
597
+ decl: {
598
+ start: {
599
+ line: 54,
600
+ column: 2
601
+ },
602
+ end: {
603
+ line: 54,
604
+ column: 3
605
+ }
606
+ },
607
+ loc: {
608
+ start: {
609
+ line: 54,
610
+ column: 23
611
+ },
612
+ end: {
613
+ line: 77,
614
+ column: 3
615
+ }
616
+ },
617
+ line: 54
618
+ },
619
+ "2": {
620
+ name: "(anonymous_2)",
621
+ decl: {
622
+ start: {
623
+ line: 76,
624
+ column: 12
625
+ },
626
+ end: {
627
+ line: 76,
628
+ column: 13
629
+ }
630
+ },
631
+ loc: {
632
+ start: {
633
+ line: 76,
634
+ column: 26
635
+ },
636
+ end: {
637
+ line: 76,
638
+ column: 59
639
+ }
640
+ },
641
+ line: 76
642
+ },
643
+ "3": {
644
+ name: "(anonymous_3)",
645
+ decl: {
646
+ start: {
647
+ line: 101,
648
+ column: 2
649
+ },
650
+ end: {
651
+ line: 101,
652
+ column: 3
653
+ }
654
+ },
655
+ loc: {
656
+ start: {
657
+ line: 101,
658
+ column: 47
659
+ },
660
+ end: {
661
+ line: 122,
662
+ column: 3
663
+ }
664
+ },
665
+ line: 101
666
+ },
667
+ "4": {
668
+ name: "(anonymous_4)",
669
+ decl: {
670
+ start: {
671
+ line: 148,
672
+ column: 2
673
+ },
674
+ end: {
675
+ line: 148,
676
+ column: 3
677
+ }
678
+ },
679
+ loc: {
680
+ start: {
681
+ line: 148,
682
+ column: 44
683
+ },
684
+ end: {
685
+ line: 170,
686
+ column: 3
687
+ }
688
+ },
689
+ line: 148
690
+ },
691
+ "5": {
692
+ name: "(anonymous_5)",
693
+ decl: {
694
+ start: {
695
+ line: 169,
696
+ column: 12
697
+ },
698
+ end: {
699
+ line: 169,
700
+ column: 13
701
+ }
702
+ },
703
+ loc: {
704
+ start: {
705
+ line: 169,
706
+ column: 26
707
+ },
708
+ end: {
709
+ line: 169,
710
+ column: 59
711
+ }
712
+ },
713
+ line: 169
714
+ },
715
+ "6": {
716
+ name: "(anonymous_6)",
717
+ decl: {
718
+ start: {
719
+ line: 197,
720
+ column: 2
721
+ },
722
+ end: {
723
+ line: 197,
724
+ column: 3
725
+ }
726
+ },
727
+ loc: {
728
+ start: {
729
+ line: 197,
730
+ column: 55
731
+ },
732
+ end: {
733
+ line: 233,
734
+ column: 3
735
+ }
736
+ },
737
+ line: 197
738
+ },
739
+ "7": {
740
+ name: "(anonymous_7)",
741
+ decl: {
742
+ start: {
743
+ line: 262,
744
+ column: 2
745
+ },
746
+ end: {
747
+ line: 262,
748
+ column: 3
749
+ }
750
+ },
751
+ loc: {
752
+ start: {
753
+ line: 262,
754
+ column: 71
755
+ },
756
+ end: {
757
+ line: 287,
758
+ column: 3
759
+ }
760
+ },
761
+ line: 262
762
+ },
763
+ "8": {
764
+ name: "(anonymous_8)",
765
+ decl: {
766
+ start: {
767
+ line: 286,
768
+ column: 12
769
+ },
770
+ end: {
771
+ line: 286,
772
+ column: 13
773
+ }
774
+ },
775
+ loc: {
776
+ start: {
777
+ line: 286,
778
+ column: 26
779
+ },
780
+ end: {
781
+ line: 286,
782
+ column: 59
783
+ }
784
+ },
785
+ line: 286
786
+ }
787
+ },
788
+ branchMap: {
789
+ "0": {
790
+ loc: {
791
+ start: {
792
+ line: 54,
793
+ column: 9
794
+ },
795
+ end: {
796
+ line: 54,
797
+ column: 21
798
+ }
799
+ },
800
+ type: "default-arg",
801
+ locations: [{
802
+ start: {
803
+ line: 54,
804
+ column: 19
805
+ },
806
+ end: {
807
+ line: 54,
808
+ column: 21
809
+ }
810
+ }],
811
+ line: 54
812
+ },
813
+ "1": {
814
+ loc: {
815
+ start: {
816
+ line: 60,
817
+ column: 6
818
+ },
819
+ end: {
820
+ line: 66,
821
+ column: 7
822
+ }
823
+ },
824
+ type: "if",
825
+ locations: [{
826
+ start: {
827
+ line: 60,
828
+ column: 6
829
+ },
830
+ end: {
831
+ line: 66,
832
+ column: 7
833
+ }
834
+ }, {
835
+ start: {
836
+ line: undefined,
837
+ column: undefined
838
+ },
839
+ end: {
840
+ line: undefined,
841
+ column: undefined
842
+ }
843
+ }],
844
+ line: 60
845
+ },
846
+ "2": {
847
+ loc: {
848
+ start: {
849
+ line: 104,
850
+ column: 4
851
+ },
852
+ end: {
853
+ line: 111,
854
+ column: 5
855
+ }
856
+ },
857
+ type: "if",
858
+ locations: [{
859
+ start: {
860
+ line: 104,
861
+ column: 4
862
+ },
863
+ end: {
864
+ line: 111,
865
+ column: 5
866
+ }
867
+ }, {
868
+ start: {
869
+ line: 107,
870
+ column: 11
871
+ },
872
+ end: {
873
+ line: 111,
874
+ column: 5
875
+ }
876
+ }],
877
+ line: 104
878
+ },
879
+ "3": {
880
+ loc: {
881
+ start: {
882
+ line: 107,
883
+ column: 11
884
+ },
885
+ end: {
886
+ line: 111,
887
+ column: 5
888
+ }
889
+ },
890
+ type: "if",
891
+ locations: [{
892
+ start: {
893
+ line: 107,
894
+ column: 11
895
+ },
896
+ end: {
897
+ line: 111,
898
+ column: 5
899
+ }
900
+ }, {
901
+ start: {
902
+ line: 109,
903
+ column: 11
904
+ },
905
+ end: {
906
+ line: 111,
907
+ column: 5
908
+ }
909
+ }],
910
+ line: 107
911
+ },
912
+ "4": {
913
+ loc: {
914
+ start: {
915
+ line: 109,
916
+ column: 11
917
+ },
918
+ end: {
919
+ line: 111,
920
+ column: 5
921
+ }
922
+ },
923
+ type: "if",
924
+ locations: [{
925
+ start: {
926
+ line: 109,
927
+ column: 11
928
+ },
929
+ end: {
930
+ line: 111,
931
+ column: 5
932
+ }
933
+ }, {
934
+ start: {
935
+ line: undefined,
936
+ column: undefined
937
+ },
938
+ end: {
939
+ line: undefined,
940
+ column: undefined
941
+ }
942
+ }],
943
+ line: 109
944
+ },
945
+ "5": {
946
+ loc: {
947
+ start: {
948
+ line: 113,
949
+ column: 4
950
+ },
951
+ end: {
952
+ line: 115,
953
+ column: 5
954
+ }
955
+ },
956
+ type: "if",
957
+ locations: [{
958
+ start: {
959
+ line: 113,
960
+ column: 4
961
+ },
962
+ end: {
963
+ line: 115,
964
+ column: 5
965
+ }
966
+ }, {
967
+ start: {
968
+ line: undefined,
969
+ column: undefined
970
+ },
971
+ end: {
972
+ line: undefined,
973
+ column: undefined
974
+ }
975
+ }],
976
+ line: 113
977
+ },
978
+ "6": {
979
+ loc: {
980
+ start: {
981
+ line: 151,
982
+ column: 4
983
+ },
984
+ end: {
985
+ line: 157,
986
+ column: 5
987
+ }
988
+ },
989
+ type: "if",
990
+ locations: [{
991
+ start: {
992
+ line: 151,
993
+ column: 4
994
+ },
995
+ end: {
996
+ line: 157,
997
+ column: 5
998
+ }
999
+ }, {
1000
+ start: {
1001
+ line: 153,
1002
+ column: 11
1003
+ },
1004
+ end: {
1005
+ line: 157,
1006
+ column: 5
1007
+ }
1008
+ }],
1009
+ line: 151
1010
+ },
1011
+ "7": {
1012
+ loc: {
1013
+ start: {
1014
+ line: 153,
1015
+ column: 11
1016
+ },
1017
+ end: {
1018
+ line: 157,
1019
+ column: 5
1020
+ }
1021
+ },
1022
+ type: "if",
1023
+ locations: [{
1024
+ start: {
1025
+ line: 153,
1026
+ column: 11
1027
+ },
1028
+ end: {
1029
+ line: 157,
1030
+ column: 5
1031
+ }
1032
+ }, {
1033
+ start: {
1034
+ line: 155,
1035
+ column: 11
1036
+ },
1037
+ end: {
1038
+ line: 157,
1039
+ column: 5
1040
+ }
1041
+ }],
1042
+ line: 153
1043
+ },
1044
+ "8": {
1045
+ loc: {
1046
+ start: {
1047
+ line: 155,
1048
+ column: 11
1049
+ },
1050
+ end: {
1051
+ line: 157,
1052
+ column: 5
1053
+ }
1054
+ },
1055
+ type: "if",
1056
+ locations: [{
1057
+ start: {
1058
+ line: 155,
1059
+ column: 11
1060
+ },
1061
+ end: {
1062
+ line: 157,
1063
+ column: 5
1064
+ }
1065
+ }, {
1066
+ start: {
1067
+ line: undefined,
1068
+ column: undefined
1069
+ },
1070
+ end: {
1071
+ line: undefined,
1072
+ column: undefined
1073
+ }
1074
+ }],
1075
+ line: 155
1076
+ },
1077
+ "9": {
1078
+ loc: {
1079
+ start: {
1080
+ line: 159,
1081
+ column: 4
1082
+ },
1083
+ end: {
1084
+ line: 161,
1085
+ column: 5
1086
+ }
1087
+ },
1088
+ type: "if",
1089
+ locations: [{
1090
+ start: {
1091
+ line: 159,
1092
+ column: 4
1093
+ },
1094
+ end: {
1095
+ line: 161,
1096
+ column: 5
1097
+ }
1098
+ }, {
1099
+ start: {
1100
+ line: undefined,
1101
+ column: undefined
1102
+ },
1103
+ end: {
1104
+ line: undefined,
1105
+ column: undefined
1106
+ }
1107
+ }],
1108
+ line: 159
1109
+ },
1110
+ "10": {
1111
+ loc: {
1112
+ start: {
1113
+ line: 200,
1114
+ column: 4
1115
+ },
1116
+ end: {
1117
+ line: 207,
1118
+ column: 5
1119
+ }
1120
+ },
1121
+ type: "if",
1122
+ locations: [{
1123
+ start: {
1124
+ line: 200,
1125
+ column: 4
1126
+ },
1127
+ end: {
1128
+ line: 207,
1129
+ column: 5
1130
+ }
1131
+ }, {
1132
+ start: {
1133
+ line: 203,
1134
+ column: 11
1135
+ },
1136
+ end: {
1137
+ line: 207,
1138
+ column: 5
1139
+ }
1140
+ }],
1141
+ line: 200
1142
+ },
1143
+ "11": {
1144
+ loc: {
1145
+ start: {
1146
+ line: 203,
1147
+ column: 11
1148
+ },
1149
+ end: {
1150
+ line: 207,
1151
+ column: 5
1152
+ }
1153
+ },
1154
+ type: "if",
1155
+ locations: [{
1156
+ start: {
1157
+ line: 203,
1158
+ column: 11
1159
+ },
1160
+ end: {
1161
+ line: 207,
1162
+ column: 5
1163
+ }
1164
+ }, {
1165
+ start: {
1166
+ line: 205,
1167
+ column: 11
1168
+ },
1169
+ end: {
1170
+ line: 207,
1171
+ column: 5
1172
+ }
1173
+ }],
1174
+ line: 203
1175
+ },
1176
+ "12": {
1177
+ loc: {
1178
+ start: {
1179
+ line: 205,
1180
+ column: 11
1181
+ },
1182
+ end: {
1183
+ line: 207,
1184
+ column: 5
1185
+ }
1186
+ },
1187
+ type: "if",
1188
+ locations: [{
1189
+ start: {
1190
+ line: 205,
1191
+ column: 11
1192
+ },
1193
+ end: {
1194
+ line: 207,
1195
+ column: 5
1196
+ }
1197
+ }, {
1198
+ start: {
1199
+ line: undefined,
1200
+ column: undefined
1201
+ },
1202
+ end: {
1203
+ line: undefined,
1204
+ column: undefined
1205
+ }
1206
+ }],
1207
+ line: 205
1208
+ },
1209
+ "13": {
1210
+ loc: {
1211
+ start: {
1212
+ line: 209,
1213
+ column: 4
1214
+ },
1215
+ end: {
1216
+ line: 211,
1217
+ column: 5
1218
+ }
1219
+ },
1220
+ type: "if",
1221
+ locations: [{
1222
+ start: {
1223
+ line: 209,
1224
+ column: 4
1225
+ },
1226
+ end: {
1227
+ line: 211,
1228
+ column: 5
1229
+ }
1230
+ }, {
1231
+ start: {
1232
+ line: undefined,
1233
+ column: undefined
1234
+ },
1235
+ end: {
1236
+ line: undefined,
1237
+ column: undefined
1238
+ }
1239
+ }],
1240
+ line: 209
1241
+ },
1242
+ "14": {
1243
+ loc: {
1244
+ start: {
1245
+ line: 213,
1246
+ column: 4
1247
+ },
1248
+ end: {
1249
+ line: 217,
1250
+ column: 5
1251
+ }
1252
+ },
1253
+ type: "if",
1254
+ locations: [{
1255
+ start: {
1256
+ line: 213,
1257
+ column: 4
1258
+ },
1259
+ end: {
1260
+ line: 217,
1261
+ column: 5
1262
+ }
1263
+ }, {
1264
+ start: {
1265
+ line: undefined,
1266
+ column: undefined
1267
+ },
1268
+ end: {
1269
+ line: undefined,
1270
+ column: undefined
1271
+ }
1272
+ }],
1273
+ line: 213
1274
+ },
1275
+ "15": {
1276
+ loc: {
1277
+ start: {
1278
+ line: 219,
1279
+ column: 4
1280
+ },
1281
+ end: {
1282
+ line: 225,
1283
+ column: 5
1284
+ }
1285
+ },
1286
+ type: "if",
1287
+ locations: [{
1288
+ start: {
1289
+ line: 219,
1290
+ column: 4
1291
+ },
1292
+ end: {
1293
+ line: 225,
1294
+ column: 5
1295
+ }
1296
+ }, {
1297
+ start: {
1298
+ line: undefined,
1299
+ column: undefined
1300
+ },
1301
+ end: {
1302
+ line: undefined,
1303
+ column: undefined
1304
+ }
1305
+ }],
1306
+ line: 219
1307
+ },
1308
+ "16": {
1309
+ loc: {
1310
+ start: {
1311
+ line: 265,
1312
+ column: 4
1313
+ },
1314
+ end: {
1315
+ line: 273,
1316
+ column: 5
1317
+ }
1318
+ },
1319
+ type: "if",
1320
+ locations: [{
1321
+ start: {
1322
+ line: 265,
1323
+ column: 4
1324
+ },
1325
+ end: {
1326
+ line: 273,
1327
+ column: 5
1328
+ }
1329
+ }, {
1330
+ start: {
1331
+ line: 267,
1332
+ column: 11
1333
+ },
1334
+ end: {
1335
+ line: 273,
1336
+ column: 5
1337
+ }
1338
+ }],
1339
+ line: 265
1340
+ },
1341
+ "17": {
1342
+ loc: {
1343
+ start: {
1344
+ line: 267,
1345
+ column: 11
1346
+ },
1347
+ end: {
1348
+ line: 273,
1349
+ column: 5
1350
+ }
1351
+ },
1352
+ type: "if",
1353
+ locations: [{
1354
+ start: {
1355
+ line: 267,
1356
+ column: 11
1357
+ },
1358
+ end: {
1359
+ line: 273,
1360
+ column: 5
1361
+ }
1362
+ }, {
1363
+ start: {
1364
+ line: 269,
1365
+ column: 11
1366
+ },
1367
+ end: {
1368
+ line: 273,
1369
+ column: 5
1370
+ }
1371
+ }],
1372
+ line: 267
1373
+ },
1374
+ "18": {
1375
+ loc: {
1376
+ start: {
1377
+ line: 269,
1378
+ column: 11
1379
+ },
1380
+ end: {
1381
+ line: 273,
1382
+ column: 5
1383
+ }
1384
+ },
1385
+ type: "if",
1386
+ locations: [{
1387
+ start: {
1388
+ line: 269,
1389
+ column: 11
1390
+ },
1391
+ end: {
1392
+ line: 273,
1393
+ column: 5
1394
+ }
1395
+ }, {
1396
+ start: {
1397
+ line: 271,
1398
+ column: 11
1399
+ },
1400
+ end: {
1401
+ line: 273,
1402
+ column: 5
1403
+ }
1404
+ }],
1405
+ line: 269
1406
+ },
1407
+ "19": {
1408
+ loc: {
1409
+ start: {
1410
+ line: 271,
1411
+ column: 11
1412
+ },
1413
+ end: {
1414
+ line: 273,
1415
+ column: 5
1416
+ }
1417
+ },
1418
+ type: "if",
1419
+ locations: [{
1420
+ start: {
1421
+ line: 271,
1422
+ column: 11
1423
+ },
1424
+ end: {
1425
+ line: 273,
1426
+ column: 5
1427
+ }
1428
+ }, {
1429
+ start: {
1430
+ line: undefined,
1431
+ column: undefined
1432
+ },
1433
+ end: {
1434
+ line: undefined,
1435
+ column: undefined
1436
+ }
1437
+ }],
1438
+ line: 271
1439
+ },
1440
+ "20": {
1441
+ loc: {
1442
+ start: {
1443
+ line: 275,
1444
+ column: 4
1445
+ },
1446
+ end: {
1447
+ line: 277,
1448
+ column: 5
1449
+ }
1450
+ },
1451
+ type: "if",
1452
+ locations: [{
1453
+ start: {
1454
+ line: 275,
1455
+ column: 4
1456
+ },
1457
+ end: {
1458
+ line: 277,
1459
+ column: 5
1460
+ }
1461
+ }, {
1462
+ start: {
1463
+ line: undefined,
1464
+ column: undefined
1465
+ },
1466
+ end: {
1467
+ line: undefined,
1468
+ column: undefined
1469
+ }
1470
+ }],
1471
+ line: 275
1472
+ }
1473
+ },
1474
+ s: {
1475
+ "0": 0,
1476
+ "1": 0,
1477
+ "2": 0,
1478
+ "3": 0,
1479
+ "4": 0,
1480
+ "5": 0,
1481
+ "6": 0,
1482
+ "7": 0,
1483
+ "8": 0,
1484
+ "9": 0,
1485
+ "10": 0,
1486
+ "11": 0,
1487
+ "12": 0,
1488
+ "13": 0,
1489
+ "14": 0,
1490
+ "15": 0,
1491
+ "16": 0,
1492
+ "17": 0,
1493
+ "18": 0,
1494
+ "19": 0,
1495
+ "20": 0,
1496
+ "21": 0,
1497
+ "22": 0,
1498
+ "23": 0,
1499
+ "24": 0,
1500
+ "25": 0,
1501
+ "26": 0,
1502
+ "27": 0,
1503
+ "28": 0,
1504
+ "29": 0,
1505
+ "30": 0,
1506
+ "31": 0,
1507
+ "32": 0,
1508
+ "33": 0,
1509
+ "34": 0,
1510
+ "35": 0,
1511
+ "36": 0,
1512
+ "37": 0,
1513
+ "38": 0,
1514
+ "39": 0,
1515
+ "40": 0,
1516
+ "41": 0,
1517
+ "42": 0,
1518
+ "43": 0,
1519
+ "44": 0,
1520
+ "45": 0,
1521
+ "46": 0,
1522
+ "47": 0,
1523
+ "48": 0,
1524
+ "49": 0,
1525
+ "50": 0,
1526
+ "51": 0,
1527
+ "52": 0,
1528
+ "53": 0,
1529
+ "54": 0
1530
+ },
1531
+ f: {
1532
+ "0": 0,
1533
+ "1": 0,
1534
+ "2": 0,
1535
+ "3": 0,
1536
+ "4": 0,
1537
+ "5": 0,
1538
+ "6": 0,
1539
+ "7": 0,
1540
+ "8": 0
1541
+ },
1542
+ b: {
1543
+ "0": [0],
1544
+ "1": [0, 0],
1545
+ "2": [0, 0],
1546
+ "3": [0, 0],
1547
+ "4": [0, 0],
1548
+ "5": [0, 0],
1549
+ "6": [0, 0],
1550
+ "7": [0, 0],
1551
+ "8": [0, 0],
1552
+ "9": [0, 0],
1553
+ "10": [0, 0],
1554
+ "11": [0, 0],
1555
+ "12": [0, 0],
1556
+ "13": [0, 0],
1557
+ "14": [0, 0],
1558
+ "15": [0, 0],
1559
+ "16": [0, 0],
1560
+ "17": [0, 0],
1561
+ "18": [0, 0],
1562
+ "19": [0, 0],
1563
+ "20": [0, 0]
1564
+ },
1565
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
1566
+ hash: "b5ae2702b6596be52d1347227c41d4a3adfa1b70"
1567
+ };
1568
+ var coverage = global[gcv] || (global[gcv] = {});
1569
+ if (!coverage[path] || coverage[path].hash !== hash) {
1570
+ coverage[path] = coverageData;
1571
+ }
1572
+ var actualCoverage = coverage[path];
1573
+ {
1574
+ // @ts-ignore
1575
+ cov_2e7hik51vz = function () {
1576
+ return actualCoverage;
1577
+ };
1578
+ }
1579
+ return actualCoverage;
1580
+ }
1581
+ cov_2e7hik51vz();
19
1582
  /**
20
1583
  * @typedef {Object} MessageBusChannel
21
1584
  * @property {string} id UUID formatted ID
@@ -29,17 +1592,19 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
29
1592
  *
30
1593
  * @typicalname contxtSdk.bus.channels
31
1594
  */
32
- var Channels = function () {
1595
+ class Channels {
33
1596
  /**
34
1597
  * @param {Object} sdk An instance of the SDK so the module can communicate with other modules
35
1598
  * @param {Object} request An instance of the request module tied to this module's audience.
36
1599
  * @param {string} baseUrl The base URL provided by the parent module
37
1600
  */
38
- function Channels(sdk, request, baseUrl) {
39
- _classCallCheck(this, Channels);
40
-
1601
+ constructor(sdk, request, baseUrl) {
1602
+ cov_2e7hik51vz().f[0]++;
1603
+ cov_2e7hik51vz().s[0]++;
41
1604
  this._baseUrl = baseUrl;
1605
+ cov_2e7hik51vz().s[1]++;
42
1606
  this._request = request;
1607
+ cov_2e7hik51vz().s[2]++;
43
1608
  this._sdk = sdk;
44
1609
  }
45
1610
 
@@ -68,227 +1633,319 @@ var Channels = function () {
68
1633
  * .then((channel) => console.log(channel))
69
1634
  * .catch((err) => console.log(err));
70
1635
  */
71
-
72
-
73
- _createClass(Channels, [{
74
- key: 'create',
75
- value: function create() {
76
- var channel = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
77
-
78
- var requiredFields = ['name', 'organizationId', 'serviceId'];
79
-
80
- for (var i = 0; requiredFields.length > i; i++) {
81
- var field = requiredFields[i];
82
-
83
- if (!channel[field]) {
84
- return Promise.reject(new Error('A ' + field + ' is required to create a new message bus channel.'));
85
- }
1636
+ create() {
1637
+ let channel = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (cov_2e7hik51vz().b[0][0]++, {});
1638
+ cov_2e7hik51vz().f[1]++;
1639
+ const requiredFields = (cov_2e7hik51vz().s[3]++, ['name', 'organizationId', 'serviceId']);
1640
+ cov_2e7hik51vz().s[4]++;
1641
+ for (let i = (cov_2e7hik51vz().s[5]++, 0); requiredFields.length > i; i++) {
1642
+ const field = (cov_2e7hik51vz().s[6]++, requiredFields[i]);
1643
+ cov_2e7hik51vz().s[7]++;
1644
+ if (!channel[field]) {
1645
+ cov_2e7hik51vz().b[1][0]++;
1646
+ cov_2e7hik51vz().s[8]++;
1647
+ return Promise.reject(new Error(`A ${field} is required to create a new message bus channel.`));
1648
+ } else {
1649
+ cov_2e7hik51vz().b[1][1]++;
86
1650
  }
87
-
88
- return this._request.post(this._baseUrl + '/organizations/' + channel.organizationId + '/services/' + channel.serviceId + '/channels', (0, _objects.toSnakeCase)(channel)).then(function (response) {
89
- return (0, _objects.toCamelCase)(response);
90
- });
91
1651
  }
1652
+ cov_2e7hik51vz().s[9]++;
1653
+ return this._request.post(`${this._baseUrl}/organizations/${channel.organizationId}/services/${channel.serviceId}/channels`, _objects.default.toSnakeCase(channel)).then(response => {
1654
+ cov_2e7hik51vz().f[2]++;
1655
+ cov_2e7hik51vz().s[10]++;
1656
+ return _objects.default.toCamelCase(response);
1657
+ });
1658
+ }
92
1659
 
93
- /**
94
- * Deletes a message bus channel
95
- *
96
- * API Endpoint: '/organizations/:organizationId/services/:serviceId/channels/:channelId'
97
- * Method: DELETE
98
- *
99
- * @param {string} organizationId UUID of the organization
100
- * @param {string} serviceId ID of the service
101
- * @param {string} channelId UUID of the channel
102
- *
103
- * @returns {Promise}
104
- * @fulfill {undefined}
105
- * @reject {Error}
106
- *
107
- * @example
108
- * contxtSdk.bus.channels
109
- * .delete(
110
- * '875afddd-091c-4385-bc21-0edf38804d27',
111
- * 'ab123service',
112
- * '175afdec-291c-4385-bc21-0edf38804d21'
113
- * );
114
- */
115
-
116
- }, {
117
- key: 'delete',
118
- value: function _delete(organizationId, serviceId, channelId) {
119
- var errorMsg = void 0;
120
-
121
- if (!organizationId) {
122
- errorMsg = 'An organizationId is required to delete a message bus channel.';
123
- } else if (!serviceId) {
1660
+ /**
1661
+ * Deletes a message bus channel
1662
+ *
1663
+ * API Endpoint: '/organizations/:organizationId/services/:serviceId/channels/:channelId'
1664
+ * Method: DELETE
1665
+ *
1666
+ * @param {string} organizationId UUID of the organization
1667
+ * @param {string} serviceId ID of the service
1668
+ * @param {string} channelId UUID of the channel
1669
+ *
1670
+ * @returns {Promise}
1671
+ * @fulfill {undefined}
1672
+ * @reject {Error}
1673
+ *
1674
+ * @example
1675
+ * contxtSdk.bus.channels
1676
+ * .delete(
1677
+ * '875afddd-091c-4385-bc21-0edf38804d27',
1678
+ * 'ab123service',
1679
+ * '175afdec-291c-4385-bc21-0edf38804d21'
1680
+ * );
1681
+ */
1682
+ delete(organizationId, serviceId, channelId) {
1683
+ cov_2e7hik51vz().f[3]++;
1684
+ let errorMsg;
1685
+ cov_2e7hik51vz().s[11]++;
1686
+ if (!organizationId) {
1687
+ cov_2e7hik51vz().b[2][0]++;
1688
+ cov_2e7hik51vz().s[12]++;
1689
+ errorMsg = 'An organizationId is required to delete a message bus channel.';
1690
+ } else {
1691
+ cov_2e7hik51vz().b[2][1]++;
1692
+ cov_2e7hik51vz().s[13]++;
1693
+ if (!serviceId) {
1694
+ cov_2e7hik51vz().b[3][0]++;
1695
+ cov_2e7hik51vz().s[14]++;
124
1696
  errorMsg = 'A serviceId is required to delete a message bus channel.';
125
- } else if (!channelId) {
126
- errorMsg = 'A channelId is required to delete a message bus channel.';
127
- }
128
-
129
- if (errorMsg) {
130
- return Promise.reject(new Error(errorMsg));
1697
+ } else {
1698
+ cov_2e7hik51vz().b[3][1]++;
1699
+ cov_2e7hik51vz().s[15]++;
1700
+ if (!channelId) {
1701
+ cov_2e7hik51vz().b[4][0]++;
1702
+ cov_2e7hik51vz().s[16]++;
1703
+ errorMsg = 'A channelId is required to delete a message bus channel.';
1704
+ } else {
1705
+ cov_2e7hik51vz().b[4][1]++;
1706
+ }
131
1707
  }
132
-
133
- return this._request.delete(this._baseUrl + '/organizations/' + organizationId + '/services/' + serviceId + '/channels/' + channelId);
134
1708
  }
1709
+ cov_2e7hik51vz().s[17]++;
1710
+ if (errorMsg) {
1711
+ cov_2e7hik51vz().b[5][0]++;
1712
+ cov_2e7hik51vz().s[18]++;
1713
+ return Promise.reject(new Error(errorMsg));
1714
+ } else {
1715
+ cov_2e7hik51vz().b[5][1]++;
1716
+ }
1717
+ cov_2e7hik51vz().s[19]++;
1718
+ return this._request.delete(`${this._baseUrl}/organizations/${organizationId}/services/${serviceId}/channels/${channelId}`);
1719
+ }
135
1720
 
136
- /**
137
- * Gets information about a message bus channel
138
- *
139
- * API Endpoint: '/organizations/:organizationId/services/:serviceId/channels/:channelId'
140
- * Method: GET
141
- *
142
- * @param {string} organizationId UUID of the organization
143
- * @param {string} serviceId ID of the service
144
- * @param {string} channelId UUID of the channel
145
- *
146
- * @returns {Promise}
147
- * @fulfill {MessageBusChannel} Information about an event
148
- * @reject {Error}
149
- *
150
- * @example
151
- * contxtSdk.bus.channels
152
- * .get(
153
- * '875afddd-091c-4385-bc21-0edf38804d27',
154
- * 'ab123service',
155
- * '175afdec-291c-4385-bc21-0edf38804d21'
156
- * )
157
- * .then((channel) => console.log(channel))
158
- * .catch((err) => console.log(err));
159
- */
160
-
161
- }, {
162
- key: 'get',
163
- value: function get(organizationId, serviceId, channelId) {
164
- var errorMsg = void 0;
165
-
166
- if (!organizationId) {
167
- errorMsg = 'An organizationId is required to get a message bus channel.';
168
- } else if (!serviceId) {
1721
+ /**
1722
+ * Gets information about a message bus channel
1723
+ *
1724
+ * API Endpoint: '/organizations/:organizationId/services/:serviceId/channels/:channelId'
1725
+ * Method: GET
1726
+ *
1727
+ * @param {string} organizationId UUID of the organization
1728
+ * @param {string} serviceId ID of the service
1729
+ * @param {string} channelId UUID of the channel
1730
+ *
1731
+ * @returns {Promise}
1732
+ * @fulfill {MessageBusChannel} Information about an event
1733
+ * @reject {Error}
1734
+ *
1735
+ * @example
1736
+ * contxtSdk.bus.channels
1737
+ * .get(
1738
+ * '875afddd-091c-4385-bc21-0edf38804d27',
1739
+ * 'ab123service',
1740
+ * '175afdec-291c-4385-bc21-0edf38804d21'
1741
+ * )
1742
+ * .then((channel) => console.log(channel))
1743
+ * .catch((err) => console.log(err));
1744
+ */
1745
+ get(organizationId, serviceId, channelId) {
1746
+ cov_2e7hik51vz().f[4]++;
1747
+ let errorMsg;
1748
+ cov_2e7hik51vz().s[20]++;
1749
+ if (!organizationId) {
1750
+ cov_2e7hik51vz().b[6][0]++;
1751
+ cov_2e7hik51vz().s[21]++;
1752
+ errorMsg = 'An organizationId is required to get a message bus channel.';
1753
+ } else {
1754
+ cov_2e7hik51vz().b[6][1]++;
1755
+ cov_2e7hik51vz().s[22]++;
1756
+ if (!serviceId) {
1757
+ cov_2e7hik51vz().b[7][0]++;
1758
+ cov_2e7hik51vz().s[23]++;
169
1759
  errorMsg = 'A serviceId is required to get a message bus channel.';
170
- } else if (!channelId) {
171
- errorMsg = 'A channelId is required to get a message bus channel.';
172
- }
173
-
174
- if (errorMsg) {
175
- return Promise.reject(new Error(errorMsg));
1760
+ } else {
1761
+ cov_2e7hik51vz().b[7][1]++;
1762
+ cov_2e7hik51vz().s[24]++;
1763
+ if (!channelId) {
1764
+ cov_2e7hik51vz().b[8][0]++;
1765
+ cov_2e7hik51vz().s[25]++;
1766
+ errorMsg = 'A channelId is required to get a message bus channel.';
1767
+ } else {
1768
+ cov_2e7hik51vz().b[8][1]++;
1769
+ }
176
1770
  }
177
-
178
- return this._request.get(this._baseUrl + '/organizations/' + organizationId + '/services/' + serviceId + '/channels/' + channelId).then(function (response) {
179
- return (0, _objects.toCamelCase)(response);
180
- });
181
1771
  }
1772
+ cov_2e7hik51vz().s[26]++;
1773
+ if (errorMsg) {
1774
+ cov_2e7hik51vz().b[9][0]++;
1775
+ cov_2e7hik51vz().s[27]++;
1776
+ return Promise.reject(new Error(errorMsg));
1777
+ } else {
1778
+ cov_2e7hik51vz().b[9][1]++;
1779
+ }
1780
+ cov_2e7hik51vz().s[28]++;
1781
+ return this._request.get(`${this._baseUrl}/organizations/${organizationId}/services/${serviceId}/channels/${channelId}`).then(response => {
1782
+ cov_2e7hik51vz().f[5]++;
1783
+ cov_2e7hik51vz().s[29]++;
1784
+ return _objects.default.toCamelCase(response);
1785
+ });
1786
+ }
182
1787
 
183
- /**
184
- * Updates a message bus channel
185
- *
186
- * API Endpoint: '/organizations/:organizationId/services/:serviceId/channels/:channelId'
187
- * Method: PUT
188
- *
189
- * @param {string} organizationId UUID of the organization
190
- * @param {string} serviceId ID of the service
191
- * @param {string} channelId UUID of the channel to update
192
- * @param {Object} update An object containing the updated data for the channel
193
- * @param {string} [update.name]
194
- *
195
- * @returns {Promise}
196
- * @fulfill {undefined}
197
- * @reject {Error}
198
- *
199
- * @example
200
- * contxtSdk.bus.channels
201
- * .update(
202
- * '875afddd-091c-4385-bc21-0edf38804d27',
203
- * 'ab123service',
204
- * '175afdec-291c-4385-bc21-0edf38804d21'
205
- * { name: 'An Updated Channel Name' }
206
- * );
207
- */
208
-
209
- }, {
210
- key: 'update',
211
- value: function update(organizationId, serviceId, channelId, _update) {
212
- var errorMsg = void 0;
213
-
214
- if (!organizationId) {
215
- errorMsg = 'An organizationId is required to delete a message bus channel.';
216
- } else if (!serviceId) {
1788
+ /**
1789
+ * Updates a message bus channel
1790
+ *
1791
+ * API Endpoint: '/organizations/:organizationId/services/:serviceId/channels/:channelId'
1792
+ * Method: PUT
1793
+ *
1794
+ * @param {string} organizationId UUID of the organization
1795
+ * @param {string} serviceId ID of the service
1796
+ * @param {string} channelId UUID of the channel to update
1797
+ * @param {Object} update An object containing the updated data for the channel
1798
+ * @param {string} [update.name]
1799
+ *
1800
+ * @returns {Promise}
1801
+ * @fulfill {undefined}
1802
+ * @reject {Error}
1803
+ *
1804
+ * @example
1805
+ * contxtSdk.bus.channels
1806
+ * .update(
1807
+ * '875afddd-091c-4385-bc21-0edf38804d27',
1808
+ * 'ab123service',
1809
+ * '175afdec-291c-4385-bc21-0edf38804d21'
1810
+ * { name: 'An Updated Channel Name' }
1811
+ * );
1812
+ */
1813
+ update(organizationId, serviceId, channelId, update) {
1814
+ cov_2e7hik51vz().f[6]++;
1815
+ let errorMsg;
1816
+ cov_2e7hik51vz().s[30]++;
1817
+ if (!organizationId) {
1818
+ cov_2e7hik51vz().b[10][0]++;
1819
+ cov_2e7hik51vz().s[31]++;
1820
+ errorMsg = 'An organizationId is required to delete a message bus channel.';
1821
+ } else {
1822
+ cov_2e7hik51vz().b[10][1]++;
1823
+ cov_2e7hik51vz().s[32]++;
1824
+ if (!serviceId) {
1825
+ cov_2e7hik51vz().b[11][0]++;
1826
+ cov_2e7hik51vz().s[33]++;
217
1827
  errorMsg = 'A serviceId is required to delete a message bus channel.';
218
- } else if (!channelId) {
219
- errorMsg = 'A channelId is required to delete a message bus channel.';
220
- }
221
-
222
- if (errorMsg) {
223
- return Promise.reject(new Error(errorMsg));
224
- }
225
-
226
- if (!_update) {
227
- return Promise.reject(new Error('An update is required to update a message bus channel.'));
228
- }
229
-
230
- if (!(0, _lodash2.default)(_update)) {
231
- return Promise.reject(new Error('The message bus channel update must be a well-formed object with the data you wish to update.'));
1828
+ } else {
1829
+ cov_2e7hik51vz().b[11][1]++;
1830
+ cov_2e7hik51vz().s[34]++;
1831
+ if (!channelId) {
1832
+ cov_2e7hik51vz().b[12][0]++;
1833
+ cov_2e7hik51vz().s[35]++;
1834
+ errorMsg = 'A channelId is required to delete a message bus channel.';
1835
+ } else {
1836
+ cov_2e7hik51vz().b[12][1]++;
1837
+ }
232
1838
  }
233
-
234
- return this._request.put(this._baseUrl + '/organizations/' + organizationId + '/services/' + serviceId + '/channels/' + channelId, (0, _objects.toSnakeCase)(_update));
235
1839
  }
1840
+ cov_2e7hik51vz().s[36]++;
1841
+ if (errorMsg) {
1842
+ cov_2e7hik51vz().b[13][0]++;
1843
+ cov_2e7hik51vz().s[37]++;
1844
+ return Promise.reject(new Error(errorMsg));
1845
+ } else {
1846
+ cov_2e7hik51vz().b[13][1]++;
1847
+ }
1848
+ cov_2e7hik51vz().s[38]++;
1849
+ if (!update) {
1850
+ cov_2e7hik51vz().b[14][0]++;
1851
+ cov_2e7hik51vz().s[39]++;
1852
+ return Promise.reject(new Error('An update is required to update a message bus channel.'));
1853
+ } else {
1854
+ cov_2e7hik51vz().b[14][1]++;
1855
+ }
1856
+ cov_2e7hik51vz().s[40]++;
1857
+ if (!(0, _lodash.default)(update)) {
1858
+ cov_2e7hik51vz().b[15][0]++;
1859
+ cov_2e7hik51vz().s[41]++;
1860
+ return Promise.reject(new Error('The message bus channel update must be a well-formed object with the data you wish to update.'));
1861
+ } else {
1862
+ cov_2e7hik51vz().b[15][1]++;
1863
+ }
1864
+ cov_2e7hik51vz().s[42]++;
1865
+ return this._request.put(`${this._baseUrl}/organizations/${organizationId}/services/${serviceId}/channels/${channelId}`, _objects.default.toSnakeCase(update));
1866
+ }
236
1867
 
237
- /**
238
- * Peeks messages from a channel subscription
239
- *
240
- * API Endpoint: '/organizations/:organizationId/services/:serviceId/channels/:channelId/peek/:subscription'
241
- * Method: GET
242
- *
243
- * @param {string} organizationId UUID of the organization
244
- * @param {string} serviceId ID of the service
245
- * @param {string} channelId UUID of the channel
246
- * @param {string} subscription name of the subscription
247
- * @param {number} messagePos the number of messages to peek
248
- *
249
- * @returns {Promise}
250
- * @fulfill {MessageBusChannel} Information about an event
251
- * @reject {Error}
252
- *
253
- * @example
254
- * contxtSdk.bus.channels
255
- * .peek(
256
- * '875afddd-091c-4385-bc21-0edf38804d27',
257
- * 'ab123service',
258
- * '175afdec-291c-4385-bc21-0edf38804d21',
259
- * 'test-subscription'
260
- * )
261
- * .then((channel) => console.log(channel))
262
- * .catch((err) => console.log(err));
263
- */
264
-
265
- }, {
266
- key: 'peek',
267
- value: function peek(organizationId, serviceId, channelId, subscription, messagePos) {
268
- var errorMsg = void 0;
269
-
270
- if (!organizationId) {
271
- errorMsg = 'An organizationId is required to peek a message bus channel subscription.';
272
- } else if (!serviceId) {
1868
+ /**
1869
+ * Peeks messages from a channel subscription
1870
+ *
1871
+ * API Endpoint: '/organizations/:organizationId/services/:serviceId/channels/:channelId/peek/:subscription'
1872
+ * Method: GET
1873
+ *
1874
+ * @param {string} organizationId UUID of the organization
1875
+ * @param {string} serviceId ID of the service
1876
+ * @param {string} channelId UUID of the channel
1877
+ * @param {string} subscription name of the subscription
1878
+ * @param {number} messagePos the number of messages to peek
1879
+ *
1880
+ * @returns {Promise}
1881
+ * @fulfill {MessageBusChannel} Information about an event
1882
+ * @reject {Error}
1883
+ *
1884
+ * @example
1885
+ * contxtSdk.bus.channels
1886
+ * .peek(
1887
+ * '875afddd-091c-4385-bc21-0edf38804d27',
1888
+ * 'ab123service',
1889
+ * '175afdec-291c-4385-bc21-0edf38804d21',
1890
+ * 'test-subscription'
1891
+ * )
1892
+ * .then((channel) => console.log(channel))
1893
+ * .catch((err) => console.log(err));
1894
+ */
1895
+ peek(organizationId, serviceId, channelId, subscription, messagePos) {
1896
+ cov_2e7hik51vz().f[7]++;
1897
+ let errorMsg;
1898
+ cov_2e7hik51vz().s[43]++;
1899
+ if (!organizationId) {
1900
+ cov_2e7hik51vz().b[16][0]++;
1901
+ cov_2e7hik51vz().s[44]++;
1902
+ errorMsg = 'An organizationId is required to peek a message bus channel subscription.';
1903
+ } else {
1904
+ cov_2e7hik51vz().b[16][1]++;
1905
+ cov_2e7hik51vz().s[45]++;
1906
+ if (!serviceId) {
1907
+ cov_2e7hik51vz().b[17][0]++;
1908
+ cov_2e7hik51vz().s[46]++;
273
1909
  errorMsg = 'A serviceId is required to peek a message bus channel subscription.';
274
- } else if (!channelId) {
275
- errorMsg = 'A channelId is required to peek a message bus channel subscription.';
276
- } else if (!subscription) {
277
- errorMsg = 'A subscription name is required to peek a message bus channel subscription.';
278
- }
279
-
280
- if (errorMsg) {
281
- return Promise.reject(new Error(errorMsg));
1910
+ } else {
1911
+ cov_2e7hik51vz().b[17][1]++;
1912
+ cov_2e7hik51vz().s[47]++;
1913
+ if (!channelId) {
1914
+ cov_2e7hik51vz().b[18][0]++;
1915
+ cov_2e7hik51vz().s[48]++;
1916
+ errorMsg = 'A channelId is required to peek a message bus channel subscription.';
1917
+ } else {
1918
+ cov_2e7hik51vz().b[18][1]++;
1919
+ cov_2e7hik51vz().s[49]++;
1920
+ if (!subscription) {
1921
+ cov_2e7hik51vz().b[19][0]++;
1922
+ cov_2e7hik51vz().s[50]++;
1923
+ errorMsg = 'A subscription name is required to peek a message bus channel subscription.';
1924
+ } else {
1925
+ cov_2e7hik51vz().b[19][1]++;
1926
+ }
1927
+ }
282
1928
  }
283
-
284
- return this._request.get(this._baseUrl + '/organizations/' + organizationId + '/services/' + serviceId + '/channels/' + channelId + '/peek/' + subscription, { params: { messagePos: messagePos } }).then(function (response) {
285
- return (0, _objects.toCamelCase)(response);
286
- });
287
1929
  }
288
- }]);
289
-
290
- return Channels;
291
- }();
292
-
293
- exports.default = Channels;
1930
+ cov_2e7hik51vz().s[51]++;
1931
+ if (errorMsg) {
1932
+ cov_2e7hik51vz().b[20][0]++;
1933
+ cov_2e7hik51vz().s[52]++;
1934
+ return Promise.reject(new Error(errorMsg));
1935
+ } else {
1936
+ cov_2e7hik51vz().b[20][1]++;
1937
+ }
1938
+ cov_2e7hik51vz().s[53]++;
1939
+ return this._request.get(`${this._baseUrl}/organizations/${organizationId}/services/${serviceId}/channels/${channelId}/peek/${subscription}`, {
1940
+ params: {
1941
+ messagePos
1942
+ }
1943
+ }).then(response => {
1944
+ cov_2e7hik51vz().f[8]++;
1945
+ cov_2e7hik51vz().s[54]++;
1946
+ return _objects.default.toCamelCase(response);
1947
+ });
1948
+ }
1949
+ }
1950
+ var _default = exports.default = Channels;
294
1951
  //# sourceMappingURL=channels.js.map