@solibo/home-api 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "solibo-sdk-sdk-home-api.mjs",
3
- "version": "1.1.112",
3
+ "version": "1.1.113",
4
4
  "name": "@solibo/home-api",
5
5
  "dependencies": {
6
6
  "ws": "8.18.3",
@@ -11748,11 +11748,11 @@ export declare namespace UpdateConversationCategoryCommand {
11748
11748
  }
11749
11749
  }
11750
11750
  export declare class UpdateConversationCommand {
11751
- constructor(categoryId: bigint, content: string, title: string);
11751
+ constructor(categoryId: bigint, content: Nullable<string> | undefined, title: string);
11752
11752
  get categoryId(): bigint;
11753
- get content(): string;
11753
+ get content(): Nullable<string>;
11754
11754
  get title(): string;
11755
- copy(categoryId?: bigint, content?: string, title?: string): UpdateConversationCommand;
11755
+ copy(categoryId?: bigint, content?: Nullable<string>, title?: string): UpdateConversationCommand;
11756
11756
  toString(): string;
11757
11757
  hashCode(): number;
11758
11758
  equals(other: Nullable<any>): boolean;
@@ -13582,7 +13582,7 @@ export declare class SettlementApi extends ApiClient.$metadata$.constructor {
13582
13582
  closeSettlement(companyId: bigint, settlementId: bigint): Promise<HttpResponse<void>>;
13583
13583
  createSettlement(companyId: bigint, createSettlementCommand: CreateSettlementCommand): Promise<HttpResponse<Settlement>>;
13584
13584
  createSettlementCustomCost(companyId: bigint, settlementId: bigint, createSettlementCustomCostCommand: CreateSettlementCustomCostCommand): Promise<HttpResponse<SettlementCustomCost>>;
13585
- createSettlementProviderConfiguration(companyId: bigint, createSettlementProviderConfigurationCommand: CreateSettlementProviderConfigurationCommand): Promise<HttpResponse<void>>;
13585
+ createSettlementProviderConfiguration(companyId: bigint, createSettlementProviderConfigurationCommand: CreateSettlementProviderConfigurationCommand): Promise<HttpResponse<SettlementProviderConfiguration>>;
13586
13586
  deleteSettlement(companyId: bigint, settlementId: bigint): Promise<HttpResponse<void>>;
13587
13587
  deleteSettlementCustomCost(companyId: bigint, settlementId: bigint, customCostId: bigint): Promise<HttpResponse<void>>;
13588
13588
  indexSettlement(companyId: bigint): Promise<HttpResponse<KtList<Settlement>>>;
@@ -13596,7 +13596,7 @@ export declare class SettlementApi extends ApiClient.$metadata$.constructor {
13596
13596
  showSettlementProviderConfigurationById(companyId: bigint, configurationId: bigint): Promise<HttpResponse<SettlementProviderConfiguration>>;
13597
13597
  updateSettlement(companyId: bigint, settlementId: bigint, updateSettlementCommand: UpdateSettlementCommand): Promise<HttpResponse<Settlement>>;
13598
13598
  updateSettlementCustomCost(companyId: bigint, settlementId: bigint, customCostId: bigint, updateSettlementCustomCostCommand: UpdateSettlementCustomCostCommand): Promise<HttpResponse<SettlementCustomCost>>;
13599
- updateSettlementProviderConfiguration(companyId: bigint, configurationId: bigint, updateSettlementProviderConfigurationCommand: UpdateSettlementProviderConfigurationCommand): Promise<HttpResponse<void>>;
13599
+ updateSettlementProviderConfiguration(companyId: bigint, configurationId: bigint, updateSettlementProviderConfigurationCommand: UpdateSettlementProviderConfigurationCommand): Promise<HttpResponse<SettlementProviderConfiguration>>;
13600
13600
  upsertSettlementProviderCredentials(companyId: bigint, configurationId: bigint, upsertSettlementProviderCredentialsCommand: UpsertSettlementProviderCredentialsCommand): Promise<HttpResponse<void>>;
13601
13601
  }
13602
13602
  export declare namespace SettlementApi {
@@ -115424,7 +115424,7 @@ function $serializer_426() {
115424
115424
  $serializer_instance_426 = this;
115425
115425
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateConversationCommand', this, 3);
115426
115426
  tmp0_serialDesc.z22('categoryId', false);
115427
- tmp0_serialDesc.z22('content', false);
115427
+ tmp0_serialDesc.z22('content', true);
115428
115428
  tmp0_serialDesc.z22('title', false);
115429
115429
  this.d84_1 = tmp0_serialDesc;
115430
115430
  }
@@ -115432,7 +115432,9 @@ protoOf($serializer_426).e84 = function (encoder, value) {
115432
115432
  var tmp0_desc = this.d84_1;
115433
115433
  var tmp1_output = encoder.l1v(tmp0_desc);
115434
115434
  tmp1_output.v1w(tmp0_desc, 0, value.categoryId);
115435
- tmp1_output.z1w(tmp0_desc, 1, value.content);
115435
+ if (tmp1_output.g1x(tmp0_desc, 1) ? true : !(value.content == null)) {
115436
+ tmp1_output.c1x(tmp0_desc, 1, StringSerializer_getInstance(), value.content);
115437
+ }
115436
115438
  tmp1_output.z1w(tmp0_desc, 2, value.title);
115437
115439
  tmp1_output.m1v(tmp0_desc);
115438
115440
  };
@@ -115451,7 +115453,7 @@ protoOf($serializer_426).k1s = function (decoder) {
115451
115453
  if (tmp7_input.a1w()) {
115452
115454
  tmp4_local0 = tmp7_input.r1v(tmp0_desc, 0);
115453
115455
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
115454
- tmp5_local1 = tmp7_input.v1v(tmp0_desc, 1);
115456
+ tmp5_local1 = tmp7_input.z1v(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
115455
115457
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
115456
115458
  tmp6_local2 = tmp7_input.v1v(tmp0_desc, 2);
115457
115459
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
@@ -115467,7 +115469,7 @@ protoOf($serializer_426).k1s = function (decoder) {
115467
115469
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
115468
115470
  break;
115469
115471
  case 1:
115470
- tmp5_local1 = tmp7_input.v1v(tmp0_desc, 1);
115472
+ tmp5_local1 = tmp7_input.z1v(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
115471
115473
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
115472
115474
  break;
115473
115475
  case 2:
@@ -115488,7 +115490,7 @@ protoOf($serializer_426).q23 = function () {
115488
115490
  // Inline function 'kotlin.arrayOf' call
115489
115491
  // Inline function 'kotlin.js.unsafeCast' call
115490
115492
  // Inline function 'kotlin.js.asDynamic' call
115491
- return [LongSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance()];
115493
+ return [LongSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance()];
115492
115494
  };
115493
115495
  var $serializer_instance_426;
115494
115496
  function $serializer_getInstance_426() {
@@ -115497,11 +115499,14 @@ function $serializer_getInstance_426() {
115497
115499
  return $serializer_instance_426;
115498
115500
  }
115499
115501
  function UpdateConversationCommand_init_$Init$(seen0, categoryId, content, title, serializationConstructorMarker, $this) {
115500
- if (!(7 === (7 & seen0))) {
115501
- throwMissingFieldException(seen0, 7, $serializer_getInstance_426().d84_1);
115502
+ if (!(5 === (5 & seen0))) {
115503
+ throwMissingFieldException(seen0, 5, $serializer_getInstance_426().d84_1);
115502
115504
  }
115503
115505
  $this.categoryId = categoryId;
115504
- $this.content = content;
115506
+ if (0 === (seen0 & 2))
115507
+ $this.content = null;
115508
+ else
115509
+ $this.content = content;
115505
115510
  $this.title = title;
115506
115511
  return $this;
115507
115512
  }
@@ -115509,6 +115514,7 @@ function UpdateConversationCommand_init_$Create$(seen0, categoryId, content, tit
115509
115514
  return UpdateConversationCommand_init_$Init$(seen0, categoryId, content, title, serializationConstructorMarker, objectCreate(protoOf(UpdateConversationCommand)));
115510
115515
  }
115511
115516
  function UpdateConversationCommand(categoryId, content, title) {
115517
+ content = content === VOID ? null : content;
115512
115518
  this.categoryId = categoryId;
115513
115519
  this.content = content;
115514
115520
  this.title = title;
@@ -115545,7 +115551,7 @@ protoOf(UpdateConversationCommand).toString = function () {
115545
115551
  };
115546
115552
  protoOf(UpdateConversationCommand).hashCode = function () {
115547
115553
  var result = getBigIntHashCode(this.categoryId);
115548
- result = imul(result, 31) + getStringHashCode(this.content) | 0;
115554
+ result = imul(result, 31) + (this.content == null ? 0 : getStringHashCode(this.content)) | 0;
115549
115555
  result = imul(result, 31) + getStringHashCode(this.title) | 0;
115550
115556
  return result;
115551
115557
  };
@@ -115556,7 +115562,7 @@ protoOf(UpdateConversationCommand).equals = function (other) {
115556
115562
  return false;
115557
115563
  if (!(this.categoryId === other.categoryId))
115558
115564
  return false;
115559
- if (!(this.content === other.content))
115565
+ if (!(this.content == other.content))
115560
115566
  return false;
115561
115567
  if (!(this.title === other.title))
115562
115568
  return false;
@@ -191639,10 +191645,10 @@ protoOf($createSettlementProviderConfigurationCOROUTINE$).r8 = function () {
191639
191645
  continue $sm;
191640
191646
  case 1:
191641
191647
  var this_0 = suspendResult;
191642
- var tmp_0 = getKClass(Unit);
191648
+ var tmp_0 = getKClass(SettlementProviderConfiguration);
191643
191649
  var tmp_1;
191644
191650
  try {
191645
- tmp_1 = createKType(getKClass(Unit), arrayOf([]), false);
191651
+ tmp_1 = createKType(getKClass(SettlementProviderConfiguration), arrayOf([]), false);
191646
191652
  } catch ($p) {
191647
191653
  var tmp_2;
191648
191654
  if ($p instanceof Error) {
@@ -193242,10 +193248,10 @@ protoOf($updateSettlementProviderConfigurationCOROUTINE$).r8 = function () {
193242
193248
  continue $sm;
193243
193249
  case 1:
193244
193250
  var this_0 = suspendResult;
193245
- var tmp_0 = getKClass(Unit);
193251
+ var tmp_0 = getKClass(SettlementProviderConfiguration);
193246
193252
  var tmp_1;
193247
193253
  try {
193248
- tmp_1 = createKType(getKClass(Unit), arrayOf([]), false);
193254
+ tmp_1 = createKType(getKClass(SettlementProviderConfiguration), arrayOf([]), false);
193249
193255
  } catch ($p) {
193250
193256
  var tmp_2;
193251
193257
  if ($p instanceof Error) {