@solibo/solibo-sdk 1.36.3 → 1.37.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.
- package/client.d.mts +25 -0
- package/client.mjs +138 -0
- package/kotlin-kotlin-stdlib.mjs +58 -0
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +18551 -15383
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +426 -4
- package/solibo-sdk-sdk.mjs +675 -504
- package/solibo-sdk-sdk.mjs.map +1 -1
package/client.d.mts
CHANGED
|
@@ -404,6 +404,12 @@ import type {
|
|
|
404
404
|
IssueStatus,
|
|
405
405
|
JobState,
|
|
406
406
|
KartverketFetchState,
|
|
407
|
+
KartverketImportStatus,
|
|
408
|
+
KartverketOwnershipCollectionStatus,
|
|
409
|
+
KartverketOwnershipHolderKind,
|
|
410
|
+
KartverketOwnershipImportCoverage,
|
|
411
|
+
KartverketOwnershipRightClassification,
|
|
412
|
+
KartverketOwnershipStatus,
|
|
407
413
|
KartverketResult,
|
|
408
414
|
KtList,
|
|
409
415
|
KtMap,
|
|
@@ -981,6 +987,11 @@ export type SdkInput<T> =
|
|
|
981
987
|
T extends IssueStatus ? IssueStatus | "OPEN" | "IN_MEETING" | "CLOSED" :
|
|
982
988
|
T extends JobState ? JobState | "CREATED" | "PROCESSING" | "CANCELLED" | "COMPLETED" | "FAILED" | "ANY" :
|
|
983
989
|
T extends KartverketFetchState ? KartverketFetchState | "COLLECTING" | "IMPORTING" | "IMPORTED" | "FAILURE" | "FAILURE_IMPORTING" | "COLLECTED" | "UNKNOWN" :
|
|
990
|
+
T extends KartverketOwnershipCollectionStatus ? KartverketOwnershipCollectionStatus | "COLLECTED" | "PARTIAL" :
|
|
991
|
+
T extends KartverketOwnershipHolderKind ? KartverketOwnershipHolderKind | "PHYSICAL_PERSON" | "LEGAL_PERSON" | "UNKNOWN" :
|
|
992
|
+
T extends KartverketOwnershipImportCoverage ? KartverketOwnershipImportCoverage | "UNAVAILABLE" | "COLLECTED" | "PARTIAL" :
|
|
993
|
+
T extends KartverketOwnershipRightClassification ? KartverketOwnershipRightClassification | "OWNERSHIP" | "LEASEHOLD" | "OTHER" | "UNKNOWN" :
|
|
994
|
+
T extends KartverketOwnershipStatus ? KartverketOwnershipStatus | "CURRENT" | "HISTORICAL" :
|
|
984
995
|
T extends LOANLOGTYPE ? LOANLOGTYPE | "CREATED" | "INTEREST" | "INAGREEMENT" | "CLOSED" :
|
|
985
996
|
T extends LeveranseType3po ? LeveranseType3po | "ORDINARY" :
|
|
986
997
|
T extends MeetingStatus ? MeetingStatus | "PLANNING" | "NOTIFIED" | "IN_PROGRESS" | "TO_SIGN" | "SIGNED" :
|
|
@@ -2030,6 +2041,10 @@ export interface CompanyApiFacade {
|
|
|
2030
2041
|
draftId: Id;
|
|
2031
2042
|
fields?: F;
|
|
2032
2043
|
}): Promise<ProjectionResult<F, DraftCompany>>;
|
|
2044
|
+
showImportDraftStatus<F extends string | null | undefined = undefined>(params: {
|
|
2045
|
+
draftId: Id;
|
|
2046
|
+
fields?: F;
|
|
2047
|
+
}): Promise<ProjectionResult<F, KartverketImportStatus>>;
|
|
2033
2048
|
showImportDraftValidation(params: {
|
|
2034
2049
|
draftId: Id;
|
|
2035
2050
|
}): Promise<SdkResult<void>>;
|
|
@@ -2448,6 +2463,16 @@ export interface HomepageApiFacade {
|
|
|
2448
2463
|
autoPaginate?: boolean | null | undefined;
|
|
2449
2464
|
count?: number | null | undefined;
|
|
2450
2465
|
}): Promise<ProjectionResult<F, PagedListDocument>>;
|
|
2466
|
+
showOpenHomepageFeedPost<F extends string | null | undefined = undefined>(params: {
|
|
2467
|
+
companyId: Id;
|
|
2468
|
+
postId: Id;
|
|
2469
|
+
fields?: F;
|
|
2470
|
+
}): Promise<ProjectionResult<F, Post>>;
|
|
2471
|
+
showOpenHomepagePracticalInformation<F extends string | null | undefined = undefined>(params: {
|
|
2472
|
+
companyId: Id;
|
|
2473
|
+
postId: Id;
|
|
2474
|
+
fields?: F;
|
|
2475
|
+
}): Promise<ProjectionResult<F, Post>>;
|
|
2451
2476
|
updateFeedWeighting(params: {
|
|
2452
2477
|
companyId: Id;
|
|
2453
2478
|
input: UpdateFeedWeightingCommand | SdkInput<UpdateFeedWeightingCommandProps>;
|
package/client.mjs
CHANGED
|
@@ -3560,6 +3560,24 @@ const DESCRIPTORS = {
|
|
|
3560
3560
|
"result"
|
|
3561
3561
|
]
|
|
3562
3562
|
},
|
|
3563
|
+
"showImportDraftStatus": {
|
|
3564
|
+
"args": [
|
|
3565
|
+
{
|
|
3566
|
+
"name": "draftId",
|
|
3567
|
+
"type": "bigint"
|
|
3568
|
+
},
|
|
3569
|
+
{
|
|
3570
|
+
"name": "fields",
|
|
3571
|
+
"type": "string | null | undefined"
|
|
3572
|
+
}
|
|
3573
|
+
],
|
|
3574
|
+
"body": null,
|
|
3575
|
+
"bodyType": null,
|
|
3576
|
+
"requiredProjectionFields": [
|
|
3577
|
+
"jobId",
|
|
3578
|
+
"state"
|
|
3579
|
+
]
|
|
3580
|
+
},
|
|
3563
3581
|
"showImportDraftValidation": {
|
|
3564
3582
|
"args": [
|
|
3565
3583
|
{
|
|
@@ -5244,6 +5262,66 @@ const DESCRIPTORS = {
|
|
|
5244
5262
|
"type"
|
|
5245
5263
|
]
|
|
5246
5264
|
},
|
|
5265
|
+
"showOpenHomepageFeedPost": {
|
|
5266
|
+
"args": [
|
|
5267
|
+
{
|
|
5268
|
+
"name": "companyId",
|
|
5269
|
+
"type": "bigint"
|
|
5270
|
+
},
|
|
5271
|
+
{
|
|
5272
|
+
"name": "postId",
|
|
5273
|
+
"type": "bigint"
|
|
5274
|
+
},
|
|
5275
|
+
{
|
|
5276
|
+
"name": "fields",
|
|
5277
|
+
"type": "string | null | undefined"
|
|
5278
|
+
}
|
|
5279
|
+
],
|
|
5280
|
+
"body": null,
|
|
5281
|
+
"bodyType": null,
|
|
5282
|
+
"requiredProjectionFields": [
|
|
5283
|
+
"companyId",
|
|
5284
|
+
"content",
|
|
5285
|
+
"createdAt",
|
|
5286
|
+
"id",
|
|
5287
|
+
"pinned",
|
|
5288
|
+
"postType",
|
|
5289
|
+
"private",
|
|
5290
|
+
"title",
|
|
5291
|
+
"updatedAt",
|
|
5292
|
+
"weighting"
|
|
5293
|
+
]
|
|
5294
|
+
},
|
|
5295
|
+
"showOpenHomepagePracticalInformation": {
|
|
5296
|
+
"args": [
|
|
5297
|
+
{
|
|
5298
|
+
"name": "companyId",
|
|
5299
|
+
"type": "bigint"
|
|
5300
|
+
},
|
|
5301
|
+
{
|
|
5302
|
+
"name": "postId",
|
|
5303
|
+
"type": "bigint"
|
|
5304
|
+
},
|
|
5305
|
+
{
|
|
5306
|
+
"name": "fields",
|
|
5307
|
+
"type": "string | null | undefined"
|
|
5308
|
+
}
|
|
5309
|
+
],
|
|
5310
|
+
"body": null,
|
|
5311
|
+
"bodyType": null,
|
|
5312
|
+
"requiredProjectionFields": [
|
|
5313
|
+
"companyId",
|
|
5314
|
+
"content",
|
|
5315
|
+
"createdAt",
|
|
5316
|
+
"id",
|
|
5317
|
+
"pinned",
|
|
5318
|
+
"postType",
|
|
5319
|
+
"private",
|
|
5320
|
+
"title",
|
|
5321
|
+
"updatedAt",
|
|
5322
|
+
"weighting"
|
|
5323
|
+
]
|
|
5324
|
+
},
|
|
5247
5325
|
"updateFeedWeighting": {
|
|
5248
5326
|
"args": [
|
|
5249
5327
|
{
|
|
@@ -18653,6 +18731,7 @@ const PROPS = {
|
|
|
18653
18731
|
"preferredLanguage": "bigint | null | undefined",
|
|
18654
18732
|
"residencyStartedAt": "SoliboInstant /* Instant */",
|
|
18655
18733
|
"sectionId": "bigint | null | undefined",
|
|
18734
|
+
"sendAccessInvitation": "boolean | null | undefined",
|
|
18656
18735
|
"storageRoomId": "bigint | null | undefined",
|
|
18657
18736
|
"businessAddress": "BusinessAddressProps | null | undefined",
|
|
18658
18737
|
"businessContact": "BusinessContactProps | null | undefined",
|
|
@@ -18717,6 +18796,7 @@ const PROPS = {
|
|
|
18717
18796
|
"preferredLanguage": "bigint | null | undefined",
|
|
18718
18797
|
"residencyStartedAt": "SoliboInstant /* Instant */",
|
|
18719
18798
|
"sectionId": "bigint | null | undefined",
|
|
18799
|
+
"sendAccessInvitation": "boolean | null | undefined",
|
|
18720
18800
|
"storageRoomId": "bigint | null | undefined",
|
|
18721
18801
|
"email": "string | null | undefined",
|
|
18722
18802
|
"invoicingEmail": "string | null | undefined",
|
|
@@ -19088,9 +19168,11 @@ const PROPS = {
|
|
|
19088
19168
|
"id": "bigint",
|
|
19089
19169
|
"orgNr": "string | null | undefined",
|
|
19090
19170
|
"orgNrType": "OrganizationNumberType | null | undefined",
|
|
19171
|
+
"registeredOwnership": "KartverketRegisteredOwnershipProps | null | undefined",
|
|
19091
19172
|
"result": "KartverketResultProps"
|
|
19092
19173
|
},
|
|
19093
19174
|
"DraftOverviewProps": {
|
|
19175
|
+
"failureReason": "string | null | undefined",
|
|
19094
19176
|
"id": "bigint | null | undefined",
|
|
19095
19177
|
"name": "string",
|
|
19096
19178
|
"orgNr": "string | null | undefined",
|
|
@@ -19968,6 +20050,62 @@ const PROPS = {
|
|
|
19968
20050
|
"report": "string | null | undefined",
|
|
19969
20051
|
"resolution": "string | null | undefined"
|
|
19970
20052
|
},
|
|
20053
|
+
"KartverketHistoricalOwnerImportServiceResultProps": {
|
|
20054
|
+
"coverage": "KartverketOwnershipImportCoverage | null | undefined",
|
|
20055
|
+
"currentObservations": "bigint | null | undefined",
|
|
20056
|
+
"historicalObservations": "bigint | null | undefined",
|
|
20057
|
+
"importedHistoricalObservations": "bigint | null | undefined",
|
|
20058
|
+
"importedHistoricalRoles": "bigint | null | undefined",
|
|
20059
|
+
"schemaVersion": "bigint | null | undefined",
|
|
20060
|
+
"skipReasons": "Map<string, bigint | null | undefined> | null | undefined",
|
|
20061
|
+
"skippedHistoricalObservations": "bigint | null | undefined"
|
|
20062
|
+
},
|
|
20063
|
+
"KartverketImportStatusProps": {
|
|
20064
|
+
"jobId": "bigint",
|
|
20065
|
+
"report": "KartverketHistoricalOwnerImportServiceResultProps | null | undefined",
|
|
20066
|
+
"state": "JobState"
|
|
20067
|
+
},
|
|
20068
|
+
"KartverketOwnershipObservationProps": {
|
|
20069
|
+
"acquisition": "KartverketOwnershipRegistrationEventProps | null | undefined",
|
|
20070
|
+
"denominator": "bigint",
|
|
20071
|
+
"disposal": "KartverketOwnershipRegistrationEventProps | null | undefined",
|
|
20072
|
+
"holderDisplayName": "string | null | undefined",
|
|
20073
|
+
"holderKind": "KartverketOwnershipHolderKind | null | undefined",
|
|
20074
|
+
"holderSourceId": "string | null | undefined",
|
|
20075
|
+
"issues": "string[] | null | undefined",
|
|
20076
|
+
"linkedRegisterUnitId": "string | null | undefined",
|
|
20077
|
+
"numerator": "bigint",
|
|
20078
|
+
"rightId": "string",
|
|
20079
|
+
"rightType": "KartverketOwnershipRightTypeProps",
|
|
20080
|
+
"shareId": "string",
|
|
20081
|
+
"status": "KartverketOwnershipStatus"
|
|
20082
|
+
},
|
|
20083
|
+
"KartverketOwnershipRegistrationEventProps": {
|
|
20084
|
+
"documentId": "string | null | undefined",
|
|
20085
|
+
"documentNumber": "bigint | null | undefined",
|
|
20086
|
+
"documentYear": "bigint | null | undefined",
|
|
20087
|
+
"registeredAt": "string | null | undefined",
|
|
20088
|
+
"registryOfficeId": "string | null | undefined",
|
|
20089
|
+
"transferId": "string"
|
|
20090
|
+
},
|
|
20091
|
+
"KartverketOwnershipRightTypeProps": {
|
|
20092
|
+
"classification": "KartverketOwnershipRightClassification | null | undefined",
|
|
20093
|
+
"code": "string | null | undefined",
|
|
20094
|
+
"name": "string | null | undefined",
|
|
20095
|
+
"sourceId": "string | null | undefined"
|
|
20096
|
+
},
|
|
20097
|
+
"KartverketOwnershipUnitProps": {
|
|
20098
|
+
"collectionStatus": "KartverketOwnershipCollectionStatus",
|
|
20099
|
+
"issues": "string[] | null | undefined",
|
|
20100
|
+
"observations": "KartverketOwnershipObservationProps[] | null | undefined",
|
|
20101
|
+
"registerUnitId": "string"
|
|
20102
|
+
},
|
|
20103
|
+
"KartverketRegisteredOwnershipProps": {
|
|
20104
|
+
"collectionStatus": "KartverketOwnershipCollectionStatus",
|
|
20105
|
+
"issues": "string[] | null | undefined",
|
|
20106
|
+
"observedAt": "string",
|
|
20107
|
+
"units": "KartverketOwnershipUnitProps[] | null | undefined"
|
|
20108
|
+
},
|
|
19971
20109
|
"KartverketResultProps": {
|
|
19972
20110
|
"collectedAt": "SoliboInstant /* Instant */ | null | undefined",
|
|
19973
20111
|
"company": "CreateCompanyProps"
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -313,6 +313,7 @@ initMetadataForObject(EmptySet, 'EmptySet', VOID, VOID, [KtSet]);
|
|
|
313
313
|
initMetadataForClass(RingBuffer$iterator$1, VOID, VOID, AbstractIterator);
|
|
314
314
|
initMetadataForClass(RingBuffer, 'RingBuffer', VOID, AbstractList, [RandomAccess]);
|
|
315
315
|
initMetadataForLambda(windowedIterator$slambda, CoroutineImpl, VOID, [1]);
|
|
316
|
+
initMetadataForObject(NaturalOrderComparator, 'NaturalOrderComparator', VOID, VOID, [Comparator]);
|
|
316
317
|
initMetadataForObject(Key, 'Key');
|
|
317
318
|
function plus(context) {
|
|
318
319
|
var tmp;
|
|
@@ -1340,6 +1341,22 @@ function lastOrNull_0(_this__u8e3s4) {
|
|
|
1340
1341
|
return last;
|
|
1341
1342
|
}
|
|
1342
1343
|
}
|
|
1344
|
+
function sorted(_this__u8e3s4) {
|
|
1345
|
+
if (isInterface(_this__u8e3s4, Collection)) {
|
|
1346
|
+
if (_this__u8e3s4.get_size_woubt6_k$() <= 1)
|
|
1347
|
+
return toList_0(_this__u8e3s4);
|
|
1348
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1349
|
+
var tmp = copyToArray(_this__u8e3s4);
|
|
1350
|
+
// Inline function 'kotlin.apply' call
|
|
1351
|
+
var this_0 = isArray(tmp) ? tmp : THROW_CCE();
|
|
1352
|
+
sort(this_0);
|
|
1353
|
+
return asList(this_0);
|
|
1354
|
+
}
|
|
1355
|
+
// Inline function 'kotlin.apply' call
|
|
1356
|
+
var this_1 = toMutableList_0(_this__u8e3s4);
|
|
1357
|
+
sort_0(this_1);
|
|
1358
|
+
return this_1;
|
|
1359
|
+
}
|
|
1343
1360
|
function firstOrNull_1(_this__u8e3s4) {
|
|
1344
1361
|
if (isInterface(_this__u8e3s4, KtList)) {
|
|
1345
1362
|
if (_this__u8e3s4.isEmpty_y1axqb_k$())
|
|
@@ -4206,6 +4223,11 @@ function copyOf_7(_this__u8e3s4, newSize) {
|
|
|
4206
4223
|
array.$type$ = tmp0;
|
|
4207
4224
|
return array;
|
|
4208
4225
|
}
|
|
4226
|
+
function sort(_this__u8e3s4) {
|
|
4227
|
+
if (_this__u8e3s4.length > 1) {
|
|
4228
|
+
sortArray(_this__u8e3s4);
|
|
4229
|
+
}
|
|
4230
|
+
}
|
|
4209
4231
|
function sortWith(_this__u8e3s4, comparator) {
|
|
4210
4232
|
if (_this__u8e3s4.length > 1) {
|
|
4211
4233
|
sortArrayWith(_this__u8e3s4, comparator);
|
|
@@ -4761,6 +4783,9 @@ function checkCountOverflow(count) {
|
|
|
4761
4783
|
}
|
|
4762
4784
|
return count;
|
|
4763
4785
|
}
|
|
4786
|
+
function sort_0(_this__u8e3s4) {
|
|
4787
|
+
collectionsSort(_this__u8e3s4, naturalOrder());
|
|
4788
|
+
}
|
|
4764
4789
|
function collectionsSort(list, comparator) {
|
|
4765
4790
|
if (list.get_size_woubt6_k$() <= 1)
|
|
4766
4791
|
return Unit_instance;
|
|
@@ -5363,6 +5388,17 @@ function sortArrayWith(array, comparator) {
|
|
|
5363
5388
|
mergeSort(array, 0, get_lastIndex(array), comparator);
|
|
5364
5389
|
}
|
|
5365
5390
|
}
|
|
5391
|
+
function sortArray(array) {
|
|
5392
|
+
if (getStableSortingIsSupported()) {
|
|
5393
|
+
var comparison = sortArray$lambda;
|
|
5394
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
5395
|
+
array.sort(comparison);
|
|
5396
|
+
} else {
|
|
5397
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
5398
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
5399
|
+
mergeSort(array, 0, get_lastIndex(array), naturalOrder());
|
|
5400
|
+
}
|
|
5401
|
+
}
|
|
5366
5402
|
function getStableSortingIsSupported() {
|
|
5367
5403
|
var tmp0_safe_receiver = _stableSortingIsSupported;
|
|
5368
5404
|
if (tmp0_safe_receiver == null)
|
|
@@ -5460,6 +5496,9 @@ function sortArrayWith$lambda($comparator) {
|
|
|
5460
5496
|
return $comparator.compare(a, b);
|
|
5461
5497
|
};
|
|
5462
5498
|
}
|
|
5499
|
+
function sortArray$lambda(a, b) {
|
|
5500
|
+
return compareTo(a, b);
|
|
5501
|
+
}
|
|
5463
5502
|
function getStableSortingIsSupported$lambda(a, b) {
|
|
5464
5503
|
return (a & 3) - (b & 3) | 0;
|
|
5465
5504
|
}
|
|
@@ -12502,6 +12541,10 @@ function compareValues(a, b) {
|
|
|
12502
12541
|
return 1;
|
|
12503
12542
|
return compareTo((!(a == null) ? isComparable(a) : false) ? a : THROW_CCE(), b);
|
|
12504
12543
|
}
|
|
12544
|
+
function naturalOrder() {
|
|
12545
|
+
var tmp = NaturalOrderComparator_instance;
|
|
12546
|
+
return isInterface(tmp, Comparator) ? tmp : THROW_CCE();
|
|
12547
|
+
}
|
|
12505
12548
|
function compareValuesByImpl(a, b, selectors) {
|
|
12506
12549
|
var inductionVariable = 0;
|
|
12507
12550
|
var last = selectors.length;
|
|
@@ -12516,6 +12559,19 @@ function compareValuesByImpl(a, b, selectors) {
|
|
|
12516
12559
|
}
|
|
12517
12560
|
return 0;
|
|
12518
12561
|
}
|
|
12562
|
+
function NaturalOrderComparator() {
|
|
12563
|
+
}
|
|
12564
|
+
protoOf(NaturalOrderComparator).compare_ftmrut_k$ = function (a, b) {
|
|
12565
|
+
return compareTo(a, b);
|
|
12566
|
+
};
|
|
12567
|
+
protoOf(NaturalOrderComparator).compare = function (a, b) {
|
|
12568
|
+
var tmp = (!(a == null) ? isComparable(a) : false) ? a : THROW_CCE();
|
|
12569
|
+
return this.compare_ftmrut_k$(tmp, (!(b == null) ? isComparable(b) : false) ? b : THROW_CCE());
|
|
12570
|
+
};
|
|
12571
|
+
var NaturalOrderComparator_instance;
|
|
12572
|
+
function NaturalOrderComparator_getInstance() {
|
|
12573
|
+
return NaturalOrderComparator_instance;
|
|
12574
|
+
}
|
|
12519
12575
|
function Continuation() {
|
|
12520
12576
|
}
|
|
12521
12577
|
function startCoroutine(_this__u8e3s4, receiver, completion) {
|
|
@@ -19565,6 +19621,7 @@ EmptyIterator_instance = new EmptyIterator();
|
|
|
19565
19621
|
EmptyMap_instance = new EmptyMap();
|
|
19566
19622
|
EmptySequence_instance = new EmptySequence();
|
|
19567
19623
|
EmptySet_instance = new EmptySet();
|
|
19624
|
+
NaturalOrderComparator_instance = new NaturalOrderComparator();
|
|
19568
19625
|
Key_instance = new Key();
|
|
19569
19626
|
EmptyCoroutineContext_instance = new EmptyCoroutineContext();
|
|
19570
19627
|
Companion_instance_13 = new Companion_13();
|
|
@@ -19855,6 +19912,7 @@ export {
|
|
|
19855
19912
|
slice as slice1brdfp11j6flq,
|
|
19856
19913
|
sortWith_0 as sortWith4fnm6b3vw03s,
|
|
19857
19914
|
sortedWith as sortedWith2csnbbb21k0lg,
|
|
19915
|
+
sorted as sorted354mfsiv4s7x5,
|
|
19858
19916
|
take_1 as take1w827tgl21ldx,
|
|
19859
19917
|
toBooleanArray as toBooleanArray2u3qw7fjwsmuh,
|
|
19860
19918
|
toByteArray as toByteArray3caw0hip00os,
|