@solibo/solibo-sdk 1.22.4 → 1.26.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.
@@ -330,7 +330,7 @@ function addFormatStructureForDate(structure) {
330
330
  function addFormatStructureForTime(structure) {
331
331
  this.addFormatStructureForDateTime_noiy5b_k$(structure);
332
332
  }
333
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
333
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
334
334
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
335
335
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
336
336
  function set_fractionOfSecond(value) {
package/client.d.mts CHANGED
@@ -574,6 +574,8 @@ import type {
574
574
  PeriodicTaskIntervalMethod,
575
575
  PeriodicTaskIntervalType,
576
576
  Person,
577
+ PersonAvatarCategory,
578
+ PersonAvatarDisclosure,
577
579
  PersonCustomer,
578
580
  PersonParticipant,
579
581
  PersonResident,
@@ -957,6 +959,8 @@ export type SdkInput<T> =
957
959
  T extends PaymentHandlingStatus ? PaymentHandlingStatus | "ATTACHED_TO_INVOICE" | "CLOSED" :
958
960
  T extends PeriodicTaskIntervalMethod ? PeriodicTaskIntervalMethod | "FIXED" | "CONTINUOUS" :
959
961
  T extends PeriodicTaskIntervalType ? PeriodicTaskIntervalType | "HOUR" | "DAY" | "WEEKLY" | "MONTH" | "QUARTERLY" | "BIANNUAL" | "ANNUAL" | "BIENNIAL" | "QUINQUENNIAL" :
962
+ T extends PersonAvatarCategory ? PersonAvatarCategory | "SOLIBO" | "BOARD" | "OWNER" | "RENTER" | "EXTERNAL" :
963
+ T extends PersonAvatarDisclosure ? PersonAvatarDisclosure | "NAME_AND_IMAGE" | "ROLE" | "FULL" :
960
964
  T extends PersonStatus ? PersonStatus | "ACTIVE" | "RESIDENCED" | "MOVED_OUT" | "DISAPPEARED" | "DEAD" | "EXPIRED" | "BIRTH_REGISTERED" | "TEMPORARY" | "INACTIVE" | "HOMELESS" :
961
965
  T extends PreferredAdvertisement ? PreferredAdvertisement | "COMBO" | "EMAIL" | "DIGIPOST" | "LETTER" | "NONE" :
962
966
  T extends PushNotificationClassifier ? PushNotificationClassifier | "NEW_OPPSLAG" | "NEW_PRACTICAL_INFO" | "NEW_MESSAGE_IN_CONVERSATION" | "NEW_NEIGHBORHOOD_POST" | "NEW_COMMUNICATION_COMMENT" :
@@ -2127,7 +2131,7 @@ export interface SectionApiFacade {
2127
2131
  sectionId: Id;
2128
2132
  statusType?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
2129
2133
  fields?: F;
2130
- }): Promise<ProjectionResult<F, Map<string, SectionStatusSectionStatusMapValue[]>>>;
2134
+ }): Promise<ProjectionResult<F, Map<string, Map<string, SectionStatusSectionStatusMapValue[]>>>>;
2131
2135
  splitSection(params: {
2132
2136
  companyId: Id;
2133
2137
  input: SplitSectionCommand | SdkInput<SplitSectionCommandProps>;
@@ -2913,6 +2917,7 @@ export interface InvoicingApiFacade {
2913
2917
  pageToken?: string | null | undefined;
2914
2918
  autoPaginate?: boolean | null | undefined;
2915
2919
  count?: number | null | undefined;
2920
+ companyIds?: ReadonlyArray<Id> | null | undefined;
2916
2921
  }): Promise<ProjectionResult<F, PagedListGlobalPreview>>;
2917
2922
  lossInvoice(params: {
2918
2923
  companyId: Id;
package/client.mjs CHANGED
@@ -4663,9 +4663,7 @@ const DESCRIPTORS = {
4663
4663
  "body": null,
4664
4664
  "bodyType": null,
4665
4665
  "requiredProjectionFields": [
4666
- "company",
4667
- "feed",
4668
- "practicalInformation"
4666
+ "company"
4669
4667
  ]
4670
4668
  },
4671
4669
  "showOpenHomepage": {
@@ -4682,9 +4680,7 @@ const DESCRIPTORS = {
4682
4680
  "body": null,
4683
4681
  "bodyType": null,
4684
4682
  "requiredProjectionFields": [
4685
- "company",
4686
- "feed",
4687
- "practicalInformation"
4683
+ "company"
4688
4684
  ]
4689
4685
  },
4690
4686
  "showOpenHomepageByDomain": {
@@ -4701,9 +4697,7 @@ const DESCRIPTORS = {
4701
4697
  "body": null,
4702
4698
  "bodyType": null,
4703
4699
  "requiredProjectionFields": [
4704
- "company",
4705
- "feed",
4706
- "practicalInformation"
4700
+ "company"
4707
4701
  ]
4708
4702
  },
4709
4703
  "showOpenHomepageDocument": {
@@ -7341,6 +7335,10 @@ const DESCRIPTORS = {
7341
7335
  {
7342
7336
  "name": "count",
7343
7337
  "type": "number | null | undefined"
7338
+ },
7339
+ {
7340
+ "name": "companyIds",
7341
+ "type": "bigint[] | null | undefined"
7344
7342
  }
7345
7343
  ],
7346
7344
  "body": null,
@@ -16564,7 +16562,7 @@ const PROPS = {
16564
16562
  "session": "string | null | undefined"
16565
16563
  },
16566
16564
  "AttachIssueToMeetingCommandProps": {
16567
- "beforeIndex": "bigint"
16565
+ "beforeIndex": "bigint | null | undefined"
16568
16566
  },
16569
16567
  "AttendanceProps": {
16570
16568
  "companyId": "bigint",
@@ -17063,6 +17061,7 @@ const PROPS = {
17063
17061
  "idsToSign": "bigint[] | null | undefined"
17064
17062
  },
17065
17063
  "CommunicationActorProps": {
17064
+ "avatar": "PersonAvatarProps | null | undefined",
17066
17065
  "clientUserId": "bigint | null | undefined",
17067
17066
  "displayName": "string | null | undefined",
17068
17067
  "personId": "bigint | null | undefined",
@@ -18129,6 +18128,7 @@ const PROPS = {
18129
18128
  "companyId": "bigint",
18130
18129
  "createdAt": "SoliboInstant /* Instant */",
18131
18130
  "createdBy": "bigint | null | undefined",
18131
+ "createdByAvatar": "PersonAvatarProps | null | undefined",
18132
18132
  "createdByClientUserId": "bigint | null | undefined",
18133
18133
  "createdByClientUserName": "string | null | undefined",
18134
18134
  "createdByName": "string | null | undefined",
@@ -18562,9 +18562,7 @@ const PROPS = {
18562
18562
  },
18563
18563
  "HomepageProps": {
18564
18564
  "company": "CompanyProps",
18565
- "feed": "PostProps[]",
18566
- "image": "DocumentProps | null | undefined",
18567
- "practicalInformation": "PostProps[]"
18565
+ "image": "DocumentProps | null | undefined"
18568
18566
  },
18569
18567
  "InnsenderProps": {
18570
18568
  "kontaktinformasjon": "KontaktinformasjonProps | null | undefined",
@@ -18913,6 +18911,7 @@ const PROPS = {
18913
18911
  "content": "string",
18914
18912
  "createdAt": "SoliboInstant /* Instant */",
18915
18913
  "createdBy": "PersonUserProps | null | undefined",
18914
+ "createdByAvatar": "PersonAvatarProps | null | undefined",
18916
18915
  "createdByClientUserId": "bigint | null | undefined",
18917
18916
  "createdByClientUserName": "string | null | undefined",
18918
18917
  "emoticon": "string | null | undefined",
@@ -20214,6 +20213,7 @@ const PROPS = {
20214
20213
  "PersonProps": {
20215
20214
  "accountNumber": "string | null | undefined",
20216
20215
  "address": "AddressSpecificsProps | null | undefined",
20216
+ "avatar": "PersonAvatarProps | null | undefined",
20217
20217
  "birthDay": "string | null | undefined",
20218
20218
  "completeMobile": "string | null | undefined",
20219
20219
  "country": "string | null | undefined",
@@ -20243,6 +20243,50 @@ const PROPS = {
20243
20243
  "PersonAdresseProps": {
20244
20244
  "road": "PersonRoadProps"
20245
20245
  },
20246
+ "PersonAvatarProps": {
20247
+ "category": "PersonAvatarCategory | null | undefined",
20248
+ "companyId": "bigint | null | undefined",
20249
+ "contact": "PersonAvatarContactProps | null | undefined",
20250
+ "disclosure": "PersonAvatarDisclosure | null | undefined",
20251
+ "familyName": "string | null | undefined",
20252
+ "givenName": "string | null | undefined",
20253
+ "imageUrl": "string | null | undefined",
20254
+ "initials": "string",
20255
+ "isUser": "boolean | null | undefined",
20256
+ "name": "string",
20257
+ "personId": "bigint",
20258
+ "postalAddress": "AddressSpecificsProps | null | undefined",
20259
+ "primaryRole": "RoleType | null | undefined",
20260
+ "primarySection": "PersonAvatarSectionProps | null | undefined",
20261
+ "roles": "PersonAvatarRoleProps[] | null | undefined",
20262
+ "sections": "PersonAvatarSectionProps[] | null | undefined",
20263
+ "title": "string | null | undefined"
20264
+ },
20265
+ "PersonAvatarContactProps": {
20266
+ "email": "string | null | undefined",
20267
+ "mobile": "string | null | undefined",
20268
+ "reservedEmail": "boolean | null | undefined",
20269
+ "reservedSms": "boolean | null | undefined"
20270
+ },
20271
+ "PersonAvatarRoleProps": {
20272
+ "companyId": "bigint | null | undefined",
20273
+ "companyName": "string | null | undefined",
20274
+ "sectionId": "bigint | null | undefined",
20275
+ "type": "RoleType"
20276
+ },
20277
+ "PersonAvatarSectionProps": {
20278
+ "apartmentNr": "string | null | undefined",
20279
+ "area": "string | null | undefined",
20280
+ "companyId": "bigint",
20281
+ "hNr": "string | null | undefined",
20282
+ "identifier": "string | null | undefined",
20283
+ "label": "string | null | undefined",
20284
+ "residenceNr": "bigint | null | undefined",
20285
+ "roles": "RoleType[] | null | undefined",
20286
+ "sectionId": "bigint",
20287
+ "streetAddress": "string | null | undefined",
20288
+ "zipCode": "string | null | undefined"
20289
+ },
20246
20290
  "PersonCustomerProps": {
20247
20291
  "active": "boolean",
20248
20292
  "area": "string | null | undefined",
@@ -20280,6 +20324,7 @@ const PROPS = {
20280
20324
  "name": "string",
20281
20325
  "participantId": "bigint",
20282
20326
  "actingRoleType": "RoleType | null | undefined",
20327
+ "avatar": "PersonAvatarProps | null | undefined",
20283
20328
  "person": "PersonProps | null | undefined"
20284
20329
  },
20285
20330
  "PersonPostalAreaProps": {
@@ -20302,6 +20347,7 @@ const PROPS = {
20302
20347
  "searchMatches": "SearchMatchProps[] | null | undefined",
20303
20348
  "storageRooms": "StorageRoomOwnershipProps[] | null | undefined",
20304
20349
  "address": "AddressSpecificsProps | null | undefined",
20350
+ "avatar": "PersonAvatarProps | null | undefined",
20305
20351
  "birthDay": "string | null | undefined",
20306
20352
  "completeMobile": "string | null | undefined",
20307
20353
  "email": "string | null | undefined",
@@ -21219,9 +21265,11 @@ const PROPS = {
21219
21265
  "TaskProps": {
21220
21266
  "companyId": "bigint",
21221
21267
  "completedAt": "SoliboInstant /* Instant */ | null | undefined",
21268
+ "completedByAvatar": "PersonAvatarProps | null | undefined",
21222
21269
  "completedById": "bigint | null | undefined",
21223
21270
  "completedByName": "string | null | undefined",
21224
21271
  "createdAt": "SoliboInstant /* Instant */ | null | undefined",
21272
+ "createdByAvatar": "PersonAvatarProps | null | undefined",
21225
21273
  "createdById": "bigint | null | undefined",
21226
21274
  "createdByName": "string | null | undefined",
21227
21275
  "deletedAt": "SoliboInstant /* Instant */ | null | undefined",
@@ -21236,8 +21284,10 @@ const PROPS = {
21236
21284
  "intervalValue": "bigint | null | undefined",
21237
21285
  "log": "TaskEventProps[]",
21238
21286
  "registeredAt": "SoliboInstant /* Instant */ | null | undefined",
21287
+ "registeredByAvatar": "PersonAvatarProps | null | undefined",
21239
21288
  "registeredById": "bigint | null | undefined",
21240
21289
  "registeredByName": "string | null | undefined",
21290
+ "responsibleAvatar": "PersonAvatarProps | null | undefined",
21241
21291
  "responsibleId": "bigint | null | undefined",
21242
21292
  "responsibleName": "string | null | undefined",
21243
21293
  "routineId": "bigint | null | undefined",
@@ -119,12 +119,12 @@ function asJsReadonlyMapView() {
119
119
  }
120
120
  initMetadataForInterface(KtMap, 'Map');
121
121
  initMetadataForInterface(MutableIterable, 'MutableIterable');
122
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
122
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
123
123
  initMetadataForCompanion(Companion_2);
124
124
  function asJsArrayView() {
125
125
  return createJsArrayViewFrom(this);
126
126
  }
127
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
127
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
128
128
  initMetadataForInterface(MutableEntry, 'MutableEntry', VOID, VOID, [Entry]);
129
129
  initMetadataForCompanion(Companion_3);
130
130
  function asJsMapView() {
@@ -155,7 +155,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [RandomAccess]);
155
155
  initMetadataForInterface(AutoCloseable, 'AutoCloseable');
156
156
  initMetadataForInterface(Comparator, 'Comparator');
157
157
  initMetadataForObject(Unit, 'Unit');
158
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
158
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
159
159
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
160
160
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
161
161
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
@@ -167,7 +167,7 @@ initMetadataForCompanion(Companion_6);
167
167
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
168
168
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
169
169
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
170
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
170
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
171
171
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
172
172
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
173
173
  initMetadataForClass(HashMapKeysDefault$iterator$1);
@@ -243,6 +243,11 @@ initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
243
243
  initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
244
244
  initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
245
245
  initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
246
+ function close$default(cause, $super) {
247
+ cause = cause === VOID ? null : cause;
248
+ return $super === VOID ? this.close_ukldxa_k$(cause) : $super.close_ukldxa_k$.call(this, cause);
249
+ }
250
+ initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
246
251
  function cancel$default_0(cause, $super) {
247
252
  cause = cause === VOID ? null : cause;
248
253
  var tmp;
@@ -255,12 +260,7 @@ function cancel$default_0(cause, $super) {
255
260
  return tmp;
256
261
  }
257
262
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
258
- function close$default(cause, $super) {
259
- cause = cause === VOID ? null : cause;
260
- return $super === VOID ? this.close_ukldxa_k$(cause) : $super.close_ukldxa_k$.call(this, cause);
261
- }
262
- initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
263
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
263
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
264
264
  initMetadataForClass(WaiterEB, 'WaiterEB');
265
265
  initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
266
266
  initMetadataForObject(Factory, 'Factory');
@@ -270,7 +270,7 @@ initMetadataForCompanion(Companion);
270
270
  initMetadataForClass(ChannelResult, 'ChannelResult');
271
271
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
272
272
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
273
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [ReceiveChannel, SendChannel], [1, 0]);
273
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [1, 0]);
274
274
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
275
275
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
276
276
  initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);