@solibo/solibo-sdk 1.57.6 → 1.57.8
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/companies.d.mts +1 -1
- package/client-core.mjs +7 -0
- package/operations/companies.d.mts +1 -1
- package/package.json +1 -1
- package/solibo-cycles/kotlinx-coroutines-core-16.mjs +5 -5
- package/solibo-cycles/solibo-sdk-sdk-core-53.mjs +2 -2
- package/solibo-sdk-sdk/no/solibo/oss/sdk/api/MockHomeApi.mjs +3 -3
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CompanyAuditor.export.d.mts +19 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CompanyAuditor.export.mjs +12 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CompanyAuditor.mjs +279 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CompanyDetailed.export.d.mts +3 -2
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CompanyDetailed.mjs +224 -192
- package/solibo-sdk-sdk-api-company.mjs +1 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
- package/solibo-sdk-sdk.d.mts +23 -1
package/client/companies.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
|
|
2
2
|
export type { CompanyApiFacade } from '../client.mjs';
|
|
3
|
-
export { BorettslagSearchCommand, BulkUpdateCompanyDetailedCommand, BulkUpdateCompanyDetailedItemCommand, BulkUpdateCompanyDetailedItemResult, BulkUpdateCompanyDetailedItemStatus, BulkUpdateCompanyDetailedResult, BulkUpdateCompanyDetailedSummary, BusinessAgreement, CompanyAddressOverview, CompanyApi, CompanyBusinessAgreement, CompanyDetailed, CompanyFeatures, CompanyLegalObligations, CompanyOrdinances, CompanyPartnerAgreement, CompanyPartnerAgreementStatus, CompanyRelation, CompanySectionOverview, ContactInformation, CreateAddress, CreateBuilding, CreateBuildingAlteration, CreateBuildingFloor, CreateCompany, CreateCompanyAddressCommand, CreateOrganization, CreateParkingSpace, CreatePerson, CreateSection, CreateStorageRoom, DraftCompany, DraftOverview, KartverketFetchState, KartverketHistoricalOwnerImportServiceResult, KartverketImportStatus, KartverketOwnershipCollectionStatus, KartverketOwnershipHolderKind, KartverketOwnershipImportCoverage, KartverketOwnershipObservation, KartverketOwnershipRegistrationEvent, KartverketOwnershipRightClassification, KartverketOwnershipRightType, KartverketOwnershipStatus, KartverketOwnershipUnit, KartverketRegisteredOwnership, KartverketResult, MassEditRolesCommand, OrganizationInformation, PagedListCompany, PagedListCompanyAddress, PagedListCompanyDetailed, PagedListCompanySubType, PagedListDraftOverview, PersonInformation, PersonRoles, RelationType, SameieAddresseSearchCommand, SameieMatrikkelSearchCommand, SecondaryActions, SectionFractions, SectionTagTagsBySectionMapValue, SoliboContacts, UpdateActiveManagement, UpdateCompanyAddressCommand, UpdateCompanyAvtaleCommand, UpdateCompanyDetailedCommand, UpdateCompanyFeaturesCommand, UpdateCompanyPartnerAgreementCommand, UpdateCompanyRelationCommand, UpdateCompanyStatusCommand, UpdateKartverketResultCommand, UpdateLegalObligationsCommand, UpdateManagementCommand, UpsertOrdinancesCommand, companiesApi, createCompanyAddressOperation, createImportDraftBRLOperation, createImportDraftByFilesOperation, createImportDraftSameieAddressOperation, createImportDraftSameieMatrikkelOperation, deleteCompanyAddressOperation, deleteImportDraftOperation, downloadCompanyImportTemplatesOperation, indexActiveAdministratorsOperation, indexAllAdministratorsOperation, indexAvailableCompanyAdministratorsOperation, indexCompanyAddressOperation, indexCompanyAdministratorsOperation, indexCompanyDetailedOperation, indexCompanyOperation, indexCompanyPartnerAgreementsOperation, indexCompanySectionTagsOperation, indexCompanyTypesOperation, indexImportDraftOperation, indexNewlyManagedCompaniesOperation, indexPartnerAgreementsOperation, indexSectionTagsBySectionOperation, massUpdateRolesOperation, offboardCompanyOperation, resetCompanyOperation, showCompanyDetailedOperation, showCompanyOperation, showCompanyOrdinancesOperation, showCompanyPartnerAgreementOperation, showImportDraftOperation, showImportDraftStatusOperation, showImportDraftValidationOperation, startImportOfDraftOperation, updateActiveAdministratorsOperation, updateAdministratorsForCompanyOperation, updateCompanyAddressOperation, updateCompanyDetailedOperation, updateCompanyOrdinancesOperation, updateCompanyPartnerAgreementOperation, updateCompanyStatusOperation, updateImportDraftOperation, updateMultipleCompanyDetailedOperation } from '../solibo-sdk-sdk.mjs';
|
|
3
|
+
export { BorettslagSearchCommand, BulkUpdateCompanyDetailedCommand, BulkUpdateCompanyDetailedItemCommand, BulkUpdateCompanyDetailedItemResult, BulkUpdateCompanyDetailedItemStatus, BulkUpdateCompanyDetailedResult, BulkUpdateCompanyDetailedSummary, BusinessAgreement, CompanyAddressOverview, CompanyApi, CompanyAuditor, CompanyBusinessAgreement, CompanyDetailed, CompanyFeatures, CompanyLegalObligations, CompanyOrdinances, CompanyPartnerAgreement, CompanyPartnerAgreementStatus, CompanyRelation, CompanySectionOverview, ContactInformation, CreateAddress, CreateBuilding, CreateBuildingAlteration, CreateBuildingFloor, CreateCompany, CreateCompanyAddressCommand, CreateOrganization, CreateParkingSpace, CreatePerson, CreateSection, CreateStorageRoom, DraftCompany, DraftOverview, KartverketFetchState, KartverketHistoricalOwnerImportServiceResult, KartverketImportStatus, KartverketOwnershipCollectionStatus, KartverketOwnershipHolderKind, KartverketOwnershipImportCoverage, KartverketOwnershipObservation, KartverketOwnershipRegistrationEvent, KartverketOwnershipRightClassification, KartverketOwnershipRightType, KartverketOwnershipStatus, KartverketOwnershipUnit, KartverketRegisteredOwnership, KartverketResult, MassEditRolesCommand, OrganizationInformation, PagedListCompany, PagedListCompanyAddress, PagedListCompanyDetailed, PagedListCompanySubType, PagedListDraftOverview, PersonInformation, PersonRoles, RelationType, SameieAddresseSearchCommand, SameieMatrikkelSearchCommand, SecondaryActions, SectionFractions, SectionTagTagsBySectionMapValue, SoliboContacts, UpdateActiveManagement, UpdateCompanyAddressCommand, UpdateCompanyAvtaleCommand, UpdateCompanyDetailedCommand, UpdateCompanyFeaturesCommand, UpdateCompanyPartnerAgreementCommand, UpdateCompanyRelationCommand, UpdateCompanyStatusCommand, UpdateKartverketResultCommand, UpdateLegalObligationsCommand, UpdateManagementCommand, UpsertOrdinancesCommand, companiesApi, createCompanyAddressOperation, createImportDraftBRLOperation, createImportDraftByFilesOperation, createImportDraftSameieAddressOperation, createImportDraftSameieMatrikkelOperation, deleteCompanyAddressOperation, deleteImportDraftOperation, downloadCompanyImportTemplatesOperation, indexActiveAdministratorsOperation, indexAllAdministratorsOperation, indexAvailableCompanyAdministratorsOperation, indexCompanyAddressOperation, indexCompanyAdministratorsOperation, indexCompanyDetailedOperation, indexCompanyOperation, indexCompanyPartnerAgreementsOperation, indexCompanySectionTagsOperation, indexCompanyTypesOperation, indexImportDraftOperation, indexNewlyManagedCompaniesOperation, indexPartnerAgreementsOperation, indexSectionTagsBySectionOperation, massUpdateRolesOperation, offboardCompanyOperation, resetCompanyOperation, showCompanyDetailedOperation, showCompanyOperation, showCompanyOrdinancesOperation, showCompanyPartnerAgreementOperation, showImportDraftOperation, showImportDraftStatusOperation, showImportDraftValidationOperation, startImportOfDraftOperation, updateActiveAdministratorsOperation, updateAdministratorsForCompanyOperation, updateCompanyAddressOperation, updateCompanyDetailedOperation, updateCompanyOrdinancesOperation, updateCompanyPartnerAgreementOperation, updateCompanyStatusOperation, updateImportDraftOperation, updateMultipleCompanyDetailedOperation } from '../solibo-sdk-sdk.mjs';
|
package/client-core.mjs
CHANGED
|
@@ -573,6 +573,12 @@ const PROPS = {
|
|
|
573
573
|
"streetAddress": "string",
|
|
574
574
|
"zipCode": "string"
|
|
575
575
|
},
|
|
576
|
+
"CompanyAuditorProps": {
|
|
577
|
+
"changedOn": "SoliboLocalDate /* LocalDate */ | null | undefined",
|
|
578
|
+
"fetchedAt": "SoliboInstant /* Instant */",
|
|
579
|
+
"name": "string",
|
|
580
|
+
"orgNr": "string | null | undefined"
|
|
581
|
+
},
|
|
576
582
|
"CompanyBusinessAgreementProps": {
|
|
577
583
|
"annualMeetingIncluded": "boolean",
|
|
578
584
|
"economicReportsIncluded": "bigint | null | undefined",
|
|
@@ -584,6 +590,7 @@ const PROPS = {
|
|
|
584
590
|
"CompanyDetailedProps": {
|
|
585
591
|
"address": "CompanyAddressOverviewProps | null | undefined",
|
|
586
592
|
"administratorOrgNr": "string | null | undefined",
|
|
593
|
+
"auditor": "CompanyAuditorProps | null | undefined",
|
|
587
594
|
"businessAgreement": "CompanyBusinessAgreementProps | null | undefined",
|
|
588
595
|
"classification": "string",
|
|
589
596
|
"constructionYear": "bigint | null | undefined",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
|
|
2
2
|
import type { CompanyApiOperations } from '../client.mjs';
|
|
3
|
-
export { BorettslagSearchCommand, BulkUpdateCompanyDetailedCommand, BulkUpdateCompanyDetailedItemCommand, BulkUpdateCompanyDetailedItemResult, BulkUpdateCompanyDetailedItemStatus, BulkUpdateCompanyDetailedResult, BulkUpdateCompanyDetailedSummary, BusinessAgreement, CompanyAddressOverview, CompanyApi, CompanyBusinessAgreement, CompanyDetailed, CompanyFeatures, CompanyLegalObligations, CompanyOrdinances, CompanyPartnerAgreement, CompanyPartnerAgreementStatus, CompanyRelation, CompanySectionOverview, ContactInformation, CreateAddress, CreateBuilding, CreateBuildingAlteration, CreateBuildingFloor, CreateCompany, CreateCompanyAddressCommand, CreateOrganization, CreateParkingSpace, CreatePerson, CreateSection, CreateStorageRoom, DraftCompany, DraftOverview, KartverketFetchState, KartverketHistoricalOwnerImportServiceResult, KartverketImportStatus, KartverketOwnershipCollectionStatus, KartverketOwnershipHolderKind, KartverketOwnershipImportCoverage, KartverketOwnershipObservation, KartverketOwnershipRegistrationEvent, KartverketOwnershipRightClassification, KartverketOwnershipRightType, KartverketOwnershipStatus, KartverketOwnershipUnit, KartverketRegisteredOwnership, KartverketResult, MassEditRolesCommand, OrganizationInformation, PagedListCompany, PagedListCompanyAddress, PagedListCompanyDetailed, PagedListCompanySubType, PagedListDraftOverview, PersonInformation, PersonRoles, RelationType, SameieAddresseSearchCommand, SameieMatrikkelSearchCommand, SecondaryActions, SectionFractions, SectionTagTagsBySectionMapValue, SoliboContacts, UpdateActiveManagement, UpdateCompanyAddressCommand, UpdateCompanyAvtaleCommand, UpdateCompanyDetailedCommand, UpdateCompanyFeaturesCommand, UpdateCompanyPartnerAgreementCommand, UpdateCompanyRelationCommand, UpdateCompanyStatusCommand, UpdateKartverketResultCommand, UpdateLegalObligationsCommand, UpdateManagementCommand, UpsertOrdinancesCommand, companiesApi, createCompanyAddressOperation, createImportDraftBRLOperation, createImportDraftByFilesOperation, createImportDraftSameieAddressOperation, createImportDraftSameieMatrikkelOperation, deleteCompanyAddressOperation, deleteImportDraftOperation, downloadCompanyImportTemplatesOperation, indexActiveAdministratorsOperation, indexAllAdministratorsOperation, indexAvailableCompanyAdministratorsOperation, indexCompanyAddressOperation, indexCompanyAdministratorsOperation, indexCompanyDetailedOperation, indexCompanyOperation, indexCompanyPartnerAgreementsOperation, indexCompanySectionTagsOperation, indexCompanyTypesOperation, indexImportDraftOperation, indexNewlyManagedCompaniesOperation, indexPartnerAgreementsOperation, indexSectionTagsBySectionOperation, massUpdateRolesOperation, offboardCompanyOperation, resetCompanyOperation, showCompanyDetailedOperation, showCompanyOperation, showCompanyOrdinancesOperation, showCompanyPartnerAgreementOperation, showImportDraftOperation, showImportDraftStatusOperation, showImportDraftValidationOperation, startImportOfDraftOperation, updateActiveAdministratorsOperation, updateAdministratorsForCompanyOperation, updateCompanyAddressOperation, updateCompanyDetailedOperation, updateCompanyOrdinancesOperation, updateCompanyPartnerAgreementOperation, updateCompanyStatusOperation, updateImportDraftOperation, updateMultipleCompanyDetailedOperation } from '../solibo-sdk-sdk.mjs';
|
|
3
|
+
export { BorettslagSearchCommand, BulkUpdateCompanyDetailedCommand, BulkUpdateCompanyDetailedItemCommand, BulkUpdateCompanyDetailedItemResult, BulkUpdateCompanyDetailedItemStatus, BulkUpdateCompanyDetailedResult, BulkUpdateCompanyDetailedSummary, BusinessAgreement, CompanyAddressOverview, CompanyApi, CompanyAuditor, CompanyBusinessAgreement, CompanyDetailed, CompanyFeatures, CompanyLegalObligations, CompanyOrdinances, CompanyPartnerAgreement, CompanyPartnerAgreementStatus, CompanyRelation, CompanySectionOverview, ContactInformation, CreateAddress, CreateBuilding, CreateBuildingAlteration, CreateBuildingFloor, CreateCompany, CreateCompanyAddressCommand, CreateOrganization, CreateParkingSpace, CreatePerson, CreateSection, CreateStorageRoom, DraftCompany, DraftOverview, KartverketFetchState, KartverketHistoricalOwnerImportServiceResult, KartverketImportStatus, KartverketOwnershipCollectionStatus, KartverketOwnershipHolderKind, KartverketOwnershipImportCoverage, KartverketOwnershipObservation, KartverketOwnershipRegistrationEvent, KartverketOwnershipRightClassification, KartverketOwnershipRightType, KartverketOwnershipStatus, KartverketOwnershipUnit, KartverketRegisteredOwnership, KartverketResult, MassEditRolesCommand, OrganizationInformation, PagedListCompany, PagedListCompanyAddress, PagedListCompanyDetailed, PagedListCompanySubType, PagedListDraftOverview, PersonInformation, PersonRoles, RelationType, SameieAddresseSearchCommand, SameieMatrikkelSearchCommand, SecondaryActions, SectionFractions, SectionTagTagsBySectionMapValue, SoliboContacts, UpdateActiveManagement, UpdateCompanyAddressCommand, UpdateCompanyAvtaleCommand, UpdateCompanyDetailedCommand, UpdateCompanyFeaturesCommand, UpdateCompanyPartnerAgreementCommand, UpdateCompanyRelationCommand, UpdateCompanyStatusCommand, UpdateKartverketResultCommand, UpdateLegalObligationsCommand, UpdateManagementCommand, UpsertOrdinancesCommand, companiesApi, createCompanyAddressOperation, createImportDraftBRLOperation, createImportDraftByFilesOperation, createImportDraftSameieAddressOperation, createImportDraftSameieMatrikkelOperation, deleteCompanyAddressOperation, deleteImportDraftOperation, downloadCompanyImportTemplatesOperation, indexActiveAdministratorsOperation, indexAllAdministratorsOperation, indexAvailableCompanyAdministratorsOperation, indexCompanyAddressOperation, indexCompanyAdministratorsOperation, indexCompanyDetailedOperation, indexCompanyOperation, indexCompanyPartnerAgreementsOperation, indexCompanySectionTagsOperation, indexCompanyTypesOperation, indexImportDraftOperation, indexNewlyManagedCompaniesOperation, indexPartnerAgreementsOperation, indexSectionTagsBySectionOperation, massUpdateRolesOperation, offboardCompanyOperation, resetCompanyOperation, showCompanyDetailedOperation, showCompanyOperation, showCompanyOrdinancesOperation, showCompanyPartnerAgreementOperation, showImportDraftOperation, showImportDraftStatusOperation, showImportDraftValidationOperation, startImportOfDraftOperation, updateActiveAdministratorsOperation, updateAdministratorsForCompanyOperation, updateCompanyAddressOperation, updateCompanyDetailedOperation, updateCompanyOrdinancesOperation, updateCompanyPartnerAgreementOperation, updateCompanyStatusOperation, updateImportDraftOperation, updateMultipleCompanyDetailedOperation } from '../solibo-sdk-sdk.mjs';
|
|
4
4
|
|
|
5
5
|
export declare const createCompanyAddress: CompanyApiOperations['createCompanyAddress'];
|
|
6
6
|
export declare const createImportDraftBRL: CompanyApiOperations['createImportDraftBRL'];
|
package/package.json
CHANGED
|
@@ -2749,7 +2749,7 @@ function ClauseData() {
|
|
|
2749
2749
|
this.indexInSegment_1 = -1;
|
|
2750
2750
|
};
|
|
2751
2751
|
initMetadataForClass13($, "ClauseData", VOID18, VOID18, VOID18, [1]);
|
|
2752
|
-
protoOf17($).
|
|
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(),
|
|
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$
|
|
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.
|
|
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$
|
|
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) {
|
|
@@ -2246,8 +2246,8 @@ function HomeApiBase$configureClient$lambda_14(this$0, $platformName) {
|
|
|
2246
2246
|
}
|
|
2247
2247
|
accept($this$defaultRequest, Application_getInstance().Json_1);
|
|
2248
2248
|
header($this$defaultRequest, "Accept-Language", buildAcceptLanguage(this$0.userLanguage));
|
|
2249
|
-
header($this$defaultRequest, "User-Agent", "SoliboSDK/1.57.
|
|
2250
|
-
header($this$defaultRequest, "X-Solibo-SDK-Version", "1.57.
|
|
2249
|
+
header($this$defaultRequest, "User-Agent", "SoliboSDK/1.57.8 (" + $platformName + ")");
|
|
2250
|
+
header($this$defaultRequest, "X-Solibo-SDK-Version", "1.57.8");
|
|
2251
2251
|
return Unit_instance2;
|
|
2252
2252
|
};
|
|
2253
2253
|
}
|
|
@@ -1936,7 +1936,7 @@ function createMockCompanyDetailed($this, company) {
|
|
|
1936
1936
|
var tmp6_sections = createMockCompanySectionOverview($this, company.id);
|
|
1937
1937
|
var tmp7_status = CompanyStatus_ACTIVE_getInstance();
|
|
1938
1938
|
var tmp8_subTypes = company.subTypes;
|
|
1939
|
-
return new (CompanyDetailed())(VOID, VOID, VOID, tmp2_classification, VOID, tmp3_country, VOID, 0n, VOID, tmp0_id, VOID, VOID, VOID, tmp4_managed, VOID, tmp1_name, tmp5_nationality, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp6_sections, VOID, tmp7_status, tmp8_subTypes);
|
|
1939
|
+
return new (CompanyDetailed())(VOID, VOID, VOID, VOID, tmp2_classification, VOID, tmp3_country, VOID, 0n, VOID, tmp0_id, VOID, VOID, VOID, tmp4_managed, VOID, tmp1_name, tmp5_nationality, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp6_sections, VOID, tmp7_status, tmp8_subTypes);
|
|
1940
1940
|
}
|
|
1941
1941
|
function createMockCompanySectionOverview($this, companyId) {
|
|
1942
1942
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -2403,7 +2403,7 @@ function MockBackend$registerHandlers$lambda_8(this$0) {
|
|
|
2403
2403
|
var detailed = tmp1_elvis_lhs == null ? createMockCompanyDetailed(this$0, company) : tmp1_elvis_lhs;
|
|
2404
2404
|
var tmp0 = this$0;
|
|
2405
2405
|
// Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
|
|
2406
|
-
var content = detailed.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, createMockCompanySectionOverview(this$0, id));
|
|
2406
|
+
var content = detailed.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, createMockCompanySectionOverview(this$0, id));
|
|
2407
2407
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
2408
2408
|
var this_0 = tmp0.json_1;
|
|
2409
2409
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -2514,7 +2514,7 @@ function MockBackend$registerHandlers$lambda_9(this$0) {
|
|
|
2514
2514
|
var tmp24_location = command.location;
|
|
2515
2515
|
var tmp25_matrikkel = command.matrikkel;
|
|
2516
2516
|
var tmp26_subTypes = command.subTypes;
|
|
2517
|
-
var updated = new (CompanyDetailed())(VOID, tmp13_administratorOrgNr, tmp14_businessAgreement, tmp7_classification, tmp15_constructionYear, tmp8_country, VOID, tmp11_economicReportsIncluded, tmp16_features, id, VOID, tmp17_legalObligations, tmp24_location, tmp9_managed, tmp25_matrikkel, tmp6_name, tmp10_nationality, VOID, VOID, tmp18_note, tmp23_operatingAccount, tmp19_orgNr, VOID, VOID, tmp20_relations, tmp21_sections, tmp22_slug, tmp12_status, tmp26_subTypes);
|
|
2517
|
+
var updated = new (CompanyDetailed())(VOID, tmp13_administratorOrgNr, VOID, tmp14_businessAgreement, tmp7_classification, tmp15_constructionYear, tmp8_country, VOID, tmp11_economicReportsIncluded, tmp16_features, id, VOID, tmp17_legalObligations, tmp24_location, tmp9_managed, tmp25_matrikkel, tmp6_name, tmp10_nationality, VOID, VOID, tmp18_note, tmp23_operatingAccount, tmp19_orgNr, VOID, VOID, tmp20_relations, tmp21_sections, tmp22_slug, tmp12_status, tmp26_subTypes);
|
|
2518
2518
|
var tmp0_0 = this$0.companies;
|
|
2519
2519
|
var tmp27_elvis_lhs = updated.subTypes;
|
|
2520
2520
|
// Inline function 'kotlin.collections.set' call
|
package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CompanyAuditor.export.d.mts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type Nullable<T> = T | null | undefined
|
|
2
|
+
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
|
+
export declare class CompanyAuditor {
|
|
4
|
+
constructor(changedOn: Nullable<any>/* Nullable<LocalDate> */ | undefined, fetchedAt: any/* Instant */, name: string, orgNr?: Nullable<string>);
|
|
5
|
+
get changedOn(): Nullable<any>/* Nullable<LocalDate> */;
|
|
6
|
+
get fetchedAt(): any/* Instant */;
|
|
7
|
+
get name(): string;
|
|
8
|
+
get orgNr(): Nullable<string>;
|
|
9
|
+
copy(changedOn?: Nullable<any>/* Nullable<LocalDate> */, fetchedAt?: any/* Instant */, name?: string, orgNr?: Nullable<string>): CompanyAuditor;
|
|
10
|
+
toString(): string;
|
|
11
|
+
hashCode(): number;
|
|
12
|
+
equals(other: Nullable<any>): boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace CompanyAuditor {
|
|
15
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
16
|
+
namespace $metadata$ {
|
|
17
|
+
const constructor: abstract new () => CompanyAuditor;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CompanyAuditor3043wkq22ru4s as CompanyAuditor } from './CompanyAuditor.mjs';
|
|
2
|
+
//region block: imports
|
|
3
|
+
//endregion
|
|
4
|
+
//region block: pre-declaration
|
|
5
|
+
//endregion
|
|
6
|
+
//region block: exports
|
|
7
|
+
var CompanyAuditor_0 = CompanyAuditor();
|
|
8
|
+
export {
|
|
9
|
+
CompanyAuditor_0 as CompanyAuditor,
|
|
10
|
+
};
|
|
11
|
+
//endregion
|
|
12
|
+
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import {
|
|
2
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
3
|
+
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
4
|
+
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
5
|
+
equals2au1ep9vhcato as equals,
|
|
6
|
+
} from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
7
|
+
import {
|
|
8
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
9
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
|
|
10
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
11
|
+
} from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
12
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
13
|
+
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs';
|
|
14
|
+
import { LocalDateSerializer_getInstance3qg2c8779i3ej as LocalDateSerializer_getInstance } from '../../../../../../../../Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs';
|
|
15
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
16
|
+
import { InstantSerializer_getInstance1n2pd669tdsta as InstantSerializer_getInstance } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs';
|
|
17
|
+
import { StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs';
|
|
18
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
19
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
|
|
20
|
+
import { get_nullable197rfua9r7fsz as get_nullable } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs';
|
|
21
|
+
import {
|
|
22
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
|
|
23
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
|
|
24
|
+
} from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs';
|
|
25
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs';
|
|
26
|
+
import { toString30pk9tzaqopn as toString } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
|
|
27
|
+
import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs';
|
|
28
|
+
import { __soliboBoundaryState, __soliboRegisterLookup, __soliboToJs, __soliboToKt } from '../../../../../../../../solibo-boundary.mjs';
|
|
29
|
+
import { Companion_getInstance138pnyl3l6agm as __soliboInstantCompanion } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/time/Instant.mjs';
|
|
30
|
+
import { LocalDate_init_$Create$141ylgrv6grnp as __soliboLocalDate } from '../../../../../../../../Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs';
|
|
31
|
+
//region block: imports
|
|
32
|
+
var imul = Math.imul;
|
|
33
|
+
//endregion
|
|
34
|
+
//region block: pre-declaration
|
|
35
|
+
//endregion
|
|
36
|
+
var CompanionClass;
|
|
37
|
+
function Companion() {
|
|
38
|
+
if (CompanionClass === VOID) {
|
|
39
|
+
initMetadataForCompanion($);
|
|
40
|
+
function $() {
|
|
41
|
+
}
|
|
42
|
+
CompanionClass = $;
|
|
43
|
+
}
|
|
44
|
+
return CompanionClass;
|
|
45
|
+
}
|
|
46
|
+
var Companion_instance;
|
|
47
|
+
function Companion_getInstance() {
|
|
48
|
+
return Companion_instance;
|
|
49
|
+
}
|
|
50
|
+
var $serializerClass;
|
|
51
|
+
function $serializer() {
|
|
52
|
+
if ($serializerClass === VOID) {
|
|
53
|
+
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
54
|
+
function $() {
|
|
55
|
+
$serializer_instance = this;
|
|
56
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.CompanyAuditor', this, 4);
|
|
57
|
+
tmp0_serialDesc.addElement_5pzumi_k$('changedOn', true);
|
|
58
|
+
tmp0_serialDesc.addElement_5pzumi_k$('fetchedAt', false);
|
|
59
|
+
tmp0_serialDesc.addElement_5pzumi_k$('name', false);
|
|
60
|
+
tmp0_serialDesc.addElement_5pzumi_k$('orgNr', true);
|
|
61
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
62
|
+
}
|
|
63
|
+
protoOf($).serialize_2c5yfx_k$ = function (encoder, value) {
|
|
64
|
+
var tmp0_desc = this.descriptor_1;
|
|
65
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
66
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.changedOn == null)) {
|
|
67
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, LocalDateSerializer_getInstance(), value.changedOn);
|
|
68
|
+
}
|
|
69
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 1, InstantSerializer_getInstance(), value.fetchedAt);
|
|
70
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.name);
|
|
71
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.orgNr == null)) {
|
|
72
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance(), value.orgNr);
|
|
73
|
+
}
|
|
74
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
75
|
+
};
|
|
76
|
+
protoOf($).serialize_5ase3y_k$ = function (encoder, value) {
|
|
77
|
+
return this.serialize_2c5yfx_k$(encoder, value instanceof CompanyAuditor() ? value : THROW_CCE());
|
|
78
|
+
};
|
|
79
|
+
protoOf($).deserialize_sy6x50_k$ = function (decoder) {
|
|
80
|
+
var tmp0_desc = this.descriptor_1;
|
|
81
|
+
var tmp1_flag = true;
|
|
82
|
+
var tmp2_index = 0;
|
|
83
|
+
var tmp3_bitMask0 = 0;
|
|
84
|
+
var tmp4_local0 = null;
|
|
85
|
+
var tmp5_local1 = null;
|
|
86
|
+
var tmp6_local2 = null;
|
|
87
|
+
var tmp7_local3 = null;
|
|
88
|
+
var tmp8_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
89
|
+
if (tmp8_input.decodeSequentially_xlblqy_k$()) {
|
|
90
|
+
tmp4_local0 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LocalDateSerializer_getInstance(), tmp4_local0);
|
|
91
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
92
|
+
tmp5_local1 = tmp8_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, InstantSerializer_getInstance(), tmp5_local1);
|
|
93
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
94
|
+
tmp6_local2 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
95
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
96
|
+
tmp7_local3 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
97
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
98
|
+
} else
|
|
99
|
+
while (tmp1_flag) {
|
|
100
|
+
tmp2_index = tmp8_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
101
|
+
switch (tmp2_index) {
|
|
102
|
+
case -1:
|
|
103
|
+
tmp1_flag = false;
|
|
104
|
+
break;
|
|
105
|
+
case 0:
|
|
106
|
+
tmp4_local0 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LocalDateSerializer_getInstance(), tmp4_local0);
|
|
107
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
108
|
+
break;
|
|
109
|
+
case 1:
|
|
110
|
+
tmp5_local1 = tmp8_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, InstantSerializer_getInstance(), tmp5_local1);
|
|
111
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
112
|
+
break;
|
|
113
|
+
case 2:
|
|
114
|
+
tmp6_local2 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
115
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
116
|
+
break;
|
|
117
|
+
case 3:
|
|
118
|
+
tmp7_local3 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
119
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
120
|
+
break;
|
|
121
|
+
default:
|
|
122
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
tmp8_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
126
|
+
return CompanyAuditor_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
127
|
+
};
|
|
128
|
+
protoOf($).get_descriptor_wjt6a0_k$ = function () {
|
|
129
|
+
return this.descriptor_1;
|
|
130
|
+
};
|
|
131
|
+
protoOf($).childSerializers_5ghqw5_k$ = function () {
|
|
132
|
+
// Inline function 'kotlin.arrayOf' call
|
|
133
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
134
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
135
|
+
return [get_nullable(LocalDateSerializer_getInstance()), InstantSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
136
|
+
};
|
|
137
|
+
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
138
|
+
$serializerClass = $;
|
|
139
|
+
}
|
|
140
|
+
return $serializerClass;
|
|
141
|
+
}
|
|
142
|
+
var $serializer_instance;
|
|
143
|
+
function $serializer_getInstance() {
|
|
144
|
+
if ($serializer_instance == null)
|
|
145
|
+
new ($serializer())();
|
|
146
|
+
return $serializer_instance;
|
|
147
|
+
}
|
|
148
|
+
function CompanyAuditor_init_$Init$(seen0, changedOn, fetchedAt, name, orgNr, serializationConstructorMarker, $this) {
|
|
149
|
+
if (!(6 === (6 & seen0))) {
|
|
150
|
+
throwMissingFieldException(seen0, 6, $serializer_getInstance().descriptor_1);
|
|
151
|
+
}
|
|
152
|
+
if (0 === (seen0 & 1))
|
|
153
|
+
$this.changedOn = null;
|
|
154
|
+
else
|
|
155
|
+
$this.changedOn = changedOn;
|
|
156
|
+
$this.fetchedAt = fetchedAt;
|
|
157
|
+
$this.name = name;
|
|
158
|
+
if (0 === (seen0 & 8))
|
|
159
|
+
$this.orgNr = null;
|
|
160
|
+
else
|
|
161
|
+
$this.orgNr = orgNr;
|
|
162
|
+
return $this;
|
|
163
|
+
}
|
|
164
|
+
function CompanyAuditor_init_$Create$(seen0, changedOn, fetchedAt, name, orgNr, serializationConstructorMarker) {
|
|
165
|
+
return CompanyAuditor_init_$Init$(seen0, changedOn, fetchedAt, name, orgNr, serializationConstructorMarker, objectCreate(protoOf(CompanyAuditor())));
|
|
166
|
+
}
|
|
167
|
+
var CompanyAuditorClass;
|
|
168
|
+
function CompanyAuditor() {
|
|
169
|
+
if (CompanyAuditorClass === VOID) {
|
|
170
|
+
initMetadataForClass($, 'CompanyAuditor', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
171
|
+
function $(changedOn, fetchedAt, name, orgNr) {
|
|
172
|
+
var __soliboProps = arguments.length === 1 && typeof changedOn === 'object' && changedOn !== null && changedOn.constructor === Object;
|
|
173
|
+
var __soliboTmp, __soliboConverted = false;
|
|
174
|
+
if (__soliboProps) {
|
|
175
|
+
const props = changedOn;
|
|
176
|
+
changedOn = ('changedOn' in props ? props.changedOn : VOID);
|
|
177
|
+
if (changedOn != null && typeof changedOn === 'object' && typeof changedOn.getFullYear === 'function') {
|
|
178
|
+
changedOn = new __soliboLocalDate(changedOn.getFullYear(), changedOn.getMonth() + 1, changedOn.getDate());
|
|
179
|
+
} else if (typeof changedOn === 'string') {
|
|
180
|
+
const __ld = changedOn.split('-').map(Number);
|
|
181
|
+
changedOn = new __soliboLocalDate(__ld[0], __ld[1], __ld[2]);
|
|
182
|
+
}
|
|
183
|
+
fetchedAt = ('fetchedAt' in props ? props.fetchedAt : VOID);
|
|
184
|
+
if (typeof fetchedAt === 'string') {
|
|
185
|
+
if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(fetchedAt)) fetchedAt += ':00Z';
|
|
186
|
+
else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(fetchedAt)) fetchedAt += 'Z';
|
|
187
|
+
const companion = __soliboInstantCompanion();
|
|
188
|
+
fetchedAt = companion.parse_xovy9i_k$(fetchedAt);
|
|
189
|
+
} else if (fetchedAt != null && typeof fetchedAt === 'object' && typeof fetchedAt.getTime === 'function') {
|
|
190
|
+
const companion = __soliboInstantCompanion();
|
|
191
|
+
fetchedAt = companion.fromEpochMilliseconds_uaz65_k$(BigInt(fetchedAt.getTime()));
|
|
192
|
+
}
|
|
193
|
+
name = ('name' in props ? props.name : VOID);
|
|
194
|
+
orgNr = ('orgNr' in props ? props.orgNr : VOID);
|
|
195
|
+
}
|
|
196
|
+
changedOn = changedOn === VOID ? null : changedOn;
|
|
197
|
+
orgNr = orgNr === VOID ? null : orgNr;
|
|
198
|
+
this.changedOn = changedOn;
|
|
199
|
+
this.fetchedAt = fetchedAt;
|
|
200
|
+
this.name = name;
|
|
201
|
+
this.orgNr = orgNr;
|
|
202
|
+
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
203
|
+
}
|
|
204
|
+
protoOf($).get_changedOn_wky5u2_k$ = function () {
|
|
205
|
+
return this.changedOn;
|
|
206
|
+
};
|
|
207
|
+
protoOf($).get_fetchedAt_bxw3i5_k$ = function () {
|
|
208
|
+
return this.fetchedAt;
|
|
209
|
+
};
|
|
210
|
+
protoOf($).get_name_woqyms_k$ = function () {
|
|
211
|
+
return this.name;
|
|
212
|
+
};
|
|
213
|
+
protoOf($).get_orgNr_iwhkf3_k$ = function () {
|
|
214
|
+
return this.orgNr;
|
|
215
|
+
};
|
|
216
|
+
protoOf($).component1_7eebsc_k$ = function () {
|
|
217
|
+
return this.changedOn;
|
|
218
|
+
};
|
|
219
|
+
protoOf($).component2_7eebsb_k$ = function () {
|
|
220
|
+
return this.fetchedAt;
|
|
221
|
+
};
|
|
222
|
+
protoOf($).component3_7eebsa_k$ = function () {
|
|
223
|
+
return this.name;
|
|
224
|
+
};
|
|
225
|
+
protoOf($).component4_7eebs9_k$ = function () {
|
|
226
|
+
return this.orgNr;
|
|
227
|
+
};
|
|
228
|
+
protoOf($).copy_ab1oh5_k$ = function (changedOn, fetchedAt, name, orgNr) {
|
|
229
|
+
return new (CompanyAuditor())(changedOn, fetchedAt, name, orgNr);
|
|
230
|
+
};
|
|
231
|
+
protoOf($).copy = function (changedOn, fetchedAt, name, orgNr, $super) {
|
|
232
|
+
changedOn = changedOn === VOID ? this.changedOn : changedOn;
|
|
233
|
+
fetchedAt = fetchedAt === VOID ? this.fetchedAt : fetchedAt;
|
|
234
|
+
name = name === VOID ? this.name : name;
|
|
235
|
+
orgNr = orgNr === VOID ? this.orgNr : orgNr;
|
|
236
|
+
return $super === VOID ? this.copy_ab1oh5_k$(changedOn, fetchedAt, name, orgNr) : $super.copy_ab1oh5_k$.call(this, changedOn, fetchedAt, name, orgNr);
|
|
237
|
+
};
|
|
238
|
+
protoOf($).toString = function () {
|
|
239
|
+
return 'CompanyAuditor(changedOn=' + toString(this.changedOn) + ', fetchedAt=' + this.fetchedAt.toString() + ', name=' + this.name + ', orgNr=' + this.orgNr + ')';
|
|
240
|
+
};
|
|
241
|
+
protoOf($).hashCode = function () {
|
|
242
|
+
var result = this.changedOn == null ? 0 : this.changedOn.hashCode();
|
|
243
|
+
result = imul(result, 31) + this.fetchedAt.hashCode() | 0;
|
|
244
|
+
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
245
|
+
result = imul(result, 31) + (this.orgNr == null ? 0 : getStringHashCode(this.orgNr)) | 0;
|
|
246
|
+
return result;
|
|
247
|
+
};
|
|
248
|
+
protoOf($).equals = function (other) {
|
|
249
|
+
if (this === other)
|
|
250
|
+
return true;
|
|
251
|
+
if (!(other instanceof CompanyAuditor()))
|
|
252
|
+
return false;
|
|
253
|
+
if (!equals(this.changedOn, other.changedOn))
|
|
254
|
+
return false;
|
|
255
|
+
if (!this.fetchedAt.equals(other.fetchedAt))
|
|
256
|
+
return false;
|
|
257
|
+
if (!(this.name === other.name))
|
|
258
|
+
return false;
|
|
259
|
+
if (!(this.orgNr == other.orgNr))
|
|
260
|
+
return false;
|
|
261
|
+
return true;
|
|
262
|
+
};
|
|
263
|
+
/* Solibo boundary patches */
|
|
264
|
+
Object.defineProperty($, 'name', { value: "CompanyAuditor", configurable: true });
|
|
265
|
+
__soliboRegisterLookup("CompanyAuditor", () => $);
|
|
266
|
+
CompanyAuditorClass = $;
|
|
267
|
+
}
|
|
268
|
+
return CompanyAuditorClass;
|
|
269
|
+
}
|
|
270
|
+
//region block: init
|
|
271
|
+
Companion_instance = new (Companion())();
|
|
272
|
+
//endregion
|
|
273
|
+
//region block: exports
|
|
274
|
+
export {
|
|
275
|
+
$serializer_getInstance as $serializer_getInstance2r29f298bee1,
|
|
276
|
+
CompanyAuditor as CompanyAuditor3043wkq22ru4s,
|
|
277
|
+
};
|
|
278
|
+
//endregion
|
|
279
|
+
|
package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CompanyDetailed.export.d.mts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
type Nullable<T> = T | null | undefined
|
|
2
2
|
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
3
|
export declare class CompanyDetailed {
|
|
4
|
-
constructor(address: Nullable<CompanyAddressOverview> | undefined, administratorOrgNr: Nullable<string> | undefined, businessAgreement: Nullable<CompanyBusinessAgreement> | undefined, classification: string, constructionYear: Nullable<bigint> | undefined, country: string, createdAt: Nullable<any>/* Nullable<Instant> */ | undefined, economicReportsIncluded: bigint, features: Nullable<CompanyFeatures> | undefined, id: bigint, invoicingEmail: Nullable<string> | undefined, legalObligations: Nullable<CompanyLegalObligations> | undefined, location: Nullable<CompanyLocation> | undefined, managed: boolean, matrikkel: Nullable<CompanyMatrikkel> | undefined, name: string, nationality: bigint, nextState: Nullable<CompanyStatus> | undefined, nextStateAt: Nullable<any>/* Nullable<Instant> */ | undefined, note: Nullable<string> | undefined, operatingAccount: Nullable<string> | undefined, orgNr: Nullable<string> | undefined, orgNrType: Nullable<OrganizationNumberType> | undefined, pricePerShare: Nullable<number> | undefined, relations: Nullable<KtList<CompanyRelation>> | undefined, sections: Nullable<CompanySectionOverview> | undefined, slug: Nullable<string> | undefined, status: CompanyStatus, subTypes?: Nullable<KtList<CompanySubType>>, updatedAt?: Nullable<any>/* Nullable<Instant> */);
|
|
4
|
+
constructor(address: Nullable<CompanyAddressOverview> | undefined, administratorOrgNr: Nullable<string> | undefined, auditor: Nullable<CompanyAuditor> | undefined, businessAgreement: Nullable<CompanyBusinessAgreement> | undefined, classification: string, constructionYear: Nullable<bigint> | undefined, country: string, createdAt: Nullable<any>/* Nullable<Instant> */ | undefined, economicReportsIncluded: bigint, features: Nullable<CompanyFeatures> | undefined, id: bigint, invoicingEmail: Nullable<string> | undefined, legalObligations: Nullable<CompanyLegalObligations> | undefined, location: Nullable<CompanyLocation> | undefined, managed: boolean, matrikkel: Nullable<CompanyMatrikkel> | undefined, name: string, nationality: bigint, nextState: Nullable<CompanyStatus> | undefined, nextStateAt: Nullable<any>/* Nullable<Instant> */ | undefined, note: Nullable<string> | undefined, operatingAccount: Nullable<string> | undefined, orgNr: Nullable<string> | undefined, orgNrType: Nullable<OrganizationNumberType> | undefined, pricePerShare: Nullable<number> | undefined, relations: Nullable<KtList<CompanyRelation>> | undefined, sections: Nullable<CompanySectionOverview> | undefined, slug: Nullable<string> | undefined, status: CompanyStatus, subTypes?: Nullable<KtList<CompanySubType>>, updatedAt?: Nullable<any>/* Nullable<Instant> */);
|
|
5
5
|
get address(): Nullable<CompanyAddressOverview>;
|
|
6
6
|
get administratorOrgNr(): Nullable<string>;
|
|
7
|
+
get auditor(): Nullable<CompanyAuditor>;
|
|
7
8
|
get businessAgreement(): Nullable<CompanyBusinessAgreement>;
|
|
8
9
|
get classification(): string;
|
|
9
10
|
get constructionYear(): Nullable<bigint>;
|
|
@@ -32,7 +33,7 @@ export declare class CompanyDetailed {
|
|
|
32
33
|
get status(): CompanyStatus;
|
|
33
34
|
get subTypes(): Nullable<KtList<CompanySubType>>;
|
|
34
35
|
get updatedAt(): Nullable<any>/* Nullable<Instant> */;
|
|
35
|
-
copy(address?: Nullable<CompanyAddressOverview>, administratorOrgNr?: Nullable<string>, businessAgreement?: Nullable<CompanyBusinessAgreement>, classification?: string, constructionYear?: Nullable<bigint>, country?: string, createdAt?: Nullable<any>/* Nullable<Instant> */, economicReportsIncluded?: bigint, features?: Nullable<CompanyFeatures>, id?: bigint, invoicingEmail?: Nullable<string>, legalObligations?: Nullable<CompanyLegalObligations>, location?: Nullable<CompanyLocation>, managed?: boolean, matrikkel?: Nullable<CompanyMatrikkel>, name?: string, nationality?: bigint, nextState?: Nullable<CompanyStatus>, nextStateAt?: Nullable<any>/* Nullable<Instant> */, note?: Nullable<string>, operatingAccount?: Nullable<string>, orgNr?: Nullable<string>, orgNrType?: Nullable<OrganizationNumberType>, pricePerShare?: Nullable<number>, relations?: Nullable<KtList<CompanyRelation>>, sections?: Nullable<CompanySectionOverview>, slug?: Nullable<string>, status?: CompanyStatus, subTypes?: Nullable<KtList<CompanySubType>>, updatedAt?: Nullable<any>/* Nullable<Instant> */): CompanyDetailed;
|
|
36
|
+
copy(address?: Nullable<CompanyAddressOverview>, administratorOrgNr?: Nullable<string>, auditor?: Nullable<CompanyAuditor>, businessAgreement?: Nullable<CompanyBusinessAgreement>, classification?: string, constructionYear?: Nullable<bigint>, country?: string, createdAt?: Nullable<any>/* Nullable<Instant> */, economicReportsIncluded?: bigint, features?: Nullable<CompanyFeatures>, id?: bigint, invoicingEmail?: Nullable<string>, legalObligations?: Nullable<CompanyLegalObligations>, location?: Nullable<CompanyLocation>, managed?: boolean, matrikkel?: Nullable<CompanyMatrikkel>, name?: string, nationality?: bigint, nextState?: Nullable<CompanyStatus>, nextStateAt?: Nullable<any>/* Nullable<Instant> */, note?: Nullable<string>, operatingAccount?: Nullable<string>, orgNr?: Nullable<string>, orgNrType?: Nullable<OrganizationNumberType>, pricePerShare?: Nullable<number>, relations?: Nullable<KtList<CompanyRelation>>, sections?: Nullable<CompanySectionOverview>, slug?: Nullable<string>, status?: CompanyStatus, subTypes?: Nullable<KtList<CompanySubType>>, updatedAt?: Nullable<any>/* Nullable<Instant> */): CompanyDetailed;
|
|
36
37
|
toString(): string;
|
|
37
38
|
hashCode(): number;
|
|
38
39
|
equals(other: Nullable<any>): boolean;
|