@doordeck/doordeck-headless-sdk 0.90.0 → 0.92.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.
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
return tmp;
|
|
363
363
|
}
|
|
364
364
|
initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
|
|
365
|
-
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder,
|
|
365
|
+
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithDate, WithUtcOffset]);
|
|
366
366
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
367
367
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
368
368
|
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
|
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -504,13 +504,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
504
504
|
};
|
|
505
505
|
}
|
|
506
506
|
class PaxtonNet2Controller implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
|
|
507
|
-
constructor(host: string, username: string, password: string, address: string, output: number);
|
|
507
|
+
constructor(host: string, username: Nullable<string> | undefined, password: Nullable<string> | undefined, address: string, output: number);
|
|
508
508
|
get host(): string;
|
|
509
|
-
get username(): string
|
|
510
|
-
get password(): string
|
|
509
|
+
get username(): Nullable<string>;
|
|
510
|
+
get password(): Nullable<string>;
|
|
511
511
|
get address(): string;
|
|
512
512
|
get output(): number;
|
|
513
|
-
copy(host?: string, username?: string
|
|
513
|
+
copy(host?: string, username?: Nullable<string>, password?: Nullable<string>, address?: string, output?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.PaxtonNet2Controller;
|
|
514
514
|
toString(): string;
|
|
515
515
|
hashCode(): number;
|
|
516
516
|
equals(other: Nullable<any>): boolean;
|
package/kotlin/doordeck-sdk.js
CHANGED
|
@@ -10228,8 +10228,8 @@
|
|
|
10228
10228
|
$serializer_instance_12 = this;
|
|
10229
10229
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('net2', this, 5);
|
|
10230
10230
|
tmp0_serialDesc.n25('host', false);
|
|
10231
|
-
tmp0_serialDesc.n25('username',
|
|
10232
|
-
tmp0_serialDesc.n25('password',
|
|
10231
|
+
tmp0_serialDesc.n25('username', true);
|
|
10232
|
+
tmp0_serialDesc.n25('password', true);
|
|
10233
10233
|
tmp0_serialDesc.n25('address', false);
|
|
10234
10234
|
tmp0_serialDesc.n25('output', false);
|
|
10235
10235
|
this.s7l_1 = tmp0_serialDesc;
|
|
@@ -10238,8 +10238,12 @@
|
|
|
10238
10238
|
var tmp0_desc = this.s7l_1;
|
|
10239
10239
|
var tmp1_output = encoder.z1x(tmp0_desc);
|
|
10240
10240
|
tmp1_output.o1z(tmp0_desc, 0, value.host);
|
|
10241
|
-
tmp1_output.
|
|
10242
|
-
|
|
10241
|
+
if (tmp1_output.w1z(tmp0_desc, 1) ? true : !(value.username == null)) {
|
|
10242
|
+
tmp1_output.s1z(tmp0_desc, 1, StringSerializer_getInstance(), value.username);
|
|
10243
|
+
}
|
|
10244
|
+
if (tmp1_output.w1z(tmp0_desc, 2) ? true : !(value.password == null)) {
|
|
10245
|
+
tmp1_output.s1z(tmp0_desc, 2, StringSerializer_getInstance(), value.password);
|
|
10246
|
+
}
|
|
10243
10247
|
tmp1_output.o1z(tmp0_desc, 3, value.address);
|
|
10244
10248
|
tmp1_output.i1z(tmp0_desc, 4, value.output);
|
|
10245
10249
|
tmp1_output.a1y(tmp0_desc);
|
|
@@ -10261,9 +10265,9 @@
|
|
|
10261
10265
|
if (tmp9_input.p1y()) {
|
|
10262
10266
|
tmp4_local0 = tmp9_input.j1y(tmp0_desc, 0);
|
|
10263
10267
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
10264
|
-
tmp5_local1 = tmp9_input.
|
|
10268
|
+
tmp5_local1 = tmp9_input.n1y(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
10265
10269
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
10266
|
-
tmp6_local2 = tmp9_input.
|
|
10270
|
+
tmp6_local2 = tmp9_input.n1y(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
10267
10271
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
10268
10272
|
tmp7_local3 = tmp9_input.j1y(tmp0_desc, 3);
|
|
10269
10273
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
@@ -10281,11 +10285,11 @@
|
|
|
10281
10285
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
10282
10286
|
break;
|
|
10283
10287
|
case 1:
|
|
10284
|
-
tmp5_local1 = tmp9_input.
|
|
10288
|
+
tmp5_local1 = tmp9_input.n1y(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
10285
10289
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
10286
10290
|
break;
|
|
10287
10291
|
case 2:
|
|
10288
|
-
tmp6_local2 = tmp9_input.
|
|
10292
|
+
tmp6_local2 = tmp9_input.n1y(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
10289
10293
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
10290
10294
|
break;
|
|
10291
10295
|
case 3:
|
|
@@ -10310,7 +10314,7 @@
|
|
|
10310
10314
|
// Inline function 'kotlin.arrayOf' call
|
|
10311
10315
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
10312
10316
|
// Inline function 'kotlin.js.asDynamic' call
|
|
10313
|
-
return [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance(), ShortSerializer_getInstance()];
|
|
10317
|
+
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), ShortSerializer_getInstance()];
|
|
10314
10318
|
};
|
|
10315
10319
|
var $serializer_instance_12;
|
|
10316
10320
|
function $serializer_getInstance_12() {
|
|
@@ -10319,12 +10323,18 @@
|
|
|
10319
10323
|
return $serializer_instance_12;
|
|
10320
10324
|
}
|
|
10321
10325
|
function PaxtonNet2Controller_init_$Init$(seen0, host, username, password, address, output, serializationConstructorMarker, $this) {
|
|
10322
|
-
if (!(
|
|
10323
|
-
throwMissingFieldException(seen0,
|
|
10326
|
+
if (!(25 === (25 & seen0))) {
|
|
10327
|
+
throwMissingFieldException(seen0, 25, $serializer_getInstance_12().s7l_1);
|
|
10324
10328
|
}
|
|
10325
10329
|
$this.host = host;
|
|
10326
|
-
|
|
10327
|
-
|
|
10330
|
+
if (0 === (seen0 & 2))
|
|
10331
|
+
$this.username = null;
|
|
10332
|
+
else
|
|
10333
|
+
$this.username = username;
|
|
10334
|
+
if (0 === (seen0 & 4))
|
|
10335
|
+
$this.password = null;
|
|
10336
|
+
else
|
|
10337
|
+
$this.password = password;
|
|
10328
10338
|
$this.address = address;
|
|
10329
10339
|
$this.output = output;
|
|
10330
10340
|
return $this;
|
|
@@ -11914,6 +11924,8 @@
|
|
|
11914
11924
|
return true;
|
|
11915
11925
|
};
|
|
11916
11926
|
function PaxtonNet2Controller(host, username, password, address, output) {
|
|
11927
|
+
username = username === VOID ? null : username;
|
|
11928
|
+
password = password === VOID ? null : password;
|
|
11917
11929
|
this.host = host;
|
|
11918
11930
|
this.username = username;
|
|
11919
11931
|
this.password = password;
|
|
@@ -11966,8 +11978,8 @@
|
|
|
11966
11978
|
};
|
|
11967
11979
|
protoOf(PaxtonNet2Controller).hashCode = function () {
|
|
11968
11980
|
var result = getStringHashCode(this.host);
|
|
11969
|
-
result = imul(result, 31) + getStringHashCode(this.username) | 0;
|
|
11970
|
-
result = imul(result, 31) + getStringHashCode(this.password) | 0;
|
|
11981
|
+
result = imul(result, 31) + (this.username == null ? 0 : getStringHashCode(this.username)) | 0;
|
|
11982
|
+
result = imul(result, 31) + (this.password == null ? 0 : getStringHashCode(this.password)) | 0;
|
|
11971
11983
|
result = imul(result, 31) + getStringHashCode(this.address) | 0;
|
|
11972
11984
|
result = imul(result, 31) + this.output | 0;
|
|
11973
11985
|
return result;
|
|
@@ -11980,9 +11992,9 @@
|
|
|
11980
11992
|
var tmp0_other_with_cast = other instanceof PaxtonNet2Controller ? other : THROW_CCE();
|
|
11981
11993
|
if (!(this.host === tmp0_other_with_cast.host))
|
|
11982
11994
|
return false;
|
|
11983
|
-
if (!(this.username
|
|
11995
|
+
if (!(this.username == tmp0_other_with_cast.username))
|
|
11984
11996
|
return false;
|
|
11985
|
-
if (!(this.password
|
|
11997
|
+
if (!(this.password == tmp0_other_with_cast.password))
|
|
11986
11998
|
return false;
|
|
11987
11999
|
if (!(this.address === tmp0_other_with_cast.address))
|
|
11988
12000
|
return false;
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
initMetadataForCoroutine($doSelectSuspendCOROUTINE$21, CoroutineImpl);
|
|
252
252
|
initMetadataForCoroutine($completeCOROUTINE$22, CoroutineImpl);
|
|
253
253
|
initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$23, CoroutineImpl);
|
|
254
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
254
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
|
|
255
255
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
256
256
|
initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [CoroutineDispatcher, Delay], [1]);
|
|
257
257
|
initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
|