@doordeck/doordeck-headless-sdk 0.97.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.
@@ -309,7 +309,7 @@
309
309
  function addFormatStructureForTime(structure) {
310
310
  this.q5f(structure);
311
311
  }
312
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
312
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
313
313
  function offsetHours$default(padding, $super) {
314
314
  padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
315
315
  var tmp;
@@ -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, WithUtcOffset, WithTime, WithDate]);
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');
@@ -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?: Nullable<boolean>, radius?: Nullable<number>, accuracy?: Nullable<number>);
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(): Nullable<boolean>;
683
- get radius(): Nullable<number>;
684
- get accuracy(): Nullable<number>;
685
- copy(latitude?: number, longitude?: number, enabled?: Nullable<boolean>, radius?: Nullable<number>, accuracy?: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement;
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: Nullable<boolean>): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement.Builder;
696
- setRadius(radius: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement.Builder;
697
- setAccuracy(accuracy: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement.Builder;
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?: Nullable<boolean>, radius?: Nullable<number>, accuracy?: Nullable<number>);
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(): Nullable<boolean>;
1312
- get radius(): Nullable<number>;
1313
- get accuracy(): Nullable<number>;
1314
- copy(latitude?: number, longitude?: number, enabled?: Nullable<boolean>, radius?: Nullable<number>, accuracy?: Nullable<number>): com.doordeck.multiplatform.sdk.model.responses.LocationRequirementResponse;
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;
@@ -12665,9 +12665,9 @@
12665
12665
  function Builder_1() {
12666
12666
  this.j7s_1 = null;
12667
12667
  this.k7s_1 = null;
12668
- this.l7s_1 = null;
12669
- this.m7s_1 = null;
12670
- this.n7s_1 = null;
12668
+ this.l7s_1 = false;
12669
+ this.m7s_1 = 100;
12670
+ this.n7s_1 = 200;
12671
12671
  }
12672
12672
  protoOf(Builder_1).setLatitude = function (latitude) {
12673
12673
  // Inline function 'kotlin.apply' call
@@ -13277,9 +13277,9 @@
13277
13277
  return true;
13278
13278
  };
13279
13279
  function LocationRequirement(latitude, longitude, enabled, radius, accuracy) {
13280
- enabled = enabled === VOID ? null : enabled;
13281
- radius = radius === VOID ? null : radius;
13282
- accuracy = accuracy === VOID ? null : accuracy;
13280
+ enabled = enabled === VOID ? false : enabled;
13281
+ radius = radius === VOID ? 100 : radius;
13282
+ accuracy = accuracy === VOID ? 200 : accuracy;
13283
13283
  this.latitude = latitude;
13284
13284
  this.longitude = longitude;
13285
13285
  this.enabled = enabled;
@@ -13333,9 +13333,9 @@
13333
13333
  protoOf(LocationRequirement).hashCode = function () {
13334
13334
  var result = getNumberHashCode(this.latitude);
13335
13335
  result = imul(result, 31) + getNumberHashCode(this.longitude) | 0;
13336
- result = imul(result, 31) + (this.enabled == null ? 0 : getBooleanHashCode(this.enabled)) | 0;
13337
- result = imul(result, 31) + (this.radius == null ? 0 : this.radius) | 0;
13338
- result = imul(result, 31) + (this.accuracy == null ? 0 : this.accuracy) | 0;
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;
13339
13339
  return result;
13340
13340
  };
13341
13341
  protoOf(LocationRequirement).equals = function (other) {
@@ -13348,11 +13348,11 @@
13348
13348
  return false;
13349
13349
  if (!equals(this.longitude, tmp0_other_with_cast.longitude))
13350
13350
  return false;
13351
- if (!(this.enabled == tmp0_other_with_cast.enabled))
13351
+ if (!(this.enabled === tmp0_other_with_cast.enabled))
13352
13352
  return false;
13353
- if (!(this.radius == tmp0_other_with_cast.radius))
13353
+ if (!(this.radius === tmp0_other_with_cast.radius))
13354
13354
  return false;
13355
- if (!(this.accuracy == tmp0_other_with_cast.accuracy))
13355
+ if (!(this.accuracy === tmp0_other_with_cast.accuracy))
13356
13356
  return false;
13357
13357
  return true;
13358
13358
  };
@@ -19663,9 +19663,9 @@
19663
19663
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.doordeck.multiplatform.sdk.model.requests.LocationRequirementRequest', this, 5);
19664
19664
  tmp0_serialDesc.r27('latitude', false);
19665
19665
  tmp0_serialDesc.r27('longitude', false);
19666
- tmp0_serialDesc.r27('enabled', true);
19667
- tmp0_serialDesc.r27('radius', true);
19668
- tmp0_serialDesc.r27('accuracy', true);
19666
+ tmp0_serialDesc.r27('enabled', false);
19667
+ tmp0_serialDesc.r27('radius', false);
19668
+ tmp0_serialDesc.r27('accuracy', false);
19669
19669
  this.u84_1 = tmp0_serialDesc;
19670
19670
  }
19671
19671
  protoOf($serializer_54).v84 = function (encoder, value) {
@@ -19673,15 +19673,9 @@
19673
19673
  var tmp1_output = encoder.d20(tmp0_desc);
19674
19674
  tmp1_output.q21(tmp0_desc, 0, value.w84_1);
19675
19675
  tmp1_output.q21(tmp0_desc, 1, value.x84_1);
19676
- if (tmp1_output.a22(tmp0_desc, 2) ? true : !(value.y84_1 == null)) {
19677
- tmp1_output.w21(tmp0_desc, 2, BooleanSerializer_getInstance(), value.y84_1);
19678
- }
19679
- if (tmp1_output.a22(tmp0_desc, 3) ? true : !(value.z84_1 == null)) {
19680
- tmp1_output.w21(tmp0_desc, 3, IntSerializer_getInstance(), value.z84_1);
19681
- }
19682
- if (tmp1_output.a22(tmp0_desc, 4) ? true : !(value.a85_1 == null)) {
19683
- tmp1_output.w21(tmp0_desc, 4, IntSerializer_getInstance(), value.a85_1);
19684
- }
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);
19685
19679
  tmp1_output.e20(tmp0_desc);
19686
19680
  };
19687
19681
  protoOf($serializer_54).r1w = function (encoder, value) {
@@ -19694,20 +19688,20 @@
19694
19688
  var tmp3_bitMask0 = 0;
19695
19689
  var tmp4_local0 = 0.0;
19696
19690
  var tmp5_local1 = 0.0;
19697
- var tmp6_local2 = null;
19698
- var tmp7_local3 = null;
19699
- var tmp8_local4 = null;
19691
+ var tmp6_local2 = false;
19692
+ var tmp7_local3 = 0;
19693
+ var tmp8_local4 = 0;
19700
19694
  var tmp9_input = decoder.d20(tmp0_desc);
19701
19695
  if (tmp9_input.t20()) {
19702
19696
  tmp4_local0 = tmp9_input.l20(tmp0_desc, 0);
19703
19697
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
19704
19698
  tmp5_local1 = tmp9_input.l20(tmp0_desc, 1);
19705
19699
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
19706
- tmp6_local2 = tmp9_input.r20(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
19700
+ tmp6_local2 = tmp9_input.f20(tmp0_desc, 2);
19707
19701
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
19708
- tmp7_local3 = tmp9_input.r20(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
19702
+ tmp7_local3 = tmp9_input.i20(tmp0_desc, 3);
19709
19703
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
19710
- tmp8_local4 = tmp9_input.r20(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
19704
+ tmp8_local4 = tmp9_input.i20(tmp0_desc, 4);
19711
19705
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
19712
19706
  } else
19713
19707
  while (tmp1_flag) {
@@ -19725,15 +19719,15 @@
19725
19719
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
19726
19720
  break;
19727
19721
  case 2:
19728
- tmp6_local2 = tmp9_input.r20(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
19722
+ tmp6_local2 = tmp9_input.f20(tmp0_desc, 2);
19729
19723
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
19730
19724
  break;
19731
19725
  case 3:
19732
- tmp7_local3 = tmp9_input.r20(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
19726
+ tmp7_local3 = tmp9_input.i20(tmp0_desc, 3);
19733
19727
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
19734
19728
  break;
19735
19729
  case 4:
19736
- tmp8_local4 = tmp9_input.r20(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
19730
+ tmp8_local4 = tmp9_input.i20(tmp0_desc, 4);
19737
19731
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
19738
19732
  break;
19739
19733
  default:
@@ -19750,7 +19744,7 @@
19750
19744
  // Inline function 'kotlin.arrayOf' call
19751
19745
  // Inline function 'kotlin.js.unsafeCast' call
19752
19746
  // Inline function 'kotlin.js.asDynamic' call
19753
- return [DoubleSerializer_getInstance(), DoubleSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance())];
19747
+ return [DoubleSerializer_getInstance(), DoubleSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance()];
19754
19748
  };
19755
19749
  var $serializer_instance_54;
19756
19750
  function $serializer_getInstance_54() {
@@ -19759,32 +19753,20 @@
19759
19753
  return $serializer_instance_54;
19760
19754
  }
19761
19755
  function LocationRequirementRequest_init_$Init$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker, $this) {
19762
- if (!(3 === (3 & seen0))) {
19763
- throwMissingFieldException(seen0, 3, $serializer_getInstance_54().u84_1);
19756
+ if (!(31 === (31 & seen0))) {
19757
+ throwMissingFieldException(seen0, 31, $serializer_getInstance_54().u84_1);
19764
19758
  }
19765
19759
  $this.w84_1 = latitude;
19766
19760
  $this.x84_1 = longitude;
19767
- if (0 === (seen0 & 4))
19768
- $this.y84_1 = null;
19769
- else
19770
- $this.y84_1 = enabled;
19771
- if (0 === (seen0 & 8))
19772
- $this.z84_1 = null;
19773
- else
19774
- $this.z84_1 = radius;
19775
- if (0 === (seen0 & 16))
19776
- $this.a85_1 = null;
19777
- else
19778
- $this.a85_1 = accuracy;
19761
+ $this.y84_1 = enabled;
19762
+ $this.z84_1 = radius;
19763
+ $this.a85_1 = accuracy;
19779
19764
  return $this;
19780
19765
  }
19781
19766
  function LocationRequirementRequest_init_$Create$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker) {
19782
19767
  return LocationRequirementRequest_init_$Init$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker, objectCreate(protoOf(LocationRequirementRequest)));
19783
19768
  }
19784
19769
  function LocationRequirementRequest(latitude, longitude, enabled, radius, accuracy) {
19785
- enabled = enabled === VOID ? null : enabled;
19786
- radius = radius === VOID ? null : radius;
19787
- accuracy = accuracy === VOID ? null : accuracy;
19788
19770
  this.w84_1 = latitude;
19789
19771
  this.x84_1 = longitude;
19790
19772
  this.y84_1 = enabled;
@@ -19797,9 +19779,9 @@
19797
19779
  protoOf(LocationRequirementRequest).hashCode = function () {
19798
19780
  var result = getNumberHashCode(this.w84_1);
19799
19781
  result = imul(result, 31) + getNumberHashCode(this.x84_1) | 0;
19800
- result = imul(result, 31) + (this.y84_1 == null ? 0 : getBooleanHashCode(this.y84_1)) | 0;
19801
- result = imul(result, 31) + (this.z84_1 == null ? 0 : this.z84_1) | 0;
19802
- result = imul(result, 31) + (this.a85_1 == null ? 0 : this.a85_1) | 0;
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;
19803
19785
  return result;
19804
19786
  };
19805
19787
  protoOf(LocationRequirementRequest).equals = function (other) {
@@ -19812,11 +19794,11 @@
19812
19794
  return false;
19813
19795
  if (!equals(this.x84_1, tmp0_other_with_cast.x84_1))
19814
19796
  return false;
19815
- if (!(this.y84_1 == tmp0_other_with_cast.y84_1))
19797
+ if (!(this.y84_1 === tmp0_other_with_cast.y84_1))
19816
19798
  return false;
19817
- if (!(this.z84_1 == tmp0_other_with_cast.z84_1))
19799
+ if (!(this.z84_1 === tmp0_other_with_cast.z84_1))
19818
19800
  return false;
19819
- if (!(this.a85_1 == tmp0_other_with_cast.a85_1))
19801
+ if (!(this.a85_1 === tmp0_other_with_cast.a85_1))
19820
19802
  return false;
19821
19803
  return true;
19822
19804
  };
@@ -25542,9 +25524,9 @@
25542
25524
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.doordeck.multiplatform.sdk.model.responses.LocationRequirementResponse', this, 5);
25543
25525
  tmp0_serialDesc.r27('latitude', false);
25544
25526
  tmp0_serialDesc.r27('longitude', false);
25545
- tmp0_serialDesc.r27('enabled', true);
25546
- tmp0_serialDesc.r27('radius', true);
25547
- tmp0_serialDesc.r27('accuracy', true);
25527
+ tmp0_serialDesc.r27('enabled', false);
25528
+ tmp0_serialDesc.r27('radius', false);
25529
+ tmp0_serialDesc.r27('accuracy', false);
25548
25530
  this.o8c_1 = tmp0_serialDesc;
25549
25531
  }
25550
25532
  protoOf($serializer_94).p8c = function (encoder, value) {
@@ -25552,15 +25534,9 @@
25552
25534
  var tmp1_output = encoder.d20(tmp0_desc);
25553
25535
  tmp1_output.q21(tmp0_desc, 0, value.latitude);
25554
25536
  tmp1_output.q21(tmp0_desc, 1, value.longitude);
25555
- if (tmp1_output.a22(tmp0_desc, 2) ? true : !(value.enabled == null)) {
25556
- tmp1_output.w21(tmp0_desc, 2, BooleanSerializer_getInstance(), value.enabled);
25557
- }
25558
- if (tmp1_output.a22(tmp0_desc, 3) ? true : !(value.radius == null)) {
25559
- tmp1_output.w21(tmp0_desc, 3, IntSerializer_getInstance(), value.radius);
25560
- }
25561
- if (tmp1_output.a22(tmp0_desc, 4) ? true : !(value.accuracy == null)) {
25562
- tmp1_output.w21(tmp0_desc, 4, IntSerializer_getInstance(), value.accuracy);
25563
- }
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);
25564
25540
  tmp1_output.e20(tmp0_desc);
25565
25541
  };
25566
25542
  protoOf($serializer_94).r1w = function (encoder, value) {
@@ -25573,20 +25549,20 @@
25573
25549
  var tmp3_bitMask0 = 0;
25574
25550
  var tmp4_local0 = 0.0;
25575
25551
  var tmp5_local1 = 0.0;
25576
- var tmp6_local2 = null;
25577
- var tmp7_local3 = null;
25578
- var tmp8_local4 = null;
25552
+ var tmp6_local2 = false;
25553
+ var tmp7_local3 = 0;
25554
+ var tmp8_local4 = 0;
25579
25555
  var tmp9_input = decoder.d20(tmp0_desc);
25580
25556
  if (tmp9_input.t20()) {
25581
25557
  tmp4_local0 = tmp9_input.l20(tmp0_desc, 0);
25582
25558
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
25583
25559
  tmp5_local1 = tmp9_input.l20(tmp0_desc, 1);
25584
25560
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
25585
- tmp6_local2 = tmp9_input.r20(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
25561
+ tmp6_local2 = tmp9_input.f20(tmp0_desc, 2);
25586
25562
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
25587
- tmp7_local3 = tmp9_input.r20(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
25563
+ tmp7_local3 = tmp9_input.i20(tmp0_desc, 3);
25588
25564
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
25589
- tmp8_local4 = tmp9_input.r20(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
25565
+ tmp8_local4 = tmp9_input.i20(tmp0_desc, 4);
25590
25566
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
25591
25567
  } else
25592
25568
  while (tmp1_flag) {
@@ -25604,15 +25580,15 @@
25604
25580
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
25605
25581
  break;
25606
25582
  case 2:
25607
- tmp6_local2 = tmp9_input.r20(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
25583
+ tmp6_local2 = tmp9_input.f20(tmp0_desc, 2);
25608
25584
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
25609
25585
  break;
25610
25586
  case 3:
25611
- tmp7_local3 = tmp9_input.r20(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
25587
+ tmp7_local3 = tmp9_input.i20(tmp0_desc, 3);
25612
25588
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
25613
25589
  break;
25614
25590
  case 4:
25615
- tmp8_local4 = tmp9_input.r20(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
25591
+ tmp8_local4 = tmp9_input.i20(tmp0_desc, 4);
25616
25592
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
25617
25593
  break;
25618
25594
  default:
@@ -25629,7 +25605,7 @@
25629
25605
  // Inline function 'kotlin.arrayOf' call
25630
25606
  // Inline function 'kotlin.js.unsafeCast' call
25631
25607
  // Inline function 'kotlin.js.asDynamic' call
25632
- return [DoubleSerializer_getInstance(), DoubleSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance())];
25608
+ return [DoubleSerializer_getInstance(), DoubleSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance()];
25633
25609
  };
25634
25610
  var $serializer_instance_94;
25635
25611
  function $serializer_getInstance_94() {
@@ -25638,32 +25614,20 @@
25638
25614
  return $serializer_instance_94;
25639
25615
  }
25640
25616
  function LocationRequirementResponse_init_$Init$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker, $this) {
25641
- if (!(3 === (3 & seen0))) {
25642
- throwMissingFieldException(seen0, 3, $serializer_getInstance_94().o8c_1);
25617
+ if (!(31 === (31 & seen0))) {
25618
+ throwMissingFieldException(seen0, 31, $serializer_getInstance_94().o8c_1);
25643
25619
  }
25644
25620
  $this.latitude = latitude;
25645
25621
  $this.longitude = longitude;
25646
- if (0 === (seen0 & 4))
25647
- $this.enabled = null;
25648
- else
25649
- $this.enabled = enabled;
25650
- if (0 === (seen0 & 8))
25651
- $this.radius = null;
25652
- else
25653
- $this.radius = radius;
25654
- if (0 === (seen0 & 16))
25655
- $this.accuracy = null;
25656
- else
25657
- $this.accuracy = accuracy;
25622
+ $this.enabled = enabled;
25623
+ $this.radius = radius;
25624
+ $this.accuracy = accuracy;
25658
25625
  return $this;
25659
25626
  }
25660
25627
  function LocationRequirementResponse_init_$Create$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker) {
25661
25628
  return LocationRequirementResponse_init_$Init$(seen0, latitude, longitude, enabled, radius, accuracy, serializationConstructorMarker, objectCreate(protoOf(LocationRequirementResponse)));
25662
25629
  }
25663
25630
  function LocationRequirementResponse(latitude, longitude, enabled, radius, accuracy) {
25664
- enabled = enabled === VOID ? null : enabled;
25665
- radius = radius === VOID ? null : radius;
25666
- accuracy = accuracy === VOID ? null : accuracy;
25667
25631
  this.latitude = latitude;
25668
25632
  this.longitude = longitude;
25669
25633
  this.enabled = enabled;
@@ -25717,9 +25681,9 @@
25717
25681
  protoOf(LocationRequirementResponse).hashCode = function () {
25718
25682
  var result = getNumberHashCode(this.latitude);
25719
25683
  result = imul(result, 31) + getNumberHashCode(this.longitude) | 0;
25720
- result = imul(result, 31) + (this.enabled == null ? 0 : getBooleanHashCode(this.enabled)) | 0;
25721
- result = imul(result, 31) + (this.radius == null ? 0 : this.radius) | 0;
25722
- result = imul(result, 31) + (this.accuracy == null ? 0 : this.accuracy) | 0;
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;
25723
25687
  return result;
25724
25688
  };
25725
25689
  protoOf(LocationRequirementResponse).equals = function (other) {
@@ -25732,11 +25696,11 @@
25732
25696
  return false;
25733
25697
  if (!equals(this.longitude, tmp0_other_with_cast.longitude))
25734
25698
  return false;
25735
- if (!(this.enabled == tmp0_other_with_cast.enabled))
25699
+ if (!(this.enabled === tmp0_other_with_cast.enabled))
25736
25700
  return false;
25737
- if (!(this.radius == tmp0_other_with_cast.radius))
25701
+ if (!(this.radius === tmp0_other_with_cast.radius))
25738
25702
  return false;
25739
- if (!(this.accuracy == tmp0_other_with_cast.accuracy))
25703
+ if (!(this.accuracy === tmp0_other_with_cast.accuracy))
25740
25704
  return false;
25741
25705
  return true;
25742
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';
@@ -200,11 +200,6 @@
200
200
  initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
201
201
  initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
202
202
  initMetadataForCoroutine($sendCOROUTINE$3, CoroutineImpl);
203
- function close$default(cause, $super) {
204
- cause = cause === VOID ? null : cause;
205
- return $super === VOID ? this.s15(cause) : $super.s15.call(this, cause);
206
- }
207
- initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
208
203
  function cancel$default_0(cause, $super) {
209
204
  cause = cause === VOID ? null : cause;
210
205
  var tmp;
@@ -217,7 +212,12 @@
217
212
  return tmp;
218
213
  }
219
214
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
220
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
215
+ function close$default(cause, $super) {
216
+ cause = cause === VOID ? null : cause;
217
+ return $super === VOID ? this.s15(cause) : $super.s15.call(this, cause);
218
+ }
219
+ initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
220
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
221
221
  initMetadataForClass(WaiterEB, 'WaiterEB');
222
222
  initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
223
223
  initMetadataForObject(Factory, 'Factory');
@@ -227,7 +227,7 @@
227
227
  initMetadataForClass(ChannelResult, 'ChannelResult');
228
228
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
229
229
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
230
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [1, 0]);
230
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, ReceiveChannel, SendChannel], [1, 0]);
231
231
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
232
232
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
233
233
  initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ChannelCoroutine, ProducerScope], [1, 0]);
@@ -253,7 +253,7 @@
253
253
  initMetadataForCoroutine($doSelectSuspendCOROUTINE$23, CoroutineImpl);
254
254
  initMetadataForCoroutine($completeCOROUTINE$24, CoroutineImpl);
255
255
  initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$25, CoroutineImpl);
256
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
256
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
257
257
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
258
258
  initMetadataForClass(CancellableContinuationWithOwner, 'CancellableContinuationWithOwner', VOID, VOID, [CancellableContinuation, Waiter]);
259
259
  initMetadataForClass(SemaphoreAndMutexImpl, 'SemaphoreAndMutexImpl', VOID, VOID, VOID, [0]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doordeck/doordeck-headless-sdk",
3
- "version": "0.97.0",
3
+ "version": "0.98.0",
4
4
  "main": "kotlin/doordeck-sdk.js",
5
5
  "devDependencies": {
6
6
  "typescript": "5.5.4",