@solibo/home-api 1.1.54 → 1.1.55

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.
@@ -71,8 +71,8 @@ import {
71
71
  _ChannelResult___get_isClosed__impl__mg7kuu1xlv81pnrlsg7 as _ChannelResult___get_isClosed__impl__mg7kuu,
72
72
  close$default29t9kascifp5w as close$default,
73
73
  cancel$default3ekkkwpkem73o as cancel$default,
74
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
75
74
  SendChannel38sllbxw662ws as SendChannel,
75
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
76
76
  } from './kotlinx-coroutines-core.mjs';
77
77
  import {
78
78
  get_isTraceEnabled82xibuu04nxp as get_isTraceEnabled,
@@ -137,7 +137,7 @@ initMetadataForCompanion(Companion_3);
137
137
  initMetadataForClass(ChannelConfig, 'ChannelConfig');
138
138
  initMetadataForClass(ChannelOverflow, 'ChannelOverflow', VOID, Enum);
139
139
  initMetadataForCompanion(Companion_4);
140
- initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 0]);
140
+ initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 0]);
141
141
  initMetadataForClass(ChannelOverflowException, 'ChannelOverflowException', VOID, RuntimeException);
142
142
  initMetadataForInterface(WebSocketExtension, 'WebSocketExtension');
143
143
  initMetadataForClass(WebSocketExtensionsConfig, 'WebSocketExtensionsConfig', WebSocketExtensionsConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "solibo-sdk-sdk-home-api.mjs",
3
- "version": "1.1.54",
3
+ "version": "1.1.55",
4
4
  "name": "@solibo/home-api",
5
5
  "dependencies": {
6
6
  "ws": "8.18.3",
@@ -655,13 +655,13 @@ export declare namespace ChangeResponsibleCommand {
655
655
  }
656
656
  }
657
657
  export declare class ClientUser extends AuthUser.$metadata$.constructor {
658
- constructor(clientId: string, id: bigint, organizationId: Nullable<bigint> | undefined, personId: Nullable<bigint> | undefined, scopes: KtList<string>);
658
+ constructor(clientId: string, id: string, organizationId: Nullable<bigint> | undefined, personId: Nullable<bigint> | undefined, scopes: KtList<string>);
659
659
  get clientId(): string;
660
- get id(): bigint;
660
+ get id(): string;
661
661
  get organizationId(): Nullable<bigint>;
662
662
  get personId(): Nullable<bigint>;
663
663
  get scopes(): KtList<string>;
664
- copy(clientId?: string, id?: bigint, organizationId?: Nullable<bigint>, personId?: Nullable<bigint>, scopes?: KtList<string>): ClientUser;
664
+ copy(clientId?: string, id?: string, organizationId?: Nullable<bigint>, personId?: Nullable<bigint>, scopes?: KtList<string>): ClientUser;
665
665
  toString(): string;
666
666
  hashCode(): number;
667
667
  equals(other: Nullable<any>): boolean;
@@ -3291,12 +3291,32 @@ export declare abstract class DialogSystemLabel {
3291
3291
  get name(): "DEFAULT";
3292
3292
  get ordinal(): 0;
3293
3293
  };
3294
+ static get INBOX(): DialogSystemLabel & {
3295
+ get name(): "INBOX";
3296
+ get ordinal(): 1;
3297
+ };
3298
+ static get OUTBOX(): DialogSystemLabel & {
3299
+ get name(): "OUTBOX";
3300
+ get ordinal(): 2;
3301
+ };
3302
+ static get DRAFT(): DialogSystemLabel & {
3303
+ get name(): "DRAFT";
3304
+ get ordinal(): 3;
3305
+ };
3294
3306
  static get SENT(): DialogSystemLabel & {
3295
3307
  get name(): "SENT";
3296
- get ordinal(): 1;
3308
+ get ordinal(): 4;
3297
3309
  };
3298
- get name(): "DEFAULT" | "SENT";
3299
- get ordinal(): 0 | 1;
3310
+ static get ARCHIVE(): DialogSystemLabel & {
3311
+ get name(): "ARCHIVE";
3312
+ get ordinal(): 5;
3313
+ };
3314
+ static get BIN(): DialogSystemLabel & {
3315
+ get name(): "BIN";
3316
+ get ordinal(): 6;
3317
+ };
3318
+ get name(): "DEFAULT" | "INBOX" | "OUTBOX" | "DRAFT" | "SENT" | "ARCHIVE" | "BIN";
3319
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6;
3300
3320
  get value(): string;
3301
3321
  toString(): string;
3302
3322
  static values(): Array<DialogSystemLabel>;
@@ -12708,10 +12728,11 @@ export declare namespace WebSocketPayload {
12708
12728
  }
12709
12729
  }
12710
12730
  export declare class WsEvent {
12711
- constructor(payload: WebSocketPayload, userId?: Nullable<string>);
12731
+ constructor(clientId: Nullable<string> | undefined, payload: WebSocketPayload, userId?: Nullable<string>);
12732
+ get clientId(): Nullable<string>;
12712
12733
  get payload(): WebSocketPayload;
12713
12734
  get userId(): Nullable<string>;
12714
- copy(payload?: WebSocketPayload, userId?: Nullable<string>): WsEvent;
12735
+ copy(clientId?: Nullable<string>, payload?: WebSocketPayload, userId?: Nullable<string>): WsEvent;
12715
12736
  toString(): string;
12716
12737
  hashCode(): number;
12717
12738
  equals(other: Nullable<any>): boolean;
@@ -8916,7 +8916,7 @@ protoOf($serializer_28).y5j = function (encoder, value) {
8916
8916
  var tmp1_output = encoder.t1v(tmp0_desc);
8917
8917
  var tmp2_cached = Companion_getInstance_34().w5j_1;
8918
8918
  tmp1_output.h1x(tmp0_desc, 0, value.clientId);
8919
- tmp1_output.d1x(tmp0_desc, 1, value.id);
8919
+ tmp1_output.h1x(tmp0_desc, 1, value.id);
8920
8920
  if (tmp1_output.o1x(tmp0_desc, 2) ? true : !(value.organizationId == null)) {
8921
8921
  tmp1_output.k1x(tmp0_desc, 2, LongSerializer_getInstance(), value.organizationId);
8922
8922
  }
@@ -8935,7 +8935,7 @@ protoOf($serializer_28).s1s = function (decoder) {
8935
8935
  var tmp2_index = 0;
8936
8936
  var tmp3_bitMask0 = 0;
8937
8937
  var tmp4_local0 = null;
8938
- var tmp5_local1 = 0n;
8938
+ var tmp5_local1 = null;
8939
8939
  var tmp6_local2 = null;
8940
8940
  var tmp7_local3 = null;
8941
8941
  var tmp8_local4 = null;
@@ -8944,7 +8944,7 @@ protoOf($serializer_28).s1s = function (decoder) {
8944
8944
  if (tmp9_input.i1w()) {
8945
8945
  tmp4_local0 = tmp9_input.d1w(tmp0_desc, 0);
8946
8946
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
8947
- tmp5_local1 = tmp9_input.z1v(tmp0_desc, 1);
8947
+ tmp5_local1 = tmp9_input.d1w(tmp0_desc, 1);
8948
8948
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
8949
8949
  tmp6_local2 = tmp9_input.h1w(tmp0_desc, 2, LongSerializer_getInstance(), tmp6_local2);
8950
8950
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
@@ -8964,7 +8964,7 @@ protoOf($serializer_28).s1s = function (decoder) {
8964
8964
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
8965
8965
  break;
8966
8966
  case 1:
8967
- tmp5_local1 = tmp9_input.z1v(tmp0_desc, 1);
8967
+ tmp5_local1 = tmp9_input.d1w(tmp0_desc, 1);
8968
8968
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
8969
8969
  break;
8970
8970
  case 2:
@@ -8994,7 +8994,7 @@ protoOf($serializer_28).y23 = function () {
8994
8994
  // Inline function 'kotlin.arrayOf' call
8995
8995
  // Inline function 'kotlin.js.unsafeCast' call
8996
8996
  // Inline function 'kotlin.js.asDynamic' call
8997
- return [StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), tmp0_cached[4].m1()];
8997
+ return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), tmp0_cached[4].m1()];
8998
8998
  };
8999
8999
  var $serializer_instance_28;
9000
9000
  function $serializer_getInstance_28() {
@@ -9076,11 +9076,11 @@ protoOf(ClientUser).copy = function (clientId, id, organizationId, personId, sco
9076
9076
  return $super === VOID ? this.a5k(clientId, id, organizationId, personId, scopes) : $super.a5k.call(this, clientId, id, organizationId, personId, scopes);
9077
9077
  };
9078
9078
  protoOf(ClientUser).toString = function () {
9079
- return 'ClientUser(clientId=' + this.clientId + ', id=' + this.id.toString() + ', organizationId=' + toString_0(this.organizationId) + ', personId=' + toString_0(this.personId) + ', scopes=' + toString(this.scopes) + ')';
9079
+ return 'ClientUser(clientId=' + this.clientId + ', id=' + this.id + ', organizationId=' + toString_0(this.organizationId) + ', personId=' + toString_0(this.personId) + ', scopes=' + toString(this.scopes) + ')';
9080
9080
  };
9081
9081
  protoOf(ClientUser).hashCode = function () {
9082
9082
  var result = getStringHashCode(this.clientId);
9083
- result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
9083
+ result = imul(result, 31) + getStringHashCode(this.id) | 0;
9084
9084
  result = imul(result, 31) + (this.organizationId == null ? 0 : getBigIntHashCode(this.organizationId)) | 0;
9085
9085
  result = imul(result, 31) + (this.personId == null ? 0 : getBigIntHashCode(this.personId)) | 0;
9086
9086
  result = imul(result, 31) + hashCode(this.scopes) | 0;
@@ -36136,15 +36136,20 @@ function DialogSystemLabel$Companion$_anonymous__uwh242() {
36136
36136
  // Inline function 'kotlin.arrayOf' call
36137
36137
  // Inline function 'kotlin.js.unsafeCast' call
36138
36138
  // Inline function 'kotlin.js.asDynamic' call
36139
- var tmp_0 = ['Default', 'Sent'];
36139
+ var tmp_0 = ['Default', 'Inbox', 'Outbox', 'Draft', 'Sent', 'Archive', 'Bin'];
36140
36140
  // Inline function 'kotlin.arrayOf' call
36141
36141
  // Inline function 'kotlin.js.unsafeCast' call
36142
36142
  // Inline function 'kotlin.js.asDynamic' call
36143
- var tmp$ret$5 = [null, null];
36143
+ var tmp$ret$5 = [null, null, null, null, null, null, null];
36144
36144
  return createAnnotatedEnumSerializer('no.solibo.oss.sdk.api.gen.models.DialogSystemLabel', tmp, tmp_0, tmp$ret$5, null);
36145
36145
  }
36146
36146
  var DialogSystemLabel_DEFAULT_instance;
36147
+ var DialogSystemLabel_INBOX_instance;
36148
+ var DialogSystemLabel_OUTBOX_instance;
36149
+ var DialogSystemLabel_DRAFT_instance;
36147
36150
  var DialogSystemLabel_SENT_instance;
36151
+ var DialogSystemLabel_ARCHIVE_instance;
36152
+ var DialogSystemLabel_BIN_instance;
36148
36153
  function Companion_157() {
36149
36154
  Companion_instance_157 = this;
36150
36155
  var tmp = this;
@@ -36181,14 +36186,24 @@ function Companion_getInstance_160() {
36181
36186
  return Companion_instance_157;
36182
36187
  }
36183
36188
  function values_11() {
36184
- return [DialogSystemLabel_DEFAULT_getInstance(), DialogSystemLabel_SENT_getInstance()];
36189
+ return [DialogSystemLabel_DEFAULT_getInstance(), DialogSystemLabel_INBOX_getInstance(), DialogSystemLabel_OUTBOX_getInstance(), DialogSystemLabel_DRAFT_getInstance(), DialogSystemLabel_SENT_getInstance(), DialogSystemLabel_ARCHIVE_getInstance(), DialogSystemLabel_BIN_getInstance()];
36185
36190
  }
36186
36191
  function valueOf_11(value) {
36187
36192
  switch (value) {
36188
36193
  case 'DEFAULT':
36189
36194
  return DialogSystemLabel_DEFAULT_getInstance();
36195
+ case 'INBOX':
36196
+ return DialogSystemLabel_INBOX_getInstance();
36197
+ case 'OUTBOX':
36198
+ return DialogSystemLabel_OUTBOX_getInstance();
36199
+ case 'DRAFT':
36200
+ return DialogSystemLabel_DRAFT_getInstance();
36190
36201
  case 'SENT':
36191
36202
  return DialogSystemLabel_SENT_getInstance();
36203
+ case 'ARCHIVE':
36204
+ return DialogSystemLabel_ARCHIVE_getInstance();
36205
+ case 'BIN':
36206
+ return DialogSystemLabel_BIN_getInstance();
36192
36207
  default:
36193
36208
  DialogSystemLabel_initEntries();
36194
36209
  THROW_IAE('No enum constant no.solibo.oss.sdk.api.gen.models.DialogSystemLabel.' + value);
@@ -36206,7 +36221,12 @@ function DialogSystemLabel_initEntries() {
36206
36221
  return Unit_instance;
36207
36222
  DialogSystemLabel_entriesInitialized = true;
36208
36223
  DialogSystemLabel_DEFAULT_instance = new DialogSystemLabel('DEFAULT', 0, 'Default');
36209
- DialogSystemLabel_SENT_instance = new DialogSystemLabel('SENT', 1, 'Sent');
36224
+ DialogSystemLabel_INBOX_instance = new DialogSystemLabel('INBOX', 1, 'Inbox');
36225
+ DialogSystemLabel_OUTBOX_instance = new DialogSystemLabel('OUTBOX', 2, 'Outbox');
36226
+ DialogSystemLabel_DRAFT_instance = new DialogSystemLabel('DRAFT', 3, 'Draft');
36227
+ DialogSystemLabel_SENT_instance = new DialogSystemLabel('SENT', 4, 'Sent');
36228
+ DialogSystemLabel_ARCHIVE_instance = new DialogSystemLabel('ARCHIVE', 5, 'Archive');
36229
+ DialogSystemLabel_BIN_instance = new DialogSystemLabel('BIN', 6, 'Bin');
36210
36230
  Companion_getInstance_160();
36211
36231
  }
36212
36232
  var $ENTRIES_11;
@@ -36224,10 +36244,30 @@ function DialogSystemLabel_DEFAULT_getInstance() {
36224
36244
  DialogSystemLabel_initEntries();
36225
36245
  return DialogSystemLabel_DEFAULT_instance;
36226
36246
  }
36247
+ function DialogSystemLabel_INBOX_getInstance() {
36248
+ DialogSystemLabel_initEntries();
36249
+ return DialogSystemLabel_INBOX_instance;
36250
+ }
36251
+ function DialogSystemLabel_OUTBOX_getInstance() {
36252
+ DialogSystemLabel_initEntries();
36253
+ return DialogSystemLabel_OUTBOX_instance;
36254
+ }
36255
+ function DialogSystemLabel_DRAFT_getInstance() {
36256
+ DialogSystemLabel_initEntries();
36257
+ return DialogSystemLabel_DRAFT_instance;
36258
+ }
36227
36259
  function DialogSystemLabel_SENT_getInstance() {
36228
36260
  DialogSystemLabel_initEntries();
36229
36261
  return DialogSystemLabel_SENT_instance;
36230
36262
  }
36263
+ function DialogSystemLabel_ARCHIVE_getInstance() {
36264
+ DialogSystemLabel_initEntries();
36265
+ return DialogSystemLabel_ARCHIVE_instance;
36266
+ }
36267
+ function DialogSystemLabel_BIN_getInstance() {
36268
+ DialogSystemLabel_initEntries();
36269
+ return DialogSystemLabel_BIN_instance;
36270
+ }
36231
36271
  function Document$Companion$$childSerializers$_anonymous__mhwhe7() {
36232
36272
  return new ArrayListSerializer($serializer_getInstance_141());
36233
36273
  }
@@ -127145,9 +127185,18 @@ function WebSocketPayload() {
127145
127185
  Companion_getInstance_562();
127146
127186
  }
127147
127187
  function WsEvent$Companion$$childSerializers$_anonymous__gai2q4() {
127148
- return Companion_getInstance_562().w4q();
127188
+ var tmp = PrimitiveClasses_getInstance().nb();
127189
+ var tmp_0 = get_nullable(StringSerializer_getInstance());
127190
+ // Inline function 'kotlin.arrayOf' call
127191
+ // Inline function 'kotlin.js.unsafeCast' call
127192
+ // Inline function 'kotlin.js.asDynamic' call
127193
+ var tmp$ret$2 = [];
127194
+ return new ContextualSerializer(tmp, tmp_0, tmp$ret$2);
127149
127195
  }
127150
127196
  function WsEvent$Companion$$childSerializers$_anonymous__gai2q4_0() {
127197
+ return Companion_getInstance_562().w4q();
127198
+ }
127199
+ function WsEvent$Companion$$childSerializers$_anonymous__gai2q4_1() {
127151
127200
  var tmp = PrimitiveClasses_getInstance().nb();
127152
127201
  var tmp_0 = get_nullable(StringSerializer_getInstance());
127153
127202
  // Inline function 'kotlin.arrayOf' call
@@ -127162,10 +127211,12 @@ function Companion_560() {
127162
127211
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
127163
127212
  var tmp_1 = lazy(tmp_0, WsEvent$Companion$$childSerializers$_anonymous__gai2q4);
127164
127213
  var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
127214
+ var tmp_3 = lazy(tmp_2, WsEvent$Companion$$childSerializers$_anonymous__gai2q4_0);
127215
+ var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
127165
127216
  // Inline function 'kotlin.arrayOf' call
127166
127217
  // Inline function 'kotlin.js.unsafeCast' call
127167
127218
  // Inline function 'kotlin.js.asDynamic' call
127168
- tmp.v8a_1 = [tmp_1, lazy(tmp_2, WsEvent$Companion$$childSerializers$_anonymous__gai2q4_0)];
127219
+ tmp.v8a_1 = [tmp_1, tmp_3, lazy(tmp_4, WsEvent$Companion$$childSerializers$_anonymous__gai2q4_1)];
127169
127220
  }
127170
127221
  var Companion_instance_560;
127171
127222
  function Companion_getInstance_563() {
@@ -127175,7 +127226,8 @@ function Companion_getInstance_563() {
127175
127226
  }
127176
127227
  function $serializer_484() {
127177
127228
  $serializer_instance_484 = this;
127178
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.WsEvent', this, 2);
127229
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.WsEvent', this, 3);
127230
+ tmp0_serialDesc.h23('clientId', true);
127179
127231
  tmp0_serialDesc.h23('payload', false);
127180
127232
  tmp0_serialDesc.h23('userId', true);
127181
127233
  this.w8a_1 = tmp0_serialDesc;
@@ -127184,9 +127236,12 @@ protoOf($serializer_484).x8a = function (encoder, value) {
127184
127236
  var tmp0_desc = this.w8a_1;
127185
127237
  var tmp1_output = encoder.t1v(tmp0_desc);
127186
127238
  var tmp2_cached = Companion_getInstance_563().v8a_1;
127187
- tmp1_output.j1x(tmp0_desc, 0, tmp2_cached[0].m1(), value.payload);
127188
- if (tmp1_output.o1x(tmp0_desc, 1) ? true : !(value.userId == null)) {
127189
- tmp1_output.k1x(tmp0_desc, 1, tmp2_cached[1].m1(), value.userId);
127239
+ if (tmp1_output.o1x(tmp0_desc, 0) ? true : !(value.clientId == null)) {
127240
+ tmp1_output.k1x(tmp0_desc, 0, tmp2_cached[0].m1(), value.clientId);
127241
+ }
127242
+ tmp1_output.j1x(tmp0_desc, 1, tmp2_cached[1].m1(), value.payload);
127243
+ if (tmp1_output.o1x(tmp0_desc, 2) ? true : !(value.userId == null)) {
127244
+ tmp1_output.k1x(tmp0_desc, 2, tmp2_cached[2].m1(), value.userId);
127190
127245
  }
127191
127246
  tmp1_output.u1v(tmp0_desc);
127192
127247
  };
@@ -127200,34 +127255,41 @@ protoOf($serializer_484).s1s = function (decoder) {
127200
127255
  var tmp3_bitMask0 = 0;
127201
127256
  var tmp4_local0 = null;
127202
127257
  var tmp5_local1 = null;
127203
- var tmp6_input = decoder.t1v(tmp0_desc);
127204
- var tmp7_cached = Companion_getInstance_563().v8a_1;
127205
- if (tmp6_input.i1w()) {
127206
- tmp4_local0 = tmp6_input.f1w(tmp0_desc, 0, tmp7_cached[0].m1(), tmp4_local0);
127258
+ var tmp6_local2 = null;
127259
+ var tmp7_input = decoder.t1v(tmp0_desc);
127260
+ var tmp8_cached = Companion_getInstance_563().v8a_1;
127261
+ if (tmp7_input.i1w()) {
127262
+ tmp4_local0 = tmp7_input.h1w(tmp0_desc, 0, tmp8_cached[0].m1(), tmp4_local0);
127207
127263
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
127208
- tmp5_local1 = tmp6_input.h1w(tmp0_desc, 1, tmp7_cached[1].m1(), tmp5_local1);
127264
+ tmp5_local1 = tmp7_input.f1w(tmp0_desc, 1, tmp8_cached[1].m1(), tmp5_local1);
127209
127265
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
127266
+ tmp6_local2 = tmp7_input.h1w(tmp0_desc, 2, tmp8_cached[2].m1(), tmp6_local2);
127267
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
127210
127268
  } else
127211
127269
  while (tmp1_flag) {
127212
- tmp2_index = tmp6_input.j1w(tmp0_desc);
127270
+ tmp2_index = tmp7_input.j1w(tmp0_desc);
127213
127271
  switch (tmp2_index) {
127214
127272
  case -1:
127215
127273
  tmp1_flag = false;
127216
127274
  break;
127217
127275
  case 0:
127218
- tmp4_local0 = tmp6_input.f1w(tmp0_desc, 0, tmp7_cached[0].m1(), tmp4_local0);
127276
+ tmp4_local0 = tmp7_input.h1w(tmp0_desc, 0, tmp8_cached[0].m1(), tmp4_local0);
127219
127277
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
127220
127278
  break;
127221
127279
  case 1:
127222
- tmp5_local1 = tmp6_input.h1w(tmp0_desc, 1, tmp7_cached[1].m1(), tmp5_local1);
127280
+ tmp5_local1 = tmp7_input.f1w(tmp0_desc, 1, tmp8_cached[1].m1(), tmp5_local1);
127223
127281
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
127224
127282
  break;
127283
+ case 2:
127284
+ tmp6_local2 = tmp7_input.h1w(tmp0_desc, 2, tmp8_cached[2].m1(), tmp6_local2);
127285
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
127286
+ break;
127225
127287
  default:
127226
127288
  throw UnknownFieldException_init_$Create$(tmp2_index);
127227
127289
  }
127228
127290
  }
127229
- tmp6_input.u1v(tmp0_desc);
127230
- return WsEvent_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
127291
+ tmp7_input.u1v(tmp0_desc);
127292
+ return WsEvent_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
127231
127293
  };
127232
127294
  protoOf($serializer_484).e1s = function () {
127233
127295
  return this.w8a_1;
@@ -127237,7 +127299,7 @@ protoOf($serializer_484).y23 = function () {
127237
127299
  // Inline function 'kotlin.arrayOf' call
127238
127300
  // Inline function 'kotlin.js.unsafeCast' call
127239
127301
  // Inline function 'kotlin.js.asDynamic' call
127240
- return [tmp0_cached[0].m1(), get_nullable(tmp0_cached[1].m1())];
127302
+ return [get_nullable(tmp0_cached[0].m1()), tmp0_cached[1].m1(), get_nullable(tmp0_cached[2].m1())];
127241
127303
  };
127242
127304
  var $serializer_instance_484;
127243
127305
  function $serializer_getInstance_484() {
@@ -127245,26 +127307,35 @@ function $serializer_getInstance_484() {
127245
127307
  new $serializer_484();
127246
127308
  return $serializer_instance_484;
127247
127309
  }
127248
- function WsEvent_init_$Init$(seen0, payload, userId, serializationConstructorMarker, $this) {
127249
- if (!(1 === (1 & seen0))) {
127250
- throwMissingFieldException(seen0, 1, $serializer_getInstance_484().w8a_1);
127310
+ function WsEvent_init_$Init$(seen0, clientId, payload, userId, serializationConstructorMarker, $this) {
127311
+ if (!(2 === (2 & seen0))) {
127312
+ throwMissingFieldException(seen0, 2, $serializer_getInstance_484().w8a_1);
127251
127313
  }
127314
+ if (0 === (seen0 & 1))
127315
+ $this.clientId = null;
127316
+ else
127317
+ $this.clientId = clientId;
127252
127318
  $this.payload = payload;
127253
- if (0 === (seen0 & 2))
127319
+ if (0 === (seen0 & 4))
127254
127320
  $this.userId = null;
127255
127321
  else
127256
127322
  $this.userId = userId;
127257
127323
  return $this;
127258
127324
  }
127259
- function WsEvent_init_$Create$(seen0, payload, userId, serializationConstructorMarker) {
127260
- return WsEvent_init_$Init$(seen0, payload, userId, serializationConstructorMarker, objectCreate(protoOf(WsEvent)));
127325
+ function WsEvent_init_$Create$(seen0, clientId, payload, userId, serializationConstructorMarker) {
127326
+ return WsEvent_init_$Init$(seen0, clientId, payload, userId, serializationConstructorMarker, objectCreate(protoOf(WsEvent)));
127261
127327
  }
127262
- function WsEvent(payload, userId) {
127328
+ function WsEvent(clientId, payload, userId) {
127263
127329
  Companion_getInstance_563();
127330
+ clientId = clientId === VOID ? null : clientId;
127264
127331
  userId = userId === VOID ? null : userId;
127332
+ this.clientId = clientId;
127265
127333
  this.payload = payload;
127266
127334
  this.userId = userId;
127267
127335
  }
127336
+ protoOf(WsEvent).o5g = function () {
127337
+ return this.clientId;
127338
+ };
127268
127339
  protoOf(WsEvent).y8a = function () {
127269
127340
  return this.payload;
127270
127341
  };
@@ -127272,24 +127343,29 @@ protoOf(WsEvent).w5u = function () {
127272
127343
  return this.userId;
127273
127344
  };
127274
127345
  protoOf(WsEvent).se = function () {
127275
- return this.payload;
127346
+ return this.clientId;
127276
127347
  };
127277
127348
  protoOf(WsEvent).te = function () {
127349
+ return this.payload;
127350
+ };
127351
+ protoOf(WsEvent).d5c = function () {
127278
127352
  return this.userId;
127279
127353
  };
127280
- protoOf(WsEvent).z8a = function (payload, userId) {
127281
- return new WsEvent(payload, userId);
127354
+ protoOf(WsEvent).z8a = function (clientId, payload, userId) {
127355
+ return new WsEvent(clientId, payload, userId);
127282
127356
  };
127283
- protoOf(WsEvent).copy = function (payload, userId, $super) {
127357
+ protoOf(WsEvent).copy = function (clientId, payload, userId, $super) {
127358
+ clientId = clientId === VOID ? this.clientId : clientId;
127284
127359
  payload = payload === VOID ? this.payload : payload;
127285
127360
  userId = userId === VOID ? this.userId : userId;
127286
- return $super === VOID ? this.z8a(payload, userId) : $super.z8a.call(this, payload, userId);
127361
+ return $super === VOID ? this.z8a(clientId, payload, userId) : $super.z8a.call(this, clientId, payload, userId);
127287
127362
  };
127288
127363
  protoOf(WsEvent).toString = function () {
127289
- return 'WsEvent(payload=' + toString(this.payload) + ', userId=' + this.userId + ')';
127364
+ return 'WsEvent(clientId=' + this.clientId + ', payload=' + toString(this.payload) + ', userId=' + this.userId + ')';
127290
127365
  };
127291
127366
  protoOf(WsEvent).hashCode = function () {
127292
- var result = hashCode(this.payload);
127367
+ var result = this.clientId == null ? 0 : getStringHashCode(this.clientId);
127368
+ result = imul(result, 31) + hashCode(this.payload) | 0;
127293
127369
  result = imul(result, 31) + (this.userId == null ? 0 : getStringHashCode(this.userId)) | 0;
127294
127370
  return result;
127295
127371
  };
@@ -127298,6 +127374,8 @@ protoOf(WsEvent).equals = function (other) {
127298
127374
  return true;
127299
127375
  if (!(other instanceof WsEvent))
127300
127376
  return false;
127377
+ if (!(this.clientId == other.clientId))
127378
+ return false;
127301
127379
  if (!equals(this.payload, other.payload))
127302
127380
  return false;
127303
127381
  if (!(this.userId == other.userId))
@@ -203135,7 +203213,12 @@ defineProp(DialogStatus, 'Companion', Companion_getInstance_159, VOID, true);
203135
203213
  DialogSystemLabel.values = values_11;
203136
203214
  DialogSystemLabel.valueOf = valueOf_11;
203137
203215
  defineProp(DialogSystemLabel, 'DEFAULT', DialogSystemLabel_DEFAULT_getInstance, VOID, true);
203216
+ defineProp(DialogSystemLabel, 'INBOX', DialogSystemLabel_INBOX_getInstance, VOID, true);
203217
+ defineProp(DialogSystemLabel, 'OUTBOX', DialogSystemLabel_OUTBOX_getInstance, VOID, true);
203218
+ defineProp(DialogSystemLabel, 'DRAFT', DialogSystemLabel_DRAFT_getInstance, VOID, true);
203138
203219
  defineProp(DialogSystemLabel, 'SENT', DialogSystemLabel_SENT_getInstance, VOID, true);
203220
+ defineProp(DialogSystemLabel, 'ARCHIVE', DialogSystemLabel_ARCHIVE_getInstance, VOID, true);
203221
+ defineProp(DialogSystemLabel, 'BIN', DialogSystemLabel_BIN_getInstance, VOID, true);
203139
203222
  defineProp(DialogSystemLabel, 'Companion', Companion_getInstance_160, VOID, true);
203140
203223
  DocumentType.values = values_12;
203141
203224
  DocumentType.valueOf = valueOf_12;