@doordeck/doordeck-headless-sdk 0.130.0 → 0.131.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.
@@ -312,7 +312,7 @@
312
312
  function addFormatStructureForTime(structure) {
313
313
  this.l64(structure);
314
314
  }
315
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
315
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
316
316
  function offsetHours$default(padding, $super) {
317
317
  padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
318
318
  var tmp;
@@ -365,7 +365,7 @@
365
365
  return tmp;
366
366
  }
367
367
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
368
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
368
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithTime, WithDate]);
369
369
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
370
370
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
371
371
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -2861,13 +2861,14 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
2861
2861
  }
2862
2862
  }
2863
2863
  class SiteLocksResponse {
2864
- constructor(id: string, name: string, colour: Nullable<string> | undefined, role: com.doordeck.multiplatform.sdk.model.common.UserRole, settings: com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse);
2864
+ constructor(id: string, name: string, colour: Nullable<string> | undefined, role: com.doordeck.multiplatform.sdk.model.common.UserRole, settings: com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse, state?: Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>);
2865
2865
  get id(): string;
2866
2866
  get name(): string;
2867
2867
  get colour(): Nullable<string>;
2868
2868
  get role(): com.doordeck.multiplatform.sdk.model.common.UserRole;
2869
2869
  get settings(): com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse;
2870
- copy(id?: string, name?: string, colour?: Nullable<string>, role?: com.doordeck.multiplatform.sdk.model.common.UserRole, settings?: com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse): com.doordeck.multiplatform.sdk.model.responses.SiteLocksResponse;
2870
+ get state(): Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>;
2871
+ copy(id?: string, name?: string, colour?: Nullable<string>, role?: com.doordeck.multiplatform.sdk.model.common.UserRole, settings?: com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse, state?: Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>): com.doordeck.multiplatform.sdk.model.responses.SiteLocksResponse;
2871
2872
  toString(): string;
2872
2873
  hashCode(): number;
2873
2874
  equals(other: Nullable<any>): boolean;
@@ -2888,14 +2889,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
2888
2889
  }
2889
2890
  }
2890
2891
  class SiteLockSettingsResponse {
2891
- constructor(unlockTime: number, permittedAddresses: kotlin.collections.KtList<string>, defaultName: string, tiles: kotlin.collections.KtList<string>, state?: Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>, favourite?: Nullable<boolean>);
2892
+ constructor(unlockTime: number, permittedAddresses: kotlin.collections.KtList<string>, defaultName: string, tiles: kotlin.collections.KtList<string>, favourite?: Nullable<boolean>);
2892
2893
  get unlockTime(): number;
2893
2894
  get permittedAddresses(): kotlin.collections.KtList<string>;
2894
2895
  get defaultName(): string;
2895
2896
  get tiles(): kotlin.collections.KtList<string>;
2896
- get state(): Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>;
2897
2897
  get favourite(): Nullable<boolean>;
2898
- copy(unlockTime?: number, permittedAddresses?: kotlin.collections.KtList<string>, defaultName?: string, tiles?: kotlin.collections.KtList<string>, state?: Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>, favourite?: Nullable<boolean>): com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse;
2898
+ copy(unlockTime?: number, permittedAddresses?: kotlin.collections.KtList<string>, defaultName?: string, tiles?: kotlin.collections.KtList<string>, favourite?: Nullable<boolean>): com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse;
2899
2899
  toString(): string;
2900
2900
  hashCode(): number;
2901
2901
  equals(other: Nullable<any>): boolean;
@@ -836,7 +836,7 @@
836
836
  initMetadataForObject(CryptoManager, 'CryptoManager');
837
837
  //endregion
838
838
  function ProjectVersion() {
839
- this.d6h_1 = '0.130.0';
839
+ this.d6h_1 = '0.131.0';
840
840
  }
841
841
  var ProjectVersion_instance;
842
842
  function ProjectVersion_getInstance() {
@@ -31106,7 +31106,7 @@
31106
31106
  // Inline function 'kotlin.arrayOf' call
31107
31107
  // Inline function 'kotlin.js.unsafeCast' call
31108
31108
  // Inline function 'kotlin.js.asDynamic' call
31109
- tmp.f94_1 = [null, null, null, lazy(tmp_0, SiteLocksResponse$Companion$$childSerializers$_anonymous__hw9u20), null];
31109
+ tmp.f94_1 = [null, null, null, lazy(tmp_0, SiteLocksResponse$Companion$$childSerializers$_anonymous__hw9u20), null, null];
31110
31110
  }
31111
31111
  protoOf(Companion_132).n5q = function () {
31112
31112
  return $serializer_getInstance_117();
@@ -31119,12 +31119,13 @@
31119
31119
  }
31120
31120
  function $serializer_117() {
31121
31121
  $serializer_instance_117 = this;
31122
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.doordeck.multiplatform.sdk.model.responses.SiteLocksResponse', this, 5);
31122
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.doordeck.multiplatform.sdk.model.responses.SiteLocksResponse', this, 6);
31123
31123
  tmp0_serialDesc.z29('id', false);
31124
31124
  tmp0_serialDesc.z29('name', false);
31125
31125
  tmp0_serialDesc.z29('colour', true);
31126
31126
  tmp0_serialDesc.z29('role', false);
31127
31127
  tmp0_serialDesc.z29('settings', false);
31128
+ tmp0_serialDesc.z29('state', true);
31128
31129
  this.g94_1 = tmp0_serialDesc;
31129
31130
  }
31130
31131
  protoOf($serializer_117).h94 = function (encoder, value) {
@@ -31138,6 +31139,9 @@
31138
31139
  }
31139
31140
  tmp1_output.c24(tmp0_desc, 3, tmp2_cached[3].z(), value.role);
31140
31141
  tmp1_output.c24(tmp0_desc, 4, $serializer_getInstance_118(), value.settings);
31142
+ if (tmp1_output.i24(tmp0_desc, 5) ? true : !(value.state == null)) {
31143
+ tmp1_output.e24(tmp0_desc, 5, $serializer_getInstance_119(), value.state);
31144
+ }
31141
31145
  tmp1_output.m22(tmp0_desc);
31142
31146
  };
31143
31147
  protoOf($serializer_117).z1y = function (encoder, value) {
@@ -31153,52 +31157,59 @@
31153
31157
  var tmp6_local2 = null;
31154
31158
  var tmp7_local3 = null;
31155
31159
  var tmp8_local4 = null;
31156
- var tmp9_input = decoder.l22(tmp0_desc);
31157
- var tmp10_cached = Companion_getInstance_137().f94_1;
31158
- if (tmp9_input.b23()) {
31159
- tmp4_local0 = tmp9_input.v22(tmp0_desc, 0);
31160
+ var tmp9_local5 = null;
31161
+ var tmp10_input = decoder.l22(tmp0_desc);
31162
+ var tmp11_cached = Companion_getInstance_137().f94_1;
31163
+ if (tmp10_input.b23()) {
31164
+ tmp4_local0 = tmp10_input.v22(tmp0_desc, 0);
31160
31165
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
31161
- tmp5_local1 = tmp9_input.v22(tmp0_desc, 1);
31166
+ tmp5_local1 = tmp10_input.v22(tmp0_desc, 1);
31162
31167
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
31163
- tmp6_local2 = tmp9_input.z22(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
31168
+ tmp6_local2 = tmp10_input.z22(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
31164
31169
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
31165
- tmp7_local3 = tmp9_input.x22(tmp0_desc, 3, tmp10_cached[3].z(), tmp7_local3);
31170
+ tmp7_local3 = tmp10_input.x22(tmp0_desc, 3, tmp11_cached[3].z(), tmp7_local3);
31166
31171
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
31167
- tmp8_local4 = tmp9_input.x22(tmp0_desc, 4, $serializer_getInstance_118(), tmp8_local4);
31172
+ tmp8_local4 = tmp10_input.x22(tmp0_desc, 4, $serializer_getInstance_118(), tmp8_local4);
31168
31173
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
31174
+ tmp9_local5 = tmp10_input.z22(tmp0_desc, 5, $serializer_getInstance_119(), tmp9_local5);
31175
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
31169
31176
  } else
31170
31177
  while (tmp1_flag) {
31171
- tmp2_index = tmp9_input.c23(tmp0_desc);
31178
+ tmp2_index = tmp10_input.c23(tmp0_desc);
31172
31179
  switch (tmp2_index) {
31173
31180
  case -1:
31174
31181
  tmp1_flag = false;
31175
31182
  break;
31176
31183
  case 0:
31177
- tmp4_local0 = tmp9_input.v22(tmp0_desc, 0);
31184
+ tmp4_local0 = tmp10_input.v22(tmp0_desc, 0);
31178
31185
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
31179
31186
  break;
31180
31187
  case 1:
31181
- tmp5_local1 = tmp9_input.v22(tmp0_desc, 1);
31188
+ tmp5_local1 = tmp10_input.v22(tmp0_desc, 1);
31182
31189
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
31183
31190
  break;
31184
31191
  case 2:
31185
- tmp6_local2 = tmp9_input.z22(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
31192
+ tmp6_local2 = tmp10_input.z22(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
31186
31193
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
31187
31194
  break;
31188
31195
  case 3:
31189
- tmp7_local3 = tmp9_input.x22(tmp0_desc, 3, tmp10_cached[3].z(), tmp7_local3);
31196
+ tmp7_local3 = tmp10_input.x22(tmp0_desc, 3, tmp11_cached[3].z(), tmp7_local3);
31190
31197
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
31191
31198
  break;
31192
31199
  case 4:
31193
- tmp8_local4 = tmp9_input.x22(tmp0_desc, 4, $serializer_getInstance_118(), tmp8_local4);
31200
+ tmp8_local4 = tmp10_input.x22(tmp0_desc, 4, $serializer_getInstance_118(), tmp8_local4);
31194
31201
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
31195
31202
  break;
31203
+ case 5:
31204
+ tmp9_local5 = tmp10_input.z22(tmp0_desc, 5, $serializer_getInstance_119(), tmp9_local5);
31205
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
31206
+ break;
31196
31207
  default:
31197
31208
  throw UnknownFieldException_init_$Create$(tmp2_index);
31198
31209
  }
31199
31210
  }
31200
- tmp9_input.m22(tmp0_desc);
31201
- return SiteLocksResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
31211
+ tmp10_input.m22(tmp0_desc);
31212
+ return SiteLocksResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
31202
31213
  };
31203
31214
  protoOf($serializer_117).y1y = function () {
31204
31215
  return this.g94_1;
@@ -31208,7 +31219,7 @@
31208
31219
  // Inline function 'kotlin.arrayOf' call
31209
31220
  // Inline function 'kotlin.js.unsafeCast' call
31210
31221
  // Inline function 'kotlin.js.asDynamic' call
31211
- return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), tmp0_cached[3].z(), $serializer_getInstance_118()];
31222
+ return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), tmp0_cached[3].z(), $serializer_getInstance_118(), get_nullable($serializer_getInstance_119())];
31212
31223
  };
31213
31224
  var $serializer_instance_117;
31214
31225
  function $serializer_getInstance_117() {
@@ -31216,7 +31227,7 @@
31216
31227
  new $serializer_117();
31217
31228
  return $serializer_instance_117;
31218
31229
  }
31219
- function SiteLocksResponse_init_$Init$(seen0, id, name, colour, role, settings, serializationConstructorMarker, $this) {
31230
+ function SiteLocksResponse_init_$Init$(seen0, id, name, colour, role, settings, state, serializationConstructorMarker, $this) {
31220
31231
  if (!(27 === (27 & seen0))) {
31221
31232
  throwMissingFieldException(seen0, 27, $serializer_getInstance_117().g94_1);
31222
31233
  }
@@ -31228,19 +31239,25 @@
31228
31239
  $this.colour = colour;
31229
31240
  $this.role = role;
31230
31241
  $this.settings = settings;
31242
+ if (0 === (seen0 & 32))
31243
+ $this.state = null;
31244
+ else
31245
+ $this.state = state;
31231
31246
  return $this;
31232
31247
  }
31233
- function SiteLocksResponse_init_$Create$(seen0, id, name, colour, role, settings, serializationConstructorMarker) {
31234
- return SiteLocksResponse_init_$Init$(seen0, id, name, colour, role, settings, serializationConstructorMarker, objectCreate(protoOf(SiteLocksResponse)));
31248
+ function SiteLocksResponse_init_$Create$(seen0, id, name, colour, role, settings, state, serializationConstructorMarker) {
31249
+ return SiteLocksResponse_init_$Init$(seen0, id, name, colour, role, settings, state, serializationConstructorMarker, objectCreate(protoOf(SiteLocksResponse)));
31235
31250
  }
31236
- function SiteLocksResponse(id, name, colour, role, settings) {
31251
+ function SiteLocksResponse(id, name, colour, role, settings, state) {
31237
31252
  Companion_getInstance_137();
31238
31253
  colour = colour === VOID ? null : colour;
31254
+ state = state === VOID ? null : state;
31239
31255
  this.id = id;
31240
31256
  this.name = name;
31241
31257
  this.colour = colour;
31242
31258
  this.role = role;
31243
31259
  this.settings = settings;
31260
+ this.state = state;
31244
31261
  }
31245
31262
  protoOf(SiteLocksResponse).t8w = function () {
31246
31263
  return this.id;
@@ -31257,6 +31274,9 @@
31257
31274
  protoOf(SiteLocksResponse).r8x = function () {
31258
31275
  return this.settings;
31259
31276
  };
31277
+ protoOf(SiteLocksResponse).i8w = function () {
31278
+ return this.state;
31279
+ };
31260
31280
  protoOf(SiteLocksResponse).tg = function () {
31261
31281
  return this.id;
31262
31282
  };
@@ -31272,19 +31292,23 @@
31272
31292
  protoOf(SiteLocksResponse).g88 = function () {
31273
31293
  return this.settings;
31274
31294
  };
31275
- protoOf(SiteLocksResponse).i94 = function (id, name, colour, role, settings) {
31276
- return new SiteLocksResponse(id, name, colour, role, settings);
31295
+ protoOf(SiteLocksResponse).h88 = function () {
31296
+ return this.state;
31277
31297
  };
31278
- protoOf(SiteLocksResponse).copy = function (id, name, colour, role, settings, $super) {
31298
+ protoOf(SiteLocksResponse).i94 = function (id, name, colour, role, settings, state) {
31299
+ return new SiteLocksResponse(id, name, colour, role, settings, state);
31300
+ };
31301
+ protoOf(SiteLocksResponse).copy = function (id, name, colour, role, settings, state, $super) {
31279
31302
  id = id === VOID ? this.id : id;
31280
31303
  name = name === VOID ? this.name : name;
31281
31304
  colour = colour === VOID ? this.colour : colour;
31282
31305
  role = role === VOID ? this.role : role;
31283
31306
  settings = settings === VOID ? this.settings : settings;
31284
- return $super === VOID ? this.i94(id, name, colour, role, settings) : $super.i94.call(this, id, name, colour, role, settings);
31307
+ state = state === VOID ? this.state : state;
31308
+ return $super === VOID ? this.i94(id, name, colour, role, settings, state) : $super.i94.call(this, id, name, colour, role, settings, state);
31285
31309
  };
31286
31310
  protoOf(SiteLocksResponse).toString = function () {
31287
- return 'SiteLocksResponse(id=' + this.id + ', name=' + this.name + ', colour=' + this.colour + ', role=' + this.role.toString() + ', settings=' + this.settings.toString() + ')';
31311
+ return 'SiteLocksResponse(id=' + this.id + ', name=' + this.name + ', colour=' + this.colour + ', role=' + this.role.toString() + ', settings=' + this.settings.toString() + ', state=' + toString(this.state) + ')';
31288
31312
  };
31289
31313
  protoOf(SiteLocksResponse).hashCode = function () {
31290
31314
  var result = getStringHashCode(this.id);
@@ -31292,6 +31316,7 @@
31292
31316
  result = imul(result, 31) + (this.colour == null ? 0 : getStringHashCode(this.colour)) | 0;
31293
31317
  result = imul(result, 31) + this.role.hashCode() | 0;
31294
31318
  result = imul(result, 31) + this.settings.hashCode() | 0;
31319
+ result = imul(result, 31) + (this.state == null ? 0 : this.state.hashCode()) | 0;
31295
31320
  return result;
31296
31321
  };
31297
31322
  protoOf(SiteLocksResponse).equals = function (other) {
@@ -31310,6 +31335,8 @@
31310
31335
  return false;
31311
31336
  if (!this.settings.equals(tmp0_other_with_cast.settings))
31312
31337
  return false;
31338
+ if (!equals(this.state, tmp0_other_with_cast.state))
31339
+ return false;
31313
31340
  return true;
31314
31341
  };
31315
31342
  function SiteLockSettingsResponse$Companion$$childSerializers$_anonymous__x62buc() {
@@ -31327,7 +31354,7 @@
31327
31354
  // Inline function 'kotlin.arrayOf' call
31328
31355
  // Inline function 'kotlin.js.unsafeCast' call
31329
31356
  // Inline function 'kotlin.js.asDynamic' call
31330
- tmp.j94_1 = [null, tmp_1, null, lazy(tmp_2, SiteLockSettingsResponse$Companion$$childSerializers$_anonymous__x62buc_0), null, null];
31357
+ tmp.j94_1 = [null, tmp_1, null, lazy(tmp_2, SiteLockSettingsResponse$Companion$$childSerializers$_anonymous__x62buc_0), null];
31331
31358
  }
31332
31359
  protoOf(Companion_133).n5q = function () {
31333
31360
  return $serializer_getInstance_118();
@@ -31340,12 +31367,11 @@
31340
31367
  }
31341
31368
  function $serializer_118() {
31342
31369
  $serializer_instance_118 = this;
31343
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse', this, 6);
31370
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse', this, 5);
31344
31371
  tmp0_serialDesc.z29('unlockTime', false);
31345
31372
  tmp0_serialDesc.z29('permittedAddresses', false);
31346
31373
  tmp0_serialDesc.z29('defaultName', false);
31347
31374
  tmp0_serialDesc.z29('tiles', false);
31348
- tmp0_serialDesc.z29('state', true);
31349
31375
  tmp0_serialDesc.z29('favourite', true);
31350
31376
  this.k94_1 = tmp0_serialDesc;
31351
31377
  }
@@ -31357,11 +31383,8 @@
31357
31383
  tmp1_output.c24(tmp0_desc, 1, tmp2_cached[1].z(), value.permittedAddresses);
31358
31384
  tmp1_output.a24(tmp0_desc, 2, value.defaultName);
31359
31385
  tmp1_output.c24(tmp0_desc, 3, tmp2_cached[3].z(), value.tiles);
31360
- if (tmp1_output.i24(tmp0_desc, 4) ? true : !(value.state == null)) {
31361
- tmp1_output.e24(tmp0_desc, 4, $serializer_getInstance_119(), value.state);
31362
- }
31363
- if (tmp1_output.i24(tmp0_desc, 5) ? true : !(value.favourite == null)) {
31364
- tmp1_output.e24(tmp0_desc, 5, BooleanSerializer_getInstance(), value.favourite);
31386
+ if (tmp1_output.i24(tmp0_desc, 4) ? true : !(value.favourite == null)) {
31387
+ tmp1_output.e24(tmp0_desc, 4, BooleanSerializer_getInstance(), value.favourite);
31365
31388
  }
31366
31389
  tmp1_output.m22(tmp0_desc);
31367
31390
  };
@@ -31378,59 +31401,52 @@
31378
31401
  var tmp6_local2 = null;
31379
31402
  var tmp7_local3 = null;
31380
31403
  var tmp8_local4 = null;
31381
- var tmp9_local5 = null;
31382
- var tmp10_input = decoder.l22(tmp0_desc);
31383
- var tmp11_cached = Companion_getInstance_138().j94_1;
31384
- if (tmp10_input.b23()) {
31385
- tmp4_local0 = tmp10_input.t22(tmp0_desc, 0);
31404
+ var tmp9_input = decoder.l22(tmp0_desc);
31405
+ var tmp10_cached = Companion_getInstance_138().j94_1;
31406
+ if (tmp9_input.b23()) {
31407
+ tmp4_local0 = tmp9_input.t22(tmp0_desc, 0);
31386
31408
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
31387
- tmp5_local1 = tmp10_input.x22(tmp0_desc, 1, tmp11_cached[1].z(), tmp5_local1);
31409
+ tmp5_local1 = tmp9_input.x22(tmp0_desc, 1, tmp10_cached[1].z(), tmp5_local1);
31388
31410
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
31389
- tmp6_local2 = tmp10_input.v22(tmp0_desc, 2);
31411
+ tmp6_local2 = tmp9_input.v22(tmp0_desc, 2);
31390
31412
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
31391
- tmp7_local3 = tmp10_input.x22(tmp0_desc, 3, tmp11_cached[3].z(), tmp7_local3);
31413
+ tmp7_local3 = tmp9_input.x22(tmp0_desc, 3, tmp10_cached[3].z(), tmp7_local3);
31392
31414
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
31393
- tmp8_local4 = tmp10_input.z22(tmp0_desc, 4, $serializer_getInstance_119(), tmp8_local4);
31415
+ tmp8_local4 = tmp9_input.z22(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
31394
31416
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
31395
- tmp9_local5 = tmp10_input.z22(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
31396
- tmp3_bitMask0 = tmp3_bitMask0 | 32;
31397
31417
  } else
31398
31418
  while (tmp1_flag) {
31399
- tmp2_index = tmp10_input.c23(tmp0_desc);
31419
+ tmp2_index = tmp9_input.c23(tmp0_desc);
31400
31420
  switch (tmp2_index) {
31401
31421
  case -1:
31402
31422
  tmp1_flag = false;
31403
31423
  break;
31404
31424
  case 0:
31405
- tmp4_local0 = tmp10_input.t22(tmp0_desc, 0);
31425
+ tmp4_local0 = tmp9_input.t22(tmp0_desc, 0);
31406
31426
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
31407
31427
  break;
31408
31428
  case 1:
31409
- tmp5_local1 = tmp10_input.x22(tmp0_desc, 1, tmp11_cached[1].z(), tmp5_local1);
31429
+ tmp5_local1 = tmp9_input.x22(tmp0_desc, 1, tmp10_cached[1].z(), tmp5_local1);
31410
31430
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
31411
31431
  break;
31412
31432
  case 2:
31413
- tmp6_local2 = tmp10_input.v22(tmp0_desc, 2);
31433
+ tmp6_local2 = tmp9_input.v22(tmp0_desc, 2);
31414
31434
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
31415
31435
  break;
31416
31436
  case 3:
31417
- tmp7_local3 = tmp10_input.x22(tmp0_desc, 3, tmp11_cached[3].z(), tmp7_local3);
31437
+ tmp7_local3 = tmp9_input.x22(tmp0_desc, 3, tmp10_cached[3].z(), tmp7_local3);
31418
31438
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
31419
31439
  break;
31420
31440
  case 4:
31421
- tmp8_local4 = tmp10_input.z22(tmp0_desc, 4, $serializer_getInstance_119(), tmp8_local4);
31441
+ tmp8_local4 = tmp9_input.z22(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
31422
31442
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
31423
31443
  break;
31424
- case 5:
31425
- tmp9_local5 = tmp10_input.z22(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
31426
- tmp3_bitMask0 = tmp3_bitMask0 | 32;
31427
- break;
31428
31444
  default:
31429
31445
  throw UnknownFieldException_init_$Create$(tmp2_index);
31430
31446
  }
31431
31447
  }
31432
- tmp10_input.m22(tmp0_desc);
31433
- return SiteLockSettingsResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
31448
+ tmp9_input.m22(tmp0_desc);
31449
+ return SiteLockSettingsResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
31434
31450
  };
31435
31451
  protoOf($serializer_118).y1y = function () {
31436
31452
  return this.k94_1;
@@ -31440,7 +31456,7 @@
31440
31456
  // Inline function 'kotlin.arrayOf' call
31441
31457
  // Inline function 'kotlin.js.unsafeCast' call
31442
31458
  // Inline function 'kotlin.js.asDynamic' call
31443
- return [DoubleSerializer_getInstance(), tmp0_cached[1].z(), StringSerializer_getInstance(), tmp0_cached[3].z(), get_nullable($serializer_getInstance_119()), get_nullable(BooleanSerializer_getInstance())];
31459
+ return [DoubleSerializer_getInstance(), tmp0_cached[1].z(), StringSerializer_getInstance(), tmp0_cached[3].z(), get_nullable(BooleanSerializer_getInstance())];
31444
31460
  };
31445
31461
  var $serializer_instance_118;
31446
31462
  function $serializer_getInstance_118() {
@@ -31448,7 +31464,7 @@
31448
31464
  new $serializer_118();
31449
31465
  return $serializer_instance_118;
31450
31466
  }
31451
- function SiteLockSettingsResponse_init_$Init$(seen0, unlockTime, permittedAddresses, defaultName, tiles, state, favourite, serializationConstructorMarker, $this) {
31467
+ function SiteLockSettingsResponse_init_$Init$(seen0, unlockTime, permittedAddresses, defaultName, tiles, favourite, serializationConstructorMarker, $this) {
31452
31468
  if (!(15 === (15 & seen0))) {
31453
31469
  throwMissingFieldException(seen0, 15, $serializer_getInstance_118().k94_1);
31454
31470
  }
@@ -31457,27 +31473,21 @@
31457
31473
  $this.defaultName = defaultName;
31458
31474
  $this.tiles = tiles;
31459
31475
  if (0 === (seen0 & 16))
31460
- $this.state = null;
31461
- else
31462
- $this.state = state;
31463
- if (0 === (seen0 & 32))
31464
31476
  $this.favourite = null;
31465
31477
  else
31466
31478
  $this.favourite = favourite;
31467
31479
  return $this;
31468
31480
  }
31469
- function SiteLockSettingsResponse_init_$Create$(seen0, unlockTime, permittedAddresses, defaultName, tiles, state, favourite, serializationConstructorMarker) {
31470
- return SiteLockSettingsResponse_init_$Init$(seen0, unlockTime, permittedAddresses, defaultName, tiles, state, favourite, serializationConstructorMarker, objectCreate(protoOf(SiteLockSettingsResponse)));
31481
+ function SiteLockSettingsResponse_init_$Create$(seen0, unlockTime, permittedAddresses, defaultName, tiles, favourite, serializationConstructorMarker) {
31482
+ return SiteLockSettingsResponse_init_$Init$(seen0, unlockTime, permittedAddresses, defaultName, tiles, favourite, serializationConstructorMarker, objectCreate(protoOf(SiteLockSettingsResponse)));
31471
31483
  }
31472
- function SiteLockSettingsResponse(unlockTime, permittedAddresses, defaultName, tiles, state, favourite) {
31484
+ function SiteLockSettingsResponse(unlockTime, permittedAddresses, defaultName, tiles, favourite) {
31473
31485
  Companion_getInstance_138();
31474
- state = state === VOID ? null : state;
31475
31486
  favourite = favourite === VOID ? null : favourite;
31476
31487
  this.unlockTime = unlockTime;
31477
31488
  this.permittedAddresses = permittedAddresses;
31478
31489
  this.defaultName = defaultName;
31479
31490
  this.tiles = tiles;
31480
- this.state = state;
31481
31491
  this.favourite = favourite;
31482
31492
  }
31483
31493
  protoOf(SiteLockSettingsResponse).t8x = function () {
@@ -31492,9 +31502,6 @@
31492
31502
  protoOf(SiteLockSettingsResponse).c8y = function () {
31493
31503
  return this.tiles;
31494
31504
  };
31495
- protoOf(SiteLockSettingsResponse).i8w = function () {
31496
- return this.state;
31497
- };
31498
31505
  protoOf(SiteLockSettingsResponse).s8x = function () {
31499
31506
  return this.favourite;
31500
31507
  };
@@ -31511,32 +31518,27 @@
31511
31518
  return this.tiles;
31512
31519
  };
31513
31520
  protoOf(SiteLockSettingsResponse).g88 = function () {
31514
- return this.state;
31515
- };
31516
- protoOf(SiteLockSettingsResponse).h88 = function () {
31517
31521
  return this.favourite;
31518
31522
  };
31519
- protoOf(SiteLockSettingsResponse).m94 = function (unlockTime, permittedAddresses, defaultName, tiles, state, favourite) {
31520
- return new SiteLockSettingsResponse(unlockTime, permittedAddresses, defaultName, tiles, state, favourite);
31523
+ protoOf(SiteLockSettingsResponse).m94 = function (unlockTime, permittedAddresses, defaultName, tiles, favourite) {
31524
+ return new SiteLockSettingsResponse(unlockTime, permittedAddresses, defaultName, tiles, favourite);
31521
31525
  };
31522
- protoOf(SiteLockSettingsResponse).copy = function (unlockTime, permittedAddresses, defaultName, tiles, state, favourite, $super) {
31526
+ protoOf(SiteLockSettingsResponse).copy = function (unlockTime, permittedAddresses, defaultName, tiles, favourite, $super) {
31523
31527
  unlockTime = unlockTime === VOID ? this.unlockTime : unlockTime;
31524
31528
  permittedAddresses = permittedAddresses === VOID ? this.permittedAddresses : permittedAddresses;
31525
31529
  defaultName = defaultName === VOID ? this.defaultName : defaultName;
31526
31530
  tiles = tiles === VOID ? this.tiles : tiles;
31527
- state = state === VOID ? this.state : state;
31528
31531
  favourite = favourite === VOID ? this.favourite : favourite;
31529
- return $super === VOID ? this.m94(unlockTime, permittedAddresses, defaultName, tiles, state, favourite) : $super.m94.call(this, unlockTime, permittedAddresses, defaultName, tiles, state, favourite);
31532
+ return $super === VOID ? this.m94(unlockTime, permittedAddresses, defaultName, tiles, favourite) : $super.m94.call(this, unlockTime, permittedAddresses, defaultName, tiles, favourite);
31530
31533
  };
31531
31534
  protoOf(SiteLockSettingsResponse).toString = function () {
31532
- return 'SiteLockSettingsResponse(unlockTime=' + this.unlockTime + ', permittedAddresses=' + toString_0(this.permittedAddresses) + ', defaultName=' + this.defaultName + ', tiles=' + toString_0(this.tiles) + ', state=' + toString(this.state) + ', favourite=' + this.favourite + ')';
31535
+ return 'SiteLockSettingsResponse(unlockTime=' + this.unlockTime + ', permittedAddresses=' + toString_0(this.permittedAddresses) + ', defaultName=' + this.defaultName + ', tiles=' + toString_0(this.tiles) + ', favourite=' + this.favourite + ')';
31533
31536
  };
31534
31537
  protoOf(SiteLockSettingsResponse).hashCode = function () {
31535
31538
  var result = getNumberHashCode(this.unlockTime);
31536
31539
  result = imul(result, 31) + hashCode(this.permittedAddresses) | 0;
31537
31540
  result = imul(result, 31) + getStringHashCode(this.defaultName) | 0;
31538
31541
  result = imul(result, 31) + hashCode(this.tiles) | 0;
31539
- result = imul(result, 31) + (this.state == null ? 0 : this.state.hashCode()) | 0;
31540
31542
  result = imul(result, 31) + (this.favourite == null ? 0 : getBooleanHashCode(this.favourite)) | 0;
31541
31543
  return result;
31542
31544
  };
@@ -31554,8 +31556,6 @@
31554
31556
  return false;
31555
31557
  if (!equals(this.tiles, tmp0_other_with_cast.tiles))
31556
31558
  return false;
31557
- if (!equals(this.state, tmp0_other_with_cast.state))
31558
- return false;
31559
31559
  if (!(this.favourite == tmp0_other_with_cast.favourite))
31560
31560
  return false;
31561
31561
  return true;
@@ -48,12 +48,6 @@ 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
- }
57
51
  if (typeof String.prototype.endsWith === 'undefined') {
58
52
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
59
53
  var subjectString = this.toString();
@@ -65,6 +59,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
65
59
  return lastIndex !== -1 && lastIndex === position;
66
60
  }});
67
61
  }
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';
@@ -206,11 +206,6 @@
206
206
  initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
207
207
  initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
208
208
  initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
209
- function close$default(cause, $super) {
210
- cause = cause === VOID ? null : cause;
211
- return $super === VOID ? this.v16(cause) : $super.v16.call(this, cause);
212
- }
213
- initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
214
209
  function cancel$default_0(cause, $super) {
215
210
  cause = cause === VOID ? null : cause;
216
211
  var tmp;
@@ -223,7 +218,12 @@
223
218
  return tmp;
224
219
  }
225
220
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
226
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
221
+ function close$default(cause, $super) {
222
+ cause = cause === VOID ? null : cause;
223
+ return $super === VOID ? this.v16(cause) : $super.v16.call(this, cause);
224
+ }
225
+ initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
226
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
227
227
  initMetadataForClass(WaiterEB, 'WaiterEB');
228
228
  initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
229
229
  initMetadataForObject(Factory, 'Factory');
@@ -233,7 +233,7 @@
233
233
  initMetadataForClass(ChannelResult, 'ChannelResult');
234
234
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
235
235
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
236
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [1, 0]);
236
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, ReceiveChannel, SendChannel], [1, 0]);
237
237
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
238
238
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
239
239
  initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ChannelCoroutine, ProducerScope], [1, 0]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doordeck/doordeck-headless-sdk",
3
- "version": "0.130.0",
3
+ "version": "0.131.0",
4
4
  "main": "kotlin/doordeck-sdk.js",
5
5
  "devDependencies": {
6
6
  "webpack": "5.94.0",