@doordeck/doordeck-headless-sdk 0.193.0 → 0.195.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.
- package/kotlin/Kermit-kermit-core.js +64 -64
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.d.ts +22 -22
- package/kotlin/doordeck-sdk.js +10911 -10922
- package/kotlin/kotlin-kotlin-stdlib.js +2281 -1824
- package/kotlin/kotlinx-atomicfu.js +21 -21
- package/kotlin/kotlinx-browser.js +10 -0
- package/kotlin/kotlinx-coroutines-core.js +2904 -2424
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +56 -56
- package/kotlin/kotlinx-io-kotlinx-io-core.js +651 -651
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2063 -2073
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1619 -1618
- package/kotlin/ktor-ktor-client-auth.js +421 -412
- package/kotlin/ktor-ktor-client-content-negotiation.js +189 -190
- package/kotlin/ktor-ktor-client-core.js +3050 -2383
- package/kotlin/ktor-ktor-client-logging.js +1055 -1018
- package/kotlin/ktor-ktor-events.js +16 -16
- package/kotlin/ktor-ktor-http-cio.js +446 -451
- package/kotlin/ktor-ktor-http.js +1000 -956
- package/kotlin/ktor-ktor-io.js +1070 -1001
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +175 -174
- package/kotlin/ktor-ktor-serialization.js +78 -80
- package/kotlin/ktor-ktor-utils.js +981 -1041
- package/kotlin/ktor-ktor-websockets.js +2179 -85
- package/package.json +3 -3
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
5
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
6
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
7
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
8
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
4
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
5
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r2;
|
|
6
|
+
var isInterface = kotlin_kotlin.$_$.rb;
|
|
7
|
+
var Unit_instance = kotlin_kotlin.$_$.z;
|
|
8
|
+
var initMetadataForClass = kotlin_kotlin.$_$.cb;
|
|
9
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ib;
|
|
10
10
|
var VOID = kotlin_kotlin.$_$.b;
|
|
11
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
12
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
13
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
14
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
15
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
16
|
-
var toList = kotlin_kotlin.$_$.
|
|
17
|
-
var Enum = kotlin_kotlin.$_$.
|
|
18
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
19
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
20
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
11
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d2;
|
|
12
|
+
var charSequenceLength = kotlin_kotlin.$_$.qa;
|
|
13
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.gb;
|
|
14
|
+
var getStringHashCode = kotlin_kotlin.$_$.ab;
|
|
15
|
+
var THROW_CCE = kotlin_kotlin.$_$.zf;
|
|
16
|
+
var toList = kotlin_kotlin.$_$.j8;
|
|
17
|
+
var Enum = kotlin_kotlin.$_$.qf;
|
|
18
|
+
var objectCreate = kotlin_kotlin.$_$.yb;
|
|
19
|
+
var stackTraceToString = kotlin_kotlin.$_$.ah;
|
|
20
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.yg;
|
|
21
21
|
//endregion
|
|
22
22
|
//region block: pre-declaration
|
|
23
23
|
initMetadataForClass(BaseLogger, 'BaseLogger');
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
var sb = StringBuilder_init_$Create$();
|
|
43
43
|
if (!(severity == null)) {
|
|
44
|
-
sb.q(this.
|
|
44
|
+
sb.q(this.t64(severity)).q(' ');
|
|
45
45
|
}
|
|
46
46
|
var tmp_1;
|
|
47
47
|
var tmp_2 = tag;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
tmp_1 = false;
|
|
54
54
|
}
|
|
55
55
|
if (tmp_1) {
|
|
56
|
-
sb.q(this.
|
|
56
|
+
sb.q(this.r64(tag)).q(' ');
|
|
57
57
|
}
|
|
58
58
|
sb.q(_Message___get_message__impl__3t69n4(message));
|
|
59
59
|
return sb.toString();
|
|
@@ -74,26 +74,26 @@
|
|
|
74
74
|
}
|
|
75
75
|
var DEFAULT_MIN_SEVERITY;
|
|
76
76
|
function BaseLogger(config) {
|
|
77
|
-
this.
|
|
77
|
+
this.l64_1 = config;
|
|
78
78
|
}
|
|
79
|
-
protoOf(BaseLogger).
|
|
80
|
-
return this.
|
|
79
|
+
protoOf(BaseLogger).i3p = function () {
|
|
80
|
+
return this.l64_1;
|
|
81
81
|
};
|
|
82
|
-
protoOf(BaseLogger).
|
|
82
|
+
protoOf(BaseLogger).m64 = function () {
|
|
83
83
|
// Inline function 'kotlin.let' call
|
|
84
|
-
var it = this.
|
|
84
|
+
var it = this.i3p();
|
|
85
85
|
if (!isInterface(it, MutableLoggerConfig)) {
|
|
86
86
|
throw IllegalStateException_init_$Create$('Logger config is not mutable');
|
|
87
87
|
}
|
|
88
88
|
return it;
|
|
89
89
|
};
|
|
90
|
-
protoOf(BaseLogger).
|
|
90
|
+
protoOf(BaseLogger).n64 = function (severity, tag, throwable, message) {
|
|
91
91
|
// Inline function 'kotlin.collections.forEach' call
|
|
92
|
-
var _iterator__ex2g4s = this.
|
|
92
|
+
var _iterator__ex2g4s = this.i3p().o64().t();
|
|
93
93
|
while (_iterator__ex2g4s.u()) {
|
|
94
94
|
var element = _iterator__ex2g4s.v();
|
|
95
|
-
if (element.
|
|
96
|
-
element.
|
|
95
|
+
if (element.q64(tag, severity)) {
|
|
96
|
+
element.p64(severity, message, tag, throwable);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
};
|
|
@@ -106,15 +106,15 @@
|
|
|
106
106
|
}
|
|
107
107
|
function LogWriter() {
|
|
108
108
|
}
|
|
109
|
-
protoOf(LogWriter).
|
|
109
|
+
protoOf(LogWriter).q64 = function (tag, severity) {
|
|
110
110
|
return true;
|
|
111
111
|
};
|
|
112
112
|
function NoTagFormatter() {
|
|
113
113
|
}
|
|
114
|
-
protoOf(NoTagFormatter).
|
|
114
|
+
protoOf(NoTagFormatter).r64 = function (tag) {
|
|
115
115
|
return '';
|
|
116
116
|
};
|
|
117
|
-
protoOf(NoTagFormatter).
|
|
117
|
+
protoOf(NoTagFormatter).s64 = function (severity, tag, message) {
|
|
118
118
|
return formatMessage.call(this, severity, null, message);
|
|
119
119
|
};
|
|
120
120
|
var NoTagFormatter_instance;
|
|
@@ -144,21 +144,21 @@
|
|
|
144
144
|
function Tag__equals_impl_6ocp5g($this, other) {
|
|
145
145
|
if (!(other instanceof Tag))
|
|
146
146
|
return false;
|
|
147
|
-
if (!($this === (other instanceof Tag ? other.
|
|
147
|
+
if (!($this === (other instanceof Tag ? other.u64_1 : THROW_CCE())))
|
|
148
148
|
return false;
|
|
149
149
|
return true;
|
|
150
150
|
}
|
|
151
151
|
function Tag(tag) {
|
|
152
|
-
this.
|
|
152
|
+
this.u64_1 = tag;
|
|
153
153
|
}
|
|
154
154
|
protoOf(Tag).toString = function () {
|
|
155
|
-
return Tag__toString_impl_tvevk7(this.
|
|
155
|
+
return Tag__toString_impl_tvevk7(this.u64_1);
|
|
156
156
|
};
|
|
157
157
|
protoOf(Tag).hashCode = function () {
|
|
158
|
-
return Tag__hashCode_impl_848yrc(this.
|
|
158
|
+
return Tag__hashCode_impl_848yrc(this.u64_1);
|
|
159
159
|
};
|
|
160
160
|
protoOf(Tag).equals = function (other) {
|
|
161
|
-
return Tag__equals_impl_6ocp5g(this.
|
|
161
|
+
return Tag__equals_impl_6ocp5g(this.u64_1, other);
|
|
162
162
|
};
|
|
163
163
|
function _Message___init__impl__p3e8y6(message) {
|
|
164
164
|
return message;
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
minSeverity = minSeverity === VOID ? get_DEFAULT_MIN_SEVERITY() : minSeverity;
|
|
173
173
|
// Inline function 'kotlin.also' call
|
|
174
174
|
var this_0 = mutableLoggerConfigInit_0(toList(logWriters));
|
|
175
|
-
this_0.
|
|
175
|
+
this_0.v64(minSeverity);
|
|
176
176
|
return this_0;
|
|
177
177
|
}
|
|
178
178
|
var Severity_Verbose_instance;
|
|
@@ -222,11 +222,11 @@
|
|
|
222
222
|
}
|
|
223
223
|
function ConsoleWriter(messageStringFormatter, console) {
|
|
224
224
|
LogWriter.call(this);
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
225
|
+
this.w64_1 = messageStringFormatter;
|
|
226
|
+
this.x64_1 = console;
|
|
227
227
|
}
|
|
228
|
-
protoOf(ConsoleWriter).
|
|
229
|
-
var output = this.
|
|
228
|
+
protoOf(ConsoleWriter).p64 = function (severity, message, tag, throwable) {
|
|
229
|
+
var output = this.w64_1.s64(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
|
|
230
230
|
if (throwable == null)
|
|
231
231
|
null;
|
|
232
232
|
else {
|
|
@@ -236,17 +236,17 @@
|
|
|
236
236
|
switch (severity.a1_1) {
|
|
237
237
|
case 5:
|
|
238
238
|
case 4:
|
|
239
|
-
this.
|
|
239
|
+
this.x64_1.y64(output);
|
|
240
240
|
break;
|
|
241
241
|
case 3:
|
|
242
|
-
this.
|
|
242
|
+
this.x64_1.l2s(output);
|
|
243
243
|
break;
|
|
244
244
|
case 2:
|
|
245
|
-
this.
|
|
245
|
+
this.x64_1.z64(output);
|
|
246
246
|
break;
|
|
247
247
|
case 1:
|
|
248
248
|
case 0:
|
|
249
|
-
this.
|
|
249
|
+
this.x64_1.b57(output);
|
|
250
250
|
break;
|
|
251
251
|
default:
|
|
252
252
|
noWhenBranchMatchedException();
|
|
@@ -254,17 +254,17 @@
|
|
|
254
254
|
}
|
|
255
255
|
};
|
|
256
256
|
function JsMutableLoggerConfig(logWriters) {
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
257
|
+
this.a65_1 = get_DEFAULT_MIN_SEVERITY();
|
|
258
|
+
this.b65_1 = logWriters;
|
|
259
259
|
}
|
|
260
|
-
protoOf(JsMutableLoggerConfig).
|
|
261
|
-
this.
|
|
260
|
+
protoOf(JsMutableLoggerConfig).v64 = function (_set____db54di) {
|
|
261
|
+
this.a65_1 = _set____db54di;
|
|
262
262
|
};
|
|
263
|
-
protoOf(JsMutableLoggerConfig).
|
|
264
|
-
return this.
|
|
263
|
+
protoOf(JsMutableLoggerConfig).c65 = function () {
|
|
264
|
+
return this.a65_1;
|
|
265
265
|
};
|
|
266
|
-
protoOf(JsMutableLoggerConfig).
|
|
267
|
-
return this.
|
|
266
|
+
protoOf(JsMutableLoggerConfig).o64 = function () {
|
|
267
|
+
return this.b65_1;
|
|
268
268
|
};
|
|
269
269
|
function mutableLoggerConfigInit_0(logWriters) {
|
|
270
270
|
return new JsMutableLoggerConfig(logWriters);
|
|
@@ -275,16 +275,16 @@
|
|
|
275
275
|
}
|
|
276
276
|
function ConsoleActual() {
|
|
277
277
|
}
|
|
278
|
-
protoOf(ConsoleActual).
|
|
278
|
+
protoOf(ConsoleActual).y64 = function (output) {
|
|
279
279
|
console.error(output);
|
|
280
280
|
};
|
|
281
|
-
protoOf(ConsoleActual).
|
|
281
|
+
protoOf(ConsoleActual).l2s = function (output) {
|
|
282
282
|
console.warn(output);
|
|
283
283
|
};
|
|
284
|
-
protoOf(ConsoleActual).
|
|
284
|
+
protoOf(ConsoleActual).z64 = function (output) {
|
|
285
285
|
console.info(output);
|
|
286
286
|
};
|
|
287
|
-
protoOf(ConsoleActual).
|
|
287
|
+
protoOf(ConsoleActual).b57 = function (output) {
|
|
288
288
|
console.log(output);
|
|
289
289
|
};
|
|
290
290
|
var ConsoleActual_instance;
|
|
@@ -292,10 +292,10 @@
|
|
|
292
292
|
return ConsoleActual_instance;
|
|
293
293
|
}
|
|
294
294
|
//region block: post-declaration
|
|
295
|
-
protoOf(NoTagFormatter).
|
|
296
|
-
protoOf(DefaultFormatter).
|
|
297
|
-
protoOf(DefaultFormatter).
|
|
298
|
-
protoOf(DefaultFormatter).
|
|
295
|
+
protoOf(NoTagFormatter).t64 = formatSeverity;
|
|
296
|
+
protoOf(DefaultFormatter).t64 = formatSeverity;
|
|
297
|
+
protoOf(DefaultFormatter).r64 = formatTag;
|
|
298
|
+
protoOf(DefaultFormatter).s64 = formatMessage;
|
|
299
299
|
//endregion
|
|
300
300
|
//region block: init
|
|
301
301
|
NoTagFormatter_instance = new NoTagFormatter();
|
|
@@ -308,10 +308,10 @@
|
|
|
308
308
|
_.$_$.b = mutableLoggerConfigInit;
|
|
309
309
|
_.$_$.c = mutableLoggerConfigInit_0;
|
|
310
310
|
_.$_$.d = platformLogWriter;
|
|
311
|
-
_.$_$.e =
|
|
312
|
-
_.$_$.f =
|
|
313
|
-
_.$_$.g =
|
|
314
|
-
_.$_$.h =
|
|
311
|
+
_.$_$.e = NoTagFormatter_instance;
|
|
312
|
+
_.$_$.f = Severity_Assert_getInstance;
|
|
313
|
+
_.$_$.g = Severity_Debug_getInstance;
|
|
314
|
+
_.$_$.h = Severity_Error_getInstance;
|
|
315
315
|
//endregion
|
|
316
316
|
return _;
|
|
317
317
|
}(module.exports, require('./kotlin-kotlin-stdlib.js')));
|
package/kotlin/Kermit-kermit.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var platformLogWriter = kotlin_co_touchlab_kermit_core.$_$.d;
|
|
5
|
-
var listOf = kotlin_kotlin.$_$.
|
|
5
|
+
var listOf = kotlin_kotlin.$_$.n7;
|
|
6
6
|
var mutableLoggerConfigInit = kotlin_co_touchlab_kermit_core.$_$.c;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
8
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.db;
|
|
9
9
|
var BaseLogger = kotlin_co_touchlab_kermit_core.$_$.a;
|
|
10
10
|
var VOID = kotlin_kotlin.$_$.b;
|
|
11
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
11
|
+
var initMetadataForClass = kotlin_kotlin.$_$.cb;
|
|
12
12
|
//endregion
|
|
13
13
|
//region block: pre-declaration
|
|
14
14
|
initMetadataForClass(Logger, 'Logger', VOID, BaseLogger);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
Companion_instance = this;
|
|
19
19
|
Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
|
|
20
20
|
}
|
|
21
|
-
protoOf(Companion).
|
|
21
|
+
protoOf(Companion).f65 = function () {
|
|
22
22
|
return get_defaultTag();
|
|
23
23
|
};
|
|
24
24
|
var Companion_instance;
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
Companion_getInstance();
|
|
32
32
|
tag = tag === VOID ? '' : tag;
|
|
33
33
|
BaseLogger.call(this, config);
|
|
34
|
-
this.
|
|
34
|
+
this.h65_1 = tag;
|
|
35
35
|
}
|
|
36
|
-
protoOf(Logger).
|
|
37
|
-
return this.
|
|
36
|
+
protoOf(Logger).f65 = function () {
|
|
37
|
+
return this.h65_1;
|
|
38
38
|
};
|
|
39
39
|
function get_defaultTag() {
|
|
40
40
|
return defaultTag;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
4
|
+
var Unit_instance = kotlin_kotlin.$_$.z;
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.b;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var toIntOrNull = kotlin_kotlin.$_$.
|
|
8
|
-
var toBoolean = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
7
|
+
var toIntOrNull = kotlin_kotlin.$_$.re;
|
|
8
|
+
var toBoolean = kotlin_kotlin.$_$.ne;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.cb;
|
|
10
10
|
//endregion
|
|
11
11
|
//region block: pre-declaration
|
|
12
12
|
initMetadataForClass(StorageSettings, 'StorageSettings', StorageSettings);
|
|
@@ -20,46 +20,46 @@
|
|
|
20
20
|
tmp = delegate;
|
|
21
21
|
}
|
|
22
22
|
delegate = tmp;
|
|
23
|
-
this.
|
|
23
|
+
this.d64_1 = delegate;
|
|
24
24
|
}
|
|
25
25
|
protoOf(StorageSettings).t2 = function () {
|
|
26
|
-
return this.
|
|
26
|
+
return this.d64_1.clear();
|
|
27
27
|
};
|
|
28
|
-
protoOf(StorageSettings).
|
|
29
|
-
return this.
|
|
28
|
+
protoOf(StorageSettings).h2o = function (key) {
|
|
29
|
+
return this.d64_1.removeItem(key);
|
|
30
30
|
};
|
|
31
|
-
protoOf(StorageSettings).
|
|
31
|
+
protoOf(StorageSettings).e64 = function (key) {
|
|
32
32
|
// Inline function 'com.russhwolf.settings.get' call
|
|
33
|
-
return !(this.
|
|
33
|
+
return !(this.d64_1.getItem(key) == null);
|
|
34
34
|
};
|
|
35
|
-
protoOf(StorageSettings).
|
|
36
|
-
var tmp0 = this.
|
|
35
|
+
protoOf(StorageSettings).f64 = function (key, value) {
|
|
36
|
+
var tmp0 = this.d64_1;
|
|
37
37
|
// Inline function 'com.russhwolf.settings.set' call
|
|
38
38
|
var value_0 = value.toString();
|
|
39
39
|
tmp0.setItem(key, value_0);
|
|
40
40
|
};
|
|
41
|
-
protoOf(StorageSettings).
|
|
41
|
+
protoOf(StorageSettings).g64 = function (key) {
|
|
42
42
|
// Inline function 'com.russhwolf.settings.get' call
|
|
43
|
-
var tmp0_safe_receiver = this.
|
|
43
|
+
var tmp0_safe_receiver = this.d64_1.getItem(key);
|
|
44
44
|
return tmp0_safe_receiver == null ? null : toIntOrNull(tmp0_safe_receiver);
|
|
45
45
|
};
|
|
46
|
-
protoOf(StorageSettings).
|
|
46
|
+
protoOf(StorageSettings).h64 = function (key, value) {
|
|
47
47
|
// Inline function 'com.russhwolf.settings.set' call
|
|
48
|
-
this.
|
|
48
|
+
this.d64_1.setItem(key, value);
|
|
49
49
|
};
|
|
50
|
-
protoOf(StorageSettings).
|
|
50
|
+
protoOf(StorageSettings).i64 = function (key) {
|
|
51
51
|
// Inline function 'com.russhwolf.settings.get' call
|
|
52
|
-
return this.
|
|
52
|
+
return this.d64_1.getItem(key);
|
|
53
53
|
};
|
|
54
|
-
protoOf(StorageSettings).
|
|
55
|
-
var tmp0 = this.
|
|
54
|
+
protoOf(StorageSettings).j64 = function (key, value) {
|
|
55
|
+
var tmp0 = this.d64_1;
|
|
56
56
|
// Inline function 'com.russhwolf.settings.set' call
|
|
57
57
|
var value_0 = value.toString();
|
|
58
58
|
tmp0.setItem(key, value_0);
|
|
59
59
|
};
|
|
60
|
-
protoOf(StorageSettings).
|
|
60
|
+
protoOf(StorageSettings).k64 = function (key) {
|
|
61
61
|
// Inline function 'com.russhwolf.settings.get' call
|
|
62
|
-
var tmp0_safe_receiver = this.
|
|
62
|
+
var tmp0_safe_receiver = this.d64_1.getItem(key);
|
|
63
63
|
return tmp0_safe_receiver == null ? null : toBoolean(tmp0_safe_receiver);
|
|
64
64
|
};
|
|
65
65
|
//region block: exports
|
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -261,10 +261,10 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
261
261
|
get name(): "DEVICE_DECOMMISSIONED";
|
|
262
262
|
get ordinal(): 14;
|
|
263
263
|
};
|
|
264
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.DOOR_OPEN, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.DOOR_CLOSE, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.DOOR_UNLOCK, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.DOOR_LOCK, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.OWNER_ASSIGNED, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.DEVICE_CONNECTED, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.DEVICE_DISCONNECTED, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.LOCK_SHARED, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.LOCK_REVOKED, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.USER_PROMOTED, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.USER_DEMOTED, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.SETTING_CHANGED, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.TILE_ASSOCIATED, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.TILE_DISASSOCIATED, typeof com.doordeck.multiplatform.sdk.model.common.AuditEvent.DEVICE_DECOMMISSIONED];
|
|
265
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.AuditEvent;
|
|
264
266
|
get name(): "DOOR_OPEN" | "DOOR_CLOSE" | "DOOR_UNLOCK" | "DOOR_LOCK" | "OWNER_ASSIGNED" | "DEVICE_CONNECTED" | "DEVICE_DISCONNECTED" | "LOCK_SHARED" | "LOCK_REVOKED" | "USER_PROMOTED" | "USER_DEMOTED" | "SETTING_CHANGED" | "TILE_ASSOCIATED" | "TILE_DISASSOCIATED" | "DEVICE_DECOMMISSIONED";
|
|
265
267
|
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14;
|
|
266
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.common.AuditEvent>;
|
|
267
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.AuditEvent;
|
|
268
268
|
}
|
|
269
269
|
namespace AuditEvent {
|
|
270
270
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -284,10 +284,10 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
284
284
|
get name(): "UNSUPPORTED";
|
|
285
285
|
get ordinal(): 1;
|
|
286
286
|
};
|
|
287
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.common.CapabilityStatus.SUPPORTED, typeof com.doordeck.multiplatform.sdk.model.common.CapabilityStatus.UNSUPPORTED];
|
|
288
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.CapabilityStatus;
|
|
287
289
|
get name(): "SUPPORTED" | "UNSUPPORTED";
|
|
288
290
|
get ordinal(): 0 | 1;
|
|
289
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.common.CapabilityStatus>;
|
|
290
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.CapabilityStatus;
|
|
291
291
|
}
|
|
292
292
|
namespace CapabilityStatus {
|
|
293
293
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -309,10 +309,10 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
309
309
|
get name(): "BATCH_SHARING_25";
|
|
310
310
|
get ordinal(): 2;
|
|
311
311
|
};
|
|
312
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.common.CapabilityType.CONFIGURABLE_UNLOCK_DURATION, typeof com.doordeck.multiplatform.sdk.model.common.CapabilityType.OPEN_HOURS, typeof com.doordeck.multiplatform.sdk.model.common.CapabilityType.BATCH_SHARING_25];
|
|
313
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.CapabilityType;
|
|
312
314
|
get name(): "CONFIGURABLE_UNLOCK_DURATION" | "OPEN_HOURS" | "BATCH_SHARING_25";
|
|
313
315
|
get ordinal(): 0 | 1 | 2;
|
|
314
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.common.CapabilityType>;
|
|
315
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.CapabilityType;
|
|
316
316
|
}
|
|
317
317
|
namespace CapabilityType {
|
|
318
318
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -344,10 +344,10 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
344
344
|
get name(): "READY";
|
|
345
345
|
get ordinal(): 4;
|
|
346
346
|
};
|
|
347
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.common.ContextState.CLOUD_TOKEN_IS_INVALID_OR_EXPIRED, typeof com.doordeck.multiplatform.sdk.model.common.ContextState.KEY_PAIR_IS_INVALID, typeof com.doordeck.multiplatform.sdk.model.common.ContextState.KEY_PAIR_IS_NOT_VERIFIED, typeof com.doordeck.multiplatform.sdk.model.common.ContextState.CERTIFICATE_CHAIN_IS_INVALID_OR_EXPIRED, typeof com.doordeck.multiplatform.sdk.model.common.ContextState.READY];
|
|
348
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.ContextState;
|
|
347
349
|
get name(): "CLOUD_TOKEN_IS_INVALID_OR_EXPIRED" | "KEY_PAIR_IS_INVALID" | "KEY_PAIR_IS_NOT_VERIFIED" | "CERTIFICATE_CHAIN_IS_INVALID_OR_EXPIRED" | "READY";
|
|
348
350
|
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
349
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.common.ContextState>;
|
|
350
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.ContextState;
|
|
351
351
|
}
|
|
352
352
|
namespace ContextState {
|
|
353
353
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -387,10 +387,10 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
387
387
|
get name(): "SUNDAY";
|
|
388
388
|
get ordinal(): 6;
|
|
389
389
|
};
|
|
390
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.common.DayOfWeek.MONDAY, typeof com.doordeck.multiplatform.sdk.model.common.DayOfWeek.TUESDAY, typeof com.doordeck.multiplatform.sdk.model.common.DayOfWeek.WEDNESDAY, typeof com.doordeck.multiplatform.sdk.model.common.DayOfWeek.THURSDAY, typeof com.doordeck.multiplatform.sdk.model.common.DayOfWeek.FRIDAY, typeof com.doordeck.multiplatform.sdk.model.common.DayOfWeek.SATURDAY, typeof com.doordeck.multiplatform.sdk.model.common.DayOfWeek.SUNDAY];
|
|
391
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.DayOfWeek;
|
|
390
392
|
get name(): "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
391
393
|
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
392
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>;
|
|
393
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.DayOfWeek;
|
|
394
394
|
}
|
|
395
395
|
namespace DayOfWeek {
|
|
396
396
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -410,10 +410,10 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
410
410
|
get name(): "FLOOR";
|
|
411
411
|
get ordinal(): 1;
|
|
412
412
|
};
|
|
413
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.common.ZktecoEntityType.DOOR, typeof com.doordeck.multiplatform.sdk.model.common.ZktecoEntityType.FLOOR];
|
|
414
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.ZktecoEntityType;
|
|
413
415
|
get name(): "DOOR" | "FLOOR";
|
|
414
416
|
get ordinal(): 0 | 1;
|
|
415
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.common.ZktecoEntityType>;
|
|
416
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.ZktecoEntityType;
|
|
417
417
|
}
|
|
418
418
|
namespace ZktecoEntityType {
|
|
419
419
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -435,10 +435,10 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
435
435
|
get name(): "UNDEFINED";
|
|
436
436
|
get ordinal(): 2;
|
|
437
437
|
};
|
|
438
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.common.ServiceStateType.RUNNING, typeof com.doordeck.multiplatform.sdk.model.common.ServiceStateType.STOPPED, typeof com.doordeck.multiplatform.sdk.model.common.ServiceStateType.UNDEFINED];
|
|
439
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.ServiceStateType;
|
|
438
440
|
get name(): "RUNNING" | "STOPPED" | "UNDEFINED";
|
|
439
441
|
get ordinal(): 0 | 1 | 2;
|
|
440
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.common.ServiceStateType>;
|
|
441
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.ServiceStateType;
|
|
442
442
|
}
|
|
443
443
|
namespace ServiceStateType {
|
|
444
444
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -466,10 +466,10 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
466
466
|
get name(): "REFRESH_TOKEN";
|
|
467
467
|
get ordinal(): 3;
|
|
468
468
|
};
|
|
469
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.common.GrantType.PASSWORD, typeof com.doordeck.multiplatform.sdk.model.common.GrantType.AUTHORIZATION_CODE, typeof com.doordeck.multiplatform.sdk.model.common.GrantType.CLIENT_CREDENTIALS, typeof com.doordeck.multiplatform.sdk.model.common.GrantType.REFRESH_TOKEN];
|
|
470
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.GrantType;
|
|
469
471
|
get name(): "PASSWORD" | "AUTHORIZATION_CODE" | "CLIENT_CREDENTIALS" | "REFRESH_TOKEN";
|
|
470
472
|
get ordinal(): 0 | 1 | 2 | 3;
|
|
471
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.common.GrantType>;
|
|
472
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.GrantType;
|
|
473
473
|
}
|
|
474
474
|
namespace GrantType {
|
|
475
475
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -493,10 +493,10 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
493
493
|
get name(): "SMS";
|
|
494
494
|
get ordinal(): 2;
|
|
495
495
|
};
|
|
496
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod.EMAIL, typeof com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod.TELEPHONE, typeof com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod.SMS];
|
|
497
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod;
|
|
496
498
|
get name(): "EMAIL" | "TELEPHONE" | "SMS";
|
|
497
499
|
get ordinal(): 0 | 1 | 2;
|
|
498
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod>;
|
|
499
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod;
|
|
500
500
|
}
|
|
501
501
|
namespace TwoFactorMethod {
|
|
502
502
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -516,10 +516,10 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
516
516
|
get name(): "USER";
|
|
517
517
|
get ordinal(): 1;
|
|
518
518
|
};
|
|
519
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.common.UserRole.ADMIN, typeof com.doordeck.multiplatform.sdk.model.common.UserRole.USER];
|
|
520
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.UserRole;
|
|
519
521
|
get name(): "ADMIN" | "USER";
|
|
520
522
|
get ordinal(): 0 | 1;
|
|
521
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.common.UserRole>;
|
|
522
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.UserRole;
|
|
523
523
|
}
|
|
524
524
|
namespace UserRole {
|
|
525
525
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -543,11 +543,11 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
543
543
|
get name(): "PROD";
|
|
544
544
|
get ordinal(): 2;
|
|
545
545
|
};
|
|
546
|
+
static values(): [typeof com.doordeck.multiplatform.sdk.model.data.ApiEnvironment.DEV, typeof com.doordeck.multiplatform.sdk.model.data.ApiEnvironment.STAGING, typeof com.doordeck.multiplatform.sdk.model.data.ApiEnvironment.PROD];
|
|
547
|
+
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.data.ApiEnvironment;
|
|
546
548
|
get name(): "DEV" | "STAGING" | "PROD";
|
|
547
549
|
get ordinal(): 0 | 1 | 2;
|
|
548
550
|
get cloudHost(): string;
|
|
549
|
-
static values(): Array<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>;
|
|
550
|
-
static valueOf(value: string): com.doordeck.multiplatform.sdk.model.data.ApiEnvironment;
|
|
551
551
|
}
|
|
552
552
|
namespace ApiEnvironment {
|
|
553
553
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|