@solibo/solibo-sdk 1.1.112 → 1.1.113
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/package.json
CHANGED
|
@@ -121323,7 +121323,7 @@ function $serializer_426() {
|
|
|
121323
121323
|
$serializer_instance_426 = this;
|
|
121324
121324
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateConversationCommand', this, 3);
|
|
121325
121325
|
tmp0_serialDesc.z13('categoryId', false);
|
|
121326
|
-
tmp0_serialDesc.z13('content',
|
|
121326
|
+
tmp0_serialDesc.z13('content', true);
|
|
121327
121327
|
tmp0_serialDesc.z13('title', false);
|
|
121328
121328
|
this.m9j_1 = tmp0_serialDesc;
|
|
121329
121329
|
}
|
|
@@ -121331,7 +121331,9 @@ protoOf($serializer_426).n9j = function (encoder, value) {
|
|
|
121331
121331
|
var tmp0_desc = this.m9j_1;
|
|
121332
121332
|
var tmp1_output = encoder.mw(tmp0_desc);
|
|
121333
121333
|
tmp1_output.xx(tmp0_desc, 0, value.categoryId);
|
|
121334
|
-
tmp1_output.
|
|
121334
|
+
if (tmp1_output.iy(tmp0_desc, 1) ? true : !(value.content == null)) {
|
|
121335
|
+
tmp1_output.ey(tmp0_desc, 1, StringSerializer_getInstance(), value.content);
|
|
121336
|
+
}
|
|
121335
121337
|
tmp1_output.by(tmp0_desc, 2, value.title);
|
|
121336
121338
|
tmp1_output.nw(tmp0_desc);
|
|
121337
121339
|
};
|
|
@@ -121350,7 +121352,7 @@ protoOf($serializer_426).lt = function (decoder) {
|
|
|
121350
121352
|
if (tmp7_input.cx()) {
|
|
121351
121353
|
tmp4_local0 = tmp7_input.sw(tmp0_desc, 0);
|
|
121352
121354
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
121353
|
-
tmp5_local1 = tmp7_input.
|
|
121355
|
+
tmp5_local1 = tmp7_input.ax(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
121354
121356
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
121355
121357
|
tmp6_local2 = tmp7_input.ww(tmp0_desc, 2);
|
|
121356
121358
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
@@ -121366,7 +121368,7 @@ protoOf($serializer_426).lt = function (decoder) {
|
|
|
121366
121368
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
121367
121369
|
break;
|
|
121368
121370
|
case 1:
|
|
121369
|
-
tmp5_local1 = tmp7_input.
|
|
121371
|
+
tmp5_local1 = tmp7_input.ax(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
121370
121372
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
121371
121373
|
break;
|
|
121372
121374
|
case 2:
|
|
@@ -121387,7 +121389,7 @@ protoOf($serializer_426).s14 = function () {
|
|
|
121387
121389
|
// Inline function 'kotlin.arrayOf' call
|
|
121388
121390
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
121389
121391
|
// Inline function 'kotlin.js.asDynamic' call
|
|
121390
|
-
return [LongSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
121392
|
+
return [LongSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance()];
|
|
121391
121393
|
};
|
|
121392
121394
|
var $serializer_instance_426;
|
|
121393
121395
|
function $serializer_getInstance_426() {
|
|
@@ -121396,11 +121398,14 @@ function $serializer_getInstance_426() {
|
|
|
121396
121398
|
return $serializer_instance_426;
|
|
121397
121399
|
}
|
|
121398
121400
|
function UpdateConversationCommand_init_$Init$(seen0, categoryId, content, title, serializationConstructorMarker, $this) {
|
|
121399
|
-
if (!(
|
|
121400
|
-
throwMissingFieldException(seen0,
|
|
121401
|
+
if (!(5 === (5 & seen0))) {
|
|
121402
|
+
throwMissingFieldException(seen0, 5, $serializer_getInstance_426().m9j_1);
|
|
121401
121403
|
}
|
|
121402
121404
|
$this.categoryId = categoryId;
|
|
121403
|
-
|
|
121405
|
+
if (0 === (seen0 & 2))
|
|
121406
|
+
$this.content = null;
|
|
121407
|
+
else
|
|
121408
|
+
$this.content = content;
|
|
121404
121409
|
$this.title = title;
|
|
121405
121410
|
return $this;
|
|
121406
121411
|
}
|
|
@@ -121414,6 +121419,7 @@ function UpdateConversationCommand(categoryId, content, title) {
|
|
|
121414
121419
|
content = ('content' in props ? props.content : VOID);
|
|
121415
121420
|
title = ('title' in props ? props.title : VOID);
|
|
121416
121421
|
}
|
|
121422
|
+
content = content === VOID ? null : content;
|
|
121417
121423
|
this.categoryId = categoryId;
|
|
121418
121424
|
this.content = content;
|
|
121419
121425
|
this.title = title;
|
|
@@ -121450,7 +121456,7 @@ protoOf(UpdateConversationCommand).toString = function () {
|
|
|
121450
121456
|
};
|
|
121451
121457
|
protoOf(UpdateConversationCommand).hashCode = function () {
|
|
121452
121458
|
var result = getBigIntHashCode(this.categoryId);
|
|
121453
|
-
result = imul(result, 31) + getStringHashCode(this.content) | 0;
|
|
121459
|
+
result = imul(result, 31) + (this.content == null ? 0 : getStringHashCode(this.content)) | 0;
|
|
121454
121460
|
result = imul(result, 31) + getStringHashCode(this.title) | 0;
|
|
121455
121461
|
return result;
|
|
121456
121462
|
};
|
|
@@ -121461,7 +121467,7 @@ protoOf(UpdateConversationCommand).equals = function (other) {
|
|
|
121461
121467
|
return false;
|
|
121462
121468
|
if (!(this.categoryId === other.categoryId))
|
|
121463
121469
|
return false;
|
|
121464
|
-
if (!(this.content
|
|
121470
|
+
if (!(this.content == other.content))
|
|
121465
121471
|
return false;
|
|
121466
121472
|
if (!(this.title === other.title))
|
|
121467
121473
|
return false;
|
|
@@ -198232,10 +198238,10 @@ protoOf($createSettlementProviderConfigurationCOROUTINE$).t9 = function () {
|
|
|
198232
198238
|
continue $sm;
|
|
198233
198239
|
case 1:
|
|
198234
198240
|
var this_0 = suspendResult;
|
|
198235
|
-
var tmp_0 = getKClass(
|
|
198241
|
+
var tmp_0 = getKClass(SettlementProviderConfiguration);
|
|
198236
198242
|
var tmp_1;
|
|
198237
198243
|
try {
|
|
198238
|
-
tmp_1 = createKType(getKClass(
|
|
198244
|
+
tmp_1 = createKType(getKClass(SettlementProviderConfiguration), arrayOf([]), false);
|
|
198239
198245
|
} catch ($p) {
|
|
198240
198246
|
var tmp_2;
|
|
198241
198247
|
if ($p instanceof Error) {
|
|
@@ -199835,10 +199841,10 @@ protoOf($updateSettlementProviderConfigurationCOROUTINE$).t9 = function () {
|
|
|
199835
199841
|
continue $sm;
|
|
199836
199842
|
case 1:
|
|
199837
199843
|
var this_0 = suspendResult;
|
|
199838
|
-
var tmp_0 = getKClass(
|
|
199844
|
+
var tmp_0 = getKClass(SettlementProviderConfiguration);
|
|
199839
199845
|
var tmp_1;
|
|
199840
199846
|
try {
|
|
199841
|
-
tmp_1 = createKType(getKClass(
|
|
199847
|
+
tmp_1 = createKType(getKClass(SettlementProviderConfiguration), arrayOf([]), false);
|
|
199842
199848
|
} catch ($p) {
|
|
199843
199849
|
var tmp_2;
|
|
199844
199850
|
if ($p instanceof Error) {
|