@solibo/solibo-sdk 1.8.15 → 1.9.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/client.d.mts ADDED
@@ -0,0 +1,4368 @@
1
+ // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
+ import type {
3
+ AccountList,
4
+ ActivateCompanyForTriplewinCommand,
5
+ ActivateCompanyForTriplewinCommandProps,
6
+ AdHocInvoiceGroup,
7
+ AdHocInvoiceLine,
8
+ AdHocInvoiceLineResult,
9
+ AdHocInvoiceLinesInputCommand,
10
+ AdHocInvoiceLinesInputCommandProps,
11
+ AdHocInvoiceLinesUpdateInputCommand,
12
+ AdHocInvoiceLinesUpdateInputCommandProps,
13
+ AddAgreementDocumentToInsuranceCommand,
14
+ AddAgreementDocumentToInsuranceCommandProps,
15
+ AddAgreementDocumentToLoanCommand,
16
+ AddAgreementDocumentToLoanCommandProps,
17
+ AddBoardmemberCommand,
18
+ AddBoardmemberCommandProps,
19
+ AddExternalConversationParticipantCommand,
20
+ AddExternalConversationParticipantCommandProps,
21
+ AddExternalCustomerCommand,
22
+ AddExternalCustomerCommandProps,
23
+ ApproveSupplierInvoiceCommand,
24
+ ApproveSupplierInvoiceCommandProps,
25
+ AssignParkingSpaceCommand,
26
+ AssignParkingSpaceCommandProps,
27
+ AssignStorageRoomCommand,
28
+ AssignStorageRoomCommandProps,
29
+ AssociateTotpMfaCommand,
30
+ AssociateTotpMfaCommandProps,
31
+ AttachIssueToMeetingCommand,
32
+ AttachIssueToMeetingCommandProps,
33
+ Auth,
34
+ AuthChallengeType,
35
+ AuthMode,
36
+ AuthUser,
37
+ AuthorizationSupportRequestCommand,
38
+ AuthorizationSupportRequestCommandProps,
39
+ Base64ByteArray,
40
+ BatchConversationStateCommand,
41
+ BatchConversationStateCommandProps,
42
+ BatchMoveConversationsToFolderCommand,
43
+ BatchMoveConversationsToFolderCommandProps,
44
+ BatchMoveDocumentsCommand,
45
+ BatchMoveDocumentsCommandProps,
46
+ BatchRestoreDocumentsCommand,
47
+ BatchRestoreDocumentsCommandProps,
48
+ BatchTrashDocumentsCommand,
49
+ BatchTrashDocumentsCommandProps,
50
+ BoardmemberPersonnummer,
51
+ BorettslagSearchCommand,
52
+ BorettslagSearchCommandProps,
53
+ BulkCreateConversationItemStatus,
54
+ BulkCreateConversationsCommand,
55
+ BulkCreateConversationsCommandProps,
56
+ BulkCreateConversationsResult,
57
+ BulkCreateHomepagePostItemStatus,
58
+ BulkCreateHomepagePostsCommand,
59
+ BulkCreateHomepagePostsCommandProps,
60
+ BulkCreateHomepagePostsResult,
61
+ BulkCreateHomepagePracticalInfoCommand,
62
+ BulkCreateHomepagePracticalInfoCommandProps,
63
+ BulkCreateHomepagePracticalInfoItemStatus,
64
+ BulkCreateHomepagePracticalInfoResult,
65
+ BulkCreateIssueItemStatus,
66
+ BulkCreateIssuesCommand,
67
+ BulkCreateIssuesCommandProps,
68
+ BulkCreateIssuesResult,
69
+ BulkCreateMeetingItemStatus,
70
+ BulkCreateMeetingsCommand,
71
+ BulkCreateMeetingsCommandProps,
72
+ BulkCreateMeetingsResult,
73
+ BulkCreateNewsletterItemStatus,
74
+ BulkCreateNewslettersCommand,
75
+ BulkCreateNewslettersCommandProps,
76
+ BulkCreateNewslettersResult,
77
+ BulkCreateSMSBroadcastItemStatus,
78
+ BulkCreateSMSBroadcastsCommand,
79
+ BulkCreateSMSBroadcastsCommandProps,
80
+ BulkCreateSMSBroadcastsResult,
81
+ BulkImportTaskItemStatus,
82
+ BulkImportTasksCommand,
83
+ BulkImportTasksCommandProps,
84
+ BulkImportTasksResult,
85
+ BulkPublishNewsletterItemStatus,
86
+ BulkPublishNewslettersCommand,
87
+ BulkPublishNewslettersCommandProps,
88
+ BulkPublishNewslettersResult,
89
+ BulkPublishSMSBroadcastItemStatus,
90
+ BulkPublishSMSBroadcastsCommand,
91
+ BulkPublishSMSBroadcastsCommandProps,
92
+ BulkPublishSMSBroadcastsResult,
93
+ BulkUpdateCompanyDetailedCommand,
94
+ BulkUpdateCompanyDetailedCommandProps,
95
+ BulkUpdateCompanyDetailedItemStatus,
96
+ BulkUpdateCompanyDetailedResult,
97
+ BulkUserActions,
98
+ CategoryColor,
99
+ ChangeResponsibleCommand,
100
+ ChangeResponsibleCommandProps,
101
+ ChannelType,
102
+ ClientUserCompanyScope,
103
+ CloseInsuranceCommand,
104
+ CloseInsuranceCommandProps,
105
+ CloseInvoiceCommand,
106
+ CloseInvoiceCommandProps,
107
+ CloseLoanCommand,
108
+ CloseLoanCommandProps,
109
+ CloseMeetingCommand,
110
+ CloseMeetingCommandProps,
111
+ CommunicationMessageType,
112
+ CommunicationRecipientType,
113
+ CommunicationReport,
114
+ CommunicationState,
115
+ Company,
116
+ CompanyDetailed,
117
+ CompanyOrdinances,
118
+ CompanyStatus,
119
+ CompanySubType,
120
+ CompleteTaskCommand,
121
+ CompleteTaskCommandProps,
122
+ ConfirmMagicEmailCommand,
123
+ ConfirmMagicEmailCommandProps,
124
+ ConfirmMagicSmsCommand,
125
+ ConfirmMagicSmsCommandProps,
126
+ ConfirmNewPasswordCommand,
127
+ ConfirmNewPasswordCommandProps,
128
+ ContactOrderCommand,
129
+ ContactOrderCommandProps,
130
+ ContactSalesCommand,
131
+ ContactSalesCommandProps,
132
+ ContactSource,
133
+ ContactTryFreeCommand,
134
+ ContactTryFreeCommandProps,
135
+ Conversation,
136
+ ConversationCategoryParticipantPreview,
137
+ ConversationCount,
138
+ ConversationCountConversationCountByCompanyMap,
139
+ ConversationCountConversationCountMap,
140
+ ConversationEventType,
141
+ ConversationFolder,
142
+ ConversationStatus,
143
+ CreateAttendanceCommand,
144
+ CreateAttendanceCommandProps,
145
+ CreateChangeRequestCommand,
146
+ CreateChangeRequestCommandProps,
147
+ CreateConversationCategoryCommand,
148
+ CreateConversationCategoryCommandProps,
149
+ CreateConversationCommand,
150
+ CreateConversationCommandProps,
151
+ CreateCustomerClaimCommand,
152
+ CreateCustomerClaimCommandProps,
153
+ CreateCustomerCommentCommand,
154
+ CreateCustomerCommentCommandProps,
155
+ CreateDocumentReferenceCommand,
156
+ CreateDocumentReferenceCommandProps,
157
+ CreateEmployeeCommand,
158
+ CreateEmployeeCommandProps,
159
+ CreateExpenseCommand,
160
+ CreateExpenseCommandProps,
161
+ CreateExternalCustomerCommand,
162
+ CreateFolderCommand,
163
+ CreateFolderCommandProps,
164
+ CreateHmsSettingsCommand,
165
+ CreateHmsSettingsCommandProps,
166
+ CreateInquiryCommand,
167
+ CreateInquiryCommandProps,
168
+ CreateInsuranceCommand,
169
+ CreateInsuranceCommandProps,
170
+ CreateInternalMessageCommand,
171
+ CreateInternalMessageCommandProps,
172
+ CreateInvoiceDistributionCommand,
173
+ CreateInvoiceDistributionCommandProps,
174
+ CreateInvoicePlanCommand,
175
+ CreateInvoicePlanCommandProps,
176
+ CreateInvoicePlanLineCommand,
177
+ CreateInvoicePlanLineCommandProps,
178
+ CreateInvoiceRecipientCommand,
179
+ CreateInvoiceRecipientCommandProps,
180
+ CreateIssueCommand,
181
+ CreateIssueCommandProps,
182
+ CreateIssueCommentCommand,
183
+ CreateIssueCommentCommandProps,
184
+ CreateLoanCommand,
185
+ CreateLoanCommandProps,
186
+ CreateM2MTokensCommand,
187
+ CreateM2MTokensCommandProps,
188
+ CreateMeetingCommand,
189
+ CreateMeetingCommandProps,
190
+ CreateMeetingNotificationCommand,
191
+ CreateMeetingNotificationCommandProps,
192
+ CreateMeetingReminderNotificationCommand,
193
+ CreateMeetingReminderNotificationCommandProps,
194
+ CreateMessageCommand,
195
+ CreateMessageCommandProps,
196
+ CreateNewsletterCommand,
197
+ CreateNewsletterCommandProps,
198
+ CreateParkingSpaceCommand,
199
+ CreateParkingSpaceCommandProps,
200
+ CreatePostCommand,
201
+ CreatePostCommandProps,
202
+ CreateResetPasswordCommand,
203
+ CreateResetPasswordCommandProps,
204
+ CreateResidentCommand,
205
+ CreateRoutineCommand,
206
+ CreateRoutineCommandProps,
207
+ CreateSMSBroadcastCommand,
208
+ CreateSMSBroadcastCommandProps,
209
+ CreateScopedContactEndpointCommand,
210
+ CreateScopedContactEndpointCommandProps,
211
+ CreateSectionCommand,
212
+ CreateSectionCommandProps,
213
+ CreateSettlementCommand,
214
+ CreateSettlementCommandProps,
215
+ CreateSettlementCustomCostCommand,
216
+ CreateSettlementCustomCostCommandProps,
217
+ CreateSettlementProviderConfigurationCommand,
218
+ CreateSettlementProviderConfigurationCommandProps,
219
+ CreateStatusCommand,
220
+ CreateStatusCommandProps,
221
+ CreateStorageRoomCommand,
222
+ CreateStorageRoomCommandProps,
223
+ CreateSupplierCommand,
224
+ CreateSupplierCommandProps,
225
+ CreateSupplierCommentCommand,
226
+ CreateSupplierCommentCommandProps,
227
+ CreateSupplierContactCommand,
228
+ CreateSupplierContactCommandProps,
229
+ CreateSupplierForCompanyCommand,
230
+ CreateSupplierForCompanyCommandProps,
231
+ CreateSupplierInvoiceNotificationCommand,
232
+ CreateSupplierInvoiceNotificationCommandProps,
233
+ CreateTaskCommand,
234
+ CreateTaskCommandProps,
235
+ CreateTokensCommand,
236
+ CreateTokensCommandProps,
237
+ CreditInvoiceCommand,
238
+ CreditInvoiceCommandProps,
239
+ Customer,
240
+ CustomerClassification,
241
+ CustomerMetadata,
242
+ CustomerType,
243
+ DeviceSrpCommand,
244
+ DeviceSrpCommandProps,
245
+ DeviceVerifySrpCommand,
246
+ DeviceVerifySrpCommandProps,
247
+ DialogActivityType,
248
+ DialogStatus,
249
+ DialogSystemLabel,
250
+ Document,
251
+ DocumentType,
252
+ DocumentUploadTicket,
253
+ DownloadDocumentRequest,
254
+ DownloadDocumentRequestProps,
255
+ DraftCompany,
256
+ EconomicReport,
257
+ EconomicReportResponse,
258
+ EconomicReportStatus,
259
+ EditResidencyCommand,
260
+ EditResidencyCommandProps,
261
+ EmailInlineConfirmCommand,
262
+ EmailInlineConfirmCommandProps,
263
+ EventBus,
264
+ Expense,
265
+ ExpenseCount,
266
+ ExpenseProcessingResult,
267
+ ExpenseStatus,
268
+ ExpiredType,
269
+ FcmDeviceType,
270
+ FilesDownload,
271
+ FinalizeConversationMessageDocumentCommand,
272
+ FinalizeConversationMessageDocumentCommandProps,
273
+ FinalizeHomepageDocumentCreateCommand,
274
+ FinalizeHomepageDocumentCreateCommandProps,
275
+ FinalizeHomepageDocumentUpdateCommand,
276
+ FinalizeHomepageDocumentUpdateCommandProps,
277
+ FinalizeNewsletterDocumentCreateCommand,
278
+ FinalizeNewsletterDocumentCreateCommandProps,
279
+ FinalizeNewsletterDocumentUpdateCommand,
280
+ FinalizeNewsletterDocumentUpdateCommandProps,
281
+ FindResidentByOrgNrCommand,
282
+ FindResidentByOrgNrCommandProps,
283
+ FindResidentByPersonalIdentityNumberCommand,
284
+ FindResidentByPersonalIdentityNumberCommandProps,
285
+ FindResidentResult,
286
+ FollowUpIssueLaterCommand,
287
+ FollowUpIssueLaterCommandProps,
288
+ FractionRecipientType,
289
+ FractionType,
290
+ FullEmailContent,
291
+ GenerateThirdPartyInformationCommand,
292
+ GenerateThirdPartyInformationCommandProps,
293
+ GenghisPersonnummerSearchCommand,
294
+ GenghisPersonnummerSearchCommandProps,
295
+ HmsSettings,
296
+ Homepage,
297
+ InlineDistributionType,
298
+ Insurance,
299
+ IntegratedConversationMessageResult,
300
+ IntegratedDocumentRole,
301
+ IntegratedHomepageMutationResult,
302
+ IntegratedNewsletterMutationResult,
303
+ Invoice,
304
+ InvoiceDistributionReceiverType,
305
+ InvoiceDistributionType,
306
+ InvoiceInput,
307
+ InvoicePlan,
308
+ InvoicePlanDistribution,
309
+ InvoicePlanInterval,
310
+ InvoicePlanLine,
311
+ InvoicePlanMode,
312
+ InvoicePlanSettings,
313
+ InvoicePlanType,
314
+ InvoiceProcessType,
315
+ InvoiceProcessingResult,
316
+ InvoiceRecipient,
317
+ InvoiceResultPreview,
318
+ InvoiceSettings,
319
+ InvoiceState,
320
+ InvoiceType,
321
+ IssueDetails,
322
+ IssueStatus,
323
+ JobState,
324
+ KartverketFetchState,
325
+ KartverketResult,
326
+ KtList,
327
+ KtMap,
328
+ KtMutableList,
329
+ KtMutableMap,
330
+ LOANLOGTYPE,
331
+ LeveranseType3po,
332
+ Loan,
333
+ LoginType,
334
+ MagicEmailCommand,
335
+ MagicEmailCommandProps,
336
+ MagicSMSCommand,
337
+ MagicSMSCommandProps,
338
+ MassCommunicationGroups,
339
+ MassEditOrganizationCommand,
340
+ MassEditOrganizationCommandProps,
341
+ MassEditPersonCommand,
342
+ MassEditPersonCommandProps,
343
+ MassEditRolesCommand,
344
+ MassEditRolesCommandProps,
345
+ MassInvoiceOverdueDisableCommand,
346
+ MassInvoiceOverdueDisableCommandProps,
347
+ MassInvoiceOverdueEnableCommand,
348
+ MassInvoiceOverdueEnableCommandProps,
349
+ MassUpdateFractionsCommand,
350
+ MassUpdateFractionsCommandProps,
351
+ MassUpdateSectionCommand,
352
+ MassUpdateSectionCommandProps,
353
+ McpRefreshRequest,
354
+ McpRefreshRequestProps,
355
+ McpTokenRequest,
356
+ McpTokenRequestProps,
357
+ McpTokenResponse,
358
+ MeetingDetails,
359
+ MeetingStatus,
360
+ MergePersonsCommand,
361
+ MergePersonsCommandProps,
362
+ MergeSectionsCommand,
363
+ MergeSectionsCommandProps,
364
+ MessageInConversation,
365
+ MessageType,
366
+ MfaConfirmationCommand,
367
+ MfaConfirmationCommandProps,
368
+ MfaPreferenceCommand,
369
+ MfaPreferenceCommandProps,
370
+ MfaPreferenceResult,
371
+ MfaSelectionCommand,
372
+ MfaSelectionCommandProps,
373
+ MfaType,
374
+ ModifyCustomerMetadataCommand,
375
+ ModifyCustomerMetadataCommandProps,
376
+ MoveConversationToFolderCommand,
377
+ MoveConversationToFolderCommandProps,
378
+ Newsletter,
379
+ NewsletterSubscribeCommand,
380
+ NewsletterSubscribeCommandProps,
381
+ NotificationGroupType,
382
+ OrderEconomicReportCommand,
383
+ OrderEconomicReportCommandProps,
384
+ OrderType,
385
+ Organization,
386
+ OrganizationEmployee,
387
+ OverdueInvoiceCustomerPreview,
388
+ OverdueNoticeOrder,
389
+ OverrideThirdPartyInformationResultCommand,
390
+ OverrideThirdPartyInformationResultCommandProps,
391
+ OwnerChangeSectionCommand,
392
+ OwnerChangeSectionCommandProps,
393
+ PagedListAccount,
394
+ PagedListAdHocInvoiceGroup,
395
+ PagedListAdHocInvoiceLine,
396
+ PagedListAttendance,
397
+ PagedListCompany,
398
+ PagedListCompanyAddress,
399
+ PagedListCompanyDetailed,
400
+ PagedListCompanySectionStatusOverview,
401
+ PagedListCompanySubType,
402
+ PagedListConversation,
403
+ PagedListConversationFolder,
404
+ PagedListCountry,
405
+ PagedListCustomer,
406
+ PagedListDevice,
407
+ PagedListDocument,
408
+ PagedListDocumentType,
409
+ PagedListDraftOverview,
410
+ PagedListEconomicReport,
411
+ PagedListExpense,
412
+ PagedListExpenseType,
413
+ PagedListExpiredType,
414
+ PagedListGlobalPreview,
415
+ PagedListInsurance,
416
+ PagedListInvoice,
417
+ PagedListInvoiceInput,
418
+ PagedListInvoicePlan,
419
+ PagedListInvoicePlanDistribution,
420
+ PagedListInvoicePlanLine,
421
+ PagedListInvoicePlanTransaction,
422
+ PagedListInvoicePlanTransactionOverview,
423
+ PagedListInvoicePlanType,
424
+ PagedListInvoicePreview,
425
+ PagedListInvoiceSettings,
426
+ PagedListIssue,
427
+ PagedListLoan,
428
+ PagedListLoanLog,
429
+ PagedListLong,
430
+ PagedListMassEditOrganization,
431
+ PagedListMeeting,
432
+ PagedListNewsletter,
433
+ PagedListNotificationGroup,
434
+ PagedListOrganization,
435
+ PagedListOwnershipChange,
436
+ PagedListParkingSpace,
437
+ PagedListPaymentHandling,
438
+ PagedListPaymentRecord,
439
+ PagedListPerson,
440
+ PagedListPost,
441
+ PagedListPublicConversationCategory,
442
+ PagedListPushNotificationInboxItem,
443
+ PagedListQueuedInvoice,
444
+ PagedListResident,
445
+ PagedListResidentType,
446
+ PagedListRoutine,
447
+ PagedListRoutineDraft,
448
+ PagedListRoutineGroup,
449
+ PagedListRoutineType,
450
+ PagedListSMSBroadcast,
451
+ PagedListSMSBundle,
452
+ PagedListSMSBundlePurchase,
453
+ PagedListSection,
454
+ PagedListSectionInvoiceRecipientOverview,
455
+ PagedListSectionTag,
456
+ PagedListSecureConversationCategory,
457
+ PagedListSettlement,
458
+ PagedListSettlementCustomCost,
459
+ PagedListSettlementProvider,
460
+ PagedListSettlementProviderConfiguration,
461
+ PagedListSettlementType,
462
+ PagedListStorageRoom,
463
+ PagedListString,
464
+ PagedListSupplier,
465
+ PagedListSupplierContact,
466
+ PagedListSupplierForCompany,
467
+ PagedListSupplierInvoice,
468
+ PagedListTask,
469
+ PagedListThirdPartyInformationYear,
470
+ PagedListThreePOYear,
471
+ PagedListUserConversations,
472
+ ParkingSpace,
473
+ ParkingSpaceAllocationOverview,
474
+ ParkingSpaceAllocationStatus,
475
+ ParkingSpaceOwnerType,
476
+ ParkingSpaceType,
477
+ ParkingSpaceVacancy,
478
+ ParkingSpaceVacant,
479
+ ParticipantType,
480
+ PayeeType,
481
+ PayerType,
482
+ PaymentHandlingStatus,
483
+ PeriodicTaskIntervalMethod,
484
+ PeriodicTaskIntervalType,
485
+ Person,
486
+ PersonStatus,
487
+ PersonUser,
488
+ PersonnummerResult,
489
+ PolicyEffect,
490
+ Post,
491
+ PreferredAdvertisement,
492
+ PublicConversation,
493
+ RefreshTokensCommand,
494
+ RefreshTokensCommandProps,
495
+ RegisterAttendanceCommand,
496
+ RegisterAttendanceCommandProps,
497
+ RegisterDeviceCommand,
498
+ RegisterDeviceCommandProps,
499
+ RejectExpenseCommand,
500
+ RejectExpenseCommandProps,
501
+ RejectSupplierInvoiceCommand,
502
+ RejectSupplierInvoiceCommandProps,
503
+ RelationType,
504
+ RenameDocumentCommand,
505
+ RenameDocumentCommandProps,
506
+ ReorderIssueInMeetingCommand,
507
+ ReorderIssueInMeetingCommandProps,
508
+ RequestMethod,
509
+ Resident,
510
+ ResidentRoleHistory,
511
+ ResidentType,
512
+ ResolveContactCommand,
513
+ ResolveContactCommandProps,
514
+ ResolvedEndpoint,
515
+ RestoreDocumentCommand,
516
+ RestoreDocumentCommandProps,
517
+ RoleType,
518
+ Routine,
519
+ RoutineInterval,
520
+ RoutineMethod,
521
+ RoutineType,
522
+ Rsvp,
523
+ RsvpCommand,
524
+ RsvpCommandProps,
525
+ SMSBroadcast,
526
+ SMSBundle,
527
+ SMSCount,
528
+ SameieAddresseSearchCommand,
529
+ SameieAddresseSearchCommandProps,
530
+ SameieMatrikkelSearchCommand,
531
+ SameieMatrikkelSearchCommandProps,
532
+ ScopedContactEndpoint,
533
+ SearchPersonQueryCommand,
534
+ SearchPersonQueryCommandProps,
535
+ Section,
536
+ SectionDeletionReason,
537
+ SectionFractionSectionFractionMapValue,
538
+ SectionOnboardingStatus,
539
+ SectionState,
540
+ SectionStatusOperation,
541
+ SectionStatusSectionStatusMapValue,
542
+ SectionTagCommand,
543
+ SectionTagCommandProps,
544
+ SectionTagTagsBySectionMapValue,
545
+ SectionType,
546
+ SecureConversationCategory,
547
+ SecureConversationCategoryProps,
548
+ SendLetterCommand,
549
+ SendLetterCommandProps,
550
+ SensitiveData,
551
+ SentLetter,
552
+ SetSupplierCommentEmoticonCommand,
553
+ SetSupplierCommentEmoticonCommandProps,
554
+ Settlement,
555
+ SettlementCustomCost,
556
+ SettlementProvider,
557
+ SettlementProviderConfiguration,
558
+ SettlementType,
559
+ SoftwareTokenAssociation,
560
+ SoliboAuthentication,
561
+ SoliboContacts,
562
+ SoliboInstant,
563
+ SoliboLocalDate,
564
+ SoliboLocalDateTime,
565
+ SoliboSDK,
566
+ SoliboSDKJsBuilderProps,
567
+ SplitSectionCommand,
568
+ SplitSectionCommandProps,
569
+ StorageRoom,
570
+ StorageRoomAllocationOverview,
571
+ StorageRoomAllocationStatus,
572
+ StorageRoomOwnerType,
573
+ StorageRoomVacancy,
574
+ StorageRoomVacant,
575
+ Supplier,
576
+ SupplierComment,
577
+ SupplierForCompany,
578
+ SupplierInvoiceApprovalCounts,
579
+ SupplierInvoiceCount,
580
+ SupplierInvoiceList,
581
+ SupplierInvoiceNotification,
582
+ SupplierInvoiceProcessingResult,
583
+ SupplierInvoiceStatus,
584
+ Task,
585
+ TaskEventType,
586
+ TenantType,
587
+ ThirdPartyInformation,
588
+ ThreePODialog,
589
+ TransmissionDialogType,
590
+ TripletexAccountFractionsResponse,
591
+ TriplewinOverdueInvoiceOverview,
592
+ UnassignParkingSpaceCommand,
593
+ UnassignParkingSpaceCommandProps,
594
+ UnassignStorageRoomCommand,
595
+ UnassignStorageRoomCommandProps,
596
+ UpdateActiveManagement,
597
+ UpdateActiveManagementProps,
598
+ UpdateAdHocInvoiceGroupCommand,
599
+ UpdateAdHocInvoiceGroupCommandProps,
600
+ UpdateAttendanceCommand,
601
+ UpdateAttendanceCommandProps,
602
+ UpdateCompanyDetailedCommand,
603
+ UpdateCompanyDetailedCommandProps,
604
+ UpdateCompanyStatusCommand,
605
+ UpdateCompanyStatusCommandProps,
606
+ UpdateConversationCategoryCommand,
607
+ UpdateConversationCategoryCommandProps,
608
+ UpdateConversationCommand,
609
+ UpdateConversationCommandProps,
610
+ UpdateEmployeeCommand,
611
+ UpdateEmployeeCommandProps,
612
+ UpdateExternalInvoiceRecipientCommand,
613
+ UpdateExternalInvoiceRecipientCommandProps,
614
+ UpdateFeedWeightingCommand,
615
+ UpdateFeedWeightingCommandProps,
616
+ UpdateFolderCommand,
617
+ UpdateFolderCommandProps,
618
+ UpdateHmsSettingsCommand,
619
+ UpdateHmsSettingsCommandProps,
620
+ UpdateINAgreementCommand,
621
+ UpdateINAgreementCommandProps,
622
+ UpdateInvoiceDistributionCommand,
623
+ UpdateInvoiceDistributionCommandProps,
624
+ UpdateInvoicePlanCommand,
625
+ UpdateInvoicePlanCommandProps,
626
+ UpdateInvoicePlanLineCommand,
627
+ UpdateInvoicePlanLineCommandProps,
628
+ UpdateInvoicePlanLineNameCommand,
629
+ UpdateInvoicePlanLineNameCommandProps,
630
+ UpdateInvoicePlanSettingsCommand,
631
+ UpdateInvoicePlanSettingsCommandProps,
632
+ UpdateInvoiceRecipientCommand,
633
+ UpdateInvoiceRecipientCommandProps,
634
+ UpdateInvoiceSettingsCommand,
635
+ UpdateInvoiceSettingsCommandProps,
636
+ UpdateIssueCommand,
637
+ UpdateIssueCommandProps,
638
+ UpdateIssueCommentCommand,
639
+ UpdateIssueCommentCommandProps,
640
+ UpdateKartverketResultCommand,
641
+ UpdateKartverketResultCommandProps,
642
+ UpdateLoanInterestCommand,
643
+ UpdateLoanInterestCommandProps,
644
+ UpdateManagementCommand,
645
+ UpdateManagementCommandProps,
646
+ UpdateMeetingCommand,
647
+ UpdateMeetingCommandProps,
648
+ UpdateMeetingParticipantsCommand,
649
+ UpdateMeetingParticipantsCommandProps,
650
+ UpdateNewsletterCommand,
651
+ UpdateNewsletterCommandProps,
652
+ UpdateNotatCommand,
653
+ UpdateNotatCommandProps,
654
+ UpdateNoteCommand,
655
+ UpdateNoteCommandProps,
656
+ UpdateOrganizationCommand,
657
+ UpdateOrganizationCommandProps,
658
+ UpdateOrganizationReservationsCommand,
659
+ UpdateOrganizationReservationsCommandProps,
660
+ UpdateParkingSpaceCommand,
661
+ UpdateParkingSpaceCommandProps,
662
+ UpdatePersonCommand,
663
+ UpdatePersonCommandProps,
664
+ UpdatePersonReservationsCommand,
665
+ UpdatePersonReservationsCommandProps,
666
+ UpdatePostCommand,
667
+ UpdatePostCommandProps,
668
+ UpdateProfileCommand,
669
+ UpdateProfileCommandProps,
670
+ UpdateRealtimeSupplierInvoiceNotificationCommand,
671
+ UpdateRealtimeSupplierInvoiceNotificationCommandProps,
672
+ UpdateReportCommand,
673
+ UpdateReportCommandProps,
674
+ UpdateResidentCommand,
675
+ UpdateResolutionCommand,
676
+ UpdateResolutionCommandProps,
677
+ UpdateRoutineCommand,
678
+ UpdateRoutineCommandProps,
679
+ UpdateSMSBroadcastCommand,
680
+ UpdateSMSBroadcastCommandProps,
681
+ UpdateScopedContactEndpointCommand,
682
+ UpdateScopedContactEndpointCommandProps,
683
+ UpdateSectionCommand,
684
+ UpdateSectionCommandProps,
685
+ UpdateSectionInvoiceRecipientCommand,
686
+ UpdateSectionInvoiceRecipientCommandProps,
687
+ UpdateServiceCategoriesCommand,
688
+ UpdateServiceCategoriesCommandProps,
689
+ UpdateSettlementCommand,
690
+ UpdateSettlementCommandProps,
691
+ UpdateSettlementCustomCostCommand,
692
+ UpdateSettlementCustomCostCommandProps,
693
+ UpdateSettlementProviderConfigurationCommand,
694
+ UpdateSettlementProviderConfigurationCommandProps,
695
+ UpdateStatusCommand,
696
+ UpdateStatusCommandProps,
697
+ UpdateStorageRoomCommand,
698
+ UpdateStorageRoomCommandProps,
699
+ UpdateSupplierCommand,
700
+ UpdateSupplierCommandProps,
701
+ UpdateSupplierContactCommand,
702
+ UpdateSupplierContactCommandProps,
703
+ UpdateSupplierForCompanyCommand,
704
+ UpdateSupplierForCompanyCommandProps,
705
+ UpdateSupplierInvoiceNotificationCommand,
706
+ UpdateSupplierInvoiceNotificationCommandProps,
707
+ UpdateTaskCommand,
708
+ UpdateTaskCommandProps,
709
+ UploadBinaryRequest,
710
+ UploadBinaryRequestProps,
711
+ UploadDocumentRequest,
712
+ UploadDocumentRequestProps,
713
+ UploadProgress,
714
+ UploadProgressProps,
715
+ UpsertOrdinancesCommand,
716
+ UpsertOrdinancesCommandProps,
717
+ UpsertSettlementProviderCredentialsCommand,
718
+ UpsertSettlementProviderCredentialsCommandProps,
719
+ UrlWrapper,
720
+ ValidateSMSCommand,
721
+ ValidateSMSCommandProps,
722
+ VerifyAssociateTotpMfaCommand,
723
+ VerifyAssociateTotpMfaCommandProps,
724
+ VerifyMfaCommand,
725
+ VerifyMfaCommandProps,
726
+ VerifySrpCommand,
727
+ VerifySrpCommandProps,
728
+ } from './solibo-sdk-sdk.mjs';
729
+ import type * as Raw from './solibo-sdk-sdk.mjs';
730
+
731
+ export type Id = bigint | number | string;
732
+
733
+ export type SdkInput<T> =
734
+ T extends SoliboInstant | SoliboLocalDate | SoliboLocalDateTime ? T | string :
735
+ T extends AuthChallengeType ? AuthChallengeType | "SMS_MFA" | "EMAIL_TOTF_MFA" | "TOTF_MFA" | "SELECT_MFA" | "SETUP_MFA" | "DEVICE_SRP" | "DEVICE_VERIFIER" | "NEW_PASSWORD" | "ADMIN_NO_SRP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" :
736
+ T extends BulkCreateConversationItemStatus ? BulkCreateConversationItemStatus | "CREATED" | "VALIDATED" :
737
+ T extends BulkCreateHomepagePostItemStatus ? BulkCreateHomepagePostItemStatus | "CREATED" | "VALIDATED" :
738
+ T extends BulkCreateHomepagePracticalInfoItemStatus ? BulkCreateHomepagePracticalInfoItemStatus | "CREATED" | "VALIDATED" :
739
+ T extends BulkCreateIssueItemStatus ? BulkCreateIssueItemStatus | "CREATED" | "VALIDATED" :
740
+ T extends BulkCreateMeetingItemStatus ? BulkCreateMeetingItemStatus | "CREATED" | "VALIDATED" :
741
+ T extends BulkCreateNewsletterItemStatus ? BulkCreateNewsletterItemStatus | "CREATED" | "VALIDATED" :
742
+ T extends BulkCreateSMSBroadcastItemStatus ? BulkCreateSMSBroadcastItemStatus | "CREATED" | "VALIDATED" :
743
+ T extends BulkImportTaskItemStatus ? BulkImportTaskItemStatus | "CREATED" | "VALIDATED" :
744
+ T extends BulkPublishNewsletterItemStatus ? BulkPublishNewsletterItemStatus | "PUBLISHED" | "VALIDATED" :
745
+ T extends BulkPublishSMSBroadcastItemStatus ? BulkPublishSMSBroadcastItemStatus | "PUBLISHED" | "VALIDATED" :
746
+ T extends BulkUpdateCompanyDetailedItemStatus ? BulkUpdateCompanyDetailedItemStatus | "UPDATED" | "VALIDATED" :
747
+ T extends CategoryColor ? CategoryColor | "YELLOW" | "PEACH" | "MAGENTA" | "PURPLE" | "BLUE" | "GREEN" :
748
+ T extends ChannelType ? ChannelType | "EMAIL" | "SMS" :
749
+ T extends ClientUserCompanyScope ? ClientUserCompanyScope | "READ_ONLY" | "BOARD" | "ADMIN" :
750
+ T extends CommunicationMessageType ? CommunicationMessageType | "EMAIL" | "SMS" | "PUSH" :
751
+ T extends CommunicationRecipientType ? CommunicationRecipientType | "PERSON" | "ORGANIZATION" | "EXTERNAL" :
752
+ T extends CommunicationState ? CommunicationState | "SENT" | "BOUNCE" | "COMPLAINT" | "REJECT" | "DELIVERY" | "DELAY" | "OPEN" | "CLICK" | "UNKNOWN" :
753
+ T extends CompanyStatus ? CompanyStatus | "LEAD" | "ONBOARDING" | "IMPORTED" | "ACTIVE" | "INACTIVE" :
754
+ T extends CompanySubType ? CompanySubType | "GARAGE" :
755
+ T extends ContactSource ? ContactSource | "PRIVATE" | "ROLE_SCOPED" | "ORGANIZATION_EMPLOYEE" :
756
+ T extends ConversationEventType ? ConversationEventType | "NEW_PARTICIPANT" | "REMOVED_PARTICIPANT" | "LEFT_CONVERSATION" | "UPDATED_TITLE" | "UPDATED_CATEGORY" | "COMPLETED" | "UPLOAD" | "DELETED_UPLOAD" | "BACK_TO_WORK" | "NEW_INQUIRY" | "ATTACH_TO_ISSUE" | "REMOVE_ATTACHMENT_TO_ISSUE" | "CREATED_ISSUE" :
757
+ T extends ConversationStatus ? ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" :
758
+ T extends CustomerClassification ? CustomerClassification | "PERSON" | "ORGANIZATION" :
759
+ T extends CustomerType ? CustomerType | "PERSON" | "ORGANIZATION" :
760
+ T extends DialogActivityType ? DialogActivityType | "DialogCreated" | "DialogClosed" | "Information" | "TransmissionOpened" | "PaymentMade" | "SignatureProvided" | "DialogOpened" | "DialogDeleted" | "DialogRestored" | "SentToSigning" | "SentToFormFill" | "SentToSendIn" | "SentToPayment" :
761
+ T extends DialogStatus ? DialogStatus | "InProgress" | "Draft" | "RequiresAttention" | "Completed" | "NotApplicable" | "Awaiting" :
762
+ T extends DialogSystemLabel ? DialogSystemLabel | "Default" | "Inbox" | "Outbox" | "Draft" | "Sent" | "Archive" | "Bin" :
763
+ 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" | "NEWSLETTER" | "ROUTINE" | "INSURANCE" | "LOAN" | "INVOICE" | "ADHOC" | "ECONOMIC_REPORT" | "SETTLEMENT" | "SETTLEMENT_CUSTOM_COST" | "MESSAGE" | "INTERNAL_MESSAGE" | "OTHER" | "TRASH" :
764
+ T extends EconomicReportStatus ? EconomicReportStatus | "ORDERED" | "DELIVERED" :
765
+ T extends ExpenseProcessingResult ? ExpenseProcessingResult | "APPROVED" | "REJECTED" :
766
+ T extends ExpenseStatus ? ExpenseStatus | "FOR_APPROVAL" | "APPROVED" | "REJECTED" :
767
+ T extends ExpiredType ? ExpiredType | "NONE" | "FIRST" | "SECOND" :
768
+ T extends FcmDeviceType ? FcmDeviceType | "ANDROID" | "IOS" | "WEB" | "UNKNOWN" :
769
+ T extends FractionRecipientType ? FractionRecipientType | "PERSON" | "ORGANIZATION" :
770
+ T extends FractionType ? FractionType | "OWNER" | "SECTION" | "IN_ONE" | "IN_TWO" | "IN_THREE" | "IN_FOUR" | "WEALTH" :
771
+ T extends InlineDistributionType ? InlineDistributionType | "FLAT" | "BROK" :
772
+ T extends IntegratedDocumentRole ? IntegratedDocumentRole | "IMAGE" | "ATTACHMENT" | "INLINE" :
773
+ T extends InvoiceDistributionReceiverType ? InvoiceDistributionReceiverType | "BOLIG" | "PERSON" | "ORGANIZATION" :
774
+ T extends InvoiceDistributionType ? InvoiceDistributionType | "FLAT" | "FRACTION" | "CUSTOM" :
775
+ T extends InvoicePlanInterval ? InvoicePlanInterval | "MONTHLY" | "QUARTERLY" | "BIANNUAL" | "ANNUAL" | "NONE" :
776
+ T extends InvoicePlanMode ? InvoicePlanMode | "INVOICE_DATE" | "DUE_DATE" :
777
+ T extends InvoicePlanType ? InvoicePlanType | "FELLESKOSTNADER" | "KAPITALINNKREVING" | "OTHER" :
778
+ T extends InvoiceProcessType ? InvoiceProcessType | "EFAKTURA" | "AVTALEGIRO" | "COMBO" | "COMBOAPI" | "EMAIL" | "DIGIPOST" | "DIGIPOST_PRINT" | "EHF" | "NONE" :
779
+ T extends InvoiceState ? InvoiceState | "UNKNOWN" | "FAILED_CREATE" | "CREATED" | "CREDITED" | "FAILED_PDF_PERSIST" | "PDF_PERSISTED" | "FAILED_VOUCHER_CREATE" | "VOUCHER_CREATED" | "FAILED_VOUCHER_PDF_PERSIST" | "VOUCHER_PDF_PERSISTED" | "FAILED_INVOICE_SEND" | "INVOICE_SENT_EHF" | "INVOICE_SENT_EFAKTURA" | "INVOICE_SENT_AVTALEGIRO" | "INVOICE_SENT_COMBO" | "INVOICE_SENT_ALTERNATIVE_DIGIPOST" | "INVOICE_SENT_ALTERNATIVE_EMAIL" | "INVOICE_SENT_NONE" | "FAILED_INVOICE_SEND_EHF" | "FAILED_INVOICE_SEND_ALTERNATIVE" | "FAILED_INVOICE_SEND_ALTERNATIVE_DIGIPOST" | "FAILED_INVOICE_SEND_ALTERNATIVE_EMAIL" | "FAILED_INVOICE_RECEIPT_RECEPTION" | "FAILED_INVOICE_EFAKTURA_RECEIPT_RECEPTION" | "FAILED_INVOICE_AVTALEGIRO_RECEIPT_RECEPTION" | "FAILED_PARTIAL_INVOICE_RECEIPT_RECEPTION" | "INVOICE_PROCESSING_FAILED" | "INVOICE_RECEIPT_RECEIVED" | "INVOICE_EHF_RECEIPT_RECEIVED" | "INVOICE_EFAKTURA_RECEIPT_RECEIVED" | "INVOICE_AVTALEGIRO_RECEIPT_RECEIVED" | "INVOICE_EMAIL_RECEIPT_RECEIVED" | "INVOICE_OVERDUE_EMAIL_RECEIPT_RECEIVED" | "INVOICE_SECOND_OVERDUE_EMAIL_RECEIPT_RECEIVED" | "INVOICE_EMAIL_OPENED_RECEIPT_RECEIVED" | "INVOICE_OVERDUE_EMAIL_OPENED_RECEIPT_RECEIVED" | "INVOICE_SECOND_OVERDUE_EMAIL_OPENED_RECEIPT_RECEIVED" | "INVOICE_OVERDUE_SMS_RECEIPT_RECEIVED" | "INVOICE_SECOND_OVERDUE_SMS_RECEIPT_RECEIVED" | "FAILED_INVOICE_EHF_RECEIPT" | "FAILED_INVOICE_EMAIL_RECEIPT" | "FAILED_INVOICE_OVERDUE_EMAIL_RECEIPT" | "FAILED_INVOICE_SECOND_OVERDUE_EMAIL_RECEIPT" | "FAILED_INVOICE_OVERDUE_SMS_RECEIPT" | "FAILED_INVOICE_SECOND_OVERDUE_SMS_RECEIPT" | "FAILED_INVOICE_PROCESSING" | "FAILED_INVOICE_OVERDUE_NOTICE_SEND" | "FAILED_INVOICE_OVERDUE_NOTICE_SEND_EMAIL" | "FAILED_INVOICE_OVERDUE_NOTICE_SEND_DIGIPOST" | "FAILED_INVOICE_OVERDUE_NOTICE_SMS_SEND" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SMS_SEND" | "INVOICE_OVERDUE_NOTICE_SENT" | "INVOICE_OVERDUE_EMAIL_NOTICE_SENT" | "INVOICE_OVERDUE_SMS_NOTICE_SENT" | "INVOICE_OVERDUE_DIGIPOST_NOTICE_SENT" | "INVOICE_SECOND_OVERDUE_SMS_NOTICE_SENT" | "FAILED_INVOICE_OVERDUE_PDF_PERSIST" | "INVOICE_OVERDUE_PDF_PERSIST" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SEND" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SEND_EMAIL" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SEND_DIGIPOST" | "INVOICE_SECOND_OVERDUE_NOTICE_SENT" | "INVOICE_SECOND_OVERDUE_EMAIL_NOTICE_SENT" | "INVOICE_SECOND_OVERDUE_DIGIPOST_NOTICE_SENT" | "FAILED_INVOICE_SECOND_OVERDUE_PDF_PERSIST" | "INVOICE_SECOND_OVERDUE_PDF_PERSIST" | "INSUFFICIENT_PAYMENT_RECEIVED" | "FAILED_LOSS_REGISTRATION" | "LOSS_REGISTERED" | "MANUAL_PROCESSING" | "COMPLETE" :
780
+ T extends InvoiceType ? InvoiceType | "DEBIT" | "CREDIT" | "CLAIM" :
781
+ T extends IssueStatus ? IssueStatus | "OPEN" | "IN_MEETING" | "CLOSED" :
782
+ T extends JobState ? JobState | "CREATED" | "PROCESSING" | "CANCELLED" | "COMPLETED" | "FAILED" | "ANY" :
783
+ T extends KartverketFetchState ? KartverketFetchState | "COLLECTING" | "IMPORTING" | "IMPORTED" | "FAILURE" | "FAILURE_IMPORTING" | "COLLECTED" | "UNKNOWN" :
784
+ T extends LOANLOGTYPE ? LOANLOGTYPE | "CREATED" | "INTEREST" | "INAGREEMENT" | "CLOSED" :
785
+ T extends LeveranseType3po ? LeveranseType3po | "ORDINARY" :
786
+ T extends MeetingStatus ? MeetingStatus | "PLANNING" | "NOTIFIED" | "IN_PROGRESS" | "TO_SIGN" | "SIGNED" :
787
+ T extends MessageType ? MessageType | "DEFAULT" | "EMAIL" :
788
+ T extends MfaType ? MfaType | "SMS" | "TOTP" :
789
+ T extends NotificationGroupType ? NotificationGroupType | "BOARD_CHAIRS" | "BOARD_MEMBERS" | "BOARD_ALTERNATES" | "OWNERS" | "TENANTS" | "CO_HABITANTS" | "EXTERNALS" | "ALL" :
790
+ T extends OrderType ? OrderType | "BASIS" | "STANDARD" | "PREMIUM" :
791
+ T extends OverdueNoticeOrder ? OverdueNoticeOrder | "FIRST" | "SECOND" :
792
+ T extends ParkingSpaceAllocationStatus ? ParkingSpaceAllocationStatus | "ALLOCATED" | "VACANT" :
793
+ T extends ParkingSpaceOwnerType ? ParkingSpaceOwnerType | "SECTION" | "PERSON" | "ORGANIZATION" :
794
+ T extends ParkingSpaceType ? ParkingSpaceType | "NORMAL" | "MC" | "HC" :
795
+ T extends ParticipantType ? ParticipantType | "PERSON" | "ORGANIZATION" | "EMPLOYEE" | "INQUIRY" | "SUPPLIER_CONTACT" | "CLIENT_USER" :
796
+ T extends PayeeType ? PayeeType | "PERSON" | "BOLIGSELSKAP" :
797
+ T extends PayerType ? PayerType | "PERSON" | "BOLIGSELSKAP" | "COMPANY" | "COMPANY_AS_PERSON" | "SUPPLIER" | "UNKNOWN" :
798
+ T extends PaymentHandlingStatus ? PaymentHandlingStatus | "ATTACHED_TO_INVOICE" | "CLOSED" :
799
+ T extends PeriodicTaskIntervalMethod ? PeriodicTaskIntervalMethod | "FIXED" | "CONTINUOUS" :
800
+ T extends PeriodicTaskIntervalType ? PeriodicTaskIntervalType | "HOUR" | "DAY" | "WEEKLY" | "MONTH" | "QUARTERLY" | "BIANNUAL" | "ANNUAL" | "BIENNIAL" | "QUINQUENNIAL" :
801
+ T extends PersonStatus ? PersonStatus | "ACTIVE" | "RESIDENCED" | "MOVED_OUT" | "DISAPPEARED" | "DEAD" | "EXPIRED" | "BIRTH_REGISTERED" | "TEMPORARY" | "INACTIVE" | "HOMELESS" :
802
+ T extends PolicyEffect ? PolicyEffect | "ALLOW" | "DENY" :
803
+ T extends PreferredAdvertisement ? PreferredAdvertisement | "COMBO" | "EMAIL" | "DIGIPOST" | "LETTER" | "NONE" :
804
+ T extends RelationType ? RelationType | "SAMEIE" | "MEMBER" :
805
+ T extends ResidentType ? ResidentType | "PERSON" | "ORGANIZATION" :
806
+ T extends RoleType ? RoleType | "ADMIN" | "SUPER_USER" | "USER" | "SALES" | "SWITCHBOARD" | "ADMINISTRATOR_SUPERVISOR" | "ADMINISTRATOR" | "ONBOARDING" | "INVOICING" | "INSURANCE_RESPONSIBLE" | "LOAN_RESPONSIBLE" | "IN_LOAN_RESPONSIBLE" | "ACCOUNTING" | "COLLECTION" | "OWNERSHIP_CHANGE" | "LAWYER" | "BOARD_CHAIR" | "BOARD_MEMBER" | "BOARD_ALTERNATE" | "OWNER" | "TENANT" | "CO_HABITANT" | "RECEPTIONIST" | "BUILDING_DEVELOPER" | "CONTACT_PERSON_FOR_COMPANY" | "CONTACT_PERSON_FOR_SECTION" | "SUPPLIER" | "EXTERNAL" :
807
+ T extends RoutineInterval ? RoutineInterval | "HOUR" | "DAY" | "WEEKLY" | "MONTH" | "QUARTERLY" | "BIANNUAL" | "ANNUAL" | "BIENNIAL" | "QUINQUENNIAL" :
808
+ T extends RoutineMethod ? RoutineMethod | "FIXED" | "CONTINUOUS" :
809
+ T extends RoutineType ? RoutineType | "HMS" | "DRIFT" | "STYREARBEID" | "ANNET" :
810
+ T extends Rsvp ? Rsvp | "YES" | "NO" :
811
+ T extends SectionDeletionReason ? SectionDeletionReason | "MERGED" | "SPLIT" :
812
+ T extends SectionOnboardingStatus ? SectionOnboardingStatus | "SUBMITTED" | "COMPLETED" | "FAILED" :
813
+ T extends SectionState ? SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" :
814
+ T extends SectionStatusOperation ? SectionStatusOperation | "CREATE" | "UPDATE" | "DELETE" :
815
+ T extends SectionType ? SectionType | "BOLIG" | "NAERING" :
816
+ T extends SettlementProvider ? SettlementProvider | "ECOGUARD" | "ISTA" | "TECHEM" | "OTHER" :
817
+ T extends SettlementType ? SettlementType | "HEAT" | "COLD_WATER" | "WARM_WATER" | "ELECTRIC_CAR_CHARGER" | "ELECTRICITY" | "OTHER" :
818
+ T extends StorageRoomAllocationStatus ? StorageRoomAllocationStatus | "ALLOCATED" | "VACANT" :
819
+ T extends StorageRoomOwnerType ? StorageRoomOwnerType | "SECTION" | "PERSON" | "ORGANIZATION" :
820
+ T extends SupplierInvoiceProcessingResult ? SupplierInvoiceProcessingResult | "APPROVED" | "REJECTED" :
821
+ T extends SupplierInvoiceStatus ? SupplierInvoiceStatus | "FOR_APPROVAL" | "APPROVED" | "REJECTED" | "PAID" | "REVERSED" | "REMAINDER" | "CREDIT" :
822
+ T extends TaskEventType ? TaskEventType | "INITIALIZED" | "CREATED" | "UPDATED" | "COMPLETED" | "RECURRING_COMPLETION" | "RE_CREATED" | "RE_OPENED" | "CANCELLED" :
823
+ T extends TenantType ? TenantType | "BOLIGSELSKAP" :
824
+ T extends TransmissionDialogType ? TransmissionDialogType | "Information" | "Acceptance" | "Rejection" | "Request" | "Alert" | "Decision" | "Submission" | "Correction" | "Unknown" :
825
+ T extends RequestMethod ? RequestMethod | "GET" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" :
826
+ T extends AuthMode ? AuthMode | "TOKEN" | "COOKIE" | "M2M" :
827
+ T extends LoginType ? LoginType | "EMAIL" | "MOBILE" | "ILLEGAL" :
828
+ T extends bigint ? Id :
829
+ T extends KtList<infer E> | KtMutableList<infer E> ? ReadonlyArray<SdkInput<E>> :
830
+ T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V> ? ReadonlyMap<SdkInput<K>, SdkInput<V>> | Record<string, SdkInput<V>> :
831
+ T extends ReadonlyMap<infer K, infer V> ? ReadonlyMap<SdkInput<K>, SdkInput<V>> | Record<string, SdkInput<V>> :
832
+ T extends readonly (infer E)[] ? ReadonlyArray<SdkInput<E>> :
833
+ T extends object ? { [P in keyof T]: SdkInput<T[P]> } : T;
834
+
835
+ export type SdkResult<T> =
836
+ T extends KtList<infer E> | KtMutableList<infer E> ? SdkResult<E>[] :
837
+ T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V> ? Map<K, SdkResult<V>> :
838
+ T extends readonly (infer E)[] ? SdkResult<E>[] : T;
839
+
840
+ export type BrowserAuth = { kind: 'browser'; userPoolId: string; clientId: string };
841
+ export type MobileAuth = { kind: 'mobile'; userPoolId: string; clientId: string };
842
+ export type M2MAuth = { kind: 'm2m'; clientId: string; clientSecret: string; scopes?: string[] };
843
+ export type DelegatedAuth = { kind: 'delegated'; accessToken: string; identity?: string };
844
+ export type SoliboAuthConfig = BrowserAuth | MobileAuth | M2MAuth | DelegatedAuth;
845
+ export type CreateSoliboClientConfig = Omit<SoliboSDKJsBuilderProps, 'authMode' | 'cognitoUserPoolId' | 'clientId' | 'clientSecret' | 'scopes'> & {
846
+ baseUrl?: string;
847
+ auth: SoliboAuthConfig;
848
+ };
849
+ export type LegacySoliboClientConfig = SoliboSDKJsBuilderProps & { baseUrl?: string; domain?: string };
850
+
851
+ export interface UserApiFacade {
852
+ deleteUserImage(params?: Record<string, never>): Promise<SdkResult<void>>;
853
+ indexUserConversations(params: {
854
+ unread?: boolean | null | undefined;
855
+ search?: string | null | undefined;
856
+ fields?: string | null | undefined;
857
+ pageToken?: string | null | undefined;
858
+ autoPaginate?: boolean | null | undefined;
859
+ count?: number | null | undefined;
860
+ }): Promise<SdkResult<PagedListUserConversations>>;
861
+ me(params: {
862
+ fields?: string | null | undefined;
863
+ }): Promise<SdkResult<AuthUser>>;
864
+ showAuthedUser(params: {
865
+ fields?: string | null | undefined;
866
+ }): Promise<SdkResult<AuthUser>>;
867
+ showBulkUserActions(params: {
868
+ companyIds: ReadonlyArray<Id>;
869
+ fields?: string | null | undefined;
870
+ }): Promise<SdkResult<BulkUserActions>>;
871
+ showUser(params: {
872
+ fields?: string | null | undefined;
873
+ }): Promise<SdkResult<PersonUser>>;
874
+ showUserActions(params: {
875
+ companyId?: Id | null | undefined;
876
+ fields?: string | null | undefined;
877
+ pageToken?: string | null | undefined;
878
+ autoPaginate?: boolean | null | undefined;
879
+ count?: number | null | undefined;
880
+ }): Promise<SdkResult<PagedListString>>;
881
+ showUserImage(params: {
882
+ personId: Id;
883
+ fileName: string;
884
+ size?: string | null | undefined;
885
+ }): Promise<SdkResult<void>>;
886
+ updateUser(params: {
887
+ input: UpdateProfileCommand | SdkInput<UpdateProfileCommandProps>;
888
+ }): Promise<SdkResult<void>>;
889
+ updateUserImage(params?: Record<string, never>): Promise<SdkResult<void>>;
890
+ }
891
+
892
+ export interface DocumentsApiFacade {
893
+ abortDocumentUploadTicket(params: {
894
+ companyId: Id;
895
+ ticketId: string;
896
+ }): Promise<SdkResult<void>>;
897
+ createDocument(params: {
898
+ companyId: Id;
899
+ documentType: DocumentType | "ISSUE" | "SUPPLIER_FOR_COMPANY" | "HOMEPAGE" | "POST" | "PRACTICAL_INFO" | "PRIVATE" | "FDV" | "BUILDING" | "PROJECT" | "BYLAWS" | "HOUSE_RULES" | "ECONOMY" | "EXPENSE" | "MEETING" | "ANNUAL_MEETING" | "CONVERSATION" | "NEWSLETTER" | "ROUTINE" | "INSURANCE" | "LOAN" | "INVOICE" | "ADHOC" | "ECONOMIC_REPORT" | "SETTLEMENT" | "SETTLEMENT_CUSTOM_COST" | "MESSAGE" | "INTERNAL_MESSAGE" | "OTHER" | "TRASH";
900
+ parentId?: Id | null | undefined;
901
+ isDirectory?: boolean | null | undefined;
902
+ }): Promise<SdkResult<Document>>;
903
+ createDocumentBelongsTo(params: {
904
+ companyId: Id;
905
+ documentType: string;
906
+ belongsToId: Id;
907
+ parentId?: Id | null | undefined;
908
+ uploadGroupId?: string | null | undefined;
909
+ }): Promise<SdkResult<Document>>;
910
+ createDocumentReference(params: {
911
+ companyId: Id;
912
+ documentId: Id;
913
+ input: CreateDocumentReferenceCommand | SdkInput<CreateDocumentReferenceCommandProps>;
914
+ }): Promise<SdkResult<Document>>;
915
+ createDocumentUploadTicket(params: {
916
+ companyId: Id;
917
+ contentType: string;
918
+ contentDisposition: string;
919
+ xContentLengthUpload: string;
920
+ contentMd5?: string | null | undefined;
921
+ }): Promise<SdkResult<DocumentUploadTicket>>;
922
+ deleteDocument(params: {
923
+ companyId: Id;
924
+ documentId: Id;
925
+ }): Promise<SdkResult<void>>;
926
+ indexDocumentBelongsTo(params: {
927
+ companyId: Id;
928
+ documentType: string;
929
+ belongsToId: Id;
930
+ parentId?: Id | null | undefined;
931
+ uploadGroupId?: string | null | undefined;
932
+ fields?: string | null | undefined;
933
+ pageToken?: string | null | undefined;
934
+ autoPaginate?: boolean | null | undefined;
935
+ count?: number | null | undefined;
936
+ }): Promise<SdkResult<PagedListDocument>>;
937
+ indexDocumentsUser(params: {
938
+ search?: string | null | undefined;
939
+ companyIds?: ReadonlyArray<Id> | null | undefined;
940
+ type?: ReadonlyArray<DocumentType | "ISSUE" | "SUPPLIER_FOR_COMPANY" | "HOMEPAGE" | "POST" | "PRACTICAL_INFO" | "PRIVATE" | "FDV" | "BUILDING" | "PROJECT" | "BYLAWS" | "HOUSE_RULES" | "ECONOMY" | "EXPENSE" | "MEETING" | "ANNUAL_MEETING" | "CONVERSATION" | "NEWSLETTER" | "ROUTINE" | "INSURANCE" | "LOAN" | "INVOICE" | "ADHOC" | "ECONOMIC_REPORT" | "SETTLEMENT" | "SETTLEMENT_CUSTOM_COST" | "MESSAGE" | "INTERNAL_MESSAGE" | "OTHER" | "TRASH"> | null | undefined;
941
+ createdAtFrom?: Id | null | undefined;
942
+ createdAtTo?: Id | null | undefined;
943
+ fields?: string | null | undefined;
944
+ pageToken?: string | null | undefined;
945
+ autoPaginate?: boolean | null | undefined;
946
+ count?: number | null | undefined;
947
+ }): Promise<SdkResult<PagedListDocument>>;
948
+ listDocument(params: {
949
+ companyId: Id;
950
+ search?: string | null | undefined;
951
+ type?: ReadonlyArray<DocumentType | "ISSUE" | "SUPPLIER_FOR_COMPANY" | "HOMEPAGE" | "POST" | "PRACTICAL_INFO" | "PRIVATE" | "FDV" | "BUILDING" | "PROJECT" | "BYLAWS" | "HOUSE_RULES" | "ECONOMY" | "EXPENSE" | "MEETING" | "ANNUAL_MEETING" | "CONVERSATION" | "NEWSLETTER" | "ROUTINE" | "INSURANCE" | "LOAN" | "INVOICE" | "ADHOC" | "ECONOMIC_REPORT" | "SETTLEMENT" | "SETTLEMENT_CUSTOM_COST" | "MESSAGE" | "INTERNAL_MESSAGE" | "OTHER" | "TRASH"> | null | undefined;
952
+ createdAtFrom?: Id | null | undefined;
953
+ createdAtTo?: Id | null | undefined;
954
+ fields?: string | null | undefined;
955
+ pageToken?: string | null | undefined;
956
+ autoPaginate?: boolean | null | undefined;
957
+ count?: number | null | undefined;
958
+ }): Promise<SdkResult<PagedListDocument>>;
959
+ listDocumentByType(params: {
960
+ companyId: Id;
961
+ documentType: DocumentType | "ISSUE" | "SUPPLIER_FOR_COMPANY" | "HOMEPAGE" | "POST" | "PRACTICAL_INFO" | "PRIVATE" | "FDV" | "BUILDING" | "PROJECT" | "BYLAWS" | "HOUSE_RULES" | "ECONOMY" | "EXPENSE" | "MEETING" | "ANNUAL_MEETING" | "CONVERSATION" | "NEWSLETTER" | "ROUTINE" | "INSURANCE" | "LOAN" | "INVOICE" | "ADHOC" | "ECONOMIC_REPORT" | "SETTLEMENT" | "SETTLEMENT_CUSTOM_COST" | "MESSAGE" | "INTERNAL_MESSAGE" | "OTHER" | "TRASH";
962
+ parentId?: Id | null | undefined;
963
+ isDirectory?: boolean | null | undefined;
964
+ fields?: string | null | undefined;
965
+ pageToken?: string | null | undefined;
966
+ autoPaginate?: boolean | null | undefined;
967
+ count?: number | null | undefined;
968
+ }): Promise<SdkResult<PagedListDocument>>;
969
+ moveDocument(params: {
970
+ companyId: Id;
971
+ documentId: Id;
972
+ parentId: string;
973
+ }): Promise<SdkResult<void>>;
974
+ moveMultipleDocuments(params: {
975
+ companyId: Id;
976
+ parentId: string;
977
+ input: BatchMoveDocumentsCommand | SdkInput<BatchMoveDocumentsCommandProps>;
978
+ }): Promise<SdkResult<KtList<Document>>>;
979
+ renameDocument(params: {
980
+ companyId: Id;
981
+ documentId: Id;
982
+ input: RenameDocumentCommand | SdkInput<RenameDocumentCommandProps>;
983
+ }): Promise<SdkResult<Document>>;
984
+ restoreDocument(params: {
985
+ companyId: Id;
986
+ documentId: Id;
987
+ input: RestoreDocumentCommand | SdkInput<RestoreDocumentCommandProps>;
988
+ }): Promise<SdkResult<void>>;
989
+ restoreMultipleDocuments(params: {
990
+ companyId: Id;
991
+ input: BatchRestoreDocumentsCommand | SdkInput<BatchRestoreDocumentsCommandProps>;
992
+ }): Promise<SdkResult<void>>;
993
+ searchDocuments(params: {
994
+ companyId: Id;
995
+ searchText: string;
996
+ fields?: string | null | undefined;
997
+ pageToken?: string | null | undefined;
998
+ autoPaginate?: boolean | null | undefined;
999
+ count?: number | null | undefined;
1000
+ }): Promise<SdkResult<PagedListDocument>>;
1001
+ showCompanyTypeDirectoryZip(params: {
1002
+ companyId: Id;
1003
+ documentType: string;
1004
+ documentId: Id;
1005
+ }): Promise<SdkResult<Base64ByteArray>>;
1006
+ showDirectoryZip(params: {
1007
+ companyId: Id;
1008
+ }): Promise<SdkResult<Base64ByteArray>>;
1009
+ showDocument(params: {
1010
+ companyId: Id;
1011
+ documentId: Id;
1012
+ redirect?: boolean | null | undefined;
1013
+ size?: string | null | undefined;
1014
+ fields?: string | null | undefined;
1015
+ }): Promise<SdkResult<UrlWrapper>>;
1016
+ showDocumentTypes(params: {
1017
+ companyId: Id;
1018
+ fields?: string | null | undefined;
1019
+ pageToken?: string | null | undefined;
1020
+ autoPaginate?: boolean | null | undefined;
1021
+ count?: number | null | undefined;
1022
+ }): Promise<SdkResult<PagedListDocumentType>>;
1023
+ showPublicDocument(params: {
1024
+ companyId: Id;
1025
+ documentId: Id;
1026
+ redirect?: boolean | null | undefined;
1027
+ size?: string | null | undefined;
1028
+ fields?: string | null | undefined;
1029
+ }): Promise<SdkResult<UrlWrapper>>;
1030
+ showTypeDirectoryZip(params: {
1031
+ companyId: Id;
1032
+ documentType: string;
1033
+ }): Promise<SdkResult<Base64ByteArray>>;
1034
+ trashDocument(params: {
1035
+ companyId: Id;
1036
+ documentId: Id;
1037
+ }): Promise<SdkResult<void>>;
1038
+ trashMultipleDocuments(params: {
1039
+ companyId: Id;
1040
+ input: BatchTrashDocumentsCommand | SdkInput<BatchTrashDocumentsCommandProps>;
1041
+ }): Promise<SdkResult<void>>;
1042
+ uploadDocument(params: {
1043
+ request: UploadDocumentRequest | SdkInput<UploadDocumentRequestProps>;
1044
+ onUploadProgress?: (p0: UploadProgress | SdkInput<UploadProgressProps>) => void | null | undefined;
1045
+ }): Promise<SdkResult<Document>>;
1046
+ completeSignedUpload(params: {
1047
+ headers: ReadonlyMap<string, ReadonlyArray<string>>;
1048
+ request: UploadBinaryRequest | SdkInput<UploadBinaryRequestProps>;
1049
+ onUploadProgress?: (p0: UploadProgress | SdkInput<UploadProgressProps>) => void | null | undefined;
1050
+ }): Promise<SdkResult<void>>;
1051
+ downloadDocumentById(params: {
1052
+ companyId: Id;
1053
+ id: Id;
1054
+ }): Promise<SdkResult<Int8Array>>;
1055
+ downloadDocument(params: {
1056
+ request: DownloadDocumentRequest | SdkInput<DownloadDocumentRequestProps>;
1057
+ }): Promise<SdkResult<Int8Array>>;
1058
+ }
1059
+
1060
+ export interface ConversationApiFacade {
1061
+ authorizePublicConversation(params: {
1062
+ companySlug: string;
1063
+ conversationId: Id;
1064
+ }): Promise<SdkResult<void>>;
1065
+ authorizePublicConversationByToken(params: {
1066
+ companySlug: string;
1067
+ conversationId: Id;
1068
+ token: string;
1069
+ }): Promise<SdkResult<void>>;
1070
+ completeMultipleConversations(params: {
1071
+ companyId: Id;
1072
+ input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
1073
+ }): Promise<SdkResult<void>>;
1074
+ createConversation(params: {
1075
+ companyId: Id;
1076
+ input: CreateConversationCommand | SdkInput<CreateConversationCommandProps>;
1077
+ }): Promise<SdkResult<Conversation>>;
1078
+ createConversationCategory(params: {
1079
+ companyId: Id;
1080
+ input: CreateConversationCategoryCommand | SdkInput<CreateConversationCategoryCommandProps>;
1081
+ }): Promise<SdkResult<SecureConversationCategory>>;
1082
+ createConversationExternalParticipant(params: {
1083
+ companyId: Id;
1084
+ conversationId: Id;
1085
+ input: AddExternalConversationParticipantCommand | SdkInput<AddExternalConversationParticipantCommandProps>;
1086
+ }): Promise<SdkResult<void>>;
1087
+ createConversationFlag(params: {
1088
+ companyId: Id;
1089
+ conversationId: Id;
1090
+ }): Promise<SdkResult<void>>;
1091
+ createConversationParticipant(params: {
1092
+ companyId: Id;
1093
+ conversationId: Id;
1094
+ participantType: string;
1095
+ participantId: Id;
1096
+ }): Promise<SdkResult<void>>;
1097
+ createConversationRead(params: {
1098
+ companyId: Id;
1099
+ conversationId: Id;
1100
+ }): Promise<SdkResult<void>>;
1101
+ createConversationUnread(params: {
1102
+ companyId: Id;
1103
+ conversationId: Id;
1104
+ }): Promise<SdkResult<void>>;
1105
+ createDocumentPublicConversation(params: {
1106
+ companySlug: string;
1107
+ conversationId: Id;
1108
+ uploadGroupId?: string | null | undefined;
1109
+ }): Promise<SdkResult<void>>;
1110
+ createFolder(params: {
1111
+ companyId: Id;
1112
+ input: CreateFolderCommand | SdkInput<CreateFolderCommandProps>;
1113
+ parentId?: Id | null | undefined;
1114
+ }): Promise<SdkResult<ConversationFolder>>;
1115
+ createInquiry(params: {
1116
+ companyId: Id;
1117
+ input: CreateInquiryCommand | SdkInput<CreateInquiryCommandProps>;
1118
+ }): Promise<SdkResult<Conversation>>;
1119
+ createInquiryPublicConversation(params: {
1120
+ companySlug: string;
1121
+ input: CreateInquiryCommand | SdkInput<CreateInquiryCommandProps>;
1122
+ }): Promise<SdkResult<PublicConversation>>;
1123
+ createInternalMessage(params: {
1124
+ companyId: Id;
1125
+ conversationId: Id;
1126
+ input: CreateInternalMessageCommand | SdkInput<CreateInternalMessageCommandProps>;
1127
+ }): Promise<SdkResult<MessageInConversation>>;
1128
+ createMessage(params: {
1129
+ companyId: Id;
1130
+ conversationId: Id;
1131
+ input: CreateMessageCommand | SdkInput<CreateMessageCommandProps>;
1132
+ }): Promise<SdkResult<MessageInConversation>>;
1133
+ createMessagePublicConversation(params: {
1134
+ companySlug: string;
1135
+ conversationId: Id;
1136
+ input: CreateMessageCommand | SdkInput<CreateMessageCommandProps>;
1137
+ }): Promise<SdkResult<void>>;
1138
+ createMultipleConversationFlags(params: {
1139
+ companyId: Id;
1140
+ input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
1141
+ }): Promise<SdkResult<void>>;
1142
+ createMultipleConversationReads(params: {
1143
+ companyId: Id;
1144
+ input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
1145
+ }): Promise<SdkResult<void>>;
1146
+ createMultipleConversationUnreads(params: {
1147
+ companyId: Id;
1148
+ input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
1149
+ }): Promise<SdkResult<void>>;
1150
+ createMultipleConversations(params: {
1151
+ input: BulkCreateConversationsCommand | SdkInput<BulkCreateConversationsCommandProps>;
1152
+ }): Promise<SdkResult<BulkCreateConversationsResult>>;
1153
+ deleteConversation(params: {
1154
+ companyId: Id;
1155
+ conversationId: Id;
1156
+ translateToCountryId?: Id | null | undefined;
1157
+ }): Promise<SdkResult<void>>;
1158
+ deleteConversationCategory(params: {
1159
+ companyId: Id;
1160
+ categoryId: Id;
1161
+ }): Promise<SdkResult<void>>;
1162
+ deleteConversationFlag(params: {
1163
+ companyId: Id;
1164
+ conversationId: Id;
1165
+ }): Promise<SdkResult<void>>;
1166
+ deleteConversationParticipant(params: {
1167
+ companyId: Id;
1168
+ conversationId: Id;
1169
+ participantType: string;
1170
+ participantId: Id;
1171
+ }): Promise<SdkResult<void>>;
1172
+ deleteDocumentPublicConversation(params: {
1173
+ companySlug: string;
1174
+ conversationId: Id;
1175
+ documentId: Id;
1176
+ redirect?: boolean | null | undefined;
1177
+ size?: string | null | undefined;
1178
+ }): Promise<SdkResult<void>>;
1179
+ deleteFolder(params: {
1180
+ companyId: Id;
1181
+ folderId: Id;
1182
+ }): Promise<SdkResult<void>>;
1183
+ deleteMultipleConversationFlags(params: {
1184
+ companyId: Id;
1185
+ input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
1186
+ }): Promise<SdkResult<void>>;
1187
+ deleteMultipleConversations(params: {
1188
+ companyId: Id;
1189
+ input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
1190
+ }): Promise<SdkResult<void>>;
1191
+ finalizeConversation(params: {
1192
+ companyId: Id;
1193
+ conversationId: Id;
1194
+ }): Promise<SdkResult<Conversation>>;
1195
+ finalizeIntegratedConversationMessage(params: {
1196
+ companyId: Id;
1197
+ conversationId: Id;
1198
+ input: FinalizeConversationMessageDocumentCommand | SdkInput<FinalizeConversationMessageDocumentCommandProps>;
1199
+ }): Promise<SdkResult<IntegratedConversationMessageResult>>;
1200
+ getMessageFullEmailContent(params: {
1201
+ companyId: Id;
1202
+ conversationId: Id;
1203
+ messageId: Id;
1204
+ fields?: string | null | undefined;
1205
+ }): Promise<SdkResult<FullEmailContent>>;
1206
+ indexCompanyConversationCategories(params: {
1207
+ companyId: Id;
1208
+ fields?: string | null | undefined;
1209
+ pageToken?: string | null | undefined;
1210
+ autoPaginate?: boolean | null | undefined;
1211
+ count?: number | null | undefined;
1212
+ }): Promise<SdkResult<PagedListSecureConversationCategory>>;
1213
+ indexCompanyConversationCategoriesForRequests(params: {
1214
+ companyId: Id;
1215
+ fields?: string | null | undefined;
1216
+ pageToken?: string | null | undefined;
1217
+ autoPaginate?: boolean | null | undefined;
1218
+ count?: number | null | undefined;
1219
+ }): Promise<SdkResult<PagedListPublicConversationCategory>>;
1220
+ indexConversation(params: {
1221
+ companyId: Id;
1222
+ search?: string | null | undefined;
1223
+ category?: Id | null | undefined;
1224
+ folder?: Id | null | undefined;
1225
+ onlyRoot?: boolean | null | undefined;
1226
+ status?: ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | null | undefined;
1227
+ byParticipant?: Id | null | undefined;
1228
+ byParticipantType?: ParticipantType | "PERSON" | "ORGANIZATION" | "EMPLOYEE" | "INQUIRY" | "SUPPLIER_CONTACT" | "CLIENT_USER" | null | undefined;
1229
+ assignedToUserId?: Id | null | undefined;
1230
+ createdSince?: Id | null | undefined;
1231
+ flaggedByCurrentUser?: boolean | null | undefined;
1232
+ readByCurrentUser?: boolean | null | undefined;
1233
+ fields?: string | null | undefined;
1234
+ pageToken?: string | null | undefined;
1235
+ autoPaginate?: boolean | null | undefined;
1236
+ count?: number | null | undefined;
1237
+ }): Promise<SdkResult<PagedListConversation>>;
1238
+ indexConversationByParticipant(params: {
1239
+ companyId: Id;
1240
+ participantId: Id;
1241
+ participantType: ParticipantType | "PERSON" | "ORGANIZATION" | "EMPLOYEE" | "INQUIRY" | "SUPPLIER_CONTACT" | "CLIENT_USER";
1242
+ fields?: string | null | undefined;
1243
+ pageToken?: string | null | undefined;
1244
+ autoPaginate?: boolean | null | undefined;
1245
+ count?: number | null | undefined;
1246
+ }): Promise<SdkResult<PagedListConversation>>;
1247
+ indexConversationCategoriesOpen(params: {
1248
+ companySlug: string;
1249
+ fields?: string | null | undefined;
1250
+ pageToken?: string | null | undefined;
1251
+ autoPaginate?: boolean | null | undefined;
1252
+ count?: number | null | undefined;
1253
+ }): Promise<SdkResult<PagedListPublicConversationCategory>>;
1254
+ indexConversationCount(params: {
1255
+ fields?: string | null | undefined;
1256
+ }): Promise<SdkResult<KtMap<string, ConversationCountConversationCountMap>>>;
1257
+ indexConversationCountByCompany(params: {
1258
+ companyIds?: ReadonlyArray<Id> | null | undefined;
1259
+ categoryIds?: ReadonlyArray<Id> | null | undefined;
1260
+ status?: ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | null | undefined;
1261
+ folderId?: Id | null | undefined;
1262
+ assignedToUserId?: Id | null | undefined;
1263
+ createdSince?: Id | null | undefined;
1264
+ flaggedByCurrentUser?: boolean | null | undefined;
1265
+ readByCurrentUser?: boolean | null | undefined;
1266
+ fields?: string | null | undefined;
1267
+ }): Promise<SdkResult<KtMap<string, ConversationCountConversationCountByCompanyMap>>>;
1268
+ indexConversationCountInCompany(params: {
1269
+ companyId: Id;
1270
+ fields?: string | null | undefined;
1271
+ }): Promise<SdkResult<ConversationCount>>;
1272
+ indexConversationFolders(params: {
1273
+ companyId: Id;
1274
+ parentId?: Id | null | undefined;
1275
+ fields?: string | null | undefined;
1276
+ pageToken?: string | null | undefined;
1277
+ autoPaginate?: boolean | null | undefined;
1278
+ count?: number | null | undefined;
1279
+ }): Promise<SdkResult<PagedListConversationFolder>>;
1280
+ indexConversations(params: {
1281
+ search?: string | null | undefined;
1282
+ companyIds?: ReadonlyArray<Id> | null | undefined;
1283
+ categoryIds?: ReadonlyArray<Id> | null | undefined;
1284
+ status?: ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | null | undefined;
1285
+ byParticipants?: ReadonlyArray<Id> | null | undefined;
1286
+ byParticipantTypes?: ReadonlyArray<ParticipantType | "PERSON" | "ORGANIZATION" | "EMPLOYEE" | "INQUIRY" | "SUPPLIER_CONTACT" | "CLIENT_USER"> | null | undefined;
1287
+ folderId?: Id | null | undefined;
1288
+ assignedToUserId?: Id | null | undefined;
1289
+ createdSince?: Id | null | undefined;
1290
+ updatedSince?: Id | null | undefined;
1291
+ flaggedByCurrentUser?: boolean | null | undefined;
1292
+ readByCurrentUser?: boolean | null | undefined;
1293
+ fields?: string | null | undefined;
1294
+ pageToken?: string | null | undefined;
1295
+ autoPaginate?: boolean | null | undefined;
1296
+ count?: number | null | undefined;
1297
+ }): Promise<SdkResult<PagedListConversation>>;
1298
+ moveConversation(params: {
1299
+ companyId: Id;
1300
+ conversationId: Id;
1301
+ input: MoveConversationToFolderCommand | SdkInput<MoveConversationToFolderCommandProps>;
1302
+ }): Promise<SdkResult<void>>;
1303
+ moveMultipleConversations(params: {
1304
+ companyId: Id;
1305
+ input: BatchMoveConversationsToFolderCommand | SdkInput<BatchMoveConversationsToFolderCommandProps>;
1306
+ }): Promise<SdkResult<void>>;
1307
+ previewConversationCategoryParticipants(params: {
1308
+ companyId: Id;
1309
+ categoryId: Id;
1310
+ fields?: string | null | undefined;
1311
+ }): Promise<SdkResult<KtList<ConversationCategoryParticipantPreview>>>;
1312
+ publishConversation(params: {
1313
+ companyId: Id;
1314
+ conversationId: Id;
1315
+ }): Promise<SdkResult<Conversation>>;
1316
+ reOpenConversation(params: {
1317
+ companyId: Id;
1318
+ conversationId: Id;
1319
+ }): Promise<SdkResult<Conversation>>;
1320
+ reOpenMultipleConversations(params: {
1321
+ companyId: Id;
1322
+ input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
1323
+ }): Promise<SdkResult<void>>;
1324
+ showConversation(params: {
1325
+ companyId: Id;
1326
+ conversationId: Id;
1327
+ translateToCountryId?: Id | null | undefined;
1328
+ fields?: string | null | undefined;
1329
+ }): Promise<SdkResult<Conversation>>;
1330
+ showConversationFolder(params: {
1331
+ companyId: Id;
1332
+ folderId: Id;
1333
+ fields?: string | null | undefined;
1334
+ }): Promise<SdkResult<ConversationFolder>>;
1335
+ showConversationPublic(params: {
1336
+ companySlug: string;
1337
+ conversationId: Id;
1338
+ fields?: string | null | undefined;
1339
+ }): Promise<SdkResult<PublicConversation>>;
1340
+ showDocumentPublicConversation(params: {
1341
+ companySlug: string;
1342
+ conversationId: Id;
1343
+ documentId: Id;
1344
+ redirect?: boolean | null | undefined;
1345
+ size?: string | null | undefined;
1346
+ fields?: string | null | undefined;
1347
+ }): Promise<SdkResult<UrlWrapper>>;
1348
+ updateConversation(params: {
1349
+ companyId: Id;
1350
+ conversationId: Id;
1351
+ input: UpdateConversationCommand | SdkInput<UpdateConversationCommandProps>;
1352
+ translateToCountryId?: Id | null | undefined;
1353
+ }): Promise<SdkResult<Conversation>>;
1354
+ updateConversationCategories(params: {
1355
+ companyId: Id;
1356
+ input: ReadonlyArray<SecureConversationCategory | SdkInput<SecureConversationCategoryProps>>;
1357
+ }): Promise<SdkResult<KtList<SecureConversationCategory>>>;
1358
+ updateConversationCategory(params: {
1359
+ companyId: Id;
1360
+ categoryId: Id;
1361
+ input: UpdateConversationCategoryCommand | SdkInput<UpdateConversationCategoryCommandProps>;
1362
+ }): Promise<SdkResult<SecureConversationCategory>>;
1363
+ updateFolder(params: {
1364
+ companyId: Id;
1365
+ folderId: Id;
1366
+ input: UpdateFolderCommand | SdkInput<UpdateFolderCommandProps>;
1367
+ }): Promise<SdkResult<ConversationFolder>>;
1368
+ }
1369
+
1370
+ export interface CompanyApiFacade {
1371
+ createImportDraftBRL(params: {
1372
+ input: BorettslagSearchCommand | SdkInput<BorettslagSearchCommandProps>;
1373
+ }): Promise<SdkResult<void>>;
1374
+ createImportDraftByFiles(params: {
1375
+ input: string;
1376
+ }): Promise<SdkResult<void>>;
1377
+ createImportDraftSameieAddress(params: {
1378
+ input: SameieAddresseSearchCommand | SdkInput<SameieAddresseSearchCommandProps>;
1379
+ }): Promise<SdkResult<void>>;
1380
+ createImportDraftSameieMatrikkel(params: {
1381
+ input: SameieMatrikkelSearchCommand | SdkInput<SameieMatrikkelSearchCommandProps>;
1382
+ }): Promise<SdkResult<void>>;
1383
+ indexActiveAdministrators(params: {
1384
+ fields?: string | null | undefined;
1385
+ }): Promise<SdkResult<SoliboContacts>>;
1386
+ indexAllAdministrators(params: {
1387
+ fields?: string | null | undefined;
1388
+ }): Promise<SdkResult<SoliboContacts>>;
1389
+ indexAvailableCompanyAdministrators(params: {
1390
+ companyId: Id;
1391
+ fields?: string | null | undefined;
1392
+ }): Promise<SdkResult<SoliboContacts>>;
1393
+ indexCompany(params: {
1394
+ search?: string | null | undefined;
1395
+ fields?: string | null | undefined;
1396
+ pageToken?: string | null | undefined;
1397
+ autoPaginate?: boolean | null | undefined;
1398
+ count?: number | null | undefined;
1399
+ }): Promise<SdkResult<PagedListCompany>>;
1400
+ indexCompanyAddress(params: {
1401
+ companyId: Id;
1402
+ fields?: string | null | undefined;
1403
+ pageToken?: string | null | undefined;
1404
+ autoPaginate?: boolean | null | undefined;
1405
+ count?: number | null | undefined;
1406
+ }): Promise<SdkResult<PagedListCompanyAddress>>;
1407
+ indexCompanyAdministrators(params: {
1408
+ companyId: Id;
1409
+ fields?: string | null | undefined;
1410
+ }): Promise<SdkResult<SoliboContacts>>;
1411
+ indexCompanyDetailed(params: {
1412
+ search?: string | null | undefined;
1413
+ companyIds?: ReadonlyArray<Id> | null | undefined;
1414
+ fields?: string | null | undefined;
1415
+ pageToken?: string | null | undefined;
1416
+ autoPaginate?: boolean | null | undefined;
1417
+ count?: number | null | undefined;
1418
+ }): Promise<SdkResult<PagedListCompanyDetailed>>;
1419
+ indexCompanySectionTags(params: {
1420
+ companyId: Id;
1421
+ fields?: string | null | undefined;
1422
+ pageToken?: string | null | undefined;
1423
+ autoPaginate?: boolean | null | undefined;
1424
+ count?: number | null | undefined;
1425
+ }): Promise<SdkResult<PagedListSectionTag>>;
1426
+ indexCompanyTypes(params: {
1427
+ fields?: string | null | undefined;
1428
+ pageToken?: string | null | undefined;
1429
+ autoPaginate?: boolean | null | undefined;
1430
+ count?: number | null | undefined;
1431
+ }): Promise<SdkResult<PagedListCompanySubType>>;
1432
+ indexImportDraft(params: {
1433
+ fields?: string | null | undefined;
1434
+ pageToken?: string | null | undefined;
1435
+ autoPaginate?: boolean | null | undefined;
1436
+ count?: number | null | undefined;
1437
+ }): Promise<SdkResult<PagedListDraftOverview>>;
1438
+ indexNewlyManagedCompanies(params: {
1439
+ search?: string | null | undefined;
1440
+ fields?: string | null | undefined;
1441
+ pageToken?: string | null | undefined;
1442
+ autoPaginate?: boolean | null | undefined;
1443
+ count?: number | null | undefined;
1444
+ }): Promise<SdkResult<PagedListCompany>>;
1445
+ indexSectionTagsBySection(params: {
1446
+ companyId: Id;
1447
+ fields?: string | null | undefined;
1448
+ }): Promise<SdkResult<KtMap<string, KtList<SectionTagTagsBySectionMapValue>>>>;
1449
+ massUpdateRoles(params: {
1450
+ companyId: Id;
1451
+ input: MassEditRolesCommand | SdkInput<MassEditRolesCommandProps>;
1452
+ }): Promise<SdkResult<void>>;
1453
+ offboardCompany(params: {
1454
+ companyId: Id;
1455
+ }): Promise<SdkResult<void>>;
1456
+ resetCompany(params: {
1457
+ companyId: Id;
1458
+ }): Promise<SdkResult<void>>;
1459
+ showCompany(params: {
1460
+ companyId: Id;
1461
+ fields?: string | null | undefined;
1462
+ }): Promise<SdkResult<Company>>;
1463
+ showCompanyDetailed(params: {
1464
+ companyId: Id;
1465
+ fields?: string | null | undefined;
1466
+ }): Promise<SdkResult<CompanyDetailed>>;
1467
+ showCompanyOrdinances(params: {
1468
+ companyId: Id;
1469
+ fields?: string | null | undefined;
1470
+ }): Promise<SdkResult<CompanyOrdinances>>;
1471
+ showImportDraft(params: {
1472
+ draftId: Id;
1473
+ fields?: string | null | undefined;
1474
+ }): Promise<SdkResult<DraftCompany>>;
1475
+ showImportDraftValidation(params: {
1476
+ draftId: Id;
1477
+ }): Promise<SdkResult<void>>;
1478
+ startImportOfDraft(params: {
1479
+ draftId: Id;
1480
+ }): Promise<SdkResult<void>>;
1481
+ updateActiveAdministrators(params: {
1482
+ input: UpdateActiveManagement | SdkInput<UpdateActiveManagementProps>;
1483
+ }): Promise<SdkResult<SoliboContacts>>;
1484
+ updateAdministratorsForCompany(params: {
1485
+ companyId: Id;
1486
+ input: UpdateManagementCommand | SdkInput<UpdateManagementCommandProps>;
1487
+ }): Promise<SdkResult<KtList<Person>>>;
1488
+ updateCompanyDetailed(params: {
1489
+ companyId: Id;
1490
+ input: UpdateCompanyDetailedCommand | SdkInput<UpdateCompanyDetailedCommandProps>;
1491
+ }): Promise<SdkResult<CompanyDetailed>>;
1492
+ updateCompanyOrdinances(params: {
1493
+ companyId: Id;
1494
+ input: UpsertOrdinancesCommand | SdkInput<UpsertOrdinancesCommandProps>;
1495
+ }): Promise<SdkResult<CompanyOrdinances>>;
1496
+ updateCompanyStatus(params: {
1497
+ companyId: Id;
1498
+ input: UpdateCompanyStatusCommand | SdkInput<UpdateCompanyStatusCommandProps>;
1499
+ }): Promise<SdkResult<void>>;
1500
+ updateImportDraft(params: {
1501
+ draftId: Id;
1502
+ input: UpdateKartverketResultCommand | SdkInput<UpdateKartverketResultCommandProps>;
1503
+ }): Promise<SdkResult<KartverketResult>>;
1504
+ updateMultipleCompanyDetailed(params: {
1505
+ input: BulkUpdateCompanyDetailedCommand | SdkInput<BulkUpdateCompanyDetailedCommandProps>;
1506
+ }): Promise<SdkResult<BulkUpdateCompanyDetailedResult>>;
1507
+ }
1508
+
1509
+ export interface SectionApiFacade {
1510
+ createOwnershipChange(params: {
1511
+ companyId: Id;
1512
+ sectionId: Id;
1513
+ input: OwnerChangeSectionCommand | SdkInput<OwnerChangeSectionCommandProps>;
1514
+ }): Promise<SdkResult<void>>;
1515
+ createSection(params: {
1516
+ companyId: Id;
1517
+ input: CreateSectionCommand | SdkInput<CreateSectionCommandProps>;
1518
+ status?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
1519
+ }): Promise<SdkResult<void>>;
1520
+ createSectionStatus(params: {
1521
+ companyId: Id;
1522
+ sectionId: Id;
1523
+ input: CreateStatusCommand | SdkInput<CreateStatusCommandProps>;
1524
+ statusType?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
1525
+ }): Promise<SdkResult<void>>;
1526
+ createSubSection(params: {
1527
+ companyId: Id;
1528
+ sectionId: Id;
1529
+ input: CreateSectionCommand | SdkInput<CreateSectionCommandProps>;
1530
+ }): Promise<SdkResult<void>>;
1531
+ createTagOnSection(params: {
1532
+ companyId: Id;
1533
+ sectionId: Id;
1534
+ input: SectionTagCommand | SdkInput<SectionTagCommandProps>;
1535
+ }): Promise<SdkResult<void>>;
1536
+ deleteOwnershipChange(params: {
1537
+ companyId: Id;
1538
+ sectionId: Id;
1539
+ ownerChangeId: Id;
1540
+ }): Promise<SdkResult<void>>;
1541
+ deleteSection(params: {
1542
+ companyId: Id;
1543
+ sectionId: Id;
1544
+ }): Promise<SdkResult<void>>;
1545
+ deleteSectionStatus(params: {
1546
+ companyId: Id;
1547
+ sectionId: Id;
1548
+ statusType?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
1549
+ }): Promise<SdkResult<void>>;
1550
+ deleteTagOnSection(params: {
1551
+ companyId: Id;
1552
+ sectionId: Id;
1553
+ }): Promise<SdkResult<void>>;
1554
+ exportSectionAssets(params: {
1555
+ companyId: Id;
1556
+ }): Promise<SdkResult<Base64ByteArray>>;
1557
+ indexCompanyOwnershipChanges(params: {
1558
+ companyId: Id;
1559
+ changeAtFrom?: Id | null | undefined;
1560
+ changeAtTo?: Id | null | undefined;
1561
+ fields?: string | null | undefined;
1562
+ pageToken?: string | null | undefined;
1563
+ autoPaginate?: boolean | null | undefined;
1564
+ count?: number | null | undefined;
1565
+ }): Promise<SdkResult<PagedListOwnershipChange>>;
1566
+ indexLoansByFraction(params: {
1567
+ companyId: Id;
1568
+ sectionId: Id;
1569
+ at?: Id | null | undefined;
1570
+ fields?: string | null | undefined;
1571
+ }): Promise<SdkResult<TripletexAccountFractionsResponse>>;
1572
+ indexOwnershipChanges(params: {
1573
+ changeAtFrom?: Id | null | undefined;
1574
+ changeAtTo?: Id | null | undefined;
1575
+ fields?: string | null | undefined;
1576
+ pageToken?: string | null | undefined;
1577
+ autoPaginate?: boolean | null | undefined;
1578
+ count?: number | null | undefined;
1579
+ }): Promise<SdkResult<PagedListOwnershipChange>>;
1580
+ indexSection(params: {
1581
+ companyId: Id;
1582
+ status?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
1583
+ query?: string | null | undefined;
1584
+ fields?: string | null | undefined;
1585
+ pageToken?: string | null | undefined;
1586
+ autoPaginate?: boolean | null | undefined;
1587
+ count?: number | null | undefined;
1588
+ }): Promise<SdkResult<PagedListSection>>;
1589
+ indexSectionFractions(params: {
1590
+ companyId: Id;
1591
+ fractionType?: FractionType | "OWNER" | "SECTION" | "IN_ONE" | "IN_TWO" | "IN_THREE" | "IN_FOUR" | "WEALTH" | null | undefined;
1592
+ sectionIds?: ReadonlyArray<Id> | null | undefined;
1593
+ validFrom?: Id | null | undefined;
1594
+ fields?: string | null | undefined;
1595
+ }): Promise<SdkResult<KtMap<string, KtList<SectionFractionSectionFractionMapValue>>>>;
1596
+ indexSectionStatus(params: {
1597
+ companyId: Id;
1598
+ fields?: string | null | undefined;
1599
+ pageToken?: string | null | undefined;
1600
+ autoPaginate?: boolean | null | undefined;
1601
+ count?: number | null | undefined;
1602
+ }): Promise<SdkResult<PagedListCompanySectionStatusOverview>>;
1603
+ indexSectionTenants(params: {
1604
+ companyId: Id;
1605
+ sectionId: Id;
1606
+ fields?: string | null | undefined;
1607
+ }): Promise<SdkResult<ResidentRoleHistory>>;
1608
+ indexSections(params: {
1609
+ query?: string | null | undefined;
1610
+ companyIds?: ReadonlyArray<Id> | null | undefined;
1611
+ fields?: string | null | undefined;
1612
+ pageToken?: string | null | undefined;
1613
+ autoPaginate?: boolean | null | undefined;
1614
+ count?: number | null | undefined;
1615
+ }): Promise<SdkResult<PagedListSection>>;
1616
+ indexTagsOnSection(params: {
1617
+ companyId: Id;
1618
+ sectionId: Id;
1619
+ fields?: string | null | undefined;
1620
+ pageToken?: string | null | undefined;
1621
+ autoPaginate?: boolean | null | undefined;
1622
+ count?: number | null | undefined;
1623
+ }): Promise<SdkResult<PagedListSectionTag>>;
1624
+ listSectionAttendanceas(params: {
1625
+ companyId: Id;
1626
+ sectionId: Id;
1627
+ at?: Id | null | undefined;
1628
+ fields?: string | null | undefined;
1629
+ pageToken?: string | null | undefined;
1630
+ autoPaginate?: boolean | null | undefined;
1631
+ count?: number | null | undefined;
1632
+ }): Promise<SdkResult<PagedListAttendance>>;
1633
+ massDeleteSectionFractions(params: {
1634
+ companyId: Id;
1635
+ fractionType?: FractionType | "OWNER" | "SECTION" | "IN_ONE" | "IN_TWO" | "IN_THREE" | "IN_FOUR" | "WEALTH" | null | undefined;
1636
+ sectionIds?: ReadonlyArray<Id> | null | undefined;
1637
+ validFrom?: Id | null | undefined;
1638
+ }): Promise<SdkResult<void>>;
1639
+ massUpdateSection(params: {
1640
+ companyId: Id;
1641
+ input: MassUpdateSectionCommand | SdkInput<MassUpdateSectionCommandProps>;
1642
+ status?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
1643
+ }): Promise<SdkResult<void>>;
1644
+ massUpdateSectionFractions(params: {
1645
+ companyId: Id;
1646
+ input: MassUpdateFractionsCommand | SdkInput<MassUpdateFractionsCommandProps>;
1647
+ fractionType?: FractionType | "OWNER" | "SECTION" | "IN_ONE" | "IN_TWO" | "IN_THREE" | "IN_FOUR" | "WEALTH" | null | undefined;
1648
+ sectionIds?: ReadonlyArray<Id> | null | undefined;
1649
+ validFrom?: Id | null | undefined;
1650
+ }): Promise<SdkResult<void>>;
1651
+ mergeSections(params: {
1652
+ companyId: Id;
1653
+ input: MergeSectionsCommand | SdkInput<MergeSectionsCommandProps>;
1654
+ }): Promise<SdkResult<Section>>;
1655
+ multiCreateTagOnSection(params: {
1656
+ companyId: Id;
1657
+ sectionId: Id;
1658
+ input: ReadonlyArray<SectionTagCommand | SdkInput<SectionTagCommandProps>>;
1659
+ }): Promise<SdkResult<void>>;
1660
+ showSectionResidentHistory(params: {
1661
+ companyId: Id;
1662
+ sectionId: Id;
1663
+ fields?: string | null | undefined;
1664
+ }): Promise<SdkResult<ResidentRoleHistory>>;
1665
+ showSectionStatus(params: {
1666
+ companyId: Id;
1667
+ sectionId: Id;
1668
+ statusType?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
1669
+ fields?: string | null | undefined;
1670
+ }): Promise<SdkResult<KtMap<string, KtList<SectionStatusSectionStatusMapValue>>>>;
1671
+ splitSection(params: {
1672
+ companyId: Id;
1673
+ input: SplitSectionCommand | SdkInput<SplitSectionCommandProps>;
1674
+ }): Promise<SdkResult<KtList<Section>>>;
1675
+ updateOwnershipChange(params: {
1676
+ companyId: Id;
1677
+ sectionId: Id;
1678
+ ownerChangeId: Id;
1679
+ input: OwnerChangeSectionCommand | SdkInput<OwnerChangeSectionCommandProps>;
1680
+ }): Promise<SdkResult<void>>;
1681
+ updateSection(params: {
1682
+ companyId: Id;
1683
+ sectionId: Id;
1684
+ input: UpdateSectionCommand | SdkInput<UpdateSectionCommandProps>;
1685
+ }): Promise<SdkResult<Section>>;
1686
+ updateSectionNotat(params: {
1687
+ companyId: Id;
1688
+ sectionId: Id;
1689
+ input: UpdateNoteCommand | SdkInput<UpdateNoteCommandProps>;
1690
+ }): Promise<SdkResult<Section>>;
1691
+ updateSectionStatus(params: {
1692
+ companyId: Id;
1693
+ sectionId: Id;
1694
+ input: UpdateStatusCommand | SdkInput<UpdateStatusCommandProps>;
1695
+ statusType?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
1696
+ }): Promise<SdkResult<void>>;
1697
+ }
1698
+
1699
+ export interface HomepageApiFacade {
1700
+ checkSMSForPost(params: {
1701
+ companyId: Id;
1702
+ input: ValidateSMSCommand | SdkInput<ValidateSMSCommandProps>;
1703
+ postId?: Id | null | undefined;
1704
+ }): Promise<SdkResult<SMSBundle>>;
1705
+ createMultipleHomepagePosts(params: {
1706
+ input: BulkCreateHomepagePostsCommand | SdkInput<BulkCreateHomepagePostsCommandProps>;
1707
+ }): Promise<SdkResult<BulkCreateHomepagePostsResult>>;
1708
+ createMultipleHomepagePracticalInfo(params: {
1709
+ input: BulkCreateHomepagePracticalInfoCommand | SdkInput<BulkCreateHomepagePracticalInfoCommandProps>;
1710
+ }): Promise<SdkResult<BulkCreateHomepagePracticalInfoResult>>;
1711
+ createPost(params: {
1712
+ companyId: Id;
1713
+ input: CreatePostCommand | SdkInput<CreatePostCommandProps>;
1714
+ purchaseBundleId?: Id | null | undefined;
1715
+ }): Promise<SdkResult<Post>>;
1716
+ createPracticalInfo(params: {
1717
+ companyId: Id;
1718
+ input: CreatePostCommand | SdkInput<CreatePostCommandProps>;
1719
+ purchaseBundleId?: Id | null | undefined;
1720
+ }): Promise<SdkResult<Post>>;
1721
+ deletePost(params: {
1722
+ companyId: Id;
1723
+ postId: Id;
1724
+ purchaseBundleId?: Id | null | undefined;
1725
+ publishChanges?: boolean | null | undefined;
1726
+ }): Promise<SdkResult<void>>;
1727
+ deletePracticalInfo(params: {
1728
+ companyId: Id;
1729
+ practicalInformationId: Id;
1730
+ purchaseBundleId?: Id | null | undefined;
1731
+ publishChanges?: boolean | null | undefined;
1732
+ }): Promise<SdkResult<void>>;
1733
+ finalizeIntegratedHomepagePostCreate(params: {
1734
+ companyId: Id;
1735
+ input: FinalizeHomepageDocumentCreateCommand | SdkInput<FinalizeHomepageDocumentCreateCommandProps>;
1736
+ }): Promise<SdkResult<IntegratedHomepageMutationResult>>;
1737
+ finalizeIntegratedHomepagePostUpdate(params: {
1738
+ companyId: Id;
1739
+ postId: Id;
1740
+ input: FinalizeHomepageDocumentUpdateCommand | SdkInput<FinalizeHomepageDocumentUpdateCommandProps>;
1741
+ }): Promise<SdkResult<IntegratedHomepageMutationResult>>;
1742
+ finalizeIntegratedPracticalInformationCreate(params: {
1743
+ companyId: Id;
1744
+ input: FinalizeHomepageDocumentCreateCommand | SdkInput<FinalizeHomepageDocumentCreateCommandProps>;
1745
+ }): Promise<SdkResult<IntegratedHomepageMutationResult>>;
1746
+ finalizeIntegratedPracticalInformationUpdate(params: {
1747
+ companyId: Id;
1748
+ informationId: Id;
1749
+ input: FinalizeHomepageDocumentUpdateCommand | SdkInput<FinalizeHomepageDocumentUpdateCommandProps>;
1750
+ }): Promise<SdkResult<IntegratedHomepageMutationResult>>;
1751
+ homepageRssByDomain(params: {
1752
+ domainName: string;
1753
+ }): Promise<SdkResult<string>>;
1754
+ homepageRssBySlug(params: {
1755
+ companySlug: string;
1756
+ slug: string;
1757
+ }): Promise<SdkResult<string>>;
1758
+ homepageRssOppslagByDomain(params: {
1759
+ domainName: string;
1760
+ }): Promise<SdkResult<string>>;
1761
+ homepageRssOppslagBySlug(params: {
1762
+ companySlug: string;
1763
+ }): Promise<SdkResult<string>>;
1764
+ homepageRssPraktiskInfoByDomain(params: {
1765
+ domainName: string;
1766
+ }): Promise<SdkResult<string>>;
1767
+ homepageRssPraktiskInfoBySlug(params: {
1768
+ companySlug: string;
1769
+ }): Promise<SdkResult<string>>;
1770
+ listHomepageFeed(params: {
1771
+ companyId: Id;
1772
+ purchaseBundleId?: Id | null | undefined;
1773
+ search?: string | null | undefined;
1774
+ fields?: string | null | undefined;
1775
+ pageToken?: string | null | undefined;
1776
+ autoPaginate?: boolean | null | undefined;
1777
+ count?: number | null | undefined;
1778
+ }): Promise<SdkResult<PagedListPost>>;
1779
+ listHomepageNotificationGroups(params: {
1780
+ companyId: Id;
1781
+ fields?: string | null | undefined;
1782
+ pageToken?: string | null | undefined;
1783
+ autoPaginate?: boolean | null | undefined;
1784
+ count?: number | null | undefined;
1785
+ }): Promise<SdkResult<PagedListNotificationGroup>>;
1786
+ listHomepagePracticalInformation(params: {
1787
+ companyId: Id;
1788
+ purchaseBundleId?: Id | null | undefined;
1789
+ search?: string | null | undefined;
1790
+ fields?: string | null | undefined;
1791
+ pageToken?: string | null | undefined;
1792
+ autoPaginate?: boolean | null | undefined;
1793
+ count?: number | null | undefined;
1794
+ }): Promise<SdkResult<PagedListPost>>;
1795
+ listOpenHomepageFeed(params: {
1796
+ companyId: Id;
1797
+ fields?: string | null | undefined;
1798
+ pageToken?: string | null | undefined;
1799
+ autoPaginate?: boolean | null | undefined;
1800
+ count?: number | null | undefined;
1801
+ }): Promise<SdkResult<PagedListPost>>;
1802
+ listOpenHomepagePracticalInformation(params: {
1803
+ companyId: Id;
1804
+ fields?: string | null | undefined;
1805
+ pageToken?: string | null | undefined;
1806
+ autoPaginate?: boolean | null | undefined;
1807
+ count?: number | null | undefined;
1808
+ }): Promise<SdkResult<PagedListPost>>;
1809
+ showHomepage(params: {
1810
+ companyId: Id;
1811
+ fields?: string | null | undefined;
1812
+ }): Promise<SdkResult<Homepage>>;
1813
+ showOpenHomepage(params: {
1814
+ companySlug: string;
1815
+ fields?: string | null | undefined;
1816
+ }): Promise<SdkResult<Homepage>>;
1817
+ showOpenHomepageByDomain(params: {
1818
+ domainName: string;
1819
+ fields?: string | null | undefined;
1820
+ }): Promise<SdkResult<Homepage>>;
1821
+ showOpenHomepageDocument(params: {
1822
+ companyId: Id;
1823
+ postId: Id;
1824
+ documentId: Id;
1825
+ redirect?: boolean | null | undefined;
1826
+ size?: string | null | undefined;
1827
+ fields?: string | null | undefined;
1828
+ }): Promise<SdkResult<UrlWrapper>>;
1829
+ showOpenHomepageDocumentsByPost(params: {
1830
+ companyId: Id;
1831
+ postId: Id;
1832
+ fields?: string | null | undefined;
1833
+ pageToken?: string | null | undefined;
1834
+ autoPaginate?: boolean | null | undefined;
1835
+ count?: number | null | undefined;
1836
+ }): Promise<SdkResult<PagedListDocument>>;
1837
+ updateFeedWeighting(params: {
1838
+ companyId: Id;
1839
+ input: UpdateFeedWeightingCommand | SdkInput<UpdateFeedWeightingCommandProps>;
1840
+ }): Promise<SdkResult<void>>;
1841
+ updatePost(params: {
1842
+ companyId: Id;
1843
+ postId: Id;
1844
+ input: UpdatePostCommand | SdkInput<UpdatePostCommandProps>;
1845
+ purchaseBundleId?: Id | null | undefined;
1846
+ publishChanges?: boolean | null | undefined;
1847
+ }): Promise<SdkResult<Post>>;
1848
+ updatePracticalInfo(params: {
1849
+ companyId: Id;
1850
+ practicalInformationId: Id;
1851
+ input: UpdatePostCommand | SdkInput<UpdatePostCommandProps>;
1852
+ purchaseBundleId?: Id | null | undefined;
1853
+ publishChanges?: boolean | null | undefined;
1854
+ }): Promise<SdkResult<Post>>;
1855
+ }
1856
+
1857
+ export interface InvoicingApiFacade {
1858
+ activateInvoiceLine(params: {
1859
+ companyId: Id;
1860
+ invoicePlanId: Id;
1861
+ invoiceLineId: Id;
1862
+ }): Promise<SdkResult<void>>;
1863
+ activateInvoicingForCompany(params: {
1864
+ companyId: Id;
1865
+ input: ActivateCompanyForTriplewinCommand | SdkInput<ActivateCompanyForTriplewinCommandProps>;
1866
+ }): Promise<SdkResult<void>>;
1867
+ adHocInvoicing(params: {
1868
+ companyId: Id;
1869
+ input: AdHocInvoiceLinesInputCommand | SdkInput<AdHocInvoiceLinesInputCommandProps>;
1870
+ allLines?: boolean | null | undefined;
1871
+ idsToDelete?: string | null | undefined;
1872
+ }): Promise<SdkResult<AdHocInvoiceLineResult>>;
1873
+ attachPaymentToInvoice(params: {
1874
+ orgNr: string;
1875
+ paymentId: Id;
1876
+ invoiceId: string;
1877
+ }): Promise<SdkResult<Invoice>>;
1878
+ createCompanyCustomerClaim(params: {
1879
+ companyId: Id;
1880
+ customerType: string;
1881
+ customerId: Id;
1882
+ input: CreateCustomerClaimCommand | SdkInput<CreateCustomerClaimCommandProps>;
1883
+ }): Promise<SdkResult<InvoiceInput>>;
1884
+ createCompanyExternalInvoiceRecipient(params: {
1885
+ companyId: Id;
1886
+ customerType: CustomerType | "PERSON" | "ORGANIZATION";
1887
+ input: CreateExternalCustomerCommand;
1888
+ }): Promise<SdkResult<InvoiceRecipient>>;
1889
+ createCompanyExternalInvoiceRecipientById(params: {
1890
+ companyId: Id;
1891
+ customerType: string;
1892
+ customerId: Id;
1893
+ input: AddExternalCustomerCommand | SdkInput<AddExternalCustomerCommandProps>;
1894
+ }): Promise<SdkResult<InvoiceRecipient>>;
1895
+ createCompanyInvoiceRecipientOfSection(params: {
1896
+ companyId: Id;
1897
+ customerType: string;
1898
+ customerId: Id;
1899
+ input: CreateInvoiceRecipientCommand | SdkInput<CreateInvoiceRecipientCommandProps>;
1900
+ sectionIdToDeleteFrom?: Id | null | undefined;
1901
+ }): Promise<SdkResult<InvoiceRecipient>>;
1902
+ createCustomerComment(params: {
1903
+ companyId: Id;
1904
+ customerType: string;
1905
+ customerId: Id;
1906
+ input: CreateCustomerCommentCommand | SdkInput<CreateCustomerCommentCommandProps>;
1907
+ }): Promise<SdkResult<void>>;
1908
+ createInvoicePlan(params: {
1909
+ companyId: Id;
1910
+ input: CreateInvoicePlanCommand | SdkInput<CreateInvoicePlanCommandProps>;
1911
+ active?: boolean | null | undefined;
1912
+ type?: InvoicePlanType | "FELLESKOSTNADER" | "KAPITALINNKREVING" | "OTHER" | null | undefined;
1913
+ }): Promise<SdkResult<InvoicePlan>>;
1914
+ createInvoicePlanDistribution(params: {
1915
+ companyId: Id;
1916
+ invoicePlanId: Id;
1917
+ input: CreateInvoiceDistributionCommand | SdkInput<CreateInvoiceDistributionCommandProps>;
1918
+ }): Promise<SdkResult<InvoicePlanDistribution>>;
1919
+ createInvoicePlanLine(params: {
1920
+ companyId: Id;
1921
+ invoicePlanId: Id;
1922
+ input: CreateInvoicePlanLineCommand | SdkInput<CreateInvoicePlanLineCommandProps>;
1923
+ active?: boolean | null | undefined;
1924
+ }): Promise<SdkResult<InvoicePlanLine>>;
1925
+ createInvoicingPlanTransactions(params: {
1926
+ companyId: Id;
1927
+ invoicePlanId: Id;
1928
+ at?: Id | null | undefined;
1929
+ }): Promise<SdkResult<KtList<InvoiceInput>>>;
1930
+ creditInvoice(params: {
1931
+ companyId: Id;
1932
+ customerType: string;
1933
+ customerId: Id;
1934
+ invoiceId: string;
1935
+ input: CreditInvoiceCommand | SdkInput<CreditInvoiceCommandProps>;
1936
+ }): Promise<SdkResult<InvoiceProcessingResult>>;
1937
+ deactivateInvoiceLine(params: {
1938
+ companyId: Id;
1939
+ invoicePlanId: Id;
1940
+ invoiceLineId: Id;
1941
+ }): Promise<SdkResult<void>>;
1942
+ deleteAdHocInvoicingGroup(params: {
1943
+ companyId: Id;
1944
+ adhocLineGroupId: Id;
1945
+ }): Promise<SdkResult<void>>;
1946
+ deleteAdHocInvoicingLine(params: {
1947
+ companyId: Id;
1948
+ adhocLineId: Id;
1949
+ }): Promise<SdkResult<void>>;
1950
+ deleteAdHocInvoicingLines(params: {
1951
+ companyId: Id;
1952
+ allLines?: boolean | null | undefined;
1953
+ idsToDelete?: string | null | undefined;
1954
+ }): Promise<SdkResult<void>>;
1955
+ deleteCompanyExternalInvoiceRecipient(params: {
1956
+ companyId: Id;
1957
+ customerType: string;
1958
+ customerId: Id;
1959
+ }): Promise<SdkResult<void>>;
1960
+ deleteCompanyInvoiceRecipientForSection(params: {
1961
+ companyId: Id;
1962
+ customerType: string;
1963
+ customerId: Id;
1964
+ sectionIdToDeleteFrom?: Id | null | undefined;
1965
+ }): Promise<SdkResult<void>>;
1966
+ deleteInvoiceLineChange(params: {
1967
+ companyId: Id;
1968
+ invoicePlanId: Id;
1969
+ invoiceLineId: Id;
1970
+ }): Promise<SdkResult<void>>;
1971
+ deleteInvoicePlanDistribution(params: {
1972
+ companyId: Id;
1973
+ invoicePlanId: Id;
1974
+ distributionId: Id;
1975
+ }): Promise<SdkResult<void>>;
1976
+ faktureringForCompanyIsActive(params: {
1977
+ companyId: Id;
1978
+ }): Promise<SdkResult<void>>;
1979
+ indexInvoicingAccounts(params: {
1980
+ companyId: Id;
1981
+ fields?: string | null | undefined;
1982
+ pageToken?: string | null | undefined;
1983
+ autoPaginate?: boolean | null | undefined;
1984
+ count?: number | null | undefined;
1985
+ }): Promise<SdkResult<PagedListAccount>>;
1986
+ indexInvoicingCustomerInvoices(params: {
1987
+ companyId: Id;
1988
+ customerType: string;
1989
+ customerId: Id;
1990
+ fields?: string | null | undefined;
1991
+ pageToken?: string | null | undefined;
1992
+ autoPaginate?: boolean | null | undefined;
1993
+ count?: number | null | undefined;
1994
+ }): Promise<SdkResult<PagedListInvoice>>;
1995
+ indexInvoicingCustomerMetadata(params: {
1996
+ companyId: Id;
1997
+ customerType: string;
1998
+ customerId: Id;
1999
+ fields?: string | null | undefined;
2000
+ }): Promise<SdkResult<CustomerMetadata>>;
2001
+ indexInvoicingCustomers(params: {
2002
+ companyId: Id;
2003
+ fields?: string | null | undefined;
2004
+ pageToken?: string | null | undefined;
2005
+ autoPaginate?: boolean | null | undefined;
2006
+ count?: number | null | undefined;
2007
+ }): Promise<SdkResult<PagedListCustomer>>;
2008
+ indexInvoicingCustomersForCompanies(params: {
2009
+ companyIds?: ReadonlyArray<Id> | null | undefined;
2010
+ search?: string | null | undefined;
2011
+ active?: boolean | null | undefined;
2012
+ external?: boolean | null | undefined;
2013
+ isRecipient?: boolean | null | undefined;
2014
+ customerType?: CustomerType | "PERSON" | "ORGANIZATION" | null | undefined;
2015
+ fields?: string | null | undefined;
2016
+ pageToken?: string | null | undefined;
2017
+ autoPaginate?: boolean | null | undefined;
2018
+ count?: number | null | undefined;
2019
+ }): Promise<SdkResult<PagedListCustomer>>;
2020
+ indexInvoicingForCompaniesExpired(params: {
2021
+ fields?: string | null | undefined;
2022
+ }): Promise<SdkResult<TriplewinOverdueInvoiceOverview>>;
2023
+ indexInvoicingForCompaniesExpiredTypes(params: {
2024
+ fields?: string | null | undefined;
2025
+ pageToken?: string | null | undefined;
2026
+ autoPaginate?: boolean | null | undefined;
2027
+ count?: number | null | undefined;
2028
+ }): Promise<SdkResult<PagedListExpiredType>>;
2029
+ indexInvoicingForCompaniesOverdue(params: {
2030
+ expiredType: ExpiredType | "NONE" | "FIRST" | "SECOND";
2031
+ fields?: string | null | undefined;
2032
+ pageToken?: string | null | undefined;
2033
+ autoPaginate?: boolean | null | undefined;
2034
+ count?: number | null | undefined;
2035
+ }): Promise<SdkResult<PagedListInvoice>>;
2036
+ indexInvoicingForCompaniesPaymentsDetached(params: {
2037
+ fields?: string | null | undefined;
2038
+ pageToken?: string | null | undefined;
2039
+ autoPaginate?: boolean | null | undefined;
2040
+ count?: number | null | undefined;
2041
+ }): Promise<SdkResult<PagedListPaymentRecord>>;
2042
+ indexInvoicingForCompaniesPaymentsHandlings(params: {
2043
+ fields?: string | null | undefined;
2044
+ pageToken?: string | null | undefined;
2045
+ autoPaginate?: boolean | null | undefined;
2046
+ count?: number | null | undefined;
2047
+ }): Promise<SdkResult<PagedListPaymentHandling>>;
2048
+ indexInvoicingForCompanyHistory(params: {
2049
+ companyId: Id;
2050
+ periodStart: Id;
2051
+ periodEnd: Id;
2052
+ fields?: string | null | undefined;
2053
+ pageToken?: string | null | undefined;
2054
+ autoPaginate?: boolean | null | undefined;
2055
+ count?: number | null | undefined;
2056
+ }): Promise<SdkResult<PagedListInvoice>>;
2057
+ indexInvoicingForCompanyQueued(params: {
2058
+ companyId: Id;
2059
+ fields?: string | null | undefined;
2060
+ pageToken?: string | null | undefined;
2061
+ autoPaginate?: boolean | null | undefined;
2062
+ count?: number | null | undefined;
2063
+ }): Promise<SdkResult<PagedListInvoiceInput>>;
2064
+ indexInvoicingForCompanyQueuedPreview(params: {
2065
+ companyId: Id;
2066
+ invoiceId: string;
2067
+ fields?: string | null | undefined;
2068
+ }): Promise<SdkResult<InvoiceResultPreview>>;
2069
+ indexInvoicingHistoryForCompanies(params: {
2070
+ periodStart: Id;
2071
+ periodEnd: Id;
2072
+ companyIds?: ReadonlyArray<Id> | null | undefined;
2073
+ search?: string | null | undefined;
2074
+ payerType?: PayerType | "PERSON" | "BOLIGSELSKAP" | "COMPANY" | "COMPANY_AS_PERSON" | "SUPPLIER" | "UNKNOWN" | null | undefined;
2075
+ open?: boolean | null | undefined;
2076
+ fields?: string | null | undefined;
2077
+ pageToken?: string | null | undefined;
2078
+ autoPaginate?: boolean | null | undefined;
2079
+ count?: number | null | undefined;
2080
+ }): Promise<SdkResult<PagedListInvoice>>;
2081
+ indexInvoicingInvoiceCredits(params: {
2082
+ companyId: Id;
2083
+ invoiceId: string;
2084
+ fields?: string | null | undefined;
2085
+ pageToken?: string | null | undefined;
2086
+ autoPaginate?: boolean | null | undefined;
2087
+ count?: number | null | undefined;
2088
+ }): Promise<SdkResult<PagedListInvoice>>;
2089
+ indexInvoicingInvoicePayments(params: {
2090
+ companyId: Id;
2091
+ invoiceId: string;
2092
+ fields?: string | null | undefined;
2093
+ pageToken?: string | null | undefined;
2094
+ autoPaginate?: boolean | null | undefined;
2095
+ count?: number | null | undefined;
2096
+ }): Promise<SdkResult<PagedListPaymentRecord>>;
2097
+ indexInvoicingInvoicePdfs(params: {
2098
+ companyId: Id;
2099
+ ids: ReadonlyArray<string>;
2100
+ }): Promise<SdkResult<Base64ByteArray>>;
2101
+ indexInvoicingPlanTransactionsForCompanies(params: {
2102
+ companyIds?: ReadonlyArray<Id> | null | undefined;
2103
+ invoicePlanIds?: ReadonlyArray<Id> | null | undefined;
2104
+ search?: string | null | undefined;
2105
+ active?: boolean | null | undefined;
2106
+ type?: InvoicePlanType | "FELLESKOSTNADER" | "KAPITALINNKREVING" | "OTHER" | null | undefined;
2107
+ overdueEnabled?: boolean | null | undefined;
2108
+ createdAtFrom?: Id | null | undefined;
2109
+ createdAtTo?: Id | null | undefined;
2110
+ fields?: string | null | undefined;
2111
+ pageToken?: string | null | undefined;
2112
+ autoPaginate?: boolean | null | undefined;
2113
+ count?: number | null | undefined;
2114
+ }): Promise<SdkResult<PagedListInvoicePlanTransactionOverview>>;
2115
+ indexInvoicingPlanTypes(params: {
2116
+ companyId: Id;
2117
+ fields?: string | null | undefined;
2118
+ pageToken?: string | null | undefined;
2119
+ autoPaginate?: boolean | null | undefined;
2120
+ count?: number | null | undefined;
2121
+ }): Promise<SdkResult<PagedListInvoicePlanType>>;
2122
+ indexInvoicingPlans(params: {
2123
+ companyId: Id;
2124
+ active?: boolean | null | undefined;
2125
+ type?: InvoicePlanType | "FELLESKOSTNADER" | "KAPITALINNKREVING" | "OTHER" | null | undefined;
2126
+ fields?: string | null | undefined;
2127
+ pageToken?: string | null | undefined;
2128
+ autoPaginate?: boolean | null | undefined;
2129
+ count?: number | null | undefined;
2130
+ }): Promise<SdkResult<PagedListInvoicePlan>>;
2131
+ indexInvoicingPlansForCompanies(params: {
2132
+ companyIds?: ReadonlyArray<Id> | null | undefined;
2133
+ search?: string | null | undefined;
2134
+ active?: boolean | null | undefined;
2135
+ type?: InvoicePlanType | "FELLESKOSTNADER" | "KAPITALINNKREVING" | "OTHER" | null | undefined;
2136
+ fields?: string | null | undefined;
2137
+ pageToken?: string | null | undefined;
2138
+ autoPaginate?: boolean | null | undefined;
2139
+ count?: number | null | undefined;
2140
+ }): Promise<SdkResult<PagedListInvoicePlan>>;
2141
+ indexInvoicingSectionInvoiceRecipients(params: {
2142
+ companyId: Id;
2143
+ sectionId: Id;
2144
+ fields?: string | null | undefined;
2145
+ pageToken?: string | null | undefined;
2146
+ autoPaginate?: boolean | null | undefined;
2147
+ count?: number | null | undefined;
2148
+ }): Promise<SdkResult<PagedListSectionInvoiceRecipientOverview>>;
2149
+ indexInvoicingSectionInvoices(params: {
2150
+ companyId: Id;
2151
+ sectionId: Id;
2152
+ fields?: string | null | undefined;
2153
+ pageToken?: string | null | undefined;
2154
+ autoPaginate?: boolean | null | undefined;
2155
+ count?: number | null | undefined;
2156
+ }): Promise<SdkResult<PagedListInvoice>>;
2157
+ indexInvoicingSectionPlans(params: {
2158
+ companyId: Id;
2159
+ sectionId: Id;
2160
+ active?: boolean | null | undefined;
2161
+ fields?: string | null | undefined;
2162
+ pageToken?: string | null | undefined;
2163
+ autoPaginate?: boolean | null | undefined;
2164
+ count?: number | null | undefined;
2165
+ }): Promise<SdkResult<PagedListInvoicePlan>>;
2166
+ indexInvoicingSettingsForCompanies(params: {
2167
+ companyIds?: ReadonlyArray<Id> | null | undefined;
2168
+ fields?: string | null | undefined;
2169
+ pageToken?: string | null | undefined;
2170
+ autoPaginate?: boolean | null | undefined;
2171
+ count?: number | null | undefined;
2172
+ }): Promise<SdkResult<PagedListInvoiceSettings>>;
2173
+ indexQueuedInvoicingForCompanies(params: {
2174
+ companyIds?: ReadonlyArray<Id> | null | undefined;
2175
+ fields?: string | null | undefined;
2176
+ pageToken?: string | null | undefined;
2177
+ autoPaginate?: boolean | null | undefined;
2178
+ count?: number | null | undefined;
2179
+ }): Promise<SdkResult<PagedListQueuedInvoice>>;
2180
+ indexUpcomingInvoicing(params: {
2181
+ fields?: string | null | undefined;
2182
+ pageToken?: string | null | undefined;
2183
+ autoPaginate?: boolean | null | undefined;
2184
+ count?: number | null | undefined;
2185
+ }): Promise<SdkResult<PagedListGlobalPreview>>;
2186
+ lossInvoice(params: {
2187
+ companyId: Id;
2188
+ customerType: string;
2189
+ customerId: Id;
2190
+ invoiceId: string;
2191
+ }): Promise<SdkResult<void>>;
2192
+ putCompanyInvoiceClose(params: {
2193
+ companyId: Id;
2194
+ invoiceId: string;
2195
+ input: CloseInvoiceCommand | SdkInput<CloseInvoiceCommandProps>;
2196
+ }): Promise<SdkResult<void>>;
2197
+ putCompanyInvoiceDisableOverdueNotices(params: {
2198
+ companyId: Id;
2199
+ invoiceId: string;
2200
+ }): Promise<SdkResult<void>>;
2201
+ putCompanyInvoiceEnableOverdueNotices(params: {
2202
+ companyId: Id;
2203
+ invoiceId: string;
2204
+ }): Promise<SdkResult<void>>;
2205
+ putCompanyInvoicesDisableOverdueNotices(params: {
2206
+ companyId: Id;
2207
+ input: MassInvoiceOverdueDisableCommand | SdkInput<MassInvoiceOverdueDisableCommandProps>;
2208
+ }): Promise<SdkResult<void>>;
2209
+ putCompanyInvoicesEnableOverdueNotices(params: {
2210
+ companyId: Id;
2211
+ input: MassInvoiceOverdueEnableCommand | SdkInput<MassInvoiceOverdueEnableCommandProps>;
2212
+ }): Promise<SdkResult<void>>;
2213
+ redirectToInvoicingForCompaniesExpiredByCustomerInTripletex(params: {
2214
+ tenant?: string | null | undefined;
2215
+ payerType?: PayerType | "PERSON" | "BOLIGSELSKAP" | "COMPANY" | "COMPANY_AS_PERSON" | "SUPPLIER" | "UNKNOWN" | null | undefined;
2216
+ payerId?: string | null | undefined;
2217
+ shouldRedirect?: boolean | null | undefined;
2218
+ fields?: string | null | undefined;
2219
+ }): Promise<SdkResult<UrlWrapper>>;
2220
+ rejectPayment(params: {
2221
+ orgNr: string;
2222
+ paymentId: Id;
2223
+ }): Promise<SdkResult<void>>;
2224
+ showInvoicingAdHocGroupLines(params: {
2225
+ companyId: Id;
2226
+ adhocLineGroupId: Id;
2227
+ fields?: string | null | undefined;
2228
+ pageToken?: string | null | undefined;
2229
+ autoPaginate?: boolean | null | undefined;
2230
+ count?: number | null | undefined;
2231
+ }): Promise<SdkResult<PagedListAdHocInvoiceLine>>;
2232
+ showInvoicingAdHocGroupPreview(params: {
2233
+ companyId: Id;
2234
+ adhocLineGroupId: Id;
2235
+ fields?: string | null | undefined;
2236
+ pageToken?: string | null | undefined;
2237
+ autoPaginate?: boolean | null | undefined;
2238
+ count?: number | null | undefined;
2239
+ }): Promise<SdkResult<PagedListInvoicePreview>>;
2240
+ showInvoicingAdHocGroupPreviewPdf(params: {
2241
+ companyId: Id;
2242
+ adhocLineGroupId: Id;
2243
+ iteratorValue: Id;
2244
+ fields?: string | null | undefined;
2245
+ }): Promise<SdkResult<InvoiceResultPreview>>;
2246
+ showInvoicingAdHocGroups(params: {
2247
+ companyId: Id;
2248
+ allGroups?: boolean | null | undefined;
2249
+ fields?: string | null | undefined;
2250
+ pageToken?: string | null | undefined;
2251
+ autoPaginate?: boolean | null | undefined;
2252
+ count?: number | null | undefined;
2253
+ }): Promise<SdkResult<PagedListAdHocInvoiceGroup>>;
2254
+ showInvoicingAdHocLines(params: {
2255
+ companyId: Id;
2256
+ allLines?: boolean | null | undefined;
2257
+ idsToDelete?: string | null | undefined;
2258
+ fields?: string | null | undefined;
2259
+ pageToken?: string | null | undefined;
2260
+ autoPaginate?: boolean | null | undefined;
2261
+ count?: number | null | undefined;
2262
+ }): Promise<SdkResult<PagedListAdHocInvoiceLine>>;
2263
+ showInvoicingAdHocLinesByOrganization(params: {
2264
+ companyId: Id;
2265
+ adhocLineId: Id;
2266
+ organizationId: Id;
2267
+ fields?: string | null | undefined;
2268
+ pageToken?: string | null | undefined;
2269
+ autoPaginate?: boolean | null | undefined;
2270
+ count?: number | null | undefined;
2271
+ }): Promise<SdkResult<PagedListAdHocInvoiceLine>>;
2272
+ showInvoicingAdHocLinesByPerson(params: {
2273
+ companyId: Id;
2274
+ adhocLineId: Id;
2275
+ personId: Id;
2276
+ fields?: string | null | undefined;
2277
+ pageToken?: string | null | undefined;
2278
+ autoPaginate?: boolean | null | undefined;
2279
+ count?: number | null | undefined;
2280
+ }): Promise<SdkResult<PagedListAdHocInvoiceLine>>;
2281
+ showInvoicingAdHocLinesBySection(params: {
2282
+ companyId: Id;
2283
+ adhocLineId: Id;
2284
+ sectionId: Id;
2285
+ fields?: string | null | undefined;
2286
+ pageToken?: string | null | undefined;
2287
+ autoPaginate?: boolean | null | undefined;
2288
+ count?: number | null | undefined;
2289
+ }): Promise<SdkResult<PagedListAdHocInvoiceLine>>;
2290
+ showInvoicingCustomer(params: {
2291
+ companyId: Id;
2292
+ customerType: string;
2293
+ customerId: Id;
2294
+ sectionIdToDeleteFrom?: Id | null | undefined;
2295
+ fields?: string | null | undefined;
2296
+ }): Promise<SdkResult<Customer>>;
2297
+ showInvoicingCustomerInvoiceOverdueFirstPdf(params: {
2298
+ companyId: Id;
2299
+ customerType: string;
2300
+ customerId: Id;
2301
+ invoiceId: string;
2302
+ }): Promise<SdkResult<Base64ByteArray>>;
2303
+ showInvoicingCustomerInvoiceOverdueSecondPdf(params: {
2304
+ companyId: Id;
2305
+ customerType: string;
2306
+ customerId: Id;
2307
+ invoiceId: string;
2308
+ }): Promise<SdkResult<Base64ByteArray>>;
2309
+ showInvoicingCustomerInvoicePdf(params: {
2310
+ companyId: Id;
2311
+ customerType: string;
2312
+ customerId: Id;
2313
+ invoiceId: string;
2314
+ }): Promise<SdkResult<Base64ByteArray>>;
2315
+ showInvoicingCustomerInvoiceReceptionsSection(params: {
2316
+ companyId: Id;
2317
+ customerType: string;
2318
+ customerId: Id;
2319
+ fields?: string | null | undefined;
2320
+ pageToken?: string | null | undefined;
2321
+ autoPaginate?: boolean | null | undefined;
2322
+ count?: number | null | undefined;
2323
+ }): Promise<SdkResult<PagedListLong>>;
2324
+ showInvoicingForCompaniesExpiredByCustomer(params: {
2325
+ tenant?: string | null | undefined;
2326
+ payerType?: PayerType | "PERSON" | "BOLIGSELSKAP" | "COMPANY" | "COMPANY_AS_PERSON" | "SUPPLIER" | "UNKNOWN" | null | undefined;
2327
+ payerId?: string | null | undefined;
2328
+ invoiceIds?: ReadonlyArray<string> | null | undefined;
2329
+ fields?: string | null | undefined;
2330
+ }): Promise<SdkResult<OverdueInvoiceCustomerPreview>>;
2331
+ showInvoicingPlan(params: {
2332
+ companyId: Id;
2333
+ invoicePlanId: Id;
2334
+ at?: Id | null | undefined;
2335
+ fields?: string | null | undefined;
2336
+ }): Promise<SdkResult<InvoicePlan>>;
2337
+ showInvoicingPlanAdHocLines(params: {
2338
+ companyId: Id;
2339
+ invoicePlanId: Id;
2340
+ allLines?: boolean | null | undefined;
2341
+ fields?: string | null | undefined;
2342
+ pageToken?: string | null | undefined;
2343
+ autoPaginate?: boolean | null | undefined;
2344
+ count?: number | null | undefined;
2345
+ }): Promise<SdkResult<PagedListAdHocInvoiceLine>>;
2346
+ showInvoicingPlanDistribution(params: {
2347
+ companyId: Id;
2348
+ invoicePlanId: Id;
2349
+ distributionId: Id;
2350
+ fields?: string | null | undefined;
2351
+ }): Promise<SdkResult<InvoicePlanDistribution>>;
2352
+ showInvoicingPlanDistributions(params: {
2353
+ companyId: Id;
2354
+ invoicePlanId: Id;
2355
+ fields?: string | null | undefined;
2356
+ pageToken?: string | null | undefined;
2357
+ autoPaginate?: boolean | null | undefined;
2358
+ count?: number | null | undefined;
2359
+ }): Promise<SdkResult<PagedListInvoicePlanDistribution>>;
2360
+ showInvoicingPlanLine(params: {
2361
+ companyId: Id;
2362
+ invoicePlanId: Id;
2363
+ invoiceLineId: Id;
2364
+ fields?: string | null | undefined;
2365
+ }): Promise<SdkResult<InvoicePlanLine>>;
2366
+ showInvoicingPlanLines(params: {
2367
+ companyId: Id;
2368
+ invoicePlanId: Id;
2369
+ active?: boolean | null | undefined;
2370
+ fields?: string | null | undefined;
2371
+ pageToken?: string | null | undefined;
2372
+ autoPaginate?: boolean | null | undefined;
2373
+ count?: number | null | undefined;
2374
+ }): Promise<SdkResult<PagedListInvoicePlanLine>>;
2375
+ showInvoicingPlanPreview(params: {
2376
+ companyId: Id;
2377
+ invoicePlanId: Id;
2378
+ at?: Id | null | undefined;
2379
+ forced?: boolean | null | undefined;
2380
+ fields?: string | null | undefined;
2381
+ pageToken?: string | null | undefined;
2382
+ autoPaginate?: boolean | null | undefined;
2383
+ count?: number | null | undefined;
2384
+ }): Promise<SdkResult<PagedListInvoicePreview>>;
2385
+ showInvoicingPlanPreviewCustomerPdf(params: {
2386
+ companyId: Id;
2387
+ invoicePlanId: Id;
2388
+ customerType: string;
2389
+ customerId: Id;
2390
+ sectionId?: Id | null | undefined;
2391
+ at?: Id | null | undefined;
2392
+ fields?: string | null | undefined;
2393
+ }): Promise<SdkResult<InvoiceResultPreview>>;
2394
+ showInvoicingPlanSettings(params: {
2395
+ companyId: Id;
2396
+ invoicePlanId: Id;
2397
+ at?: Id | null | undefined;
2398
+ fields?: string | null | undefined;
2399
+ }): Promise<SdkResult<InvoicePlanSettings>>;
2400
+ showInvoicingPlanTransactionInvoices(params: {
2401
+ companyId: Id;
2402
+ invoicePlanId: Id;
2403
+ transactionId: Id;
2404
+ fields?: string | null | undefined;
2405
+ pageToken?: string | null | undefined;
2406
+ autoPaginate?: boolean | null | undefined;
2407
+ count?: number | null | undefined;
2408
+ }): Promise<SdkResult<PagedListInvoice>>;
2409
+ showInvoicingPlanTransactions(params: {
2410
+ companyId: Id;
2411
+ invoicePlanId: Id;
2412
+ at?: Id | null | undefined;
2413
+ fields?: string | null | undefined;
2414
+ pageToken?: string | null | undefined;
2415
+ autoPaginate?: boolean | null | undefined;
2416
+ count?: number | null | undefined;
2417
+ }): Promise<SdkResult<PagedListInvoicePlanTransaction>>;
2418
+ showInvoicingSettings(params: {
2419
+ companyId: Id;
2420
+ fields?: string | null | undefined;
2421
+ }): Promise<SdkResult<InvoiceSettings>>;
2422
+ toggleInvoicingPlanTransactionOverdue(params: {
2423
+ companyId: Id;
2424
+ invoicePlanId: Id;
2425
+ transactionId: Id;
2426
+ }): Promise<SdkResult<void>>;
2427
+ updateAdHocInvoicing(params: {
2428
+ companyId: Id;
2429
+ input: AdHocInvoiceLinesUpdateInputCommand | SdkInput<AdHocInvoiceLinesUpdateInputCommandProps>;
2430
+ allLines?: boolean | null | undefined;
2431
+ idsToDelete?: string | null | undefined;
2432
+ }): Promise<SdkResult<KtList<AdHocInvoiceLine>>>;
2433
+ updateAdHocInvoicingGroup(params: {
2434
+ companyId: Id;
2435
+ adhocLineGroupId: Id;
2436
+ input: UpdateAdHocInvoiceGroupCommand | SdkInput<UpdateAdHocInvoiceGroupCommandProps>;
2437
+ }): Promise<SdkResult<AdHocInvoiceGroup>>;
2438
+ updateCompanyExternalInvoiceRecipient(params: {
2439
+ companyId: Id;
2440
+ customerType: string;
2441
+ customerId: Id;
2442
+ input: UpdateExternalInvoiceRecipientCommand | SdkInput<UpdateExternalInvoiceRecipientCommandProps>;
2443
+ }): Promise<SdkResult<void>>;
2444
+ updateCompanyInvoiceRecipientOfSection(params: {
2445
+ companyId: Id;
2446
+ customerType: string;
2447
+ customerId: Id;
2448
+ input: UpdateInvoiceRecipientCommand | SdkInput<UpdateInvoiceRecipientCommandProps>;
2449
+ sectionIdToDeleteFrom?: Id | null | undefined;
2450
+ }): Promise<SdkResult<void>>;
2451
+ updateCustomerMetadata(params: {
2452
+ companyId: Id;
2453
+ customerType: string;
2454
+ customerId: Id;
2455
+ input: ModifyCustomerMetadataCommand | SdkInput<ModifyCustomerMetadataCommandProps>;
2456
+ }): Promise<SdkResult<void>>;
2457
+ updateInvoicePlan(params: {
2458
+ companyId: Id;
2459
+ invoicePlanId: Id;
2460
+ input: UpdateInvoicePlanCommand | SdkInput<UpdateInvoicePlanCommandProps>;
2461
+ at?: Id | null | undefined;
2462
+ }): Promise<SdkResult<InvoicePlan>>;
2463
+ updateInvoicePlanDistribution(params: {
2464
+ companyId: Id;
2465
+ invoicePlanId: Id;
2466
+ distributionId: Id;
2467
+ input: UpdateInvoiceDistributionCommand | SdkInput<UpdateInvoiceDistributionCommandProps>;
2468
+ }): Promise<SdkResult<InvoicePlanDistribution>>;
2469
+ updateInvoicePlanLine(params: {
2470
+ companyId: Id;
2471
+ invoicePlanId: Id;
2472
+ invoiceLineId: Id;
2473
+ input: UpdateInvoicePlanLineCommand | SdkInput<UpdateInvoicePlanLineCommandProps>;
2474
+ }): Promise<SdkResult<InvoicePlanLine>>;
2475
+ updateInvoicePlanLineName(params: {
2476
+ companyId: Id;
2477
+ invoicePlanId: Id;
2478
+ invoiceLineId: Id;
2479
+ input: UpdateInvoicePlanLineNameCommand | SdkInput<UpdateInvoicePlanLineNameCommandProps>;
2480
+ }): Promise<SdkResult<InvoicePlanLine>>;
2481
+ updateInvoicePlanSettings(params: {
2482
+ companyId: Id;
2483
+ invoicePlanId: Id;
2484
+ input: UpdateInvoicePlanSettingsCommand | SdkInput<UpdateInvoicePlanSettingsCommandProps>;
2485
+ at?: Id | null | undefined;
2486
+ }): Promise<SdkResult<InvoicePlanSettings>>;
2487
+ updateInvoiceSettings(params: {
2488
+ companyId: Id;
2489
+ input: UpdateInvoiceSettingsCommand | SdkInput<UpdateInvoiceSettingsCommandProps>;
2490
+ }): Promise<SdkResult<InvoiceSettings>>;
2491
+ updateSectionInvoiceRecipient(params: {
2492
+ companyId: Id;
2493
+ sectionId: Id;
2494
+ input: UpdateSectionInvoiceRecipientCommand | SdkInput<UpdateSectionInvoiceRecipientCommandProps>;
2495
+ }): Promise<SdkResult<void>>;
2496
+ }
2497
+
2498
+ export interface ThirdPartyInformationApiFacade {
2499
+ completeThirdPartyInformation(params: {
2500
+ companyId: Id;
2501
+ thirdPartyInformationId: Id;
2502
+ }): Promise<SdkResult<void>>;
2503
+ createThirdPartyInformation(params: {
2504
+ companyId: Id;
2505
+ input: GenerateThirdPartyInformationCommand | SdkInput<GenerateThirdPartyInformationCommandProps>;
2506
+ year?: Id | null | undefined;
2507
+ }): Promise<SdkResult<ThirdPartyInformation>>;
2508
+ getThirdPartyInformationAccounts(params: {
2509
+ companyId: Id;
2510
+ year?: Id | null | undefined;
2511
+ fields?: string | null | undefined;
2512
+ }): Promise<SdkResult<GenerateThirdPartyInformationCommand>>;
2513
+ indexThirdPartyInformation(params: {
2514
+ companyId: Id;
2515
+ year?: Id | null | undefined;
2516
+ fields?: string | null | undefined;
2517
+ pageToken?: string | null | undefined;
2518
+ autoPaginate?: boolean | null | undefined;
2519
+ count?: number | null | undefined;
2520
+ }): Promise<SdkResult<PagedListThirdPartyInformationYear>>;
2521
+ indexThirdPartyInformationDialog(params: {
2522
+ companyId: Id;
2523
+ year: number;
2524
+ fields?: string | null | undefined;
2525
+ }): Promise<SdkResult<ThreePODialog>>;
2526
+ indexThirdPartyInformationLetterByDialogYear(params: {
2527
+ companyId: Id;
2528
+ sectionId: Id;
2529
+ personId: Id;
2530
+ redirect?: boolean | null | undefined;
2531
+ fields?: string | null | undefined;
2532
+ pageToken?: string | null | undefined;
2533
+ autoPaginate?: boolean | null | undefined;
2534
+ count?: number | null | undefined;
2535
+ }): Promise<SdkResult<PagedListThreePOYear>>;
2536
+ overrideThirdPartyInformation(params: {
2537
+ companyId: Id;
2538
+ thirdPartyInformationId: Id;
2539
+ input: OverrideThirdPartyInformationResultCommand | SdkInput<OverrideThirdPartyInformationResultCommandProps>;
2540
+ }): Promise<SdkResult<ThirdPartyInformation>>;
2541
+ reOpenThirdPartyInformation(params: {
2542
+ companyId: Id;
2543
+ thirdPartyInformationId: Id;
2544
+ }): Promise<SdkResult<void>>;
2545
+ sendThirdPartyInformationToSkatteetaten(params: {
2546
+ companyId: Id;
2547
+ thirdPartyInformationId: Id;
2548
+ autoPublish?: boolean | null | undefined;
2549
+ }): Promise<SdkResult<void>>;
2550
+ sendThirdPartyInformationWithDigiPost(params: {
2551
+ companyId: Id;
2552
+ thirdPartyInformationId: Id;
2553
+ publishTo?: ReadonlyArray<Id> | null | undefined;
2554
+ }): Promise<SdkResult<void>>;
2555
+ showThirdPartyInformation(params: {
2556
+ companyId: Id;
2557
+ thirdPartyInformationId: Id;
2558
+ fields?: string | null | undefined;
2559
+ }): Promise<SdkResult<ThirdPartyInformation>>;
2560
+ showThirdPartyInformationLetter(params: {
2561
+ companyId: Id;
2562
+ thirdPartyInformationId: Id;
2563
+ sectionId: Id;
2564
+ personId: Id;
2565
+ redirect?: boolean | null | undefined;
2566
+ fields?: string | null | undefined;
2567
+ }): Promise<SdkResult<FilesDownload>>;
2568
+ showThirdPartyInformationLetterByDialogYear(params: {
2569
+ companyId: Id;
2570
+ year: string;
2571
+ sectionId: Id;
2572
+ personId: Id;
2573
+ redirect?: boolean | null | undefined;
2574
+ fields?: string | null | undefined;
2575
+ }): Promise<SdkResult<FilesDownload>>;
2576
+ updateThirdPartyInformation(params: {
2577
+ companyId: Id;
2578
+ thirdPartyInformationId: Id;
2579
+ input: GenerateThirdPartyInformationCommand | SdkInput<GenerateThirdPartyInformationCommandProps>;
2580
+ }): Promise<SdkResult<ThirdPartyInformation>>;
2581
+ }
2582
+
2583
+ export interface ResidentApiFacade {
2584
+ createChangeRequestForResident(params: {
2585
+ companyId: Id;
2586
+ residentType: string;
2587
+ residentId: Id;
2588
+ input: CreateChangeRequestCommand | SdkInput<CreateChangeRequestCommandProps>;
2589
+ }): Promise<SdkResult<void>>;
2590
+ createResident(params: {
2591
+ companyId: Id;
2592
+ residentType: ResidentType | "PERSON" | "ORGANIZATION";
2593
+ input: CreateResidentCommand;
2594
+ }): Promise<SdkResult<Person>>;
2595
+ createResidentAttendance(params: {
2596
+ companyId: Id;
2597
+ residentType: string;
2598
+ residentId: Id;
2599
+ sectionId: Id;
2600
+ input: CreateAttendanceCommand | SdkInput<CreateAttendanceCommandProps>;
2601
+ }): Promise<SdkResult<void>>;
2602
+ deleteResidentAttendance(params: {
2603
+ companyId: Id;
2604
+ residentType: string;
2605
+ residentId: Id;
2606
+ sectionId: Id;
2607
+ attendanceId: Id;
2608
+ }): Promise<SdkResult<void>>;
2609
+ exportResidents(params: {
2610
+ companyId: Id;
2611
+ includePnr?: boolean | null | undefined;
2612
+ }): Promise<SdkResult<Base64ByteArray>>;
2613
+ importResidentsForOnboardingCompany(params: {
2614
+ companyId: Id;
2615
+ input: string;
2616
+ }): Promise<SdkResult<void>>;
2617
+ indexResident(params: {
2618
+ companyId: Id;
2619
+ query?: string | null | undefined;
2620
+ fields?: string | null | undefined;
2621
+ pageToken?: string | null | undefined;
2622
+ autoPaginate?: boolean | null | undefined;
2623
+ count?: number | null | undefined;
2624
+ }): Promise<SdkResult<PagedListResident>>;
2625
+ indexResidentTypes(params: {
2626
+ companyId: Id;
2627
+ fields?: string | null | undefined;
2628
+ pageToken?: string | null | undefined;
2629
+ autoPaginate?: boolean | null | undefined;
2630
+ count?: number | null | undefined;
2631
+ }): Promise<SdkResult<PagedListResidentType>>;
2632
+ inviteResidentToSoliboApp(params: {
2633
+ companyId: Id;
2634
+ residentType: string;
2635
+ residentId: Id;
2636
+ }): Promise<SdkResult<void>>;
2637
+ inviteResidentsToSoliboApp(params: {
2638
+ companyId: Id;
2639
+ }): Promise<SdkResult<void>>;
2640
+ listResidentAttendance(params: {
2641
+ companyId: Id;
2642
+ residentType: string;
2643
+ residentId: Id;
2644
+ at?: Id | null | undefined;
2645
+ fields?: string | null | undefined;
2646
+ pageToken?: string | null | undefined;
2647
+ autoPaginate?: boolean | null | undefined;
2648
+ count?: number | null | undefined;
2649
+ }): Promise<SdkResult<PagedListAttendance>>;
2650
+ showResidentByOrgNr(params: {
2651
+ companyId: Id;
2652
+ input: FindResidentByOrgNrCommand | SdkInput<FindResidentByOrgNrCommandProps>;
2653
+ }): Promise<SdkResult<Organization>>;
2654
+ showResidentByPersonnummer(params: {
2655
+ companyId: Id;
2656
+ input: FindResidentByPersonalIdentityNumberCommand | SdkInput<FindResidentByPersonalIdentityNumberCommandProps>;
2657
+ }): Promise<SdkResult<FindResidentResult>>;
2658
+ showResidentSensitive(params: {
2659
+ companyId: Id;
2660
+ residentType: string;
2661
+ residentId: Id;
2662
+ fields?: string | null | undefined;
2663
+ }): Promise<SdkResult<SensitiveData>>;
2664
+ updateResident(params: {
2665
+ companyId: Id;
2666
+ residentType: string;
2667
+ residentId: Id;
2668
+ input: UpdateResidentCommand;
2669
+ removeBods?: boolean | null | undefined;
2670
+ removeParkeringsplass?: boolean | null | undefined;
2671
+ }): Promise<SdkResult<Person>>;
2672
+ updateResidentAttendance(params: {
2673
+ companyId: Id;
2674
+ residentType: string;
2675
+ residentId: Id;
2676
+ sectionId: Id;
2677
+ attendanceId: Id;
2678
+ input: UpdateAttendanceCommand | SdkInput<UpdateAttendanceCommandProps>;
2679
+ }): Promise<SdkResult<void>>;
2680
+ updateResidentNotat(params: {
2681
+ companyId: Id;
2682
+ residentType: string;
2683
+ residentId: Id;
2684
+ input: UpdateNotatCommand | SdkInput<UpdateNotatCommandProps>;
2685
+ }): Promise<SdkResult<Resident>>;
2686
+ }
2687
+
2688
+ export interface PersonApiFacade {
2689
+ deletePersonFromCompany(params: {
2690
+ companyId: Id;
2691
+ residentType: string;
2692
+ residentId: Id;
2693
+ removeBods?: boolean | null | undefined;
2694
+ removeParkeringsplass?: boolean | null | undefined;
2695
+ }): Promise<SdkResult<void>>;
2696
+ deletePersonRole(params: {
2697
+ personId: Id;
2698
+ roleId: Id;
2699
+ }): Promise<SdkResult<void>>;
2700
+ indexPersons(params: {
2701
+ query?: string | null | undefined;
2702
+ fields?: string | null | undefined;
2703
+ pageToken?: string | null | undefined;
2704
+ autoPaginate?: boolean | null | undefined;
2705
+ count?: number | null | undefined;
2706
+ }): Promise<SdkResult<PagedListPerson>>;
2707
+ indexPersonsForEdit(params: {
2708
+ companyId: Id;
2709
+ fields?: string | null | undefined;
2710
+ pageToken?: string | null | undefined;
2711
+ autoPaginate?: boolean | null | undefined;
2712
+ count?: number | null | undefined;
2713
+ }): Promise<SdkResult<PagedListPerson>>;
2714
+ invitePersonToBoard(params: {
2715
+ companyId: Id;
2716
+ personId: Id;
2717
+ }): Promise<SdkResult<void>>;
2718
+ massUpdatePerson(params: {
2719
+ input: MassEditPersonCommand | SdkInput<MassEditPersonCommandProps>;
2720
+ }): Promise<SdkResult<void>>;
2721
+ mergePersons(params: {
2722
+ input: MergePersonsCommand | SdkInput<MergePersonsCommandProps>;
2723
+ }): Promise<SdkResult<Person>>;
2724
+ searchPerson(params: {
2725
+ input: SearchPersonQueryCommand | SdkInput<SearchPersonQueryCommandProps>;
2726
+ }): Promise<SdkResult<KtList<Person>>>;
2727
+ showPerson(params: {
2728
+ personId: Id;
2729
+ fields?: string | null | undefined;
2730
+ }): Promise<SdkResult<Person>>;
2731
+ showPersonByEmail(params: {
2732
+ email: string;
2733
+ fields?: string | null | undefined;
2734
+ }): Promise<SdkResult<Person>>;
2735
+ showPersonByMobil(params: {
2736
+ mobile: string;
2737
+ fields?: string | null | undefined;
2738
+ }): Promise<SdkResult<Person>>;
2739
+ showPersonByPersonnummer(params: {
2740
+ input: GenghisPersonnummerSearchCommand | SdkInput<GenghisPersonnummerSearchCommandProps>;
2741
+ }): Promise<SdkResult<KtList<PersonnummerResult>>>;
2742
+ updatePerson(params: {
2743
+ personId: Id;
2744
+ input: UpdatePersonCommand | SdkInput<UpdatePersonCommandProps>;
2745
+ }): Promise<SdkResult<Person>>;
2746
+ updatePersonReservations(params: {
2747
+ personId: Id;
2748
+ input: UpdatePersonReservationsCommand | SdkInput<UpdatePersonReservationsCommandProps>;
2749
+ }): Promise<SdkResult<Person>>;
2750
+ updatePersonResidency(params: {
2751
+ companyId: Id;
2752
+ residentType: string;
2753
+ residentId: Id;
2754
+ input: EditResidencyCommand | SdkInput<EditResidencyCommandProps>;
2755
+ }): Promise<SdkResult<void>>;
2756
+ }
2757
+
2758
+ export interface AuthApiFacade {
2759
+ confirmResetPassword(params: {
2760
+ input: ConfirmNewPasswordCommand | SdkInput<ConfirmNewPasswordCommandProps>;
2761
+ }): Promise<SdkResult<void>>;
2762
+ confirmTokensCreationByEmail(params: {
2763
+ input: ConfirmMagicEmailCommand | SdkInput<ConfirmMagicEmailCommandProps>;
2764
+ }): Promise<SdkResult<SoliboAuthentication>>;
2765
+ confirmTokensCreationByEmailInline(params: {
2766
+ input: EmailInlineConfirmCommand | SdkInput<EmailInlineConfirmCommandProps>;
2767
+ }): Promise<SdkResult<SoliboAuthentication>>;
2768
+ confirmTokensCreationBySms(params: {
2769
+ input: ConfirmMagicSmsCommand | SdkInput<ConfirmMagicSmsCommandProps>;
2770
+ }): Promise<SdkResult<SoliboAuthentication>>;
2771
+ createAuthSupportRequest(params: {
2772
+ input: AuthorizationSupportRequestCommand | SdkInput<AuthorizationSupportRequestCommandProps>;
2773
+ }): Promise<SdkResult<void>>;
2774
+ createDeviceSrp(params: {
2775
+ input: DeviceSrpCommand | SdkInput<DeviceSrpCommandProps>;
2776
+ }): Promise<SdkResult<SoliboAuthentication>>;
2777
+ createDeviceSrpVerification(params: {
2778
+ input: DeviceVerifySrpCommand | SdkInput<DeviceVerifySrpCommandProps>;
2779
+ }): Promise<SdkResult<SoliboAuthentication>>;
2780
+ createM2MTokens(params: {
2781
+ input: CreateM2MTokensCommand | SdkInput<CreateM2MTokensCommandProps>;
2782
+ }): Promise<SdkResult<SoliboAuthentication>>;
2783
+ createMfaPreference(params: {
2784
+ input: MfaPreferenceCommand | SdkInput<MfaPreferenceCommandProps>;
2785
+ }): Promise<SdkResult<void>>;
2786
+ createMfaSelection(params: {
2787
+ input: MfaSelectionCommand | SdkInput<MfaSelectionCommandProps>;
2788
+ }): Promise<SdkResult<void>>;
2789
+ createMfaSelectionConfirmation(params: {
2790
+ input: MfaConfirmationCommand | SdkInput<MfaConfirmationCommandProps>;
2791
+ }): Promise<SdkResult<void>>;
2792
+ createResetPassword(params: {
2793
+ input: CreateResetPasswordCommand | SdkInput<CreateResetPasswordCommandProps>;
2794
+ }): Promise<SdkResult<void>>;
2795
+ createTOTPMfa(params: {
2796
+ input: AssociateTotpMfaCommand | SdkInput<AssociateTotpMfaCommandProps>;
2797
+ }): Promise<SdkResult<SoftwareTokenAssociation>>;
2798
+ createTokens(params: {
2799
+ input: CreateTokensCommand | SdkInput<CreateTokensCommandProps>;
2800
+ }): Promise<SdkResult<SoliboAuthentication>>;
2801
+ createTokensByEmail(params: {
2802
+ input: MagicEmailCommand | SdkInput<MagicEmailCommandProps>;
2803
+ }): Promise<SdkResult<SoliboAuthentication>>;
2804
+ createTokensByOAuth(params: {
2805
+ code: string;
2806
+ state: string;
2807
+ fields?: string | null | undefined;
2808
+ }): Promise<SdkResult<SoliboAuthentication>>;
2809
+ createTokensBySms(params: {
2810
+ input: MagicSMSCommand | SdkInput<MagicSMSCommandProps>;
2811
+ }): Promise<SdkResult<SoliboAuthentication>>;
2812
+ createTokensSrp(params: {
2813
+ input: VerifySrpCommand | SdkInput<VerifySrpCommandProps>;
2814
+ }): Promise<SdkResult<SoliboAuthentication>>;
2815
+ deregisterFCMDeviceForUser(params?: Record<string, never>): Promise<SdkResult<void>>;
2816
+ getMfaPreference(params: {
2817
+ fields?: string | null | undefined;
2818
+ }): Promise<SdkResult<MfaPreferenceResult>>;
2819
+ indexUserDevices(params: {
2820
+ fields?: string | null | undefined;
2821
+ pageToken?: string | null | undefined;
2822
+ autoPaginate?: boolean | null | undefined;
2823
+ count?: number | null | undefined;
2824
+ }): Promise<SdkResult<PagedListDevice>>;
2825
+ mcpAuthorize(params: {
2826
+ state?: string | null | undefined;
2827
+ redirectUri?: string | null | undefined;
2828
+ scope?: string | null | undefined;
2829
+ }): Promise<SdkResult<void>>;
2830
+ mcpRefresh(params: {
2831
+ input: McpRefreshRequest | SdkInput<McpRefreshRequestProps>;
2832
+ }): Promise<SdkResult<McpTokenResponse>>;
2833
+ mcpTokenExchange(params: {
2834
+ input: McpTokenRequest | SdkInput<McpTokenRequestProps>;
2835
+ }): Promise<SdkResult<McpTokenResponse>>;
2836
+ refreshTokens(params: {
2837
+ input: RefreshTokensCommand | SdkInput<RefreshTokensCommandProps>;
2838
+ }): Promise<SdkResult<SoliboAuthentication>>;
2839
+ registerFCMDeviceForUser(params: {
2840
+ input: RegisterDeviceCommand | SdkInput<RegisterDeviceCommandProps>;
2841
+ }): Promise<SdkResult<void>>;
2842
+ revokeTokens(params: {
2843
+ clientId?: string | null | undefined;
2844
+ deviceKey?: string | null | undefined;
2845
+ deviceKeyGroup?: string | null | undefined;
2846
+ userId?: string | null | undefined;
2847
+ refreshToken?: string | null | undefined;
2848
+ }): Promise<SdkResult<void>>;
2849
+ verifyCreateTOTPMfa(params: {
2850
+ input: VerifyAssociateTotpMfaCommand | SdkInput<VerifyAssociateTotpMfaCommandProps>;
2851
+ }): Promise<SdkResult<SoftwareTokenAssociation>>;
2852
+ verifySMSMfa(params: {
2853
+ input: VerifyMfaCommand | SdkInput<VerifyMfaCommandProps>;
2854
+ }): Promise<SdkResult<SoliboAuthentication>>;
2855
+ verifyTOTPMfa(params: {
2856
+ input: VerifyMfaCommand | SdkInput<VerifyMfaCommandProps>;
2857
+ }): Promise<SdkResult<SoliboAuthentication>>;
2858
+ }
2859
+
2860
+ export interface OrganizationApiFacade {
2861
+ createOrganizationEmployee(params: {
2862
+ organizationId: Id;
2863
+ input: CreateEmployeeCommand | SdkInput<CreateEmployeeCommandProps>;
2864
+ }): Promise<SdkResult<OrganizationEmployee>>;
2865
+ deleteOrganizationCompanyContact(params: {
2866
+ organizationId: Id;
2867
+ employeeId: Id;
2868
+ companyId: Id;
2869
+ }): Promise<SdkResult<void>>;
2870
+ deleteOrganizationEmployee(params: {
2871
+ organizationId: Id;
2872
+ employeeId: Id;
2873
+ }): Promise<SdkResult<void>>;
2874
+ deleteOrganizationFromSAM(params: {
2875
+ companyId: Id;
2876
+ organizationId: Id;
2877
+ }): Promise<SdkResult<void>>;
2878
+ deleteOrganizationRole(params: {
2879
+ organizationId: Id;
2880
+ roleId: Id;
2881
+ }): Promise<SdkResult<void>>;
2882
+ deleteOrganizationSectionContact(params: {
2883
+ organizationId: Id;
2884
+ employeeId: Id;
2885
+ companyId: Id;
2886
+ sectionId: Id;
2887
+ }): Promise<SdkResult<void>>;
2888
+ indexOrganizations(params: {
2889
+ search?: string | null | undefined;
2890
+ fields?: string | null | undefined;
2891
+ pageToken?: string | null | undefined;
2892
+ autoPaginate?: boolean | null | undefined;
2893
+ count?: number | null | undefined;
2894
+ }): Promise<SdkResult<PagedListOrganization>>;
2895
+ indexOrganizationsForEdit(params: {
2896
+ companyId: Id;
2897
+ search?: string | null | undefined;
2898
+ fields?: string | null | undefined;
2899
+ pageToken?: string | null | undefined;
2900
+ autoPaginate?: boolean | null | undefined;
2901
+ count?: number | null | undefined;
2902
+ }): Promise<SdkResult<PagedListMassEditOrganization>>;
2903
+ massUpdateOrganization(params: {
2904
+ companyId: Id;
2905
+ input: MassEditOrganizationCommand | SdkInput<MassEditOrganizationCommandProps>;
2906
+ }): Promise<SdkResult<void>>;
2907
+ searchOrganizations(params: {
2908
+ query?: string | null | undefined;
2909
+ fields?: string | null | undefined;
2910
+ pageToken?: string | null | undefined;
2911
+ autoPaginate?: boolean | null | undefined;
2912
+ count?: number | null | undefined;
2913
+ }): Promise<SdkResult<PagedListOrganization>>;
2914
+ showOrganization(params: {
2915
+ organizationId: Id;
2916
+ fields?: string | null | undefined;
2917
+ }): Promise<SdkResult<Organization>>;
2918
+ showOrganizationByOrganizationnummer(params: {
2919
+ organizationNumber: string;
2920
+ }): Promise<SdkResult<Organization>>;
2921
+ updateOrganization(params: {
2922
+ organizationId: Id;
2923
+ input: UpdateOrganizationCommand | SdkInput<UpdateOrganizationCommandProps>;
2924
+ }): Promise<SdkResult<void>>;
2925
+ updateOrganizationCompanyContact(params: {
2926
+ organizationId: Id;
2927
+ employeeId: Id;
2928
+ companyId: Id;
2929
+ }): Promise<SdkResult<void>>;
2930
+ updateOrganizationEmployee(params: {
2931
+ organizationId: Id;
2932
+ employeeId: Id;
2933
+ input: UpdateEmployeeCommand | SdkInput<UpdateEmployeeCommandProps>;
2934
+ }): Promise<SdkResult<OrganizationEmployee>>;
2935
+ updateOrganizationReservations(params: {
2936
+ organizationId: Id;
2937
+ input: UpdateOrganizationReservationsCommand | SdkInput<UpdateOrganizationReservationsCommandProps>;
2938
+ }): Promise<SdkResult<Organization>>;
2939
+ updateOrganizationSectionContact(params: {
2940
+ organizationId: Id;
2941
+ employeeId: Id;
2942
+ companyId: Id;
2943
+ sectionId: Id;
2944
+ }): Promise<SdkResult<void>>;
2945
+ }
2946
+
2947
+ export interface InsuranceApiFacade {
2948
+ addInsuranceAgreementDocument(params: {
2949
+ companyId: Id;
2950
+ insuranceId: Id;
2951
+ input: AddAgreementDocumentToInsuranceCommand | SdkInput<AddAgreementDocumentToInsuranceCommandProps>;
2952
+ }): Promise<SdkResult<Insurance>>;
2953
+ closeInsurance(params: {
2954
+ companyId: Id;
2955
+ insuranceId: Id;
2956
+ input: CloseInsuranceCommand | SdkInput<CloseInsuranceCommandProps>;
2957
+ }): Promise<SdkResult<Insurance>>;
2958
+ createInsurance(params: {
2959
+ companyId: Id;
2960
+ input: CreateInsuranceCommand | SdkInput<CreateInsuranceCommandProps>;
2961
+ }): Promise<SdkResult<Insurance>>;
2962
+ deleteInsurance(params: {
2963
+ companyId: Id;
2964
+ insuranceId: Id;
2965
+ }): Promise<SdkResult<void>>;
2966
+ indexInsurances(params: {
2967
+ companyId: Id;
2968
+ search?: string | null | undefined;
2969
+ startDateFrom?: Id | null | undefined;
2970
+ startDateTo?: Id | null | undefined;
2971
+ endDateFrom?: Id | null | undefined;
2972
+ endDateTo?: Id | null | undefined;
2973
+ fields?: string | null | undefined;
2974
+ pageToken?: string | null | undefined;
2975
+ autoPaginate?: boolean | null | undefined;
2976
+ count?: number | null | undefined;
2977
+ }): Promise<SdkResult<PagedListInsurance>>;
2978
+ indexInsurancesUser(params: {
2979
+ companyIds?: ReadonlyArray<Id> | null | undefined;
2980
+ search?: string | null | undefined;
2981
+ startDateFrom?: Id | null | undefined;
2982
+ startDateTo?: Id | null | undefined;
2983
+ endDateFrom?: Id | null | undefined;
2984
+ endDateTo?: Id | null | undefined;
2985
+ fields?: string | null | undefined;
2986
+ pageToken?: string | null | undefined;
2987
+ autoPaginate?: boolean | null | undefined;
2988
+ count?: number | null | undefined;
2989
+ }): Promise<SdkResult<PagedListInsurance>>;
2990
+ showInsurance(params: {
2991
+ companyId: Id;
2992
+ insuranceId: Id;
2993
+ fields?: string | null | undefined;
2994
+ }): Promise<SdkResult<Insurance>>;
2995
+ }
2996
+
2997
+ export interface HMSApiFacade {
2998
+ createHmsRoutineSettings(params: {
2999
+ companyId: Id;
3000
+ input: CreateHmsSettingsCommand | SdkInput<CreateHmsSettingsCommandProps>;
3001
+ }): Promise<SdkResult<HmsSettings>>;
3002
+ putHmsRoutineSettings(params: {
3003
+ companyId: Id;
3004
+ input: UpdateHmsSettingsCommand | SdkInput<UpdateHmsSettingsCommandProps>;
3005
+ }): Promise<SdkResult<HmsSettings>>;
3006
+ showHmsCompanySettings(params: {
3007
+ companyId: Id;
3008
+ fields?: string | null | undefined;
3009
+ }): Promise<SdkResult<HmsSettings>>;
3010
+ }
3011
+
3012
+ export interface RoutinesApiFacade {
3013
+ createRoutine(params: {
3014
+ companyId: Id;
3015
+ input: CreateRoutineCommand | SdkInput<CreateRoutineCommandProps>;
3016
+ year?: number | null | undefined;
3017
+ routineType?: RoutineType | "HMS" | "DRIFT" | "STYREARBEID" | "ANNET" | null | undefined;
3018
+ }): Promise<SdkResult<Routine>>;
3019
+ deleteRoutine(params: {
3020
+ companyId: Id;
3021
+ routineId: Id;
3022
+ }): Promise<SdkResult<void>>;
3023
+ indexRoutines(params: {
3024
+ companyId: Id;
3025
+ year?: number | null | undefined;
3026
+ routineType?: RoutineType | "HMS" | "DRIFT" | "STYREARBEID" | "ANNET" | null | undefined;
3027
+ fields?: string | null | undefined;
3028
+ pageToken?: string | null | undefined;
3029
+ autoPaginate?: boolean | null | undefined;
3030
+ count?: number | null | undefined;
3031
+ }): Promise<SdkResult<PagedListRoutine>>;
3032
+ indexRoutinesGroupDrafts(params: {
3033
+ companyId: Id;
3034
+ groupId: Id;
3035
+ fields?: string | null | undefined;
3036
+ pageToken?: string | null | undefined;
3037
+ autoPaginate?: boolean | null | undefined;
3038
+ count?: number | null | undefined;
3039
+ }): Promise<SdkResult<PagedListRoutineDraft>>;
3040
+ indexRoutinesGroups(params: {
3041
+ companyId: Id;
3042
+ routineType?: RoutineType | "HMS" | "DRIFT" | "STYREARBEID" | "ANNET" | null | undefined;
3043
+ fields?: string | null | undefined;
3044
+ pageToken?: string | null | undefined;
3045
+ autoPaginate?: boolean | null | undefined;
3046
+ count?: number | null | undefined;
3047
+ }): Promise<SdkResult<PagedListRoutineGroup>>;
3048
+ indexRoutinesTypes(params: {
3049
+ companyId: Id;
3050
+ fields?: string | null | undefined;
3051
+ pageToken?: string | null | undefined;
3052
+ autoPaginate?: boolean | null | undefined;
3053
+ count?: number | null | undefined;
3054
+ }): Promise<SdkResult<PagedListRoutineType>>;
3055
+ indexRoutinesUser(params: {
3056
+ year?: number | null | undefined;
3057
+ routineType?: RoutineType | "HMS" | "DRIFT" | "STYREARBEID" | "ANNET" | null | undefined;
3058
+ search?: string | null | undefined;
3059
+ companyIds?: ReadonlyArray<Id> | null | undefined;
3060
+ fields?: string | null | undefined;
3061
+ pageToken?: string | null | undefined;
3062
+ autoPaginate?: boolean | null | undefined;
3063
+ count?: number | null | undefined;
3064
+ }): Promise<SdkResult<PagedListRoutine>>;
3065
+ showRoutine(params: {
3066
+ companyId: Id;
3067
+ routineId: Id;
3068
+ fields?: string | null | undefined;
3069
+ }): Promise<SdkResult<Routine>>;
3070
+ updateRoutine(params: {
3071
+ companyId: Id;
3072
+ routineId: Id;
3073
+ input: UpdateRoutineCommand | SdkInput<UpdateRoutineCommandProps>;
3074
+ }): Promise<SdkResult<Routine>>;
3075
+ }
3076
+
3077
+ export interface StorageApiFacade {
3078
+ assignStorageRoomToOrganization(params: {
3079
+ companyId: Id;
3080
+ storageRoomId: Id;
3081
+ organizationId: Id;
3082
+ input: AssignStorageRoomCommand | SdkInput<AssignStorageRoomCommandProps>;
3083
+ }): Promise<SdkResult<void>>;
3084
+ assignStorageRoomToPerson(params: {
3085
+ companyId: Id;
3086
+ storageRoomId: Id;
3087
+ personId: Id;
3088
+ input: AssignStorageRoomCommand | SdkInput<AssignStorageRoomCommandProps>;
3089
+ }): Promise<SdkResult<void>>;
3090
+ assignStorageRoomToSection(params: {
3091
+ companyId: Id;
3092
+ storageRoomId: Id;
3093
+ sectionId: Id;
3094
+ input: AssignStorageRoomCommand | SdkInput<AssignStorageRoomCommandProps>;
3095
+ }): Promise<SdkResult<void>>;
3096
+ createStorageRoom(params: {
3097
+ companyId: Id;
3098
+ input: CreateStorageRoomCommand | SdkInput<CreateStorageRoomCommandProps>;
3099
+ }): Promise<SdkResult<StorageRoom>>;
3100
+ deleteStorageRoom(params: {
3101
+ companyId: Id;
3102
+ storageRoomId: Id;
3103
+ }): Promise<SdkResult<void>>;
3104
+ exportStorageRooms(params: {
3105
+ companyId: Id;
3106
+ }): Promise<SdkResult<Base64ByteArray>>;
3107
+ indexStorageRoom(params: {
3108
+ companyId: Id;
3109
+ search?: string | null | undefined;
3110
+ assigned?: boolean | null | undefined;
3111
+ fields?: string | null | undefined;
3112
+ pageToken?: string | null | undefined;
3113
+ autoPaginate?: boolean | null | undefined;
3114
+ count?: number | null | undefined;
3115
+ }): Promise<SdkResult<PagedListStorageRoom>>;
3116
+ indexStorageRoomsUser(params: {
3117
+ companyIds?: ReadonlyArray<Id> | null | undefined;
3118
+ search?: string | null | undefined;
3119
+ assigned?: boolean | null | undefined;
3120
+ fields?: string | null | undefined;
3121
+ pageToken?: string | null | undefined;
3122
+ autoPaginate?: boolean | null | undefined;
3123
+ count?: number | null | undefined;
3124
+ }): Promise<SdkResult<PagedListStorageRoom>>;
3125
+ listVacantStorageRooms(params: {
3126
+ companyId: Id;
3127
+ searchDate?: Id | null | undefined;
3128
+ fields?: string | null | undefined;
3129
+ }): Promise<SdkResult<KtList<StorageRoomVacant>>>;
3130
+ showStorageRoom(params: {
3131
+ companyId: Id;
3132
+ storageRoomId: Id;
3133
+ fields?: string | null | undefined;
3134
+ }): Promise<SdkResult<StorageRoom>>;
3135
+ storageRoomAllocationOverview(params: {
3136
+ companyId: Id;
3137
+ searchDate?: Id | null | undefined;
3138
+ fields?: string | null | undefined;
3139
+ }): Promise<SdkResult<StorageRoomAllocationOverview>>;
3140
+ storageRoomVacancy(params: {
3141
+ companyId: Id;
3142
+ storageRoomId: Id;
3143
+ searchDate?: Id | null | undefined;
3144
+ fields?: string | null | undefined;
3145
+ }): Promise<SdkResult<StorageRoomVacancy>>;
3146
+ unAssignStorageRoomToOrganization(params: {
3147
+ companyId: Id;
3148
+ storageRoomId: Id;
3149
+ organizationId: Id;
3150
+ input: UnassignStorageRoomCommand | SdkInput<UnassignStorageRoomCommandProps>;
3151
+ }): Promise<SdkResult<void>>;
3152
+ unAssignStorageRoomToPerson(params: {
3153
+ companyId: Id;
3154
+ storageRoomId: Id;
3155
+ personId: Id;
3156
+ input: UnassignStorageRoomCommand | SdkInput<UnassignStorageRoomCommandProps>;
3157
+ }): Promise<SdkResult<void>>;
3158
+ unAssignStorageRoomToSection(params: {
3159
+ companyId: Id;
3160
+ storageRoomId: Id;
3161
+ sectionId: Id;
3162
+ input: UnassignStorageRoomCommand | SdkInput<UnassignStorageRoomCommandProps>;
3163
+ }): Promise<SdkResult<void>>;
3164
+ updateStorageRoom(params: {
3165
+ companyId: Id;
3166
+ storageRoomId: Id;
3167
+ input: UpdateStorageRoomCommand | SdkInput<UpdateStorageRoomCommandProps>;
3168
+ }): Promise<SdkResult<StorageRoom>>;
3169
+ }
3170
+
3171
+ export interface LanguageApiFacade {
3172
+ indexCountries(params: {
3173
+ fields?: string | null | undefined;
3174
+ pageToken?: string | null | undefined;
3175
+ autoPaginate?: boolean | null | undefined;
3176
+ count?: number | null | undefined;
3177
+ }): Promise<SdkResult<PagedListCountry>>;
3178
+ showTranslation(params: {
3179
+ countryId: Id;
3180
+ input: string;
3181
+ }): Promise<SdkResult<string>>;
3182
+ }
3183
+
3184
+ export interface BoardApiFacade {
3185
+ createPersonBoard(params: {
3186
+ companyId: Id;
3187
+ input: AddBoardmemberCommand | SdkInput<AddBoardmemberCommandProps>;
3188
+ }): Promise<SdkResult<Person>>;
3189
+ deletePersonBoard(params: {
3190
+ companyId: Id;
3191
+ personId: Id;
3192
+ }): Promise<SdkResult<void>>;
3193
+ indexBoard(params: {
3194
+ companyId: Id;
3195
+ search?: string | null | undefined;
3196
+ roleType?: ReadonlyArray<RoleType | "ADMIN" | "SUPER_USER" | "USER" | "SALES" | "SWITCHBOARD" | "ADMINISTRATOR_SUPERVISOR" | "ADMINISTRATOR" | "ONBOARDING" | "INVOICING" | "INSURANCE_RESPONSIBLE" | "LOAN_RESPONSIBLE" | "IN_LOAN_RESPONSIBLE" | "ACCOUNTING" | "COLLECTION" | "OWNERSHIP_CHANGE" | "LAWYER" | "BOARD_CHAIR" | "BOARD_MEMBER" | "BOARD_ALTERNATE" | "OWNER" | "TENANT" | "CO_HABITANT" | "RECEPTIONIST" | "BUILDING_DEVELOPER" | "CONTACT_PERSON_FOR_COMPANY" | "CONTACT_PERSON_FOR_SECTION" | "SUPPLIER" | "EXTERNAL"> | null | undefined;
3197
+ fields?: string | null | undefined;
3198
+ pageToken?: string | null | undefined;
3199
+ autoPaginate?: boolean | null | undefined;
3200
+ count?: number | null | undefined;
3201
+ }): Promise<SdkResult<PagedListPerson>>;
3202
+ indexBoardMembersUser(params: {
3203
+ companyIds?: ReadonlyArray<Id> | null | undefined;
3204
+ search?: string | null | undefined;
3205
+ roleType?: ReadonlyArray<RoleType | "ADMIN" | "SUPER_USER" | "USER" | "SALES" | "SWITCHBOARD" | "ADMINISTRATOR_SUPERVISOR" | "ADMINISTRATOR" | "ONBOARDING" | "INVOICING" | "INSURANCE_RESPONSIBLE" | "LOAN_RESPONSIBLE" | "IN_LOAN_RESPONSIBLE" | "ACCOUNTING" | "COLLECTION" | "OWNERSHIP_CHANGE" | "LAWYER" | "BOARD_CHAIR" | "BOARD_MEMBER" | "BOARD_ALTERNATE" | "OWNER" | "TENANT" | "CO_HABITANT" | "RECEPTIONIST" | "BUILDING_DEVELOPER" | "CONTACT_PERSON_FOR_COMPANY" | "CONTACT_PERSON_FOR_SECTION" | "SUPPLIER" | "EXTERNAL"> | null | undefined;
3206
+ fields?: string | null | undefined;
3207
+ pageToken?: string | null | undefined;
3208
+ autoPaginate?: boolean | null | undefined;
3209
+ count?: number | null | undefined;
3210
+ }): Promise<SdkResult<PagedListPerson>>;
3211
+ showBoardMemberPersonnummer(params: {
3212
+ companyId: Id;
3213
+ personId: Id;
3214
+ fields?: string | null | undefined;
3215
+ }): Promise<SdkResult<BoardmemberPersonnummer>>;
3216
+ }
3217
+
3218
+ export interface InvoiceApiFacade {
3219
+ createInvoiceApproval(params: {
3220
+ companyId: Id;
3221
+ invoiceId: string;
3222
+ input: ApproveSupplierInvoiceCommand | SdkInput<ApproveSupplierInvoiceCommandProps>;
3223
+ }): Promise<SdkResult<void>>;
3224
+ createInvoiceNotice(params: {
3225
+ companyId: Id;
3226
+ input: CreateSupplierInvoiceNotificationCommand | SdkInput<CreateSupplierInvoiceNotificationCommandProps>;
3227
+ }): Promise<SdkResult<void>>;
3228
+ createInvoiceRejection(params: {
3229
+ companyId: Id;
3230
+ invoiceId: string;
3231
+ input: RejectSupplierInvoiceCommand | SdkInput<RejectSupplierInvoiceCommandProps>;
3232
+ }): Promise<SdkResult<void>>;
3233
+ indexCachedApprovalCounts(params: {
3234
+ fields?: string | null | undefined;
3235
+ }): Promise<SdkResult<SupplierInvoiceApprovalCounts>>;
3236
+ indexInvoice(params: {
3237
+ companyId: Id;
3238
+ archive?: boolean | null | undefined;
3239
+ year?: number | null | undefined;
3240
+ fields?: string | null | undefined;
3241
+ }): Promise<SdkResult<SupplierInvoiceList>>;
3242
+ indexInvoiceCount(params: {
3243
+ companyId: Id;
3244
+ fields?: string | null | undefined;
3245
+ }): Promise<SdkResult<SupplierInvoiceList>>;
3246
+ indexInvoiceUnattestedCount(params: {
3247
+ companyId: Id;
3248
+ fields?: string | null | undefined;
3249
+ }): Promise<SdkResult<SupplierInvoiceCount>>;
3250
+ indexSupplierInvoicesUser(params: {
3251
+ companyIds?: ReadonlyArray<Id> | null | undefined;
3252
+ fields?: string | null | undefined;
3253
+ pageToken?: string | null | undefined;
3254
+ autoPaginate?: boolean | null | undefined;
3255
+ count?: number | null | undefined;
3256
+ }): Promise<SdkResult<PagedListSupplierInvoice>>;
3257
+ showAccountingAvailability(params: {
3258
+ companyId: Id;
3259
+ }): Promise<SdkResult<void>>;
3260
+ showInvoiceNotification(params: {
3261
+ companyId: Id;
3262
+ fields?: string | null | undefined;
3263
+ }): Promise<SdkResult<SupplierInvoiceNotification>>;
3264
+ showInvoicePdf(params: {
3265
+ companyId: Id;
3266
+ tripletexInvoiceId: string;
3267
+ }): Promise<SdkResult<Base64ByteArray>>;
3268
+ updateInvoiceNotification(params: {
3269
+ companyId: Id;
3270
+ input: UpdateSupplierInvoiceNotificationCommand | SdkInput<UpdateSupplierInvoiceNotificationCommandProps>;
3271
+ }): Promise<SdkResult<void>>;
3272
+ updateInvoiceRealtimeNotification(params: {
3273
+ companyId: Id;
3274
+ input: UpdateRealtimeSupplierInvoiceNotificationCommand | SdkInput<UpdateRealtimeSupplierInvoiceNotificationCommandProps>;
3275
+ }): Promise<SdkResult<void>>;
3276
+ }
3277
+
3278
+ export interface LoanApiFacade {
3279
+ createLoan(params: {
3280
+ companyId: Id;
3281
+ input: CreateLoanCommand | SdkInput<CreateLoanCommandProps>;
3282
+ }): Promise<SdkResult<Loan>>;
3283
+ deleteLoan(params: {
3284
+ companyId: Id;
3285
+ loanId: Id;
3286
+ }): Promise<SdkResult<void>>;
3287
+ indexLoanAccounts(params: {
3288
+ companyId: Id;
3289
+ fields?: string | null | undefined;
3290
+ pageToken?: string | null | undefined;
3291
+ autoPaginate?: boolean | null | undefined;
3292
+ count?: number | null | undefined;
3293
+ }): Promise<SdkResult<PagedListAccount>>;
3294
+ indexLoanLog(params: {
3295
+ companyId: Id;
3296
+ loanId: Id;
3297
+ fields?: string | null | undefined;
3298
+ pageToken?: string | null | undefined;
3299
+ autoPaginate?: boolean | null | undefined;
3300
+ count?: number | null | undefined;
3301
+ }): Promise<SdkResult<PagedListLoanLog>>;
3302
+ indexLoans(params: {
3303
+ companyId: Id;
3304
+ active?: boolean | null | undefined;
3305
+ search?: string | null | undefined;
3306
+ startDateFrom?: Id | null | undefined;
3307
+ startDateTo?: Id | null | undefined;
3308
+ endDateFrom?: Id | null | undefined;
3309
+ endDateTo?: Id | null | undefined;
3310
+ fields?: string | null | undefined;
3311
+ pageToken?: string | null | undefined;
3312
+ autoPaginate?: boolean | null | undefined;
3313
+ count?: number | null | undefined;
3314
+ }): Promise<SdkResult<PagedListLoan>>;
3315
+ indexLoansUser(params: {
3316
+ search?: string | null | undefined;
3317
+ companyIds?: ReadonlyArray<Id> | null | undefined;
3318
+ active?: boolean | null | undefined;
3319
+ startDateFrom?: Id | null | undefined;
3320
+ startDateTo?: Id | null | undefined;
3321
+ endDateFrom?: Id | null | undefined;
3322
+ endDateTo?: Id | null | undefined;
3323
+ fields?: string | null | undefined;
3324
+ pageToken?: string | null | undefined;
3325
+ autoPaginate?: boolean | null | undefined;
3326
+ count?: number | null | undefined;
3327
+ }): Promise<SdkResult<PagedListLoan>>;
3328
+ showLoan(params: {
3329
+ companyId: Id;
3330
+ loanId: Id;
3331
+ fields?: string | null | undefined;
3332
+ }): Promise<SdkResult<Loan>>;
3333
+ updateLoan(params: {
3334
+ companyId: Id;
3335
+ loanId: Id;
3336
+ input: CloseLoanCommand | SdkInput<CloseLoanCommandProps>;
3337
+ }): Promise<SdkResult<Loan>>;
3338
+ updateLoanAgreement(params: {
3339
+ companyId: Id;
3340
+ loanId: Id;
3341
+ input: AddAgreementDocumentToLoanCommand | SdkInput<AddAgreementDocumentToLoanCommandProps>;
3342
+ }): Promise<SdkResult<Loan>>;
3343
+ updateLoanIN(params: {
3344
+ companyId: Id;
3345
+ loanId: Id;
3346
+ input: UpdateINAgreementCommand | SdkInput<UpdateINAgreementCommandProps>;
3347
+ }): Promise<SdkResult<Loan>>;
3348
+ updateLoanInterest(params: {
3349
+ companyId: Id;
3350
+ loanId: Id;
3351
+ input: UpdateLoanInterestCommand | SdkInput<UpdateLoanInterestCommandProps>;
3352
+ }): Promise<SdkResult<Loan>>;
3353
+ }
3354
+
3355
+ export interface MeetingApiFacade {
3356
+ closeMeeting(params: {
3357
+ companyId: Id;
3358
+ meetingId: Id;
3359
+ input: CloseMeetingCommand | SdkInput<CloseMeetingCommandProps>;
3360
+ }): Promise<SdkResult<void>>;
3361
+ createMeeting(params: {
3362
+ companyId: Id;
3363
+ input: CreateMeetingCommand | SdkInput<CreateMeetingCommandProps>;
3364
+ }): Promise<SdkResult<MeetingDetails>>;
3365
+ createMeetingIssue(params: {
3366
+ companyId: Id;
3367
+ meetingId: Id;
3368
+ issueId: Id;
3369
+ input: AttachIssueToMeetingCommand | SdkInput<AttachIssueToMeetingCommandProps>;
3370
+ }): Promise<SdkResult<IssueDetails>>;
3371
+ createMultipleMeetings(params: {
3372
+ input: BulkCreateMeetingsCommand | SdkInput<BulkCreateMeetingsCommandProps>;
3373
+ }): Promise<SdkResult<BulkCreateMeetingsResult>>;
3374
+ deleteMeeting(params: {
3375
+ companyId: Id;
3376
+ meetingId: Id;
3377
+ }): Promise<SdkResult<void>>;
3378
+ deleteMeetingIssue(params: {
3379
+ companyId: Id;
3380
+ meetingId: Id;
3381
+ issueId: Id;
3382
+ }): Promise<SdkResult<void>>;
3383
+ finalizeMeetingSigning(params: {
3384
+ companyId: Id;
3385
+ meetingId: Id;
3386
+ }): Promise<SdkResult<void>>;
3387
+ indexMeeting(params: {
3388
+ companyId: Id;
3389
+ search?: string | null | undefined;
3390
+ status?: ReadonlyArray<MeetingStatus | "PLANNING" | "NOTIFIED" | "IN_PROGRESS" | "TO_SIGN" | "SIGNED"> | null | undefined;
3391
+ meetingDateFrom?: Id | null | undefined;
3392
+ meetingDateTo?: Id | null | undefined;
3393
+ fields?: string | null | undefined;
3394
+ pageToken?: string | null | undefined;
3395
+ autoPaginate?: boolean | null | undefined;
3396
+ count?: number | null | undefined;
3397
+ }): Promise<SdkResult<PagedListMeeting>>;
3398
+ indexMeetingUser(params: {
3399
+ search?: string | null | undefined;
3400
+ companyIds?: ReadonlyArray<Id> | null | undefined;
3401
+ status?: ReadonlyArray<MeetingStatus | "PLANNING" | "NOTIFIED" | "IN_PROGRESS" | "TO_SIGN" | "SIGNED"> | null | undefined;
3402
+ meetingDateFrom?: Id | null | undefined;
3403
+ meetingDateTo?: Id | null | undefined;
3404
+ fields?: string | null | undefined;
3405
+ pageToken?: string | null | undefined;
3406
+ autoPaginate?: boolean | null | undefined;
3407
+ count?: number | null | undefined;
3408
+ }): Promise<SdkResult<PagedListMeeting>>;
3409
+ reopenMeeting(params: {
3410
+ companyId: Id;
3411
+ meetingId: Id;
3412
+ }): Promise<SdkResult<MeetingDetails>>;
3413
+ reorderMeetingIssue(params: {
3414
+ companyId: Id;
3415
+ meetingId: Id;
3416
+ issueId: Id;
3417
+ input: ReorderIssueInMeetingCommand | SdkInput<ReorderIssueInMeetingCommandProps>;
3418
+ }): Promise<SdkResult<void>>;
3419
+ sendRSVPForMeetingParticipant(params: {
3420
+ companyId: Id;
3421
+ meetingId: Id;
3422
+ attendeeId: Id;
3423
+ input: RsvpCommand | SdkInput<RsvpCommandProps>;
3424
+ }): Promise<SdkResult<void>>;
3425
+ sendReminderMeetingSignature(params: {
3426
+ companyId: Id;
3427
+ meetingId: Id;
3428
+ input: CreateMeetingReminderNotificationCommand | SdkInput<CreateMeetingReminderNotificationCommandProps>;
3429
+ }): Promise<SdkResult<void>>;
3430
+ sendSummonsForMeeting(params: {
3431
+ companyId: Id;
3432
+ meetingId: Id;
3433
+ input: CreateMeetingNotificationCommand | SdkInput<CreateMeetingNotificationCommandProps>;
3434
+ }): Promise<SdkResult<void>>;
3435
+ showMeeting(params: {
3436
+ companyId: Id;
3437
+ meetingId: Id;
3438
+ fields?: string | null | undefined;
3439
+ }): Promise<SdkResult<MeetingDetails>>;
3440
+ startMeeting(params: {
3441
+ companyId: Id;
3442
+ meetingId: Id;
3443
+ }): Promise<SdkResult<void>>;
3444
+ updateMeeting(params: {
3445
+ companyId: Id;
3446
+ meetingId: Id;
3447
+ input: UpdateMeetingCommand | SdkInput<UpdateMeetingCommandProps>;
3448
+ }): Promise<SdkResult<MeetingDetails>>;
3449
+ updateMeetingIssueFollowUp(params: {
3450
+ companyId: Id;
3451
+ meetingId: Id;
3452
+ issueId: Id;
3453
+ input: FollowUpIssueLaterCommand | SdkInput<FollowUpIssueLaterCommandProps>;
3454
+ }): Promise<SdkResult<void>>;
3455
+ updateMeetingIssueTreat(params: {
3456
+ companyId: Id;
3457
+ meetingId: Id;
3458
+ issueId: Id;
3459
+ }): Promise<SdkResult<void>>;
3460
+ updateMeetingParticipantAttendance(params: {
3461
+ companyId: Id;
3462
+ meetingId: Id;
3463
+ attendeeId: Id;
3464
+ input: RegisterAttendanceCommand | SdkInput<RegisterAttendanceCommandProps>;
3465
+ }): Promise<SdkResult<void>>;
3466
+ updateMeetingParticipantSignature(params: {
3467
+ companyId: Id;
3468
+ meetingId: Id;
3469
+ attendeeId: Id;
3470
+ }): Promise<SdkResult<void>>;
3471
+ updateMeetingParticipantSignatureUnavailable(params: {
3472
+ companyId: Id;
3473
+ meetingId: Id;
3474
+ attendeeId: Id;
3475
+ }): Promise<SdkResult<void>>;
3476
+ updateMeetingParticipants(params: {
3477
+ companyId: Id;
3478
+ meetingId: Id;
3479
+ input: UpdateMeetingParticipantsCommand | SdkInput<UpdateMeetingParticipantsCommandProps>;
3480
+ }): Promise<SdkResult<MeetingDetails>>;
3481
+ }
3482
+
3483
+ export interface TaskApiFacade {
3484
+ completeTask(params: {
3485
+ companyId: Id;
3486
+ taskId: Id;
3487
+ input: CompleteTaskCommand | SdkInput<CompleteTaskCommandProps>;
3488
+ }): Promise<SdkResult<void>>;
3489
+ createMultipleTasks(params: {
3490
+ input: BulkImportTasksCommand | SdkInput<BulkImportTasksCommandProps>;
3491
+ }): Promise<SdkResult<BulkImportTasksResult>>;
3492
+ createTask(params: {
3493
+ companyId: Id;
3494
+ input: CreateTaskCommand | SdkInput<CreateTaskCommandProps>;
3495
+ }): Promise<SdkResult<Task>>;
3496
+ deleteTask(params: {
3497
+ companyId: Id;
3498
+ taskId: Id;
3499
+ }): Promise<SdkResult<void>>;
3500
+ indexTasks(params: {
3501
+ companyId: Id;
3502
+ search?: string | null | undefined;
3503
+ completed?: boolean | null | undefined;
3504
+ responsibleId?: Id | null | undefined;
3505
+ dueDateFrom?: Id | null | undefined;
3506
+ dueDateTo?: Id | null | undefined;
3507
+ fields?: string | null | undefined;
3508
+ pageToken?: string | null | undefined;
3509
+ autoPaginate?: boolean | null | undefined;
3510
+ count?: number | null | undefined;
3511
+ }): Promise<SdkResult<PagedListTask>>;
3512
+ indexTasksUser(params: {
3513
+ search?: string | null | undefined;
3514
+ companyIds?: ReadonlyArray<Id> | null | undefined;
3515
+ completed?: boolean | null | undefined;
3516
+ responsibleId?: Id | null | undefined;
3517
+ dueDateFrom?: Id | null | undefined;
3518
+ dueDateTo?: Id | null | undefined;
3519
+ fields?: string | null | undefined;
3520
+ pageToken?: string | null | undefined;
3521
+ autoPaginate?: boolean | null | undefined;
3522
+ count?: number | null | undefined;
3523
+ }): Promise<SdkResult<PagedListTask>>;
3524
+ unCompleteTask(params: {
3525
+ companyId: Id;
3526
+ taskId: Id;
3527
+ }): Promise<SdkResult<void>>;
3528
+ updateTask(params: {
3529
+ companyId: Id;
3530
+ taskId: Id;
3531
+ input: UpdateTaskCommand | SdkInput<UpdateTaskCommandProps>;
3532
+ }): Promise<SdkResult<Task>>;
3533
+ }
3534
+
3535
+ export interface CommunicationApiFacade {
3536
+ createEmailNewsletter(params: {
3537
+ companyId: Id;
3538
+ input: CreateNewsletterCommand | SdkInput<CreateNewsletterCommandProps>;
3539
+ }): Promise<SdkResult<Newsletter>>;
3540
+ createLetter(params: {
3541
+ input: SendLetterCommand | SdkInput<SendLetterCommandProps>;
3542
+ }): Promise<SdkResult<SentLetter>>;
3543
+ createLetterInCompany(params: {
3544
+ companyId: Id;
3545
+ input: SendLetterCommand | SdkInput<SendLetterCommandProps>;
3546
+ }): Promise<SdkResult<SentLetter>>;
3547
+ createMultipleEmailNewsletters(params: {
3548
+ input: BulkCreateNewslettersCommand | SdkInput<BulkCreateNewslettersCommandProps>;
3549
+ }): Promise<SdkResult<BulkCreateNewslettersResult>>;
3550
+ createMultipleSMSBroadcasts(params: {
3551
+ input: BulkCreateSMSBroadcastsCommand | SdkInput<BulkCreateSMSBroadcastsCommandProps>;
3552
+ }): Promise<SdkResult<BulkCreateSMSBroadcastsResult>>;
3553
+ createPushNotificationRead(params: {
3554
+ companyId: Id;
3555
+ trackingId: Id;
3556
+ }): Promise<SdkResult<void>>;
3557
+ createSMSBroadcast(params: {
3558
+ companyId: Id;
3559
+ input: CreateSMSBroadcastCommand | SdkInput<CreateSMSBroadcastCommandProps>;
3560
+ }): Promise<SdkResult<SMSBroadcast>>;
3561
+ createSMSPurchase(params: {
3562
+ companyId: Id;
3563
+ bundleId: Id;
3564
+ }): Promise<SdkResult<void>>;
3565
+ deleteEmailNewsletter(params: {
3566
+ companyId: Id;
3567
+ newsletterId: Id;
3568
+ }): Promise<SdkResult<void>>;
3569
+ deleteSMSBroadcast(params: {
3570
+ companyId: Id;
3571
+ broadcastId: Id;
3572
+ }): Promise<SdkResult<void>>;
3573
+ finalizeIntegratedNewsletterCreate(params: {
3574
+ companyId: Id;
3575
+ input: FinalizeNewsletterDocumentCreateCommand | SdkInput<FinalizeNewsletterDocumentCreateCommandProps>;
3576
+ }): Promise<SdkResult<IntegratedNewsletterMutationResult>>;
3577
+ finalizeIntegratedNewsletterUpdate(params: {
3578
+ companyId: Id;
3579
+ newsletterId: Id;
3580
+ input: FinalizeNewsletterDocumentUpdateCommand | SdkInput<FinalizeNewsletterDocumentUpdateCommandProps>;
3581
+ }): Promise<SdkResult<IntegratedNewsletterMutationResult>>;
3582
+ indexBroadcastsUser(params: {
3583
+ search?: string | null | undefined;
3584
+ companyIds?: ReadonlyArray<Id> | null | undefined;
3585
+ published?: boolean | null | undefined;
3586
+ publishedAtFrom?: Id | null | undefined;
3587
+ publishedAtTo?: Id | null | undefined;
3588
+ fields?: string | null | undefined;
3589
+ pageToken?: string | null | undefined;
3590
+ autoPaginate?: boolean | null | undefined;
3591
+ count?: number | null | undefined;
3592
+ }): Promise<SdkResult<PagedListSMSBroadcast>>;
3593
+ indexEmailNewsletterNotificationGroups(params: {
3594
+ companyId: Id;
3595
+ fields?: string | null | undefined;
3596
+ }): Promise<SdkResult<MassCommunicationGroups>>;
3597
+ indexEmailNewsletters(params: {
3598
+ companyId: Id;
3599
+ search?: string | null | undefined;
3600
+ published?: boolean | null | undefined;
3601
+ publishedAtFrom?: Id | null | undefined;
3602
+ publishedAtTo?: Id | null | undefined;
3603
+ fields?: string | null | undefined;
3604
+ pageToken?: string | null | undefined;
3605
+ autoPaginate?: boolean | null | undefined;
3606
+ count?: number | null | undefined;
3607
+ }): Promise<SdkResult<PagedListNewsletter>>;
3608
+ indexNewslettersUser(params: {
3609
+ search?: string | null | undefined;
3610
+ companyIds?: ReadonlyArray<Id> | null | undefined;
3611
+ published?: boolean | null | undefined;
3612
+ publishedAtFrom?: Id | null | undefined;
3613
+ publishedAtTo?: Id | null | undefined;
3614
+ fields?: string | null | undefined;
3615
+ pageToken?: string | null | undefined;
3616
+ autoPaginate?: boolean | null | undefined;
3617
+ count?: number | null | undefined;
3618
+ }): Promise<SdkResult<PagedListNewsletter>>;
3619
+ indexPushNotificationInbox(params: {
3620
+ companyId: Id;
3621
+ fields?: string | null | undefined;
3622
+ pageToken?: string | null | undefined;
3623
+ autoPaginate?: boolean | null | undefined;
3624
+ count?: number | null | undefined;
3625
+ }): Promise<SdkResult<PagedListPushNotificationInboxItem>>;
3626
+ indexSMSBroadcasts(params: {
3627
+ companyId: Id;
3628
+ search?: string | null | undefined;
3629
+ published?: boolean | null | undefined;
3630
+ publishedAtFrom?: Id | null | undefined;
3631
+ publishedAtTo?: Id | null | undefined;
3632
+ fields?: string | null | undefined;
3633
+ pageToken?: string | null | undefined;
3634
+ autoPaginate?: boolean | null | undefined;
3635
+ count?: number | null | undefined;
3636
+ }): Promise<SdkResult<PagedListSMSBroadcast>>;
3637
+ indexSMSBundleAvailable(params: {
3638
+ companyId: Id;
3639
+ fields?: string | null | undefined;
3640
+ pageToken?: string | null | undefined;
3641
+ autoPaginate?: boolean | null | undefined;
3642
+ count?: number | null | undefined;
3643
+ }): Promise<SdkResult<PagedListSMSBundle>>;
3644
+ indexSMSNotificationGroups(params: {
3645
+ companyId: Id;
3646
+ fields?: string | null | undefined;
3647
+ }): Promise<SdkResult<MassCommunicationGroups>>;
3648
+ indexSMSPurchases(params: {
3649
+ companyId: Id;
3650
+ fields?: string | null | undefined;
3651
+ pageToken?: string | null | undefined;
3652
+ autoPaginate?: boolean | null | undefined;
3653
+ count?: number | null | undefined;
3654
+ }): Promise<SdkResult<PagedListSMSBundlePurchase>>;
3655
+ publishEmailNewsletter(params: {
3656
+ companyId: Id;
3657
+ newsletterId: Id;
3658
+ }): Promise<SdkResult<Newsletter>>;
3659
+ publishMultipleEmailNewsletters(params: {
3660
+ input: BulkPublishNewslettersCommand | SdkInput<BulkPublishNewslettersCommandProps>;
3661
+ }): Promise<SdkResult<BulkPublishNewslettersResult>>;
3662
+ publishMultipleSMSBroadcasts(params: {
3663
+ input: BulkPublishSMSBroadcastsCommand | SdkInput<BulkPublishSMSBroadcastsCommandProps>;
3664
+ }): Promise<SdkResult<BulkPublishSMSBroadcastsResult>>;
3665
+ publishSMSBroadcast(params: {
3666
+ companyId: Id;
3667
+ broadcastId: Id;
3668
+ purchaseBundleId?: Id | null | undefined;
3669
+ }): Promise<SdkResult<SMSBroadcast>>;
3670
+ reportPushNotificationRead(params: {
3671
+ companyId: Id;
3672
+ trackingId: string;
3673
+ }): Promise<SdkResult<void>>;
3674
+ reportPushNotificationReceived(params: {
3675
+ companyId: Id;
3676
+ trackingId: Id;
3677
+ }): Promise<SdkResult<void>>;
3678
+ showCommunicationReport(params: {
3679
+ companyId: Id;
3680
+ communicationType: string;
3681
+ communicationId: Id;
3682
+ reportChannel: string;
3683
+ reportType?: CommunicationMessageType | "EMAIL" | "SMS" | "PUSH" | null | undefined;
3684
+ fields?: string | null | undefined;
3685
+ }): Promise<SdkResult<CommunicationReport>>;
3686
+ showEmailNewsletter(params: {
3687
+ companyId: Id;
3688
+ newsletterId: Id;
3689
+ fields?: string | null | undefined;
3690
+ }): Promise<SdkResult<Newsletter>>;
3691
+ showSMSAvailable(params: {
3692
+ companyId: Id;
3693
+ fields?: string | null | undefined;
3694
+ }): Promise<SdkResult<SMSCount>>;
3695
+ showSMSBroadcast(params: {
3696
+ companyId: Id;
3697
+ broadcastId: Id;
3698
+ fields?: string | null | undefined;
3699
+ }): Promise<SdkResult<SMSBroadcast>>;
3700
+ showSMSBroadcastSMSValidation(params: {
3701
+ companyId: Id;
3702
+ broadcastId: Id;
3703
+ fields?: string | null | undefined;
3704
+ }): Promise<SdkResult<SMSBundle>>;
3705
+ updateEmailNewsletter(params: {
3706
+ companyId: Id;
3707
+ newsletterId: Id;
3708
+ input: UpdateNewsletterCommand | SdkInput<UpdateNewsletterCommandProps>;
3709
+ }): Promise<SdkResult<Newsletter>>;
3710
+ updateSMSBroadcast(params: {
3711
+ companyId: Id;
3712
+ broadcastId: Id;
3713
+ input: UpdateSMSBroadcastCommand | SdkInput<UpdateSMSBroadcastCommandProps>;
3714
+ }): Promise<SdkResult<SMSBroadcast>>;
3715
+ }
3716
+
3717
+ export interface ParkingApiFacade {
3718
+ assignParkingSpaceToOrganization(params: {
3719
+ companyId: Id;
3720
+ parkingSpaceId: Id;
3721
+ organizationId: Id;
3722
+ input: AssignParkingSpaceCommand | SdkInput<AssignParkingSpaceCommandProps>;
3723
+ }): Promise<SdkResult<void>>;
3724
+ assignParkingSpaceToPerson(params: {
3725
+ companyId: Id;
3726
+ parkingSpaceId: Id;
3727
+ personId: Id;
3728
+ input: AssignParkingSpaceCommand | SdkInput<AssignParkingSpaceCommandProps>;
3729
+ }): Promise<SdkResult<void>>;
3730
+ assignParkingSpaceToSection(params: {
3731
+ companyId: Id;
3732
+ parkingSpaceId: Id;
3733
+ sectionId: Id;
3734
+ input: AssignParkingSpaceCommand | SdkInput<AssignParkingSpaceCommandProps>;
3735
+ }): Promise<SdkResult<void>>;
3736
+ createParkingSpace(params: {
3737
+ companyId: Id;
3738
+ input: CreateParkingSpaceCommand | SdkInput<CreateParkingSpaceCommandProps>;
3739
+ }): Promise<SdkResult<ParkingSpace>>;
3740
+ deleteParkingSpace(params: {
3741
+ companyId: Id;
3742
+ parkingSpaceId: Id;
3743
+ }): Promise<SdkResult<void>>;
3744
+ exportAssets(params: {
3745
+ companyId: Id;
3746
+ }): Promise<SdkResult<Base64ByteArray>>;
3747
+ indexParkingSpace(params: {
3748
+ companyId: Id;
3749
+ search?: string | null | undefined;
3750
+ type?: ReadonlyArray<ParkingSpaceType | "NORMAL" | "MC" | "HC"> | null | undefined;
3751
+ charger?: boolean | null | undefined;
3752
+ assigned?: boolean | null | undefined;
3753
+ fields?: string | null | undefined;
3754
+ pageToken?: string | null | undefined;
3755
+ autoPaginate?: boolean | null | undefined;
3756
+ count?: number | null | undefined;
3757
+ }): Promise<SdkResult<PagedListParkingSpace>>;
3758
+ indexParkingSpacesUser(params: {
3759
+ companyIds?: ReadonlyArray<Id> | null | undefined;
3760
+ search?: string | null | undefined;
3761
+ type?: ReadonlyArray<ParkingSpaceType | "NORMAL" | "MC" | "HC"> | null | undefined;
3762
+ charger?: boolean | null | undefined;
3763
+ assigned?: boolean | null | undefined;
3764
+ fields?: string | null | undefined;
3765
+ pageToken?: string | null | undefined;
3766
+ autoPaginate?: boolean | null | undefined;
3767
+ count?: number | null | undefined;
3768
+ }): Promise<SdkResult<PagedListParkingSpace>>;
3769
+ listVacantParkingSpaces(params: {
3770
+ companyId: Id;
3771
+ searchDate?: Id | null | undefined;
3772
+ fields?: string | null | undefined;
3773
+ }): Promise<SdkResult<KtList<ParkingSpaceVacant>>>;
3774
+ parkingSpaceAllocationOverview(params: {
3775
+ companyId: Id;
3776
+ searchDate?: Id | null | undefined;
3777
+ fields?: string | null | undefined;
3778
+ }): Promise<SdkResult<ParkingSpaceAllocationOverview>>;
3779
+ parkingSpaceVacancy(params: {
3780
+ companyId: Id;
3781
+ parkingSpaceId: Id;
3782
+ searchDate?: Id | null | undefined;
3783
+ fields?: string | null | undefined;
3784
+ }): Promise<SdkResult<ParkingSpaceVacancy>>;
3785
+ showParkingSpace(params: {
3786
+ companyId: Id;
3787
+ parkingSpaceId: Id;
3788
+ fields?: string | null | undefined;
3789
+ }): Promise<SdkResult<ParkingSpace>>;
3790
+ unAssignParkingSpaceToOrganization(params: {
3791
+ companyId: Id;
3792
+ parkingSpaceId: Id;
3793
+ organizationId: Id;
3794
+ input: UnassignParkingSpaceCommand | SdkInput<UnassignParkingSpaceCommandProps>;
3795
+ }): Promise<SdkResult<void>>;
3796
+ unAssignParkingSpaceToPerson(params: {
3797
+ companyId: Id;
3798
+ parkingSpaceId: Id;
3799
+ personId: Id;
3800
+ input: UnassignParkingSpaceCommand | SdkInput<UnassignParkingSpaceCommandProps>;
3801
+ }): Promise<SdkResult<void>>;
3802
+ unAssignParkingSpaceToSection(params: {
3803
+ companyId: Id;
3804
+ parkingSpaceId: Id;
3805
+ sectionId: Id;
3806
+ input: UnassignParkingSpaceCommand | SdkInput<UnassignParkingSpaceCommandProps>;
3807
+ }): Promise<SdkResult<void>>;
3808
+ updateParkingSpace(params: {
3809
+ companyId: Id;
3810
+ parkingSpaceId: Id;
3811
+ input: UpdateParkingSpaceCommand | SdkInput<UpdateParkingSpaceCommandProps>;
3812
+ }): Promise<SdkResult<ParkingSpace>>;
3813
+ }
3814
+
3815
+ export interface ScopedContactApiFacade {
3816
+ createUserScopedContact(params: {
3817
+ input: CreateScopedContactEndpointCommand | SdkInput<CreateScopedContactEndpointCommandProps>;
3818
+ }): Promise<SdkResult<ScopedContactEndpoint>>;
3819
+ deleteUserScopedContact(params: {
3820
+ endpointId: Id;
3821
+ }): Promise<SdkResult<void>>;
3822
+ expireUserScopedContact(params: {
3823
+ endpointId: Id;
3824
+ }): Promise<SdkResult<ScopedContactEndpoint>>;
3825
+ listUserScopedContacts(params: {
3826
+ includeExpired?: boolean | null | undefined;
3827
+ fields?: string | null | undefined;
3828
+ }): Promise<SdkResult<KtList<ScopedContactEndpoint>>>;
3829
+ resolveUserContact(params: {
3830
+ input: ResolveContactCommand | SdkInput<ResolveContactCommandProps>;
3831
+ }): Promise<SdkResult<ResolvedEndpoint>>;
3832
+ showUserScopedContact(params: {
3833
+ endpointId: Id;
3834
+ fields?: string | null | undefined;
3835
+ }): Promise<SdkResult<ScopedContactEndpoint>>;
3836
+ updateUserScopedContact(params: {
3837
+ endpointId: Id;
3838
+ input: UpdateScopedContactEndpointCommand | SdkInput<UpdateScopedContactEndpointCommandProps>;
3839
+ }): Promise<SdkResult<ScopedContactEndpoint>>;
3840
+ }
3841
+
3842
+ export interface SupplierApiFacade {
3843
+ createCompanySupplier(params: {
3844
+ companyId: Id;
3845
+ input: CreateSupplierForCompanyCommand | SdkInput<CreateSupplierForCompanyCommandProps>;
3846
+ }): Promise<SdkResult<SupplierForCompany>>;
3847
+ createCompanySupplierComment(params: {
3848
+ companyId: Id;
3849
+ supplierId: Id;
3850
+ input: CreateSupplierCommentCommand | SdkInput<CreateSupplierCommentCommandProps>;
3851
+ }): Promise<SdkResult<SupplierComment>>;
3852
+ createCompanySupplierContact(params: {
3853
+ companyId: Id;
3854
+ supplierId: Id;
3855
+ input: CreateSupplierContactCommand | SdkInput<CreateSupplierContactCommandProps>;
3856
+ }): Promise<SdkResult<Person>>;
3857
+ createSupplier(params: {
3858
+ input: CreateSupplierCommand | SdkInput<CreateSupplierCommandProps>;
3859
+ }): Promise<SdkResult<Supplier>>;
3860
+ createSupplierLogo(params: {
3861
+ supplierId: Id;
3862
+ }): Promise<SdkResult<void>>;
3863
+ deleteCompanySupplier(params: {
3864
+ companyId: Id;
3865
+ supplierId: Id;
3866
+ }): Promise<SdkResult<void>>;
3867
+ deleteCompanySupplierContact(params: {
3868
+ companyId: Id;
3869
+ supplierId: Id;
3870
+ contactId: Id;
3871
+ }): Promise<SdkResult<void>>;
3872
+ deleteSupplierLogo(params: {
3873
+ supplierId: Id;
3874
+ }): Promise<SdkResult<void>>;
3875
+ indexSuppliers(params: {
3876
+ search?: string | null | undefined;
3877
+ fields?: string | null | undefined;
3878
+ pageToken?: string | null | undefined;
3879
+ autoPaginate?: boolean | null | undefined;
3880
+ count?: number | null | undefined;
3881
+ }): Promise<SdkResult<PagedListSupplier>>;
3882
+ indexSuppliersByOrgNr(params: {
3883
+ ids?: ReadonlyArray<string> | null | undefined;
3884
+ search?: string | null | undefined;
3885
+ fields?: string | null | undefined;
3886
+ pageToken?: string | null | undefined;
3887
+ autoPaginate?: boolean | null | undefined;
3888
+ count?: number | null | undefined;
3889
+ }): Promise<SdkResult<PagedListSupplier>>;
3890
+ listCompanySupplier(params: {
3891
+ companyId: Id;
3892
+ search?: string | null | undefined;
3893
+ fields?: string | null | undefined;
3894
+ pageToken?: string | null | undefined;
3895
+ autoPaginate?: boolean | null | undefined;
3896
+ count?: number | null | undefined;
3897
+ }): Promise<SdkResult<PagedListSupplierForCompany>>;
3898
+ listCompanySupplierContacts(params: {
3899
+ companyId: Id;
3900
+ fields?: string | null | undefined;
3901
+ pageToken?: string | null | undefined;
3902
+ autoPaginate?: boolean | null | undefined;
3903
+ count?: number | null | undefined;
3904
+ }): Promise<SdkResult<PagedListSupplierContact>>;
3905
+ showCompanySupplier(params: {
3906
+ companyId: Id;
3907
+ supplierId: Id;
3908
+ fields?: string | null | undefined;
3909
+ }): Promise<SdkResult<SupplierForCompany>>;
3910
+ showCompanySupplierLogo(params: {
3911
+ companyId: Id;
3912
+ supplierId: Id;
3913
+ contactId: Id;
3914
+ fileName: string;
3915
+ size?: string | null | undefined;
3916
+ }): Promise<SdkResult<void>>;
3917
+ showSupplierLogo(params: {
3918
+ supplierId: Id;
3919
+ fileName: string;
3920
+ size?: string | null | undefined;
3921
+ }): Promise<SdkResult<void>>;
3922
+ updateCompanySupplier(params: {
3923
+ companyId: Id;
3924
+ supplierId: Id;
3925
+ input: UpdateSupplierForCompanyCommand | SdkInput<UpdateSupplierForCompanyCommandProps>;
3926
+ }): Promise<SdkResult<SupplierForCompany>>;
3927
+ updateCompanySupplierCommentEmoticon(params: {
3928
+ companyId: Id;
3929
+ supplierId: Id;
3930
+ commentId: Id;
3931
+ input: SetSupplierCommentEmoticonCommand | SdkInput<SetSupplierCommentEmoticonCommandProps>;
3932
+ }): Promise<SdkResult<void>>;
3933
+ updateCompanySupplierContact(params: {
3934
+ companyId: Id;
3935
+ supplierId: Id;
3936
+ contactId: Id;
3937
+ input: UpdateSupplierContactCommand | SdkInput<UpdateSupplierContactCommandProps>;
3938
+ }): Promise<SdkResult<Person>>;
3939
+ updateCompanySupplierContactImage(params: {
3940
+ companyId: Id;
3941
+ supplierId: Id;
3942
+ contactId: Id;
3943
+ }): Promise<SdkResult<void>>;
3944
+ updateSupplier(params: {
3945
+ supplierId: Id;
3946
+ input: UpdateSupplierCommand | SdkInput<UpdateSupplierCommandProps>;
3947
+ }): Promise<SdkResult<Supplier>>;
3948
+ updateSupplierServiceCategories(params: {
3949
+ supplierId: Id;
3950
+ input: UpdateServiceCategoriesCommand | SdkInput<UpdateServiceCategoriesCommandProps>;
3951
+ }): Promise<SdkResult<void>>;
3952
+ }
3953
+
3954
+ export interface MarketingApiFacade {
3955
+ contactOkonomi(params: {
3956
+ companyId?: Id | null | undefined;
3957
+ }): Promise<SdkResult<void>>;
3958
+ contactOrder(params: {
3959
+ input: ContactOrderCommand | SdkInput<ContactOrderCommandProps>;
3960
+ }): Promise<SdkResult<void>>;
3961
+ contactSales(params: {
3962
+ input: ContactSalesCommand | SdkInput<ContactSalesCommandProps>;
3963
+ }): Promise<SdkResult<void>>;
3964
+ contactTryFree(params: {
3965
+ input: ContactTryFreeCommand | SdkInput<ContactTryFreeCommandProps>;
3966
+ }): Promise<SdkResult<void>>;
3967
+ signupNewsletter(params: {
3968
+ input: NewsletterSubscribeCommand | SdkInput<NewsletterSubscribeCommandProps>;
3969
+ }): Promise<SdkResult<void>>;
3970
+ }
3971
+
3972
+ export interface ExpenseApiFacade {
3973
+ acceptExpense(params: {
3974
+ companyId: Id;
3975
+ expenseId: Id;
3976
+ }): Promise<SdkResult<void>>;
3977
+ createExpense(params: {
3978
+ companyId: Id;
3979
+ input: CreateExpenseCommand | SdkInput<CreateExpenseCommandProps>;
3980
+ }): Promise<SdkResult<Expense>>;
3981
+ deleteExpense(params: {
3982
+ companyId: Id;
3983
+ expenseId: Id;
3984
+ }): Promise<SdkResult<void>>;
3985
+ indexExpense(params: {
3986
+ companyId: Id;
3987
+ search?: string | null | undefined;
3988
+ status?: ReadonlyArray<ExpenseStatus | "FOR_APPROVAL" | "APPROVED" | "REJECTED"> | null | undefined;
3989
+ dateOfPurchaseFrom?: Id | null | undefined;
3990
+ dateOfPurchaseTo?: Id | null | undefined;
3991
+ fields?: string | null | undefined;
3992
+ pageToken?: string | null | undefined;
3993
+ autoPaginate?: boolean | null | undefined;
3994
+ count?: number | null | undefined;
3995
+ }): Promise<SdkResult<PagedListExpense>>;
3996
+ indexExpenseTypes(params: {
3997
+ companyId: Id;
3998
+ fields?: string | null | undefined;
3999
+ pageToken?: string | null | undefined;
4000
+ autoPaginate?: boolean | null | undefined;
4001
+ count?: number | null | undefined;
4002
+ }): Promise<SdkResult<PagedListExpenseType>>;
4003
+ indexExpenseUnattested(params: {
4004
+ companyId: Id;
4005
+ fields?: string | null | undefined;
4006
+ }): Promise<SdkResult<ExpenseCount>>;
4007
+ indexExpenseUser(params: {
4008
+ companyIds?: ReadonlyArray<Id> | null | undefined;
4009
+ search?: string | null | undefined;
4010
+ status?: ReadonlyArray<ExpenseStatus | "FOR_APPROVAL" | "APPROVED" | "REJECTED"> | null | undefined;
4011
+ dateOfPurchaseFrom?: Id | null | undefined;
4012
+ dateOfPurchaseTo?: Id | null | undefined;
4013
+ fields?: string | null | undefined;
4014
+ pageToken?: string | null | undefined;
4015
+ autoPaginate?: boolean | null | undefined;
4016
+ count?: number | null | undefined;
4017
+ }): Promise<SdkResult<PagedListExpense>>;
4018
+ rejectExpense(params: {
4019
+ companyId: Id;
4020
+ expenseId: Id;
4021
+ input: RejectExpenseCommand | SdkInput<RejectExpenseCommandProps>;
4022
+ }): Promise<SdkResult<void>>;
4023
+ showExpense(params: {
4024
+ companyId: Id;
4025
+ expenseId: Id;
4026
+ fields?: string | null | undefined;
4027
+ }): Promise<SdkResult<Expense>>;
4028
+ }
4029
+
4030
+ export interface IssueApiFacade {
4031
+ closeIssue(params: {
4032
+ companyId: Id;
4033
+ issueId: Id;
4034
+ }): Promise<SdkResult<IssueDetails>>;
4035
+ createIssue(params: {
4036
+ companyId: Id;
4037
+ input: CreateIssueCommand | SdkInput<CreateIssueCommandProps>;
4038
+ }): Promise<SdkResult<IssueDetails>>;
4039
+ createIssueComment(params: {
4040
+ companyId: Id;
4041
+ issueId: Id;
4042
+ input: CreateIssueCommentCommand | SdkInput<CreateIssueCommentCommandProps>;
4043
+ }): Promise<SdkResult<IssueDetails>>;
4044
+ createIssueConversation(params: {
4045
+ companyId: Id;
4046
+ issueId: Id;
4047
+ conversationId: Id;
4048
+ }): Promise<SdkResult<IssueDetails>>;
4049
+ createIssueSection(params: {
4050
+ companyId: Id;
4051
+ issueId: Id;
4052
+ sectionId: Id;
4053
+ }): Promise<SdkResult<IssueDetails>>;
4054
+ createMultipleIssues(params: {
4055
+ input: BulkCreateIssuesCommand | SdkInput<BulkCreateIssuesCommandProps>;
4056
+ }): Promise<SdkResult<BulkCreateIssuesResult>>;
4057
+ deleteIssue(params: {
4058
+ companyId: Id;
4059
+ issueId: Id;
4060
+ }): Promise<SdkResult<void>>;
4061
+ deleteIssueConversation(params: {
4062
+ companyId: Id;
4063
+ issueId: Id;
4064
+ conversationId: Id;
4065
+ }): Promise<SdkResult<void>>;
4066
+ deleteIssueSection(params: {
4067
+ companyId: Id;
4068
+ issueId: Id;
4069
+ sectionId: Id;
4070
+ }): Promise<SdkResult<void>>;
4071
+ indexIssue(params: {
4072
+ companyId: Id;
4073
+ search?: string | null | undefined;
4074
+ status?: ReadonlyArray<IssueStatus | "OPEN" | "IN_MEETING" | "CLOSED"> | null | undefined;
4075
+ responsibleId?: Id | null | undefined;
4076
+ createdAtFrom?: Id | null | undefined;
4077
+ createdAtTo?: Id | null | undefined;
4078
+ updatedSince?: Id | null | undefined;
4079
+ fields?: string | null | undefined;
4080
+ pageToken?: string | null | undefined;
4081
+ autoPaginate?: boolean | null | undefined;
4082
+ count?: number | null | undefined;
4083
+ }): Promise<SdkResult<PagedListIssue>>;
4084
+ indexIssueUser(params: {
4085
+ search?: string | null | undefined;
4086
+ companyIds?: ReadonlyArray<Id> | null | undefined;
4087
+ status?: ReadonlyArray<IssueStatus | "OPEN" | "IN_MEETING" | "CLOSED"> | null | undefined;
4088
+ responsibleId?: Id | null | undefined;
4089
+ createdAtFrom?: Id | null | undefined;
4090
+ createdAtTo?: Id | null | undefined;
4091
+ updatedSince?: Id | null | undefined;
4092
+ fields?: string | null | undefined;
4093
+ pageToken?: string | null | undefined;
4094
+ autoPaginate?: boolean | null | undefined;
4095
+ count?: number | null | undefined;
4096
+ }): Promise<SdkResult<PagedListIssue>>;
4097
+ reOpenIssue(params: {
4098
+ companyId: Id;
4099
+ issueId: Id;
4100
+ }): Promise<SdkResult<IssueDetails>>;
4101
+ showIssue(params: {
4102
+ companyId: Id;
4103
+ issueId: Id;
4104
+ fields?: string | null | undefined;
4105
+ }): Promise<SdkResult<IssueDetails>>;
4106
+ updateIssue(params: {
4107
+ companyId: Id;
4108
+ issueId: Id;
4109
+ input: UpdateIssueCommand | SdkInput<UpdateIssueCommandProps>;
4110
+ }): Promise<SdkResult<IssueDetails>>;
4111
+ updateIssueComment(params: {
4112
+ companyId: Id;
4113
+ issueId: Id;
4114
+ commentId: Id;
4115
+ input: UpdateIssueCommentCommand | SdkInput<UpdateIssueCommentCommandProps>;
4116
+ }): Promise<SdkResult<IssueDetails>>;
4117
+ updateIssueConclusion(params: {
4118
+ companyId: Id;
4119
+ issueId: Id;
4120
+ input: UpdateResolutionCommand | SdkInput<UpdateResolutionCommandProps>;
4121
+ }): Promise<SdkResult<IssueDetails>>;
4122
+ updateIssueReport(params: {
4123
+ companyId: Id;
4124
+ issueId: Id;
4125
+ input: UpdateReportCommand | SdkInput<UpdateReportCommandProps>;
4126
+ }): Promise<SdkResult<IssueDetails>>;
4127
+ updateIssueResponsible(params: {
4128
+ companyId: Id;
4129
+ issueId: Id;
4130
+ input: ChangeResponsibleCommand | SdkInput<ChangeResponsibleCommandProps>;
4131
+ }): Promise<SdkResult<IssueDetails>>;
4132
+ }
4133
+
4134
+ export interface EconomyApiFacade {
4135
+ indexCompaniesEconomyStatus(params?: Record<string, never>): Promise<SdkResult<Base64ByteArray>>;
4136
+ indexEconomicReport(params: {
4137
+ companyId: Id;
4138
+ fields?: string | null | undefined;
4139
+ }): Promise<SdkResult<EconomicReportResponse>>;
4140
+ indexEconomicReportsUser(params: {
4141
+ companyIds?: ReadonlyArray<Id> | null | undefined;
4142
+ status?: ReadonlyArray<EconomicReportStatus | "ORDERED" | "DELIVERED"> | null | undefined;
4143
+ year?: Id | null | undefined;
4144
+ fields?: string | null | undefined;
4145
+ pageToken?: string | null | undefined;
4146
+ autoPaginate?: boolean | null | undefined;
4147
+ count?: number | null | undefined;
4148
+ }): Promise<SdkResult<PagedListEconomicReport>>;
4149
+ indexEconomyStatus(params: {
4150
+ companyId: Id;
4151
+ fields?: string | null | undefined;
4152
+ }): Promise<SdkResult<AccountList>>;
4153
+ orderEconomicReport(params: {
4154
+ companyId: Id;
4155
+ input: OrderEconomicReportCommand | SdkInput<OrderEconomicReportCommandProps>;
4156
+ }): Promise<SdkResult<void>>;
4157
+ putEconomicReportFile(params: {
4158
+ companyId: Id;
4159
+ reportId: Id;
4160
+ economicReportType: string;
4161
+ documentId: Id;
4162
+ }): Promise<SdkResult<void>>;
4163
+ showEconomicReport(params: {
4164
+ companyId: Id;
4165
+ reportId: Id;
4166
+ fields?: string | null | undefined;
4167
+ }): Promise<SdkResult<EconomicReport>>;
4168
+ }
4169
+
4170
+ export interface SettlementApiFacade {
4171
+ closeSettlement(params: {
4172
+ companyId: Id;
4173
+ settlementId: Id;
4174
+ }): Promise<SdkResult<void>>;
4175
+ createSettlement(params: {
4176
+ companyId: Id;
4177
+ input: CreateSettlementCommand | SdkInput<CreateSettlementCommandProps>;
4178
+ }): Promise<SdkResult<Settlement>>;
4179
+ createSettlementCustomCost(params: {
4180
+ companyId: Id;
4181
+ settlementId: Id;
4182
+ input: CreateSettlementCustomCostCommand | SdkInput<CreateSettlementCustomCostCommandProps>;
4183
+ }): Promise<SdkResult<SettlementCustomCost>>;
4184
+ createSettlementProviderConfiguration(params: {
4185
+ companyId: Id;
4186
+ input: CreateSettlementProviderConfigurationCommand | SdkInput<CreateSettlementProviderConfigurationCommandProps>;
4187
+ }): Promise<SdkResult<SettlementProviderConfiguration>>;
4188
+ deleteSettlement(params: {
4189
+ companyId: Id;
4190
+ settlementId: Id;
4191
+ }): Promise<SdkResult<void>>;
4192
+ deleteSettlementCustomCost(params: {
4193
+ companyId: Id;
4194
+ settlementId: Id;
4195
+ customCostId: Id;
4196
+ }): Promise<SdkResult<void>>;
4197
+ indexSettlement(params: {
4198
+ companyId: Id;
4199
+ search?: string | null | undefined;
4200
+ provider?: ReadonlyArray<SettlementProvider | "ECOGUARD" | "ISTA" | "TECHEM" | "OTHER"> | null | undefined;
4201
+ startDateFrom?: Id | null | undefined;
4202
+ startDateTo?: Id | null | undefined;
4203
+ fields?: string | null | undefined;
4204
+ pageToken?: string | null | undefined;
4205
+ autoPaginate?: boolean | null | undefined;
4206
+ count?: number | null | undefined;
4207
+ }): Promise<SdkResult<PagedListSettlement>>;
4208
+ indexSettlementCustomCost(params: {
4209
+ companyId: Id;
4210
+ settlementId: Id;
4211
+ fields?: string | null | undefined;
4212
+ pageToken?: string | null | undefined;
4213
+ autoPaginate?: boolean | null | undefined;
4214
+ count?: number | null | undefined;
4215
+ }): Promise<SdkResult<PagedListSettlementCustomCost>>;
4216
+ indexSettlementInvoices(params: {
4217
+ companyId: Id;
4218
+ fields?: string | null | undefined;
4219
+ pageToken?: string | null | undefined;
4220
+ autoPaginate?: boolean | null | undefined;
4221
+ count?: number | null | undefined;
4222
+ }): Promise<SdkResult<PagedListSupplierInvoice>>;
4223
+ indexSettlementProviderConfiguration(params: {
4224
+ companyId: Id;
4225
+ fields?: string | null | undefined;
4226
+ pageToken?: string | null | undefined;
4227
+ autoPaginate?: boolean | null | undefined;
4228
+ count?: number | null | undefined;
4229
+ }): Promise<SdkResult<PagedListSettlementProviderConfiguration>>;
4230
+ indexSettlementProviders(params: {
4231
+ companyId: Id;
4232
+ fields?: string | null | undefined;
4233
+ pageToken?: string | null | undefined;
4234
+ autoPaginate?: boolean | null | undefined;
4235
+ count?: number | null | undefined;
4236
+ }): Promise<SdkResult<PagedListSettlementProvider>>;
4237
+ indexSettlementTypes(params: {
4238
+ companyId: Id;
4239
+ fields?: string | null | undefined;
4240
+ pageToken?: string | null | undefined;
4241
+ autoPaginate?: boolean | null | undefined;
4242
+ count?: number | null | undefined;
4243
+ }): Promise<SdkResult<PagedListSettlementType>>;
4244
+ indexSettlementsUser(params: {
4245
+ companyIds?: ReadonlyArray<Id> | null | undefined;
4246
+ search?: string | null | undefined;
4247
+ provider?: ReadonlyArray<SettlementProvider | "ECOGUARD" | "ISTA" | "TECHEM" | "OTHER"> | null | undefined;
4248
+ startDateFrom?: Id | null | undefined;
4249
+ startDateTo?: Id | null | undefined;
4250
+ fields?: string | null | undefined;
4251
+ pageToken?: string | null | undefined;
4252
+ autoPaginate?: boolean | null | undefined;
4253
+ count?: number | null | undefined;
4254
+ }): Promise<SdkResult<PagedListSettlement>>;
4255
+ showSettlement(params: {
4256
+ companyId: Id;
4257
+ settlementId: Id;
4258
+ fields?: string | null | undefined;
4259
+ }): Promise<SdkResult<Settlement>>;
4260
+ showSettlementCustomCost(params: {
4261
+ companyId: Id;
4262
+ settlementId: Id;
4263
+ customCostId: Id;
4264
+ fields?: string | null | undefined;
4265
+ }): Promise<SdkResult<SettlementCustomCost>>;
4266
+ showSettlementProviderConfigurationById(params: {
4267
+ companyId: Id;
4268
+ configurationId: Id;
4269
+ fields?: string | null | undefined;
4270
+ }): Promise<SdkResult<SettlementProviderConfiguration>>;
4271
+ updateSettlement(params: {
4272
+ companyId: Id;
4273
+ settlementId: Id;
4274
+ input: UpdateSettlementCommand | SdkInput<UpdateSettlementCommandProps>;
4275
+ }): Promise<SdkResult<Settlement>>;
4276
+ updateSettlementCustomCost(params: {
4277
+ companyId: Id;
4278
+ settlementId: Id;
4279
+ customCostId: Id;
4280
+ input: UpdateSettlementCustomCostCommand | SdkInput<UpdateSettlementCustomCostCommandProps>;
4281
+ }): Promise<SdkResult<SettlementCustomCost>>;
4282
+ updateSettlementProviderConfiguration(params: {
4283
+ companyId: Id;
4284
+ configurationId: Id;
4285
+ input: UpdateSettlementProviderConfigurationCommand | SdkInput<UpdateSettlementProviderConfigurationCommandProps>;
4286
+ }): Promise<SdkResult<SettlementProviderConfiguration>>;
4287
+ upsertSettlementProviderCredentials(params: {
4288
+ companyId: Id;
4289
+ configurationId: Id;
4290
+ input: UpsertSettlementProviderCredentialsCommand | SdkInput<UpsertSettlementProviderCredentialsCommandProps>;
4291
+ }): Promise<SdkResult<void>>;
4292
+ }
4293
+
4294
+ export interface AppStoresApiFacade {
4295
+ appStoresRedirect(params?: Record<string, never>): Promise<SdkResult<void>>;
4296
+ }
4297
+
4298
+ export interface UnsubscribeApiFacade {
4299
+ getUnsubscribePage(params: {
4300
+ token: string;
4301
+ fields?: string | null | undefined;
4302
+ }): Promise<SdkResult<string>>;
4303
+ unsubscribe(params: {
4304
+ token: string;
4305
+ }): Promise<SdkResult<void>>;
4306
+ }
4307
+
4308
+ export interface WebSocketApiFacade {
4309
+ connectToEventBus(params?: Record<string, never>): Promise<SdkResult<void>>;
4310
+ }
4311
+
4312
+ export interface SoliboClientApi {
4313
+ readonly users: UserApiFacade;
4314
+ readonly documents: DocumentsApiFacade;
4315
+ readonly conversations: ConversationApiFacade;
4316
+ readonly companies: CompanyApiFacade;
4317
+ readonly sections: SectionApiFacade;
4318
+ readonly homepage: HomepageApiFacade;
4319
+ readonly invoicing: InvoicingApiFacade;
4320
+ readonly thirdParty: ThirdPartyInformationApiFacade;
4321
+ readonly residents: ResidentApiFacade;
4322
+ readonly person: PersonApiFacade;
4323
+ readonly auth: AuthApiFacade;
4324
+ readonly organization: OrganizationApiFacade;
4325
+ readonly insurance: InsuranceApiFacade;
4326
+ readonly hms: HMSApiFacade;
4327
+ readonly routines: RoutinesApiFacade;
4328
+ readonly storage: StorageApiFacade;
4329
+ readonly language: LanguageApiFacade;
4330
+ readonly board: BoardApiFacade;
4331
+ readonly invoice: InvoiceApiFacade;
4332
+ readonly loan: LoanApiFacade;
4333
+ readonly meeting: MeetingApiFacade;
4334
+ readonly task: TaskApiFacade;
4335
+ readonly communication: CommunicationApiFacade;
4336
+ readonly parking: ParkingApiFacade;
4337
+ readonly scopedContacts: ScopedContactApiFacade;
4338
+ readonly supplier: SupplierApiFacade;
4339
+ readonly marketing: MarketingApiFacade;
4340
+ readonly expense: ExpenseApiFacade;
4341
+ readonly issue: IssueApiFacade;
4342
+ readonly economy: EconomyApiFacade;
4343
+ readonly settlement: SettlementApiFacade;
4344
+ readonly appStores: AppStoresApiFacade;
4345
+ readonly unsubscribe: UnsubscribeApiFacade;
4346
+ readonly webSocketApi: WebSocketApiFacade;
4347
+ }
4348
+
4349
+ export declare class SoliboApiError extends Error {
4350
+ readonly status?: number;
4351
+ readonly errors?: unknown;
4352
+ constructor(message: string, options?: { cause?: unknown; status?: number; errors?: unknown });
4353
+ static from(error: unknown): SoliboApiError;
4354
+ }
4355
+
4356
+ export declare class SoliboClient {
4357
+ readonly raw: SoliboSDK;
4358
+ readonly api: SoliboClientApi;
4359
+ readonly auth: Auth;
4360
+ readonly eventBus: EventBus;
4361
+ constructor(raw: SoliboSDK);
4362
+ }
4363
+
4364
+ export declare function createSoliboClient(config: CreateSoliboClientConfig | LegacySoliboClientConfig): SoliboClient;
4365
+ export declare function fromRawSdk(raw: SoliboSDK | SoliboClient): SoliboClient;
4366
+ export declare function isSoliboClient(value: unknown): value is SoliboClient;
4367
+ export declare function normalizeSdkResult<T>(value: T): SdkResult<T>;
4368
+ export type RawSdk = typeof Raw;