@solibo/solibo-sdk 1.10.5 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/KmLogging-logging.mjs +98 -98
- package/KotlinBigInteger-bignum.mjs +1127 -1127
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +3 -3
- package/bitops-library-bits.mjs +33 -33
- package/bitops-library-endian.mjs +3 -3
- package/client.d.mts +183 -43
- package/client.mjs +434 -22
- package/core-library-digest.mjs +29 -29
- package/cryptography-kotlin-cryptography-bigint.mjs +28 -28
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +136 -136
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +118 -118
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +250 -250
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/hash-library-md.mjs +30 -30
- package/index.mjs +6 -0
- package/kotlin-kotlin-stdlib.mjs +11 -11
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1072 -1072
- package/ktor-ktor-client-auth.mjs +245 -245
- package/ktor-ktor-client-content-negotiation.mjs +125 -125
- package/ktor-ktor-client-core.mjs +2627 -2627
- package/ktor-ktor-client-encoding.mjs +120 -120
- package/ktor-ktor-client-logging.mjs +600 -600
- package/ktor-ktor-client-mock.mjs +48 -48
- package/ktor-ktor-http-cio.mjs +300 -300
- package/ktor-ktor-http.mjs +1077 -1027
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx.mjs +110 -110
- package/ktor-ktor-serialization.mjs +50 -50
- package/ktor-ktor-websockets.mjs +322 -322
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +49641 -46771
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +346 -6
- package/solibo-sdk-sdk.mjs +7197 -5827
- package/solibo-sdk-sdk.mjs.map +1 -1
package/client.d.mts
CHANGED
|
@@ -207,8 +207,12 @@ import type {
|
|
|
207
207
|
CreateNeighborhoodPostCommandProps,
|
|
208
208
|
CreateNewsletterCommand,
|
|
209
209
|
CreateNewsletterCommandProps,
|
|
210
|
+
CreateOrganizationResidentCommand,
|
|
211
|
+
CreateOrganizationResidentCommandProps,
|
|
210
212
|
CreateParkingSpaceCommand,
|
|
211
213
|
CreateParkingSpaceCommandProps,
|
|
214
|
+
CreatePersonResidentCommand,
|
|
215
|
+
CreatePersonResidentCommandProps,
|
|
212
216
|
CreatePostCommand,
|
|
213
217
|
CreatePostCommandProps,
|
|
214
218
|
CreateResetPasswordCommand,
|
|
@@ -256,6 +260,10 @@ import type {
|
|
|
256
260
|
DeviceSrpCommandProps,
|
|
257
261
|
DeviceVerifySrpCommand,
|
|
258
262
|
DeviceVerifySrpCommandProps,
|
|
263
|
+
DirectSendInvoiceChannel,
|
|
264
|
+
DirectSendInvoiceCommand,
|
|
265
|
+
DirectSendInvoiceCommandProps,
|
|
266
|
+
DirectSendInvoiceDocument,
|
|
259
267
|
Document,
|
|
260
268
|
DocumentType,
|
|
261
269
|
DocumentUploadTicket,
|
|
@@ -269,12 +277,15 @@ import type {
|
|
|
269
277
|
EditResidencyCommandProps,
|
|
270
278
|
EmailInlineConfirmCommand,
|
|
271
279
|
EmailInlineConfirmCommandProps,
|
|
280
|
+
Errors,
|
|
272
281
|
EventBus,
|
|
273
282
|
Expense,
|
|
274
283
|
ExpenseCount,
|
|
275
284
|
ExpenseProcessingResult,
|
|
276
285
|
ExpenseStatus,
|
|
277
286
|
ExpiredType,
|
|
287
|
+
ExportResidentsCommand,
|
|
288
|
+
ExportResidentsCommandProps,
|
|
278
289
|
FcmDeviceType,
|
|
279
290
|
FilesDownload,
|
|
280
291
|
FinalizeCommunicationCommentDocumentCreateCommand,
|
|
@@ -421,6 +432,7 @@ import type {
|
|
|
421
432
|
OrderType,
|
|
422
433
|
Organization,
|
|
423
434
|
OrganizationEmployee,
|
|
435
|
+
OrganizationResident,
|
|
424
436
|
OverdueInvoiceCustomerPreview,
|
|
425
437
|
OverdueNoticeOrder,
|
|
426
438
|
OverdueOwner,
|
|
@@ -525,6 +537,7 @@ import type {
|
|
|
525
537
|
PeriodicTaskIntervalMethod,
|
|
526
538
|
PeriodicTaskIntervalType,
|
|
527
539
|
Person,
|
|
540
|
+
PersonResident,
|
|
528
541
|
PersonStatus,
|
|
529
542
|
PersonUser,
|
|
530
543
|
PersonnummerResult,
|
|
@@ -550,6 +563,7 @@ import type {
|
|
|
550
563
|
ReorderIssueInMeetingCommandProps,
|
|
551
564
|
RequestMethod,
|
|
552
565
|
Resident,
|
|
566
|
+
ResidentExportFile,
|
|
553
567
|
ResidentRoleHistory,
|
|
554
568
|
ResidentType,
|
|
555
569
|
ResolveContactCommand,
|
|
@@ -721,12 +735,16 @@ import type {
|
|
|
721
735
|
UpdateOrganizationCommandProps,
|
|
722
736
|
UpdateOrganizationReservationsCommand,
|
|
723
737
|
UpdateOrganizationReservationsCommandProps,
|
|
738
|
+
UpdateOrganizationResidentCommand,
|
|
739
|
+
UpdateOrganizationResidentCommandProps,
|
|
724
740
|
UpdateParkingSpaceCommand,
|
|
725
741
|
UpdateParkingSpaceCommandProps,
|
|
726
742
|
UpdatePersonCommand,
|
|
727
743
|
UpdatePersonCommandProps,
|
|
728
744
|
UpdatePersonReservationsCommand,
|
|
729
745
|
UpdatePersonReservationsCommandProps,
|
|
746
|
+
UpdatePersonResidentCommand,
|
|
747
|
+
UpdatePersonResidentCommandProps,
|
|
730
748
|
UpdatePostCommand,
|
|
731
749
|
UpdatePostCommandProps,
|
|
732
750
|
UpdateProfileCommand,
|
|
@@ -824,8 +842,11 @@ export type SdkInput<T> =
|
|
|
824
842
|
T extends ConversationStatus ? ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED" :
|
|
825
843
|
T extends CustomerClassification ? CustomerClassification | "PERSON" | "ORGANIZATION" :
|
|
826
844
|
T extends CustomerType ? CustomerType | "PERSON" | "ORGANIZATION" :
|
|
845
|
+
T extends DirectSendInvoiceChannel ? DirectSendInvoiceChannel | "DIGIPOST" | "PRINT" | "EMAIL" :
|
|
846
|
+
T extends DirectSendInvoiceDocument ? DirectSendInvoiceDocument | "INVOICE" | "OVERDUE_ONE" | "OVERDUE_TWO" :
|
|
827
847
|
T extends DocumentType ? DocumentType | "ISSUE" | "SUPPLIER_FOR_COMPANY" | "HOMEPAGE" | "POST" | "PRACTICAL_INFO" | "PRIVATE" | "FDV" | "BUILDING" | "PROJECT" | "BYLAWS" | "HOUSE_RULES" | "ECONOMY" | "EXPENSE" | "MEETING" | "ANNUAL_MEETING" | "CONVERSATION" | "NEIGHBORHOOD_POST" | "COMMUNICATION_COMMENT" | "NEWSLETTER" | "ROUTINE" | "INSURANCE" | "LOAN" | "INVOICE" | "ADHOC" | "ECONOMIC_REPORT" | "SETTLEMENT" | "SETTLEMENT_CUSTOM_COST" | "MESSAGE" | "INTERNAL_MESSAGE" | "OTHER" | "TRASH" :
|
|
828
848
|
T extends EconomicReportStatus ? EconomicReportStatus | "ORDERED" | "DELIVERED" :
|
|
849
|
+
T extends Errors ? Errors | "VALIDATION" | "AUTH" | "GENERIC" :
|
|
829
850
|
T extends ExpenseProcessingResult ? ExpenseProcessingResult | "APPROVED" | "REJECTED" :
|
|
830
851
|
T extends ExpenseStatus ? ExpenseStatus | "FOR_APPROVAL" | "APPROVED" | "REJECTED" :
|
|
831
852
|
T extends ExpiredType ? ExpiredType | "NONE" | "FIRST" | "SECOND" :
|
|
@@ -905,6 +926,66 @@ export type SdkResult<T> =
|
|
|
905
926
|
T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V> ? Map<K, SdkResult<V>> :
|
|
906
927
|
T extends readonly (infer E)[] ? SdkResult<E>[] : T;
|
|
907
928
|
|
|
929
|
+
export type DeepSdkResult<T> =
|
|
930
|
+
T extends KtList<infer E> | KtMutableList<infer E> ? DeepSdkResult<E>[] :
|
|
931
|
+
T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V> ? Map<DeepSdkResult<K>, DeepSdkResult<V>> :
|
|
932
|
+
T extends readonly (infer E)[] ? DeepSdkResult<E>[] :
|
|
933
|
+
T extends object ? { readonly [P in keyof T]: DeepSdkResult<T[P]> } : T;
|
|
934
|
+
|
|
935
|
+
export type Projected<T> =
|
|
936
|
+
T extends KtList<infer E> | KtMutableList<infer E> ? Projected<E>[] :
|
|
937
|
+
T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V> ? Map<Projected<K>, Projected<V>> :
|
|
938
|
+
T extends readonly (infer E)[] ? Projected<E>[] :
|
|
939
|
+
T extends object ? { readonly [P in keyof T]?: Projected<T[P]> } : T;
|
|
940
|
+
|
|
941
|
+
export type FieldProjectionResult<F extends string | null | undefined, T> =
|
|
942
|
+
F extends string ? Projected<T> : T;
|
|
943
|
+
|
|
944
|
+
export type ProjectedPagedList<TPage, TItem> =
|
|
945
|
+
Omit<TPage, 'items'> & { readonly items: Projected<TItem>[] };
|
|
946
|
+
export type PagedProjectionResult<F extends string | null | undefined, TPage, TItem> =
|
|
947
|
+
F extends string ? ProjectedPagedList<TPage, TItem> : TPage;
|
|
948
|
+
export type ListProjectionResult<F extends string | null | undefined, TItem> =
|
|
949
|
+
F extends string ? Projected<TItem>[] : TItem[];
|
|
950
|
+
|
|
951
|
+
export type ProjectedSectionPage =
|
|
952
|
+
Omit<PagedListSection, 'items'> & { readonly items: Projected<Section>[] };
|
|
953
|
+
export type SectionListResult<F extends string | null | undefined> =
|
|
954
|
+
F extends string ? ProjectedSectionPage : PagedListSection;
|
|
955
|
+
|
|
956
|
+
export type ResidentDiscriminator = "solibo.residents.query.domain.PersonResident" | "solibo.residents.query.domain.OrganizationResident";
|
|
957
|
+
export type PersonResidentResult =
|
|
958
|
+
Omit<DeepSdkResult<PersonResident>, 'type'> & { readonly type: "solibo.residents.query.domain.PersonResident" };
|
|
959
|
+
export type OrganizationResidentResult =
|
|
960
|
+
Omit<DeepSdkResult<OrganizationResident>, 'type'> & { readonly type: "solibo.residents.query.domain.OrganizationResident" };
|
|
961
|
+
export type ResidentResult = PersonResidentResult | OrganizationResidentResult;
|
|
962
|
+
export type ProjectedPersonResidentResult =
|
|
963
|
+
Projected<Omit<PersonResident, 'type'>> & { readonly type: "solibo.residents.query.domain.PersonResident" };
|
|
964
|
+
export type ProjectedOrganizationResidentResult =
|
|
965
|
+
Projected<Omit<OrganizationResident, 'type'>> & { readonly type: "solibo.residents.query.domain.OrganizationResident" };
|
|
966
|
+
export type ProjectedResidentResult = ProjectedPersonResidentResult | ProjectedOrganizationResidentResult;
|
|
967
|
+
export type ResidentDetailResult<F extends string | null | undefined> =
|
|
968
|
+
F extends string ? ProjectedResidentResult : ResidentResult;
|
|
969
|
+
export type ResidentPage<TResident extends ResidentResult | ProjectedResidentResult = ResidentResult> =
|
|
970
|
+
Omit<DeepSdkResult<PagedListResident>, 'items'> & { readonly items: TResident[] };
|
|
971
|
+
export type ProjectedResidentPage = ResidentPage<ProjectedResidentResult>;
|
|
972
|
+
export type ResidentListResult<F extends string | null | undefined> =
|
|
973
|
+
F extends string ? ProjectedResidentPage : ResidentPage;
|
|
974
|
+
|
|
975
|
+
export type KnownSectionCapability =
|
|
976
|
+
| 'Identifier'
|
|
977
|
+
| 'Matrikkel'
|
|
978
|
+
| 'Andel'
|
|
979
|
+
| 'Seksjon'
|
|
980
|
+
| 'Residence'
|
|
981
|
+
| 'Business'
|
|
982
|
+
| 'Apartment'
|
|
983
|
+
| 'Sectioned'
|
|
984
|
+
| 'InLoan'
|
|
985
|
+
| 'Formue'
|
|
986
|
+
| 'Address';
|
|
987
|
+
export type SectionCapability = KnownSectionCapability | (string & {});
|
|
988
|
+
|
|
908
989
|
export type BrowserAuth = { kind: 'browser'; userPoolId: string; clientId: string };
|
|
909
990
|
export type MobileAuth = { kind: 'mobile'; userPoolId: string; clientId: string };
|
|
910
991
|
export type M2MAuth = { kind: 'm2m'; clientId: string; clientSecret: string; scopes?: string[] };
|
|
@@ -1676,7 +1757,7 @@ export interface SectionApiFacade {
|
|
|
1676
1757
|
companyId: Id;
|
|
1677
1758
|
input: CreateSectionCommand | SdkInput<CreateSectionCommandProps>;
|
|
1678
1759
|
status?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
|
|
1679
|
-
}): Promise<SdkResult<
|
|
1760
|
+
}): Promise<SdkResult<Section>>;
|
|
1680
1761
|
createSectionStatus(params: {
|
|
1681
1762
|
companyId: Id;
|
|
1682
1763
|
sectionId: Id;
|
|
@@ -1687,7 +1768,7 @@ export interface SectionApiFacade {
|
|
|
1687
1768
|
companyId: Id;
|
|
1688
1769
|
sectionId: Id;
|
|
1689
1770
|
input: CreateSectionCommand | SdkInput<CreateSectionCommandProps>;
|
|
1690
|
-
}): Promise<SdkResult<
|
|
1771
|
+
}): Promise<SdkResult<Section>>;
|
|
1691
1772
|
createTagOnSection(params: {
|
|
1692
1773
|
companyId: Id;
|
|
1693
1774
|
sectionId: Id;
|
|
@@ -1747,15 +1828,15 @@ export interface SectionApiFacade {
|
|
|
1747
1828
|
autoPaginate?: boolean | null | undefined;
|
|
1748
1829
|
count?: number | null | undefined;
|
|
1749
1830
|
}): Promise<SdkResult<PagedListOwnershipChange>>;
|
|
1750
|
-
indexSection(params: {
|
|
1831
|
+
indexSection<F extends string | null | undefined = undefined>(params: {
|
|
1751
1832
|
companyId: Id;
|
|
1752
1833
|
status?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
|
|
1753
1834
|
query?: string | null | undefined;
|
|
1754
|
-
fields?:
|
|
1835
|
+
fields?: F;
|
|
1755
1836
|
pageToken?: string | null | undefined;
|
|
1756
1837
|
autoPaginate?: boolean | null | undefined;
|
|
1757
1838
|
count?: number | null | undefined;
|
|
1758
|
-
}): Promise<
|
|
1839
|
+
}): Promise<SectionListResult<F>>;
|
|
1759
1840
|
indexSectionFractions(params: {
|
|
1760
1841
|
companyId: Id;
|
|
1761
1842
|
fractionType?: FractionType | "OWNER" | "SECTION" | "IN_ONE" | "IN_TWO" | "IN_THREE" | "IN_FOUR" | "WEALTH" | null | undefined;
|
|
@@ -1775,14 +1856,14 @@ export interface SectionApiFacade {
|
|
|
1775
1856
|
sectionId: Id;
|
|
1776
1857
|
fields?: string | null | undefined;
|
|
1777
1858
|
}): Promise<SdkResult<ResidentRoleHistory>>;
|
|
1778
|
-
indexSections(params: {
|
|
1859
|
+
indexSections<F extends string | null | undefined = undefined>(params: {
|
|
1779
1860
|
query?: string | null | undefined;
|
|
1780
1861
|
companyIds?: ReadonlyArray<Id> | null | undefined;
|
|
1781
|
-
fields?:
|
|
1862
|
+
fields?: F;
|
|
1782
1863
|
pageToken?: string | null | undefined;
|
|
1783
1864
|
autoPaginate?: boolean | null | undefined;
|
|
1784
1865
|
count?: number | null | undefined;
|
|
1785
|
-
}): Promise<
|
|
1866
|
+
}): Promise<SectionListResult<F>>;
|
|
1786
1867
|
indexTagsOnSection(params: {
|
|
1787
1868
|
companyId: Id;
|
|
1788
1869
|
sectionId: Id;
|
|
@@ -1827,6 +1908,11 @@ export interface SectionApiFacade {
|
|
|
1827
1908
|
sectionId: Id;
|
|
1828
1909
|
input: ReadonlyArray<SectionTagCommand | SdkInput<SectionTagCommandProps>>;
|
|
1829
1910
|
}): Promise<SdkResult<void>>;
|
|
1911
|
+
showSection<F extends string | null | undefined = undefined>(params: {
|
|
1912
|
+
companyId: Id;
|
|
1913
|
+
sectionId: Id;
|
|
1914
|
+
fields?: F;
|
|
1915
|
+
}): Promise<FieldProjectionResult<F, Section>>;
|
|
1830
1916
|
showSectionResidentHistory(params: {
|
|
1831
1917
|
companyId: Id;
|
|
1832
1918
|
sectionId: Id;
|
|
@@ -2615,6 +2701,12 @@ export interface InvoicingApiFacade {
|
|
|
2615
2701
|
customerId: Id;
|
|
2616
2702
|
invoiceId: string;
|
|
2617
2703
|
}): Promise<SdkResult<void>>;
|
|
2704
|
+
postCompanyInvoiceDirectSend(params: {
|
|
2705
|
+
companyId: Id;
|
|
2706
|
+
invoiceId: string;
|
|
2707
|
+
input: DirectSendInvoiceCommand | SdkInput<DirectSendInvoiceCommandProps>;
|
|
2708
|
+
idempotencyKey?: string | null | undefined;
|
|
2709
|
+
}): Promise<SdkResult<void>>;
|
|
2618
2710
|
putCompanyInvoiceClose(params: {
|
|
2619
2711
|
companyId: Id;
|
|
2620
2712
|
invoiceId: string;
|
|
@@ -3040,18 +3132,36 @@ export interface ResidentApiFacade {
|
|
|
3040
3132
|
companyId: Id;
|
|
3041
3133
|
includePnr?: boolean | null | undefined;
|
|
3042
3134
|
}): Promise<SdkResult<Base64ByteArray>>;
|
|
3135
|
+
exportSelectedResidents(params: {
|
|
3136
|
+
companyId: Id;
|
|
3137
|
+
input: ExportResidentsCommand | SdkInput<ExportResidentsCommandProps>;
|
|
3138
|
+
}): Promise<SdkResult<Base64ByteArray>>;
|
|
3043
3139
|
importResidentsForOnboardingCompany(params: {
|
|
3044
3140
|
companyId: Id;
|
|
3045
3141
|
input: string;
|
|
3046
3142
|
}): Promise<SdkResult<void>>;
|
|
3047
|
-
|
|
3143
|
+
indexFutureResidents<F extends string | null | undefined = undefined>(params: {
|
|
3144
|
+
companyId: Id;
|
|
3145
|
+
fields?: F;
|
|
3146
|
+
pageToken?: string | null | undefined;
|
|
3147
|
+
autoPaginate?: boolean | null | undefined;
|
|
3148
|
+
count?: number | null | undefined;
|
|
3149
|
+
}): Promise<ResidentListResult<F>>;
|
|
3150
|
+
indexHistoricResidents<F extends string | null | undefined = undefined>(params: {
|
|
3151
|
+
companyId: Id;
|
|
3152
|
+
fields?: F;
|
|
3153
|
+
pageToken?: string | null | undefined;
|
|
3154
|
+
autoPaginate?: boolean | null | undefined;
|
|
3155
|
+
count?: number | null | undefined;
|
|
3156
|
+
}): Promise<ResidentListResult<F>>;
|
|
3157
|
+
indexResident<F extends string | null | undefined = undefined>(params: {
|
|
3048
3158
|
companyId: Id;
|
|
3049
3159
|
query?: string | null | undefined;
|
|
3050
|
-
fields?:
|
|
3160
|
+
fields?: F;
|
|
3051
3161
|
pageToken?: string | null | undefined;
|
|
3052
3162
|
autoPaginate?: boolean | null | undefined;
|
|
3053
3163
|
count?: number | null | undefined;
|
|
3054
|
-
}): Promise<
|
|
3164
|
+
}): Promise<ResidentListResult<F>>;
|
|
3055
3165
|
indexResidentTypes(params: {
|
|
3056
3166
|
companyId: Id;
|
|
3057
3167
|
fields?: string | null | undefined;
|
|
@@ -3077,6 +3187,12 @@ export interface ResidentApiFacade {
|
|
|
3077
3187
|
autoPaginate?: boolean | null | undefined;
|
|
3078
3188
|
count?: number | null | undefined;
|
|
3079
3189
|
}): Promise<SdkResult<PagedListAttendance>>;
|
|
3190
|
+
showResident<F extends string | null | undefined = undefined>(params: {
|
|
3191
|
+
companyId: Id;
|
|
3192
|
+
residentType: string;
|
|
3193
|
+
residentId: Id;
|
|
3194
|
+
fields?: F;
|
|
3195
|
+
}): Promise<ResidentDetailResult<F>>;
|
|
3080
3196
|
showResidentByOrgNr(params: {
|
|
3081
3197
|
companyId: Id;
|
|
3082
3198
|
input: FindResidentByOrgNrCommand | SdkInput<FindResidentByOrgNrCommandProps>;
|
|
@@ -3096,8 +3212,6 @@ export interface ResidentApiFacade {
|
|
|
3096
3212
|
residentType: string;
|
|
3097
3213
|
residentId: Id;
|
|
3098
3214
|
input: UpdateResidentCommand;
|
|
3099
|
-
removeBods?: boolean | null | undefined;
|
|
3100
|
-
removeParkeringsplass?: boolean | null | undefined;
|
|
3101
3215
|
}): Promise<SdkResult<Person>>;
|
|
3102
3216
|
updateResidentAttendance(params: {
|
|
3103
3217
|
companyId: Id;
|
|
@@ -3113,6 +3227,32 @@ export interface ResidentApiFacade {
|
|
|
3113
3227
|
residentId: Id;
|
|
3114
3228
|
input: UpdateNotatCommand | SdkInput<UpdateNotatCommandProps>;
|
|
3115
3229
|
}): Promise<SdkResult<Resident>>;
|
|
3230
|
+
createPersonResident(params: {
|
|
3231
|
+
companyId: Id;
|
|
3232
|
+
input: CreatePersonResidentCommand | SdkInput<CreatePersonResidentCommandProps>;
|
|
3233
|
+
}): Promise<Person | null>;
|
|
3234
|
+
createOrganizationResident(params: {
|
|
3235
|
+
companyId: Id;
|
|
3236
|
+
input: CreateOrganizationResidentCommand | SdkInput<CreateOrganizationResidentCommandProps>;
|
|
3237
|
+
}): Promise<Organization | null>;
|
|
3238
|
+
updatePersonResident(params: {
|
|
3239
|
+
companyId: Id;
|
|
3240
|
+
residentId: Id;
|
|
3241
|
+
input: UpdatePersonResidentCommand | SdkInput<UpdatePersonResidentCommandProps>;
|
|
3242
|
+
}): Promise<SdkResult<Person>>;
|
|
3243
|
+
updateOrganizationResident(params: {
|
|
3244
|
+
companyId: Id;
|
|
3245
|
+
residentId: Id;
|
|
3246
|
+
input: UpdateOrganizationResidentCommand | SdkInput<UpdateOrganizationResidentCommandProps>;
|
|
3247
|
+
}): Promise<SdkResult<Organization>>;
|
|
3248
|
+
exportResidentsFile(params: {
|
|
3249
|
+
companyId: Id;
|
|
3250
|
+
includePnr?: boolean;
|
|
3251
|
+
}): Promise<SdkResult<ResidentExportFile>>;
|
|
3252
|
+
exportSelectedResidentsFile(params: {
|
|
3253
|
+
companyId: Id;
|
|
3254
|
+
input: ExportResidentsCommand | SdkInput<ExportResidentsCommandProps>;
|
|
3255
|
+
}): Promise<SdkResult<ResidentExportFile>>;
|
|
3116
3256
|
}
|
|
3117
3257
|
|
|
3118
3258
|
export interface PersonApiFacade {
|
|
@@ -3154,10 +3294,10 @@ export interface PersonApiFacade {
|
|
|
3154
3294
|
searchPerson(params: {
|
|
3155
3295
|
input: SearchPersonQueryCommand | SdkInput<SearchPersonQueryCommandProps>;
|
|
3156
3296
|
}): Promise<SdkResult<KtList<Person>>>;
|
|
3157
|
-
showPerson(params: {
|
|
3297
|
+
showPerson<F extends string | null | undefined = undefined>(params: {
|
|
3158
3298
|
personId: Id;
|
|
3159
|
-
fields?:
|
|
3160
|
-
}): Promise<
|
|
3299
|
+
fields?: F;
|
|
3300
|
+
}): Promise<FieldProjectionResult<F, Person>>;
|
|
3161
3301
|
showPersonByEmail(params: {
|
|
3162
3302
|
email: string;
|
|
3163
3303
|
fields?: string | null | undefined;
|
|
@@ -3341,10 +3481,10 @@ export interface OrganizationApiFacade {
|
|
|
3341
3481
|
autoPaginate?: boolean | null | undefined;
|
|
3342
3482
|
count?: number | null | undefined;
|
|
3343
3483
|
}): Promise<SdkResult<PagedListOrganization>>;
|
|
3344
|
-
showOrganization(params: {
|
|
3484
|
+
showOrganization<F extends string | null | undefined = undefined>(params: {
|
|
3345
3485
|
organizationId: Id;
|
|
3346
|
-
fields?:
|
|
3347
|
-
}): Promise<
|
|
3486
|
+
fields?: F;
|
|
3487
|
+
}): Promise<FieldProjectionResult<F, Organization>>;
|
|
3348
3488
|
showOrganizationByOrganizationnummer(params: {
|
|
3349
3489
|
organizationNumber: string;
|
|
3350
3490
|
}): Promise<SdkResult<Organization>>;
|
|
@@ -3543,36 +3683,36 @@ export interface StorageApiFacade {
|
|
|
3543
3683
|
autoPaginate?: boolean | null | undefined;
|
|
3544
3684
|
count?: number | null | undefined;
|
|
3545
3685
|
}): Promise<SdkResult<PagedListStorageRoom>>;
|
|
3546
|
-
indexStorageRoomsUser(params: {
|
|
3686
|
+
indexStorageRoomsUser<F extends string | null | undefined = undefined>(params: {
|
|
3547
3687
|
companyIds?: ReadonlyArray<Id> | null | undefined;
|
|
3548
3688
|
search?: string | null | undefined;
|
|
3549
3689
|
assigned?: boolean | null | undefined;
|
|
3550
|
-
fields?:
|
|
3690
|
+
fields?: F;
|
|
3551
3691
|
pageToken?: string | null | undefined;
|
|
3552
3692
|
autoPaginate?: boolean | null | undefined;
|
|
3553
3693
|
count?: number | null | undefined;
|
|
3554
|
-
}): Promise<
|
|
3555
|
-
listVacantStorageRooms(params: {
|
|
3694
|
+
}): Promise<PagedProjectionResult<F, PagedListStorageRoom, StorageRoom>>;
|
|
3695
|
+
listVacantStorageRooms<F extends string | null | undefined = undefined>(params: {
|
|
3556
3696
|
companyId: Id;
|
|
3557
3697
|
searchDate?: Id | null | undefined;
|
|
3558
|
-
fields?:
|
|
3559
|
-
}): Promise<
|
|
3698
|
+
fields?: F;
|
|
3699
|
+
}): Promise<ListProjectionResult<F, StorageRoomVacant>>;
|
|
3560
3700
|
showStorageRoom(params: {
|
|
3561
3701
|
companyId: Id;
|
|
3562
3702
|
storageRoomId: Id;
|
|
3563
3703
|
fields?: string | null | undefined;
|
|
3564
3704
|
}): Promise<SdkResult<StorageRoom>>;
|
|
3565
|
-
storageRoomAllocationOverview(params: {
|
|
3705
|
+
storageRoomAllocationOverview<F extends string | null | undefined = undefined>(params: {
|
|
3566
3706
|
companyId: Id;
|
|
3567
3707
|
searchDate?: Id | null | undefined;
|
|
3568
|
-
fields?:
|
|
3569
|
-
}): Promise<
|
|
3570
|
-
storageRoomVacancy(params: {
|
|
3708
|
+
fields?: F;
|
|
3709
|
+
}): Promise<FieldProjectionResult<F, StorageRoomAllocationOverview>>;
|
|
3710
|
+
storageRoomVacancy<F extends string | null | undefined = undefined>(params: {
|
|
3571
3711
|
companyId: Id;
|
|
3572
3712
|
storageRoomId: Id;
|
|
3573
3713
|
searchDate?: Id | null | undefined;
|
|
3574
|
-
fields?:
|
|
3575
|
-
}): Promise<
|
|
3714
|
+
fields?: F;
|
|
3715
|
+
}): Promise<FieldProjectionResult<F, StorageRoomVacancy>>;
|
|
3576
3716
|
unAssignStorageRoomToOrganization(params: {
|
|
3577
3717
|
companyId: Id;
|
|
3578
3718
|
storageRoomId: Id;
|
|
@@ -4190,33 +4330,33 @@ export interface ParkingApiFacade {
|
|
|
4190
4330
|
autoPaginate?: boolean | null | undefined;
|
|
4191
4331
|
count?: number | null | undefined;
|
|
4192
4332
|
}): Promise<SdkResult<PagedListParkingSpace>>;
|
|
4193
|
-
indexParkingSpacesUser(params: {
|
|
4333
|
+
indexParkingSpacesUser<F extends string | null | undefined = undefined>(params: {
|
|
4194
4334
|
companyIds?: ReadonlyArray<Id> | null | undefined;
|
|
4195
4335
|
search?: string | null | undefined;
|
|
4196
4336
|
type?: ReadonlyArray<ParkingSpaceType | "NORMAL" | "MC" | "HC"> | null | undefined;
|
|
4197
4337
|
charger?: boolean | null | undefined;
|
|
4198
4338
|
assigned?: boolean | null | undefined;
|
|
4199
|
-
fields?:
|
|
4339
|
+
fields?: F;
|
|
4200
4340
|
pageToken?: string | null | undefined;
|
|
4201
4341
|
autoPaginate?: boolean | null | undefined;
|
|
4202
4342
|
count?: number | null | undefined;
|
|
4203
|
-
}): Promise<
|
|
4204
|
-
listVacantParkingSpaces(params: {
|
|
4343
|
+
}): Promise<PagedProjectionResult<F, PagedListParkingSpace, ParkingSpace>>;
|
|
4344
|
+
listVacantParkingSpaces<F extends string | null | undefined = undefined>(params: {
|
|
4205
4345
|
companyId: Id;
|
|
4206
4346
|
searchDate?: Id | null | undefined;
|
|
4207
|
-
fields?:
|
|
4208
|
-
}): Promise<
|
|
4209
|
-
parkingSpaceAllocationOverview(params: {
|
|
4347
|
+
fields?: F;
|
|
4348
|
+
}): Promise<ListProjectionResult<F, ParkingSpaceVacant>>;
|
|
4349
|
+
parkingSpaceAllocationOverview<F extends string | null | undefined = undefined>(params: {
|
|
4210
4350
|
companyId: Id;
|
|
4211
4351
|
searchDate?: Id | null | undefined;
|
|
4212
|
-
fields?:
|
|
4213
|
-
}): Promise<
|
|
4214
|
-
parkingSpaceVacancy(params: {
|
|
4352
|
+
fields?: F;
|
|
4353
|
+
}): Promise<FieldProjectionResult<F, ParkingSpaceAllocationOverview>>;
|
|
4354
|
+
parkingSpaceVacancy<F extends string | null | undefined = undefined>(params: {
|
|
4215
4355
|
companyId: Id;
|
|
4216
4356
|
parkingSpaceId: Id;
|
|
4217
4357
|
searchDate?: Id | null | undefined;
|
|
4218
|
-
fields?:
|
|
4219
|
-
}): Promise<
|
|
4358
|
+
fields?: F;
|
|
4359
|
+
}): Promise<FieldProjectionResult<F, ParkingSpaceVacancy>>;
|
|
4220
4360
|
showParkingSpace(params: {
|
|
4221
4361
|
companyId: Id;
|
|
4222
4362
|
parkingSpaceId: Id;
|