@doordeck/doordeck-headless-sdk 0.43.0 → 0.44.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/Kotlin-DateTime-library-kotlinx-datetime.js +1306 -1258
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +17 -17
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +9 -9
- package/kotlin/Stately-stately-concurrency.js +7 -7
- package/kotlin/Stately-stately-concurrent-collections.js +63 -63
- package/kotlin/doordeck-sdk.d.ts +33 -37
- package/kotlin/doordeck-sdk.js +7817 -7685
- package/kotlin/doordeck-sdk.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +443 -441
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-atomicfu.js +6 -6
- package/kotlin/kotlinx-coroutines-core.js +96 -96
- package/kotlin/kotlinx-coroutines-core.js.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core.js +31 -31
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +244 -243
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1277 -1261
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/ktor-ktor-client-ktor-client-core.js +87 -88
- package/kotlin/ktor-ktor-client-ktor-client-core.js.map +1 -1
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +27 -27
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +29 -29
- package/kotlin/ktor-ktor-http.js +114 -114
- package/kotlin/ktor-ktor-io.js +51 -51
- package/kotlin/ktor-ktor-shared-ktor-events.js +6 -6
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +6 -6
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +40 -40
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +16 -16
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +18 -18
- package/kotlin/ktor-ktor-utils.js +114 -101
- package/kotlin/ktor-ktor-utils.js.map +1 -1
- package/kotlin/projects-core-koin-core.js +283 -287
- package/kotlin/projects-core-koin-core.js.map +1 -1
- package/package.json +3 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
5
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
4
|
+
var protoOf = kotlin_kotlin.$_$.pb;
|
|
5
|
+
var initMetadataForClass = kotlin_kotlin.$_$.pa;
|
|
6
6
|
//endregion
|
|
7
7
|
//region block: pre-declaration
|
|
8
8
|
initMetadataForClass(ThreadLocalRef, 'ThreadLocalRef', ThreadLocalRef);
|
|
9
9
|
//endregion
|
|
10
10
|
function set_value(_this__u8e3s4, value) {
|
|
11
|
-
_this__u8e3s4.
|
|
11
|
+
_this__u8e3s4.i54(value);
|
|
12
12
|
}
|
|
13
13
|
function ThreadLocalRef() {
|
|
14
|
-
this.
|
|
14
|
+
this.h54_1 = null;
|
|
15
15
|
}
|
|
16
16
|
protoOf(ThreadLocalRef).p4 = function () {
|
|
17
17
|
set_value(this, null);
|
|
18
18
|
};
|
|
19
19
|
protoOf(ThreadLocalRef).dv = function () {
|
|
20
|
-
return this.
|
|
20
|
+
return this.h54_1;
|
|
21
21
|
};
|
|
22
|
-
protoOf(ThreadLocalRef).
|
|
23
|
-
this.
|
|
22
|
+
protoOf(ThreadLocalRef).i54 = function (value) {
|
|
23
|
+
this.h54_1 = value;
|
|
24
24
|
};
|
|
25
25
|
//region block: exports
|
|
26
26
|
_.$_$ = _.$_$ || {};
|
|
@@ -1,17 +1,17 @@
|
|
|
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.$_$.l5;
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.h;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var Collection = kotlin_kotlin.$_$.
|
|
8
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
9
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
10
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
11
|
-
var asJsReadonlyMapView = kotlin_kotlin.$_$.
|
|
12
|
-
var KtMutableMap = kotlin_kotlin.$_$.
|
|
13
|
-
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
14
|
-
var KtMutableSet = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.pb;
|
|
7
|
+
var Collection = kotlin_kotlin.$_$.n5;
|
|
8
|
+
var initMetadataForClass = kotlin_kotlin.$_$.pa;
|
|
9
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
10
|
+
var objectCreate = kotlin_kotlin.$_$.ob;
|
|
11
|
+
var asJsReadonlyMapView = kotlin_kotlin.$_$.u5;
|
|
12
|
+
var KtMutableMap = kotlin_kotlin.$_$.x5;
|
|
13
|
+
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.b1;
|
|
14
|
+
var KtMutableSet = kotlin_kotlin.$_$.y5;
|
|
15
15
|
//endregion
|
|
16
16
|
//region block: pre-declaration
|
|
17
17
|
initMetadataForClass(ConcurrentMutableCollection, 'ConcurrentMutableCollection', VOID, VOID, [Collection]);
|
|
@@ -21,124 +21,124 @@
|
|
|
21
21
|
//endregion
|
|
22
22
|
function ConcurrentMutableCollection$_get_size_$lambda_dssf9y(this$0) {
|
|
23
23
|
return function () {
|
|
24
|
-
return this$0.
|
|
24
|
+
return this$0.j54_1.s();
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
function ConcurrentMutableCollection$contains$lambda(this$0, $element) {
|
|
28
28
|
return function () {
|
|
29
|
-
return this$0.
|
|
29
|
+
return this$0.j54_1.x1($element);
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
function ConcurrentMutableCollection$containsAll$lambda(this$0, $elements) {
|
|
33
33
|
return function () {
|
|
34
|
-
return this$0.
|
|
34
|
+
return this$0.j54_1.y1($elements);
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
function ConcurrentMutableCollection$isEmpty$lambda(this$0) {
|
|
38
38
|
return function () {
|
|
39
|
-
return this$0.
|
|
39
|
+
return this$0.j54_1.h();
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
function ConcurrentMutableCollection$add$lambda(this$0, $element) {
|
|
43
43
|
return function () {
|
|
44
|
-
return this$0.
|
|
44
|
+
return this$0.j54_1.k($element);
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function ConcurrentMutableCollection$addAll$lambda(this$0, $elements) {
|
|
48
48
|
return function () {
|
|
49
|
-
return this$0.
|
|
49
|
+
return this$0.j54_1.t($elements);
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
function ConcurrentMutableCollection$clear$lambda(this$0) {
|
|
53
53
|
return function () {
|
|
54
|
-
this$0.
|
|
54
|
+
this$0.j54_1.e2();
|
|
55
55
|
return Unit_instance;
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
function ConcurrentMutableCollection$iterator$lambda(this$0) {
|
|
59
59
|
return function () {
|
|
60
|
-
return new ConcurrentMutableIterator(this$0.
|
|
60
|
+
return new ConcurrentMutableIterator(this$0.k54_1, this$0.j54_1.p());
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
function ConcurrentMutableCollection(rootArg, del) {
|
|
64
64
|
rootArg = rootArg === VOID ? null : rootArg;
|
|
65
|
-
this.
|
|
65
|
+
this.j54_1 = del;
|
|
66
66
|
var tmp = this;
|
|
67
|
-
tmp.
|
|
67
|
+
tmp.k54_1 = rootArg == null ? this : rootArg;
|
|
68
68
|
}
|
|
69
69
|
protoOf(ConcurrentMutableCollection).s = function () {
|
|
70
70
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
71
|
-
this.
|
|
71
|
+
this.k54_1;
|
|
72
72
|
return ConcurrentMutableCollection$_get_size_$lambda_dssf9y(this)();
|
|
73
73
|
};
|
|
74
74
|
protoOf(ConcurrentMutableCollection).x1 = function (element) {
|
|
75
75
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
76
|
-
this.
|
|
76
|
+
this.k54_1;
|
|
77
77
|
return ConcurrentMutableCollection$contains$lambda(this, element)();
|
|
78
78
|
};
|
|
79
79
|
protoOf(ConcurrentMutableCollection).y1 = function (elements) {
|
|
80
80
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
81
|
-
this.
|
|
81
|
+
this.k54_1;
|
|
82
82
|
return ConcurrentMutableCollection$containsAll$lambda(this, elements)();
|
|
83
83
|
};
|
|
84
84
|
protoOf(ConcurrentMutableCollection).h = function () {
|
|
85
85
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
86
|
-
this.
|
|
86
|
+
this.k54_1;
|
|
87
87
|
return ConcurrentMutableCollection$isEmpty$lambda(this)();
|
|
88
88
|
};
|
|
89
89
|
protoOf(ConcurrentMutableCollection).k = function (element) {
|
|
90
90
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
91
|
-
this.
|
|
91
|
+
this.k54_1;
|
|
92
92
|
return ConcurrentMutableCollection$add$lambda(this, element)();
|
|
93
93
|
};
|
|
94
94
|
protoOf(ConcurrentMutableCollection).t = function (elements) {
|
|
95
95
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
96
|
-
this.
|
|
96
|
+
this.k54_1;
|
|
97
97
|
return ConcurrentMutableCollection$addAll$lambda(this, elements)();
|
|
98
98
|
};
|
|
99
99
|
protoOf(ConcurrentMutableCollection).e2 = function () {
|
|
100
100
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
101
|
-
this.
|
|
101
|
+
this.k54_1;
|
|
102
102
|
ConcurrentMutableCollection$clear$lambda(this)();
|
|
103
103
|
};
|
|
104
104
|
protoOf(ConcurrentMutableCollection).p = function () {
|
|
105
105
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
106
|
-
this.
|
|
106
|
+
this.k54_1;
|
|
107
107
|
return ConcurrentMutableCollection$iterator$lambda(this)();
|
|
108
108
|
};
|
|
109
109
|
function ConcurrentMutableIterator$hasNext$lambda(this$0) {
|
|
110
110
|
return function () {
|
|
111
|
-
return this$0.
|
|
111
|
+
return this$0.m54_1.q();
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
function ConcurrentMutableIterator$next$lambda(this$0) {
|
|
115
115
|
return function () {
|
|
116
|
-
return this$0.
|
|
116
|
+
return this$0.m54_1.r();
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
function ConcurrentMutableIterator$remove$lambda(this$0) {
|
|
120
120
|
return function () {
|
|
121
|
-
this$0.
|
|
121
|
+
this$0.m54_1.p4();
|
|
122
122
|
return Unit_instance;
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
function ConcurrentMutableIterator(root, del) {
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
126
|
+
this.l54_1 = root;
|
|
127
|
+
this.m54_1 = del;
|
|
128
128
|
}
|
|
129
129
|
protoOf(ConcurrentMutableIterator).q = function () {
|
|
130
130
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
131
|
-
this.
|
|
131
|
+
this.l54_1;
|
|
132
132
|
return ConcurrentMutableIterator$hasNext$lambda(this)();
|
|
133
133
|
};
|
|
134
134
|
protoOf(ConcurrentMutableIterator).r = function () {
|
|
135
135
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
136
|
-
this.
|
|
136
|
+
this.l54_1;
|
|
137
137
|
return ConcurrentMutableIterator$next$lambda(this)();
|
|
138
138
|
};
|
|
139
139
|
protoOf(ConcurrentMutableIterator).p4 = function () {
|
|
140
140
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
141
|
-
this.
|
|
141
|
+
this.l54_1;
|
|
142
142
|
ConcurrentMutableIterator$remove$lambda(this)();
|
|
143
143
|
};
|
|
144
144
|
function ConcurrentMutableMap_init_$Init$($this) {
|
|
@@ -152,130 +152,130 @@
|
|
|
152
152
|
}
|
|
153
153
|
function ConcurrentMutableMap$_get_size_$lambda_nuyc4q(this$0) {
|
|
154
154
|
return function () {
|
|
155
|
-
return this$0.
|
|
155
|
+
return this$0.n54_1.s();
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
158
|
function ConcurrentMutableMap$_get_entries_$lambda_dp7xtt(this$0) {
|
|
159
159
|
return function () {
|
|
160
|
-
return new ConcurrentMutableSet(this$0, this$0.
|
|
160
|
+
return new ConcurrentMutableSet(this$0, this$0.n54_1.x());
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
function ConcurrentMutableMap$_get_keys_$lambda_5gjoyr(this$0) {
|
|
164
164
|
return function () {
|
|
165
|
-
return new ConcurrentMutableSet(this$0, this$0.
|
|
165
|
+
return new ConcurrentMutableSet(this$0, this$0.n54_1.l2());
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
168
|
function ConcurrentMutableMap$_get_values_$lambda_tyvlyt(this$0) {
|
|
169
169
|
return function () {
|
|
170
|
-
return new ConcurrentMutableCollection(this$0, this$0.
|
|
170
|
+
return new ConcurrentMutableCollection(this$0, this$0.n54_1.m2());
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
function ConcurrentMutableMap$containsKey$lambda(this$0, $key) {
|
|
174
174
|
return function () {
|
|
175
|
-
return this$0.
|
|
175
|
+
return this$0.n54_1.i2($key);
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
function ConcurrentMutableMap$containsValue$lambda(this$0, $value) {
|
|
179
179
|
return function () {
|
|
180
|
-
return this$0.
|
|
180
|
+
return this$0.n54_1.j2($value);
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
function ConcurrentMutableMap$get$lambda(this$0, $key) {
|
|
184
184
|
return function () {
|
|
185
|
-
return this$0.
|
|
185
|
+
return this$0.n54_1.k2($key);
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
function ConcurrentMutableMap$isEmpty$lambda(this$0) {
|
|
189
189
|
return function () {
|
|
190
|
-
return this$0.
|
|
190
|
+
return this$0.n54_1.h();
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
193
|
function ConcurrentMutableMap$clear$lambda(this$0) {
|
|
194
194
|
return function () {
|
|
195
|
-
this$0.
|
|
195
|
+
this$0.n54_1.e2();
|
|
196
196
|
return Unit_instance;
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
199
|
function ConcurrentMutableMap$put$lambda(this$0, $key, $value) {
|
|
200
200
|
return function () {
|
|
201
|
-
return this$0.
|
|
201
|
+
return this$0.n54_1.n2($key, $value);
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
function ConcurrentMutableMap$putAll$lambda(this$0, $from) {
|
|
205
205
|
return function () {
|
|
206
|
-
this$0.
|
|
206
|
+
this$0.n54_1.p2($from);
|
|
207
207
|
return Unit_instance;
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
210
|
function ConcurrentMutableMap$remove$lambda(this$0, $key) {
|
|
211
211
|
return function () {
|
|
212
|
-
return this$0.
|
|
212
|
+
return this$0.n54_1.o2($key);
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
215
|
function ConcurrentMutableMap(rootArg, del) {
|
|
216
216
|
rootArg = rootArg === VOID ? null : rootArg;
|
|
217
|
-
this.
|
|
217
|
+
this.n54_1 = del;
|
|
218
218
|
var tmp = this;
|
|
219
|
-
tmp.
|
|
219
|
+
tmp.o54_1 = rootArg == null ? this : rootArg;
|
|
220
220
|
}
|
|
221
221
|
protoOf(ConcurrentMutableMap).s = function () {
|
|
222
222
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
223
|
-
this.
|
|
223
|
+
this.o54_1;
|
|
224
224
|
return ConcurrentMutableMap$_get_size_$lambda_nuyc4q(this)();
|
|
225
225
|
};
|
|
226
226
|
protoOf(ConcurrentMutableMap).x = function () {
|
|
227
227
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
228
|
-
this.
|
|
228
|
+
this.o54_1;
|
|
229
229
|
return ConcurrentMutableMap$_get_entries_$lambda_dp7xtt(this)();
|
|
230
230
|
};
|
|
231
231
|
protoOf(ConcurrentMutableMap).l2 = function () {
|
|
232
232
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
233
|
-
this.
|
|
233
|
+
this.o54_1;
|
|
234
234
|
return ConcurrentMutableMap$_get_keys_$lambda_5gjoyr(this)();
|
|
235
235
|
};
|
|
236
236
|
protoOf(ConcurrentMutableMap).m2 = function () {
|
|
237
237
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
238
|
-
this.
|
|
238
|
+
this.o54_1;
|
|
239
239
|
return ConcurrentMutableMap$_get_values_$lambda_tyvlyt(this)();
|
|
240
240
|
};
|
|
241
241
|
protoOf(ConcurrentMutableMap).i2 = function (key) {
|
|
242
242
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
243
|
-
this.
|
|
243
|
+
this.o54_1;
|
|
244
244
|
return ConcurrentMutableMap$containsKey$lambda(this, key)();
|
|
245
245
|
};
|
|
246
246
|
protoOf(ConcurrentMutableMap).j2 = function (value) {
|
|
247
247
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
248
|
-
this.
|
|
248
|
+
this.o54_1;
|
|
249
249
|
return ConcurrentMutableMap$containsValue$lambda(this, value)();
|
|
250
250
|
};
|
|
251
251
|
protoOf(ConcurrentMutableMap).k2 = function (key) {
|
|
252
252
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
253
|
-
this.
|
|
253
|
+
this.o54_1;
|
|
254
254
|
return ConcurrentMutableMap$get$lambda(this, key)();
|
|
255
255
|
};
|
|
256
256
|
protoOf(ConcurrentMutableMap).h = function () {
|
|
257
257
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
258
|
-
this.
|
|
258
|
+
this.o54_1;
|
|
259
259
|
return ConcurrentMutableMap$isEmpty$lambda(this)();
|
|
260
260
|
};
|
|
261
261
|
protoOf(ConcurrentMutableMap).e2 = function () {
|
|
262
262
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
263
|
-
this.
|
|
263
|
+
this.o54_1;
|
|
264
264
|
ConcurrentMutableMap$clear$lambda(this)();
|
|
265
265
|
};
|
|
266
266
|
protoOf(ConcurrentMutableMap).n2 = function (key, value) {
|
|
267
267
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
268
|
-
this.
|
|
268
|
+
this.o54_1;
|
|
269
269
|
return ConcurrentMutableMap$put$lambda(this, key, value)();
|
|
270
270
|
};
|
|
271
271
|
protoOf(ConcurrentMutableMap).p2 = function (from) {
|
|
272
272
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
273
|
-
this.
|
|
273
|
+
this.o54_1;
|
|
274
274
|
ConcurrentMutableMap$putAll$lambda(this, from)();
|
|
275
275
|
};
|
|
276
276
|
protoOf(ConcurrentMutableMap).o2 = function (key) {
|
|
277
277
|
// Inline function 'co.touchlab.stately.concurrency.synchronize' call
|
|
278
|
-
this.
|
|
278
|
+
this.o54_1;
|
|
279
279
|
return ConcurrentMutableMap$remove$lambda(this, key)();
|
|
280
280
|
};
|
|
281
281
|
function ConcurrentMutableSet_init_$Init$($this) {
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
}
|
|
290
290
|
function ConcurrentMutableSet(rootArg, del) {
|
|
291
291
|
ConcurrentMutableCollection.call(this, rootArg, del);
|
|
292
|
-
this.
|
|
292
|
+
this.r54_1 = del;
|
|
293
293
|
}
|
|
294
294
|
//region block: post-declaration
|
|
295
295
|
protoOf(ConcurrentMutableMap).asJsReadonlyMapView = asJsReadonlyMapView;
|
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare namespace com.doordeck.multiplatform.sdk {
|
|
|
31
31
|
class SdkException /* extends kotlin.Exception */ {
|
|
32
32
|
constructor(message: string, exception?: Nullable<Error>);
|
|
33
33
|
}
|
|
34
|
-
class
|
|
34
|
+
class MissingContextFieldException extends com.doordeck.multiplatform.sdk.SdkException {
|
|
35
35
|
constructor(message: string);
|
|
36
36
|
}
|
|
37
37
|
class MissingAndroidContextException extends com.doordeck.multiplatform.sdk.SdkException {
|
|
@@ -83,10 +83,15 @@ export declare namespace com.doordeck.multiplatform.sdk {
|
|
|
83
83
|
export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
84
84
|
interface ContextManager {
|
|
85
85
|
setAuthToken(token: string): void;
|
|
86
|
+
isAuthTokenAboutToExpire(): boolean;
|
|
86
87
|
setRefreshToken(token: string): void;
|
|
87
|
-
setOperationContext(userId: string, certificateChain: kotlin.collections.KtList<string>, privateKey: Int8Array): void;
|
|
88
|
-
setOperationContextJson(data: string): void;
|
|
89
88
|
setFusionAuthToken(token: string): void;
|
|
89
|
+
setUserId(userId: string): void;
|
|
90
|
+
setCertificateChain(certificateChain: kotlin.collections.KtList<string>): void;
|
|
91
|
+
isCertificateChainAboutToExpire(): boolean;
|
|
92
|
+
setKeyPair(publicKey: Int8Array, privateKey: Int8Array): void;
|
|
93
|
+
setOperationContext(userId: string, certificateChain: kotlin.collections.KtList<string>, publicKey: Int8Array, privateKey: Int8Array): void;
|
|
94
|
+
setOperationContextJson(data: string): void;
|
|
90
95
|
setSecureStorageImpl(secureStorage: com.doordeck.multiplatform.sdk.storage.SecureStorage): void;
|
|
91
96
|
loadContext(): void;
|
|
92
97
|
storeContext(): void;
|
|
@@ -230,27 +235,6 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
|
|
|
230
235
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
231
236
|
}
|
|
232
237
|
}
|
|
233
|
-
export declare namespace com.doordeck.multiplatform.sdk.api.model {
|
|
234
|
-
abstract class Context {
|
|
235
|
-
private constructor();
|
|
236
|
-
}
|
|
237
|
-
namespace Context {
|
|
238
|
-
class OperationContext {
|
|
239
|
-
constructor(userId: string, userCertificateChain: kotlin.collections.KtList<string>, userPrivateKey: Int8Array);
|
|
240
|
-
get userId(): string;
|
|
241
|
-
get userCertificateChain(): kotlin.collections.KtList<string>;
|
|
242
|
-
get userPrivateKey(): Int8Array;
|
|
243
|
-
}
|
|
244
|
-
class OperationContextData {
|
|
245
|
-
constructor(userId: string, userCertificateChain: kotlin.collections.KtList<string>, userPrivateKey: string);
|
|
246
|
-
get userId(): string;
|
|
247
|
-
get userCertificateChain(): kotlin.collections.KtList<string>;
|
|
248
|
-
get userPrivateKey(): string;
|
|
249
|
-
static get Companion(): {
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
238
|
export declare namespace com.doordeck.multiplatform.sdk.api.model {
|
|
255
239
|
abstract class Crypto {
|
|
256
240
|
private constructor();
|
|
@@ -547,10 +531,10 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
|
|
|
547
531
|
readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
|
|
548
532
|
}
|
|
549
533
|
class BaseOperation {
|
|
550
|
-
constructor(userId: string, userCertificateChain: kotlin.collections.KtList<string
|
|
551
|
-
get userId(): string
|
|
552
|
-
get userCertificateChain(): kotlin.collections.KtList<string
|
|
553
|
-
get userPrivateKey(): Int8Array
|
|
534
|
+
constructor(userId: Nullable<string> | undefined, userCertificateChain: Nullable<kotlin.collections.KtList<string>> | undefined, userPrivateKey: Nullable<Int8Array> | undefined, lockId: string, notBefore?: number, issuedAt?: number, expiresAt?: number, jti?: string);
|
|
535
|
+
get userId(): Nullable<string>;
|
|
536
|
+
get userCertificateChain(): Nullable<kotlin.collections.KtList<string>>;
|
|
537
|
+
get userPrivateKey(): Nullable<Int8Array>;
|
|
554
538
|
get lockId(): string;
|
|
555
539
|
get notBefore(): number;
|
|
556
540
|
get issuedAt(): number;
|
|
@@ -788,6 +772,14 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
|
|
|
788
772
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
789
773
|
}
|
|
790
774
|
}
|
|
775
|
+
export declare namespace com.doordeck.multiplatform.sdk.api.responses {
|
|
776
|
+
class AssistedLoginResponse {
|
|
777
|
+
constructor(requiresVerification: boolean);
|
|
778
|
+
get requiresVerification(): boolean;
|
|
779
|
+
static get Companion(): {
|
|
780
|
+
};
|
|
781
|
+
}
|
|
782
|
+
}
|
|
791
783
|
export declare namespace com.doordeck.multiplatform.sdk.api.responses {
|
|
792
784
|
class LockResponse {
|
|
793
785
|
constructor(id: string, name: string, colour: Nullable<string> | undefined, start: Nullable<string> | undefined, end: Nullable<string> | undefined, role: com.doordeck.multiplatform.sdk.api.model.UserRole, settings: com.doordeck.multiplatform.sdk.api.responses.LockSettingsResponse, state: com.doordeck.multiplatform.sdk.api.responses.LockStateResponse, favourite: boolean, unlockTime?: Nullable<number>);
|
|
@@ -1165,6 +1157,8 @@ export declare namespace com.doordeck.multiplatform.sdk.storage {
|
|
|
1165
1157
|
getCloudRefreshToken(): Nullable<string>;
|
|
1166
1158
|
addFusionAuthToken(token: string): void;
|
|
1167
1159
|
getFusionAuthToken(): Nullable<string>;
|
|
1160
|
+
addPublicKey(byteArray: Int8Array): void;
|
|
1161
|
+
getPublicKey(): Nullable<Int8Array>;
|
|
1168
1162
|
addPrivateKey(byteArray: Int8Array): void;
|
|
1169
1163
|
getPrivateKey(): Nullable<Int8Array>;
|
|
1170
1164
|
addUserId(userId: string): void;
|
|
@@ -1177,6 +1171,11 @@ export declare namespace com.doordeck.multiplatform.sdk.storage {
|
|
|
1177
1171
|
};
|
|
1178
1172
|
}
|
|
1179
1173
|
}
|
|
1174
|
+
export declare namespace com.doordeck.multiplatform.sdk.util {
|
|
1175
|
+
const JwtUtils: {
|
|
1176
|
+
isJwtTokenAboutToExpire(_this_: string): boolean;
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1180
1179
|
export declare namespace com.doordeck.multiplatform.sdk.util {
|
|
1181
1180
|
const Utils: {
|
|
1182
1181
|
decodeBase64ToByteArray(_this_: string): Int8Array;
|
|
@@ -1194,11 +1193,11 @@ export declare namespace com.doordeck.multiplatform.sdk {
|
|
|
1194
1193
|
}
|
|
1195
1194
|
export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
1196
1195
|
interface AccountResource {
|
|
1197
|
-
refreshToken(refreshToken
|
|
1196
|
+
refreshToken(refreshToken?: Nullable<string>): Promise<com.doordeck.multiplatform.sdk.api.responses.TokenResponse>;
|
|
1198
1197
|
logout(): Promise<any>;
|
|
1199
|
-
registerEphemeralKey(publicKey
|
|
1200
|
-
registerEphemeralKeyWithSecondaryAuthentication(publicKey
|
|
1201
|
-
verifyEphemeralKeyRegistration(code: string, privateKey
|
|
1198
|
+
registerEphemeralKey(publicKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyResponse>;
|
|
1199
|
+
registerEphemeralKeyWithSecondaryAuthentication(publicKey?: Nullable<Int8Array>, method?: Nullable<com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod>): Promise<com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyWithSecondaryAuthenticationResponse>;
|
|
1200
|
+
verifyEphemeralKeyRegistration(code: string, privateKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyResponse>;
|
|
1202
1201
|
reverifyEmail(): Promise<any>;
|
|
1203
1202
|
changePassword(oldPassword: string, newPassword: string): Promise<any>;
|
|
1204
1203
|
getUserDetails(): Promise<com.doordeck.multiplatform.sdk.api.responses.UserDetailsResponse>;
|
|
@@ -1240,6 +1239,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
|
1240
1239
|
export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
1241
1240
|
interface HelperResource {
|
|
1242
1241
|
uploadPlatformLogo(applicationId: string, contentType: string, image: Int8Array): Promise<any>;
|
|
1242
|
+
assistedLogin(email: string, password: string): Promise<com.doordeck.multiplatform.sdk.api.responses.AssistedLoginResponse>;
|
|
1243
1243
|
readonly __doNotUseOrImplementIt: {
|
|
1244
1244
|
readonly "com.doordeck.multiplatform.sdk.api.HelperResource": unique symbol;
|
|
1245
1245
|
};
|
|
@@ -1271,15 +1271,10 @@ export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
|
1271
1271
|
getUserPublicKeyByTelephones(telephones: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
|
|
1272
1272
|
getUserPublicKeyByLocalKeys(localKeys: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
|
|
1273
1273
|
getUserPublicKeyByForeignKeys(foreignKeys: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
|
|
1274
|
-
unlockWithContext(lockId: string, directAccessEndpoints?: Nullable<kotlin.collections.KtList<string>>): Promise<any>;
|
|
1275
1274
|
unlock(unlockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockOperation): Promise<any>;
|
|
1276
|
-
shareLockWithContext(lockId: string, shareLock: com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock): Promise<any>;
|
|
1277
1275
|
shareLock(shareLockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLockOperation): Promise<any>;
|
|
1278
|
-
revokeAccessToLockWithContext(lockId: string, users: kotlin.collections.KtList<string>): Promise<any>;
|
|
1279
1276
|
revokeAccessToLock(revokeAccessToLockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.RevokeAccessToLockOperation): Promise<any>;
|
|
1280
|
-
updateSecureSettingUnlockDurationWithContext(lockId: string, unlockDuration: number): Promise<any>;
|
|
1281
1277
|
updateSecureSettingUnlockDuration(updateSecureSettingUnlockDuration: com.doordeck.multiplatform.sdk.api.model.LockOperations.UpdateSecureSettingUnlockDuration): Promise<any>;
|
|
1282
|
-
updateSecureSettingUnlockBetweenWithContext(lockId: string, unlockBetween: Nullable<com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockBetween>): Promise<any>;
|
|
1283
1278
|
updateSecureSettingUnlockBetween(updateSecureSettingUnlockBetween: com.doordeck.multiplatform.sdk.api.model.LockOperations.UpdateSecureSettingUnlockBetween): Promise<any>;
|
|
1284
1279
|
getPinnedLocks(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.LockResponse>>;
|
|
1285
1280
|
getShareableLocks(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.ShareableLockResponse>>;
|
|
@@ -1343,6 +1338,7 @@ export declare namespace com.doordeck.multiplatform.sdk.crypto {
|
|
|
1343
1338
|
const CryptoManager: {
|
|
1344
1339
|
generateKeyPair(): com.doordeck.multiplatform.sdk.api.model.Crypto.KeyPair;
|
|
1345
1340
|
generateEncodedKeyPair(): string;
|
|
1341
|
+
isCertificateAboutToExpire(base64Certificate: string): boolean;
|
|
1346
1342
|
};
|
|
1347
1343
|
function crypto(): typeof com.doordeck.multiplatform.sdk.crypto.CryptoManager;
|
|
1348
1344
|
}
|