@solibo/solibo-sdk 1.40.1 → 1.41.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.
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/client/expense.d.mts +1 -1
- package/client/expense.mjs +14 -0
- package/client/homepage.mjs +38 -0
- package/client-core.mjs +9 -0
- package/client.d.mts +12 -0
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/kotlinx-coroutines-core.mjs +12 -12
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-utils.mjs +2 -2
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-api-conversation.mjs +246 -134
- package/solibo-sdk-sdk-api-conversation.mjs.map +1 -1
- package/solibo-sdk-sdk-api-expense.mjs +466 -153
- package/solibo-sdk-sdk-api-expense.mjs.map +1 -1
- package/solibo-sdk-sdk-api-homepage.mjs +171 -0
- package/solibo-sdk-sdk-api-homepage.mjs.map +1 -1
- package/solibo-sdk-sdk-core.mjs +3 -3
- package/solibo-sdk-sdk.d.mts +32 -4
- package/solibo-sdk-sdk.mjs +6 -6
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -16263,7 +16263,7 @@ function Companion_24() {
|
|
|
16263
16263
|
// Inline function 'kotlin.arrayOf' call
|
|
16264
16264
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
16265
16265
|
// Inline function 'kotlin.js.asDynamic' call
|
|
16266
|
-
tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, CreateConversationCategoryCommand$Companion$$childSerializers$_anonymous__s9efz8_0), null, null, null, null, null, null];
|
|
16266
|
+
tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, CreateConversationCategoryCommand$Companion$$childSerializers$_anonymous__s9efz8_0), null, null, null, null, null, null, null];
|
|
16267
16267
|
}
|
|
16268
16268
|
var Companion_instance_25;
|
|
16269
16269
|
function Companion_getInstance_31() {
|
|
@@ -16273,7 +16273,7 @@ function Companion_getInstance_31() {
|
|
|
16273
16273
|
}
|
|
16274
16274
|
function $serializer_16() {
|
|
16275
16275
|
$serializer_instance_16 = this;
|
|
16276
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateConversationCategoryCommand', this,
|
|
16276
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateConversationCategoryCommand', this, 9);
|
|
16277
16277
|
tmp0_serialDesc.addElement_5pzumi_k$('coResponsibleIds', true);
|
|
16278
16278
|
tmp0_serialDesc.addElement_5pzumi_k$('color', true);
|
|
16279
16279
|
tmp0_serialDesc.addElement_5pzumi_k$('contactCategory', true);
|
|
@@ -16281,6 +16281,7 @@ function $serializer_16() {
|
|
|
16281
16281
|
tmp0_serialDesc.addElement_5pzumi_k$('incomingEmailCategory', true);
|
|
16282
16282
|
tmp0_serialDesc.addElement_5pzumi_k$('name', false);
|
|
16283
16283
|
tmp0_serialDesc.addElement_5pzumi_k$('responsible', false);
|
|
16284
|
+
tmp0_serialDesc.addElement_5pzumi_k$('staffManaged', true);
|
|
16284
16285
|
tmp0_serialDesc.addElement_5pzumi_k$('template', true);
|
|
16285
16286
|
this.descriptor_1 = tmp0_serialDesc;
|
|
16286
16287
|
}
|
|
@@ -16305,8 +16306,11 @@ protoOf($serializer_16).serialize_4uae0k_k$ = function (encoder, value) {
|
|
|
16305
16306
|
}
|
|
16306
16307
|
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 5, value.name);
|
|
16307
16308
|
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 6, value.responsible);
|
|
16308
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.
|
|
16309
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7,
|
|
16309
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.staffManaged == null)) {
|
|
16310
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, BooleanSerializer_getInstance(), value.staffManaged);
|
|
16311
|
+
}
|
|
16312
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.template == null)) {
|
|
16313
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, StringSerializer_getInstance(), value.template);
|
|
16310
16314
|
}
|
|
16311
16315
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
16312
16316
|
};
|
|
@@ -16326,70 +16330,77 @@ protoOf($serializer_16).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
16326
16330
|
var tmp9_local5 = null;
|
|
16327
16331
|
var tmp10_local6 = 0n;
|
|
16328
16332
|
var tmp11_local7 = null;
|
|
16329
|
-
var
|
|
16330
|
-
var
|
|
16331
|
-
|
|
16332
|
-
|
|
16333
|
+
var tmp12_local8 = null;
|
|
16334
|
+
var tmp13_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
16335
|
+
var tmp14_cached = Companion_getInstance_31().$childSerializers_1;
|
|
16336
|
+
if (tmp13_input.decodeSequentially_xlblqy_k$()) {
|
|
16337
|
+
tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
16333
16338
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
16334
|
-
tmp5_local1 =
|
|
16339
|
+
tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
16335
16340
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
16336
|
-
tmp6_local2 =
|
|
16341
|
+
tmp6_local2 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
16337
16342
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
16338
|
-
tmp7_local3 =
|
|
16343
|
+
tmp7_local3 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
16339
16344
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
16340
|
-
tmp8_local4 =
|
|
16345
|
+
tmp8_local4 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
16341
16346
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
16342
|
-
tmp9_local5 =
|
|
16347
|
+
tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
16343
16348
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
16344
|
-
tmp10_local6 =
|
|
16349
|
+
tmp10_local6 = tmp13_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
|
|
16345
16350
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
16346
|
-
tmp11_local7 =
|
|
16351
|
+
tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
16347
16352
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
16353
|
+
tmp12_local8 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
16354
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
16348
16355
|
} else
|
|
16349
16356
|
while (tmp1_flag) {
|
|
16350
|
-
tmp2_index =
|
|
16357
|
+
tmp2_index = tmp13_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
16351
16358
|
switch (tmp2_index) {
|
|
16352
16359
|
case -1:
|
|
16353
16360
|
tmp1_flag = false;
|
|
16354
16361
|
break;
|
|
16355
16362
|
case 0:
|
|
16356
|
-
tmp4_local0 =
|
|
16363
|
+
tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
16357
16364
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
16358
16365
|
break;
|
|
16359
16366
|
case 1:
|
|
16360
|
-
tmp5_local1 =
|
|
16367
|
+
tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
16361
16368
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
16362
16369
|
break;
|
|
16363
16370
|
case 2:
|
|
16364
|
-
tmp6_local2 =
|
|
16371
|
+
tmp6_local2 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
16365
16372
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
16366
16373
|
break;
|
|
16367
16374
|
case 3:
|
|
16368
|
-
tmp7_local3 =
|
|
16375
|
+
tmp7_local3 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
16369
16376
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
16370
16377
|
break;
|
|
16371
16378
|
case 4:
|
|
16372
|
-
tmp8_local4 =
|
|
16379
|
+
tmp8_local4 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
16373
16380
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
16374
16381
|
break;
|
|
16375
16382
|
case 5:
|
|
16376
|
-
tmp9_local5 =
|
|
16383
|
+
tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
16377
16384
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
16378
16385
|
break;
|
|
16379
16386
|
case 6:
|
|
16380
|
-
tmp10_local6 =
|
|
16387
|
+
tmp10_local6 = tmp13_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
|
|
16381
16388
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
16382
16389
|
break;
|
|
16383
16390
|
case 7:
|
|
16384
|
-
tmp11_local7 =
|
|
16391
|
+
tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
16385
16392
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
16386
16393
|
break;
|
|
16394
|
+
case 8:
|
|
16395
|
+
tmp12_local8 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
16396
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
16397
|
+
break;
|
|
16387
16398
|
default:
|
|
16388
16399
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
16389
16400
|
}
|
|
16390
16401
|
}
|
|
16391
|
-
|
|
16392
|
-
return CreateConversationCategoryCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
16402
|
+
tmp13_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
16403
|
+
return CreateConversationCategoryCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
16393
16404
|
};
|
|
16394
16405
|
protoOf($serializer_16).get_descriptor_wjt6a0_k$ = function () {
|
|
16395
16406
|
return this.descriptor_1;
|
|
@@ -16399,7 +16410,7 @@ protoOf($serializer_16).childSerializers_5ghqw5_k$ = function () {
|
|
|
16399
16410
|
// Inline function 'kotlin.arrayOf' call
|
|
16400
16411
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
16401
16412
|
// Inline function 'kotlin.js.asDynamic' call
|
|
16402
|
-
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
16413
|
+
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
16403
16414
|
};
|
|
16404
16415
|
var $serializer_instance_16;
|
|
16405
16416
|
function $serializer_getInstance_25() {
|
|
@@ -16407,7 +16418,7 @@ function $serializer_getInstance_25() {
|
|
|
16407
16418
|
new $serializer_16();
|
|
16408
16419
|
return $serializer_instance_16;
|
|
16409
16420
|
}
|
|
16410
|
-
function CreateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template, serializationConstructorMarker, $this) {
|
|
16421
|
+
function CreateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template, serializationConstructorMarker, $this) {
|
|
16411
16422
|
if (!(96 === (96 & seen0))) {
|
|
16412
16423
|
throwMissingFieldException(seen0, 96, $serializer_getInstance_25().descriptor_1);
|
|
16413
16424
|
}
|
|
@@ -16434,15 +16445,19 @@ function CreateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds,
|
|
|
16434
16445
|
$this.name = name;
|
|
16435
16446
|
$this.responsible = responsible;
|
|
16436
16447
|
if (0 === (seen0 & 128))
|
|
16448
|
+
$this.staffManaged = null;
|
|
16449
|
+
else
|
|
16450
|
+
$this.staffManaged = staffManaged;
|
|
16451
|
+
if (0 === (seen0 & 256))
|
|
16437
16452
|
$this.template = null;
|
|
16438
16453
|
else
|
|
16439
16454
|
$this.template = template;
|
|
16440
16455
|
return $this;
|
|
16441
16456
|
}
|
|
16442
|
-
function CreateConversationCategoryCommand_init_$Create$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template, serializationConstructorMarker) {
|
|
16443
|
-
return CreateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template, serializationConstructorMarker, objectCreate(protoOf(CreateConversationCategoryCommand)));
|
|
16457
|
+
function CreateConversationCategoryCommand_init_$Create$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template, serializationConstructorMarker) {
|
|
16458
|
+
return CreateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template, serializationConstructorMarker, objectCreate(protoOf(CreateConversationCategoryCommand)));
|
|
16444
16459
|
}
|
|
16445
|
-
function CreateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template) {
|
|
16460
|
+
function CreateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template) {
|
|
16446
16461
|
var __soliboProps = arguments.length === 1 && typeof coResponsibleIds === 'object' && coResponsibleIds !== null && coResponsibleIds.constructor === Object;
|
|
16447
16462
|
var __soliboTmp, __soliboConverted = false;
|
|
16448
16463
|
if (__soliboProps) {
|
|
@@ -16454,6 +16469,7 @@ function CreateConversationCategoryCommand(coResponsibleIds, color, contactCateg
|
|
|
16454
16469
|
incomingEmailCategory = ('incomingEmailCategory' in props ? props.incomingEmailCategory : VOID);
|
|
16455
16470
|
name = ('name' in props ? props.name : VOID);
|
|
16456
16471
|
responsible = ('responsible' in props ? props.responsible : VOID);
|
|
16472
|
+
staffManaged = ('staffManaged' in props ? props.staffManaged : VOID);
|
|
16457
16473
|
template = ('template' in props ? props.template : VOID);
|
|
16458
16474
|
}
|
|
16459
16475
|
if ((__soliboTmp = __soliboToKt(coResponsibleIds, ["list",["bigint"]])) !== coResponsibleIds) { coResponsibleIds = __soliboTmp; __soliboConverted = true; }
|
|
@@ -16465,6 +16481,7 @@ function CreateConversationCategoryCommand(coResponsibleIds, color, contactCateg
|
|
|
16465
16481
|
contactCategory = contactCategory === VOID ? null : contactCategory;
|
|
16466
16482
|
description = description === VOID ? null : description;
|
|
16467
16483
|
incomingEmailCategory = incomingEmailCategory === VOID ? null : incomingEmailCategory;
|
|
16484
|
+
staffManaged = staffManaged === VOID ? null : staffManaged;
|
|
16468
16485
|
template = template === VOID ? null : template;
|
|
16469
16486
|
this.coResponsibleIds = coResponsibleIds;
|
|
16470
16487
|
this.color = color;
|
|
@@ -16473,6 +16490,7 @@ function CreateConversationCategoryCommand(coResponsibleIds, color, contactCateg
|
|
|
16473
16490
|
this.incomingEmailCategory = incomingEmailCategory;
|
|
16474
16491
|
this.name = name;
|
|
16475
16492
|
this.responsible = responsible;
|
|
16493
|
+
this.staffManaged = staffManaged;
|
|
16476
16494
|
this.template = template;
|
|
16477
16495
|
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
16478
16496
|
}
|
|
@@ -16497,6 +16515,9 @@ protoOf(CreateConversationCategoryCommand).get_name_woqyms_k$ = function () {
|
|
|
16497
16515
|
protoOf(CreateConversationCategoryCommand).get_responsible_qkuq9f_k$ = function () {
|
|
16498
16516
|
return this.responsible;
|
|
16499
16517
|
};
|
|
16518
|
+
protoOf(CreateConversationCategoryCommand).get_staffManaged_sol7h4_k$ = function () {
|
|
16519
|
+
return this.staffManaged;
|
|
16520
|
+
};
|
|
16500
16521
|
protoOf(CreateConversationCategoryCommand).get_template_hdczer_k$ = function () {
|
|
16501
16522
|
return this.template;
|
|
16502
16523
|
};
|
|
@@ -16522,12 +16543,15 @@ protoOf(CreateConversationCategoryCommand).component7_7eebs6_k$ = function () {
|
|
|
16522
16543
|
return this.responsible;
|
|
16523
16544
|
};
|
|
16524
16545
|
protoOf(CreateConversationCategoryCommand).component8_7eebs5_k$ = function () {
|
|
16546
|
+
return this.staffManaged;
|
|
16547
|
+
};
|
|
16548
|
+
protoOf(CreateConversationCategoryCommand).component9_7eebs4_k$ = function () {
|
|
16525
16549
|
return this.template;
|
|
16526
16550
|
};
|
|
16527
|
-
protoOf(CreateConversationCategoryCommand).
|
|
16528
|
-
return new CreateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template);
|
|
16551
|
+
protoOf(CreateConversationCategoryCommand).copy_sc822c_k$ = function (coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template) {
|
|
16552
|
+
return new CreateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template);
|
|
16529
16553
|
};
|
|
16530
|
-
protoOf(CreateConversationCategoryCommand).copy = function (coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template, $super) {
|
|
16554
|
+
protoOf(CreateConversationCategoryCommand).copy = function (coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template, $super) {
|
|
16531
16555
|
coResponsibleIds = coResponsibleIds === VOID ? this.coResponsibleIds : coResponsibleIds;
|
|
16532
16556
|
color = color === VOID ? this.color : color;
|
|
16533
16557
|
contactCategory = contactCategory === VOID ? this.contactCategory : contactCategory;
|
|
@@ -16535,11 +16559,12 @@ protoOf(CreateConversationCategoryCommand).copy = function (coResponsibleIds, co
|
|
|
16535
16559
|
incomingEmailCategory = incomingEmailCategory === VOID ? this.incomingEmailCategory : incomingEmailCategory;
|
|
16536
16560
|
name = name === VOID ? this.name : name;
|
|
16537
16561
|
responsible = responsible === VOID ? this.responsible : responsible;
|
|
16562
|
+
staffManaged = staffManaged === VOID ? this.staffManaged : staffManaged;
|
|
16538
16563
|
template = template === VOID ? this.template : template;
|
|
16539
|
-
return $super === VOID ? this.
|
|
16564
|
+
return $super === VOID ? this.copy_sc822c_k$(coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template) : $super.copy_sc822c_k$.call(this, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template);
|
|
16540
16565
|
};
|
|
16541
16566
|
protoOf(CreateConversationCategoryCommand).toString = function () {
|
|
16542
|
-
return 'CreateConversationCategoryCommand(coResponsibleIds=' + toString_0(this.coResponsibleIds) + ', color=' + toString_0(this.color) + ', contactCategory=' + this.contactCategory + ', description=' + this.description + ', incomingEmailCategory=' + this.incomingEmailCategory + ', name=' + this.name + ', responsible=' + this.responsible.toString() + ', template=' + this.template + ')';
|
|
16567
|
+
return 'CreateConversationCategoryCommand(coResponsibleIds=' + toString_0(this.coResponsibleIds) + ', color=' + toString_0(this.color) + ', contactCategory=' + this.contactCategory + ', description=' + this.description + ', incomingEmailCategory=' + this.incomingEmailCategory + ', name=' + this.name + ', responsible=' + this.responsible.toString() + ', staffManaged=' + this.staffManaged + ', template=' + this.template + ')';
|
|
16543
16568
|
};
|
|
16544
16569
|
protoOf(CreateConversationCategoryCommand).hashCode = function () {
|
|
16545
16570
|
var result = this.coResponsibleIds == null ? 0 : hashCode(this.coResponsibleIds);
|
|
@@ -16549,6 +16574,7 @@ protoOf(CreateConversationCategoryCommand).hashCode = function () {
|
|
|
16549
16574
|
result = imul(result, 31) + (this.incomingEmailCategory == null ? 0 : getBooleanHashCode(this.incomingEmailCategory)) | 0;
|
|
16550
16575
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
16551
16576
|
result = imul(result, 31) + getBigIntHashCode(this.responsible) | 0;
|
|
16577
|
+
result = imul(result, 31) + (this.staffManaged == null ? 0 : getBooleanHashCode(this.staffManaged)) | 0;
|
|
16552
16578
|
result = imul(result, 31) + (this.template == null ? 0 : getStringHashCode(this.template)) | 0;
|
|
16553
16579
|
return result;
|
|
16554
16580
|
};
|
|
@@ -16571,6 +16597,8 @@ protoOf(CreateConversationCategoryCommand).equals = function (other) {
|
|
|
16571
16597
|
return false;
|
|
16572
16598
|
if (!(this.responsible === other.responsible))
|
|
16573
16599
|
return false;
|
|
16600
|
+
if (!(this.staffManaged == other.staffManaged))
|
|
16601
|
+
return false;
|
|
16574
16602
|
if (!(this.template == other.template))
|
|
16575
16603
|
return false;
|
|
16576
16604
|
return true;
|
|
@@ -21599,7 +21627,7 @@ function Companion_49() {
|
|
|
21599
21627
|
// Inline function 'kotlin.arrayOf' call
|
|
21600
21628
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
21601
21629
|
// Inline function 'kotlin.js.asDynamic' call
|
|
21602
|
-
tmp.$childSerializers_1 = [tmp_1, tmp_3, lazy(tmp_4, SecureConversationCategory$Companion$$childSerializers$_anonymous__mjqv02_1), null, null, null, null, null, null, null, null];
|
|
21630
|
+
tmp.$childSerializers_1 = [tmp_1, tmp_3, lazy(tmp_4, SecureConversationCategory$Companion$$childSerializers$_anonymous__mjqv02_1), null, null, null, null, null, null, null, null, null, null];
|
|
21603
21631
|
}
|
|
21604
21632
|
var Companion_instance_50;
|
|
21605
21633
|
function Companion_getInstance_56() {
|
|
@@ -21609,17 +21637,19 @@ function Companion_getInstance_56() {
|
|
|
21609
21637
|
}
|
|
21610
21638
|
function $serializer_41() {
|
|
21611
21639
|
$serializer_instance_41 = this;
|
|
21612
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.SecureConversationCategory', this,
|
|
21640
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.SecureConversationCategory', this, 13);
|
|
21613
21641
|
tmp0_serialDesc.addElement_5pzumi_k$('coResponsibleIds', false);
|
|
21614
21642
|
tmp0_serialDesc.addElement_5pzumi_k$('coResponsiblePersons', true);
|
|
21615
21643
|
tmp0_serialDesc.addElement_5pzumi_k$('color', true);
|
|
21616
21644
|
tmp0_serialDesc.addElement_5pzumi_k$('contactCategory', false);
|
|
21645
|
+
tmp0_serialDesc.addElement_5pzumi_k$('editable', true);
|
|
21617
21646
|
tmp0_serialDesc.addElement_5pzumi_k$('id', false);
|
|
21618
21647
|
tmp0_serialDesc.addElement_5pzumi_k$('inUse', false);
|
|
21619
21648
|
tmp0_serialDesc.addElement_5pzumi_k$('incomingEmailCategory', false);
|
|
21620
21649
|
tmp0_serialDesc.addElement_5pzumi_k$('name', false);
|
|
21621
21650
|
tmp0_serialDesc.addElement_5pzumi_k$('responsible', false);
|
|
21622
21651
|
tmp0_serialDesc.addElement_5pzumi_k$('responsiblePerson', true);
|
|
21652
|
+
tmp0_serialDesc.addElement_5pzumi_k$('staffManaged', true);
|
|
21623
21653
|
tmp0_serialDesc.addElement_5pzumi_k$('template', true);
|
|
21624
21654
|
this.descriptor_1 = tmp0_serialDesc;
|
|
21625
21655
|
}
|
|
@@ -21635,16 +21665,22 @@ protoOf($serializer_41).serialize_kkm2k4_k$ = function (encoder, value) {
|
|
|
21635
21665
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.color);
|
|
21636
21666
|
}
|
|
21637
21667
|
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 3, value.contactCategory);
|
|
21638
|
-
tmp1_output.
|
|
21639
|
-
|
|
21640
|
-
|
|
21641
|
-
tmp1_output.
|
|
21642
|
-
tmp1_output.
|
|
21643
|
-
|
|
21644
|
-
|
|
21668
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.editable == null)) {
|
|
21669
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), value.editable);
|
|
21670
|
+
}
|
|
21671
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 5, value.id);
|
|
21672
|
+
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 6, value.inUse);
|
|
21673
|
+
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 7, value.incomingEmailCategory);
|
|
21674
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 8, value.name);
|
|
21675
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 9, value.responsible);
|
|
21676
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.responsiblePerson == null)) {
|
|
21677
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, $serializer_getInstance(), value.responsiblePerson);
|
|
21678
|
+
}
|
|
21679
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.staffManaged == null)) {
|
|
21680
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, BooleanSerializer_getInstance(), value.staffManaged);
|
|
21645
21681
|
}
|
|
21646
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
21647
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
21682
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.template == null)) {
|
|
21683
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, StringSerializer_getInstance(), value.template);
|
|
21648
21684
|
}
|
|
21649
21685
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
21650
21686
|
};
|
|
@@ -21660,95 +21696,109 @@ protoOf($serializer_41).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
21660
21696
|
var tmp5_local1 = null;
|
|
21661
21697
|
var tmp6_local2 = null;
|
|
21662
21698
|
var tmp7_local3 = false;
|
|
21663
|
-
var tmp8_local4 =
|
|
21664
|
-
var tmp9_local5 =
|
|
21699
|
+
var tmp8_local4 = null;
|
|
21700
|
+
var tmp9_local5 = 0n;
|
|
21665
21701
|
var tmp10_local6 = false;
|
|
21666
|
-
var tmp11_local7 =
|
|
21667
|
-
var tmp12_local8 =
|
|
21668
|
-
var tmp13_local9 =
|
|
21702
|
+
var tmp11_local7 = false;
|
|
21703
|
+
var tmp12_local8 = null;
|
|
21704
|
+
var tmp13_local9 = 0n;
|
|
21669
21705
|
var tmp14_local10 = null;
|
|
21670
|
-
var
|
|
21671
|
-
var
|
|
21672
|
-
|
|
21673
|
-
|
|
21706
|
+
var tmp15_local11 = null;
|
|
21707
|
+
var tmp16_local12 = null;
|
|
21708
|
+
var tmp17_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
21709
|
+
var tmp18_cached = Companion_getInstance_56().$childSerializers_1;
|
|
21710
|
+
if (tmp17_input.decodeSequentially_xlblqy_k$()) {
|
|
21711
|
+
tmp4_local0 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, tmp18_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
21674
21712
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
21675
|
-
tmp5_local1 =
|
|
21713
|
+
tmp5_local1 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp18_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
21676
21714
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
21677
|
-
tmp6_local2 =
|
|
21715
|
+
tmp6_local2 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp18_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
21678
21716
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
21679
|
-
tmp7_local3 =
|
|
21717
|
+
tmp7_local3 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 3);
|
|
21680
21718
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
21681
|
-
tmp8_local4 =
|
|
21719
|
+
tmp8_local4 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
21682
21720
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
21683
|
-
tmp9_local5 =
|
|
21721
|
+
tmp9_local5 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
|
|
21684
21722
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
21685
|
-
tmp10_local6 =
|
|
21723
|
+
tmp10_local6 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 6);
|
|
21686
21724
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
21687
|
-
tmp11_local7 =
|
|
21725
|
+
tmp11_local7 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 7);
|
|
21688
21726
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
21689
|
-
tmp12_local8 =
|
|
21727
|
+
tmp12_local8 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
|
|
21690
21728
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
21691
|
-
tmp13_local9 =
|
|
21729
|
+
tmp13_local9 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 9);
|
|
21692
21730
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
21693
|
-
tmp14_local10 =
|
|
21731
|
+
tmp14_local10 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, $serializer_getInstance(), tmp14_local10);
|
|
21694
21732
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
21733
|
+
tmp15_local11 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
21734
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
21735
|
+
tmp16_local12 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
21736
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
21695
21737
|
} else
|
|
21696
21738
|
while (tmp1_flag) {
|
|
21697
|
-
tmp2_index =
|
|
21739
|
+
tmp2_index = tmp17_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
21698
21740
|
switch (tmp2_index) {
|
|
21699
21741
|
case -1:
|
|
21700
21742
|
tmp1_flag = false;
|
|
21701
21743
|
break;
|
|
21702
21744
|
case 0:
|
|
21703
|
-
tmp4_local0 =
|
|
21745
|
+
tmp4_local0 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, tmp18_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
21704
21746
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
21705
21747
|
break;
|
|
21706
21748
|
case 1:
|
|
21707
|
-
tmp5_local1 =
|
|
21749
|
+
tmp5_local1 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp18_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
21708
21750
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
21709
21751
|
break;
|
|
21710
21752
|
case 2:
|
|
21711
|
-
tmp6_local2 =
|
|
21753
|
+
tmp6_local2 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp18_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
21712
21754
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
21713
21755
|
break;
|
|
21714
21756
|
case 3:
|
|
21715
|
-
tmp7_local3 =
|
|
21757
|
+
tmp7_local3 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 3);
|
|
21716
21758
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
21717
21759
|
break;
|
|
21718
21760
|
case 4:
|
|
21719
|
-
tmp8_local4 =
|
|
21761
|
+
tmp8_local4 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
21720
21762
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
21721
21763
|
break;
|
|
21722
21764
|
case 5:
|
|
21723
|
-
tmp9_local5 =
|
|
21765
|
+
tmp9_local5 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
|
|
21724
21766
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
21725
21767
|
break;
|
|
21726
21768
|
case 6:
|
|
21727
|
-
tmp10_local6 =
|
|
21769
|
+
tmp10_local6 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 6);
|
|
21728
21770
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
21729
21771
|
break;
|
|
21730
21772
|
case 7:
|
|
21731
|
-
tmp11_local7 =
|
|
21773
|
+
tmp11_local7 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 7);
|
|
21732
21774
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
21733
21775
|
break;
|
|
21734
21776
|
case 8:
|
|
21735
|
-
tmp12_local8 =
|
|
21777
|
+
tmp12_local8 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
|
|
21736
21778
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
21737
21779
|
break;
|
|
21738
21780
|
case 9:
|
|
21739
|
-
tmp13_local9 =
|
|
21781
|
+
tmp13_local9 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 9);
|
|
21740
21782
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
21741
21783
|
break;
|
|
21742
21784
|
case 10:
|
|
21743
|
-
tmp14_local10 =
|
|
21785
|
+
tmp14_local10 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, $serializer_getInstance(), tmp14_local10);
|
|
21744
21786
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
21745
21787
|
break;
|
|
21788
|
+
case 11:
|
|
21789
|
+
tmp15_local11 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
21790
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
21791
|
+
break;
|
|
21792
|
+
case 12:
|
|
21793
|
+
tmp16_local12 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
21794
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
21795
|
+
break;
|
|
21746
21796
|
default:
|
|
21747
21797
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
21748
21798
|
}
|
|
21749
21799
|
}
|
|
21750
|
-
|
|
21751
|
-
return SecureConversationCategory_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, null);
|
|
21800
|
+
tmp17_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
21801
|
+
return SecureConversationCategory_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, null);
|
|
21752
21802
|
};
|
|
21753
21803
|
protoOf($serializer_41).get_descriptor_wjt6a0_k$ = function () {
|
|
21754
21804
|
return this.descriptor_1;
|
|
@@ -21758,7 +21808,7 @@ protoOf($serializer_41).childSerializers_5ghqw5_k$ = function () {
|
|
|
21758
21808
|
// Inline function 'kotlin.arrayOf' call
|
|
21759
21809
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
21760
21810
|
// Inline function 'kotlin.js.asDynamic' call
|
|
21761
|
-
return [tmp0_cached[0].get_value_j01efc_k$(), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), BooleanSerializer_getInstance(), LongSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable($serializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
21811
|
+
return [tmp0_cached[0].get_value_j01efc_k$(), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), BooleanSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), LongSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable($serializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
21762
21812
|
};
|
|
21763
21813
|
var $serializer_instance_41;
|
|
21764
21814
|
function $serializer_getInstance_50() {
|
|
@@ -21766,9 +21816,9 @@ function $serializer_getInstance_50() {
|
|
|
21766
21816
|
new $serializer_41();
|
|
21767
21817
|
return $serializer_instance_41;
|
|
21768
21818
|
}
|
|
21769
|
-
function SecureConversationCategory_init_$Init$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template, serializationConstructorMarker, $this) {
|
|
21770
|
-
if (!(
|
|
21771
|
-
throwMissingFieldException(seen0,
|
|
21819
|
+
function SecureConversationCategory_init_$Init$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template, serializationConstructorMarker, $this) {
|
|
21820
|
+
if (!(1001 === (1001 & seen0))) {
|
|
21821
|
+
throwMissingFieldException(seen0, 1001, $serializer_getInstance_50().descriptor_1);
|
|
21772
21822
|
}
|
|
21773
21823
|
$this.coResponsibleIds = coResponsibleIds;
|
|
21774
21824
|
if (0 === (seen0 & 2))
|
|
@@ -21780,25 +21830,33 @@ function SecureConversationCategory_init_$Init$(seen0, coResponsibleIds, coRespo
|
|
|
21780
21830
|
else
|
|
21781
21831
|
$this.color = color;
|
|
21782
21832
|
$this.contactCategory = contactCategory;
|
|
21833
|
+
if (0 === (seen0 & 16))
|
|
21834
|
+
$this.editable = null;
|
|
21835
|
+
else
|
|
21836
|
+
$this.editable = editable;
|
|
21783
21837
|
$this.id = id;
|
|
21784
21838
|
$this.inUse = inUse;
|
|
21785
21839
|
$this.incomingEmailCategory = incomingEmailCategory;
|
|
21786
21840
|
$this.name = name;
|
|
21787
21841
|
$this.responsible = responsible;
|
|
21788
|
-
if (0 === (seen0 &
|
|
21842
|
+
if (0 === (seen0 & 1024))
|
|
21789
21843
|
$this.responsiblePerson = null;
|
|
21790
21844
|
else
|
|
21791
21845
|
$this.responsiblePerson = responsiblePerson;
|
|
21792
|
-
if (0 === (seen0 &
|
|
21846
|
+
if (0 === (seen0 & 2048))
|
|
21847
|
+
$this.staffManaged = null;
|
|
21848
|
+
else
|
|
21849
|
+
$this.staffManaged = staffManaged;
|
|
21850
|
+
if (0 === (seen0 & 4096))
|
|
21793
21851
|
$this.template = null;
|
|
21794
21852
|
else
|
|
21795
21853
|
$this.template = template;
|
|
21796
21854
|
return $this;
|
|
21797
21855
|
}
|
|
21798
|
-
function SecureConversationCategory_init_$Create$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template, serializationConstructorMarker) {
|
|
21799
|
-
return SecureConversationCategory_init_$Init$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template, serializationConstructorMarker, objectCreate(protoOf(SecureConversationCategory)));
|
|
21856
|
+
function SecureConversationCategory_init_$Create$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template, serializationConstructorMarker) {
|
|
21857
|
+
return SecureConversationCategory_init_$Init$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template, serializationConstructorMarker, objectCreate(protoOf(SecureConversationCategory)));
|
|
21800
21858
|
}
|
|
21801
|
-
function SecureConversationCategory(coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template) {
|
|
21859
|
+
function SecureConversationCategory(coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template) {
|
|
21802
21860
|
var __soliboProps = arguments.length === 1 && typeof coResponsibleIds === 'object' && coResponsibleIds !== null && coResponsibleIds.constructor === Object;
|
|
21803
21861
|
var __soliboTmp, __soliboConverted = false;
|
|
21804
21862
|
if (__soliboProps) {
|
|
@@ -21807,12 +21865,14 @@ function SecureConversationCategory(coResponsibleIds, coResponsiblePersons, colo
|
|
|
21807
21865
|
coResponsiblePersons = ('coResponsiblePersons' in props ? props.coResponsiblePersons : VOID);
|
|
21808
21866
|
color = ('color' in props ? props.color : VOID);
|
|
21809
21867
|
contactCategory = ('contactCategory' in props ? props.contactCategory : VOID);
|
|
21868
|
+
editable = ('editable' in props ? props.editable : VOID);
|
|
21810
21869
|
id = ('id' in props ? props.id : VOID);
|
|
21811
21870
|
inUse = ('inUse' in props ? props.inUse : VOID);
|
|
21812
21871
|
incomingEmailCategory = ('incomingEmailCategory' in props ? props.incomingEmailCategory : VOID);
|
|
21813
21872
|
name = ('name' in props ? props.name : VOID);
|
|
21814
21873
|
responsible = ('responsible' in props ? props.responsible : VOID);
|
|
21815
21874
|
responsiblePerson = ('responsiblePerson' in props ? props.responsiblePerson : VOID);
|
|
21875
|
+
staffManaged = ('staffManaged' in props ? props.staffManaged : VOID);
|
|
21816
21876
|
template = ('template' in props ? props.template : VOID);
|
|
21817
21877
|
}
|
|
21818
21878
|
if ((__soliboTmp = __soliboToKt(coResponsibleIds, ["list",["bigint"]])) !== coResponsibleIds) { coResponsibleIds = __soliboTmp; __soliboConverted = true; }
|
|
@@ -21824,18 +21884,22 @@ function SecureConversationCategory(coResponsibleIds, coResponsiblePersons, colo
|
|
|
21824
21884
|
Companion_getInstance_56();
|
|
21825
21885
|
coResponsiblePersons = coResponsiblePersons === VOID ? null : coResponsiblePersons;
|
|
21826
21886
|
color = color === VOID ? null : color;
|
|
21887
|
+
editable = editable === VOID ? null : editable;
|
|
21827
21888
|
responsiblePerson = responsiblePerson === VOID ? null : responsiblePerson;
|
|
21889
|
+
staffManaged = staffManaged === VOID ? null : staffManaged;
|
|
21828
21890
|
template = template === VOID ? null : template;
|
|
21829
21891
|
this.coResponsibleIds = coResponsibleIds;
|
|
21830
21892
|
this.coResponsiblePersons = coResponsiblePersons;
|
|
21831
21893
|
this.color = color;
|
|
21832
21894
|
this.contactCategory = contactCategory;
|
|
21895
|
+
this.editable = editable;
|
|
21833
21896
|
this.id = id;
|
|
21834
21897
|
this.inUse = inUse;
|
|
21835
21898
|
this.incomingEmailCategory = incomingEmailCategory;
|
|
21836
21899
|
this.name = name;
|
|
21837
21900
|
this.responsible = responsible;
|
|
21838
21901
|
this.responsiblePerson = responsiblePerson;
|
|
21902
|
+
this.staffManaged = staffManaged;
|
|
21839
21903
|
this.template = template;
|
|
21840
21904
|
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
21841
21905
|
}
|
|
@@ -21851,6 +21915,9 @@ protoOf(SecureConversationCategory).get_color_ipu8u2_k$ = function () {
|
|
|
21851
21915
|
protoOf(SecureConversationCategory).get_contactCategory_m6m4id_k$ = function () {
|
|
21852
21916
|
return this.contactCategory;
|
|
21853
21917
|
};
|
|
21918
|
+
protoOf(SecureConversationCategory).get_editable_5awedv_k$ = function () {
|
|
21919
|
+
return this.editable;
|
|
21920
|
+
};
|
|
21854
21921
|
protoOf(SecureConversationCategory).get_id_kntnx8_k$ = function () {
|
|
21855
21922
|
return this.id;
|
|
21856
21923
|
};
|
|
@@ -21869,6 +21936,9 @@ protoOf(SecureConversationCategory).get_responsible_qkuq9f_k$ = function () {
|
|
|
21869
21936
|
protoOf(SecureConversationCategory).get_responsiblePerson_za7pha_k$ = function () {
|
|
21870
21937
|
return this.responsiblePerson;
|
|
21871
21938
|
};
|
|
21939
|
+
protoOf(SecureConversationCategory).get_staffManaged_sol7h4_k$ = function () {
|
|
21940
|
+
return this.staffManaged;
|
|
21941
|
+
};
|
|
21872
21942
|
protoOf(SecureConversationCategory).get_template_hdczer_k$ = function () {
|
|
21873
21943
|
return this.template;
|
|
21874
21944
|
};
|
|
@@ -21885,57 +21955,67 @@ protoOf(SecureConversationCategory).component4_7eebs9_k$ = function () {
|
|
|
21885
21955
|
return this.contactCategory;
|
|
21886
21956
|
};
|
|
21887
21957
|
protoOf(SecureConversationCategory).component5_7eebs8_k$ = function () {
|
|
21888
|
-
return this.
|
|
21958
|
+
return this.editable;
|
|
21889
21959
|
};
|
|
21890
21960
|
protoOf(SecureConversationCategory).component6_7eebs7_k$ = function () {
|
|
21891
|
-
return this.
|
|
21961
|
+
return this.id;
|
|
21892
21962
|
};
|
|
21893
21963
|
protoOf(SecureConversationCategory).component7_7eebs6_k$ = function () {
|
|
21894
|
-
return this.
|
|
21964
|
+
return this.inUse;
|
|
21895
21965
|
};
|
|
21896
21966
|
protoOf(SecureConversationCategory).component8_7eebs5_k$ = function () {
|
|
21897
|
-
return this.
|
|
21967
|
+
return this.incomingEmailCategory;
|
|
21898
21968
|
};
|
|
21899
21969
|
protoOf(SecureConversationCategory).component9_7eebs4_k$ = function () {
|
|
21900
|
-
return this.
|
|
21970
|
+
return this.name;
|
|
21901
21971
|
};
|
|
21902
21972
|
protoOf(SecureConversationCategory).component10_gazzfo_k$ = function () {
|
|
21903
|
-
return this.
|
|
21973
|
+
return this.responsible;
|
|
21904
21974
|
};
|
|
21905
21975
|
protoOf(SecureConversationCategory).component11_gazzfn_k$ = function () {
|
|
21976
|
+
return this.responsiblePerson;
|
|
21977
|
+
};
|
|
21978
|
+
protoOf(SecureConversationCategory).component12_gazzfm_k$ = function () {
|
|
21979
|
+
return this.staffManaged;
|
|
21980
|
+
};
|
|
21981
|
+
protoOf(SecureConversationCategory).component13_gazzfl_k$ = function () {
|
|
21906
21982
|
return this.template;
|
|
21907
21983
|
};
|
|
21908
|
-
protoOf(SecureConversationCategory).
|
|
21909
|
-
return new SecureConversationCategory(coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template);
|
|
21984
|
+
protoOf(SecureConversationCategory).copy_i1ugl9_k$ = function (coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template) {
|
|
21985
|
+
return new SecureConversationCategory(coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template);
|
|
21910
21986
|
};
|
|
21911
|
-
protoOf(SecureConversationCategory).copy = function (coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template, $super) {
|
|
21987
|
+
protoOf(SecureConversationCategory).copy = function (coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template, $super) {
|
|
21912
21988
|
coResponsibleIds = coResponsibleIds === VOID ? this.coResponsibleIds : coResponsibleIds;
|
|
21913
21989
|
coResponsiblePersons = coResponsiblePersons === VOID ? this.coResponsiblePersons : coResponsiblePersons;
|
|
21914
21990
|
color = color === VOID ? this.color : color;
|
|
21915
21991
|
contactCategory = contactCategory === VOID ? this.contactCategory : contactCategory;
|
|
21992
|
+
editable = editable === VOID ? this.editable : editable;
|
|
21916
21993
|
id = id === VOID ? this.id : id;
|
|
21917
21994
|
inUse = inUse === VOID ? this.inUse : inUse;
|
|
21918
21995
|
incomingEmailCategory = incomingEmailCategory === VOID ? this.incomingEmailCategory : incomingEmailCategory;
|
|
21919
21996
|
name = name === VOID ? this.name : name;
|
|
21920
21997
|
responsible = responsible === VOID ? this.responsible : responsible;
|
|
21921
21998
|
responsiblePerson = responsiblePerson === VOID ? this.responsiblePerson : responsiblePerson;
|
|
21999
|
+
staffManaged = staffManaged === VOID ? this.staffManaged : staffManaged;
|
|
21922
22000
|
template = template === VOID ? this.template : template;
|
|
21923
|
-
return $super === VOID ? this.
|
|
22001
|
+
return $super === VOID ? this.copy_i1ugl9_k$(coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template) : $super.copy_i1ugl9_k$.call(this, coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template);
|
|
21924
22002
|
};
|
|
21925
22003
|
protoOf(SecureConversationCategory).toString = function () {
|
|
21926
|
-
return 'SecureConversationCategory(coResponsibleIds=' + toString(this.coResponsibleIds) + ', coResponsiblePersons=' + toString_0(this.coResponsiblePersons) + ', color=' + toString_0(this.color) + ', contactCategory=' + this.contactCategory + ', id=' + this.id.toString() + ', inUse=' + this.inUse + ', incomingEmailCategory=' + this.incomingEmailCategory + ', name=' + this.name + ', responsible=' + this.responsible.toString() + ', responsiblePerson=' + toString_0(this.responsiblePerson) + ', template=' + this.template + ')';
|
|
22004
|
+
return 'SecureConversationCategory(coResponsibleIds=' + toString(this.coResponsibleIds) + ', coResponsiblePersons=' + toString_0(this.coResponsiblePersons) + ', color=' + toString_0(this.color) + ', contactCategory=' + this.contactCategory + ', editable=' + this.editable + ', id=' + this.id.toString() + ', inUse=' + this.inUse + ', incomingEmailCategory=' + this.incomingEmailCategory + ', name=' + this.name + ', responsible=' + this.responsible.toString() + ', responsiblePerson=' + toString_0(this.responsiblePerson) + ', staffManaged=' + this.staffManaged + ', template=' + this.template + ')';
|
|
21927
22005
|
};
|
|
21928
22006
|
protoOf(SecureConversationCategory).hashCode = function () {
|
|
21929
22007
|
var result = hashCode(this.coResponsibleIds);
|
|
21930
22008
|
result = imul(result, 31) + (this.coResponsiblePersons == null ? 0 : hashCode(this.coResponsiblePersons)) | 0;
|
|
21931
22009
|
result = imul(result, 31) + (this.color == null ? 0 : this.color.hashCode()) | 0;
|
|
21932
22010
|
result = imul(result, 31) + getBooleanHashCode(this.contactCategory) | 0;
|
|
22011
|
+
result = imul(result, 31) + (this.editable == null ? 0 : getBooleanHashCode(this.editable)) | 0;
|
|
21933
22012
|
result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
|
|
21934
22013
|
result = imul(result, 31) + getBooleanHashCode(this.inUse) | 0;
|
|
21935
22014
|
result = imul(result, 31) + getBooleanHashCode(this.incomingEmailCategory) | 0;
|
|
21936
22015
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
21937
22016
|
result = imul(result, 31) + getBigIntHashCode(this.responsible) | 0;
|
|
21938
22017
|
result = imul(result, 31) + (this.responsiblePerson == null ? 0 : this.responsiblePerson.hashCode()) | 0;
|
|
22018
|
+
result = imul(result, 31) + (this.staffManaged == null ? 0 : getBooleanHashCode(this.staffManaged)) | 0;
|
|
21939
22019
|
result = imul(result, 31) + (this.template == null ? 0 : getStringHashCode(this.template)) | 0;
|
|
21940
22020
|
return result;
|
|
21941
22021
|
};
|
|
@@ -21952,6 +22032,8 @@ protoOf(SecureConversationCategory).equals = function (other) {
|
|
|
21952
22032
|
return false;
|
|
21953
22033
|
if (!(this.contactCategory === other.contactCategory))
|
|
21954
22034
|
return false;
|
|
22035
|
+
if (!(this.editable == other.editable))
|
|
22036
|
+
return false;
|
|
21955
22037
|
if (!(this.id === other.id))
|
|
21956
22038
|
return false;
|
|
21957
22039
|
if (!(this.inUse === other.inUse))
|
|
@@ -21964,6 +22046,8 @@ protoOf(SecureConversationCategory).equals = function (other) {
|
|
|
21964
22046
|
return false;
|
|
21965
22047
|
if (!equals(this.responsiblePerson, other.responsiblePerson))
|
|
21966
22048
|
return false;
|
|
22049
|
+
if (!(this.staffManaged == other.staffManaged))
|
|
22050
|
+
return false;
|
|
21967
22051
|
if (!(this.template == other.template))
|
|
21968
22052
|
return false;
|
|
21969
22053
|
return true;
|
|
@@ -21983,7 +22067,7 @@ function Companion_50() {
|
|
|
21983
22067
|
// Inline function 'kotlin.arrayOf' call
|
|
21984
22068
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
21985
22069
|
// Inline function 'kotlin.js.asDynamic' call
|
|
21986
|
-
tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, UpdateConversationCategoryCommand$Companion$$childSerializers$_anonymous__ynys8n_0), null, null, null, null, null];
|
|
22070
|
+
tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, UpdateConversationCategoryCommand$Companion$$childSerializers$_anonymous__ynys8n_0), null, null, null, null, null, null];
|
|
21987
22071
|
}
|
|
21988
22072
|
var Companion_instance_51;
|
|
21989
22073
|
function Companion_getInstance_57() {
|
|
@@ -21993,13 +22077,14 @@ function Companion_getInstance_57() {
|
|
|
21993
22077
|
}
|
|
21994
22078
|
function $serializer_42() {
|
|
21995
22079
|
$serializer_instance_42 = this;
|
|
21996
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateConversationCategoryCommand', this,
|
|
22080
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateConversationCategoryCommand', this, 8);
|
|
21997
22081
|
tmp0_serialDesc.addElement_5pzumi_k$('coResponsibleIds', true);
|
|
21998
22082
|
tmp0_serialDesc.addElement_5pzumi_k$('color', true);
|
|
21999
22083
|
tmp0_serialDesc.addElement_5pzumi_k$('contactCategory', true);
|
|
22000
22084
|
tmp0_serialDesc.addElement_5pzumi_k$('description', true);
|
|
22001
22085
|
tmp0_serialDesc.addElement_5pzumi_k$('name', false);
|
|
22002
22086
|
tmp0_serialDesc.addElement_5pzumi_k$('responsible', true);
|
|
22087
|
+
tmp0_serialDesc.addElement_5pzumi_k$('staffManaged', true);
|
|
22003
22088
|
tmp0_serialDesc.addElement_5pzumi_k$('template', true);
|
|
22004
22089
|
this.descriptor_1 = tmp0_serialDesc;
|
|
22005
22090
|
}
|
|
@@ -22023,8 +22108,11 @@ protoOf($serializer_42).serialize_dhrgcf_k$ = function (encoder, value) {
|
|
|
22023
22108
|
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.responsible == null)) {
|
|
22024
22109
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, LongSerializer_getInstance(), value.responsible);
|
|
22025
22110
|
}
|
|
22026
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.
|
|
22027
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6,
|
|
22111
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.staffManaged == null)) {
|
|
22112
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), value.staffManaged);
|
|
22113
|
+
}
|
|
22114
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.template == null)) {
|
|
22115
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, StringSerializer_getInstance(), value.template);
|
|
22028
22116
|
}
|
|
22029
22117
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
22030
22118
|
};
|
|
@@ -22043,64 +22131,71 @@ protoOf($serializer_42).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
22043
22131
|
var tmp8_local4 = null;
|
|
22044
22132
|
var tmp9_local5 = null;
|
|
22045
22133
|
var tmp10_local6 = null;
|
|
22046
|
-
var
|
|
22047
|
-
var
|
|
22048
|
-
|
|
22049
|
-
|
|
22134
|
+
var tmp11_local7 = null;
|
|
22135
|
+
var tmp12_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
22136
|
+
var tmp13_cached = Companion_getInstance_57().$childSerializers_1;
|
|
22137
|
+
if (tmp12_input.decodeSequentially_xlblqy_k$()) {
|
|
22138
|
+
tmp4_local0 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp13_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
22050
22139
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
22051
|
-
tmp5_local1 =
|
|
22140
|
+
tmp5_local1 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp13_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
22052
22141
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
22053
|
-
tmp6_local2 =
|
|
22142
|
+
tmp6_local2 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
22054
22143
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
22055
|
-
tmp7_local3 =
|
|
22144
|
+
tmp7_local3 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
22056
22145
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
22057
|
-
tmp8_local4 =
|
|
22146
|
+
tmp8_local4 = tmp12_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
|
|
22058
22147
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
22059
|
-
tmp9_local5 =
|
|
22148
|
+
tmp9_local5 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
|
|
22060
22149
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
22061
|
-
tmp10_local6 =
|
|
22150
|
+
tmp10_local6 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), tmp10_local6);
|
|
22062
22151
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
22152
|
+
tmp11_local7 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
22153
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
22063
22154
|
} else
|
|
22064
22155
|
while (tmp1_flag) {
|
|
22065
|
-
tmp2_index =
|
|
22156
|
+
tmp2_index = tmp12_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
22066
22157
|
switch (tmp2_index) {
|
|
22067
22158
|
case -1:
|
|
22068
22159
|
tmp1_flag = false;
|
|
22069
22160
|
break;
|
|
22070
22161
|
case 0:
|
|
22071
|
-
tmp4_local0 =
|
|
22162
|
+
tmp4_local0 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp13_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
22072
22163
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
22073
22164
|
break;
|
|
22074
22165
|
case 1:
|
|
22075
|
-
tmp5_local1 =
|
|
22166
|
+
tmp5_local1 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp13_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
22076
22167
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
22077
22168
|
break;
|
|
22078
22169
|
case 2:
|
|
22079
|
-
tmp6_local2 =
|
|
22170
|
+
tmp6_local2 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
22080
22171
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
22081
22172
|
break;
|
|
22082
22173
|
case 3:
|
|
22083
|
-
tmp7_local3 =
|
|
22174
|
+
tmp7_local3 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
22084
22175
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
22085
22176
|
break;
|
|
22086
22177
|
case 4:
|
|
22087
|
-
tmp8_local4 =
|
|
22178
|
+
tmp8_local4 = tmp12_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
|
|
22088
22179
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
22089
22180
|
break;
|
|
22090
22181
|
case 5:
|
|
22091
|
-
tmp9_local5 =
|
|
22182
|
+
tmp9_local5 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
|
|
22092
22183
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
22093
22184
|
break;
|
|
22094
22185
|
case 6:
|
|
22095
|
-
tmp10_local6 =
|
|
22186
|
+
tmp10_local6 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), tmp10_local6);
|
|
22096
22187
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
22097
22188
|
break;
|
|
22189
|
+
case 7:
|
|
22190
|
+
tmp11_local7 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
22191
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
22192
|
+
break;
|
|
22098
22193
|
default:
|
|
22099
22194
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
22100
22195
|
}
|
|
22101
22196
|
}
|
|
22102
|
-
|
|
22103
|
-
return UpdateConversationCategoryCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
22197
|
+
tmp12_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
22198
|
+
return UpdateConversationCategoryCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
22104
22199
|
};
|
|
22105
22200
|
protoOf($serializer_42).get_descriptor_wjt6a0_k$ = function () {
|
|
22106
22201
|
return this.descriptor_1;
|
|
@@ -22110,7 +22205,7 @@ protoOf($serializer_42).childSerializers_5ghqw5_k$ = function () {
|
|
|
22110
22205
|
// Inline function 'kotlin.arrayOf' call
|
|
22111
22206
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
22112
22207
|
// Inline function 'kotlin.js.asDynamic' call
|
|
22113
|
-
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
22208
|
+
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
22114
22209
|
};
|
|
22115
22210
|
var $serializer_instance_42;
|
|
22116
22211
|
function $serializer_getInstance_51() {
|
|
@@ -22118,7 +22213,7 @@ function $serializer_getInstance_51() {
|
|
|
22118
22213
|
new $serializer_42();
|
|
22119
22214
|
return $serializer_instance_42;
|
|
22120
22215
|
}
|
|
22121
|
-
function UpdateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, template, serializationConstructorMarker, $this) {
|
|
22216
|
+
function UpdateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template, serializationConstructorMarker, $this) {
|
|
22122
22217
|
if (!(16 === (16 & seen0))) {
|
|
22123
22218
|
throwMissingFieldException(seen0, 16, $serializer_getInstance_51().descriptor_1);
|
|
22124
22219
|
}
|
|
@@ -22144,15 +22239,19 @@ function UpdateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds,
|
|
|
22144
22239
|
else
|
|
22145
22240
|
$this.responsible = responsible;
|
|
22146
22241
|
if (0 === (seen0 & 64))
|
|
22242
|
+
$this.staffManaged = null;
|
|
22243
|
+
else
|
|
22244
|
+
$this.staffManaged = staffManaged;
|
|
22245
|
+
if (0 === (seen0 & 128))
|
|
22147
22246
|
$this.template = null;
|
|
22148
22247
|
else
|
|
22149
22248
|
$this.template = template;
|
|
22150
22249
|
return $this;
|
|
22151
22250
|
}
|
|
22152
|
-
function UpdateConversationCategoryCommand_init_$Create$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, template, serializationConstructorMarker) {
|
|
22153
|
-
return UpdateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, template, serializationConstructorMarker, objectCreate(protoOf(UpdateConversationCategoryCommand)));
|
|
22251
|
+
function UpdateConversationCategoryCommand_init_$Create$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template, serializationConstructorMarker) {
|
|
22252
|
+
return UpdateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template, serializationConstructorMarker, objectCreate(protoOf(UpdateConversationCategoryCommand)));
|
|
22154
22253
|
}
|
|
22155
|
-
function UpdateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, name, responsible, template) {
|
|
22254
|
+
function UpdateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template) {
|
|
22156
22255
|
var __soliboProps = arguments.length === 1 && typeof coResponsibleIds === 'object' && coResponsibleIds !== null && coResponsibleIds.constructor === Object;
|
|
22157
22256
|
var __soliboTmp, __soliboConverted = false;
|
|
22158
22257
|
if (__soliboProps) {
|
|
@@ -22163,6 +22262,7 @@ function UpdateConversationCategoryCommand(coResponsibleIds, color, contactCateg
|
|
|
22163
22262
|
description = ('description' in props ? props.description : VOID);
|
|
22164
22263
|
name = ('name' in props ? props.name : VOID);
|
|
22165
22264
|
responsible = ('responsible' in props ? props.responsible : VOID);
|
|
22265
|
+
staffManaged = ('staffManaged' in props ? props.staffManaged : VOID);
|
|
22166
22266
|
template = ('template' in props ? props.template : VOID);
|
|
22167
22267
|
}
|
|
22168
22268
|
if ((__soliboTmp = __soliboToKt(coResponsibleIds, ["list",["bigint"]])) !== coResponsibleIds) { coResponsibleIds = __soliboTmp; __soliboConverted = true; }
|
|
@@ -22174,6 +22274,7 @@ function UpdateConversationCategoryCommand(coResponsibleIds, color, contactCateg
|
|
|
22174
22274
|
contactCategory = contactCategory === VOID ? null : contactCategory;
|
|
22175
22275
|
description = description === VOID ? null : description;
|
|
22176
22276
|
responsible = responsible === VOID ? null : responsible;
|
|
22277
|
+
staffManaged = staffManaged === VOID ? null : staffManaged;
|
|
22177
22278
|
template = template === VOID ? null : template;
|
|
22178
22279
|
this.coResponsibleIds = coResponsibleIds;
|
|
22179
22280
|
this.color = color;
|
|
@@ -22181,6 +22282,7 @@ function UpdateConversationCategoryCommand(coResponsibleIds, color, contactCateg
|
|
|
22181
22282
|
this.description = description;
|
|
22182
22283
|
this.name = name;
|
|
22183
22284
|
this.responsible = responsible;
|
|
22285
|
+
this.staffManaged = staffManaged;
|
|
22184
22286
|
this.template = template;
|
|
22185
22287
|
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
22186
22288
|
}
|
|
@@ -22202,6 +22304,9 @@ protoOf(UpdateConversationCategoryCommand).get_name_woqyms_k$ = function () {
|
|
|
22202
22304
|
protoOf(UpdateConversationCategoryCommand).get_responsible_qkuq9f_k$ = function () {
|
|
22203
22305
|
return this.responsible;
|
|
22204
22306
|
};
|
|
22307
|
+
protoOf(UpdateConversationCategoryCommand).get_staffManaged_sol7h4_k$ = function () {
|
|
22308
|
+
return this.staffManaged;
|
|
22309
|
+
};
|
|
22205
22310
|
protoOf(UpdateConversationCategoryCommand).get_template_hdczer_k$ = function () {
|
|
22206
22311
|
return this.template;
|
|
22207
22312
|
};
|
|
@@ -22224,23 +22329,27 @@ protoOf(UpdateConversationCategoryCommand).component6_7eebs7_k$ = function () {
|
|
|
22224
22329
|
return this.responsible;
|
|
22225
22330
|
};
|
|
22226
22331
|
protoOf(UpdateConversationCategoryCommand).component7_7eebs6_k$ = function () {
|
|
22332
|
+
return this.staffManaged;
|
|
22333
|
+
};
|
|
22334
|
+
protoOf(UpdateConversationCategoryCommand).component8_7eebs5_k$ = function () {
|
|
22227
22335
|
return this.template;
|
|
22228
22336
|
};
|
|
22229
|
-
protoOf(UpdateConversationCategoryCommand).
|
|
22230
|
-
return new UpdateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, name, responsible, template);
|
|
22337
|
+
protoOf(UpdateConversationCategoryCommand).copy_tl15xp_k$ = function (coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template) {
|
|
22338
|
+
return new UpdateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template);
|
|
22231
22339
|
};
|
|
22232
|
-
protoOf(UpdateConversationCategoryCommand).copy = function (coResponsibleIds, color, contactCategory, description, name, responsible, template, $super) {
|
|
22340
|
+
protoOf(UpdateConversationCategoryCommand).copy = function (coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template, $super) {
|
|
22233
22341
|
coResponsibleIds = coResponsibleIds === VOID ? this.coResponsibleIds : coResponsibleIds;
|
|
22234
22342
|
color = color === VOID ? this.color : color;
|
|
22235
22343
|
contactCategory = contactCategory === VOID ? this.contactCategory : contactCategory;
|
|
22236
22344
|
description = description === VOID ? this.description : description;
|
|
22237
22345
|
name = name === VOID ? this.name : name;
|
|
22238
22346
|
responsible = responsible === VOID ? this.responsible : responsible;
|
|
22347
|
+
staffManaged = staffManaged === VOID ? this.staffManaged : staffManaged;
|
|
22239
22348
|
template = template === VOID ? this.template : template;
|
|
22240
|
-
return $super === VOID ? this.
|
|
22349
|
+
return $super === VOID ? this.copy_tl15xp_k$(coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template) : $super.copy_tl15xp_k$.call(this, coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template);
|
|
22241
22350
|
};
|
|
22242
22351
|
protoOf(UpdateConversationCategoryCommand).toString = function () {
|
|
22243
|
-
return 'UpdateConversationCategoryCommand(coResponsibleIds=' + toString_0(this.coResponsibleIds) + ', color=' + toString_0(this.color) + ', contactCategory=' + this.contactCategory + ', description=' + this.description + ', name=' + this.name + ', responsible=' + toString_0(this.responsible) + ', template=' + this.template + ')';
|
|
22352
|
+
return 'UpdateConversationCategoryCommand(coResponsibleIds=' + toString_0(this.coResponsibleIds) + ', color=' + toString_0(this.color) + ', contactCategory=' + this.contactCategory + ', description=' + this.description + ', name=' + this.name + ', responsible=' + toString_0(this.responsible) + ', staffManaged=' + this.staffManaged + ', template=' + this.template + ')';
|
|
22244
22353
|
};
|
|
22245
22354
|
protoOf(UpdateConversationCategoryCommand).hashCode = function () {
|
|
22246
22355
|
var result = this.coResponsibleIds == null ? 0 : hashCode(this.coResponsibleIds);
|
|
@@ -22249,6 +22358,7 @@ protoOf(UpdateConversationCategoryCommand).hashCode = function () {
|
|
|
22249
22358
|
result = imul(result, 31) + (this.description == null ? 0 : getStringHashCode(this.description)) | 0;
|
|
22250
22359
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
22251
22360
|
result = imul(result, 31) + (this.responsible == null ? 0 : getBigIntHashCode(this.responsible)) | 0;
|
|
22361
|
+
result = imul(result, 31) + (this.staffManaged == null ? 0 : getBooleanHashCode(this.staffManaged)) | 0;
|
|
22252
22362
|
result = imul(result, 31) + (this.template == null ? 0 : getStringHashCode(this.template)) | 0;
|
|
22253
22363
|
return result;
|
|
22254
22364
|
};
|
|
@@ -22269,6 +22379,8 @@ protoOf(UpdateConversationCategoryCommand).equals = function (other) {
|
|
|
22269
22379
|
return false;
|
|
22270
22380
|
if (!(this.responsible == other.responsible))
|
|
22271
22381
|
return false;
|
|
22382
|
+
if (!(this.staffManaged == other.staffManaged))
|
|
22383
|
+
return false;
|
|
22272
22384
|
if (!(this.template == other.template))
|
|
22273
22385
|
return false;
|
|
22274
22386
|
return true;
|