@solibo/home-api 1.1.0 → 1.1.1
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.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +742 -742
- package/kotlin-kotlin-stdlib.js +3032 -1782
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +14 -14
- package/kotlinx-coroutines-core.js +1893 -1893
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +35 -35
- package/kotlinx-io-kotlinx-io-core.js +457 -457
- package/kotlinx-serialization-kotlinx-serialization-core.js +1798 -1798
- package/kotlinx-serialization-kotlinx-serialization-json.js +1409 -1409
- package/ktor-ktor-client-content-negotiation.js +190 -190
- package/ktor-ktor-client-core.js +2991 -2991
- package/ktor-ktor-events.js +8 -8
- package/ktor-ktor-http-cio.js +497 -497
- package/ktor-ktor-http.js +675 -675
- package/ktor-ktor-io.js +1099 -1104
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +230 -230
- package/ktor-ktor-serialization.js +107 -107
- package/ktor-ktor-utils.js +553 -553
- package/ktor-ktor-websockets.js +757 -757
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.ts +395 -8
- package/solibo-sdk-sdk-home-api.js +74182 -68237
- package/solibo-sdk-sdk-home-api.js.map +1 -1
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
22
22
|
'use strict';
|
|
23
23
|
//region block: imports
|
|
24
|
-
var Exception = kotlin_kotlin.$_$.
|
|
24
|
+
var Exception = kotlin_kotlin.$_$.of;
|
|
25
25
|
var VOID = kotlin_kotlin.$_$.b;
|
|
26
26
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.j1;
|
|
27
27
|
var captureStack = kotlin_kotlin.$_$.fa;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
40
40
|
var hashCode = kotlin_kotlin.$_$.wa;
|
|
41
41
|
var CoroutineImpl = kotlin_kotlin.$_$.g9;
|
|
42
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
42
|
+
var THROW_CCE = kotlin_kotlin.$_$.vf;
|
|
43
43
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.p8;
|
|
44
44
|
var initMetadataForLambda = kotlin_kotlin.$_$.cb;
|
|
45
45
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.za;
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
configuration = tmp;
|
|
61
61
|
var tmp_0;
|
|
62
62
|
if ($super === VOID) {
|
|
63
|
-
this.
|
|
63
|
+
this.t3a(contentType, converter, configuration);
|
|
64
64
|
tmp_0 = Unit_instance;
|
|
65
65
|
} else {
|
|
66
|
-
tmp_0 = $super.
|
|
66
|
+
tmp_0 = $super.t3a.call(this, contentType, converter, configuration);
|
|
67
67
|
}
|
|
68
68
|
return tmp_0;
|
|
69
69
|
}
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
}
|
|
88
88
|
function deserialize(_this__u8e3s4, body, typeInfo, charset, $completion) {
|
|
89
89
|
var tmp = new $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, $completion);
|
|
90
|
-
tmp.
|
|
91
|
-
tmp.
|
|
92
|
-
return tmp.
|
|
90
|
+
tmp.l8_1 = Unit_instance;
|
|
91
|
+
tmp.m8_1 = null;
|
|
92
|
+
return tmp.r8();
|
|
93
93
|
}
|
|
94
94
|
function suitableCharset(_this__u8e3s4, defaultCharset) {
|
|
95
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
95
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().w1q_1 : defaultCharset;
|
|
96
96
|
var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
|
|
97
97
|
return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
|
|
98
98
|
}
|
|
@@ -102,10 +102,10 @@
|
|
|
102
102
|
function Configuration() {
|
|
103
103
|
}
|
|
104
104
|
function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
|
|
105
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
106
|
-
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.
|
|
105
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().w1q_1 : defaultCharset;
|
|
106
|
+
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.f2d('Accept-Charset')).t();
|
|
107
107
|
while (_iterator__ex2g4s.u()) {
|
|
108
|
-
var charset = _iterator__ex2g4s.v().
|
|
108
|
+
var charset = _iterator__ex2g4s.v().se();
|
|
109
109
|
if (charset === '*')
|
|
110
110
|
return defaultCharset;
|
|
111
111
|
else if (isSupported(Charsets_getInstance(), charset))
|
|
@@ -114,13 +114,13 @@
|
|
|
114
114
|
return null;
|
|
115
115
|
}
|
|
116
116
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
117
|
-
this.
|
|
117
|
+
this.v3a_1 = function_0;
|
|
118
118
|
}
|
|
119
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
120
|
-
return this.
|
|
119
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d1b = function (value, $completion) {
|
|
120
|
+
return this.v3a_1(value, $completion);
|
|
121
121
|
};
|
|
122
122
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).g3 = function () {
|
|
123
|
-
return this.
|
|
123
|
+
return this.v3a_1;
|
|
124
124
|
};
|
|
125
125
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
126
126
|
var tmp;
|
|
@@ -141,34 +141,34 @@
|
|
|
141
141
|
return hashCode(this.g3());
|
|
142
142
|
};
|
|
143
143
|
function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
144
|
-
this.
|
|
145
|
-
this.
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
144
|
+
this.e3b_1 = $$this$unsafeFlow;
|
|
145
|
+
this.f3b_1 = $charset;
|
|
146
|
+
this.g3b_1 = $typeInfo;
|
|
147
|
+
this.h3b_1 = $body;
|
|
148
148
|
CoroutineImpl.call(this, resultContinuation);
|
|
149
149
|
}
|
|
150
|
-
protoOf(deserialize$o$collect$slambda).
|
|
151
|
-
var tmp = this.
|
|
152
|
-
tmp.
|
|
153
|
-
tmp.
|
|
154
|
-
return tmp.
|
|
150
|
+
protoOf(deserialize$o$collect$slambda).k3b = function (value, $completion) {
|
|
151
|
+
var tmp = this.l3b(value, $completion);
|
|
152
|
+
tmp.l8_1 = Unit_instance;
|
|
153
|
+
tmp.m8_1 = null;
|
|
154
|
+
return tmp.r8();
|
|
155
155
|
};
|
|
156
|
-
protoOf(deserialize$o$collect$slambda).
|
|
157
|
-
return this.
|
|
156
|
+
protoOf(deserialize$o$collect$slambda).d9 = function (p1, $completion) {
|
|
157
|
+
return this.k3b((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
158
158
|
};
|
|
159
|
-
protoOf(deserialize$o$collect$slambda).
|
|
160
|
-
var suspendResult = this.
|
|
159
|
+
protoOf(deserialize$o$collect$slambda).r8 = function () {
|
|
160
|
+
var suspendResult = this.l8_1;
|
|
161
161
|
$sm: do
|
|
162
162
|
try {
|
|
163
|
-
var tmp = this.
|
|
163
|
+
var tmp = this.j8_1;
|
|
164
164
|
switch (tmp) {
|
|
165
165
|
case 0:
|
|
166
|
-
this.
|
|
167
|
-
var tmp0 = this.
|
|
168
|
-
var tmp2 = this.
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
171
|
-
suspendResult = tmp2.
|
|
166
|
+
this.k8_1 = 3;
|
|
167
|
+
var tmp0 = this.e3b_1;
|
|
168
|
+
var tmp2 = this.i3b_1;
|
|
169
|
+
this.j3b_1 = tmp0;
|
|
170
|
+
this.j8_1 = 1;
|
|
171
|
+
suspendResult = tmp2.m3b(this.f3b_1, this.g3b_1, this.h3b_1, this);
|
|
172
172
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
173
173
|
return suspendResult;
|
|
174
174
|
}
|
|
@@ -176,8 +176,8 @@
|
|
|
176
176
|
continue $sm;
|
|
177
177
|
case 1:
|
|
178
178
|
var ARGUMENT = suspendResult;
|
|
179
|
-
this.
|
|
180
|
-
suspendResult = this.
|
|
179
|
+
this.j8_1 = 2;
|
|
180
|
+
suspendResult = this.j3b_1.d1b(ARGUMENT, this);
|
|
181
181
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
182
182
|
return suspendResult;
|
|
183
183
|
}
|
|
@@ -186,49 +186,49 @@
|
|
|
186
186
|
case 2:
|
|
187
187
|
return Unit_instance;
|
|
188
188
|
case 3:
|
|
189
|
-
throw this.
|
|
189
|
+
throw this.m8_1;
|
|
190
190
|
}
|
|
191
191
|
} catch ($p) {
|
|
192
192
|
var e = $p;
|
|
193
|
-
if (this.
|
|
193
|
+
if (this.k8_1 === 3) {
|
|
194
194
|
throw e;
|
|
195
195
|
} else {
|
|
196
|
-
this.
|
|
197
|
-
this.
|
|
196
|
+
this.j8_1 = this.k8_1;
|
|
197
|
+
this.m8_1 = e;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
while (true);
|
|
201
201
|
};
|
|
202
|
-
protoOf(deserialize$o$collect$slambda).
|
|
203
|
-
var i = new deserialize$o$collect$slambda(this.
|
|
204
|
-
i.
|
|
202
|
+
protoOf(deserialize$o$collect$slambda).l3b = function (value, completion) {
|
|
203
|
+
var i = new deserialize$o$collect$slambda(this.e3b_1, this.f3b_1, this.g3b_1, this.h3b_1, completion);
|
|
204
|
+
i.i3b_1 = value;
|
|
205
205
|
return i;
|
|
206
206
|
};
|
|
207
207
|
function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
208
208
|
var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
|
|
209
209
|
var l = function (value, $completion) {
|
|
210
|
-
return i.
|
|
210
|
+
return i.k3b(value, $completion);
|
|
211
211
|
};
|
|
212
212
|
l.$arity = 1;
|
|
213
213
|
return l;
|
|
214
214
|
}
|
|
215
215
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
216
216
|
CoroutineImpl.call(this, resultContinuation);
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
217
|
+
this.v3b_1 = _this__u8e3s4;
|
|
218
|
+
this.w3b_1 = collector;
|
|
219
219
|
}
|
|
220
|
-
protoOf($collectCOROUTINE$).
|
|
221
|
-
var suspendResult = this.
|
|
220
|
+
protoOf($collectCOROUTINE$).r8 = function () {
|
|
221
|
+
var suspendResult = this.l8_1;
|
|
222
222
|
$sm: do
|
|
223
223
|
try {
|
|
224
|
-
var tmp = this.
|
|
224
|
+
var tmp = this.j8_1;
|
|
225
225
|
switch (tmp) {
|
|
226
226
|
case 0:
|
|
227
|
-
this.
|
|
228
|
-
var $this$unsafeFlow = this.
|
|
229
|
-
this.
|
|
230
|
-
var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
231
|
-
suspendResult = this.
|
|
227
|
+
this.k8_1 = 2;
|
|
228
|
+
var $this$unsafeFlow = this.w3b_1;
|
|
229
|
+
this.j8_1 = 1;
|
|
230
|
+
var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.v3b_1.y3b_1, this.v3b_1.z3b_1, this.v3b_1.a3c_1, null);
|
|
231
|
+
suspendResult = this.v3b_1.x3b_1.f1b(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
232
232
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
233
233
|
return suspendResult;
|
|
234
234
|
}
|
|
@@ -237,57 +237,57 @@
|
|
|
237
237
|
case 1:
|
|
238
238
|
return Unit_instance;
|
|
239
239
|
case 2:
|
|
240
|
-
throw this.
|
|
240
|
+
throw this.m8_1;
|
|
241
241
|
}
|
|
242
242
|
} catch ($p) {
|
|
243
243
|
var e = $p;
|
|
244
|
-
if (this.
|
|
244
|
+
if (this.k8_1 === 2) {
|
|
245
245
|
throw e;
|
|
246
246
|
} else {
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
247
|
+
this.j8_1 = this.k8_1;
|
|
248
|
+
this.m8_1 = e;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
while (true);
|
|
252
252
|
};
|
|
253
253
|
function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
254
|
+
this.x3b_1 = $this;
|
|
255
|
+
this.y3b_1 = $charset;
|
|
256
|
+
this.z3b_1 = $typeInfo;
|
|
257
|
+
this.a3c_1 = $body;
|
|
258
258
|
}
|
|
259
|
-
protoOf(deserialize$$inlined$map$1).
|
|
259
|
+
protoOf(deserialize$$inlined$map$1).e1b = function (collector, $completion) {
|
|
260
260
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
261
|
-
tmp.
|
|
262
|
-
tmp.
|
|
263
|
-
return tmp.
|
|
261
|
+
tmp.l8_1 = Unit_instance;
|
|
262
|
+
tmp.m8_1 = null;
|
|
263
|
+
return tmp.r8();
|
|
264
264
|
};
|
|
265
|
-
protoOf(deserialize$$inlined$map$1).
|
|
266
|
-
return this.
|
|
265
|
+
protoOf(deserialize$$inlined$map$1).f1b = function (collector, $completion) {
|
|
266
|
+
return this.e1b(collector, $completion);
|
|
267
267
|
};
|
|
268
268
|
function deserialize$slambda($body, resultContinuation) {
|
|
269
|
-
this.
|
|
269
|
+
this.j3c_1 = $body;
|
|
270
270
|
CoroutineImpl.call(this, resultContinuation);
|
|
271
271
|
}
|
|
272
|
-
protoOf(deserialize$slambda).
|
|
273
|
-
var tmp = this.
|
|
274
|
-
tmp.
|
|
275
|
-
tmp.
|
|
276
|
-
return tmp.
|
|
272
|
+
protoOf(deserialize$slambda).l3c = function (it, $completion) {
|
|
273
|
+
var tmp = this.l3b(it, $completion);
|
|
274
|
+
tmp.l8_1 = Unit_instance;
|
|
275
|
+
tmp.m8_1 = null;
|
|
276
|
+
return tmp.r8();
|
|
277
277
|
};
|
|
278
|
-
protoOf(deserialize$slambda).
|
|
279
|
-
return this.
|
|
278
|
+
protoOf(deserialize$slambda).d9 = function (p1, $completion) {
|
|
279
|
+
return this.l3c((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
280
280
|
};
|
|
281
|
-
protoOf(deserialize$slambda).
|
|
282
|
-
var suspendResult = this.
|
|
281
|
+
protoOf(deserialize$slambda).r8 = function () {
|
|
282
|
+
var suspendResult = this.l8_1;
|
|
283
283
|
$sm: do
|
|
284
284
|
try {
|
|
285
|
-
var tmp = this.
|
|
285
|
+
var tmp = this.j8_1;
|
|
286
286
|
if (tmp === 0) {
|
|
287
|
-
this.
|
|
288
|
-
return !(this.
|
|
287
|
+
this.k8_1 = 1;
|
|
288
|
+
return !(this.k3c_1 == null) || this.j3c_1.z1g();
|
|
289
289
|
} else if (tmp === 1) {
|
|
290
|
-
throw this.
|
|
290
|
+
throw this.m8_1;
|
|
291
291
|
}
|
|
292
292
|
} catch ($p) {
|
|
293
293
|
var e = $p;
|
|
@@ -295,38 +295,38 @@
|
|
|
295
295
|
}
|
|
296
296
|
while (true);
|
|
297
297
|
};
|
|
298
|
-
protoOf(deserialize$slambda).
|
|
299
|
-
var i = new deserialize$slambda(this.
|
|
300
|
-
i.
|
|
298
|
+
protoOf(deserialize$slambda).l3b = function (it, completion) {
|
|
299
|
+
var i = new deserialize$slambda(this.j3c_1, completion);
|
|
300
|
+
i.k3c_1 = it;
|
|
301
301
|
return i;
|
|
302
302
|
};
|
|
303
303
|
function deserialize$slambda_0($body, resultContinuation) {
|
|
304
304
|
var i = new deserialize$slambda($body, resultContinuation);
|
|
305
305
|
var l = function (it, $completion) {
|
|
306
|
-
return i.
|
|
306
|
+
return i.l3c(it, $completion);
|
|
307
307
|
};
|
|
308
308
|
l.$arity = 1;
|
|
309
309
|
return l;
|
|
310
310
|
}
|
|
311
311
|
function $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
|
|
312
312
|
CoroutineImpl.call(this, resultContinuation);
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
313
|
+
this.p3a_1 = _this__u8e3s4;
|
|
314
|
+
this.q3a_1 = body;
|
|
315
|
+
this.r3a_1 = typeInfo;
|
|
316
|
+
this.s3a_1 = charset;
|
|
317
317
|
}
|
|
318
|
-
protoOf($deserializeCOROUTINE$).
|
|
319
|
-
var suspendResult = this.
|
|
318
|
+
protoOf($deserializeCOROUTINE$).r8 = function () {
|
|
319
|
+
var suspendResult = this.l8_1;
|
|
320
320
|
$sm: do
|
|
321
321
|
try {
|
|
322
|
-
var tmp = this.
|
|
322
|
+
var tmp = this.j8_1;
|
|
323
323
|
switch (tmp) {
|
|
324
324
|
case 0:
|
|
325
|
-
this.
|
|
326
|
-
this.
|
|
327
|
-
var this_0 = asFlow(this.
|
|
328
|
-
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.
|
|
329
|
-
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.
|
|
325
|
+
this.k8_1 = 2;
|
|
326
|
+
this.j8_1 = 1;
|
|
327
|
+
var this_0 = asFlow(this.p3a_1);
|
|
328
|
+
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.s3a_1, this.r3a_1, this.q3a_1);
|
|
329
|
+
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.q3a_1, null), this);
|
|
330
330
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
331
331
|
return suspendResult;
|
|
332
332
|
}
|
|
@@ -338,29 +338,29 @@
|
|
|
338
338
|
if (!(result == null)) {
|
|
339
339
|
tmp_1 = result;
|
|
340
340
|
} else {
|
|
341
|
-
if (!this.
|
|
342
|
-
tmp_1 = this.
|
|
341
|
+
if (!this.q3a_1.z1g()) {
|
|
342
|
+
tmp_1 = this.q3a_1;
|
|
343
343
|
} else {
|
|
344
|
-
var tmp0_safe_receiver = this.
|
|
344
|
+
var tmp0_safe_receiver = this.r3a_1.l2i_1;
|
|
345
345
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
346
346
|
tmp_1 = NullBody_instance;
|
|
347
347
|
} else {
|
|
348
|
-
throw new ContentConvertException('No suitable converter found for ' + this.
|
|
348
|
+
throw new ContentConvertException('No suitable converter found for ' + this.r3a_1.toString());
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
return tmp_1;
|
|
354
354
|
case 2:
|
|
355
|
-
throw this.
|
|
355
|
+
throw this.m8_1;
|
|
356
356
|
}
|
|
357
357
|
} catch ($p) {
|
|
358
358
|
var e = $p;
|
|
359
|
-
if (this.
|
|
359
|
+
if (this.k8_1 === 2) {
|
|
360
360
|
throw e;
|
|
361
361
|
} else {
|
|
362
|
-
this.
|
|
363
|
-
this.
|
|
362
|
+
this.j8_1 = this.k8_1;
|
|
363
|
+
this.m8_1 = e;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
while (true);
|