@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.
@@ -1,23 +1,23 @@
1
1
  (function (_, kotlin_kotlin) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var protoOf = kotlin_kotlin.$_$.vb;
5
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
6
- var isInterface = kotlin_kotlin.$_$.nb;
7
- var Unit_instance = kotlin_kotlin.$_$.z4;
8
- var initMetadataForClass = kotlin_kotlin.$_$.ya;
9
- var initMetadataForObject = kotlin_kotlin.$_$.eb;
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.$_$.d1;
12
- var charSequenceLength = kotlin_kotlin.$_$.ma;
13
- var initMetadataForInterface = kotlin_kotlin.$_$.cb;
14
- var getStringHashCode = kotlin_kotlin.$_$.wa;
15
- var THROW_CCE = kotlin_kotlin.$_$.tf;
16
- var toList = kotlin_kotlin.$_$.f8;
17
- var Enum = kotlin_kotlin.$_$.kf;
18
- var objectCreate = kotlin_kotlin.$_$.ub;
19
- var stackTraceToString = kotlin_kotlin.$_$.ug;
20
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.sg;
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.f5s(severity)).q(' ');
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.d5s(tag)).q(' ');
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.x5r_1 = config;
77
+ this.l64_1 = config;
78
78
  }
79
- protoOf(BaseLogger).l3e = function () {
80
- return this.x5r_1;
79
+ protoOf(BaseLogger).i3p = function () {
80
+ return this.l64_1;
81
81
  };
82
- protoOf(BaseLogger).y5r = function () {
82
+ protoOf(BaseLogger).m64 = function () {
83
83
  // Inline function 'kotlin.let' call
84
- var it = this.l3e();
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).z5r = function (severity, tag, throwable, message) {
90
+ protoOf(BaseLogger).n64 = function (severity, tag, throwable, message) {
91
91
  // Inline function 'kotlin.collections.forEach' call
92
- var _iterator__ex2g4s = this.l3e().a5s().t();
92
+ var _iterator__ex2g4s = this.i3p().o64().t();
93
93
  while (_iterator__ex2g4s.u()) {
94
94
  var element = _iterator__ex2g4s.v();
95
- if (element.c5s(tag, severity)) {
96
- element.b5s(severity, message, tag, throwable);
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).c5s = function (tag, severity) {
109
+ protoOf(LogWriter).q64 = function (tag, severity) {
110
110
  return true;
111
111
  };
112
112
  function NoTagFormatter() {
113
113
  }
114
- protoOf(NoTagFormatter).d5s = function (tag) {
114
+ protoOf(NoTagFormatter).r64 = function (tag) {
115
115
  return '';
116
116
  };
117
- protoOf(NoTagFormatter).e5s = function (severity, tag, message) {
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.g5s_1 : THROW_CCE())))
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.g5s_1 = tag;
152
+ this.u64_1 = tag;
153
153
  }
154
154
  protoOf(Tag).toString = function () {
155
- return Tag__toString_impl_tvevk7(this.g5s_1);
155
+ return Tag__toString_impl_tvevk7(this.u64_1);
156
156
  };
157
157
  protoOf(Tag).hashCode = function () {
158
- return Tag__hashCode_impl_848yrc(this.g5s_1);
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.g5s_1, other);
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.h5s(minSeverity);
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.i5s_1 = messageStringFormatter;
226
- this.j5s_1 = console;
225
+ this.w64_1 = messageStringFormatter;
226
+ this.x64_1 = console;
227
227
  }
228
- protoOf(ConsoleWriter).b5s = function (severity, message, tag, throwable) {
229
- var output = this.i5s_1.e5s(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
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.j5s_1.k5s(output);
239
+ this.x64_1.y64(output);
240
240
  break;
241
241
  case 3:
242
- this.j5s_1.l2p(output);
242
+ this.x64_1.l2s(output);
243
243
  break;
244
244
  case 2:
245
- this.j5s_1.l5s(output);
245
+ this.x64_1.z64(output);
246
246
  break;
247
247
  case 1:
248
248
  case 0:
249
- this.j5s_1.m4u(output);
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.m5s_1 = get_DEFAULT_MIN_SEVERITY();
258
- this.n5s_1 = logWriters;
257
+ this.a65_1 = get_DEFAULT_MIN_SEVERITY();
258
+ this.b65_1 = logWriters;
259
259
  }
260
- protoOf(JsMutableLoggerConfig).h5s = function (_set____db54di) {
261
- this.m5s_1 = _set____db54di;
260
+ protoOf(JsMutableLoggerConfig).v64 = function (_set____db54di) {
261
+ this.a65_1 = _set____db54di;
262
262
  };
263
- protoOf(JsMutableLoggerConfig).o5s = function () {
264
- return this.m5s_1;
263
+ protoOf(JsMutableLoggerConfig).c65 = function () {
264
+ return this.a65_1;
265
265
  };
266
- protoOf(JsMutableLoggerConfig).a5s = function () {
267
- return this.n5s_1;
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).k5s = function (output) {
278
+ protoOf(ConsoleActual).y64 = function (output) {
279
279
  console.error(output);
280
280
  };
281
- protoOf(ConsoleActual).l2p = function (output) {
281
+ protoOf(ConsoleActual).l2s = function (output) {
282
282
  console.warn(output);
283
283
  };
284
- protoOf(ConsoleActual).l5s = function (output) {
284
+ protoOf(ConsoleActual).z64 = function (output) {
285
285
  console.info(output);
286
286
  };
287
- protoOf(ConsoleActual).m4u = function (output) {
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).f5s = formatSeverity;
296
- protoOf(DefaultFormatter).f5s = formatSeverity;
297
- protoOf(DefaultFormatter).d5s = formatTag;
298
- protoOf(DefaultFormatter).e5s = formatMessage;
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 = Severity_Assert_getInstance;
312
- _.$_$.f = Severity_Debug_getInstance;
313
- _.$_$.g = Severity_Error_getInstance;
314
- _.$_$.h = NoTagFormatter_instance;
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')));
@@ -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.$_$.j7;
5
+ var listOf = kotlin_kotlin.$_$.n7;
6
6
  var mutableLoggerConfigInit = kotlin_co_touchlab_kermit_core.$_$.c;
7
- var protoOf = kotlin_kotlin.$_$.vb;
8
- var initMetadataForCompanion = kotlin_kotlin.$_$.za;
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.$_$.ya;
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).r5s = function () {
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.t5s_1 = tag;
34
+ this.h65_1 = tag;
35
35
  }
36
- protoOf(Logger).r5s = function () {
37
- return this.t5s_1;
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.$_$.z4;
4
+ var Unit_instance = kotlin_kotlin.$_$.z;
5
5
  var VOID = kotlin_kotlin.$_$.b;
6
- var protoOf = kotlin_kotlin.$_$.vb;
7
- var toIntOrNull = kotlin_kotlin.$_$.me;
8
- var toBoolean = kotlin_kotlin.$_$.ie;
9
- var initMetadataForClass = kotlin_kotlin.$_$.ya;
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.p5r_1 = delegate;
23
+ this.d64_1 = delegate;
24
24
  }
25
25
  protoOf(StorageSettings).t2 = function () {
26
- return this.p5r_1.clear();
26
+ return this.d64_1.clear();
27
27
  };
28
- protoOf(StorageSettings).h2l = function (key) {
29
- return this.p5r_1.removeItem(key);
28
+ protoOf(StorageSettings).h2o = function (key) {
29
+ return this.d64_1.removeItem(key);
30
30
  };
31
- protoOf(StorageSettings).q5r = function (key) {
31
+ protoOf(StorageSettings).e64 = function (key) {
32
32
  // Inline function 'com.russhwolf.settings.get' call
33
- return !(this.p5r_1.getItem(key) == null);
33
+ return !(this.d64_1.getItem(key) == null);
34
34
  };
35
- protoOf(StorageSettings).r5r = function (key, value) {
36
- var tmp0 = this.p5r_1;
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).s5r = function (key) {
41
+ protoOf(StorageSettings).g64 = function (key) {
42
42
  // Inline function 'com.russhwolf.settings.get' call
43
- var tmp0_safe_receiver = this.p5r_1.getItem(key);
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).t5r = function (key, value) {
46
+ protoOf(StorageSettings).h64 = function (key, value) {
47
47
  // Inline function 'com.russhwolf.settings.set' call
48
- this.p5r_1.setItem(key, value);
48
+ this.d64_1.setItem(key, value);
49
49
  };
50
- protoOf(StorageSettings).u5r = function (key) {
50
+ protoOf(StorageSettings).i64 = function (key) {
51
51
  // Inline function 'com.russhwolf.settings.get' call
52
- return this.p5r_1.getItem(key);
52
+ return this.d64_1.getItem(key);
53
53
  };
54
- protoOf(StorageSettings).v5r = function (key, value) {
55
- var tmp0 = this.p5r_1;
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).w5r = function (key) {
60
+ protoOf(StorageSettings).k64 = function (key) {
61
61
  // Inline function 'com.russhwolf.settings.get' call
62
- var tmp0_safe_receiver = this.p5r_1.getItem(key);
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
@@ -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 */