@solibo/solibo-sdk 1.33.1 → 1.33.2

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.
@@ -3666,6 +3666,7 @@ export interface CompanyProps {
3666
3666
  buildings?: BuildingProps[] | null | undefined;
3667
3667
  classification: string;
3668
3668
  country: string;
3669
+ createdAt?: SoliboInstant /* Instant */ | null | undefined;
3669
3670
  id: bigint;
3670
3671
  managed: boolean;
3671
3672
  name: string;
@@ -3678,14 +3679,16 @@ export interface CompanyProps {
3678
3679
  status?: CompanyStatus | null | undefined;
3679
3680
  subTypes: CompanySubType[];
3680
3681
  tenantId: bigint;
3682
+ updatedAt?: SoliboInstant /* Instant */ | null | undefined;
3681
3683
  }
3682
3684
  export declare class Company {
3683
3685
  constructor(props: CompanyProps);
3684
- constructor(addresses: CompanyAddress[] | null | undefined, buildings: Building[] | null | undefined, classification: string, country: string, id: bigint, managed: boolean, name: string, nationality: bigint, operatingAccount: string | null | undefined, orgNr: string | null | undefined, organizationId: bigint | null | undefined, pricePerShare: number | null | undefined, slug: string | null | undefined, status: CompanyStatus | null | undefined, subTypes: CompanySubType[], tenantId: bigint);
3686
+ constructor(addresses: CompanyAddress[] | null | undefined, buildings: Building[] | null | undefined, classification: string, country: string, createdAt: SoliboInstant /* Instant */ | null | undefined, id: bigint, managed: boolean, name: string, nationality: bigint, operatingAccount: string | null | undefined, orgNr: string | null | undefined, organizationId: bigint | null | undefined, pricePerShare: number | null | undefined, slug: string | null | undefined, status: CompanyStatus | null | undefined, subTypes: CompanySubType[], tenantId: bigint, updatedAt?: SoliboInstant /* Instant */ | null | undefined);
3685
3687
  get addresses(): CompanyAddress[] | null | undefined;
3686
3688
  get buildings(): Building[] | null | undefined;
3687
3689
  get classification(): string;
3688
3690
  get country(): string;
3691
+ get createdAt(): SoliboInstant /* Instant */ | null | undefined;
3689
3692
  get id(): bigint;
3690
3693
  get managed(): boolean;
3691
3694
  get name(): string;
@@ -3698,6 +3701,7 @@ export declare class Company {
3698
3701
  get status(): CompanyStatus | null | undefined;
3699
3702
  get subTypes(): CompanySubType[];
3700
3703
  get tenantId(): bigint;
3704
+ get updatedAt(): SoliboInstant /* Instant */ | null | undefined;
3701
3705
  }
3702
3706
  export declare namespace Company {
3703
3707
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -9883,6 +9887,7 @@ export declare namespace GenericPayload {
9883
9887
  }
9884
9888
  export interface GenghisCompanyProps {
9885
9889
  accountNumber?: string | null | undefined;
9890
+ createdAt?: bigint | null | undefined;
9886
9891
  etag: string;
9887
9892
  id: bigint;
9888
9893
  invoiceReception?: string | null | undefined;
@@ -9891,11 +9896,13 @@ export interface GenghisCompanyProps {
9891
9896
  orgnr?: string | null | undefined;
9892
9897
  soliboManaged: boolean;
9893
9898
  type: string;
9899
+ updatedAt?: bigint | null | undefined;
9894
9900
  }
9895
9901
  export declare class GenghisCompany {
9896
9902
  constructor(props: GenghisCompanyProps);
9897
- constructor(accountNumber: string | null | undefined, etag: string, id: bigint, invoiceReception: string | null | undefined, name: string, nationality: string | null | undefined, orgnr: string | null | undefined, soliboManaged: boolean, type: string);
9903
+ constructor(accountNumber: string | null | undefined, createdAt: bigint | null | undefined, etag: string, id: bigint, invoiceReception: string | null | undefined, name: string, nationality: string | null | undefined, orgnr: string | null | undefined, soliboManaged: boolean, type: string, updatedAt?: bigint | null | undefined);
9898
9904
  get accountNumber(): string | null | undefined;
9905
+ get createdAt(): bigint | null | undefined;
9899
9906
  get etag(): string;
9900
9907
  get id(): bigint;
9901
9908
  get invoiceReception(): string | null | undefined;
@@ -9904,6 +9911,7 @@ export declare class GenghisCompany {
9904
9911
  get orgnr(): string | null | undefined;
9905
9912
  get soliboManaged(): boolean;
9906
9913
  get type(): string;
9914
+ get updatedAt(): bigint | null | undefined;
9907
9915
  }
9908
9916
  export declare namespace GenghisCompany {
9909
9917
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -18430,6 +18438,7 @@ export interface PersonProps {
18430
18438
  birthDay?: string | null | undefined;
18431
18439
  completeMobile?: string | null | undefined;
18432
18440
  country?: string | null | undefined;
18441
+ createdAt?: SoliboInstant /* Instant */ | null | undefined;
18433
18442
  email?: string | null | undefined;
18434
18443
  folkeregisteret?: FolkeregisteretProps | null | undefined;
18435
18444
  historicRoles?: RoleProps[] | null | undefined;
@@ -18451,17 +18460,19 @@ export interface PersonProps {
18451
18460
  searchMatches?: SearchMatchProps[] | null | undefined;
18452
18461
  storageRooms?: StorageRoomOwnershipProps[] | null | undefined;
18453
18462
  title?: string | null | undefined;
18463
+ updatedAt?: SoliboInstant /* Instant */ | null | undefined;
18454
18464
  userId?: string | null | undefined;
18455
18465
  }
18456
18466
  export declare class Person {
18457
18467
  constructor(props: PersonProps);
18458
- constructor(accountNumber: string | null | undefined, address: AddressSpecifics | null | undefined, avatar: PersonAvatar | null | undefined, birthDay: string | null | undefined, completeMobile: string | null | undefined, country: string | null | undefined, email: string | null | undefined, folkeregisteret: Folkeregisteret | null | undefined, historicRoles: Role[] | null | undefined, id: bigint, invoicingEmail?: string | null | undefined, isUser?: boolean | null | undefined, mobile?: string | null | undefined, mobileCountryCode?: string | null | undefined, name?: Name | null | undefined, nationality?: bigint | null | undefined, note?: string | null | undefined, parkingSpaces?: ParkingSpaceOwnership[] | null | undefined, personnummerId?: string | null | undefined, preferredLanguage?: bigint | null | undefined, profileUrl?: string | null | undefined, reservedEmail?: boolean | null | undefined, reservedSMS?: boolean | null | undefined, roles?: Role[] | null | undefined, searchMatches?: SearchMatch[] | null | undefined, storageRooms?: StorageRoomOwnership[] | null | undefined, title?: string | null | undefined, userId?: string | null | undefined);
18468
+ constructor(accountNumber: string | null | undefined, address: AddressSpecifics | null | undefined, avatar: PersonAvatar | null | undefined, birthDay: string | null | undefined, completeMobile: string | null | undefined, country: string | null | undefined, createdAt: SoliboInstant /* Instant */ | null | undefined, email: string | null | undefined, folkeregisteret: Folkeregisteret | null | undefined, historicRoles: Role[] | null | undefined, id: bigint, invoicingEmail?: string | null | undefined, isUser?: boolean | null | undefined, mobile?: string | null | undefined, mobileCountryCode?: string | null | undefined, name?: Name | null | undefined, nationality?: bigint | null | undefined, note?: string | null | undefined, parkingSpaces?: ParkingSpaceOwnership[] | null | undefined, personnummerId?: string | null | undefined, preferredLanguage?: bigint | null | undefined, profileUrl?: string | null | undefined, reservedEmail?: boolean | null | undefined, reservedSMS?: boolean | null | undefined, roles?: Role[] | null | undefined, searchMatches?: SearchMatch[] | null | undefined, storageRooms?: StorageRoomOwnership[] | null | undefined, title?: string | null | undefined, updatedAt?: SoliboInstant /* Instant */ | null | undefined, userId?: string | null | undefined);
18459
18469
  get accountNumber(): string | null | undefined;
18460
18470
  get address(): AddressSpecifics | null | undefined;
18461
18471
  get avatar(): PersonAvatar | null | undefined;
18462
18472
  get birthDay(): string | null | undefined;
18463
18473
  get completeMobile(): string | null | undefined;
18464
18474
  get country(): string | null | undefined;
18475
+ get createdAt(): SoliboInstant /* Instant */ | null | undefined;
18465
18476
  get email(): string | null | undefined;
18466
18477
  get folkeregisteret(): Folkeregisteret | null | undefined;
18467
18478
  get historicRoles(): Role[] | null | undefined;
@@ -18483,6 +18494,7 @@ export declare class Person {
18483
18494
  get searchMatches(): SearchMatch[] | null | undefined;
18484
18495
  get storageRooms(): StorageRoomOwnership[] | null | undefined;
18485
18496
  get title(): string | null | undefined;
18497
+ get updatedAt(): SoliboInstant /* Instant */ | null | undefined;
18486
18498
  get userId(): string | null | undefined;
18487
18499
  }
18488
18500
  export declare namespace Person {
@@ -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.33.1 (' + $platformName + ')');
8225
- header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.33.1');
8224
+ header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.33.2 (' + $platformName + ')');
8225
+ header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.33.2');
8226
8226
  return Unit_instance;
8227
8227
  };
8228
8228
  }
@@ -17729,7 +17729,7 @@ function createMockOrganization($this, id) {
17729
17729
  }
17730
17730
  function createMockPerson($this, id) {
17731
17731
  var tmp0_family = 'Person ' + id.toString();
17732
- return new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, id, VOID, VOID, VOID, VOID, new Name(VOID, tmp0_family, 'Mock'));
17732
+ return new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, id, VOID, VOID, VOID, VOID, new Name(VOID, tmp0_family, 'Mock'));
17733
17733
  }
17734
17734
  function createMockInvoicePlan($this, id, companyId) {
17735
17735
  var tmp0_name = 'Mock Plan ' + id.toString();
@@ -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', 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, 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', 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, 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
@@ -18418,7 +18418,7 @@ function MockBackend$registerHandlers$lambda_9(this$0) {
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, 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, 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);
@@ -20727,7 +20727,7 @@ function MockBackend$registerHandlers$lambda_95(this$0) {
20727
20727
  tmp_2 = new Name(VOID, tmp1_family, 'Org');
20728
20728
  }
20729
20729
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
20730
- var content = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_1, VOID, VOID, VOID, VOID, tmp_2);
20730
+ var content = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_1, VOID, VOID, VOID, VOID, tmp_2);
20731
20731
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
20732
20732
  var this_1 = tmp0.json_1;
20733
20733
  // Inline function 'kotlinx.serialization.serializer' call
@@ -24364,7 +24364,7 @@ function MockBackend$registerHandlers$lambda_207(this$0) {
24364
24364
  } else {
24365
24365
  tmp_1 = tmp1_elvis_lhs;
24366
24366
  }
24367
- var person = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, id, VOID, VOID, VOID, VOID, tmp_1);
24367
+ var person = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, id, VOID, VOID, VOID, VOID, tmp_1);
24368
24368
  // Inline function 'kotlin.collections.getOrPut' call
24369
24369
  var this_3 = this$0.boardMembersPerCompany;
24370
24370
  var value_0 = this_3.get_wei43m_k$(companyId);
@@ -26152,7 +26152,7 @@ function MockBackend$registerHandlers$lambda_267(this$0) {
26152
26152
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
26153
26153
  // Inline function 'kotlin.let' call
26154
26154
  var it = createMockUser(this$0, 1n);
26155
- var person = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toLong(it.id), VOID, VOID, VOID, VOID, it.name);
26155
+ var person = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toLong(it.id), VOID, VOID, VOID, VOID, it.name);
26156
26156
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
26157
26157
  var this_0 = this$0;
26158
26158
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
@@ -26220,7 +26220,7 @@ function MockBackend$registerHandlers$lambda_271(this$0) {
26220
26220
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
26221
26221
  // Inline function 'kotlin.let' call
26222
26222
  var it = createMockUser(this$0, 1n);
26223
- var person = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toLong(it.id), VOID, VOID, VOID, VOID, it.name);
26223
+ var person = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toLong(it.id), VOID, VOID, VOID, VOID, it.name);
26224
26224
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
26225
26225
  var this_0 = this$0;
26226
26226
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
@@ -26238,7 +26238,7 @@ function MockBackend$registerHandlers$lambda_272(this$0) {
26238
26238
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
26239
26239
  // Inline function 'kotlin.let' call
26240
26240
  var it = createMockUser(this$0, 1n);
26241
- var person = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toLong(it.id), VOID, VOID, VOID, VOID, it.name);
26241
+ var person = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toLong(it.id), VOID, VOID, VOID, VOID, it.name);
26242
26242
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
26243
26243
  var this_0 = this$0;
26244
26244
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
@@ -26281,8 +26281,8 @@ function MockBackend$registerHandlers$lambda_274(this$0) {
26281
26281
  var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
26282
26282
  var command = tmp0.decodeFromString_jwu9sq_k$(tmp$ret$1, string);
26283
26283
  var tmp0_elvis_lhs = this$0.persons.get_wei43m_k$(id);
26284
- var person = tmp0_elvis_lhs == null ? new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, id, VOID, VOID, VOID, VOID, command.name) : tmp0_elvis_lhs;
26285
- var updatedPerson = person.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, command.name);
26284
+ var person = tmp0_elvis_lhs == null ? new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, id, VOID, VOID, VOID, VOID, command.name) : tmp0_elvis_lhs;
26285
+ var updatedPerson = person.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, command.name);
26286
26286
  // Inline function 'kotlin.collections.set' call
26287
26287
  this$0.persons.put_4fpzoq_k$(id, updatedPerson);
26288
26288
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -26306,7 +26306,7 @@ function MockBackend$registerHandlers$lambda_275(this$0) {
26306
26306
  if (tmp0_elvis_lhs == null) {
26307
26307
  // Inline function 'kotlin.let' call
26308
26308
  var it = createMockUser(this$0, id);
26309
- tmp = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toLong(it.id), VOID, VOID, VOID, VOID, it.name);
26309
+ tmp = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toLong(it.id), VOID, VOID, VOID, VOID, it.name);
26310
26310
  } else {
26311
26311
  tmp = tmp0_elvis_lhs;
26312
26312
  }
@@ -31848,7 +31848,7 @@ protoOf(MockBackend).prefillResources = function () {
31848
31848
  tmp0_4.put_4fpzoq_k$(1n, value_4);
31849
31849
  var tmp0_5 = this.persons;
31850
31850
  // Inline function 'kotlin.collections.set' call
31851
- var value_5 = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, personId, VOID, VOID, VOID, VOID, user.name);
31851
+ var value_5 = new Person(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, personId, VOID, VOID, VOID, VOID, user.name);
31852
31852
  tmp0_5.put_4fpzoq_k$(personId, value_5);
31853
31853
  var tmp0_6 = this.residentsPerCompany;
31854
31854
  var tmp7_elvis_lhs = user.name;
@@ -32020,7 +32020,7 @@ protoOf(MockBackend).prefillUsers = function () {
32020
32020
  protoOf(MockBackend).addCompany = function (id, name) {
32021
32021
  var tmp0 = this.companies;
32022
32022
  // Inline function 'kotlin.collections.set' call
32023
- var value = createMockCompany(this, id).copy(VOID, VOID, VOID, VOID, VOID, VOID, name);
32023
+ var value = createMockCompany(this, id).copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, name);
32024
32024
  tmp0.put_4fpzoq_k$(id, value);
32025
32025
  };
32026
32026
  protoOf(MockBackend).addHandler = function (handler) {
@@ -43574,7 +43574,7 @@ function SoliboOpenTelemetry() {
43574
43574
  }
43575
43575
  protoOf(SoliboOpenTelemetry).tracer_4qhv4u_k$ = function () {
43576
43576
  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.33.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.33.2');
43578
43578
  };
43579
43579
  var SoliboOpenTelemetry_instance;
43580
43580
  function SoliboOpenTelemetry_getInstance() {