@solibo/solibo-sdk 1.35.0 → 1.36.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.
@@ -8221,8 +8221,8 @@ function HomeApi$clientConfigurator$lambda$lambda_12(this$0, $platformName) {
8221
8221
  }
8222
8222
  accept($this$defaultRequest, Application_getInstance().Json_1);
8223
8223
  header($this$defaultRequest, 'Accept-Language', buildAcceptLanguage(this$0.userLanguage));
8224
- header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.35.0 (' + $platformName + ')');
8225
- header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.35.0');
8224
+ header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.36.0 (' + $platformName + ')');
8225
+ header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.36.0');
8226
8226
  return Unit_instance;
8227
8227
  };
8228
8228
  }
@@ -17694,7 +17694,7 @@ function createIssueDetails($this, issue) {
17694
17694
  }
17695
17695
  function homepageSettings($this, companyId) {
17696
17696
  var tmp0_elvis_lhs = $this.homepageSettingsPerCompany.get_wei43m_k$(companyId);
17697
- return tmp0_elvis_lhs == null ? new HomepageSettings(false, false, true) : tmp0_elvis_lhs;
17697
+ return tmp0_elvis_lhs == null ? new HomepageSettings(false, true, false, true) : tmp0_elvis_lhs;
17698
17698
  }
17699
17699
  function register($this, method, pathRegex, handler) {
17700
17700
  $this.addHandler(MockBackend$register$lambda(method, pathRegex, handler));
@@ -17847,7 +17847,7 @@ function createMockCompanyDetailed($this, company) {
17847
17847
  var tmp6_sections = createMockCompanySectionOverview($this, company.id);
17848
17848
  var tmp7_status = CompanyStatus_ACTIVE_getInstance();
17849
17849
  var tmp8_subTypes = company.subTypes;
17850
- return new CompanyDetailed(VOID, VOID, VOID, tmp2_classification, VOID, tmp3_country, VOID, 0n, VOID, tmp0_id, VOID, VOID, tmp4_managed, VOID, tmp1_name, tmp5_nationality, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp6_sections, VOID, tmp7_status, tmp8_subTypes);
17850
+ return new CompanyDetailed(VOID, VOID, VOID, tmp2_classification, VOID, tmp3_country, VOID, 0n, VOID, tmp0_id, VOID, VOID, tmp4_managed, VOID, tmp1_name, tmp5_nationality, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp6_sections, VOID, tmp7_status, tmp8_subTypes);
17851
17851
  }
17852
17852
  function createMockCompanySectionOverview($this, companyId) {
17853
17853
  // Inline function 'kotlin.collections.filter' call
@@ -17959,7 +17959,7 @@ function companyAddress($this, id, streetAddress, zipCode, area, countryId) {
17959
17959
  function createMockCompany($this, id) {
17960
17960
  var tmp0_name = 'Mock Company ' + id.toString();
17961
17961
  var tmp1_subTypes = emptyList();
17962
- return new Company(VOID, VOID, 'mock', 'NO', VOID, id, true, tmp0_name, 1n, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_subTypes, 1n);
17962
+ return new Company(VOID, VOID, 'mock', 'NO', VOID, id, true, tmp0_name, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_subTypes, 1n);
17963
17963
  }
17964
17964
  function nowSeconds($this) {
17965
17965
  return System_instance.now_2cba_k$().epochSeconds_1;
@@ -18150,7 +18150,7 @@ function MockBackend$registerHandlers$lambda_0(this$0) {
18150
18150
  var tmp7_elvis_lhs = command == null ? null : command.nationality;
18151
18151
  var tmp11_nationality = tmp7_elvis_lhs == null ? 1n : tmp7_elvis_lhs;
18152
18152
  var tmp12_subTypes = emptyList();
18153
- var company = new Company(VOID, VOID, tmp9_classification, 'NO', VOID, id, tmp10_managed, tmp8_name, tmp11_nationality, VOID, VOID, VOID, VOID, VOID, VOID, tmp12_subTypes, 1n);
18153
+ var company = new Company(VOID, VOID, tmp9_classification, 'NO', VOID, id, tmp10_managed, tmp8_name, tmp11_nationality, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp12_subTypes, 1n);
18154
18154
  // Inline function 'kotlin.collections.set' call
18155
18155
  this$0.companies.put_4fpzoq_k$(id, company);
18156
18156
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -18187,7 +18187,7 @@ function MockBackend$registerHandlers$lambda_2(this$0) {
18187
18187
  this$0.deletedImportDraftIds_1.remove_cedx0m_k$(1n);
18188
18188
  var tmp0 = this$0;
18189
18189
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
18190
- var content = new DraftCompany(1n, '123456789', new KartverketResult(VOID, new CreateCompany(VOID, VOID, VOID, 'BRL', VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'Mock BRL')));
18190
+ var content = new DraftCompany(1n, '123456789', VOID, new KartverketResult(VOID, new CreateCompany(VOID, VOID, VOID, 'BRL', VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'Mock BRL')));
18191
18191
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
18192
18192
  var this_0 = tmp0.json_1;
18193
18193
  // Inline function 'kotlinx.serialization.serializer' call
@@ -18204,7 +18204,7 @@ function MockBackend$registerHandlers$lambda_3(this$0) {
18204
18204
  this$0.deletedImportDraftIds_1.remove_cedx0m_k$(1n);
18205
18205
  var tmp0 = this$0;
18206
18206
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
18207
- var content = new DraftCompany(1n, '123456789', new KartverketResult(VOID, new CreateCompany(VOID, VOID, VOID, 'SAMEIE', VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'Mock Sameie')));
18207
+ var content = new DraftCompany(1n, '123456789', VOID, new KartverketResult(VOID, new CreateCompany(VOID, VOID, VOID, 'SAMEIE', VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'Mock Sameie')));
18208
18208
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
18209
18209
  var this_0 = tmp0.json_1;
18210
18210
  // Inline function 'kotlinx.serialization.serializer' call
@@ -18221,7 +18221,7 @@ function MockBackend$registerHandlers$lambda_4(this$0) {
18221
18221
  this$0.deletedImportDraftIds_1.remove_cedx0m_k$(1n);
18222
18222
  var tmp0 = this$0;
18223
18223
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
18224
- var content = new DraftCompany(1n, '123456789', new KartverketResult(VOID, new CreateCompany(VOID, VOID, VOID, 'SAMEIE', VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'Mock Sameie')));
18224
+ var content = new DraftCompany(1n, '123456789', VOID, new KartverketResult(VOID, new CreateCompany(VOID, VOID, VOID, 'SAMEIE', VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'Mock Sameie')));
18225
18225
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
18226
18226
  var this_0 = tmp0.json_1;
18227
18227
  // Inline function 'kotlinx.serialization.serializer' call
@@ -18238,7 +18238,7 @@ function MockBackend$registerHandlers$lambda_5(this$0) {
18238
18238
  this$0.deletedImportDraftIds_1.remove_cedx0m_k$(1n);
18239
18239
  var tmp0 = this$0;
18240
18240
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
18241
- var content = new DraftCompany(1n, '123456789', new KartverketResult(VOID, new CreateCompany(VOID, VOID, VOID, 'SAMEIE', VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'Mock Sameie')));
18241
+ var content = new DraftCompany(1n, '123456789', VOID, new KartverketResult(VOID, new CreateCompany(VOID, VOID, VOID, 'SAMEIE', VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'Mock Sameie')));
18242
18242
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
18243
18243
  var this_0 = tmp0.json_1;
18244
18244
  // Inline function 'kotlinx.serialization.serializer' call
@@ -18303,7 +18303,7 @@ function MockBackend$registerHandlers$lambda_8(this$0) {
18303
18303
  var detailed = tmp1_elvis_lhs == null ? createMockCompanyDetailed(this$0, company) : tmp1_elvis_lhs;
18304
18304
  var tmp0 = this$0;
18305
18305
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
18306
- var content = detailed.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, createMockCompanySectionOverview(this$0, id));
18306
+ var content = detailed.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, createMockCompanySectionOverview(this$0, id));
18307
18307
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
18308
18308
  var this_0 = tmp0.json_1;
18309
18309
  // Inline function 'kotlinx.serialization.serializer' call
@@ -18414,11 +18414,11 @@ function MockBackend$registerHandlers$lambda_9(this$0) {
18414
18414
  var tmp24_location = command.location;
18415
18415
  var tmp25_matrikkel = command.matrikkel;
18416
18416
  var tmp26_subTypes = command.subTypes;
18417
- var updated = new CompanyDetailed(VOID, tmp13_administratorOrgNr, tmp14_businessAgreement, tmp7_classification, tmp15_constructionYear, tmp8_country, VOID, tmp11_economicReportsIncluded, tmp16_features, id, tmp17_legalObligations, tmp24_location, tmp9_managed, tmp25_matrikkel, tmp6_name, tmp10_nationality, VOID, VOID, tmp18_note, tmp23_operatingAccount, tmp19_orgNr, VOID, tmp20_relations, tmp21_sections, tmp22_slug, tmp12_status, tmp26_subTypes);
18417
+ var updated = new CompanyDetailed(VOID, tmp13_administratorOrgNr, tmp14_businessAgreement, tmp7_classification, tmp15_constructionYear, tmp8_country, VOID, tmp11_economicReportsIncluded, tmp16_features, id, tmp17_legalObligations, tmp24_location, tmp9_managed, tmp25_matrikkel, tmp6_name, tmp10_nationality, VOID, VOID, tmp18_note, tmp23_operatingAccount, tmp19_orgNr, VOID, VOID, tmp20_relations, tmp21_sections, tmp22_slug, tmp12_status, tmp26_subTypes);
18418
18418
  var tmp0_0 = this$0.companies;
18419
18419
  var tmp27_elvis_lhs = updated.subTypes;
18420
18420
  // Inline function 'kotlin.collections.set' call
18421
- var value_0 = company.copy(VOID, VOID, updated.classification, VOID, VOID, VOID, updated.managed, updated.name, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp27_elvis_lhs == null ? company.subTypes : tmp27_elvis_lhs);
18421
+ var value_0 = company.copy(VOID, VOID, updated.classification, VOID, VOID, VOID, updated.managed, updated.name, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp27_elvis_lhs == null ? company.subTypes : tmp27_elvis_lhs);
18422
18422
  tmp0_0.put_4fpzoq_k$(id, value_0);
18423
18423
  // Inline function 'kotlin.collections.set' call
18424
18424
  this$0.companyDetailedPerCompany.put_4fpzoq_k$(id, updated);
@@ -23692,12 +23692,14 @@ function MockBackend$registerHandlers$lambda_187(this$0) {
23692
23692
  var command = tmp0.decodeFromString_jwu9sq_k$(tmp$ret$1, string);
23693
23693
  var current = homepageSettings(this$0, companyId);
23694
23694
  var tmp0_elvis_lhs = command.neighborhoodEnabled;
23695
- var tmp3_neighborhoodEnabled = tmp0_elvis_lhs == null ? current.neighborhoodEnabled : tmp0_elvis_lhs;
23695
+ var tmp4_neighborhoodEnabled = tmp0_elvis_lhs == null ? current.neighborhoodEnabled : tmp0_elvis_lhs;
23696
23696
  var tmp1_elvis_lhs = command.neighborhoodAppEnabled;
23697
- var tmp4_neighborhoodAppEnabled = tmp1_elvis_lhs == null ? current.neighborhoodAppEnabled : tmp1_elvis_lhs;
23697
+ var tmp5_neighborhoodAppEnabled = tmp1_elvis_lhs == null ? current.neighborhoodAppEnabled : tmp1_elvis_lhs;
23698
23698
  var tmp2_elvis_lhs = command.defaultPostCommentsEnabled;
23699
- var tmp5_defaultPostCommentsEnabled = tmp2_elvis_lhs == null ? current.defaultPostCommentsEnabled : tmp2_elvis_lhs;
23700
- var updated = new HomepageSettings(tmp5_defaultPostCommentsEnabled, tmp4_neighborhoodAppEnabled, tmp3_neighborhoodEnabled);
23699
+ var tmp6_defaultPostCommentsEnabled = tmp2_elvis_lhs == null ? current.defaultPostCommentsEnabled : tmp2_elvis_lhs;
23700
+ var tmp3_elvis_lhs = command.defaultPostNotificationsEnabled;
23701
+ var tmp7_defaultPostNotificationsEnabled = tmp3_elvis_lhs == null ? current.defaultPostNotificationsEnabled : tmp3_elvis_lhs;
23702
+ var updated = new HomepageSettings(tmp6_defaultPostCommentsEnabled, tmp7_defaultPostNotificationsEnabled, tmp5_neighborhoodAppEnabled, tmp4_neighborhoodEnabled);
23701
23703
  // Inline function 'kotlin.collections.set' call
23702
23704
  this$0.homepageSettingsPerCompany.put_4fpzoq_k$(companyId, updated);
23703
23705
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -26650,7 +26652,7 @@ function MockBackend$registerHandlers$lambda_290(this$0) {
26650
26652
  }
26651
26653
  var tmp0 = this$0;
26652
26654
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
26653
- var content = new DraftCompany(id, '123456789', new KartverketResult(VOID, new CreateCompany(VOID, VOID, VOID, 'BRL', VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'Mock BRL')));
26655
+ var content = new DraftCompany(id, '123456789', VOID, new KartverketResult(VOID, new CreateCompany(VOID, VOID, VOID, 'BRL', VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'Mock BRL')));
26654
26656
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
26655
26657
  var this_0 = tmp0.json_1;
26656
26658
  // Inline function 'kotlinx.serialization.serializer' call
@@ -43574,7 +43576,7 @@ function SoliboOpenTelemetry() {
43574
43576
  }
43575
43577
  protoOf(SoliboOpenTelemetry).tracer_4qhv4u_k$ = function () {
43576
43578
  var tmp0_elvis_lhs = this.installed_1;
43577
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.35.0');
43579
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.36.0');
43578
43580
  };
43579
43581
  var SoliboOpenTelemetry_instance;
43580
43582
  function SoliboOpenTelemetry_getInstance() {
@@ -45733,6 +45735,15 @@ if (typeof OrderType !== 'undefined') {
45733
45735
  }
45734
45736
 
45735
45737
 
45738
+ /* Enum aliases for OrganizationNumberType */
45739
+ if (typeof OrganizationNumberType !== 'undefined') {
45740
+ Object.defineProperties(OrganizationNumberType, {
45741
+ "OrganizationNumber": { get() { return OrganizationNumberType.ORGANIZATION_NUMBER; }, enumerable: true, configurable: true },
45742
+ "Lopenummer": { get() { return OrganizationNumberType.LOPENUMMER; }, enumerable: true, configurable: true }
45743
+ });
45744
+ }
45745
+
45746
+
45736
45747
  /* Enum aliases for OverdueNoticeOrder */
45737
45748
  if (typeof OverdueNoticeOrder !== 'undefined') {
45738
45749
  Object.defineProperties(OverdueNoticeOrder, {
@@ -46928,6 +46939,7 @@ if (typeof FailureKind !== 'undefined') {
46928
46939
  __soliboLookupTable["TaskApi"] = () => ref(() => TaskApi);
46929
46940
  __soliboLookupTable["TaskEvent"] = () => ref(() => TaskEvent);
46930
46941
  __soliboLookupTable["TenantInput"] = () => ref(() => TenantInput);
46942
+ __soliboLookupTable["TenantRegistration"] = () => ref(() => TenantRegistration);
46931
46943
  __soliboLookupTable["ThirdPartyInformation"] = () => ref(() => ThirdPartyInformation);
46932
46944
  __soliboLookupTable["ThirdPartyInformationApi"] = () => ref(() => ThirdPartyInformationApi);
46933
46945
  __soliboLookupTable["ThirdPartyInformationError"] = () => ref(() => ThirdPartyInformationError);