@solibo/home-api 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/kotlin-kotlin-stdlib.mjs +4 -4
- package/kotlinx-coroutines-core.mjs +7 -7
- 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 +242 -134
- package/solibo-sdk-sdk-api-conversation.mjs.map +1 -1
- package/solibo-sdk-sdk-api-expense.mjs +452 -152
- package/solibo-sdk-sdk-api-expense.mjs.map +1 -1
- package/solibo-sdk-sdk-api-homepage.mjs +170 -0
- package/solibo-sdk-sdk-api-homepage.mjs.map +1 -1
- package/solibo-sdk-sdk-core.mjs +3 -3
- package/solibo-sdk-sdk-home-api.d.mts +30 -8
|
@@ -16019,7 +16019,7 @@ function Companion_24() {
|
|
|
16019
16019
|
// Inline function 'kotlin.arrayOf' call
|
|
16020
16020
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
16021
16021
|
// Inline function 'kotlin.js.asDynamic' call
|
|
16022
|
-
tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, CreateConversationCategoryCommand$Companion$$childSerializers$_anonymous__s9efz8_0), null, null, null, null, null, null];
|
|
16022
|
+
tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, CreateConversationCategoryCommand$Companion$$childSerializers$_anonymous__s9efz8_0), null, null, null, null, null, null, null];
|
|
16023
16023
|
}
|
|
16024
16024
|
var Companion_instance_25;
|
|
16025
16025
|
function Companion_getInstance_31() {
|
|
@@ -16029,7 +16029,7 @@ function Companion_getInstance_31() {
|
|
|
16029
16029
|
}
|
|
16030
16030
|
function $serializer_16() {
|
|
16031
16031
|
$serializer_instance_16 = this;
|
|
16032
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateConversationCategoryCommand', this,
|
|
16032
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateConversationCategoryCommand', this, 9);
|
|
16033
16033
|
tmp0_serialDesc.addElement_5pzumi_k$('coResponsibleIds', true);
|
|
16034
16034
|
tmp0_serialDesc.addElement_5pzumi_k$('color', true);
|
|
16035
16035
|
tmp0_serialDesc.addElement_5pzumi_k$('contactCategory', true);
|
|
@@ -16037,6 +16037,7 @@ function $serializer_16() {
|
|
|
16037
16037
|
tmp0_serialDesc.addElement_5pzumi_k$('incomingEmailCategory', true);
|
|
16038
16038
|
tmp0_serialDesc.addElement_5pzumi_k$('name', false);
|
|
16039
16039
|
tmp0_serialDesc.addElement_5pzumi_k$('responsible', false);
|
|
16040
|
+
tmp0_serialDesc.addElement_5pzumi_k$('staffManaged', true);
|
|
16040
16041
|
tmp0_serialDesc.addElement_5pzumi_k$('template', true);
|
|
16041
16042
|
this.descriptor_1 = tmp0_serialDesc;
|
|
16042
16043
|
}
|
|
@@ -16061,8 +16062,11 @@ protoOf($serializer_16).serialize_4uae0k_k$ = function (encoder, value) {
|
|
|
16061
16062
|
}
|
|
16062
16063
|
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 5, value.name);
|
|
16063
16064
|
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 6, value.responsible);
|
|
16064
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.
|
|
16065
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7,
|
|
16065
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.staffManaged == null)) {
|
|
16066
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, BooleanSerializer_getInstance(), value.staffManaged);
|
|
16067
|
+
}
|
|
16068
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.template == null)) {
|
|
16069
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, StringSerializer_getInstance(), value.template);
|
|
16066
16070
|
}
|
|
16067
16071
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
16068
16072
|
};
|
|
@@ -16082,70 +16086,77 @@ protoOf($serializer_16).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
16082
16086
|
var tmp9_local5 = null;
|
|
16083
16087
|
var tmp10_local6 = 0n;
|
|
16084
16088
|
var tmp11_local7 = null;
|
|
16085
|
-
var
|
|
16086
|
-
var
|
|
16087
|
-
|
|
16088
|
-
|
|
16089
|
+
var tmp12_local8 = null;
|
|
16090
|
+
var tmp13_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
16091
|
+
var tmp14_cached = Companion_getInstance_31().$childSerializers_1;
|
|
16092
|
+
if (tmp13_input.decodeSequentially_xlblqy_k$()) {
|
|
16093
|
+
tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
16089
16094
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
16090
|
-
tmp5_local1 =
|
|
16095
|
+
tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
16091
16096
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
16092
|
-
tmp6_local2 =
|
|
16097
|
+
tmp6_local2 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
16093
16098
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
16094
|
-
tmp7_local3 =
|
|
16099
|
+
tmp7_local3 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
16095
16100
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
16096
|
-
tmp8_local4 =
|
|
16101
|
+
tmp8_local4 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
16097
16102
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
16098
|
-
tmp9_local5 =
|
|
16103
|
+
tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
16099
16104
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
16100
|
-
tmp10_local6 =
|
|
16105
|
+
tmp10_local6 = tmp13_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
|
|
16101
16106
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
16102
|
-
tmp11_local7 =
|
|
16107
|
+
tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
16103
16108
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
16109
|
+
tmp12_local8 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
16110
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
16104
16111
|
} else
|
|
16105
16112
|
while (tmp1_flag) {
|
|
16106
|
-
tmp2_index =
|
|
16113
|
+
tmp2_index = tmp13_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
16107
16114
|
switch (tmp2_index) {
|
|
16108
16115
|
case -1:
|
|
16109
16116
|
tmp1_flag = false;
|
|
16110
16117
|
break;
|
|
16111
16118
|
case 0:
|
|
16112
|
-
tmp4_local0 =
|
|
16119
|
+
tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
16113
16120
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
16114
16121
|
break;
|
|
16115
16122
|
case 1:
|
|
16116
|
-
tmp5_local1 =
|
|
16123
|
+
tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
16117
16124
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
16118
16125
|
break;
|
|
16119
16126
|
case 2:
|
|
16120
|
-
tmp6_local2 =
|
|
16127
|
+
tmp6_local2 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
16121
16128
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
16122
16129
|
break;
|
|
16123
16130
|
case 3:
|
|
16124
|
-
tmp7_local3 =
|
|
16131
|
+
tmp7_local3 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
16125
16132
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
16126
16133
|
break;
|
|
16127
16134
|
case 4:
|
|
16128
|
-
tmp8_local4 =
|
|
16135
|
+
tmp8_local4 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
16129
16136
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
16130
16137
|
break;
|
|
16131
16138
|
case 5:
|
|
16132
|
-
tmp9_local5 =
|
|
16139
|
+
tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
16133
16140
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
16134
16141
|
break;
|
|
16135
16142
|
case 6:
|
|
16136
|
-
tmp10_local6 =
|
|
16143
|
+
tmp10_local6 = tmp13_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
|
|
16137
16144
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
16138
16145
|
break;
|
|
16139
16146
|
case 7:
|
|
16140
|
-
tmp11_local7 =
|
|
16147
|
+
tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
16141
16148
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
16142
16149
|
break;
|
|
16150
|
+
case 8:
|
|
16151
|
+
tmp12_local8 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
16152
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
16153
|
+
break;
|
|
16143
16154
|
default:
|
|
16144
16155
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
16145
16156
|
}
|
|
16146
16157
|
}
|
|
16147
|
-
|
|
16148
|
-
return CreateConversationCategoryCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
16158
|
+
tmp13_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
16159
|
+
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);
|
|
16149
16160
|
};
|
|
16150
16161
|
protoOf($serializer_16).get_descriptor_wjt6a0_k$ = function () {
|
|
16151
16162
|
return this.descriptor_1;
|
|
@@ -16155,7 +16166,7 @@ protoOf($serializer_16).childSerializers_5ghqw5_k$ = function () {
|
|
|
16155
16166
|
// Inline function 'kotlin.arrayOf' call
|
|
16156
16167
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
16157
16168
|
// Inline function 'kotlin.js.asDynamic' call
|
|
16158
|
-
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())];
|
|
16169
|
+
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())];
|
|
16159
16170
|
};
|
|
16160
16171
|
var $serializer_instance_16;
|
|
16161
16172
|
function $serializer_getInstance_25() {
|
|
@@ -16163,7 +16174,7 @@ function $serializer_getInstance_25() {
|
|
|
16163
16174
|
new $serializer_16();
|
|
16164
16175
|
return $serializer_instance_16;
|
|
16165
16176
|
}
|
|
16166
|
-
function CreateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template, serializationConstructorMarker, $this) {
|
|
16177
|
+
function CreateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template, serializationConstructorMarker, $this) {
|
|
16167
16178
|
if (!(96 === (96 & seen0))) {
|
|
16168
16179
|
throwMissingFieldException(seen0, 96, $serializer_getInstance_25().descriptor_1);
|
|
16169
16180
|
}
|
|
@@ -16190,21 +16201,26 @@ function CreateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds,
|
|
|
16190
16201
|
$this.name = name;
|
|
16191
16202
|
$this.responsible = responsible;
|
|
16192
16203
|
if (0 === (seen0 & 128))
|
|
16204
|
+
$this.staffManaged = null;
|
|
16205
|
+
else
|
|
16206
|
+
$this.staffManaged = staffManaged;
|
|
16207
|
+
if (0 === (seen0 & 256))
|
|
16193
16208
|
$this.template = null;
|
|
16194
16209
|
else
|
|
16195
16210
|
$this.template = template;
|
|
16196
16211
|
return $this;
|
|
16197
16212
|
}
|
|
16198
|
-
function CreateConversationCategoryCommand_init_$Create$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template, serializationConstructorMarker) {
|
|
16199
|
-
return CreateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template, serializationConstructorMarker, objectCreate(protoOf(CreateConversationCategoryCommand)));
|
|
16213
|
+
function CreateConversationCategoryCommand_init_$Create$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template, serializationConstructorMarker) {
|
|
16214
|
+
return CreateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template, serializationConstructorMarker, objectCreate(protoOf(CreateConversationCategoryCommand)));
|
|
16200
16215
|
}
|
|
16201
|
-
function CreateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template) {
|
|
16216
|
+
function CreateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template) {
|
|
16202
16217
|
Companion_getInstance_31();
|
|
16203
16218
|
coResponsibleIds = coResponsibleIds === VOID ? null : coResponsibleIds;
|
|
16204
16219
|
color = color === VOID ? null : color;
|
|
16205
16220
|
contactCategory = contactCategory === VOID ? null : contactCategory;
|
|
16206
16221
|
description = description === VOID ? null : description;
|
|
16207
16222
|
incomingEmailCategory = incomingEmailCategory === VOID ? null : incomingEmailCategory;
|
|
16223
|
+
staffManaged = staffManaged === VOID ? null : staffManaged;
|
|
16208
16224
|
template = template === VOID ? null : template;
|
|
16209
16225
|
this.coResponsibleIds = coResponsibleIds;
|
|
16210
16226
|
this.color = color;
|
|
@@ -16213,6 +16229,7 @@ function CreateConversationCategoryCommand(coResponsibleIds, color, contactCateg
|
|
|
16213
16229
|
this.incomingEmailCategory = incomingEmailCategory;
|
|
16214
16230
|
this.name = name;
|
|
16215
16231
|
this.responsible = responsible;
|
|
16232
|
+
this.staffManaged = staffManaged;
|
|
16216
16233
|
this.template = template;
|
|
16217
16234
|
}
|
|
16218
16235
|
protoOf(CreateConversationCategoryCommand).get_coResponsibleIds_hpc4zb_k$ = function () {
|
|
@@ -16236,6 +16253,9 @@ protoOf(CreateConversationCategoryCommand).get_name_woqyms_k$ = function () {
|
|
|
16236
16253
|
protoOf(CreateConversationCategoryCommand).get_responsible_qkuq9f_k$ = function () {
|
|
16237
16254
|
return this.responsible;
|
|
16238
16255
|
};
|
|
16256
|
+
protoOf(CreateConversationCategoryCommand).get_staffManaged_sol7h4_k$ = function () {
|
|
16257
|
+
return this.staffManaged;
|
|
16258
|
+
};
|
|
16239
16259
|
protoOf(CreateConversationCategoryCommand).get_template_hdczer_k$ = function () {
|
|
16240
16260
|
return this.template;
|
|
16241
16261
|
};
|
|
@@ -16261,12 +16281,15 @@ protoOf(CreateConversationCategoryCommand).component7_7eebs6_k$ = function () {
|
|
|
16261
16281
|
return this.responsible;
|
|
16262
16282
|
};
|
|
16263
16283
|
protoOf(CreateConversationCategoryCommand).component8_7eebs5_k$ = function () {
|
|
16284
|
+
return this.staffManaged;
|
|
16285
|
+
};
|
|
16286
|
+
protoOf(CreateConversationCategoryCommand).component9_7eebs4_k$ = function () {
|
|
16264
16287
|
return this.template;
|
|
16265
16288
|
};
|
|
16266
|
-
protoOf(CreateConversationCategoryCommand).
|
|
16267
|
-
return new CreateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template);
|
|
16289
|
+
protoOf(CreateConversationCategoryCommand).copy_sc822c_k$ = function (coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template) {
|
|
16290
|
+
return new CreateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template);
|
|
16268
16291
|
};
|
|
16269
|
-
protoOf(CreateConversationCategoryCommand).copy = function (coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, template, $super) {
|
|
16292
|
+
protoOf(CreateConversationCategoryCommand).copy = function (coResponsibleIds, color, contactCategory, description, incomingEmailCategory, name, responsible, staffManaged, template, $super) {
|
|
16270
16293
|
coResponsibleIds = coResponsibleIds === VOID ? this.coResponsibleIds : coResponsibleIds;
|
|
16271
16294
|
color = color === VOID ? this.color : color;
|
|
16272
16295
|
contactCategory = contactCategory === VOID ? this.contactCategory : contactCategory;
|
|
@@ -16274,11 +16297,12 @@ protoOf(CreateConversationCategoryCommand).copy = function (coResponsibleIds, co
|
|
|
16274
16297
|
incomingEmailCategory = incomingEmailCategory === VOID ? this.incomingEmailCategory : incomingEmailCategory;
|
|
16275
16298
|
name = name === VOID ? this.name : name;
|
|
16276
16299
|
responsible = responsible === VOID ? this.responsible : responsible;
|
|
16300
|
+
staffManaged = staffManaged === VOID ? this.staffManaged : staffManaged;
|
|
16277
16301
|
template = template === VOID ? this.template : template;
|
|
16278
|
-
return $super === VOID ? this.
|
|
16302
|
+
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);
|
|
16279
16303
|
};
|
|
16280
16304
|
protoOf(CreateConversationCategoryCommand).toString = function () {
|
|
16281
|
-
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 + ')';
|
|
16305
|
+
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 + ')';
|
|
16282
16306
|
};
|
|
16283
16307
|
protoOf(CreateConversationCategoryCommand).hashCode = function () {
|
|
16284
16308
|
var result = this.coResponsibleIds == null ? 0 : hashCode(this.coResponsibleIds);
|
|
@@ -16288,6 +16312,7 @@ protoOf(CreateConversationCategoryCommand).hashCode = function () {
|
|
|
16288
16312
|
result = imul(result, 31) + (this.incomingEmailCategory == null ? 0 : getBooleanHashCode(this.incomingEmailCategory)) | 0;
|
|
16289
16313
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
16290
16314
|
result = imul(result, 31) + getBigIntHashCode(this.responsible) | 0;
|
|
16315
|
+
result = imul(result, 31) + (this.staffManaged == null ? 0 : getBooleanHashCode(this.staffManaged)) | 0;
|
|
16291
16316
|
result = imul(result, 31) + (this.template == null ? 0 : getStringHashCode(this.template)) | 0;
|
|
16292
16317
|
return result;
|
|
16293
16318
|
};
|
|
@@ -16310,6 +16335,8 @@ protoOf(CreateConversationCategoryCommand).equals = function (other) {
|
|
|
16310
16335
|
return false;
|
|
16311
16336
|
if (!(this.responsible === other.responsible))
|
|
16312
16337
|
return false;
|
|
16338
|
+
if (!(this.staffManaged == other.staffManaged))
|
|
16339
|
+
return false;
|
|
16313
16340
|
if (!(this.template == other.template))
|
|
16314
16341
|
return false;
|
|
16315
16342
|
return true;
|
|
@@ -21012,7 +21039,7 @@ function Companion_49() {
|
|
|
21012
21039
|
// Inline function 'kotlin.arrayOf' call
|
|
21013
21040
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
21014
21041
|
// Inline function 'kotlin.js.asDynamic' call
|
|
21015
|
-
tmp.$childSerializers_1 = [tmp_1, tmp_3, lazy(tmp_4, SecureConversationCategory$Companion$$childSerializers$_anonymous__mjqv02_1), null, null, null, null, null, null, null, null];
|
|
21042
|
+
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];
|
|
21016
21043
|
}
|
|
21017
21044
|
var Companion_instance_50;
|
|
21018
21045
|
function Companion_getInstance_56() {
|
|
@@ -21022,17 +21049,19 @@ function Companion_getInstance_56() {
|
|
|
21022
21049
|
}
|
|
21023
21050
|
function $serializer_41() {
|
|
21024
21051
|
$serializer_instance_41 = this;
|
|
21025
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.SecureConversationCategory', this,
|
|
21052
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.SecureConversationCategory', this, 13);
|
|
21026
21053
|
tmp0_serialDesc.addElement_5pzumi_k$('coResponsibleIds', false);
|
|
21027
21054
|
tmp0_serialDesc.addElement_5pzumi_k$('coResponsiblePersons', true);
|
|
21028
21055
|
tmp0_serialDesc.addElement_5pzumi_k$('color', true);
|
|
21029
21056
|
tmp0_serialDesc.addElement_5pzumi_k$('contactCategory', false);
|
|
21057
|
+
tmp0_serialDesc.addElement_5pzumi_k$('editable', true);
|
|
21030
21058
|
tmp0_serialDesc.addElement_5pzumi_k$('id', false);
|
|
21031
21059
|
tmp0_serialDesc.addElement_5pzumi_k$('inUse', false);
|
|
21032
21060
|
tmp0_serialDesc.addElement_5pzumi_k$('incomingEmailCategory', false);
|
|
21033
21061
|
tmp0_serialDesc.addElement_5pzumi_k$('name', false);
|
|
21034
21062
|
tmp0_serialDesc.addElement_5pzumi_k$('responsible', false);
|
|
21035
21063
|
tmp0_serialDesc.addElement_5pzumi_k$('responsiblePerson', true);
|
|
21064
|
+
tmp0_serialDesc.addElement_5pzumi_k$('staffManaged', true);
|
|
21036
21065
|
tmp0_serialDesc.addElement_5pzumi_k$('template', true);
|
|
21037
21066
|
this.descriptor_1 = tmp0_serialDesc;
|
|
21038
21067
|
}
|
|
@@ -21048,16 +21077,22 @@ protoOf($serializer_41).serialize_kkm2k4_k$ = function (encoder, value) {
|
|
|
21048
21077
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.color);
|
|
21049
21078
|
}
|
|
21050
21079
|
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 3, value.contactCategory);
|
|
21051
|
-
tmp1_output.
|
|
21052
|
-
|
|
21053
|
-
|
|
21054
|
-
tmp1_output.
|
|
21055
|
-
tmp1_output.
|
|
21056
|
-
|
|
21057
|
-
|
|
21080
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.editable == null)) {
|
|
21081
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), value.editable);
|
|
21082
|
+
}
|
|
21083
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 5, value.id);
|
|
21084
|
+
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 6, value.inUse);
|
|
21085
|
+
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 7, value.incomingEmailCategory);
|
|
21086
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 8, value.name);
|
|
21087
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 9, value.responsible);
|
|
21088
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.responsiblePerson == null)) {
|
|
21089
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, $serializer_getInstance(), value.responsiblePerson);
|
|
21090
|
+
}
|
|
21091
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.staffManaged == null)) {
|
|
21092
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, BooleanSerializer_getInstance(), value.staffManaged);
|
|
21058
21093
|
}
|
|
21059
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
21060
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
21094
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.template == null)) {
|
|
21095
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, StringSerializer_getInstance(), value.template);
|
|
21061
21096
|
}
|
|
21062
21097
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
21063
21098
|
};
|
|
@@ -21073,95 +21108,109 @@ protoOf($serializer_41).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
21073
21108
|
var tmp5_local1 = null;
|
|
21074
21109
|
var tmp6_local2 = null;
|
|
21075
21110
|
var tmp7_local3 = false;
|
|
21076
|
-
var tmp8_local4 =
|
|
21077
|
-
var tmp9_local5 =
|
|
21111
|
+
var tmp8_local4 = null;
|
|
21112
|
+
var tmp9_local5 = 0n;
|
|
21078
21113
|
var tmp10_local6 = false;
|
|
21079
|
-
var tmp11_local7 =
|
|
21080
|
-
var tmp12_local8 =
|
|
21081
|
-
var tmp13_local9 =
|
|
21114
|
+
var tmp11_local7 = false;
|
|
21115
|
+
var tmp12_local8 = null;
|
|
21116
|
+
var tmp13_local9 = 0n;
|
|
21082
21117
|
var tmp14_local10 = null;
|
|
21083
|
-
var
|
|
21084
|
-
var
|
|
21085
|
-
|
|
21086
|
-
|
|
21118
|
+
var tmp15_local11 = null;
|
|
21119
|
+
var tmp16_local12 = null;
|
|
21120
|
+
var tmp17_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
21121
|
+
var tmp18_cached = Companion_getInstance_56().$childSerializers_1;
|
|
21122
|
+
if (tmp17_input.decodeSequentially_xlblqy_k$()) {
|
|
21123
|
+
tmp4_local0 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, tmp18_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
21087
21124
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
21088
|
-
tmp5_local1 =
|
|
21125
|
+
tmp5_local1 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp18_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
21089
21126
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
21090
|
-
tmp6_local2 =
|
|
21127
|
+
tmp6_local2 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp18_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
21091
21128
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
21092
|
-
tmp7_local3 =
|
|
21129
|
+
tmp7_local3 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 3);
|
|
21093
21130
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
21094
|
-
tmp8_local4 =
|
|
21131
|
+
tmp8_local4 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
21095
21132
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
21096
|
-
tmp9_local5 =
|
|
21133
|
+
tmp9_local5 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
|
|
21097
21134
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
21098
|
-
tmp10_local6 =
|
|
21135
|
+
tmp10_local6 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 6);
|
|
21099
21136
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
21100
|
-
tmp11_local7 =
|
|
21137
|
+
tmp11_local7 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 7);
|
|
21101
21138
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
21102
|
-
tmp12_local8 =
|
|
21139
|
+
tmp12_local8 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
|
|
21103
21140
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
21104
|
-
tmp13_local9 =
|
|
21141
|
+
tmp13_local9 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 9);
|
|
21105
21142
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
21106
|
-
tmp14_local10 =
|
|
21143
|
+
tmp14_local10 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, $serializer_getInstance(), tmp14_local10);
|
|
21107
21144
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
21145
|
+
tmp15_local11 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
21146
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
21147
|
+
tmp16_local12 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
21148
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
21108
21149
|
} else
|
|
21109
21150
|
while (tmp1_flag) {
|
|
21110
|
-
tmp2_index =
|
|
21151
|
+
tmp2_index = tmp17_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
21111
21152
|
switch (tmp2_index) {
|
|
21112
21153
|
case -1:
|
|
21113
21154
|
tmp1_flag = false;
|
|
21114
21155
|
break;
|
|
21115
21156
|
case 0:
|
|
21116
|
-
tmp4_local0 =
|
|
21157
|
+
tmp4_local0 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, tmp18_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
21117
21158
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
21118
21159
|
break;
|
|
21119
21160
|
case 1:
|
|
21120
|
-
tmp5_local1 =
|
|
21161
|
+
tmp5_local1 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp18_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
21121
21162
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
21122
21163
|
break;
|
|
21123
21164
|
case 2:
|
|
21124
|
-
tmp6_local2 =
|
|
21165
|
+
tmp6_local2 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp18_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
21125
21166
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
21126
21167
|
break;
|
|
21127
21168
|
case 3:
|
|
21128
|
-
tmp7_local3 =
|
|
21169
|
+
tmp7_local3 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 3);
|
|
21129
21170
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
21130
21171
|
break;
|
|
21131
21172
|
case 4:
|
|
21132
|
-
tmp8_local4 =
|
|
21173
|
+
tmp8_local4 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
21133
21174
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
21134
21175
|
break;
|
|
21135
21176
|
case 5:
|
|
21136
|
-
tmp9_local5 =
|
|
21177
|
+
tmp9_local5 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
|
|
21137
21178
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
21138
21179
|
break;
|
|
21139
21180
|
case 6:
|
|
21140
|
-
tmp10_local6 =
|
|
21181
|
+
tmp10_local6 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 6);
|
|
21141
21182
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
21142
21183
|
break;
|
|
21143
21184
|
case 7:
|
|
21144
|
-
tmp11_local7 =
|
|
21185
|
+
tmp11_local7 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 7);
|
|
21145
21186
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
21146
21187
|
break;
|
|
21147
21188
|
case 8:
|
|
21148
|
-
tmp12_local8 =
|
|
21189
|
+
tmp12_local8 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
|
|
21149
21190
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
21150
21191
|
break;
|
|
21151
21192
|
case 9:
|
|
21152
|
-
tmp13_local9 =
|
|
21193
|
+
tmp13_local9 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 9);
|
|
21153
21194
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
21154
21195
|
break;
|
|
21155
21196
|
case 10:
|
|
21156
|
-
tmp14_local10 =
|
|
21197
|
+
tmp14_local10 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, $serializer_getInstance(), tmp14_local10);
|
|
21157
21198
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
21158
21199
|
break;
|
|
21200
|
+
case 11:
|
|
21201
|
+
tmp15_local11 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
21202
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
21203
|
+
break;
|
|
21204
|
+
case 12:
|
|
21205
|
+
tmp16_local12 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
21206
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
21207
|
+
break;
|
|
21159
21208
|
default:
|
|
21160
21209
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
21161
21210
|
}
|
|
21162
21211
|
}
|
|
21163
|
-
|
|
21164
|
-
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);
|
|
21212
|
+
tmp17_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
21213
|
+
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);
|
|
21165
21214
|
};
|
|
21166
21215
|
protoOf($serializer_41).get_descriptor_wjt6a0_k$ = function () {
|
|
21167
21216
|
return this.descriptor_1;
|
|
@@ -21171,7 +21220,7 @@ protoOf($serializer_41).childSerializers_5ghqw5_k$ = function () {
|
|
|
21171
21220
|
// Inline function 'kotlin.arrayOf' call
|
|
21172
21221
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
21173
21222
|
// Inline function 'kotlin.js.asDynamic' call
|
|
21174
|
-
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())];
|
|
21223
|
+
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())];
|
|
21175
21224
|
};
|
|
21176
21225
|
var $serializer_instance_41;
|
|
21177
21226
|
function $serializer_getInstance_50() {
|
|
@@ -21179,9 +21228,9 @@ function $serializer_getInstance_50() {
|
|
|
21179
21228
|
new $serializer_41();
|
|
21180
21229
|
return $serializer_instance_41;
|
|
21181
21230
|
}
|
|
21182
|
-
function SecureConversationCategory_init_$Init$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template, serializationConstructorMarker, $this) {
|
|
21183
|
-
if (!(
|
|
21184
|
-
throwMissingFieldException(seen0,
|
|
21231
|
+
function SecureConversationCategory_init_$Init$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template, serializationConstructorMarker, $this) {
|
|
21232
|
+
if (!(1001 === (1001 & seen0))) {
|
|
21233
|
+
throwMissingFieldException(seen0, 1001, $serializer_getInstance_50().descriptor_1);
|
|
21185
21234
|
}
|
|
21186
21235
|
$this.coResponsibleIds = coResponsibleIds;
|
|
21187
21236
|
if (0 === (seen0 & 2))
|
|
@@ -21193,40 +21242,52 @@ function SecureConversationCategory_init_$Init$(seen0, coResponsibleIds, coRespo
|
|
|
21193
21242
|
else
|
|
21194
21243
|
$this.color = color;
|
|
21195
21244
|
$this.contactCategory = contactCategory;
|
|
21245
|
+
if (0 === (seen0 & 16))
|
|
21246
|
+
$this.editable = null;
|
|
21247
|
+
else
|
|
21248
|
+
$this.editable = editable;
|
|
21196
21249
|
$this.id = id;
|
|
21197
21250
|
$this.inUse = inUse;
|
|
21198
21251
|
$this.incomingEmailCategory = incomingEmailCategory;
|
|
21199
21252
|
$this.name = name;
|
|
21200
21253
|
$this.responsible = responsible;
|
|
21201
|
-
if (0 === (seen0 &
|
|
21254
|
+
if (0 === (seen0 & 1024))
|
|
21202
21255
|
$this.responsiblePerson = null;
|
|
21203
21256
|
else
|
|
21204
21257
|
$this.responsiblePerson = responsiblePerson;
|
|
21205
|
-
if (0 === (seen0 &
|
|
21258
|
+
if (0 === (seen0 & 2048))
|
|
21259
|
+
$this.staffManaged = null;
|
|
21260
|
+
else
|
|
21261
|
+
$this.staffManaged = staffManaged;
|
|
21262
|
+
if (0 === (seen0 & 4096))
|
|
21206
21263
|
$this.template = null;
|
|
21207
21264
|
else
|
|
21208
21265
|
$this.template = template;
|
|
21209
21266
|
return $this;
|
|
21210
21267
|
}
|
|
21211
|
-
function SecureConversationCategory_init_$Create$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template, serializationConstructorMarker) {
|
|
21212
|
-
return SecureConversationCategory_init_$Init$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template, serializationConstructorMarker, objectCreate(protoOf(SecureConversationCategory)));
|
|
21268
|
+
function SecureConversationCategory_init_$Create$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template, serializationConstructorMarker) {
|
|
21269
|
+
return SecureConversationCategory_init_$Init$(seen0, coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template, serializationConstructorMarker, objectCreate(protoOf(SecureConversationCategory)));
|
|
21213
21270
|
}
|
|
21214
|
-
function SecureConversationCategory(coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template) {
|
|
21271
|
+
function SecureConversationCategory(coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template) {
|
|
21215
21272
|
Companion_getInstance_56();
|
|
21216
21273
|
coResponsiblePersons = coResponsiblePersons === VOID ? null : coResponsiblePersons;
|
|
21217
21274
|
color = color === VOID ? null : color;
|
|
21275
|
+
editable = editable === VOID ? null : editable;
|
|
21218
21276
|
responsiblePerson = responsiblePerson === VOID ? null : responsiblePerson;
|
|
21277
|
+
staffManaged = staffManaged === VOID ? null : staffManaged;
|
|
21219
21278
|
template = template === VOID ? null : template;
|
|
21220
21279
|
this.coResponsibleIds = coResponsibleIds;
|
|
21221
21280
|
this.coResponsiblePersons = coResponsiblePersons;
|
|
21222
21281
|
this.color = color;
|
|
21223
21282
|
this.contactCategory = contactCategory;
|
|
21283
|
+
this.editable = editable;
|
|
21224
21284
|
this.id = id;
|
|
21225
21285
|
this.inUse = inUse;
|
|
21226
21286
|
this.incomingEmailCategory = incomingEmailCategory;
|
|
21227
21287
|
this.name = name;
|
|
21228
21288
|
this.responsible = responsible;
|
|
21229
21289
|
this.responsiblePerson = responsiblePerson;
|
|
21290
|
+
this.staffManaged = staffManaged;
|
|
21230
21291
|
this.template = template;
|
|
21231
21292
|
}
|
|
21232
21293
|
protoOf(SecureConversationCategory).get_coResponsibleIds_hpc4zb_k$ = function () {
|
|
@@ -21241,6 +21302,9 @@ protoOf(SecureConversationCategory).get_color_ipu8u2_k$ = function () {
|
|
|
21241
21302
|
protoOf(SecureConversationCategory).get_contactCategory_m6m4id_k$ = function () {
|
|
21242
21303
|
return this.contactCategory;
|
|
21243
21304
|
};
|
|
21305
|
+
protoOf(SecureConversationCategory).get_editable_5awedv_k$ = function () {
|
|
21306
|
+
return this.editable;
|
|
21307
|
+
};
|
|
21244
21308
|
protoOf(SecureConversationCategory).get_id_kntnx8_k$ = function () {
|
|
21245
21309
|
return this.id;
|
|
21246
21310
|
};
|
|
@@ -21259,6 +21323,9 @@ protoOf(SecureConversationCategory).get_responsible_qkuq9f_k$ = function () {
|
|
|
21259
21323
|
protoOf(SecureConversationCategory).get_responsiblePerson_za7pha_k$ = function () {
|
|
21260
21324
|
return this.responsiblePerson;
|
|
21261
21325
|
};
|
|
21326
|
+
protoOf(SecureConversationCategory).get_staffManaged_sol7h4_k$ = function () {
|
|
21327
|
+
return this.staffManaged;
|
|
21328
|
+
};
|
|
21262
21329
|
protoOf(SecureConversationCategory).get_template_hdczer_k$ = function () {
|
|
21263
21330
|
return this.template;
|
|
21264
21331
|
};
|
|
@@ -21275,57 +21342,67 @@ protoOf(SecureConversationCategory).component4_7eebs9_k$ = function () {
|
|
|
21275
21342
|
return this.contactCategory;
|
|
21276
21343
|
};
|
|
21277
21344
|
protoOf(SecureConversationCategory).component5_7eebs8_k$ = function () {
|
|
21278
|
-
return this.
|
|
21345
|
+
return this.editable;
|
|
21279
21346
|
};
|
|
21280
21347
|
protoOf(SecureConversationCategory).component6_7eebs7_k$ = function () {
|
|
21281
|
-
return this.
|
|
21348
|
+
return this.id;
|
|
21282
21349
|
};
|
|
21283
21350
|
protoOf(SecureConversationCategory).component7_7eebs6_k$ = function () {
|
|
21284
|
-
return this.
|
|
21351
|
+
return this.inUse;
|
|
21285
21352
|
};
|
|
21286
21353
|
protoOf(SecureConversationCategory).component8_7eebs5_k$ = function () {
|
|
21287
|
-
return this.
|
|
21354
|
+
return this.incomingEmailCategory;
|
|
21288
21355
|
};
|
|
21289
21356
|
protoOf(SecureConversationCategory).component9_7eebs4_k$ = function () {
|
|
21290
|
-
return this.
|
|
21357
|
+
return this.name;
|
|
21291
21358
|
};
|
|
21292
21359
|
protoOf(SecureConversationCategory).component10_gazzfo_k$ = function () {
|
|
21293
|
-
return this.
|
|
21360
|
+
return this.responsible;
|
|
21294
21361
|
};
|
|
21295
21362
|
protoOf(SecureConversationCategory).component11_gazzfn_k$ = function () {
|
|
21363
|
+
return this.responsiblePerson;
|
|
21364
|
+
};
|
|
21365
|
+
protoOf(SecureConversationCategory).component12_gazzfm_k$ = function () {
|
|
21366
|
+
return this.staffManaged;
|
|
21367
|
+
};
|
|
21368
|
+
protoOf(SecureConversationCategory).component13_gazzfl_k$ = function () {
|
|
21296
21369
|
return this.template;
|
|
21297
21370
|
};
|
|
21298
|
-
protoOf(SecureConversationCategory).
|
|
21299
|
-
return new SecureConversationCategory(coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template);
|
|
21371
|
+
protoOf(SecureConversationCategory).copy_i1ugl9_k$ = function (coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template) {
|
|
21372
|
+
return new SecureConversationCategory(coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template);
|
|
21300
21373
|
};
|
|
21301
|
-
protoOf(SecureConversationCategory).copy = function (coResponsibleIds, coResponsiblePersons, color, contactCategory, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, template, $super) {
|
|
21374
|
+
protoOf(SecureConversationCategory).copy = function (coResponsibleIds, coResponsiblePersons, color, contactCategory, editable, id, inUse, incomingEmailCategory, name, responsible, responsiblePerson, staffManaged, template, $super) {
|
|
21302
21375
|
coResponsibleIds = coResponsibleIds === VOID ? this.coResponsibleIds : coResponsibleIds;
|
|
21303
21376
|
coResponsiblePersons = coResponsiblePersons === VOID ? this.coResponsiblePersons : coResponsiblePersons;
|
|
21304
21377
|
color = color === VOID ? this.color : color;
|
|
21305
21378
|
contactCategory = contactCategory === VOID ? this.contactCategory : contactCategory;
|
|
21379
|
+
editable = editable === VOID ? this.editable : editable;
|
|
21306
21380
|
id = id === VOID ? this.id : id;
|
|
21307
21381
|
inUse = inUse === VOID ? this.inUse : inUse;
|
|
21308
21382
|
incomingEmailCategory = incomingEmailCategory === VOID ? this.incomingEmailCategory : incomingEmailCategory;
|
|
21309
21383
|
name = name === VOID ? this.name : name;
|
|
21310
21384
|
responsible = responsible === VOID ? this.responsible : responsible;
|
|
21311
21385
|
responsiblePerson = responsiblePerson === VOID ? this.responsiblePerson : responsiblePerson;
|
|
21386
|
+
staffManaged = staffManaged === VOID ? this.staffManaged : staffManaged;
|
|
21312
21387
|
template = template === VOID ? this.template : template;
|
|
21313
|
-
return $super === VOID ? this.
|
|
21388
|
+
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);
|
|
21314
21389
|
};
|
|
21315
21390
|
protoOf(SecureConversationCategory).toString = function () {
|
|
21316
|
-
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 + ')';
|
|
21391
|
+
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 + ')';
|
|
21317
21392
|
};
|
|
21318
21393
|
protoOf(SecureConversationCategory).hashCode = function () {
|
|
21319
21394
|
var result = hashCode(this.coResponsibleIds);
|
|
21320
21395
|
result = imul(result, 31) + (this.coResponsiblePersons == null ? 0 : hashCode(this.coResponsiblePersons)) | 0;
|
|
21321
21396
|
result = imul(result, 31) + (this.color == null ? 0 : this.color.hashCode()) | 0;
|
|
21322
21397
|
result = imul(result, 31) + getBooleanHashCode(this.contactCategory) | 0;
|
|
21398
|
+
result = imul(result, 31) + (this.editable == null ? 0 : getBooleanHashCode(this.editable)) | 0;
|
|
21323
21399
|
result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
|
|
21324
21400
|
result = imul(result, 31) + getBooleanHashCode(this.inUse) | 0;
|
|
21325
21401
|
result = imul(result, 31) + getBooleanHashCode(this.incomingEmailCategory) | 0;
|
|
21326
21402
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
21327
21403
|
result = imul(result, 31) + getBigIntHashCode(this.responsible) | 0;
|
|
21328
21404
|
result = imul(result, 31) + (this.responsiblePerson == null ? 0 : this.responsiblePerson.hashCode()) | 0;
|
|
21405
|
+
result = imul(result, 31) + (this.staffManaged == null ? 0 : getBooleanHashCode(this.staffManaged)) | 0;
|
|
21329
21406
|
result = imul(result, 31) + (this.template == null ? 0 : getStringHashCode(this.template)) | 0;
|
|
21330
21407
|
return result;
|
|
21331
21408
|
};
|
|
@@ -21342,6 +21419,8 @@ protoOf(SecureConversationCategory).equals = function (other) {
|
|
|
21342
21419
|
return false;
|
|
21343
21420
|
if (!(this.contactCategory === other.contactCategory))
|
|
21344
21421
|
return false;
|
|
21422
|
+
if (!(this.editable == other.editable))
|
|
21423
|
+
return false;
|
|
21345
21424
|
if (!(this.id === other.id))
|
|
21346
21425
|
return false;
|
|
21347
21426
|
if (!(this.inUse === other.inUse))
|
|
@@ -21354,6 +21433,8 @@ protoOf(SecureConversationCategory).equals = function (other) {
|
|
|
21354
21433
|
return false;
|
|
21355
21434
|
if (!equals(this.responsiblePerson, other.responsiblePerson))
|
|
21356
21435
|
return false;
|
|
21436
|
+
if (!(this.staffManaged == other.staffManaged))
|
|
21437
|
+
return false;
|
|
21357
21438
|
if (!(this.template == other.template))
|
|
21358
21439
|
return false;
|
|
21359
21440
|
return true;
|
|
@@ -21373,7 +21454,7 @@ function Companion_50() {
|
|
|
21373
21454
|
// Inline function 'kotlin.arrayOf' call
|
|
21374
21455
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
21375
21456
|
// Inline function 'kotlin.js.asDynamic' call
|
|
21376
|
-
tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, UpdateConversationCategoryCommand$Companion$$childSerializers$_anonymous__ynys8n_0), null, null, null, null, null];
|
|
21457
|
+
tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, UpdateConversationCategoryCommand$Companion$$childSerializers$_anonymous__ynys8n_0), null, null, null, null, null, null];
|
|
21377
21458
|
}
|
|
21378
21459
|
var Companion_instance_51;
|
|
21379
21460
|
function Companion_getInstance_57() {
|
|
@@ -21383,13 +21464,14 @@ function Companion_getInstance_57() {
|
|
|
21383
21464
|
}
|
|
21384
21465
|
function $serializer_42() {
|
|
21385
21466
|
$serializer_instance_42 = this;
|
|
21386
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateConversationCategoryCommand', this,
|
|
21467
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateConversationCategoryCommand', this, 8);
|
|
21387
21468
|
tmp0_serialDesc.addElement_5pzumi_k$('coResponsibleIds', true);
|
|
21388
21469
|
tmp0_serialDesc.addElement_5pzumi_k$('color', true);
|
|
21389
21470
|
tmp0_serialDesc.addElement_5pzumi_k$('contactCategory', true);
|
|
21390
21471
|
tmp0_serialDesc.addElement_5pzumi_k$('description', true);
|
|
21391
21472
|
tmp0_serialDesc.addElement_5pzumi_k$('name', false);
|
|
21392
21473
|
tmp0_serialDesc.addElement_5pzumi_k$('responsible', true);
|
|
21474
|
+
tmp0_serialDesc.addElement_5pzumi_k$('staffManaged', true);
|
|
21393
21475
|
tmp0_serialDesc.addElement_5pzumi_k$('template', true);
|
|
21394
21476
|
this.descriptor_1 = tmp0_serialDesc;
|
|
21395
21477
|
}
|
|
@@ -21413,8 +21495,11 @@ protoOf($serializer_42).serialize_dhrgcf_k$ = function (encoder, value) {
|
|
|
21413
21495
|
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.responsible == null)) {
|
|
21414
21496
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, LongSerializer_getInstance(), value.responsible);
|
|
21415
21497
|
}
|
|
21416
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.
|
|
21417
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6,
|
|
21498
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.staffManaged == null)) {
|
|
21499
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), value.staffManaged);
|
|
21500
|
+
}
|
|
21501
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.template == null)) {
|
|
21502
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, StringSerializer_getInstance(), value.template);
|
|
21418
21503
|
}
|
|
21419
21504
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
21420
21505
|
};
|
|
@@ -21433,64 +21518,71 @@ protoOf($serializer_42).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
21433
21518
|
var tmp8_local4 = null;
|
|
21434
21519
|
var tmp9_local5 = null;
|
|
21435
21520
|
var tmp10_local6 = null;
|
|
21436
|
-
var
|
|
21437
|
-
var
|
|
21438
|
-
|
|
21439
|
-
|
|
21521
|
+
var tmp11_local7 = null;
|
|
21522
|
+
var tmp12_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
21523
|
+
var tmp13_cached = Companion_getInstance_57().$childSerializers_1;
|
|
21524
|
+
if (tmp12_input.decodeSequentially_xlblqy_k$()) {
|
|
21525
|
+
tmp4_local0 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp13_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
21440
21526
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
21441
|
-
tmp5_local1 =
|
|
21527
|
+
tmp5_local1 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp13_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
21442
21528
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
21443
|
-
tmp6_local2 =
|
|
21529
|
+
tmp6_local2 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
21444
21530
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
21445
|
-
tmp7_local3 =
|
|
21531
|
+
tmp7_local3 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
21446
21532
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
21447
|
-
tmp8_local4 =
|
|
21533
|
+
tmp8_local4 = tmp12_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
|
|
21448
21534
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
21449
|
-
tmp9_local5 =
|
|
21535
|
+
tmp9_local5 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
|
|
21450
21536
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
21451
|
-
tmp10_local6 =
|
|
21537
|
+
tmp10_local6 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), tmp10_local6);
|
|
21452
21538
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
21539
|
+
tmp11_local7 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
21540
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
21453
21541
|
} else
|
|
21454
21542
|
while (tmp1_flag) {
|
|
21455
|
-
tmp2_index =
|
|
21543
|
+
tmp2_index = tmp12_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
21456
21544
|
switch (tmp2_index) {
|
|
21457
21545
|
case -1:
|
|
21458
21546
|
tmp1_flag = false;
|
|
21459
21547
|
break;
|
|
21460
21548
|
case 0:
|
|
21461
|
-
tmp4_local0 =
|
|
21549
|
+
tmp4_local0 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp13_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
21462
21550
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
21463
21551
|
break;
|
|
21464
21552
|
case 1:
|
|
21465
|
-
tmp5_local1 =
|
|
21553
|
+
tmp5_local1 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp13_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
21466
21554
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
21467
21555
|
break;
|
|
21468
21556
|
case 2:
|
|
21469
|
-
tmp6_local2 =
|
|
21557
|
+
tmp6_local2 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
21470
21558
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
21471
21559
|
break;
|
|
21472
21560
|
case 3:
|
|
21473
|
-
tmp7_local3 =
|
|
21561
|
+
tmp7_local3 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
21474
21562
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
21475
21563
|
break;
|
|
21476
21564
|
case 4:
|
|
21477
|
-
tmp8_local4 =
|
|
21565
|
+
tmp8_local4 = tmp12_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
|
|
21478
21566
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
21479
21567
|
break;
|
|
21480
21568
|
case 5:
|
|
21481
|
-
tmp9_local5 =
|
|
21569
|
+
tmp9_local5 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
|
|
21482
21570
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
21483
21571
|
break;
|
|
21484
21572
|
case 6:
|
|
21485
|
-
tmp10_local6 =
|
|
21573
|
+
tmp10_local6 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), tmp10_local6);
|
|
21486
21574
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
21487
21575
|
break;
|
|
21576
|
+
case 7:
|
|
21577
|
+
tmp11_local7 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
21578
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
21579
|
+
break;
|
|
21488
21580
|
default:
|
|
21489
21581
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
21490
21582
|
}
|
|
21491
21583
|
}
|
|
21492
|
-
|
|
21493
|
-
return UpdateConversationCategoryCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
21584
|
+
tmp12_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
21585
|
+
return UpdateConversationCategoryCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
21494
21586
|
};
|
|
21495
21587
|
protoOf($serializer_42).get_descriptor_wjt6a0_k$ = function () {
|
|
21496
21588
|
return this.descriptor_1;
|
|
@@ -21500,7 +21592,7 @@ protoOf($serializer_42).childSerializers_5ghqw5_k$ = function () {
|
|
|
21500
21592
|
// Inline function 'kotlin.arrayOf' call
|
|
21501
21593
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
21502
21594
|
// Inline function 'kotlin.js.asDynamic' call
|
|
21503
|
-
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())];
|
|
21595
|
+
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())];
|
|
21504
21596
|
};
|
|
21505
21597
|
var $serializer_instance_42;
|
|
21506
21598
|
function $serializer_getInstance_51() {
|
|
@@ -21508,7 +21600,7 @@ function $serializer_getInstance_51() {
|
|
|
21508
21600
|
new $serializer_42();
|
|
21509
21601
|
return $serializer_instance_42;
|
|
21510
21602
|
}
|
|
21511
|
-
function UpdateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, template, serializationConstructorMarker, $this) {
|
|
21603
|
+
function UpdateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template, serializationConstructorMarker, $this) {
|
|
21512
21604
|
if (!(16 === (16 & seen0))) {
|
|
21513
21605
|
throwMissingFieldException(seen0, 16, $serializer_getInstance_51().descriptor_1);
|
|
21514
21606
|
}
|
|
@@ -21534,21 +21626,26 @@ function UpdateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds,
|
|
|
21534
21626
|
else
|
|
21535
21627
|
$this.responsible = responsible;
|
|
21536
21628
|
if (0 === (seen0 & 64))
|
|
21629
|
+
$this.staffManaged = null;
|
|
21630
|
+
else
|
|
21631
|
+
$this.staffManaged = staffManaged;
|
|
21632
|
+
if (0 === (seen0 & 128))
|
|
21537
21633
|
$this.template = null;
|
|
21538
21634
|
else
|
|
21539
21635
|
$this.template = template;
|
|
21540
21636
|
return $this;
|
|
21541
21637
|
}
|
|
21542
|
-
function UpdateConversationCategoryCommand_init_$Create$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, template, serializationConstructorMarker) {
|
|
21543
|
-
return UpdateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, template, serializationConstructorMarker, objectCreate(protoOf(UpdateConversationCategoryCommand)));
|
|
21638
|
+
function UpdateConversationCategoryCommand_init_$Create$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template, serializationConstructorMarker) {
|
|
21639
|
+
return UpdateConversationCategoryCommand_init_$Init$(seen0, coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template, serializationConstructorMarker, objectCreate(protoOf(UpdateConversationCategoryCommand)));
|
|
21544
21640
|
}
|
|
21545
|
-
function UpdateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, name, responsible, template) {
|
|
21641
|
+
function UpdateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template) {
|
|
21546
21642
|
Companion_getInstance_57();
|
|
21547
21643
|
coResponsibleIds = coResponsibleIds === VOID ? null : coResponsibleIds;
|
|
21548
21644
|
color = color === VOID ? null : color;
|
|
21549
21645
|
contactCategory = contactCategory === VOID ? null : contactCategory;
|
|
21550
21646
|
description = description === VOID ? null : description;
|
|
21551
21647
|
responsible = responsible === VOID ? null : responsible;
|
|
21648
|
+
staffManaged = staffManaged === VOID ? null : staffManaged;
|
|
21552
21649
|
template = template === VOID ? null : template;
|
|
21553
21650
|
this.coResponsibleIds = coResponsibleIds;
|
|
21554
21651
|
this.color = color;
|
|
@@ -21556,6 +21653,7 @@ function UpdateConversationCategoryCommand(coResponsibleIds, color, contactCateg
|
|
|
21556
21653
|
this.description = description;
|
|
21557
21654
|
this.name = name;
|
|
21558
21655
|
this.responsible = responsible;
|
|
21656
|
+
this.staffManaged = staffManaged;
|
|
21559
21657
|
this.template = template;
|
|
21560
21658
|
}
|
|
21561
21659
|
protoOf(UpdateConversationCategoryCommand).get_coResponsibleIds_hpc4zb_k$ = function () {
|
|
@@ -21576,6 +21674,9 @@ protoOf(UpdateConversationCategoryCommand).get_name_woqyms_k$ = function () {
|
|
|
21576
21674
|
protoOf(UpdateConversationCategoryCommand).get_responsible_qkuq9f_k$ = function () {
|
|
21577
21675
|
return this.responsible;
|
|
21578
21676
|
};
|
|
21677
|
+
protoOf(UpdateConversationCategoryCommand).get_staffManaged_sol7h4_k$ = function () {
|
|
21678
|
+
return this.staffManaged;
|
|
21679
|
+
};
|
|
21579
21680
|
protoOf(UpdateConversationCategoryCommand).get_template_hdczer_k$ = function () {
|
|
21580
21681
|
return this.template;
|
|
21581
21682
|
};
|
|
@@ -21598,23 +21699,27 @@ protoOf(UpdateConversationCategoryCommand).component6_7eebs7_k$ = function () {
|
|
|
21598
21699
|
return this.responsible;
|
|
21599
21700
|
};
|
|
21600
21701
|
protoOf(UpdateConversationCategoryCommand).component7_7eebs6_k$ = function () {
|
|
21702
|
+
return this.staffManaged;
|
|
21703
|
+
};
|
|
21704
|
+
protoOf(UpdateConversationCategoryCommand).component8_7eebs5_k$ = function () {
|
|
21601
21705
|
return this.template;
|
|
21602
21706
|
};
|
|
21603
|
-
protoOf(UpdateConversationCategoryCommand).
|
|
21604
|
-
return new UpdateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, name, responsible, template);
|
|
21707
|
+
protoOf(UpdateConversationCategoryCommand).copy_tl15xp_k$ = function (coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template) {
|
|
21708
|
+
return new UpdateConversationCategoryCommand(coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template);
|
|
21605
21709
|
};
|
|
21606
|
-
protoOf(UpdateConversationCategoryCommand).copy = function (coResponsibleIds, color, contactCategory, description, name, responsible, template, $super) {
|
|
21710
|
+
protoOf(UpdateConversationCategoryCommand).copy = function (coResponsibleIds, color, contactCategory, description, name, responsible, staffManaged, template, $super) {
|
|
21607
21711
|
coResponsibleIds = coResponsibleIds === VOID ? this.coResponsibleIds : coResponsibleIds;
|
|
21608
21712
|
color = color === VOID ? this.color : color;
|
|
21609
21713
|
contactCategory = contactCategory === VOID ? this.contactCategory : contactCategory;
|
|
21610
21714
|
description = description === VOID ? this.description : description;
|
|
21611
21715
|
name = name === VOID ? this.name : name;
|
|
21612
21716
|
responsible = responsible === VOID ? this.responsible : responsible;
|
|
21717
|
+
staffManaged = staffManaged === VOID ? this.staffManaged : staffManaged;
|
|
21613
21718
|
template = template === VOID ? this.template : template;
|
|
21614
|
-
return $super === VOID ? this.
|
|
21719
|
+
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);
|
|
21615
21720
|
};
|
|
21616
21721
|
protoOf(UpdateConversationCategoryCommand).toString = function () {
|
|
21617
|
-
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 + ')';
|
|
21722
|
+
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 + ')';
|
|
21618
21723
|
};
|
|
21619
21724
|
protoOf(UpdateConversationCategoryCommand).hashCode = function () {
|
|
21620
21725
|
var result = this.coResponsibleIds == null ? 0 : hashCode(this.coResponsibleIds);
|
|
@@ -21623,6 +21728,7 @@ protoOf(UpdateConversationCategoryCommand).hashCode = function () {
|
|
|
21623
21728
|
result = imul(result, 31) + (this.description == null ? 0 : getStringHashCode(this.description)) | 0;
|
|
21624
21729
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
21625
21730
|
result = imul(result, 31) + (this.responsible == null ? 0 : getBigIntHashCode(this.responsible)) | 0;
|
|
21731
|
+
result = imul(result, 31) + (this.staffManaged == null ? 0 : getBooleanHashCode(this.staffManaged)) | 0;
|
|
21626
21732
|
result = imul(result, 31) + (this.template == null ? 0 : getStringHashCode(this.template)) | 0;
|
|
21627
21733
|
return result;
|
|
21628
21734
|
};
|
|
@@ -21643,6 +21749,8 @@ protoOf(UpdateConversationCategoryCommand).equals = function (other) {
|
|
|
21643
21749
|
return false;
|
|
21644
21750
|
if (!(this.responsible == other.responsible))
|
|
21645
21751
|
return false;
|
|
21752
|
+
if (!(this.staffManaged == other.staffManaged))
|
|
21753
|
+
return false;
|
|
21646
21754
|
if (!(this.template == other.template))
|
|
21647
21755
|
return false;
|
|
21648
21756
|
return true;
|