@solibo/solibo-sdk 1.29.3 → 1.30.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 +14 -2
- package/client.mjs +51 -2
- package/kotlinx-coroutines-core.mjs +5 -5
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +15152 -14347
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +60 -3
- package/solibo-sdk-sdk.mjs +860 -789
- package/solibo-sdk-sdk.mjs.map +1 -1
package/client.d.mts
CHANGED
|
@@ -360,6 +360,7 @@ import type {
|
|
|
360
360
|
HmsSettings,
|
|
361
361
|
HmsSettingsRefusalReason,
|
|
362
362
|
Homepage,
|
|
363
|
+
HomepageSettings,
|
|
363
364
|
IncomingEventBusMessageDiscriminator,
|
|
364
365
|
InlineDistributionType,
|
|
365
366
|
InquiryParticipant,
|
|
@@ -470,6 +471,7 @@ import type {
|
|
|
470
471
|
Office365ManagedDocumentCandidateReviewCandidate,
|
|
471
472
|
Office365ManagedDocumentCopyRequest,
|
|
472
473
|
Office365ManagedDocumentCopyRequestProps,
|
|
474
|
+
OpenHomepage,
|
|
473
475
|
OrderEconomicReportCommand,
|
|
474
476
|
OrderEconomicReportCommandProps,
|
|
475
477
|
OrderType,
|
|
@@ -758,6 +760,8 @@ import type {
|
|
|
758
760
|
UpdateFolderCommandProps,
|
|
759
761
|
UpdateHmsSettingsCommand,
|
|
760
762
|
UpdateHmsSettingsCommandProps,
|
|
763
|
+
UpdateHomepageSettingsCommand,
|
|
764
|
+
UpdateHomepageSettingsCommandProps,
|
|
761
765
|
UpdateINAgreementCommand,
|
|
762
766
|
UpdateINAgreementCommandProps,
|
|
763
767
|
UpdateInvoiceDistributionCommand,
|
|
@@ -2355,14 +2359,18 @@ export interface HomepageApiFacade {
|
|
|
2355
2359
|
companyId: Id;
|
|
2356
2360
|
fields?: F;
|
|
2357
2361
|
}): Promise<ProjectionResult<F, Homepage>>;
|
|
2362
|
+
showHomepageSettings<F extends string | null | undefined = undefined>(params: {
|
|
2363
|
+
companyId: Id;
|
|
2364
|
+
fields?: F;
|
|
2365
|
+
}): Promise<ProjectionResult<F, HomepageSettings>>;
|
|
2358
2366
|
showOpenHomepage<F extends string | null | undefined = undefined>(params: {
|
|
2359
2367
|
companySlug: string;
|
|
2360
2368
|
fields?: F;
|
|
2361
|
-
}): Promise<ProjectionResult<F,
|
|
2369
|
+
}): Promise<ProjectionResult<F, OpenHomepage>>;
|
|
2362
2370
|
showOpenHomepageByDomain<F extends string | null | undefined = undefined>(params: {
|
|
2363
2371
|
domainName: string;
|
|
2364
2372
|
fields?: F;
|
|
2365
|
-
}): Promise<ProjectionResult<F,
|
|
2373
|
+
}): Promise<ProjectionResult<F, OpenHomepage>>;
|
|
2366
2374
|
showOpenHomepageDocument<F extends string | null | undefined = undefined>(params: {
|
|
2367
2375
|
companyId: Id;
|
|
2368
2376
|
postId: Id;
|
|
@@ -2389,6 +2397,10 @@ export interface HomepageApiFacade {
|
|
|
2389
2397
|
companyId: Id;
|
|
2390
2398
|
input: UpdateFeedWeightingCommand | SdkInput<UpdateFeedWeightingCommandProps>;
|
|
2391
2399
|
}): Promise<SdkResult<void>>;
|
|
2400
|
+
updateHomepageSettings(params: {
|
|
2401
|
+
companyId: Id;
|
|
2402
|
+
input: UpdateHomepageSettingsCommand | SdkInput<UpdateHomepageSettingsCommandProps>;
|
|
2403
|
+
}): Promise<SdkResult<HomepageSettings>>;
|
|
2392
2404
|
updatePost(params: {
|
|
2393
2405
|
companyId: Id;
|
|
2394
2406
|
postId: Id;
|
package/client.mjs
CHANGED
|
@@ -4864,7 +4864,27 @@ const DESCRIPTORS = {
|
|
|
4864
4864
|
"body": null,
|
|
4865
4865
|
"bodyType": null,
|
|
4866
4866
|
"requiredProjectionFields": [
|
|
4867
|
-
"company"
|
|
4867
|
+
"company",
|
|
4868
|
+
"settings"
|
|
4869
|
+
]
|
|
4870
|
+
},
|
|
4871
|
+
"showHomepageSettings": {
|
|
4872
|
+
"args": [
|
|
4873
|
+
{
|
|
4874
|
+
"name": "companyId",
|
|
4875
|
+
"type": "bigint"
|
|
4876
|
+
},
|
|
4877
|
+
{
|
|
4878
|
+
"name": "fields",
|
|
4879
|
+
"type": "string | null | undefined"
|
|
4880
|
+
}
|
|
4881
|
+
],
|
|
4882
|
+
"body": null,
|
|
4883
|
+
"bodyType": null,
|
|
4884
|
+
"requiredProjectionFields": [
|
|
4885
|
+
"defaultPostCommentsEnabled",
|
|
4886
|
+
"neighborhoodAppEnabled",
|
|
4887
|
+
"neighborhoodEnabled"
|
|
4868
4888
|
]
|
|
4869
4889
|
},
|
|
4870
4890
|
"showOpenHomepage": {
|
|
@@ -5009,6 +5029,20 @@ const DESCRIPTORS = {
|
|
|
5009
5029
|
"body": "updateFeedWeightingCommand",
|
|
5010
5030
|
"bodyType": "UpdateFeedWeightingCommand"
|
|
5011
5031
|
},
|
|
5032
|
+
"updateHomepageSettings": {
|
|
5033
|
+
"args": [
|
|
5034
|
+
{
|
|
5035
|
+
"name": "companyId",
|
|
5036
|
+
"type": "bigint"
|
|
5037
|
+
},
|
|
5038
|
+
{
|
|
5039
|
+
"name": "updateHomepageSettingsCommand",
|
|
5040
|
+
"type": "UpdateHomepageSettingsCommand"
|
|
5041
|
+
}
|
|
5042
|
+
],
|
|
5043
|
+
"body": "updateHomepageSettingsCommand",
|
|
5044
|
+
"bodyType": "UpdateHomepageSettingsCommand"
|
|
5045
|
+
},
|
|
5012
5046
|
"updatePost": {
|
|
5013
5047
|
"args": [
|
|
5014
5048
|
{
|
|
@@ -18880,7 +18914,13 @@ const PROPS = {
|
|
|
18880
18914
|
},
|
|
18881
18915
|
"HomepageProps": {
|
|
18882
18916
|
"company": "CompanyProps",
|
|
18883
|
-
"image": "DocumentProps | null | undefined"
|
|
18917
|
+
"image": "DocumentProps | null | undefined",
|
|
18918
|
+
"settings": "HomepageSettingsProps"
|
|
18919
|
+
},
|
|
18920
|
+
"HomepageSettingsProps": {
|
|
18921
|
+
"defaultPostCommentsEnabled": "boolean",
|
|
18922
|
+
"neighborhoodAppEnabled": "boolean",
|
|
18923
|
+
"neighborhoodEnabled": "boolean"
|
|
18884
18924
|
},
|
|
18885
18925
|
"InnsenderProps": {
|
|
18886
18926
|
"kontaktinformasjon": "KontaktinformasjonProps | null | undefined",
|
|
@@ -19771,6 +19811,10 @@ const PROPS = {
|
|
|
19771
19811
|
"documentType": "DocumentType",
|
|
19772
19812
|
"parentDocumentId": "bigint | null | undefined"
|
|
19773
19813
|
},
|
|
19814
|
+
"OpenHomepageProps": {
|
|
19815
|
+
"company": "CompanyProps",
|
|
19816
|
+
"image": "DocumentProps | null | undefined"
|
|
19817
|
+
},
|
|
19774
19818
|
"OppgaveProps": {
|
|
19775
19819
|
"avvik": "AvvikProps[] | null | undefined",
|
|
19776
19820
|
"oppgaveeier": "OppgaveeierProps | null | undefined",
|
|
@@ -22095,6 +22139,11 @@ const PROPS = {
|
|
|
22095
22139
|
"UpdateHmsSettingsCommandProps": {
|
|
22096
22140
|
"routineGroups": "bigint[] | null | undefined"
|
|
22097
22141
|
},
|
|
22142
|
+
"UpdateHomepageSettingsCommandProps": {
|
|
22143
|
+
"defaultPostCommentsEnabled": "boolean | null | undefined",
|
|
22144
|
+
"neighborhoodAppEnabled": "boolean | null | undefined",
|
|
22145
|
+
"neighborhoodEnabled": "boolean | null | undefined"
|
|
22146
|
+
},
|
|
22098
22147
|
"UpdateINAgreementCommandProps": {
|
|
22099
22148
|
"inAgreement": "boolean"
|
|
22100
22149
|
},
|
|
@@ -310,7 +310,7 @@ initMetadataForCoroutine($doSelectCOROUTINE$, CoroutineImpl);
|
|
|
310
310
|
initMetadataForCoroutine($doSelectSuspendCOROUTINE$, CoroutineImpl);
|
|
311
311
|
initMetadataForCoroutine($completeCOROUTINE$, CoroutineImpl);
|
|
312
312
|
initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$, CoroutineImpl);
|
|
313
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
313
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
|
|
314
314
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
315
315
|
function tryLock$default(owner, $super) {
|
|
316
316
|
owner = owner === VOID ? null : owner;
|
|
@@ -10058,7 +10058,7 @@ function ClauseData($outer, clauseObject, regFunc, processResFunc, param, block,
|
|
|
10058
10058
|
this.disposableHandleOrSegment_1 = null;
|
|
10059
10059
|
this.indexInSegment_1 = -1;
|
|
10060
10060
|
}
|
|
10061
|
-
protoOf(ClauseData).
|
|
10061
|
+
protoOf(ClauseData).tryRegisterAsWaiter_wnojok_k$ = function (select) {
|
|
10062
10062
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
10063
10063
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
10064
10064
|
this.regFunc_1(this.clauseObject_1, select, this.param_1);
|
|
@@ -10322,7 +10322,7 @@ protoOf(SelectImplementation).doSelect_om1v0v_k$ = function ($completion) {
|
|
|
10322
10322
|
return tmp.doResume_5yljmg_k$();
|
|
10323
10323
|
};
|
|
10324
10324
|
protoOf(SelectImplementation).invoke_43nm97_k$ = function (_this__u8e3s4, block) {
|
|
10325
|
-
return this.register$
|
|
10325
|
+
return this.register$default_bbb1nn_k$(new ClauseData(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
|
|
10326
10326
|
};
|
|
10327
10327
|
protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, reregister) {
|
|
10328
10328
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
@@ -10332,7 +10332,7 @@ protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, rere
|
|
|
10332
10332
|
if (!reregister) {
|
|
10333
10333
|
checkClauseObject(this, _this__u8e3s4.clauseObject_1);
|
|
10334
10334
|
}
|
|
10335
|
-
if (_this__u8e3s4.
|
|
10335
|
+
if (_this__u8e3s4.tryRegisterAsWaiter_wnojok_k$(this)) {
|
|
10336
10336
|
if (!reregister) {
|
|
10337
10337
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10338
10338
|
ensureNotNull(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
|
|
@@ -10345,7 +10345,7 @@ protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, rere
|
|
|
10345
10345
|
this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
|
|
10346
10346
|
}
|
|
10347
10347
|
};
|
|
10348
|
-
protoOf(SelectImplementation).register$
|
|
10348
|
+
protoOf(SelectImplementation).register$default_bbb1nn_k$ = function (_this__u8e3s4, reregister, $super) {
|
|
10349
10349
|
reregister = reregister === VOID ? false : reregister;
|
|
10350
10350
|
var tmp;
|
|
10351
10351
|
if ($super === VOID) {
|