@solibo/solibo-sdk 1.31.0 → 1.32.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 +3 -0
- package/client.mjs +490 -239
- package/kotlinx-coroutines-core.mjs +5 -5
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +134 -0
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +1 -0
- package/solibo-sdk-sdk.mjs +527 -487
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -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) {
|
package/package.json
CHANGED
|
@@ -2995,6 +2995,8 @@ initMetadataForCoroutine($createImportDraftSameieMatrikkelCOROUTINE$, CoroutineI
|
|
|
2995
2995
|
initMetadataForCoroutine($createImportDraftSameieMatrikkel$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
2996
2996
|
initMetadataForCoroutine($deleteCompanyAddressCOROUTINE$, CoroutineImpl);
|
|
2997
2997
|
initMetadataForCoroutine($deleteCompanyAddress$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
2998
|
+
initMetadataForCoroutine($deleteImportDraftCOROUTINE$, CoroutineImpl);
|
|
2999
|
+
initMetadataForCoroutine($deleteImportDraft$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
2998
3000
|
initMetadataForCoroutine($indexActiveAdministratorsCOROUTINE$, CoroutineImpl);
|
|
2999
3001
|
initMetadataForCoroutine($indexActiveAdministrators$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3000
3002
|
initMetadataForCoroutine($indexAllAdministratorsCOROUTINE$, CoroutineImpl);
|
|
@@ -229411,6 +229413,119 @@ protoOf($deleteCompanyAddress$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = func
|
|
|
229411
229413
|
}
|
|
229412
229414
|
while (true);
|
|
229413
229415
|
};
|
|
229416
|
+
function $deleteImportDraftCOROUTINE$(_this__u8e3s4, draftId, resultContinuation) {
|
|
229417
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
229418
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
229419
|
+
this.draftId_1 = draftId;
|
|
229420
|
+
}
|
|
229421
|
+
protoOf($deleteImportDraftCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
229422
|
+
var suspendResult = this.result_1;
|
|
229423
|
+
$sm: do
|
|
229424
|
+
try {
|
|
229425
|
+
var tmp = this.state_1;
|
|
229426
|
+
switch (tmp) {
|
|
229427
|
+
case 0:
|
|
229428
|
+
this.exceptionState_1 = 2;
|
|
229429
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
229430
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
229431
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
229432
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
229433
|
+
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
229434
|
+
var tmp1_path = replace('/companies/import/drafts/{draftId}', '{draftId}', this.draftId_1.toString());
|
|
229435
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
229436
|
+
this.state_1 = 1;
|
|
229437
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
229438
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
229439
|
+
return suspendResult;
|
|
229440
|
+
}
|
|
229441
|
+
|
|
229442
|
+
continue $sm;
|
|
229443
|
+
case 1:
|
|
229444
|
+
var this_0 = suspendResult;
|
|
229445
|
+
var tmp_0 = getKClass(Unit);
|
|
229446
|
+
var tmp_1 = null instanceof Unit;
|
|
229447
|
+
var tmp_2;
|
|
229448
|
+
try {
|
|
229449
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
229450
|
+
} catch ($p) {
|
|
229451
|
+
var tmp_3;
|
|
229452
|
+
if ($p instanceof Error) {
|
|
229453
|
+
var _unused_var__etf5q3 = $p;
|
|
229454
|
+
tmp_3 = null;
|
|
229455
|
+
} else {
|
|
229456
|
+
throw $p;
|
|
229457
|
+
}
|
|
229458
|
+
tmp_2 = tmp_3;
|
|
229459
|
+
}
|
|
229460
|
+
|
|
229461
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
229462
|
+
case 2:
|
|
229463
|
+
throw this.exception_1;
|
|
229464
|
+
}
|
|
229465
|
+
} catch ($p_0) {
|
|
229466
|
+
var e = $p_0;
|
|
229467
|
+
if (this.exceptionState_1 === 2) {
|
|
229468
|
+
throw e;
|
|
229469
|
+
} else {
|
|
229470
|
+
this.state_1 = this.exceptionState_1;
|
|
229471
|
+
this.exception_1 = e;
|
|
229472
|
+
}
|
|
229473
|
+
}
|
|
229474
|
+
while (true);
|
|
229475
|
+
};
|
|
229476
|
+
function $deleteImportDraft$suspendBridgeCOROUTINE$(_this__u8e3s4, draftId, resultContinuation) {
|
|
229477
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
229478
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
229479
|
+
this.draftId_1 = draftId;
|
|
229480
|
+
}
|
|
229481
|
+
protoOf($deleteImportDraft$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
229482
|
+
var suspendResult = this.result_1;
|
|
229483
|
+
$sm: do
|
|
229484
|
+
try {
|
|
229485
|
+
var tmp = this.state_1;
|
|
229486
|
+
switch (tmp) {
|
|
229487
|
+
case 0:
|
|
229488
|
+
this.exceptionState_1 = 4;
|
|
229489
|
+
if (this._this__u8e3s4__1.deleteImportDraft === protoOf(CompanyApi).deleteImportDraft) {
|
|
229490
|
+
this.state_1 = 2;
|
|
229491
|
+
suspendResult = this._this__u8e3s4__1.deleteImportDraft_zdvb75_k$(this.draftId_1, this);
|
|
229492
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
229493
|
+
return suspendResult;
|
|
229494
|
+
}
|
|
229495
|
+
continue $sm;
|
|
229496
|
+
} else {
|
|
229497
|
+
this.state_1 = 1;
|
|
229498
|
+
suspendResult = await_0(this._this__u8e3s4__1.deleteImportDraft(this.draftId_1), this);
|
|
229499
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
229500
|
+
return suspendResult;
|
|
229501
|
+
}
|
|
229502
|
+
continue $sm;
|
|
229503
|
+
}
|
|
229504
|
+
|
|
229505
|
+
case 1:
|
|
229506
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
229507
|
+
this.state_1 = 3;
|
|
229508
|
+
continue $sm;
|
|
229509
|
+
case 2:
|
|
229510
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
229511
|
+
this.state_1 = 3;
|
|
229512
|
+
continue $sm;
|
|
229513
|
+
case 3:
|
|
229514
|
+
return this.WHEN_RESULT0__1;
|
|
229515
|
+
case 4:
|
|
229516
|
+
throw this.exception_1;
|
|
229517
|
+
}
|
|
229518
|
+
} catch ($p) {
|
|
229519
|
+
var e = $p;
|
|
229520
|
+
if (this.exceptionState_1 === 4) {
|
|
229521
|
+
throw e;
|
|
229522
|
+
} else {
|
|
229523
|
+
this.state_1 = this.exceptionState_1;
|
|
229524
|
+
this.exception_1 = e;
|
|
229525
|
+
}
|
|
229526
|
+
}
|
|
229527
|
+
while (true);
|
|
229528
|
+
};
|
|
229414
229529
|
function $indexActiveAdministratorsCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
|
|
229415
229530
|
CoroutineImpl.call(this, resultContinuation);
|
|
229416
229531
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -233662,6 +233777,24 @@ protoOf(CompanyApi).deleteCompanyAddress$suspendBridge_9vk9hb_k$ = function (com
|
|
|
233662
233777
|
tmp.exception_1 = null;
|
|
233663
233778
|
return tmp.doResume_5yljmg_k$();
|
|
233664
233779
|
};
|
|
233780
|
+
protoOf(CompanyApi).deleteImportDraft_zdvb75_k$ = function (draftId, $completion) {
|
|
233781
|
+
var tmp = new $deleteImportDraftCOROUTINE$(this, draftId, $completion);
|
|
233782
|
+
tmp.result_1 = Unit_instance;
|
|
233783
|
+
tmp.exception_1 = null;
|
|
233784
|
+
return tmp.doResume_5yljmg_k$();
|
|
233785
|
+
};
|
|
233786
|
+
protoOf(CompanyApi).deleteImportDraft = function (draftId) {
|
|
233787
|
+
var tmp = this;
|
|
233788
|
+
return promisify(function ($completion) {
|
|
233789
|
+
return tmp.deleteImportDraft_zdvb75_k$(draftId, $completion);
|
|
233790
|
+
});
|
|
233791
|
+
};
|
|
233792
|
+
protoOf(CompanyApi).deleteImportDraft$suspendBridge_m8rwdq_k$ = function (draftId, $completion) {
|
|
233793
|
+
var tmp = new $deleteImportDraft$suspendBridgeCOROUTINE$(this, draftId, $completion);
|
|
233794
|
+
tmp.result_1 = Unit_instance;
|
|
233795
|
+
tmp.exception_1 = null;
|
|
233796
|
+
return tmp.doResume_5yljmg_k$();
|
|
233797
|
+
};
|
|
233665
233798
|
protoOf(CompanyApi).indexActiveAdministrators_m1q8ob_k$ = function (fields, $completion) {
|
|
233666
233799
|
var tmp = new $indexActiveAdministratorsCOROUTINE$(this, fields, $completion);
|
|
233667
233800
|
tmp.result_1 = Unit_instance;
|
|
@@ -337196,6 +337329,7 @@ if (typeof FailureKind !== 'undefined') {
|
|
|
337196
337329
|
__soliboWrapMethod(ref(() => CompanyApi), "createImportDraftSameieAddress", {"args":{"0":["model","SameieAddresseSearchCommand"]},"result":true});
|
|
337197
337330
|
__soliboWrapMethod(ref(() => CompanyApi), "createImportDraftSameieMatrikkel", {"args":{"0":["model","SameieMatrikkelSearchCommand"]},"result":true});
|
|
337198
337331
|
__soliboWrapMethod(ref(() => CompanyApi), "deleteCompanyAddress", {"args":{"0":["bigint"],"1":["bigint"]},"result":true});
|
|
337332
|
+
__soliboWrapMethod(ref(() => CompanyApi), "deleteImportDraft", {"args":{"0":["bigint"]},"result":true});
|
|
337199
337333
|
__soliboWrapMethod(ref(() => CompanyApi), "indexActiveAdministrators", {"result":true});
|
|
337200
337334
|
__soliboWrapMethod(ref(() => CompanyApi), "indexAllAdministrators", {"result":true});
|
|
337201
337335
|
__soliboWrapMethod(ref(() => CompanyApi), "indexAvailableCompanyAdministrators", {"args":{"0":["bigint"]},"result":true});
|