@solibo/solibo-sdk 1.28.11 → 1.29.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, WithTime, WithDate]);
333
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
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
@@ -346,8 +346,10 @@ import type {
346
346
  FindResidentByPersonalIdentityNumberCommand,
347
347
  FindResidentByPersonalIdentityNumberCommandProps,
348
348
  FindResidentResult,
349
+ FollowUpDiscriminator,
349
350
  FollowUpIssueLaterCommand,
350
351
  FollowUpIssueLaterCommandProps,
352
+ FollowUpViewerStatus,
351
353
  FractionRecipientType,
352
354
  FractionType,
353
355
  FullEmailContent,
@@ -508,6 +510,7 @@ import type {
508
510
  PagedListExpense,
509
511
  PagedListExpenseType,
510
512
  PagedListExpiredType,
513
+ PagedListFollowUp,
511
514
  PagedListGlobalPreview,
512
515
  PagedListInsurance,
513
516
  PagedListInvoice,
@@ -937,6 +940,8 @@ export type SdkInput<T> =
937
940
  T extends ExpiredType ? ExpiredType | "NONE" | "FIRST" | "SECOND" :
938
941
  T extends FailureReason ? FailureReason | "MALFORMED_REQUEST" | "NO_SESSION" | "CREDENTIAL_REJECTED" | "NO_PERSON" | "DEVICE_REJECTED" | "INVOICING_NOT_ACTIVE" :
939
942
  T extends FcmDeviceType ? FcmDeviceType | "ANDROID" | "IOS" | "WEB" | "UNKNOWN" :
943
+ T extends FollowUpDiscriminator ? FollowUpDiscriminator | "EXPENSE" | "MEETING_PROTOCOL" | "SUPPLIER_INVOICE" :
944
+ T extends FollowUpViewerStatus ? FollowUpViewerStatus | "AWAITING_ME" | "AWAITING_OTHERS" :
940
945
  T extends FractionRecipientType ? FractionRecipientType | "PERSON" | "ORGANIZATION" :
941
946
  T extends FractionType ? FractionType | "OWNER" | "SECTION" | "IN_ONE" | "IN_TWO" | "IN_THREE" | "IN_FOUR" | "WEALTH" :
942
947
  T extends HmsSettingsRefusalReason ? HmsSettingsRefusalReason | "HMS_SETTINGS_NOT_FOUND" | "ROUTINE_GROUP_NOT_FOUND" | "ROUTINE_GROUP_NOT_HMS" | "ROUTINE_NOT_CREATED" :
@@ -5284,6 +5289,17 @@ export interface UnsubscribeApiFacade {
5284
5289
  }): Promise<SdkResult<string>>;
5285
5290
  }
5286
5291
 
5292
+ export interface FollowUpApiFacade {
5293
+ indexFollowUpsForCompanies<F extends string | null | undefined = undefined>(params: {
5294
+ companyIds?: ReadonlyArray<Id> | null | undefined;
5295
+ includeAwaitingOthers?: boolean | null | undefined;
5296
+ fields?: F;
5297
+ pageToken?: string | null | undefined;
5298
+ autoPaginate?: boolean | null | undefined;
5299
+ count?: number | null | undefined;
5300
+ }): Promise<ProjectionResult<F, PagedListFollowUp>>;
5301
+ }
5302
+
5287
5303
  export interface SoliboClientApi {
5288
5304
  readonly users: UserApiFacade;
5289
5305
  readonly documents: DocumentsApiFacade;
@@ -5321,6 +5337,7 @@ export interface SoliboClientApi {
5321
5337
  readonly settlement: SettlementApiFacade;
5322
5338
  readonly appStores: AppStoresApiFacade;
5323
5339
  readonly unsubscribe: UnsubscribeApiFacade;
5340
+ readonly followUps: FollowUpApiFacade;
5324
5341
  }
5325
5342
 
5326
5343
  export declare class SoliboApiError extends Error {
package/client.mjs CHANGED
@@ -16555,6 +16555,47 @@ const DESCRIPTORS = {
16555
16555
  "body": null,
16556
16556
  "bodyType": null
16557
16557
  }
16558
+ },
16559
+ "followUps": {
16560
+ "indexFollowUpsForCompanies": {
16561
+ "args": [
16562
+ {
16563
+ "name": "companyIds",
16564
+ "type": "bigint[] | null | undefined"
16565
+ },
16566
+ {
16567
+ "name": "includeAwaitingOthers",
16568
+ "type": "boolean | null | undefined"
16569
+ },
16570
+ {
16571
+ "name": "fields",
16572
+ "type": "string | null | undefined"
16573
+ },
16574
+ {
16575
+ "name": "pageToken",
16576
+ "type": "string | null | undefined"
16577
+ },
16578
+ {
16579
+ "name": "autoPaginate",
16580
+ "type": "boolean | null | undefined"
16581
+ },
16582
+ {
16583
+ "name": "count",
16584
+ "type": "number | null | undefined"
16585
+ }
16586
+ ],
16587
+ "body": null,
16588
+ "bodyType": null,
16589
+ "requiredProjectionFields": [
16590
+ "companyId",
16591
+ "companyName",
16592
+ "key",
16593
+ "pending",
16594
+ "progress",
16595
+ "viewerStatus",
16596
+ "type"
16597
+ ]
16598
+ }
16558
16599
  }
16559
16600
  };
16560
16601
  const PROPS = {
@@ -18483,6 +18524,22 @@ const PROPS = {
18483
18524
  "ExpenseCountProps": {
18484
18525
  "count": "bigint"
18485
18526
  },
18527
+ "ExpenseFollowUpProps": {
18528
+ "companyId": "bigint",
18529
+ "companyName": "string",
18530
+ "key": "string",
18531
+ "pending": "FollowUpPersonProps[]",
18532
+ "progress": "FollowUpProgressProps",
18533
+ "viewerStatus": "FollowUpViewerStatus",
18534
+ "amount": "number",
18535
+ "createdAt": "SoliboInstant /* Instant */",
18536
+ "createdBy": "FollowUpPersonProps | null | undefined",
18537
+ "dateOfPurchase": "SoliboLocalDate /* LocalDate */",
18538
+ "description": "string | null | undefined",
18539
+ "expenseId": "bigint",
18540
+ "hasReceipt": "boolean",
18541
+ "payableTo": "FollowUpPersonProps"
18542
+ },
18486
18543
  "ExpenseProcessingProps": {
18487
18544
  "performedAt": "SoliboInstant /* Instant */ | null | undefined",
18488
18545
  "performedBy": "PersonProps | null | undefined",
@@ -18657,6 +18714,15 @@ const PROPS = {
18657
18714
  "FollowUpIssueLaterCommandProps": {
18658
18715
  "shouldFollowUp": "boolean"
18659
18716
  },
18717
+ "FollowUpPersonProps": {
18718
+ "name": "string",
18719
+ "personId": "bigint",
18720
+ "role": "RoleType | null | undefined"
18721
+ },
18722
+ "FollowUpProgressProps": {
18723
+ "done": "bigint",
18724
+ "required": "bigint"
18725
+ },
18660
18726
  "FractionRecipientProps": {
18661
18727
  "gateadresse": "string | null | undefined",
18662
18728
  "id": "bigint",
@@ -19444,6 +19510,18 @@ const PROPS = {
19444
19510
  "signatureUnobtainable": "boolean",
19445
19511
  "signedAt": "SoliboInstant /* Instant */ | null | undefined"
19446
19512
  },
19513
+ "MeetingProtocolFollowUpProps": {
19514
+ "companyId": "bigint",
19515
+ "companyName": "string",
19516
+ "key": "string",
19517
+ "pending": "FollowUpPersonProps[]",
19518
+ "progress": "FollowUpProgressProps",
19519
+ "viewerStatus": "FollowUpViewerStatus",
19520
+ "attendeeId": "bigint",
19521
+ "meetingDate": "SoliboInstant /* Instant */ | null | undefined",
19522
+ "meetingId": "bigint",
19523
+ "title": "string"
19524
+ },
19447
19525
  "MeldingProps": {
19448
19526
  "filnavn": "string | null | undefined"
19449
19527
  },
@@ -20079,6 +20157,11 @@ const PROPS = {
20079
20157
  "meta": "MetaProps",
20080
20158
  "paging": "PagingProps"
20081
20159
  },
20160
+ "PagedListFollowUpProps": {
20161
+ "items": "FollowUpProps[]",
20162
+ "meta": "MetaProps",
20163
+ "paging": "PagingProps"
20164
+ },
20082
20165
  "PagedListGlobalPreviewProps": {
20083
20166
  "items": "GlobalPreviewProps[]",
20084
20167
  "meta": "MetaProps",
@@ -21539,6 +21622,23 @@ const PROPS = {
21539
21622
  "SupplierInvoiceCountProps": {
21540
21623
  "count": "bigint"
21541
21624
  },
21625
+ "SupplierInvoiceFollowUpProps": {
21626
+ "companyId": "bigint",
21627
+ "companyName": "string",
21628
+ "key": "string",
21629
+ "pending": "FollowUpPersonProps[]",
21630
+ "progress": "FollowUpProgressProps",
21631
+ "viewerStatus": "FollowUpViewerStatus",
21632
+ "amount": "number",
21633
+ "currency": "string",
21634
+ "description": "string | null | undefined",
21635
+ "dueDate": "SoliboInstant /* Instant */ | null | undefined",
21636
+ "invoiceDate": "SoliboInstant /* Instant */",
21637
+ "invoiceId": "bigint",
21638
+ "overdue": "boolean",
21639
+ "supplierName": "string | null | undefined",
21640
+ "supplierOrgNr": "string | null | undefined"
21641
+ },
21542
21642
  "SupplierInvoiceListProps": {
21543
21643
  "invoices": "SupplierInvoiceProps[]",
21544
21644
  "totalCount": "bigint"
@@ -22503,7 +22603,8 @@ const PROPS = {
22503
22603
  "property": "string | null | undefined",
22504
22604
  "rule": "string | null | undefined",
22505
22605
  "value": "string | null | undefined",
22506
- "reason": "string | null | undefined"
22606
+ "reason": "string | null | undefined",
22607
+ "code": "string | null | undefined"
22507
22608
  },
22508
22609
  "SoliboSDKErrorProps": {
22509
22610
  "statusCode": "number",
@@ -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,11 +243,6 @@ 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]);
251
246
  function cancel$default_0(cause, $super) {
252
247
  cause = cause === VOID ? null : cause;
253
248
  var tmp;
@@ -260,7 +255,12 @@ function cancel$default_0(cause, $super) {
260
255
  return tmp;
261
256
  }
262
257
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
263
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
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]);
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, [SendChannel, ReceiveChannel], [1, 0]);
273
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [ReceiveChannel, SendChannel], [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]);