@solibo/solibo-sdk 1.26.12 → 1.27.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.
@@ -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, WithDate, WithTime]);
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
@@ -1215,7 +1215,6 @@ export interface DocumentsApiFacade {
1215
1215
  companyId: Id;
1216
1216
  documentType: string;
1217
1217
  belongsToId: Id;
1218
- visibility?: string | null | undefined;
1219
1218
  parentId?: Id | null | undefined;
1220
1219
  uploadGroupId?: string | null | undefined;
1221
1220
  fields?: F;
package/client.mjs CHANGED
@@ -420,10 +420,6 @@ const DESCRIPTORS = {
420
420
  "name": "belongsToId",
421
421
  "type": "bigint"
422
422
  },
423
- {
424
- "name": "visibility",
425
- "type": "string | null | undefined"
426
- },
427
423
  {
428
424
  "name": "parentId",
429
425
  "type": "bigint | null | undefined"
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "url": "git+https://github.com/Solibo-AS/solibo-sdk.git",
24
24
  "directory": "sdk"
25
25
  },
26
- "version": "1.26.12",
26
+ "version": "1.27.0",
27
27
  "name": "@solibo/solibo-sdk",
28
28
  "dependencies": {
29
29
  "@js-joda/core": "6.1.0",
@@ -49,6 +49,7 @@ import {
49
49
  isInterface3d6p8outrmvmk as isInterface,
50
50
  joinToString1cxrrlmo0chqs as joinToString,
51
51
  ArrayList_init_$Create$a978fvbbts3d as ArrayList_init_$Create$,
52
+ ArrayList3it5z8td81qkl as ArrayList_BridgeFix,
52
53
  lazy2hsh8ze7j6ikd as lazy_0,
53
54
  KProperty1ca4yb4wlo496 as KProperty1,
54
55
  getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef,
@@ -3207,7 +3208,7 @@ initMetadataForCoroutine($trashDocumentCOROUTINE$, CoroutineImpl);
3207
3208
  initMetadataForCoroutine($trashDocument$suspendBridgeCOROUTINE$, CoroutineImpl);
3208
3209
  initMetadataForCoroutine($trashMultipleDocumentsCOROUTINE$, CoroutineImpl);
3209
3210
  initMetadataForCoroutine($trashMultipleDocuments$suspendBridgeCOROUTINE$, CoroutineImpl);
3210
- initMetadataForClass(DocumentApi, 'DocumentApi', create_7, ApiClient, VOID, [2, 3, 4, 6, 5, 10, 9, 8, 1, 11, 13]);
3211
+ initMetadataForClass(DocumentApi, 'DocumentApi', create_7, ApiClient, VOID, [2, 3, 4, 6, 5, 9, 8, 1, 11, 13]);
3211
3212
  initMetadataForCoroutine($deleteEconomicReportCOROUTINE$, CoroutineImpl);
3212
3213
  initMetadataForCoroutine($deleteEconomicReport$suspendBridgeCOROUTINE$, CoroutineImpl);
3213
3214
  initMetadataForCoroutine($indexCompaniesEconomyStatusCOROUTINE$, CoroutineImpl);
@@ -240821,13 +240822,12 @@ protoOf($disconnectOffice365CustomerConnection$suspendBridgeCOROUTINE$).doResume
240821
240822
  }
240822
240823
  while (true);
240823
240824
  };
240824
- function $indexDocumentBelongsToCOROUTINE$(_this__u8e3s4, companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, resultContinuation) {
240825
+ function $indexDocumentBelongsToCOROUTINE$(_this__u8e3s4, companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, resultContinuation) {
240825
240826
  CoroutineImpl.call(this, resultContinuation);
240826
240827
  this._this__u8e3s4__1 = _this__u8e3s4;
240827
240828
  this.companyId_1 = companyId;
240828
240829
  this.documentType_1 = documentType;
240829
240830
  this.belongsToId_1 = belongsToId;
240830
- this.visibility_1 = visibility;
240831
240831
  this.parentId_1 = parentId;
240832
240832
  this.uploadGroupId_1 = uploadGroupId;
240833
240833
  this.fields_1 = fields;
@@ -240846,64 +240846,56 @@ protoOf($indexDocumentBelongsToCOROUTINE$).doResume_5yljmg_k$ = function () {
240846
240846
  var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
240847
240847
  var localVariableBody = EmptyContent_getInstance();
240848
240848
  var localVariableQuery = LinkedHashMap_init_$Create$_0();
240849
- if (this.visibility_1 == null)
240850
- null;
240851
- else {
240852
- var tmp2 = 'visibility';
240853
- var value = listOf_0(this.visibility_1);
240854
- localVariableQuery.put_4fpzoq_k$(tmp2, value);
240855
- }
240856
-
240857
240849
  if (this.parentId_1 == null)
240858
240850
  null;
240859
240851
  else {
240860
- var tmp2_0 = 'parentId';
240861
- var value_0 = listOf_0(this.parentId_1.toString());
240862
- localVariableQuery.put_4fpzoq_k$(tmp2_0, value_0);
240852
+ var tmp2 = 'parentId';
240853
+ var value = listOf_0(this.parentId_1.toString());
240854
+ localVariableQuery.put_4fpzoq_k$(tmp2, value);
240863
240855
  }
240864
240856
 
240865
240857
  if (this.uploadGroupId_1 == null)
240866
240858
  null;
240867
240859
  else {
240868
- var tmp2_1 = 'uploadGroupId';
240869
- var value_1 = listOf_0(this.uploadGroupId_1);
240870
- localVariableQuery.put_4fpzoq_k$(tmp2_1, value_1);
240860
+ var tmp2_0 = 'uploadGroupId';
240861
+ var value_0 = listOf_0(this.uploadGroupId_1);
240862
+ localVariableQuery.put_4fpzoq_k$(tmp2_0, value_0);
240871
240863
  }
240872
240864
 
240873
240865
  if (this.fields_1 == null)
240874
240866
  null;
240875
240867
  else {
240876
- var value_2 = listOf_0(this.fields_1);
240877
- localVariableQuery.put_4fpzoq_k$('fields', value_2);
240868
+ var value_1 = listOf_0(this.fields_1);
240869
+ localVariableQuery.put_4fpzoq_k$('fields', value_1);
240878
240870
  }
240879
240871
 
240880
240872
  if (this.pageToken_1 == null)
240881
240873
  null;
240882
240874
  else {
240883
- var tmp2_2 = 'pageToken';
240884
- var value_3 = listOf_0(this.pageToken_1);
240885
- localVariableQuery.put_4fpzoq_k$(tmp2_2, value_3);
240875
+ var tmp2_1 = 'pageToken';
240876
+ var value_2 = listOf_0(this.pageToken_1);
240877
+ localVariableQuery.put_4fpzoq_k$(tmp2_1, value_2);
240886
240878
  }
240887
240879
 
240888
240880
  if (this.autoPaginate_1 == null)
240889
240881
  null;
240890
240882
  else {
240891
- var tmp2_3 = 'autoPaginate';
240892
- var value_4 = listOf_0('' + this.autoPaginate_1);
240893
- localVariableQuery.put_4fpzoq_k$(tmp2_3, value_4);
240883
+ var tmp2_2 = 'autoPaginate';
240884
+ var value_3 = listOf_0('' + this.autoPaginate_1);
240885
+ localVariableQuery.put_4fpzoq_k$(tmp2_2, value_3);
240894
240886
  }
240895
240887
 
240896
240888
  if (this.count_1 == null)
240897
240889
  null;
240898
240890
  else {
240899
- var value_5 = listOf_0('' + this.count_1);
240900
- localVariableQuery.put_4fpzoq_k$('count', value_5);
240891
+ var value_4 = listOf_0('' + this.count_1);
240892
+ localVariableQuery.put_4fpzoq_k$('count', value_4);
240901
240893
  }
240902
240894
 
240903
240895
  var localVariableHeaders = LinkedHashMap_init_$Create$_0();
240904
- var tmp7_method = RequestMethod_GET_getInstance();
240905
- var tmp8_path = replace(replace(replace('/companies/{companyId}/documents/type/{documentType}/{belongsToId}', '{companyId}', this.companyId_1.toString()), '{documentType}', this.documentType_1), '{belongsToId}', this.belongsToId_1.toString());
240906
- var localVariableConfig = new RequestConfig(tmp7_method, tmp8_path, localVariableHeaders, VOID, localVariableQuery, true);
240896
+ var tmp6_method = RequestMethod_GET_getInstance();
240897
+ var tmp7_path = replace(replace(replace('/companies/{companyId}/documents/type/{documentType}/{belongsToId}', '{companyId}', this.companyId_1.toString()), '{documentType}', this.documentType_1), '{belongsToId}', this.belongsToId_1.toString());
240898
+ var localVariableConfig = new RequestConfig(tmp6_method, tmp7_path, localVariableHeaders, VOID, localVariableQuery, true);
240907
240899
  this.state_1 = 1;
240908
240900
  suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
240909
240901
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -240944,13 +240936,12 @@ protoOf($indexDocumentBelongsToCOROUTINE$).doResume_5yljmg_k$ = function () {
240944
240936
  }
240945
240937
  while (true);
240946
240938
  };
240947
- function $indexDocumentBelongsTo$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, resultContinuation) {
240939
+ function $indexDocumentBelongsTo$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, resultContinuation) {
240948
240940
  CoroutineImpl.call(this, resultContinuation);
240949
240941
  this._this__u8e3s4__1 = _this__u8e3s4;
240950
240942
  this.companyId_1 = companyId;
240951
240943
  this.documentType_1 = documentType;
240952
240944
  this.belongsToId_1 = belongsToId;
240953
- this.visibility_1 = visibility;
240954
240945
  this.parentId_1 = parentId;
240955
240946
  this.uploadGroupId_1 = uploadGroupId;
240956
240947
  this.fields_1 = fields;
@@ -240968,14 +240959,14 @@ protoOf($indexDocumentBelongsTo$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = fu
240968
240959
  this.exceptionState_1 = 4;
240969
240960
  if (this._this__u8e3s4__1.indexDocumentBelongsTo === protoOf(DocumentApi).indexDocumentBelongsTo) {
240970
240961
  this.state_1 = 2;
240971
- suspendResult = this._this__u8e3s4__1.indexDocumentBelongsTo$default_qvoda5_k$(this.companyId_1, this.documentType_1, this.belongsToId_1, this.visibility_1, this.parentId_1, this.uploadGroupId_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this);
240962
+ suspendResult = this._this__u8e3s4__1.indexDocumentBelongsTo$default_cd8ca3_k$(this.companyId_1, this.documentType_1, this.belongsToId_1, this.parentId_1, this.uploadGroupId_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this);
240972
240963
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
240973
240964
  return suspendResult;
240974
240965
  }
240975
240966
  continue $sm;
240976
240967
  } else {
240977
240968
  this.state_1 = 1;
240978
- suspendResult = await_0(this._this__u8e3s4__1.indexDocumentBelongsTo(this.companyId_1, this.documentType_1, this.belongsToId_1, this.visibility_1, this.parentId_1, this.uploadGroupId_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
240969
+ suspendResult = await_0(this._this__u8e3s4__1.indexDocumentBelongsTo(this.companyId_1, this.documentType_1, this.belongsToId_1, this.parentId_1, this.uploadGroupId_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
240979
240970
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
240980
240971
  return suspendResult;
240981
240972
  }
@@ -244628,30 +244619,29 @@ protoOf(DocumentApi).disconnectOffice365CustomerConnection$suspendBridge_k29np6_
244628
244619
  tmp.exception_1 = null;
244629
244620
  return tmp.doResume_5yljmg_k$();
244630
244621
  };
244631
- protoOf(DocumentApi).indexDocumentBelongsTo_ocnuwr_k$ = function (companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion) {
244632
- var tmp = new $indexDocumentBelongsToCOROUTINE$(this, companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion);
244622
+ protoOf(DocumentApi).indexDocumentBelongsTo_vapcx8_k$ = function (companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion) {
244623
+ var tmp = new $indexDocumentBelongsToCOROUTINE$(this, companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion);
244633
244624
  tmp.result_1 = Unit_instance;
244634
244625
  tmp.exception_1 = null;
244635
244626
  return tmp.doResume_5yljmg_k$();
244636
244627
  };
244637
- protoOf(DocumentApi).indexDocumentBelongsTo$default_qvoda5_k$ = function (companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion, $super) {
244638
- visibility = visibility === VOID ? null : visibility;
244628
+ protoOf(DocumentApi).indexDocumentBelongsTo$default_cd8ca3_k$ = function (companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion, $super) {
244639
244629
  parentId = parentId === VOID ? null : parentId;
244640
244630
  uploadGroupId = uploadGroupId === VOID ? null : uploadGroupId;
244641
244631
  fields = fields === VOID ? null : fields;
244642
244632
  pageToken = pageToken === VOID ? null : pageToken;
244643
244633
  autoPaginate = autoPaginate === VOID ? null : autoPaginate;
244644
244634
  count = count === VOID ? null : count;
244645
- return $super === VOID ? this.indexDocumentBelongsTo_ocnuwr_k$(companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion) : $super.indexDocumentBelongsTo_ocnuwr_k$.call(this, companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion);
244635
+ return $super === VOID ? this.indexDocumentBelongsTo_vapcx8_k$(companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion) : $super.indexDocumentBelongsTo_vapcx8_k$.call(this, companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion);
244646
244636
  };
244647
- protoOf(DocumentApi).indexDocumentBelongsTo = function (companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count) {
244637
+ protoOf(DocumentApi).indexDocumentBelongsTo = function (companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count) {
244648
244638
  var tmp = this;
244649
244639
  return promisify(function ($completion) {
244650
- return tmp.indexDocumentBelongsTo$default_qvoda5_k$(companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion);
244640
+ return tmp.indexDocumentBelongsTo$default_cd8ca3_k$(companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion);
244651
244641
  });
244652
244642
  };
244653
- protoOf(DocumentApi).indexDocumentBelongsTo$suspendBridge_g4k458_k$ = function (companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion) {
244654
- var tmp = new $indexDocumentBelongsTo$suspendBridgeCOROUTINE$(this, companyId, documentType, belongsToId, visibility, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion);
244643
+ protoOf(DocumentApi).indexDocumentBelongsTo$suspendBridge_wk4v4l_k$ = function (companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion) {
244644
+ var tmp = new $indexDocumentBelongsTo$suspendBridgeCOROUTINE$(this, companyId, documentType, belongsToId, parentId, uploadGroupId, fields, pageToken, autoPaginate, count, $completion);
244655
244645
  tmp.result_1 = Unit_instance;
244656
244646
  tmp.exception_1 = null;
244657
244647
  return tmp.doResume_5yljmg_k$();
@@ -330115,7 +330105,7 @@ if (typeof FailureKind !== 'undefined') {
330115
330105
  __soliboWrapMethod(ref(() => DocumentApi), "deleteDocument", {"args":{"0":["bigint"],"1":["bigint"]},"result":true});
330116
330106
  __soliboWrapMethod(ref(() => DocumentApi), "discardOffice365ManagedDocumentCandidate", {"args":{"0":["bigint"],"1":["bigint"]},"result":true});
330117
330107
  __soliboWrapMethod(ref(() => DocumentApi), "disconnectOffice365CustomerConnection", {"args":{"0":["bigint"],"1":["bigint"]},"result":true});
330118
- __soliboWrapMethod(ref(() => DocumentApi), "indexDocumentBelongsTo", {"args":{"0":["bigint"],"2":["bigint"],"4":["bigint"]},"result":true});
330108
+ __soliboWrapMethod(ref(() => DocumentApi), "indexDocumentBelongsTo", {"args":{"0":["bigint"],"2":["bigint"],"3":["bigint"]},"result":true});
330119
330109
  __soliboWrapMethod(ref(() => DocumentApi), "indexDocumentsUser", {"args":{"1":["list",["bigint"]],"2":["list",["enum","DocumentType"]],"3":["bigint"],"4":["bigint"]},"result":true});
330120
330110
  __soliboWrapMethod(ref(() => DocumentApi), "listDocument", {"args":{"0":["bigint"],"2":["list",["enum","DocumentType"]],"3":["bigint"],"4":["bigint"]},"result":true});
330121
330111
  __soliboWrapMethod(ref(() => DocumentApi), "listDocumentByType", {"args":{"0":["bigint"],"1":["enum","DocumentType"],"2":["bigint"]},"result":true});