@solibo/home-api 1.53.4 → 1.53.5

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/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "directory": "sdk/home-api"
18
18
  },
19
19
  "main": "solibo-sdk-sdk-home-api.mjs",
20
- "version": "1.53.4",
20
+ "version": "1.53.5",
21
21
  "name": "@solibo/home-api",
22
22
  "dependencies": {
23
23
  "ws": "8.21.3",
@@ -117,6 +117,7 @@ initMetadataForCoroutine($deleteSection$suspendBridgeCOROUTINE$, CoroutineImpl);
117
117
  initMetadataForCoroutine($deleteSectionStatus$suspendBridgeCOROUTINE$, CoroutineImpl);
118
118
  initMetadataForCoroutine($deleteTagOnSection$suspendBridgeCOROUTINE$, CoroutineImpl);
119
119
  initMetadataForCoroutine($exportSectionAssets$suspendBridgeCOROUTINE$, CoroutineImpl);
120
+ initMetadataForCoroutine($importSectionsForOnboardingCompany$suspendBridgeCOROUTINE$, CoroutineImpl);
120
121
  initMetadataForCoroutine($indexCompanyOwnershipChanges$suspendBridgeCOROUTINE$, CoroutineImpl);
121
122
  initMetadataForCoroutine($indexCompanyOwnershipChangesBySection$suspendBridgeCOROUTINE$, CoroutineImpl);
122
123
  initMetadataForCoroutine($indexLoansByFraction$suspendBridgeCOROUTINE$, CoroutineImpl);
@@ -142,7 +143,7 @@ initMetadataForCoroutine($updateOwnershipChange$suspendBridgeCOROUTINE$, Corouti
142
143
  initMetadataForCoroutine($updateSection$suspendBridgeCOROUTINE$, CoroutineImpl);
143
144
  initMetadataForCoroutine($updateSectionNotat$suspendBridgeCOROUTINE$, CoroutineImpl);
144
145
  initMetadataForCoroutine($updateSectionStatus$suspendBridgeCOROUTINE$, CoroutineImpl);
145
- initMetadataForClass(SectionApi, 'SectionApi', create, ApiClient, VOID, [3, 4, 1, 7, 8, 6, 5, 2]);
146
+ initMetadataForClass(SectionApi, 'SectionApi', create, ApiClient, VOID, [3, 4, 1, 2, 7, 8, 6, 5]);
146
147
  initMetadataForCoroutine($createOwnershipChangeOperationCOROUTINE$, CoroutineImpl);
147
148
  initMetadataForCoroutine($createSectionOperationCOROUTINE$, CoroutineImpl);
148
149
  initMetadataForCoroutine($createSectionStatusOperationCOROUTINE$, CoroutineImpl);
@@ -153,6 +154,7 @@ initMetadataForCoroutine($deleteSectionOperationCOROUTINE$, CoroutineImpl);
153
154
  initMetadataForCoroutine($deleteSectionStatusOperationCOROUTINE$, CoroutineImpl);
154
155
  initMetadataForCoroutine($deleteTagOnSectionOperationCOROUTINE$, CoroutineImpl);
155
156
  initMetadataForCoroutine($exportSectionAssetsOperationCOROUTINE$, CoroutineImpl);
157
+ initMetadataForCoroutine($importSectionsForOnboardingCompanyOperationCOROUTINE$, CoroutineImpl);
156
158
  initMetadataForCoroutine($indexCompanyOwnershipChangesBySectionOperationCOROUTINE$, CoroutineImpl);
157
159
  initMetadataForCoroutine($indexCompanyOwnershipChangesOperationCOROUTINE$, CoroutineImpl);
158
160
  initMetadataForCoroutine($indexLoansByFractionOperationCOROUTINE$, CoroutineImpl);
@@ -880,6 +882,60 @@ protoOf($exportSectionAssets$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = funct
880
882
  }
881
883
  while (true);
882
884
  };
885
+ function $importSectionsForOnboardingCompany$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, body, resultContinuation) {
886
+ CoroutineImpl.call(this, resultContinuation);
887
+ this._this__u8e3s4__1 = _this__u8e3s4;
888
+ this.companyId_1 = companyId;
889
+ this.body_1 = body;
890
+ }
891
+ protoOf($importSectionsForOnboardingCompany$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
892
+ var suspendResult = this.result_1;
893
+ $sm: do
894
+ try {
895
+ var tmp = this.state_1;
896
+ switch (tmp) {
897
+ case 0:
898
+ this.exceptionState_1 = 4;
899
+ if (this._this__u8e3s4__1.importSectionsForOnboardingCompany === protoOf(SectionApi).importSectionsForOnboardingCompany) {
900
+ this.state_1 = 2;
901
+ suspendResult = this._this__u8e3s4__1.importSectionsForOnboardingCompany_y7b1gi_k$(this.companyId_1, this.body_1, this);
902
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
903
+ return suspendResult;
904
+ }
905
+ continue $sm;
906
+ } else {
907
+ this.state_1 = 1;
908
+ suspendResult = await_0(this._this__u8e3s4__1.importSectionsForOnboardingCompany(this.companyId_1, this.body_1), this);
909
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
910
+ return suspendResult;
911
+ }
912
+ continue $sm;
913
+ }
914
+
915
+ case 1:
916
+ this.WHEN_RESULT0__1 = suspendResult;
917
+ this.state_1 = 3;
918
+ continue $sm;
919
+ case 2:
920
+ this.WHEN_RESULT0__1 = suspendResult;
921
+ this.state_1 = 3;
922
+ continue $sm;
923
+ case 3:
924
+ return this.WHEN_RESULT0__1;
925
+ case 4:
926
+ throw this.exception_1;
927
+ }
928
+ } catch ($p) {
929
+ var e = $p;
930
+ if (this.exceptionState_1 === 4) {
931
+ throw e;
932
+ } else {
933
+ this.state_1 = this.exceptionState_1;
934
+ this.exception_1 = e;
935
+ }
936
+ }
937
+ while (true);
938
+ };
883
939
  function $indexCompanyOwnershipChanges$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, changeAtFrom, changeAtTo, fields, pageToken, autoPaginate, count, resultContinuation) {
884
940
  CoroutineImpl.call(this, resultContinuation);
885
941
  this._this__u8e3s4__1 = _this__u8e3s4;
@@ -2463,6 +2519,21 @@ protoOf(SectionApi).exportSectionAssets$suspendBridge_gge0f_k$ = function (compa
2463
2519
  tmp.exception_1 = null;
2464
2520
  return tmp.doResume_5yljmg_k$();
2465
2521
  };
2522
+ protoOf(SectionApi).importSectionsForOnboardingCompany_y7b1gi_k$ = function (companyId, body, $completion) {
2523
+ return importSectionsForOnboardingCompanyOperation_0(this, companyId, body, $completion);
2524
+ };
2525
+ protoOf(SectionApi).importSectionsForOnboardingCompany = function (companyId, body) {
2526
+ var tmp = this;
2527
+ return promisify(function ($completion) {
2528
+ return tmp.importSectionsForOnboardingCompany_y7b1gi_k$(companyId, body, $completion);
2529
+ });
2530
+ };
2531
+ protoOf(SectionApi).importSectionsForOnboardingCompany$suspendBridge_g1fuhr_k$ = function (companyId, body, $completion) {
2532
+ var tmp = new $importSectionsForOnboardingCompany$suspendBridgeCOROUTINE$(this, companyId, body, $completion);
2533
+ tmp.result_1 = Unit_instance;
2534
+ tmp.exception_1 = null;
2535
+ return tmp.doResume_5yljmg_k$();
2536
+ };
2466
2537
  protoOf(SectionApi).indexCompanyOwnershipChanges_4a5gzx_k$ = function (companyId, changeAtFrom, changeAtTo, fields, pageToken, autoPaginate, count, $completion) {
2467
2538
  return indexCompanyOwnershipChangesOperation_0(this, companyId, changeAtFrom, changeAtTo, fields, pageToken, autoPaginate, count, $completion);
2468
2539
  };
@@ -3726,6 +3797,78 @@ protoOf($exportSectionAssetsOperationCOROUTINE$).doResume_5yljmg_k$ = function (
3726
3797
  }
3727
3798
  while (true);
3728
3799
  };
3800
+ function importSectionsForOnboardingCompanyOperation(client, companyId, body) {
3801
+ return promisify(function ($completion) {
3802
+ return importSectionsForOnboardingCompanyOperation_0(client, companyId, body, $completion);
3803
+ });
3804
+ }
3805
+ function importSectionsForOnboardingCompanyOperation_0(client, companyId, body, $completion) {
3806
+ var tmp = new $importSectionsForOnboardingCompanyOperationCOROUTINE$(client, companyId, body, $completion);
3807
+ tmp.result_1 = Unit_instance;
3808
+ tmp.exception_1 = null;
3809
+ return tmp.doResume_5yljmg_k$();
3810
+ }
3811
+ function $importSectionsForOnboardingCompanyOperationCOROUTINE$(client, companyId, body, resultContinuation) {
3812
+ CoroutineImpl.call(this, resultContinuation);
3813
+ this.client_1 = client;
3814
+ this.companyId_1 = companyId;
3815
+ this.body_1 = body;
3816
+ }
3817
+ protoOf($importSectionsForOnboardingCompanyOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
3818
+ var suspendResult = this.result_1;
3819
+ $sm: do
3820
+ try {
3821
+ var tmp = this.state_1;
3822
+ switch (tmp) {
3823
+ case 0:
3824
+ this.exceptionState_1 = 2;
3825
+ var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
3826
+ var localVariableBody = this.body_1;
3827
+ var localVariableQuery = LinkedHashMap_init_$Create$();
3828
+ var localVariableHeaders = LinkedHashMap_init_$Create$();
3829
+ var tmp0_method = RequestMethod_POST_getInstance();
3830
+ var tmp1_path = replace('/companies/{companyId}/sections/import', '{companyId}', this.companyId_1.toString());
3831
+ var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
3832
+ this.state_1 = 1;
3833
+ suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
3834
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
3835
+ return suspendResult;
3836
+ }
3837
+
3838
+ continue $sm;
3839
+ case 1:
3840
+ var this_0 = suspendResult;
3841
+ var tmp_0 = getKClass(Unit);
3842
+ var tmp_1 = null instanceof Unit;
3843
+ var tmp_2;
3844
+ try {
3845
+ tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
3846
+ } catch ($p) {
3847
+ var tmp_3;
3848
+ if ($p instanceof Error) {
3849
+ var _unused_var__etf5q3 = $p;
3850
+ tmp_3 = null;
3851
+ } else {
3852
+ throw $p;
3853
+ }
3854
+ tmp_2 = tmp_3;
3855
+ }
3856
+
3857
+ return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
3858
+ case 2:
3859
+ throw this.exception_1;
3860
+ }
3861
+ } catch ($p_0) {
3862
+ var e = $p_0;
3863
+ if (this.exceptionState_1 === 2) {
3864
+ throw e;
3865
+ } else {
3866
+ this.state_1 = this.exceptionState_1;
3867
+ this.exception_1 = e;
3868
+ }
3869
+ }
3870
+ while (true);
3871
+ };
3729
3872
  function indexCompanyOwnershipChangesBySectionOperation(client, companyId, sectionId, changeAtFrom, changeAtTo, fields, pageToken, autoPaginate, count) {
3730
3873
  return promisify(function ($completion) {
3731
3874
  return indexCompanyOwnershipChangesBySectionOperation_0(client, companyId, sectionId, changeAtFrom, changeAtTo, fields, pageToken, autoPaginate, count, $completion);
@@ -17460,6 +17603,7 @@ export {
17460
17603
  deleteSectionStatusOperation as deleteSectionStatusOperation,
17461
17604
  deleteTagOnSectionOperation as deleteTagOnSectionOperation,
17462
17605
  exportSectionAssetsOperation as exportSectionAssetsOperation,
17606
+ importSectionsForOnboardingCompanyOperation as importSectionsForOnboardingCompanyOperation,
17463
17607
  indexCompanyOwnershipChangesBySectionOperation as indexCompanyOwnershipChangesBySectionOperation,
17464
17608
  indexCompanyOwnershipChangesOperation as indexCompanyOwnershipChangesOperation,
17465
17609
  indexLoansByFractionOperation as indexLoansByFractionOperation,
@@ -4848,8 +4848,8 @@ function HomeApiBase$clientConfigurator$lambda$lambda_13(this$0, $platformName)
4848
4848
  }
4849
4849
  accept($this$defaultRequest, Application_getInstance().Json_1);
4850
4850
  header($this$defaultRequest, 'Accept-Language', buildAcceptLanguage(this$0.userLanguage));
4851
- header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.53.4 (' + $platformName + ')');
4852
- header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.53.4');
4851
+ header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.53.5 (' + $platformName + ')');
4852
+ header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.53.5');
4853
4853
  return Unit_instance;
4854
4854
  };
4855
4855
  }
@@ -17598,7 +17598,7 @@ function SoliboOpenTelemetry() {
17598
17598
  }
17599
17599
  protoOf(SoliboOpenTelemetry).tracer_4zr7of_k$ = function () {
17600
17600
  var tmp0_elvis_lhs = this.installed_1;
17601
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.53.4');
17601
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.53.5');
17602
17602
  };
17603
17603
  var SoliboOpenTelemetry_instance;
17604
17604
  function SoliboOpenTelemetry_getInstance() {
@@ -27877,6 +27877,7 @@ export declare class SectionApi extends ApiClient.$metadata$.constructor {
27877
27877
  deleteSectionStatus(companyId: bigint, sectionId: bigint, statusType?: Nullable<SectionState>, deleteStatusCommand?: Nullable<DeleteStatusCommand>): Promise<HttpResponse<void>>;
27878
27878
  deleteTagOnSection(companyId: bigint, sectionId: bigint, sectionTagCommand: SectionTagCommand): Promise<HttpResponse<void>>;
27879
27879
  exportSectionAssets(companyId: bigint): Promise<HttpResponse<Base64ByteArray>>;
27880
+ importSectionsForOnboardingCompany(companyId: bigint, body: string): Promise<HttpResponse<void>>;
27880
27881
  indexCompanyOwnershipChanges(companyId: bigint, changeAtFrom?: Nullable<bigint>, changeAtTo?: Nullable<bigint>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListOwnershipChange>>;
27881
27882
  indexCompanyOwnershipChangesBySection(companyId: bigint, sectionId: bigint, changeAtFrom?: Nullable<bigint>, changeAtTo?: Nullable<bigint>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListOwnershipChange>>;
27882
27883
  indexLoansByFraction(companyId: bigint, sectionId: bigint, at?: Nullable<bigint>, fields?: Nullable<string>): Promise<HttpResponse<TripletexAccountFractionsResponse>>;
@@ -27919,6 +27920,7 @@ export declare function deleteSectionOperation(client: ApiClient, companyId: big
27919
27920
  export declare function deleteSectionStatusOperation(client: ApiClient, companyId: bigint, sectionId: bigint, statusType?: Nullable<SectionState>, deleteStatusCommand?: Nullable<DeleteStatusCommand>): Promise<HttpResponse<void>>;
27920
27921
  export declare function deleteTagOnSectionOperation(client: ApiClient, companyId: bigint, sectionId: bigint, sectionTagCommand: SectionTagCommand): Promise<HttpResponse<void>>;
27921
27922
  export declare function exportSectionAssetsOperation(client: ApiClient, companyId: bigint): Promise<HttpResponse<Base64ByteArray>>;
27923
+ export declare function importSectionsForOnboardingCompanyOperation(client: ApiClient, companyId: bigint, body: string): Promise<HttpResponse<void>>;
27922
27924
  export declare function indexCompanyOwnershipChangesBySectionOperation(client: ApiClient, companyId: bigint, sectionId: bigint, changeAtFrom?: Nullable<bigint>, changeAtTo?: Nullable<bigint>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListOwnershipChange>>;
27923
27925
  export declare function indexCompanyOwnershipChangesOperation(client: ApiClient, companyId: bigint, changeAtFrom?: Nullable<bigint>, changeAtTo?: Nullable<bigint>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListOwnershipChange>>;
27924
27926
  export declare function indexLoansByFractionOperation(client: ApiClient, companyId: bigint, sectionId: bigint, at?: Nullable<bigint>, fields?: Nullable<string>): Promise<HttpResponse<TripletexAccountFractionsResponse>>;