@solibo/solibo-sdk 1.28.1 → 1.28.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.
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/client.d.mts +18 -0
- package/client.mjs +58 -0
- package/kotlinx-coroutines-core.mjs +12 -12
- 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 +18835 -18014
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +43 -0
- package/solibo-sdk-sdk.mjs +5 -3
|
@@ -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,
|
|
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
|
@@ -125,6 +125,7 @@ import type {
|
|
|
125
125
|
CommunicationReport,
|
|
126
126
|
CommunicationState,
|
|
127
127
|
Company,
|
|
128
|
+
CompanyAddress,
|
|
128
129
|
CompanyDetailed,
|
|
129
130
|
CompanyOrdinances,
|
|
130
131
|
CompanyPartnerAgreement,
|
|
@@ -167,6 +168,8 @@ import type {
|
|
|
167
168
|
CreateChangeRequestCommandProps,
|
|
168
169
|
CreateCommunicationCommentCommand,
|
|
169
170
|
CreateCommunicationCommentCommandProps,
|
|
171
|
+
CreateCompanyAddressCommand,
|
|
172
|
+
CreateCompanyAddressCommandProps,
|
|
170
173
|
CreateConversationCategoryCommand,
|
|
171
174
|
CreateConversationCategoryCommandProps,
|
|
172
175
|
CreateConversationCommand,
|
|
@@ -726,6 +729,8 @@ import type {
|
|
|
726
729
|
UpdateCommunicationModerationStatusCommandProps,
|
|
727
730
|
UpdateCommunicationPostNotificationPreferenceCommand,
|
|
728
731
|
UpdateCommunicationPostNotificationPreferenceCommandProps,
|
|
732
|
+
UpdateCompanyAddressCommand,
|
|
733
|
+
UpdateCompanyAddressCommandProps,
|
|
729
734
|
UpdateCompanyDetailedCommand,
|
|
730
735
|
UpdateCompanyDetailedCommandProps,
|
|
731
736
|
UpdateCompanyPartnerAgreementCommand,
|
|
@@ -1838,6 +1843,10 @@ export interface ConversationApiFacade {
|
|
|
1838
1843
|
}
|
|
1839
1844
|
|
|
1840
1845
|
export interface CompanyApiFacade {
|
|
1846
|
+
createCompanyAddress(params: {
|
|
1847
|
+
companyId: Id;
|
|
1848
|
+
input: CreateCompanyAddressCommand | SdkInput<CreateCompanyAddressCommandProps>;
|
|
1849
|
+
}): Promise<SdkResult<CompanyAddress>>;
|
|
1841
1850
|
createImportDraftBRL(params: {
|
|
1842
1851
|
input: BorettslagSearchCommand | SdkInput<BorettslagSearchCommandProps>;
|
|
1843
1852
|
}): Promise<SdkResult<void>>;
|
|
@@ -1850,6 +1859,10 @@ export interface CompanyApiFacade {
|
|
|
1850
1859
|
createImportDraftSameieMatrikkel(params: {
|
|
1851
1860
|
input: SameieMatrikkelSearchCommand | SdkInput<SameieMatrikkelSearchCommandProps>;
|
|
1852
1861
|
}): Promise<SdkResult<void>>;
|
|
1862
|
+
deleteCompanyAddress(params: {
|
|
1863
|
+
companyId: Id;
|
|
1864
|
+
addressId: Id;
|
|
1865
|
+
}): Promise<SdkResult<void>>;
|
|
1853
1866
|
indexActiveAdministrators<F extends string | null | undefined = undefined>(params: {
|
|
1854
1867
|
fields?: F;
|
|
1855
1868
|
}): Promise<ProjectionResult<F, SoliboContacts>>;
|
|
@@ -1968,6 +1981,11 @@ export interface CompanyApiFacade {
|
|
|
1968
1981
|
companyId: Id;
|
|
1969
1982
|
input: UpdateManagementCommand | SdkInput<UpdateManagementCommandProps>;
|
|
1970
1983
|
}): Promise<SdkResult<Person[]>>;
|
|
1984
|
+
updateCompanyAddress(params: {
|
|
1985
|
+
companyId: Id;
|
|
1986
|
+
addressId: Id;
|
|
1987
|
+
input: UpdateCompanyAddressCommand | SdkInput<UpdateCompanyAddressCommandProps>;
|
|
1988
|
+
}): Promise<SdkResult<CompanyAddress>>;
|
|
1971
1989
|
updateCompanyDetailed(params: {
|
|
1972
1990
|
companyId: Id;
|
|
1973
1991
|
input: UpdateCompanyDetailedCommand | SdkInput<UpdateCompanyDetailedCommandProps>;
|
package/client.mjs
CHANGED
|
@@ -2830,6 +2830,20 @@ const DESCRIPTORS = {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
},
|
|
2832
2832
|
"companies": {
|
|
2833
|
+
"createCompanyAddress": {
|
|
2834
|
+
"args": [
|
|
2835
|
+
{
|
|
2836
|
+
"name": "companyId",
|
|
2837
|
+
"type": "bigint"
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"name": "createCompanyAddressCommand",
|
|
2841
|
+
"type": "CreateCompanyAddressCommand"
|
|
2842
|
+
}
|
|
2843
|
+
],
|
|
2844
|
+
"body": "createCompanyAddressCommand",
|
|
2845
|
+
"bodyType": "CreateCompanyAddressCommand"
|
|
2846
|
+
},
|
|
2833
2847
|
"createImportDraftBRL": {
|
|
2834
2848
|
"args": [
|
|
2835
2849
|
{
|
|
@@ -2870,6 +2884,20 @@ const DESCRIPTORS = {
|
|
|
2870
2884
|
"body": "sameieMatrikkelSearchCommand",
|
|
2871
2885
|
"bodyType": "SameieMatrikkelSearchCommand"
|
|
2872
2886
|
},
|
|
2887
|
+
"deleteCompanyAddress": {
|
|
2888
|
+
"args": [
|
|
2889
|
+
{
|
|
2890
|
+
"name": "companyId",
|
|
2891
|
+
"type": "bigint"
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
"name": "addressId",
|
|
2895
|
+
"type": "bigint"
|
|
2896
|
+
}
|
|
2897
|
+
],
|
|
2898
|
+
"body": null,
|
|
2899
|
+
"bodyType": null
|
|
2900
|
+
},
|
|
2873
2901
|
"indexActiveAdministrators": {
|
|
2874
2902
|
"args": [
|
|
2875
2903
|
{
|
|
@@ -3386,6 +3414,24 @@ const DESCRIPTORS = {
|
|
|
3386
3414
|
"body": "updateManagementCommand",
|
|
3387
3415
|
"bodyType": "UpdateManagementCommand"
|
|
3388
3416
|
},
|
|
3417
|
+
"updateCompanyAddress": {
|
|
3418
|
+
"args": [
|
|
3419
|
+
{
|
|
3420
|
+
"name": "companyId",
|
|
3421
|
+
"type": "bigint"
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"name": "addressId",
|
|
3425
|
+
"type": "bigint"
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"name": "updateCompanyAddressCommand",
|
|
3429
|
+
"type": "UpdateCompanyAddressCommand"
|
|
3430
|
+
}
|
|
3431
|
+
],
|
|
3432
|
+
"body": "updateCompanyAddressCommand",
|
|
3433
|
+
"bodyType": "UpdateCompanyAddressCommand"
|
|
3434
|
+
},
|
|
3389
3435
|
"updateCompanyDetailed": {
|
|
3390
3436
|
"args": [
|
|
3391
3437
|
{
|
|
@@ -17684,6 +17730,12 @@ const PROPS = {
|
|
|
17684
17730
|
"storageRooms": "CreateStorageRoomProps[] | null | undefined",
|
|
17685
17731
|
"subTypes": "CompanySubType[] | null | undefined"
|
|
17686
17732
|
},
|
|
17733
|
+
"CreateCompanyAddressCommandProps": {
|
|
17734
|
+
"area": "string | null | undefined",
|
|
17735
|
+
"countryId": "bigint | null | undefined",
|
|
17736
|
+
"streetAddress": "string",
|
|
17737
|
+
"zipCode": "string | null | undefined"
|
|
17738
|
+
},
|
|
17687
17739
|
"CreateConversationCategoryCommandProps": {
|
|
17688
17740
|
"coResponsibleIds": "bigint[] | null | undefined",
|
|
17689
17741
|
"color": "CategoryColor | null | undefined",
|
|
@@ -21783,6 +21835,12 @@ const PROPS = {
|
|
|
21783
21835
|
"UpdateCommunicationPostNotificationPreferenceCommandProps": {
|
|
21784
21836
|
"notificationsEnabled": "boolean"
|
|
21785
21837
|
},
|
|
21838
|
+
"UpdateCompanyAddressCommandProps": {
|
|
21839
|
+
"area": "string | null | undefined",
|
|
21840
|
+
"countryId": "bigint | null | undefined",
|
|
21841
|
+
"streetAddress": "string",
|
|
21842
|
+
"zipCode": "string | null | undefined"
|
|
21843
|
+
},
|
|
21786
21844
|
"UpdateCompanyAvtaleCommandProps": {
|
|
21787
21845
|
"annualMeetingIncluded": "boolean | null | undefined",
|
|
21788
21846
|
"economicReportsIncluded": "bigint | null | undefined",
|
|
@@ -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
|
-
|
|
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, [
|
|
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]);
|
|
@@ -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, Waiter, SelectInstance], [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_kpp8yw_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_acgh9r_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_kpp8yw_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_acgh9r_k$ = function (_this__u8e3s4, reregister, $super) {
|
|
10349
10349
|
reregister = reregister === VOID ? false : reregister;
|
|
10350
10350
|
var tmp;
|
|
10351
10351
|
if ($super === VOID) {
|