@solibo/solibo-sdk 1.30.0 → 1.31.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 CHANGED
@@ -1999,7 +1999,7 @@ export interface CompanyApiFacade {
1999
1999
  updateAdministratorsForCompany(params: {
2000
2000
  companyId: Id;
2001
2001
  input: UpdateManagementCommand | SdkInput<UpdateManagementCommandProps>;
2002
- }): Promise<SdkResult<Person[]>>;
2002
+ }): Promise<SdkResult<SoliboContacts>>;
2003
2003
  updateCompanyAddress(params: {
2004
2004
  companyId: Id;
2005
2005
  addressId: Id;
@@ -3423,7 +3423,7 @@ export interface ResidentApiFacade {
3423
3423
  companyId: Id;
3424
3424
  residentType: ResidentType | "PERSON" | "ORGANIZATION";
3425
3425
  input: CreateResidentCommand;
3426
- }): Promise<SdkResult<Person>>;
3426
+ }): Promise<SdkResult<Resident>>;
3427
3427
  createResidentAttendance(params: {
3428
3428
  companyId: Id;
3429
3429
  residentType: string;
@@ -3523,7 +3523,7 @@ export interface ResidentApiFacade {
3523
3523
  residentType: string;
3524
3524
  residentId: Id;
3525
3525
  input: UpdateResidentCommand;
3526
- }): Promise<SdkResult<Person>>;
3526
+ }): Promise<SdkResult<Resident>>;
3527
3527
  updateResidentAttendance(params: {
3528
3528
  companyId: Id;
3529
3529
  residentType: string;
@@ -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]);
@@ -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, SelectInstance, Waiter], [0, 2]);
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).tryRegisterAsWaiter_wnojok_k$ = function (select) {
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$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$()));
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.tryRegisterAsWaiter_wnojok_k$(this)) {
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$default_bbb1nn_k$ = function (_this__u8e3s4, reregister, $super) {
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) {