@solibo/solibo-sdk 1.1.1 → 1.1.3

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.
@@ -270,7 +270,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
270
270
  initMetadataForClass(Symbol, 'Symbol');
271
271
  initMetadataForInterface(SelectInstance, 'SelectInstance');
272
272
  initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
273
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
273
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
274
274
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
275
275
  function tryLock$default(owner, $super) {
276
276
  owner = owner === VOID ? null : owner;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "main": "index.js",
3
3
  "types": "index.d.ts",
4
- "version": "1.1.1",
4
+ "version": "1.1.3",
5
5
  "name": "@solibo/solibo-sdk",
6
6
  "dependencies": {
7
7
  "@js-joda/core": "3.2.0",
@@ -2715,8 +2715,8 @@ initMetadataForCompanion(Companion_628, VOID, [KSerializer]);
2715
2715
  initMetadataForCompanion(Companion_629, VOID, [KSerializer]);
2716
2716
  initMetadataForClass(IndexSettlementResponse, 'IndexSettlementResponse', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_629});
2717
2717
  initMetadataForClass(IndexSettlementCustomCostResponse, 'IndexSettlementCustomCostResponse', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_630});
2718
- initMetadataForClass(IndexSettlementProviderConfigurationResponse, 'IndexSettlementProviderConfigurationResponse', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_631});
2719
- initMetadataForClass(IndexSettlement0Response, 'IndexSettlement0Response', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_632});
2718
+ initMetadataForClass(IndexSettlementInvoicesResponse, 'IndexSettlementInvoicesResponse', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_631});
2719
+ initMetadataForClass(IndexSettlementProviderConfigurationResponse, 'IndexSettlementProviderConfigurationResponse', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_632});
2720
2720
  initMetadataForCoroutine($closeSettlement$suspendBridgeCOROUTINE$, CoroutineImpl);
2721
2721
  initMetadataForCoroutine($closeSettlementCOROUTINE$, CoroutineImpl);
2722
2722
  initMetadataForCoroutine($createSettlement$suspendBridgeCOROUTINE$, CoroutineImpl);
@@ -2733,10 +2733,10 @@ initMetadataForCoroutine($indexSettlement$suspendBridgeCOROUTINE$, CoroutineImpl
2733
2733
  initMetadataForCoroutine($indexSettlementCOROUTINE$, CoroutineImpl);
2734
2734
  initMetadataForCoroutine($indexSettlementCustomCost$suspendBridgeCOROUTINE$, CoroutineImpl);
2735
2735
  initMetadataForCoroutine($indexSettlementCustomCostCOROUTINE$, CoroutineImpl);
2736
+ initMetadataForCoroutine($indexSettlementInvoices$suspendBridgeCOROUTINE$, CoroutineImpl);
2737
+ initMetadataForCoroutine($indexSettlementInvoicesCOROUTINE$, CoroutineImpl);
2736
2738
  initMetadataForCoroutine($indexSettlementProviderConfiguration$suspendBridgeCOROUTINE$, CoroutineImpl);
2737
2739
  initMetadataForCoroutine($indexSettlementProviderConfigurationCOROUTINE$, CoroutineImpl);
2738
- initMetadataForCoroutine($indexSettlement_0$suspendBridgeCOROUTINE$, CoroutineImpl);
2739
- initMetadataForCoroutine($indexSettlement_0COROUTINE$, CoroutineImpl);
2740
2740
  initMetadataForCoroutine($showSettlement$suspendBridgeCOROUTINE$, CoroutineImpl);
2741
2741
  initMetadataForCoroutine($showSettlementCOROUTINE$, CoroutineImpl);
2742
2742
  initMetadataForCoroutine($showSettlementCustomCost$suspendBridgeCOROUTINE$, CoroutineImpl);
@@ -184076,7 +184076,7 @@ function Companion_628() {
184076
184076
  var tmp = this;
184077
184077
  // Inline function 'kotlinx.serialization.serializer' call
184078
184078
  // Inline function 'kotlinx.serialization.internal.cast' call
184079
- var this_0 = serializer(createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(SettlementProviderConfiguration), arrayOf([]), false))]), false));
184079
+ var this_0 = serializer(createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(SupplierInvoice), arrayOf([]), false))]), false));
184080
184080
  tmp.jle_1 = isInterface(this_0, KSerializer) ? this_0 : THROW_CCE();
184081
184081
  this.kle_1 = this.jle_1.ys();
184082
184082
  }
@@ -184087,10 +184087,10 @@ protoOf(Companion_628).lle = function (encoder, value) {
184087
184087
  return this.jle_1.lt(encoder, value.mle_1);
184088
184088
  };
184089
184089
  protoOf(Companion_628).lt = function (encoder, value) {
184090
- return this.lle(encoder, value instanceof IndexSettlementProviderConfigurationResponse ? value : THROW_CCE());
184090
+ return this.lle(encoder, value instanceof IndexSettlementInvoicesResponse ? value : THROW_CCE());
184091
184091
  };
184092
184092
  protoOf(Companion_628).mt = function (decoder) {
184093
- return new IndexSettlementProviderConfigurationResponse(this.jle_1.mt(decoder));
184093
+ return new IndexSettlementInvoicesResponse(this.jle_1.mt(decoder));
184094
184094
  };
184095
184095
  protoOf(Companion_628).t63 = function () {
184096
184096
  return Companion_getInstance_631();
@@ -184106,7 +184106,7 @@ function Companion_629() {
184106
184106
  var tmp = this;
184107
184107
  // Inline function 'kotlinx.serialization.serializer' call
184108
184108
  // Inline function 'kotlinx.serialization.internal.cast' call
184109
- var this_0 = serializer(createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(SupplierInvoice), arrayOf([]), false))]), false));
184109
+ var this_0 = serializer(createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(SettlementProviderConfiguration), arrayOf([]), false))]), false));
184110
184110
  tmp.nle_1 = isInterface(this_0, KSerializer) ? this_0 : THROW_CCE();
184111
184111
  this.ole_1 = this.nle_1.ys();
184112
184112
  }
@@ -184117,10 +184117,10 @@ protoOf(Companion_629).ple = function (encoder, value) {
184117
184117
  return this.nle_1.lt(encoder, value.qle_1);
184118
184118
  };
184119
184119
  protoOf(Companion_629).lt = function (encoder, value) {
184120
- return this.ple(encoder, value instanceof IndexSettlement0Response ? value : THROW_CCE());
184120
+ return this.ple(encoder, value instanceof IndexSettlementProviderConfigurationResponse ? value : THROW_CCE());
184121
184121
  };
184122
184122
  protoOf(Companion_629).mt = function (decoder) {
184123
- return new IndexSettlement0Response(this.nle_1.mt(decoder));
184123
+ return new IndexSettlementProviderConfigurationResponse(this.nle_1.mt(decoder));
184124
184124
  };
184125
184125
  protoOf(Companion_629).t63 = function () {
184126
184126
  return Companion_getInstance_632();
@@ -184159,11 +184159,11 @@ function IndexSettlementCustomCostResponse(value) {
184159
184159
  Companion_getInstance_630();
184160
184160
  this.ile_1 = value;
184161
184161
  }
184162
- function IndexSettlementProviderConfigurationResponse(value) {
184162
+ function IndexSettlementInvoicesResponse(value) {
184163
184163
  Companion_getInstance_631();
184164
184164
  this.mle_1 = value;
184165
184165
  }
184166
- function IndexSettlement0Response(value) {
184166
+ function IndexSettlementProviderConfigurationResponse(value) {
184167
184167
  Companion_getInstance_632();
184168
184168
  this.qle_1 = value;
184169
184169
  }
@@ -184173,10 +184173,10 @@ function SettlementApi$indexSettlement$lambda($this$map) {
184173
184173
  function SettlementApi$indexSettlementCustomCost$lambda($this$map) {
184174
184174
  return $this$map.ile_1;
184175
184175
  }
184176
- function SettlementApi$indexSettlementProviderConfiguration$lambda($this$map) {
184176
+ function SettlementApi$indexSettlementInvoices$lambda($this$map) {
184177
184177
  return $this$map.mle_1;
184178
184178
  }
184179
- function SettlementApi$indexSettlement_0$lambda($this$map) {
184179
+ function SettlementApi$indexSettlementProviderConfiguration$lambda($this$map) {
184180
184180
  return $this$map.qle_1;
184181
184181
  }
184182
184182
  function $closeSettlement$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, settlementId, resultContinuation) {
@@ -185095,12 +185095,12 @@ protoOf($indexSettlementCustomCostCOROUTINE$).t9 = function () {
185095
185095
  }
185096
185096
  while (true);
185097
185097
  };
185098
- function $indexSettlementProviderConfiguration$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, resultContinuation) {
185098
+ function $indexSettlementInvoices$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, resultContinuation) {
185099
185099
  CoroutineImpl.call(this, resultContinuation);
185100
185100
  this.olm_1 = _this__u8e3s4;
185101
185101
  this.plm_1 = companyId;
185102
185102
  }
185103
- protoOf($indexSettlementProviderConfiguration$suspendBridgeCOROUTINE$).t9 = function () {
185103
+ protoOf($indexSettlementInvoices$suspendBridgeCOROUTINE$).t9 = function () {
185104
185104
  var suspendResult = this.n9_1;
185105
185105
  $sm: do
185106
185106
  try {
@@ -185108,7 +185108,7 @@ protoOf($indexSettlementProviderConfiguration$suspendBridgeCOROUTINE$).t9 = func
185108
185108
  switch (tmp) {
185109
185109
  case 0:
185110
185110
  this.m9_1 = 4;
185111
- if (this.olm_1.indexSettlementProviderConfiguration === protoOf(SettlementApi).indexSettlementProviderConfiguration) {
185111
+ if (this.olm_1.indexSettlementInvoices === protoOf(SettlementApi).indexSettlementInvoices) {
185112
185112
  this.l9_1 = 2;
185113
185113
  suspendResult = this.olm_1.rlm(this.plm_1, this);
185114
185114
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -185117,7 +185117,7 @@ protoOf($indexSettlementProviderConfiguration$suspendBridgeCOROUTINE$).t9 = func
185117
185117
  continue $sm;
185118
185118
  } else {
185119
185119
  this.l9_1 = 1;
185120
- suspendResult = await_0(this.olm_1.indexSettlementProviderConfiguration(this.plm_1), this);
185120
+ suspendResult = await_0(this.olm_1.indexSettlementInvoices(this.plm_1), this);
185121
185121
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
185122
185122
  return suspendResult;
185123
185123
  }
@@ -185148,12 +185148,12 @@ protoOf($indexSettlementProviderConfiguration$suspendBridgeCOROUTINE$).t9 = func
185148
185148
  }
185149
185149
  while (true);
185150
185150
  };
185151
- function $indexSettlementProviderConfigurationCOROUTINE$(_this__u8e3s4, companyId, resultContinuation) {
185151
+ function $indexSettlementInvoicesCOROUTINE$(_this__u8e3s4, companyId, resultContinuation) {
185152
185152
  CoroutineImpl.call(this, resultContinuation);
185153
185153
  this.aln_1 = _this__u8e3s4;
185154
185154
  this.bln_1 = companyId;
185155
185155
  }
185156
- protoOf($indexSettlementProviderConfigurationCOROUTINE$).t9 = function () {
185156
+ protoOf($indexSettlementInvoicesCOROUTINE$).t9 = function () {
185157
185157
  var suspendResult = this.n9_1;
185158
185158
  $sm: do
185159
185159
  try {
@@ -185166,7 +185166,7 @@ protoOf($indexSettlementProviderConfigurationCOROUTINE$).t9 = function () {
185166
185166
  var localVariableQuery = LinkedHashMap_init_$Create$_0();
185167
185167
  var localVariableHeaders = LinkedHashMap_init_$Create$_0();
185168
185168
  var tmp0_method = RequestMethod_GET_getInstance();
185169
- var tmp1_path = replace('/companies/{companyId}/economy/settlements/configurations', '{companyId}', this.bln_1.toString());
185169
+ var tmp1_path = replace('/companies/{companyId}/economy/settlements/invoices', '{companyId}', this.bln_1.toString());
185170
185170
  var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
185171
185171
  this.l9_1 = 1;
185172
185172
  suspendResult = this.aln_1.h9s(localVariableConfig, localVariableBody, localVariableAuthNames, this);
@@ -185177,10 +185177,10 @@ protoOf($indexSettlementProviderConfigurationCOROUTINE$).t9 = function () {
185177
185177
  continue $sm;
185178
185178
  case 1:
185179
185179
  var this_0 = suspendResult;
185180
- var tmp_0 = getKClass(IndexSettlementProviderConfigurationResponse);
185180
+ var tmp_0 = getKClass(IndexSettlementInvoicesResponse);
185181
185181
  var tmp_1;
185182
185182
  try {
185183
- tmp_1 = createKType(getKClass(IndexSettlementProviderConfigurationResponse), arrayOf([]), false);
185183
+ tmp_1 = createKType(getKClass(IndexSettlementInvoicesResponse), arrayOf([]), false);
185184
185184
  } catch ($p) {
185185
185185
  var tmp_2;
185186
185186
  if ($p instanceof Error) {
@@ -185193,7 +185193,7 @@ protoOf($indexSettlementProviderConfigurationCOROUTINE$).t9 = function () {
185193
185193
  }
185194
185194
 
185195
185195
  var ARGUMENT = new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1)));
185196
- return map(ARGUMENT, SettlementApi$indexSettlementProviderConfiguration$lambda);
185196
+ return map(ARGUMENT, SettlementApi$indexSettlementInvoices$lambda);
185197
185197
  case 2:
185198
185198
  throw this.o9_1;
185199
185199
  }
@@ -185208,12 +185208,12 @@ protoOf($indexSettlementProviderConfigurationCOROUTINE$).t9 = function () {
185208
185208
  }
185209
185209
  while (true);
185210
185210
  };
185211
- function $indexSettlement_0$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, resultContinuation) {
185211
+ function $indexSettlementProviderConfiguration$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, resultContinuation) {
185212
185212
  CoroutineImpl.call(this, resultContinuation);
185213
185213
  this.kln_1 = _this__u8e3s4;
185214
185214
  this.lln_1 = companyId;
185215
185215
  }
185216
- protoOf($indexSettlement_0$suspendBridgeCOROUTINE$).t9 = function () {
185216
+ protoOf($indexSettlementProviderConfiguration$suspendBridgeCOROUTINE$).t9 = function () {
185217
185217
  var suspendResult = this.n9_1;
185218
185218
  $sm: do
185219
185219
  try {
@@ -185221,7 +185221,7 @@ protoOf($indexSettlement_0$suspendBridgeCOROUTINE$).t9 = function () {
185221
185221
  switch (tmp) {
185222
185222
  case 0:
185223
185223
  this.m9_1 = 4;
185224
- if (this.kln_1.indexSettlement_0 === protoOf(SettlementApi).indexSettlement_0) {
185224
+ if (this.kln_1.indexSettlementProviderConfiguration === protoOf(SettlementApi).indexSettlementProviderConfiguration) {
185225
185225
  this.l9_1 = 2;
185226
185226
  suspendResult = this.kln_1.nln(this.lln_1, this);
185227
185227
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -185230,7 +185230,7 @@ protoOf($indexSettlement_0$suspendBridgeCOROUTINE$).t9 = function () {
185230
185230
  continue $sm;
185231
185231
  } else {
185232
185232
  this.l9_1 = 1;
185233
- suspendResult = await_0(this.kln_1.indexSettlement_0(this.lln_1), this);
185233
+ suspendResult = await_0(this.kln_1.indexSettlementProviderConfiguration(this.lln_1), this);
185234
185234
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
185235
185235
  return suspendResult;
185236
185236
  }
@@ -185261,12 +185261,12 @@ protoOf($indexSettlement_0$suspendBridgeCOROUTINE$).t9 = function () {
185261
185261
  }
185262
185262
  while (true);
185263
185263
  };
185264
- function $indexSettlement_0COROUTINE$(_this__u8e3s4, companyId, resultContinuation) {
185264
+ function $indexSettlementProviderConfigurationCOROUTINE$(_this__u8e3s4, companyId, resultContinuation) {
185265
185265
  CoroutineImpl.call(this, resultContinuation);
185266
185266
  this.wln_1 = _this__u8e3s4;
185267
185267
  this.xln_1 = companyId;
185268
185268
  }
185269
- protoOf($indexSettlement_0COROUTINE$).t9 = function () {
185269
+ protoOf($indexSettlementProviderConfigurationCOROUTINE$).t9 = function () {
185270
185270
  var suspendResult = this.n9_1;
185271
185271
  $sm: do
185272
185272
  try {
@@ -185279,7 +185279,7 @@ protoOf($indexSettlement_0COROUTINE$).t9 = function () {
185279
185279
  var localVariableQuery = LinkedHashMap_init_$Create$_0();
185280
185280
  var localVariableHeaders = LinkedHashMap_init_$Create$_0();
185281
185281
  var tmp0_method = RequestMethod_GET_getInstance();
185282
- var tmp1_path = replace('/companies/{companyId}/economy/settlements/invoices', '{companyId}', this.xln_1.toString());
185282
+ var tmp1_path = replace('/companies/{companyId}/economy/settlements/configurations', '{companyId}', this.xln_1.toString());
185283
185283
  var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
185284
185284
  this.l9_1 = 1;
185285
185285
  suspendResult = this.wln_1.h9s(localVariableConfig, localVariableBody, localVariableAuthNames, this);
@@ -185290,10 +185290,10 @@ protoOf($indexSettlement_0COROUTINE$).t9 = function () {
185290
185290
  continue $sm;
185291
185291
  case 1:
185292
185292
  var this_0 = suspendResult;
185293
- var tmp_0 = getKClass(IndexSettlement0Response);
185293
+ var tmp_0 = getKClass(IndexSettlementProviderConfigurationResponse);
185294
185294
  var tmp_1;
185295
185295
  try {
185296
- tmp_1 = createKType(getKClass(IndexSettlement0Response), arrayOf([]), false);
185296
+ tmp_1 = createKType(getKClass(IndexSettlementProviderConfigurationResponse), arrayOf([]), false);
185297
185297
  } catch ($p) {
185298
185298
  var tmp_2;
185299
185299
  if ($p instanceof Error) {
@@ -185306,7 +185306,7 @@ protoOf($indexSettlement_0COROUTINE$).t9 = function () {
185306
185306
  }
185307
185307
 
185308
185308
  var ARGUMENT = new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1)));
185309
- return map(ARGUMENT, SettlementApi$indexSettlement_0$lambda);
185309
+ return map(ARGUMENT, SettlementApi$indexSettlementProviderConfiguration$lambda);
185310
185310
  case 2:
185311
185311
  throw this.o9_1;
185312
185312
  }
@@ -186275,38 +186275,38 @@ protoOf(SettlementApi).ull = function (companyId, settlementId, $completion) {
186275
186275
  tmp.o9_1 = null;
186276
186276
  return tmp.t9();
186277
186277
  };
186278
- protoOf(SettlementApi).indexSettlementProviderConfiguration = function (companyId) {
186278
+ protoOf(SettlementApi).indexSettlementInvoices = function (companyId) {
186279
186279
  var tmp = this;
186280
186280
  return promisify(function ($completion) {
186281
186281
  return tmp.elv(companyId, $completion);
186282
186282
  });
186283
186283
  };
186284
186284
  protoOf(SettlementApi).elv = function (companyId, $completion) {
186285
- var tmp = new $indexSettlementProviderConfiguration$suspendBridgeCOROUTINE$(this, companyId, $completion);
186285
+ var tmp = new $indexSettlementInvoices$suspendBridgeCOROUTINE$(this, companyId, $completion);
186286
186286
  tmp.n9_1 = Unit_instance;
186287
186287
  tmp.o9_1 = null;
186288
186288
  return tmp.t9();
186289
186289
  };
186290
186290
  protoOf(SettlementApi).rlm = function (companyId, $completion) {
186291
- var tmp = new $indexSettlementProviderConfigurationCOROUTINE$(this, companyId, $completion);
186291
+ var tmp = new $indexSettlementInvoicesCOROUTINE$(this, companyId, $completion);
186292
186292
  tmp.n9_1 = Unit_instance;
186293
186293
  tmp.o9_1 = null;
186294
186294
  return tmp.t9();
186295
186295
  };
186296
- protoOf(SettlementApi).indexSettlement_0 = function (companyId) {
186296
+ protoOf(SettlementApi).indexSettlementProviderConfiguration = function (companyId) {
186297
186297
  var tmp = this;
186298
186298
  return promisify(function ($completion) {
186299
186299
  return tmp.flv(companyId, $completion);
186300
186300
  });
186301
186301
  };
186302
186302
  protoOf(SettlementApi).flv = function (companyId, $completion) {
186303
- var tmp = new $indexSettlement_0$suspendBridgeCOROUTINE$(this, companyId, $completion);
186303
+ var tmp = new $indexSettlementProviderConfiguration$suspendBridgeCOROUTINE$(this, companyId, $completion);
186304
186304
  tmp.n9_1 = Unit_instance;
186305
186305
  tmp.o9_1 = null;
186306
186306
  return tmp.t9();
186307
186307
  };
186308
186308
  protoOf(SettlementApi).nln = function (companyId, $completion) {
186309
- var tmp = new $indexSettlement_0COROUTINE$(this, companyId, $completion);
186309
+ var tmp = new $indexSettlementProviderConfigurationCOROUTINE$(this, companyId, $completion);
186310
186310
  tmp.n9_1 = Unit_instance;
186311
186311
  tmp.o9_1 = null;
186312
186312
  return tmp.t9();