@solibo/solibo-sdk 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.
@@ -1,3 +1,3 @@
1
1
  // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
2
  export type { SectionApiFacade } from '../client.mjs';
3
- export { CompanySectionStatusOverview, CreateOrganizationOwner, CreatePersonOwner, CreateSectionCommand, CreateStatusCommand, DeleteSectionCommand, DeleteStatusCommand, FractionType, MassDeleteFractionsCommand, MassUpdateFractionsCommand, MassUpdateSection, MassUpdateSectionCommand, MergeSectionsCommand, OwnerChangeSectionCommand, OwnershipChange, OwnershipChangeRole, OwnershipChangeSection, PagedListCompanySectionStatusOverview, PagedListOwnershipChange, PagedListSection, PagedListTenantRegistration, ResidentRole, ResidentRoleHistory, Section, SectionAccountFraction, SectionApi, SectionDeletionReason, SectionFractionSectionFractionMapValue, SectionState, SectionStatus, SectionStatusOperation, SectionStatusSectionStatusMapValue, SectionTagCommand, SplitSectionCommand, TenantRegistration, TripletexAccountFractionsResponse, UpdateNoteCommand, UpdateSectionCommand, UpdateSectionFractionCommand, UpdateStatusCommand, createOwnershipChangeOperation, createSectionOperation, createSectionStatusOperation, createSubSectionOperation, createTagOnSectionOperation, deleteOwnershipChangeOperation, deleteSectionOperation, deleteSectionStatusOperation, deleteTagOnSectionOperation, exportSectionAssetsOperation, indexCompanyOwnershipChangesBySectionOperation, indexCompanyOwnershipChangesOperation, indexLoansByFractionOperation, indexOwnershipChangesOperation, indexSectionFractionsOperation, indexSectionOperation, indexSectionStatusOperation, indexSectionTenantsOperation, indexSectionsOperation, indexTagsOnSectionOperation, indexTenantRegistrationsOperation, listSectionAttendanceasOperation, massDeleteSectionFractionsOperation, massUpdateSectionFractionsOperation, massUpdateSectionOperation, mergeSectionsOperation, multiCreateTagOnSectionOperation, sectionsApi, showSectionOperation, showSectionResidentHistoryOperation, showSectionStatusOperation, splitSectionOperation, updateOwnershipChangeOperation, updateSectionNotatOperation, updateSectionOperation, updateSectionStatusOperation } from '../solibo-sdk-sdk.mjs';
3
+ export { CompanySectionStatusOverview, CreateOrganizationOwner, CreatePersonOwner, CreateSectionCommand, CreateStatusCommand, DeleteSectionCommand, DeleteStatusCommand, FractionType, MassDeleteFractionsCommand, MassUpdateFractionsCommand, MassUpdateSection, MassUpdateSectionCommand, MergeSectionsCommand, OwnerChangeSectionCommand, OwnershipChange, OwnershipChangeRole, OwnershipChangeSection, PagedListCompanySectionStatusOverview, PagedListOwnershipChange, PagedListSection, PagedListTenantRegistration, ResidentRole, ResidentRoleHistory, Section, SectionAccountFraction, SectionApi, SectionDeletionReason, SectionFractionSectionFractionMapValue, SectionState, SectionStatus, SectionStatusOperation, SectionStatusSectionStatusMapValue, SectionTagCommand, SplitSectionCommand, TenantRegistration, TripletexAccountFractionsResponse, UpdateNoteCommand, UpdateSectionCommand, UpdateSectionFractionCommand, UpdateStatusCommand, createOwnershipChangeOperation, createSectionOperation, createSectionStatusOperation, createSubSectionOperation, createTagOnSectionOperation, deleteOwnershipChangeOperation, deleteSectionOperation, deleteSectionStatusOperation, deleteTagOnSectionOperation, exportSectionAssetsOperation, importSectionsForOnboardingCompanyOperation, indexCompanyOwnershipChangesBySectionOperation, indexCompanyOwnershipChangesOperation, indexLoansByFractionOperation, indexOwnershipChangesOperation, indexSectionFractionsOperation, indexSectionOperation, indexSectionStatusOperation, indexSectionTenantsOperation, indexSectionsOperation, indexTagsOnSectionOperation, indexTenantRegistrationsOperation, listSectionAttendanceasOperation, massDeleteSectionFractionsOperation, massUpdateSectionFractionsOperation, massUpdateSectionOperation, mergeSectionsOperation, multiCreateTagOnSectionOperation, sectionsApi, showSectionOperation, showSectionResidentHistoryOperation, showSectionStatusOperation, splitSectionOperation, updateOwnershipChangeOperation, updateSectionNotatOperation, updateSectionOperation, updateSectionStatusOperation } from '../solibo-sdk-sdk.mjs';
@@ -190,6 +190,21 @@ const DESCRIPTORS = {
190
190
  "body": null,
191
191
  "bodyType": null
192
192
  },
193
+ "importSectionsForOnboardingCompany": {
194
+ "args": [
195
+ {
196
+ "name": "companyId",
197
+ "type": "bigint"
198
+ },
199
+ {
200
+ "name": "body",
201
+ "type": "string"
202
+ }
203
+ ],
204
+ "body": "body",
205
+ "bodyType": "string",
206
+ "voidResult": true
207
+ },
193
208
  "indexCompanyOwnershipChanges": {
194
209
  "args": [
195
210
  {
package/client.d.mts CHANGED
@@ -3583,6 +3583,10 @@ export interface SectionApiFacade {
3583
3583
  exportSectionAssets(params: {
3584
3584
  companyId: Id;
3585
3585
  }): Promise<SdkResult<Base64ByteArray>>;
3586
+ importSectionsForOnboardingCompany(params: {
3587
+ companyId: Id;
3588
+ input: string;
3589
+ }): Promise<SdkResult<void>>;
3586
3590
  indexCompanyOwnershipChanges<F extends string | null | undefined = undefined>(params: {
3587
3591
  companyId: Id;
3588
3592
  changeAtFrom?: Id | null | undefined;
@@ -3802,6 +3806,10 @@ export interface SectionApiOperations {
3802
3806
  exportSectionAssets(client: SoliboOperationClient, params: {
3803
3807
  companyId: Id;
3804
3808
  }): Promise<SdkResult<Base64ByteArray>>;
3809
+ importSectionsForOnboardingCompany(client: SoliboOperationClient, params: {
3810
+ companyId: Id;
3811
+ input: string;
3812
+ }): Promise<SdkResult<void>>;
3805
3813
  indexCompanyOwnershipChanges<F extends string | null | undefined = undefined>(client: SoliboOperationClient, params: {
3806
3814
  companyId: Id;
3807
3815
  changeAtFrom?: Id | null | undefined;
@@ -1,6 +1,6 @@
1
1
  // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
2
  import type { SectionApiOperations } from '../client.mjs';
3
- export { CompanySectionStatusOverview, CreateOrganizationOwner, CreatePersonOwner, CreateSectionCommand, CreateStatusCommand, DeleteSectionCommand, DeleteStatusCommand, FractionType, MassDeleteFractionsCommand, MassUpdateFractionsCommand, MassUpdateSection, MassUpdateSectionCommand, MergeSectionsCommand, OwnerChangeSectionCommand, OwnershipChange, OwnershipChangeRole, OwnershipChangeSection, PagedListCompanySectionStatusOverview, PagedListOwnershipChange, PagedListSection, PagedListTenantRegistration, ResidentRole, ResidentRoleHistory, Section, SectionAccountFraction, SectionApi, SectionDeletionReason, SectionFractionSectionFractionMapValue, SectionState, SectionStatus, SectionStatusOperation, SectionStatusSectionStatusMapValue, SectionTagCommand, SplitSectionCommand, TenantRegistration, TripletexAccountFractionsResponse, UpdateNoteCommand, UpdateSectionCommand, UpdateSectionFractionCommand, UpdateStatusCommand, createOwnershipChangeOperation, createSectionOperation, createSectionStatusOperation, createSubSectionOperation, createTagOnSectionOperation, deleteOwnershipChangeOperation, deleteSectionOperation, deleteSectionStatusOperation, deleteTagOnSectionOperation, exportSectionAssetsOperation, indexCompanyOwnershipChangesBySectionOperation, indexCompanyOwnershipChangesOperation, indexLoansByFractionOperation, indexOwnershipChangesOperation, indexSectionFractionsOperation, indexSectionOperation, indexSectionStatusOperation, indexSectionTenantsOperation, indexSectionsOperation, indexTagsOnSectionOperation, indexTenantRegistrationsOperation, listSectionAttendanceasOperation, massDeleteSectionFractionsOperation, massUpdateSectionFractionsOperation, massUpdateSectionOperation, mergeSectionsOperation, multiCreateTagOnSectionOperation, sectionsApi, showSectionOperation, showSectionResidentHistoryOperation, showSectionStatusOperation, splitSectionOperation, updateOwnershipChangeOperation, updateSectionNotatOperation, updateSectionOperation, updateSectionStatusOperation } from '../solibo-sdk-sdk.mjs';
3
+ export { CompanySectionStatusOverview, CreateOrganizationOwner, CreatePersonOwner, CreateSectionCommand, CreateStatusCommand, DeleteSectionCommand, DeleteStatusCommand, FractionType, MassDeleteFractionsCommand, MassUpdateFractionsCommand, MassUpdateSection, MassUpdateSectionCommand, MergeSectionsCommand, OwnerChangeSectionCommand, OwnershipChange, OwnershipChangeRole, OwnershipChangeSection, PagedListCompanySectionStatusOverview, PagedListOwnershipChange, PagedListSection, PagedListTenantRegistration, ResidentRole, ResidentRoleHistory, Section, SectionAccountFraction, SectionApi, SectionDeletionReason, SectionFractionSectionFractionMapValue, SectionState, SectionStatus, SectionStatusOperation, SectionStatusSectionStatusMapValue, SectionTagCommand, SplitSectionCommand, TenantRegistration, TripletexAccountFractionsResponse, UpdateNoteCommand, UpdateSectionCommand, UpdateSectionFractionCommand, UpdateStatusCommand, createOwnershipChangeOperation, createSectionOperation, createSectionStatusOperation, createSubSectionOperation, createTagOnSectionOperation, deleteOwnershipChangeOperation, deleteSectionOperation, deleteSectionStatusOperation, deleteTagOnSectionOperation, exportSectionAssetsOperation, importSectionsForOnboardingCompanyOperation, indexCompanyOwnershipChangesBySectionOperation, indexCompanyOwnershipChangesOperation, indexLoansByFractionOperation, indexOwnershipChangesOperation, indexSectionFractionsOperation, indexSectionOperation, indexSectionStatusOperation, indexSectionTenantsOperation, indexSectionsOperation, indexTagsOnSectionOperation, indexTenantRegistrationsOperation, listSectionAttendanceasOperation, massDeleteSectionFractionsOperation, massUpdateSectionFractionsOperation, massUpdateSectionOperation, mergeSectionsOperation, multiCreateTagOnSectionOperation, sectionsApi, showSectionOperation, showSectionResidentHistoryOperation, showSectionStatusOperation, splitSectionOperation, updateOwnershipChangeOperation, updateSectionNotatOperation, updateSectionOperation, updateSectionStatusOperation } from '../solibo-sdk-sdk.mjs';
4
4
 
5
5
  export declare const createOwnershipChange: SectionApiOperations['createOwnershipChange'];
6
6
  export declare const createSection: SectionApiOperations['createSection'];
@@ -12,6 +12,7 @@ export declare const deleteSection: SectionApiOperations['deleteSection'];
12
12
  export declare const deleteSectionStatus: SectionApiOperations['deleteSectionStatus'];
13
13
  export declare const deleteTagOnSection: SectionApiOperations['deleteTagOnSection'];
14
14
  export declare const exportSectionAssets: SectionApiOperations['exportSectionAssets'];
15
+ export declare const importSectionsForOnboardingCompany: SectionApiOperations['importSectionsForOnboardingCompany'];
15
16
  export declare const indexCompanyOwnershipChanges: SectionApiOperations['indexCompanyOwnershipChanges'];
16
17
  export declare const indexCompanyOwnershipChangesBySection: SectionApiOperations['indexCompanyOwnershipChangesBySection'];
17
18
  export declare const indexLoansByFraction: SectionApiOperations['indexLoansByFraction'];
@@ -14,6 +14,7 @@ import {
14
14
  deleteSectionStatusOperation,
15
15
  deleteTagOnSectionOperation,
16
16
  exportSectionAssetsOperation,
17
+ importSectionsForOnboardingCompanyOperation,
17
18
  indexCompanyOwnershipChangesOperation,
18
19
  indexCompanyOwnershipChangesBySectionOperation,
19
20
  indexLoansByFractionOperation,
@@ -84,6 +85,10 @@ export function exportSectionAssets(client, params) {
84
85
  return invokeOperation(client, "sections", exportSectionAssetsOperation, {"method":"exportSectionAssets","args":[{"name":"companyId","type":"bigint"}],"body":null,"bodyType":null}, params);
85
86
  }
86
87
 
88
+ export function importSectionsForOnboardingCompany(client, params) {
89
+ return invokeOperation(client, "sections", importSectionsForOnboardingCompanyOperation, {"method":"importSectionsForOnboardingCompany","args":[{"name":"companyId","type":"bigint"},{"name":"body","type":"string"}],"body":"body","bodyType":"string","voidResult":true}, params);
90
+ }
91
+
87
92
  export function indexCompanyOwnershipChanges(client, params) {
88
93
  return invokeOperation(client, "sections", indexCompanyOwnershipChangesOperation, {"method":"indexCompanyOwnershipChanges","args":[{"name":"companyId","type":"bigint"},{"name":"changeAtFrom","type":"bigint | null | undefined"},{"name":"changeAtTo","type":"bigint | null | undefined"},{"name":"fields","type":"string | null | undefined"},{"name":"pageToken","type":"string | null | undefined"},{"name":"autoPaginate","type":"boolean | null | undefined"},{"name":"count","type":"number | null | undefined"}],"body":null,"bodyType":null,"requiredProjectionFields":["changeAt","id","roles"]}, params);
89
94
  }
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.53.4",
26
+ "version": "1.53.5",
27
27
  "name": "@solibo/solibo-sdk",
28
28
  "dependencies": {
29
29
  "@js-joda/core": "6.1.0",
@@ -2749,7 +2749,7 @@ function ClauseData() {
2749
2749
  this.indexInSegment_1 = -1;
2750
2750
  };
2751
2751
  initMetadataForClass13($, "ClauseData", VOID18, VOID18, VOID18, [1]);
2752
- protoOf17($).tryRegisterAsWaiter_wnojok_k$ = function(select) {
2752
+ protoOf17($).tryRegisterAsWaiter_kpp8yw_k$ = function(select) {
2753
2753
  this.regFunc_1(this.clauseObject_1, select, this.param_1);
2754
2754
  return select.internalResult_1 === get_NO_RESULT();
2755
2755
  };
@@ -3033,7 +3033,7 @@ function SelectImplementation() {
3033
3033
  this.indexInSegment_1 = -1;
3034
3034
  this.internalResult_1 = get_NO_RESULT();
3035
3035
  };
3036
- initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), SelectInstance(), Waiter2()], [0, 2]);
3036
+ initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), Waiter2(), SelectInstance()], [0, 2]);
3037
3037
  protoOf17($).get_context_h02k06_k$ = function() {
3038
3038
  return this.context_1;
3039
3039
  };
@@ -3044,7 +3044,7 @@ function SelectImplementation() {
3044
3044
  return tmp.doResume_5yljmg_k$();
3045
3045
  };
3046
3046
  protoOf17($).invoke_43nm97_k$ = function(_this__u8e3s4, block) {
3047
- 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$()));
3047
+ 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$()));
3048
3048
  };
3049
3049
  protoOf17($).register_4szh8u_k$ = function(_this__u8e3s4, reregister) {
3050
3050
  if (this.state_1.kotlinx$atomicfu$value instanceof ClauseData())
@@ -3052,7 +3052,7 @@ function SelectImplementation() {
3052
3052
  if (!reregister) {
3053
3053
  checkClauseObject(this, _this__u8e3s4.clauseObject_1);
3054
3054
  }
3055
- if (_this__u8e3s4.tryRegisterAsWaiter_wnojok_k$(this)) {
3055
+ if (_this__u8e3s4.tryRegisterAsWaiter_kpp8yw_k$(this)) {
3056
3056
  if (!reregister) {
3057
3057
  ensureNotNull2(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
3058
3058
  }
@@ -3064,7 +3064,7 @@ function SelectImplementation() {
3064
3064
  this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
3065
3065
  }
3066
3066
  };
3067
- protoOf17($).register$default_bbb1nn_k$ = function(_this__u8e3s4, reregister, $super) {
3067
+ protoOf17($).register$default_acgh9r_k$ = function(_this__u8e3s4, reregister, $super) {
3068
3068
  reregister = reregister === VOID18 ? false : reregister;
3069
3069
  var tmp;
3070
3070
  if ($super === VOID18) {
@@ -2045,8 +2045,8 @@ function HomeApiBase$clientConfigurator$lambda$lambda_13(this$0, $platformName)
2045
2045
  }
2046
2046
  accept($this$defaultRequest, Application_getInstance().Json_1);
2047
2047
  header($this$defaultRequest, "Accept-Language", buildAcceptLanguage(this$0.userLanguage));
2048
- header($this$defaultRequest, "User-Agent", "SoliboSDK/1.53.4 (" + $platformName + ")");
2049
- header($this$defaultRequest, "X-Solibo-SDK-Version", "1.53.4");
2048
+ header($this$defaultRequest, "User-Agent", "SoliboSDK/1.53.5 (" + $platformName + ")");
2049
+ header($this$defaultRequest, "X-Solibo-SDK-Version", "1.53.5");
2050
2050
  return Unit_instance2;
2051
2051
  };
2052
2052
  }
@@ -14,6 +14,7 @@ export declare class SectionApi extends ApiClient.$metadata$.constructor {
14
14
  deleteSectionStatus(companyId: bigint, sectionId: bigint, statusType?: Nullable<SectionState>, deleteStatusCommand?: Nullable<DeleteStatusCommand>): Promise<HttpResponse<void>>;
15
15
  deleteTagOnSection(companyId: bigint, sectionId: bigint, sectionTagCommand: SectionTagCommand): Promise<HttpResponse<void>>;
16
16
  exportSectionAssets(companyId: bigint): Promise<HttpResponse<Base64ByteArray>>;
17
+ importSectionsForOnboardingCompany(companyId: bigint, body: string): Promise<HttpResponse<void>>;
17
18
  indexCompanyOwnershipChanges(companyId: bigint, changeAtFrom?: Nullable<bigint>, changeAtTo?: Nullable<bigint>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListOwnershipChange>>;
18
19
  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>>;
19
20
  indexLoansByFraction(companyId: bigint, sectionId: bigint, at?: Nullable<bigint>, fields?: Nullable<string>): Promise<HttpResponse<TripletexAccountFractionsResponse>>;
@@ -30,6 +30,7 @@ import { deleteSectionOperation2omhjoqbuo15u as deleteSectionOperation } from '.
30
30
  import { deleteSectionStatusOperation1guc4s4fyx6mp as deleteSectionStatusOperation } from '../operations/DeleteSectionStatusOperation.mjs';
31
31
  import { deleteTagOnSectionOperation1drtp5stmfk4p as deleteTagOnSectionOperation } from '../operations/DeleteTagOnSectionOperation.mjs';
32
32
  import { exportSectionAssetsOperation154qi54ydv2qs as exportSectionAssetsOperation } from '../operations/ExportSectionAssetsOperation.mjs';
33
+ import { importSectionsForOnboardingCompanyOperation2y0s67pvbwmvi as importSectionsForOnboardingCompanyOperation } from '../operations/ImportSectionsForOnboardingCompanyOperation.mjs';
33
34
  import { indexCompanyOwnershipChangesOperation1rgn5i8wybf59 as indexCompanyOwnershipChangesOperation } from '../operations/IndexCompanyOwnershipChangesOperation.mjs';
34
35
  import { indexCompanyOwnershipChangesBySectionOperation26k7wrfqueq2w as indexCompanyOwnershipChangesBySectionOperation } from '../operations/IndexCompanyOwnershipChangesBySectionOperation.mjs';
35
36
  import { indexLoansByFractionOperationxzibxze924gl as indexLoansByFractionOperation } from '../operations/IndexLoansByFractionOperation.mjs';
@@ -726,6 +727,68 @@ function $exportSectionAssets$suspendBridgeCOROUTINE$() {
726
727
  }
727
728
  return $exportSectionAssets$suspendBridgeCOROUTINE$Class;
728
729
  }
730
+ var $importSectionsForOnboardingCompany$suspendBridgeCOROUTINE$Class;
731
+ function $importSectionsForOnboardingCompany$suspendBridgeCOROUTINE$() {
732
+ if ($importSectionsForOnboardingCompany$suspendBridgeCOROUTINE$Class === VOID) {
733
+ initMetadataForCoroutine($, CoroutineImpl());
734
+ function $(_this__u8e3s4, companyId, body, resultContinuation) {
735
+ CoroutineImpl().call(this, resultContinuation);
736
+ this._this__u8e3s4__1 = _this__u8e3s4;
737
+ this.companyId_1 = companyId;
738
+ this.body_1 = body;
739
+ }
740
+ protoOf($).doResume_5yljmg_k$ = function () {
741
+ var suspendResult = this.result_1;
742
+ $sm: do
743
+ try {
744
+ var tmp = this.state_1;
745
+ switch (tmp) {
746
+ case 0:
747
+ this.exceptionState_1 = 4;
748
+ if (this._this__u8e3s4__1.importSectionsForOnboardingCompany === protoOf(SectionApi()).importSectionsForOnboardingCompany) {
749
+ this.state_1 = 2;
750
+ suspendResult = this._this__u8e3s4__1.importSectionsForOnboardingCompany_y7b1gi_k$(this.companyId_1, this.body_1, this);
751
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
752
+ return suspendResult;
753
+ }
754
+ continue $sm;
755
+ } else {
756
+ this.state_1 = 1;
757
+ suspendResult = await_0(this._this__u8e3s4__1.importSectionsForOnboardingCompany(this.companyId_1, this.body_1), this);
758
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
759
+ return suspendResult;
760
+ }
761
+ continue $sm;
762
+ }
763
+
764
+ case 1:
765
+ this.WHEN_RESULT0__1 = suspendResult;
766
+ this.state_1 = 3;
767
+ continue $sm;
768
+ case 2:
769
+ this.WHEN_RESULT0__1 = suspendResult;
770
+ this.state_1 = 3;
771
+ continue $sm;
772
+ case 3:
773
+ return this.WHEN_RESULT0__1;
774
+ case 4:
775
+ throw this.exception_1;
776
+ }
777
+ } catch ($p) {
778
+ var e = $p;
779
+ if (this.exceptionState_1 === 4) {
780
+ throw e;
781
+ } else {
782
+ this.state_1 = this.exceptionState_1;
783
+ this.exception_1 = e;
784
+ }
785
+ }
786
+ while (true);
787
+ };
788
+ $importSectionsForOnboardingCompany$suspendBridgeCOROUTINE$Class = $;
789
+ }
790
+ return $importSectionsForOnboardingCompany$suspendBridgeCOROUTINE$Class;
791
+ }
729
792
  var $indexCompanyOwnershipChanges$suspendBridgeCOROUTINE$Class;
730
793
  function $indexCompanyOwnershipChanges$suspendBridgeCOROUTINE$() {
731
794
  if ($indexCompanyOwnershipChanges$suspendBridgeCOROUTINE$Class === VOID) {
@@ -2345,7 +2408,7 @@ function $updateSectionStatus$suspendBridgeCOROUTINE$() {
2345
2408
  var SectionApiClass;
2346
2409
  function SectionApi() {
2347
2410
  if (SectionApiClass === VOID) {
2348
- initMetadataForClass($, 'SectionApi', create, ApiClient(), VOID, [3, 4, 1, 7, 8, 6, 5, 2]);
2411
+ initMetadataForClass($, 'SectionApi', create, ApiClient(), VOID, [3, 4, 1, 2, 7, 8, 6, 5]);
2349
2412
  protoOf($).createOwnershipChange_gpaym3_k$ = function (companyId, sectionId, ownerChangeSectionCommand, $completion) {
2350
2413
  return createOwnershipChangeOperation(this, companyId, sectionId, ownerChangeSectionCommand, $completion);
2351
2414
  };
@@ -2513,6 +2576,21 @@ function SectionApi() {
2513
2576
  tmp.exception_1 = null;
2514
2577
  return tmp.doResume_5yljmg_k$();
2515
2578
  };
2579
+ protoOf($).importSectionsForOnboardingCompany_y7b1gi_k$ = function (companyId, body, $completion) {
2580
+ return importSectionsForOnboardingCompanyOperation(this, companyId, body, $completion);
2581
+ };
2582
+ protoOf($).importSectionsForOnboardingCompany = function (companyId, body) {
2583
+ var tmp = this;
2584
+ return promisify(function ($completion) {
2585
+ return tmp.importSectionsForOnboardingCompany_y7b1gi_k$(companyId, body, $completion);
2586
+ });
2587
+ };
2588
+ protoOf($).importSectionsForOnboardingCompany$suspendBridge_g1fuhr_k$ = function (companyId, body, $completion) {
2589
+ var tmp = new ($importSectionsForOnboardingCompany$suspendBridgeCOROUTINE$())(this, companyId, body, $completion);
2590
+ tmp.result_1 = Unit_instance;
2591
+ tmp.exception_1 = null;
2592
+ return tmp.doResume_5yljmg_k$();
2593
+ };
2516
2594
  protoOf($).indexCompanyOwnershipChanges_4a5gzx_k$ = function (companyId, changeAtFrom, changeAtTo, fields, pageToken, autoPaginate, count, $completion) {
2517
2595
  return indexCompanyOwnershipChangesOperation(this, companyId, changeAtFrom, changeAtTo, fields, pageToken, autoPaginate, count, $completion);
2518
2596
  };
@@ -3030,6 +3108,7 @@ function SectionApi() {
3030
3108
  __soliboWrapMethod($, "deleteSectionStatus", {"args":{"0":["bigint"],"1":["bigint"],"2":["enum","SectionState"],"3":["model","DeleteStatusCommand"]},"result":true});
3031
3109
  __soliboWrapMethod($, "deleteTagOnSection", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","SectionTagCommand"]},"result":true});
3032
3110
  __soliboWrapMethod($, "exportSectionAssets", {"args":{"0":["bigint"]},"result":true});
3111
+ __soliboWrapMethod($, "importSectionsForOnboardingCompany", {"args":{"0":["bigint"]},"result":true});
3033
3112
  __soliboWrapMethod($, "indexCompanyOwnershipChanges", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"]},"result":true});
3034
3113
  __soliboWrapMethod($, "indexCompanyOwnershipChangesBySection", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"],"3":["bigint"]},"result":true});
3035
3114
  __soliboWrapMethod($, "indexLoansByFraction", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"]},"result":true});
@@ -0,0 +1,3 @@
1
+ type Nullable<T> = T | null | undefined
2
+ declare function KtSingleton<T>(): T & (abstract new() => any);
3
+ export declare function importSectionsForOnboardingCompanyOperation(client: ApiClient, companyId: bigint, body: string): Promise<HttpResponse<void>>;
@@ -0,0 +1,14 @@
1
+ import { importSectionsForOnboardingCompanyOperationtkjc2qcchbs4 as importSectionsForOnboardingCompanyOperation } from './ImportSectionsForOnboardingCompanyOperation.mjs';
2
+ import { __soliboRegisterLookup, __soliboWrapFunction } from '../../../../../../../../../solibo-boundary.mjs';
3
+ //region block: imports
4
+ //endregion
5
+ //region block: pre-declaration
6
+ //endregion
7
+ //region block: exports
8
+ /* Solibo boundary patches */
9
+ var importSectionsForOnboardingCompanyOperation_solibo = __soliboWrapFunction(importSectionsForOnboardingCompanyOperation, {"result":true,"args":{"1":["bigint"]}});
10
+ export {
11
+ importSectionsForOnboardingCompanyOperation_solibo as importSectionsForOnboardingCompanyOperation,
12
+ };
13
+ //endregion
14
+
@@ -0,0 +1,114 @@
1
+ import { promisify1z0ncraq1ipzh as promisify } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
2
+ import {
3
+ Unit_instance3kz1zqli6gr1r as Unit_instance,
4
+ Unitkvevlwgzwiuc as Unit,
5
+ } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
6
+ import { CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs';
7
+ import { listOf1jh22dvmctj1r as listOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
8
+ import { LinkedHashMap_init_$Create$s27yccuovnls as LinkedHashMap_init_$Create$ } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs';
9
+ import { RequestMethod_POST_getInstance29fppyvplo8n0 as RequestMethod_POST_getInstance } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/RequestMethod.mjs';
10
+ import { replace3le3ie7l9k8aq as replace } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs';
11
+ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
12
+ import { RequestConfig10esd7ix0dbbm as RequestConfig } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/RequestConfig.mjs';
13
+ import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
14
+ import { getKClass3t8tygqu4lcxf as getKClass } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs';
15
+ import { arrayOf1akklvh2at202 as arrayOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
16
+ import { createKType31ecntyyaay3k as createKType } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs';
17
+ import { TypeInfo2nbxsuf4v8os2 as TypeInfo } from '../../../../../../../../../ktor-ktor-utils/io/ktor/util/reflect/Type.mjs';
18
+ import {
19
+ TypedBodyProvider2ertybblisp23 as TypedBodyProvider,
20
+ HttpResponse53ki0v36vqo7 as HttpResponse,
21
+ } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/HttpResponse.mjs';
22
+ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
23
+ import { initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
24
+ //region block: imports
25
+ //endregion
26
+ //region block: pre-declaration
27
+ //endregion
28
+ function importSectionsForOnboardingCompanyOperation(client, companyId, body) {
29
+ return promisify(function ($completion) {
30
+ return importSectionsForOnboardingCompanyOperation_0(client, companyId, body, $completion);
31
+ });
32
+ }
33
+ function importSectionsForOnboardingCompanyOperation_0(client, companyId, body, $completion) {
34
+ var tmp = new ($importSectionsForOnboardingCompanyOperationCOROUTINE$())(client, companyId, body, $completion);
35
+ tmp.result_1 = Unit_instance;
36
+ tmp.exception_1 = null;
37
+ return tmp.doResume_5yljmg_k$();
38
+ }
39
+ var $importSectionsForOnboardingCompanyOperationCOROUTINE$Class;
40
+ function $importSectionsForOnboardingCompanyOperationCOROUTINE$() {
41
+ if ($importSectionsForOnboardingCompanyOperationCOROUTINE$Class === VOID) {
42
+ initMetadataForCoroutine($, CoroutineImpl());
43
+ function $(client, companyId, body, resultContinuation) {
44
+ CoroutineImpl().call(this, resultContinuation);
45
+ this.client_1 = client;
46
+ this.companyId_1 = companyId;
47
+ this.body_1 = body;
48
+ }
49
+ protoOf($).doResume_5yljmg_k$ = function () {
50
+ var suspendResult = this.result_1;
51
+ $sm: do
52
+ try {
53
+ var tmp = this.state_1;
54
+ switch (tmp) {
55
+ case 0:
56
+ this.exceptionState_1 = 2;
57
+ var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
58
+ var localVariableBody = this.body_1;
59
+ var localVariableQuery = LinkedHashMap_init_$Create$();
60
+ var localVariableHeaders = LinkedHashMap_init_$Create$();
61
+ var tmp0_method = RequestMethod_POST_getInstance();
62
+ var tmp1_path = replace('/companies/{companyId}/sections/import', '{companyId}', this.companyId_1.toString());
63
+ var localVariableConfig = new (RequestConfig())(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
64
+ this.state_1 = 1;
65
+ suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
66
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
67
+ return suspendResult;
68
+ }
69
+
70
+ continue $sm;
71
+ case 1:
72
+ var this_0 = suspendResult;
73
+ var tmp_0 = getKClass(Unit());
74
+ var tmp_1 = null instanceof Unit();
75
+ var tmp_2;
76
+ try {
77
+ tmp_2 = createKType(getKClass(Unit()), arrayOf([]), false);
78
+ } catch ($p) {
79
+ var tmp_3;
80
+ if ($p instanceof Error) {
81
+ var _unused_var__etf5q3 = $p;
82
+ tmp_3 = null;
83
+ } else {
84
+ throw $p;
85
+ }
86
+ tmp_2 = tmp_3;
87
+ }
88
+
89
+ return new (HttpResponse())(this_0, new (TypedBodyProvider())(new (TypeInfo())(tmp_0, tmp_1, tmp_2)));
90
+ case 2:
91
+ throw this.exception_1;
92
+ }
93
+ } catch ($p_0) {
94
+ var e = $p_0;
95
+ if (this.exceptionState_1 === 2) {
96
+ throw e;
97
+ } else {
98
+ this.state_1 = this.exceptionState_1;
99
+ this.exception_1 = e;
100
+ }
101
+ }
102
+ while (true);
103
+ };
104
+ $importSectionsForOnboardingCompanyOperationCOROUTINE$Class = $;
105
+ }
106
+ return $importSectionsForOnboardingCompanyOperationCOROUTINE$Class;
107
+ }
108
+ //region block: exports
109
+ export {
110
+ importSectionsForOnboardingCompanyOperation as importSectionsForOnboardingCompanyOperationtkjc2qcchbs4,
111
+ importSectionsForOnboardingCompanyOperation_0 as importSectionsForOnboardingCompanyOperation2y0s67pvbwmvi,
112
+ };
113
+ //endregion
114
+
@@ -13,6 +13,7 @@ export * from './solibo-sdk-sdk-api-section/no/solibo/oss/sdk/api/gen/client/ope
13
13
  export * from './solibo-sdk-sdk-api-section/no/solibo/oss/sdk/api/gen/client/operations/DeleteSectionStatusOperation.export.mjs';
14
14
  export * from './solibo-sdk-sdk-api-section/no/solibo/oss/sdk/api/gen/client/operations/DeleteTagOnSectionOperation.export.mjs';
15
15
  export * from './solibo-sdk-sdk-api-section/no/solibo/oss/sdk/api/gen/client/operations/ExportSectionAssetsOperation.export.mjs';
16
+ export * from './solibo-sdk-sdk-api-section/no/solibo/oss/sdk/api/gen/client/operations/ImportSectionsForOnboardingCompanyOperation.export.mjs';
16
17
  export * from './solibo-sdk-sdk-api-section/no/solibo/oss/sdk/api/gen/client/operations/IndexCompanyOwnershipChangesBySectionOperation.export.mjs';
17
18
  export * from './solibo-sdk-sdk-api-section/no/solibo/oss/sdk/api/gen/client/operations/IndexCompanyOwnershipChangesOperation.export.mjs';
18
19
  export * from './solibo-sdk-sdk-api-section/no/solibo/oss/sdk/api/gen/client/operations/IndexLoansByFractionOperation.export.mjs';
@@ -28,7 +28,7 @@ function SoliboOpenTelemetry() {
28
28
  }
29
29
  protoOf($).tracer_4zr7of_k$ = function () {
30
30
  var tmp0_elvis_lhs = this.installed_1;
31
- 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');
31
+ 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');
32
32
  };
33
33
  SoliboOpenTelemetryClass = $;
34
34
  }
@@ -21767,6 +21767,7 @@ export declare class SectionApi extends ApiClient.$metadata$.constructor {
21767
21767
  deleteSectionStatus(companyId: bigint, sectionId: bigint, statusType?: SectionState | null | undefined, deleteStatusCommand?: DeleteStatusCommand | null | undefined): Promise<HttpResponse<void>>;
21768
21768
  deleteTagOnSection(companyId: bigint, sectionId: bigint, sectionTagCommand: SectionTagCommand): Promise<HttpResponse<void>>;
21769
21769
  exportSectionAssets(companyId: bigint): Promise<HttpResponse<Base64ByteArray>>;
21770
+ importSectionsForOnboardingCompany(companyId: bigint, body: string): Promise<HttpResponse<void>>;
21770
21771
  indexCompanyOwnershipChanges(companyId: bigint, changeAtFrom?: bigint | null | undefined, changeAtTo?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListOwnershipChange>>;
21771
21772
  indexCompanyOwnershipChangesBySection(companyId: bigint, sectionId: bigint, changeAtFrom?: bigint | null | undefined, changeAtTo?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListOwnershipChange>>;
21772
21773
  indexLoansByFraction(companyId: bigint, sectionId: bigint, at?: bigint | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<TripletexAccountFractionsResponse>>;
@@ -21809,6 +21810,7 @@ export declare function deleteSectionOperation(client: ApiClient, companyId: big
21809
21810
  export declare function deleteSectionStatusOperation(client: ApiClient, companyId: bigint, sectionId: bigint, statusType?: SectionState | null | undefined, deleteStatusCommand?: DeleteStatusCommand | null | undefined): Promise<HttpResponse<void>>;
21810
21811
  export declare function deleteTagOnSectionOperation(client: ApiClient, companyId: bigint, sectionId: bigint, sectionTagCommand: SectionTagCommand): Promise<HttpResponse<void>>;
21811
21812
  export declare function exportSectionAssetsOperation(client: ApiClient, companyId: bigint): Promise<HttpResponse<Base64ByteArray>>;
21813
+ export declare function importSectionsForOnboardingCompanyOperation(client: ApiClient, companyId: bigint, body: string): Promise<HttpResponse<void>>;
21812
21814
  export declare function indexCompanyOwnershipChangesBySectionOperation(client: ApiClient, companyId: bigint, sectionId: bigint, changeAtFrom?: bigint | null | undefined, changeAtTo?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListOwnershipChange>>;
21813
21815
  export declare function indexCompanyOwnershipChangesOperation(client: ApiClient, companyId: bigint, changeAtFrom?: bigint | null | undefined, changeAtTo?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListOwnershipChange>>;
21814
21816
  export declare function indexLoansByFractionOperation(client: ApiClient, companyId: bigint, sectionId: bigint, at?: bigint | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<TripletexAccountFractionsResponse>>;