@solibo/solibo-sdk 1.30.0 → 1.31.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.
@@ -26956,7 +26956,7 @@ export declare class CompanyApi extends ApiClient.$metadata$.constructor {
26956
26956
  showImportDraftValidation(draftId: bigint): Promise<HttpResponse<void>>;
26957
26957
  startImportOfDraft(draftId: bigint): Promise<HttpResponse<void>>;
26958
26958
  updateActiveAdministrators(updateActiveManagement: UpdateActiveManagement): Promise<HttpResponse<SoliboContacts>>;
26959
- updateAdministratorsForCompany(companyId: bigint, updateManagementCommand: UpdateManagementCommand): Promise<HttpResponse<Person[]>>;
26959
+ updateAdministratorsForCompany(companyId: bigint, updateManagementCommand: UpdateManagementCommand): Promise<HttpResponse<SoliboContacts>>;
26960
26960
  updateCompanyAddress(companyId: bigint, addressId: bigint, updateCompanyAddressCommand: UpdateCompanyAddressCommand): Promise<HttpResponse<CompanyAddress>>;
26961
26961
  updateCompanyDetailed(companyId: bigint, updateCompanyDetailedCommand: UpdateCompanyDetailedCommand): Promise<HttpResponse<CompanyDetailed>>;
26962
26962
  updateCompanyOrdinances(companyId: bigint, upsertOrdinancesCommand: UpsertOrdinancesCommand): Promise<HttpResponse<CompanyOrdinances>>;
@@ -27566,7 +27566,7 @@ export declare class ResidentApi extends ApiClient.$metadata$.constructor {
27566
27566
  static create(baseUrl?: string, httpClientEngine?: any | null | undefined/* HttpClientEngine | null | undefined */, httpClientConfig?: (p0: any/* HttpClientConfig<any> */) => void | null | undefined, jsonSerializer?: any/* Json */): ResidentApi;
27567
27567
  static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): ResidentApi;
27568
27568
  createChangeRequestForResident(companyId: bigint, residentType: string, residentId: bigint, createChangeRequestCommand: CreateChangeRequestCommand): Promise<HttpResponse<void>>;
27569
- createResident(companyId: bigint, residentType: ResidentType, createResidentCommand: CreateResidentCommand): Promise<HttpResponse<Person>>;
27569
+ createResident(companyId: bigint, residentType: ResidentType, createResidentCommand: CreateResidentCommand): Promise<HttpResponse<Resident>>;
27570
27570
  createResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, createAttendanceCommand: CreateAttendanceCommand): Promise<HttpResponse<void>>;
27571
27571
  deleteResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, attendanceId: bigint): Promise<HttpResponse<void>>;
27572
27572
  exportResidents(companyId: bigint, includePnr?: boolean | null | undefined): Promise<HttpResponse<Base64ByteArray>>;
@@ -27583,7 +27583,7 @@ export declare class ResidentApi extends ApiClient.$metadata$.constructor {
27583
27583
  showResidentByOrgNr(companyId: bigint, findResidentByOrgNrCommand: FindResidentByOrgNrCommand): Promise<HttpResponse<Organization>>;
27584
27584
  showResidentByPersonnummer(companyId: bigint, findResidentByPersonalIdentityNumberCommand: FindResidentByPersonalIdentityNumberCommand): Promise<HttpResponse<FindResidentResult>>;
27585
27585
  showResidentSensitive(companyId: bigint, residentType: string, residentId: bigint, fields?: string | null | undefined): Promise<HttpResponse<SensitiveData>>;
27586
- updateResident(companyId: bigint, residentType: string, residentId: bigint, updateResidentCommand: UpdateResidentCommand): Promise<HttpResponse<Person>>;
27586
+ updateResident(companyId: bigint, residentType: string, residentId: bigint, updateResidentCommand: UpdateResidentCommand): Promise<HttpResponse<Resident>>;
27587
27587
  updateResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, attendanceId: bigint, updateAttendanceCommand: UpdateAttendanceCommand): Promise<HttpResponse<void>>;
27588
27588
  updateResidentNotat(companyId: bigint, residentType: string, residentId: bigint, updateNotatCommand: UpdateNotatCommand): Promise<HttpResponse<Resident>>;
27589
27589
  }
@@ -8071,8 +8071,8 @@ function HomeApi$clientConfigurator$lambda$lambda_12(this$0, $platformName) {
8071
8071
  }
8072
8072
  accept($this$defaultRequest, Application_getInstance().Json_1);
8073
8073
  header($this$defaultRequest, 'Accept-Language', buildAcceptLanguage(this$0.userLanguage));
8074
- header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.30.0 (' + $platformName + ')');
8075
- header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.30.0');
8074
+ header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.31.0 (' + $platformName + ')');
8075
+ header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.31.0');
8076
8076
  return Unit_instance;
8077
8077
  };
8078
8078
  }
@@ -20591,26 +20591,17 @@ function MockBackend$registerHandlers$lambda_96(this$0) {
20591
20591
  tmp_0 = residentList.get_c1px32_k$(residentIndex);
20592
20592
  }
20593
20593
  var resident = tmp_0;
20594
- var tmp0 = this$0;
20595
- var tmp_1 = resident.id;
20596
- var tmp_2;
20597
- if (resident instanceof PersonResident) {
20598
- tmp_2 = resident.name;
20599
- } else {
20600
- var tmp1_family = resident.id.toString();
20601
- tmp_2 = new Name(VOID, tmp1_family, 'Org');
20602
- }
20603
20594
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
20604
- var content = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_1, VOID, VOID, VOID, VOID, tmp_2);
20595
+ var this_1 = this$0;
20605
20596
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
20606
- var this_1 = tmp0.json_1;
20597
+ var this_2 = this_1.json_1;
20607
20598
  // Inline function 'kotlinx.serialization.serializer' call
20608
- var this_2 = this_1.get_serializersModule_piitvg_k$();
20599
+ var this_3 = this_2.get_serializersModule_piitvg_k$();
20609
20600
  // Inline function 'kotlinx.serialization.internal.cast' call
20610
- var this_3 = serializer(this_2, createKType(getKClass(Person), arrayOf([]), false));
20611
- var tmp$ret$7 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
20612
- var tmp$ret$6 = this_1.encodeToString_k0apqx_k$(tmp$ret$7, content);
20613
- return respondJson(tmp0, $this$register, tmp$ret$6);
20601
+ var this_4 = serializer(this_3, createKType(getKClass(Resident), arrayOf([]), false));
20602
+ var tmp$ret$7 = isInterface(this_4, KSerializer) ? this_4 : THROW_CCE();
20603
+ var tmp$ret$6 = this_2.encodeToString_k0apqx_k$(tmp$ret$7, resident);
20604
+ return respondJson(this_1, $this$register, tmp$ret$6);
20614
20605
  };
20615
20606
  }
20616
20607
  function MockBackend$registerHandlers$lambda_97(this$0) {
@@ -26545,13 +26536,13 @@ function MockBackend$registerHandlers$lambda_295(this$0) {
26545
26536
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
26546
26537
  var tmp0 = this$0;
26547
26538
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
26548
- var content = emptyList();
26539
+ var content = new SoliboContacts();
26549
26540
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
26550
26541
  var this_0 = tmp0.json_1;
26551
26542
  // Inline function 'kotlinx.serialization.serializer' call
26552
26543
  var this_1 = this_0.get_serializersModule_piitvg_k$();
26553
26544
  // Inline function 'kotlinx.serialization.internal.cast' call
26554
- var this_2 = serializer(this_1, createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(Person), arrayOf([]), false))]), false));
26545
+ var this_2 = serializer(this_1, createKType(getKClass(SoliboContacts), arrayOf([]), false));
26555
26546
  var tmp$ret$2 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
26556
26547
  var tmp$ret$1 = this_0.encodeToString_k0apqx_k$(tmp$ret$2, content);
26557
26548
  return respondJson(tmp0, $this$register, tmp$ret$1);
@@ -30014,7 +30005,7 @@ function MockBackend$registerHandlers$lambda_448(this$0) {
30014
30005
  // Inline function 'kotlinx.serialization.serializer' call
30015
30006
  var this_6 = this_5.get_serializersModule_piitvg_k$();
30016
30007
  // Inline function 'kotlinx.serialization.internal.cast' call
30017
- var this_7 = serializer(this_6, createKType(getKClass(PersonResident), arrayOf([]), false));
30008
+ var this_7 = serializer(this_6, createKType(getKClass(Resident), arrayOf([]), false));
30018
30009
  var tmp$ret$13 = isInterface(this_7, KSerializer) ? this_7 : THROW_CCE();
30019
30010
  var tmp$ret$12 = this_5.encodeToString_k0apqx_k$(tmp$ret$13, resident);
30020
30011
  return respondJson(this_4, $this$register, tmp$ret$12);
@@ -32016,7 +32007,7 @@ protoOf($createPersonResidentCOROUTINE$).doResume_5yljmg_k$ = function () {
32016
32007
  this.exceptionState_1 = 4;
32017
32008
  this.tmp02__1 = this._this__u8e3s4__1;
32018
32009
  this.state_1 = 1;
32019
- suspendResult = this._this__u8e3s4__1.createResident$suspendBridge_w96257_k$(this.companyId_1, ResidentType_PERSON_getInstance(), this.input_1, this);
32010
+ suspendResult = this._this__u8e3s4__1.createResident$suspendBridge_f3efjq_k$(this.companyId_1, ResidentType_PERSON_getInstance(), this.input_1, this);
32020
32011
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
32021
32012
  return suspendResult;
32022
32013
  }
@@ -32146,7 +32137,7 @@ protoOf($createOrganizationResidentCOROUTINE$).doResume_5yljmg_k$ = function ()
32146
32137
  this.exceptionState_1 = 4;
32147
32138
  this.tmp02__1 = this._this__u8e3s4__1;
32148
32139
  this.state_1 = 1;
32149
- suspendResult = this._this__u8e3s4__1.createResident$suspendBridge_w96257_k$(this.companyId_1, ResidentType_ORGANIZATION_getInstance(), this.input_1, this);
32140
+ suspendResult = this._this__u8e3s4__1.createResident$suspendBridge_f3efjq_k$(this.companyId_1, ResidentType_ORGANIZATION_getInstance(), this.input_1, this);
32150
32141
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
32151
32142
  return suspendResult;
32152
32143
  }
@@ -32277,7 +32268,7 @@ protoOf($updatePersonResidentCOROUTINE$).doResume_5yljmg_k$ = function () {
32277
32268
  this.exceptionState_1 = 4;
32278
32269
  this.tmp02__1 = this._this__u8e3s4__1;
32279
32270
  this.state_1 = 1;
32280
- suspendResult = this._this__u8e3s4__1.updateResident$suspendBridge_9pn0tb_k$(this.companyId_1, ResidentType_PERSON_getInstance().value, this.residentId_1, this.input_1, this);
32271
+ suspendResult = this._this__u8e3s4__1.updateResident$suspendBridge_uh1mkc_k$(this.companyId_1, ResidentType_PERSON_getInstance().value, this.residentId_1, this.input_1, this);
32281
32272
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
32282
32273
  return suspendResult;
32283
32274
  }
@@ -32421,7 +32412,7 @@ protoOf($updateOrganizationResidentCOROUTINE$).doResume_5yljmg_k$ = function ()
32421
32412
  this.exceptionState_1 = 4;
32422
32413
  this.tmp02__1 = this._this__u8e3s4__1;
32423
32414
  this.state_1 = 1;
32424
- suspendResult = this._this__u8e3s4__1.updateResident$suspendBridge_9pn0tb_k$(this.companyId_1, ResidentType_ORGANIZATION_getInstance().value, this.residentId_1, this.input_1, this);
32415
+ suspendResult = this._this__u8e3s4__1.updateResident$suspendBridge_uh1mkc_k$(this.companyId_1, ResidentType_ORGANIZATION_getInstance().value, this.residentId_1, this.input_1, this);
32425
32416
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
32426
32417
  return suspendResult;
32427
32418
  }
@@ -43174,7 +43165,7 @@ function SoliboOpenTelemetry() {
43174
43165
  }
43175
43166
  protoOf(SoliboOpenTelemetry).tracer_4qhv4u_k$ = function () {
43176
43167
  var tmp0_elvis_lhs = this.installed_1;
43177
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.30.0');
43168
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.31.0');
43178
43169
  };
43179
43170
  var SoliboOpenTelemetry_instance;
43180
43171
  function SoliboOpenTelemetry_getInstance() {