@doordeck/doordeck-headless-sdk 0.96.0 → 0.98.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, WithUtcOffset, WithDate]);
|
|
366
366
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
367
367
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
368
368
|
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
|
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -676,13 +676,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
class LocationRequirement {
|
|
679
|
-
constructor(latitude: number, longitude: number, enabled?:
|
|
679
|
+
constructor(latitude: number, longitude: number, enabled?: boolean, radius?: number, accuracy?: number);
|
|
680
680
|
get latitude(): number;
|
|
681
681
|
get longitude(): number;
|
|
682
|
-
get enabled():
|
|
683
|
-
get radius():
|
|
684
|
-
get accuracy():
|
|
685
|
-
copy(latitude?: number, longitude?: number, enabled?:
|
|
682
|
+
get enabled(): boolean;
|
|
683
|
+
get radius(): number;
|
|
684
|
+
get accuracy(): number;
|
|
685
|
+
copy(latitude?: number, longitude?: number, enabled?: boolean, radius?: number, accuracy?: number): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement;
|
|
686
686
|
toString(): string;
|
|
687
687
|
hashCode(): number;
|
|
688
688
|
equals(other: Nullable<any>): boolean;
|
|
@@ -692,9 +692,9 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
692
692
|
constructor();
|
|
693
693
|
setLatitude(latitude: number): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement.Builder;
|
|
694
694
|
setLongitude(longitude: number): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement.Builder;
|
|
695
|
-
setEnabled(enabled:
|
|
696
|
-
setRadius(radius:
|
|
697
|
-
setAccuracy(accuracy:
|
|
695
|
+
setEnabled(enabled: boolean): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement.Builder;
|
|
696
|
+
setRadius(radius: number): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement.Builder;
|
|
697
|
+
setAccuracy(accuracy: number): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement.Builder;
|
|
698
698
|
build(): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement;
|
|
699
699
|
}
|
|
700
700
|
}
|
|
@@ -1305,13 +1305,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
1305
1305
|
};
|
|
1306
1306
|
}
|
|
1307
1307
|
class LocationRequirementResponse {
|
|
1308
|
-
constructor(latitude: number, longitude: number, enabled
|
|
1308
|
+
constructor(latitude: number, longitude: number, enabled: boolean, radius: number, accuracy: number);
|
|
1309
1309
|
get latitude(): number;
|
|
1310
1310
|
get longitude(): number;
|
|
1311
|
-
get enabled():
|
|
1312
|
-
get radius():
|
|
1313
|
-
get accuracy():
|
|
1314
|
-
copy(latitude?: number, longitude?: number, enabled?:
|
|
1311
|
+
get enabled(): boolean;
|
|
1312
|
+
get radius(): number;
|
|
1313
|
+
get accuracy(): number;
|
|
1314
|
+
copy(latitude?: number, longitude?: number, enabled?: boolean, radius?: number, accuracy?: number): com.doordeck.multiplatform.sdk.model.responses.LocationRequirementResponse;
|
|
1315
1315
|
toString(): string;
|
|
1316
1316
|
hashCode(): number;
|
|
1317
1317
|
equals(other: Nullable<any>): boolean;
|
package/kotlin/doordeck-sdk.js
CHANGED
|
@@ -1031,6 +1031,7 @@
|
|
|
1031
1031
|
installContentNegotiation($this$HttpClient);
|
|
1032
1032
|
installTimeout($this$HttpClient);
|
|
1033
1033
|
installUserAgent($this$HttpClient);
|
|
1034
|
+
installResponseValidator($this$HttpClient);
|
|
1034
1035
|
installDefaultRequest($this$HttpClient, createFusionHttpClient$lambda$lambda);
|
|
1035
1036
|
return Unit_instance;
|
|
1036
1037
|
}
|
|
@@ -12664,9 +12665,9 @@
|
|
|
12664
12665
|
function Builder_1() {
|
|
12665
12666
|
this.j7s_1 = null;
|
|
12666
12667
|
this.k7s_1 = null;
|
|
12667
|
-
this.l7s_1 =
|
|
12668
|
-
this.m7s_1 =
|
|
12669
|
-
this.n7s_1 =
|
|
12668
|
+
this.l7s_1 = false;
|
|
12669
|
+
this.m7s_1 = 100;
|
|
12670
|
+
this.n7s_1 = 200;
|
|
12670
12671
|
}
|
|
12671
12672
|
protoOf(Builder_1).setLatitude = function (latitude) {
|
|
12672
12673
|
// Inline function 'kotlin.apply' call
|
|
@@ -13276,9 +13277,9 @@
|
|
|
13276
13277
|
return true;
|
|
13277
13278
|
};
|
|
13278
13279
|
function LocationRequirement(latitude, longitude, enabled, radius, accuracy) {
|
|
13279
|
-
enabled = enabled === VOID ?
|
|
13280
|
-
radius = radius === VOID ?
|
|
13281
|
-
accuracy = accuracy === VOID ?
|
|
13280
|
+
enabled = enabled === VOID ? false : enabled;
|
|
13281
|
+
radius = radius === VOID ? 100 : radius;
|
|
13282
|
+
accuracy = accuracy === VOID ? 200 : accuracy;
|
|
13282
13283
|
this.latitude = latitude;
|
|
13283
13284
|
this.longitude = longitude;
|
|
13284
13285
|
this.enabled = enabled;
|
|
@@ -13332,9 +13333,9 @@
|
|
|
13332
13333
|
protoOf(LocationRequirement).hashCode = function () {
|
|
13333
13334
|
var result = getNumberHashCode(this.latitude);
|
|
13334
13335
|
result = imul(result, 31) + getNumberHashCode(this.longitude) | 0;
|
|
13335
|
-
result = imul(result, 31) +
|
|
13336
|
-
result = imul(result, 31) +
|
|
13337
|
-
result = imul(result, 31) +
|
|
13336
|
+
result = imul(result, 31) + getBooleanHashCode(this.enabled) | 0;
|
|
13337
|
+
result = imul(result, 31) + this.radius | 0;
|
|
13338
|
+
result = imul(result, 31) + this.accuracy | 0;
|
|
13338
13339
|
return result;
|
|
13339
13340
|
};
|
|
13340
13341
|
protoOf(LocationRequirement).equals = function (other) {
|
|
@@ -13347,11 +13348,11 @@
|
|
|
13347
13348
|
return false;
|
|
13348
13349
|
if (!equals(this.longitude, tmp0_other_with_cast.longitude))
|
|
13349
13350
|
return false;
|
|
13350
|
-
if (!(this.enabled
|
|
13351
|
+
if (!(this.enabled === tmp0_other_with_cast.enabled))
|
|
13351
13352
|
return false;
|
|
13352
|
-
if (!(this.radius
|
|
13353
|
+
if (!(this.radius === tmp0_other_with_cast.radius))
|
|
13353
13354
|
return false;
|
|
13354
|
-
if (!(this.accuracy
|
|
13355
|
+
if (!(this.accuracy === tmp0_other_with_cast.accuracy))
|
|
13355
13356
|
return false;
|
|
13356
13357
|
return true;
|
|
13357
13358
|
};
|
|
@@ -19662,9 +19663,9 @@
|
|
|
19662
19663
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.doordeck.multiplatform.sdk.model.requests.LocationRequirementRequest', this, 5);
|
|
19663
19664
|
tmp0_serialDesc.r27('latitude', false);
|
|
19664
19665
|
tmp0_serialDesc.r27('longitude', false);
|
|
19665
|
-
tmp0_serialDesc.r27('enabled',
|
|
19666
|
-
tmp0_serialDesc.r27('radius',
|
|
19667
|
-
tmp0_serialDesc.r27('accuracy',
|
|
19666
|
+
tmp0_serialDesc.r27('enabled', false);
|
|
19667
|
+
tmp0_serialDesc.r27('radius', false);
|
|
19668
|
+
tmp0_serialDesc.r27('accuracy', false);
|
|
19668
19669
|
this.u84_1 = tmp0_serialDesc;
|
|
19669
19670
|
}
|
|
19670
19671
|
protoOf($serializer_54).v84 = function (encoder, value) {
|
|
@@ -19672,15 +19673,9 @@
|
|
|
19672
19673
|
var tmp1_output = encoder.d20(tmp0_desc);
|
|
19673
19674
|
tmp1_output.q21(tmp0_desc, 0, value.w84_1);
|
|
19674
19675
|
tmp1_output.q21(tmp0_desc, 1, value.x84_1);
|
|
19675
|
-
|
|
19676
|
-
|
|
19677
|
-
|
|
19678
|
-
if (tmp1_output.a22(tmp0_desc, 3) ? true : !(value.z84_1 == null)) {
|
|
19679
|
-
tmp1_output.w21(tmp0_desc, 3, IntSerializer_getInstance(), value.z84_1);
|
|
19680
|
-
}
|
|
19681
|
-
if (tmp1_output.a22(tmp0_desc, 4) ? true : !(value.a85_1 == null)) {
|
|
19682
|
-
tmp1_output.w21(tmp0_desc, 4, IntSerializer_getInstance(), value.a85_1);
|
|
19683
|
-
}
|
|
19676
|
+
tmp1_output.k21(tmp0_desc, 2, value.y84_1);
|
|
19677
|
+
tmp1_output.n21(tmp0_desc, 3, value.z84_1);
|
|
19678
|
+
tmp1_output.n21(tmp0_desc, 4, value.a85_1);
|
|
19684
19679
|
tmp1_output.e20(tmp0_desc);
|
|
19685
19680
|
};
|
|
19686
19681
|
protoOf($serializer_54).r1w = function (encoder, value) {
|
|
@@ -19693,20 +19688,20 @@
|
|
|
19693
19688
|
var tmp3_bitMask0 = 0;
|
|
19694
19689
|
var tmp4_local0 = 0.0;
|
|
19695
19690
|
var tmp5_local1 = 0.0;
|
|
19696
|
-
var tmp6_local2 =
|
|
19697
|
-
var tmp7_local3 =
|
|
19698
|
-
var tmp8_local4 =
|
|
19691
|
+
var tmp6_local2 = false;
|
|
19692
|
+
var tmp7_local3 = 0;
|
|
19693
|
+
var tmp8_local4 = 0;
|
|
19699
19694
|
var tmp9_input = decoder.d20(tmp0_desc);
|
|
19700
19695
|
if (tmp9_input.t20()) {
|
|
19701
19696
|
tmp4_local0 = tmp9_input.l20(tmp0_desc, 0);
|
|
19702
19697
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
19703
19698
|
tmp5_local1 = tmp9_input.l20(tmp0_desc, 1);
|
|
19704
19699
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
19705
|
-
tmp6_local2 = tmp9_input.
|
|
19700
|
+
tmp6_local2 = tmp9_input.f20(tmp0_desc, 2);
|
|
19706
19701
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
19707
|
-
tmp7_local3 = tmp9_input.
|
|
19702
|
+
tmp7_local3 = tmp9_input.i20(tmp0_desc, 3);
|
|
19708
19703
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
19709
|
-
tmp8_local4 = tmp9_input.
|
|
19704
|
+
tmp8_local4 = tmp9_input.i20(tmp0_desc, 4);
|
|
19710
19705
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
19711
19706
|
} else
|
|
19712
19707
|
while (tmp1_flag) {
|
|
@@ -19724,15 +19719,15 @@
|
|
|
19724
19719
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
19725
19720
|
break;
|
|
19726
19721
|
case 2:
|
|
19727
|
-
tmp6_local2 = tmp9_input.
|
|
19722
|
+
tmp6_local2 = tmp9_input.f20(tmp0_desc, 2);
|
|
19728
19723
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
19729
19724
|
break;
|
|
19730
19725
|
case 3:
|
|
19731
|
-
tmp7_local3 = tmp9_input.
|
|
19726
|
+
tmp7_local3 = tmp9_input.i20(tmp0_desc, 3);
|
|
19732
19727
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
19733
19728
|
break;
|
|
19734
19729
|
case 4:
|
|
19735
|
-
tmp8_local4 = tmp9_input.
|
|
19730
|
+
tmp8_local4 = tmp9_input.i20(tmp0_desc, 4);
|
|
19736
19731
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
19737
19732
|
break;
|
|
19738
19733
|
default:
|
|
@@ -19749,7 +19744,7 @@
|
|
|
19749
19744
|
// Inline function 'kotlin.arrayOf' call
|
|
19750
19745
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
19751
19746
|
// Inline function 'kotlin.js.asDynamic' call
|
|
19752
|
-
return [DoubleSerializer_getInstance(), DoubleSerializer_getInstance(),
|
|
19747
|
+
return [DoubleSerializer_getInstance(), DoubleSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance()];
|
|
19753
19748
|
};
|
|
19754
19749
|
var $serializer_instance_54;
|
|
19755
19750
|
function $serializer_getInstance_54() {
|
|
@@ -19758,32 +19753,20 @@
|
|
|
19758
19753
|
return $serializer_instance_54;
|
|
19759
19754
|
}
|
|
19760
19755
|
function LocationRequirementRequest_init_$Init$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker, $this) {
|
|
19761
|
-
if (!(
|
|
19762
|
-
throwMissingFieldException(seen0,
|
|
19756
|
+
if (!(31 === (31 & seen0))) {
|
|
19757
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_54().u84_1);
|
|
19763
19758
|
}
|
|
19764
19759
|
$this.w84_1 = latitude;
|
|
19765
19760
|
$this.x84_1 = longitude;
|
|
19766
|
-
|
|
19767
|
-
|
|
19768
|
-
|
|
19769
|
-
$this.y84_1 = enabled;
|
|
19770
|
-
if (0 === (seen0 & 8))
|
|
19771
|
-
$this.z84_1 = null;
|
|
19772
|
-
else
|
|
19773
|
-
$this.z84_1 = radius;
|
|
19774
|
-
if (0 === (seen0 & 16))
|
|
19775
|
-
$this.a85_1 = null;
|
|
19776
|
-
else
|
|
19777
|
-
$this.a85_1 = accuracy;
|
|
19761
|
+
$this.y84_1 = enabled;
|
|
19762
|
+
$this.z84_1 = radius;
|
|
19763
|
+
$this.a85_1 = accuracy;
|
|
19778
19764
|
return $this;
|
|
19779
19765
|
}
|
|
19780
19766
|
function LocationRequirementRequest_init_$Create$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker) {
|
|
19781
19767
|
return LocationRequirementRequest_init_$Init$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker, objectCreate(protoOf(LocationRequirementRequest)));
|
|
19782
19768
|
}
|
|
19783
19769
|
function LocationRequirementRequest(latitude, longitude, enabled, radius, accuracy) {
|
|
19784
|
-
enabled = enabled === VOID ? null : enabled;
|
|
19785
|
-
radius = radius === VOID ? null : radius;
|
|
19786
|
-
accuracy = accuracy === VOID ? null : accuracy;
|
|
19787
19770
|
this.w84_1 = latitude;
|
|
19788
19771
|
this.x84_1 = longitude;
|
|
19789
19772
|
this.y84_1 = enabled;
|
|
@@ -19796,9 +19779,9 @@
|
|
|
19796
19779
|
protoOf(LocationRequirementRequest).hashCode = function () {
|
|
19797
19780
|
var result = getNumberHashCode(this.w84_1);
|
|
19798
19781
|
result = imul(result, 31) + getNumberHashCode(this.x84_1) | 0;
|
|
19799
|
-
result = imul(result, 31) +
|
|
19800
|
-
result = imul(result, 31) +
|
|
19801
|
-
result = imul(result, 31) +
|
|
19782
|
+
result = imul(result, 31) + getBooleanHashCode(this.y84_1) | 0;
|
|
19783
|
+
result = imul(result, 31) + this.z84_1 | 0;
|
|
19784
|
+
result = imul(result, 31) + this.a85_1 | 0;
|
|
19802
19785
|
return result;
|
|
19803
19786
|
};
|
|
19804
19787
|
protoOf(LocationRequirementRequest).equals = function (other) {
|
|
@@ -19811,11 +19794,11 @@
|
|
|
19811
19794
|
return false;
|
|
19812
19795
|
if (!equals(this.x84_1, tmp0_other_with_cast.x84_1))
|
|
19813
19796
|
return false;
|
|
19814
|
-
if (!(this.y84_1
|
|
19797
|
+
if (!(this.y84_1 === tmp0_other_with_cast.y84_1))
|
|
19815
19798
|
return false;
|
|
19816
|
-
if (!(this.z84_1
|
|
19799
|
+
if (!(this.z84_1 === tmp0_other_with_cast.z84_1))
|
|
19817
19800
|
return false;
|
|
19818
|
-
if (!(this.a85_1
|
|
19801
|
+
if (!(this.a85_1 === tmp0_other_with_cast.a85_1))
|
|
19819
19802
|
return false;
|
|
19820
19803
|
return true;
|
|
19821
19804
|
};
|
|
@@ -25541,9 +25524,9 @@
|
|
|
25541
25524
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.doordeck.multiplatform.sdk.model.responses.LocationRequirementResponse', this, 5);
|
|
25542
25525
|
tmp0_serialDesc.r27('latitude', false);
|
|
25543
25526
|
tmp0_serialDesc.r27('longitude', false);
|
|
25544
|
-
tmp0_serialDesc.r27('enabled',
|
|
25545
|
-
tmp0_serialDesc.r27('radius',
|
|
25546
|
-
tmp0_serialDesc.r27('accuracy',
|
|
25527
|
+
tmp0_serialDesc.r27('enabled', false);
|
|
25528
|
+
tmp0_serialDesc.r27('radius', false);
|
|
25529
|
+
tmp0_serialDesc.r27('accuracy', false);
|
|
25547
25530
|
this.o8c_1 = tmp0_serialDesc;
|
|
25548
25531
|
}
|
|
25549
25532
|
protoOf($serializer_94).p8c = function (encoder, value) {
|
|
@@ -25551,15 +25534,9 @@
|
|
|
25551
25534
|
var tmp1_output = encoder.d20(tmp0_desc);
|
|
25552
25535
|
tmp1_output.q21(tmp0_desc, 0, value.latitude);
|
|
25553
25536
|
tmp1_output.q21(tmp0_desc, 1, value.longitude);
|
|
25554
|
-
|
|
25555
|
-
|
|
25556
|
-
|
|
25557
|
-
if (tmp1_output.a22(tmp0_desc, 3) ? true : !(value.radius == null)) {
|
|
25558
|
-
tmp1_output.w21(tmp0_desc, 3, IntSerializer_getInstance(), value.radius);
|
|
25559
|
-
}
|
|
25560
|
-
if (tmp1_output.a22(tmp0_desc, 4) ? true : !(value.accuracy == null)) {
|
|
25561
|
-
tmp1_output.w21(tmp0_desc, 4, IntSerializer_getInstance(), value.accuracy);
|
|
25562
|
-
}
|
|
25537
|
+
tmp1_output.k21(tmp0_desc, 2, value.enabled);
|
|
25538
|
+
tmp1_output.n21(tmp0_desc, 3, value.radius);
|
|
25539
|
+
tmp1_output.n21(tmp0_desc, 4, value.accuracy);
|
|
25563
25540
|
tmp1_output.e20(tmp0_desc);
|
|
25564
25541
|
};
|
|
25565
25542
|
protoOf($serializer_94).r1w = function (encoder, value) {
|
|
@@ -25572,20 +25549,20 @@
|
|
|
25572
25549
|
var tmp3_bitMask0 = 0;
|
|
25573
25550
|
var tmp4_local0 = 0.0;
|
|
25574
25551
|
var tmp5_local1 = 0.0;
|
|
25575
|
-
var tmp6_local2 =
|
|
25576
|
-
var tmp7_local3 =
|
|
25577
|
-
var tmp8_local4 =
|
|
25552
|
+
var tmp6_local2 = false;
|
|
25553
|
+
var tmp7_local3 = 0;
|
|
25554
|
+
var tmp8_local4 = 0;
|
|
25578
25555
|
var tmp9_input = decoder.d20(tmp0_desc);
|
|
25579
25556
|
if (tmp9_input.t20()) {
|
|
25580
25557
|
tmp4_local0 = tmp9_input.l20(tmp0_desc, 0);
|
|
25581
25558
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
25582
25559
|
tmp5_local1 = tmp9_input.l20(tmp0_desc, 1);
|
|
25583
25560
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
25584
|
-
tmp6_local2 = tmp9_input.
|
|
25561
|
+
tmp6_local2 = tmp9_input.f20(tmp0_desc, 2);
|
|
25585
25562
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
25586
|
-
tmp7_local3 = tmp9_input.
|
|
25563
|
+
tmp7_local3 = tmp9_input.i20(tmp0_desc, 3);
|
|
25587
25564
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
25588
|
-
tmp8_local4 = tmp9_input.
|
|
25565
|
+
tmp8_local4 = tmp9_input.i20(tmp0_desc, 4);
|
|
25589
25566
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
25590
25567
|
} else
|
|
25591
25568
|
while (tmp1_flag) {
|
|
@@ -25603,15 +25580,15 @@
|
|
|
25603
25580
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
25604
25581
|
break;
|
|
25605
25582
|
case 2:
|
|
25606
|
-
tmp6_local2 = tmp9_input.
|
|
25583
|
+
tmp6_local2 = tmp9_input.f20(tmp0_desc, 2);
|
|
25607
25584
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
25608
25585
|
break;
|
|
25609
25586
|
case 3:
|
|
25610
|
-
tmp7_local3 = tmp9_input.
|
|
25587
|
+
tmp7_local3 = tmp9_input.i20(tmp0_desc, 3);
|
|
25611
25588
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
25612
25589
|
break;
|
|
25613
25590
|
case 4:
|
|
25614
|
-
tmp8_local4 = tmp9_input.
|
|
25591
|
+
tmp8_local4 = tmp9_input.i20(tmp0_desc, 4);
|
|
25615
25592
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
25616
25593
|
break;
|
|
25617
25594
|
default:
|
|
@@ -25628,7 +25605,7 @@
|
|
|
25628
25605
|
// Inline function 'kotlin.arrayOf' call
|
|
25629
25606
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
25630
25607
|
// Inline function 'kotlin.js.asDynamic' call
|
|
25631
|
-
return [DoubleSerializer_getInstance(), DoubleSerializer_getInstance(),
|
|
25608
|
+
return [DoubleSerializer_getInstance(), DoubleSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance()];
|
|
25632
25609
|
};
|
|
25633
25610
|
var $serializer_instance_94;
|
|
25634
25611
|
function $serializer_getInstance_94() {
|
|
@@ -25637,32 +25614,20 @@
|
|
|
25637
25614
|
return $serializer_instance_94;
|
|
25638
25615
|
}
|
|
25639
25616
|
function LocationRequirementResponse_init_$Init$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker, $this) {
|
|
25640
|
-
if (!(
|
|
25641
|
-
throwMissingFieldException(seen0,
|
|
25617
|
+
if (!(31 === (31 & seen0))) {
|
|
25618
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_94().o8c_1);
|
|
25642
25619
|
}
|
|
25643
25620
|
$this.latitude = latitude;
|
|
25644
25621
|
$this.longitude = longitude;
|
|
25645
|
-
|
|
25646
|
-
|
|
25647
|
-
|
|
25648
|
-
$this.enabled = enabled;
|
|
25649
|
-
if (0 === (seen0 & 8))
|
|
25650
|
-
$this.radius = null;
|
|
25651
|
-
else
|
|
25652
|
-
$this.radius = radius;
|
|
25653
|
-
if (0 === (seen0 & 16))
|
|
25654
|
-
$this.accuracy = null;
|
|
25655
|
-
else
|
|
25656
|
-
$this.accuracy = accuracy;
|
|
25622
|
+
$this.enabled = enabled;
|
|
25623
|
+
$this.radius = radius;
|
|
25624
|
+
$this.accuracy = accuracy;
|
|
25657
25625
|
return $this;
|
|
25658
25626
|
}
|
|
25659
25627
|
function LocationRequirementResponse_init_$Create$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker) {
|
|
25660
25628
|
return LocationRequirementResponse_init_$Init$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker, objectCreate(protoOf(LocationRequirementResponse)));
|
|
25661
25629
|
}
|
|
25662
25630
|
function LocationRequirementResponse(latitude, longitude, enabled, radius, accuracy) {
|
|
25663
|
-
enabled = enabled === VOID ? null : enabled;
|
|
25664
|
-
radius = radius === VOID ? null : radius;
|
|
25665
|
-
accuracy = accuracy === VOID ? null : accuracy;
|
|
25666
25631
|
this.latitude = latitude;
|
|
25667
25632
|
this.longitude = longitude;
|
|
25668
25633
|
this.enabled = enabled;
|
|
@@ -25716,9 +25681,9 @@
|
|
|
25716
25681
|
protoOf(LocationRequirementResponse).hashCode = function () {
|
|
25717
25682
|
var result = getNumberHashCode(this.latitude);
|
|
25718
25683
|
result = imul(result, 31) + getNumberHashCode(this.longitude) | 0;
|
|
25719
|
-
result = imul(result, 31) +
|
|
25720
|
-
result = imul(result, 31) +
|
|
25721
|
-
result = imul(result, 31) +
|
|
25684
|
+
result = imul(result, 31) + getBooleanHashCode(this.enabled) | 0;
|
|
25685
|
+
result = imul(result, 31) + this.radius | 0;
|
|
25686
|
+
result = imul(result, 31) + this.accuracy | 0;
|
|
25722
25687
|
return result;
|
|
25723
25688
|
};
|
|
25724
25689
|
protoOf(LocationRequirementResponse).equals = function (other) {
|
|
@@ -25731,11 +25696,11 @@
|
|
|
25731
25696
|
return false;
|
|
25732
25697
|
if (!equals(this.longitude, tmp0_other_with_cast.longitude))
|
|
25733
25698
|
return false;
|
|
25734
|
-
if (!(this.enabled
|
|
25699
|
+
if (!(this.enabled === tmp0_other_with_cast.enabled))
|
|
25735
25700
|
return false;
|
|
25736
|
-
if (!(this.radius
|
|
25701
|
+
if (!(this.radius === tmp0_other_with_cast.radius))
|
|
25737
25702
|
return false;
|
|
25738
|
-
if (!(this.accuracy
|
|
25703
|
+
if (!(this.accuracy === tmp0_other_with_cast.accuracy))
|
|
25739
25704
|
return false;
|
|
25740
25705
|
return true;
|
|
25741
25706
|
};
|
|
@@ -48,6 +48,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
48
48
|
};
|
|
49
49
|
}(Math.log, Math.LN2);
|
|
50
50
|
}
|
|
51
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
52
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
53
|
+
position = position || 0;
|
|
54
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
55
|
+
}});
|
|
56
|
+
}
|
|
51
57
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
52
58
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
53
59
|
var subjectString = this.toString();
|
|
@@ -59,12 +65,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
59
65
|
return lastIndex !== -1 && lastIndex === position;
|
|
60
66
|
}});
|
|
61
67
|
}
|
|
62
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
63
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
64
|
-
position = position || 0;
|
|
65
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
66
|
-
}});
|
|
67
|
-
}
|
|
68
68
|
//endregion
|
|
69
69
|
(function (_) {
|
|
70
70
|
'use strict';
|