@doordeck/doordeck-headless-sdk 0.28.0 → 0.29.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.
@@ -284,7 +284,7 @@
284
284
  function addFormatStructureForTime(structure) {
285
285
  this.r4q(structure);
286
286
  }
287
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
287
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
288
288
  function offsetHours$default(padding, $super) {
289
289
  padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
290
290
  var tmp;
@@ -337,7 +337,7 @@
337
337
  return tmp;
338
338
  }
339
339
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
340
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
340
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
341
341
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
342
342
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
343
343
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -909,10 +909,10 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
909
909
  };
910
910
  }
911
911
  class AuditSubjectResponse {
912
- constructor(userId: string, email: string, displayName: string);
912
+ constructor(userId: string, email: string, displayName?: Nullable<string>);
913
913
  get userId(): string;
914
914
  get email(): string;
915
- get displayName(): string;
915
+ get displayName(): Nullable<string>;
916
916
  static get Companion(): {
917
917
  };
918
918
  }
@@ -13407,7 +13407,7 @@
13407
13407
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.doordeck.multiplatform.sdk.api.responses.AuditSubjectResponse', this, 3);
13408
13408
  tmp0_serialDesc.r3x('userId', false);
13409
13409
  tmp0_serialDesc.r3x('email', false);
13410
- tmp0_serialDesc.r3x('displayName', false);
13410
+ tmp0_serialDesc.r3x('displayName', true);
13411
13411
  this.e5r_1 = tmp0_serialDesc;
13412
13412
  }
13413
13413
  protoOf($serializer_95).f5r = function (encoder, value) {
@@ -13415,7 +13415,9 @@
13415
13415
  var tmp1_output = encoder.g3q(tmp0_desc);
13416
13416
  tmp1_output.u3r(tmp0_desc, 0, value.userId);
13417
13417
  tmp1_output.u3r(tmp0_desc, 1, value.email);
13418
- tmp1_output.u3r(tmp0_desc, 2, value.displayName);
13418
+ if (tmp1_output.c3s(tmp0_desc, 2) ? true : !(value.displayName == null)) {
13419
+ tmp1_output.y3r(tmp0_desc, 2, StringSerializer_getInstance(), value.displayName);
13420
+ }
13419
13421
  tmp1_output.h3q(tmp0_desc);
13420
13422
  };
13421
13423
  protoOf($serializer_95).u3m = function (encoder, value) {
@@ -13435,7 +13437,7 @@
13435
13437
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
13436
13438
  tmp5_local1 = tmp7_input.q3q(tmp0_desc, 1);
13437
13439
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
13438
- tmp6_local2 = tmp7_input.q3q(tmp0_desc, 2);
13440
+ tmp6_local2 = tmp7_input.u3q(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
13439
13441
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
13440
13442
  } else
13441
13443
  while (tmp1_flag) {
@@ -13453,7 +13455,7 @@
13453
13455
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
13454
13456
  break;
13455
13457
  case 2:
13456
- tmp6_local2 = tmp7_input.q3q(tmp0_desc, 2);
13458
+ tmp6_local2 = tmp7_input.u3q(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
13457
13459
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
13458
13460
  break;
13459
13461
  default:
@@ -13470,7 +13472,7 @@
13470
13472
  // Inline function 'kotlin.arrayOf' call
13471
13473
  // Inline function 'kotlin.js.unsafeCast' call
13472
13474
  // Inline function 'kotlin.js.asDynamic' call
13473
- return [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance()];
13475
+ return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
13474
13476
  };
13475
13477
  var $serializer_instance_95;
13476
13478
  function $serializer_getInstance_95() {
@@ -13479,18 +13481,22 @@
13479
13481
  return $serializer_instance_95;
13480
13482
  }
13481
13483
  function AuditSubjectResponse_init_$Init$(seen0, userId, email, displayName, serializationConstructorMarker, $this) {
13482
- if (!(7 === (7 & seen0))) {
13483
- throwMissingFieldException(seen0, 7, $serializer_getInstance_95().e5r_1);
13484
+ if (!(3 === (3 & seen0))) {
13485
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_95().e5r_1);
13484
13486
  }
13485
13487
  $this.userId = userId;
13486
13488
  $this.email = email;
13487
- $this.displayName = displayName;
13489
+ if (0 === (seen0 & 4))
13490
+ $this.displayName = null;
13491
+ else
13492
+ $this.displayName = displayName;
13488
13493
  return $this;
13489
13494
  }
13490
13495
  function AuditSubjectResponse_init_$Create$(seen0, userId, email, displayName, serializationConstructorMarker) {
13491
13496
  return AuditSubjectResponse_init_$Init$(seen0, userId, email, displayName, serializationConstructorMarker, objectCreate(protoOf(AuditSubjectResponse)));
13492
13497
  }
13493
13498
  function AuditSubjectResponse(userId, email, displayName) {
13499
+ displayName = displayName === VOID ? null : displayName;
13494
13500
  this.userId = userId;
13495
13501
  this.email = email;
13496
13502
  this.displayName = displayName;